argra****@users*****
argra****@users*****
2012年 4月 27日 (金) 19:33:33 JST
Index: docs/perl/5.16.0/perl5160delta.pod diff -u docs/perl/5.16.0/perl5160delta.pod:1.9 docs/perl/5.16.0/perl5160delta.pod:1.10 --- docs/perl/5.16.0/perl5160delta.pod:1.9 Fri Apr 27 04:22:16 2012 +++ docs/perl/5.16.0/perl5160delta.pod Fri Apr 27 19:33:33 2012 @@ -3065,6 +3065,8 @@ "sort is now a reserved word" +=begin original + This error used to occur when C<sort> was called without arguments, followed by C<;> or C<)>. (E.g., C<sort;> would die, but C<{sort}> was OK.) This error message was added in Perl 3 to catch code like @@ -3073,6 +3075,17 @@ always allowed, and returns an empty list, as it did in those cases where it was already allowed [perl #90030]. +=end original + +ãã®ã¨ã©ã¼ã¯ C<sort> ãå¼æ°ãªãã§å¼ã³åºããããã®å¾ã« C<;> ã C<)> ã +ç¶ãã¦ããå ´åã«çºçãã¦ãã¾ããã +(ä¾ãã° C<sort;> 㯠die ãã¾ãããC<{sort}> 㯠OK ã§ãã) +ãã®ã¨ã©ã¼ã¯ããã¯ãåä½ããªã C<close(sort)> ã®ãããªã³ã¼ããææããããã« +Perl 3 ã§è¿½å ããã¾ããã +20 年以ä¸çµã£ã¦ããã®ã¡ãã»ã¼ã¸ã¯ãã¯ãé©åã§ã¯ãªããªãã¾ããã +å¼æ°ãªãã® C<sort> ã¯å¸¸ã«è¨±ãããããã«ãªããä»ã¾ã§è¨±ããã¦ããå ´å㨠+åãããã«ã空ãªã¹ããè¿ãã¾ã [perl #90030]ã + =back =head2 Changes to Existing Diagnostics @@ -3486,6 +3499,16 @@ =item * +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. Previously the returned value was essentially garbage. The +only malformations that have well-defined values are a zero-length +string (0 is the return), and overlong UTF-8 sequences. + +=item * + Padlists are now marked C<AvREAL>; i.e., reference-counted. They have always been reference-counted, but were not marked real, because F<pad.c> did its own clean-up, instead of using the usual clean-up code in F<sv.c>.