in reply to Execute cd command from perl script

To affect the current working directory of the perl process, use the chdir() function.