good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Figuring out the environmentby kelan (Deacon) |
on Sep 25, 2002 at 16:40 UTC ( [id://200662]=note: print w/replies, xml ) | Need Help?? |
Do you know what OS the server is running? AFAIK, Microsoft OS's don't have an environment variable for the current directory. However, the Cwd module, which is one of the Perl core modules, provides a function called cwd which returns the current working directory.
kelan Yak it up with Fullscreen ChatBox
In Section
Seekers of Perl Wisdom
|
|