in reply to Subroutine Time::HiRes::Time redefined ... Help
In perl on windows you will get a warning for every subroutine in a Module being redefined, if somewhere in your code (or in some submodule) the given Module is used or required with the correct case, and somewhere else it is loaded with a missmatched case.
e.g. in one place it is loaded using the correct case:
an it is loaded somewhere else with the wrong case:use Time::HiRes;
Since TIME::HiRes is not loaded yet (only Time::HiRes is loaded), it will be loaded again, thus redefining the subroutines. The cause is Perl being case sensitive and the windows filesystem being case insensitive.# missspelled module name use TIME::HiRes;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Subroutine Time::HiRes::Time redefined ... Help
by afoken (Chancellor) on May 07, 2018 at 18:14 UTC |
In Section
Seekers of Perl Wisdom