![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Exported subroutine redefineby Somni (Friar) |
on Nov 10, 2007 at 12:35 UTC ( #650050=note: print w/replies, xml ) | Need Help?? |
Short of reaching into the package that imported the subroutine, I'm not seeing a way.
You could crawl all over the symbol table finding any references to the old Foo::foo and update them. You're already doing something horribly icky, what's a bit more eh? Edit: Hah, I meant module::function, sorry. Foo::foo was the name of the function I was using to test things.
In Section
Seekers of Perl Wisdom
|
|