clear - clear the screen
clear
Look in the termcap database, find the character to clear the screen, and emit it.
This is a direct lift from Section 15.7, Ringing the Terminal Bell, from Perl Cookbook, with
cl
substituted forvb
.
Jeffrey S. Haemer
clear should probably take an argument,
like yes,
that will let users send arbitrary termcap sequences,
with cl
as the default.
Term::Cap(3)