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


in reply to Re: Memory allocation functions
in thread Memory allocation functions

Yes, for sure. But please keep in mind that in case of complex data structures some circular references are not detected properly. In this case memory will still remain allocated.