X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldiag.pod;h=aeb5d2748f9a39595e87ca7b17d0f136e6f9f797;hb=a69635b797939b348e6ed6c090a2b89709dc47b1;hp=9403e551ee3f9de6db0c4e72258493ea52e259af;hpb=ac0367249e563330db9a9a04f778eae30defbab0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 9403e55..aeb5d27 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -526,6 +526,11 @@ from that type of reference to a typeglob. (P) Perl detected an attempt to copy a value to an internal type that cannot be directly assigned not. +=item Cannot find encoding "%s" + +(S io) You tried to apply an encoding that did not exist to a filehandle, +either with open() or binmode(). + =item Can only compress unsigned integers in pack (F) An argument to pack("w",...) was not an integer. The BER compressed @@ -1846,9 +1851,17 @@ earlier in the line, and you really meant a "less than". =item gmtime(%.0f) too large -(W overflow) You called C with an number that was beyond the 64-bit -range that it accepts, and some rounding resulted. This warning is also -triggered with nan (the special not-a-number value). +(W overflow) You called C with an number that was larger than +it can reliably handle and C probably returned the wrong +date. This warning is also triggered with nan (the special +not-a-number value). + +=item gmtime(%.0f) too small + +(W overflow) You called C with an number that was smaller than +it can reliably handle and C probably returned the wrong +date. This warning is also triggered with nan (the special +not-a-number value). =item Got an error from DosAllocMem @@ -2284,8 +2297,17 @@ L. =item localtime(%.0f) too large -(W overflow) You called C with an number that was beyond the -64-bit range that it accepts, and some rounding resulted. This warning is also triggered with nan (the special not-a-number value). +(W overflow) You called C with an number that was larger +than it can reliably handle and C probably returned the +wrong date. This warning is also triggered with nan (the special +not-a-number value). + +=item localtime(%.0f) too small + +(W overflow) You called C with an number that was smaller +than it can reliably handle and C probably returned the +wrong date. This warning is also triggered with nan (the special +not-a-number value). =item Lookbehind longer than %d not implemented in regex m/%s/ @@ -4517,19 +4539,21 @@ to run a compressed script, a binary program, or a directory as a Perl program. (W regexp) You used a backslash-character combination which is not recognized by Perl inside character classes. The character was -understood literally. +understood literally, but this may change in a future version of Perl. The <-- HERE shows in the regular expression about where the escape was discovered. =item Unrecognized escape \\%c passed through (W misc) You used a backslash-character combination which is not -recognized by Perl. The character was understood literally. +recognized by Perl. The character was understood literally, but this may +change in a future version of Perl. =item Unrecognized escape \\%c passed through in regex; marked by <-- HERE in m/%s/ (W regexp) You used a backslash-character combination which is not -recognized by Perl. The character was understood literally. +recognized by Perl. The character was understood literally, but this may +change in a future version of Perl. The <-- HERE shows in the regular expression about where the escape was discovered. @@ -4921,7 +4945,7 @@ removed in a future version. =item UTF-16 surrogate %s -(W utf8) You tried to generate half of an UTF-16 surrogate by +(W utf8) You tried to generate half of a UTF-16 surrogate by requesting a Unicode character between the code points 0xD800 and 0xDFFF (inclusive). That range is reserved exclusively for the use of UTF-16 encoding (by having two 16-bit UCS-2 characters); but Perl