argra****@users*****
argra****@users*****
2012年 5月 18日 (金) 03:43:14 JST
Index: docs/perl/5.16.0/perl5160delta.pod diff -u docs/perl/5.16.0/perl5160delta.pod:1.19 docs/perl/5.16.0/perl5160delta.pod:1.20 --- docs/perl/5.16.0/perl5160delta.pod:1.19 Thu May 17 01:54:37 2012 +++ docs/perl/5.16.0/perl5160delta.pod Fri May 18 03:43:14 2012 @@ -1533,9 +1533,8 @@ Perl ã¯ãPerlIO 層ãªãã§ãstdio ã sfio ã©ããã¼ã代ããã«ä½¿ã£ã¦ ãã«ããããã¨ã«ã対å¿ãã¦ãã¾ãã -ãã®ãã㪠perl ãã«ã㯠will not support IO layers and -thus Unicode IO, making it rather handicapped. -(TBT) +ãã®ãã㪠perl ãã«ã㯠IO ã«å¯¾å¿ãã¦ããªãã®ã§ Unicode IO ã«ã +対å¿ãã¦ããããããªãä¸å©ã§ãã =begin original @@ -1976,12 +1975,11 @@ =end original -When we cached these values our idea of what they were would drift out -of sync with reality if someone (e.g., someone embedding perl) called -C<sete?[ug]id()> without updating C<PL_e?[ug]id>. +ãããã®å¤ããã£ãã·ã¥ããã¨ãã«èãã¦ãããã¨ã¯ã誰ã(ä¾ãã° perl ã +çµã¿è¾¼ãã 人) ã C<PL_e?[ug]id> ãæ´æ°ãããã¨ãªãã« C<sete?[ug]id()> ã +å¼ã³åºãã¨å®éã«åæããããã¨ãããã¨ã§ãã ãã®è¤éæ§ã¯ C<gete?[ug]id()> ã®å¼ã³åºãã³ã¹ãã®ä½ããèããã¨å²ã« åãã¾ããã§ããã -(TBT) =begin original @@ -2070,24 +2068,25 @@ =end original -Matching a code point against a Unicode property is now done via a -binary search instead of linear. This means for example that the worst -case for a 1000 item property is 10 probes instead of 1000. This -inefficiency has been compensated for in the past by permanently storing +Unicode ç¹æ§ã«å¯¾ãã符å·ä½ç½®ã®ãããã³ã°ã¯ç·å½¢ã§ã¯ãªãäºåæ¢ç´¢ã§ +è¡ããã¾ãã +ããã¯ãä¾ãã° 1000 ã¢ã¤ãã ã®ç¹æ§ã®ææªã®å ´å㧠1000 åã§ã¯ãªã 10 åã® +調æ»ã«ãªããã¨ãæå³ãã¾ãã +ãã®å¹çã®æªã㯠+has been compensated for in the past by permanently storing in a hash the results of a given probe plus the results for the adjacent 64 code points, under the theory that near-by code points are likely to be searched for. A separate hash was used for each mention of a Unicode -property in each regular expression. Thus, C<qr/\p{foo}abc\p{foo}/> -would generate two hashes. Any probes in one instance would be unknown -to the other, and the hashes could expand separately to be quite large -if the regular expression were used on many different widely-separated -code points. -Now, however, there is just one hash shared by all instances of a given -property. This means that if C<\p{foo}> is matched against "A" in one -regular expression in a thread, the result will be known immediately to -all regular expressions, and the relentless march of using up memory is -slowed considerably. -(TBT) +property in each regular expression. +å¾ã£ã¦ãC<qr/\p{foo}abc\p{foo}/> ã¯äºã¤ã®ããã·ã¥ãçæãã¾ãã +ä¸ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ã§ã®èª¿æ»ã¯ããä¸ã¤ã«ã¯ç¥ããããã¨ã¯ãªããæ£è¦è¡¨ç¾ã +å¤ãã®ç°ãªã£ãåºãåå²ããã符å·ä½ç½®ã§ä½¿ãããã¨ããªã大ããããããã« +å±éãããå¯è½æ§ãããã¾ããã +ããããä»ã§ã¯ä¸ããããç¹æ§ã®å ¨ã¦ã®ã¤ã³ã¹ã¿ã³ã¹ã§å ±æããããã·ã¥ +ä¸ã¤ã ããåå¨ãã¾ãã +ããã¯ããã C<\p{foo}> ãã¹ã¬ããä¸ã®ããæ£è¦è¡¨ç¾ã§ "A" ã« +ãããã³ã°ããã¨ãçµæã¯å ¨ã¦ã®æ£è¦è¡¨ç¾ã«ç¥ããããã¨ã«ãªããã¡ã¢ãªæ¶è²»ã® +é度ã¯ããªãé ããªãã¾ãã =item * @@ -2532,11 +2531,9 @@ ããããªãã®ã³ã¼ãã mod_rewrite (ã¾ãã¯äºæå) ã§åä½ãã¦ãã¦ã C<self_url()> ãå¼ã³åºãã C<path_info=E<gt>1> ä»ã㧠C<url()> ã -å¼ã³åºãã¨ã -these methods will actually be returning -C<PATH_INFO> now, as you have explicitly requested or C<self_url()> -has requested on your behalf. -(TBT) +å¼ã³åºãã¨ããããã®ã¡ã½ããã¯å®éã«ã¯ C<PATH_INFO> ã +è¿ãããããã«ãªãã¾ãã; æ示çã«è¦æ±ããããC<self_url()> ã +代ããã«è¦æ±ãã¾ãã =begin original @@ -2619,11 +2616,12 @@ =end original -IO::Compress::Zip and IO::Uncompress::Unzip now have support for LZMA -(method 14). There is a fix for a CRC issue in IO::Compress::Unzip and -it supports Streamed Stored context now. And fixed a Zip64 issue in -IO::Compress::Zip when the content size was exactly 0xFFFFFFFF. -(TBT) +IO::Compress::Zip 㨠IO::Uncompress::Unzip 㯠LZMA (ã¡ã½ãã 14) ã« +対å¿ãã¾ããã +IO::Compress::Unzip ã® CRC åé¡ãä¿®æ£ããStreamed Stored ã³ã³ããã¹ãã« +対å¿ãã¾ããã +ã¾ããIO::Compress::Zip ã§ãµã¤ãºãã¡ããã© 0xFFFFFFFF ã®ã¨ãã® +Zip64 ã®åé¡ãä¿®æ£ããã¾ããã =item * @@ -3228,12 +3226,10 @@ =end original -":std" æ示ããªãã§èµ·åãã¦ãæ¨æºãã³ãã«ã®å±¤ããªãã«ããªããªãã¾ããã -åæ§ã«ã -Similarly, when invoked I<with> the ":std" directive, it -now clears layers on STDERR before applying the new ones, and not just on -STDIN and STDOUT [perl #92728]. -(TBT) +":std" æ示åãªãã§èµ·åãã¦ãæ¨æºãã³ãã«ã®å±¤ããªãã«ããªããªãã¾ããã +åæ§ã«ã":std" æ示å㨠I<å ±ã«> èµ·åãããã¨ãæ°ãããã®ãé©ç¨ãããåã« +STDERR ã®å±¤ã¯ã¯ãªã¢ãããã¾ãããSTDIN 㨠STDOUT ã¯ã¯ãªã¢ããã¾ããã§ãã +[perl #92728]ã =item * @@ -3255,13 +3251,13 @@ =end original -C<overload::Overloaded> ã¯ãã¯ããã®ã¯ã©ã¹ã® C<can> ãå¼ã³åºãããbut uses -another means to determine whether the object has overloading. -ãã㯠C<can> ãå¼ã³åºããã¨ã§ã¯æ¶ãã¦ä¿®æ£ããã¾ãã; ãªã¼ãã¼ãã¼ã㯠+C<overload::Overloaded> ã¯ãã¯ããã®ã¯ã©ã¹ã® C<can> ãå¼ã³åºããã +ãªãã¸ã§ã¯ãããªã¼ãã¼ãã¼ãããã¦ãããã©ããã決å®ããã®ã«ä»ã®æ¹æ³ã +使ãã¾ãã +ãã㯠C<can> ãå¼ã³åºããã¨ã§ã¯æ±ºãã¦ä¿®æ£ããã¾ãã; ãªã¼ãã¼ãã¼ã㯠AUTOLOAD ãèªèããªãããã§ãã å¾ã£ã¦ãã¡ã½ããããªã¼ããã¼ãã㦠C<can> ãå®è£ ãã¦ããã¯ã©ã¹ã¯ãã¯ã ãªã¼ãã¼ãã¼ãã«æ°ããå¿ è¦ã¯ããã¾ãã [perl #40333]ã -(TBT) =begin original @@ -3479,7 +3475,8 @@ =end original -C<sigsuspend> and C<pause> now run signal handlers before returning, as the +C<sigsuspend> 㨠C<pause> ã¯å¸°ãåã«ã·ã°ãã«ãã³ãã©ãå®è¡ããããã« +ãªãã¾ãã; as the whole point of these two functions is to wait until a signal has arrived, and then return I<after> it has been triggered. Delayed, or "safe", signals were preventing that from happening, possibly resulting in @@ -3513,10 +3510,11 @@ =end original -C<POSIX::Termios::setattr> now defaults the third argument to C<TCSANOW>, -instead of 0. On most platforms C<TCSANOW> is defined to be 0, but on some -0 is not a valid parameter, which caused a call with defaults to fail. -(TBT) +C<POSIX::Termios::setattr> ã® 3 çªç®ã®å¼æ°ã®ããã©ã«ã㯠0 ã§ã¯ãªã +C<TCSANOW> ã«ãªãã¾ããã +ã»ã¨ãã©ã®ãã©ãããã©ã¼ã 㧠C<TCSANOW> 㯠0 ã«å®ç¾©ããã¦ãã¾ããã +ããã¤ãã®ãã©ãããã©ã¼ã ã§ã¯ 0 ã¯æå¹ãªå¼æ°ã§ã¯ãªãããã +ããã©ã«ãã§ã®å¼ã³åºãã«å¤±æãã¦ãã¾ããã =item * @@ -4348,9 +4346,8 @@ =end original -L<perlapi> ã®ä¸é¨ãæ確åãããand Perl equivalents of some C -functions have been added as an additional mode of exposition. -(TBT) +L<perlapi> ã®ä¸é¨ãæ確åãããC é¢æ°ã® Perl ã®åçç©ã追å ã®ã¢ã¼ãã® +説æã¨ãã¦è¿½å ããã¾ããã =item * @@ -5904,9 +5901,9 @@ When hash elements are deleted in void context, the internal hash entry is now freed before the value is freed, to prevent destructors called by that -latter freeing from seeing the hash in an inconsistent state. It was -possible to cause double-frees if the destructor freed the hash itself -[perl #100340]. +latter freeing from seeing the hash in an inconsistent state. +ãã¹ãã©ã¯ã¿ãããã·ã¥èªèº«ã解æ¾ããã¨äºé解æ¾ã«ãªãå¯è½æ§ãããã¾ãã +[perl #100340]ã (TBT) =item * @@ -7028,9 +7025,9 @@ =end original -C<CORE::glob> now works as a way to call the default globbing function. It -used to respect overrides, despite the C<CORE::> prefix. -(TBT) +C<CORE::glob> ã¯ããã©ã«ãã®ã°ããé¢æ°ãå¼ã³åºãã®ã¨åãããã« +åä½ããããã«ãªãã¾ãããå¼ã³åºãã®ããã« +以åã¯ãC<CORE::> æ¥é è¾ã«ããããããããªã¼ãã¼ã©ã¤ãã§ãã¦ãã¾ããã =item * @@ -7043,11 +7040,10 @@ =end original -Under miniperl (used to configure modules when perl itself is built), -C<glob> now clears %ENV before calling csh, since the latter croaks on some -systems if it does not like the contents of the LS_COLORS environment -variable [perl #98662]. -(TBT) +(perl èªèº«ããã«ãããã¨ãã«ã¢ã¸ã¥ã¼ã«ãè¨å®ããããã«ä½¿ããã) +miniperl ã§ã¯ãC<glob> 㯠csh ãå¼ã³åºãåã« %ENV ãã¯ãªã¢ããããã« +ãªãã¾ãã; å¾è 㯠LS_COLOR ç°å¢å¤æ°ã®å¤ã好ã¾ãããªãå ´åã«ä¸é¨ã® +ã·ã¹ãã 㧠croak ããããã§ã [perl #98662]ã =back @@ -7066,9 +7062,8 @@ =end original -Explicit return now returns the actual argument passed to return, instead -of copying it [perl #72724, #72706]. -(TBT) +æ示ç㪠return 㯠return ã«æ¸¡ãããå¤ã®ã³ãã¼ã§ã¯ãªããå¤ãã®ãã®ã +è¿ãããã«ãªãã¾ãã [perl #72724, #72706]ã =item * @@ -7126,9 +7121,9 @@ =end original -Autovivification now works on values returned from lvalue subroutines -[perl #7946], as does returning C<keys> in lvalue context. -(TBT) +èªåæå¹åã¯å·¦è¾ºå¤ãµãã«ã¼ãã³ããè¿ãããå¤ã«å¯¾ãã¦ã +åä½ããããã«ãªãã¾ãã [perl #7946]; 左辺å¤ã³ã³ããã¹ãã§ã® C<keys> ã® +è¿ãå¤ã«å¯¾ãã¦ãåä½ããããã«ãªãã¾ããã =item * @@ -7142,12 +7137,12 @@ =end original -Lvalue subroutines used to copy their return values in rvalue context. Not -only was this a waste of CPU cycles, but it also caused bugs. A C<($)> -prototype would cause an lvalue sub to copy its return value [perl #51408], -and C<while(lvalue_sub() =~ m/.../g) { ... }> would loop endlessly -[perl #78680]. -(TBT) +左辺å¤ãµãã«ã¼ãã³ã¯å³è¾ºå¤ã³ã³ããã¹ãã§ã¯è¿ãå¤ãã³ãã¼ãã¦ãã¾ããã +ãã㯠CPU ãµã¤ã¯ã«ã®ç¡é§ã§ããã ãã§ãªãããã°ãå¼ãèµ·ããã¦ãã¾ããã +C<($)> ãããã¿ã¤ãã«ãã£ã¦å·¦è¾ºå¤ãµãã«ã¼ãã³ãè¿ãå¤ã +ã³ãã¼ãã¦ãã¾ãã [perl #51408]; ã¾ã +C<while(lvalue_sub() =~ m/.../g) { ... }> ã¯ç¡éã«ã¼ãã«ãªã£ã¦ãã¾ãã +[perl #78680]ã =item * @@ -7358,10 +7353,9 @@ =end original -Arithmetic assignment (C<$left += $right>) involving overloaded objects -that rely on the 'nomethod' override no longer segfault when the left -operand is not overloaded. -(TBT) +'nomethod' ãªã¼ãã¼ã©ã¤ãã«ä¾åãããªã¼ãã¼ãã¼ãããããªãã¸ã§ã¯ãã« +é¢ä¿ããç®è¡æ¼ç® (C<$left += $right>) ã¯å·¦ãªãã©ã³ãã +ãªã¼ãã¼ãã¼ãããã¦ããªãã¦ãã»ã°ã¡ã³ãã¼ã·ã§ã³ãã©ã«ãããªããªãã¾ããã =item * @@ -7373,10 +7367,9 @@ =end original -Errors that occur when methods cannot be found during overloading now -mention the correct package name, as they did in 5.8.x, instead of -erroneously mentioning the "overload" package, as they have since 5.10.0. -(TBT) +ãªã¼ãã¼ãã¼ãæã«ã¡ã½ãããè¦ä»ãããªãã£ãã¨ãã«çºçããã¨ã©ã¼ã¯ã +5.8.x ã§åºæ¥ã¦ããããã«ãæ£ããããã±ã¼ã¸åã«è¨åããããã«ãªãã¾ãã; +5.10.0 ããã¯ééã£ã¦ "overload" ããã±ã¼ã¸ã«è¨åãã¦ãã¾ããã =item * @@ -7497,7 +7490,8 @@ =end original C</.*/g> would sometimes refuse to match at the end of a string that ends -with "\n". This has been fixed [perl #109206]. +with "\n". +ããã¯ä¿®æ£ããã¾ãã [perl #109206]ã (TBT) =item * @@ -7513,8 +7507,8 @@ Starting with 5.12.0, Perl used to get its internal bookkeeping muddled up after assigning C<${ qr// }> to a hash element and locking it with -L<Hash::Util>. This could result in double frees, crashes, or erratic -behavior. +L<Hash::Util>. +ããã«ããäºé解æ¾ãã¯ã©ãã·ã¥ãééã£ãæ¯ãèããå¼ãèµ·ããã¦ãã¾ããã (TBT) =item * @@ -7530,8 +7524,8 @@ The new (in 5.14.0) regular expression modifier C</a> when repeated like C</aa> forbids the characters outside the ASCII range that match -characters inside that range from matching under C</i>. This did not -work under some circumstances, all involving alternation, such as: +characters inside that range from matching under C</i>. +ããã¯ä¸é¨ã®ç¶æ³ã§ã¯åä½ãã¦ãã¾ããã§ãã; 次ã®ãããªå ¨ã¦ã«é¢é£ããé¸æã¯: (TBT) "\N{KELVIN SIGN}" =~ /k|foo/iaa; @@ -7609,9 +7603,9 @@ =end original -A few characters in regular expression pattern matches did not -match correctly in some circumstances, all involving C</i>. The -affected characters are: +æ£è¦è¡¨ç¾ãã¿ã¼ã³ãããã³ã°å ã®ããã¤ãã®æå㯠C</i> ã«é¢é£ããä¸é¨ã® +ç¶æ³ã§ã¯æ£ãããããã³ã°ãã¦ãã¾ããã§ããã +å½±é¿ãåãã¦ããæåã¯: COMBINING GREEK YPOGEGRAMMENI, GREEK CAPITAL LETTER IOTA, GREEK CAPITAL LETTER UPSILON, @@ -7622,9 +7616,7 @@ GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS, LATIN SMALL LETTER LONG S, LATIN SMALL LIGATURE LONG S T, -and -LATIN SMALL LIGATURE ST. -(TBT) +LATIN SMALL LIGATURE ST ã§ãã =item * @@ -7662,8 +7654,8 @@ =end original -Three problematic Unicode characters now work better in regex pattern matching under C</i>. -(TBT) +ä¸ã¤ã®åé¡ã®ãã Unicode æå㯠C</i> ã®ãã¨ã§ã®æ£è¦è¡¨ç¾ +ãã¿ã¼ã³ãããã³ã°ã§ããããåä½ããããã«ãªãã¾ããã =begin original @@ -7684,20 +7676,20 @@ =end original -In the past, three Unicode characters: +以åã¯ãä¸ã¤ã® Unicode æå: LATIN SMALL LETTER SHARP S, GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS, -and GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS, along with the sequences that they fold to (including "ss" for LATIN SMALL LETTER SHARP S), did not properly match under C</i>. 5.14.0 fixed some of these cases, but introduced others, including a panic when one of the characters or sequences was used in the C<(?(DEFINE)> regular expression predicate. -The known bugs that were introduced in 5.14 have now been fixed; as well -as some other edge cases that have never worked until now. These all -involve using the characters and sequences outside bracketed character -classes under C</i>. This closes [perl #98546]. +5.14 ã§ä½ãè¾¼ã¾ããæ¢ç¥ã®ãã°ã¯ä¿®æ£ããã¾ãã; åæ§ã«ä»ã¾ã§ +åä½ãã¦ããªãã£ããã®ä»ã®ããã¤ãã®ã¨ãã¸ã±ã¼ã¹ãä¿®æ£ããã¾ããã +ãããå ¨ã¦ã¯ C</i> ã®å ã§ã®å¤§ãã£ãæåã¯ã©ã¹ã®å¤å´ã§ã®æåã並ã³ã« +é¢é£ãããã®ã§ãã +ãã㯠[perl #98546] ãéãã¾ãã (TBT) =begin original @@ -7711,8 +7703,8 @@ There remain known problems when using certain characters with multi-character folds inside bracketed character classes, including such -constructs as C<qr/[\N{LATIN SMALL LETTER SHARP}a-z]/i>. These -remaining bugs are addressed in [perl #89774]. +constructs as C<qr/[\N{LATIN SMALL LETTER SHARP}a-z]/i>. +ãããã®æ®ã£ã¦ãããã°ã¯ [perl #89774] ã§å¯¾å¿ãã¦ãã¾ãã (TBT) =item * @@ -7748,9 +7740,9 @@ =end original -In 5.14, C</[[:lower:]]/i> and C</[[:upper:]]/i> no longer matched the -opposite case. This has been fixed [perl #101970]. -(TBT) +5.14 ã§ã¯ C</[[:lower:]]/i> 㨠C</[[:upper:]]/i> ã¯éã®å¤§æåå°æå㨠+ãããã³ã°ãã¦ãã¾ããã§ããã +ããã¯ä¿®æ£ããã¾ãã [perl #101970]ã =item * @@ -7761,9 +7753,8 @@ =end original -A regular expression match with an overloaded object on the right-hand side -would sometimes stringify the object too many times. -(TBT) +å³å´ã§ã®ãªã¼ãã¼ãã¼ãããããªãã¸ã§ã¯ãã§ã®æ£è¦è¡¨ç¾ãããã³ã°ã¯ã¨ãã©ã +ãªãã¸ã§ã¯ãã®æååååæ°ãå¤ããã¾ããã =item * @@ -7797,8 +7788,8 @@ In case-insensitive regular expression pattern matching, no longer on UTF-8 encoded strings does the scan for the start of match look only at -the first possible position. This caused matches such as -C<"f\x{FB00}" =~ /ff/i> to fail. +the first possible position. +ããã«ãã C<"f\x{FB00}" =~ /ff/i> ã®ãããªãããã³ã°ã失æãã¦ãã¾ããã (TBT) =item * @@ -7810,9 +7801,8 @@ =end original -The regexp optimizer no longer crashes on debugging builds when merging -fixed-string nodes with inconvenient contents. -(TBT) +ãããã°ãã«ãã§æ£è¦è¡¨ç¾æé©åå¨ãä¸é½åãªå 容ã®åºå®æååãã¼ãã +ãã¼ã¸ããã¨ãã«ã¯ã©ãã·ã¥ããªããªãã¾ããã =item * @@ -7856,8 +7846,7 @@ =end original -C<< (?foo: ...) >> no longer loses passed in character set. -(TBT) +C<< (?foo: ...) >> ã¯æåéåã§æ¸¡ããããã®ã失ããªããªãã¾ããã =item * @@ -7869,10 +7858,9 @@ =end original -The trie optimization used to have problems with alternations containing -an empty C<(?:)>, causing C<< "x" =~ /\A(?>(?:(?:)A|B|C?x))\z/ >> not to -match, whereas it should [perl #111842]. -(TBT) +trie æé©åã¯ç©ºã® C<(?:)> ãå«ãé¸æã«åé¡ãããã +C<< "x" =~ /\A(?>(?:(?:)A|B|C?x))\z/ >> ã¯ãããã³ã°ããã¹ããªã®ã« +失æãã¦ãã¾ãã [perl #111842]ã =item * @@ -7883,9 +7871,8 @@ =end original -Use of lexical (C<my>) variables in code blocks embedded in regular -expressions will no longer result in memory corruption or crashes. -(TBT) +æ£è¦è¡¨ç¾ã«åãè¾¼ã¾ããã³ã¼ããããã¯ã§ã¬ãã·ã«ã« (C<my>) å¤æ°ã使ã£ã¦ã +ã¡ã¢ãªç ´å£ãã¯ã©ãã·ã¥ãå¼ãèµ·ãããªããªãã¾ããã =begin original @@ -7895,7 +7882,7 @@ =end original -Nevertheless, these code blocks are still experimental, as there are still +ããã§ããªãããããã®ã³ã¼ããããã¯ã¯ã¾ã å®é¨çã§ãas there are still problems with the wrong variables being closed over (in loops for instance) and with abnormal exiting (e.g., C<die>) causing memory corruption. (TBT) @@ -7910,10 +7897,9 @@ =end original -The C<\h>, C<\H>, C<\v> and C<\V> regular expression metacharacters used to -cause a panic error message when trying to match at the end of the -string [perl #96354]. -(TBT) +The C<\h>, C<\H>, C<\v>, C<\V> æ£è¦è¡¨ç¾ã¡ã¿æåã¯æååã®æ«å°¾ã¨ +ãããã³ã°ãããã¨ããã¨ãã«ãããã¯ã¨ã©ã¼ã¡ãã»ã¼ã¸ãçºçããã¦ãã¾ãã +[perl #96354]ã =item * @@ -7925,10 +7911,8 @@ =end original -The abbreviations for four C1 control characters C<MW> C<PM>, C<RI>, and -C<ST> were previously unrecognized by C<\N{}>, vianame(), and -string_vianame(). -(TBT) +åã¤ã® C1 å¶å¾¡æå C<MW> C<PM>, C<RI>, C<ST> ã¯ä»¥å㯠C<\N{}>, vianame(), +string_vianame() ã§èªèããã¦ãã¾ããã§ããã =item * @@ -7941,8 +7925,8 @@ =end original Mentioning a variable named "&" other than C<$&> (i.e., C<@&> or C<%&>) no -longer stops C<$&> from working. The same applies to variables named "'" -and "`" [perl #24237]. +longer stops C<$&> from working. +åæ§ã®ãã¨ã¯ "'" ããã³ "`" ã¨ããååã®å¤æ°ã«ãé©ç¨ããã¾ã [perl #24237]ã (TBT) =item * @@ -7954,9 +7938,8 @@ =end original -Creating a C<UNIVERSAL::AUTOLOAD> sub no longer stops C<%+>, C<%-> and -C<%!> from working some of the time [perl #105024]. -(TBT) +C<UNIVERSAL::AUTOLOAD> ãµãã«ã¼ãã³ãä½æãã¦ãã¨ãã©ã C<%+>, C<%->, +C<%!> ãåä½ããªããªããã¨ã¯ãªããªãã¾ãã [perl #105024]ã =back @@ -7975,9 +7958,8 @@ =end original -C<~~> 㯠Any~~Object ã®åªå é ä½ãæ£ããæ±ããããã«ãªãã, and is not tricked -by an overloaded object on the left-hand side. -(TBT) +C<~~> 㯠Any~~Object ã®åªå é ä½ãæ£ããæ±ããããã«ãªããå·¦å´ã«ãã +ãªã¼ãã¼ãã¼ãããããªãã¸ã§ã¯ãã«é¨ãããªããªãã¾ããã =item * @@ -7990,11 +7972,10 @@ =end original -In Perl 5.14.0, C<$tainted ~~ @array> stopped working properly. Sometimes -it would erroneously fail (when C<$tainted> contained a string that occurs -in the array I<after> the first element) or erroneously succeed (when -C<undef> occurred after the first element) [perl #93590]. -(TBT) +Perl 5.14.0 ã§ã¯ãC<$tainted ~~ @array> ã¯æ£ããåä½ããªããªã£ã¦ãã¾ããã +ã¨ãã©ã(C<$tainted> ãæåã®è¦ç´ ã® I<å¾ã«> é åã«ç¾ããå ´å)ééã£ã¦ +失æãããã(æåã®è¦ç´ ã®å¾ã« C<undef> ãç¾ããå ´å) ééã£ã¦æåããã +ãã¦ãã¾ãã [perl #93590]ã =back @@ -8015,8 +7996,8 @@ =end original C<sort> was not treating C<sub {}> and C<sub {()}> as equivalent when -such a sub was provided as the comparison routine. It used to croak on -C<sub {()}>. +such a sub was provided as the comparison routine. +以å㯠C<sub {()}> 㧠croak ãã¦ãã¾ããã (TBT) =item * @@ -8028,9 +8009,9 @@ =end original -C<sort> now works once more with custom sort routines that are XSUBs. It -stopped working in 5.10.0. -(TBT) +C<sort> ã¯åã³ XSUB ã§ããã«ã¹ã¿ã ã½ã¼ããµãã«ã¼ãã³ã§ã +åä½ããããã«ãªãã¾ããã +5.10.0 ããåä½ããªããªã£ã¦ãã¾ããã =item * @@ -8041,9 +8022,9 @@ =end original -C<sort> with a constant for a custom sort routine, although it produces -unsorted results, no longer crashes. It started crashing in 5.10.0. -(TBT) +C<sort> ã§ã«ã¹ã¿ã ã½ã¼ãã«ã¼ãã³ã¨ãã¦å®æ°ãæå®ããã¨ãã½ã¼ããããªã +çµæãåºåãã¾ããããã¯ãã¯ã©ãã·ã¥ããªããªãã¾ããã +ãã㯠5.10.0 ããã¯ã©ãã·ã¥ãã¦ãã¾ããã =item * @@ -8102,9 +8083,8 @@ =end original -Tied (and otherwise magical) variables are no longer exempt from the -"Attempt to use reference as lvalue in substr" warning. -(TBT) +tie ããã (ããã³ãã®ä»ã®ãã¸ã«ã«ãª) å¤æ°ã§ã +"Attempt to use reference as lvalue in substr" è¦åãåºãããã«ãªãã¾ããã =item * @@ -8116,10 +8096,10 @@ =end original -That warning now occurs when the returned lvalue is assigned to, not -when C<substr> itself is called. This only makes a difference if the -return value of C<substr> is referenced and assigned to later. -(TBT) +ãã®è¦åã¯ãC<substr> èªèº«ãå¼ã³åºãããã¨ãã§ã¯ãªãã左辺å¤ã +ä»£å ¥ãããã¨ãã«çºçãã¾ãã +ããã«ããéãã¯ãC<substr> ã®è¿ãå¤ããªãã¡ã¬ã³ã¹ããã¦ããã®å¾ã§ +ä»£å ¥ãããã¨ãã®ã¿ã§ãã =item * @@ -8132,11 +8112,10 @@ =end original -Passing a substring of a read-only value or a typeglob to a function -(potential lvalue context) no longer causes an immediate "Can't coerce" -or "Modification of a read-only value" error. That error occurs only -if the passed value is assigned to. -(TBT) +èªã¿è¾¼ã¿å°ç¨ã®å¤ãåã°ããã®é¨åæååã(æ½å¨çã«å·¦è¾ºå¤ã³ã³ããã¹ãã«ãªã) +é¢æ°ã«æ¸¡ãã¦ããç´ã¡ã« "Can't coerce" ã +"Modification of a read-only value" ã¨ã©ã¼ãçºçãããªããªãã¾ããã +ãã®ã¨ã©ã¼ã¯æ¸¡ãããå¤ãä»£å ¥ãããæã«ã ãçºçãã¾ãã =begin original @@ -8146,10 +8125,9 @@ =end original -The same thing happens with the "substr outside of string" error. If -the lvalue is only read from, not written to, it is now just a warning, as -with rvalue C<substr>. -(TBT) +åããã¨ã¯ "substr outside of string" ã¨ã©ã¼ã§èµ·ããã¾ãã +左辺å¤ãèªã¿è¾¼ã¾ããã ãã§æ¸ãè¾¼ã¾ããªããªããå³è¾ºå¤ã® C<substr> ã¨åæ§ã +åã«è¦åã ããåºãããã«ãªãã¾ããã =item * @@ -8160,9 +8138,8 @@ =end original -C<substr> assignments no longer call FETCH twice if the first argument -is a tied variable, just once. -(TBT) +C<substr> ä»£å ¥ã¯ã第ä¸å¼æ°ã tie ãããå¤æ°ã®å ´åã« FETCH ã 2 å +å¼ã³åºããããã¨ã¯ãªããªãã1 åã ãã«ãªãã¾ããã =back @@ -8179,11 +8156,11 @@ =end original -Some parts of Perl did not work correctly with nulls (C<chr 0>) embedded in -strings. That meant that, for instance, C<< $m = "a\0b"; foo->$m >> would -call the "a" method, instead of the actual method name contained in $m. -These parts of perl have been fixed to support nulls: -(TBT) +Perl ã®ä¸é¨ã¯æååä¸ã«çµã¿è¾¼ã¾ãã NUL æå (C<chr 0>) ãæ£ãã +æ±ãã¾ããã§ããã +ããã¯ãä¾ãã°ãC<< $m = "a\0b"; foo->$m >> ã¯ãå®éã« $m ã«å«ã¾ãã¦ãã +ã¡ã½ããåã§ã¯ãªãã"a" ã¡ã½ãããå¼ã³åºããã¦ãããã¨ãæå³ãã¾ãã +以ä¸ã®é¨åã NUL æåã«å¯¾å¿ããããã«ä¿®æ£ããã¾ãã: =over @@ -8276,10 +8253,10 @@ =end original -Typeglobs returned from threads are no longer cloned if the parent thread -already has a glob with the same name. This means that returned -subroutines will now assign to the right package variables [perl #107366]. -(TBT) +ã¹ã¬ããããè¿ãããåã°ããã¯ã親ã¹ã¬ãããæ¢ã«åãååã®ã°ããã +æã£ã¦ããå ´åã¯ãã¯ãã¯ãã¼ã³ãããªããªãã¾ããã +ããã¯ãè¿ããããµãã«ã¼ãã³ãæ£ããããã±ã¼ã¸å¤æ°ã«ä»£å ¥ããããã¨ã +æå³ãã¾ã [perl #107366]ã =item * @@ -8290,9 +8267,8 @@ =end original -Some cases of threads crashing due to memory allocation during cloning have -been fixed [perl #90006]. -(TBT) +ã¯ãã¼ã³ä¸ã®ã¡ã¢ãªå²ãå½ã¦ã«ãã£ã¦ã¹ã¬ãããã¯ã©ãã·ã¥ããããã¤ãã® +å ´åãä¿®æ£ããã¾ãã [perl #90006]ã =item * @@ -8320,8 +8296,9 @@ =end original -Locking a subroutine (via C<lock &sub>) is no longer a compile-time error -for regular subs. For lvalue subroutines, it no longer tries to return the +(C<lock &sub> ã«ãã£ã¦) ãµãã«ã¼ãã³ãããã¯ãã¦ããé常ã®ãµãã«ã¼ãã³ã« +é¢ãã¦ã¯ã³ã³ãã¤ã«ã¨ã©ã¼ã«ãªããªããªãã¾ããã +左辺å¤ãµãã«ã¼ãã³ã«é¢ãã¦ã¯ãit no longer tries to return the sub as a scalar, resulting in strange side effects like C<ref \$_> returning "CODE" in some instances. (TBT) @@ -8333,9 +8310,9 @@ =end original -C<lock &sub> is now a run-time error if L<threads::shared> is loaded (a -no-op otherwise), but that may be rectified in a future version. -(TBT) +C<lock &sub> 㯠L<threads::shared> ãèªã¿è¾¼ã¾ãã¦ããã¨å®è¡æã¨ã©ã¼ã +åºãããã«ãªãã¾ãã (èªã¿è¾¼ã¾ãã¦ããªããã°ä½ãèµ·ããã¾ãã) ãã +ããã¯å°æ¥ã®ãã¼ã¸ã§ã³ã§ä¿®æ£ãããããããã¾ããã =back @@ -8354,9 +8331,8 @@ =end original -Various cases in which FETCH was being ignored or called too many times -have been fixed: -(TBT) +FETCH ãç¡è¦ããããå¤ãå¼ã³åºãããããããã¦ããæ§ã ãªç¶æ³ã +ä¿®æ£ããã¾ãã: =over @@ -8580,9 +8556,8 @@ =end original -Four-argument C<select> no longer produces its "Non-string passed as -bitmask" warning on tied or tainted variables that are strings. -(TBT) +4 å¼æ°ã® C<select> ã¯æååã§ãã tie ããããæ±æããã¦ããå¤æ°ã«å¯¾ã㦠+"Non-string passed as bitmask" è¦åãåºåããªããªãã¾ããã =item * @@ -8593,9 +8568,8 @@ =end original -Localizing a tied scalar that returns a typeglob no longer stops it from -being tied till the end of the scope. -(TBT) +åã°ãããè¿ã tie ãããã¹ã«ã©ããã¼ã«ã«åãã¦ãã¹ã³ã¼ãã®çµããã¾ã§ +tie ç¶æ ãæ¢ããªããªãã¾ããã =item * @@ -8608,8 +8582,8 @@ =end original Attempting to C<goto> out of a tied handle method used to cause memory -corruption or crashes. Now it produces an error message instead -[perl #8611]. +corruption or crashes. +ä»ã§ã¯ä»£ããã«ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããã¾ã [perl #8611]ã (TBT) =item * @@ -8628,7 +8602,8 @@ subroutine reference: if the last thing assigned to or returned from the variable was a reference or typeglob, the C<\&$tied> could either crash or return the wrong subroutine. The reference case is a regression introduced -in Perl 5.10.0. For typeglobs, it has probably never worked till now. +in Perl 5.10.0. +åã°ããã«é¢ãã¦ã¯ãããããä»ã¾ã§å ¨ãåä½ãã¦ãã¾ããã§ããã (TBT) =back @@ -8678,7 +8653,8 @@ assigning something else used to blow away all magic. This meant that tied variables would come undone, C<$!> would stop getting updated on failed system calls, C<$|> would stop setting autoflush, and other -mischief would take place. This has been fixed. +mischief would take place. +ããã¯ä¿®æ£ããã¾ããã (TBT) =item * @@ -8690,9 +8666,8 @@ =end original -C<< version->new("version") >> and C<printf "%vd", "version"> no longer -crash [perl #102586]. -(TBT) +C<< version->new("version") >> 㨠C<printf "%vd", "version"> 㯠+ãã¯ãã¯ã©ãã·ã¥ããªããªãã¾ãã [perl #102586]ã =item * @@ -8703,9 +8678,8 @@ =end original -Version comparisons, such as those that happen implicitly with C<use -v5.43>, no longer cause locale settings to change [perl #105784]. -(TBT) +C<use v5.43> ã§æé»çã«è¡ããããããªãã¼ã¸ã§ã³æ¯è¼ã§ããã¯ã +ãã±ã¼ã«è¨å®ãå¤æ´ãããªããªãã¾ãã [perl #105784]ã =item * @@ -8716,9 +8690,8 @@ =end original -Version objects no longer cause memory leaks in boolean context -[perl #109762]. -(TBT) +ãã¼ã¸ã§ã³ãªãã¸ã§ã¯ãã¯ãã¯ãçå½å¤ã³ã³ããã¹ã㧠+ã¡ã¢ãªãªã¼ã¯ããªããªãã¾ãã [perl #109762]ã =back @@ -8756,11 +8729,11 @@ =end original -New XSUBs now produce redefinition warnings if they overwrite existing -subs, as they did in 5.8.x. (The C<autouse> logic was reversed in -5.10-14. Only subroutines from the C<autouse> namespace would warn -when clobbered.) -(TBT) +æ°ãã XSUB ã¯ã5.8.x ã§è¡ã£ã¦ããããã«ãæ¢ã«åå¨ãã¦ãããµãã«ã¼ãã³ã +ä¸æ¸ãããã¨åå®ç¾©è¦åãåºåããããã«ãªãã¾ããã +(C<autouse> ã®ãã¸ãã¯ã¯ 5.10-14 ã§å·®ãæ»ããã¾ããã +C<autouse> åå空éããã®ãµãã«ã¼ãã³ã ããä¸æ¸ããããã¨è¦åã +çºçãã¾ãã) =item * @@ -8773,11 +8746,10 @@ =end original -C<newCONSTSUB> used to use compile-time warning hints, instead of -run-time hints. The following code should never produce a redefinition -warning, but it used to, if C<newCONSTSUB> redefined an existing -subroutine: -(TBT) +C<newCONSTSUB> ã¯å®è¡æãã³ãã§ã¯ãªããã³ã³ãã¤ã«æãã³ãã +使ã£ã¦ãã¾ããã +以ä¸ã®ã³ã¼ãã¯åå®ç¾©è¦åãçæããã¹ãã§ããã¾ããããC<newCONSTSUB> ã +æ¢ã«ãããµãã«ã¼ãã³ã§åå®ç¾©ãããã¨çæãã¦ãã¾ãã: use warnings; BEGIN { @@ -8797,8 +8769,9 @@ =end original -Redefinition warnings for constant subroutines are on by default (what -are known as severe warnings in L<perldiag>). This occurred only +å®æ°ãµãã«ã¼ãã³ã®åå®ç¾©è¦åã¯ããã©ã«ãã§ãªã³ã§ã (L<perldiag> ã§ã¯éè¦ãª +è¦åã¨ãã¦ç¥ããã¦ãã¾ã)ã +This occurred only when it was a glob assignment or declaration of a Perl subroutine that caused the warning. If the creation of XSUBs triggered the warning, it was not a default warning. This has been corrected. @@ -8813,9 +8786,8 @@ =end original -The internal check to see whether a redefinition warning should occur -used to emit "uninitialized" warnings in cases like this: -(TBT) +åå®ç¾©è¦åãèµ·ãããã©ããã®å é¨ãã§ãã¯ã¯ä»¥ä¸ã®ãããªå½¢ã§ +"uninitialized" è¦åãåºåãã¦ãã¾ãã: use warnings "uninitialized"; use constant {u => undef, v => undef}; @@ -8826,7 +8798,7 @@ =head2 Warnings, "Uninitialized" -(è¦å: ãæªå®ç¾©ã) +(è¦å: "Uninitialized") =over @@ -8840,10 +8812,9 @@ =end original -Various functions that take a filehandle argument in rvalue context -(C<close>, C<readline>, etc.) used to warn twice for an undefined handle -[perl #97482]. -(TBT) +å³è¾ºå¤ã³ã³ããã¹ãã§ãã¡ã¤ã«ãã³ãã«å¼æ°ãåãæ§ã ãªé¢æ° +(C<close>, C<readline>, ãªã©) ã¯æªå®ç¾©ãã³ãã«ã«å¯¾ã㦠2 åè¦åã +åºåãã¦ãã¾ãã [perl #97482]ã =item * @@ -8854,9 +8825,8 @@ =end original -C<dbmopen> now only warns once, rather than three times, if the mode -argument is C<undef> [perl #90064]. -(TBT) +C<dbmopen> ã¯ãmode å¼æ°ã C<undef> ã®å ´å㯠3 åã§ã¯ãªã 1 åã ã +è¦åãåºåãããããã«ãªãã¾ãã [perl #90064]ã =item * @@ -8868,10 +8838,9 @@ =end original -The C<+=> operator does not usually warn when the left-hand side is -C<undef>, but it was doing so for tied variables. This has been fixed -[perl #44895]. -(TBT) +C<+=> æ¼ç®åã¯é常左å´ã C<undef> ã®ã¨ãã¯è¦åãåºã¾ãããtie ããã +å¤æ°ã§ã¯åºã¦ãã¾ããã§ããã +ããã¯ä¿®æ£ããã¾ãã [perl #44895]ã =item * @@ -8884,7 +8853,7 @@ =end original -A bug fix in Perl 5.14 introduced a new bug, causing "uninitialized" +Perl 5.14 ã§ã®ãã°ä¿®æ£ãæ°ãããã°ãä½ãè¾¼ãã§ãã¾ãã; causing "uninitialized" warnings to report the wrong variable if the operator in question had two operands and one was C<%{...}> or C<@{...}>. This has been fixed [perl #103766]. @@ -8899,9 +8868,8 @@ =end original -C<..> and C<...> in list context now mention the name of the variable in -"uninitialized" warnings for string (as opposed to numeric) ranges. -(TBT) +ãªã¹ãã³ã³ããã¹ãã§ã® C<..> 㨠C<...> ã¯ã(æ°å¤ã§ã¯ãªã) æååã®ç¯å²ã« +対ãã "uninitialized" è¦åã«å¯¾ãã¦å¤æ°åã«è§¦ããããã«ãªãã¾ããã =back @@ -8921,10 +8889,10 @@ =end original -Weakening the first argument to an automatically-invoked C<DESTROY> method -could result in erroneous "DESTROY created new reference" errors or -crashes. Now it is an error to weaken a read-only reference. -(TBT) +èªåçã«èµ·åããã C<DESTROY> ã¡ã½ããã®æåã®å¼æ°ãå¼±ãããã¨ã +ééã£ã "DESTROY created new reference" ã¨ã©ã¼ãåºãã +ã¯ã©ãã·ã¥ããããã¦ãã¾ããã +èªã¿è¾¼ã¿å°ç¨ãªãã¡ã¬ã³ã¹ãå¼±ãããã¨ã¨ã©ã¼ãåºãããã«ãªãã¾ããã =item * @@ -8935,9 +8903,8 @@ =end original -Weak references to lexical hashes going out of scope were not going stale -(becoming undefined), but continued to point to the hash. -(TBT) +ã¹ã³ã¼ãå¤ã«ãªã£ãã¬ãã·ã«ã«ããã·ã¥ã¸ã®å¼±ãåç §ã¯æªå®ç¾©ã«ãªããã +ããã·ã¥ãæãç¶ãã¦ãã¾ããã =item * @@ -8950,11 +8917,11 @@ =end original -Weak references to lexical variables going out of scope are now broken -before any magical methods (e.g., DESTROY on a tie object) are called. -This prevents such methods from modifying the variable that will be seen -the next time the scope is entered. -(TBT) +ã¹ã³ã¼ãå¤ã«ãªã£ãã¬ãã·ã«ã«å¤æ°ã¸ã®å¼±ãåç §ã¯ (tie ããããªãã¸ã§ã¯ãã® +DESTROY ãªã©ã®) ãã¸ã«ã«ãªã¡ã½ãããå¼ã³åºãããåã«å£ãããããã« +ãªãã¾ããã +ããã«ãããã®ãããªã¡ã½ããã次ã«ã¹ã³ã¼ãã«å ¥ã£ãã¨ãã«è¦ããå¤æ°ã +ä¿®æ£ãããã¨ãé²ãã¾ãã =item * @@ -8969,13 +8936,12 @@ =end original -Creating a weak reference to an @ISA array or accessing the array index -(C<$#ISA>) could result in confused internal bookkeeping for elements -later added to the @ISA array. For instance, creating a weak -reference to the element itself could push that weak reference on to @ISA; -and elements added after use of C<$#ISA> would be ignored by method lookup -[perl #85670]. -(TBT) + @ ISA é åã¸ã®å¼±ãåç §ãä½ã£ãããé åã®ã¤ã³ããã¯ã¹ã«ã¢ã¯ã»ã¹ (C<$#ISA>) +ãããããã¨ãå¾ã§ @ISA é åã¸è¿½å ããè¦ç´ ã®ããã®å é¨ç®¡çã +æ··ä¹±ãã¦ãã¾ããã +ä¾ãã°ãè¦ç´ èªèº«ã¸ã®å¼±ãåç §ãä½ãã¨ãã®å¼±ãåç §ã @ISA ã«ããã·ã¥ããã¾ã; +ã¾ã C<$#ISA> ã使ã£ãå¾ã«è¦ç´ ã追å ããã¨ã¡ã½ããæ¤ç´¢ããç¡è¦ããã¾ã +[perl #85670]ã =back @@ -8996,11 +8962,11 @@ =end original -C<quotemeta> now quotes consistently the same non-ASCII characters under -C<use feature 'unicode_strings'>, regardless of whether the string is -encoded in UTF-8 or not, hence fixing the last vestiges (we hope) of the -notorious L<perlunicode/The "Unicode Bug">. [perl #77654]. -(TBT) +C<quotemeta> 㯠C<use feature 'unicode_strings'> ã®ãã¨ã§ãæååã +UTF-8 ãã©ããã«é¢ãããåãæåãä¸è²«æ§ãæã£ã¦ã¯ã©ã¼ãããããã«ãªãã¾ãã; +ããã«ãã£ã¦æªåé«ã L<perlunicode/The "Unicode Bug"> ã®æå¾(ã§ãããã¨ã +é¡ã£ã¦ãã¾ã)ã®æ®æ»ãä¿®æ£ããã¾ããã +[perl #77654]ã =begin original @@ -9009,9 +8975,9 @@ =end original -Which of these code points is quoted has changed, based on Unicode's -recommendations. See L<perlfunc/quotemeta> for details. -(TBT) +ãããã®ç¬¦å·ä½ç½®ã®ã©ããã¯ã©ã¼ãããããã¯ãUnicode ã®æ¨å¥¨ã«å¾ã£ã¦ +å¤æ´ããã¾ããã +詳ãã㯠L<perlfunc/quotemeta> ãåç §ãã¦ãã ããã =item * @@ -9022,9 +8988,8 @@ =end original -C<study> is now a no-op, presumably fixing all outstanding bugs related to -study causing regex matches to behave incorrectly! -(TBT) +C<study> ã¯ä½ãããªããªããstudy ãæ£è¦è¡¨ç¾ãããã³ã°ã®æ¯ãèããå½±é¿ã +ä¸ãããã¨ã«é¢é£ããããããå ¨ã¦ã®æªè§£æ±ºã®åé¡ã解決ãã¾ãã! =item * @@ -9037,11 +9002,11 @@ =end original -When one writes C<open foo || die>, which used to work in Perl 4, a -"Precedence problem" warning is produced. This warning used erroneously to -apply to fully-qualified bareword handle names not followed by C<||>. This -has been corrected. -(TBT) +Perl 4 ã§åä½ãã¦ãã C<open foo || die> ã¨æ¸ã㨠"Precedence problem" è¦åã +åºåããã¾ãã +ãã®è¦åã¯å®å ¨ä¿®é£¾ããã裸ã®åèªã®ãã³ãã«åã C<||> ã«å¼ãç¶ãã¦ããªããã¨ã« +ééã£ã¦é©ç¨ããã¦ãã¾ããã +ããã¯ä¿®æ£ããã¾ããã =item * @@ -9054,11 +9019,10 @@ =end original -After package aliasing (C<*foo:: = *bar::>), C<select> with 0 or 1 argument -would sometimes return a name that could not be used to refer to the -filehandle, or sometimes it would return C<undef> even when a filehandle -was selected. Now it returns a typeglob reference in such cases. -(TBT) +ããã±ã¼ã¸ã®å¥åå (C<*foo:: = *bar::>) ã®å¾ã0 å¼æ°ã 1 å¼æ°ã® +C<select> ã¯ã¨ãã©ããã¡ã¤ã«ãã³ãã«ãåç §ã§ããªãååãè¿ãããã +ãã¡ã¤ã«ãã³ãã«ãé¸æããã¦ããã®ã« C<undef> ãè¿ããããã¦ãã¾ããã +ãã®ãããªå ´åã§ã¯åã°ãããªãã¡ã¬ã³ã¹ãè¿ãããã«ãªãã¾ããã =item * @@ -9070,10 +9034,10 @@ =end original -C<PerlIO::get_layers> no longer ignores some arguments that it thinks are -numeric, while treating others as filehandle names. It is now consistent -for flat scalars (i.e., not references). -(TBT) +C<PerlIO::get_layers> ã¯æ°å¤ã§ããã¨èããããå¼æ°ãç¡è¦ãã¦ããã以å¤ã +ãã¡ã¤ã«ãã³ãã«åã¨ãã¦æ±ããã¨ãããªããªãã¾ããã +ãã©ãããª(ãªãã¡ã¬ã³ã¹ã§ã¯ãªã)ã¹ã«ã©ã«å¯¾ãã¦ä¸è²«æ§ã +æã¤ããã«ãªãã¾ããã =item * @@ -9083,8 +9047,7 @@ =end original -Unrecognized switches on C<#!> line -(TBT) +C<#!> è¡ã®èªèã§ããªããªãã·ã§ã³ =begin original @@ -9093,9 +9056,8 @@ =end original -If a switch, such as B<-x>, that cannot occur on the C<#!> line is used -there, perl dies with "Can't emulate...". -(TBT) +B<-x> ã®ããã«ãC<#!> è¡ã«ä½¿ããªããªãã·ã§ã³ãç¾ããã¨ãperl 㯠+"Can't emulate..." 㧠die ãã¾ãã =begin original @@ -9104,9 +9066,8 @@ =end original -It used to produce the same message for switches that perl did not -recognize at all, whether on the command line or the C<#!> line. -(TBT) +ã³ãã³ãã©ã¤ã³ã C<#!> è¡ãã«é¢ããããperl ãå ¨ãèªèã§ããªã +ãªãã·ã§ã³ã¨åãã¡ãã»ã¼ã¸ãåºåãã¦ãã¾ããã =begin original @@ -9114,8 +9075,8 @@ =end original -Now it produces the "Unrecognized switch" error message [perl #104288]. -(TBT) +ä»ã§ã¯ "Unrecognized switch" ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããããã«ãªãã¾ãã +[perl #104288]ã =item * @@ -9126,9 +9087,9 @@ =end original -C<system> now temporarily blocks the SIGCHLD signal handler, to prevent the -signal handler from stealing the exit status [perl #105700]. -(TBT) +C<system> ã¯ãã·ã°ãã«ãã³ãã©ãçµäºã³ã¼ããçãã®ãé²ãããã«ã +SIGCHLD ã·ã°ãã«ãã³ãã«ãä¸æçã«ãããã¯ããããã«ãªãã¾ãã +[perl #105700]ã =item * @@ -9140,10 +9101,9 @@ =end original -The %n formatting code for C<printf> and C<sprintf>, which causes the number -of characters to be assigned to the next argument, now actually -assigns the number of characters, instead of the number of bytes. -(TBT) +次ã®å¼æ°ã«ä»£å ¥ãããæåæ°ã表ç¾ãããC<printf> and C<sprintf> ã§ã® +%n ãã©ã¼ãããã£ã³ã°ã³ã¼ãã¯ããã¤ãæ°ã§ã¯ãªãå®éã«æåæ°ã +ä»£å ¥ããããã«ãªãã¾ããã =begin original @@ -9152,9 +9112,8 @@ =end original -It also works now with special lvalue functions like C<substr> and with -nonexistent hash and array elements [perl #3471, #103492]. -(TBT) +ã¾ããC<substr> ã®ãããªç¹æ®ãªå·¦è¾ºå¤é¢æ°ããåå¨ãã¦ããªãããã·ã¥ãé åã® +è¦ç´ ã§ãåä½ããããã«ãªãã¾ãã [perl #3471, #103492]ã =item * @@ -9185,8 +9144,8 @@ =end original -C<utf8::decode> now refuses to modify read-only scalars [perl #91850]. -(TBT) +C<utf8::decode> ã¯èªã¿è¾¼ã¿å°ç¨ã¹ã«ã©ã®ä¿®æ£ãæå¦ããããã«ãªãã¾ãã +[perl #91850]ã =item * @@ -9267,9 +9226,8 @@ =end original -The C<x> repetition operator no longer crashes on 64-bit builds with large -repeat counts [perl #94560]. -(TBT) +C<x> ç¹°ãè¿ãæ¼ç®å㯠64 ããããã«ãã§å¤§ããªç¹°ãè¿ãã«ã¦ã³ããæå®ãã¦ã +ã¯ã©ãã·ã¥ããªããªãã¾ãã [perl #94560]ã =item * @@ -9295,9 +9253,8 @@ =end original -C<use> and C<require> are no longer affected by the I/O layers active in -the caller's scope (enabled by L<open.pm|open>) [perl #96008]. -(TBT) +C<use> 㨠C<require> 㯠(L<open.pm|open> ã§æå¹ã«ãªã) å¼ã³åºãå´ã® +ã¹ã³ã¼ãã§æå¹ãª I/O 層ã«å½±é¿ãåããªããªãã¾ãã [perl #96008]ã =item * @@ -9309,10 +9266,9 @@ =end original -C<our $::e; $e> (which is invalid) no longer produces the "Compilation -error at lib/utf8_heavy.pl..." error message, which it started emitting in -5.10.0 [perl #99984]. -(TBT) +C<our $::e; $e> (ããã¯ä¸æ£ã§ã) 㯠"Compilation +error at lib/utf8_heavy.pl..." ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããªããªãã¾ãã; +ãã㯠5.10.0 ããåºåããã¦ãã¾ãã [perl #99984]ã =item * @@ -9323,9 +9279,8 @@ =end original -On 64-bit systems, C<read()> now understands large string offsets beyond -the 32-bit range. -(TBT) +64 ãããã·ã¹ãã ã§ã¯ãC<read()> 㯠32 ãããç¯å²ãè¶ ãã大ããªæåå +ãªãã»ãããç解ããããã«ãªãã¾ããã =item * @@ -9336,9 +9291,8 @@ =end original -Errors that occur when processing subroutine attributes no longer cause the -subroutine's op tree to leak. -(TBT) +ãµãã«ã¼ãã³å±æ§ãå¦çããã¨ãã«èµ·ããã¨ã©ã¼ã«ãã£ã¦ãµãã«ã¼ãã³ã®æ§ææ¨ã +ã¡ã¢ãªãªã¼ã¯ããªããªãã¾ããã =item * @@ -9362,10 +9316,9 @@ =end original -List assignment to lexical variables declared with attributes in the same -statement (C<my ($x, @ y) : blimp = (72,94)>) stopped working in Perl 5.8.0. -It has now been fixed. -(TBT) +åãæã§å±æ§ä»ãã§å®£è¨ããã¦ããã¬ãã·ã«ã«å¤æ°ã¸ã®ãªã¹ãä»£å ¥ +(C<my ($x, @ y) : blimp = (72,94)>) 㯠Perl 5.8.0 ã§åä½ããªããªã£ã¦ãã¾ããã +ããã¯ä¿®æ£ããã¾ããã =item * @@ -9432,9 +9385,8 @@ =end original -C<each(I<ARRAY>)> is now wrapped in C<defined(...)>, like C<each(I<HASH>)>, -inside a C<while> condition [perl #90888]. -(TBT) +C<each(I<ARRAY>)> ã¯ãC<while> æ¡ä»¶ã®ä¸ã§ã¯ãC<each(I<HASH>)> ã¨åæ§ã« +C<defined(...)> ã§ã©ãããããããã«ãªãã¾ãã [perl #90888]ã =item * @@ -9461,9 +9413,8 @@ =end original -Calling C<index> with a tainted constant no longer causes constants in -subsequently compiled code to become tainted [perl #64804]. -(TBT) +æ±æãããå®æ°ã«å¯¾ãã C<index> ã®å¼ã³åºãã«ãã£ã¦ãå¼ãç¶ãã³ã³ãã¤ã«ããã +ã³ã¼ãã®å®æ°ãæ±æãããªããªãã¾ãã [perl #64804]ã =item * @@ -9474,9 +9425,8 @@ =end original -Infinite loops like C<1 while 1> used to stop C<strict 'subs'> mode from -working for the rest of the block. -(TBT) +C<1 while 1> ã®ãããªç¡éã«ã¼ãã¯ããããã¯ã®æ®ãã®é¨å㧠+C<strict 'subs'> ã¢ã¼ããåä½ãã¦ãã¾ããã§ããã =item * @@ -9594,9 +9544,8 @@ =end original -Causing C<@DB::args> to be freed between uses of C<caller> no longer -results in a crash [perl #93320]. -(TBT) +C<caller> ã使ç¨ä¸ã« C<@DB::args> ã解æ¾ããã¦ã +ã¯ã©ãã·ã¥ããªããªãã¾ãã [perl #93320]ã =item * @@ -9636,8 +9585,8 @@ =end original -C<++> and C<--> now work on copies of globs, instead of dying. -(TBT) +C<++> 㨠C<--> ã¯ã°ããã®ã³ãã¼ã«å¯¾ãã¦ã die ããã« +åä½ããããã«ãªãã¾ããã =item * @@ -9647,8 +9596,7 @@ =end original -C<splice()> doesn't warn when truncating -(TBT) +C<splice()> ã¯åãè©°ããããã¨ãã«è¦åãåºãã¾ããã =begin original @@ -9657,9 +9605,8 @@ =end original -You can now limit the size of an array using C<splice(@a,MAX_LEN)> without -worrying about warnings. -(TBT) +è¦åãæ°ã«ããã« C<splice(@a,MAX_LEN)> ã使ã£ã¦é åã®ãµã¤ãºã +å¶éã§ããããã«ãªãã¾ããã =item * @@ -9670,9 +9617,8 @@ =end original -C<< $$ >> is no longer tainted. Since this value comes directly from -C<< getpid() >>, it is always safe. -(TBT) +C<< $$ >> ã¯ãã¯ãæ±æããã¾ããã +ãã®å¤ã¯å¸¸ã«ç´æ¥ C<< getpid() >> ããåå¾ãããã®ã§ã常ã«å®å ¨ã§ãã =item * @@ -9683,9 +9629,8 @@ =end original -The parser no longer leaks a filehandle if STDIN was closed before parsing -started [perl #37033]. -(TBT) +STDIN ããã¼ã¹ãéå§ããåã«éãããã¦ããã¼ãµã¯ãã¡ã¤ã«ãã³ãã«ã +ãªã¼ã¯ããªããªãã¾ãã [perl #37033]ã =item * @@ -9696,9 +9641,9 @@ =end original -C<< die; >> with a non-reference, non-string, or magical (e.g., tainted) -value in $@ now properly propagates that value [perl #111654]. -(TBT) +$@ ã«ãªãã¡ã¬ã³ã¹ã§ãªãã£ããæååã§ãªãã£ãããã¸ã«ã«ãª(ä¾ãã°æ±æããã) +å¤ãå ¥ã£ã¦ããã¨ãã« C<< die; >> ãã¦ããé©åã« +å±éãããããã«ãªãã¾ãã [perl #111654]ã =back @@ -9726,10 +9671,11 @@ =end original -If F<make> is Sun's F<make>, we get an error about a badly formed macro -assignment in the F<Makefile>. That happens when F<./Configure> tries to -make depends. F<Configure> then exits 0, but further F<make>-ing fails. -(TBT) +F<make> 㯠Sun ã® F<make> ãªããF<Makefile> ã®ä¸æ£ãªå½¢å¼ã®ãã¯ãä»£å ¥ã« +é¢ããã¨ã©ã¼ãçºçãã¾ãã +ãã㯠F<./Configure> ã make depends ãããã¨ããã¨ãã«èµ·ããã¾ãã +ãããã F<Configure> 㯠0 ã§çµäºãã¾ããããããªã F<make> 㯠+失æãã¾ãã =begin original @@ -9763,10 +9709,9 @@ =end original -When building as root with a umask that prevents files from being -other-readable, F<t/op/filetest.t> will fail. This is a test bug, not a -bug in perl's behavior. -(TBT) +ãã®ä»ã®ã¦ã¼ã¶ã¼ãèªã¿è¾¼ããªã umask ã®ç¶æ 㧠root ã§ãã«ãããã¨ã +F<t/op/filetest.t> ã¯å¤±æãã¾ãã +ããã¯ãã¹ãã®ãã°ã§ãperl ã®æ¯ãèãã®ãã°ã§ã¯ããã¾ããã =item * @@ -9780,12 +9725,11 @@ =end original -Configuring with a recent gcc and link-time-optimization, such as -C<Configure -Doptimize='-O2 -flto'> fails -because the optimizer optimizes away some of Configure's tests. A -workaround is to omit the C<-flto> flag when running Configure, but add -it back in while actually building, something like -(TBT) +C<Configure -Doptimize='-O2 -flto'> ã®ããã«ãæè¿ã® gcc ã¨ãªã³ã¯ææé©åã +æå¹ã«ã㦠Configure ããã¨ããªããã£ãã¤ã¶ã Configure ã®ããã¤ãã® +ãã¹ããæé©åã§åé¤ãã¦ãã¾ããã¨ã§å¤±æãã¾ãã +åé¿æ¹æ³ã¯ã以ä¸ã®ããã«ãConfigure ãå®è¡ããã¨ãã« C<-flto> ãã©ã°ã +çç¥ãã¦ãå®éã«ãã«ãããã¨ãã«ã¯åã³è¿½å ãã¾ã: sh Configure -Doptimize=-O2 make OPTIMIZE='-O2 -flto'