Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: shift vs @_

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

Help for this page

Select Code to Download


  1. or download this
    sub blah {
        my $foo = shift;
        my $bar = shift;
    }
    
  2. or download this
    sub blah {
        my $foo = shift;
        my $bar = shift;
        my $baz = shift;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://575946]
help
Chatterbox?
[LanX]: The King is dead. .. :(

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-08-20 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (317 votes). Check out past polls.

    Notices?