|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Perl bug ?by salva (Monsignor) |
| on Feb 06, 2013 at 11:57 UTC ( #1017395=note: print w/ replies, xml ) | Need Help?? |
|
The first warning is generated in "some text 1 $errors->[0]" because $errors->[0] is undefined. That expression also has the side effect of autovivifying $errors and that causes the $errors check on the test on the following line to succeed.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||