[perldocjp-cvs 277] CVS update: docs/perl/5.8.8

Back to archive index

argra****@users***** argra****@users*****
2008年 6月 13日 (金) 02:08:39 JST


Index: docs/perl/5.8.8/perldiag.pod
diff -u docs/perl/5.8.8/perldiag.pod:1.4 docs/perl/5.8.8/perldiag.pod:1.5
--- docs/perl/5.8.8/perldiag.pod:1.4	Sun Apr 20 05:12:25 2008
+++ docs/perl/5.8.8/perldiag.pod	Fri Jun 13 02:08:39 2008
@@ -2622,7 +2622,9 @@
 =end original
 
 (F) マジカル変数を、字句スコープ変数として宣言しようとしました。
-これが許されていないのは、マジック変数は 1 か所だけにおくことができる
+これが許されていないのは、マジカル変数は(グローバル変数という名前の)
+1 か所だけに結び付けられているので、マジカル変数のように見えるけれども
+そうではない変数がプログラム中にあると、著しく混乱させるからです。
 
 =item Can't use "my %s" in sort comparison
 
@@ -6971,7 +6973,8 @@
 
 =end original
 
-"my" や "local" は、コンマよりも強く結合することを忘れないでください。
+"my", "our", "local" は、コンマよりも強く結合することを
+忘れないでください。
 
 =item C<-p> destination: %s
 
@@ -7823,7 +7826,7 @@
 
 =end original
 
-(P) safemalloc() が見つけるはずなので、「起こるはずのないエラー」です。
+(P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。
 
 =item Repeated format line will never terminate (~~ and @# incompatible)
 
@@ -9646,6 +9649,11 @@
 
 =end original
 
+(F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを
+見つけました; おそらく対応する開きかっこを忘れたのでしょう。
+一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した
+場所の近くにあります。
+
 =item Unquoted string "%s" may clash with future reserved word
 
 =begin original
@@ -10538,14 +10546,13 @@
 
 =end original
 
-To help you figure out what was undefined, perl tells you what operation
-you used the undefined value in.  Note, however, that perl optimizes your
-program and the operation displayed in the warning may not necessarily
-appear literally in your program.  For example, C<"that $foo"> is
-usually optimized into C<"that " . $foo>, and the warning will refer to
-the C<concatenation (.)> operator, even though there is no C<.> in your
-program.
-(TBT)
+何が未定義なのかを見つけ出す助けにするために、perl は未定義値を使った操作を
+示します。
+しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に
+現れない操作についての警告が表示されるかもしれないことに注意してください。
+例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、
+たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が
+出ます。
 
 =item Using a hash as a reference is deprecated
 
@@ -11046,3 +11053,12 @@
 =back
 
 =cut
+
+=begin meta
+
+Translate: 吉村 寿人 <JAE00****@nifty*****> (5.000)
+Update: Kentaro Shirakata <argra****@ub32*****> (5.6.1-)
+License: GPL or Artistic
+
+=end meta
+


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