Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2016-09-29 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (552 votes). Check out past polls.