Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing the screen

Status
Not open for further replies.

NAB

Technical User
Aug 15, 2000
13
GB
Hi

I know there is probably a really simple solution to this problem, but I cant find it in any documentation that I look at.

I want to be able to clear the screen halfway through my Perl script.

Any ideas?

Thanks

Lorraine
 
if you are using a unix type system you can use
`clear`;
or on a windows machine,
`cls`;
 
As far as perl goes, you have to do a system call, like:

$command = "clear"; # or cls for Windoze
system($command);

#This should clear the screen for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top