in reply to Re: Manipulating END blocks
in thread Manipulating END blocks

Because I like messing with Perl's internal structures ;)

Actually I realized the same thing after I posted this question, and that's how I'm going to implement this in this case.

I still would like to hear other's thoughts on the general question of how best to manipulate END routines when there's not a more straightforward way to accomplish the same effect.

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."

Replies are listed 'Best First'.
Re^3: Manipulating END blocks
by perrin (Chancellor) on Sep 13, 2007 at 20:49 UTC
    Well, nothing is stopping you from eval'ing some code that defines the END block you want. That's probably the simplest way to do it.