http://www.perlmonks.org?node_id=1035918


in reply to Problems while trying to run tcsh script from perl

Looks like a *nix problem rather than a Perl problem. By the way, setenv gives me an error (unknown command) on my *nix box when I run it from the shell prompt. Did you try it from the shell prompt? The command may have a different name on your specific shell. And if it works on your box, try "which setenv" to find the path if it is an external command, and give the full path if you get one. I am no expert on that, just my 2-cents worth...