Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Passing huge args to system call

by eclark (Scribe)
on Aug 05, 2004 at 19:06 UTC ( #380355=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://380355]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-05-25 00:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?