You could use the "use lib" construct, e.g., use lib qw(/Spreadsheet/ParseExcelSimple);
Of course, specify paths as your applications require. -------------------------------------------------------------------------------- ----- Original Message ----- From: Owen Cook To: beginners@perl.org Sent: Thursday, January 06, 2005 5:37 PM Subject: Re: Trouble Calling Modules... On Thu, 6 Jan 2005, Sam Pinizzotto wrote: > > I'm very new to the Perl Scene...I have an application that was developed > for Perl TK and we are now trying to convert it for use through the web. > > I can pass the info from a web form to the script, but when the script runs, > it says it can't find the modules I am calling. How do I tell where it's > looking for the modules? Or how do I tell it to look in a specific place? I > tried declaring the @INC array with the directory locations, but it didn't > work either. > > Any help or direction would be appreciated. > > Here's the error: > > "Can't locate Spreadsheet/ParseExcelSimple/Simple.pm in @INC (@INC contains: > .) at C:\Inetpub\VACWEB\cgi-bin\vac02b.pl line 7. > BEGIN failed--compilation aborted at C:\Inetpub\VACWEB\cgi-bin\vac02b.pl > line 7." > > Here's the code snippet: > > use Spreadsheet::ParseExcelSimple::Simple; If it can't find it, then I suggest it needs to be installed. Perl comes with a number of "inbuilt" modules, but there are thousands of others that are available (See http://www.cpan.org ) On windows, there is a system for installing modules, and you need to use that to get the required module Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>