laziness, impatience, and hubris | |
PerlMonks |
Re: Override tempdir DESTROYby runrig (Abbot) |
on Nov 08, 2012 at 22:52 UTC ( [id://1003016]=note: print w/replies, xml ) | Need Help?? |
Create a ReleaseAction or a Guard that does the cleanup. You could create another class with a DESTROY method as others suggest, but I think this is more lightweight (or at least a pre-shrink-wrapped way to do the same thing).
In Section
Seekers of Perl Wisdom
|
|