At 11:49 AM 5/21/01 -0400, Yacketta,Ronald J wrote:

>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?

open, as in

open NSR, "|nsrclone -b Clone -S -f";
print NSR @ssids;  # assuming that's the formatting for what you want
close NSR;

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com

Reply via email to