|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: @_0 vs. $_0by merlyn (Sage) |
| on Nov 22, 2000 at 13:46 UTC ( [id://42926]=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.
Yes, almost always, @foo[$bar] is broken, and should have been written
$foo[$bar]. In many cases, this is an undetectable mistake, as in:
But is fatal when we use it in a place where it makes a difference: Hence the very right warning. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||