--- "Yacketta,Ronald J" <[EMAIL PROTECTED]> wrote:
> <snip>
> I need to be able to run a system command and pass it the entire
> @ssids array at once as stdin, not individually.
> the command line looks like this
>     nsrclone -b Clone -S -f - < clone_file
> I see how I can do all of that, except how to pass the @ssids into
> the nsrclone as stdin? pipe?fork?

Assuming I'm not assuming too much, ... =o)
if your command is 
     nsrclone -b Clone -S -f - < clone_file

Then isn't it already redirecting its stdin from clone_file?
Or have I misunderstood what you mean?

if you don't have to do that, then:
   open NSR, "| nsrclone -b Clone -S -f - " or die $!;
   print NSR @ssids;



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to