|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^2: Avoiding vivification with array sliceby jbert (Priest) |
| on Sep 09, 2008 at 14:45 UTC ( #710104=note: print w/ replies, xml ) | Need Help?? |
|
Cool. Accessing $a[$i] isn't enough to vivify (otherwise your defined test would do it). So we don't actually need the defined test in your map and can get away with:
Thanks.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||