Hi everyone,
I have a couple of questions;
1) is there a command to clear the screen from within a perl program
2) how can you send the ouptput to the printer from within a perl program
I am running perl on windows.
Thanks
-
Do you Yahoo!?
Yahoo! Mail Plus
clear screen and
it works on both windows and Unix
Thanks in advance,
jaya K.
_
Get Free Fast Easy email from indiya.com: SIGNUP NOW : http://www.indiya.com
I used this instruction to clear the screen on NT
system(cls);
print Hello;
the same instruction is not working on unix. I modified the
instruction to
system(clear);
print hello;
This works fine on unix. Is there any instruction in perl to perfom
clear screen
on unix. Is there any instruction in perl to perfom clear
screen and it works on both windows and Unix
First of all, if you're thinking about portable code, your first
resource to read will be the perlport manual page. As said there,
nearly all Perl is already portable (one strategy is to emulate