I already read that article before posted the message here but it does not
solve the problem: I am running more than one web so the adding of each
particular directory seems to me little bit dumb. Also i dont see the reason
why the current dir should be changed to the dir different from the script
dir.
Any other suggestion to solve it?
Oskar
----- Original Message -----
From: "Thomas Klausner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 9:41 AM
Subject: Re: Current directory


> Hi!
>
> On Tue, Jun 17, 2003 at 02:19:49AM +0200, Oskar wrote:
>
> > when I am executing perl script on Apache it seems that the current
> > directory is not the directory where the script is located but the
directory
> > c:\program files\apache group\apache. I need current dir to be the
script
> > dir since i have some pm in the script directories.
> > I have apache 1.3.27 and mod_perl 1.
>
> See:
> http://perl.apache.org/docs/1.0/guide/porting.html#_INC_and_mod_perl
>
>
> --
> #!/usr/bin/perl                               http://domm.zsi.at
> for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
>
>

Reply via email to