Then cd /home/me and ./testcwd. It will print#!/usr/bin/perl print $ENV{PWD}, "\n";
Then cd / and /home/me/testcwd. It will print/home/me
/
In reply to Re: current working dir is location of script?
by The Mad Hatter
in thread current working dir is location of script?
by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |