in reply to Re: Trying to slice off all array elements but the last one
in thread Trying to slice off all array elements but the last one

IIRC the element you are disassocating will be reaped in memory eventually.
The Camel Book says it doesn't get reaped (p. 76):
Truncating an array does not recover its memory. You have to undef($whatever) to free its memory back to your process's memory pool.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law