All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

Please Log In to Continue

I had similiar ugly destruction issues when I tried to add runtime roles to Moose. In my case the actual anon-class packages were getting cleaned up (which happened when the anon-class metaclass instance went out of scope and it's DESTORY was called). It was ugly I tell you, ugly.

Whoops, I do that one all time too. My fingers do it, and my brain reads it as DESTROY and then I go bug hunting for hours until I finally realize and then smack myself for it. *sigh* maybe I should just switch to Java, finalize is much harder to mispell:P