in reply to How to make perl affect my shell

If you have your program exec a new shell, you will end up there.
#!/usr/bin/perl use strict; # idiot use warnings; # pruf chdir '/home/dwilde'; exec '/usr/local/bin/bash';
As has been pointed out, you will be in a #new# shell.