Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Answer: How do you clear the screen?

( #66530=categorized answer: print w/ replies, xml ) Need Help??

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

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

Comment on Answer: How do you clear the screen?
Download Code
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 exploiting the Monastery: (5)
As of 2015-04-25 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (479 votes), past polls