Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: (jeffa) Re: Shift versus Sanity

by crazyinsomniac (Prior)
on Apr 24, 2002 at 01:25 UTC ( [id://161497]=note: print w/replies, xml ) Need Help??


in reply to (jeffa) Re: Shift versus Sanity
in thread Shift versus Sanity

Wow, your mind is twisted.
sub blartg { my $foo = shift; . . . sub blartg { my $foo = shift; my $bar = shift; my $baz = shift; ...
How does one jump from my $something = shift; to my ($something, $else) = @_;? No mention of () or @_ ... that's quite a leap ;D

What I don't like is refering to @_ directly, as in  $_[0]. I do it sometimes, but by no means do I like it.

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found