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 -
to
>
> system(clear);
> print "hello";
>
> This works fine 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 manua
>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 u
on in perl to perfom 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