1. That you are using an operating system that populates $ENV{PWD} with the correct answer.You forgot:
2. That you haven't executed a chdir anywhere in your code.
3. You aren't being lied to by the caller.since any program that trusts an env variable is a likely target for a security break-in.
-- Randal L. Schwartz, Perl hacker
In reply to •Re: Re: Re: current directory
by merlyn
in thread current directory
by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |