|
-
Oct 19th, 2001, 10:50 AM
#1
Thread Starter
Black Cat
Installing Perl Modules
External host (Burlee) hosts my site and runs ActivePerl on IIS. Some of the modules I'd like to use aren't installed (CGI-Lite and XML-DOM). Anyone know of a way to get around this? I'm thinking maybe I could put the modules in my cgi-bin and then somehow tell Perl the path before the "use *;"?
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Oct 19th, 2001, 07:05 PM
#2
I don't think you can do that. why don't you tell the host to put those in. I don't think it will be to much hassle for them to accomidate there customers
-
Oct 22nd, 2001, 07:33 AM
#3
Thread Starter
Black Cat
Actually, I think there's a built in @INC array I can put a path into as my program starts.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Oct 25th, 2001, 04:58 PM
#4
New Member
You can define your own module directory like this:
use FindBin;
use lib "$FindBin::Bin/modules";
Then you can place all the modules in your cgi-bin/modules directory, or wherever you put the modules directory. If you have a module that looks like this CGI::Foo you will have to create a CGI directory inside your modules directory and place the Foo module in it. Hope that helps.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|