Results 1 to 4 of 4

Thread: Installing Perl Modules

  1. #1

    Thread Starter
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032

    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.

  2. #2
    scoutt
    Guest
    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

  3. #3

    Thread Starter
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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.

  4. #4
    New Member
    Join Date
    Jan 2001
    Posts
    11
    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
  •  



Click Here to Expand Forum to Full Width