in reply to Improving memory performance

Hi all,
good points about lexical scoping, but I would append:
use references
@a=@b; # the array will be twice in memory $a=\@b; # the array is once in memory

This is specially usefull when passing large arrays (or hashes or scalars) to subroutines.
I hope this helps.
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium