Hi all,

 

I have been doing redirect the output of command (an external tool, exe)
to a file, by doing following:

 

system( "tool.exe args args args > tempoutput");

 

and I read tempoutput to a list, by doing following:

 

my $FIN = new FileHandle;

open ($FIN,$map_file);

my @lines = <FIN>;

 

So that I can parse it for another purpose.

 

Now, I wonder if there is any way I can redirect the output of tool.exe
to a list directly?

 

Thanks, everyone!!

 

Nelson

Reply via email to