Hi,
I am looking to run a command using perl and get its return value as well as
its STDOUT. Currently I am doing is

$result = system("$myCommand >out.txt");
open(FILE,"< out.txt");
 
and then processing the data from the file. This is terribly slow for my
application. Is there some way where I can redirect the output directly to a
variable and not have to do the file thing.

Thanks
Mayank

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to