in reply to TIMTOWTDI Challenge: Zero'ing Out An Array
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.
|
|---|