Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
No such thing as a small change
 
PerlMonks  

Re^4: shift vs @_

by tomhukins (Curate)
on Oct 02, 2006 at 20:44 UTC ( #575952=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my(
        $foo,
    ) = @_;
    
  2. or download this
    my $foo = shift;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-04-21 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (492 votes), past polls