Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://609974]
help
Chatterbox?
Discipulus was a question
[GotToBTru]: current job found me
Discipulus is so lucky to have a decent job, with old, favorable contract, done before the ultralibersm arrived in Eataly
[Lady_Aleena]: Has anyone here ever use pcregrep? I can't seem to get the --include regex right. --include=*.p[lm] works in grep but not pcregrep.
[erix]: to lift your spirits, here is some more happy Randy news...
[Lady_Aleena]: The reason I would like to use pcregrep is because it can do multiline searches supposedly.
[perldigious]: What are your criteria for looking Tanktalus? What things must a job have for you to consider it? And where are you in your career? Start, middle, or end?
[erix]: are there any regex-engines that do not do multiline?
[Lady_Aleena]: erix, grep doesn't.
[Lady_Aleena]: Linux grep that is...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-05-23 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?