http://www.perlmonks.org?node_id=1010593


in reply to Re^3: Avoiding memory loss...
in thread Avoiding memory loss...

Greatly appreciated, cleaned up the code!