Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: How do you clear the screen?

by MrNobo1024 (Hermit)
on Mar 23, 2001 at 04:45 UTC ( #66530=categorized answer: print w/replies, xml ) Need Help??

Q&A > input and output > How do you clear the screen? - Answer contributed by MrNobo1024

Shell out and ask the OS to do it:
system $^O eq 'MSWin32' ? 'cls' : 'clear';

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-03-25 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.