argra****@users*****
argra****@users*****
2011年 4月 19日 (火) 01:12:44 JST
Index: docs/perl/5.14.0/perl5140delta.pod diff -u docs/perl/5.14.0/perl5140delta.pod:1.8 docs/perl/5.14.0/perl5140delta.pod:1.9 --- docs/perl/5.14.0/perl5140delta.pod:1.8 Mon Apr 18 23:22:29 2011 +++ docs/perl/5.14.0/perl5140delta.pod Tue Apr 19 01:12:44 2011 @@ -46,13 +46,19 @@ =head1 Notice +(注æ) + =begin original -XXX Any important notices here +As described in L<perlpolicy>, the release of Perl 5.14.0 marks the +official end of support for Perl 5.10. Users of Perl 5.10 or earlier +should consider upgrading to a more recent release of Perl. =end original -XXX Any important notices here +As described in L<perlpolicy>, the release of Perl 5.14.0 marks the +official end of support for Perl 5.10. Users of Perl 5.10 or earlier +should consider upgrading to a more recent release of Perl. (TBT) =head1 Core Enhancements @@ -92,14 +98,14 @@ phones. This conflicts with the long-standing Perl usage of having C<BELL> mean the ASCII C<BEL> character, U+0007. In Perl 5.14, C<\N{BELL}> will continue to mean U+0007, but its use will generate a -deprecated warning message, unless such warnings are turned off. The +deprecation warning message, unless such warnings are turned off. The new name for U+0007 in Perl is C<ALERT>, which corresponds nicely with the existing shorthand sequence for it, C<"\a">. C<\N{BEL}> means U+0007, with no warning given. The character at U+1F514 will not -have a name in 5.14, but can be referred to by C<\N{U+1F514}>. The plan -is that in Perl 5.16, C<\N{BELL}> will refer to U+1F514, and so all code -that uses C<\N{BELL}> should convert by then to using C<\N{ALERT}>, -C<\N{BEL}>, or C<"\a"> instead. +have a name in 5.14, but can be referred to by C<\N{U+1F514}>. +In Perl 5.16, C<\N{BELL}> will refer to U+1F514; all code +that uses C<\N{BELL}> should be converted to use C<\N{ALERT}>, +C<\N{BEL}>, or C<"\a"> before upgrading. =end original @@ -114,8 +120,8 @@ C<\N{BEL}> 㯠U+0007 ãæå³ããè¦åãåºã¾ããã 5.14 ã§ã¯æå U+1F514 ã«ååã¯ããã¾ãããã C<\N{U+1F514}> 㧠åç §ã§ãã¾ãã -Perl 5.16 ã®è¨ç»ã§ã¯ C<\N{BELL}> 㯠U+1F514 ãåç §ããããã«ãªãã®ã§ã -C<\N{BELL}> ã使ã£ã¦ããå ¨ã¦ã®ã³ã¼ãã¯ä»£ããã« C<\N{ALERT}>, +Perl 5.16 ã§ã¯ C<\N{BELL}> 㯠U+1F514 ãåç §ãã¾ã; +C<\N{BELL}> ã使ã£ã¦ããå ¨ã¦ã®ã³ã¼ãã¯ã¢ããã°ã¬ã¼ãããåã« C<\N{ALERT}>, C<\N{BEL}>, C<"\a"> ã®ããããã使ãããã«å¤æããã¹ãã§ãã =head3 Full functionality for C<use feature 'unicode_strings'> @@ -194,38 +200,35 @@ =begin original C<\N{}>, C<charnames::vianame>, C<charnames::viacode> now know about every -character in Unicode. Previously, they didn't know about the Hangul syllables +character in Unicode. In earlier releases of Perl, they didn't know about the Hangul syllables nor a number of CJK (Chinese/Japanese/Korean) characters. =end original C<\N{}>, C<charnames::vianame>, C<charnames::viacode> 㯠Unicode ã® å ¨ã¦ã®æåãèªèããããã«ãªãã¾ããã -以åã¯ããã³ã°ã«é³ç¯æåã CJK (ä¸å½/æ¥æ¬/éå½) ã®å¤ãã®æåã -èªèãã¦ãã¾ããã§ããã +Perl ã®ä»¥åã®ãªãªã¼ã¹ã§ã¯ããã³ã°ã«é³ç¯æåã CJK (ä¸å½/æ¥æ¬/éå½) ã®å¤ãã® +æåãèªèãã¦ãã¾ããã§ããã =item * =begin original -In the past, it was ineffective to override one of Perl's abbreviations -with your own custom alias. Now it works. +It is now possible to override Perl's abbreviations with your own custom aliases. =end original -以åã¯ãPerl ã®çç¥åã®ä¸ã¤ãç¬èªã®å¥åã§ãªã¼ãã¼ã©ã¤ãããã¨å¹çã -æªããªã£ã¦ãã¾ããã -ä»ã§ã¯æ£ããåãã¾ãã +Perl ã®çç¥åãç¬èªã®å¥åã§ãªã¼ãã¼ã©ã¤ãã§ããããã«ãªãã¾ããã =item * =begin original -You can also create a custom alias of the ordinal of a +You can now create a custom alias of the ordinal of a character, known by C<\N{...}>, C<charnames::vianame()>, and -C<charnames::viacode()>. Previously, an alias had to be to an official -Unicode character name. This made it impossible to create an alias for -a code point that had no name, such as those reserved for private +C<charnames::viacode()>. Previously, aliases had to be to official +Unicode character names. This made it impossible to create an alias for +unnamed code points, such as those reserved for private use. =end original @@ -240,8 +243,8 @@ =begin original -A new function, C<charnames::string_vianame()>, has been added. -This function is a run-time version of C<\N{...}>, returning the string +The new function C<charnames::string_vianame()> +is a run-time version of C<\N{...}>, returning the string of characters whose Unicode name is its parameter. It can handle Unicode named character sequences, whereas the pre-existing C<charnames::vianame()> cannot, as the latter returns a single code @@ -249,8 +252,8 @@ =end original -æ°ããé¢æ°ã§ãã C<charnames::string_vianame()> ã追å ããã¾ããã -ãã®é¢æ°ã¯ C<\N{...}> ã®å®è¡æçã§ãå¼æ°ã® Unicode åãæã¤æåã® +æ°ããé¢æ°ã§ãã C<charnames::string_vianame()> 㯠+C<\N{...}> ã®å®è¡æçã§ãå¼æ°ã® Unicode åãæã¤æåã® æååãè¿ãã¾ãã ãã㯠Unicode ã®ååä»ãæåã®ä¸¦ã³ãæ±ããã¨ãã§ãã¾ã; ä¸æ¹æ¢ã«ãã C<charnames::vianame()> ã¯ä¸ã¤ã®ç¬¦å·ä½ç½®ãè¿ãã®ã§ @@ -307,11 +310,7 @@ will generate a warning. Attempting to input these using strict rules (such as with the C<:encoding('UTF-8')> layer) will continue to fail. Prior to this release the handling was very inconsistent, and incorrect -in places. Also, the Unicode non-characters, some of which previously were -erroneously considered illegal in places by Perl, contrary to the Unicode -standard, are now always legal internally. But inputting or outputting -them will work the same as for the non-legal Unicode code points, as the -Unicode standard says they are illegal for "open interchange". +in places. =end original @@ -325,9 +324,20 @@ (C<:encoding('UTF-8')> 層ã使ããããª) å³å¯ãªã«ã¼ã«ã使ã£ã¦ã® ãã®ãããªå¤ã®å ¥åã¯å¤±æããã¾ã¾ã§ãã ãã®ãªãªã¼ã¹ã®åã§ã¯ãæ±ãã¯é常ã«çç¾ãã¦ãã¦ããã¡ãã¡ã§ééã£ã¦ãã¾ãã -ã¾ããé Unicode æå (ãã®ä¸é¨ã¯ä»¥å㯠Unicode æ¨æºã«åã㦠Perl ã§ã¯ + +=begin original + +Unicode non-characters, some of which previously were erroneously +considered illegal in places by Perl, contrary to the Unicode standard, +are now always legal internally. Inputting or outputting them will +work the same as for the non-legal Unicode code points, as the Unicode +standard says they are illegal for "open interchange". + +=end original + +é Unicode æå (ãã®ä¸é¨ã¯ä»¥å㯠Unicode æ¨æºã«åã㦠Perl ã§ã¯ ééã£ã¦ä¸æ£ãªãã®ã¨ããã¦ãã¾ãã) ã¯å¸¸ã«å é¨ã§æå¹ãªãã®ã¨ãªãã¾ããã -ããããããã®å ¥åºåã¯ãUnicode æ¨æºããéããã交æãã®ããã«ä¸æ£ã§ +ãããã®å ¥åºåã¯ãUnicode æ¨æºããéããã交æãã®ããã«ä¸æ£ã§ ããã¨è¨ã£ã¦ããããã«ãä¸æ£ãª Unicode 符å·ä½ç½®ã¨åæ§ã«åä½ãã¾ãã =head3 Unicode database files not installed @@ -338,45 +348,43 @@ The Unicode database files are no longer installed with Perl. This doesn't affect any functionality in Perl and saves significant disk -space. If you previously were explicitly opening and reading those -files, you can download them from +space. If you need these files, you can download them from L<http://www.unicode.org/Public/zipped/6.0.0/>. =end original Unicode ãã¼ã¿ãã¼ã¹ãã¡ã¤ã«ã¯ Perl ã«ã¤ã³ã¹ãã¼ã«ãããªããªãã¾ããã ãã㯠Perl ã®æ©è½ã«ã¯ä½ã®å½±é¿ãä¸ãããããªãã®ãã£ã¹ã¯å®¹éãç¯ç´ãã¾ãã -以åãããããã®ãã¡ã¤ã«ãæ示çã«éãã¦èªã¿è¾¼ãã§ããå ´åã¯ã +ãããã®ãã¡ã¤ã«ãå¿ è¦ãªå ´åã¯ã L<http://www.unicode.org/Public/zipped/6.0.0/> ãããã¦ã³ãã¼ãã§ãã¾ãã =head2 Regular Expressions (æ£è¦è¡¨ç¾) -=head3 C<(?^...)> construct to signify default modifiers +=head3 C<(?^...)> construct signifies default modifiers (C<(?^...)> æ§é ã¯ããã©ã«ã修飾åã示ãã¾ã) =begin original -An ASCII caret (also called a "circumflex accent") C<"^"> -immediately following a C<"(?"> in a regular expression -now means that the subexpression does not inherit the -surrounding modifiers such as C</i>, but reverts to the -Perl defaults. Any modifiers following the caret override the defaults. +An ASCII caret C<"^"> immediately following a C<"(?"> in a regular +expression now means that the subexpression does not inherit surrounding +modifiers such as C</i>, but reverts to the Perl defaults. Any modifiers +following the caret override the defaults. =end original -æ£è¦è¡¨ç¾ä¸ãASCII ãã£ã¬ãã(ãæ²æã¢ã¯ã»ã³ããã¨ãå¼ã°ãã¾ã) C<"^"> ã® -ç´å¾ã« C<"(?"> ãããã¨ã(C</i> ã®ãããª)ãããå²ã修飾åãç¶æ¿ããã +æ£è¦è¡¨ç¾ä¸ãASCII ãã£ã¬ãã C<"^"> ã®ç´å¾ã« C<"(?"> ãããã¨ã +(C</i> ã®ãããª)ãããå²ã修飾åãç¶æ¿ããã Perl ã®ããã©ã«ãã«æ»ããã¨ãæå³ããããã«ãªãã¾ããã ãã£ã¬ããã«å¼ãç¶ãä»»æã®ä¿®é£¾åã¯ããã©ã«ããä¸æ¸ããã¾ãã =begin original -The stringification of regular expressions now uses this -notation. E.g., before, C<qr/hlagh/i> would be stringified as -C<(?i-xsm:hlagh)>, but now it's stringified as C<(?^i:hlagh)>. +Stringification of regular expressions now uses this notation. E.g., +before, C<qr/hlagh/i> would be stringified as C<(?i-xsm:hlagh)>, but +now it's stringified as C<(?^i:hlagh)>. =end original @@ -396,6 +404,17 @@ æåååã«ä¾åãããã¹ããè¡ããããã«ãããã¨ã§ãã L<perlre/Extended Patterns> ãåç §ãã¦ãã ããã +=begin original + +This change is likely to break code which compares stringified regular +expressions with fixed strings containing C<?-xism>. + +=end original + +This change is likely to break code which compares stringified regular +expressions with fixed strings containing C<?-xism>. +(TBT) + =head3 C</d>, C</l>, C</u>, C</a>, and C</aa> modifiers (C</d>, C</l>, C</u>, C</a>, C</aa> 修飾å) @@ -460,8 +479,9 @@ =begin original -The C</aa> modifier is like C</a>, except that, in case-insensitive matching, no ASCII character will match a -non-ASCII character. For example, +The C</aa> modifier is like C</a>, except that, in case-insensitive +matching, no ASCII character will match a non-ASCII character. +For example, =end original @@ -473,11 +493,21 @@ =begin original -will match; it won't under C</aa>. +will match. =end original -ã¯ãããã³ã°ãã¾ã; C</aa> ã§ã¯ãããã³ã°ãã¾ããã +ã¯ãããã³ã°ãã¾ãã + + 'k' =~ /\N{KELVIN SIGN}/aai + +=begin original + +will not match. + +=end original + +ã¯ãããã³ã°ãã¾ããã =begin original @@ -645,12 +675,14 @@ =begin original All built-in functions that operate directly on array or hash -containers now also accept hard references to arrays or hashes: +containers now also accept unblessed hard references to arrays +or hashes: =end original é åãããã·ã¥ã®ã³ã³ãããç´æ¥æä½ããå ¨ã¦ã®çµã¿è¾¼ã¿é¢æ°ã¯ -é åãããã·ã¥ã®ãã¼ããªãã¡ã¬ã³ã¹ãåãä»ããããã«ãªãã¾ããã +bless ããã¦ããªãé åãããã·ã¥ã®ãã¼ããªãã¡ã¬ã³ã¹ã +åãä»ããããã«ãªãã¾ããã =begin original @@ -729,6 +761,8 @@ ãªã¼ãã¼ãã¼ããããããªãã¡ã¬ã³ã¹ã使ããã¾ãã ææ§ãªå ´åã«ã¯ä»®å®ãããã¨ã«å¯¾ãã¦è¦åãèµ·ãã¾ãã +XXX TODO - fix this once the code is fixed + =head3 Single term prototype (åä¸è¡¨ç¾ãããã¿ã¤ã) @@ -769,6 +803,8 @@ =head3 Statement labels can appear in more places +(æã©ãã«ã¯ããå¤ãã®å ´æã«ç½®ããããã«ãªãã¾ãã) + =begin original Statement labels can now occur before any type of statement or declaration, @@ -846,6 +882,10 @@ ä¿¡é ¼æ§ã¨ä¸è²«æ§ã®åä¸ã®ããã«ãC<die>, C<warn>, C<$@> ã®æ¯ãèãã ããã¤ãå¤æ´ããã¾ããã +=over + +=item * + =begin original When an exception is thrown inside an C<eval>, the exception is no @@ -918,6 +958,8 @@ ãªãã¸ã§ã¯ãã®ãã¹ãã©ã¯ã¿ã«å ãã¦ããã㯠C<G_KEEPERR> ãã©ã°ã使ã£ã XS ã³ã¼ãã«ãã£ã¦å®è¡ãããé¢æ°å¼ã³åºãã«ãå½±é¿ãä¸ãã¾ãã +=item * + =begin original Warnings for C<warn> can now be objects, in the same way as exceptions @@ -937,6 +979,8 @@ çµæãåãã¨ã£ã¦ãã¾ãããããªãã¸ã§ã¯ãã¨ãã¦ãªãã¸ã§ã¯ããã¼ã¹ã® è¦åãåãã¨ãããã«ãªãã¾ãã +=back + =head2 Other Enhancements (ãã®ä»ã®æ¡å¼µ) @@ -947,7 +991,7 @@ =begin original -On Linux the legacy process name is now set with L<prctl(2)>, in +On Linux the legacy process name is now set with C<prctl(2)>, in addition to altering the POSIX name via C<argv[0]> as perl has done since version 4.000. Now system utilities that read the legacy process name such as ps, top and killall will recognize the name you set when @@ -957,8 +1001,8 @@ =end original Linux ã§ã¯ãä¼çµ±çãªããã»ã¹åã¯ãperl ã ãã¼ã¸ã§ã³ 4.000 ããè¡ã£ã¦ãã -C<argv[0]> çµç±ã§ POSIX åãç½®ãæãããã¨ã«å ãã¦ãL<prctl(2)> ã使ã£ã¦ -è¨å®ããã¾ãã, +C<argv[0]> çµç±ã§ POSIX åãç½®ãæãããã¨ã«å ãã¦ãC<prctl(2)> ã使ã£ã¦ +è¨å®ããã¾ãã ps, top, killall ã®ãããªä¼çµ±çãªããã»ã¹åãèªã¿è¾¼ãã·ã¹ãã ã¦ã¼ãã£ãªãã£ã¯ C<$0> ã¸ä»£å ¥ãããã¨ã§è¨å®ããååã èªèããããã«ãªãã¾ãã @@ -972,7 +1016,7 @@ This allows programs that need to have repeatable results not to have to come up with their own seed-generating mechanism. Instead, they can use C<srand()> -and stash the return value for future use. Typical is a test program which +and stash the return value for future use. One example is a test program which has too many combinations to test comprehensively in the time available to it each run. It can test a random subset each time and, should there be a failure, log the seed used for that run so that it can later be used to reproduce the @@ -984,7 +1028,7 @@ å¿ è¦ããªããªãã¾ãã 代ããã«ãC<srand()> ã使ã£ã¦ãè¿ãå¤ãå°æ¥ã®å©ç¨ã®ããã« ä¿ç®¡ãã¦ããã¦ãã ããã -å ¸åä¾ã¨ãã¦ã¯å®è¡æ¯ã«ç¶²ç¾ çã«ãã¹ããè¡ãã«ã¯çµã¿åãããå¤ããã +ä¸ã¤ã®ä¾ã¨ãã¦ã¯å®è¡æ¯ã«ç¶²ç¾ çã«ãã¹ããè¡ãã«ã¯çµã¿åãããå¤ããã ãã¹ãããã°ã©ã ã§ãã æ¯åã©ã³ãã ãªé¨åéåããã¹ããã¦ããã失æãããããã®æã®ç¨®ã ãã°ã«è¨é²ãããã¨ã§åãçµæãåç¾ããããã«ä½¿ãã¾ãã @@ -1140,9 +1184,9 @@ open my $fh, ">", $file; $fh->autoflush(1); # IO::File not loaded -=head3 IPv6 support +=head3 Improved IPv6 support -(IPv6 対å¿) +(æ¹è¯ããã IPv6 対å¿) =begin original @@ -1228,24 +1272,24 @@ =begin original -In L<perlunicode/"User-Defined Character Properties">, it says you can +L<perlunicode/"User-Defined Character Properties"> documented that you can create custom properties by defining subroutines whose names begin with "In" or "Is". However, Perl did not actually enforce that naming -restriction, so \p{foo::bar} could call foo::bar() if it existed. Now this -convention has been enforced. +restriction, so \p{foo::bar} could call foo::bar() if it existed. The documented +convention is now enforced. =end original L<perlunicode/"User-Defined Character Properties"> ã§ã"In" ã¾ã㯠"Is" 㧠å§ã¾ãååã®ãµãã«ã¼ãã³ãå®ç¾©ãããã¨ã§ã«ã¹ã¿ã ç¹æ§ãä½ããã¨ãã§ãã㨠-æ¸ãã¦ããã¾ãã +ææ¸åããã¦ãã¾ãã ããããPerl ã¯å®éã«ã¯ãã®å½åã®å¶éã¯å®è¡ãã¦ãããã \p{foo::bar} ã foo::bar() ã(åå¨ãã¦ããã°) å¼ã³åºãã¦ãã¾ããã -ãã®è¦ç´ã¯å®è¡ãããããã«ãªãã¾ããã +ææ¸åãããè¦ç´ã¯å®è¡ãããããã«ãªãã¾ããã =begin original -Also, Perl no longer allows a tainted regular expression to invoke a +Also, Perl no longer allows tainted regular expressions to invoke a user-defined property. It simply dies instead [perl #82616]. =end original @@ -1280,32 +1324,49 @@ =head3 \400-\777 +(\400-\777) + +=begin original + +In certain circumstances, C<\400>-C<\777> in regexes have behaved +differently than they behave in all other double-quote-like contexts. +Since 5.10.1, Perl has issued a deprecation warning when this happens. +Now, these literals behave the same in all double-quote-like contexts, +namely to be equivalent to C<\x{100}> - C<\x{1FF}>, with no deprecation +warning. + +=end original + +ãã種ã®ç°å¢ã§ã¯ãæ£è¦è¡¨ç¾ä¸ã§ã® C<\400>-C<\777> ã®ä½¿ç¨ã¯ã +ãã®ä»ã®å ¨ã¦ã®ããã«ã¯ã©ã¼ã風ã³ã³ããã¹ãã§ã®ä½¿ç¨ã¨ç°ãªã£ã¦ãã¾ããã +5.10.1 ãããPerl ã¯ãããèµ·ããã¨ãã«ã¯éæ¨å¥¨è¦åã¡ãã»ã¼ã¸ã +åºåãã¦ãã¾ããã +ä»ã§ã¯ããããã®ãªãã©ã«ã¯å ¨ã¦ããã«ã¯ã©ã¼ã風ã³ã³ããã¹ãã¨åã +æ¯ãèããããããã«ãªãã¾ãã; ã¤ã¾ããC<\x{100}> - C<\x{1FF}> ã¨ç価ã§ã +éæ¨å¥¨è¦åãåºã¾ããã + =begin original -Use of C<\400>-C<\777> in regexes in certain circumstances has given -different, anomalous behavior than their use in all other -double-quote-like contexts. Since 5.10.1, a deprecated warning message -has been raised when this happens. Now, all double-quote-like contexts -have the same behavior, namely to be equivalent to C<\x{100}> - -C<\x{1FF}>, with no deprecation warning. Use of these values in the -command line option C<"-0"> retains the current meaning to slurp input -files whole; previously, this was documented only for C<"-0777">. It is -recommended, however, because of various ambiguities, to use the new -C<\o{...}> construct to represent characters in octal. +Use of C<\400>-C<\777> in the command line option C<"-0"> retain their +conventional meaning. They slurp whole input files; previously, this +was documented only for C<"-0777">. =end original -ãã種ã®ç°å¢ã§ã®æ£è¦è¡¨ç¾ä¸ã§ã® C<\400>-C<\777> ã®ä½¿ç¨ã¯ã -ãã®ä»ã®å ¨ã¦ã®ããã«ã¯ã©ã¼ã風ã³ã³ããã¹ãã§ã®ä½¿ç¨ã¨ç°ãªã£ããç¹ç°ãª -æ¯ãèããè¦ãã¦ãã¾ããã -5.10.1 ããããããèµ·ããã¨ãã«ã¯éæ¨å¥¨è¦åã¡ãã»ã¼ã¸ãåºåããã¦ãã¾ããã -ä»ã§ã¯ãå ¨ã¦ã®ããã«ã¯ã©ã¼ã風ã³ã³ããã¹ãã§åãæ¯ãèããããããã« -ãªãã¾ãã; ã¤ã¾ããC<\x{100}> - C<\x{1FF}> ã¨ç価ã§ãéæ¨å¥¨è¦åãåºã¾ããã -ãããã®å¤ã®ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³ã§ã®ä½¿ç¨ C<"-0"> ã¯ãå ¥åãã¡ã¤ã« -å ¨ä½ãèªã¿è¾¼ãã¨ããä»ã®æå³ã®ã¾ã¾ã§ã; 以åã¯ããã㯠C<"-0777"> ã¨ã ã +C<\400>-C<\777> ã®ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³ã§ã®ä½¿ç¨ C<"-0"> ã¯ã +æ £ç¿çãªä»ã®æå³ã®ã¾ã¾ã§ãã +ããã¯å ¥åãã¡ã¤ã«å ¨ä½ãèªã¿è¾¼ã¿ã¾ã; 以åã¯ããã㯠C<"-0777"> ã¨ã ã ææ¸åããã¦ãã¾ããã -ããããæ§ã ãªããã¾ãããããã®ã§ã8 é²æ°ã§æåã表ç¾ããå ´å㯠-æ°ãã C<\o{...}> æ§æã使ããã¨ãå§ãã¾ãã + +=begin original + +Because of various ambiguities, you should use the new +C<\o{...}> construct to represent characters in octal instead. + +=end original + +æ§ã ãªããã¾ãããããã®ã§ã8 é²æ°ã§æåã表ç¾ããå ´å㯠+æ°ãã C<\o{...}> æ§æã使ãã¹ãã§ãã =head3 Most C<\p{}> properties are now immune to case-insensitive matching @@ -1314,15 +1375,14 @@ =begin original For most Unicode properties, it doesn't make sense to have them match -differently under C</i> case-insensitive matching than not. And doing -so leads to unexpected results and potential security holes. For -example +differently under C</i> case-insensitive matching. Doing so can lead +to unexpected results and potential security holes. For example =end original ã»ã¨ãã©ã® Unicode ç¹æ§ã«ã¤ãã¦ãC</i> 大æåå°æåç¡è¦ãªãã·ã§ã³ã® ãããªãã§ãããã³ã°ãå¤ããã¨ããã®ã¯æå³ãããã¾ããã -ããã¦ãã®ãã¨ã§äºæ³å¤ã®çµæã¨æ½å¨çãªã»ãã¥ãªãã£ã¼ãã¼ã«ãå°ãã¾ãã +ãã®ãã¨ã§äºæ³å¤ã®çµæã¨æ½å¨çãªã»ãã¥ãªãã£ã¼ãã¼ã«ãå°ãã¾ãã ä¾ãã° m/\p{ASCII_Hex_Digit}+/i @@ -1353,10 +1413,10 @@ =begin original -User-defined property handlers that need to match differently under -C</i> must change to read the new boolean parameter passed to them which is -non-zero if case-insensitive matching is in effect or 0 otherwise. See -L<perluniprops/User-Defined Character Properties>. +User-defined property handlers that need to match differently under C</i> +must be changed to read the new boolean parameter passed to them which +is non-zero if case-insensitive matching is in effect or 0 otherwise. +See L<perluniprops/User-Defined Character Properties>. =end original @@ -1473,15 +1533,15 @@ =begin original -Code blocks in regular expressions (C<(?{...})> and C<(??{...})>) used not -to inherit any pragmata (strict, warnings, etc.) if the regular expression +Code blocks in regular expressions (C<(?{...})> and C<(??{...})>) previously +did not inherit pragmata (strict, warnings, etc.) if the regular expression was compiled at run time as happens in cases like these two: =end original -æ£è¦è¡¨ç¾ä¸ã®ã³ã¼ãããã㯠(C<(?{...})> 㨠C<(??{...})>) ã¯ãæ£è¦è¡¨ç¾ã -å®è¡ä¸ã«ä»¥ä¸ã®äºã¤ã®ãããªç¶æ ã«ãªã£ãå ´åã«å ¨ã¦ã®ãã©ã°ã -(strict, warnings ãªã©) ãç¶æ¿ããã¦ãã¾ããã§ãã: +æ£è¦è¡¨ç¾ä¸ã®ã³ã¼ãããã㯠(C<(?{...})> 㨠C<(??{...})>) ã¯ã +以åã¯æ£è¦è¡¨ç¾ãå®è¡ä¸ã«ä»¥ä¸ã®äºã¤ã®ãããªç¶æ ã«ãªã£ãå ´åã«å ¨ã¦ã® +ãã©ã°ã(strict, warnings ãªã©) ãç¶æ¿ããã¦ãã¾ããã§ãã: use re 'eval'; $foo =~ $bar; # when $bar contains (?{...}) @@ -1489,22 +1549,22 @@ =begin original -This was a bug, which has now been fixed. But -it has the potential to break -any code that was relying on it. +This bug has now been fixed, but code which relied on the buggy behavior +may need to be fixed to account for the correct behavior. =end original -ããã¯ãã°ã§ããããä¿®æ£ããã¾ããã -ããããããã«ä¾åãã¦ããã³ã¼ããåä½ããªããªãå¯è½æ§ãããã¾ãã +ãã®ãã°ã¯ä¿®æ£ããã¾ãããã +ãã®ãã°ã£ã½ãæ¯ãèãã«ä¾åãã¦ããã³ã¼ãã¯æ£ããæ¯ãèãã« +対å¿ããããã«ä¿®æ£å·ãå¿ è¦ãããããç¥ãã¾ããã =head2 Stashes and Package Variables (ã¹ã¿ãã·ã¥ã¨ããã±ã¼ã¸å¤æ°) -=head3 Localised tied hashes and arrays are no longed tried +=head3 Localised tied hashes and arrays are no longed tied -(ãã¼ã«ã«åããã tie ãããããã·ã¥ã¨é åã¯ãã試ãã¾ãã) +(ãã¼ã«ã«åããã tie ãããããã·ã¥ã¨é åã¯ãã tie ãã¾ãã) =begin original @@ -1516,22 +1576,22 @@ tie @a, ...; { - local @a; - # here, @a is a now a new, untied array + local @a; + # here, @a is a now a new, untied array } # here, @a refers again to the old, tied array =begin original -The new local array used to be made tied too, which was fairly pointless, -and has now been fixed. This fix could however potentially cause a change -in behaviour of some code. +Earlier versions of perl incorrectly tied the new local array. This has +now been fixed. This fix could however potentially cause a change in +behaviour of some code. =end original -æ°ãããã¼ã«ã«ãªé åã tie ããã¦ãã¾ããããããã¯ã»ã¨ãã©æå³ããªãã -ä¿®æ£ããã¾ããã -ãããããã®ä¿®æ£ã«ãã£ã¦ã³ã¼ãã®æ¯ãèãã®å¤åãå¼ãèµ·ããããç¥ãã¾ããã +以åã®ãã¼ã¸ã§ã³ã® perl ã§ã¯ééã£ã¦æ°ãããã¼ã«ã«ãªé åã tie ãã¦ãã¾ããã +ããã¯ä¿®æ£ããã¾ããã +ããããã®ä¿®æ£ã«ãã£ã¦ã³ã¼ãã®æ¯ãèãã®å¤åãå¼ãèµ·ããããç¥ãã¾ããã =head3 Stashes are now always defined @@ -1551,13 +1611,13 @@ This is a side effect of removing a special case kludge in the tokeniser, added for 5.10.0, to hide side effects of changes to the internal storage of -hashes that drastically reduce their memory usage overhead. +hashes. The fix drastically reduces hashes' memory overhead. =end original This is a side effect of removing a special case kludge in the tokeniser, added for 5.10.0, to hide side effects of changes to the internal storage of -hashes that drastically reduce their memory usage overhead. +hashes. The fix drastically reduces hashes' memory overhead. (TBT) =begin original @@ -1621,10 +1681,9 @@ =begin original the glob that is copied to C<$glob> is marked with a special flag -indicating that the glob is just a copy. This -allows subsequent assignments to C<$glob> to -overwrite the glob. The original glob, however, is -immutable. +indicating that the glob is just a copy. This allows subsequent +assignments to C<$glob> to overwrite the glob. The original glob, +however, is immutable. =end original @@ -1702,7 +1761,7 @@ =begin original -See L<http://rt.perl.org/rt3/Public/Bug/Display.html?id=77810> for even +See L<http://rt.perl.org/rt3/Public/Bug/Display.html?id=77810> for more detail. =end original @@ -1751,6 +1810,8 @@ =head3 local($_) will strip all magic from $_ +(local($_) 㯠$_ ããå ¨ã¦ã®ãã¸ã«ã«ãªæ©è½ãåãå»ãã¾ã) + =begin original local() on scalar variables will give them a new value, but keep all @@ -1784,6 +1845,8 @@ =head3 Parsing of package and variable names +(ããã±ã¼ã¸åã¨å¤æ°åã®ãã¼ã¹) + =begin original The parsing of the names of packages and package variables has changed, in @@ -1810,8 +1873,12 @@ =head2 Changes to Syntax or to Perl Operators +(ææ³ã Perl ã®æ¼ç®åã®å¤æ´) + =head3 C<given> return values +(C<given> ã®è¿ãå¤) + =begin original C<given> blocks now return the last evaluated @@ -1843,6 +1910,8 @@ =head3 Change in the parsing of certain prototypes +(ãã種ã®ãããã¿ã¤ãã®ãã¼ã¹ã®å¤æ´) + =begin original Functions declared with the following prototypes now behave correctly as unary @@ -1900,6 +1969,8 @@ =head3 Smart-matching against array slices +(é åã¹ã©ã¤ã¹ã«å¯¾ããã¹ãã¼ããããã³ã°) + =begin original Previously, the following code resulted in a successful match: @@ -1922,6 +1993,8 @@ =head3 Negation treats strings differently from before +(å¦å®ã¯æååã以åããç°ãªã£ããã®ã¨ãã¦æ±ãã¾ã) + =begin original The unary negation operator C<-> now treats strings that look like numbers @@ -1934,6 +2007,8 @@ =head3 Negative zero +(è² æ°ã®ã¼ã) + =begin original Negative zero (-0.0), when converted to a string, now becomes "0" on all @@ -1958,6 +2033,8 @@ =head3 C<:=> is now a syntax error +(C<:=> ã¯ææ³ã¨ã©ã¼ã«ãªãã¾ãã) + =begin original Previously C<my $pi := 4;> was exactly equivalent to C<my $pi : = 4;>, @@ -2001,6 +2078,8 @@ =head3 Change in the parsing of identifiers +(èå¥åã®ãã¼ã¹ã®å¤æ´) + =begin original Characters outside the Unicode "XIDStart" set are no longer allowed at the @@ -2018,8 +2097,12 @@ =head2 Threads and Processes +(ã¹ã¬ããã¨ããã»ã¹) + =head3 Directory handles not copied to threads +(ãã£ã¬ã¯ããªãã³ãã«ã¯ã¹ã¬ããã«ã³ãã¼ããã¾ãã) + =begin original On systems other than Windows that do not have @@ -2035,6 +2118,8 @@ =head3 C<close> on shared pipes +(å ±æããããã¤ãã«å¯¾ãã C<close>) + =begin original The C<close> function no longer waits for the child process to exit if the @@ -2051,6 +2136,8 @@ =head3 fork() emulation will not wait for signalled children +(fork() ã¨ãã¥ã¬ã¼ã·ã§ã³ã¯ã·ã°ãã«ãéãããåããã»ã¹ãå¾ ã¡ã¾ãã) + =begin original On Windows parent processes would not terminate until all forked @@ -2104,6 +2191,8 @@ =head3 Naming fixes in Policy_sh.SH may invalidate Policy.sh +(Policy_sh.SH ã®å½åã®ä¿®æ£ã«ãã£ã¦ Policy.sh ãä¸æ£ã«ãªãã¾ãã) + =begin original Several long-standing typos and naming confusions in Policy_sh.SH have @@ -2126,6 +2215,8 @@ =head3 Perl source code is read in text mode on Windows +(Windows ã§ã¯ Perl ã½ã¼ã¹ã³ã¼ããããã¹ãã¢ã¼ãã§èªã¿è¾¼ã¿ã¾ã) + =begin original Perl scripts used to be read in binary mode on Windows for the benefit @@ -2158,6 +2249,8 @@ =head1 Deprecations +(éæ¨å¥¨) + =begin original See also L</Deprecated C APIs>. @@ -2186,6 +2279,8 @@ =head2 C<\cI<X>> +(C<\cI<X>>) + =begin original The backslash-c construct was designed as a way of specifying @@ -2205,6 +2300,8 @@ =head2 C<"\b{"> and C<"\B{"> +(C<"\b{"> 㨠C<"\B{">) + =begin original In regular expressions, a literal C<"{"> immediately following a C<"\b"> @@ -2217,15 +2314,17 @@ C<"\b"> ã C<"\B{"> ãç¶ãããã¨ã¯ãPerl èªèº«ãå°æ¥ä½¿ããããã«ããããã«ã éæ¨å¥¨ã¨ãªãã¾ããã -=head2 Deprecation warning added for deprecated-in-core .pl libs +=head2 Deprecation warning added for deprecated-in-core Perl 4-era .pl libraries + +(ã³ã¢ã«ãã Perl 4 æ代㮠.pl ã©ã¤ãã©ãªã¸ã®éæ¨å¥¨è¦åã追å ããã¾ãã) =begin original This is a mandatory warning, not obeying -X or lexical warning bits. The warning is modelled on that supplied by deprecate.pm for deprecated-in-core .pm libraries. It points to the specific CPAN -distribution that contains the .pl libraries. The CPAN version, of -course, does not generate the warning. +distribution that contains the .pl libraries. The CPAN versions, of +course, do not generate the warning. =end original @@ -2255,6 +2354,8 @@ =head2 Use of qw(...) as parentheses +(ãã£ãã¨ãã¦ã® qw(...) ã®ä½¿ç¨) + =begin original Historically the parser fooled itself into thinking that C<qw(...)> literals @@ -2282,7 +2383,9 @@ for $x (qw(a b c)) { ... } -=head2 C<\N{BELL}> is deprecated +=head2 C<\N{BELL}> + +(C<\N{BELL}>) =begin original @@ -2296,7 +2399,9 @@ ãããªã説æã«ã¤ãã¦ã¯ L</Unicode Version 6.0 is now supported (mostly)> ã åç §ãã¦ãã ããã -=head2 C<?PATTERN?> is deprecated +=head2 C<?PATTERN?> + +(C<?PATTERN?>) =begin original @@ -2350,11 +2455,13 @@ =head2 User-defined case-mapping +(ã¦ã¼ã¶ã¼å®ç¾©ã®å¤§æåå°æåå®ç¾©) + =begin original This feature is being deprecated due to its many issues, as documented in L<perlunicode/User-Defined Case Mappings (for serious hackers only)>. -It is planned to remove this feature in Perl 5.16. Instead use the CPAN module +This feature will be removed in Perl 5.16. Instead use the CPAN module L<Unicode::Casing>, which provides improved functionality. =end original @@ -2362,12 +2469,14 @@ ãã®æ©è½ã¯ L<perlunicode/User-Defined Case Mappings (for serious hackers only)> ã« ææ¸åããã¦ããããã«å¤ãã®åé¡ãæ±ãã¦ããã®ã§ãéæ¨å¥¨ã¨ãªãã¾ããã -ãã®æ©è½ã¯ Perl 5.16 ã§åé¤ãããã¨ãè¨ç»ãã¦ãã¾ãã +ãã®æ©è½ã¯ Perl 5.16 ã§åé¤ããã¾ãã 代ããã«ãæ¹è¯ãããæ©è½ãæä¾ãããCPAN ã¢ã¸ã¥ã¼ã« L<Unicode::Casing> ã 使ã£ã¦ãã ããã =head2 Deprecated modules +(éæ¨å¥¨ã¢ã¸ã¥ã¼ã«) + =begin original The following modules will be removed from the core distribution in a @@ -2439,20 +2548,25 @@ =begin original -We strongly recommend that you install and used L<Devel::NYTProf> in -preference, as it offers significantly improved profiling and reporting. +We strongly recommend that you install and used L<Devel::NYTProf> instead +of this module, as it offers significantly improved profiling and reporting. =end original -åªå ã㦠L<Devel::NYTProf> ãã¤ã³ã¹ãã¼ã«ãã¦ä½¿ããã¨ãå¼·ãæ¨å¥¨ãã¾ã; +ãã®ã¢ã¸ã¥ã¼ã«ã®ä»£ããã« L<Devel::NYTProf> ãã¤ã³ã¹ãã¼ã«ãã¦ä½¿ããã¨ã +å¼·ãæ¨å¥¨ãã¾ã; ããã¯èããæ¹è¯ããããããã¡ã¤ãªã³ã°ã¨å ±åãæä¾ãã¾ãã =back =head1 Performance Enhancements +(æ§è½ã®æ¹å) + =head2 "Safe signals" optimisation +(ãå®å ¨ãªã·ã°ãã«ãã®æé©å) + =begin original Signal dispatch has been moved from the runloop into control ops. This @@ -2476,6 +2590,8 @@ =head2 Optimisation of shift; and pop; calls without arguments +(å¼æ°ãªãã® shift; 㨠pop; ã®æé©å) + =begin original Two fewer OPs are used for shift and pop calls with no argument (with @@ -2491,6 +2607,8 @@ =head2 Optimisation of regexp engine string comparison work +(æ£è¦è¡¨ç¾ã®æååæ¯è¼ä½æ¥ã®æé©å) + =begin original The foldEQ_utf8 API function for case-insensitive comparison of strings (which @@ -2505,6 +2623,8 @@ =head2 Regular expression compilation speed-up +(æ£è¦è¡¨ç¾ã®ã³ã³ãã¤ã«ã®é«éå) + =begin original Compiling regular expressions has been made faster for the case where upgrading @@ -2518,30 +2638,32 @@ =head2 String appending is 100 times faster +(æåå追å 㯠100 åéããªãã¾ãã) + =begin original -When doing a lot of string appending, perl could end up allocating a lot more -memory than needed in a very inefficient way, if perl was configured to use the -system's C<malloc> implementation instead of its own. +When doing a lot of string appending, perls built to use the system's +C<malloc> could end up allocating a lot more memory than needed in a +very inefficient way. =end original -å¤ãã®æåå追å ãè¡ãã¨ããperl ãç¬èªã®ãã®ã§ã¯ãªãã·ã¹ãã ã® -C<malloc> å®è£ ã使ãããã«è¨å®ããã¦ããã¨ãæçµçã«å¿ è¦ãªåãããã¨ã¦ã +å¤ãã®æåå追å ãè¡ãã¨ããã·ã¹ãã ã® C<malloc> å®è£ ã使ãããã« +ãã«ãããã¦ãã perl ã¯ãæçµçã«å¿ è¦ãªåãããã¨ã¦ã å¤ãã®ã¡ã¢ãªãã¨ã¦ãéå¹çãªæ¹æ³ã§å²ãå½ã¦ã¦ãã¾ããã¨ãããã¾ããã =begin original -C<sv_grow>, which is what's being used to allocate more memory if necessary -when appending to a string, has now been taught how to round up the memory +C<sv_grow>, the function used to allocate more memory if necessary +when appending to a string, has been taught how to round up the memory it requests to a certain geometric progression, making it much faster on certain platforms and configurations. On Win32, it's now about 100 times faster. =end original -C<sv_grow>, which is what's being used to allocate more memory if necessary -when appending to a string, has now been taught how to round up the memory +C<sv_grow>, the function used to allocate more memory if necessary +when appending to a string, has been taught how to round up the memory it requests to a certain geometric progression, making it much faster on certain platforms and configurations. Win32 ã§ã¯ãããã¯ç´ 100 åé«éã§ãã @@ -2549,15 +2671,18 @@ =head2 Eliminate C<PL_*> accessor functions under ithreads +(iã¹ã¬ããã§ã® C<PL_*> ã¢ã¯ã»ãµé¢æ°ã®åé¤) + =begin original When C<MULTIPLICITY> was first developed, and interpreter state moved into -an interpreter struct, thread and interpreter local C<PL_*> variables were -defined as macros that called accessor functions, returning the address of -the value, outside of the perl core. The intent was to allow members -within the interpreter struct to change size without breaking binary -compatibility, so that bug fixes could be merged to a maintenance branch -that necessitated such a size change. +an interpreter struct, thread and interpreter local C<PL_*> variables +were defined as macros that called accessor functions, returning the +address of the value, outside of the perl core. The intent was to allow +members within the interpreter struct to change size without breaking +binary compatibility, so that bug fixes could be merged to a maintenance +branch that necessitated such a size change. This mechanism was redundant +and penalised well-behaved code. It has been removed. =end original @@ -2570,42 +2695,21 @@ ã¡ã³ãã®ãµã¤ãºãå¤ããããããã«ãããã¨ã§ãã; so that bug fixes could be merged to a maintenance branch that necessitated such a size change. -(TBT) - -=begin original - -However, some non-core code defines C<PERL_CORE>, sometimes intentionally -to bypass this mechanism for speed reasons, sometimes for other reasons but -with the inadvertent side effect of bypassing this mechanism. As some of -this code is widespread in production use, the result is that the core -I<can't> change the size of members of the interpreter struct, as it will -break such modules compiled against a previous release on that maintenance -branch. The upshot is that this mechanism is redundant, and well-behaved -code is penalised by it. Hence it can and should be removed (and has -been). - -=end original - -However, some non-core code defines C<PERL_CORE>, sometimes intentionally -to bypass this mechanism for speed reasons, sometimes for other reasons but -with the inadvertent side effect of bypassing this mechanism. -ãã®ãããªã³ã¼ãã«ã¯åºãå®ç¨ããã¦ãããã®ãããã -ã¡ã³ããã³ã¹ãã©ã³ãã®éå»ã®ãªãªã¼ã¹ç¨ã«ã³ã³ãã¤ã«ãããã¢ã¸ã¥ã¼ã«ã -å£ãã¦ãã¾ããã¨ã«ãªãã®ã§ãã³ã¢ã¯ interpreter æ§é ä½ã®ã¡ã³ãã®ãµã¤ãºã -I<å¤ãããã¾ãã> ã -çµæã¨ãã¦ããã®æ©æ§ã¯åé·ã§ãããæ£ããæ¯ãèããããã³ã¼ããããã«ãã£ã¦ +ãã®æ©æ§ã¯åé·ã§ãããæ£ããæ¯ãèããããã³ã¼ããããã«ãã£ã¦ ããã«ãã£ãåãã¦ãã¾ããã -å¾ã£ã¦ãããã¯åé¤ããã¹ãã§ã(ããã¦åé¤ããã¾ãã)ã +ããã¯åé¤ããã¾ããã (TBT) =head2 Freeing weak references +(å¼±ãåç §ã®è§£æ¾) + =begin original -When an object has many weak references to it, freeing that object +When there are many weak references to an object, freeing that object can under some some circumstances take O(N^2) time to free (where N is the -number of references). The number of circumstances has been reduced -[perl #75254] +number of references). The number of circumstances in which this can happen +has been reduced [perl #75254] =end original @@ -2727,10 +2831,9 @@ =begin original -For weak references, the common case of just a single weak reference per -referent has been optimised to reduce the -storage required. In this case it -saves the equivalent of one small Perl array per referent. +For weak references, the common case of just a single weak reference +per referent has been optimised to reduce the storage required. In this +case it saves the equivalent of one small Perl array per referent. =end original @@ -2889,13 +2992,13 @@ =begin original -C<JSON::PP> 2.27105 has been added as a dual-life module, for the sake of -reading F<META.json> files in CPAN distributions. +C<JSON::PP> 2.27105 has been added as a dual-life module to allow CPAN +clients to read F<META.json> files in CPAN distributions. =end original -C<JSON::PP> 2.27105 has been added as a dual-life module, for the sake of -reading F<META.json> files in CPAN distributions. +C<JSON::PP> 2.27105 has been added as a dual-life module to allow CPAN +clients to read F<META.json> files in CPAN distributions. (TBT) =item * @@ -3437,6 +3540,27 @@ =begin original +C<constant> has been upgraded from version 1.20 to 1.21. + +=end original + +C<constant> ã¯ãã¼ã¸ã§ã³ 1.20 ãã 1.21 ã«æ´æ°ããã¾ããã + +=begin original + +Unicode constants work once more. They have been broken since perl 5.10.0 +[CPAN RT #67525]. + +=end original + +Unicode constants work once more. They have been broken since perl 5.10.0 +[CPAN RT #67525]. +(TBT) + +=item * + +=begin original + C<CPAN> has been upgraded from version 1.94_56 to 1.9600. =end original @@ -3449,8 +3573,7 @@ =end original -Major highlights: -(TBT) +主ãªæ³¨ç®ç¹ã¯: =over 4 @@ -3515,8 +3638,7 @@ =end original -CPANPLUS now includes support for META.json and MYMETA.json. -(TBT) +CPANPLUS 㯠META.json 㨠MYMETA.json ã«å¯¾å¿ããããã«ãªãã¾ããã =item * @@ -3704,8 +3826,7 @@ =end original -C<shasum> now more closely mimics C<sha1sum>/C<md5sum>. -(TBT) +C<shasum> ã¯ããã« C<sha1sum>/C<md5sum> ãçä¼¼ãããã«ãªãã¾ããã =begin original @@ -3713,8 +3834,7 @@ =end original -C<Addfile> accepts all POSIX filenames. -(TBT) +C<Addfile> ã¯å ¨ã¦ã® POSIX ãã¡ã¤ã«åãåãä»ãã¾ãã =begin original @@ -3764,8 +3884,7 @@ =end original -It fixes a buffer overflow when passed a very long file name. -(TBT) +ã¨ã¦ãé·ããã¡ã¤ã«åã渡ããã¨ãã®ãããã¡ãªã¼ãã¼ããã¼ãä¿®æ£ãã¾ããã =begin original @@ -4993,11 +5112,11 @@ =begin original -See L</IPv6 support>, above. +See L</Improved IPv6 support>, above. =end original -See L</IPv6 support>, above. +See L</Improved IPv6 support>, above. (TBT) =item * @@ -5655,13 +5774,15 @@ =begin original -The following modules have been removed from the core distribution, and if -needed should be installed from CPAN instead. +As promised in Perl 5.12.0's release notes, the following modules have +been removed from the core distribution, and if needed should be installed +from CPAN instead. =end original -The following modules have been removed from the core distribution, and if -needed should be installed from CPAN instead. +As promised in Perl 5.12.0's release notes, the following modules have +been removed from the core distribution, and if needed should be installed +from CPAN instead. (TBT) =over @@ -5780,7 +5901,7 @@ =begin original -The perlmodlib page that came with Perl 5.12.0 was missing a lot of +The perlmodlib page that came with Perl 5.12.0 was missing a number of modules, due to a bug in the script that generates the list. This has been fixed [perl #74332] (5.12.1). @@ -5790,48 +5911,42 @@ å¤ãã®ã¢ã¸ã¥ã¼ã«ãæ¼ãã¦ãã¾ããã ããã¯ä¿®æ£ããã¾ãã [perl #74332] (5.12.1)ã -=head3 Replace wrong tr/// table in L<perlebcdic> +=head3 Replace incorrect tr/// table in L<perlebcdic> =begin original L<perlebcdic> contains a helpful table to use in tr/// to convert -between EBCDIC and Latin1/ASCII. Unfortunately, the table was the -inverse of the one it describes, though the code that used the table -worked correctly for the specific example given. +between EBCDIC and Latin1/ASCII. The table was the inverse of the one +it describes, though the code that used the table worked correctly for +the specific example given. =end original L<perlebcdic> ã«ã¯ EBCDIC 㨠Latin1/ASCII ãå¤æããããã« tr/// ã使ãã®ã«ä¾¿å©ãªè¡¨ãããã¾ãã -Unfortunately, the table was the +the table was the inverse of the one it describes, though the code that used the table worked correctly for the specific example given. (TBT) =begin original -The table has been changed to its inverse, and the sample code changed -to correspond, as this is easier for the person trying to follow the -instructions since deriving the old table is somewhat more complicated. +The table has been corrected, and the sample code changed to correspond. =end original -表ã¯éé ã«å¤æ´ããããµã³ãã«ã³ã¼ãã対å¿ããããã«å¤æ´ããã¾ãã; -ããã«ãã as this is easier for the person trying to follow the -instructions since deriving the old table is somewhat more complicated. -(TBT) +表ã¯éé ã«å¤æ´ããããµã³ãã«ã³ã¼ãã対å¿ããããã«å¤æ´ããã¾ããã =begin original -The table has also been changed to hex from octal, as that is more the norm -these days, and the recipes in the pod altered to print out leading -zeros to make all the values the same length. +The table has also been changed to hex from octal and the recipes in the +pod have been altered to print out leading zeros to make all the values +the same length. =end original -ã¾ãã表㯠8 é²æ°ããæè¿ã§ã¯ããä¸è¬çã§ãã 16 é²æ°ã«å¤æ´ããã -pod ã«ããã¬ã·ãã¯å ¨ã¦ã®å¤ãåãé·ãã«ãªãããã«å é ã«ã¼ãã表示ãããããã« -å¤æ´ããã¾ããã +ã¾ãã表㯠8 é²æ°ãã 16 é²æ°ã«å¤æ´ãããpod ã«ããã¬ã·ãã¯å ¨ã¦ã®å¤ã +åãé·ãã«ãªãããã«å é ã«ã¼ãã表示ãããããã«å¤æ´ããã¾ããã =head3 Tricks for user-defined casing @@ -5850,7 +5965,7 @@ one's own code's behaviour without stomping on anybody else. (TBT) -=head3 INSTALL explicitly states the requirement for C89 +=head3 INSTALL explicitly states that Perl requires a C89 compiler =begin original @@ -6035,47 +6150,34 @@ =begin original -The L<perlhack> and perlrepository documents have been heavily edited and -split up into several new documents. - -=end original - -The L<perlhack> and perlrepository documents have been heavily edited and -split up into several new documents. -(TBT) - -=begin original - The L<perlhack> document is now much shorter, and focuses on the Perl 5 -development process and submitting patches -to Perl. The technical content has -been moved to several new documents, L<perlsource>, L<perlinterp>, -L<perlhacktut>, and L<perlhacktips>. This technical content has only been -lightly edited. +development process and submitting patches to Perl. The technical content +has been moved to several new documents, L<perlsource>, L<perlinterp>, +L<perlhacktut>, and L<perlhacktips>. This technical content has only +been lightly edited. =end original The L<perlhack> document is now much shorter, and focuses on the Perl 5 -development process and submitting patches -to Perl. The technical content has -been moved to several new documents, L<perlsource>, L<perlinterp>, -L<perlhacktut>, and L<perlhacktips>. This technical content has only been -lightly edited. +development process and submitting patches to Perl. The technical content +has been moved to several new documents, L<perlsource>, L<perlinterp>, +L<perlhacktut>, and L<perlhacktips>. This technical content has only +been lightly edited. (TBT) =begin original -The perlrepository document has been renamed to -L<perlgit>. This new document is just a how-to -on using git with the Perl source code. Any other content -that used to be in perlrepository has been moved to perlhack. +The perlrepository document has been renamed to L<perlgit>. This new +document is just a how-to on using git with the Perl source code. +Any other content that used to be in perlrepository has been moved +to L<perlhack>. =end original -The perlrepository document has been renamed to -L<perlgit>. This new document is just a how-to -on using git with the Perl source code. Any other content -that used to be in perlrepository has been moved to perlhack. +The perlrepository document has been renamed to L<perlgit>. This new +document is just a how-to on using git with the Perl source code. +Any other content that used to be in perlrepository has been moved +to L<perlhack>. (TBT) =head3 Time::Piece examples @@ -6539,15 +6641,15 @@ =begin original -CCINCDIR and CCLIBDIR for the mingw64 -cross-compiler are now correctly under -$(CCHOME)\mingw\include and \lib rather than immediately below $(CCHOME). +CCINCDIR and CCLIBDIR for the mingw64 cross-compiler are now correctly +under $(CCHOME)\mingw\include and \lib rather than immediately below +$(CCHOME). =end original -CCINCDIR and CCLIBDIR for the mingw64 -cross-compiler are now correctly under -$(CCHOME)\mingw\include and \lib rather than immediately below $(CCHOME). +CCINCDIR and CCLIBDIR for the mingw64 cross-compiler are now correctly +under $(CCHOME)\mingw\include and \lib rather than immediately below +$(CCHOME). (TBT) =begin original @@ -6694,17 +6796,15 @@ =begin original -The last vestiges of support for this platform have been excised from the -Perl distribution. It was officially discontinued -in version 5.12.0. It had -not worked for years before that. +The last vestiges of support for this platform have been excised from +the Perl distribution. It was officially discontinued in version 5.12.0. +It had not worked for years before that. =end original -The last vestiges of support for this platform have been excised from the -Perl distribution. It was officially discontinued -in version 5.12.0. It had -not worked for years before that. +The last vestiges of support for this platform have been excised from +the Perl distribution. It was officially discontinued in version 5.12.0. +It had not worked for years before that. (TBT) =item MacOS Classic @@ -6954,7 +7054,7 @@ =back -=head3 Recent OpenBSDs now use perl's malloc +=head3 OpenBSD =over @@ -9717,19 +9817,6 @@ =begin original -String C<eval> now detects taintedness of overloaded or tied -arguments [perl #75716]. - -=end original - -String C<eval> now detects taintedness of overloaded or tied -arguments [perl #75716]. -(TBT) - -=item * - -=begin original - Non-commutative binary operators used to swap their operands if the same tied scalar was used for both operands and returned a different value for each FETCH. For instance, if C<$t> returned 2 the first time and 3 the @@ -9749,6 +9836,19 @@ =begin original +String C<eval> now detects taintedness of overloaded or tied +arguments [perl #75716]. + +=end original + +String C<eval> now detects taintedness of overloaded or tied +arguments [perl #75716]. +(TBT) + +=item * + +=begin original + String C<eval> and regular expression matches against objects with string overloading no longer cause memory corruption or crashes [perl #77084]. @@ -10981,17 +11081,19 @@ =begin original -Randy Kobes, creator of the kobesearch alternative to search.cpan.org and -contributor/maintainer to several core Perl toolchain modules, passed away -on September 18, 2010 after a battle with lung cancer. His contributions -to the Perl community will be missed. +Randy Kobes, creator of http://kobesearch.cpan.org/ and +contributor/maintainer to several core Perl toolchain modules, passed +away on September 18, 2010 after a battle with lung cancer. The community +was richer for his involvement. He will be missed. =end original -search.cpan.org ã®ä»£æ¿ã§ãã kobesearch ã®ä½è ã§ãããããã¤ãã®ã³ã¢ +http://kobesearch.cpan.org/ ã®ä½è ã§ãããããã¤ãã®ã³ã¢ Perl ãã¼ã«ãã§ã¼ã³ã¢ã¸ã¥ã¼ã«ã®è²¢ç®è /ã¡ã³ããã§ãã Randy Kobes ã¯èºããã¨ã®éç ã®æ«ã« 2010 å¹´ 9 æ 18 æ¥ã«äº¡ããªãã¾ããã +ã³ãã¥ããã£ã¯å½¼ã®é¢ä¸ã«ãã£ã¦ããè±ãã«ãªãã¾ããã Perl ã³ãã¥ããã£ã¸ã®å½¼ã®è²¢ç®ã¯å¿ãã¾ããã +å½¼ã¯æ®å¿µãªãã¨ã§ããã =head1 Acknowledgements @@ -11093,4 +11195,10 @@ èä½æ¨©æ å ±ã«ã¤ãã¦ã¯ F<Artistic> åã³ F<Copying> ãã¡ã¤ã«ã +=begin meta + +Translate: SHIRAKATA Kentaro <argra****@ub32*****> + +=end meta + =cut