iKnowNothing has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm a bit confused over this. I am trying to clear the screen using a system call. (I am running this on a Windows 2000 machine). I tried using system('cls'), but that did not work. Well, I'll let the code speak for itself,
This does not clear the screen. The output is 65280. Does anyone know what would cause this not to work? UPDATE: after running this with the -w switch, perl informs me that it Can't spawn "cmd.exe": Invalid argument at test.pl line1.$Output = system('cls'); print($Output);
Back to
Seekers of Perl Wisdom