From: Gurusamy Sarathy Date: Fri, 12 Feb 1999 09:55:48 +0000 (+0000) Subject: tweak PERL_STRICT_CR notes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=453f83e76b95e696c647aafba15187f8c92187be;p=p5sagit%2Fp5-mst-13.2.git tweak PERL_STRICT_CR notes p4raw-id: //depot/perl@2889 --- diff --git a/pod/perl5005delta.pod b/pod/perl5005delta.pod index b06b7cc..6f67653 100644 --- a/pod/perl5005delta.pod +++ b/pod/perl5005delta.pod @@ -310,7 +310,7 @@ and in XSUBs. Perl used to complain if it encountered literal carriage returns in scripts. Now they are mostly treated like whitespace within program text. Inside string literals and here documents, literal carriage returns are -ignored if they occur paired with newlines, or get interpreted as newlines +ignored if they occur paired with linefeeds, or get interpreted as whitespace if they stand alone. This behavior means that literal carriage returns in files should be avoided. You can get the older, more compatible (but less generous) behavior by defining the preprocessor symbol