|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Re: Re: Declaring variables - is it legal to do this?by Belgarion (Chaplain) |
| on May 15, 2004 at 15:34 UTC ( [id://353671]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I believe most code uses the same methods as japhy's example above. I know I've never used the (..., undef, ...) method, but I have used the (...)[0,1,4] method many times. Granted, my experience doesn't include everyone, but I don't recall seeing the undef example in any Perl documentation, while japhy's example (if I recall correctly) is shown. However, as always it's just a personal opinion. :)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||