in reply to System Commands
FYI, `cd some_dir` will never work. cd is a shell built-in because it has to be. Just think what happens: perl spawns a shell, the shell changes directory in it's local environment then the shell dies leaving the parent process (your perl program) in the same directory it started in.
This has nothing to do with perl. This is just a consequence of how processes work.
|
|---|