You mention tcsh, but system uses sh no matter what the parent or default shell is. You can bypass sh by using the system LIST form to run tcsh explicitly.
my $cmd_for_tcsh = 'cleartool ...'; system('tcsh', '-c', $cmd_for_tcsh);
In reply to Re: Unable to get a tcshell command line working in PERL v5 system command
by ikegami
in thread Unable to get a tcshell command line working in PERL v5 system command
by SteveC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |