summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-26 21:12:11 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-26 21:12:11 +0000
commitb8957cf14d64aac7919c660fa810962ddf2b2dee (patch)
tree9c81f355b001a56b6b117155739d8f6b792fd21c /pod
parent337c22ddc0d5386a52aff57d1de5d5938ef9cd2d (diff)
downloadperl-b8957cf14d64aac7919c660fa810962ddf2b2dee.tar.gz
s/TMP_CRLF_PATCH/PERL_STRICT_CR/ with sense reversed, so they
can disable it from config.sh if they want; up patchlevel to 5_01; little tweaks to pods p4raw-id: //depot/maint-5.005/perl@1668
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod23
1 files changed, 15 insertions, 8 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 808b3f6080..d43f657b14 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -135,7 +135,12 @@ features make them less often a problem. See L<New Diagnostics>.
Perl has a new Social Contract for contributors. See F<Porting/Contract>.
The license included in much of the Perl documentation has changed.
-See L<perl> and the individual perl man pages listed therein.
+Most of the Perl documentation was previously under the implicit GNU
+General Public License or the Artistic License (at the user's choice).
+Now much of the documentation unambigously states the terms under which
+it may be distributed. Those terms are in general much less restrictive
+than the GNU GPL. See L<perl> and the individual perl man pages listed
+therein.
=head1 Core Changes
@@ -301,13 +306,15 @@ and in XSUBs.
=head2 More generous treatment of carriage returns
-Perl used to complain if it encountered carriage returns in scripts. Now
-they are treated like whitespace. Literal carriage returns inside
-string literals and here documents are ignored if they are paired with
-newlines, or treated like newlines 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 C<TMP_CRLF_PATCH> when building perl.
+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
+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
+C<PERL_STRICT_CR> when building perl. Of course, all this has nothing
+whatever to do with how escapes like C<\r> are handled within strings.
Note that this doesn't somehow magically allow you to keep all text files
in DOS format. The generous treatment only applies to files that perl