in reply to why doesn't my system('cls') work?
Well, right off the bat, there is no program named cls.com or cls.exe out there. It's a command built into the shell, cmd.exe.
--bibo
UPDATE
My point is this: system and spawn and fork and their tickish brethern will launch a new process. Those new command windows could clean their own screens with cls, but you cannot clear the screen of the currently running command window by starting a new process.
is this helping?
In Section
Seekers of Perl Wisdom