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"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Throw from within a DESTROY block
by ikegami (Patriarch) on Sep 07, 2011 at 03:20 UTC | |
by ribasushi (Pilgrim) on Sep 07, 2011 at 03:55 UTC | |
by ikegami (Patriarch) on Sep 07, 2011 at 05:20 UTC | |
by ribasushi (Pilgrim) on Sep 07, 2011 at 06:06 UTC | |
Re^7: Throw from within a DESTROY block
by ikegami (Patriarch) on Sep 07, 2011 at 03:02 UTC | |
by ribasushi (Pilgrim) on Sep 07, 2011 at 03:05 UTC | |
by ikegami (Patriarch) on Sep 07, 2011 at 03:09 UTC |
In Section
Seekers of Perl Wisdom