my @array;
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 reply to Re: TIMTOWTDI Challenge: Zero'ing Out An Array
by ikegami
in thread TIMTOWTDI Challenge: Zero'ing Out An Array
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |