List Info

Thread: RE: Redefinition of subroutine warning




RE: Redefinition of subroutine warning
country flaguser name
United States
2007-05-29 10:30:50

Just a quick update. The only way I have been able to disable this warning is to use

        BEGIN { $^W = 0; } # turn off warnings

All uses of warnings, as shown below, were too late to stop the warning or fell out of scope if in a BEGIN.

   ;     no warnings qw(redefine);

So a general question is: how do you diagnose the redefinition issue? In my case, I suspect is a configuration or a caching issue.

Allan

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )