In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/d7201950fb88ad4d067f937f0b3b60640f3d2099?hp=f9eb106c1084642aeabc4c43b4e436fd24217bd2>
- Log ----------------------------------------------------------------- commit d7201950fb88ad4d067f937f0b3b60640f3d2099 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:55:40 2011 -0800 perldiag: Remove quotes around message The quotes might make podchecker happy, but they cause this entry to be formatted differently from the rest. M pod/perldiag.pod commit 6c107eaa8fc60cd9cc09afec87bf179f637af4e1 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:52:56 2011 -0800 perldiag: grammar M pod/perldiag.pod commit 3257ea4fa4fb2e9e219b9e4db28d9be1334ffc1a Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:51:58 2011 -0800 perldiag: more sorting M pod/perldiag.pod commit 964742a133015d660260aa35784cc6978d068f70 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:49:07 2011 -0800 perldiag: grammar M pod/perldiag.pod commit 9381611c898fde5d723bd856a9923c0605cfefe7 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:45:48 2011 -0800 perldiag: pod syntax and reflow M pod/perldiag.pod commit bcb95744bb8592f02753510997868f11b64116c2 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:44:00 2011 -0800 perldiag: resort some items M pod/perldiag.pod commit bbaee129b97f3e5ebe854a803ac9b4155a151061 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:42:20 2011 -0800 perldiag: reflow some entries M pod/perldiag.pod commit e43839a7fdfc9513f273a3a497f9e8f5c7546ec2 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:37:49 2011 -0800 Delete âRecursive inheritance detected while looking for methodâ from perldiag. This message has not occurred since 5.8.x. M pod/perldiag.pod commit 43ee0ea31e8202ec63ed3c178760bb0c64510eea Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:37:07 2011 -0800 perldiag: grammar M pod/perldiag.pod commit e50356381b87e67a7e390fa83521a976e08b8bfd Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:35:20 2011 -0800 perldiag: more resorting M pod/perldiag.pod commit 4b07a369c72219599043d45bc8c02038951986f5 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:27:48 2011 -0800 perldiag: typo M pod/perldiag.pod commit a1efa96e56fcd5c93a2d056cfbdce00e6ba944d7 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 23:23:20 2011 -0800 perldiag: reflow an entry M pod/perldiag.pod ----------------------------------------------------------------------- Summary of changes: pod/perldiag.pod | 90 +++++++++++++++++++++++++---------------------------- 1 files changed, 42 insertions(+), 48 deletions(-) diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 56089d0..b1e4c6a 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1527,6 +1527,15 @@ array is empty, just use C<if (@array) { # not empty }> for example. checks for an undefined I<scalar> value. If you want to see if the hash is empty, just use C<if (%hash) { # not empty }> for example. +=item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/ + +(F) You used something like C<(?(DEFINE)...|..)> which is illegal. The +most likely cause of this error is that you left out a parenthesis inside +of the C<....> part. + +The <-- HERE shows in the regular expression about where the problem was +discovered. + =item %s defines neither package nor VERSION--version check failed (F) You said something like "use Module 42" but in the Module file @@ -3540,8 +3549,8 @@ was string. =item panic: unimplemented op %s (#%d) called -(P) The compiler is screwed up and attempted to use an op that isn't permitted -at run time. +(P) The compiler is screwed up and attempted to use an op that isn't +permitted at run time. =item panic: utf16_to_utf8: odd bytelen @@ -3634,9 +3643,9 @@ This error means that Perl detected that you and/or your operating system supplier and/or system administrator have set up the so-called locale system but Perl could not use those settings. This was not dead serious, fortunately: there is a "default locale" called "C" that -Perl can and will use, the script will be run. Before you really fix -the problem, however, you will get the same error message each time -you run Perl. How to really fix the problem can be found in +Perl can and will use, and the script will be run. Before you really +fix the problem, however, you will get the same error message each +time you run Perl. How to really fix the problem can be found in L<perllocale> section B<LOCALE PROBLEMS>. =item pid %x not a child @@ -3753,13 +3762,6 @@ higher precedence of C<==>. This is probably not what you want. (If you really meant to write this, disable the warning, or, better, put the parentheses explicitly and write C<$x & ($y == 0)>). -=item Possible unintended interpolation of %s in string - -(W ambiguous) You said something like `@foo' in a double-quoted string -but there was no array C<@foo> in scope at the time. If you wanted a -literal @foo, then write it as \@foo; otherwise find out what happened -to the array you apparently lost track of. - =item Possible unintended interpolation of $\ in regex (W ambiguous) You said something like C<m/$\/> in a regex. @@ -3774,6 +3776,13 @@ If instead you intended to match the word 'foo' at the end of the line followed by whitespace and the word 'bar' on the next line then you can use C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). +=item Possible unintended interpolation of %s in string + +(W ambiguous) You said something like `@foo' in a double-quoted string +but there was no array C<@foo> in scope at the time. If you wanted a +literal @foo, then write it as \@foo; otherwise find out what happened +to the array you apparently lost track of. + =item Precedence problem: open %s should be open(%s) (S precedence) The old irregular construct @@ -3919,12 +3928,6 @@ which is why it's currently left out of your copy. believes it found an infinite loop in the C<@ISA> hierarchy. This is a crude check that bails out after 100 levels of C<@ISA> depth. -=item Recursive inheritance detected while looking for method %s - -(F) More than 100 levels of inheritance were encountered while invoking -a method. Probably indicates an unintended loop in your inheritance -hierarchy. - =item Reference found where even-sized list expected (W misc) You gave a single reference where Perl was expecting a list @@ -3945,30 +3948,21 @@ Doing so has no effect. =item Reference miscount in sv_replace() (W internal) The internal sv_replace() function was handed a new SV with -a reference count of other than 1. +a reference count other than 1. =item Reference to invalid group 0 (F) You used C<\g0> or similar in a regular expression. You may refer to capturing parentheses only with strictly positive integers (normal backreferences) or with strictly negative integers (relative -backreferences), but using 0 does not make sense. +backreferences). Using 0 does not make sense. =item Reference to nonexistent group in regex; marked by <-- HERE in m/%s/ (F) You used something like C<\7> in your regular expression, but there are -not at least seven sets of capturing parentheses in the expression. If you -wanted to have the character with ordinal 7 inserted into the regular expression, -prepend zeroes to make it three digits long: C<\007> - -The <-- HERE shows in the regular expression about where the problem was -discovered. - -=item Reference to nonexistent or unclosed group in regex; marked by <-- HERE in m/%s/ - -(F) You used something like C<\g{-7}> in your regular expression, but there are -not at least seven sets of closed capturing parentheses in the expression before -where the C<\g{-7}> was located. +not at least seven sets of capturing parentheses in the expression. If +you wanted to have the character with ordinal 7 inserted into the regular +expression, prepend zeroes to make it three digits long: C<\007> The <-- HERE shows in the regular expression about where the problem was discovered. @@ -3976,18 +3970,18 @@ discovered. =item Reference to nonexistent named group in regex; marked by <-- HERE in m/%s/ (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular -expression, but there is no corresponding named capturing parentheses such -as C<(?'NAME'...)> or C<(?<NAME>...). Check if the name has been spelled -correctly both in the backreference and the declaration. +expression, but there is no corresponding named capturing parentheses +such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been +spelled correctly both in the backreference and the declaration. The <-- HERE shows in the regular expression about where the problem was discovered. -=item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/ +=item Reference to nonexistent or unclosed group in regex; marked by <-- HERE in m/%s/ -(F) You used something like C<(?(DEFINE)...|..)> which is illegal. The -most likely cause of this error is that you left out a parenthesis inside -of the C<....> part. +(F) You used something like C<\g{-7}> in your regular expression, but there +are not at least seven sets of closed capturing parentheses in the +expression before where the C<\g{-7}> was located. The <-- HERE shows in the regular expression about where the problem was discovered. @@ -4017,7 +4011,7 @@ are meaningless. =item Reversed %s= operator (W syntax) You wrote your assignment operator backwards. The = must -always comes last, to avoid ambiguity with subsequent unary operators. +always come last, to avoid ambiguity with subsequent unary operators. =item rewinddir() attempted on invalid dirhandle %s @@ -4082,16 +4076,16 @@ C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly parsed. One way to disambiguate the parsing is to put parentheses around the conditional expression, i.e. C<(foo) ? 0 : 1>. -=item %sseek() on unopened filehandle - -(W unopened) You tried to use the seek() or sysseek() function on a -filehandle that was either never opened or has since been closed. - =item seekdir() attempted on invalid dirhandle %s (W io) The dirhandle you are doing a seekdir() on is either closed or not really a dirhandle. Check your control flow. +=item %sseek() on unopened filehandle + +(W unopened) You tried to use the seek() or sysseek() function on a +filehandle that was either never opened or has since been closed. + =item select not implemented (F) This machine doesn't implement the select() system call. @@ -4157,12 +4151,12 @@ L<perlre>. =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/ -(F) If the contents of a (?{...}) clause contains braces, they must balance -for Perl to properly detect the end of the clause. The <-- HERE shows in +(F) If the contents of a (?{...}) clause contain braces, they must balance +for Perl to detect the end of the clause properly. The <-- HERE shows in the regular expression about where the problem was discovered. See L<perlre>. -=item "500 Server error" +=item Z<>500 Server error See Server error. -- Perl5 Master Repository