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

Back to archive index

argra****@users***** argra****@users*****
2007年 11月 8日 (木) 05:25:42 JST


Index: docs/perl/5.8.8/perldiag.pod
diff -u docs/perl/5.8.8/perldiag.pod:1.1 docs/perl/5.8.8/perldiag.pod:1.2
--- docs/perl/5.8.8/perldiag.pod:1.1	Thu Nov  1 20:03:23 2007
+++ docs/perl/5.8.8/perldiag.pod	Thu Nov  8 05:25:42 2007
@@ -1114,15 +1114,15 @@
 
 =end original
 
-(W prototype) You've called a function that has a prototype before the
-parser saw a definition or declaration for it, and Perl could not check
-that the call conforms to the prototype.  You need to either add an
-early prototype declaration for the subroutine in question, or move the
-subroutine definition ahead of the call to get proper prototype
-checking.  Alternatively, if you are certain that you're calling the
-function correctly, you may put an ampersand before the name to avoid
-the warning.  See L<perlsub>.
-(TBT6)
+(W prototype) 以前にパーサが宣言または定義されているのを見た、
+プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに
+従っているかどうかをチェックできませんでした。
+問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、
+適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に
+移動させる必要があります。
+または、関数を正しく呼び出していることが確かな場合は、名前の前に
+アンパサンドを付けることで警告を回避できます。
+L<perlsub> を参照してください。
 
 =item Cannot compress integer in pack
 
@@ -1729,7 +1729,8 @@
 
 =end original
 
-(S) A warning peculiar to VMS.  This arises because of the difference
+(S) VMS 特有の警告です。
+This arises because of the difference
 between access checks under VMS and under the Unix model Perl assumes.
 Under VMS, access checks are done by filename, rather than by bits in
 the stat buffer, so that ACLs and other protections can be taken into
@@ -3959,8 +3960,9 @@
 config.sh:  If you have tcsh, make the variables refer to it as if it
 were csh (e.g.  C<full_csh='/usr/bin/tcsh'>); otherwise, make them all
 empty (except that C<d_csh> should be C<'undef'>) so that Perl will
-think csh is missing.  In either case, after editing config.sh, run
-C<./Configure -S> and rebuild Perl.
+think csh is missing.
+どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して
+Perl を再ビルドしてください。
 (TBT6)
 
 =item Glob not terminated
@@ -4415,16 +4417,14 @@
 
 =end original
 
