in reply to shell cd within perl script

#!/usr/bin/perl exec "cd somedir; $ENV{SHELL}"; # Substitute if not set by your shell
This will start a new shell though.

Abigail