Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 musing on the Monastery: (3)
As of 2018-01-23 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (254 votes). Check out past polls.

    Notices?