| | Submitted on: 2/9/2003 8:31:12 PM
By: Jaime Muscatelli
Level: Beginner User Rating:
By 11 Users Compatibility:5.0 (all versions), Active Perl specific
Users have accessed this article 5249 times. | (About the author) |
| | Hey, This is my first perl submission. I just started yesterday, and I found that there was no clear screen function (Like cls). Well, I figured out a way to do it (I think it only works in dos, but I think I know the way for unix too). KEYWORDS: CLEAR clear CLS cls Screen SCREEN screen Blank | |
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. | system "cls"; # for DOS
system "clear"; # for Unix
#What this does is it actually uses the already existing clear functions that these OSs provide. Very short, simple, and it works ;-) | |
|
Report Bad Submission |
|
|
Your Vote! |
See Voting Log |
|
Other User Comments |
2/27/2003 10:43:34 AM:serpent unlucky
|
4/8/2003 6:16:47 PM:Saffer Consulting You've shown the mind of a true
programmer with this code: you saw your
tools didn't do something and you
extended them to do it. It might not be
the most sophisticated code on earth
but it's a good start!! Keep up the
good work.
|
5/21/2003 6:44:50 PM:Andy H. I agree. It is simple code, but it is a
good start.
|
7/17/2003 11:21:11 AM: Simple. Clean. Effective. Good job!
|
|
Add Your Feedback! |
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
NOTICE: The author of this article has been kind enough to share it with you. If you have a criticism, please state it politely or it will be deleted.
For feedback not related to this particular article, please click here. |
|