in reply to How do you clear the screen?

I'm running activestate perl 5.6.1 for mswin32 and I have found that system ("clear"); doesn't work but the following code works fine.
#!/usr/bin/perl-w use strict; use Win32; system ("cls");

Replies are listed 'Best First'.
Re: Answer: How do you clear the screen?
by particle (Vicar) on Jul 10, 2001 at 18:14 UTC
    i'm running Win2000~
    I:\tmp>clear 'clear' is not recognized as an internal or external command, operable program or batch file.
    so system("clear") won't work because it's not a windows command. "cls" is.

    ~Particle