Yes, we are currently processing it from a file
I would like to move away from that and actually just
use the array, I do not see the need to populate the
array just to toss it to a file for use.
I really would like to capture the output from the nsrclone much like Jeff
showed me how
in his fixer-up perl script he dolled out.

@output = qw(nsrclone -S -f - @ssids);

but, to me that looks like it is a no go

-Ron


-----Original Message-----
From: Paul [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 12:05 PM
To: Yacketta,Ronald J; [EMAIL PROTECTED]
Subject: Re: another newb question



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