in reply to Re^2: passing parms to other software program
in thread passing parms to other software program
in most cases it is better to generate a temporary file with File::Temp, write the output in that file (e.g. system($cmd . " > $tmp_fn") ) and then parse the output file. this allows memory efficent parsers.