Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Is modifying the symbol table to redefine subroutines evil?

by halley (Prior)
on Apr 13, 2007 at 16:49 UTC ( #609974=note: print w/replies, xml ) Need Help??

in reply to Is modifying the symbol table to redefine subroutines evil?

This approach to modifying the symbol-table after a first call is roughly the technique that we used when we implemented a deprecated module: use deprecated;
package OldeCrufte; use deprecated qw(do_hack); # calling OldeCrufte::do_hack() will carp
package OldeCrufte; use deprecated; # using the OldeCrufte module will carp

[ e d @ h a l l e y . c c ]

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://609974]
[Corion]: Hi marto, Discipulus, choroba!
[Corion]: Seems like I chose just the right day to do a half-day recovery yesterday. Today it's snowing again, instead of the sun shining, so that's a good day to be at the office again ;)
[Discipulus]: good morning folks!
[choroba]: Boasting: brian d foy tweeting my blogpost!
[Discipulus]: eh eh choroba print it on a t-shirt for the next yapc.. ;=)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2018-03-22 09:17 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (273 votes). Check out past polls.