Usually, when I want to delete a list, I do:
while ($z=pop(@mylist)) {};
Is there a faster, more elegant way of doing this?
I want to destroy the list completely (without an interative approach)?
I've searched my Perl book, but can't find anything.
thx