Clearing the screen with Perl

Posted on 1998-08-14
Last Modified: 2008-02-26
Can you tell me how to clear the screen from within a perl script running under Windows NT 4.0 (Without ANSI.SYS loaded).

Question by:gpshute

Expert Comment

ID: 1209295

Accepted Solution

b2pi earned 10 total points
ID: 1209296
OR.... (Win32::Console is seriously cool)

use Win32::Console;
$OUT = new win32::Console(STD_OUTPUT_HANDLE);


Author Comment

ID: 1209297
Thanks, it appeared a simple question, but I could not find the answer anywhere.


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Parse csv file and generate graphs in HTML in bash 8 156
Edit Odbc.ini using perl module 2 76
How to generate square thumbnail using perl 13 77
combine multiple lines 2 41
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (,  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now