argra****@users*****
argra****@users*****
2011年 4月 19日 (火) 21:33:34 JST
Index: docs/perl/5.14.0/perl5140delta.pod diff -u docs/perl/5.14.0/perl5140delta.pod:1.9 docs/perl/5.14.0/perl5140delta.pod:1.10 --- docs/perl/5.14.0/perl5140delta.pod:1.9 Tue Apr 19 01:12:44 2011 +++ docs/perl/5.14.0/perl5140delta.pod Tue Apr 19 21:33:34 2011 @@ -56,10 +56,10 @@ =end original -As described in L<perlpolicy>, the release of Perl 5.14.0 marks the -official end of support for Perl 5.10. Users of Perl 5.10 or earlier -should consider upgrading to a more recent release of Perl. -(TBT) +L<perlpolicy> ã«è¨è¿°ããã¦ããããã«ãPerl 5.14.0 ã«ãã£ã¦ Perl 5.10 ã® +ãµãã¼ããå ¬å¼ã«çµäºãã¾ãã +Perl 5.10 以åã®ã¦ã¼ã¶ã¼ã¯ããæ°ãã Perl ã«ã¢ããã°ã¬ã¼ããããã¨ã +æ¤è¨ããã¹ãã§ãã =head1 Core Enhancements @@ -411,9 +411,8 @@ =end original -This change is likely to break code which compares stringified regular -expressions with fixed strings containing C<?-xism>. -(TBT) +ãã®å¤æ´ã¯ãæåååãããæ£è¦è¡¨ç¾ã C<?-xism> ãå«ãåºå®æåå㨠+æ¯è¼ãã¦ããã³ã¼ããå£ãããã§ãã =head3 C</d>, C</l>, C</u>, C</a>, and C</aa> modifiers @@ -618,7 +617,8 @@ It also allows you to specify a character in octal which can safely be concatenated with other regex snippets and which won't be confused with being a backreference to -a regex capture group. See L<perlre/Capture groups>. +a regex capture group. +L<perlre/Capture groups> ãåç §ãã¦ãã ããã (TBT) =head3 Add C<\p{Titlecase}> as a synonym for C<\p{Title}> @@ -2060,10 +2060,9 @@ =end original -We find no Perl 5 code on CPAN using this construction, outside the core's -tests for it, +ããã®ããã®ã³ã¢ã®ãã¹ã以å¤ãCPAN ã«ãã®æ§é ã使ã£ã¦ãã Perl 5 ã® +ã³ã¼ãã¯ããã¾ããã§ããã å®éã®ä¸çã®ã³ã¼ããã¼ã¹ã§ã¯ã»ã¨ãã©å½±é¿ãä¸ããªãã¨ä¿¡ãã¦ãã¾ãã -(TBT) =begin original @@ -2719,6 +2718,8 @@ =head2 Lexical array and hash assignments +(ã¬ãã·ã«ã«ãªé åãããã·ã¥ã¸ã®ä»£å ¥) + =begin original An earlier optimisation to speed up C<my @array = ...> and @@ -2740,6 +2741,8 @@ =head2 C<@_> uses less memory +(C<@_> ã®ã¡ã¢ãªæ¶è²»ãæ¸ãã¾ãã) + =begin original Previously, C<@_> was allocated for every subroutine at compile time with @@ -2755,6 +2758,8 @@ =head2 Size optimisations to SV and HV structures +(SV æ§é ä½ã¨ HV æ§é ä½ã®ãµã¤ãºæé©å) + =begin original xhv_fill has been eliminated from struct xpvhv, saving 1 IV per hash and @@ -2814,6 +2819,8 @@ =head2 Memory consumption improvements to Exporter +(Exporter ã®ã¡ã¢ãªæ¶è²»ã®æ¹å) + =begin original The @EXPORT_FAIL AV is no longer created unless required, hence neither is @@ -2829,6 +2836,8 @@ =head2 Memory savings for weak references +(å¼±ãåç §ã®ã¡ã¢ãªç¯ç´) + =begin original For weak references, the common case of just a single weak reference @@ -2845,6 +2854,8 @@ =head2 C<%+> and C<%-> use less memory +(C<%+> 㨠C<%-> ã®ã¡ã¢ãªæ¶è²»ãæ¸ãã¾ãã) + =begin original The bulk of the C<Tie::Hash::NamedCapture> module used to be in the perl @@ -2859,6 +2870,8 @@ =head2 Multiple small improvements to threads +(ã¹ã¬ããã«é¢ããè¤æ°ã®å°ããªæ¹å) + =begin original The internal structures of threading now make fewer API calls and fewer @@ -2876,6 +2889,8 @@ =head2 Adjacent pairs of nextstate opcodes are now optimized away +(é£ç¶ãã¦ãã netstate op ã³ã¼ãã®çµã¯æé©åã§åé¤ããã¾ã) + =begin original Previously, in code such as @@ -2923,8 +2938,12 @@ =head1 Modules and Pragmata +(ã¢ã¸ã¥ã¼ã«ã¨ãã©ã°ã) + =head2 New Modules and Pragmata +(æ°ããã¢ã¸ã¥ã¼ã«ã¨ãã©ã°ã) + =over 4 =item * @@ -2981,12 +3000,12 @@ =end original -C<HTTP::Tiny> 0.012 has been added as a dual-life module. It is a very -small, simple HTTP/1.1 client designed for simple GET requests and file -mirroring. It has has been added to enable CPAN.pm and CPANPLUS to -"bootstrap" HTTP access to CPAN using pure Perl without relying on external -binaries like F<curl> or F<wget>. -(TBT) +C<HTTP::Tiny> 0.012 ãäºé管çã¢ã¸ã¥ã¼ã«ã¨ãã¦è¿½å ããã¾ããã +ããã¯ãåç´ãª GET ãªã¯ã¨ã¹ãã¨ãã¡ã¤ã«ãã©ã¼ã®ããã«è¨è¨ããã +ã¨ã¦ãå°ããåç´ãª HTTP/1.1 ã¯ã©ã¤ã¢ã³ãã§ãã +ããã¯ãCPAN.pm 㨠CPANPLUS ã F<curl> ã F<wget> ã¨ãã£ãå¤é¨ãã¤ããªã« +é ¼ããã¨ãªããã¥ã¢ Perl ã使ã£ã¦ CPAN ã¸ã®ããã¼ãã¹ãã©ãããHTTP +ã¢ã¯ã»ã¹ãå¯è½ã«ããããã«è¿½å ããã¾ããã =item * @@ -3083,6 +3102,8 @@ =head2 Updated Modules and Pragma +(æ´æ°ãããã¢ã¸ã¥ã¼ã«ã¨ãã©ã°ã) + =over 4 =item * @@ -5772,6 +5793,8 @@ =head2 Removed Modules and Pragmata +(åé¤ãããã¢ã¸ã¥ã¼ã«ã¨ãã©ã°ã) + =begin original As promised in Perl 5.12.0's release notes, the following modules have @@ -5913,6 +5936,8 @@ =head3 Replace incorrect tr/// table in L<perlebcdic> +(L<perlebcdic> ã®ééã£ã tr/// ã®ç½®ãæã) + =begin original L<perlebcdic> contains a helpful table to use in tr/// to convert @@ -5950,6 +5975,8 @@ =head3 Tricks for user-defined casing +(ã¦ã¼ã¶ã¼å®ç¾©ã®å¤§æåå°æåå®ç¾©ã«é¢ããããªãã¯) + =begin original L<perlunicode> now contains an explanation of how to override, mangle @@ -5967,6 +5994,8 @@ =head3 INSTALL explicitly states that Perl requires a C89 compiler +(INSTALL 㧠Perl ã C89 ã³ã³ãã¤ã©ãå¿ è¦ã§ãããã¨ãæ示çã«å®£è¨ãã¾ãã) + =begin original This was already true but it's now Officially Stated For The Record @@ -5978,6 +6007,8 @@ =head3 Explanation of C<\xI<HH>> and C<\oI<OOO>> escapes +(C<\xI<HH>> ã¨ã¹ã±ã¼ã㨠C<\oI<OOO>> ã¨ã¹ã±ã¼ãã®èª¬æ) + =begin original L<perlop> has been updated with more detailed explanation of these two @@ -5990,6 +6021,8 @@ =head3 C<-0I<NNN>> switch +(C<-0I<NNN>> ãªãã·ã§ã³) + =begin original In L<perlrun>, the behavior of the C<-0NNN> switch for C<-0400> or higher @@ -6016,6 +6049,8 @@ =head3 Deprecation policy +(éæ¨å¥¨ããªã·ã¼) + =begin original L<perlpolicy> now contains the policy on compatibility and deprecation @@ -6028,6 +6063,8 @@ =head3 New descriptions in L<perldiag> +(L<perldiag> ã®æ°ããè¨è¿°) + =begin original The following existing diagnostics are now documented: @@ -6080,6 +6117,8 @@ =head3 C<SvTRUE> macro +(C<SvTRUE> ãã¯ã) + =begin original The documentation for the C<SvTRUE> macro in @@ -6094,6 +6133,8 @@ =head3 L<perlvar> revamp +(L<perlvar> ã®å·æ°) + =begin original L<perlvar> reorders the variables and groups them by topic. Each variable @@ -6111,6 +6152,8 @@ =head3 Array and hash slices in scalar context +(ã¹ã«ã©ã³ã³ããã¹ãã§ã®é åã¨ããã·ã¥ã®ã¹ã©ã¤ã¹) + =begin original These are now documented in L<perldata>. @@ -6122,6 +6165,8 @@ =head3 C<use locale> and formats +(C<use locale> ã¨ãã©ã¼ããã) + =begin original L<perlform> and L<perllocale> have been corrected to state that @@ -6148,6 +6193,8 @@ =head3 perlhack and perlrepository revamp +(perlhack 㨠perlrepository ã®å·æ°) + =begin original The L<perlhack> document is now much shorter, and focuses on the Perl 5 @@ -6182,6 +6229,8 @@ =head3 Time::Piece examples +(Time::Piece ã®ä¾) + =begin original Examples in L<perlfaq4> have been updated to show the use of @@ -6768,6 +6817,8 @@ =head1 Platform Support +(ãã©ãããã©ã¼ã 対å¿) + =head2 New Platforms (æ°ãããã©ãããã©ã¼ã ) @@ -7447,10 +7498,16 @@ =head1 Internal Changes +(å é¨ã®å¤æ´) + =head2 New APIs +(æ°ãã API) + =head3 CLONE_PARAMS structure added to ease correct thread creation +(æ£ããã¹ã¬ããä½æã容æã«ããããã« CLONE_PARAMS æ§é ä½ã追å ããã¾ãã) + =begin original Modules that create threads should now create C<CLONE_PARAMS> structures @@ -7470,6 +7527,8 @@ =head3 New parsing functions +(æ°ãããã¼ã¹é¢æ°) + =begin original Several functions have been added for parsing statements or multiple @@ -7578,6 +7637,8 @@ =head3 Hints hash API +(ãã³ãããã·ã¥ API) + =begin original A new C API for introspecting the hinthash C<%^H> at runtime has been @@ -7606,6 +7667,8 @@ =head3 C interface to C<caller()> +(C<caller()> ã¸ã® C ã¤ã³ã¿ã¼ãã§ã¼ã¹) + =begin original The C<caller_cx> function has been added as an XSUB-writer's equivalent of @@ -7619,6 +7682,8 @@ =head3 Custom per-subroutine check hooks +(ãµãã«ã¼ãã³æ¯ã®ã«ã¹ã¿ã ãã§ãã¯ããã¯) + =begin original XS code in an extension module can now annotate a subroutine (whether @@ -7661,6 +7726,8 @@ =head3 Improved support for custom OPs +(ã«ã¹ã¿ã op ã¸ã®æ¹è¯ããã対å¿) + =begin original Custom ops can now be registered with the new C<custom_op_register> C @@ -7717,6 +7784,8 @@ =head3 Scope hooks +(ã¹ã³ã¼ãããã¯) + =begin original It is now possible for XS code to hook into Perl's lexical scope @@ -7732,6 +7801,8 @@ =head3 The recursive part of the peephole optimizer is now hookable +(è¦ãç©´æé©å¨ã®å帰é¨åãããã¯å¯è½ã«ãªãã¾ãã) + =begin original In addition to C<PL_peepp>, for hooking into the toplevel peephole optimizer, a @@ -7747,6 +7818,8 @@ =head3 New non-magical variants of existing functions +(æ¢åã®é¢æ°ã®æ°ããéãã¸ã«ã«ç) + =begin original The following functions/macros have been added to the API. The C<*_nomg> @@ -7784,6 +7857,8 @@ =head3 pv/pvs/sv versions of existing functions +(æ¢åã®é¢æ°ã®pv/pvs/sv ç) + =begin original Many functions ending with pvn now have equivalent pv/pvs/sv versions. @@ -7795,6 +7870,8 @@ =head3 List op-building functions +(ãªã¹ã op æ§ç¯é¢æ°) + =begin original List op-building functions have been added to the @@ -7825,6 +7902,8 @@ =head3 Localisation functions +(ãã¼ã«ã«åé¢æ°) + =begin original The C<save_freeop>, C<save_op>, C<save_pushi32ptr> and C<save_pushptrptr> @@ -7838,6 +7917,8 @@ =head3 Stash names +(ã¹ã¿ãã·ã¥å) + =begin original A stash can now have a list of effective names in addition to its usual @@ -7917,6 +7998,8 @@ =head3 C<PERL_STATIC_INLINE> define +(C<PERL_STATIC_INLINE> å®ç¾©) + =begin original The C<PERL_STATIC_INLINE> define has been added to provide the best-guess @@ -7943,6 +8026,8 @@ =head3 New C<pv_escape> option for hexadecimal escapes +(16 é²ã¨ã¹ã±ã¼ãã®ããã®æ°ãã C<pv_escape> ãªãã·ã§ã³) + =begin original A new option, C<PERL_PV_ESCAPE_NONASCII>, has been added to C<pv_escape> to @@ -7969,6 +8054,8 @@ =head3 C<op_scope()> and C<op_lvalue()> +(C<op_scope()> 㨠C<op_lvalue()>) + =begin original The C<op_scope()> and C<op_lvalue()> functions have been added to the API, @@ -7982,8 +8069,12 @@ =head2 C API Changes +(C API ã®å¤æ´) + =head3 C<PERL_POLLUTE> has been removed +(C<PERL_POLLUTE> ã¯åé¤ããã¾ãã) + =begin original The option to define C<PERL_POLLUTE> to expose older 5.005 symbols for @@ -8012,6 +8103,8 @@ =head3 Check API compatibility when loading XS modules +(XS ã¢ã¸ã¥ã¼ã«ãèªã¿è¾¼ãã¨ãã®ãã§ã㯠API ã®äºææ§) + =begin original When perl's API changes in incompatible ways (which usually happens between @@ -8074,6 +8167,8 @@ =head3 GvCV() and GvGP() are no longer lvalues +(GvCV() 㨠GvGP() ã¯ãã¯ã左辺å¤ã§ã¯ããã¾ãã) + =begin original The new GvCV_set() and GvGP_set() macros are now provided to replace @@ -8100,6 +8195,8 @@ =head3 CvGV() is no longer an lvalue +(CvGV() ã¯ãã¯ã左辺å¤ã§ã¯ããã¾ãã) + =begin original Under some circumstances, the C<CvGV()> field of a CV is now @@ -8121,6 +8218,8 @@ =head3 CvSTASH() is no longer an lvalue +(CvSTASH() ã¯ãã¯ã左辺å¤ã§ã¯ããã¾ãã) + =begin original The C<CvSTASH()> macro can now only be used as an rvalue. C<CvSTASH_set()> @@ -8138,6 +8237,8 @@ =head3 Calling conventions for C<newFOROP> and C<newWHILEOP> +(C<newFOROP> 㨠C<newWHILEOP> ã®å¼ã³åºãè¦ç´) + =begin original The way the parser handles labels has been cleaned up and refactored. As a @@ -8210,6 +8311,8 @@ =head2 Deprecated C APIs +(éæ¨å¥¨ã® C API) + =over =item C<Perl_ptr_table_clear> @@ -8313,8 +8416,12 @@ =head2 Other Internal Changes +(ãã®ä»ã®å é¨ã®å¤æ´) + =head3 Stack unwinding +(ã¹ã¿ãã¯ã®å·»ãæ»ã) + =begin original The protocol for unwinding the C stack at the last stage of a C<die> @@ -8338,6 +8445,8 @@ =head3 Scope stack entries +(ã¹ã³ã¼ãã¹ã¿ãã¯ã¨ã³ããª) + =begin original The format of entries on the scope stack has been changed, resulting in a @@ -8353,6 +8462,8 @@ =head3 Memory allocation for pointer tables +(ãã¤ã³ã¿ãã¼ãã«ã®ããã®ã¡ã¢ãªå²ãå½ã¦) + =begin original Memory allocation for pointer tables has been changed. Previously @@ -8389,6 +8500,8 @@ =head3 String comparison routines renamed +(æååæ¯è¼ã«ã¼ãã³ã®ååãå¤ããã¾ãã) + =begin original The ibcmp_* functions have been renamed and are now called foldEQ, @@ -8404,6 +8517,8 @@ =head3 C<chop> and C<chomp> implementations merged +(C<chop> 㨠C<chomp> ã®å®è£ ããã¼ã¸ããã¾ãã) + =begin original The opcode bodies for C<chop> and C<chomp> and for C<schop> and C<schomp> @@ -11047,6 +11162,8 @@ =head2 C<keys>, C<values> and C<each> work on arrays +(C<keys>, C<values>, C<each> ã¯é åã§ãåä½ãã¾ã) + =begin original You can now use the C<keys>, C<values>, C<each> builtin functions on arrays @@ -11064,6 +11181,8 @@ =head2 C<split> and C<@_> +(C<split> 㨠C<@_>) + =begin original C<split> no longer modifies C<@_> when called in scalar or void context. @@ -11079,6 +11198,8 @@ =head1 Obituary +(追æ¼) + =begin original Randy Kobes, creator of http://kobesearch.cpan.org/ and