In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/9da2b86b76a86f6c74ac3520310f512e01c22d8b?hp=f94762723eddc4a0de865db28c07e020aecf8d06>
- Log ----------------------------------------------------------------- commit 9da2b86b76a86f6c74ac3520310f512e01c22d8b Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:47:10 2011 -0800 perldiag: fewer, not less (plus a bit of reflow) M pod/perldiag.pod commit 2bfc5f719dcf7991a9fe6d8fffec61c5c54690c0 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:45:03 2011 -0800 Reflow perldiag/Invalid separator... for an eighty-column terminal under âuse diagnosticsâ M pod/perldiag.pod commit 162a3e3490003fa9aacf8f548347be9a2bdd748f Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:39:37 2011 -0800 Mention mro plugins in perldiag and reflow the entry M pod/perldiag.pod commit b9ef414d57842b63d6e7584f9b803b2a92c6c998 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:49:36 2011 -0800 Sort some perldiag entries M pod/perldiag.pod commit 2e9cc7ef5ebbba9f26546820a94030494daced7d Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:26:52 2011 -0800 List all proto chars in perldiag The description for âIllegal character in prototypeâ did not include the new + prototype. M pod/perldiag.pod commit 21356872813b49b5a6e47b9811ee856629dd25a2 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:23:54 2011 -0800 perldiag: Reflow âHaving no space...â This does not fit in an eighty-column terminal under âuse diagnosticsâ. M pod/perldiag.pod commit bca4a9869085037a38c326129bc0e096967afd57 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:21:12 2011 -0800 Reflow perdiag/()-group... This does not look very good: $ ./perl -Ilib -Mdiagnostics -e 'warn "()-group starts with a count"' ()-group starts with a count at -e line 1 (#1) (F) A ()-group started with a count. A count is supposed to follow something: a template character or a ()-group. See "pack" in perlfunc. M pod/perldiag.pod commit 89a1bda89871255eb18469299e7a50fa1022fb39 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:12:53 2011 -0800 perldiag: copy/paste error When the âFilehandle opened only for outputâ message is displayed, the user is trying to read from the handle, so saying âinstead of "<" or nothingâ does not make sense, as it would not have produced the error. M pod/perldiag.pod commit 5c96f6f7583c17578ff1ba97abcad97f402dadad Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 14:08:21 2011 -0800 perldiag: missing article M pod/perldiag.pod commit af8bb25ac00cd8c7c22968ed11394963a6c65dd8 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 13:59:31 2011 -0800 Replace mention of MacPerl with Symbian M pod/perldiag.pod M pod/perlport.pod commit f11307f50aedbc1043359a6926fe4060854fc893 Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Feb 13 12:36:39 2011 -0800 Improve perldiag/Eval-group not allowed at runtime ⢠Mention use re 'eval' within the description ⢠Improve text flow M pod/perldiag.pod ----------------------------------------------------------------------- Summary of changes: pod/perldiag.pod | 62 +++++++++++++++++++++++++++-------------------------- pod/perlport.pod | 2 + 2 files changed, 34 insertions(+), 30 deletions(-) diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 3338d71..cd4f975 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1698,10 +1698,11 @@ is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. (F) Perl tried to compile a regular expression containing the C<(?{ ... })> zero-width assertion at run time, as it would when the -pattern contains interpolated values. Since that is a security risk, it -is not allowed. If you insist, you may still do this by explicitly -building the pattern from an interpolated string at run time and using -that in an eval(). See L<perlre/(?{ code })>. +pattern contains interpolated values. Since that is a security risk, +it is not allowed. If you insist, you may still do this by using the +C<re 'eval'> pragma or by explicitly building the pattern from an +interpolated string at run time and using that in an eval(). See +L<perlre/(?{ code })>. =item %s: Eval-group not allowed, use re 'eval' @@ -1726,7 +1727,8 @@ variable and glob that. =item exec? I'm not *that* kind of operating system -(F) The C<exec> function is not implemented in MacPerl. See L<perlport>. +(F) The C<exec> function is not implemented on some systems, e.g., Symbian +OS. See L<perlport>. =item Execution of %s aborted due to compilation errors. @@ -1806,7 +1808,7 @@ is not possible. (W pack) Each line in an uuencoded string start with a length indicator which can't encode values above 63. So there is no point in asking for a line length bigger than that. Perl will behave as if you specified -C<u63> as format. +C<u63> as the format. =item Filehandle %s opened only for input @@ -1819,10 +1821,10 @@ write the file, use ">" or ">>". See L<perlfunc/open>. (W io) You tried to read from a filehandle opened only for writing, If you intended it to be a read/write filehandle, you needed to open it -with "+<" or "+>" or "+>>" instead of with "<" or nothing. If you -intended only to read from the file, use "<". See L<perlfunc/open>. -Another possibility is that you attempted to open filedescriptor 0 -(also known as STDIN) for output (maybe you closed STDIN earlier?). +with "+<" or "+>" or "+>>" instead of with ">". If you intended only to +read from the file, use "<". See L<perlfunc/open>. Another possibility +is that you attempted to open filedescriptor 0 (also known as STDIN) for +output (maybe you closed STDIN earlier?). =item Filehandle %s reopened as %s only for input @@ -1962,9 +1964,8 @@ unspecified destination. See L<perlfunc/goto>. =item ()-group starts with a count -(F) A ()-group started with a count. A count is -supposed to follow something: a template character or a ()-group. - See L<perlfunc/pack>. +(F) A ()-group started with a count. A count is supposed to follow +something: a template character or a ()-group. See L<perlfunc/pack>. =item %s had compilation errors. @@ -1996,8 +1997,8 @@ without an intervening space. For example, the two constructs: $a =~ m/$foo/sand $bar $a =~ m/$foo/s and $bar -both currently mean the same thing, but it is planned to disallow the first form -in Perl 5.16. And, +both currently mean the same thing, but it is planned to disallow the first +form in Perl 5.16. And, $a =~ m/$foo/and $bar @@ -2044,7 +2045,7 @@ to your Perl administrator. =item Illegal character in prototype for %s : %s (W illegalproto) An illegal character was found in a prototype declaration. -Legal characters in prototypes are $, @, %, *, ;, [, ], &, and \. +Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. =item Illegal declaration of anonymous subroutine @@ -2168,6 +2169,12 @@ C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data supplied (or potentially supplied) by the user. The script must set the path to a known value, using trustworthy data. See L<perlsec>. +=item Integer overflow in format string for %s + +(F) The indexes and widths specified in the format string of C<printf()> +or C<sprintf()> are too large. The numbers must not overflow the size of +integers for your architecture. + =item Integer overflow in %s number (W overflow) The hexadecimal, octal or binary number you have specified @@ -2180,12 +2187,6 @@ transparently promotes all numbers to a floating point representation internally--subject to loss of precision errors in subsequent operations. -=item Integer overflow in format string for %s - -(F) The indexes and widths specified in the format string of C<printf()> -or C<sprintf()> are too large. The numbers must not overflow the size of -integers for your architecture. - =item Integer overflow in version (F) Some portion of a version initialization is too large for the @@ -2249,9 +2250,10 @@ escape was discovered. =item Invalid mro name: '%s' -(F) You tried to C<mro::set_mro("classname", "foo")> -or C<use mro 'foo'>, where C<foo> is not a valid method resolution order (MRO). -(Currently, the only valid ones are C<dfs> and C<c3>). See L<mro>. +(F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, +where C<foo> is not a valid method resolution order (MRO). Currently, +the only valid ones supported are C<dfs> and C<c3>, unless you have loaded +a module that is a MRO plugin. See L<mro> and L<perlmroapi>. =item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/ @@ -2275,8 +2277,8 @@ See L<attributes>. =item Invalid separator character %s in PerlIO layer specification %s -(W layer) When pushing layers onto the Perl I/O system, something other than a -colon or whitespace was seen between the elements of a layer list. +(W layer) When pushing layers onto the Perl I/O system, something other +than a 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. @@ -2301,9 +2303,9 @@ silently ignored. (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" +v-string. If the v-string has fewer 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 were not met. See the L<version> module for more details on diff --git a/pod/perlport.pod b/pod/perlport.pod index 8450fc7..97a2a2d 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -1618,6 +1618,8 @@ Implemented via Spawn. (VM/ESA) Does not automatically flush output handles on some platforms. (SunOS, Solaris, HP-UX) +Not supported. (Symbian OS) + =item exit Emulates Unix exit() (which considers C<exit 1> to indicate an error) by -- Perl5 Master Repository