> -----Original Message-----
> From: Sundeep [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 19, 2007 05:50
> To: beginners@perl.org
> Subject: Abnormal behavior of print / syswrite
> 
> 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;
> 
        Tried with and without STDOUT and all is working. Either the
value in the $log_file_name ( but said could print without the \n), or
non Perl related matter.

        Havent't stated what platform or giving the snippet of where
this code is located.

        From here under windows and AS 5.8.8, nothing comes to light.

Wags ;)

> 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).
> 
> I tried other options like
>  giving 2 print statements each for one line of message,
> using $| = 1
> syswrite  (Though I can't use syswrite even if it works coz of code of
> conduct in my org).
> 
> Not getting any clue what is wrong.
> The same code was working very well earlier (2 days back).
> 
> Could anyone tell me what could be the problem (perl or non perl
> related)
> 
> Thanks,
> Sundeep
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
> 
> 
> 

**********************************************************************
This message contains information that is confidential and proprietary to FedEx 
Freight or its affiliates.  It is intended only for the recipient named and for 
the express  purpose(s) described therein.  Any other use is prohibited.
**********************************************************************


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


Reply via email to