rpike has asked for the wisdom of the Perl Monks concerning the following question:
Now the main script (one I'm callined) is located in cgi-bin AND the module that it's complaining about is also in the cgi-bin directory. @INC shows "." in the list. So why would the module not get picked up when the main script is running? These same files are located on another server in same locations and work fine. Any suggestions?Can't locate Script_Mod.pm in @INC (@INC contains: C:/Inetpub/wwwroot/ +cgi-bin/mods C:/Perl/site/lib C:/Perl/lib .) at c:\inetpub\wwwroot\cg +i-bin\mainScript.pl line 26. BEGIN failed--compilation aborted at c:\inetpub\wwwroot\cgi-bin\mainSc +ript.pl line 26.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't find module
by Corion (Patriarch) on Jan 10, 2011 at 16:06 UTC | |
|
Re: Can't find module
by ikegami (Patriarch) on Jan 10, 2011 at 16:28 UTC | |
|
Re: Can't find module
by rpike (Scribe) on Jan 10, 2011 at 16:10 UTC | |
by Corion (Patriarch) on Jan 10, 2011 at 16:12 UTC | |
by ikegami (Patriarch) on Jan 10, 2011 at 16:31 UTC | |
|
Re: Can't find module
by rpike (Scribe) on Jan 10, 2011 at 16:39 UTC |