cLive ;-) has asked for the wisdom of the Perl Monks concerning the following question:
This one's driving me crazy. I appear to be going round in circles, so I'd value any input. So far I've narrowed it down to this.
#> perl -c Some/Module.pm Some/Module.pm syntax OK #> perl -MSome::Module Some/Module.pm did not return a true value.
Yes, the module ends with a 1;
Why would this pass a -c check, yet fail when required? What am I missing? I have a feeling I've hit this one before in the past, but I can't remember for sure. Grrrr.
EDIT: I was being braindead - I have hit this problem before...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Debugging failed "use" statement.
by merlyn (Sage) on May 06, 2007 at 01:25 UTC | |
|
Re: Debugging failed "use" statement.
by chromatic (Archbishop) on May 06, 2007 at 04:45 UTC | |
|
Re: Debugging failed "use" statement.
by naikonta (Curate) on May 06, 2007 at 01:28 UTC | |
|
Re: Debugging failed "use" statement. (guess)
by tye (Sage) on May 06, 2007 at 01:30 UTC | |
|
Re: Debugging failed "use" statement.
by Cody Pendant (Prior) on May 06, 2007 at 04:20 UTC | |
|
Re: Debugging failed "use" statement.
by liverpole (Monsignor) on May 06, 2007 at 01:37 UTC | |
|
Re: Debugging failed "use" statement.
by cLive ;-) (Prior) on May 06, 2007 at 01:42 UTC |