On Wed, 17 Oct 2001, nafiseh saberi wrote:

> in perl ,
> if u want see in screen must write :
> print "\n";
> before things you want to to print.....
> I mean that you must print one empty line and then
> print things u wants,,,,
> __________________________________
> Best regards     .........     Nafiseh Saberi


        Um, what?  Maybe I'm misunderstanding you, but it simply isn't
true that you must print an empty line before you can print data to the
screen.  Here are two ways to prove this to yourself:

>From the command line:
                perl -e 'print "Hello, World!"';

Or, put the following in a file:
                #!/usr/bin/perl 
                print "Hello, World!";

Make sure execute permissions are set on the file, then run the file.

You will notice that neither of these examples includes a newline
("\n") anywhere, yet they still print to the screen.


Dave


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to