Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 taking refuge in the Monastery: (6)
As of 2014-07-13 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (248 votes), past polls