summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2010-08-12 13:09:04 -0400
committerDavid Golden <dagolden@cpan.org>2010-08-12 13:09:04 -0400
commit2c86d456ad2d34f5b5c13b6e9dcf31485a2abce0 (patch)
tree36eedcad5ce9d4357c9b83f56b117d37760049f9 /pod
parent49a5993ee7c803f0cfe60030e578b7dc5fc9a586 (diff)
downloadperl-2c86d456ad2d34f5b5c13b6e9dcf31485a2abce0.tar.gz
Add perldiag entries for new version format errors
Also updates porting/diag.t to standardize the detected messages into the format used in perldiag.pod
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod31
1 files changed, 21 insertions, 10 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 241ad01206..4496770184 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2241,6 +2241,15 @@ colon or whitespace was seen between the elements of a layer list.
If the previous attribute had a parenthesised parameter list, perhaps that
list was terminated too soon.
+=item Invalid strict version format (%s)
+
+(F) A version number did not meet the "strict" criteria for versions.
+A "strict" version number is a positive decimal number (integer or
+decimal-fraction) without exponentiation or else a dotted-decimal
+v-string with a leading 'v' character and at least three components.
+The parenthesized text indicates which criteria was not met.
+See the L<version> module for more details on allowed version formats.
+
=item Invalid type '%s' in %s
(F) The given character is not a valid pack or unpack type.
@@ -2248,16 +2257,18 @@ See L<perlfunc/pack>.
(W) The given character is not a valid pack or unpack type but used to be
silently ignored.
-=item Invalid version format (multiple underscores)
-
-(F) Versions may contain at most a single underscore, which signals
-that the version is a beta release. See L<version> for the allowed
-version formats.
-
-=item Invalid version format (underscores before decimal)
-
-(F) Versions may not contain decimals after the optional underscore.
-See L<version> for the allowed version formats.
+=item Invalid version format (%s)
+
+(F) A version number did not meet the "lax" criteria for versions.
+A "lax" version number is a positive decimal number (integer or
+decimal-fraction) without exponentiation or else a dotted-decimal
+v-string. If the v-string has less than three components, it must have a
+leading 'v' character. Otherwise, the leading 'v' is optional. Both
+decimal and dotted-decimal versions may have a trailing "alpha"
+component separated by an underscore character after a fractional or
+dotted-decimal component. The parenthesized text indicates which
+criteria was not met. See the L<version> module for more details on
+allowed version formats.
=item ioctl is not implemented