Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 lurking in the Monastery: (12)
As of 2015-08-04 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (68 votes), past polls