The shell is eating _some_ of the quote characters. As you're calling the system with multiple args, it's not passing it to your shell, and they're not being removed. Try the following:
$return_val = system($grph_gen_multi_seq, $data_source_contents[2], "\"$data_source_contents[2]\"", $seq_num, "\"$seq_num\"", $data_source_contents[1]);In reply to Re: Execution KSH Script from Perl
by jhourcle
in thread Execution KSH Script from Perl
by rheaton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |