argra****@users*****
argra****@users*****
2012年 4月 27日 (金) 04:22:16 JST
Index: docs/perl/5.16.0/perl5160delta.pod diff -u docs/perl/5.16.0/perl5160delta.pod:1.8 docs/perl/5.16.0/perl5160delta.pod:1.9 --- docs/perl/5.16.0/perl5160delta.pod:1.8 Thu Apr 26 04:29:58 2012 +++ docs/perl/5.16.0/perl5160delta.pod Fri Apr 27 04:22:16 2012 @@ -2768,146 +2768,297 @@ =head3 Other Changes +(ãã®ä»ã®å¤æ´) + =over 4 =item * +=begin original + L<perlxs> was extended with documentation on inline typemaps. +=end original + +L<perlxs> ã¯ã¤ã³ã©ã¤ã³ typemap ã®ææ¸ã§æ¡å¼µããã¾ããã + =item * +=begin original + L<perlref> has a new L<Circular References|perlref/Circular References> section explaining how circularities may not be freed and how to solve that with weak references. +=end original + +L<perlref> ã«ããªã循ç°æ§ãããã¨è§£æ¾ãããªããã¨å¼±ãåç §ã使ã£ã¦ +解決ããæ¹æ³ã説æããæ°ããç« ã§ãã +L<Circular References|perlref/Circular References> ã追å ããã¾ããã + =item * +=begin original + Parts of L<perlapi> were clarified, and Perl equivalents of some C functions have been added as an additional mode of exposition. +=end original + +L<perlapi> ã®ä¸é¨ãæ確åãããand Perl equivalents of some C +functions have been added as an additional mode of exposition. +(TBT) + =item * +=begin original + A few parts of L<perlre> and L<perlrecharclass> were clarified. +=end original + +L<perlre> 㨠L<perlrecharclass> ã®ããã¤ãã®é¨åãæ確åããã¾ããã + =back =head2 Removed Documentation +(åé¤ãããææ¸) + =head3 Old OO Documentation +(å¤ã OO ææ¸) + +=begin original + All the old OO tutorials, perltoot, perltooc, and perlboot, have been removed. The perlbot (bag of object tricks) document has been removed as well. +=end original + +å¤ã OO ãã¥ã¼ããªã¢ã«ã§ãã perltoot, perltooc, perlboot ã¯åé¤ããã¾ããã +perlbot (bag of object tricks) ææ¸ãåé¤ããã¾ããã + =head3 Development Deltas +=begin original + The perldelta files for development releases are no longer packaged with perl. These can still be found in the perl source code repository. +=end original + +éçºãªãªã¼ã¹ã® perldelta ãã¡ã¤ã«ã¯ perl ã¨å ±ã« +ããã±ã¼ã¸ã³ã°ãããªããªãã¾ããã +perl ã½ã¼ã¹ã³ã¼ãã¬ãã¸ããªã«ã¯æ®ã£ã¦ãã¾ãã + =head1 Diagnostics +(診æã¡ãã»ã¼ã¸) + +=begin original + The following additions or changes have been made to diagnostic output, including warnings and fatal error messages. For the complete list of diagnostic messages, see L<perldiag>. +=end original + +以ä¸ã®è¿½å ãå¤æ´ããè¦åãè´å½çã¨ã©ã¼ã¡ãã»ã¼ã¸å«ã診æåºåã«è¡ããã¾ããã +å®å ¨ãªè¨ºæã¡ãã»ã¼ã¸ã®ä¸è¦§ã«ã¤ãã¦ã¯ãL<perldiag> ãåç §ãã¦ãã ããã + =head2 New Diagnostics +(æ°ãã診æã¡ãã»ã¼ã¸) + =head3 New Errors +(æ°ããã¨ã©ã¼) + =over 4 =item * L<Cannot set tied @DB::args|perldiag/"Cannot set tied @DB::args"> +=begin original + This error occurs when C<caller> tries to set C<@DB::args> but finds it tied. Before this error was added, it used to crash instead. +=end original + +ãã®ã¨ã©ã¼ã¯ãC<caller> ã C<@DB::args> ãè¨å®ãããã¨ããããã©ã +ããã tie ããã¦ããã¨ãã«èµ·ããã¾ãã +ãã®ã¨ã©ã¼ã追å ãããåã¯ãã¯ã©ãã·ã¥ãã¦ãã¾ããã + =item * L<Cannot tie unreifiable array|perldiag/"Cannot tie unreifiable array"> +=begin original + This error is part of a safety check that the C<tie> operator does before tying a special array like C<@_>. You should never see this message. +=end original + +ãã®ã¨ã©ã¼ã¯ãC<@_> ã®ãããªç¹æ®é åã tie ããåã« C<tie> æ¼ç®åãè¡ã +å®å ¨ãã§ãã¯ã®ä¸é¨ã§ãã +ãã®ã¡ãã»ã¼ã¸ãè¦ããã¨ã¯æ±ºãã¦ãªãã¯ãã§ãã + =item * L<&CORE::%s cannot be called directly|perldiag/"&CORE::%s cannot be called directly"> +=begin original + This occurs when a subroutine in the C<CORE::> namespace is called with C<&foo> syntax or through a reference. Some subroutines in this package cannot yet be called that way, but must be called as barewords. See L</Subroutines in the C<CORE> namespace>, above. +=end original + +ããã¯ãC<CORE::> åå空éã®ãµãã«ã¼ãã³ã C<&foo> ææ³ã¾ãã¯ãªãã¡ã¬ã³ã¹ã +éãã¦å¼ã³åºãããã¨ãã«èµ·ããã¾ãã +ãã®ããã±ã¼ã¸ã®ä¸é¨ã®ãµãã«ã¼ãã³ã¯ã¾ã ãã®ãããªæ¹æ³ã§ã¯å¼ã³åºããã +裸ã®åèªã§å¼ã³åºããªããã°ãªãã¾ããã +ä¸è¿°ã® L</Subroutines in the C<CORE> namespace> ãåç §ãã¦ãã ããã + =item * L<Source filters apply only to byte streams|perldiag/"Source filters apply only to byte streams"> +=begin original + This new error occurs when you try to activate a source filter (usually by loading a source filter module) within a string passed to C<eval> under the C<unicode_eval> feature. +=end original + +ãã®æ°ããã¨ã©ã¼ã¯ãC<unicode_eval> æ©è½ãæå¹ã®æã« C<eval> ã«æ¸¡ããã +æååã®ä¸ã§ã½ã¼ã¹ãã£ã«ã¿ã(é常ã¯ã½ã¼ã¹ãã£ã«ã¿ã¢ã¸ã¥ã¼ã«ãèªã¿è¾¼ããã¨ã§) +èµ·åãããã¨ããå ´åã«èµ·ããã¾ãã + =back =head3 New Warnings +(æ°ããè¦å) + =over 4 =item * L<defined(@array) is deprecated|perldiag/"defined(@array) is deprecated"> +=begin original + The long-deprecated C<defined(@array)> now also warns for package variables. Previously it only issued a warning for lexical variables. +=end original + +é·ãééæ¨å¥¨ã¨ãªã£ã¦ãã C<defined(@array)> ã¯ãããã±ã¼ã¸å¤æ°ã«å¯¾ãã¦ã +è¦åããããã«ãªãã¾ããã +以åã¯ã¬ãã·ã«ã«å¤æ°ã«å¯¾ãã¦ã®ã¿è¦åãåºãã¦ãã¾ããã + =item * L<length() used on %s|perldiag/length() used on %s> +=begin original + This new warning occurs when C<length> is used on an array or hash, instead of C<scalar(@array)> or C<scalar(keys %hash)>. +=end original + +ãã®æ°ããè¦åã¯ãC<scalar(@array)> ã C<scalar(keys %hash)> ã§ã¯ãªãã +C<length> ãé åãããã·ã¥ã«ä½¿ãããã¨ãã«çºçãã¾ãã + =item * L<lvalue attribute %s already-defined subroutine|perldiag/"lvalue attribute %s already-defined subroutine"> +=begin original + L<attributes.pm|attributes> now emits this warning when the :lvalue attribute is applied to a Perl subroutine that has already been defined, as doing so can have unexpected side-effects. +=end original + +L<attributes.pm|attributes> ã¯ã:lvalue å±æ§ãæ¢ã«å®ç¾©ããã¦ãã +Perl ãµãã«ã¼ãã³ã«é©ç¨ãããã¨åºåããã¾ã; ãªããªãããããã¨æ³å®å¤ã® +å¯ä½ç¨ããããããããªãããã§ãã + =item * L<overload arg '%s' is invalid|perldiag/"overload arg '%s' is invalid"> +=begin original + This warning, in the "overload" category, is produced when the overload pragma is given an argument it doesn't recognize, presumably a mistyped operator. +=end original + +"overload" ã«ãã´ãªã«å ¥ããã®è¦åã¯ãoverload ãã©ã°ãã (ãããã㯠+ãã¹ã¿ã¤ãããæ¼ç®åã§) èªèã§ããªãå¼æ°ãæå®ãããã¨ãã«çºçãã¾ãã + =item * L<$[ used in %s (did you mean $] ?)|perldiag/"$[ used in %s (did you mean $] ?)"> +=begin original + This new warning exists to catch the mistaken use of C<$[> in version checks. C<$]>, not C<$[>, contains the version number. +=end original + +ãã®æ°ããè¦åã¯ãã¼ã¸ã§ã³ãã§ãã¯ã§ã® C<$[> ã®ééã£ã使ç¨æ³ã +ææããããã«åå¨ãã¾ãã +ãã¼ã¸ã§ã³çªå·ã¯ C<$[> ã§ã¯ãªã C<$]> ã«å«ã¾ãã¦ãã¾ãã + =item * L<Useless assignment to a temporary|perldiag/"Useless assignment to a temporary"> +=begin original + Assigning to a temporary scalar returned from an lvalue subroutine now produces this warning [perl #31946]. +=end original + +左辺å¤ãµãã«ã¼ãã³ããè¿ãããä¸æã¹ã«ã©ã«ä»£å ¥ããã¨ãã®è¦åã +åºåãããããã«ãªãã¾ãã [perl #31946]ã + =item * L<Useless use of \E|perldiag/"Useless use of \E"> +=begin original + C<\E> does nothing unless preceded by C<\Q>, C<\L> or C<\U>. +=end original + +C<\Q>, C<\L>, C<\U> ã®ãããããåã«ãªãå ´åãC<\E> ã¯ä½ããã¾ããã + =back =head2 Removed Errors +(åé¤ãããã¨ã©ã¼) + =over =item * @@ -2926,6 +3077,8 @@ =head2 Changes to Existing Diagnostics +(æ¢åã®è¨ºæã¡ãã»ã¼ã¸ã®å¤æ´) + =over 4 =item *