From: Gurusamy Sarathy Date: Sun, 6 Feb 2000 14:02:43 +0000 (+0000) Subject: fix description of obsolete diagnostic X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d58983384559ea1bb91f6a51635e3c03dcab2b7a;p=p5sagit%2Fp5-mst-13.2.git fix description of obsolete diagnostic p4raw-id: //depot/perl@5001 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 7891bc2..2cf4bb6 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1584,22 +1584,11 @@ line was ignored. =item Illegal character %s (carriage return) -(F) A carriage return character was found in the input. This is an -error, and not a warning, because carriage return characters can break -multi-line strings, including here documents (e.g., CEEOF;>). - -Under Unix, this error is usually caused by executing Perl code -- -either the main program, a module, or an eval'd string -- that was -transferred over a network connection from a non-Unix system without -properly converting the text file format. - -Under systems that use something other than '\n' to delimit lines of -text, this error can also be caused by reading Perl code from a file -handle that is in binary mode (as set by the C operator). - -In either case, the Perl code in question will probably need to be -converted with something like C before it can be -executed. +(F) Perl normally treats carriage returns in the program text as it +would any other whitespace, which means you should never see this +error when Perl was built using standard options. For some reason, +your version of Perl appears to have been built without this support. +Talk to your Perl administrator. =item Illegal division by zero