argra****@users*****
argra****@users*****
2011年 5月 7日 (土) 00:44:32 JST
Index: docs/perl/5.14.0/perl5140delta.pod diff -u docs/perl/5.14.0/perl5140delta.pod:1.18 docs/perl/5.14.0/perl5140delta.pod:1.19 --- docs/perl/5.14.0/perl5140delta.pod:1.18 Sun May 1 06:03:59 2011 +++ docs/perl/5.14.0/perl5140delta.pod Sat May 7 00:44:30 2011 @@ -134,6 +134,8 @@ 'unicode_strings'>. Under its scope, all string operations executed and regular expressions compiled (even if executed outside its scope) have Unicode semantics. See L<feature/"the 'unicode_strings' feature">. +However, see L</Inverted bracketed character classes and multi-character folds>, +below. =end original @@ -142,6 +144,9 @@ ãã®ã¹ã³ã¼ãå ã§ã¯ãå ¨ã¦ã®æååæä½ã®å¦çã¨æ£è¦è¡¨ç¾ã®ã³ã³ãã¤ã«ã¯ (ãã¨ãå®è¡ã¯ã¹ã³ã¼ãå¤ã§ã) Unicode ã®æå³è«ãæã¡ã¾ãã L<feature/"the 'unicode_strings' feature"> ãåç §ãã¦ãã ããã +ããããå¾è¿°ãã +L</Inverted bracketed character classes and multi-character folds> ã +åç §ãã¦ãã ããã =begin original @@ -1312,9 +1317,69 @@ 以ä¸ã®ç« ã«å ãã¦ãL</C API Changes> ãåç §ãã¦ãã ããã =head2 Regular Expressions and String Escapes - (æ£è¦è¡¨ç¾ã¨æååã®ã¨ã¹ã±ã¼ã) +=head3 Inverted bracketed character classes and multi-character folds + +(å転ããã大ãã£ãæåã¯ã©ã¹ã¨è¤æ°æåã®æãç³ã¿) + +=begin original + +Some characters match a sequence of two or three characters in C</i> +regular expression matching under Unicode rules. One example is +C<LATIN SMALL LETTER SHARP S> which matches the sequence C<ss>. + +=end original + +ããã¤ãã®æåã¯ãUnicode ã«ã¼ã«ã§ã® C</i> æ£è¦è¡¨ç¾ãããã³ã°ã§ã¯ +2 ã¾ã㯠3 æåã®ä¸¦ã³ã«ãããã³ã°ãã¾ãã +ä¸ã¤ã®ä¾ã¨ãã¦ã¯ãC<LATIN SMALL LETTER SHARP S> 㯠C<ss> ã¨ãã並ã³ã« +ãããã³ã°ãã¾ãã + + 'ss' =~ /\A[\N{LATIN SMALL LETTER SHARP S}]\z/i # Matches + +=begin original + +This, however, can lead to very counter-intuitive results, especially +when inverted. Because of this, Perl 5.14 does not use multi-character C</i> +matching in inverted character classes. + +=end original + +ãããããã¯ãç¹ã«å転ãããã¨ãã«ãã¨ã¦ãéç´è¦³çãªçµæãå°ãã¦ãã¾ããã +ããã«ãããPerl 5.14 ã¯å転ãããæåã¯ã©ã¹ã§ã®è¤æ°æåã® +C</i> ãããã³ã°ã使ããªããªãã¾ããã + + 'ss' =~ /\A[^\N{LATIN SMALL LETTER SHARP S}]+\z/i # ??? + +=begin original + +This should match any sequences of characters that aren't the C<SHARP S> +nor what C<SHARP S> matches under C</i>. C<"s"> isn't C<SHARP S>, but +Unicode says that C<"ss"> is what C<SHARP S> matches under C</i>. So +which one "wins"? Do you fail the match because the string has C<ss> or +accept it because it has an C<s> followed by another C<s>? + +=end original + +ããã¯ãC<SHARP S> ããC</i> ã®å 㧠C<SHARP S> ã«ãããã³ã°ããªããããã +æåã®ä¸¦ã³ã«ãããã³ã°ããã¹ãã§ãã +C<"s"> 㯠C<SHARP S> ã§ã¯ããã¾ããããUnicode 㯠D</i> ã®å ã§ã¯ C<"ss"> 㯠+C<SHARP S> ã«ãããã³ã°ããã¨ãã¦ãã¾ãã +ããã§ãã©ã¡ãããåã¤ãã¹ãã§ãããã? +æååã« C<ss> ãããã¨ããçç±ã§ãããã³ã°ã¯å¤±æããã§ãããããããã¨ã +ä¸ã¤ã® C<s> ã«å¹æ´¥æ´¥äºã§ä¸ã¤ã® C<s> ãããã®ã§æåããã§ãããã? + +=begin original + +Earlier releases of Perl did allow this multi-character matching, +but due to bugs, it mostly did not work. + +=end original + +Perl ã®ä»¥åã®ãªãªã¼ã¹ã¯è¤æ°æåã®ãããã³ã°ã許ãã¦ãã¾ãããããã°ã«ããã +ã»ã¨ãã©åä½ãã¦ãã¾ããã§ããã + =head3 \400-\777 (\400-\777) @@ -2802,10 +2867,9 @@ ä¸è´ããããã«ãªãã¾ããã ãã®ã¡ã¢ãªç¯ç´ãä»ã®å ´æã§ã®ä½éåãå¼ãèµ·ãããã¨ãé¿ããããã«ã C<HvFILL> ã®çå½å¤ã§ã®ä½¿ç¨ã¯ä»£ããã« (ç価ã§ãã) C<HvTOTALKEYS> ã -使ãããã«ãªãã¾ãã, so while the fill -data when actually required are now calculated on demand, the cases when -this needs to be done should be rare. -(TBT) +使ãããã«ãªãã¾ãã; ããã§å®éã«å¿ è¦ãªã¨ãã«åãããããã¼ã¿ã¯ +ãªã³ããã³ãã§è¨ç®ãããããã«ãªãã¾ãããããããå¿ è¦ã«ãªããããªç¶æ³ã¯ +ç¨ãªã¯ãã§ãã =begin original @@ -2954,10 +3018,9 @@ é£ç¶ãã C<nextstate> op ã®å®è¡ã¯åãªãæå¾ã® C<nextstate> op ã®å®è¡ã¨ åããªã®ã§ãè¦ãç©´æé©å¨ã¯æåã® C<nextstate> op ã®çµã -åé¤ããããã«ãªãã¾ãã; except when the first carries a label, since labels -must not be eliminated by the optimizer, and label usage isn't conclusively known -at compile time. -(TBT) +åé¤ããããã«ãªãã¾ãã; å é ãã©ãã«ã®å ´åã¯ä¾å¤ã§ã; ãªããªãã©ãã«ã¯ +æé©åå¨ã«ãã£ã¦åé¤ããã¦ã¯ãªãããã©ãã«ã®å©ç¨æ³ã¯ã³ã³ãã¤ã«æã«ã¯æ±ºå®çã«ã¯ +åãã£ã¦ããªãããã§ãã =head1 Modules and Pragmata @@ -3002,14 +3065,11 @@ =end original L<CPAN::Meta> ãã¼ã¸ã§ã³ 2.110440 ãäºé管çã¢ã¸ã¥ã¼ã«ã¨ãã¦è¿½å ããã¾ããã -It -provides a standard library to read, interpret and write CPAN distribution -metadata files (like F<META.json> and F<META.yml)> that describe a -distribution, its contents, and the requirements for building it and -installing it. The latest CPAN distribution metadata specification is -included as L<CPAN::Meta::Spec> and notes on changes in the specification -over time are given in L<CPAN::Meta::History>. -(TBT) +ããã¯ãé å¸ãå 容ããã«ãã¨ã¤ã³ã¹ãã¼ã«ã«å¿ è¦ãªãã®ãè¨è¿°ãã +(F<META.json> ã F<META.yml> ã®ãããª) CPAN é å¸ã¡ã¿ãã¼ã¿ãã¡ã¤ã«ã +èªã¿è¾¼ã¿ã解éãæ¸ãè¾¼ã¿ããããã®æ¨æºã©ã¤ãã©ãªãæä¾ãã¾ãã +ææ°ã® CPAN é å¸ã¡ã¿ãã¼ã¿ä»æ§ã¯ L<CPAN::Meta::Spec> ã«å«ã¾ãã¦ãã¦ã +ä»æ§ã®å¤æ´å±¥æ´ã¯ L<CPAN::Meta::History> ã«è¨é²ããã¦ãã¾ãã =item * @@ -3055,12 +3115,11 @@ =end original L<Module::Metadata> 1.000004 ãäºé管çã¢ã¸ã¥ã¼ã«ã¨ãã¦è¿½å ããã¾ããã -It gathers -package and POD information from Perl module files. It is a standalone module -based on L<Module::Build::ModuleInfo> for use by other module installation -toolchain components. L<Module::Build::ModuleInfo> has been deprecated in -favor of this module instead. -(TBT) +ãã㯠Perl ã®ã¢ã¸ã¥ã¼ã«ãã¡ã¤ã«ããããã±ã¼ã¸ã¨ POD ã®æ å ±ãéãã¾ãã +ããã¯ä»ã®ã寿ã«ä¹ã¤ã³ã¹ãã¼ã«ãã¼ã«ãã§ã¼ã³ã®è¦ç´ ã¨ãã¦ä½¿ãããã®ã +L<Module::Build::ModuleInfo> ãåºã«ããåç¬ã®ã¢ã¸ã¥ã¼ã«ã§ãã +L<Module::Build::ModuleInfo> ã¯éæ¨å¥¨ã¨ãªãã代ããã«ãã®ã¢ã¸ã¥ã¼ã«ã +使ãã¹ãã§ãã =item * @@ -3470,14 +3529,14 @@ =end original -L<Carp> now detects incomplete L<caller()|perlfunc/"caller EXPR"> -overrides and avoids using bogus C<@DB::args>. To provide backtraces, -Carp relies on particular behaviour of the caller() builtin. -L<Carp> now detects if other code has overridden this with an -incomplete implementation, and modifies its backtrace accordingly. -Previously incomplete overrides would cause incorrect values in -backtraces (best case), or obscure fatal errors (worst case). -(TBT) +L<Carp> ã¯ãä¸å®å ¨ãª L<caller()|perlfunc/"caller EXPR"> ã®ãªã¼ãã¼ã©ã¤ãã +æ¤åºãã¦ãå½ã® C<@DB::args> ã®ä½¿ç¨ãåé¿ããããã«ãªãã¾ããã +ããã¯ãã¬ã¼ã¹ãæä¾ããããã«ãCarp 㯠caller() çµã¿è¾¼ã¿é¢æ°ã® +ç¹å®ã®æ¯ãèãã«ä¾åãã¦ãã¾ãã +L<Carp> ã¯ããã®é¢æ°ãä¸å®å ¨ãªå®è£ ã®ã³ã¼ãã§ãªã¼ãã¼ã©ã¤ãããã¦ãããã¨ã +æ¤åºãã¦ããã®ããã¯ãã¬ã¼ã¹ãããã«å¿ãã¦ä¿®æ£ãã¾ãã +以åã¯ãä¸å®å ¨ãªãªã¼ãã¼ã©ã¤ãã«ãã£ã¦ããã¯ãã¬ã¼ã¹ã®å¤ãééã£ãã(æè¯ã® +å ´å)ãä¸æçãªè´å½çã¨ã©ã¼ãçºçããã(ææªã®å ´å)ãã¦ãã¾ããã =begin original @@ -4443,10 +4502,8 @@ =end original -open3 now produces an error if the C<exec> call fails, allowing this -condition to be distinguished from a child process that exited with a -non-zero status [perl #72016]. -(TBT) +open3() ã¯ãC<exec> å¼ã³åºãã失æããã¨ã¨ã©ã¼ã¨ãªãããã«ãªããåããã»ã¹ã +é 0 ã®ã¹ãã¼ã¿ã¹ã§çµäºããå ´åã¨åºå¥ã§ããããã«ãªãã¾ãã [perl #72016]ã =begin original @@ -6019,6 +6076,13 @@ L<Ambiguous use of %c{%s} resolved to %c%s|perldiag/"Ambiguous use of %c{%s} resolved to %c%s"> +=item * + +L<Ambiguous use of %c{%s[...]} resolved to %c%s[...]|perldiag/"Ambiguous use of %c{%s[...]} resolved to %c%s[...]"> + +=item * + +L<Ambiguous use of %c{%s{...}} resolved to %c%s{...}|perldiag/"Ambiguous use of %c{%s{...}} resolved to %c%s{...}"> =item * @@ -6424,12 +6488,11 @@ =end original -"Found = in conditional" è¦åã¯ãis emitted when a constant is -assigned to a variable in a condition is now withheld if the constant is -actually a subroutine or one generated by C<use constant>, since the value -of the constant may not be known at the time the program is written -[perl #77762]. -(TBT) +æ¡ä»¶æã®ä¸ã§å®æ°ãå¤æ°ã«ä»£å ¥ãããã¨ãã«åºåããã +"Found = in conditional" è¦åã¯ãå®æ°ãå®éã«ã¯ãµãã«ã¼ãã³ããã㯠+C<use constant> ã§çæããããã®ã§ããå ´åã«ã¯åºåãããªããªãã¾ãã; +ãªããªãå®æ°ã®å¤ã¯ããã°ã©ã ãæ¸ãããæç¹ã§ã¯ããããªããããããªãããã§ã +[perl #77762]ã =item * @@ -7144,7 +7207,7 @@ ã³ã¢ C ã½ã¼ã¹ã¨ã¨ã¯ã¹ãã³ã·ã§ã³ã§ã® 31 æåããé·ãã·ã³ãã«ã®ç縮å㯠ããã©ã«ãã§ã¯ xsubpp (XS ã³ã¼ãã§çæãããã·ã³ãã«ã«å¯¾ãã¦ã®ã¿ ã§ãã¾ã) ã§ã¯ãªã C ã³ã³ãã¤ã©ã§è¡ãããã«ãªãã¾ããã --Uuseshortenedsymbols ã¨è¨å®ãããã¨ã§ãxsubpp ã®ã·ã³ãã«ç縮åã +è¨å®æã« -Uuseshortenedsymbols ãæå®ãããã¨ã§ãxsubpp ã®ã·ã³ãã«ç縮åã åæå¹åã§ãã¾ãããã³ã¢ã½ã¼ã¹ãã³ã³ãã¤ã«ããã«ã¯å¤å°ã®ä½æ¥ãå¿ è¦ã§ãã =item * @@ -7526,20 +7589,19 @@ =end original -ã¨ã¯ã¹ãã³ã·ã§ã³ã¢ã¸ã¥ã¼ã«ã® XS ã³ã¼ã㯠-can now annotate a subroutine (whether -implemented in XS or in Perl) so that nominated XS code will be called -at compile time (specifically as part of op checking) to change the op -tree of that subroutine. The compile-time check function (supplied by -the extension module) can implement argument processing that can't be -expressed as a prototype, generate customised compile-time warnings, -perform constant folding for a pure function, inline a subroutine -consisting of sufficiently simple ops, replace the whole call with a -custom op, and so on. +ã¨ã¯ã¹ãã³ã·ã§ã³ã¢ã¸ã¥ã¼ã«ã® XS ã³ã¼ãã¯ãµãã«ã¼ãã³ã« (XS 㧠+å®è£ ããã¦ããã Perl ã§å®è£ ããã¦ããã) ã®ã¢ããã¼ã·ã§ã³ã +ä»ããããããã«ãªã£ãã®ã§ãä»»å½ããã XS ã³ã¼ãã¯ãã®ãµãã«ã¼ãã³ã® +op æ¨ãå¤æ´ããããã«ã³ã³ãã¤ã«æ (å ·ä½çã«ã¯ op ãã§ãã¯ã®ä¸é¨ã¨ãã¦) +å¼ã³åºããã¾ãã +(ã¨ã¯ã¹ãã³ã·ã§ã³ã¢ã¸ã¥ã¼ã«ã«ãã£ã¦ä¾çµ¦ããã) ã³ã³ãã¤ã«æã®ãã§ãã¯é¢æ°ã¯ +ãããã¿ã¤ãã¨ãã¦è¨è¿°ã§ããªãå¼æ°å¦çã®å®è£ ãã«ã¹ã¿ãã¤ãºããã +ã³ã³ãã¤ã«æè¦åã®çæãç´ç²ãªé¢æ°ã®ããã®å®æ°ã®ç³ã¿è¾¼ã¿ã®å®è¡ã +å åã«åç´ãª op ãããªããµãã«ã¼ãã³ã®ã¤ã³ã©ã¤ã³åãå¼ã³åºãå ¨ä½ã® +ã«ã¹ã¿ã op ã¸ã®ç½®ãæããªã©ãå¯è½ã§ãã 以åã¯ããã¯å ¨ã¦ C<entersub> op ãã§ãã«ãããã¯ãããã¨ã§å¯è½ã§ãããã æ°ããæ©æ§ã¯ç°¡åã«ããã¯ãç¹å®ã®ãµãã«ã¼ãã³ã«çµã³ã¤ãããã¨ãã§ãã¾ãã L<perlapi/cv_set_call_checker> ãåç §ãã¦ãã ããã -(TBT) =begin original @@ -7647,14 +7709,14 @@ The following functions/macros have been added to the API. The C<*_nomg> macros are equivalent to their non-C<_nomg> variants, except that they ignore -C<get-magic>. Those ending in C<_flags> allow one to specify whether -C<get-magic> is processed. +get-magic. Those ending in C<_flags> allow one to specify whether +get-magic is processed. =end original 以ä¸ã®é¢æ°/ãã¯ãã API ã«è¿½å ããã¾ããã -C<*_nomg> ãã¯ã㯠C<_nomg> ãªãçã¨ç価ã§ãããC<get-magic> ãç¡è¦ãã¾ãã -C<_flags> ã§çµãã£ã¦ãããã®ã¯ãC<get-magic> ãå¦çãããã©ããã +C<*_nomg> ãã¯ã㯠C<_nomg> ãªãçã¨ç価ã§ãããget-magic ãç¡è¦ãã¾ãã +C<_flags> ã§çµãã£ã¦ãããã®ã¯ãget-magic ãå¦çãããã©ããã æå®ã§ãã¾ãã sv_2bool_flags @@ -7781,13 +7843,12 @@ L<C<mg_findext()>|perlapi/mg_findext> é¢æ°ã¨ L<C<sv_unmagicext()>|perlapi/sv_unmagicext> é¢æ°ã API ã«è¿½å ããã¾ããã -They allow extension authors to find and remove magic attached to -scalars based on both the magic type and the magic virtual table, similar to how -sv_magicext() attaches magic of a certain type and with a given virtual table -to a scalar. -ãã㯠eliminates the need for extensions to walk the list of -C<MAGIC> pointers of an C<SV> to find the magic that belongs to them. -(TBT) +ãããã¯ã¨ã¯ã¹ãã³ã·ã§ã³ã®ä½è ããã¸ãã¯ã®ç¨®é¡ããã³ãã¸ãã¯ã®ä»®æ³ãã¼ãã«ã +åºã«ãã¹ã«ã©ã«ä»å ããã¦ãããã¸ãã¯ãæ¢ãããåé¤ãããã§ããããã«ãã¾ã; +sv_magicext() ãç¹å®ã®ç¨®é¡ã¨ä¸ããããä»®æ³ãã¼ãã«ã®ãã¸ãã¯ãã¹ã«ã©ã« +ä»ä¸ããæ¹æ³ã¨åæ§ã§ãã +ããã«ãããC<SV> ã«ä»ä¸ããã¦ãããã¸ãã¯ãæ¢ãããã«ãã¨ã¯ã¹ãã³ã·ã§ã³ã +ãã® C<MAGIC> ãã¤ã³ã¿ã辿ãå¿ è¦ããªããã¾ãã =head3 C<find_rundefsv> @@ -7942,13 +8003,12 @@ =end original -C<XS_APIVERSION_BOOTCHECK> ãã¯ãã¯ãhas been added to ensure that modules -are recompiled and to prevent users from accidentally loading modules -compiled for old perls into newer perls. +C<XS_APIVERSION_BOOTCHECK> ãã¯ãã¯ã確å®ã«ã¢ã¸ã¥ã¼ã«ãåã³ã³ãã¤ã«ããã¦ã +ã¦ã¼ã¶ã¼ãééã£ã¦å¤ã perl ç¨ã«ã³ã³ãã¤ã«ãããã¢ã¸ã¥ã¼ã«ãæ°ãã perl 㧠+èªã¿è¾¼ãã®ãé²ãããã«è¿½å ããã¾ããã æ°ããã³ã³ãã¤ã«ãããã¨ã¯ã¹ãã³ã·ã§ã³ãèªã¿è¾¼ã¾ãã度ã«å¼ã³åºããã ãã®ãã¯ãã¯ãå®è¡ä¸ã® perl ã® API ã®ãã¼ã¸ã§ã³ã¨ãã¢ã¸ã¥ã¼ã«ã®ã³ã³ãã¤ã«ããã ãã¼ã¸ã§ã³ãæ¯è¼ãããããä¸è´ããªããã°ä¾å¤ãçºçããã¾ãã -(TBT) =head3 Perl_fetch_cop_label @@ -8230,14 +8290,12 @@ C<die> ã®æçµã¹ãã¼ã¸ã® C ã¹ã¿ãã¯ã®å·»ãæ»ãã®ããã®æé ã¯ãã©ã®ããã« ã¿ã¼ã²ããã¹ã¿ãã¯ãã¬ã¼ã ãèå¥ããããå¤æ´ããã¾ããã -This now uses -a separate variable C<PL_restartjmpenv>, where previously it relied on -the C<blk_eval.cur_top_env> pointer in the C<eval> context frame that -has nominally just been discarded. +ä»ã§ã¯å¥ã®å¤æ° C<PL_restartjmpenv> ã使ãããã«ãªãã¾ãã; 以å㯠+åç®ä¸æ¨ã¦ããã C<eval> ã³ã³ããã¹ããã¬ã¼ã ã«ãã +C<blk_eval.cur_top_env> ãã¤ã³ã¿ã«ä¾åãã¦ãã¾ããã ãã®å¤æ´ã¯ãPerl ã¬ãã«ã®å·»ãæ»ãã®ãã¾ãã¾ãªã¹ãã¼ã¸ã§å®è¡ä¸ã® ã³ã¼ããããã¯ãå¹½éãã¬ã¼ã ãç ´å£ãããã¨ãé¿ããããã«æ°ãã¤ãã å¿ è¦ã¯ããã¾ããã -(TBT) =head3 Scope stack entries @@ -8569,12 +8627,10 @@ =end original -A regular expression match in the right-hand side of a global substitution -(C<s///g>) that is in the same scope will no longer cause match variables -to have the wrong values on subsequent iterations. +åãã¹ã³ã¼ãã«ããå ¨ä½ç½®æ (C<s///g>) ã®å³å´ã«ããæ£è¦è¡¨ç¾ãããã³ã°ã¯ã +ãã¯ãå¼ãç¶ãå復ã§ééã£ãå¤ãæã¤å¤æ°ã«ãããã³ã°ããªããªãã¾ããã ããã¯ãC<s|(.)|@a{ print($1), /./ }|g> ã®ããã«ãé åãããã·ã¥ã®æ·»ãåã å³å´ã§å±éãããã¨ãã«èµ·ããã¾ã [perl #19078]ã -(TBT) =item * @@ -8587,12 +8643,11 @@ =end original -Several cases in which characters in the Latin-1 non-ASCII range (0x80 to -0xFF) used not to match themselves, or used to match both a character class -and its complement, have been fixed. +Latin-1 ã®é ASCII ç¯å² (0x80 ãã 0xFF) ã®æåã¯å ´åã«ãã£ã¦ã¯ +èªåèªèº«ã¨ãããã³ã°ããªãã£ãããããæåã¯ã©ã¹ã¨ãã®éã¯ã©ã¹ã® +å µæ³ã«ãããã³ã°ãã¦ããããã¦ãã¾ããããããã¯ä¿®æ£ããã¾ããã ä¾ãã°ãU+00E2 㯠C<\w> 㨠C<\W> ã®ä¸¡æ¹ã«ãããã³ã°ãã¦ãã¾ãã [perl #78464] [perl #18281] [perl #60156]ã -(TBT) =item * @@ -8668,19 +8723,19 @@ =end original -Case-insensitive matching in regular expressions compiled under -C<use locale> now works much more sanely when the pattern or target -string is internally encoded in UTF8. Previously, under these -conditions the localeness was completely lost. Now, code points -above 255 are treated as Unicode, but code points between 0 and 255 -are treated using the current locale rules, regardless of whether -the pattern or the string is encoded in UTF8. The few case-insensitive -matches that cross the 255/256 boundary are not allowed. +C<use locale> ã®å½±é¿ä¸ã§ã³ã³ãã¤ã«ããã大æåå°æåãç¡è¦ãã +æ£è¦è¡¨ç¾ãããã³ã°ã¯ããã¿ã¼ã³ãã¿ã¼ã²ããæååãå é¨çã« UTF8 㧠+ã¨ã³ã³ã¼ãã£ã³ã°ããã¦ããã¨ãã«ãã¯ããã«ã¾ã¨ãã«åä½ããããã«ãªãã¾ããã +以åã¯ããã®ãããªæ¡ä»¶ã§ã¯ãã±ã¼ã«æ§ã¯å®å ¨ã«å¤±ããã¦ãã¾ããã +ä»ã§ã¯ã255 ãè¶ ãã符å·ä½ç½®ã¯ Unicode ã¨ãã¦æ±ããã¾ããã0 ãã 255 ã¾ã§ã¯ +ãã¿ã¼ã³ãæååã UTF8 ã§ã¨ã³ã³ã¼ãã£ã³ã°ããã¦ãããã©ããã«ããããã +ç¾å¨ã®ãã±ã¼ã«ã«ã¼ã«ã使ã£ã¦æ±ãããããã«ãªãã¾ããã +255/256 ã®å¢çãã¾ãããããªç¨ãªå¤§æåå°æåãç¡è¦ãããããã³ã°ã¯ +èªãããã¾ããã ä¾ãã°ã0xFF 㯠0x178 LATIN CAPITAL LETTER Y WITH DIAERESIS 㨠大æåå°æåãªãã«ãããã³ã°ãã¾ã; 0xFF ã¯ç¾å¨ã®ãã±ã¼ã«ã§ã¯ LATIN SMALL LETTER Y ã«å«ã¾ãããPerl ã¯ãã±ã¼ã«ä¸ã«ãã®æåã å«ã¾ãã¦ãããããã¾ãã¦ãã©ã®ç¬¦å·ä½ç½®ããç¥ãæ¹æ³ããªãããã§ãã -(TBT) =item * @@ -8693,11 +8748,10 @@ =end original -The C<(?|...)> æ£è¦è¡¨ç¾æ§é ã¯ãno longer crashes if the final -branch has more sets of capturing parentheses than any other branch. -ããã¯åä¸ãã©ã³ãã®å ´å㯠Perl 5.10.1 ã§ä¿®æ£ããã¾ãããã -ããã¯è¤æ°ãã©ã³ããèæ ®ã«å ¥ãã¦ãã¾ããã§ãã [perl #84746]ã -(TBT) +The C<(?|...)> æ£è¦è¡¨ç¾æ§é ã¯ãæå¾ã®æããã®ä»ã®æãããå¤ãææãã£ãã® +éåãæã¤å ´åã«ã¯ã©ãã·ã¥ãã¦ãã¾ããã +ããã¯åä¸ã®æã®å ´å㯠Perl 5.10.1 ã§ä¿®æ£ããã¾ãããã +ããã¯è¤æ°ã®æãèæ ®ã«å ¥ãã¦ãã¾ããã§ãã [perl #84746]ã =item * @@ -9011,14 +9065,13 @@ =end original -Perl 5.10.0 introduced a new internal mechanism for caching MROs (method -resolution orders, or lists of parent classes; aka "isa" caches) to make -method lookup faster (so C<@ISA> arrays would not have to be searched -repeatedly). +Perl 5.10.0 ã§ã¯ãã¡ã½ããæ¤ç´¢ãããéãããããã« MRO ãã£ãã·ã¥ãã +(ã¡ã½ãã解決é åºãã¤ã¾ã親ã¯ã©ã¹ã®ãªã¹ã; ã¾ãã®åã "isa" ãã£ãã·ã¥) +ããã®æ°ããå é¨æ©æ§ãå°å ¥ããã¾ãã (ããã«ãã C<@ISA> ãç¹°ãè¿ãæ¤ç´¢ãã +å¿ è¦ããªããªãã¾ãã)ã æ®å¿µãªãããããã«ã¯ããã¤ããã°ãããã¾ããã ãã®ã»ã¨ãã©ã¯ã5.10.0 以åãããã£ã MRO é¢ä¿ã®ãã°ã¨å ±ã«ã ä»ã§ã¯ä¿®æ£ããã¾ãã: -(TBT) =over @@ -9032,11 +9085,10 @@ =end original -The following used to have erratic effects on method resolution, because -the "isa" caches were not reset or otherwise ended up listing the wrong -classes. +以ä¸ã®ãããªãã¨ãããã¨ã¡ã½ãã解決ã«ééã£ãå½±é¿ãä¸ãã¦ãã¾ãã; +ãªããªã "isa" ãã£ãã·ã¥ããªã»ãããããªãã£ãããæçµçã« +ééã£ãã¯ã©ã¹ã®ä¸è¦§ã¨ãªã£ãããã¦ããããã§ãã ãããã¯ä¿®æ£ããã¾ããã -(TBT) =over @@ -9085,10 +9137,9 @@ =end original -åã°ããã®ä»£å ¥ã¯ãwould crash if the glob's stash no longer existed, so -long as the glob assigned to were named C<ISA> or the glob on either side of -the assignment contained a subroutine. -(TBT) +åã°ããã®ä»£å ¥ã¯ãã°ããã®ã¹ã¿ãã·ã¥ããã¯ãåå¨ããªãã¨ãã« +ä»£å ¥ãããã°ããã C<ISA> ã¨ããååããä»£å ¥ã®ã©ã¡ããã®å´ã«ãµãã«ã¼ãã³ã +å«ã¾ãã¦ããã¨ã¯ã©ãã·ã¥ãã¦ãã¾ããã =item * @@ -9467,11 +9518,9 @@ ã¾ãããã®ãããã³ã°ã¯ããã¹ãã® NFD (Normalization Form Decomposed) ã® ãããã³ã°ã«ããã¨ããç¾å¨ã®Unicode æ¨æºãå®å ¨ã«ã¯æºããã¦ãã¾ããã ãããããããæ¸ãã¦ããæç¹(2010 å¹´ 4 æ)ã§ã¯ãUnicode æ¨æºã¯ -currently in flux about -what they will recommend doing with regard in such scenarios. It may be -that they will throw out the whole concept of multi-character matches. -[perl #71736]. -(TBT) +ãã®ãããªç¶æ³ã§æ¨å¥¨ãããåä½ã«ã¤ãã¦ä»ã®ã¨ããä¸å®å®ã§ãã +è¤æ°æåãããã³ã°ã¨ããæ¦å¿µå ¨ä½ãæ¾ãåºããã¨ã«ãªãããç¥ãã¾ãã +[perl #71736]ã =item * @@ -9644,12 +9693,12 @@ =begin original -C<splice> now calls C<set-magic> (so changes made +C<splice> now calls set-magic (so changes made by C<splice @ISA> are respected by method calls) [perl #78400]. =end original -C<splice> 㯠C<set-magic> ãå¼ã³åºãããã«ãªãã¾ãã (ãã㧠+C<splice> 㯠set-magic ãå¼ã³åºãããã«ãªãã¾ãã (ãã㧠C<splice @ISA> ã¯ã¡ã½ããå¼ã³åºãã«å°éãããããã«å¤æ´ããã¾ãã) [perl #78400]ã @@ -9669,11 +9718,11 @@ =begin original -utf8::is_utf8() now respects C<get-magic> (like C<$1>) (5.12.1). +utf8::is_utf8() now respects get-magic (like C<$1>) (5.12.1). =end original -utf8::is_utf8() 㯠(C<$1> ã¨åæ§) C<get-magic> ãå°éãã¾ã (5.12.1)ã +utf8::is_utf8() 㯠(C<$1> ã¨åæ§) get-magic ãå°éãã¾ã (5.12.1)ã =back @@ -10095,10 +10144,9 @@ =end original -C<require> ã¯ãã¯ã C<caller> ã to return the wrong file name for -the scope that called C<require> and other scopes higher up that had the -same file name [perl #68712]. -(TBT) +C<require> ã¯ãå¼ã³åºããã C<require> ã®ã¹ã³ã¼ãã¨ãããé«ããã®ä»ã® +ã¹ã³ã¼ãã§åããã¡ã¤ã«åãããã¨ãã«ããã¯ã C<caller> ãééã£ã +ãã¡ã¤ã«åãè¿ããªããªãã¾ãã [perl #68712]ã =item * @@ -10808,18 +10856,6 @@ =begin original -L<version> now prevents object methods from being called as class methods -(d808b68) - -=end original - -L<version> ã¯ãªãã¸ã§ã¯ãã¡ã½ãããã¯ã©ã¹ã¡ã½ããã¨ãã¦å¼ã³åºãããã®ã -妨ããããã«ãªãã¾ãã (d808b68)ã - -=item * - -=begin original - The changes in prototype handling break L<Switch>. A patch has been sent upstream and will hopefully appear on CPAN soon. @@ -10835,7 +10871,7 @@ The upgrade to F<ExtUtils-MakeMaker-6.57_05> has caused some tests in the F<Module-Install> distribution on CPAN to -fail. (Specifically, F<02_mymeta.t> tests 5 and 21l; F<18_all_from.t> +fail. (Specifically, F<02_mymeta.t> tests 5 and 21; F<18_all_from.t> tests 6 and 15; F<19_authors.t> tests 5, 13, 21, and 29; and F<20_authors_with_special_characters.t> tests 6, 15, and 23 in version 1.00 of that distribution now fail.) @@ -10912,7 +10948,7 @@ split() no longer modifies C<@_> when called in scalar or void context. In void context it now produces a "Useless use of split" warning. -This was also a perl 5.12.0 changed that missed the perldelta. +This was also a perl 5.12.0 change that missed the perldelta. =end original