Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Perl6 and Extreme Programming

by Jenda (Abbot)
on May 26, 2002 at 22:42 UTC ( #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
Node Status?
node history
Node Type: note [id://169440]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-08-30 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls