|
I
think this should do the job (put this at the top with other use
declarations):
use
lib qw (path\to\you\libraries);
require
"subparseform.lib";
&Parse_Form;
hope
this helps,
matt
-----Original Message-----
From: mesh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 9:07 AM To: [EMAIL PROTECTED] Subject: redirecting the require " "; I am trying to require a file. Whenever
perl tries to grab the .lib file it only looks in the /lib directory on the
server. Is there anyway I can redirect perl to look in the folder where
the cgi is at??
The script:
require "subparseform.lib";
&Parse_Form;
Any and all help is appreciated. It would
save a lot of copying and pasting.....the subroutine on the bottom of the script
that is.
Mesh
|
- redirecting the require " "; mesh
- Re: redirecting the require " "; Matthew Thompson
- Re: redirecting the require " "; Tim Hammerquist
