in reply to Clearing an Array of Array's from memory
or if it is an array ref, then assign it to an empty array ref@myarray = ();
Cleaning it up will take a little time, but not enough to worry about. Doing this will free up some memory(it won't release memory back to the OS) for perl to reuse.$myarray_ref = [];
|
---|