diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 14:02:43 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 14:02:43 +0000 |
commit | 89f068b53a1547d87ea1a4cabb87ff0a94a0c54a (patch) | |
tree | 7b3ee480393ebe5e93f702ca7968af17ce701011 /pod/perldiag.pod | |
parent | d67c6d9b95d3cd17441321ffb457592a4f239806 (diff) | |
download | perl-89f068b53a1547d87ea1a4cabb87ff0a94a0c54a.tar.gz |
fix description of obsolete diagnostic
p4raw-id: //depot/perl@5001
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 7891bc2ad3..2cf4bb6e58 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., C<print E<lt>E<lt>EOF;>). - -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<binmode> operator). - -In either case, the Perl code in question will probably need to be -converted with something like C<s/\x0D\x0A?/\n/g> 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 |