in reply to Re^3: cd pwd dir chdir version default directory
in thread cd pwd dir chdir version default directory
Just wanted to point out an aside, that for the "cd" command, the shell is the command interpreter. It's a built-in in most shells, CMD.EXE or bash or otherwise. There are other built-ins that apply to this pattern as well.
Running a subprocess to change directories won't help the shell or other parent processes, of course, as the child's process is insular. To change directories in perl, also use the builtin (the chdir function).
--
[ e d @ h a l l e y . c c ]
|
|---|