Move the die out of the destructor or invoke the destructor explicitly.
Note that the corruption of $@ has been fixed in 5.14. It's now blank in the last statement.
In reply to Re: Throw from within a DESTROY block
by ikegami
in thread Throw from within a DESTROY block
by ribasushi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |