Disclaimer: this will work on Unix, no idea about Windows or other OSes.my $clearchr; if (eval { require Term::Cap }) { my $terminal = Tgetent Term::Cap { TERM => undef }; $clearchr = $terminal->Tputs("cl"); } if ($clearchr eq '') { $clearchr = `clear`; }
In reply to Re: Re: Text Animation in Perl
by eserte
in thread Text Animation in Perl
by artist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |