in reply to How do you clear the screen?

Another, less complex method would entail:

print `clear` , "\n";

Replies are listed 'Best First'.
Re: Answer: How do you clear the screen?
by busunsl (Vicar) on Mar 22, 2001 at 11:46 UTC
    Why the print stuff?

    This is enough:

    system('clear');
    But it only works on *nix systems, it fails on win32.