DeusVult has asked for the wisdom of the Perl Monks concerning the following question:
However, now it is going through another stage of testing, and whenever the testers try to run it, they get errors like "Cannot find strict.pm..." (yes, really!)
The same error happens with every other module. Every time I use use, the script crashes.
Now, with strict, this isn't really a problem, since it can be harmlessly yanked out once the code is no longer being developed. But I still think it's just bad form -- I've got a lot of coworkers who don't like strict, and I'm trying to set an example :). Also, there are other modules that are fairly important to the script which I'd really like to have (I don't want to roll my own File::Path, thank you very much!).
I need a little insight into some of Perl's inner mojo. I know it uses @INC as a search path for importing modules, but how does @INC get built? How can Perl possibly not know where to find modules that are part of the standard distribution? Is there anyway to tell Perl where to look for those files?
Thanks in advance.
If you have any trouble sounding condescending, find a Unix user to show you how it's done.
- Scott Adams
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid - not really an answer) Re: Can't find any modules
by Ovid (Cardinal) on May 04, 2001 at 01:47 UTC | |
|
Re: Can't find any modules
by buckaduck (Chaplain) on May 04, 2001 at 02:25 UTC | |
|
Re: Can't find any modules
by merlyn (Sage) on May 04, 2001 at 01:42 UTC | |
|
Re: Can't find any modules
by WebHick (Scribe) on May 04, 2001 at 04:56 UTC | |
|
Re (tilly) 1: Can't find any modules
by tilly (Archbishop) on May 04, 2001 at 16:14 UTC | |
by DeusVult (Scribe) on May 04, 2001 at 17:01 UTC |