From:                   "Alan C." <[EMAIL PROTECTED]>
> I've a Win 2K command console executable.  Once this .exe is launched,
> its output goes to STDOUT.  And, this output consists of text and
> html, in size, just about the amount for a small to medium web page. 
> Also want to strip and discard the html from the output so as to
> capture only the text.
> 
> 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.
> 
> I'm not sure but guess the next line would launch
> 
> system(cmdlinutil.exe);
> #----------

What about my favourite:

use Shell qw(cmdlinutil);

$results = cmdlinutil($whatever, $parameters, $you_need);

:-) 

Jenda

P.S.: As soon as I have my latest additions accepted you'll be able 
to specify the path to the executable, specify what to do with the 
STDERR and whether to wait for the process to complete.


=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me

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

Reply via email to