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


in reply to Re^2: Execute function before exit of do() block
in thread Execute function before exit of do() block

You could use clear or free magic if you wanted to avoid objects.
  • Comment on Re^3: Execute function before exit of do() block