Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 perusing the Monastery: (9)
As of 2014-07-31 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (253 votes), past polls