> I typically use something like:
>
> $clear = `clear`;
> print "$clear";
>
> Make sure the clear command is in your path ('which
> clear' from the shell will tell you if/where it is).
The Cookbook suggests using the Term::Cap module, but isn't
worth it unless you care about calling an external
Thanks Rob,
Your way makes more sense to use.
-Original Message-
From: Rob Genovesi [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 10:48 AM
To: [EMAIL PROTECTED]
Subject: RE: clearing the screen...
I typically use something like:
$clear = `clear`;
print "$clear&qu
I typically use something like:
$clear = `clear`;
print "$clear";
Make sure the clear command is in your path ('which clear' from the shell
will tell you if/where it is).
Saving the results of the clear command to a variable saves you from having
to make a system call every time you want to c
Hello ABhagwandin,
You could use system(clear) inside of your perl script.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 10:29 AM
To: [EMAIL PROTECTED]
Subject: clearing the screen...
I know that in Bourne Shell programming