Justin Luster wrote:
When a Perl script runs under Mod_Perl the current working directory is
no longer the location of the Perl script (I think it is where
Apache.exe is).
You are talking about 2.0 here. And it should change to normal by the time its
released. This issue is irrelevant to the o
> "Justin" == Justin Luster <[EMAIL PROTECTED]> writes:
Justin> When a Perl script runs under Mod_Perl the current working directory is
Justin> no longer the location of the Perl script (I think it is where
Justin> Apache.exe is). So when you require an additional file it does not look
Justin
:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 11:51 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: "do" as temp solution for "require" problem ?
Hi,
Yes, I am using Apache::Registry; how did you know that? ;-)
In fact I am tryi
[EMAIL PROTECTED] wrote:
If you look at the previous mentioned site, you can see there is only
one file, but it contains a lot of includes.
- a random function for the banners on top
- a file for the navigation on the left which includes a file for the
date and a file for the counter (mysql data
Hi,
Yes, I am using Apache::Registry; how did you know that? ;-)
In fact I am trying to change the CGI-Perl pages of
http://www.deweertsport.be to mod_perl.
As I was used to work with include files in PHP, I sort continued this
way of making pages in Perl-CGI.
If you look at the previous mentione
> "mail@adventureforum" == mail@adventureforum net <[EMAIL PROTECTED]>
>writes:
mail@adventureforum> I am using: mod_perl/1.26
mail@adventureforum> Now I tried to include subroutines from an external .pl file with
mail@adventureforum> "require".
This smells a bit like you're using Apache::R
[EMAIL PROTECTED] wrote:
This is working fine although a mysql database connection in a
subroutine in an external file doesn't always work.
Please explain. It shouldn't ne a problem to run code that makes a
database connection in a separate module.
- Perrin
Hi,
I am using: mod_perl/1.26
Now I tried to include subroutines from an external .pl file with
"require".
This I got from:
http://perl.apache.org/docs/1.0/guide/porting.html#The_First_Mystery
"For example if we move the code from the script into the subroutine
run, place the subroutines i
[EMAIL PROTECTED] wrote:
Hi,
I think mod_perl is wonderful but unfortunately enough the "require"
function does not work as it does in CGI.
Is using the function "do" the only workaround as temporary solution
till this problem is fixed in a/the next mod_perl version?
Have you read:
http://per
Hi,
I think mod_perl is wonderful but unfortunately enough the "require"
function does not work as it does in CGI.
Is using the function "do" the only workaround as temporary solution
till this problem is fixed in a/the next mod_perl version?
Cheers,
Bart
10 matches
Mail list logo