in reply to csh commands in Perl

Try to set your environment variable SHELL to /bin/csh, that should work.