in Beitrag [EMAIL PROTECTED]
schrieb Jensen Kenneth B Sra Afpc/Dpdmpq unter
[EMAIL PROTECTED] am 02.01.2003 15:25 Uhr:

> Is there a perl command equivalent to:
> system ("clear");
> ?
> 
> Thanks,
> Ken
> 
> 
Simple write it as a system call

#!/usr/bin/perl -w

system("clear"); on UNIX
system("cls"); on Windows

Now the terminal will be cleared.

;-) Alex

PS: Find attached an sample

#!/usr/bin/perl -w

print ("hello\n");
print("clear screen in 5 sec!\n");
sleep(5);
system("clear");
exit 0;
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to