Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: shift vs @_

by blazar (Canon)
on Dec 25, 2007 at 15:24 UTC ( #658965=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    pugs> sub foo { [~] map -> $a, $b { lc $a, uc $b }, @_ };
    pugs> say foo <FoO bAr BaZ>;
    fooBARbaz
    
  2. or download this
    pugs> sub prod (int $n, int $m) { [*] $n..$m };
    pugs> say prod 3, 6;
    360
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-10-02 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (43 votes), past polls