Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Clearing the screen with Perl

Posted on 1998-08-14
3
Medium Priority
?
526 Views
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).

0
Comment
Question by:gpshute
3 Comments
 
LVL 5

Expert Comment

by:ecw
ID: 1209295
system("cls");
0
 
LVL 5

Accepted Solution

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

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


0
 

Author Comment

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


0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
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…
Six Sigma Control Plans

885 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