Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Exported subroutine redefine

by educated_foo (Vicar)
on Nov 10, 2007 at 20:03 UTC ( [id://650082] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Exported subroutine redefine
in thread Exported subroutine redefine

Could you just redefine Carp::shortmess and Carp::longmess? If not, you can walk the symbol table starting with something like this:
for (grep /(?<!main)::/, keys %::) { # do stuff... }