http://qs321.pair.com?node_id=380355


in reply to THANKS TO ALL: Passing huge args to system call

I dont know what the problem is, but have you considered passing $warn_list_arg as lines to STDIN?

Such as:

open FH, "|perl $perl_file $comp"); for (@warn_list) { print FH $_ . "\n"; } close FH;

You'll have to modify $perl_file to read them from <STDIN> instead of @ARGV.