|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: TIMTOWTDI Challenge: Zero'ing Out An Arrayby ikegami (Pope) |
| on Sep 27, 2011 at 17:53 UTC ( #928128=note: print w/ replies, xml ) | Need Help?? |
|
I don't think I've ever had to zero out an array, and when I see it in code, it's just because the coder mispositioned a my @array;. By the way, undef @array; and $#array = -1; do more than just empty the array.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||