The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Contextual-Return Return-Value"

Contextual::Return - Create context-sensitive return values River stage two • 13 direct dependents • 38 total dependents

Usually, when you need to create a subroutine that returns different values in different contexts (list, scalar, or void), you write something like: sub get_server_status { my ($server_ID) = @_; # Acquire server data somehow... my %server_data = _asc...

DCONWAY/Contextual-Return-0.004014 - 14 Apr 2017 08:47:19 UTC
1 result (0.082 seconds)