You're running your shell's builtin cd command in a subshell which then exits and returns control to your program. This quite understandably isn't going to do anything useful.
You need to go read the question " I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible?" in perlfaq8, and the documentation for chdir.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Changing directory to a clearcase vob doesnot work please help
by Fletch
in thread Changing directory to a clearcase vob doesnot work please help
by sas429s
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |