It did work, but now I've noticed that I need to access one of those
libraries from a .htaccess-file before I get to the
/home/httpd/helpdesk/index.pl

Thanx anyway.

/Patrik

-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]För msoltys
Skickat: den 11 april 2001 19:35
Till: [EMAIL PROTECTED]
Ämne: Re: [newbie] Apache-mod_perl?




Patrik Nylund wrote:
>
> Hi, sorry if I ask a simple questions but I can't find a solutions
anywhere.
> I want to use perl-modules that are in a separate directory called
> /home/httpd/helpdesk but I can't find a file to change the @INC in. I've
> tried to change /var/www/hmtl/addon-modules/mod_perl/startup.pl but it
> doesn't change the @INC.
> Please help me if You can.
> By the way, does anyone know what the limit of max_clients is on the
> standard installation?
>
> /Patrik Nylund
> www.websidorna.com
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
Hi Patrick,

Try adding the following code to your script, near the beginning:

   use lib qw(/home/httpd/helpdesk);
or alternatively,
   BEGIN { unshift(@INC, '/home/httpd/helpdesk') };

to tell perl to look in that directory for modules.

Mickey Soltys


Reply via email to