Solved

Clearing the screen with Perl

Posted on 1998-08-14
3
514 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 10 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl, group, sort, count question 6 133
Move Function in Perl Script 2 68
Extract data from span tag 1 92
perl syntax 3 4
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 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