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


in reply to Re^5: "goto" memory leak
in thread "goto" memory leak

Very true, it is impossible to check for scope exit. But would it be possible to check somehow (with a flag attached to the variable for example) whether the my variable already has a "destroy" POST routine on the stack or not?