Tried:
print STDOUT ">>>$message<<<";

output:
 >>>Completed GSCC standards checks.

Its prob with print or the machine I'm working on. Same code works
good when run on other m/c. But my problem is I have to make it run in
this m/c.

On Sep 20, 5:13 am, [EMAIL PROTECTED] (Jenda Krynicky) wrote:
> From: Sundeep <[EMAIL PROTECTED]>
>
> > A clue less problem for me...
>
> >         my $message = "Completed CODE standards checks.\n".
> >                       "For details, refer to the file $log_file_name.\n
> > \n";
> >         print STDOUT $message;
>
> > I'm printing this message after some tests... and only message up to
> > first new line is getting printed. When I remove first \n, whole
> > message is printed in single line (as expected).
>
> Try to change that to
>
>     print STDOUT ">>>$message<<<\n";
>
> If you only get the >>> and the first line, it's something about the
> print, if you get >>>, the fist line and <<<, then the message
> doesn't contain what you thought it does.
>
> Jenda
> ===== [EMAIL PROTECTED] ===http://Jenda.Krynicky.cz=====
> When it comes to wine, women and song, wizards are allowed
> to get drunk and croon as much as they like.
>         -- Terry Pratchett in Sourcery



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to