on Thu, 30 May 2002 05:58:53 GMT, [EMAIL PROTECTED] (Alan C.)
wrote:
> So, want to know how for Perl to launch the .exe then Perl capture
> from STDOUT into either a text file or a variable as my final goal
> is to view such captured output in a text editor.
Use backticks or the equivalent qx function, either in scalar or list
context:
my $output = qx(util.exe); # $output contains full output
my @lines = qx(util.exe); # @lines contains full output, on line
# per array-element
See
perldoc perlop
for more information.
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]