Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Shift versus Sanity

by zakzebrowski (Curate)
on Apr 24, 2002 at 11:56 UTC ( #161572=note: print w/replies, xml ) Need Help??


in reply to Shift versus Sanity

Wow, my mind is spinning. I started using $x=shift; $y=shift; because it allowed me similiar syntax to c (eg int a = argv[0]; // Or similar.. forgot c.) and the benefits of having optional parameters. I've more or less ignored @_ because it wasn't in english... Sweet. Nice to learn things every now and then... :)

----
Zak

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2021-10-25 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?