in reply to Re^7: is there a way to ensure some code is the last thing that is run? (SUPEREND)
in thread is there a way to ensure some code is the last thing that is run?
It is, you can introspect all available packages (look into %main:: ) so far in a loop, check if DESTROY exists and install a wrapper.
Do you need it?
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: is there a way to ensure some code is the last thing that is run? (SUPEREND)
by morgon (Priest) on Feb 03, 2017 at 16:01 UTC | |
by LanX (Saint) on Feb 03, 2017 at 16:09 UTC |