Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-10-23 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (277 votes). Check out past polls.

    Notices?