argra****@users*****
argra****@users*****
2012年 4月 27日 (金) 23:56:05 JST
Index: docs/perl/5.16.0/perl5160delta.pod diff -u docs/perl/5.16.0/perl5160delta.pod:1.10 docs/perl/5.16.0/perl5160delta.pod:1.11 --- docs/perl/5.16.0/perl5160delta.pod:1.10 Fri Apr 27 19:33:33 2012 +++ docs/perl/5.16.0/perl5160delta.pod Fri Apr 27 23:56:04 2012 @@ -3096,49 +3096,110 @@ =item * +=begin original + The "Applying pattern match..." or similar warning produced when an array or hash is on the left-hand side of the C<=~> operator now mentions the name of the variable. +=end original + +é åãããã·ã¥ã C<=~> æ¼ç®åã®å·¦å´ã«ããã¨ãã«åºåããã +"Applying pattern match..." ã¾ãã¯åæ§ã®è¦åã¯ãå¤æ°åã +åºåããããã«ãªãã¾ããã + =item * +=begin original + The "Attempt to free non-existent shared string" has had the spelling of "non-existent" corrected to "nonexistent". It was already listed with the correct spelling in L<perldiag>. +=end original + +"Attempt to free non-existent shared string" 㯠"non-existent" ã¨ãã綴ãã +"nonexistent" ã«å¤æ´ãã¾ããã +ãã㯠L<perldiag> ã§ã¯æ¢ã«æ£ãã綴ãã«ãªã£ã¦ãã¾ããã + =item * +=begin original + The error messages for using C<default> and C<when> outside of a topicalizer have been standardised to match the messages for C<continue> and loop controls. They now read 'Can't "default" outside a topicalizer' and 'Can't "when" outside a topicalizer'. They both used to be 'Can't use when() outside a topicalizer' [perl #91514]. +=end original + +解æå¨ã®å¤å´ã§ C<default> ã C<when> ã使ã£ãã¨ãã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ã¯ +C<continue> ãã«ã¼ãå¶å¾¡ã®ã¨ãã®ã¡ãã»ã¼ã¸ã¨ä¸è´ããããã« +æ¨æºåããã¾ããã +'Can't "default" outside a topicalizer' 㨠+'Can't "when" outside a topicalizer' ã«ãªãã¾ããã +以å㯠'Can't use when() outside a topicalizer' ã§ãã [perl #91514]ã + =item * +=begin original + The message, "Code point 0x%X is not Unicode, no properties match it; all inverse properties do" has been changed to "Code point 0x%X is not Unicode, all \p{} matches fail; all \P{} matches succeed". +=end original + +"Code point 0x%X is not Unicode, no properties match it; +all inverse properties do" ã¨ããã¡ãã»ã¼ã¸ã¯ "Code point 0x%X is not +Unicode, all \p{} matches fail; all \P{} matches succeed" ã« +å¤æ´ããã¾ããã + =item * +=begin original + Redefinition warnings for constant subroutines used to be mandatory, even occurring under C<no warnings>. Now they respect the L<warnings> pragma. +=end original + +å®æ°ãµãã«ã¼ãã³ã®åå®ç¾©è¦åã¯ããã¨ã C<no warnings> ã®ãã¨ã§ã +å¼·å¶çã«çºçãã¦ãã¾ããã +ãã㯠L<warnings> ãã©ã°ãã«å¾ãããã«ãªãã¾ããã + =item * +=begin original + The "glob failed" warning message is now suppressible via C<no warnings> [perl #111656]. +=end original + +"glob failed" è¦åã¡ãã»ã¼ã¸ã¯ C<no warnings> ã§æå¶ã§ããããã«ãªãã¾ãã +[perl #111656]ã + =item * +=begin original + The L<Invalid version format|perldiag/"Invalid version format (%s)"> error message now says "negative version number" within the parentheses, rather than "non-numeric data", for negative numbers. +=end original + +L<Invalid version format|perldiag/"Invalid version format (%s)"> ã¨ã©ã¼ +ã¡ãã»ã¼ã¸ã¯ãè² æ°ã®å ´åã¯ãã£ãã®ä¸ã¯ "non-numeric data" ã§ã¯ãªã +"negative version number" ã¨åºåãããããã«ãªãã¾ããã + =item * +=begin original + The two warnings L<Possible attempt to put comments in qw() list|perldiag/"Possible attempt to put comments in qw() list"> and @@ -3146,26 +3207,59 @@ are no longer mutually exclusive: the same C<qw> construct may produce both. +=end original + +L<Possible attempt to put comments in qw() list|perldiag/"Possible attempt to put comments in qw() list"> +㨠+L<Possible attempt to separate words with commas|perldiag/"Possible attempt to separate words with commas"> +ã®äºã¤ã®è¦åã¯ç¸äºã«æä»çã§ã¯ãªããªãã¾ãã: åã C<qw> æ§æã両æ¹ã +åºåãããã¨ãããã¾ãã + =item * +=begin original + The uninitialized warning for C<y///r> when C<$_> is implicit and undefined now mentions the variable name, just like the non-/r variation of the operator. +=end original + +C<$_> ãæé»ã§æªå®ç¾©ã®ã¨ãã® C<y///r> ã®æªåæåè¦åã¯ãé /r 系㮠+æ¼ç®åã¨åæ§ã«ãå¤æ°åãåºåããããã«ãªãã¾ããã + =item * +=begin original + The 'Use of "foo" without parentheses is ambiguous' warning has been extended to apply also to user-defined subroutines with a (;$) prototype, and not just to built-in functions. +=end original + +'Use of "foo" without parentheses is ambiguous' è¦åã¯ãçµã¿è¾¼ã¿ +é¢æ°ã ãã§ã¯ãªãã(;$) ãããã¿ã¤ããæã¤ã¦ã¼ã¶ã¼å®ç¾©ãµãã«ã¼ãã³ã«ã +é©ç¨ãããããã«æ¡å¼µããã¾ããã + =item * +=begin original + Warnings that mention the names of lexical (C<my>) variables with Unicode characters in them now respect the presence or absence of the C<:utf8> layer on the output handle, instead of outputting UTF8 regardless. Also, the correct names are included in the strings passed to C<$SIG{__WARN__}> handlers, rather than the raw UTF8 bytes. +=end original + +Unicode æåã®ã¬ãã·ã«ã« (C<my>) å¤æ°ãåºåããè¦åã¯ãç¡æ¡ä»¶ã§ +UTF8 ãåºåããã®ã§ã¯ãªããåºåãã³ãã«ã® C<:utf8> 層ã®ãããªãã« +対å¿ããããã«ãªãã¾ããã +ã¾ããæ£ããååã¯ç UTF8 ãã¤ãã§ã¯ãªããC<$SIG{__WARN__}> ãã³ãã©ã« +渡ãããæååã«å«ã¾ããããã«ãªãã¾ããã + =back =head1 Utility Changes