If you're referring to the same console that you ran your script from
then you can get it all just by redirecting STDOUT and STDERR. It will
go back after your script finishes running.
open(STDERR,">>","error.log") or die("Couldn't open 'error.log' for
append!\n");
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Howard Maher
Sent: Wednesday, April 19, 2006 1:44 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Screen Scraping a DOS window
Does anyone know of a good way to screen-scrape a DOS window from Perl?
We have error messages that get reported in various and sundry ways, but
thought it might be a nice addition to scrape the last 5-25 lines from
the DOS box just as a good measure.
Thanks in advance for any suggestions...
Howard Maher
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs