![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( #3333=superdoc: 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 reply to Re: Chasing up a module dependency issue
by Corion
|
|