in reply to Re^8: 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?

Hm, interesting idea.

But I suppose the code in SUPEREND could dynamically create a new class with a destructor.

At that time you've already done your introspection, so this destructor would not have been covered I suppose...

And no, I don't really need it, I would only be interested if it was possible at all in the most general case...

  • Comment on Re^9: is there a way to ensure some code is the last thing that is run? (SUPEREND)

Replies are listed 'Best First'.
Re^10: is there a way to ensure some code is the last thing that is run? (SUPEREND)
by LanX (Saint) on Feb 03, 2017 at 16:09 UTC
    I don't understand your problems, but check CPAN I'm sure it already exists somewhere.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!