Actually, it is strange.
bash$ echo $PWD
/home/barancev
bash$ perl -e 'print $ENV{PWD}'
bash$ perl -e 'print "Oops!\n" unless exists $ENV{PWD}'
Oops!
bash$
By the way, `env` command does not show PWD variable too.
Somebody khows what the reason can be?
Once again my system configuration is
bash$ uname -a
Linux dallas 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
Looks like it is not mod_perl related topic, sorry for noise.
> -----Original Message-----
> From: Olivier Poitrey [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 02, 2001 1:05 PM
> To: [EMAIL PROTECTED]; Modperl List
> Subject: Re: Apache::SharedMem 0.07 installation problem
>
>
> Ok, the test failed because your $ENV{PWD} is empty, I'll trap
> this error on
> 0.08. By the way,
> why is your $ENV{PWD} empty ?
>
> regards
>
> --
> __________________________________________________________________
> _________
> O l i v i e r P o i t r e y
>
> USA disaster support http://www.osdn.com/911.shtml*
>
> ----- Original Message -----
> From: "Alexei Barantsev" <[EMAIL PROTECTED]>
> To: "Olivier Poitrey" <[EMAIL PROTECTED]>; "Modperl List"
> <[EMAIL PROTECTED]>
> Sent: Tuesday, October 02, 2001 10:50 AM
> Subject: RE: Apache::SharedMem 0.07 installation problem
>
>
> > Nothing, sir! :) The matter is that $ENV{PWD} is empty.
> >
> > Neither works this one:
> > $ perl -MIPC::SysV -e 'print IPC::SysV::ftok(`pwd`, $<), "\n"'
> >
> > This variant works though:
> > $ perl -MIPC::SysV -e 'chomp($pwd = `pwd`); print IPC::SysV::ftok($pwd,
> $<),
> > "\n"'
> > -1760399103
> >