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

Re: Re: Perl6 and Extreme Programming

by Jenda (Abbot)
on May 26, 2002 at 22:42 UTC ( [id://169440]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    sub Map {
    ...
    @increased = Map \&foo, (1,2,3);
    print "@increased\n";
    
  2. or download this
    
    sub Map {
    ...
    $inc = Map \&foo;
    @increased = $inc->(1,2,3);
    print "@increased\n";
    
  3. or download this
    sub Map {
      my $sub = shift();
    ...
        return @new_arr;
      }
    }
    
  4. or download this
    @incremented = Map(\&foo)->(1,2,3)
    
  5. or download this
    $Inc = Map(\&foo);
    @incremented = $Inc->(1,2,3)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-19 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found