argra****@users*****
argra****@users*****
2012年 5月 21日 (月) 18:45:04 JST
Index: docs/perl/5.16.0/perl5160delta.pod diff -u docs/perl/5.16.0/perl5160delta.pod:1.21 docs/perl/5.16.0/perl5160delta.pod:1.22 --- docs/perl/5.16.0/perl5160delta.pod:1.21 Sat May 19 19:31:03 2012 +++ docs/perl/5.16.0/perl5160delta.pod Mon May 21 18:45:04 2012 @@ -89,7 +89,7 @@ ãã®ãªãªã¼ã¹ä»¥éãC<use v5.16> ã®ãããªãã¼ã¸ã§ã³å®£è¨ã¯ãæ°ããæ©è½ã æå¹ã«ãªãåã®å ¨ã¦ã®æ©è½ãç¡å¹ã«ãªãããã«ãªãã¾ããã -ããã¯ã以ä¸ã®ãããªãã®ãçã§ãããã¨ãæå³ãã¾ã: +ããã«ããã以ä¸ã®ãããªãã®ãçã«ãªãã¾ã: use 5.016; # only 5.16 features enabled here @@ -294,9 +294,9 @@ my $string = "string"; my $lvalue = \substr $string, -4, 2; - print $lvalue, "\n"; # prints "ri" + print $$lvalue, "\n"; # prints "ri" $string = "bailing twine"; - print $lvalue, "\n"; # prints "wi"; used to print "il" + print $$lvalue, "\n"; # prints "wi"; used to print "il" =begin original @@ -373,12 +373,12 @@ ã¢ããªã±ã¼ã·ã§ã³ãã¤ã¾ãããããããããªãå¤æ´ã®ä¸ã¤ã¯ã Latin-1 ã®ç¯å²ã«ããäºã¤ã®æå PILCROW SIGN ããã³ SECTION SIGN ã® ä¸è¬ã«ãã´ãªã¯ Other_Symbol ãã Other_Punctuation ã«å¤æ´ããã¾ããã -åãå¤æ´ã¯ Tibetan, Ethiopic, Aegean ã®æåã«å¯¾ãã¦ãè¡ããã¾ããã +åãå¤æ´ã¯ããããèªãã¨ããªãã¢èªãã¨ã¼ã²èªã®æåã«å¯¾ãã¦ãè¡ããã¾ããã 符å·ä½ç½® U+3248..U+324F (CIRCLED NUMBER TEN ON BLACK SQUARE ãã CIRCLED NUMBER EIGHTY ON BLACK SQUARE) ã®ä¸è¬ã«ãã´ãªã¯ Other_Symbol ãã Other_Numeric ã«å¤æ´ããã¾ããã -Line Break ç¹æ§ã¯ Hebrew 㨠Japanese ã§å¤æ´ããã¾ãã; ãã㦠6.1 ã§ã® -ãã®ä»ã®å¤æ´ã«ãããPerl ã®æ£è¦è¡¨ç¾æ§é C<\X> 㯠Thai 㨠Lao ã® +Line Break ç¹æ§ã¯ããã©ã¤èªã¨æ¥æ¬èªã§å¤æ´ããã¾ãã; ãã㦠6.1 ã§ã® +ãã®ä»ã®å¤æ´ã«ãããPerl ã®æ£è¦è¡¨ç¾æ§é C<\X> ã¯ã¿ã¤ã¨ã©ãªã¹ã® ããã¤ãã®æåã§ã¯ç°ãªã£ãåä½ããã¾ãã =begin original @@ -735,7 +735,7 @@ which tells Perl to use all but the C<LC_CTYPE> and C<LC_COLLATE> portions of the current locale. Instead, the character set is assumed -to be Unicode. This allows locales and Unicode to be seamlessly mixed, +to be Unicode. This lets locales and Unicode be seamlessly mixed, including the increasingly frequent UTF-8 locales. When using this hybrid form of locales, the C<:locale> layer to the L<open> pragma can be used to interface with the file system, and there are CPAN modules @@ -1213,8 +1213,8 @@ åãä»ãã¦ãã¾ããã ãã®å¤æ´ã«ããçµã¿è¾¼ã¿ã® C<read> é¢æ°ã¨ C<recv> é¢æ°ã(ç¹ã«)å¼æ°ã ãã¼ã¹ããæ¹æ³ã¨ä¸è²«æ§ãããããã«ãªãã¾ãã -ããã¯ãåãæ¹æ³ã§å¼æ°ããã¼ã¹ããã«ã¹ã¿ã ãµãã«ã¼ãã³ã§çµã¿è¾¼ã¿é¢æ°ã -ãªã¼ãã¼ã©ã¤ãã§ãããã¨ãæå³ãã¾ãã +ããã«ãããåãæ¹æ³ã§å¼æ°ããã¼ã¹ããã«ã¹ã¿ã ãµãã«ã¼ãã³ã§çµã¿è¾¼ã¿é¢æ°ã +ãªã¼ãã¼ã©ã¤ãã§ããããã«ãªãã¾ãã =head3 C<_> in subroutine prototypes @@ -1300,9 +1300,9 @@ =begin original -A hypothetical bug (probably non-exploitable in practice) due to the +A hypothetical bug (probably unexploitable in practice) because the incorrect setting of the effective group ID while setting C<$(> has been -fixed. The bug would only have affected systems that have C<setresgid()> +fixed. The bug would have affected only systems that have C<setresgid()> but not C<setregid()>, but no such systems are known to exist. =end original @@ -1539,7 +1539,7 @@ =begin original PerlIO supports a C<stdio> layer if stdio use is desired, and similarly a -sfio layer could be produced. +sfio layer could be produced. =end original @@ -1760,7 +1760,7 @@ æªå®ç¾©ã¨ãã¦æ±ãã"uninitialized" è¦åãåºåãã¦ãã¾ããã ä»ã§ã¯ __ANONIO__ ã¨æåååããã¾ã [perl #96326]ã -=head2 User-defined case changing operations +=head2 User-defined case-changing operations (ã¦ã¼ã¶ã¼å®ç¾©å¤§æåå¤æ´æä½) @@ -1838,7 +1838,7 @@ åã°ãããä»£å ¥ãããå¾ã®ã¹ã«ã©ã tie ãããã¨ããã¨ã代ããã«åã°ããã® IO ã¹ãããã«ãããã³ãã«ã tie ããã¾ãã -ããã¯ãã¹ã«ã©èªèº«ã tie ãããã¨ãä¸å¯è½ã«ãªãã¨è¨ããã¨ãæå³ãã¾ãã +ããã«ãããã¹ã«ã©èªèº«ã tie ãããã¨ãä¸å¯è½ã«ãªãã¾ãã ä¼¼ããããªåé¡ã¯ C<tied> 㨠C<untie> ã«å½±é¿ãä¸ãã¾ã: C<tied $scalar> 㯠æå¾ã«è¿ããããã®ãåã°ããã®å ´å㯠tie ãããã¹ã«ã©ã«å½ãè¿ãã ãã®ãã㪠tie ãããã¹ã«ã©ã« C<untie $scalar> ãã¦ãä½ãèµ·ãã¾ããã @@ -1940,8 +1940,8 @@ =end original -ããã¯ãC<getppid()> 㯠C<$$> ã¨åæ§ã«ãperl ããã£ãã·ã¥ãããã®ã§ã¯ãªã -OS ãèãã¦ããããã»ã¹ã®ç¾å¨ã®ç¶æ ã常ã«è¿ãã¨è¨ããã¨ãæå³ã¾ãã¾ãã +ããã«ãããC<getppid()> 㯠C<$$> ã¨åæ§ã«ãperl ããã£ãã·ã¥ãããã®ã§ã¯ãªã +OS ãèãã¦ããããã»ã¹ã®ç¾å¨ã®ç¶æ ã常ã«è¿ããã¨ã«ãªãã¾ãã =begin original @@ -2072,12 +2072,11 @@ è¡ããã¾ãã ããã¯ãä¾ãã° 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. +ãã®å¹çã®æªãã¯ãéå»ã«ä¸ã¤ã®ããã·ã¥å ã«èª¿æ»ã®çµæã¨ã +è¿ãã®ç¬¦å·ä½ç½®ãæ¢ããããã¨ã«ãªããããã¨ããæ³åã®ä¸ãé£æ¥ãã 64 +符å·ä½ç½®ã®çµæãæ°¸ç¶çã«è£å®ãããã¨ã§åãåãããã¦ãã¾ããã +ããããã®æ£è¦è¡¨ç¾ã«ã¿ã¤ããããããã® Unicode ç¹æ§ã¸ã®è¨åã«å¯¾ã㦠+å¥ã ã®ããã·ã¥ã使ããã¾ãã å¾ã£ã¦ãC<qr/\p{foo}abc\p{foo}/> ã¯äºã¤ã®ããã·ã¥ãçæãã¾ãã ä¸ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ã§ã®èª¿æ»ã¯ããä¸ã¤ã«ã¯ç¥ããããã¨ã¯ãªããæ£è¦è¡¨ç¾ã å¤ãã®ç°ãªã£ãåºãåå²ããã符å·ä½ç½®ã§ä½¿ãããã¨ããªã大ããããããã« @@ -2449,13 +2448,13 @@ =begin original -L<charnames> can now be invoked with a new option, C<:loose>, +C<charnames> can now be invoked with a new option, C<:loose>, which is like the existing C<:full> option, but enables Unicode loose name matching. Details are in L<charnames/LOOSE MATCHES>. =end original -L<charnames> ã¯æ°ãããªãã·ã§ã³ã§ãã C<:loose> ä»ãã§èµ·åã§ãã +C<charnames> ã¯æ°ãããªãã·ã§ã³ã§ãã C<:loose> ä»ãã§èµ·åã§ãã ãã®å ´åæ¢ã«ãã C<:full> ãªãã·ã§ã³ã¨åæ§ã§ãããUnicode ã®ç·©ã ååãããã³ã°ãå好ã«ãã¾ãã 詳細㯠L<charnames/LOOSE MATCHES> ã«ããã¾ãã @@ -2899,10 +2898,6 @@ L<IPC::Open3> ã¯ãã¼ã¸ã§ã³ 1.09 ãã 1.12 ã«æ´æ°ããã¾ããã -=over 4 - -=item * - =begin original Fixes a bug which prevented use of C<open3> on Windows when C<*STDIN>, @@ -2913,8 +2908,6 @@ C<*STDIN>, C<*STDOUT>, C<*STDERR> ããã¼ã«ã«åããã¦ããã¨ãã«ã Windows 㧠C<open3> ã使ããªããã°ãä¿®æ£ããã¾ããã -=item * - =begin original Fixes a bug which prevented duplicating numeric file descriptors on Windows. @@ -2923,8 +2916,6 @@ Windows ã§æ°å¤ãã¡ã¤ã«è¨è¿°åã®è¤è£½ãåºæ¥ãªããã°ãä¿®æ£ããã¾ããã -=item * - =begin original C<open3> with "-" for the program name works once more. This was broken in @@ -2935,8 +2926,6 @@ C<open3> ã§ã®ããã°ã©ã åã¨ãã¦ã® "-" ãåã³åä½ããããã«ãªãã¾ããã ããã¯ãã¼ã¸ã§ã³ 1.06 (å¾ã£ã¦ Perl 5.14.0) ã§å£ãã¦ãã¾ãã [perl #95748]ã -=back - =item * =begin original @@ -3470,13 +3459,11 @@ =end original -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. +C<sigsuspend> 㨠C<pause> ã¯è¿ãåã«ã·ã°ãã«ãã³ãã©ãå®è¡ããããã« +ãªãã¾ãã; ãããäºã¤ã®é¢æ°ã®ãã¤ã³ãã¯ã·ã°ãã«ãå±ãã¾ã§å¾ ã£ã¦ããããã +ãããèµ·åããã I<å¾ã«> è¿ããã¨ã ããã§ãã é 延ãã¾ãã®åããå®å ¨ãã·ã°ãã«ã¯ããããèµ·ãããã¨ã«ãã£ã¦ç«¶åæ¡ä»¶ã èµ·ãããã¨ãããå¯è½æ§ãé²ãã¾ã [perl #107216]ã -(TBT) =begin original @@ -3792,25 +3779,50 @@ =begin original -C<Devel::DProf> has been removed from the Perl core. Prior version was +L<Devel::DProf> has been removed from the Perl core. Prior version was 20110228.00. =end original -C<Devel::DProf> 㯠Perl ã³ã¢ããåé¤ããã¾ããã +L<Devel::DProf> 㯠Perl ã³ã¢ããåé¤ããã¾ããã 以åã®ãã¼ã¸ã§ã³ã¯ 20110228.00 ã§ããã =item * =begin original -C<Shell> has been removed from the Perl core. Prior version was 0.72_01. +L<Shell> has been removed from the Perl core. Prior version was 0.72_01. =end original -C<Shell> 㯠Perl ã³ã¢ããåé¤ããã¾ããã +L<Shell> 㯠Perl ã³ã¢ããåé¤ããã¾ããã 以åã®ãã¼ã¸ã§ã³ã¯ 0.72_01 ã§ããã +=item * + +=begin original + +Several old perl4-style libraries which have been deprecated with 5.14 +are now removed: + +=end original + +5.14 ã§éæ¨å¥¨ã«ãªã£ãããã¤ãã®å¤ã perl4 å½¢å¼ã®ã©ã¤ãã©ãªã¯åé¤ããã¾ãã: + + abbrev.pl assert.pl bigfloat.pl bigint.pl bigrat.pl cacheout.pl + complete.pl ctime.pl dotsh.pl exceptions.pl fastcwd.pl flush.pl + getcwd.pl getopt.pl getopts.pl hostname.pl importenv.pl + lib/find{,depth}.pl look.pl newgetopt.pl open2.pl open3.pl + pwd.pl shellwords.pl stat.pl tainted.pl termcap.pl timelocal.pl + +=begin original + +They can be found on CPAN as L<Perl4::CoreLibs>. + +=end original + +ããã㯠CPAN ã® L<Perl4::CoreLibs> ã«ããã¾ãã + =back =head1 Documentation @@ -4374,6 +4386,8 @@ =head3 Development Deltas +(éçºçã®å·®å) + =begin original The perldelta files for development releases are no longer packaged with @@ -4923,6 +4937,8 @@ =head1 Configuration and Compilation +(è¨å®ã¨ã³ã³ãã¤ã«) + =over 4 =item * @@ -5155,6 +5171,8 @@ Perl ããã®ç°å¢ã§ãã«ããããã¨ããã£ã¬ã¯ããªã¨ãã¡ã¤ã«å㯠UTF-8 ã¨ã³ã³ã¼ãããã¾ãã +=item * + =begin original Cygwin does not initialize all original Win32 environment variables. See @@ -5212,6 +5230,8 @@ F<vms/vms.c> ã«ããä¸å¿ è¦ãªã¤ã³ã¯ã«ã¼ããåé¤ããæ§ã ãªã³ã³ãã¤ã©è¦åã ä¿®æ£ããããã¤ãã®éãã¦ããªãã³ã¡ã³ããéãã¾ããã +=item * + =begin original Remove sockadapt layer from the VMS build. @@ -5269,6 +5289,10 @@ =head3 GNU/Hurd +=over 4 + +=item * + =begin original Numerous build and test failures on GNU/Hurd have been resolved with hints @@ -5281,8 +5305,14 @@ ãã³ããã©ã¤ãã©ãªæ¤ç´¢ãã¹ã®æ¤åºã大容éãã¡ã¤ã«å¯¾å¿ã®æå¹åã«ãã£ã¦ 解決ãã¾ããã +=back + =head3 OpenVOS +=over 4 + +=item * + =begin original Perl is now built with dynamic linking on OpenVOS, the minimum supported @@ -5293,6 +5323,8 @@ Perl 㯠OpenVOS ã®åçãªã³ã¯ã§ãã«ãã§ããããã«ãªããæå°å¯¾å¿ãã¼ã¸ã§ã³ã ãªãªã¼ã¹ 17.1.0 ã«ãªãã¾ããã +=back + =head3 SunOS =begin original @@ -5529,15 +5561,13 @@ =end original -The returned code point from the function C<utf8n_to_uvuni()> -when the input is malformed UTF-8, malformations are allowed, and -C<utf8> warnings are off is now the Unicode REPLACEMENT CHARACTER -whenever the malformation is such that no well-defined code point can be -computed. +å ¥åãä¸æ£ãª UTF-8 ã§ãä¸æ£å½¢ã許ããã¦ãã¦ãC<utf8> è¦åããªãã®ã¨ãã +C<utf8n_to_uvuni()> é¢æ°ããè¿ããã符å·ä½ç½®ã¯ããã¨ãä¸æ£å½¢ãæ´å½¢ããã +符å·ä½ç½®ãè¨ç®ã§ããªãã¦ã Unicode REPLACEMENT CHARACTER ã +è¿ãããã«ãªãã¾ããã 以åã¯è¿ãããå¤ã¯åºæ¬çã«ã¯ãã¿ã§ããã ããç¥ããã¦ããå¤ã®å¯ä¸ã®ä¸æ£å½¢ã¯é·ã 0 ã®æåå (0 ãè¿ããã¾ã) 㨠é·ããã UTF-8 ã·ã¼ã±ã³ã¹ã§ãã -(TBT) =item * @@ -5978,11 +6008,9 @@ L<Hash::Util> ã«å½±é¿ãä¸ããããã¤ãã®ã³ã¢ã®ãã°ãä¿®æ£ããã¾ãã: ã°ããã³ãã¼ã§ããããã·ã¥è¦ç´ ãããã¯ãã¦ãå¼ãç¶ãä»£å ¥ã«ãã£ã¦ -ã°ãããå£ããªããªã (5.14.2)ã -and unlocking a hash element that holds a -copy-on-write scalar no longer causes modifications to that scalar to -modify other scalars that were sharing the same string buffer. -(TBT) +ã°ãããå£ããªããªã (5.14.2)ãã³ãã¼ãªã³ã©ã¤ãã¹ã«ã©ãä¿æãã¦ãã +ããã·ã¥è¦ç´ ãã¢ã³ããã¯ãã¦ããåãæååãããã¡ãå ±æãã¦ãã +ä»ã®ã¹ã«ã©ãä¿®æ£ããããã«ãã®ã¹ã«ã©ãä¿®æ£ããªããªãã¾ããã =back @@ -6126,13 +6154,12 @@ =end original -C<eval $string> and C<require> used not to -localize C<%^H> during compilation if it -was empty at the time the C<eval> call itself was compiled. +C<eval $string> 㨠C<require> ã¯ãC<eval> å¼ã³åºãèªèº«ã +ã³ã³ãã¤ã«ãããã¨ãã« C<%^H> ã空ã ã¨ãã³ã³ãã¤ã«ä¸ã« +ãã¼ã«ã«åããã¦ãã¾ããã§ããã ããã¯ãC<use re "/m"> ããå¨ãã®ã³ã¼ããå¼ã³åºãå ã«æå¹ã«ãããã¨ãã¦ãã ãã®ä»ã®ãã©ã°ãæå¹ã«ãããã¨ãã£ãæãããå¯ä½ç¨ãèµ·ããå¯è½æ§ã ããã¾ãã [perl #68750]ã -(TBT) =item * @@ -6382,14 +6409,15 @@ =end original -When subroutine calls are intercepted by the debugger, the name of the -subroutine or a reference to it is stored in C<$DB::sub>, for the debugger -to access. Sometimes (such as C<$foo = *bar; undef *bar; &$foo>) -C<$DB::sub> would be set to a name that could not be used to find the -subroutine, and so the debugger's attempt to call it would fail. Now the -check to see whether a reference is needed is more robust, so those -problems should not happen anymore [rt.cpan.org #69862]. -(TBT) +ãµãã«ã¼ãã³å¼ã³åºãããããã¬ã«ãã£ã¦ä¸æãããã¨ãããµãã«ã¼ãã³ã +ãã®ãªãã¡ã¬ã³ã¹ã®ååã¯ãããã¬ãã¢ã¯ã»ã¹ããããã« C<$DB::sub> ã« +è£å®ããã¾ãã +ã¨ãã©ã (C<$foo = *bar; undef *bar; &$foo> ã®ããã«) C<$DB::sub> 㯠+ãµãã«ã¼ãã³ãæ¢ãããã«ä½¿ããªãååãè¨å®ããããã¨ãããã +ããã§ãããã¬ãå¼ã³åºããã¨ããã¨å¤±æãããã¨ãããã¾ãã +ãªãã¡ã¬ã³ã¹ãããå ç¢ã«ããå¿ è¦ããããã©ããã +ãã§ãã¯ããããã«ãªã£ãã®ã§ããã®ãããªåé¡ã¯ãã¯ãèµ·ããªãã¯ãã§ã +[rt.cpan.org #69862]ã =item * @@ -6402,11 +6430,12 @@ =end original -Every subroutine has a filename associated with it that the debugger uses. -The one associated with constant subroutines used to be misallocated when -cloned under threads. Consequently, debugging threaded applications could -result in memory corruption [perl #96126]. -(TBT) +å ¨ã¦ã®ãµãã«ã¼ãã³ã¯ãããã¬ã§ä½¿ç¨ããããã«ãã¡ã¤ã«å㨠+çµã³ã¤ãããã¦ãã¾ãã +å®æ°ãµãã«ã¼ãã³ã¨çµã³ã¤ãããããã®ã¯ãã¹ã¬ããä¸ã«ã¯ãã¼ã³åããã㨠+ééã£ã¦å²ãå½ã¦ããã¦ãã¾ããã +çµæã¨ãã¦ãã¹ã¬ããã¢ããªã±ã¼ã·ã§ã³ããããã°ããã¨ã¡ã¢ãªç ´å£ã +å¼ãèµ·ãããã¨ãããã¾ãã [perl #96126]ã =back @@ -6428,12 +6457,13 @@ =end original -C<defined(${"..."})>, C<defined(*{"..."})>, etc., used to -return true for most, but not all built-in variables, if -they had not been used yet. This bug affected C<${^GLOBAL_PHASE}> and -C<${^UTF8CACHE}>, among others. It also used to return false if the -package name was given as well (C<${"::!"}>) [perl #97978, #97492]. -(TBT) +C<defined(${"..."})>, C<defined(*{"..."})> ãªã©ã¯ã»ã¨ãã©ã®å ´åçã +è¿ãã¾ãããã¾ã 使ããã¦ããªãå ´åã¯å ¨ã¦ã®çµã¿è¾¼ã¿å¤æ°ã«å¯¾ã㦠+è¿ãããã§ã¯ããã¾ããã§ããã +ãã®ãã°ã¯ç¹ã« C<${^GLOBAL_PHASE}> 㨠C<${^UTF8CACHE}> ã«å½±é¿ã +ä¸ãã¦ãã¾ããã +ã¾ããããã±ã¼ã¸åãåæ§ã«ä¸ãããã㨠(C<${"::!"}>)ãå½ã +è¿ãã¦ãã¾ãã [perl #97978, #97492]ã =item * @@ -6446,11 +6476,11 @@ =end original -Perl 5.10.0 introduced a similar bug: C<defined(*{"foo"})> where "foo" -represents the name of a built-in global variable used to return false if -the variable had never been used before, but only on the I<first> call. -This, too, has been fixed. -(TBT) +Perl 5.10.0 ã§ã¯ä¼¼ããããªãã°ãä½ãè¾¼ã¾ãã¾ãã: C<defined(*{"foo"})> +(ãã㧠"foo" ã¯çµã¿è¾¼ã¿ã°ãã¼ãã«å¤æ°ã®åå) ã¯ãããã¾ã§ã«å ¨ã +使ããã¦ããªãå ´åã«å½ãè¿ãã¦ãã¾ãããããã㯠I<æåã®> å¼ã³åºã +ã ãã§ããã +ãããä¿®æ£ããã¾ããã =item * @@ -6465,19 +6495,19 @@ =end original -Since 5.6.0, C<*{ ... }> has been inconsistent in how it treats undefined -values. It would die in strict mode or lvalue context for most undefined -values, but would be treated as the empty string (with a warning) for the -specific scalar return by C<undef()> (C<&PL_sv_undef> internally). This -has been corrected. C<undef()> is now treated like other undefined -scalars, as in Perl 5.005. -(TBT) +5.6.0 ãããC<*{ ... }> ã¯æªå®ç¾©å¤ã®æ±ãã«éä¸è²«æ§ãããã¾ããã +ã»ã¨ãã©ã®æªå®ç¾©å¤ã«ã¤ãã¦ã¯ strict ã¢ã¼ãã左辺å¤ã³ã³ããã¹ãã§ã¯ +die ãã¦ãã¾ããããC<undef()> (å é¨ã§ã¯ C<&PL_sv_undef>) ããè¿ããã +ç¹å®ã®ã¹ã«ã©ã«å¯¾ãã¦ã¯ (è¦åä»ãã§) 空æååã¨ãã¦æ±ããã¦ãã¾ããã +ããã¯ä¿®æ£ããã¾ããã +C<undef()> ã¯ãPerl 5.005 ã¨åæ§ãä»ã®æªå®ç¾©ã¹ã«ã©ã¨åãããã« +æ±ãããããã«ãªãã¾ããã =back =head2 Filehandle, last-accessed -(ãã¡ã¤ã«ãã³ãã«ãæçµæ´æ°) +(ãã¡ã¤ã«ãã³ãã«ãæçµã¢ã¯ã»ã¹) =begin original @@ -6504,11 +6534,9 @@ =end original -It used to be possible to set this internal variable to a glob copy and -then modify that glob copy to be something other than a glob, and still -have the last-accessed filehandle associated with the variable after -assigning a glob to it again: -(TBT) +ãã®å é¨å¤æ°ãã°ããã³ãã¼ã«è¨å®ãã¦ãããããã°ããã³ãã¼ãä½ãã°ãã㨠+éããã®ã«å¤æ´ãã¦ããåã³ã°ããã«ä»£å ¥ããå¾å¤æ°ã«å²ãå½ã¦ããã +æçµã¢ã¯ã»ã¹ãã¡ã¤ã«ãã³ãã«ãä¿æãã¦ãããã¨ãå¯è½ã§ãã: my $foo = *STDOUT; # $foo is a glob copy <$foo>; # $foo is now the last-accessed handle @@ -6523,10 +6551,8 @@ =end original -Now the C<$foo = 3> assignment unsets that internal variable, so there -is no last-accessed filehandle, just as if C<< <$foo> >> had never -happened. -(TBT) +ä»ã§ã¯ C<$foo = 3> ä»£å ¥ã¯ãã®å é¨å¤æ°ã解é¤ããã®ã§ãC<< <$foo> >> ã +è¡ãããªãã£ããã®ããã«ãæçµã¢ã¯ã»ã¹ãã¡ã¤ã«ãã³ãã«ã¯ããã¾ããã =begin original @@ -6536,10 +6562,9 @@ =end original -This also prevents some unrelated handle from becoming the last-accessed -handle if $foo falls out of scope and the same internal SV gets used for -another handle [perl #97988]. -(TBT) +ããã¯ã¾ãã$foo ãã¹ã³ã¼ãããå¤ãã¦ãåãå é¨ SV ãä»ã®ãã³ãã«ã®ããã« +使ãããã¨ãããã¤ãã®é¢ä¿ã®ãªããã³ãã«ãæçµã¢ã¯ã»ã¹ãã³ãã«ã« +ãªãã¨ãããã¨ãé²ãã¾ã [perl #97988]ã =item * @@ -6586,11 +6611,11 @@ =end original -The term "filetests" refers to the operators that consist of a hyphen -followed by a single letter: C<-r>, C<-x>, C<-M>, etc. The term "stacked" -when applied to filetests means followed by another filetest operator -sharing the same operand, as in C<-r -x -w $fooo>. -(TBT) +ããã¡ã¤ã«ãã¹ããã¨ããç¨èªã¯ããã¤ãã³ã®å¾ã«ä¸æåãç¶ãå½¢ã®æ¼ç®åã +æå³ãã¾ã: C<-r>, C<-x>, C<-M> ãªã©ã +ãã¡ã¤ã«ãã¹ãã«å¯¾ãã¦é©ç¨ããããã¹ã¿ãã¯ããããã¨ããç¨èªã¯ã +C<-r -x -w $fooo> ã®ããã«ãåããªãã©ã³ããå ±æããããä¸ã¤ã® +ãã¡ã¤ã«ãã¹ãæ¼ç®åãæå³ãã¾ãã =over @@ -6605,11 +6630,11 @@ =end original -C<stat> produces more consistent warnings. It no longer warns for "_" -[perl #71002] and no longer skips the warning at times for other unopened -handles. It no longer warns about an unopened handle when the operating -system's C<fstat> function fails. -(TBT) +C<stat> ã¯ããä¸è²«æ§ã®ããè¦åãåºåãã¾ãã +"_" ã«å¯¾ããè¦åã¯åºããªããªã [perl #71002]ããã®ä»ã®éãã¦ããªããã³ãã«ã« +対ãã¦è¦åãã¹ãããããªããªãã¾ããã +ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã® C<fstat> é¢æ°ã失æããã¨ãã«éãã¦ããªã +ãã³ãã«ã«å¯¾ãã¦è¦åãåºããªããªãã¾ããã =item * @@ -6675,12 +6700,11 @@ =end original -5.14.0 ã§ã¯ããã¡ã¤ã«ãã¹ãæ¼ç®å (C<-r>, C<-x> ãªã©) 㯠started calling FETCH on a -tied argument belonging to the previous argument to a list operator, if -called with a bareword argument or no argument at all. +5.14.0 ã§ã¯ããã¡ã¤ã«ãã¹ãæ¼ç®å (C<-r>, C<-x> ãªã©) ã¯ã裸ã®åèªã® +å¼æ°ã§å¼ã³åºããããå¼æ°ãªãã§å¼ã³åºããããããã¨ããªã¹ãæ¼ç®åã¸ã® +以åã®å¼æ°ã«å¾ã£ã¦ tie ãããå¼æ°ã® FETCH ãå¼ã³åºãã¦ãã¾ããã ããã¯ä¿®æ£ãããC<push @foo, $tied, -r> ã¯ãã¯ã C<$tied> ã® FETCH ã å¼ã³åºããªããªãã¾ããã -(TBT) =item * @@ -6693,7 +6717,7 @@ stat buffer that the "_" handle uses, but only if warnings were turned on. With warnings off, it was the same as 5.6. In other words, it was simply buggy and inconsistent. Now the 5.6 -behaviour has been restored. +behavior has been restored. =end original @@ -6734,10 +6758,9 @@ =end original -Perl keeps several internal variables to keep track of the last stat -buffer, from which file(handle) it originated, what type it was, and -whether the last stat succeeded. -(TBT) +Perl ã¯ç´åã® stat ãããã¡ãè¨é²ããããã®ããã¤ãã®å é¨å¤æ°ã +ããã¾ã; ã©ã®ãã¡ã¤ã«(ãã³ãã«)ããããã©ã®åããç´åã® stat ã +æåãããã§ãã =begin original @@ -6747,10 +6770,9 @@ =end original -There were various cases where these could get out of synch, resulting in -inconsistent or erratic behavior in edge cases (every mention of C<-T> -applies to C<-B> as well): -(TBT) +ããããåæããªããªãæ§ã ãªç¶æ³ããããã¨ãã¸ã±ã¼ã¹ã§ã¯ä¸è²«æ§ã +ãªãã£ããééã£ãæ¯ãèãã«ãªã£ã¦ãã¾ãã (C<-T> ã«å¯¾ããè¨åã«é¢ãã¦ã¯ +C<-B> ã«ãåæ§ã«é©ç¨ããã¾ã): =over @@ -6764,10 +6786,10 @@ =end original -C<-T I<HANDLE>>, even though it does a C<stat>, was not resetting the last -stat type, so an C<lstat _> following it would merrily return the wrong -results. Also, it was not setting the success status. -(TBT) +C<-T I<HANDLE>> ã¯ããã¨ã C<stat> ãè¡ã£ã¦ããæçµ stat åã +ãªã»ãããã¦ããªãã£ãã®ã§ããã®å¾ã® C<lstat _> ã¯ééã£ãçµæã +è¿ãã¦ãã¾ããã +ã¾ããæåã¹ãã¼ã¿ã¹ãè¨å®ãã¦ãã¾ããã§ããã =item * @@ -6778,9 +6800,8 @@ =end original -Freeing the handle last used by C<stat> or a filetest could result in -S<C<-T _>> using an unrelated handle. -(TBT) +ç´åã« C<stat> ããã¡ã¤ã«ãã¹ãã§ä½¿ããããã³ãã«ã解æ¾ãã㨠+S<C<-T _>> ã¯é¢ä¿ã®ãªããã³ãã«ã使ã£ã¦ãã¾ããã =item * @@ -6791,9 +6812,8 @@ =end original -C<stat> with an IO reference would not reset the stat type or record the -filehandle for S<C<-T _>> to use. -(TBT) +IO ãªãã¡ã¬ã³ã¹ã® C<stat> 㯠stat åã S<C<-T _>> ã§ä½¿ãããã® +ãã¡ã¤ã«ãã³ãã«ããªã»ãããã¦ãã¾ããã§ããã =item * @@ -6805,10 +6825,10 @@ =end original -Fatal warnings could cause the stat buffer not to be reset -for a filetest operator on an unopened filehandle or C<-l> on any handle. -Fatal warnings also stopped C<-T> from setting C<$!>. -(TBT) +è´å½çã¨ã©ã¼ã§ã¯éãã¦ããªããã¡ã¤ã«ãã³ãã«ã¸ã®ãã¡ã¤ã«ãã¹ãã +ä»»æã®ãã³ãã«ã¸ã® C<-l> ã®ããã® stat ãããã¡ã¯ +ãªã»ãããã¦ãã¾ããã§ããã +è´å½çã¨ã©ã¼ã¯ C<-T> ã C<$!> ãè¨å®ããã®ãæ¢ãã¦ãã¾ããã =item * @@ -6820,10 +6840,11 @@ =end original -When the last stat was on an unreadable file, C<-T _> is supposed to -return C<undef>, leaving the last stat buffer unchanged. But it was -setting the stat type, causing C<lstat _> to stop working. -(TBT) +æçµã® stat ãèªã¿è¾¼ããªããã¡ã¤ã«ã«å¯¾ãã¦ã®ãã®ã ã£ãã¨ãã +C<-T _> ã¯ãæçµ stat ãããã¡ãå¤æ´ããã« C<undef> ãè¿ããã¨ã +æ³å®ãã¦ãã¾ããã +ããããã㯠stat åãã»ãããã¦ããã®ã§ãC<lstat _> ã +åä½ããªããªã£ã¦ãã¾ããã =item * @@ -6868,11 +6889,9 @@ =end original ãã©ã¼ããã㨠C<formline> ã«é¢ããããã¤ãã®ã¨ãã¸ã±ã¼ã¹ãä¿®æ£ããã¾ãã; -in particular, where the format itself is potentially variable (such as -with ties and overloading), and where the format and data differ in their -encoding. In both these cases, it used to possible for the output to be -corrupted [perl #91032]. -(TBT) +ç¹ã«ããã©ã¼ãããèªèº«ã(tie ããªã¼ãã¼ãã¼ãã®ãããª)æ½å¨çãªå¤æ°ã®å ´åã +ããã¦ãã©ã¼ãããã¨ãã¼ã¿ã®ã¨ã³ã³ã¼ãã£ã³ã°ãéãå ´åã§ãã +両æ¹ã®å ´åã§ãåºåãå£ããå¯è½æ§ãããã¾ãã [perl #91032]ã =item * @@ -6933,10 +6952,9 @@ C<given> ã¯ã使ã£ã¦ããæé»ã®ã¬ãã·ã«ã«ãª C<$_> ã« set-magic ã å¼ã³åºãã¦ãã¾ããã§ããã -ã¤ã¾ããä¾ãã°ãC<pos> would be remembered from one -execution of the same C<given> block to the next, even if the input were a -different variable [perl #84526]. -(TBT) +ã¤ã¾ããä¾ãã° C<pos> ã¯ããã¨ãå ¥åãç°ãªã£ãå¤æ°ã§ããåã +C<given> ãããã¯å ã§ã®ä¸ã¤ç®ã®å®è¡ãã次ã®ãã®ã¸è¦ãã¦ãã¾ãã +[perl #84526]ã =item * @@ -7054,12 +7072,10 @@ =end original -Lvalue subroutines used to enforce lvalue syntax (i.e., whatever can go on -the left-hand side of C<=>) for the last statement and the arguments to -return. +左辺å¤ãµãã«ã¼ãã³ã¯ãæå¾ã®æ㨠return ã¸ã®å¼æ°ã«ã¤ãã¦å·¦è¾ºå¤ææ³ +(ã¤ã¾ã C<=> ã®å·¦å´ã«ãªããã) ãå¼·å¶ãã¾ãã 左辺å¤ãµãã«ã¼ãã³ã¯ãã¤ã左辺å¤ã³ã³ããã¹ãã§å¼ã°ããããã§ã¯ãªãã®ã§ã ãã®å¶éã¯åãé¤ããã¾ããã -(TBT) =item * @@ -7154,13 +7170,13 @@ =end original -When called in potential lvalue context, an lvalue subroutine returning -arrays or hashes used to bind the arrays or hashes to scalar variables, -resulting in bugs. This was fixed in 5.14.0 if an array were the first -thing returned from the subroutine (but not for C<$scalar, @array> or -hashes being returned). -ä»åããä¸è¬çãªä¿®æ£ãé©ç¨ããã¾ãã [perl #23790]ã -(TBT) +æ½å¨çãªå·¦è¾ºå¤ã³ã³ããã¹ãã§å¼ã³åºãããã¨ãé åãããã·ã¥ãè¿ã +左辺å¤ãµãã«ã¼ãã³ã¯é åãããã·ã¥ãã¹ã«ã©å¤æ°ã«å²ãå½ã¦ã¦ããã°ã +å¼ãèµ·ããã¦ãã¾ããã +ããã¯ãé åããµãã«ã¼ãã³ããè¿ãããæåã®ãã®ã§ããå ´åã«ã¤ãã¦ã¯ +5.14.0 ã§ä¿®æ£ããã¾ãã (ããã C<$scalar, @array> ãããã·ã¥ãè¿ããã +å ´åã¯ä¿®æ£ããã¾ããã§ãã)ã +ä»åãããä¸è¬çãªä¿®æ£ãé©ç¨ããã¾ãã [perl #23790]ã =item * @@ -7173,11 +7189,10 @@ =end original -Method calls whose arguments were all surrounded with C<my()> or C<our()> -(as in C<< $object->method(my($a,$b)) >>) used to force lvalue context on -the subroutine. +(C<< $object->method(my($a,$b)) >> ã®ããã«) å¼æ°ãå ¨ã¦ C<my()> ã¾ã㯠+C<our()> ã§å²ã¾ãã¦ããã¡ã½ããå¼ã³åºãã¯ããµãã«ã¼ãã³ã§å·¦è¾ºå¤ +ã³ã³ããã¹ããå¼·å¶ãã¦ãã¾ããã ããã¯å·¦è¾ºå¤ã¡ã½ããããã種ã®å¤ãè¿ãã®ã妨ãã¦ãã¾ããã -(TBT) =item * @@ -7189,10 +7204,9 @@ =end original -Lvalue sub calls that are not determined to be such at compile time -(C<&$name> or &{"name"}) are no longer exempt from strict refs if they -occur in the last statement of an lvalue subroutine [perl #102486]. -(TBT) +(C<&$name> ã¾ã㯠&{"name"} ã®ãããª)ã³ã³ãã¤ã«æã«æ±ºå®ãããªã +左辺å¤ãµãã«ã¼ãã³å¼ã³åºãã¯ã左辺å¤ãµãã«ã¼ãã³ã®æå¾ã®æã§èµ·ãã¦ã +strict refs ãé©ç¨ãããããã«ãªãã¾ãã [perl #102486]ã =item * @@ -7205,11 +7219,10 @@ =end original -Sub calls whose subs are not visible at compile time, if -they occurred in the last statement of an lvalue subroutine, -would reject non-lvalue subroutines and die with "Can't modify non-lvalue -subroutine call" [perl #102486]. -(TBT) +ãµãã«ã¼ãã³ãã³ã³ãã¤ã«æã«è¦ããªããµãã«ã¼ãã³å¼ã³åºãã¯ãããã +左辺å¤ãµãã«ã¼ãã³ã®æå¾ã®æã§èµ·ããã¨ãé左辺å¤ãµãã«ã¼ãã³ãæå¦ã㦠+"Can't modify non-lvalue subroutine call" 㧠die ãã¦ãã¾ãã +[perl #102486]ã =begin original @@ -7221,13 +7234,12 @@ =end original -Non-lvalue sub calls whose subs I<are> visible at compile time exhibited -the opposite bug. If the call occurred in the last statement of an lvalue -subroutine, there would be no error when the lvalue sub was called in -lvalue context. +ã³ã³ãã¤ã«æã«è¦ã㦠I<ãã> é左辺å¤ãµãã«ã¼ãã³å¼ã³åºãã«ã¯éã®ãã°ã +ããã¾ããã +å¼ã³åºãã左辺å¤ãµãã«ã¼ãã³ã®æå¾ã®æã ã¨ã左辺å¤ãµãã«ã¼ãã³ã +左辺å¤ã³ã³ããã¹ãã§å¼ã³åºãããã¨ãã«ã¨ã©ã¼ãèµ·ãã¾ããã§ããã Perl ã¯é左辺å¤ãµãã«ã¼ãã³ã«ãã£ã¦è¿ãããä¸æçãªå¤ã«ç²ç®çã« ä»£å ¥ãã¦ãã¾ããã -(TBT) =item * @@ -7240,11 +7252,10 @@ =end original -C<AUTOLOAD> routines used to take precedence over the actual sub being -called (i.e., when autoloading wasn't needed), for sub calls in lvalue or -potential lvalue context, if the subroutine was not visible at compile -time. -(TBT) +C<AUTOLOAD> ã«ã¼ãã³ã¯ããµãã«ã¼ãã³ãã³ã³ãã¤ã«æã«è¦ãã¦ããªãã¨ã +左辺å¤ã®ãµãã«ã¼ãã³å¼ã³åºããæ½å¨çãªå·¦è¾ºå¤ã³ã³ããã¹ãã«å¯¾ãã¦ã +å®éã®ãµãã«ã¼ãã³å¼ã³åºã (ã¤ã¾ããªã¼ããã¼ããä¸è¦ã®å ´å) ããã +é«ãåªå é ä½ãæã£ã¦ãã¾ããã =item * @@ -7256,10 +7267,9 @@ =end original -Applying the C<:lvalue> attribute to an XSUB or to an aliased subroutine -stub with C<< sub foo :lvalue; >> syntax stopped working in Perl 5.12. +XSUB ã C<< sub foo :lvalue; >> ææ³ã®å¥åãµãã«ã¼ãã³ã¹ã¿ãã« +C<:lvalue> å±æ§ãé©ç¨ãã㨠Perl 5.12 ã§ã¯åä½ãã¦ãã¾ããã§ããã ããã¯ä¿®æ£ããã¾ããã -(TBT) =item * @@ -7273,12 +7283,12 @@ =end original -Applying the :lvalue attribute to subroutine that is already defined does -not work properly, as the attribute changes the way the sub is compiled. -Hence, Perl 5.12 began warning when an attempt is made to apply the -attribute to an already defined sub. +æ¢ã«å®ç¾©ããã¦ãããµãã«ã¼ãã³ã¸ã® :lvalue å±æ§ãé©ç¨ã¯æ£ãã +åä½ãã¦ãã¾ããã§ãã; å±æ§ã«ãã£ã¦ãµãã«ã¼ãã³ã®ã³ã³ãã¤ã«æ¹æ³ã +å¤ããããã§ãã +å¾ã£ã¦ãPerl 5.12 ããæ¢ã«å®ç¾©ããã¦ãããµãã«ã¼ãã³ã«å±æ§ã +é©ç¨ãããã¨ããã¨è¦åãåºãããã«ãªãã¾ããã ãã®ãããªå ´åãå±æ§ã¯æ¨ã¦ããã¾ãã -(TBT) =begin original @@ -7290,12 +7300,11 @@ =end original -But the change in 5.12 missed the case where custom attributes are also -present: that case still silently and ineffectively applied the attribute. -That omission has now been corrected. C<sub foo :lvalue :Whatever> (when -C<foo> is already defined) now warns about the :lvalue attribute, and does -not apply it. -(TBT) +ãããã5.12 ã§ã®å¤æ´ã¯ãã«ã¹ã¿ã å±æ§ãããå ´åãæãã¦ãã¾ãã: +ãã®å ´åã¯æé»ã«ãã¤å¹æãªãå±æ§ãé©ç¨ããã¾ãã +ãã®æãã¯ä¿®æ£ããã¾ããã +(C<foo> ãæ¢ã«å®ç¾©ããã¦ããã¨ã) C<sub foo :lvalue :Whatever> 㯠+:lvalue å±æ§ã«å¯¾ãã¦è¦åãåºããé©ç¨ããã¾ããã =item * @@ -7308,11 +7317,11 @@ =end original -A bug affecting lvalue context propagation through nested lvalue subroutine -calls has been fixed. Previously, returning a value in nested rvalue -context would be treated as lvalue context by the inner subroutine call, -resulting in some values (such as read-only values) being rejected. -(TBT) +ãã¹ããã左辺å¤ãµãã«ã¼ãã³å¼ã³åºãã§ã®å·¦è¾ºå¤ã³ã³ããã¹ãã®ä¼æ¬ã« +å½±é¿ãä¸ãããã°ãä¿®æ£ããã¾ãã +以åã¯ããã¹ãããå³è¾ºå¤ã³ã³ããã¹ãã®å¤ãè¿ããã¨ã¯å å´ã®ãµãã«ã¼ãã³ +å¼ã³åºãã§ã¯å·¦è¾ºå¤ã³ã³ããã¹ãã¨ãã¦æ±ããã(èªã¿è¾¼ã¿å°ç¨ã®å¤ã®ãããª) +ããã¤ãã®å¤ãæå¦ããã¦ãã¾ããã =back @@ -7379,11 +7388,10 @@ =end original -The C<prototype> function no longer dies for the C<__FILE__>, C<__LINE__> -and C<__PACKAGE__> directives. It now returns an empty-string prototype -for them, because they are syntactically indistinguishable from nullary -functions like C<time>. -(TBT) +C<prototype> é¢æ°ã¯ C<__FILE__>, C<__LINE__>, C<__PACKAGE__> æ示å㧠+die ããªããªãã¾ããã +ãããã¯ææ³çã«ã¯ C<time> ã®ãããªå¼æ°ãªãé¢æ°ã¨åºå¥ãä»ããªãã®ã§ã +空æååãããã¿ã¤ããè¿ãããã«ãªãã¾ããã =item * @@ -7396,11 +7404,11 @@ =end original -C<prototype> now returns C<undef> for all overridable infix operators, -such as C<eq>, which are not callable in any way resembling functions. -It used to return incorrect prototypes for some and die for others -[perl #94984]. -(TBT) +C<prototype> ã¯ãC<eq> ã®ãããªãã©ã®ããã«ãã¦ãé¢æ°ã®ããã«å¼ã³åºããªã +ãªã¼ãã¼ã©ã¤ãå¯è½ãªå ¨ã¦ã®æ¿å ¥æ¼ç®åã«å¯¾ã㦠C<undef> ã +è¿ãããã«ãªãã¾ããã +以åã¯ä¸é¨ã¯æ£ãããªããããã¿ã¤ããè¿ãããã®ä»ã¯ die ãã¦ãã¾ãã +[perl #94984]ã =item * @@ -7480,11 +7488,9 @@ =end original -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>. +5.12.0 ãããPerl 㯠C<${ qr// }> ãããã·ã¥è¦ç´ ã«ä»£å ¥ãã¦ãã +L<Hash::Util> ã§ããã¯ããã¨ãå é¨ç®¡çãæ··ä¹±ãã¦ãã¾ããã ããã«ããäºé解æ¾ãã¯ã©ãã·ã¥ãééã£ãæ¯ãèããå¼ãèµ·ããã¦ãã¾ããã -(TBT) =item * @@ -7653,18 +7659,17 @@ 以åã¯ãä¸ã¤ã® Unicode æå: LATIN SMALL LETTER SHARP S, GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS, -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. +GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS +ã¨ãããããç³ã¿è¾¼ãã§ãã並㳠(LATIN SMALL LETTER SHARP S ã®ããã® +"ss" ãå«ã¿ã¾ã) ã¯ãC</i> ã®åºã§ã¯æ£ãããããã³ã°ãã¦ãã¾ããã§ããã +5.14.0 ã¯ãããã®å ´åã®ä¸é¨ãä¿®æ£ãã¾ããããæåã並ã³ã®ä¸ã¤ã +C<(?(DEFINE)> æ£è¦è¡¨ç¾è¿°èªã§ä½¿ããã¦ããå ´åã« panic ãããªã©ã®åé¡ã +ããã¾ããã 5.14 ã§ä½ãè¾¼ã¾ããæ¢ç¥ã®ãã°ã¯ä¿®æ£ããã¾ãã; åæ§ã«ä»ã¾ã§ åä½ãã¦ããªãã£ããã®ä»ã®ããã¤ãã®ã¨ãã¸ã±ã¼ã¹ãä¿®æ£ããã¾ããã ãããå ¨ã¦ã¯ C</i> ã®å ã§ã®å¤§ãã£ãæåã¯ã©ã¹ã®å¤å´ã§ã®æåã並ã³ã« é¢é£ãããã®ã§ãã ãã㯠[perl #98546] ãéãã¾ãã -(TBT) =begin original @@ -7675,11 +7680,10 @@ =end original -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>. +C<qr/[\N{LATIN SMALL LETTER SHARP}a-z]/i> ã®ãããªã大ãã£ãæåã¯ã©ã¹ã® +å å´ã®è¤æ°æåç³ã¿è¾¼ã¿ã®ãã種ã®æåã使ã£ãã¨ãã«æ¢ç¥ã®åé¡ã +æ®ã£ã¦ãã¾ãã ãããã®æ®ã£ã¦ãããã°ã¯ [perl #89774] ã§å¯¾å¿ãã¦ãã¾ãã -(TBT) =item * @@ -7692,11 +7696,10 @@ =end original -RT #78266: æ£è¦è¡¨ç¾ã¨ã³ã¸ã³ã¯ãhas been leaking memory when accessing -named captures that weren't matched as part of a regex ever since 5.10 -when they were introduced; ä¾ãã°ã以ä¸ã®ã³ã¼ã㯠100 MB 以ä¸ã®ã¡ã¢ãªã +RT #78266: æ£è¦è¡¨ç¾ã®ä¸é¨ã¨ãããã³ã°ããªãã£ãååä»ãææãããã¡ã« +ã¢ã¯ã»ã¹ããã¨ããããå°å ¥ããã 5.10 以éãã£ã¨ãæ£è¦è¡¨ç¾ã¨ã³ã¸ã³ã +ã¡ã¢ãªãªã¼ã¯ãã¦ãã¾ãã; ä¾ãã°ã以ä¸ã®ã³ã¼ã㯠100 MB 以ä¸ã®ã¡ã¢ãªã æ¶è²»ãã¦ãã¾ãã: -(TBT) for (1..10_000_000) { if ("foo" =~ /(foo|(?<capture>bar))?/) { @@ -7742,12 +7745,10 @@ =end original -5.14 ã§ä½ãè¾¼ã¾ããéè¡ãä¿®æ£ããã¾ãã; in C</i> -regular expression matching, in which a match improperly fails if the -pattern is in UTF-8, the target string is not, and a Latin-1 character -precedes a character in the string that should match the pattern. -[perl #101710] -(TBT) +5.14 ã§ä½ãè¾¼ã¾ããéè¡ãä¿®æ£ããã¾ãã; C</i> æ£è¦è¡¨ç¾ãããã³ã°ã§ +ãã¿ã¼ã³ã UTF-8 ã§ãã¿ã¼ã²ããæåå㯠UTF-8 ã§ã¯ãªãããã¿ã¼ã³ã« +ãããã³ã°ããã¯ãã®æååã®åã« Latin-1 æåãããã¨ä¸é©åã« +失æãã¦ãã¾ãã [perl #101710]ã =item * @@ -7760,11 +7761,9 @@ =end original -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. +大æåå°æåãåºå¥ããªãæ£è¦è¡¨ç¾ãã¿ã¼ã³ãããã³ã°ã§ãUTF-8 ã¨ã³ã³ã¼ãããã +æååãæåã®å¯è½ãªä½ç½®ããã®ã¿ãããã³ã°ã®ã¹ãã£ã³ãéå§ãã¦ãã¾ããã ããã«ãã C<"f\x{FB00}" =~ /ff/i> ã®ãããªãããã³ã°ã失æãã¦ãã¾ããã -(TBT) =item * @@ -7804,13 +7803,11 @@ =end original -The combination of the regular expression modifiers C</aa> and the C<\b> -and C<\B> escape sequences did not work properly on UTF-8 encoded -strings. All non-ASCII characters under C</aa> should be treated as -non-word characters, but what was happening was that Unicode rules were -used to determine wordness/non-wordness for non-ASCII characters. +æ£è¦è¡¨ç¾ä¿®é£¾å C</aa> ã¨ãC<\b> ããã³ C<\B> ã®ã¨ã¹ã±ã¼ãã·ã¼ã±ã³ã¹ã® +çµã¿åããã¯ãUTF-8 ã¨ã³ã³ã¼ããããæååã§æ£ããåä½ãã¦ãã¾ããã§ããã +C</aa> ã®åºã§ã®å ¨ã¦ã®é ASCII æåã¯éåèªæåã¨ãã¦æ±ãããã¹ãã§ããã +é ASCII æåã«å¯¾ãã¦åèª/éåèªã®æ±ºå®ã« Unicode ã®è¦åã使ããã¦ãã¾ããã ããã¯ä¿®æ£ããã¾ãã [perl #95968]ã -(TBT) =item * @@ -7897,10 +7894,10 @@ =end original -Mentioning a variable named "&" other than C<$&> (i.e., C<@&> or C<%&>) no -longer stops C<$&> from working. +Mentioning a variable named "&" other than +C<$&> 以å¤ã§ "&" ãã¤ãã¦ããå¤æ° (ã¤ã¾ã C<@&> ã¾ã㯠C<%&>) ã¸ã®è¨å㧠+C<$&> ãåä½ããªããªã£ã¦ãã¾ããã åæ§ã®ãã¨ã¯ "'" ããã³ "`" ã¨ããååã®å¤æ°ã«ãé©ç¨ããã¾ã [perl #24237]ã -(TBT) =item * @@ -7968,10 +7965,9 @@ =end original -C<sort> was not treating C<sub {}> and C<sub {()}> as equivalent when -such a sub was provided as the comparison routine. +C<sort> ã¯ããµãã«ã¼ãã³ãæ¯è¼ã«ã¼ãã³ã¨ãã¦æä¾ãããã¨ãã«ã +C<sub {}> 㨠C<sub {()}> ãç価ã§ããã¨è¦ãªãã¦ãã¾ããã§ããã 以å㯠C<sub {()}> 㧠croak ãã¦ãã¾ããã -(TBT) =item * @@ -8012,13 +8008,12 @@ =end original -Warnings emitted by C<sort> when a custom comparison routine returns a -non-numeric value now contain "in sort" and show the line number of the -C<sort> operator, rather than the last line of the comparison routine. The -warnings also now occur only if warnings are enabled in the scope where -C<sort> occurs. Previously the warnings would occur if enabled in the -comparison routine's scope. -(TBT) +ã«ã¹ã¿ã æ¯è¼ã«ã¼ãã³ãéæ°å¤ãè¿ããã¨ãã« C<sort> ãåºåããè¦å㯠+"in sort" ãå«ãã§ãæ¯è¼ã«ã¼ãã³ã®æå¾ã®è¡ã§ã¯ãªããC<sort> æ¼ç®åã® +è¡çªå·ã表示ããããã«ãªãã¾ããã +ã¾ããè¦å㯠C<sort> ãããã¹ã³ã¼ãã§æå¹ãªå ´åã«ã®ã¿åºåãããããã« +ãªãã¾ããã +以åã¯è¦åã¯æ¯è¼ã«ã¼ãã³ã®ã¹ã³ã¼ãã§æå¹ãªã¨ãã«çºçãã¦ãã¾ããã =item * @@ -8028,16 +8023,15 @@ "uninitialized" warnings for NaNs (not-a-number values), since C<< <=> >> returns C<undef> for those. This brings it in line with S<C<< sort { 1; $a <=> $b } >>> and other more complex cases, which are not -optimised [perl #94390]. +optimized [perl #94390]. =end original -C<< sort { $a <=> $b } >>, which is optimized internally, now produces -"uninitialized" warnings for NaNs (not-a-number values), since C<< <=> >> -returns C<undef> for those. This brings it in line with -S<C<< sort { 1; $a <=> $b } >>> and other more complex cases, which are not -optimised [perl #94390]. -(TBT) +å é¨ã§æé©åããã C<< sort { $a <=> $b } >> ã¯ãNaN (éæ°å¤) ã®ã¨ãã +C<< <=> >> ã C<undef> ãè¿ãã®ã§ã"uninitialized" è¦åã +åºåãããããã«ãªãã¾ããã +æé©åãããªã S<C<< sort { 1; $a <=> $b } >>> ããã£ã¨è¤éãªå ´å㨠+åãã«ãªãã¾ã [perl #94390]ã =back @@ -8064,8 +8058,8 @@ =begin 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. +when C<substr> itself is called. This makes a difference only if the +return value of C<substr> is referenced and later assigned to. =end original @@ -8253,10 +8247,9 @@ =end original -Thread joining would sometimes emit "Attempt to free unreferenced scalar" -warnings if C<caller> had been used from the C<DB> package before thread -creation [perl #98092]. -(TBT) +ã¹ã¬ããã®ä½æåã« C<DB> ããã±ã¼ã¸ãã C<caller> ãå¼ã³åºããã¦ããã¨ã +ã¹ã¬ããã® join ã§ã¨ãã©ã "Attempt to free unreferenced scalar" è¦åã +åºã¦ãã¾ãã [perl #98092]ã =item * @@ -8271,10 +8264,9 @@ (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) +左辺å¤ãµãã«ã¼ãã³ã«é¢ãã¦ã¯ããµãã«ã¼ãã³ãã¹ã«ã©ã¨ãã¦è¿ããã¨ã§ã +C<ref \$_> ãå ´åã«ãã£ã¦ã¯ "CODE" ãè¿ãã¨ãããããªããããªå¯ä½ç¨ã +èµ·ãããªããªãã¾ããã =begin original @@ -8429,10 +8421,8 @@ =end original -Some cases of dereferencing a complex expression, such as -C<${ (), $tied } = 1>, used to call C<FETCH> multiple times, but now call -it once. -(TBT) +C<${ (), $tied } = 1> ã®ãããªè¤éãªå¼ãããªãã¡ã¬ã³ã¹ããå ´åã®ä¸é¨ã§ã +C<FETCH> ãè¤æ°åå¼ã³åºããã¦ãã¾ããããä¸åã ãã«ãªãã¾ããã =item * @@ -8443,9 +8433,8 @@ =end original -C<$tied-E<gt>method> where $tied returns a package name--even resulting in -a failure to call the method, due to memory corruption -(TBT) +C<$tied-E<gt>method> 㧠$tied ãããã±ã¼ã¸åãè¿ãã¨ãã¡ã¢ãªç ´å£ã«ãã£ã¦ +ã¡ã½ããå¼ã³åºãã«å¤±æãã¦ãã¾ããã =item * @@ -8481,10 +8470,10 @@ =end original -C<caller> sets C<@DB::args> to the subroutine arguments when called from -the DB package. It used to crash when doing so if C<@DB::args> happened to -be tied. Now it croaks instead. -(TBT) +C<caller> ã¯ãDB ããã±ã¼ã¸ããå¼ã³åºãããã¨ãã« C<@DB::args> ã« +ãµãã«ã¼ãã³å¼æ°ãè¨å®ãã¾ãã +以å㯠C<@DB::args> ã tie ããã¦ããã¨ã¯ã©ãã·ã¥ãã¦ãã¾ããã +ä»ã§ã¯ä»£ããã« croak ããããã«ãªãã¾ããã =item * @@ -8497,11 +8486,9 @@ =end original -Tying an element of %ENV or C<%^H> and then deleting that element would -result in a call to the tie object's DELETE method, even though tying the -element itself is supposed to be equivalent to tying a scalar (the element -is, of course, a scalar) [perl #67490]. -(TBT) +%ENV ã C<%^H> ã®è¦ç´ ã tie ãã¦ãããã®è¦ç´ ãåé¤ããã¨ãè¦ç´ èªèº«ã +ã¹ã«ã©ã« tie ãã¦ããã®ã¨ç価ã§ããã¯ãã§ã(è¦ç´ ã¯ãã¡ããã¹ã«ã©ã§ã)ã +ãªãã¸ã§ã¯ãã® DELETE ã¡ã½ãããå¼ã³åºããã¦ãã¾ãã [perl #67490]ã =item * @@ -8514,11 +8501,11 @@ =end original -When Perl autovivifies an element of a tied array or hash (which entails -calling STORE with a new reference), it now calls FETCH immediately after -the STORE, instead of assuming that FETCH would have returned the same -reference. This can make it easier to implement tied objects [perl #35865, #43011]. -(TBT) +Perl ã (æ°ãããªãã¡ã¬ã³ã¹ã§ STORE ãå¼ã³åºã) tie ãããé åãããã·ã¥ã® +è¦ç´ ãèªåæå¹åããã¨ãFETCH ãåããªãã¡ã¬ã³ã¹ãè¿ãã¨ä»®å®ããã®ã§ã¯ãªãã +STORE ã®ç´å¾ã« FETCH ãå¼ã³åºãããã«ãªãã¾ããã +ããã«ãã tie ããããªãã¸ã§ã¯ãã®å®è£ ãããç°¡åã«ãªãã¾ãã +[perl #35865, #43011]ã =item * @@ -8554,10 +8541,9 @@ =end original -Attempting to C<goto> out of a tied handle method used to cause memory -corruption or crashes. +tie ããããã³ãã«ã¡ã½ããã®å¤å´ã« C<goto> ãããã¨ããã¨ã¡ã¢ãªç ´å£ã +ã¯ã©ãã·ã¥ãèµ·ãã¦ãã¾ããã ä»ã§ã¯ä»£ããã«ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããã¾ã [perl #8611]ã -(TBT) =item * @@ -8571,13 +8557,12 @@ =end original -A bug has been fixed that occurs when a tied variable is used as a -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. +tie ãããå¤æ°ããµãã«ã¼ãã³ãªãã¡ã¬ã³ã¹ã¨ãã¦ä½¿ãæã«èµ·ãããã°ã +ä¿®æ£ããã¾ãã: å¤æ°ã«ä»£å ¥ããããå¤æ°ããè¿ãããå¤ããªãã¡ã¬ã³ã¹ã¾ã㯠+åã°ããã®ã¨ããC<\&$tied> ã¯ã¯ã©ãã·ã¥ãããééã£ããµãã«ã¼ãã³ã +è¿ããã¨ãããã¾ããã +ãªãã¡ã¬ã³ã¹ã®å ´å㯠Perl 5.10.0 ã§ä½ãè¾¼ã¾ããéè¡ã§ãã åã°ããã«é¢ãã¦ã¯ãããããä»ã¾ã§å ¨ãåä½ãã¦ãã¾ããã§ããã -(TBT) =back @@ -8601,14 +8586,13 @@ =end original -The bitwise complement operator (and possibly other operators, too) when -passed a vstring would leave vstring magic attached to the return value, -even though the string had changed. This meant that -C<< version->new(~v1.2.3) >> would create a version looking like "v1.2.3" -even though the string passed to C<< version->new >> was actually -"\376\375\374". This also caused L<B::Deparse> to deparse C<~v1.2.3> -incorrectly, without the C<~> [perl #29070]. -(TBT) +væååã渡ããããããåä½å¦å®æ¼ç®å㯠(ããã¦ããããä»ã®æ¼ç®åã) +æååãå¤æ´ããã¦ãè¿ãå¤ã«væååãã¸ãã¯ãè¡ããã¾ã¾ã§ããã +ããã¯ã«ãããC<< version->new(~v1.2.3) >> ã¯ãå®é㯠+C<< version->new >> ã«æ¸¡ãããæåå㯠"\376\375\374" ã«ãé¢ãããã +"v1.2.3" ã®ããã«è¦ãããã¼ã¸ã§ã³ãä½æãã¦ãã¾ããã +ããã¯ã¾ã L<B::Deparse> ã C<~v1.2.3> ããééã£ã¦ C<~> ãªã㧠+éãã¼ã¹ãã¦ãã¾ãã [perl #29070]ã =item * @@ -8622,13 +8606,12 @@ =end original -Assigning a vstring to a magic (e.g., tied, C<$!>) variable and then -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. +væååããã¸ãã¯å¤æ° (ä¾ãã° tie ãããå¤æ°ã C<$!>) ã«ä»£å ¥ãã¦ãã +ä»ã®ãã®ãä»£å ¥ããã¨å ¨ã¦ã®ãã¸ãã¯ãæ¶ãã¦ãã¾ã£ã¦ãã¾ããã +ããã«ãã tie ãããå¤æ°ã¯è§£é¤ããããC<$!> ã¯å¤±æããã·ã¹ãã ã³ã¼ã«ã§ +æ´æ°ãããªããªããC<$|> ã¯èªåãã©ãã·ã¥ãè¨å®ããªããªãããã®ä»ã® +åé¡ãçºçãã¦ãã¾ããã ããã¯ä¿®æ£ããã¾ããã -(TBT) =item * @@ -8685,11 +8668,12 @@ =end original -Subroutines from the C<autouse> namespace are once more exempt from -redefinition warnings. This used to work in 5.005, but was broken in -5.6 for most subroutines. For subs created via XS that redefine -subroutines from the C<autouse> package, this stopped working in 5.10. -(TBT) +C<autouse> åå空éããã®ãµãã«ã¼ãã³ã¯åã³åå®ç¾©è¦åã +åºããªããªãã¾ããã +ãã㯠5.005 ã§ã¯åä½ãã¦ãã¾ãããã5.6 ã§ã¯ã»ã¨ãã©ã®ãµãã«ã¼ãã³ã§ +å£ãã¦ãã¾ããã +C<autouse> ããã±ã¼ã¸ããåå®ç¾©ããããXS çµç±ã§ä½æããããµãã«ã¼ãã³ã¯ +5.10 ããåä½ãã¦ãã¾ããã§ããã =item * @@ -8744,11 +8728,11 @@ å®æ°ãµãã«ã¼ãã³ã®åå®ç¾©è¦åã¯ããã©ã«ãã§ãªã³ã§ã (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. -(TBT) +ããã¯ãã°ããä»£å ¥ã¾ãã¯è¦åãçºçããã Perl ãµãã«ã¼ãã³ã®å®ç¾©ã§ã®ã¿ +çºçãã¦ãã¾ããã +XSUB ã®ä½æããã®è¦åãå¼ãèµ·ããã¨ããããã¯ããã©ã«ãã®è¦åã§ã¯ +ããã¾ããã§ããã +ããã¯ä¿®æ£ããã¾ããã =item * @@ -8826,11 +8810,11 @@ =end original -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]. -(TBT) +Perl 5.14 ã§ã®ãã°ä¿®æ£ãæ°ãããã°ãä½ãè¾¼ãã§ãã¾ãã; +åé¡ã«ãªãæ¼ç®åãäºã¤ã®ãªãã©ã³ããæã¡ããã®ä¸ã¤ã C<%{...}> ã¾ã㯠+C<@{...}> ã®ã¨ããééã£ãå¤æ°ã« "uninitialized" è¦åã +çºçããã¦ãã¾ããã +ããã¯ä¿®æ£ããã¾ãã [perl #103766]ã =item * @@ -9101,13 +9085,12 @@ =end original -Perl skips copying values returned from a subroutine, for the sake of -speed, if doing so would make no observable difference. Because of faulty -logic, this would happen with the -result of C<delete>, C<shift> or C<splice>, even if the result was -referenced elsewhere. It also did so with tied variables about to be freed -[perl #91844, #95548]. -(TBT) +Perl ã¯ã観å¯ã§ããéãããªããã°ãé度ã®ããã«ããµãã«ã¼ãã³ããè¿ããã +å¤ã®ã³ãã¼ãçç¥ãã¾ãã +ãã¸ãã¯ã®ééãã«ãããC<delete>, C<shift>, C<splice> ã§ã¯ãçµæã +å¥ã®å ´æã¸ã®ãªãã¡ã¬ã³ã¹ã§ãèµ·ãã¦ãã¾ããã +ã¾ãã解æ¾ããããã¨ãã¦ãã tie ãããå¤æ°ã§ããããã¦ãã¾ãã +[perl #91844, #95548]ã =item * @@ -9131,11 +9114,10 @@ =end original -Freeing $_ inside a C<grep> or C<map> block, a code block embedded in a -regular expression, or an @INC filter (a subroutine returned by a -subroutine in @INC) used to result in double frees or crashes -[perl #91880, #92254, #92256]. -(TBT) +C<grep> ã C<map> ã®å å´ãæ£è¦è¡¨ç¾ã«çµã¿è¾¼ã¾ããã³ã¼ããããã¯ã + @ INC ãã£ã«ã¿ (@INC å ã®ãµãã«ã¼ãã³ã«ãã£ã¦è¿ããããµãã«ã¼ãã³) 㧠+$_ ã解æ¾ããã¨ãäºé解æ¾ãã¯ã©ãã·ã¥ãèµ·ãã¦ãã¾ãã +[perl #91880, #92254, #92256]ã =item * @@ -9149,12 +9131,12 @@ =end original -C<eval> returns C<undef> in scalar context or an empty list in list -context when there is a run-time error. When C<eval> was passed a -string in list context and a syntax error occurred, it used to return a -list containing a single undefined element. Now it returns an empty -list in list context for all errors [perl #80630]. -(TBT) +C<eval> ã¯ãå®è¡æã¨ã©ã¼ããã£ãã¨ããã¹ã«ã©ã³ã³ããã¹ãã§ã¯ C<undef> ãã +ãªã¹ãã³ã³ããã¹ãã§ã¯ç©ºãªã¹ããè¿ãã¾ãã +C<eval> ããªã¹ãã³ã³ããã¹ãã§æååã渡ããã¦ææ³ã¨ã©ã¼ãèµ·ããã¨ã +æªå®ç¾©è¦ç´ ä¸ã¤ãå«ããªã¹ããè¿ããã¦ãã¾ããã +å ¨ã¦ã®ã¨ã©ã¼ã«ã¤ãã¦ãªã¹ãã³ã³ããã¹ãã§ã¯ç©ºãªã¹ããè¿ãããã«ãªãã¾ãã +[perl #80630]ã =item * @@ -9166,10 +9148,9 @@ =end original -C<goto &func> no longer crashes, but produces an error message, when -the unwinding of the current subroutine's scope fires a destructor that -undefines the subroutine being "goneto" [perl #99850]. -(TBT) +C<goto &func> ã¯ãç¾å¨ã®ãµãã«ã¼ãã³ã®ã¹ã³ã¼ãã®å·»ãæ»ãã«ãã£ã¦ +æªå®ç¾©åãããã¨ãã¦ãããµãã«ã¼ãã³ã®ãã¹ãã©ã¯ã¿ãå¼ã³åºããã¨ããã¨ãã +ã¯ã©ãã·ã¥ããã«ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããããã«ãªãã¾ãã [perl #99850]ã =item * @@ -9181,10 +9162,9 @@ =end original -Perl now holds an extra reference count on the package that code is -currently compiling in. This means that the following code no longer -crashes [perl #101486]: -(TBT) +Perl ã¯ã³ã¼ããç¾å¨ã³ã³ãã¤ã«ãã¦ããããã±ã¼ã¸ã«è¿½å ã®åç §ã«ã¦ã³ãã +ä¿æããããã«ãªãã¾ããã +ããã«ãã以ä¸ã®ã³ã¼ãã§ã¯ã©ãã·ã¥ããªããªãã¾ãã [perl #101486]: package Foo; BEGIN {*Foo:: = *Bar::} @@ -9212,10 +9192,11 @@ =end original -Calling C<require> on an implicit C<$_> when C<*CORE::GLOBAL::require> has -been overridden does not segfault anymore, and C<$_> is now passed to the -overriding subroutine [perl #78260]. -(TBT) +C<*CORE::GLOBAL::require> ããªã¼ãã¼ã©ã¤ãããã¦ããã¨ãã«æé»ã® +C<$_> ã«å¯¾ã㦠C<require> ãå¼ã³åºãã¦ãã»ã°ã¡ã³ãã¼ã·ã§ã³éåã +èµ·ãããªããªããC<$_> ã¯ãªã¼ãã¼ã©ã¤ããã¦ãããµãã«ã¼ãã³ã« +渡ãããããã«ãªãã¾ãã [perl #78260]ã + =item * @@ -9233,13 +9214,13 @@ =begin original -C<our $::e; $e> (which is invalid) no longer produces the "Compilation +C<our $::辿; $辿> (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]. =end original -C<our $::e; $e> (ããã¯ä¸æ£ã§ã) 㯠"Compilation +C<our $::é; $é> (ããã¯ä¸æ£ã§ã) 㯠"Compilation error at lib/utf8_heavy.pl..." ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããªããªãã¾ãã; ãã㯠5.10.0 ããåºåããã¦ãã¾ãã [perl #99984]ã @@ -9318,11 +9299,11 @@ =end original -Destructors on objects were not called during global destruction on objects -that were not referenced by any scalars. This could happen if an array -element were blessed (e.g., C<bless \$a[0]>) or if a closure referenced a -blessed variable (C<bless \my @a; sub foo { @a }>). -(TBT) +ãªãã¸ã§ã¯ãã®ãã¹ãã©ã¯ã¿ã¯ãã©ã®ã¹ã«ã©ãããåç §ããã¦ããªããªãã¸ã§ã¯ãã® +ã°ãã¼ãã«ãªç ´å£ã®éã«ã¯å¼ã³åºããã¦ãã¾ããã§ããã +ããã¯é åè¦ç´ ã bless ããã¦ããã (ä¾ãã° C<bless \$a[0]>)ãã¯ãã¼ã¸ã£ã +bless ãããå¤æ°ãåç §ãã¦ãã (C<bless \my @a; sub foo { @a }>) ã¨ãã« +èµ·ããã¾ãã =begin original @@ -9332,10 +9313,9 @@ =end original -Now there is an extra pass during global destruction to fire destructors on -any objects that might be left after the usual passes that check for -objects referenced by scalars [perl #36347]. -(TBT) +ã¹ã«ã©ã«ãã£ã¦åç §ããã¦ãããªãã¸ã§ã¯ãããã§ãã¯ããé常ã®ãã¹ã®å¾ã«ã +æ®ã£ã¦ãããããããªãå ¨ã¦ã®ãªãã¸ã§ã¯ãã®ãã¹ãã©ã¯ã¿ãèµ·åãã +追å ã®ãã¹ãã°ãã¼ãã«ãªç ´å£ä¸ã«è¡ãããããã«ãªãã¾ãã [perl #36347]ã =item * @@ -9372,10 +9352,10 @@ =end original -A problem with context propagation when a C<do> block is an argument to -C<return> has been fixed. It used to cause C<undef> to be returned in -certain cases of a C<return> inside an C<if> block which itself is followed by -another C<return>. +C<do> ãããã¯ã C<return> ã¸ã®å¼æ°ã§ããã¨ãã®ã³ã³ããã¹ãã®ä¼æ¬ã®åé¡ã +ä¿®æ£ããã¾ããã +以åã¯ãèªèº«ã C<return> ã«å¼ãç¶ãã¦ãã C<if> ãããã¯ã®å å´ã® +C<return> ã®ä¸é¨ã®å ´å㧠C<undef> ãè¿ããã¦ãã¾ããã =item * @@ -9416,15 +9396,14 @@ =end original -For list assignments like C<($a,$b) = ($b,$a)>, Perl has to make a copy of -the items on the right-hand side before assignment them to the left. For -efficiency's sake, it assigns the values on the right straight to the items -on the left if no one variable is mentioned on both sides, as in C<($a,$b) = -($c,$d)>. The logic for determining when it can cheat was faulty, in that -C<&&> and C<||> on the right-hand side could fool it. So C<($a,$b) = -$some_true_value && ($b,$a)> would end up assigning the value of C<$b> to -both scalars. -(TBT) +C<($a,$b) = ($b,$a)> ã®ãããªãªã¹ãä»£å ¥ã«ããã¦ãPerl ã¯å·¦å´ã¸ã® +ä»£å ¥ã®åã«å³å´ã®ã¢ã¤ãã ã®ã³ãã¼ãä½ãå¿ è¦ãããã¾ãã +å¹çã®ããã«ãC<($a,$b) = ($c,$d)> ã®ããã«ã両å´ã§è¨åããã¦ãã +å¤æ°ããªãå ´åãå³å´ã®å¤ãç´æ¥å·¦å´ã«ä»£å ¥ãã¾ãã +ãã¤ãã®ãã¾ãããè¡ããã決å®ãããã¸ãã¯ãééã£ã¦ãã¦ã +C<&&> 㨠C<||> ãå³å´ã«ããã¨é¨ããã¦ãã¾ããã +ããã§ãC<($a,$b) = $some_true_value && ($b,$a)> ã¯çµå± C<$b> ã®å¤ã +両æ¹ã®ã¹ã«ã©ã«ä»£å ¥ãããã¨ã«ãªã£ã¦ãã¾ããã =item * @@ -9439,13 +9418,12 @@ =end original -Perl no longer tries to apply lvalue context to the string in -C<("string", $variable) ||= 1> (which used to be an error). Since the -left-hand side of C<||=> is evaluated in scalar context, that's a scalar -comma operator, which gives all but the last item void context. There is -no such thing as void lvalue context, so it was a mistake for Perl to try -to force it [perl #96942]. -(TBT) +Perl 㯠C<("string", $variable) ||= 1> ã®æååã«å·¦è¾ºå¤ã³ã³ããã¹ãã +é©ç¨ãããã¨ããªããªãã¾ãã (ããã¯ä»¥åã¯ã¨ã©ã¼ã«ãªã£ã¦ãã¾ãã)ã +C<||=> ã®å·¦å´ã¯ã¹ã«ã©ã³ã³ããã¹ãã§è©ä¾¡ãããã®ã§ãããã¯ã¹ã«ã© +ã³ã³ãæ¼ç®åã§ãæå¾ä»¥å¤ã®ã¢ã¤ãã ã¯ç¡å¹ã³ã³ããã¹ãã«ãªãã¾ãã +ç¡å¹å·¦è¾ºå¤ã³ã³ããã¹ãã¨ãããã®ã¯ãªãã®ã§ãPerl ã«ãããããããã¨ããã®ã¯ +誤ãã§ãã [perl #96942]ã =item * @@ -9472,11 +9450,9 @@ =end original -C<close> and similar filehandle functions, when called on built-in global -variables (like C<$+>), used to die if the variable happened to hold the -undefined value, instead of producing the usual "Use of uninitialized -value" warning. -(TBT) +C<close> ããã³åæ§ã®ãã¡ã¤ã«ãã³ãã«é¢æ°ã¯ã(C<$+> ã®ãããª)çµã¿è¾¼ã¿ã® +ã°ãã¼ãã«å¤æ°ã§å¼ã³åºãããã¨ãå¤æ°ãæªå®ç¾©å¤ãä¿æãã¦ããå ´åã +é常㮠"Use of uninitialized value" è¦åã§ã¯ãªããdie ãã¦ãã¾ããã =item * @@ -9488,10 +9464,10 @@ =end original -When autovivified file handles were introduced in Perl 5.6.0, C<readline> -was inadvertently made to autovivify when called as C<readline($foo)> (but -not as C<E<lt>$fooE<gt>>). It has now been fixed never to autovivify. -(TBT) +Perl 5.6.0 ã§èªåæå¹åããããã¡ã¤ã«ãã³ãã«ãå°å ¥ãããã¨ãã +C<readline> 㯠(C<E<lt>$fooE<gt>> ã§ã¯ãªã) C<readline($foo)> ã¨ã㦠+å¼ã³åºãããã¨ä¸æ³¨æã«èªåæå¹åãã¦ãã¾ããã +ããã¯ã決ãã¦èªåæå¹åãããªãããã«ä¿®æ£ããã¾ããã =item * @@ -9503,10 +9479,10 @@ =end original -Calling an undefined anonymous subroutine (e.g., what $x holds after -C<undef &{$x = sub{}}>) used to cause a "Not a CODE reference" error, which -has been corrected to "Undefined subroutine called" [perl #71154]. -(TBT) +(ä¾ãã° C<undef &{$x = sub{}}> ã®å¾ã« $x ãä¿æãã¦ãããããª) æªå®ç¾©ã® +ç¡åãµãã«ã¼ãã³ãå¼ã³åºãã¨ã"Not a CODE reference" ã¨ã©ã¼ã +çºçãã¦ãã¾ãã; ãã㯠æ£ãã "Undefined subroutine called" ã« +ä¿®æ£ããã¾ãã [perl #71154]ã =item * @@ -9530,10 +9506,9 @@ =end original -C<setpgrp($foo)> used to be equivalent to C<($foo, setpgrp)>, because -C<setpgrp> was ignoring its argument if there was just one. Now it is -equivalent to C<setpgrp($foo,0)>. -(TBT) +C<setpgrp($foo)> 㯠C<($foo, setpgrp)> ã¨ç価ã§ãã; +C<setpgrp> ã¯å¼æ°ãä¸ã¤ã ãã®ã¨ãã¯å¼æ°ãç¡è¦ãã¦ããããã§ãã +ãã㯠C<setpgrp($foo,0)> ã¨ç価ã«ä¿®æ£ããã¾ããã =item * @@ -9545,10 +9520,9 @@ =end original -C<shmread> was not setting the scalar flags correctly when reading from -shared memory, causing the existing cached numeric representation in the -scalar to persist [perl #98480]. -(TBT) +C<shmread> ã¯ãå ±æã¡ã¢ãªããèªã¿è¾¼ãã ã¨ãã«ã¹ã«ã©ãã©ã°ãæ£ãã +è¨å®ãã¦ããããã¹ã«ã©ã«ãããã§ã«åå¨ãããã£ãã·ã¥ãããæ°å¤è¡¨ç¾ã +æ°¸ç¶åãã¦ãã¾ãã [perl #98480]ã =item * @@ -9773,11 +9747,11 @@ Perl 5.16.0 represents approximately 12 months of development since Perl 5.14.0 and contains approximately 590,000 lines of changes across 2,500 -files from 137 authors. +files from 139 authors. =end original -Perl 5.16.0 ã¯ãPerl 5.14.0 以éã137 人ã®ä½è ã«ãã£ã¦ã +Perl 5.16.0 ã¯ãPerl 5.14.0 以éã139 人ã®ä½è ã«ãã£ã¦ã 2,500 ã®ãã¡ã¤ã«ã«ç´ 590,000 è¡ã®å¤æ´ãå ãã¦ã ç´ 12 ã¶æéçºããã¦ãã¾ããã @@ -9796,35 +9770,36 @@ Aaron Crane, Abhijit Menon-Sen, Abigail, Alan Haggai Alavi, Alberto Sim探es, Alexandr Ciornii, Andreas K旦nig, Andy Dougherty, Aristotle -Pagaltzis, Bo Johansson, Bo Lindbergh, brian d foy, Brian Fraser, Brian -Greenfield, Carl Hayter, Chas. Owens, Chia-liang Kao, Chip Salzenberg, -Chris 'BinGOs' Williams, Christian Hansen, Christopher J. Madsen, -chromatic, Claes Jacobsson, Claudio Ramirez, Craig A. Berry, Damian -Conway, Daniel Kahn Gillmor, Darin McBride, Dave Rolsky, David Cantrell, -David Golden, David Leadbeater, David Mitchell, Dee Newcum, Dennis -Kaarsemaker, Dominic Hargreaves, Douglas Christopher Wilson, Eric Brine, -Father Chrysostomos, Florian Ragwitz, Frederic Briere, George Greer, -Gerard Goossen, Gisle Aas, H.Merijn Brand, Hojung Youn, Ian Goodacre, -James E Keenan, Jan Dubois, Jerry D. Hedden, Jesse Luehrs, Jesse -Vincent, Jilles Tjoelker, Jim Cromie, Jim Meyering, Joel Berger, Johan -Vromans, Johannes Plunien, John Hawkinson, John P. Linderman, John -Peacock, Joshua ben Jore, Juerd Waalboer, Karl Williamson, Karthik -Rajagopalan, Keith Thompson, Kevin J. Woolley, Kevin Ryde, Laurent -Dami, Leo Lapworth, Leon Brocard, Leon Timmermans, Louis Strous, Lukas -Mai, Marc Green, Marcel Gr端nauer, Mark A. Stratman, Mark Dootson, Mark -Jason Dominus, Martin Hasch, Matthew Horsfall, Max Maischein, Michael G -Schwern, Michael Witten, Mike Sheldrake, Moritz Lenz, Nicholas Clark, -Niko Tyni, Nuno Carvalho, Pau Amma, Paul Evans, Paul Green, Paul -Johnson, Perlover, Peter John Acklam, Peter Martini, Peter Scott, Phil -Monsen, Pino Toscano, Rafael Garcia-Suarez, Rainer Tammer, Reini Urban, -Ricardo Signes, Robin Barker, Rodolfo Carvalho, Salvador Fandi単o, Sam -Kimbrel, Samuel Thibault, Shawn M Moore, Shigeya Suzuki, Shlomi Fish, -Sisyphus, Slaven Rezic, Spiros Denaxas, Steffen M端ller, Steffen -Schwigon, Stephen Bennett, Stephen Oberholtzer, Stevan Little, Steve -Hay, Steve Peters, Thomas Sibley, Thorsten Glaser, Timothe Litt, Todd -Rinaldo, Tom Christiansen, Tom Hukins, Tony Cook, Vadim Konovalov, -Vincent Pit, Vladimir Timofeev, Walt Mankowski, Yves Orton, Zefram, -Zsbán Ambrus, Ãvar Arnfjörð Bjarmason. +Pagaltzis, Bo Johansson, Bo Lindbergh, Breno G. de Oliveira, brian d +foy, Brian Fraser, Brian Greenfield, Carl Hayter, Chas. Owens, +Chia-liang Kao, Chip Salzenberg, Chris 'BinGOs' Williams, Christian +Hansen, Christopher J. Madsen, chromatic, Claes Jacobsson, Claudio +Ramirez, Craig A. Berry, Damian Conway, Daniel Kahn Gillmor, Darin +McBride, Dave Rolsky, David Cantrell, David Golden, David Leadbeater, +David Mitchell, Dee Newcum, Dennis Kaarsemaker, Dominic Hargreaves, +Douglas Christopher Wilson, Eric Brine, Father Chrysostomos, Florian +Ragwitz, Frederic Briere, George Greer, Gerard Goossen, Gisle Aas, +H.Merijn Brand, Hojung Youn, Ian Goodacre, James E Keenan, Jan Dubois, +Jerry D. Hedden, Jesse Luehrs, Jesse Vincent, Jilles Tjoelker, Jim +Cromie, Jim Meyering, Joel Berger, Johan Vromans, Johannes Plunien, John +Hawkinson, John P. Linderman, John Peacock, Joshua ben Jore, Juerd +Waalboer, Karl Williamson, Karthik Rajagopalan, Keith Thompson, Kevin J. +Woolley, Kevin Ryde, Laurent Dami, Leo Lapworth, Leon Brocard, Leon +Timmermans, Louis Strous, Lukas Mai, Marc Green, Marcel Gr端nauer, Mark +A. Stratman, Mark Dootson, Mark Jason Dominus, Martin Hasch, Matthew +Horsfall, Max Maischein, Michael G Schwern, Michael Witten, Mike +Sheldrake, Moritz Lenz, Nicholas Clark, Niko Tyni, Nuno Carvalho, Pau +Amma, Paul Evans, Paul Green, Paul Johnson, Perlover, Peter John Acklam, +Peter Martini, Peter Scott, Phil Monsen, Pino Toscano, Rafael +Garcia-Suarez, Rainer Tammer, Reini Urban, Ricardo Signes, Robin Barker, +Rodolfo Carvalho, Salvador Fandi単o, Sam Kimbrel, Samuel Thibault, Shawn +M Moore, Shigeya Suzuki, Shirakata Kentaro, Shlomi Fish, Sisyphus, +Slaven Rezic, Spiros Denaxas, Steffen M端ller, Steffen Schwigon, Stephen +Bennett, Stephen Oberholtzer, Stevan Little, Steve Hay, Steve Peters, +Thomas Sibley, Thorsten Glaser, Timothe Litt, Todd Rinaldo, Tom +Christiansen, Tom Hukins, Tony Cook, Vadim Konovalov, Vincent Pit, +Vladimir Timofeev, Walt Mankowski, Yves Orton, Zefram, Zsb叩n Ambrus, +Ãvar Arnfjörð Bjarmason. =begin original @@ -9959,6 +9934,7 @@ =begin meta Translate: SHIRAKATA Kentaro <argra****@ub32*****> +Status: completed =end meta