argra****@users*****
argra****@users*****
2011年 4月 8日 (金) 01:42:08 JST
Index: docs/perl/5.14.0/perl5140delta.pod diff -u docs/perl/5.14.0/perl5140delta.pod:1.2 docs/perl/5.14.0/perl5140delta.pod:1.3 --- docs/perl/5.14.0/perl5140delta.pod:1.2 Mon Apr 4 04:20:35 2011 +++ docs/perl/5.14.0/perl5140delta.pod Fri Apr 8 01:42:07 2011 @@ -1002,9 +1002,8 @@ The syntax C<-dI<B<:>foo>> was extended in 5.6.1 to make C<-dI<:fooB<=bar>>> equivalent to C<-MDevel::foo=bar>, which expands internally to C<use Devel::foo 'bar';>. -F<perl> now allows prefixing the module name with C<->, with the same -semantics as C<-M>, I<i.e.> -(TBT) +F<perl> ã¯ãã¢ã¸ã¥ã¼ã«åã®æ¥é è¾ã« C<-> ã使ããããã«ãªãã¾ãã; +ãã㯠C<-M> ã¨åãæå³è«ã§ã; I<ããªãã¡> =over 4 @@ -1018,10 +1017,8 @@ =end original -Equivalent to C<-M-Devel::foo>, expands to -C<no Devel::foo;>, calls C<< Devel::foo->unimport() >> -if the method exists. -(TBT) +C<-M-Devel::foo> ã¨ç価ã§ãC<no Devel::foo;> ã«æ¡å¼µããããã +ã¡ã½ããããããªã C<< Devel::foo->unimport() >> ãå¼ã³åºãã¾ãã =item C<-d:-foo=bar> @@ -1032,9 +1029,8 @@ =end original -Equivalent to C<-M-Devel::foo=bar>, expands to C<no Devel::foo 'bar';>, -calls C<< Devel::foo->unimport('bar') >> if the method exists. -(TBT) +C<-M-Devel::foo=bar> ã¨ç価ã§ãC<no Devel::foo 'bar';> ã«æ¡å¼µããã +ããã¡ã½ããããããªã C<< Devel::foo->unimport('bar') >> ãå¼ã³åºãã¾ãã =back @@ -1045,9 +1041,8 @@ =end original -This is particularly useful for suppressing the default actions of a -C<Devel::*> module's C<import> method whilst still loading it for debugging. -(TBT) +ããã¯ãC<Devel::*> ã¢ã¸ã¥ã¼ã«ã® C<import> ã¡ã½ããã®ããã©ã«ãã®ã¢ã¯ã·ã§ã³ã +æå¶ããä¸æ¹ããããã°ã®ããã«èªã¿è¾¼ã¿ããå ´åã«ç¹ã«æç¨ã§ãã =head3 Filehandle method calls load L<IO::File> on demand @@ -1059,10 +1054,9 @@ =end original -When a method call on a filehandle would die because the method cannot -be resolved, and L<IO::File> has not been loaded, Perl now loads L<IO::File> -via C<require> and attempts method resolution again: -(TBT) +ãã¡ã¤ã«ãã³ãã«ã¸ã®ã¡ã½ããå¼ã³åºãããã¡ã½ããã解決ã§ããªãããã« +die ããL<IO::File> ãèªã¿è¾¼ã¾ãã¦ããªãå ´åãPerl 㯠C<require> çµç±ã§ +L<IO::File> ãèªã¿è¾¼ãã§ãããä¸åº¦ã¡ã½ãã解決ã試ã¿ã¾ã: open my $fh, ">", $file; $fh->binmode(":raw"); # loads IO::File and succeeds @@ -1073,8 +1067,7 @@ =end original -This also works for globs like STDOUT, STDERR and STDIN: -(TBT) +ããã¯ã¾ããSTDOUT, STDERR, STDIN ã®ãããªã°ããã«å¯¾ãã¦ãåä½ãã¾ã: STDOUT->autoflush(1); @@ -1086,10 +1079,9 @@ =end original -Because this on-demand load only happens if method resolution fails, the -legacy approach of manually loading an L<IO::File> parent class for partial -method support still works as expected: -(TBT) +ãã®ãªã³ããã³ãã®èªã¿è¾¼ã¿ã¯ã¡ã½ãã解決ã失æããã¨ãã«ã®ã¿çºçããã®ã§ã +é¨åçãªã¡ã½ãã対å¿ã®ããã« L<IO::File> 親ã¯ã©ã¹ãæåã§èªã¿è¾¼ãã¨ãã +ä¼çµ±çãªææ³ãäºæ³éãåä½ãã¾ã: use IO::Handle; open my $fh, ">", $file; @@ -1130,8 +1122,7 @@ =end original -For example using the following DTrace script: -(TBT) +ä¾ãã°ä»¥ä¸ã® DTrace ã¹ã¯ãªããã使ã£ã¦: perl$target:::sub-entry { @@ -1144,8 +1135,7 @@ =end original -and then running: -(TBT) +å®è¡ããã¨: perl -e'sub test { }; test' @@ -1155,8 +1145,7 @@ =end original -DTrace will print: -(TBT) +DTrace ã¯ä»¥ä¸ã®ããã«è¡¨ç¤ºãã¾ã: main::test @@ -1210,8 +1199,7 @@ =end original -Perl 5.14.0 is not binary-compatible with any previous stable release. -(TBT) +Perl 5.14.0 ã¯ä»¥åã®å®å®ãªãªã¼ã¹ã¨ãã¤ããªäºææ§ã¯ããã¾ããã =begin original @@ -1219,8 +1207,7 @@ =end original -In addition to the sections that follow, see L</C API Changes>. -(TBT) +以ä¸ã®ç« ã«å ãã¦ãL</C API Changes> ãåç §ãã¦ãã ããã =head2 Regular Expressions and String Escapes