in reply to Re^5: Throw from within a DESTROY block
in thread Throw from within a DESTROY block
When the business logic is tied to "at time of object destruction", there is no practical way to put the code into "delete". See tye's reply for a very good round-up of the DESTROY-based "guard pattern"
In Section
Seekers of Perl Wisdom