You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Aaron Schlesinger <mo...@yahoo.com> on 2001/02/12 18:07:18 UTC
PerlRequire
Hey there.
I have a line in my httpd.conf:
PerlRequire /path/to/startup.pl
In startup.pl I have this line:
use lib '/path/to/module';
This is not being added to my @INC like it should. Any
thoughts?
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
Re: PerlRequire
Posted by Ernest Lergon <Er...@virtualitas.com>.
Aaron Schlesinger wrote:
>
> I have a line in my httpd.conf:
>
> PerlRequire /path/to/startup.pl
>
> In startup.pl I have this line:
>
> use lib '/path/to/module';
>
> This is not being added to my @INC like it should.
>
try
use lib '/path/to';
use module;
Ernest
--
Yours sincerely
Mit freundlichen Grüßen
Ernest Lergon
VIRTUALITAS
Artists online, Fine Arts online, Poets online
http://www.virtualitas.com/
Re: PerlRequire
Posted by Perrin Harkins <pe...@primenet.com>.
On Mon, 12 Feb 2001, Aaron Schlesinger wrote:
> I have a line in my httpd.conf:
>
> PerlRequire /path/to/startup.pl
>
> In startup.pl I have this line:
>
> use lib '/path/to/module';
>
> This is not being added to my @INC like it should. Any
> thoughts?
How do you know it isn;t being added? Try putting this in your
httpd.conf, right after the PerlRequire:
<Perl>
print join (':', @INC);
</Perl>
- Perrin