Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Find out who redefined a subroutine

by Dallaylaen (Friar)
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015365]
[stevieb]: I am thankful that I fell into Perl years ago in the manner I did. I don't believe there is another language that people care about so much, that they're willing to give everything. Langs come and go, but in Perl, it seems, things remain consistent.
[stevieb]: The people back then (~2000) are the same people now, but with much more experience. I'm appreciative that I fell into the Perl rabbit hole.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2017-02-25 01:20 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (364 votes). Check out past polls.