in reply to (wil) Re: clrscr(); in perl?
in thread clrscr(); in perl?

on unix you can also use this :
# store the terminal escape sequence that clear the screen $clear = `clear`; # then, all you need is to print $clear # anytime you want to clear the screen print $clear; # Bonus : # if you wants to know what the "clear" sequence # looks like (in decimal) foreach ( split(//,$clear) ) { print ord($_),"\n"; }