more useful options | |
PerlMonks |
Re^3: Per-object DESTROYby varian (Chaplain) |
on Jul 08, 2007 at 13:53 UTC ( [id://625506]=note: print w/replies, xml ) | Need Help?? |
ReleaseAction would require you to synchronize the out-of-scope moment between the two objects.
Wouldn't the classy way be to subclass Archive::Extract just inheriting its methods, and to implement your own DESTROY method in the subclass that invokes SUPER::DESTROY as its last action?
In Section
Seekers of Perl Wisdom
|
|