Re: Addition of directory to @INC variable via startup script/mod_perl

2003-03-24 Thread Perrin Harkins
Jason Jolly wrote: When I stop/start the server and run a script with the following code: foreach $item (@INC) { print ($item . ""); } I only get the output: /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun

Addition of directory to @INC variable via startup script/mod_perl

2003-03-24 Thread Jason Jolly
I currently have the following configuration in my httpd.conf file:       PerlRequire /usr/local/apache/conf/startup.pl    Alias /perl/ /usr/local/apache/cgi-bin    PerlTaintCheck  On    PerlWarn    On    PerlFreshRestart On    PerlTransHandler Apache::SessionManager    PerlFreshRestar

@INC variable

2000-09-06 Thread Roee Rubin
Hello, I have written a sample package (from a book). The package uses an Apache package - Constants.pm that its path is not included in the @INC variable. I would like to add the path to the variable by default and not in runtime as people have suggessted. Where are the default values of @INC