[perldocjp-cvs 305] CVS update: docs/perl/5.10.0

Back to archive index

argra****@users***** argra****@users*****
2008年 10月 27日 (月) 07:18:43 JST


Index: docs/perl/5.10.0/perldiag.pod
diff -u docs/perl/5.10.0/perldiag.pod:1.6 docs/perl/5.10.0/perldiag.pod:1.7
--- docs/perl/5.10.0/perldiag.pod:1.6	Thu Oct 16 04:22:24 2008
+++ docs/perl/5.10.0/perldiag.pod	Mon Oct 27 07:18:43 2008
@@ -2840,11 +2840,11 @@
 
 =end original
 
-(F) You have used a when() block that is neither inside a C<foreach>
-loop nor a C<given> block. (Note that this error is issued on exit
-from the C<when> block, so you won't get the error if the match fails,
-or if you use an explicit C<continue>.)
-(TBT)
+(F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを
+使いました。
+(このエラーは C<when> ブロックから終了したときに発生するので、マッチングに
+失敗したときや、明示的な C<continue> を使った場合はこのエラーは
+発生しません。)
 
 =item Can't weaken a nonreference
 
@@ -3448,13 +3448,16 @@
 
 =end original
 
-(D deprecated) You used a declaration similar to C<my $x if 0>.
+(D deprecated) C<my $x if 0> のような定義を行いました。
 There has been a long-standing bug in Perl that causes a lexical variable
 not to be cleared at scope exit when its declaration includes a false
-conditional. Some people have exploited this bug to achieve a kind of
-static variable. Since we intend to fix this bug, we don't want people
-relying on this behavior. You can achieve a similar static effect by
-declaring the variable in a separate block outside the function, eg
+conditional.
+ある種の静的変数を実現するためにこのバグを悪用する人々もいます。
+私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して
+ほしくありません。
+関数外の別のブロックで変数を宣言することで似たような静的な効果を
+達成できます。
+例えば:
 (TBT)
 
     sub f { my $x if 0; return $x++ }
@@ -3465,7 +3468,7 @@
 
 =end original
 
-以下のようになります:
+これは以下のようにします:
 
     { my $x; sub f { return $x++ } }
 
@@ -3836,9 +3839,9 @@
 
 =end original
 
-(F) You used a pattern that nested too many EVAL calls without consuming
-any text. Restructure the pattern so that text is consumed.
-(TBT)
+(F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる
+パターンを使いました。
+テキストを読み込むようにパターンを再構築してください。
 
 =begin original
 
@@ -4047,7 +4050,6 @@
 =end original
 
 (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。
-(TBT)
 
 =item Field too wide in 'u' format in pack
 
@@ -4062,8 +4064,8 @@
 
 (W pack) Each line in an uuencoded string start with a length indicator
 which can't encode values above 63. So there is no point in asking for
-a line length bigger than that. Perl will behave as if you specified
-C<u63> as format.
+a line length bigger than that.
+Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。
 (TBT)
 
 =item Filehandle %s opened only for input
@@ -4738,10 +4740,9 @@
 
 =end original
 
-(F) The method resolution order (MRO) of the given class is not
-C3-consistent, and you have enabled the C3 MRO for this class.  See the C3
-documentation in L<mro> for more information.
-(TBT)
+(F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、
+このクラスの C3 MRO を有効にしました。
+さらなる情報については L<mro> 内の C3 に関する文書を参照してください。
 
 =item In EBCDIC the v-string components cannot exceed 2147483647
 
@@ -4769,10 +4770,9 @@
 
 =end original
 
-(F) You used a pattern that references itself without consuming any input
-text. You should check the pattern to ensure that recursive patterns
-either consume text or fail.
-(TBT)
+(F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。
+再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、
+パターンをチェックするべきです。
 
 =begin original
 
@@ -4796,8 +4796,9 @@
 
 (F) Currently the implementation of "state" only permits the initialization
 of scalar variables in scalar context. Re-write C<state ($a) = 42> as
-C<state $a = 42> to change from list to scalar context. Constructions such
-as C<state (@a) = foo()> will be supported in a future perl release.
+C<state $a = 42> to change from list to scalar context.
+C<state (@a) = foo()> のような構文は perl の将来のリリースで
+対応されるでしょう。
 (TBT)
 
 =item Insecure dependency in %s
@@ -4896,10 +4897,10 @@
 
 =end original
 
-(F) The indexes and widths specified in the format string of C<printf()>
-or C<sprintf()> are too large.  The numbers must not overflow the size of
-integers for your architecture.
-(TBT)
+(F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや
+幅が大きすぎます。
+数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように
+しなければなりません。
 
 =item Integer overflow in version
 
@@ -5040,8 +5041,7 @@
 didn't correspond to a single character through the conversion
 from the encoding specified by the encoding pragma.
 The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) instead.
-The <-- HERE shows in the regular expression about where the
-escape was discovered.
+<-- HERE で正規表現のどこにエスケープが発見されたかを示しています。
 (TBT)
 
 =item Invalid mro name: '%s'
@@ -5054,10 +5054,10 @@
 
 =end original
 
-(F) You tried to C<mro::set_mro("classname", "foo")>
-or C<use mro 'foo'>, where C<foo> is not a valid method resolution order (MRO).
-(Currently, the only valid ones are C<dfs> and C<c3>). See L<mro>.
-(TBT)
+(F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと
+しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。
+(現在のところ、有効なものは C<dfs> と C<c3> だけです)。
+L<mro> を参照してください。
 
 =item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/
 
@@ -5149,10 +5149,9 @@
 
 =end original
 
-(F) Versions may contain at most a single underscore, which signals
-that the version is a beta release.  See L<version> for the allowed
-version formats.
-(TBT)
+(F) バージョン文字列には、このバージョンがベータリリースであることを
+示すための下線が最大 1 つまで含むことができます。
+許されるバージョンフォーマットについては L<version> を参照してください。
 
 =item Invalid version format (underscores before decimal)
 
@@ -5163,9 +5162,8 @@
 
 =end original
 
-(F) Versions may not contain decimals after the optional underscore.
-See L<version> for the allowed version formats.
-(TBT)
+(F) バージョン文字列では、オプションの下線の後に数字はつけられません。
+許されるバージョンフォーマットについては L<version> を参照してください。
 
 =item ioctl is not implemented
 
@@ -5226,10 +5224,9 @@
 
 =end original
 
-(S deprecated, syntax) The special variable C<$*>, deprecated in older perls, has
-been removed as of 5.9.0 and is no longer supported. You should use the
-C<//m> and C<//s> regexp modifiers instead.
-(TBT)
+(S deprecated, syntax) 過去のバージョンで非推奨とされた特殊変数 C<$*> は、
+5.9.0 で削除され、もはやサポートされません。
+代わりに正規表現修飾子 C<//m> と C<//s> を使うべきです。
 
 =item $# is no longer supported
 
@@ -5241,10 +5238,9 @@
 
 =end original
 
-(S deprecated, syntax) The special variable C<$#>, deprecated in older perls, has
-been removed as of 5.9.3 and is no longer supported. You should use the
-printf/sprintf functions instead.
-(TBT)
+(S deprecated, syntax) 過去のバージョンで非推奨とされた特殊変数 C<$#> は、
+5.9.3 で削除され、もはやサポートされません。
+代わりに printf/sprintf 関数を使うべきです。
 
 =item `%s' is not a code reference
 
@@ -5598,7 +5594,8 @@
 usually indicates that your operating system tried to deliver signals
 too fast (with a very high priority), starving the perl process from
 resources it would need to reach a point where it can process signals
-safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.)
+safely.
+(L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。)
 (TBT)
 
 =item %s matches null string many times in regex; marked by <-- HERE in m/%s/
@@ -6117,10 +6114,9 @@
 
 =end original
 
-(F) C<next::method> needs to be called within the context of a
-real method in a real package, and it could not find such a context.
-See L<mro>.
-(TBT)
+(F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる
+必要がありますが、そのようなコンテキストが見つけられませんでした。
+L<mro> を参照してください。
 
 =item No %s allowed while running setuid
 
@@ -6315,9 +6311,10 @@
 =end original
 
 (F) C<next::method> found no further instances of this method name
-in the remaining packages of the MRO of this class.  If you don't want
-it throwing an exception, use C<maybe::next::method>
-or C<next::can>. See L<mro>.
+in the remaining packages of the MRO of this class.
+もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を
+使ってください。
+L<mro> を参照してください。
 (TBT)
 
 =item "no" not allowed in expression
@@ -6938,8 +6935,8 @@
 
 (W io deprecated) You used open() to associate a filehandle to
 a symbol (glob or scalar) that already holds a dirhandle.
-Although legal, this idiom might render your code confusing
-and is deprecated.
+これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
+あるので非推奨です。
 (TBT)
 
 =item Opening filehandle %s also as a directory
@@ -6955,8 +6952,8 @@
 
 (W io deprecated) You used opendir() to associate a dirhandle to
 a symbol (glob or scalar) that already holds a filehandle.
-Although legal, this idiom might render your code confusing
-and is deprecated.
+これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
+あるので非推奨です。
 (TBT)
 
 =item Operation "%s": no method found, %s
@@ -7158,10 +7155,10 @@
 
 =end original
 
-(F) You had a template that specified an absolute position outside
-the string being unpacked. The string being unpacked was also invalid
-UTF-8. See L<perlfunc/pack>.
-(TBT)
+(F) unpack された文字列の外側を絶対位置で指定するテンプレートを
+使っています。
+unpack された文字列は不正な UTF-8 でもあります。
+L<perlfunc/pack> を参照してください。
 
 =item %s package attribute may clash with future reserved word: %s
 
@@ -7379,9 +7376,10 @@
 =end original
 
 (P) The internal routine used to clear a hashes entries tried repeatedly,
-but each time something added more entries to the hash. Most likely the hash
-contains an object with a reference back to the hash and a destructor that
-adds a new object to the hash.
+but each time something added more entries to the hash.
+最もありそうなのは、ハッシュが、そのハッシュへのリファレンスがある
+オブジェクトと、ハッシュへの新しいオブジェクトを追加するデストラクタを
+含む場合です。
 (TBT)
 
 =item panic: INTERPCASEMOD
@@ -7788,11 +7786,11 @@
 
 =end original
 
-(F) Your platform has very uncommon byte-order and integer size,
-so it was not possible to set up some or all fixed-width byte-order
-conversion functions.  This is only a problem when you're using the
-'<' or '>' modifiers in (un)pack templates.  See L<perlfunc/pack>.
-(TBT)
+(F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを
+使っているので、固定長バイト順変換関数の一部または全部を使うことができません。
+これは (un)pack テンプレートの中で
+'<' か '>' の修飾子を使った場合にのみ問題となります。
+L<perlfunc/pack> を参照してください。
 
 =item Perl %s required--this is only version %s, stopped
 
@@ -8635,8 +8633,9 @@
 
 (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、
 but there is no corresponding named capturing parentheses such
-as C<(?'NAME'...)> or C<(?<NAME>...). Check if the name has been spelled
-correctly both in the backreference and the declaration.
+as C<(?'NAME'...)> or C<(?<NAME>...).
+前方参照と定義の両方において、名前のスペルが正しいかどうか
+チェックしてください。
 (TBT)
 
 =begin original
@@ -8659,10 +8658,8 @@
 =end original
 
 (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。
-The
-most likely cause of this error is that you left out a parenthesis inside
-of the C<....> part.
-(TBT)
+このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを
+そのままにしたことです。
 
 =begin original
 
@@ -9058,9 +9055,8 @@
 
 =end original
 
-(F) The regular expression expects a mandatory argument following the escape
-sequence and this has been omitted or incorrectly written.
-(TBT)
+(F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、
+それが省略されているか適切に書かれていません。
 
 =item Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/
 
@@ -9073,11 +9069,10 @@
 
 =end original
 
-(F) A regular expression comment must be terminated by a closing
-parenthesis.  Embedded parentheses aren't allowed.  The <-- HERE shows in
-the regular expression about where the problem was discovered. See
-L<perlre>.
-(TBT)
+(F) 正規表現のコメントは閉じかっこで終わらなければなりません。
+組み込みのかっこは許可されません。
+<-- HERE で正規表現のどこに問題が発見されたかを示しています。
+L<perlre> を参照してください。
 
 =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/
 
@@ -9291,10 +9286,9 @@
 
 =end original
 
-(W syntax) The non-matching operator is !~, not !=~.  !=~ will be
-interpreted as the != (numeric not equal) and ~ (1's complement)
-operators: probably not what you intended.
-(TBT)
+(W syntax) 非マッチ演算子は !=~ ではなく !~ です。
+!=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます:
+おそらくあなたの意図していることではないでしょう。
 
 =item <> should be quotes
 
@@ -10547,9 +10541,9 @@
 =end original
 
 (F) You either made a typo or have incorrectly put a C<*> quantifier
-after an open brace in your pattern.  Check the pattern and review
-L<perlre> for details on legal verb patterns.
-(TBT)
+after an open brace in your pattern.
+パターンをチェックして、有効な動詞パターンの詳細については
+L<perlre> を再チェックしてください。
 
 =begin original
 
@@ -10855,9 +10849,9 @@
 
 =end original
 
-(F) You used a pattern of the form C<(*VERB)> but did not terminate
-the pattern with a C<)>. Fix the pattern and retry.
-(TBT)
+(F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で
+終わっていません。
+パターンを修正して再挑戦してください。
 
 =item Unterminated verb pattern argument in regex; marked by <-- HERE in m/%s/
 
@@ -10868,9 +10862,9 @@
 
 =end original
 
-(F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate
-the pattern with a C<)>. Fix the pattern and retry.
-(TBT)
+(F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で
+終わっていません。
+パターンを修正して再挑戦してください。
 
 =item Unterminated \g{...} pattern in regex; marked by <-- HERE in m/%s/
 
@@ -10881,9 +10875,8 @@
 
 =end original
 
-(F) You missed a close brace on a \g{..} pattern (group reference) in
-a regular expression. Fix the pattern and retry.
-(TBT)
+(F) 正規表現の \g{..} (グループリファレンス) の閉じかっこがありません。
+パターンを修正して再挑戦してください。
 
 =item Unterminated <> operator
 
@@ -10981,10 +10974,10 @@
 
 =end original
 
-(W syntax) The localization of lvalues such as C<local($x=10)> is
-legal, but in fact the local() currently has no effect. This may change at
-some point in the future, but in the meantime such code is discouraged.
-(TBT)
+(W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、
+実際のところ local() は現在のところ何の効果もありません。
+これは将来変更されるかもしれませんが、今のところはこのようなコードは
+勧められません。
 
 =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/
 
@@ -11676,9 +11669,8 @@
 
 =end original
 
-The second situation is caused by an eval accessing a variable that has
-gone out of scope, for example,
-(TBT)
+2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります;
+例えば:
 
     sub f {
 	my $a;
@@ -11693,9 +11685,8 @@
 
 =end original
 
-Here, when the '$a' in the eval is being compiled, f() is not currently being
-executed, so its $a is not available for capture.
-(TBT)
+ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ
+実行されていないので、この $a は捕捉出来ません。
 
 =item Variable "%s" is not imported%s
 
@@ -11810,9 +11801,8 @@
 
 =end original
 
-(F) You used a verb pattern that requires an argument. Supply an argument
-or check that you are using the right verb.
-(TBT)
+(F) 引き数が必要な動詞パターンを使いました。
+引き数を追加するか、正しい動詞を使ってください。
 
 =item Verb pattern '%s' may not have an argument in regex; marked by <-- HERE in m/%s/ 
 
@@ -11823,9 +11813,8 @@
 
 =end original
 
-(F) You used a verb pattern that is not allowed an argument. Remove the 
-argument or check that you are using the right verb.
-(TBT)
+(F) 引き数が認められていない動詞パターンを使いました。
+引き数を削除するか、正しい動詞を使ってください。
 
 =item Version number must be a constant number
 
@@ -11849,9 +11838,8 @@
 
 =end original
 
-(W misc) The version string contains invalid characters at the end, which
-are being ignored.
-(TBT)
+(W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は
+無視されます。
 
 =item v-string in use/require is non-portable
 
@@ -11881,9 +11869,8 @@
 
 =end original
 
-This warning is suppressed if the C<use 5.x.y> is preceded by a
-C<use 5.006> (see C<use VERSION> in L<perlfunc/use>).
-(TBT)
+C<use 5.x.y> が C<use 5.006> の前にある場合、この警告は抑制されます。
+(L<perlfunc/use> の C<use VERSION> を参照してください)。
 
 =item Warning: something's wrong
 


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