![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Chasing up a module dependency issueby Corion (Patriarch) |
on Mar 07, 2016 at 16:18 UTC ( #1157013=note: print w/replies, xml ) | Need Help?? |
I think this comes from a module that uses (resp. inherits from) Exporter and where Module::Name->import is called with method_name as argument. The simplest case would be:
... but that's likely too obvious and you've tried that already. A more contrived way would be something like:
Maybe (maybe) your code is picking up the wrong versions of Module::Name somewhere else in @INC? Dumping \%INC might tell you which version got picked up. The easiest "fix" in my opinion would be to preload all the relevant modules at the very top of your program:
That way, all the modules should be loaded in the correct order...
In Section
Seekers of Perl Wisdom
|
|