Welcome to the Monastery | |
PerlMonks |
Re: list/array context mysteryby clintp (Curate) |
on Apr 24, 2001 at 04:19 UTC ( [id://74920]=note: print w/replies, xml ) | Need Help?? |
For what it's worth, under 5.6 the last two examples do
result in undef. Under 5.00503 (the only older version I had laying around) it produces "one". You might want to wander through the changelogs for 5.6 and see what might have fixed this if you're really curious.
In Section
Seekers of Perl Wisdom
|
|