Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Mini-Tutorial: Working with Odd/Even Elements

by Roy Johnson (Monsignor)
on Jul 10, 2009 at 18:45 UTC ( #779002=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub map_pairs(&@) {
      my $fn = shift;
    ...
        $fn->($a, $b);
      } (0..$#_/2);
    }
    
  2. or download this
    sub map_pairs(&@) {
      my $fn = shift;
    ...
        $fn->($a, $b);
      } (0..$#_/2);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://779002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2023-09-23 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?