Note that undef @list is usually a worse idea than @list= () since the former involves free()ing the memory for the list itself which will probably just have to reallocated again when an item is again added to the list.
- tye (but my friends call me "Tye")In reply to (tye)Re: Elegant way of destroying a list
by tye
in thread Elegant way of destroying a list
by JojoLinkyBob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |