[perldocjp-cvs 1421] CVS update: docs/perl/5.16.0

Back to archive index

argra****@users***** argra****@users*****
2012年 4月 22日 (日) 04:36:42 JST


Index: docs/perl/5.16.0/perl5160delta.pod
diff -u docs/perl/5.16.0/perl5160delta.pod:1.3 docs/perl/5.16.0/perl5160delta.pod:1.4
--- docs/perl/5.16.0/perl5160delta.pod:1.3	Sun Apr 22 01:11:47 2012
+++ docs/perl/5.16.0/perl5160delta.pod	Sun Apr 22 04:36:42 2012
@@ -1465,9 +1465,9 @@
 
 =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)
+この将来の非推奨に関するさらなる情報については、
+L<関連する RT チケット|https://rt.perl.org/rt3/Ticket/Display.html?id=96212> を
+参照してください。
 
 =item *
 
@@ -1483,8 +1483,6 @@
 
 正規表現中のエスケープされていないリテラルの C<< "{" >>。
 
-=item Literal C<"{"> characters in regular expression patterns
-
 =begin original
 
 It is planned starting in v5.20 to require a literal C<"{"> to be
@@ -1818,46 +1816,121 @@
 
 =head2 C<$$> and C<getppid()> no longer emulate POSIX semantics under LinuxThreads
 
+(C<$$> と C<getppid()> は LinuxThreads のもとで POSIX の意味論をエミュレートしません)
+
+=begin original
+
 The POSIX emulation of C<$$> and C<getppid()> under the obsolete
 LinuxThreads implementation has been removed.
 This only impacts users of Linux 2.4 and
 users of Debian GNU/kFreeBSD up to and including 6.0, not the vast
 majority of Linux installations that use NPTL threads.
 
+=end original
+
+古い LinuxThreads 実装のもとでの C<$$> と C<getppid()> の POSIX
+エミュレーションは削除されました。
+これは Linux 2.4 のユーザーとバージョン 6.0 までの Debian GNU/kFreeBSD の
+ユーザーにのみ影響があり、NPTL スレッドを使っている圧倒的多数の
+Linux インストールには影響はありません。
+
+=begin original
+
 This means that C<getppid()>, like C<$$>, is now always guaranteed to
 return the OS's idea of the current state of the process, not perl's
 cached version of it.
 
+=end original
+
+これは、C<getppid()> は C<$$> と同様に、perl がキャッシュしたものではなく
+OS が考えているプロセスの現在の状態を常に返すと言うことを意味まします。
+
+=begin original
+
 See the documentation for L<$$|perlvar/$$> for details.
 
+=end original
+
+詳しくは L<$$|perlvar/$$> の文書を参照してください。
+
 =head2 C<< $< >>, C<< $> >>, C<$(> and C<$)> are no longer cached
 
+(C<< $< >>, C<< $> >>, C<$(>, C<$)> はキャッシュされません)
+
+=begin original
+
 Similarly to the changes to C<$$> and C<getppid()>, the internal
 caching of C<< $< >>, C<< $> >>, C<$(> and C<$)> has been removed.
 
+=end original
+
+C<$$> および C<getppid()> の変更と同様に C<< $< >>, C<< $> >>, C<$(>,
+C<$)> の内部キャッシュも削除されました。
+
+=begin original
+
+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
+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.
+
+=end original
+
 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
 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.
+(TBT)
+
+=begin original
 
 This change will break a handful of CPAN modules that use the XS-level
 C<PL_uid>, C<PL_gid>, C<PL_euid> or C<PL_egid> variables.
 
+=end original
+
+この変更により XS レベルの C<PL_uid>, C<PL_gid>, C<PL_euid>,
+C<PL_egid> 変数を使っている一握りの CPAN モジュールが動かなくなります。
+
+=begin original
+
 The fix for those breakages is to use C<PerlProc_gete?[ug]id()> to
 retrieve them (e.g. C<PerlProc_getuid()>), and not to assign to
 C<PL_e?[ug]id> if you change the UID/GID/EUID/EGID.  There is no longer
 any need to do so since perl will always retrieve the up-to-date
 version of those values from the OS.
 
+=end original
+
+これを修正するには、値を得るのに (C<PerlProc_getuid()> のような)
+C<PerlProc_gete?[ug]id()> を使って、もし UID/GID/EUID/EGID を変更するなら
+C<PL_e?[ug]id> に代入しないことです。
+perl はこれらの値を常に OS から最新の値を取るようになったので、
+このようにする必要性はなくなっています。
+
 =head2 Which Non-ASCII characters get quoted by C<quotemeta> and C<\Q> has changed
 
+(C<quotemeta> と C<\Q> でクォートされる非 ASCII 文字が変更されました)
+
+=begin original
+
 This is unlikely to result in a real problem, as Perl does not attach
 special meaning to any non-ASCII character, so it is currently
 irrelevant which are quoted or not.  This change fixes bug [perl #77654] and
 bring Perl's behavior more into line with Unicode's recommendations.
 See L<perlfunc/quotemeta>.
 
+=end original
+
+Perl は非 ASCII 文字に特別な意味を割り振っていないために、これが実際の
+問題になるとは考えにくいので、今のところクォートされているかどうかは
+無関係です。
+この変更は [perl #77654] のバグを修正して、Perl の振る舞いを Unicode の
+要求により近いものにします。
+L<perlfunc/quotemeta> を参照してください。
+
 =head1 Performance Enhancements
 
 =over
@@ -4164,8 +4237,6 @@
 
 =item *
 
-No warning for C<open(foo::bar)>
-
 When one writes C<open foo || die>, which used to work in Perl 4, a
 "Precedence problem" warning is produced.  This warning used erroneously to
 apply to fully-qualified bareword handle names not followed by C<||>.  This
@@ -4173,8 +4244,6 @@
 
 =item *
 
-C<select> and package aliasing
-
 After package aliasing (C<*foo:: = *bar::>), C<select> with 0 or 1 argument
 would sometimes return a name that could not be used to refer to the
 filehandle, or sometimes it would return C<undef> even when a filehandle
@@ -4182,8 +4251,6 @@
 
 =item *
 
-C<PerlIO::get_layers> and numbers
-
 C<PerlIO::get_layers> no longer ignores some arguments that it thinks are
 numeric, while treating others as filehandle names.  It is now consistent
 for flat scalars (i.e., not references).
@@ -4202,17 +4269,13 @@
 
 =item *
 
-C<system> and SIGCHLD
-
 C<system> now temporarily blocks the SIGCHLD signal handler, to prevent the
 signal handler from stealing the exit status [perl #105700].
 
 =item *
 
-C<(s)printf>'s %n formatting code
-
-The %n formatting code, which causes the number of characters to be
-assigned to the next argument to C<printf> or C<sprintf> now actually
+The %n formatting code for C<printf> and C<sprintf, which causes the number
+of characters to be assigned to the next argument, now actually
 assigns the number of characters, instead of the number of bytes.
 
 It also works now with special lvalue functions like C<substr> and with
@@ -4220,8 +4283,6 @@
 
 =item *
 
-C<local $_>
-
 In Perl 5.14, C<local $_> was changed to create a new variable not tied to
 anything, even if $_ was tied before that.  But, due to an oversight, it
 would still call FETCH once on a tied $_ before replacing it with the new
@@ -4250,16 +4311,12 @@
 
 =item *
 
-C<@&> and C<$&>
-
 Mentioning a variable named "&" other than C<$&> (i.e., C<@&> or C<%&>) no
 longer stops C<$&> from working.  The same applies to variables named "'"
 and "`" [perl #24237].
 
 =item *
 
-Return value of C<eval>
-
 C<eval> returns C<undef> in scalar context or an empty list in list
 context when there is a run-time error.  When C<eval> was passed a
 string in list context and a syntax error occurred, it used to return a



perldocjp-cvs メーリングリストの案内
Back to archive index