in reply to get memory usage
If perl is compiled with DEBUGGING_MSTATS set, Devel::Peek::mstat("Some Tag") will dump memory stats.
After Compline,Zaxo