Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Manipulating END blocks

by DrWhy (Chaplain)
on Sep 13, 2007 at 20:16 UTC ( [id://638895]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://638895]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2026-04-14 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.