Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[usemodperl]: this is crazy, the web is broken!
[usemodperl]: just because of banking apps on free wifi, and porn, i guess...
usemodperl thinks every1 should serve HTTP on port 80 incase we don't care about encryption, right? wtf

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2018-06-24 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?