I know I didn't create any. Right now, my script won't change into the directory given as an argument. For example, inside my ubuntu terminal I created a directory called test. then I tried to run the script with "test" as an argument. I expected to then be inside of test. Nothing happened. | [reply] [Watch: Dir/Any] |
use Cwd;
print 'Cwd:'.getcwd."\n";
after the
chdir($Dir);
and you will see that you did move to that directory while perl was running.
| [reply] [Watch: Dir/Any] [d/l] [select] |
Thanks. I wAS expecting a bash-type cd
| [reply] [Watch: Dir/Any] |