Welcome to the Monastery | |
PerlMonks |
How do I completely empty out an array?by bradcathey (Prior) |
on Jan 17, 2004 at 20:28 UTC ( [id://322071]=perlmeditation: print w/replies, xml ) | Need Help?? |
Originally posted as an Answer to How do I completely empty out an array?
Just in case you make the mistake I did, you can't use:
@array = "";As the @array will be assigned a 'value' and will contain one element equal to "".
Back to
Meditations
|
|