Hey Michael,
Monday, July 02, 2001, 4:32:10 PM, my MUA believes you used
(X-Mailer not set) to write:
>> You are correct. I believe that the backticks work on the
>> shell, so I replace `cls` with system("cls") and at least my screen
>> cleared as it was suppose to.
MF> Given the code shown, you have to print $clear for the screen to actually be
MF> cleared. The backticks are there intentionally; they're there to retrieve
MF> the sequence required to clear the screen once, so it can be stored in
MF> $clear and used as many times as desired.
>> -----Original Message-----
>> From: Craig S Monroe [mailto:[EMAIL PROTECTED]]
MF> [snip]
>> my $clear;
>> if ($^O =~ /mswin/i || $^O =~ /dos/i) {
>> $clear = `cls`;
>> }
>> elsif ($^O eq 'linux') {
>> $clear = `clear`;
>> }
print $clear; on my system gives an ascii 012 on my screen and does
not clear it (I am $^O=MSWin32).
--
[EMAIL PROTECTED]
Using The Bat! (http://www.ritlabs.com/the_bat/) eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
You're just jealous because the voices are talking to ME, not you!
NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net