diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-11 20:37:23 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-11 20:37:23 +0000 |
commit | c2e66d9e68806a7000ee1a4760c35703a0e0ae89 (patch) | |
tree | 32508ca896b6e213afc07430f7aa223c0e9dde28 /pod/perldiag.pod | |
parent | 4755096ec61711c5104ba0b6b9314f32ca0351fe (diff) | |
download | perl-c2e66d9e68806a7000ee1a4760c35703a0e0ae89.tar.gz |
integrate cfgperl changes#6325..6373 into mainline
(NOTE: today's batch of integrations still untested)
p4raw-link: @6373 (not found)
p4raw-link: @6325 on //depot/cfgperl: d6ac44cc5a00fa38a56717785146bc16b716472c
p4raw-id: //depot/perl@6373
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index c034c36e74..a10f9dfb42 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -76,6 +76,13 @@ on the operator (e.g. C<CORE::log($x)>) or by declaring the subroutine to be an object method (see L<perlsub/"Subroutine Attributes"> or L<attributes>). +=item Ambiguous range in transliteration operator + +(F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at +all. To include a C<-> character in a transliteration, put it either +first or last. (In the past, C<tr/a-z-0//> was synonymous with +C<tr/a-y//>, which was probably not what you would have expected.) + =item Ambiguous use of %s resolved as %s (W ambiguous)(S) You said something that may not be interpreted the way @@ -1081,7 +1088,7 @@ arbitrarily. ("Simple" and "medium" situations are handled without recursion and are not subject to a limit.) Try shortening the string under examination; looping in Perl code (e.g. with C<while>) rather than in the regular expression engine; or rewriting the regular expression so -that it is simpler or backtracks less. (See L<perlbook> for information +that it is simpler or backtracks less. (See L<perlfaq2> for information on I<Mastering Regular Expressions>.) =item connect() on closed socket %s @@ -1697,6 +1704,11 @@ L<perlfunc/sprintf>. (F) The range specified in a character class had a minimum character greater than the maximum character. See L<perlre>. +=item invalid [] range "%s" in transliteration operator + +(F) The range specified in the tr/// or y/// operator had a minimum +character greater than the maximum character. See L<perlop>. + =item Invalid separator character %s in attribute list (F) Something other than a colon or whitespace was seen between the |