perllexwarn "tells" me
no warnings 'redefine';
... but I guess there should be a way to structure your code not to redefine an existing subroutine at all :-).
On Windows (resp. case-insensitive file systems), getting a lot of these for no obvious reason is a sure-fire symptom of loading a module using the wrong case for its name:
use File::Find; # ... and in a code location far away use file::find;
In reply to Re: Constant subroutine main::C redefined
by Corion
in thread Constant subroutine main::C redefined
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |