argra****@users*****
argra****@users*****
2012年 4月 21日 (土) 21:09:04 JST
Index: docs/perl/5.16.0/perl5160delta.pod diff -u docs/perl/5.16.0/perl5160delta.pod:1.1 docs/perl/5.16.0/perl5160delta.pod:1.2 --- docs/perl/5.16.0/perl5160delta.pod:1.1 Fri Apr 20 18:03:09 2012 +++ docs/perl/5.16.0/perl5160delta.pod Sat Apr 21 21:09:04 2012 @@ -9,6 +9,7 @@ =end original +perl5160delta - perl v5.16.0 ã§ã®å¤æ´ç¹ =head1 DESCRIPTION @@ -19,6 +20,7 @@ =end original +ãã®ææ¸ã¯ 5.14.0 ãªãªã¼ã¹ã¨ 5.16.0 ãªãªã¼ã¹ã®å¤æ´ç¹ãè¨è¿°ãã¦ãã¾ãã =begin original @@ -28,6 +30,8 @@ =end original +5.12.0 ã®ãããªä»¥åã®ãªãªã¼ã¹ããæ´æ°ããå ´åã¯ãã¾ã 5.12.0 㨠+5.14.0 ã®éãã«ã¤ãã¦è¨è¿°ãã¦ãã L<perl5140delta> ãèªãã§ãã ããã =head1 Notice @@ -161,7 +165,7 @@ =begin original The new C<unicode_eval> and C<evalbytes> features (enabled under C<use -5.16.0> resolve this. The C<unicode_eval> feature causes C<eval +5.16.0>) resolve this. The C<unicode_eval> feature causes C<eval $string> to treat the string always as Unicode. The C<evalbytes> features provides a function, itself called C<evalbytes>, which evaluates its argument always as a string of bytes. @@ -396,6 +400,8 @@ =head3 Supports (I<almost>) Unicode 6.1 +((I<ã»ã¼>) Unicode 6.1 対å¿) + =begin original Besides the addition of whole new scripts, and new characters in @@ -575,6 +581,8 @@ =head3 C<use charnames> is no longer needed for C<\N{I<name>}> +(C<\N{I<name>}> ã«ã¯ C<use charnames> ã¯ä¸è¦ã«) + =begin original When C<\N{I<name>}> is encountered, the C<charnames> module is now @@ -590,6 +598,8 @@ =head3 C<\N{...}> can now have Unicode loose name matching +(C<\N{...}> 㯠Unicode ã®ç·©ãååã®ãããã³ã°ã«) + =begin original This is described in the C<charnames> item in @@ -602,6 +612,8 @@ =head3 Unicode Symbol Names +(Unicode ã·ã³ãã«å) + =begin original Perl now has proper support for Unicode in symbol names. It used to be @@ -762,29 +774,30 @@ =begin original -C<$辿> is now subject to "Used only once" warnings. It used to be exempt, -as it was treated as a punctuation variable. +One-character non-ASCII non-punctuation variables (like C<$辿>) are now +subject to "Used only once" warnings. They used to be exempt, as they +was treated as punctuation variables. =end original -C<$é> 㯠"Used only once" è¦åãåºãããã«ãªãã¾ããã +(C<$é> ã®ãããª) åä¸æåé ASCII éå¥èªç¹å¤æ°ã¯ã¯ +"Used only once" è¦åãåºãããã«ãªãã¾ããã ä»ã¾ã§ã¯ãããã¯å¥èªç¹å¤æ°ã¨ãã¦æ±ããã¦ããã®ã§è¦åããå ãã¦ãã¾ããã =begin original Also, single-character Unicode punctuation variables (like $â°) are now -supported [perl #69032]. They are also supported with C<our> and C<my>, -but that is a mistake that will be fixed before 5.16. +supported [perl #69032]. =end original ã¾ãã($â° ã®ãããª)åä¸æåã® Unicode å¥èªç¹å¤æ°ã«å¯¾å¿ãã¾ãã [perl #69032]ã -ããã¯ã¾ã C<our> 㨠C<my> ã§ã対å¿ãã¦ãã¾ããããã㯠5.16 以å㧠-ä¿®æ£ããããã¹ã§ãã =head3 Improved ability to mix locales and Unicode, including UTF-8 locales +((UTF-8 ãã±ã¼ã«ãå«ã)ãã±ã¼ã«ã¨ Unicode ãæ··ããè½åã®æ¹å) + =begin original An optional parameter has been added to C<use locale> @@ -827,6 +840,8 @@ =head3 New function C<fc> and corresponding escape sequence C<\F> for Unicode foldcase +(Unicode ç³ã¿è¾¼ã¿æåã®ããã®æ°ããé¢æ° C<fc> ã¨å¯¾å¿ããã¨ã¹ã±ã¼ãã·ã¼ã±ã³ã¹ C<\F>) + =begin original Unicode foldcase is an extension to lowercase that gives better results @@ -857,6 +872,8 @@ =head3 The Unicode C<Script_Extensions> property is now supported. +(Unicode ã® C<Script_Extensions> ç¹æ§ã«å¯¾å¿) + =begin original New in Unicode 6.0, this is an improved C<Script> property. Details @@ -871,6 +888,8 @@ =head3 Improved typemaps for Some Builtin Types +(ããã¤ãã®çµã¿è¾¼ã¿åã® typemap ã®æ¹å) + =begin original Most XS authors will be aware that there is a longstanding bug in the @@ -919,6 +938,8 @@ =head3 Added C<is_utf8_char_buf()> +(C<is_utf8_char_buf()> ã®è¿½å ) + =begin original This function is designed to replace the deprecated L</is_utf8_char()> @@ -934,6 +955,8 @@ =head3 Other C<is_utf8_foo()> functions, as well as C<utf8_to_foo()>, etc. +(C<utf8_to_foo()> ã®ãããªããã®ä»ã® C<is_utf8_foo()> é¢æ°) + =begin original Most of the other XS-callable functions that take UTF-8 encoded input @@ -957,6 +980,8 @@ =head3 New Pad API +(æ°ããããã API) + =begin original Many new functions have been added to the API for manipulating lexical @@ -969,8 +994,12 @@ =head2 Changes to Special Variables +(ç¹æ®å¤æ°ã«é¢ããå¤æ´) + =head3 C<$$> can be assigned to +(C<$$> ã¯ä»£å ¥å¯è½ã«) + =begin original C<$$> was made read-only in Perl 5.8.0. But only sometimes: C<local $$> @@ -990,6 +1019,8 @@ =head3 C<$^X> converted to an absolute path on FreeBSD, OS X and Solaris +(FreeBSD, OS X, Solaris ã§ã C<$^X> ã絶対ãã¹ã«å¤æãããããã«) + =begin original C<$^X> is now converted to an absolute path on OS X, FreeBSD (without @@ -1056,7 +1087,7 @@ =begin original The debugger now has C<disable> and C<enable> commands for disabling -existing breakpoints and re谷nabling them. See L<perldebug>. +existing breakpoints and re-enabling them. See L<perldebug>. =end original @@ -1082,6 +1113,8 @@ =head2 The C<CORE> Namespace +(C<CORE> åå空é) + =head3 The C<CORE::> prefix (C<CORE::> åç½®è©) @@ -1147,8 +1180,12 @@ =head2 Other Changes +(ãã®ä»ã®å¤æ´) + =head3 Anonymous handles +(ç¡åãã³ãã«) + =begin original Automatically generated file handles are now named __ANONIO__ when the @@ -1161,6 +1198,8 @@ =head3 Autoloaded sort Subroutines +(ã½ã¼ããµãã«ã¼ãã³ããªã¼ããã¼ããããããã«) + =begin original Custom sort subroutines can now be autoloaded [perl #30661]: @@ -1175,6 +1214,8 @@ =head3 C<continue> no longer requires the "switch" feature +(C<continue> ã«ã¯ "switch" ã¯ä¸è¦ã«) + =begin original The C<continue> keyword has two meanings. It can introduce a C<continue> @@ -1196,6 +1237,8 @@ =head3 DTrace probes for interpreter phase change +(ã¤ã³ã¿ããªã¿ãã§ã¼ãºå¤æ´ã®ããã® DTrace ããã¼ã) + =begin original The C<phase-change> probes will fire when the interpreter's phase @@ -1213,6 +1256,8 @@ =head3 C<__FILE__()> Syntax +(C<__FILE__()> ææ³) + =begin original The C<__FILE__>, C<__LINE__> and C<__PACKAGE__> tokens can now be written @@ -1251,6 +1296,8 @@ =head3 C<_> in subroutine prototypes +(ãµãã«ã¼ãã³ãããã¿ã¤ãã® C<_>) + =begin original The C<_> character in subroutine prototypes is now allowed before C<@> or @@ -1263,8 +1310,12 @@ =head1 Security +(ã»ãã¥ãªãã£) + =head2 Use C<is_utf8_char_buf()> and not C<is_utf8_char()> +(C<is_utf8_char()> ã§ã¯ãªã C<is_utf8_char_buf()> ã使ã) + =begin original The latter function is now deprecated because its API is insufficient to @@ -1280,6 +1331,8 @@ =head2 C<File::Glob::bsd_glob()> memory error with GLOB_ALTDIRFUNC (CVE-2011-2728). +(GLOB_ALTDIRFUNC ã§ã® C<File::Glob::bsd_glob()> ã®ã¡ã¢ãªã¨ã©ã¼ (CVE-2011-2728)) + =begin original Calling C<File::Glob::bsd_glob> with the unsupported flag @@ -1303,7 +1356,7 @@ =head2 Privileges are now set correctly when assigning to C<$(> -(C<$(> ã¸ã®ä»£å ¥æã«æ¨©éãé©åã«è¨å®ãããããã«ãªãã¾ãã) +(C<$(> ã¸ã®ä»£å ¥æã«æ¨©éãé©åã«è¨å®ãããããã«) =begin original @@ -1319,10 +1372,14 @@ ãã®ãã°ã¯ C<setresgid()> ã¯ããããã©ã C<setregid()> ããªãã·ã¹ãã ã«ã®ã¿ å½±é¿ãä¸ãã¾ããããã®ãããªã·ã¹ãã ã¯ç¥ããã¦ãã¾ããã -=head1 Deprecations +=head1 Deprecation + +(éæ¨å¥¨) =head2 Don't read the Unicode data base files in F<lib/unicore> +(F<lib/unicore> ã«ãã Unicode ãã¼ã¿ãã¼ã¹ãã¡ã¤ã«ã¯èªã¿è¾¼ã¾ãªã) + =begin original It is now deprecated to directly read the Unicode data base files. @@ -1438,7 +1495,7 @@ =head2 Platforms with no supporting programmers: -(ãµãã¼ãããããã°ã©ããããªããã©ãããã©ã¼ã :) +(ãµãã¼ãããããã°ã©ããããªããã©ãããã©ã¼ã ) =begin original @@ -1503,7 +1560,16 @@ $< 㨠$> ã®äº¤æ -https://rt.perl.org/rt3/Ticket/Display.html?id=96212 +=begin original + +For more information about this future deprecation, see L<the relevant RT +ticket|https://rt.perl.org/rt3/Ticket/Display.html?id=96212>. + +=end original + +For more information about this future deprecation, see L<the relevant RT +ticket|https://rt.perl.org/rt3/Ticket/Display.html?id=96212>. +(TBT) =item * @@ -1537,7 +1603,7 @@ v5.18 ã§ã¯ããã®ãããªä½¿ç¨å ¨ã¦ã§è¦åãåºåããã¾ãã ããã¯ãªãã©ã«ãª C<"{"> ã«ãããã³ã°ãããã¿ã¼ã³ã«ã®ã¿å½±é¿ãä¸ãããã¨ã« 注æãã¦ãã ããã -éæå®åã®ä¸é¨ãã以ä¸ã®ã·ã¼ã±ã³ã¹ã®ãããªããã®ä»ã®ãã®æåã®æ °å´ã«ã¯ +éæå®åã®ä¸é¨ãã以ä¸ã®ã·ã¼ã±ã³ã¹ã®ãããªããã®ä»ã®ãã®æåã®ä½¿ç¨ã«ã¯ å ¨ãå½±é¿ãä¸ãã¾ãã: /foo{3,5}/ @@ -1560,8 +1626,12 @@ =head1 Incompatible Changes +(äºææ§ã®ãªãå¤æ´) + =head2 Special blocks called in void context +(ç¹æ®ãããã¯ã¯ç¡å¹ã³ã³ããã¹ãã§å¼ã³åºãããããã«) + =begin original Special blocks (C<BEGIN>, C<CHECK>, C<INIT>, C<UNITCHECK>, C<END>) are now @@ -1576,6 +1646,8 @@ =head2 The C<overloading> pragma and regexp objects +(C<overloading> ãã©ã°ãã¨æ£è¦è¡¨ç¾ãªãã¸ã§ã¯ã) + =begin original With C<no overloading>, regular expression objects returned by C<qr//> are @@ -1590,6 +1662,8 @@ =head2 Two XS typemap Entries removed +(äºã¤ã® XS typemap ã¨ã³ããªãåé¤) + =begin original Two presumably unused XS typemap entries have been removed from the @@ -1606,6 +1680,8 @@ =head2 Unicode 6.1 has incompatibilities with Unicode 6.0 +(Unicode 6.1 㯠Unicode 6.0 ã¨äºææ§ããªã) + =begin original These are detailed in L</Supports (almost) Unicode 6.1> above. @@ -1621,6 +1697,8 @@ =head2 Borland compiler +(Borland ã³ã³ãã¤ã©) + =begin original All support for the Borland compiler has been dropped. The code had not @@ -1633,6 +1711,8 @@ =head2 Certain deprecated Unicode properties are no longer supported by default +(ããã¤ãã®éæ¨å¥¨ã® Unicode ç¹æ§ãããã©ã«ãã§ã¯ãµãã¼ãå¤ã«) + =begin original Perl should never have exposed certain Unicode properties that are used @@ -1668,6 +1748,8 @@ =head2 Dereferencing IO thingies as typeglobs +(IO ç³»ã®ãã®ãåã°ããã¨ãã¦ããªãã¡ã¬ã³ã¹) + =begin original The C<*{...}> operator, when passed a reference to an IO thingy (as in @@ -1712,6 +1794,8 @@ =head2 User-defined case changing operations. +(ã¦ã¼ã¶ã¼å®ç¾©å¤§æåå¤æ´æä½) + =begin original This feature was deprecated in Perl 5.14, and has now been removed. @@ -1729,6 +1813,8 @@ =head2 XSUBs are now 'static' +(XSUB 㯠'static' ã«) + =begin original XSUB C functions are now 'static', that is, they are not visible from @@ -1755,6 +1841,8 @@ =head2 Weakening read-only references +(èªã¿è¾¼ã¿å°ç¨ã®åç §ãå¼±ããã) + =begin original Weakening read-only references is no longer permitted. It should never @@ -1767,6 +1855,8 @@ =head2 Tying scalars that hold typeglobs +(åã°ãããä¿æãã¦ããã¹ã«ã©ã® tie) + =begin original Attempting to tie a scalar after a typeglob was assigned to it would @@ -1815,12 +1905,27 @@ =head2 IPC::Open3 no longer provides C<xfork()>, C<xclose_on_exec()> and C<xpipe_anon()> +(IPC::Open3 㯠C<xfork()>, C<xclose_on_exec()>, C<xpipe_anon()> ãæä¾ãã¾ãã) + +=begin original + All three functions were private, undocumented and unexported. They do not appear to be used by any code on CPAN. Two have been inlined and one deleted entirely. +=end original + +ãããä¸ã¤ã®é¢æ°ã¯ãã©ã¤ãã¼ããªãã®ã§ææ¸åããã¦ãããã¨ã¯ã¹ãã¼ãã +ããã¦ãã¾ããã +ããã㯠CPAN ã®ã©ã®ã³ã¼ãããã使ããã¦ãã¾ããã +äºã¤ã¯ã¤ã³ã©ã¤ã³åãããä¸ã¤ã¯å®å ¨ã«åé¤ããã¾ããã + =head2 C<$$> no longer caches PID +(C<$$> 㯠PID ããã£ãã·ã¥ãã¾ãã) + +=begin original + Previously, if one called fork(3) from C, Perl's notion of C<$$> could go out of sync with what getpid() returns. By always fetching the value of C<$$> via getpid(), this potential bug is eliminated. @@ -1829,6 +1934,16 @@ C<$$> is now writable, but it will be reset during a fork. +=end original + +以åã¯ãC ãã fork(3) ãå¼ã³åºãã¨ãPerl ã® C<$$> ã®æ¦å¿µã¯ getpid() ã +è¿ããã®ã¨åæããªããªããã¨ãããã¾ããã +常㫠getpid() çµç±ã§ C<$$> ã®å¤ãåå¾ãããã¨ã§ããã®æ½å¨çãªãã°ã¯ +ä¿®æ£ããã¾ããã +ãã£ãã·ã¥ããæ¯ãèãã«ä¾åãã¦ããã³ã¼ãã¯åããªããªãã¾ãã +L<Core Enhancements|/C<$$> can be assigned to> ã§è¨è¿°ããããã«ã +C<$$> ã¯æ¸ãè¾¼ã¿å¯è½ã«ãªãã¾ããããfork ä¸ã¯ãªã»ããããã¾ãã + =head2 C<$$> and C<getppid()> no longer emulate POSIX semantics under LinuxThreads The POSIX emulation of C<$$> and C<getppid()> under the obsolete @@ -1850,7 +1965,7 @@ 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 -sete?[ug]id() without updating C<PL_e?[ug]id>. Having to deal with +C<sete?[ug]id()> without updating C<PL_e?[ug]id>. Having to deal with this complexity wasn't worth it given how cheap the C<gete?[ug]id()> system call is. @@ -1994,7 +2109,7 @@ =item L<Version::Requirements> -Version::Requirements is now DEPRECATED, use CPAN::Meta::Requirements, +Version::Requirements is now DEPRECATED, use L<CPAN::Meta::Requirements>, which is a drop-in replacement. It will be deleted from perl.git blead in v5.17.0.