- or download this
use system();
system ('cls'); # or equivalent on your system.
- or download this
use Term::Cap;
$t = Tgetent Term::Cap {TERM=>undef, OSPEED=>9600};
print $t->Tputs("cl");
- or download this
use Term::Screen;
my $terminal = new Term::Screen;
$terminal->clrscr();