-(W overflow) The hexadecimal, octal or binary number you have specified
-either as a literal or as an argument to hex() or oct() is too big for
-your architecture, and has been converted to a floating point number.
-On a 32-bit architecture the largest hexadecimal, octal or binary number
-representable without overflow is 0xFFFFFFFF, 037777777777, or
-0b11111111111111111111111111111111 respectively.  Note that Perl
-transparently promotes all numbers to a floating point representation
-internally--subject to loss of precision errors in subsequent
-operations.
-(TBT6)
+(W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、
+8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に
+変換されました。
+32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進
+2 進数はそれぞれ 0xFFFFFFFF, 037777777777, 
+0b11111111111111111111111111111111 です。
+Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに
+注意してください -- 引き続く操作によって精度が失われることがあります。
 
 =item Internal disaster in regex; marked by <-- HERE in m/%s/
 
@@ -4452,7 +4452,8 @@
 
 =end original
 
-(S) A warning peculiar to VMS.  Perl keeps track of the number of times
+(S) VMS 特有の警告です。
+Perl keeps track of the number of times
 you've called C<fork> and C<exec>, to determine whether the current call
 to C<exec> should affect the current script or a subprocess (see
 L<perlvms/"exec LIST">).  Somehow, this count has become scrambled, so
@@ -6404,13 +6405,13 @@
 
 =end original
 
-The request was judged to be small, so the possibility to trap it
-depends on the way perl was compiled.  By default it is not trappable.
-However, if compiled for this, Perl may use the contents of C<$^M> as an
-emergency pool after die()ing with this message.  In this case the error
-is trappable I<once>, and the error message will include the line and file
-where the failed request happened.
-(TBT6)
+要求は小さいものと判定されたので、これをトラップできる確率は perl が
+どのようにコンパイルされたかに依存します。
+デフォルトではこれはトラップできません。
+しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に
+die() した後の非常用エリアとして C<$^M> の内容を使います。
+この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した
+要求が起きたファイルと行番号を含んでいます。
 
 =item Out of memory during ridiculously large request
 
@@ -7080,8 +7081,9 @@
 dead serious, fortunately: there is a "default locale" called "C" that
 Perl can and will use, the script will be run.  Before you really fix
 the problem, however, you will get the same error message each time
-you run Perl.  How to really fix the problem can be found in
-L<perllocale> section B<LOCALE PROBLEMS>.
+you run Perl.
+本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の
+章にあります。
 (TBT6)
 
 =item Permission denied
@@ -8234,13 +8236,11 @@
 
 =end original
 
-You need to make sure your script is executable, is accessible by the
-user CGI is running the script under (which is probably not the user
-account you tested it under), does not rely on any environment variables
-(like PATH) from the user it isn't running under, and isn't in a
-location where the CGI server can't find it, basically, more or less.
-Please see the following for more information:
-(TBT6)
+まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく
+あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは
+異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが
+見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。
+さらなる情報については以下を参照してください。
 
 	http://www.perl.org/CGI_MetaFAQ.html
 	http://www.htmlhelp.org/faq/cgifaq.html
@@ -8967,14 +8967,12 @@
 
 =end original
 
-(W internal) Warnings peculiar to VMS.  You tried to change or delete an
-element of the CRTL's internal environ array, but your copy of Perl
-wasn't built with a CRTL that contained the setenv() function.  You'll
-need to rebuild Perl with a CRTL that does, or redefine
-F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the
-target of the change to
-%ENV which produced the warning.
-(TBT6)
+(W internal) VMS 固有の警告です。
+CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は
+setenv() 関数を含んだ CRTL でビルドされていません。
+これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を
+出力している %ENV を変更するターゲットとならないように 
+F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。
 
 =item thread failed to start: %s
 
@@ -10490,13 +10488,12 @@
 
 =end original
 
-(D deprecated) The indicated bareword is a reserved word.  Future
-versions of perl may use it as a keyword, so you're better off either
-explicitly quoting the word in a manner appropriate for its context of
-use, or using a different name altogether.  The warning can be
-suppressed for subroutine names by either adding a C<&> prefix, or using
-a package qualifier, e.g. C<&our()>, or C<Foo::our()>.
-(TBT6)
+(D deprecated) 示されている裸の単語は予約語です。
+将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、
+使っているコンテキストに適した形で単語をクォートするか、違う名前を
+使ってください。
+この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、
+パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。
 
 =item Use of tainted arguments in %s is deprecated
 
@@ -10620,13 +10617,12 @@
 
 =end original
 
-(W misc) In a conditional expression, you used <HANDLE>, <*> (glob),
-C<each()>, or C<readdir()> as a boolean value.  Each of these constructs
-can return a value of "0"; that would make the conditional expression
-false, which is probably not what you intended.  When using these
-constructs in conditional expressions, test their values with the
-C<defined> operator.
-(TBT6)
+(W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を
+真偽値として使いました。
+これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、
+これはおそらく望んでいることではないでしょう。
+これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で
+テストしてください。
 
 =item Value of CLI symbol "%s" too long
 
@@ -10656,13 +10652,11 @@
 
 =end original
 
-(F) "use strict" が有効で、
-you referred to a global variable that
-you apparently thought was imported from another module, because
-something else of the same name (usually a subroutine) is exported by
-that module.
+(F) "use strict" が有効のときに、見たところ他のモジュールから
+インポートされたとあなたが考えたグローバル変数を参照しました;
+なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから
+エクスポートされています。
 これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。
-(TBT6)
 
 =item Variable length lookbehind not implemented in regex; marked by <-- HERE in m/%s/
 
@@ -10725,9 +10719,11 @@
 
 =end original
 
-If the anonymous subroutine is called or referenced (directly or
-indirectly) from the outermost subroutine, it will share the variable as
-you would expect.  But if the anonymous subroutine is called or
+無名サブルーチンが一番外側のサブルーチンから呼び出されるか(直接または
+間接に)リファレンスされたとき、予想通りに変数は共有されます。
+しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり
+リファレンスされたりすると、
+But if the anonymous subroutine is called or
 referenced when the outermost subroutine is not active, it will see the
 value of the shared variable as it was before and during the *first*
 call to the outermost subroutine, which is probably not what you want.
@@ -10783,13 +10779,11 @@
 
 =end original
 
-When the inner subroutine is called, it will probably see the value of
-the outer subroutine's variable as it was before and during the *first*
-call to the outer subroutine; in this case, after the first call to the
-outer subroutine is complete, the inner and outer subroutines will no
-longer share a common value for the variable.  In other words, the
-variable will no longer be shared.
-(TBT6)
+内側のサブルーチンが呼び出された時、おそらく外側のサブルーチンの値は、
+最初の外側のサブルーチンへの呼び出し前および呼び出し中のものになります;
+この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と
+外側のサブルーチンは変数に関して同じ値を共有しなくなります。
+言い換えると、変数はもはや共有されません。
 
 =begin original
 


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