in reply to Resetting your Terminal for each line printed

If I need something like that I always go for ANSI codes.
 print "\x27[2J";

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e