Help for this page

Select Code to Download


  1. or download this
    my @got = pair( . . . );
    
  2. or download this
    my @got2 = map { [$_->[0],$_->[1],'meowmoo'] } @got;
    
  3. or download this
    my @got3 = map { &{$_->[1]}($_->[2]) ? $_->[0] : () } @got2;
    
  4. or download this
    &{$_->[1]}      # Get the subroutine referanced in $got2[$i][1]
        ($_->[2]) ? # Pass in the value of $got2[$i][2] ('meowmoo')
    ...
                    # with that subroutine.
    
        ()          # Otherwise, return undef