Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Find out who redefined a subroutine

by Dallaylaen (Pilgrim)
on Jan 25, 2013 at 15:45 UTC ( #1015365=note: print w/replies, xml ) Need Help??


in reply to Re: Find out who redefined a subroutine
in thread Find out who redefined a subroutine

Aha, so there *is* a full-blown CPAN module for this. Thanks for noting!

My code can be fooled, too.

Just copy original subref to a private variable and it would think the sub is still the original one.

  • Comment on Re^2: Find out who redefined a subroutine

Replies are listed 'Best First'.
Re^3: Find out who redefined a subroutine
by mwray (Initiate) on Feb 13, 2013 at 00:11 UTC
    Maybe a way to prevent being fooled is to MD5 the sub, and sign it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015365]
help
Chatterbox?
[JohnCub]: I hope $way isn't a hashref. ;)
[GotToBTru]: many times i've been told I made a real hash of thiings
[GotToBTru]: so .. perhaps it should b e
[thepkd]: Just wondering why $aohoaoh[0]->{'foo '}[0]->{'bar'} would be difficult to read and understand?
[thepkd]: I am a noob and find it easier
[thepkd]: I mean with the branching clearly defined

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2016-12-06 13:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (105 votes). Check out past polls.