Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Teaching Perl

by hardburn (Abbot)
on Apr 05, 2003 at 23:22 UTC ( [id://248354]=note: print w/replies, xml ) Need Help??

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
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found