diff options
author | Philip Newton <pne@cpan.org> | 2001-08-31 23:12:56 +0200 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2001-08-31 18:11:32 +0000 |
commit | 25f58aea15b072f74afcee1b9074d33e8e7348b5 (patch) | |
tree | 7288c285bf23aa85cd26330213e7d2047ad97493 | |
parent | 6e072df014fdece72bd24fb4d17e9a5b4a1d326b (diff) | |
download | perl-25f58aea15b072f74afcee1b9074d33e8e7348b5.tar.gz |
[DOC PATCH] Add perl4 warning messages to perldiag.pod
Message-Id: <20010831.211000@ID-11583.news.dfncis.de>
p4raw-id: //depot/perl@11802
-rw-r--r-- | pod/perldiag.pod | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index ff0a6ee4b1..5a9eb4e335 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1879,6 +1879,12 @@ regular expression engine didn't specifically check for that. The <-- HERE shows in the regular expression about where the problem was discovered. See L<perlre>. +=item "%s" may clash with future reserved word + +(W) This warning may be due to running a perl5 script through a perl4 +interpreter, especially if the word that is being warned about is +"use" or "my". + =item % may only be used in unpack (F) You can't pack a string by supplying a checksum, because the @@ -3337,6 +3343,12 @@ questions>. of Perl. Check the #! line, or manually feed your script into Perl yourself. +=item syntax error in file %s at line %d, next 2 tokens "%s" + +(F) This error is likely to occur if you run a perl5 script through +a perl4 interpreter, especially if the next 2 tokens are "use strict" +or "my $var" or "our $var". + =item %s syntax OK (F) The final summary message when a C<perl -c> succeeds. |