Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
[marto]: I think you can do what you want without too much hassle, but yeah, please try and let me know if it works well :)
[marto]: sadly I've still not remembered the name of that x86 all in one we discussed
[Corion]: marto: Heh - I looked at the Intel things and they were all at EUR 80 or upwards, and that's a bit too much (or rather, for that money, I'd look for a NAS already)
[marto]: click bait marketing is making it harder to find stuff I can't remember based upon a few terms :(
[Corion]: :)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2018-01-17 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (201 votes). Check out past polls.

    Notices?