The stupid question is the question not asked | |
PerlMonks |
Re: delete array of hashesby Zed_Lopez (Chaplain) |
on Sep 16, 2004 at 15:46 UTC ( [id://391489]=note: print w/replies, xml ) | Need Help?? |
@array = ();
or $#array = -1;will empty your array. Or you could just assign another list to the array and skip the emptying step. @array = ($newhashref1, $newhashref2);
In Section
Seekers of Perl Wisdom
|
|