|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: Constant subroutine main::C redefinedby Corion (Patriarch) |
| on Sep 10, 2012 at 11:51 UTC ( [id://992733]=note: print w/replies, xml ) | Need Help?? |
|
perllexwarn "tells" me
... 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:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||