diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-02-13 23:44:00 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-02-13 23:44:00 -0800 |
commit | bcb95744bb8592f02753510997868f11b64116c2 (patch) | |
tree | 6d809368327f5532cc5d925d1e0358ab837151bb /pod/perldiag.pod | |
parent | bbaee129b97f3e5ebe854a803ac9b4155a151061 (diff) | |
download | perl-bcb95744bb8592f02753510997868f11b64116c2.tar.gz |
perldiag: resort some items
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index a338e89288..44b27cfb83 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 @@ -3958,15 +3967,6 @@ 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. - -The <-- HERE shows in the regular expression about where the problem was -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 @@ -3977,11 +3977,11 @@ 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. |