perldiag > 5.14.1 との差分

perldiag 5.14.1 と 5.40.0 の差分

11
2=encoding euc-jp
2=encoding utf8
33
44=head1 NAME
55
66=begin original
77
88perldiag - various Perl diagnostics
99
1010=end original
1111
1212perldiag - さまざまな Perl 診断メッセージ
1313
1414=head1 DESCRIPTION
1515
1616=begin original
1717
1818These messages are classified as follows (listed in increasing order of
1919desperation):
2020
2121=end original
2222
2323これらのメッセージは以下のように分類されます (重要度が増す順に
2424並べてあります):
2525
2626=begin original
2727
2828 (W) A warning (optional).
2929 (D) A deprecation (enabled by default).
3030 (S) A severe warning (enabled by default).
3131 (F) A fatal error (trappable).
3232 (P) An internal error you should never see (trappable).
3333 (X) A very fatal error (nontrappable).
3434 (A) An alien error message (not generated by Perl).
3535
3636=end original
3737
3838 (W) 警告 (オプション)。
3939 (D) 非推奨 (デフォルトでは有効)。
4040 (S) 重大な警告 (デフォルトでは有効)。
4141 (F) 致命的エラー (トラップ可能)。
4242 (P) 起こるはずのない内部エラー (トラップ可能)。
4343 (X) 重大致命的エラー (トラップ不可能)。
4444 (A) 外部エラーメッセージ (Perl 以外で生成されたもの)。
4545
4646=begin original
4747
4848The majority of messages from the first three classifications above
4949(W, D & S) can be controlled using the C<warnings> pragma.
5050
5151=end original
5252
5353上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は
5454C<warings> プラグマで制御できます。
5555
5656=begin original
5757
5858If a message can be controlled by the C<warnings> pragma, its warning
5959category is included with the classification letter in the description
60below.
60below. E.g. C<(W closed)> means a warning in the C<closed> category.
6161
6262=end original
6363
6464メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の
6565説明で分類文字と共に記されています。
66例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。
6667
6768=begin original
6869
6970Optional warnings are enabled by using the C<warnings> pragma or the B<-w>
70and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}>
71and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}>
7172to a reference to a routine that will be called on each warning instead
7273of printing it. See L<perlvar>.
7374
7475=end original
7576
7677C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が
7778有効になります。
7879警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの
7980リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。
8081L<perlvar> を参照してください。
8182
8283=begin original
8384
8485Severe warnings are always enabled, unless they are explicitly disabled
8586with the C<warnings> pragma or the B<-X> switch.
8687
8788=end original
8889
8990C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、
9091厳しい警告は常に有効です。
9192
9293=begin original
9394
9495Trappable errors may be trapped using the eval operator. See
9596L<perlfunc/eval>. In almost all cases, warnings may be selectively
9697disabled or promoted to fatal errors using the C<warnings> pragma.
9798See L<warnings>.
9899
99100=end original
100101
101102トラップ可能なエラーは評価演算子を使ってトラップできます。
102103L<perlfunc/eval> を参照してください。
103104ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に
104105無効にしたり致命的エラーに昇格させたりできます。
105106L<warnings> を参照してください。
106107
107108=begin original
108109
109110The messages are in alphabetical order, without regard to upper or
110111lower-case. Some of these messages are generic. Spots that vary are
111112denoted with a %s or other printf-style escape. These escapes are
112113ignored by the alphabetical order, as are all characters other than
113114letters. To look up your message, just ignore anything that is not a
114115letter.
115116
116117=end original
117118
118119メッセージは大文字小文字を無視してアルファベット順に並んでいます。
119120これらの中には一般的なものもあります。
120121変化する部分は %s またはその他の printf スタイルの表記をしています。
121122これらの表記や、その他の英文字以外の文字は並び順に関しては
122123無視されています。
123124メッセージを探すには、英文字以外は無視してください。
124125
125126=over 4
126127
127128=item accept() on closed socket %s
128129
129130=begin original
130131
131132(W closed) You tried to do an accept on a closed socket. Did you forget
132133to check the return value of your socket() call? See
133134L<perlfunc/accept>.
134135
135136=end original
136137
137138(W closed) クローズされたソケットに accept を行なおうとしました。
138139socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
139140L<perlfunc/accept> を参照してください。
140141
141=item Allocation too large: %x
142=item ADJUST is experimental
142143
143144=begin original
144145
145(X) You can't allocate more than 64K on an MS-DOS machine.
146(S experimental::class) This warning is emitted if you use the C<ADJUST>
147keyword of C<use feature 'class'>. This keyword is currently
148experimental and its behaviour may change in future releases of Perl.
146149
147150=end original
148151
149(X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。
152(S experimental::class) この警告は、C<use feature 'class'> の
153C<ADJUST> キーワードを使うと発生します。
154このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される
155可能性があります。
150156
151=item '%c' allowed only after types %s
157=item Aliasing via reference is experimental
152158
153159=begin original
154160
161(S experimental::refaliasing) This warning is emitted if you use
162a reference constructor on the left-hand side of an assignment to
163alias one variable to another. Simply suppress the warning if you
164want to use the feature, but know that in doing so you are taking
165the risk of using an experimental feature which may change or be
166removed in a future Perl version:
167
168=end original
169
170(S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の
171左側でリファレンスコンストラクタを使うと出力されます。
172この機能を使いたい場合は単にこの警告を抑制してください; ただし
173そうすることによってあなたは将来のバージョンの Perl で変更したり
174削除されたりするかもしれない実験的な機能を使うというリスクを
175取っていると言うことを知っておいてください:
176
177 no warnings "experimental::refaliasing";
178 use feature "refaliasing";
179 \$x = \$y;
180
181=item '%c' allowed only after types %s in %s
182
183=begin original
184
155185(F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only
156186after certain types. See L<perlfunc/pack>.
157187
158188=end original
159189
160190(F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの
161191後にのみつけることができます。
162192L<perlfunc/pack> を参照してください。
163193
194=item alpha->numify() is lossy
195
196=begin original
197
198(W numeric) An alpha version can not be numified without losing
199information.
200
201=end original
202
203(W numeric) アルファバージョンは、情報を失うことなく数値化できません。
204
164205=item Ambiguous call resolved as CORE::%s(), qualify as such or use &
165206
166207=begin original
167208
168209(W ambiguous) A subroutine you have declared has the same name as a Perl
169210keyword, and you have used the name without qualification for calling
170211one or the other. Perl decided to call the builtin because the
171212subroutine is not imported.
172213
173214=end original
174215
175216(W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、
176217どちらかを呼び出すために修飾なしで名前を使っています。
177218Perl は、サブルーチンがインポートされたものではないので、組み込みのものを
178219呼び出すことにしました。
179220
180221=begin original
181222
182223To force interpretation as a subroutine call, either put an ampersand
183224before the subroutine name, or qualify the name with its package.
184225Alternatively, you can import the subroutine (or pretend that it's
185226imported with the C<use subs> pragma).
186227
187228=end original
188229
189230サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の
190231前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。
191232他の方法として、サブルーチンをインポートする(あるいは C<use subs>
192233プラグマを使ってインポートされたふりをする)方法もあります。
193234
194235=begin original
195236
196237To silently interpret it as the Perl operator, use the C<CORE::> prefix
197238on the operator (e.g. C<CORE::log($x)>) or declare the subroutine
198239to be an object method (see L<perlsub/"Subroutine Attributes"> or
199240L<attributes>).
200241
201242=end original
202243
203244警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように)
204245演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト
205246メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を
206247参照してください)として定義してください。
207248
208249=item Ambiguous range in transliteration operator
209250
210251=begin original
211252
212253(F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at
213254all. To include a C<-> character in a transliteration, put it either
214255first or last. (In the past, C<tr/a-z-0//> was synonymous with
215256C<tr/a-y//>, which was probably not what you would have expected.)
216257
217258=end original
218259
219260(F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。
220261文字変換の文字に C<-> を加える時は、最初か最後に置いてください。
221262(以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく
222263予想していたものと違うでしょう。)
223264
224265=item Ambiguous use of %s resolved as %s
225266
226267=begin original
227268
228(W ambiguous)(S) You said something that may not be interpreted the way
269(S ambiguous) You said something that may not be interpreted the way
229270you thought. Normally it's pretty easy to disambiguate it by supplying
230271a missing quote, operator, parenthesis pair or declaration.
231272
232273=end original
233274
234(W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが
275(S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。
235ありました。
236276普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり
237277簡単にあいまいさを解消できます。
238278
279=item Ambiguous use of -%s resolved as -&%s()
280
281=begin original
282
283(S ambiguous) You wrote something like C<-foo>, which might be the
284string C<"-foo">, or a call to the function C<foo>, negated. If you meant
285the string, just write C<"-foo">. If you meant the function call,
286write C<-foo()>.
287
288=end original
289
290(S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも
291知れませんし、関数 C<foo> を呼び出してその否定かも知れません。
292文字列のつもりなら、単に C<"-foo"> と書いてください。
293関数呼び出しのつもりなら、C<-foo()> と書いてください。
294
239295=item Ambiguous use of %c resolved as operator %c
240296
241297=begin original
242298
243(W ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus,
299(S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus,
244300bitwise and, and multiplication) I<and> initial special characters
245301(denoting hashes, subroutines and typeglobs), and you said something
246302like C<*foo * foo> that might be interpreted as either of them. We
247303assumed you meant the infix operator, but please try to make it more
248304clear -- in the example given, you might write C<*foo * foo()> if you
249305really meant to multiply a glob by the result of calling a function.
250306
251307=end original
252308
253(W ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算)
309(S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算)
254310I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の
255両方に使われます
311両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが
256どちらとも解釈できる C<*foo * foo> のようなものが書かれました。
312書かれました。
257313これは中置演算子を意味していると仮定しますが、どうかより明確にするように
258314してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の
259315積を意味しているなら、C<*foo * foo()> と書けます。
260316
261317=item Ambiguous use of %c{%s} resolved to %c%s
262318
263319=begin original
264320
265321(W ambiguous) You wrote something like C<@{foo}>, which might be
266322asking for the variable C<@foo>, or it might be calling a function
267323named foo, and dereferencing it as an array reference. If you wanted
268the varable, you can just write C<@foo>. If you wanted to call the
324the variable, you can just write C<@foo>. If you wanted to call the
269325function, write C<@{foo()}> ... or you could just not have a variable
270326and a function with the same name, and save yourself a lot of trouble.
271327
272328=end original
273329
274330(W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと
275331かもしれませんし、foo という名前の関数を呼び出して、それを配列
276332リファレンスとしてデリファレンスするかもしれません。
277333もし変数がほしいなら、単に C<@foo> と書いてください。
278334関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に
279335変数と関数で同じ名前を使わないでください; これにより多くの問題から身を
280336守れます。
281337
282338=item Ambiguous use of %c{%s[...]} resolved to %c%s[...]
283339
284340=item Ambiguous use of %c{%s{...}} resolved to %c%s{...}
285341
286342=begin original
287343
288(W ambiguous) You wrote something like C<${foo[2]}> (where foo
344(W ambiguous) You wrote something like C<${foo[2]}> (where foo represents
289represents the name of a Perl keyword), which might be looking for
345the name of a Perl keyword), which might be looking for element number
290element number 2 of the array named C<@foo>, in which case please write
3462 of the array named C<@foo>, in which case please write C<$foo[2]>, or you
291C<$foo[2]>, or you might have meant to pass an anonymous arrayref to
347might have meant to pass an anonymous arrayref to the function named
292the function named foo, and then do a scalar deref on the value it
348foo, and then do a scalar deref on the value it returns. If you meant
293returns. If you meant that, write C<${foo([2])}>.
349that, write C<${foo([2])}>.
294350
295351=end original
296352
297353(W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の
298354キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を
299355探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、
300356foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ
301357デリファレンスしているのかも知れません。
302358それを意味しているなら、C<${foo([2])}> と書いてください。
303359
304360=begin original
305361
306362In regular expressions, the C<${foo[2]}> syntax is sometimes necessary
307363to disambiguate between array subscripts and character classes.
308C</$length[2345]/>, for instance, will be interpreted as C<$length>
364C</$length[2345]/>, for instance, will be interpreted as C<$length> followed
309followed by the character class C<[2345]>. If an array subscript is what
365by the character class C<[2345]>. If an array subscript is what you
310you want, you can avoid the warning by changing C</${length[2345]}/>
366want, you can avoid the warning by changing C</${length[2345]}/> to the
311to the unsightly C</${\$length[2345]}/>, by renaming your array to
367unsightly C</${\$length[2345]}/>, by renaming your array to something
312something that does not coincide with a built-in keyword, or by
368that does not coincide with a built-in keyword, or by simply turning
313simply turning off warnings with C<no warnings 'ambiguous';>.
369off warnings with C<no warnings 'ambiguous';>.
314370
315371=end original
316372
317373正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために
318374必要になります。
319375例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が
320376引き続くと解釈されます。
321377配列添え字が求めているものなら、C</${length[2345]}/> を
322378(見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと
323379衝突しないものに変える、単に C<no warnings 'ambiguous';> として
324380警告をオフにする、のいずれかで警告を回避できます。
325381
326=item Ambiguous use of -%s resolved as -&%s()
327
328=begin original
329
330(W ambiguous) You wrote something like C<-foo>, which might be the
331string C<"-foo">, or a call to the function C<foo>, negated. If you meant
332the string, just write C<"-foo">. If you meant the function call,
333write C<-foo()>.
334
335=end original
336
337(W ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも
338知れませんし、関数 C<foo> を呼び出してその否定かも知れません。
339文字列のつもりなら、単に C<"-foo"> と書いてください。
340関数呼び出しのつもりなら、C<-foo()> と書いてください。
341
342=item Ambiguous use of 's//le...' resolved as 's// le...'; Rewrite as 's//el' if you meant 'use locale rules and evaluate rhs as an expression'. In Perl 5.16, it will be resolved the other way
343
344=begin original
345
346(W deprecated, ambiguous) You wrote a pattern match with substitution
347immediately followed by "le". In Perl 5.14 and earlier, this is
348resolved as meaning to take the result of the substitution, and see if
349it is stringwise less-than-or-equal-to what follows in the expression.
350Having the "le" immediately following a pattern is deprecated behavior,
351so in Perl 5.16, this expression will be resolved as meaning to do the
352pattern match using the rules of the current locale, and evaluate the
353rhs as an expression when doing the substitution. In 5.14, if you want
354the latter interpretation, you can simply write "el" instead.
355
356=end original
357
358(W deprecated, ambiguous) 置換を含むパターンの直後に "le" と書きました。
359Perl 5.14 以前では、これは置換の結果を取り、これと式に引き続くものとの
360間での文字列的な「以下」かどうかを調べます。
361パターンの直後に引き続く "le" は廃止予定の振る舞いなので、Perl 5.16 では、
362この式は現在のロケールの規則を使ってパターンマッチングを行い、置換を
363行うときに右側を式として評価します。
3645.14 では、後者の解釈を望むなら、単に代わりに "el" と書いてください。
365
366382=item '|' and '<' may not both be specified on command line
367383
368384=begin original
369385
370386(F) An error peculiar to VMS. Perl does its own command line
371387redirection, and found that STDIN was a pipe, and that you also tried to
372388redirect STDIN using '<'. Only one STDIN stream to a customer, please.
373389
374390=end original
375391
376392(F) VMS に固有のエラーです。
377393Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで
378394あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと
379395しました。
380396STDIN ストリームは一つだけにしてください; お願いします。
381397
382398=item '|' and '>' may not both be specified on command line
383399
384400=begin original
385401
386402(F) An error peculiar to VMS. Perl does its own command line
387403redirection, and thinks you tried to redirect stdout both to a file and
388404into a pipe to another command. You need to choose one or the other,
389405though nothing's stopping you from piping into a program or Perl script
390406which 'splits' output into two streams, such as
391407
392408=end original
393409
394410(F) VMS に固有のエラーです。
395411Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を
396412ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると
397413判断しました。
398414どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに
399415「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは
400416何もありません。
401417
402418 open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!";
403419 while (<STDIN>) {
404420 print;
405421 print OUT;
406422 }
407423 close OUT;
408424
409425=item Applying %s to %s will act on scalar(%s)
410426
411427=begin original
412428
413429(W misc) The pattern match (C<//>), substitution (C<s///>), and
414430transliteration (C<tr///>) operators work on scalar values. If you apply
415431one of them to an array or a hash, it will convert the array or hash to
416432a scalar value (the length of an array, or the population info of a
417433hash) and then work on that scalar value. This is probably not what
418434you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for
419435alternatives.
420436
421437=end original
422438
423439(W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換
424440(C<tr///>) 演算子はスカラ値に対して動作します。
425441これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか
426442ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。
427443これはおそらくしたいこととは違うでしょう。
428444代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。
429445
430446=item Arg too short for msgsnd
431447
432448=begin original
433449
434450(F) msgsnd() requires a string at least as long as sizeof(long).
435451
436452=end original
437453
438454(F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。
439455
440=item %s argument is not a HASH or ARRAY element or a subroutine
456=item Argument "%s" isn't numeric%s
441457
442458=begin original
443459
444(F) The argument to exists() must be a hash or array element or a
460(W numeric) The indicated string was fed as an argument to an operator
445subroutine with an ampersand, such as:
461that expected a numeric value instead. If you're fortunate the message
462will identify which operator was so unfortunate.
446463
447464=end original
448465
449(F) exists() の引数は以下のよう、ハッシュや配素か
466(W numeric) ここ示した文字は、数値が必な演算子の引数として
450アンパサンド付きのサブルーチンでなけばなりせん:
467与えられました。
468運がよければ、このメッセージによって、どの演算子が問題となったかが
469わかります。
451470
452 $foo{$bar}
471=begin original
453 $ref->{"susie"}[12]
454 &do_something
455472
456=item %s argument is not a HASH or ARRAY element or slice
473Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the
474definition of "numeric" is somewhat unusual: the strings themselves
475(like "Inf") are considered numeric, and anything following them is
476considered non-numeric.
457477
478=end original
479
480Note that for the
481C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し
482変わっていることに注意してください:
483("Inf" のような) これらの文字列自身は数値として扱われますが、それに
484何かが引き続いている場合は非数値として扱われます。
485
486=item Argument list not closed for PerlIO layer "%s"
487
458488=begin original
459489
460(F) The argument to delete() must be either a hash or array element,
490(W layer) When pushing a layer with arguments onto the Perl I/O
461such as:
491system you forgot the ) that closes the argument list. (Layers
492take care of transforming data between external and internal
493representations.) Perl stopped parsing the layer list at this
494point and did not attempt to push this layer. If your program
495didn't explicitly request the failing operation, it may be the
496result of the value of the environment variable PERLIO.
462497
463498=end original
464499
465(F) delete() 引数は以下のようにハッシュか配列の要素か:
500(W layer) Perl I/O システムに層を引数付き追加すときに、引数リストを
501閉じる ) を忘れています。
502(層はデータの外部表現と内部表現の変換を扱います。)
503Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。
504明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
505値が原因かもしれません。
466506
467 $foo{$bar}
507=item Argument "%s" treated as 0 in increment (++)
468 $ref->{"susie"}[12]
469508
470509=begin original
471510
472or a hash or array slice, such as:
511(W numeric) The indicated string was fed as an argument to the C<++>
512operator which expects either a number or a string matching
513C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and
514Auto-decrement> for details.
473515
474516=end original
475517
476あるい以下のようシュか配のスライスでなければなりません:
518(W numeric) 数値また C</^[a-zA-Z]*[0-9]*\z/> チングする文字
519想定しているC<++> 演算子に、示された文字列が指定されました。
520詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。
477521
478 @foo[$bar, $baz, $xyzzy]
522=item Array passed to stat will be coerced to a scalar%s
479 @{$ref->[12]}{"susie", "queue"}
480523
481=item %s argument is not a subroutine name
524=begin original
482525
526(W syntax) You called stat() on an array, but the array will be
527coerced to a scalar - the number of elements in the array.
528
529=end original
530
531(W syntax) 配列に対して stat() が呼び出されましたが、配列は
532スカラ - 配列の要素数 - に強制されました。
533
534=item A signature parameter must start with '$', '@' or '%'
535
483536=begin original
484537
485(F) The argument to exists() for C<exists &sub> must be a subroutine
538(F) Each subroutine signature parameter declaration must start with a valid
486name, and not a subroutine call. C<exists &sub()> will generate this
539sigil; for example:
487error.
488540
489541=end original
490542
491(F) C<exists &sub> 形の exists() の引数はサブルーチン呼び出しでなく
543(F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で
492サブルーチン名でなければなりません
544始まらなければなりません; 例えば:
493C<exists &sub()> とするとこのエラーが生成されます。
494545
495=item Argument "%s" isn't numeric%s
546 sub foo ($x, $, $y = 1, @z) {}
496547
548=item A slurpy parameter may not have a default value
549
497550=begin original
498551
499(W numeric) The indicated string was fed as an argument to an operator
552(F) Only scalar subroutine signature parameters may have a default value;
500that expected a numeric value instead. If you're fortunate the message
553for example:
501will identify which operator was so unfortunate.
502554
503555=end original
504556
505(W numeric) ここに示した文字列は、数値が必要な演算子の引数とし
557(F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持ます;
506られました。
558ば:
507運がよければ、このメッセージによって、どの演算子が問題となったかが
508わかります。
509559
510=item Argument list not closed for PerlIO layer "%s"
560 sub foo ($x = 1) {} # legal
561 sub foo (@x = (1)) {} # invalid
562 sub foo (%x = (a => b)) {} # invalid
511563
564=item assertion botched: %s
565
512566=begin original
513567
514(W layer) When pushing a layer with arguments onto the Perl I/O system you
568(X) The malloc package that comes with Perl had an internal failure.
515forgot the ) that closes the argument list. (Layers take care of transforming
516data between external and internal representations.) Perl stopped parsing
517the layer list at this point and did not attempt to push this layer.
518If your program didn't explicitly request the failing operation, it may be
519the result of the value of the environment variable PERLIO.
520569
521570=end original
522571
523(W layer) Perl I/O シスムに層引数付きで追加するときに、引数リストを
572(X) Perl に付属の malloc ルーィンが内部エラー起こしました。
524閉じる ) を忘れています。
525(層はデータの外部表現と内部表現の変換を扱います。)
526Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。
527明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
528値が原因かもしれません。
529573
530=item Array @%s missing the @ in argument %d of %s()
574=item Assertion %s failed: file "%s", line %d
531575
532576=begin original
533577
534(D deprecated) Really old Perl let you omit the @ on array names in some
578(X) A general assertion failed. The file in question must be examined.
535spots. This is now heavily deprecated.
536579
537580=end original
538581
539(D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を
582(X) 一般的なアサーションが失敗しました。
540省略できした
583問題の file を調べる必要があり
541これは廃止予定です。
542584
543=item assertion botched: %s
585=item Assigned value is not a reference
544586
545587=begin original
546588
547(P) The malloc package that comes with Perl had an internal failure.
589(F) You tried to assign something that was not a reference to an lvalue
590reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use
591C<\$x = \$y>.
548592
549593=end original
550594
551(P) Perl に付属の malloc ルーティが内部エラー起こしました
595(F) リファレスでないもの左辺値リファレンスに代入ようとしました
596(例: C<\$x = $y>)。
597$x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。
552598
553=item Assertion failed: file "%s"
599=item Assigned value is not %s reference
554600
555601=begin original
556602
557(P) A general assertion failed. The file in question must be examined.
603(F) You tried to assign a reference to a reference constructor, but the
604two references were not of the same type. You cannot alias a scalar to
605an array, or an array to a hash; the two types must match.
558606
559607=end original
560608
561(P) 一般的なアサーショが失敗しました
609(F) あるリファレスにリファレンスコンストラクタを代入ようとしましたが、
562問題 file を調べる必要がありま
610二つリファレンス同じ型ではありません
611スカラから配列への別名や配列からハッシュへの別名はできません;
612二つの型は一致していなければなりません。
563613
614 \$x = \@y; # error
615 \@x = \%y; # error
616 $y = [];
617 \$x = $y; # error; did you mean \$y?
618
619=item Assigning non-zero to $[ is no longer possible
620
621=begin original
622
623(F) When the "array_base" feature is disabled
624(e.g., and under C<use v5.16;>, and as of Perl 5.30)
625the special variable C<$[>, which is deprecated, is now a fixed zero value.
626
627=end original
628
629(F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が
630無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。
631
564632=item Assignment to both a list and a scalar
565633
566634=begin original
567635
568636(F) If you assign to a conditional operator, the 2nd and 3rd arguments
569637must either both be scalars or both be lists. Otherwise Perl won't
570638know which context to supply to the right side.
571639
572640=end original
573641
574642(F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、
575643ともにスカラか、ともにリストでなければなりません。
576644そうでないと、Perl は右辺のコンテキストを決めることができません。
577645
578=item A thread exited while %d threads were running
646=item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/
579647
580648=begin original
581649
582(W threads)(S) When using threaded Perl, a thread (not necessarily the main
650(W regexp) You had something like these:
583thread) exited while there were still other threads running.
584Usually it's a good idea first to collect the return values of the
585created threads by joining them, and only then to exit from the main
586thread. See L<threads>.
587651
588652=end original
589653
590(W threads)(S) スレッドが有効 Perl を使っているきに、他のスレッドが
654(W regexp) 次のようをしました:
591まだ動いている状態で、あるスレッド(メインスレッドには限りません)が
592終了しました。
593普通は、作成したスレッドに join することで返り値を集めて、それから
594メインスレッドから終了するのがよい考えです。
595L<threads> を参照してください。
596655
656 [[:alnum]]
657 [[:digit:xyz]
658
659=begin original
660
661They look like they might have been meant to be the POSIX classes
662C<[:alnum:]> or C<[:digit:]>. If so, they should be written:
663
664=end original
665
666これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと
667していたように見えます。
668もしそうなら、次のように書くべきです:
669
670 [[:alnum:]]
671 [[:digit:]xyz]
672
673=begin original
674
675Since these aren't legal POSIX class specifications, but are legal
676bracketed character classes, Perl treats them as the latter. In the
677first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">,
678C<"m">, C<"n">, and C<"u">.
679
680=end original
681
682これらは有効な POSIX クラスしようではありませんが、有効な
683大かっこ文字クラスなので、Perl これらを後者として扱います。
684一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">,
685C<"m">, C<"n">, C<"u"> にマッチングします。
686
687=begin original
688
689If these weren't meant to be POSIX classes, this warning message is
690spurious, and can be suppressed by reordering things, such as
691
692=end original
693
694これらが POSIX クラスを意味していないなら、この警告は誤りで、
695次のように文字を入れ替えることで抑制できます:
696
697 [[al:num]]
698
699=begin original
700
701or
702
703=end original
704
705または
706
707 [[:munla]]
708
709=item <> at require-statement should be quotes
710
711=begin original
712
713(F) You wrote C<< require <file> >> when you should have written
714C<require 'file'>.
715
716=end original
717
718(F) C<require 'file'> と書くべきところで C<< require <file> >> と
719書いています。
720
597721=item Attempt to access disallowed key '%s' in a restricted hash
598722
599723=begin original
600724
601725(F) The failing code has attempted to get or set a key which is not in
602726the current set of allowed keys of a restricted hash.
603727
604728=end original
605729
606730(F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して
607731取得または設定しようとして失敗しました。
608732
733=item Attempt to bless into a freed package
734
735=begin original
736
737(F) You wrote C<bless $foo> with one argument after somehow causing
738the current package to be freed. Perl cannot figure out what to
739do, so it throws up its hands in despair.
740
741=end original
742
743(F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の
744C<bless $foo> を書きました。
745何がしたいのかが分からないので Perl はお手上げになりました。
746
747=item Attempt to bless into a class
748
749=begin original
750
751(F) You are attempting to call C<bless> with a package name that is a
752new-style C<class>. This is not necessary, as instances created by the
753constructor are already in the correct class. Instances cannot be created
754by other means, such as C<bless>.
755
756=end original
757
758(F) 新しいスタイルの C<class> であるパッケージ名を使って
759C<bless> を呼び出そうとしました。
760コンストラクタによって作られた実態はすでに正しいクラスになっているので、
761これは不要です。
762実体は、C<bless> のような他の手段によって作ることはできません。
763
609764=item Attempt to bless into a reference
610765
611766=begin original
612767
613768(F) The CLASSNAME argument to the bless() operator is expected to be
614the name of the package to bless the resulting object into. You've
769the name of the package to bless the resulting object into. You've
615770supplied instead a reference to something: perhaps you wrote
616771
617772=end original
618773
619774(F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する
620775パッケージ名を想定しています。
621776そこに何かへのリファレンスが与えられました:
622777おそらく以下のようにしたのでしょう:
623778
624779 bless $self, $proto;
625780
626781=begin original
627782
628783when you intended
629784
630785=end original
631786
632787以下を意図していたはずです:
633788
634789 bless $self, ref($proto) || $proto;
635790
636791=begin original
637792
638793If you actually want to bless into the stringified version
639794of the reference supplied, you need to stringify it yourself, for
640795example by:
641796
642797=end original
643798
644799実際に与えられたリファレンスを文字列化したものに bless したい場合は、
645800以下のようにして自分で文字列化する必要があります:
646801
647802 bless $self, "$proto";
648803
804=item Attempt to clear deleted array
805
806=begin original
807
808(S debugging) An array was assigned to when it was being freed.
809Freed values are not supposed to be visible to Perl code. This
810can also happen if XS code calls C<av_clear> from a custom magic
811callback on the array.
812
813=end original
814
815(S debugging) 配列が、解放されるときに代入されました。
816解放された値は Perl コードからは見えないはずです。
817これはまた、XS コードが配列のカスタムマジックコールバックから
818C<av_clear> を呼び出したときにも起こります。
819
649820=item Attempt to delete disallowed key '%s' from a restricted hash
650821
651822=begin original
652823
653824(F) The failing code attempted to delete from a restricted hash a key
654825which is not in its key set.
655826
656827=end original
657828
658829(F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。
659830
660831=item Attempt to delete readonly key '%s' from a restricted hash
661832
662833=begin original
663834
664835(F) The failing code attempted to delete a key whose value has been
665836declared readonly from a restricted hash.
666837
667838=end original
668839
669840(F) 制限ハッシュで、読み込み専用として宣言されている値のキーを
670841削除しようとしました。
671842
672843=item Attempt to free non-arena SV: 0x%x
673844
674845=begin original
675846
676(P internal) All SV objects are supposed to be allocated from arenas
847(S internal) All SV objects are supposed to be allocated from arenas
677848that will be garbage collected on exit. An SV was discovered to be
678849outside any of those arenas.
679850
680851=end original
681852
682(P internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが
853(S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが
683854行なわれるアリーナに割り当てるようになっています。
684855ある SV が、そういったアリーナに入っていないことが、見つかりました。
685856
686=item Attempt to free nonexistent shared string
857=item Attempt to free nonexistent shared string '%s'%s
687858
688859=begin original
689860
690(P internal) Perl maintains a reference-counted internal table of
861(S internal) Perl maintains a reference-counted internal table of
691862strings to optimize the storage and access of hash keys and other
692863strings. This indicates someone tried to decrement the reference count
693864of a string that can no longer be found in the table.
694865
695866=end original
696867
697(P internal) Perl はストレージおよびハッシュキーとその他の文字列への
868(S internal) Perl はストレージおよびハッシュキーとその他の文字列への
698869アクセスを最適化するために、文字列の参照数テーブルを管理しています。
699870これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを
700871示します。
701872
702=item Attempt to free temp prematurely
873=item Attempt to free temp prematurely: SV 0x%x
703874
704875=begin original
705876
706(W debugging) Mortalized values are supposed to be freed by the
877(S debugging) Mortalized values are supposed to be freed by the
707878free_tmps() routine. This indicates that something else is freeing the
708879SV before the free_tmps() routine gets a chance, which means that the
709880free_tmps() routine will be freeing an unreferenced scalar when it does
710881try to free it.
711882
712883=end original
713884
714(W debugging) 消滅する値は、free_tmps() ルーティンで解放されるように
885(S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように
715886なっています。
716887このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を
717888解放しようとしていることを示していて、これは、free_tmps() が
718889解放しようとしたときには、どこからも参照されていないスカラを
719890解放することになるということです。
720891
721892=item Attempt to free unreferenced glob pointers
722893
723894=begin original
724895
725(P internal) The reference counts got screwed up on symbol aliases.
896(S internal) The reference counts got screwed up on symbol aliases.
726897
727898=end original
728899
729(P internal) シンボルのエイリアスについて、参照カウントの値がおかしな
900(S internal) シンボルのエイリアスについて、参照カウントの値がおかしな
730901状態になりました。
731902
732=item Attempt to free unreferenced scalar
903=item Attempt to free unreferenced scalar: SV 0x%x
733904
734905=begin original
735906
736(W internal) Perl went to decrement the reference count of a scalar to
907(S internal) Perl went to decrement the reference count of a scalar to
737908see if it would go to 0, and discovered that it had already gone to 0
738909earlier, and should have been freed, and in fact, probably was freed.
739910This could indicate that SvREFCNT_dec() was called too many times, or
740911that SvREFCNT_inc() was called too few times, or that the SV was
741912mortalized when it shouldn't have been, or that memory has been
742913corrupted.
743914
744915=end original
745916
746(W) Perl がスカラの参照カウントをデクリメントしようとして、0 になるかを
917(S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に
747見たところ、既に 0 になっていることがわかりました;
918なるかを見たところ、既に 0 になっていることがわかりました;
748919これは、既に解放されているべきものであり、実際は、おそらく、
749920解放されたものでしょう。
750921これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な
751922ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、
752923メモリ異常になったことが考えられます。
753924
754=item Attempt to join self
755
756=begin original
757
758(F) You tried to join a thread from within itself, which is an
759impossible task. You may be joining the wrong thread, or you may need
760to move the join() to some other thread.
761
762=end original
763
764(F) スレッドをそれ自身の中から join しようとしました; これは不可能な
765動作です。
766間違ったスレッドに join しようとしているか、あるいは join() を他の
767スレッドに移動させる必要があります。
768
769925=item Attempt to pack pointer to temporary value
770926
771927=begin original
772928
773929(W pack) You tried to pass a temporary value (like the result of a
774930function, or a computed expression) to the "p" pack() template. This
775931means the result contains a pointer to a location that could become
776932invalid anytime, even before the end of the current statement. Use
777933literals or global values as arguments to the "p" pack() template to
778934avoid this warning.
779935
780936=end original
781937
782938(W pack) (関数の結果や計算された式といった)一時的な値を pack() の
783939"p" テンプレートに渡そうとしました。
784940これは、たとえ現在の文の終了前でも、不正な値となり得ます。
785941この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか
786942グローバルな値を使ってください。
787943
788944=item Attempt to reload %s aborted.
789945
790946=begin original
791947
792948(F) You tried to load a file with C<use> or C<require> that failed to
793949compile once already. Perl will not try to compile this file again
794950unless you delete its entry from %INC. See L<perlfunc/require> and
795951L<perlvar/%INC>.
796952
797953=end original
798954
799955(F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で
800956読み込もうとしました。
801957Perl は %INC からこのファイルのエントリを削除するまで再びファイルを
802958コンパイルしようとはしません。
803959L<perlfunc/require> と L<perlvar/%INC> を参照してください。
804960
805961=item Attempt to set length of freed array
806962
807963=begin original
808964
809(W) You tried to set the length of an array which has been freed. You
965(W misc) You tried to set the length of an array which has
810can do this by storing a reference to the scalar representing the last index
966been freed. You can do this by storing a reference to the
811of an array and later assigning through that reference. For example
967scalar representing the last index of an array and later
968assigning through that reference. For example
812969
813970=end original
814971
815(W) 既に解放された配列の長さを設定しようとしました。
972(W misc) 既に解放された配列の長さを設定しようとしました。
816973配列の最後のインデックスを表現するスカラをリファレンスに保存して、
817974後でこのリファレンスを通して代入することでこれを行えます。
818975例えば:
819976
820977 $r = do {my @a; \$#a};
821978 $$r = 503
822979
823980=item Attempt to use reference as lvalue in substr
824981
825982=begin original
826983
827984(W substr) You supplied a reference as the first argument to substr()
828985used as an lvalue, which is pretty strange. Perhaps you forgot to
829986dereference it first. See L<perlfunc/substr>.
830987
831988=end original
832989
833990(W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを
834991渡しました; これはやや奇妙なことです。
835992おそらくはまずデリファレンスするのを忘れたのでしょう。
836993L<perlfunc/substr> を参照してください。
837994
838=item Attribute "locked" is deprecated
995=item Attribute prototype(%s) discards earlier prototype attribute in same sub
839996
840997=begin original
841998
842(D deprecated) You have used the attributes pragma to modify the "locked"
999(W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for
843attribute on a code reference. The :locked attribute is obsolete, has had no
1000example. Since each sub can only have one prototype, the earlier
844effect since 5005 threads were removed, and will be removed in a future
1001declaration(s) are discarded while the last one is applied.
845release of Perl 5.
8461002
8471003=end original
8481004
849(D deprecated) ドリファレスの "locked" 属性を修正するために
1005(W misc) あるサブルが、例えば
850attributes プラグマを使いました。
1006sub foo : prototype(A) : prototype(B) {} のように宣言されました。
851:locked 属性ので、5005 スレッドが削除されてから何の効果もなく、
1007それぞれのサブルーチン一つのプロトタイプしか持てないので、先に
852将来 Perl 5 メジャーリリースで削除されます。
1008宣言されたもは破棄され、最後ものが適用されます。
8531009
854=item Attribute "unique" is deprecated
1010=item av_reify called on tied array
8551011
8561012=begin original
8571013
858(D deprecated) You have used the attributes pragma to modify the "unique"
1014(S debugging) This indicates that something went wrong and Perl got I<very>
859attribute on an array, hash or scalar reference. The :unique attribute has
1015confused about C<@_> or C<@DB::args> being tied.
860had no effect since Perl 5.8.8, and will be removed in a future release
861of Perl 5.
8621016
8631017=end original
8641018
865(D deprecated) 配列ハッシュ、スカラリファレンスの "unique" 属性を
1019(S debugging) これはC<@_> や C<@DB::args> が tie されたことに関して何かが
866修正するために attributes プラグマ使いました
1020うまくいかなくて Perl が I<とても> 混乱したこと示していま
867:unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー
868リリースで削除されます。
8691021
8701022=item Bad arg length for %s, is %u, should be %d
8711023
8721024=begin original
8731025
8741026(F) You passed a buffer of the wrong size to one of msgctl(), semctl()
8751027or shmctl(). In C parlance, the correct sizes are, respectively,
8761028S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and
8771029S<sizeof(struct shmid_ds *)>.
8781030
8791031=end original
8801032
8811033(F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを
8821034渡してしまいました。
8831035C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、
8841036sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。
8851037
8861038=item Bad evalled substitution pattern
8871039
8881040=begin original
8891041
8901042(F) You've used the C</e> switch to evaluate the replacement for a
8911043substitution, but perl found a syntax error in the code to evaluate,
8921044most likely an unexpected right brace '}'.
8931045
8941046=end original
8951047
8961048(F)置換のための置き換え文字列を評価するために C</e> オプションを指定して
8971049いますが、評価するコードに文法エラーがありました;
8981050最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。
8991051
9001052=item Bad filehandle: %s
9011053
9021054=begin original
9031055
9041056(F) A symbol was passed to something wanting a filehandle, but the
9051057symbol has no filehandle associated with it. Perhaps you didn't do an
9061058open(), or did it in another package.
9071059
9081060=end original
9091061
9101062(F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、
9111063それに伴うファイルハンドルがありません。
9121064おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。
9131065
9141066=item Bad free() ignored
9151067
9161068=begin original
9171069
9181070(S malloc) An internal routine called free() on something that had never
919been malloc()ed in the first place. Mandatory, but can be disabled by
1071been malloc()ed in the first place. Mandatory, but can be disabled by
9201072setting environment variable C<PERL_BADFREE> to 0.
9211073
9221074=end original
9231075
9241076(S malloc) まず、malloc() されていないものに対して、内部ルーティンが
9251077free() を呼びました。
9261078強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。
9271079
9281080=begin original
9291081
9301082This message can be seen quite often with DB_File on systems with "hard"
931dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB>
1083dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB>
9321084which is left unnoticed if C<DB> uses I<forgiving> system malloc().
9331085
9341086=end original
9351087
9361088このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを
9371089行うシステムで DB_File を使うとしばしば表示されます。
9381090これは C<DB> がシステムの malloc() を許していることに気が付かない
9391091C<Berkeley DB> のバグです。
9401092
941=item Bad hash
1093=item Bad infix plugin result (%zd) - did not consume entire identifier <%s>
9421094
9431095=begin original
9441096
945(P) One of the internal hash routines was passed a null HV pointer.
1097(F) A plugin using the C<PL_infix_plugin> mechanism to parse an infix
1098keyword consumed part of a named identifier operator name but did not
1099consume all of it. This is not permitted as it leads to fragile parsing
1100results.
9461101
9471102=end original
9481103
949(P) 内部ハッシュルティンで、ヌル HV ポインタ渡されたものがありました。
1104(F) 挿入キワードをパースするために C<PL_infix_plugin> 機構使っている
1105プラグインが、指定された識別子の一部を消費しましたが、
1106全ては消費しませんでした。
1107不安定なパース結果を導くので、これは許されていません。
9501108
9511109=item Badly placed ()'s
9521110
9531111=begin original
9541112
9551113(A) You've accidentally run your script through B<csh> instead
9561114of Perl. Check the #! line, or manually feed your script into
9571115Perl yourself.
9581116
9591117=end original
9601118
9611119(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
962#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
1120#! 行を確認するか、スクリプトを手動で Perl に渡してください。
9631121
964=item Bad name after %s::
1122=item Bad name after %s
9651123
9661124=begin original
9671125
9681126(F) You started to name a symbol by using a package prefix, and then
9691127didn't finish the symbol. In particular, you can't interpolate outside
9701128of quotes, so
9711129
9721130=end original
9731131
9741132(F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが
9751133終了しませんでした。
9761134特に、クォートの外で、変数展開はできませんから、
9771135
9781136 $var = 'myvar';
9791137 $sym = mypack::$var;
9801138
9811139=begin original
9821140
9831141is not the same as
9841142
9851143=end original
9861144
9871145は、以下と同じではありません。
9881146
9891147 $var = 'myvar';
9901148 $sym = "mypack::$var";
9911149
9921150=item Bad plugin affecting keyword '%s'
9931151
9941152=begin original
9951153
9961154(F) An extension using the keyword plugin mechanism violated the
9971155plugin API.
9981156
9991157=end original
10001158
10011159(F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に
10021160違反しました。
10031161
10041162=item Bad realloc() ignored
10051163
10061164=begin original
10071165
1008(S malloc) An internal routine called realloc() on something that had
1166(S malloc) An internal routine called realloc() on something that
1009never been malloc()ed in the first place. Mandatory, but can be disabled
1167had never been malloc()ed in the first place. Mandatory, but can
1010by setting the environment variable C<PERL_BADFREE> to 1.
1168be disabled by setting the environment variable C<PERL_BADFREE> to 1.
10111169
10121170=end original
10131171
10141172(S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して
10151173realloc() を呼び出しました。
10161174必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。
10171175
1018=item Bad symbol for array
1176=item Bad symbol for %s
10191177
10201178=begin original
10211179
1022(P) An internal request asked to add an array entry to something that
1180(P) An internal request asked to add an entry of the named type to something that
10231181wasn't a symbol table entry.
10241182
10251183=end original
10261184
1027(P) シンボルテーブルエントリではないものに、配列エントリを登録するような
1185(P) 内部で、シンボルテーブルエントリではないもの対して指定された型の
1028内部要求がありました。
1186エントリを登録するよう要求がありました。
10291187
1030=item Bad symbol for dirhandle
1188=item Bad symbol for scalar
10311189
10321190=begin original
10331191
1034(P) An internal request asked to add a dirhandle entry to something
1192(P) An internal request asked to add a scalar entry to something that
1035that wasn't a symbol table entry.
1036
1037=end original
1038
1039(P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを
1040登録するような内部要求があがりました。
1041
1042=item Bad symbol for filehandle
1043
1044=begin original
1045
1046(P) An internal request asked to add a filehandle entry to something
1047that wasn't a symbol table entry.
1048
1049=end original
1050
1051(P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを
1052登録するような内部要求があがりました。
1053
1054=item Bad symbol for hash
1055
1056=begin original
1057
1058(P) An internal request asked to add a hash entry to something that
10591193wasn't a symbol table entry.
10601194
10611195=end original
10621196
1063(P) シンボルテーブルエントリでないものに、ハッシュエントリを
1197(P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを
1064登録するような内部要求があがった。
1198追加するよう要求がありました。
10651199
10661200=item Bareword found in conditional
10671201
10681202=begin original
10691203
10701204(W bareword) The compiler found a bareword where it expected a
10711205conditional, which often indicates that an || or && was parsed as part
10721206of the last argument of the previous construct, for example:
10731207
10741208=end original
10751209
10761210(W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました;
10771211これはしばしば、|| や && が直前の構造の最後の引数の一部として
10781212パースされたことを意味します; 例えば:
10791213
10801214 open FOO || die;
10811215
10821216=begin original
10831217
10841218It may also indicate a misspelled constant that has been interpreted as
10851219a bareword:
10861220
10871221=end original
10881222
10891223これはまた、裸の単語として解釈されるような定数をタイプミスしたことを
10901224示している場合もあります:
10911225
10921226 use constant TYPO => 1;
10931227 if (TYOP) { print "foo" }
10941228
10951229=begin original
10961230
10971231The C<strict> pragma is useful in avoiding such errors.
10981232
10991233=end original
11001234
11011235C<strict> プラグマはこのようなエラーを防ぐのに便利です。
11021236
1237=item Bareword in require contains "%s"
1238
1239=item Bareword in require maps to disallowed filename "%s"
1240
1241=item Bareword in require maps to empty filename
1242
1243=begin original
1244
1245(F) The bareword form of require has been invoked with a filename which could
1246not have been generated by a valid bareword permitted by the parser. You
1247shouldn't be able to get this error from Perl code, but XS code may throw it
1248if it passes an invalid module name to C<Perl_load_module>.
1249
1250=end original
1251
1252(F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって
1253生成することができないファイル名で起動されました。
1254このエラーを Perl コードから得るようにできるべきではありませんが、
1255C<Perl_load_module> に不正なモジュール名を渡した XS コードは
1256これを投げるかもしれません。
1257
1258=item Bareword in require must not start with a double-colon: "%s"
1259
1260=begin original
1261
1262(F) In C<require Bare::Word>, the bareword is not allowed to start with a
1263double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead.
1264
1265=end original
1266
1267(F) C<require Bare::Word> で、裸の単語はダブルコロンから
1268開始することはできません。
1269C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。
1270
11031271=item Bareword "%s" not allowed while "strict subs" in use
11041272
11051273=begin original
11061274
11071275(F) With "strict subs" in use, a bareword is only allowed as a
11081276subroutine identifier, in curly brackets or to the left of the "=>"
11091277symbol. Perhaps you need to predeclare a subroutine?
11101278
11111279=end original
11121280
11131281"strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、
11141282シンボル "=>" の左側でのみ許されます。
11151283おそらくサブルーチンを先行宣言する必要があるのでは?
11161284
11171285=item Bareword "%s" refers to nonexistent package
11181286
11191287=begin original
11201288
11211289(W bareword) You used a qualified bareword of the form C<Foo::>, but the
11221290compiler saw no other uses of that namespace before that point. Perhaps
11231291you need to predeclare a package?
11241292
11251293=end original
11261294
11271295(W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、
11281296コンパイラはこの場所以外でこの名前空間が使われている場所を
11291297発見できませんでした。
11301298おそらくパッケージを専攻宣言する必要があるのでは?
11311299
1300=item Bareword filehandle "%s" not allowed under 'no feature "bareword_filehandles"'
1301
1302=begin original
1303
1304(F) You attempted to use a bareword filehandle with the
1305C<bareword_filehandles> feature disabled.
1306
1307=end original
1308
1309(F) C<bareword_filehandles> 機能が無効のときに
1310裸の単語のファイルハンドルを使おうとしました。
1311
1312=begin original
1313
1314Only the built-in handles C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>,
1315C<ARGVOUT> and C<DATA> can be used with the C<bareword_filehandles>
1316feature disabled.
1317
1318=end original
1319
1320C<bareword_filehandles> 機能が無効のときは、
1321組み込みハンドル C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>,
1322C<ARGVOUT>, C<DATA> 飲みが使えます。
1323
11321324=item BEGIN failed--compilation aborted
11331325
11341326=begin original
11351327
11361328(F) An untrapped exception was raised while executing a BEGIN
11371329subroutine. Compilation stops immediately and the interpreter is
11381330exited.
11391331
11401332=end original
11411333
11421334(F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。
11431335コンパイルは即座に停止し、インタプリタは中止します。
11441336
11451337=item BEGIN not safe after errors--compilation aborted
11461338
11471339=begin original
11481340
11491341(F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which
11501342implies a C<BEGIN {}>) after one or more compilation errors had already
11511343occurred. Since the intended environment for the C<BEGIN {}> could not
11521344be guaranteed (due to the errors), and since subsequent code likely
11531345depends on its correct operation, Perl just gave up.
11541346
11551347=end original
11561348
11571349(F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン
11581350(または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。
11591351C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは
11601352正しい処理に依存していると考えられるので、Perl は単に諦めました。
11611353
1162=item \1 better written as $1
1354=item \%d better written as $%d
11631355
11641356=begin original
11651357
11661358(W syntax) Outside of patterns, backreferences live on as variables.
11671359The use of backslashes is grandfathered on the right-hand side of a
11681360substitution, but stylistically it's better to use the variable form
11691361because other Perl programmers will expect it, and it works better if
11701362there are more than 9 backreferences.
11711363
11721364=end original
11731365
11741366(W syntax) パターンの外では、後方参照は変数の形で存在します。
11751367後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の
11761368Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、
11771369変数形式を使う方が良いでしょう。
11781370
11791371=item Binary number > 0b11111111111111111111111111111111 non-portable
11801372
11811373=begin original
11821374
11831375(W portable) The binary number you specified is larger than 2**32-1
11841376(4294967295) and therefore non-portable between systems. See
11851377L<perlport> for more on portability concerns.
11861378
11871379=end original
11881380
11891381(W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、
11901382システム間での移植性がありません。
11911383移植性に関するさらなる考察については L<perlport> を参照してください。
11921384
11931385=item bind() on closed socket %s
11941386
11951387=begin original
11961388
11971389(W closed) You tried to do a bind on a closed socket. Did you forget to
11981390check the return value of your socket() call? See L<perlfunc/bind>.
11991391
12001392=end original
12011393
12021394(W closed) クローズされたソケットに bind を行なおうとしました。
12031395socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
12041396L<perlfunc/bind> を参照してください。
12051397
12061398=item binmode() on closed filehandle %s
12071399
12081400=begin original
12091401
12101402(W unopened) You tried binmode() on a filehandle that was never opened.
12111403Check your control flow and number of arguments.
12121404
12131405=end original
12141406
12151407(W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。
12161408制御フローと引数の数をチェックしてください。
12171409
1218=item "\b{" is deprecated; use "\b\{" instead
1410=item Bit vector size > 32 non-portable
12191411
1220=item "\B{" is deprecated; use "\B\{" instead
1412=begin original
12211413
1414(W portable) Using bit vector sizes larger than 32 is non-portable.
1415
1416=end original
1417
1418(W portable) 32 を越えるサイズのビットベクタは移植性がありません。
1419
1420=item Bizarre copy of %s
1421
12221422=begin original
12231423
1224(W deprecated, regexp) Use of an unescaped "{" immediately following a
1424(P) Perl detected an attempt to copy an internal value that is not
1225C<\b> or C<\B> is now deprecated so as to reserve its use for Perl
1425copiable.
1226itself in a future release.
12271426
12281427=end original
12291428
1230(W deprecated, regexp) C<\b> または C<\B> の直後にエスケプしない
1429(P) コピできない内部の値をコピーしようとしました。
1231"{" を書くのは、将来のバージョンの perl での使用のために予約するために
1232廃止予定となりました。
12331430
1234=item Bit vector size > 32 non-portable
1431=item Bizarre SvTYPE [%d]
12351432
12361433=begin original
12371434
1238(W portable) Using bit vector sizes larger than 32 is non-portable.
1435(P) When starting a new thread or returning values from a thread, Perl
1436encountered an invalid data type.
12391437
12401438=end original
12411439
1242(W portable) 32 越えるサイズのビトベクタ移植性がありません。
1440(P) 新しいスレッド始めたりスレドから値を返したときに、Perl 不正な
1441データ型に遭遇しました。
12431442
1244=item Bizarre copy of %s in %s
1443=item Both or neither range ends should be Unicode in regex; marked by
1444S<<-- HERE> in m/%s/
12451445
12461446=begin original
12471447
1248(P) Perl detected an attempt to copy an internal value that is not
1448(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
1249copiable.
12501449
12511450=end original
12521451
1253(P) コピーできない値をコピーしようとしました。
1452(W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> のみ)
12541453
1454=begin original
1455
1456In a bracketed character class in a regular expression pattern, you
1457had a range which has exactly one end of it specified using C<\N{}>, and
1458the other end is specified using a non-portable mechanism. Perl treats
1459the range as a Unicode range, that is, all the characters in it are
1460considered to be the Unicode characters, and which may be different code
1461points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]>
1462is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it
1463matches the characters whose code points in Unicode are 6, 7, and 8.
1464But that C<\x08> might indicate that you meant something different, so
1465the warning gets raised.
1466
1467=end original
1468
1469正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って
1470指定し、もう片方は移植性のない方法を使って指定しました。
1471Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は
1472Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは
1473異なる符号位置になるかもしれません。
1474例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と
1475書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。
1476しかし、C<\x08> はなにか違うことを意味していることを示しているので、
1477警告が発生します。
1478
12551479=item Buffer overflow in prime_env_iter: %s
12561480
12571481=begin original
12581482
12591483(W internal) A warning peculiar to VMS. While Perl was preparing to
12601484iterate over %ENV, it encountered a logical name or symbol definition
12611485which was too long, so it was truncated to the string shown.
12621486
12631487=end original
12641488
12651489(W internal) VMS に固有の警告です。
12661490Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、
12671491文字列は表示したように切り詰められました。
12681492
1493=item Built-in function '%s' is experimental
1494
1495=begin original
1496
1497(S experimental::builtin) A call is being made to a function in the
1498C<builtin::> namespace, which is currently experimental. The existence
1499or nature of the function may be subject to change in a future version
1500of Perl.
1501
1502=end original
1503
1504(S experimental::builtin) 現在実験的である、
1505C<builtin::> 名前空間への呼び出しが行われました。
1506この関数の存在や性質は、将来のバージョンの Perl で変更される予定です。
1507
1508=item builtin::import can only be called at compile time
1509
1510=begin original
1511
1512(F) The C<import> method of the C<builtin> package was invoked when no code
1513is currently being compiled. Since this method is used to introduce new
1514lexical subroutines into the scope currently being compiled, this is not
1515going to have any effect.
1516
1517=end original
1518
1519(F) 現在コンパイルされているコードがないときに、
1520C<builtin> パッケージの C<import> メソッドが呼び出されました。
1521このメソッドは現在コンパイルされているスコープ内に新しい
1522レキシカルサブルーチンを導入するために使われるので、
1523これは何の効果もありません。
1524
1525=item Builtin version bundle "%s" is not supported by Perl
1526
1527=begin original
1528
1529(F) You attempted to C<use builtin :ver> for a version number that is either
1530older than 5.39 (when the ability was added), or newer than the current perl
1531version.
1532
1533=end original
1534
1535(F) C<use builtin :ver> でバージョン番号を指定しようとしましたが、
1536そのバージョン番号が 5.39 (機能が追加された時点)よりも古いか、
1537現在の perl バージョンよりも新しいものでした。
1538
12691539=item Callback called exit
12701540
12711541=begin original
12721542
12731543(F) A subroutine invoked from an external package via call_sv()
12741544exited by calling exit.
12751545
12761546=end original
12771547
12781548(F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで
12791549終了しました。
12801550
12811551=item %s() called too early to check prototype
12821552
12831553=begin original
12841554
12851555(W prototype) You've called a function that has a prototype before the
12861556parser saw a definition or declaration for it, and Perl could not check
12871557that the call conforms to the prototype. You need to either add an
12881558early prototype declaration for the subroutine in question, or move the
12891559subroutine definition ahead of the call to get proper prototype
12901560checking. Alternatively, if you are certain that you're calling the
12911561function correctly, you may put an ampersand before the name to avoid
12921562the warning. See L<perlsub>.
12931563
12941564=end original
12951565
12961566(W prototype) 以前にパーサが宣言または定義されているのを見た、
12971567プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに
12981568従っているかどうかをチェックできませんでした。
12991569問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、
13001570適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に
13011571移動させる必要があります。
13021572または、関数を正しく呼び出していることが確かな場合は、名前の前に
13031573アンパサンドを付けることで警告を回避できます。
13041574L<perlsub> を参照してください。
13051575
1576=item Cannot assign :param(%s) to field %s because that name is already in use
1577
1578=begin original
1579
1580(F) An attempt was made to apply a parameter name to a field, when the name
1581is already being used by another field in the same class, or one of its
1582parent classes. This would cause a name clash so is not allowed.
1583
1584=end original
1585
1586(F) フィールドにパラメータ名を適用しようとしましたが、
1587名前はすでに同じクラスまたはその親クラスの他のフィールドによって
1588使われています。
1589これは名前の衝突を引き起こすので、許されていません。
1590
1591=item Cannot chr %f
1592
1593=begin original
1594
1595(F) You passed an invalid number (like an infinity or not-a-number) to C<chr>.
1596
1597=end original
1598
1599(F) (無限や非数のような) 不正な数値を C<chr> に渡しました。
1600
1601=item Cannot complete in-place edit of %s: %s
1602
1603=begin original
1604
1605(F) Your perl script appears to have changed directory while
1606performing an in-place edit of a file specified by a relative path,
1607and your system doesn't include the directory relative POSIX functions
1608needed to handle that.
1609
1610=end original
1611
1612(F) perl スクリプトが、相対パスで指定されたファイルのその場編集を
1613実行中にディレクトリを変更し、システムにはこれに対応するために必要な
1614ディレクトリ相対 POSIX 関数がないようです。
1615
1616=item Cannot compress %f in pack
1617
1618=begin original
1619
1620(F) You tried compressing an infinity or not-a-number as an unsigned
1621integer with BER, which makes no sense.
1622
1623=end original
1624
1625(F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。
1626
13061627=item Cannot compress integer in pack
13071628
13081629=begin original
13091630
1310(F) An argument to pack("w",...) was too large to compress. The BER
1631(F) An argument to pack("w",...) was too large to compress.
1311compressed integer format can only be used with positive integers, and you
1632The BER compressed integer format can only be used with positive
1312attempted to compress Infinity or a very large number (> 1e308).
1633integers, and you attempted to compress a very large number (> 1e308).
13131634See L<perlfunc/pack>.
13141635
13151636=end original
13161637
13171638(F) pack("w",...) の引数が、圧縮するには大きすぎます。
1318BER 圧縮整数フォーマットは正の整数のみ扱えますが、無限やとても大きい数
1639BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数
13191640(> 1e308) を圧縮しようとしました。
13201641L<perlfunc/pack> を参照してください。
13211642
13221643=item Cannot compress negative numbers in pack
13231644
13241645=begin original
13251646
13261647(F) An argument to pack("w",...) was negative. The BER compressed integer
13271648format can only be used with positive integers. See L<perlfunc/pack>.
13281649
13291650=end original
13301651
13311652(F) pack("w",...) の引数が負数です。
13321653BER 圧縮整数フォーマットは正の整数のみ扱えます。
13331654L<perlfunc/pack> を参照してください。
13341655
13351656=item Cannot convert a reference to %s to typeglob
13361657
13371658=begin original
13381659
1339(F) You manipulated Perl's symbol table directly, stored a reference in it,
1660(F) You manipulated Perl's symbol table directly, stored a reference
1340then tried to access that symbol via conventional Perl syntax. The access
1661in it, then tried to access that symbol via conventional Perl syntax.
1341triggers Perl to autovivify that typeglob, but it there is no legal conversion
1662The access triggers Perl to autovivify that typeglob, but it there is
1342from that type of reference to a typeglob.
1663no legal conversion from that type of reference to a typeglob.
13431664
13441665=end original
13451666
13461667(F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に
13471668補完し、それからそのシンボルを伝統的な Perl の文法のよって
13481669アクセスしようとしました。
13491670このアクセスによって、Perl はこの型グロブを自動有効化しますが、
13501671リファレンス型から型グロブへの正当な変換方法はありません。
13511672
1352=item Cannot copy to %s in %s
1673=item Cannot copy to %s
13531674
13541675=begin original
13551676
13561677(P) Perl detected an attempt to copy a value to an internal type that cannot
13571678be directly assigned to.
13581679
13591680=end original
13601681
13611682(P) Perl が、直接代入できない内部型に値をコピーしようとする試みを
13621683検出しました。
13631684
1685=item Cannot create class %s as it already has a non-empty @ISA
1686
1687=begin original
1688
1689(F) An attempt was made to create a class out of a package that already has
1690an C<@ISA> array, and the array is not empty. This is not permitted, as it
1691would lead to a class with inconsistent inheritance.
1692
1693=end original
1694
1695(F) 空でない C<@ISA> をすでに持っているパッケージからクラスを
1696作ろうとしました。
1697一貫性のない継承を引き起こすので、これは許されていません。
1698
1699=item Cannot create an object of incomplete class "%s"
1700
1701=begin original
1702
1703(F) An attempt was made to create an object of a class where the start
1704of the class definition has been seen, but the class has not been
1705completed.
1706
1707=end original
1708
1709(F) クラス定義の開始が確認されたクラスのオブジェクトを
1710作成しようとしましたが、クラス定義が完了していません。
1711
1712=begin original
1713
1714This can happen for a failed eval, or if you attempt to create an
1715object at compile time before the class is complete:
1716
1717=end original
1718
1719これは、eval が失敗した場合、またはクラス定義が完了する前に
1720コンパイル時にオブジェクトを作成しようとした場合に
1721発生する可能性があります。
1722
1723 eval "class Foo {"; Foo->new; # error
1724 class Bar { BEGIN { Bar->new } }; # error
1725
13641726=item Cannot find encoding "%s"
13651727
13661728=begin original
13671729
13681730(S io) You tried to apply an encoding that did not exist to a filehandle,
13691731either with open() or binmode().
13701732
13711733=end original
13721734
13731735(S io) open() または binmode() のファイルハンドルに存在しない
13741736エンコーディングを適用しようとしました。
13751737
1738=item Cannot invoke a method of "%s" on an instance of "%s"
1739
1740=begin original
1741
1742(F) You tried to directly call a C<method> subroutine of one class by passing
1743in a value that is an instance of a different class. This is not permitted,
1744as the method would not have access to the correct instance fields.
1745
1746=end original
1747
1748(F) 他のクラスの実体である値を渡すことによって、
1749あるクラスの C<method> サブルーチンを直接呼び出そうとしました。
1750そのメソッドは正しい実体フィールドにアクセスできないので、
1751これは許されていません。
1752
1753=item Cannot invoke method on a non-instance
1754
1755=begin original
1756
1757(F) You tried to directly call a C<method> subroutine of a class by passing
1758in a value that is not an instance of that class. This is not permitted, as
1759the method would not then have access to its instance fields.
1760
1761=end original
1762
1763(F) クラスの実体ではない値を渡すことによって、
1764クラスの C<method> サブルーチンを直接呼び出そうとしました。
1765そのメソッドは実体フィールドにアクセスできないので、
1766これは許されていません。
1767
1768=item Cannot open %s as a dirhandle: it is already open as a filehandle
1769
1770=begin original
1771
1772(F) You tried to use opendir() to associate a dirhandle to a symbol (glob
1773or scalar) that already holds a filehandle. Since this idiom might render
1774your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it
1775is a fatal error.
1776
1777=end original
1778
1779(F) すでにファイルハンドルを保持しているシンボル
1780(グロブまたはスカラ)にディレクトリハンドルを関連付けるために
1781opendir() を使おうとしました。
1782この用法はコードを間違えて解釈する可能性があるので、
1783Perl 5.10 で廃止予定になりました。
1784Perl 5.28 から、これは致命的エラーです。
1785
1786=item Cannot open %s as a filehandle: it is already open as a dirhandle
1787
1788=begin original
1789
1790(F) You tried to use open() to associate a filehandle to a symbol (glob
1791or scalar) that already holds a dirhandle. Since this idiom might render
1792your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it
1793is a fatal error.
1794
1795=end original
1796
1797(F) すでにディレクトリハンドルを保持しているシンボル
1798(グロブまたはスカラ)にファイルハンドルを関連付けるために
1799open() を使おうとしました。
1800この用法はコードを間違えて解釈する可能性があるので、
1801Perl 5.10 で廃止予定になりました。
1802Perl 5.28 から、これは致命的エラーです。
1803
1804=item Cannot '%s' outside of a 'class'
1805
1806=begin original
1807
1808(F) You attempted to use one of the keywords that only makes sense inside
1809a C<class> definition, at a location that is not inside such a class.
1810
1811=end original
1812
1813(F) C<class> 定義の中でのみ意味のあるキーワードの一つを、そのようなクラスの
1814内側ではない場所で使おうとしました。
1815
1816=item Cannot pack %f with '%c'
1817
1818=begin original
1819
1820(F) You tried converting an infinity or not-a-number to an integer,
1821which makes no sense.
1822
1823=end original
1824
1825(F) 無限や非数を整数に変換しようとしました; これは無意味です。
1826
1827=item Cannot printf %f with '%c'
1828
1829=begin original
1830
1831(F) You tried printing an infinity or not-a-number as a character (%c),
1832which makes no sense. Maybe you meant '%s', or just stringifying it?
1833
1834=end original
1835
1836(F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。
1837おそらく '%s' か、単に文字列化したかったのでは?
1838
1839=item Cannot reopen existing class "%s"
1840
1841=begin original
1842
1843(F) You tried to begin a C<class> definition for a class that already exists.
1844A class may only have one definition block.
1845
1846=end original
1847
1848(F) すでにあるクラスの C<class> 定義を始めようとしました。
1849一つのクラスは一つの定義ブロックだけを持てます。
1850
1851=item Cannot set tied @DB::args
1852
1853=begin original
1854
1855(F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args>
1856is not supported. (Before this error was added, it used to crash.)
1857
1858=end original
1859
1860(F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。
1861C<@DB::args> の tie は非対応です。
1862(このエラーが追加する前は、クラッシュしていました。)
1863
1864=item Cannot tie unreifiable array
1865
1866=begin original
1867
1868(P) You somehow managed to call C<tie> on an array that does not
1869keep a reference count on its arguments and cannot be made to
1870do so. Such arrays are not even supposed to be accessible to
1871Perl code, but are only used internally.
1872
1873=end original
1874
1875(P) 参照カウントを保持していない配列を引数にして C<tie> を
1876呼び出そうとしましたがそうできませんでした。
1877このような配列は Perl コードからアクセスできると想定してはならず、
1878内部だけで使われます。
1879
1880=item Cannot use __CLASS__ outside of a method or field initializer expression
1881
1882=begin original
1883
1884(F) A C<__CLASS__> expression yields the class name of the object instance
1885executing the current method, and therefore it can only be placed inside an
1886actual method (or method-like expression, such as a field initializer
1887expression).
1888
1889=end original
1890
1891(F) C<__CLASS__> 式は、現在のメソッドを実行するオブジェクト実体の
1892クラス名を生成するため、実際のメソッド(またはフィールド初期化子式などの
1893メソッド風の式)の内にのみ配置できます。
1894
1895=item Cannot yet reorder sv_vcatpvfn() arguments from va_list
1896
1897=begin original
1898
1899(F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a
1900format string that specifies explicit indexes for some of the elements, and
1901using a C-style variable-argument list (a C<va_list>). This is not currently
1902supported. XS authors wanting to do this must instead construct a C array
1903of C<SV*> scalars containing the arguments.
1904
1905=end original
1906
1907(F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した
1908フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、
1909C 形式の可変引数リスト (C<va_list>) を使っています。
1910これは現在のところ対応していません。
1911これをしたい XS 作者は代わりに、引数を含む
1912C<SV*> スカラの C 配列を構築しなければなりません。
1913
13761914=item Can only compress unsigned integers in pack
13771915
13781916=begin original
13791917
13801918(F) An argument to pack("w",...) was not an integer. The BER compressed
13811919integer format can only be used with positive integers, and you attempted
13821920to compress something else. See L<perlfunc/pack>.
13831921
13841922=end original
13851923
13861924(F) pack("w",...) の引数が整数ではありません。
13871925BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを
13881926圧縮しようとしました。
13891927L<perlfunc/pack> を参照してください。
13901928
1929=item Can't "%s" out of a "defer" block
1930
1931=begin original
1932
1933(F) An attempt was made to jump out of the scope of a C<defer> block by using
1934a control-flow statement such as C<return>, C<goto> or a loop control. This is
1935not permitted.
1936
1937=end original
1938
1939(F) C<return>, C<goto> あるいはループ制御のようなフロー制御文を使って
1940C<defer> ブロックのスコープから飛び出そうとしました。
1941これは許されていません。
1942
1943=item Can't "%s" out of a "finally" block
1944
1945=begin original
1946
1947(F) Similar to above, but involving a C<finally> block at the end of a
1948C<try>/C<catch> construction rather than a C<defer> block.
1949
1950=end original
1951
1952(F) 前述と同様ですが、C<defer> ブロックではなく
1953C<try>/C<catch> 構文の末尾の C<finally> ブロックに関するものです。
1954
1955=item Can't bless an object reference
1956
1957=begin original
1958
1959(F) You attempted to call C<bless> on a value that already refers to a real
1960object instance.
1961
1962=end original
1963
1964(F) 実際のオブジェクト実態を参照している値にたいして
1965C<bless> を呼び出そうとしました。
1966
13911967=item Can't bless non-reference value
13921968
13931969=begin original
13941970
13951971(F) Only hard references may be blessed. This is how Perl "enforces"
13961972encapsulation of objects. See L<perlobj>.
13971973
13981974=end original
13991975
14001976(F) ハードリファレンスのみが bless できます。
14011977これによって、Perl はオブジェクトのカプセル化を「強制」します。
14021978L<perlobj> を参照してください。
14031979
14041980=item Can't "break" in a loop topicalizer
14051981
14061982=begin original
14071983
14081984(F) You called C<break>, but you're in a C<foreach> block rather than
1409a C<given> block. You probably meant to use C<next> or C<last>.
1985a C<given> block. You probably meant to use C<next> or C<last>.
14101986
14111987=end original
14121988
14131989(F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach>
14141990ブロック内でした。
14151991おそらく C<next> や C<last> を使いたかったのでしょう。
14161992
14171993=item Can't "break" outside a given block
14181994
14191995=begin original
14201996
14211997(F) You called C<break>, but you're not inside a C<given> block.
14221998
14231999=end original
14242000
14252001(F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。
14262002
2003=item Can't call destructor for 0x%p in global destruction
2004
2005=begin original
2006
2007(S) This should not happen. Internals code has set up a destructor
2008using C<mortal_destructor_sv> or C<mortal_destructor_x> which is firing
2009during global destruction. Please attempt to reduce the code that triggers
2010this warning down to a small an example as possible and then report the
2011problem to L<https://github.com/Perl/perl5/issues/new/choose>
2012
2013=end original
2014
2015(S) これは起きないはずです。
2016内部コードは、全体破壊の間に起動される C<mortal_destructor_sv> または
2017C<mortal_destructor_x> を使うデストラクタを設定します。
2018この警告を発生させるコードをできるだけ小さな例にまで減らして、
2019問題を L<https://github.com/Perl/perl5/issues/new/choose> に
2020報告してください。
2021
14272022=item Can't call method "%s" on an undefined value
14282023
14292024=begin original
14302025
14312026(F) You used the syntax of a method call, but the slot filled by the
14322027object reference or package name contains an undefined value. Something
14332028like this will reproduce the error:
14342029
14352030=end original
14362031
14372032(F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか
14382033パッケージ名であるべきところが未定義値です。
14392034以下のように書くとエラーが再現します:
14402035
14412036 $BADREF = undef;
14422037 process $BADREF 1,2,3;
14432038 $BADREF->process(1,2,3);
14442039
14452040=item Can't call method "%s" on unblessed reference
14462041
14472042=begin original
14482043
14492044(F) A method call must know in what package it's supposed to run. It
14502045ordinarily finds this out from the object reference you supply, but you
14512046didn't supply an object reference in this case. A reference isn't an
14522047object reference until it has been blessed. See L<perlobj>.
14532048
14542049=end original
14552050
14562051(F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを
14572052知る必要があります。 普通は、渡したオブジェクトリファレンスから
14582053その情報を受け取りますが、この場合にはオブジェクトリファレンスが
14592054渡されませんでした。
14602055リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。
14612056L<perlobj> を参照してください。
14622057
14632058=item Can't call method "%s" without a package or object reference
14642059
14652060=begin original
14662061
14672062(F) You used the syntax of a method call, but the slot filled by the
14682063object reference or package name contains an expression that returns a
14692064defined value which is neither an object reference nor a package name.
14702065Something like this will reproduce the error:
14712066
14722067=end original
14732068
14742069(F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、
14752070もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも
14762071パッケージ名も返さない定義された式が書かれています。
14772072以下のように書くとエラーが再現します:
14782073
14792074 $BADREF = 42;
14802075 process $BADREF 1,2,3;
14812076 $BADREF->process(1,2,3);
14822077
1483=item Can't chdir to %s
2078=item Can't call mro_isa_changed_in() on anonymous symbol table
14842079
14852080=begin original
14862081
1487(F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory
2082(P) Perl got confused as to whether a hash was a plain hash or a
1488that you can chdir to, possibly because it doesn't exist.
2083symbol table hash when trying to update @ISA caches.
14892084
14902085=end original
14912086
1492(F) C<perl -x/foo/bar> のようて起動しましが、C</foo/bar>
2087(P) @ISA キャッシュを更新しようしたとき、ハッシュが普通のハッシュか
1493chdir することができません; おそらく、存在しないのでないでょうか
2088シンボルテーブルハッシュかについて perl混乱ました
14942089
1495=item Can't check filesystem of script "%s" for nosuid
2090=item Can't call mro_method_changed_in() on anonymous symbol table
14962091
14972092=begin original
14982093
1499(P) For some reason you can't check the filesystem of the script for
2094(F) An XS module tried to call C<mro_method_changed_in> on a hash that was
1500nosuid.
2095not attached to the symbol table.
15012096
15022097=end original
15032098
1504(P) なぜかスクリプトが nosuid かどうかをファイルシムから
2099(F) XS モジューが、ンボルーブルにアタッチされていないハッシュに対して
1505調べることができせん
2100C<mro_method_changed_in> を呼び出しした
15062101
2102=item Can't chdir to %s
2103
2104=begin original
2105
2106(F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory
2107that you can chdir to, possibly because it doesn't exist.
2108
2109=end original
2110
2111(F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に
2112chdir することができません; おそらく、存在しないのではないでしょうか。
2113
15072114=item Can't coerce %s to %s in %s
15082115
15092116=begin original
15102117
15112118(F) Certain types of SVs, in particular real symbol table entries
15122119(typeglobs), can't be forced to stop being what they are. So you can't
15132120say things like:
15142121
15152122=end original
15162123
15172124(F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、
15182125一つの型に留めておくことができません。
15192126したがって、以下のようにすることはできません:
15202127
15212128 *foo += 1;
15222129
15232130=begin original
15242131
15252132You CAN say
15262133
15272134=end original
15282135
15292136以下のようにはできますが:
15302137
15312138 $foo = *foo;
15322139 $foo += 1;
15332140
15342141=begin original
15352142
15362143but then $foo no longer contains a glob.
15372144
15382145=end original
15392146
15402147$foo にはもはやグロブは残っていません。
15412148
15422149=item Can't "continue" outside a when block
15432150
15442151=begin original
15452152
15462153(F) You called C<continue>, but you're not inside a C<when>
15472154or C<default> block.
15482155
15492156=end original
15502157
15512158(F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの
15522159内側ではありません。
15532160
2161=item can't convert empty path
2162
2163=begin original
2164
2165(F) On Cygwin, you called a path conversion function with an empty path.
2166Only non-empty paths are legal.
2167
2168=end original
2169
2170(F) Cygwin で、空のパスでパス変換関数を呼び出しました。
2171空でないパスのみが正当です。
2172
15542173=item Can't create pipe mailbox
15552174
15562175=begin original
15572176
15582177(P) An error peculiar to VMS. The process is suffering from exhausted
15592178quotas or other plumbing problems.
15602179
15612180=end original
15622181
15632182(P) VMS に固有のエラーです。
15642183プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。
15652184
15662185=item Can't declare %s in "%s"
15672186
15682187=begin original
15692188
15702189(F) Only scalar, array, and hash variables may be declared as "my", "our" or
15712190"state" variables. They must have ordinary identifiers as names.
15722191
15732192=end original
15742193
15752194(F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として
15762195宣言できます。
15772196これらは、名前として通常の識別子を持たなければなりません。
15782197
1579=item Can't do inplace edit: %s is not a regular file
2198=item Can't "default" outside a topicalizer
15802199
15812200=begin original
15822201
1583(S inplace) You tried to use the B<-i> switch on a special file, such as
2202(F) You have used a C<default> block that is neither inside a
1584a file in /dev, or a FIFO. The file was ignored.
2203C<foreach> loop nor a C<given> block. (Note that this error is
2204issued on exit from the C<default> block, so you won't get the
2205error if you use an explicit C<continue>.)
15852206
15862207=end original
15872208
1588(S inplace) /dev FIFO のような、特殊ファイルに対して、B<-i> スイチを
2209(F) C<foreach> ループC<given> ブロクの内側でないところで
1589使おうとしました。
2210C<default> ブロックを使ました。
1590このファイル無視されま
2211(このエラー C<default> ブロックから出るときに発生るので、明示的な
2212C<continue> を使うとエラーは発生しません。)
15912213
1592=item Can't do inplace edit on %s: %s
2214=item Can't determine class of operator %s, assuming BASEOP
15932215
15942216=begin original
15952217
1596(S inplace) The creation of the new file failed for the indicated
2218(S) This warning indicates something wrong in the internals of perl.
1597reason.
2219Perl was trying to find the class (e.g. LISTOP) of a particular OP,
2220and was unable to do so. This is likely to be due to a bug in the perl
2221internals, or due to a bug in XS code which manipulates perl optrees.
15982222
15992223=end original
16002224
1601(S inplace) 表示された理由により、新しいファイルの生成に失敗しました
2225(S) この警告は、perl の内部で何かがおかしいことを示てい
2226Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、
2227そうすることができませんでした。
2228これはおそらく perl 内部のバグによるものか、perl の op 木を操作する
2229XS コードのバグによるものです。
16022230
1603=item Can't do inplace edit without backup
2231=item Can't do inplace edit: %s is not a regular file
16042232
16052233=begin original
16062234
1607(F) You're on a system such as MS-DOS that gets confused if you try
2235(S inplace) You tried to use the B<-i> switch on a special file, such as
1608reading from a deleted (but still opened) file. You have to say
2236a file in /dev, a FIFO or an uneditable directory. The file was ignored.
1609C<-i.bak>, or some such.
16102237
16112238=end original
16122239
1613(F) 削除した (が、まだオープンされている) ファイルを読もうとすると
2240(S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して
1614おかしくなる MS-DOS のようなシテムで実行てい
2241B<-i>イッチを使おうとしました
1615C<-i.bak> ようにバックアップを指定してくだ
2242ファイルは無視れます
16162243
2244=item Can't do inplace edit on %s: %s
2245
2246=begin original
2247
2248(S inplace) The creation of the new file failed for the indicated
2249reason.
2250
2251=end original
2252
2253(S inplace) 表示された理由により、新しいファイルの生成に失敗しました。
2254
16172255=item Can't do inplace edit: %s would not be unique
16182256
16192257=begin original
16202258
16212259(S inplace) Your filesystem does not support filenames longer than 14
16222260characters and Perl was unable to create a unique filename during
16232261inplace editing with the B<-i> switch. The file was ignored.
16242262
16252263=end original
16262264
16272265(S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、
16282266Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の
16292267作成ができませんでした。
16302268このファイルは無視されます。
16312269
1632=item Can't do {n,m} with n > m in regex; marked by <-- HERE in m/%s/
2270=item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s".
16332271
16342272=begin original
16352273
1636(F) Minima must be less than or equal to maxima. If you really want your
2274(W locale) You are 1) running under "C<use locale>"; 2) the current
1637regexp to match something 0 times, just put {0}. The <-- HERE shows in the
2275locale is not a UTF-8 one; 3) you tried to do the designated case-change
1638regular expression about where the problem was discovered. See L<perlre>.
2276operation on the specified Unicode character; and 4) the result of this
2277operation would mix Unicode and locale rules, which likely conflict.
2278Mixing of different rule types is forbidden, so the operation was not
2279done; instead the result is the indicated value, which is the best
2280available that uses entirely Unicode rules. That turns out to almost
2281always be the original character, unchanged.
16392282
16402283=end original
16412284
1642(F) 最小値最大値以下なければなりません。
2285(W locale) あなた 1) "C<use locale>" の基実行していて;
1643もし、本当に正規表 0 回繰り返したものにマッチさせたいら、単に
22862) 在のロケールは UTF-8 ではく;
1644{0} としてください。
22873) 特定の Unicode 文字に指定された大文字小文字変換をしようとして;
1645<-- HERE で正規表現どこに問題が発見されたか示してい
22884) この操作の結果、おそらく衝突する、Unicode とロケール規則混ぜした
1646L<perlre> 参照してください
2289異なる種類の規則混ぜるのは禁止れてるので、この操作は行われません;
2290代わりに結果は示された値になります; これは全体的に Unicode の規則を
2291使うという、最も利用可能なものです。
2292これは、ほとんど常に、元の文字を変更しないままにします。
16472293
2294=begin original
2295
2296It is generally a bad idea to mix non-UTF-8 locales and Unicode, and
2297this issue is one of the reasons why. This warning is raised when
2298Unicode rules would normally cause the result of this operation to
2299contain a character that is in the range specified by the locale,
23000..255, and hence is subject to the locale's rules, not Unicode's.
2301
2302=end original
2303
2304非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、
2305この問題はその理由の一つです。
2306この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を
2307含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの
2308規則を想定される場合に発生します。
2309
2310=begin original
2311
2312If you are using locale purely for its characteristics related to things
2313like its numeric and time formatting (and not C<LC_CTYPE>), consider
2314using a restricted form of the locale pragma (see L<perllocale/The "use
2315locale" pragma>) like "S<C<use locale ':not_characters'>>".
2316
2317=end original
2318
2319ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに
2320使っている (そして C<LC_CTYPE> は使っていない)場合、
2321"S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された
2322形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを
2323検討してください。
2324
2325=begin original
2326
2327Note that failed case-changing operations done as a result of
2328case-insensitive C</i> regular expression matching will show up in this
2329warning as having the C<fc> operation (as that is what the regular
2330expression engine calls behind the scenes.)
2331
2332=end original
2333
2334大文字小文字無視 C</i> 正規表現マッチングの結果として
2335大文字小文字変換操作が失敗した場合、この警告は
2336C<fc> 操作に対して出力されることに注意してください
2337(正規表現エンジンが裏でこれを使っているからです。)
2338
16482339=item Can't do waitpid with flags
16492340
16502341=begin original
16512342
16522343(F) This machine doesn't have either waitpid() or wait4(), so only
16532344waitpid() without flags is emulated.
16542345
16552346=end original
16562347
16572348(F) このマシンには、waitpid() も wait4() もありませんので、
16582349フラグの無い waitpid() のみがエミュレート可能です。
16592350
16602351=item Can't emulate -%s on #! line
16612352
16622353=begin original
16632354
16642355(F) The #! line specifies a switch that doesn't make sense at this
16652356point. For example, it'd be kind of silly to put a B<-x> on the #!
16662357line.
16672358
16682359=end original
16692360
16702361(F) #! 行にその時点で意味をなさないスイッチが指定されました。
16712362たとえば、#! 行に B<-x> をおいても意味がありません。
16722363
16732364=item Can't %s %s-endian %ss on this platform
16742365
16752366=begin original
16762367
16772368(F) Your platform's byte-order is neither big-endian nor little-endian,
16782369or it has a very strange pointer size. Packing and unpacking big- or
16792370little-endian floating point values and pointers may not be possible.
16802371See L<perlfunc/pack>.
16812372
16822373=end original
16832374
16842375(F) プラットフォームのバイト順序がビッグエンディアンでも
16852376リトルエンディアンでもないか、ポインタサイズがとても変わっています。
16862377ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの
16872378pack や unpack はできません。
16882379L<perlfunc/pack> を参照してください。
16892380
16902381=item Can't exec "%s": %s
16912382
16922383=begin original
16932384
16942385(W exec) A system(), exec(), or piped open call could not execute the
16952386named program for the indicated reason. Typical reasons include: the
16962387permissions were wrong on the file, the file wasn't found in
16972388C<$ENV{PATH}>, the executable in question was compiled for another
16982389architecture, or the #! line in a script points to an interpreter that
16992390can't be run for similar reasons. (Or maybe your system doesn't support
17002391#! at all.)
17012392
17022393=end original
17032394
17042395(W exec) 提示した理由によって、system() や exec() やパイプオープン
17052396呼び出しの指定されたプログラムが実行できませんでした。
17062397考えられる理由には: ファイルのパーミッションが間違っている、
17072398ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが
17082399このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない
17092400インタプリタを指している、というようなものがあります。
17102401(あるいは、このシステムで、#! がサポートされていません。)
17112402
17122403=item Can't exec %s
17132404
17142405=begin original
17152406
17162407(F) Perl was trying to execute the indicated program for you because
17172408that's what the #! line said. If that's not what you wanted, you may
17182409need to mention "perl" on the #! line somewhere.
17192410
17202411=end original
17212412
17222413(F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを
17232414実行しようとしました。
17242415そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。
17252416
17262417=item Can't execute %s
17272418
17282419=begin original
17292420
17302421(F) You used the B<-S> switch, but the copies of the script to execute
17312422found in the PATH did not have correct permissions.
17322423
17332424=end original
17342425
17352426(F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが
17362427正しいパーミッションではありませんでした。
17372428
17382429=item Can't find an opnumber for "%s"
17392430
17402431=begin original
17412432
17422433(F) A string of a form C<CORE::word> was given to prototype(), but there
17432434is no builtin with the name C<word>.
17442435
17452436=end original
17462437
17472438(F) C<CORE::word> の形の文字列が prototype() に与えられましたが、
17482439名前 C<word> は組み込みではありません。
17492440
1750=item Can't find %s character property "%s"
1751
1752=begin original
1753
1754(F) You used C<\p{}> or C<\P{}> but the character property by that name
1755could not be found. Maybe you misspelled the name of the property?
1756See L<perluniprops/Properties accessible through \p{} and \P{}>
1757for a complete list of available properties.
1758
1759=end original
1760
1761(F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字プロパティは
1762見つかりませんでした。
1763おそらくプロパティ名をタイプミスしたのでは?
1764利用可能なプロパティの完全なリストは
1765L<perluniprops/Properties accessible through \p{} and \P{}> を
1766参照してください。
1767
17682441=item Can't find label %s
17692442
17702443=begin original
17712444
17722445(F) You said to goto a label that isn't mentioned anywhere that it's
17732446possible for us to go to. See L<perlfunc/goto>.
17742447
17752448=end original
17762449
17772450(F) どこにも見つからないラベルへ goto を行なおうとしました。
17782451L<perlfunc/goto> を参照してください。
17792452
17802453=item Can't find %s on PATH
17812454
17822455=begin original
17832456
17842457(F) You used the B<-S> switch, but the script to execute could not be
17852458found in the PATH.
17862459
17872460=end original
17882461
17892462B<-S> オプションを使いましたが、実行するスクリプトは PATH に
17902463見つかりませんでした。
17912464
17922465=item Can't find %s on PATH, '.' not in PATH
17932466
17942467=begin original
17952468
17962469(F) You used the B<-S> switch, but the script to execute could not be
17972470found in the PATH, or at least not with the correct permissions. The
17982471script exists in the current directory, but PATH prohibits running it.
17992472
18002473=end original
18012474
18022475(F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが
18032476見つからないか、少なくとも適切なパーミッションがありません。
18042477スクリプトはカレントディレクトリにはありますが、PATH に
18052478カレントディレクトリは含まれていません。
18062479
18072480=item Can't find string terminator %s anywhere before EOF
18082481
18092482=begin original
18102483
18112484(F) Perl strings can stretch over multiple lines. This message means
18122485that the closing delimiter was omitted. Because bracketed quotes count
18132486nesting levels, the following is missing its final parenthesis:
18142487
18152488=end original
18162489
18172490(F) Perl の文字列は、複数行に渡ることができます。このメッセージは、
18182491文字列を終わる区切り文字が見つからなかったことを意味します。
18192492かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが
18202493無いと言われます:
18212494
18222495 print q(The character '(' starts a side comment.);
18232496
18242497=begin original
18252498
18262499If you're getting this error from a here-document, you may have
18272500included unseen whitespace before or after your closing tag or there
18282501may not be a linebreak after it. A good programmer's editor will have
18292502a way to help you find these characters (or lack of characters). See
18302503L<perlop> for the full details on here-documents.
18312504
18322505=end original
18332506
18342507このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に
18352508見えない空白を含んでいるか、その後に改行がないのかもしれません。
18362509よいプログラマ用エディタには、このような文字(または文字がないこと)を探す
18372510助けになる方法があります。
18382511ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。
18392512
18402513=item Can't find Unicode property definition "%s"
18412514
2515=item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/
2516
18422517=begin original
18432518
1844(F) You may have tried to use C<\p> which means a Unicode
2519(F) The named property which you specified via C<\p> or C<\P> is not one
1845property (for example C<\p{Lu}> matches all uppercase
2520known to Perl. Perhaps you misspelled the name? See
1846letters). If you did mean to use a Unicode property, see
18472521L<perluniprops/Properties accessible through \p{} and \P{}>
1848for a complete list of available properties. If you didn't
2522for a complete list of available official
1849mean to use a Unicode property, escape the C<\p>, either by C<\\p>
2523properties. If it is a
1850(just the C<\p>) or by C<\Q\p> (the rest of the string, or
2524L<user-defined property|perlunicode/User-Defined Character Properties>
1851until C<\E>).
2525it must have been defined by the time the regular expression is
2526matched.
18522527
18532528=end original
18542529
1855(F) (例えば \p{Lu} が全て大文字にマッチング、のように) Unicode 特性を
2530(F)
1856意味するC<\p> を使おうとました。
2531C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです
1857Unicode 特性使いい場合は、利用可能な特性完全なリストを
2532おそらく名前タイプミスしたのでは?
1858L<perluniprops/Properties accessible through \p{} and \P{}> で
2533公式に利用可能な特性の完全な一覧については
2534L<perluniprops/Properties accessible through \p{} and \P{}> を
18592535参照してください。
2536これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の
2537場合は、正規表現がマッチングした時点で定義されていなければなりません。
2538
2539=begin original
2540
2541If you didn't mean to use a Unicode property, escape the C<\p>, either
2542by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or
2543until C<\E>).
2544
2545=end original
2546
18602547Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または
18612548C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を
18622549エスケープしてください。
18632550
18642551=item Can't fork: %s
18652552
18662553=begin original
18672554
18682555(F) A fatal error occurred while trying to fork while opening a
18692556pipeline.
18702557
18712558=end original
18722559
18732560(F) パイプラインをオープンしようとして、fork を行なおうとして、
18742561致命的エラーが発生しました。
18752562
18762563=item Can't fork, trying again in 5 seconds
18772564
18782565=begin original
18792566
18802567(W pipe) A fork in a piped open failed with EAGAIN and will be retried
18812568after five seconds.
18822569
18832570=end original
18842571
18852572(W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に
18862573再試行されます。
18872574
18882575=item Can't get filespec - stale stat buffer?
18892576
18902577=begin original
18912578
18922579(S) A warning peculiar to VMS. This arises because of the difference
18932580between access checks under VMS and under the Unix model Perl assumes.
18942581Under VMS, access checks are done by filename, rather than by bits in
18952582the stat buffer, so that ACLs and other protections can be taken into
18962583account. Unfortunately, Perl assumes that the stat buffer contains all
18972584the necessary information, and passes it, instead of the filespec, to
18982585the access-checking routine. It will try to retrieve the filespec using
18992586the device name and FID present in the stat buffer, but this works only
19002587if you haven't made a subsequent call to the CRTL stat() routine,
19012588because the device name is overwritten with each call. If this warning
19022589appears, the name lookup failed, and the access-checking routine gave up
19032590and returned FALSE, just to be conservative. (Note: The access-checking
19042591routine knows about the Perl C<stat> operator and file tests, so you
19052592shouldn't ever see this warning in response to a Perl command; it arises
19062593only if some internal code takes stat buffers lightly.)
19072594
19082595=end original
19092596
19102597(S) VMS に固有の警告です。
19112598これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが
19122599あることによって起こります。
19132600VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって
19142601行われるので、ACL やその他の保護が考慮されます。
19152602残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、
19162603アクセスチェックルーチンにはファイルスペックではなくこれを渡します。
19172604stat バッファにあるデバイス名と FID を使ってファイルスペックを
19182605取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない
19192606場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。
19202607この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、
19212608安全のためだけに FALSE を返します。
19222609(注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル
19232610テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは
19242611ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ
19252612発生します。)
19262613
19272614=item Can't get pipe mailbox device name
19282615
19292616=begin original
19302617
19312618(P) An error peculiar to VMS. After creating a mailbox to act as a
19322619pipe, Perl can't retrieve its name for later use.
19332620
19342621=end original
19352622
19362623(P) VMS に固有のエラーです。
19372624パイプとして働くメールボックスの作成後、後で使うための名前を
19382625Perl が取得できませんでした。
19392626
19402627=item Can't get SYSGEN parameter value for MAXBUF
19412628
19422629=begin original
19432630
19442631(P) An error peculiar to VMS. Perl asked $GETSYI how big you want your
19452632mailbox buffers to be, and didn't get an answer.
19462633
19472634=end original
19482635
19492636(P) VMS に固有のエラーです。
19502637メールボックスバッファをどれくらいとるべきかを $GETSYI に
19512638問い合わせましたが、答えが得られませんでした。
19522639
2640=item Can't "goto" into a binary or list expression
2641
2642=begin original
2643
2644(F) A "goto" statement was executed to jump into the middle of a binary
2645or list expression. You can't get there from here. The reason for this
2646restriction is that the interpreter would get confused as to how many
2647arguments there are, resulting in stack corruption or crashes. This
2648error occurs in cases such as these:
2649
2650=end original
2651
2652(F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。
2653ここからそこへは行けません。
2654この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、
2655結果としてスタックは解約ラッシュを引き起こすからです。
2656このエラーは次のような場合に起こります:
2657
2658 goto F;
2659 print do { F: }; # Can't jump into the arguments to print
2660
2661 goto G;
2662 $x + do { G: $y }; # How is + supposed to get its first operand?
2663
2664=item Can't "goto" into a "defer" block
2665
2666=begin original
2667
2668(F) A C<goto> statement was executed to jump into the scope of a C<defer>
2669block. This is not permitted.
2670
2671=end original
2672
2673(F) C<defer> ブロックの中に飛び込むような C<goto> 文が実行されました。
2674これは許されていません。
2675
2676=item Can't "goto" into a "given" block
2677
2678=begin original
2679
2680(F) A "goto" statement was executed to jump into the middle of a C<given>
2681block. You can't get there from here. See L<perlfunc/goto>.
2682
2683=end original
2684
2685(F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。
2686ここからそこへは行けません。
2687L<perlfunc/goto> を参照してください。
2688
19532689=item Can't "goto" into the middle of a foreach loop
19542690
19552691=begin original
19562692
19572693(F) A "goto" statement was executed to jump into the middle of a foreach
19582694loop. You can't get there from here. See L<perlfunc/goto>.
19592695
19602696=end original
19612697
19622698(F) "goto" 文で foreach ループの中に飛び込もうとしました。
19632699ここからそこへは行けません。
19642700L<perlfunc/goto> を参照してください。
19652701
19662702=item Can't "goto" out of a pseudo block
19672703
19682704=begin original
19692705
19702706(F) A "goto" statement was executed to jump out of what might look like
19712707a block, except that it isn't a proper block. This usually occurs if
19722708you tried to jump out of a sort() block or subroutine, which is a no-no.
19732709See L<perlfunc/goto>.
19742710
19752711=end original
19762712
19772713(F) "goto" 文でブロックのように見えるけれども、適切な
19782714ブロックではないところから飛び出そうとしました。
19792715これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに
19802716起きますが、それはできません。
19812717L<perlfunc/goto> を参照してください。
19822718
1983=item Can't goto subroutine from a sort sub (or similar callback)
2719=item Can't goto subroutine from an eval-%s
19842720
19852721=begin original
19862722
1987(F) The "goto subroutine" call can't be used to jump out of the
2723(F) The "goto subroutine" call can't be used to jump out of an eval
1988comparison sub for a sort(), or from a similar callback (such
2724"string" or block.
1989as the reduce() function in List::Util).
19902725
19912726=end original
19922727
1993(F) "goto subroutine" 呼び出しはsort() のための比較サブルーチン
2728(F) "goto subroutine" 呼び出しは eval "string"ブロックから
1994(List::Util の reduce() 関数のような) 似たようなコールバックから
19952729飛び出すことはできません。
19962730
1997=item Can't goto subroutine from an eval-%s
2731=item Can't goto subroutine from a sort sub (or similar callback)
19982732
19992733=begin original
20002734
2001(F) The "goto subroutine" call can't be used to jump out of an eval
2735(F) The "goto subroutine" call can't be used to jump out of the
2002"string" or block.
2736comparison sub for a sort(), or from a similar callback (such
2737as the reduce() function in List::Util).
20032738
20042739=end original
20052740
2006(F) "goto subroutine" 呼び出しは eval "string" ロックから
2741(F) "goto subroutine" 呼び出しはsort() のための比較サルーチンや、
2742(List::Util の reduce() 関数のような) 似たようなコールバックから
20072743飛び出すことはできません。
20082744
20092745=item Can't goto subroutine outside a subroutine
20102746
20112747=begin original
20122748
20132749(F) The deeply magical "goto subroutine" call can only replace one
20142750subroutine call for another. It can't manufacture one out of whole
20152751cloth. In general you should be calling it out of only an AUTOLOAD
20162752routine anyway. See L<perlfunc/goto>.
20172753
20182754=end original
20192755
20202756(F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン
20212757呼び出しを別のもので置き換えるだけです。
20222758反物の状態から作り上げることはできません。
20232759一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに
20242760しておくべきです。
20252761L<perlfunc/goto> を参照してください。
20262762
20272763=item Can't ignore signal CHLD, forcing to default
20282764
20292765=begin original
20302766
20312767(W signal) Perl has detected that it is being run with the SIGCHLD
20322768signal (sometimes known as SIGCLD) disabled. Since disabling this
20332769signal will interfere with proper determination of exit status of child
20342770processes, Perl has reset the signal to its default value. This
20352771situation typically indicates that the parent program under which Perl
20362772may be running (e.g. cron) is being very careless.
20372773
20382774=end original
20392775
20402776(W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが
20412777無効化された状態で実行されていることを検出しました。
20422778このシグナルが無効化されると子プロセスの終了ステータスを適切に
20432779決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。
20442780この状況は典型的には Perl が動作している親プログラム(cron など)が
20452781とても不注意であることを示しています。
20462782
20472783=item Can't kill a non-numeric process ID
20482784
20492785=begin original
20502786
20512787(F) Process identifiers must be (signed) integers. It is a fatal error to
20522788attempt to kill() an undefined, empty-string or otherwise non-numeric
20532789process identifier.
20542790
20552791=end original
20562792
20572793(F) プロセス識別子は(符号付き)整数でなければなりません。
20582794未定義値、空文字列、その他の非数値プロセス識別子を使って
20592795kill() しようとすることは致命的エラーです。
20602796
20612797=item Can't "last" outside a loop block
20622798
20632799=begin original
20642800
20652801(F) A "last" statement was executed to break out of the current block,
20662802except that there's this itty bitty problem called there isn't a current
20672803block. Note that an "if" or "else" block doesn't count as a "loopish"
20682804block, as doesn't a block given to sort(), map() or grep(). You can
20692805usually double the curlies to get the same effect though, because the
20702806inner curlies will be considered a block that loops once. See
20712807L<perlfunc/last>.
20722808
20732809=end original
20742810
20752811(F) 現在のブロックから脱出するために、"last" 文を実行しましたが、
20762812残念なことにブロックの中ではありませんでした。
20772813"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
20782814同様「ループ風」ブロックではないので、注意してください。
20792815ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
20802816ブロックとみなされますから、同じ効果が得られます。
20812817L<perlfunc/last> を参照してください。
20822818
20832819=item Can't linearize anonymous symbol table
20842820
20852821=begin original
20862822
20872823(F) Perl tried to calculate the method resolution order (MRO) of a
20882824package, but failed because the package stash has no name.
20892825
20902826=end original
20912827
20922828(F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、
20932829パッケージ stash に名前がないので失敗しました。
20942830
20952831=item Can't load '%s' for module %s
20962832
20972833=begin original
20982834
2099(F) The module you tried to load failed to load a dynamic extension. This
2835(F) The module you tried to load failed to load a dynamic extension.
2100may either mean that you upgraded your version of perl to one that is
2836This may either mean that you upgraded your version of perl to one
2101incompatible with your old dynamic extensions (which is known to happen
2837that is incompatible with your old dynamic extensions (which is known
2102between major versions of perl), or (more likely) that your dynamic
2838to happen between major versions of perl), or (more likely) that your
2103extension was built against an older version of the library that is
2839dynamic extension was built against an older version of the library
2104installed on your system. You may need to rebuild your old dynamic
2840that is installed on your system. You may need to rebuild your old
2105extensions.
2841dynamic extensions.
21062842
21072843=end original
21082844
21092845(F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに
21102846失敗しました。
21112847これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか
21122848(これは perl のメジャーバージョン間で起きることが知られています)、
21132849(よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い
21142850バージョンのライブラリに対してビルドされているかです。
21152851古い動的拡張モジュールをリビルドする必要があるでしょう。
21162852
21172853=item Can't localize lexical variable %s
21182854
21192855=begin original
21202856
21212857(F) You used local on a variable name that was previously declared as a
2122lexical variable using "my" or "state". This is not allowed. If you want to
2858lexical variable using "my" or "state". This is not allowed. If you
2123localize a package variable of the same name, qualify it with the
2859want to localize a package variable of the same name, qualify it with
2124package name.
2860the package name.
21252861
21262862=end original
21272863
21282864(F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に
21292865対して local を使いました。
21302866これは認められていません。
21312867同じ名前のパッケージ変数をローカル化したい場合は、
21322868パッケージ名で修飾してください。
21332869
21342870=item Can't localize through a reference
21352871
21362872=begin original
21372873
21382874(F) You said something like C<local $$ref>, which Perl can't currently
21392875handle, because when it goes to restore the old value of whatever $ref
21402876pointed to after the scope of the local() is finished, it can't be sure
21412877that $ref will still be a reference.
21422878
21432879=end original
21442880
21452881(F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを
21462882扱えません; なぜなら、local() のスコープが終了した後、$ref が
21472883指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが
21482884わからないからです。
21492885
21502886=item Can't locate %s
21512887
21522888=begin original
21532889
2154(F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be
2890(F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found.
2155found. Perl looks for the file in all the locations mentioned in @INC,
2891Perl looks for the file in all the locations mentioned in @INC, unless
2156unless the file name included the full path to the file. Perhaps you
2892the file name included the full path to the file. Perhaps you need
2157need to set the PERL5LIB or PERL5OPT environment variable to say where
2893to set the PERL5LIB or PERL5OPT environment variable to say where the
2158the extra library is, or maybe the script needs to add the library name
2894extra library is, or maybe the script needs to add the library name
21592895to @INC. Or maybe you just misspelled the name of the file. See
21602896L<perlfunc/require> and L<lib>.
21612897
21622898=end original
21632899
21642900(F) ファイルを C<do> (または、C<require>、C<use>) するように
21652901指示されましたが、見つかりませんでした。
21662902Perl は、フルパスで指定されていない場合ファイルを @INC で示される
21672903全ての場所を検索します。
21682904おそらく、追加ライブラリの場所を示すために、
21692905PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、
21702906スクリプトの中で @INC にライブラリ名を追加する必要があります。
21712907ファイル名のスペルミスの可能性もあります。
21722908L<perlfunc/require> と L<lib> を参照してください。
21732909
21742910=item Can't locate auto/%s.al in @INC
21752911
21762912=begin original
21772913
21782914(F) A function (or method) was called in a package which allows
21792915autoload, but there is no function to autoload. Most probable causes
21802916are a misprint in a function/method name or a failure to C<AutoSplit>
21812917the file, say, by doing C<make install>.
21822918
21832919=end original
21842920
21852921(F) 関数(またはメソッド)がオートロードを許可しているパッケージで
21862922呼び出されましたが、オートロードする関数がありませんでした。
21872923最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と
21882924することによるファイルの C<AutoSplit> の失敗です。
21892925
21902926=item Can't locate loadable object for module %s in @INC
21912927
21922928=begin original
21932929
21942930(F) The module you loaded is trying to load an external library, like
2195for example, C<foo.so> or C<bar.dll>, but the L<DynaLoader> module was
2931for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was
21962932unable to locate this library. See L<DynaLoader>.
21972933
21982934=end original
21992935
2200(F) 読み込まれたモジュールは C<foo.so> や C<bar.dll> のような外部
2936(F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部
22012937ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この
22022938ライブラリの位置がわかりませんでした。
22032939L<DynaLoader> を参照してください。
22042940
22052941=item Can't locate object method "%s" via package "%s"
22062942
22072943=begin original
22082944
22092945(F) You called a method correctly, and it correctly indicated a package
22102946functioning as a class, but that package doesn't define that particular
22112947method, nor does any of its base classes. See L<perlobj>.
22122948
22132949=end original
22142950
22152951(F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを
22162952正しく示していますが、そのパッケージにも、基底クラスにも、
22172953該当のメソッドが定義されていません。
22182954L<perlobj> を参照してください。
22192955
2956=item Can't locate object method "%s" via package "%s" (perhaps you forgot
2957to load "%s"?)
2958
2959=begin original
2960
2961(F) You called a method on a class that did not exist, and the method
2962could not be found in UNIVERSAL. This often means that a method
2963requires a package that has not been loaded.
2964
2965=end original
2966
2967(F) 存在しないクラスメソッドを呼び出し、メソッドは
2968UNIVERSAL に見つかりませんでした。
2969これはしばしばメソッドがまだロードされていないパッケージを
2970要求していることを意味します。
2971
2972=item Can't locate object method "INC", nor "INCDIR" nor string overload via package "%s" %s in @INC
2973
2974=begin original
2975
2976(F) You pushed an object, either directly or via an array reference hook,
2977into C<@INC>, but the object doesn't support any known hook methods, nor
2978a string overload and is also not a blessed CODE reference. In short the
2979C<require> function does not know what to do with the object.
2980See also L<perlfunc/require>.
2981
2982=end original
2983
2984(F) 直接、または配列リファレンスフック経由で、オブジェクトを C<@INC> に
2985プッシュしましたが、オブジェクトは既知のフックメソッドや
2986文字列オーバーロードに対応して折らず、bless されたコードリファレンスでも
2987ありませんでした。
2988簡単に言うと、C<require> 関数はこのオブジェクトに対してどうすればいいか
2989分かりませんでした。
2990L<perlfunc/require> も参照してください。
2991
2992=item Attempt to call undefined %s method with arguments ("%s"%s)
2993via package "%s" (Perhaps you forgot to load the package?)
2994
2995=begin original
2996
2997(D deprecated::missing_import_called_with_args) You called the
2998C<import()> or C<unimport()> method of a class that has no import method
2999defined in its inheritance graph, and passed an argument to the method.
3000This is very often the sign of a mispelled package name in a use or
3001require statement that has silently succeded due to a case insensitive
3002file system.
3003
3004=end original
3005
3006(D deprecated::missing_import_called_with_args) 継承グラフに
3007import メソッドが定義されていないクラスの C<import()> または
3008C<unimport()> メソッドを呼び出し、そのメソッドに引数を渡しました。
3009これは、大文字と小文字を区別しないファイルシステムのために
3010暗黙的に成功した use または require 文内のミススペルされた
3011パッケージ名の兆候であることがよくあります。
3012
3013=begin original
3014
3015Another common reason this may happen is when mistakenly attempting to
3016import or unimport a symbol from a class definition or package which
3017does not use C<Exporter> or otherwise define its own C<import> or
3018C<unimport> method.
3019
3020=end original
3021
3022これが発生するもう一つの一般的な理由は、C<Exporter> を使っていないか、
3023独自の C<import> または C<unimport> メソッドを定義している
3024クラス定義またはパッケージからシンボルを誤ってインポートまたは
3025インポート解除しようとした場合です。
3026
22203027=item Can't locate package %s for @%s::ISA
22213028
22223029=begin original
22233030
22243031(W syntax) The @ISA array contained the name of another package that
22253032doesn't seem to exist.
22263033
22273034=end original
22283035
22293036(W syntax) 配列 @ISA に別のパッケージ名が記されていますが、
22303037存在していないようです。
22313038
22323039=item Can't locate PerlIO%s
22333040
22343041=begin original
22353042
22363043(F) You tried to use in open() a PerlIO layer that does not exist,
22373044e.g. open(FH, ">:nosuchlayer", "somefile").
22383045
22393046=end original
22403047
22413048(F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、
22423049open() で 存在しない PerlIO 層を使おうとしました。
22433050
2244=item Can't make list assignment to \%ENV on this system
3051=item Can't make list assignment to %ENV on this system
22453052
22463053=begin original
22473054
22483055(F) List assignment to %ENV is not supported on some systems, notably
22493056VMS.
22503057
22513058=end original
22523059
22533060(F) %ENV へのリスト代入はいくつかのシステム、特に VMS では
22543061対応していません。
22553062
2256=item Can't modify %s in %s
3063=item Can't make loaded symbols global on this platform while loading %s
22573064
22583065=begin original
22593066
2260(F) You aren't allowed to assign to the item indicated, or otherwise try
3067(S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request
2261to change it, such as with an auto-increment.
3068that symbols from the stated file are made available globally within the
3069process, but that functionality is not available on this platform. Whilst
3070the module likely will still work, this may prevent the perl interpreter
3071from loading other XS-based extensions which need to link directly to
3072functions defined in the C or XS code in the stated file.
22623073
22633074=end original
22643075
2265(F) 指定されたものは代入、インクリメントど、変更が許されていません。
3076(W) モジュールがプロセスの中でグローバルに利用可能固定ファイルから
3077シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に
30780x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。
3079モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や
3080XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの
3081エクステンションの読み込みが妨げられるかもしれません。
22663082
2267=item Can't modify nonexistent substring
3083=item Can't modify %s in %s
22683084
22693085=begin original
22703086
2271(P) The internal routine that does assignment to a substr() was handed
3087(F) You aren't allowed to assign to the item indicated, or otherwise try
2272a NULL.
3088to change it, such as with an auto-increment.
22733089
22743090=end original
22753091
2276(P) substr() への代入を行なう内部ルーティに NULL されました
3092(F) 指定されたもは、代入、イクリメントなど、変更されていせん
22773093
2278=item Can't modify non-lvalue subroutine call
3094=item Can't modify non-lvalue subroutine call of &%s
22793095
3096=item Can't modify non-lvalue subroutine call of &%s in %s
3097
22803098=begin original
22813099
22823100(F) Subroutines meant to be used in lvalue context should be declared as
22833101such. See L<perlsub/"Lvalue subroutines">.
22843102
22853103=end original
22863104
22873105(F) 左辺値コンテキストとして使うサブルーチンは、そのように
22883106宣言しなければなりません。
22893107L<perlsub/"Lvalue subroutines"> を参照してください。
22903108
3109=item Can't modify reference to %s in %s assignment
3110
3111=begin original
3112
3113(F) Only a limited number of constructs can be used as the argument to a
3114reference constructor on the left-hand side of an assignment, and what
3115you used was not one of them. See L<perlref/Assigning to References>.
3116
3117=end original
3118
3119(F) 代入の左側のリファレンスコンストラクタの引数に使える構文は
3120一部に制限されていて、ここで使ったものはその一つではありません。
3121L<perlref/Assigning to References> を参照してください。
3122
3123=item Can't modify reference to localized parenthesized array in list
3124assignment
3125
3126=begin original
3127
3128(F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as
3129it is not clear exactly what it should do. If you meant to make @array
3130refer to some other array, use C<\@array = \@other_array>. If you want to
3131make the elements of @array aliases of the scalars referenced on the
3132right-hand side, use C<\(@array) = @scalar_refs>.
3133
3134=end original
3135
3136(F) C<\local(@array)> や C<\(local @array)> への代入は対応していません;
3137正確に何をするべきかが明確ではないからです。
3138@array が他の配列を参照するようにすることを意味しているなら、
3139C<\@array = \@other_array> を使ってください。
3140@array の要素が右側でリファレンスされているスカラへの別名にしたいなら、
3141C<\(@array) = @scalar_refs> を使ってください。
3142
3143=item Can't modify reference to parenthesized hash in list assignment
3144
3145=begin original
3146
3147(F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash
3148refer to some other hash, use C<\%hash = \%other_hash>. If you want to
3149make the elements of %hash into aliases of the scalars referenced on the
3150right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>.
3151
3152=end original
3153
3154(F) C<\(%hash)> への代入は対応していません。
3155%hash が他のハッシュを参照するようにすることを意味しているなら、
3156C<\%hash = \%other_hash> を使ってください。
3157%hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、
3158ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。
3159
22913160=item Can't msgrcv to read-only var
22923161
22933162=begin original
22943163
22953164(F) The target of a msgrcv must be modifiable to be used as a receive
22963165buffer.
22973166
22983167=end original
22993168
23003169(F) msgrcv で使用する変数は、受信バッファとして使用しますので、
23013170変更可能なものでなければなりません。
23023171
23033172=item Can't "next" outside a loop block
23043173
23053174=begin original
23063175
23073176(F) A "next" statement was executed to reiterate the current block, but
23083177there isn't a current block. Note that an "if" or "else" block doesn't
23093178count as a "loopish" block, as doesn't a block given to sort(), map() or
23103179grep(). You can usually double the curlies to get the same effect
23113180though, because the inner curlies will be considered a block that loops
23123181once. See L<perlfunc/next>.
23133182
23143183=end original
23153184
23163185(F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、
23173186ブロックの中ではありませんでした。
23183187"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
23193188同様「ループ風」ブロックではないので、注意してください。
23203189ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
23213190ブロックとみなされますから、同じ効果が得られます。
23223191L<perlfunc/next> を参照してください。
23233192
23243193=item Can't open %s: %s
23253194
23263195=begin original
23273196
23283197(S inplace) The implicit opening of a file through use of the C<< <> >>
23293198filehandle, either implicitly under the C<-n> or C<-p> command-line
2330switches, or explicitly, failed for the indicated reason. Usually this
3199switches, or explicitly, failed for the indicated reason. Usually
2331is because you don't have read permission for a file which you named on
3200this is because you don't have read permission for a file which
2332the command line.
3201you named on the command line.
23333202
23343203=end original
23353204
23363205(S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは
23373206C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは
23383207明示的なファイルオープンが表示した理由によって失敗しました。
23393208通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。
23403209
3210=begin original
3211
3212(F) You tried to call perl with the B<-e> switch, but F</dev/null> (or
3213your operating system's equivalent) could not be opened.
3214
3215=end original
3216
3217(F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null>
3218(またはあなたのオペレーティングシステムでの等価物) が開けませんでした。
3219
23413220=item Can't open a reference
23423221
23433222=begin original
23443223
23453224(W io) You tried to open a scalar reference for reading or writing,
23463225using the 3-arg open() syntax:
23473226
23483227=end original
23493228
23503229(W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは
23513230書き込みのために開こうとしました:
23523231
23533232 open FH, '>', $ref;
23543233
23553234=begin original
23563235
23573236but your version of perl is compiled without perlio, and this form of
23583237open is not supported.
23593238
23603239=end original
23613240
23623241しかしこのバージョンの perl は perlio なしでコンパイルされていて、
23633242この形式の open は対応していません。
23643243
23653244=item Can't open bidirectional pipe
23663245
23673246=begin original
23683247
23693248(W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported.
23703249You can try any of several modules in the Perl library to do this, such
23713250as IPC::Open2. Alternately, direct the pipe's output to a file using
23723251">", and then read it in under a different file handle.
23733252
23743253=end original
23753254
23763255(W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。
23773256これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの
23783257モジュールを使うことができます。
23793258別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、
23803259あとで別のファイルハンドルで読み込みを行なうことも考えられます。
23813260
23823261=item Can't open error file %s as stderr
23833262
23843263=begin original
23853264
23863265(F) An error peculiar to VMS. Perl does its own command line
23873266redirection, and couldn't open the file specified after '2>' or '2>>' on
23883267the command line for writing.
23893268
23903269=end original
23913270
23923271(F) VMS に固有のエラーです。
23933272Perl は独自にコマンドラインのリダイレクトを扱っていて、
23943273コマンドラインで書き込みのために '2>' や '2>>' の後に指定された
23953274ファイルを開けませんでした。
23963275
23973276=item Can't open input file %s as stdin
23983277
23993278=begin original
24003279
24013280(F) An error peculiar to VMS. Perl does its own command line
24023281redirection, and couldn't open the file specified after '<' on the
24033282command line for reading.
24043283
24053284=end original
24063285
24073286(F) VMS に固有のエラーです。
24083287Perl は独自にコマンドラインのリダイレクトを扱っていて、
24093288コマンドラインで読み込みのために '<' の後に指定された
24103289ファイルを開けませんでした。
24113290
24123291=item Can't open output file %s as stdout
24133292
24143293=begin original
24153294
24163295(F) An error peculiar to VMS. Perl does its own command line
24173296redirection, and couldn't open the file specified after '>' or '>>' on
24183297the command line for writing.
24193298
24203299=end original
24213300
24223301(F) VMS に固有のエラーです。
24233302Perl は独自にコマンドラインのリダイレクトを扱っていて、
24243303コマンドラインで書き込みのために '>' や '>>' の後に指定された
24253304ファイルを開けませんでした。
24263305
24273306=item Can't open output pipe (name: %s)
24283307
24293308=begin original
24303309
24313310(P) An error peculiar to VMS. Perl does its own command line
24323311redirection, and couldn't open the pipe into which to send data destined
24333312for stdout.
24343313
24353314=end original
24363315
24373316(P) VMS に固有のエラーです。
24383317Perl は独自にコマンドラインのリダイレクトを扱っていて、
24393318標準出力としてデータを送るパイプを開けませんでした。
24403319
2441=item Can't open perl script%s
3320=item Can't open perl script "%s": %s
24423321
24433322=begin original
24443323
24453324(F) The script you specified can't be opened for the indicated reason.
24463325
24473326=end original
24483327
24493328(F) 指定したスクリプトが、表示した理由によってオープンできませんでした。
24503329
24513330=begin original
24523331
24533332If you're debugging a script that uses #!, and normally relies on the
24543333shell's $PATH search, the -S option causes perl to do that search, so
24553334you don't have to type the path or C<`which $scriptname`>.
24563335
24573336=end original
24583337
24593338#! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に
24603339頼っている場合は、-S オプションを付けることで perl が検索するようになり、
24613340パスや C<`which $scriptname`> をタイプする必要がなくなります。
24623341
24633342=item Can't read CRTL environ
24643343
24653344=begin original
24663345
24673346(S) A warning peculiar to VMS. Perl tried to read an element of %ENV
24683347from the CRTL's internal environment array and discovered the array was
24693348missing. You need to figure out where your CRTL misplaced its environ
24703349or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not
24713350searched.
24723351
24733352=end original
24743353
24753354(S) VMS に固有の警告です。
24763355Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、
24773356配列がないことを発見しました。
24783357CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を
24793358定義して(L<perlvms> を参照してください)環境を検索しないようにする
24803359必要があります。
24813360
3361=item Can't redeclare "%s" in "%s"
3362
3363=begin original
3364
3365(F) A "my", "our" or "state" declaration was found within another declaration,
3366such as C<my ($x, my($y), $z)> or C<our (my $x)>.
3367
3368=end original
3369
3370(F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、
3371"my", "our", "state" 宣言が他の宣言の中にありました。
3372
24823373=item Can't "redo" outside a loop block
24833374
24843375=begin original
24853376
24863377(F) A "redo" statement was executed to restart the current block, but
24873378there isn't a current block. Note that an "if" or "else" block doesn't
24883379count as a "loopish" block, as doesn't a block given to sort(), map()
24893380or grep(). You can usually double the curlies to get the same effect
24903381though, because the inner curlies will be considered a block that
24913382loops once. See L<perlfunc/redo>.
24923383
24933384=end original
24943385
24953386(F) 現在のブロックの繰り返しをもう一度行なうために、
24963387"redo" 文を実行しましたが、ブロックの中ではありませんでした。
24973388"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
24983389同様「ループ風」ブロックではないので、注意してください。
24993390ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
25003391ブロックとみなされますから、同じ効果が得られます。
25013392L<perlfunc/redo> を参照してください。
25023393
25033394=item Can't remove %s: %s, skipping file
25043395
25053396=begin original
25063397
25073398(S inplace) You requested an inplace edit without creating a backup
25083399file. Perl was unable to remove the original file to replace it with
25093400the modified file. The file was left unmodified.
25103401
25113402=end original
25123403
25133404(S inplace) バックアップを作成せずにその場編集することを要求しました。
25143405Perl は変更したファイルで置き換えるために元のファイルを削除することが
25153406できませんでした。
25163407ファイルは変更されずに残されます。
25173408
3409=item Can't rename in-place work file '%s' to '%s': %s
3410
3411=begin original
3412
3413(F) When closed implicitly, the temporary file for in-place editing
3414couldn't be renamed to the original filename.
3415
3416=end original
3417
3418(F) その場編集のための一時ファイルが暗黙に閉じられたとき、
3419元のファイル名にリネームできませんでした。
3420
25183421=item Can't rename %s to %s: %s, skipping file
25193422
25203423=begin original
25213424
2522(S inplace) The rename done by the B<-i> switch failed for some reason,
3425(F) The rename done by the B<-i> switch failed for some reason,
25233426probably because you don't have write permission to the directory.
25243427
25253428=end original
25263429
2527(S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、
3430(F) B<-i> スイッチで行なわれた rename が何らかの理由によって、
25283431うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。
25293432
25303433=item Can't reopen input pipe (name: %s) in binary mode
25313434
25323435=begin original
25333436
25343437(P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried
25353438to reopen it to accept binary data. Alas, it failed.
25363439
25373440=end original
25383441
25393442(P) VMS に固有のエラーです。
25403443Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために
25413444再オープンしようとしました。
25423445悲しいかな、それは失敗しました。
25433446
3447=item Can't represent character for Ox%X on this platform
3448
3449=begin original
3450
3451(F) There is a hard limit to how big a character code point can be due
3452to the fundamental properties of UTF-8, especially on EBCDIC
3453platforms. The given code point exceeds that. The only work-around is
3454to not use such a large code point.
3455
3456=end original
3457
3458(F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります;
3459これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。
3460指定された符号位置はそれを越えています。
3461唯一の回避策はそのような大きな符号位置を使わないことです。
3462
3463=item Can't reset %ENV on this system
3464
3465=begin original
3466
3467(F) You called C<reset('E')> or similar, which tried to reset
3468all variables in the current package beginning with "E". In
3469the main package, that includes %ENV. Resetting %ENV is not
3470supported on some systems, notably VMS.
3471
3472=end original
3473
3474(F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる
3475全ての変数を reset しようとしました。
3476main パッケージでは、これには %ENV が含まれます。
3477%ENV の reset は一部のシステム、特に VMS では対応していません。
3478
25443479=item Can't resolve method "%s" overloading "%s" in package "%s"
25453480
25463481=begin original
25473482
2548(F|P) Error resolving overloading specified by a method name (as opposed
3483(F)(P) Error resolving overloading specified by a method name (as
2549to a subroutine reference): no such method callable via the package. If
3484opposed to a subroutine reference): no such method callable via the
2550the method name is C<???>, this is an internal error.
3485package. If the method name is C<???>, this is an internal error.
25513486
25523487=end original
25533488
2554(F|P) (サブルーチンのリファレンスではなく)メソッド名で指定された
3489(F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された
25553490オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で
25563491呼び出せません。
25573492もしメソッド名が C<???> なら、内部エラーです。
25583493
25593494=item Can't return %s from lvalue subroutine
25603495
25613496=begin original
25623497
25633498(F) Perl detected an attempt to return illegal lvalues (such as
25643499temporary or readonly values) from a subroutine used as an lvalue. This
25653500is not allowed.
25663501
25673502=end original
25683503
25693504(F) Perl が、左辺値として使われるサブルーチンから(一時的や
25703505読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。
25713506これは認められていません。
25723507
25733508=item Can't return outside a subroutine
25743509
25753510=begin original
25763511
25773512(F) The return statement was executed in mainline code, that is, where
25783513there was no subroutine call to return out of. See L<perlsub>.
25793514
25803515=end original
25813516
25823517(F) return 文が、return で抜けるべきサブルーチンがない、
25833518"main" コードで実行されました。
25843519L<perlsub> を参照してください。
25853520
25863521=item Can't return %s to lvalue scalar context
25873522
25883523=begin original
25893524
2590(F) You tried to return a complete array or hash from an lvalue subroutine,
3525(F) You tried to return a complete array or hash from an lvalue
2591but you called the subroutine in a way that made Perl think you meant
3526subroutine, but you called the subroutine in a way that made Perl
2592to return only one value. You probably meant to write parentheses around
3527think you meant to return only one value. You probably meant to
2593the call to the subroutine, which tell Perl that the call should be in
3528write parentheses around the call to the subroutine, which tell
2594list context.
3529Perl that the call should be in list context.
25953530
25963531=end original
25973532
25983533(F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、
25993534一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを
26003535呼び出しました。
26013536おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、
26023537サブルーチン呼び出しの周りにかっこを書いているのでしょう。
26033538
2604=item Can't stat script "%s"
2605
2606=begin original
2607
2608(P) For some reason you can't fstat() the script even though you have it
2609open already. Bizarre.
2610
2611=end original
2612
2613(P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が
2614行なえません。困ったもんだ。
2615
26163539=item Can't take log of %g
26173540
26183541=begin original
26193542
26203543(F) For ordinary real numbers, you can't take the logarithm of a
2621negative number or zero. There's a Math::Complex package that comes
3544negative number or zero. There's a Math::Complex package that comes
26223545standard with Perl, though, if you really want to do that for the
26233546negative numbers.
26243547
26253548=end original
26263549
26273550(F) 実数に対しては、負数や 0 に対する対数を取ることはできません。
26283551しかし、もし本当に負数に対してそのようなことをしたいのなら、
26293552Perl 標準になっている Math::Complex パッケージがあります。
26303553
26313554=item Can't take sqrt of %g
26323555
26333556=begin original
26343557
26353558(F) For ordinary real numbers, you can't take the square root of a
26363559negative number. There's a Math::Complex package that comes standard
26373560with Perl, though, if you really want to do that.
26383561
26393562=end original
26403563
26413564(F) 通常の実数では、負数の平方根をとることはできません。
26423565しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが
26433566Perl に標準で用意されています。
26443567
26453568=item Can't undef active subroutine
26463569
26473570=begin original
26483571
26493572(F) You can't undefine a routine that's currently running. You can,
26503573however, redefine it while it's running, and you can even undef the
26513574redefined subroutine while the old routine is running. Go figure.
26523575
26533576=end original
26543577
26553578(F) 実行中のルーティンを未定義にすることはできません。
26563579しかし、実行中に再定義することはでき、古いルーティンを実行中に、
26573580再定義したサブルーチンを undef することさえできます。
26583581驚きです。
26593582
3583=item Can't unweaken a nonreference
3584
3585=begin original
3586
3587(F) You attempted to unweaken something that was not a reference. Only
3588references can be unweakened.
3589
3590=end original
3591
3592(F) リファレンスでないものを弱くないようにしようとしました。
3593リファレンスだけが弱くないようにできます。
3594
26603595=item Can't upgrade %s (%d) to %d
26613596
26623597=begin original
26633598
26643599(P) The internal sv_upgrade routine adds "members" to an SV, making it
26653600into a more specialized kind of SV. The top several SV types are so
26663601specialized, however, that they cannot be interconverted. This message
26673602indicates that such a conversion was attempted.
26683603
26693604=end original
26703605
26713606(P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、
26723607より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、
26733608特殊化され過ぎて、内部変換することができません。
26743609このメッセージは、そのような変更を行なおうとしたことを示しています。
26753610
3611=item Can't use '%c' after -mname
3612
3613=begin original
3614
3615(F) You tried to call perl with the B<-m> switch, but you put something
3616other than "=" after the module name.
3617
3618=end original
3619
3620(F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に
3621"=" 以外のものを置きました。
3622
3623=item Can't use a hash as a reference
3624
3625=begin original
3626
3627(F) You tried to use a hash as a reference, as in
3628C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl
3629<= 5.22.0 used to allow this syntax, but shouldn't
3630have. This was deprecated in perl 5.6.1.
3631
3632=end original
3633
3634(F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、
3635ハッシュをリファレンスとして使おうとしました。
3636<= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、
3637そうするべきではありません。
3638これは perl 5.6.1 から廃止予定です。
3639
3640=item Can't use an array as a reference
3641
3642=begin original
3643
3644(F) You tried to use an array as a reference, as in
3645C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0
3646used to allow this syntax, but shouldn't have. This
3647was deprecated in perl 5.6.1.
3648
3649=end original
3650
3651(F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、
3652配列をリファレンスとして使おうとしました。
3653<= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、
3654そうするべきではありません。
3655これは perl 5.6.1 から廃止予定です。
3656
26763657=item Can't use anonymous symbol table for method lookup
26773658
26783659=begin original
26793660
26803661(F) The internal routine that does method lookup was handed a symbol
26813662table that doesn't have a name. Symbol tables can become anonymous
26823663for example by undefining stashes: C<undef %Some::Package::>.
26833664
26843665=end original
26853666
26863667(F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを
26873668扱いました。
26883669シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の
26893670stash によって無名となります。
26903671
26913672=item Can't use an undefined value as %s reference
26923673
26933674=begin original
26943675
26953676(F) A value used as either a hard reference or a symbolic reference must
26963677be a defined value. This helps to delurk some insidious errors.
26973678
26983679=end original
26993680
27003681(F) ハードリファレンスやシンボリックリファレンスとして使用する値は、
27013682定義済みの値でなければなりません。
27023683潜伏中のエラーを引きずり出す助けとなります。
27033684
27043685=item Can't use bareword ("%s") as %s ref while "strict refs" in use
27053686
27063687=begin original
27073688
27083689(F) Only hard references are allowed by "strict refs". Symbolic
27093690references are disallowed. See L<perlref>.
27103691
27113692=end original
27123693
27133694(F) "strict refs" によって、ハードリファレンスのみが許可されます。
27143695シンボリックリファレンスは許可されません。
27153696L<perlref> を参照してください。
27163697
27173698=item Can't use %! because Errno.pm is not available
27183699
27193700=begin original
27203701
2721(F) The first time the %! hash is used, perl automatically loads the
3702(F) The first time the C<%!> hash is used, perl automatically loads the
2722Errno.pm module. The Errno module is expected to tie the %! hash to
3703Errno.pm module. The Errno module is expected to tie the %! hash to
27233704provide symbolic names for C<$!> errno values.
27243705
27253706=end original
27263707
2727(F) 最初に %! ハッシュが使われるときに、
3708(F) 最初に C<%!> ハッシュが使われるときに、
27283709perl は自動的に Errno.pm モジュールを読み込みます。
27293710Errno モジュールは C<$!> errno 値のシンボリック名を提供するために
27303711%! ハッシュと tie されることになります。
27313712
27323713=item Can't use both '<' and '>' after type '%c' in %s
27333714
27343715=begin original
27353716
27363717(F) A type cannot be forced to have both big-endian and little-endian
27373718byte-order at the same time, so this combination of modifiers is not
27383719allowed. See L<perlfunc/pack>.
27393720
27403721=end original
27413722
27423723(F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に
27433724強制することはできないので、この修飾子の組み合わせは許可されません。
27443725L<perlfunc/pack> を参照してください。
27453726
3727=item Can't use 'defined(@array)' (Maybe you should just omit the defined()?)
3728
3729=begin original
3730
3731(F) defined() is not useful on arrays because it
3732checks for an undefined I<scalar> value. If you want to see if the
3733array is empty, just use C<if (@array) { # not empty }> for example.
3734
3735=end original
3736
3737(F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。
3738配列が空かどうかを調べたい場合は、例えば単に
3739C<if (@array) { # not empty }> としてください。
3740
3741=item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?)
3742
3743=begin original
3744
3745(F) C<defined()> is not usually right on hashes.
3746
3747=end original
3748
3749(F) C<defined()> は普通はハッシュの右側ではありません。
3750
3751=begin original
3752
3753Although C<defined %hash> is false on a plain not-yet-used hash, it
3754becomes true in several non-obvious circumstances, including iterators,
3755weak references, stash names, even remaining true after C<undef %hash>.
3756These things make C<defined %hash> fairly useless in practice, so it now
3757generates a fatal error.
3758
3759=end original
3760
3761まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、
3762いくつかの明白でない状況では新になります; これには反復し、弱い参照、
3763stash 名を含み、C<undef %hash> の後でも真になります。
3764これらにより、実践では C<defined %hash> はほとんど使えないので、
3765致命的エラーを生成するようになりました。
3766
3767=begin original
3768
3769If a check for non-empty is what you wanted then just put it in boolean
3770context (see L<perldata/Scalar values>):
3771
3772=end original
3773
3774空でないことをチェックしたいなら、単にこれを真偽値コンテキストに
3775置いてください (L<perldata/Scalar values> を参照してください):
3776
3777 if (%hash) {
3778 # not empty
3779 }
3780
3781=begin original
3782
3783If you had C<defined %Foo::Bar::QUUX> to check whether such a package
3784variable exists then that's never really been reliable, and isn't
3785a good way to enquire about the features of a package, or whether
3786it's loaded, etc.
3787
3788=end original
3789
3790パッケージ変数が存在するかどうかを調べるために
3791C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が
3792なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる
3793良い方法ではありません。
3794
27463795=item Can't use %s for loop variable
27473796
27483797=begin original
27493798
2750(F) Only a simple scalar variable may be used as a loop variable on a
3799(P) The parser got confused when trying to parse a C<foreach> loop.
2751foreach.
27523800
27533801=end original
27543802
2755(F) 単純スカラ変数だけforeach ループ変数とし
3803(P) パーサ C<foreach> ループをパースしようとしたときに混乱しました。
2756使用することができます。
27573804
2758=item Can't use global %s in "%s"
3805=item Can't use global %s in %s
27593806
27603807=begin original
27613808
27623809(F) You tried to declare a magical variable as a lexical variable. This
27633810is not allowed, because the magic can be tied to only one location
27643811(namely the global variable) and it would be incredibly confusing to
27653812have variables in your program that looked like magical variables but
27663813weren't.
27673814
27683815=end original
27693816
27703817(F) マジカル変数を、字句スコープ変数として宣言しようとしました。
27713818これが許されていないのは、マジカル変数は(グローバル変数という名前の)
277238191 か所だけに結び付けられているので、マジカル変数のように見えるけれども
27733820そうではない変数がプログラム中にあると、著しく混乱させるからです。
27743821
27753822=item Can't use '%c' in a group with different byte-order in %s
27763823
27773824=begin original
27783825
27793826(F) You attempted to force a different byte-order on a type
27803827that is already inside a group with a byte-order modifier.
27813828For example you cannot force little-endianness on a type that
27823829is inside a big-endian group.
27833830
27843831=end original
27853832
27863833(F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を
27873834強制しようとしました。
27883835例えば、ビッグエンディアングループの中にある型をリトルエンディアンに
27893836強制することはできません。
27903837
27913838=item Can't use "my %s" in sort comparison
27923839
27933840=begin original
27943841
27953842(F) The global variables $a and $b are reserved for sort comparisons.
27963843You mentioned $a or $b in the same line as the <=> or cmp operator,
27973844and the variable had earlier been declared as a lexical variable.
27983845Either qualify the sort variable with the package name, or rename the
27993846lexical variable.
28003847
28013848=end original
28023849
28033850(F) グローバル変数 $a と $b はソート比較のために予約されています。
28043851$a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は
28053852その前にレキシカル変数として宣言されています。
2806ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を
3853ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
2807変更してください。
28083854
28093855=item Can't use %s ref as %s ref
28103856
28113857=begin original
28123858
28133859(F) You've mixed up your reference types. You have to dereference a
28143860reference of the type needed. You can use the ref() function to
28153861test the type of the reference, if need be.
28163862
28173863=end original
28183864
28193865(F) リファレンス型を混同しています。
28203866必要な型のリファレンスを被参照しなければなりません。
28213867必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。
28223868
28233869=item Can't use string ("%s") as %s ref while "strict refs" in use
28243870
3871=item Can't use string ("%s"...) as %s ref while "strict refs" in use
3872
28253873=begin original
28263874
2827(F) Only hard references are allowed by "strict refs". Symbolic
3875(F) You've told Perl to dereference a string, something which
2828references are disallowed. See L<perlref>.
3876C<use strict> blocks to prevent it happening accidentally. See
3877L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$>
3878in a double-quoted string immediately before interpolating a variable,
3879for example in C<"user @$twitter_id">, which says to treat the contents
3880of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@>
3881symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">.
28293882
28303883=end original
28313884
2832(F) "strict refs" によって、ハードリファレンスのみが許可されま
3885(F) 文字列をデリファレンスするように Perl に指示しましたが、
2833シンボリックリファレンスは許可されません
3886C<use strict> ブロックがこが偶然起きることを妨げした
2834L<perlref> を参照してください。
3887L<perlref/"Symbolic references"> を参照してください。
3888これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で
3889引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の
3890内容を配列リファレンスとして扱うように指示しています;
3891リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには
3892C<\> を使ってください: C<"user \@$twitter_id">。
28353893
28363894=item Can't use subscript on %s
28373895
28383896=begin original
28393897
28403898(F) The compiler tried to interpret a bracketed expression as a
28413899subscript. But to the left of the brackets was an expression that
28423900didn't look like a hash or array reference, or anything else subscriptable.
28433901
28443902=end original
28453903
28463904(F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。
28473905しかし、大かっこの左側はハッシュか配列のリファレンスやその他の
28483906添字化できるもののようには見えない式です。
28493907
28503908=item Can't use \%c to mean $%c in expression
28513909
28523910=begin original
28533911
28543912(W syntax) In an ordinary expression, backslash is a unary operator that
28553913creates a reference to its argument. The use of backslash to indicate a
28563914backreference to a matched substring is valid only as part of a regular
28573915expression pattern. Trying to do this in ordinary Perl code produces a
28583916value that prints out looking like SCALAR(0xdecaf). Use the $1 form
28593917instead.
28603918
28613919=end original
28623920
28633921(W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る
28643922単項演算子です。
28653923マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は
28663924正規表現パターンの一部の場合にのみ有効です。
28673925通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように
28683926表示される値を生成します。
28693927代わりに $1 の形を使ってください。
28703928
2871=item Can't use "when" outside a topicalizer
3929=item Can't weaken a nonreference
28723930
28733931=begin original
28743932
3933(F) You attempted to weaken something that was not a reference. Only
3934references can be weakened.
3935
3936=end original
3937
3938(F) リファレンスではない何かを弱めようとしました。
3939リファレンスだけが弱めることができます。
3940
3941=item Can't "when" outside a topicalizer
3942
3943=begin original
3944
28753945(F) You have used a when() block that is neither inside a C<foreach>
2876loop nor a C<given> block. (Note that this error is issued on exit
3946loop nor a C<given> block. (Note that this error is issued on exit
28773947from the C<when> block, so you won't get the error if the match fails,
28783948or if you use an explicit C<continue>.)
28793949
28803950=end original
28813951
28823952(F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを
28833953使いました。
28843954(このエラーは C<when> ブロックから終了したときに発生するので、マッチングに
28853955失敗したときや、明示的な C<continue> を使った場合はこのエラーは
28863956発生しません。)
28873957
2888=item Can't weaken a nonreference
2889
2890=begin original
2891
2892(F) You attempted to weaken something that was not a reference. Only
2893references can be weakened.
2894
2895=end original
2896
2897(F) リファレンスではない何かを弱めようとしました。
2898リファレンスだけが弱めることができます。
2899
29003958=item Can't x= to read-only value
29013959
29023960=begin original
29033961
29043962(F) You tried to repeat a constant value (often the undefined value)
29053963with an assignment operator, which implies modifying the value itself.
29063964Perhaps you need to copy the value to a temporary, and repeat that.
29073965
29083966=end original
29093967
29103968(F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、
29113969代入演算子で繰り返しを行なおうとしました。
29123970テンポラリ変数に値を移してから、繰り返すと良いでしょう。
29133971
2914=item Character following "\c" must be ASCII
3972=item catch block requires a (VAR)
29153973
29163974=begin original
29173975
2918(F|W deprecated, syntax) In C<\cI<X>>, I<X> must be an ASCII character.
3976(F) You tried to use the C<try> and C<catch> syntax of C<use feature 'try'>
2919It is planned to make this fatal in all instances in Perl 5.16. In the
3977but did not include the error variable in the C<catch> block. The
2920cases where it isn't fatal, the character this evaluates to is
3978parenthesized variable name is not optional, unlike in some other forms of
2921derived by exclusive or'ing the code point of this character with 0x40.
3979syntax you may be familiar with from CPAN modules or other languages.
29223980
29233981=end original
29243982
2925(F|W deprecated, syntax) C<\cI<X>> いてI<X> は
3983(F) C<use feature 'try'> の C<try> C<catch> の構文を使うとしましたが
2926ASCII 文字でなければなりません。
3984but did not include the error variable in the
2927これは Perl 5.16 で全て致命的エラーにすることが計画されていま
3985C<catch> ブロックのエラー変数を含んでいませんでした
2928致命的エラーではな場合、これが評価され文字は、こ文字符号位置
3986CPAN モジュルや他の言語親しんでいるかもしれない他形式構文異なり、
29290x40 の排他的論理和をとたもので
3987こ付き変数名はオプションはありません
29303988
29313989=begin original
29323990
2933Note that non-alphabetic ASCII characters are discouraged here as well.
3991The required syntax is
29343992
29353993=end original
29363994
2937非英字 ASCII 非推奨あることに注意してください。
3995要求される法は次のす:
29383996
2939=item Character in 'C' format wrapped in pack
3997 try { ... }
3998 catch ($var) { ... }
29403999
4000=item Changing use VERSION while another use VERSION is in scope is now deprecated
4001
29414002=begin original
29424003
2943(W pack) You said
4004(W deprecated) Once you have a C<use VERSION> statement in scope, any
4005C<use VERSION> statement that requests a different version is now deprecated,
4006due to the increasing complexity of swapping from one prevailing version to
4007another.
29444008
29454009=end original
29464010
2947(W pack) 以下のよう書きました:
4011(W deprecated) スコープ内 C<use VERSION> 文あると、別のバージョンを
4012要求する C<use VERSION> 文は廃止予定になりました;
4013これは、一つの広まったバージョンから別のバージョンへの交換が
4014複雑になるためです。
29484015
2949 pack("C", $x)
4016=begin original
29504017
4018It is suggested that you do not try to mix multiple different version
4019declarations within the same file as it leads to complex behaviours about the
4020visibility of features and builtin functions, as well as confusing human
4021readers.
4022
4023=end original
4024
4025同じファイル内に複数の異なるバージョン宣言を混在させないようにすることを
4026勧めます;
4027混在させると、機能や組み込み関数の可視性に関する動作が複雑になり、
4028人間の読者を混乱させることになります。
4029
29514030=begin original
29524031
2953where $x is either less than 0 or more than 255; the C<"C"> format is
4032If it is essential to have different C<use VERSION> declarations in different
2954only for encoding native operating system characters (ASCII, EBCDIC,
4033regions of the same file, you should surround each one by its own enclosing
2955and so on) and not for Unicode characters, so Perl behaved as if you meant
4034scope so the two do not mix.
29564035
29574036=end original
29584037
2959$x は 0 より小さいか 255 より大きいす; C<"C"> フォーマットは
4038同じファイルの異なる領域異なる C<use VERSION> 宣言を使用する必要がある
2960ネイティブ OS 文字 (ASCII, EBCDIC ど) エンコーディングだけに
4039場合は、二つの宣言が混在しいように、それぞれを独自コープで囲む
2961対応していて、Unicode 文字は対応していせん;
4040必要がありす。
2962それで、Perl は以下のように意味しているかのように振舞います:
29634041
2964 pack("C", $x & 255)
4042 {
4043 use v5.20;
4044 ...
4045 }
4046 {
4047 use v5.36;
4048 ...
4049 }
29654050
4051=item Character following "\c" must be printable ASCII
4052
29664053=begin original
29674054
2968If you actually want to pack Unicode codepoints, use the C<"U"> format
4055(F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character.
2969instead.
29704056
29714057=end original
29724058
2973Unicode コードポイントを pack した場合は代わりに C<"U"> フォーマットを
4059(F) C<\cI<X>> におI<X> は表示可能な ASCII 文字でなければなりません。
2974使ってください。
29754060
2976=item Character in 'W' format wrapped in pack
4061=begin original
29774062
4063Note that ASCII characters that don't map to control characters are
4064discouraged, and will generate the warning (when enabled)
4065L</""\c%c" is more clearly written simply as "%s"">.
4066
4067=end original
4068
4069制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください;
4070そして (有効になっていれば)
4071L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。
4072
4073=item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/
4074
29784075=begin original
29794076
4077(F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You
4078specified something that isn't a legal Unicode property name. Most
4079Unicode properties are specified by C<\p{...}>. But if the name is a
4080single character one, the braces may be omitted.
4081
4082=end original
4083
4084(F) (前述の C<%c> は C<p> か C<P> に置き換えられます。)
4085正当な Unicode 特性名ではない何かをしていしました。
4086ほとんどの Unicode 特性は C<\p{...}> として指定されます。
4087しかし、名前が一文字の場合、中かっこは省略できます。
4088
4089=item Character in 'C' format wrapped in pack
4090
4091=begin original
4092
29804093(W pack) You said
29814094
29824095=end original
29834096
29844097(W pack) 以下のように書きましたが:
29854098
2986 pack("U0W", $x)
4099 pack("C", $x)
29874100
29884101=begin original
29894102
2990where $x is either less than 0 or more than 255. However, C<U0>-mode expects
4103where $x is either less than 0 or more than 255; the C<"C"> format is
2991all values to fall in the interval [0, 255], so Perl behaved as if you
4104only for encoding native operating system characters (ASCII, EBCDIC,
2992meant:
4105and so on) and not for Unicode characters, so Perl behaved as if you meant
29934106
29944107=end original
29954108
2996$x 0 より小さいか 255 より大きいです
4109$x 0 より小さいか 255 より大きいです; C<"C"> フォーマットは
2997しかし、C<U0>-モードは全ての値が [0, 255]範囲あることを想定してるので、
4110ネイティブ OS 文字 (ASCII, EBCDIC など) エンコーディングだけ
2998Perl以下のように振る舞います:
4111対応していて、Unicode 文字対応していません;
4112それで、Perl は以下のように意味しているかのように振舞います:
29994113
3000 pack("U0W", $x & 255)
4114 pack("C", $x & 255)
30014115
4116=begin original
4117
4118If you actually want to pack Unicode codepoints, use the C<"U"> format
4119instead.
4120
4121=end original
4122
4123Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを
4124使ってください。
4125
30024126=item Character in 'c' format wrapped in pack
30034127
30044128=begin original
30054129
30064130(W pack) You said
30074131
30084132=end original
30094133
30104134(W pack) 以下のように書きましたが:
30114135
30124136 pack("c", $x)
30134137
30144138=begin original
30154139
30164140where $x is either less than -128 or more than 127; the C<"c"> format
30174141is only for encoding native operating system characters (ASCII, EBCDIC,
30184142and so on) and not for Unicode characters, so Perl behaved as if you meant
30194143
30204144=end original
30214145
30224146$x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは
30234147ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに
30244148対応していて、Unicode 文字は対応していません;
30254149それで、Perl は以下のように意味しているかのように振舞います:
30264150
30274151 pack("c", $x & 255);
30284152
30294153=begin original
30304154
30314155If you actually want to pack Unicode codepoints, use the C<"U"> format
30324156instead.
30334157
30344158=end original
30354159
30364160Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを
30374161使ってください。
30384162
30394163=item Character in '%c' format wrapped in unpack
30404164
30414165=begin original
30424166
30434167(W unpack) You tried something like
30444168
30454169=end original
30464170
30474171(W unpack) 以下のようなことをしましたが:
30484172
30494173 unpack("H", "\x{2a1}")
30504174
30514175=begin original
30524176
30534177where the format expects to process a byte (a character with a value
3054below 256), but a higher value was provided instead. Perl uses the value
4178below 256), but a higher value was provided instead. Perl uses the
3055modulus 256 instead, as if you had provided:
4179value modulus 256 instead, as if you had provided:
30564180
30574181=end original
30584182
30594183ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、
30604184文字の中により大きな値のものがあります。
30614185Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
30624186値として使います:
30634187
30644188 unpack("H", "\x{a1}")
30654189
4190=item Character in 'W' format wrapped in pack
4191
4192=begin original
4193
4194(W pack) You said
4195
4196=end original
4197
4198(W pack) 以下のように書きましたが:
4199
4200 pack("U0W", $x)
4201
4202=begin original
4203
4204where $x is either less than 0 or more than 255. However, C<U0>-mode
4205expects all values to fall in the interval [0, 255], so Perl behaved
4206as if you meant:
4207
4208=end original
4209
4210$x が 0 より小さいか 255 より大きいです。
4211しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、
4212Perl は以下のように振る舞います:
4213
4214 pack("U0W", $x & 255)
4215
30664216=item Character(s) in '%c' format wrapped in pack
30674217
30684218=begin original
30694219
30704220(W pack) You tried something like
30714221
30724222=end original
30734223
30744224(W pack) 以下のようなことをしましたが:
30754225
30764226 pack("u", "\x{1f3}b")
30774227
30784228=begin original
30794229
30804230where the format expects to process a sequence of bytes (character with a
3081value below 256), but some of the characters had a higher value. Perl
4231value below 256), but some of the characters had a higher value. Perl
30824232uses the character values modulus 256 instead, as if you had provided:
30834233
30844234=end original
30854235
30864236ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、
30874237文字の中により大きな値のものがあります。
30884238Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
30894239値として使います:
30904240
30914241 pack("u", "\x{f3}b")
30924242
30934243=item Character(s) in '%c' format wrapped in unpack
30944244
30954245=begin original
30964246
30974247(W unpack) You tried something like
30984248
30994249=end original
31004250
31014251(W unpack) 以下のようなことをしましたが:
31024252
31034253 unpack("s", "\x{1f3}b")
31044254
31054255=begin original
31064256
31074257where the format expects to process a sequence of bytes (character with a
3108value below 256), but some of the characters had a higher value. Perl
4258value below 256), but some of the characters had a higher value. Perl
31094259uses the character values modulus 256 instead, as if you had provided:
31104260
31114261=end original
31124262
31134263ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、
31144264文字の中により大きな値のものがあります。
31154265Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
31164266値として使います:
31174267
31184268 unpack("s", "\x{f3}b")
31194269
3120=item "\c{" is deprecated and is more clearly written as ";"
4270=item charnames alias definitions may not contain a sequence of multiple
4271spaces; marked by S<<-- HERE> in %s
31214272
31224273=begin original
31234274
3124(D deprecated, syntax) The C<\cI<X>> construct is intended to be a way
4275(F) You defined a character name which had multiple space characters
3125to specify non-printable characters. You used it with a "{" which
4276in a row. Change them to single spaces. Usually these names are
3126evaluates to ";", which is printable. It is planned to remove the
4277defined in the C<:alias> import argument to C<use charnames>, but they
3127ability to specify a semi-colon this way in Perl 5.16. Just use a
4278could be defined by a translator installed into C<$^H{charnames}>. See
3128semi-colon or a backslash-semi-colon without the "\c".
4279L<charnames/CUSTOM ALIASES>.
31294280
31304281=end original
31314282
3132(D deprecated, syntax) C<\cI<X>> 構は非表示文字をする方法を
4283(F) 連続して複数のスペース字を持つ文字を定義しました。
3133意図しています
4284単一のスペースに変更してください。
3134これを、表示文字である ";" を評価するために "{" 付き使いました。
4285普通はこれらの名前は C<use charnames> C<:alias> インポート引数
3135evaluates to ";", which is printable.
4286定義されますが、C<$^H{charnames}> にインストールされた変換器で
3136このようにしてセミコロンを指方法は Perl 5.16 で取り除かれる予定です
4287義されているかも知ません
3137"\c" なしで単にセミコロンまたは逆スラッシュ-セミコロン使ってください。
4288L<charnames/CUSTOM ALIASES> 参照してください。
31384289
4290=item chdir() on unopened filehandle %s
4291
4292=begin original
4293
4294(W unopened) You tried chdir() on a filehandle that was never opened.
4295
4296=end original
4297
4298(W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。
4299
31394300=item "\c%c" is more clearly written simply as "%s"
31404301
31414302=begin original
31424303
31434304(W syntax) The C<\cI<X>> construct is intended to be a way to specify
3144non-printable characters. You used it for a printable one, which is better
4305non-printable characters. You used it for a printable one, which
3145written as simply itself, perhaps preceded by a backslash for non-word
4306is better written as simply itself, perhaps preceded by a backslash
3146characters.
4307for non-word characters. Doing it the way you did is not portable
4308between ASCII and EBCDIC platforms.
31474309
31484310=end original
31494311
31504312(W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。
31514313これを表示文字に使いました; おそらく(おそらく非単語文字のために
31524314逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。
4315この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。
31534316
3154=item close() on unopened filehandle %s
4317=item Class already has a superclass, cannot add another
31554318
31564319=begin original
31574320
3158(W unopened) You tried to close a filehandle that was never opened.
4321(F) You attempted to specify a second superclass for a C<class> by using
4322the C<:isa> attribute, when one is already specified. Unlike classes
4323whose instances are created with C<bless>, classes created via the
4324C<class> keyword cannot have more than one superclass.
31594325
31604326=end original
31614327
3162(W unopened) プンされていないファイルハンドルをクローズしようしました。
4328(F) C<class> にすでに一つ目のスパークラスが指定されていきに、
4329C<:isa> 属性を使うことによって二つ目のスーパークラスを指定しようとしました。
4330実体が C<bless> で作られるクラスと異なり、C<class> キーワード経由で
4331作られるクラスは複数のスーパークラスを持つことは出来ません。
31634332
4333=item Class attribute %s requires a value
4334
4335=begin original
4336
4337(F) You specified an attribute for a class that would require a value to
4338be passed in parentheses, but did not provide one. Remember that
4339whitespace is B<not> permitted between the attribute name and its value;
4340you must write this as
4341
4342=end original
4343
4344(F) クラスの属性として、かっこに囲まれた値が要求されたところで、
4345それがありませんでした。
4346属性名とその値の間に空白は B<許されない> ことを忘れないでください;
4347次のように書かなければなりません:
4348
4349 class Example::Class :attr(VALUE) ...
4350
4351=item class is experimental
4352
4353=begin original
4354
4355(S experimental::class) This warning is emitted if you use the C<class>
4356keyword of C<use feature 'class'>. This keyword is currently
4357experimental and its behaviour may change in future releases of Perl.
4358
4359=end original
4360
4361(S experimental::class) この警告は、C<use feature 'class'> の
4362C<class> キーワードを使うと発生します。
4363このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される
4364可能性があります。
4365
4366=item Class :isa attribute requires a class but "%s" is not one
4367
4368=begin original
4369
4370(F) When creating a subclass using the C<class> C<:isa> attribute, the
4371named superclass must also be a real class created using the C<class>
4372keyword.
4373
4374=end original
4375
4376(F) C<class> C<:isa> 属性を使ってサブクラスを作るとき、
4377指定されたスーパークラスも C<class> キーワードを使って作った
4378実際のクラスでなければなりません。
4379
4380=item Cloning substitution context is unimplemented
4381
4382=begin original
4383
4384(F) Creating a new thread inside the C<s///> operator is not supported.
4385
4386=end original
4387
4388(F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。
4389
31644390=item closedir() attempted on invalid dirhandle %s
31654391
31664392=begin original
31674393
31684394(W io) The dirhandle you tried to close is either closed or not really
31694395a dirhandle. Check your control flow.
31704396
31714397=end original
31724398
31734399(W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には
31744400ディレクトリハンドルではありません。
31754401制御フローをチェックしてください。
31764402
4403=item close() on unopened filehandle %s
4404
4405=begin original
4406
4407(W unopened) You tried to close a filehandle that was never opened.
4408
4409=end original
4410
4411(W unopened) オープンされていないファイルハンドルをクローズしようとしました。
4412
31774413=item Closure prototype called
31784414
31794415=begin original
31804416
31814417(F) If a closure has attributes, the subroutine passed to an attribute
31824418handler is the prototype that is cloned when a new closure is created.
31834419This subroutine cannot be called.
31844420
31854421=end original
31864422
31874423(F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい
31884424クロージャが作成されたときにクローン化されたプロトタイプです。
31894425このサブルーチンは呼び出すことができません。
31904426
4427=item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/
4428
4429=begin original
4430
4431(F) The \C character class used to allow a match of single byte
4432within a multi-byte utf-8 character, but was removed in v5.24 as
4433it broke encapsulation and its implementation was extremely buggy.
4434If you really need to process the individual bytes, you probably
4435want to convert your string to one where each underlying byte is
4436stored as a character, with utf8::encode().
4437
4438=end original
4439
4440(F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに
4441マッチングできるようにしていましたが、
4442カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。
4443本当に個々のバイトを処理する必要があるなら、
4444おそらくその文字列を、utf8::encode() を使って、
4445元となっているバイトそれぞれを文字として保持する文字列に変換した方が
4446良いでしょう。
4447
31914448=item Code missing after '/'
31924449
31934450=begin original
31944451
3195(F) You had a (sub-)template that ends with a '/'. There must be another
4452(F) You had a (sub-)template that ends with a '/'. There must be
3196template code following the slash. See L<perlfunc/pack>.
4453another template code following the slash. See L<perlfunc/pack>.
31974454
31984455=end original
31994456
32004457(F) テンプレートが '/' で終わっています。
32014458スラッシュの後には他のテンプレートコードが必須です。
32024459L<perlfunc/pack> を参照してください。
32034460
3204=item Code point 0x%X is not Unicode, may not be portable
4461=item Code point 0x%X is not Unicode, and not portable
32054462
3206=item Code point 0x%X is not Unicode, no properties match it; all inverse properties do
3207
32084463=begin original
32094464
3210(W utf8, non_unicode) You had a code point above the Unicode maximum of U+10FFFF.
4465(S non_unicode portable) You had a code point that has never been in any
4466standard, so it is likely that languages other than Perl will NOT
4467understand it. This code point also will not fit in a 32-bit word on
4468ASCII platforms and therefore is non-portable between systems.
32114469
32124470=end original
32134471
3214(W utf8, non_unicode) Unicode の最大ある U+10FFFF を超えた符号位置です。
4472(S non_unicode portable) ような標準もない符号位置を使いました; 従って
4473これはおそらく Perl 以外の言語では理解できないでしょう。
4474この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、
4475システム間で移植性がありません。
32154476
32164477=begin original
32174478
3218Perl allows strings to contain a superset of Unicode code
3219points, up to the limit of what is storable in an unsigned integer on
3220your system, but these may not be accepted by other languages/systems.
32214479At one time, it was legal in some standards to have code points up to
32220x7FFF_FFFF, but not higher. Code points above 0xFFFF_FFFF require
44800x7FFF_FFFF, but not higher, and this code point is higher.
3223larger than a 32 bit word.
32244481
32254482=end original
32264483
3227Perl Unicode 符号位置のスーパーセットを含む文字列を受け入れます(最大値
4484一時期、一部の標準で0x7FFF_FFFF までの符号位置は正当でしたが、
3228システム符号なし整数として保管可能な最大値です); しかし、れら
4485それ以上はそうはありません; の符号位置それ以上です。
3229他の言語やシステムでは受け入れないかも知れません。
3230同時に、一部の標準では 0x7FFF_FFFF までの符号位置は正当ですが、それ以上は
3231そうではありません。
32320xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。
32334486
32344487=begin original
32354488
3236None of the Unicode or Perl-defined properties will match a non-Unicode
4489Acceptance of these code points is a Perl extension, and you should
3237code point. For example,
4490expect that nothing other than Perl can handle them; Perl itself on
4491EBCDIC platforms before v5.24 does not handle them.
32384492
32394493=end original
32404494
3241Unicode Perl が定義した特性が非 Unicode 符号位置に
4495このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が
3242マッチングすることはありません
4496これらを扱えるかについて何も想定するべきではありません;
3243ば、
4497v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱ません。
32444498
3245 chr(0x7FF_FFFF) =~ /\p{Any}/
3246
32474499=begin original
32484500
3249will not match, because the code point is not in Unicode. But
4501Perl also makes no guarantees that the representation of these code
4502points won't change at some point in the future, say when machines
4503become available that have larger than a 64-bit word. At that time,
4504files containing any of these, written by an older Perl might require
4505conversion before being readable by a newer Perl.
32504506
32514507=end original
32524508
3253これはマッチグしません; 符号位置は Unicode ではないからです。
4509Perl また、将来のある時点、例えば 64 ビットワード以上を
3254しかし
4510利用可能になったときに、これらの符号位置の表現が変更されないことについて
4511保証しません。
4512この時点で、より古い Perl で書かれた、このようなものをファイルは、
4513より新しい Perl で読み込めるようにする前に変換が必要です。
32554514
3256 chr(0x7FF_FFFF) =~ /\P{Any}/
4515=item Code point 0x%X is not Unicode, may not be portable
32574516
32584517=begin original
32594518
3260will match.
4519(S non_unicode) You had a code point above the Unicode maximum
4520of U+10FFFF.
32614521
32624522=end original
32634523
3264これはマッチングします。
4524(S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。
32654525
3266=item %s: Command not found
4526=begin original
32674527
4528Perl allows strings to contain a superset of Unicode code points, but
4529these may not be accepted by other languages/systems. Further, even if
4530these languages/systems accept these large code points, they may have
4531chosen a different representation for them than the UTF-8-like one that
4532Perl has, which would mean files are not exchangeable between them and
4533Perl.
4534
4535=end original
4536
4537Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、
4538これらは他の言語/システムは受け入れないかもしれません。
4539さらに、たとえこれらの言語/システムがこれらの大きな符号位置を
4540受け入れたとしても、それらは Perl の UTF-8 風のものと
4541ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが
4542交換できないことを意味します。
4543
32684544=begin original
32694545
3270(A) You've accidentally run your script through B<csh> instead of Perl.
4546On EBCDIC platforms, code points above 0x3FFF_FFFF have a different
3271Check the #! line, or manually feed your script into Perl yourself.
4547representation in Perl v5.24 than before, so any file containing these
4548that was written before that version will require conversion before
4549being readable by a later Perl.
32724550
32734551=end original
32744552
3275(A) スクリプトを perl ではなく B<csh> で実行しうとしました。
4553EBCDICラッフォームでは、Perl 5.24 では 0x3FFF_FFFFり上の符号位置は
3276#! 行をチェックするか、スクリプトを直接 Perl で起動しくださ
4554以前と異なった表現となっているので、このバージョンより前に書かれた
4555これらを含むファイルは、それ以降の Perl で読み込み可能にする前に
4556変換が必要です。
32774557
3278=item Compilation failed in require
4558=item %s: Command not found
32794559
32804560=begin original
32814561
3282(F) Perl could not compile a file specified in a C<require> statement.
4562(A) You've accidentally run your script through B<csh> or another shell
3283Perl uses this generic message when none of the errors that it
4563instead of Perl. Check the #! line, or manually feed your script into
3284encountered were severe enough to halt compilation immediately.
4564Perl yourself. The #! line at the top of your file could look like
32854565
32864566=end original
32874567
3288(F) Perl は C<require> 文で指定されファイをコンパイルきませんでした。
4568(A) スクリプトを perl なく B<csh> はその他のシェルで
3289Perl は、コンパイルを直ちに停止させるほど厳いエラーに遭遇なかっ
4569実行ようとまし
3290ときにこの一般的なメッセージ使ます
4570#! 行を確認するかスクリプト手動で Perl に渡してください。
4571ファイルの先頭の #! 行は以下のようにします:
32914572
3292=item Complex regular subexpression recursion limit (%d) exceeded
4573 #!/usr/bin/perl
32934574
4575=item %s: command not found
4576
32944577=begin original
32954578
3296(W regexp) The regular expression engine uses recursion in complex
4579(A) You've accidentally run your script through B<bash> or another shell
3297situations where back-tracking is required. Recursion depth is limited
4580instead of Perl. Check the #! line, or manually feed your script into
3298to 32766, or perhaps less in architectures where the stack cannot grow
4581Perl yourself. The #! line at the top of your file could look like
3299arbitrarily. ("Simple" and "medium" situations are handled without
3300recursion and are not subject to a limit.) Try shortening the string
3301under examination; looping in Perl code (e.g. with C<while>) rather than
3302in the regular expression engine; or rewriting the regular expression so
3303that it is simpler or backtracks less. (See L<perlfaq2> for information
3304on I<Mastering Regular Expressions>.)
33054582
33064583=end original
33074584
3308(W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では
4585(A) 誤ってスリプを Perl ではなく B<bash> やその他のシェルに渡しました。
3309再帰使用します。
4586#! 行確認るか、スクリプトを手動で Perl に渡してください
3310再帰深さは 32766、またスタックを任意増やせないアーキテクチャでは
4587ファイル先頭の #! 行以下のようします:
3311おそらくもっと小さい値に制限されています。
3312(「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は
3313ありません。)
3314調べる文字列を短くしてみてください; 正規表現エンジンではなく
3315(C<while> などの) Perl コードを使ってループするか、
3316あるいは正規表現をより単純にしたり、バックトラックが少なくなるように
3317書き換えてください。
3318(I<Mastering Regular Expressions> の情報については L<perlfaq2> を
3319参照してください。)
33204588
3321=item cond_broadcast() called on unlocked variable
4589 #!/usr/bin/perl
33224590
4591=item %s: command not found: %s
4592
33234593=begin original
33244594
3325(W threads) Within a thread-enabled program, you tried to call
4595(A) You've accidentally run your script through B<zsh> or another shell
3326cond_broadcast() on a variable which wasn't locked. The cond_broadcast()
4596instead of Perl. Check the #! line, or manually feed your script into
3327function is used to wake up another thread that is waiting in a
4597Perl yourself. The #! line at the top of your file could look like
3328cond_wait(). To ensure that the signal isn't sent before the other thread
3329has a chance to enter the wait, it is usual for the signaling thread
3330first to wait for a lock on variable. This lock attempt will only succeed
3331after the other thread has entered cond_wait() and thus relinquished the
3332lock.
33334598
33344599=end original
33354600
3336(W threads) スレッドが有効になっているログラム、ロックされてい
4601(A) ってスクリトを Perl く B<zsh> やその他のシェルに渡しました。
3337変数に対して cond_broadcast() を呼び出そうとました
4602#! 行を確認するか、スクリプトを手動で Perl に渡てください
3338cond_broadcast() 関数は cond_wait() で待ち状態になっている他スレッドを
4603ファイルの先頭の #! 行は以下ようにします:
3339起こすために使います。
3340他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に
3341するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に
3342入るのが普通です。
3343このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを
3344手放した場合にのみ成功します。
33454604
3346=item cond_signal() called on unlocked variable
4605 #!/usr/bin/perl
33474606
4607=item Compilation failed in require
4608
33484609=begin original
33494610
3350(W threads) Within a thread-enabled program, you tried to call
4611(F) Perl could not compile a file specified in a C<require> statement.
3351cond_signal() on a variable which wasn't locked. The cond_signal()
4612Perl uses this generic message when none of the errors that it
3352function is used to wake up another thread that is waiting in a
4613encountered were severe enough to halt compilation immediately.
3353cond_wait(). To ensure that the signal isn't sent before the other thread
3354has a chance to enter the wait, it is usual for the signaling thread
3355first to wait for a lock on variable. This lock attempt will only succeed
3356after the other thread has entered cond_wait() and thus relinquished the
3357lock.
33584614
33594615=end original
33604616
3361(W threads) スレッドが有効になっているプログラム、ロックされていない
4617(F) Perl は C<require> 指定されたファイルをコンパイルできませんでした。
3362変数に対して cond_signal()呼び出そうとした
4618Perl は、コンパイル直ちに停止させるほど厳いエラーに遭遇なかっ
3363cond_signal() 関数は cond_wait() で待ち状態なっている他スレ
4619とき、こ一般的なメセージ使います。
3364起こすために使います。
3365他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に
3366するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に
3367入るのが普通です。
3368このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを
3369手放した場合にのみ成功します。
33704620
33714621=item connect() on closed socket %s
33724622
33734623=begin original
33744624
33754625(W closed) You tried to do a connect on a closed socket. Did you forget
33764626to check the return value of your socket() call? See
33774627L<perlfunc/connect>.
33784628
33794629=end original
33804630
33814631(W closed) クローズされたソケットに connent を行なおうとしました。
33824632socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
33834633L<perlfunc/connect> を参照してください。
33844634
3385=item Constant(%s)%s: %s
4635=item Constant(%s): Call to &{$^H{%s}} did not return a defined value
33864636
33874637=begin original
33884638
3389(F) The parser found inconsistencies either while attempting to define
4639(F) The subroutine registered to handle constant overloading
3390an overloaded constant, or when trying to find the character name
4640(see L<overload>) or a custom charnames handler (see
3391specified in the C<\N{...}> escape. Perhaps you forgot to load the
4641L<charnames/CUSTOM TRANSLATORS>) returned an undefined value.
3392corresponding C<overload> or C<charnames> pragma? See L<charnames> and
3393L<overload>.
33944642
33954643=end original
33964644
3397(F) パーサは、オーバーロードされた定数定義しよとしときか、
4645(F) 定数オーバーロード (L<overload> 参照) うために登録された
3398C<\N{...}> エスケプで指定された文字名の検索中に矛盾を
4646サブルチンや、カスタム文字名ハンドラ
3399発見しました。
4647(L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。
3400おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを
3401忘れたのでは?
3402L<charnames> と L<overload> を参照してください。
34034648
3404=item Constant(%s)%s: %s in regex; marked by <-- HERE in m/%s/
4649=item Constant(%s): $^H{%s} is not defined
34054650
34064651=begin original
34074652
3408(F) The parser found inconsistencies while attempting to find
4653(F) The parser found inconsistencies while attempting to define an
3409the character name specified in the C<\N{...}> escape. Perhaps you
4654overloaded constant. Perhaps you forgot to load the corresponding
3410forgot to load the corresponding C<charnames> pragma?
4655L<overload> pragma?
3411See L<charnames>.
34124656
34134657=end original
34144658
3415(F) パーサC<\N{...}> エスケプで指され文字名の検索中に矛盾を
4659(F) パーサバーロード数を定義しようとしときに矛盾を発見しました。
3416発見しまし
4660おそらく対応する L<overload> プラグマを読み込むのを忘れのでは?
3417おそらく対応する C<charnames> プラグマの読み込みを忘れたのでは?
3418L<charnames> を参照してください。
34194661
34204662=item Constant is not %s reference
34214663
34224664=begin original
34234665
34244666(F) A constant value (perhaps declared using the C<use constant> pragma)
34254667is being dereferenced, but it amounts to the wrong type of reference.
3426The message indicates the type of reference that was expected. This
4668The message indicates the type of reference that was expected. This
34274669usually indicates a syntax error in dereferencing the constant value.
34284670See L<perlsub/"Constant Functions"> and L<constant>.
34294671
34304672=end original
34314673
34324674(F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が
34334675デリファレンスされましたが、間違った型のリファレンスになりました。
34344676このメッセージは想定されたリファレンスの型を示しています。
34354677これは普通定数値をデリファレンスするときの文法エラーを示しています。
34364678L<perlsub/"Constant Functions"> と L<constant> を参照してください。
34374679
4680=item Constants from lexical variables potentially modified elsewhere are no longer permitted
4681
4682=begin original
4683
4684(F) You wrote something like
4685
4686=end original
4687
4688(F) 次のようなものを書きました:
4689
4690 my $var;
4691 $sub = sub () { $var };
4692
4693=begin original
4694
4695but $var is referenced elsewhere and could be modified after the C<sub>
4696expression is evaluated. Either it is explicitly modified elsewhere
4697(C<$var = 3>) or it is passed to a subroutine or to an operator like
4698C<printf> or C<map>, which may or may not modify the variable.
4699
4700=end original
4701
4702しかし $var はどこか別の場所へのリファレンスで、
4703C<sub> 式が評価された後に変更されるかもしれません。
4704どこかで明示的に変更されたり、(C<$var = 3>) 、
4705変数を変更するかどうかわからない、
4706C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。
4707
4708=begin original
4709
4710Traditionally, Perl has captured the value of the variable at that
4711point and turned the subroutine into a constant eligible for inlining.
4712In those cases where the variable can be modified elsewhere, this
4713breaks the behavior of closures, in which the subroutine captures
4714the variable itself, rather than its value, so future changes to the
4715variable are reflected in the subroutine's return value.
4716
4717=end original
4718
4719伝統的に、Perl はこの時点で変数の値を捕捉して、
4720サブルーチンをインライン化可能な定数に変換します。
4721変数が別の場所で変更可能な場合、
4722これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので
4723クロージャの振る舞いを壊します;
4724従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。
4725
4726=begin original
4727
4728This usage was deprecated, and as of Perl 5.32 is no longer allowed,
4729making it possible to change the behavior in the future.
4730
4731=end original
4732
4733この使用法は廃止予定になり、Perl 5.32 でもはや許されなくなりました;
4734これにより将来振る舞いを換えることが可能になります。
4735
4736=begin original
4737
4738If you intended for the subroutine to be eligible for inlining, then
4739make sure the variable is not referenced elsewhere, possibly by
4740copying it:
4741
4742=end original
4743
4744サブルーチンをインライン化可能にするのが目的なら、この変数を、
4745おそらくコピーすることで、他のどこからも参照されないようにしてください:
4746
4747 my $var2 = $var;
4748 $sub = sub () { $var2 };
4749
4750=begin original
4751
4752If you do want this subroutine to be a closure that reflects future
4753changes to the variable that it closes over, add an explicit C<return>:
4754
4755=end original
4756
4757このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる
4758クロージャにしたいなら、明示的な C<return> を追加してください:
4759
4760 my $var;
4761 $sub = sub () { return $var };
4762
34384763=item Constant subroutine %s redefined
34394764
34404765=begin original
34414766
3442(S) You redefined a subroutine which had previously been
4767(W redefine)(S) You redefined a subroutine which had previously
3443eligible for inlining. See L<perlsub/"Constant Functions"> for
4768been eligible for inlining. See L<perlsub/"Constant Functions">
3444commentary and workarounds.
4769for commentary and workarounds.
34454770
34464771=end original
34474772
3448(S) 以前にインライン化できる形であったサブルーチンを
4773(W redefine)(S) 以前にインライン化できる形であったサブルーチンを
34494774再定義しました。
34504775コメントと回避策については L<perlsub/"Constant Functions"> を
34514776参照してください。
34524777
34534778=item Constant subroutine %s undefined
34544779
34554780=begin original
34564781
34574782(W misc) You undefined a subroutine which had previously been eligible
34584783for inlining. See L<perlsub/"Constant Functions"> for commentary and
34594784workarounds.
34604785
34614786=end original
34624787
34634788(W misc)以前にインライン化できる形であったサブルーチンを
34644789未定義化しました。
34654790コメントと回避策については L<perlsub/"Constant Functions"> を
34664791参照してください。
34674792
4793=item Constant(%s) unknown
4794
4795=begin original
4796
4797(F) The parser found inconsistencies either while attempting
4798to define an overloaded constant, or when trying to find the
4799character name specified in the C<\N{...}> escape. Perhaps you
4800forgot to load the corresponding L<overload> pragma?
4801
4802=end original
4803
4804(F) パーサは、オーバーロードされた定数を定義しようとしたときか、
4805C<\N{...}> エスケープで指定された文字名の検索中に矛盾を
4806発見しました。
4807おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは?
4808
4809=item :const is not permitted on named subroutines
4810
4811=begin original
4812
4813(F) The "const" attribute causes an anonymous subroutine to be run and
4814its value captured at the time that it is cloned. Named subroutines are
4815not cloned like this, so the attribute does not make sense on them.
4816
4817=end original
4818
4819(F) The "const" 属性は、クローンされたときに値を捕捉された
4820無名サブルーチンになります。
4821名前付きサブルーチンはこのようにクローンされないので、
4822属性はこれらに関して意味を持ちません。
4823
34684824=item Copy method did not return a reference
34694825
34704826=begin original
34714827
3472(F) The method which overloads "=" is buggy. See
4828(F) The method which overloads "=" is buggy. See
34734829L<overload/Copy Constructor>.
34744830
34754831=end original
34764832
34774833(F) "=" をオーバーロードしたメソッドはバグっています。
34784834L<overload/Copy Constructor> を参照してください。
34794835
4836=item &CORE::%s cannot be called directly
4837
4838=begin original
4839
4840(F) You tried to call a subroutine in the C<CORE::> namespace
4841with C<&foo> syntax or through a reference. Some subroutines
4842in this package cannot yet be called that way, but must be
4843called as barewords. Something like this will work:
4844
4845=end original
4846
4847(F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で
4848呼び出そうとしました。
4849このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で
4850呼び出さなければなりません。
4851以下のようなものは動作します:
4852
4853 BEGIN { *shove = \&CORE::push; }
4854 shove @array, 1,2,3; # pushes on to @array
4855
34804856=item CORE::%s is not a keyword
34814857
34824858=begin original
34834859
34844860(F) The CORE:: namespace is reserved for Perl keywords.
34854861
34864862=end original
34874863
34884864(F) CORE:: 名前空間は Perl キーワードとして予約されています。
34894865
4866=item Corrupted regexp opcode %d > %d
4867
4868=begin original
4869
4870(P) This is either an error in Perl, or, if you're using
4871one, your L<custom regular expression engine|perlreapi>. If not the
4872latter, report the problem to L<https://github.com/Perl/perl5/issues/new/choose>.
4873
4874=end original
4875
4876(P) これは Perl か、あるいは、使っているなら
4877L<カスタム正規表現エンジン|perlreapi> のエラーです。
4878後者でなければ、L<https://github.com/Perl/perl5/issues/new/choose> に
4879問題を報告してください。
4880
34904881=item corrupted regexp pointers
34914882
34924883=begin original
34934884
34944885(P) The regular expression engine got confused by what the regular
34954886expression compiler gave it.
34964887
34974888=end original
34984889
34994890(P) 正規表現コンパイラが渡したもので、正規表現エンジンが
35004891処理できなくなりました。
35014892
35024893=item corrupted regexp program
35034894
35044895=begin original
35054896
35064897(P) The regular expression engine got passed a regexp program without a
35074898valid magic number.
35084899
35094900=end original
35104901
35114902(P) 正規表現エンジンが、有効なマジックナンバーを持たない
35124903regexp プログラムを渡しました。
35134904
35144905=item Corrupt malloc ptr 0x%x at 0x%x
35154906
35164907=begin original
35174908
35184909(P) The malloc package that comes with Perl had an internal failure.
35194910
35204911=end original
35214912
35224913(P) Perl に付属の malloc ルーティンが内部エラーを起こしました。
35234914
35244915=item Count after length/code in unpack
35254916
35264917=begin original
35274918
35284919(F) You had an unpack template indicating a counted-length string, but
35294920you have also specified an explicit size for the string. See
35304921L<perlfunc/pack>.
35314922
35324923=end original
35334924
35344925(F) unpack のテンプレートとしてカウント長文字列を示していますが、
35354926文字列の長さも明示的に指定しています。
35364927L<perlfunc/pack> を参照してください。
35374928
4929=item Declaring references is experimental
4930
4931=begin original
4932
4933(S experimental::declared_refs) This warning is emitted if you use
4934a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or
4935C<local>. Simply suppress the warning if you want to use the feature, but
4936know that in doing so you are taking the risk of using an experimental
4937feature which may change or be removed in a future Perl version:
4938
4939=end original
4940
4941(S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で
4942リファレンスコンストラクタを使うとこの警告が出力されます。
4943この機能を使いたい場合は単にこの警告を抑制してください; ただし
4944そうすることによってあなたは将来のバージョンの Perl で変更したり
4945削除されたりするかもしれない実験的な機能を使うというリスクを
4946取っていると言うことを知っておいてください:
4947
4948 no warnings "experimental::declared_refs";
4949 use feature "declared_refs";
4950 $fooref = my \$foo;
4951
4952=for comment
4953The following are used in lib/diagnostics.t for testing two =items that
4954share the same description. Changes here need to be propagated to there
4955
4956=item Deep recursion on anonymous subroutine
4957
35384958=item Deep recursion on subroutine "%s"
35394959
35404960=begin original
35414961
35424962(W recursion) This subroutine has called itself (directly or indirectly)
35434963100 times more than it has returned. This probably indicates an
35444964infinite recursion, unless you're writing strange benchmark programs, in
35454965which case it indicates something else.
35464966
35474967=end original
35484968
35494969(W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、
35504970return より 100 回多く行ないました。
35514971変わったベンチマークプログラムを書いているのでなければ、無限再帰の
35524972可能性があります; ベンチマークを書いている場合には、別のことを示しています。
35534973
35544974=begin original
35554975
35564976This threshold can be changed from 100, by recompiling the F<perl> binary,
35574977setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value.
35584978
35594979=end original
35604980
35614981この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に
35624982設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。
35634983
3564=item defined(@array) is deprecated
4984=item (?(DEFINE)....) does not allow branches in regex; marked by
4985S<<-- HERE> in m/%s/
35654986
35664987=begin original
35674988
3568(D deprecated) defined() is not usually useful on arrays because it
4989(F) You used something like C<(?(DEFINE)...|..)> which is illegal. The
3569checks for an undefined I<scalar> value. If you want to see if the
3570array is empty, just use C<if (@array) { # not empty }> for example.
3571
3572=end original
3573
3574(D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に
3575使っても普通は無意味です。
3576配列が空かどうかを調べたい場合は、例えば単に
3577C<if (@array) { # not empty }> としてください。
3578
3579=item defined(%hash) is deprecated
3580
3581=begin original
3582
3583(D deprecated) defined() is not usually useful on hashes because it
3584checks for an undefined I<scalar> value. If you want to see if the hash
3585is empty, just use C<if (%hash) { # not empty }> for example.
3586
3587=end original
3588
3589(D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに
3590使っても普通は無意味です。
3591ハッシュが空かどうかを調べたい場合は、例えば単に
3592C<if (%hash) { # not empty }> としてください。
3593
3594=item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/
3595
3596=begin original
3597
3598(F) You used something like C<(?(DEFINE)...|..)> which is illegal. The
35994990most likely cause of this error is that you left out a parenthesis inside
36004991of the C<....> part.
36014992
36024993=end original
36034994
36044995(F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。
36054996このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを
36064997そのままにしたことです。
36074998
36084999=begin original
36095000
3610The <-- HERE shows in the regular expression about where the problem was
5001The S<<-- HERE> shows whereabouts in the regular expression the problem was
36115002discovered.
36125003
36135004=end original
36145005
3615<-- HERE で正規表現のどこに問題が発見されたかを示しています。
5006S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
36165007
36175008=item %s defines neither package nor VERSION--version check failed
36185009
36195010=begin original
36205011
36215012(F) You said something like "use Module 42" but in the Module file
36225013there are neither package declarations nor a C<$VERSION>.
36235014
36245015=end original
36255016
36265017(F) "use Module 42" のようなことをしましたが、Module ファイルに
36275018パッケージ定義がないか、C<$VERSION> がありませんでした。
36285019
3629=item Delimiter for here document is too long
5020=item delete argument is not a HASH or ARRAY element or slice
36305021
36315022=begin original
36325023
3633(F) In a here document construct like C<<<FOO>, the label C<FOO> is too
5024(F) The argument to C<delete> must be either a hash or array element,
3634long for Perl to handle. You have to be seriously twisted to write code
5025such as:
3635that triggers this error.
36365026
36375027=end original
36385028
3639(F) C<<<FOO> のようなヒアドキメント構造、ラベル C<FOO> が
5029(F) C<delete> の引数は以下のようにハッシか配列の要素あるか:
3640Perl が扱うには長すぎました。
3641このエラーを起こすようなコードを書くには相当ひねくれている必要があります。
36425030
3643=item Deprecated character in \N{...}; marked by <-- HERE in \N{%s<-- HERE %s
5031 $foo{$bar}
5032 $ref->{"susie"}[12]
36445033
36455034=begin original
36465035
3647(D deprecated) Just about anything is legal for the C<...> in C<\N{...}>.
5036or a hash or array slice, such as:
3648But starting in 5.12, non-reasonable ones that don't look like names
3649are deprecated. A reasonable name begins with an alphabetic character
3650and continues with any combination of alphanumerics, dashes, spaces,
3651parentheses or colons.
36525037
36535038=end original
36545039
3655(D deprecated) C<\N{...}> の C<...> 何でも正当です。
5040あるい以下のようにハッシュか配列のスライスか:
3656しかし 5.12 から、名前のように見えない正当でないものは廃止予定です。
3657正当な名前は英字で始まって英数字、ダッシュ、空白、かっこ、コロンが
3658引き続くものです。
36595041
3660=item Deprecated use of my() in false conditional
5042 @foo[$bar, $baz, $xyzzy]
5043 $ref->[12]->@{"susie", "queue"}
36615044
36625045=begin original
36635046
3664(D deprecated) You used a declaration similar to C<my $x if 0>.
5047or a hash key/value or array index/value slice, such as:
3665There has been a long-standing bug in Perl that causes a lexical variable
3666not to be cleared at scope exit when its declaration includes a false
3667conditional. Some people have exploited this bug to achieve a kind of
3668static variable. Since we intend to fix this bug, we don't want people
3669relying on this behavior. You can achieve a similar static effect by
3670declaring the variable in a separate block outside the function, eg
36715048
36725049=end original
36735050
3674(D deprecated) C<my $x if 0> のような定義を行いました。
5051あるいは以下のようにハッシュのキー/値や配列のインデックス/値で
3675は、宣言に偽の条件を含でいるとスコープから外れた際にレキシカル変数が
5052なけばなりませ:
3676クリアされないという、Perl に長い間存在したバグです。
3677ある種の静的変数を実現するためにこのバグを悪用する人々もいます。
3678私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して
3679ほしくありません。
3680関数外の別のブロックで変数を宣言することで似たような静的な効果を
3681達成できます; 例えば:
36825053
3683 sub f { my $x if 0; return $x++ }
5054 %foo[$bar, $baz, $xyzzy]
5055 $ref->[12]->%{"susie", "queue"}
36845056
3685=begin original
5057=item Delimiter for here document is too long
36865058
3687becomes
3688
3689=end original
3690
3691これは以下のようにします:
3692
3693 { my $x; sub f { return $x++ } }
3694
36955059=begin original
36965060
3697Beginning with perl 5.9.4, you can also use C<state> variables to
5061(F) In a here document construct like C<<<FOO>, the label C<FOO> is too
3698have lexicals that are initialized only once (see L<feature>):
5062long for Perl to handle. You have to be seriously twisted to write code
5063that triggers this error.
36995064
37005065=end original
37015066
3702perl 5.9.4 から、一度だけ初期化されるレシカとして C<state> 変数も
5067(F) C<<<FOO> のようなヒアドュメント構造で、ラベル C<FOO>
3703使えます (L<feature> を参照てください):
5068Perl が扱うには長すぎまた。
5069このエラーを起こすようなコードを書くには相当ひねくれている必要があります。
37045070
3705 sub f { state $x; return $x++ }
3706
37075071=item DESTROY created new reference to dead object '%s'
37085072
37095073=begin original
37105074
37115075(F) A DESTROY() method created a new reference to the object which is
3712just being DESTROYed. Perl is confused, and prefers to abort rather than
5076just being DESTROYed. Perl is confused, and prefers to abort rather
3713to create a dangling reference.
5077than to create a dangling reference.
37145078
37155079=end original
37165080
37175081(F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの
37185082新しいリファレンスを作りました。
37195083Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。
37205084
37215085=item Did not produce a valid header
37225086
37235087=begin original
37245088
3725See Server error.
5089See L</500 Server error>.
37265090
37275091=end original
37285092
3729"Server error" を参照してください。
5093L</500 Server error> を参照してください。
37305094
37315095=item %s did not return a true value
37325096
37335097=begin original
37345098
37355099(F) A required (or used) file must return a true value to indicate that
37365100it compiled correctly and ran its initialization code correctly. It's
37375101traditional to end such a file with a "1;", though any true value would
37385102do. See L<perlfunc/require>.
37395103
37405104=end original
37415105
37425106(F) require (や use) されたファイルは、正常にコンパイルされ、
37435107初期化コードを正しく実行したことを示すために、真を返さなければなりません。
37445108こういったファイルは、"1;" で終わるようにするのが習慣ですが、
37455109真となる値であれば、何でもかまいません。
37465110L<perlfunc/require> を参照してください。
37475111
37485112=item (Did you mean &%s instead?)
37495113
37505114=begin original
37515115
37525116(W misc) You probably referred to an imported subroutine &FOO as $FOO or
37535117some such.
37545118
37555119=end original
37565120
37575121(W misc) おそらく import したサブルーチン &FOO を $FOO として
37585122参照したようなことでしょう。
37595123
37605124=item (Did you mean "local" instead of "our"?)
37615125
37625126=begin original
37635127
3764(W misc) Remember that "our" does not localize the declared global
5128(W shadow) Remember that "our" does not localize the declared global
37655129variable. You have declared it again in the same lexical scope, which
37665130seems superfluous.
37675131
37685132=end original
37695133
3770(W misc) "our" 宣言されたグローバル変数を local 化しないことを
5134(W shadow) "our" 宣言されたグローバル変数を local 化しないことを
37715135忘れないで下さい。
37725136これをもう一度同じレキシカルスコープで宣言していますが、
37735137不必要でしょう。
37745138
37755139=item (Did you mean $ or @ instead of %?)
37765140
37775141=begin original
37785142
37795143(W) You probably said %hash{$key} when you meant $hash{$key} or
37805144@hash{@keys}. On the other hand, maybe you just meant %hash and got
37815145carried away.
37825146
37835147=end original
37845148
37855149(W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と
37865150したのでしょう。
37875151あるいは、単に %hash としたくてやりすぎたのでしょう。
37885152
37895153=item Died
37905154
37915155=begin original
37925156
37935157(F) You passed die() an empty string (the equivalent of C<die "">) or
37945158you called it with no args and C<$@> was empty.
37955159
37965160=end original
37975161
37985162(F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで
37995163呼び出して、C<$@> が空でした。
38005164
38015165=item Document contains no data
38025166
38035167=begin original
38045168
3805See Server error.
5169See L</500 Server error>.
38065170
38075171=end original
38085172
3809"Server error" を参照してください。
5173L</500 Server error> を参照してください。
38105174
38115175=item %s does not define %s::VERSION--version check failed
38125176
38135177=begin original
38145178
38155179(F) You said something like "use Module 42" but the Module did not
3816define a C<$VERSION.>
5180define a C<$VERSION>.
38175181
38185182=end original
38195183
38205184(F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を
38215185定義していません。
38225186
3823=item '/' does not take a repeat count
5187=item '/' does not take a repeat count in %s
38245188
38255189=begin original
38265190
38275191(F) You cannot put a repeat count of any kind right after the '/' code.
38285192See L<perlfunc/pack>.
38295193
38305194=end original
38315195
38325196(F) '/' の直後には繰り返し数を指定できません。
38335197L<perlfunc/pack> を参照してください。
38345198
3835=item Don't know how to handle magic of type '%s'
5199=item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"?
38365200
38375201=begin original
38385202
5203(D deprecated::dot_in_inc) Previously C< do "somefile"; > would search
5204the current directory for the specified file. Since perl v5.26.0, F<.>
5205has been removed from C<@INC> by default, so this is no longer true. To
5206search the current directory (and only the current directory) you can
5207write C< do "./somefile"; >.
5208
5209=end original
5210
5211(D deprecated::dot_in_inc) 以前は、C< do "somefile"; > は指定された
5212ファイルをカレントディレクトリから探していました。
5213perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、
5214これはもはや真ではありません。
5215カレントディレクトリを(カレントディレクトリだけを)探すためには、
5216C< do "./somefile"; > と書けます。
5217
5218=item '%s' does not appear to be an imported builtin function
5219
5220=begin original
5221
5222(F) An attempt was made to remove a previously-imported lexical from
5223L<builtin> by using the C<unimport> method (likely via C<no builtin ...>
5224syntax), but the requested function has not been imported into the current
5225scope.
5226
5227=end original
5228
5229(F) (おそらく C<no builtin ...> 構文を通じて) C<unimport> メソッドを
5230使って、以前にインポートされた語彙を L<builtin> から削除しようとしましたが、
5231要求された関数は現在のスコープにインポートされていません。
5232
5233=item Don't know how to get file name
5234
5235=begin original
5236
5237(P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was
5238somehow called on another platform. This should not happen.
5239
5240=end original
5241
5242(P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか
5243他のプラットフォームで呼び出されました。
5244これは起きないはずです。
5245
5246=item Don't know how to handle magic of type \%o
5247
5248=begin original
5249
38395250(P) The internal handling of magical variables has been cursed.
38405251
38415252=end original
38425253
38435254(P) マジカル変数の内部処理がおかしくなっています。
38445255
3845=item do_study: out of memory
5256=item Downgrading a use VERSION declaration to below v5.11 is not permitted
38465257
38475258=begin original
38485259
3849(P) This should have been caught by safemalloc() instead.
5260(F) A C<use VERSION> statement that requests a version below v5.11
5261(when the effects of C<use strict> would be disabled) has been found
5262after a previous declaration of one having a larger number (which would
5263have enabled these effects). Because of a change to the way that
5264C<use VERSION> interacts with the strictness flags, this is no longer
5265supported.
38505266
38515267=end original
38525268
3853(P) これは、本来 safemalloc() で引っ掛かるはずものです。
5269(F) (C<use strict>効果が
5270無効の時に) (これが有効なときに) その前により大きな値が宣言された後、
5271v5.11 より小さいバージョンを要求する C<use VERSION> 文が見つかりました。
5272C<use VERSION> と strict フラグとの相互作用する方法が変更されたため、
5273これはもはや対応されません。
38545274
38555275=item (Do you need to predeclare %s?)
38565276
38575277=begin original
38585278
38595279(S syntax) This is an educated guess made in conjunction with the message
38605280"%s found where operator expected". It often means a subroutine or module
38615281name is being referenced that hasn't been declared yet. This may be
38625282because of ordering problems in your file, or because of a missing
38635283"sub", "package", "require", or "use" statement. If you're referencing
38645284something that isn't defined yet, you don't actually have to define the
38655285subroutine or package before the current location. You can use an empty
38665286"sub foo;" or "package FOO;" to enter a "forward" declaration.
38675287
38685288=end original
38695289
38705290(S syntax) これは "%s found where operator expected" メッセージと共に
38715291表示される教育的な推測です。
38725292これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている
38735293ことを意味します。
38745294これはファイル内部での順番のためであったり、"sub", "package", "require",
38755295"use" 文がないためであったりします。
38765296もしまだ定義されていないものを参照したい場合、現在位置より前に実際に
38775297サブルーチンやパッケージを定義する必要はありません。
38785298空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。
38795299
3880=item dump() better written as CORE::dump()
5300=item dump() must be written as CORE::dump() as of Perl 5.30
38815301
38825302=begin original
38835303
3884(W misc) You used the obsolescent C<dump()> built-in function, without fully
5304(F) You used the obsolete C<dump()> built-in function. That was deprecated in
3885qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>.
5305Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format:
5306C<CORE::dump()>.
38865307
38875308=end original
38885309
3889(W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と
5310(F) 古いものである C<dump()> 組み込み関数を使いました。
3890いうように完全修飾せずに使いました。
5311これは Perl 5.8.0 から廃止予定でした。
3891おそこれはタイプミスす。
5312Perl 5.30 かこれは C<CORE::dump()> というように完全修飾形式
5313書かなければなりません。
5314
5315=begin original
5316
5317See L<perlfunc/dump>.
5318
5319=end original
5320
38925321L<perlfunc/dump> を参照してください。
38935322
38945323=item dump is not supported
38955324
38965325=begin original
38975326
38985327(F) Your machine doesn't support dump/undump.
38995328
39005329=end original
39015330
39025331(F) このマシンは dump/undump に対応していません。
39035332
39045333=item Duplicate free() ignored
39055334
39065335=begin original
39075336
39085337(S malloc) An internal routine called free() on something that had
39095338already been freed.
39105339
39115340=end original
39125341
39135342(S malloc) 既に解放されているものに対して、内部ルーティンが free() を
39145343行なおうとしました。
39155344
39165345=item Duplicate modifier '%c' after '%c' in %s
39175346
39185347=begin original
39195348
3920(W) You have applied the same modifier more than once after a type
5349(W unpack) You have applied the same modifier more than once after a
3921in a pack template. See L<perlfunc/pack>.
5350type in a pack template. See L<perlfunc/pack>.
39225351
39235352=end original
39245353
3925(W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。
5354(W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。
39265355L<perlfunc/pack> を参照してください。
39275356
5357=item each on anonymous %s will always start from the beginning
5358
5359=begin original
5360
5361(W syntax) You called L<each|perlfunc/each> on an anonymous hash or
5362array. Since a new hash or array is created each time, each() will
5363restart iterating over your hash or array every time.
5364
5365=end original
5366
5367(W syntax) L<each|perlfunc/each> を無名ハッシュまたは配列で呼び出しました。
5368新しいハッシュや配列は毎回作成されるので、
5369each() は毎回ハッシュや配列に対して反復を再始動します。
5370
39285371=item elseif should be elsif
39295372
39305373=begin original
39315374
3932(S syntax) There is no keyword "elseif" in Perl because Larry thinks it's
5375(S syntax) There is no keyword "elseif" in Perl because Larry thinks
3933ugly. Your code will be interpreted as an attempt to call a method named
5376it's ugly. Your code will be interpreted as an attempt to call a method
3934"elseif" for the class returned by the following block. This is
5377named "elseif" for the class returned by the following block. This is
39355378unlikely to be what you want.
39365379
39375380=end original
39385381
39395382(S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは
39405383ありません。
39415384このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを
39425385呼び出そうとしていると解釈されます。
39435386これは望んでいることではないはずです。
39445387
3945=item Empty %s
5388=item Empty \%c in regex; marked by S<<-- HERE> in m/%s/
39465389
5390=item Empty \%c{}
5391
5392=item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/
5393
39475394=begin original
39485395
3949(F) C<\p> and C<\P> are used to introduce a named Unicode property, as
5396(F) You used something like C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, or
3950described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in
5397C<\x> without specifying anything for it to operate on.
3951a regular expression without specifying the property name.
39525398
39535399=end original
39545400
3955(F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されていよう
5401(F) 何を操作すかを指定せず
3956名前付き Unicode プロパティ導入するために使われ
5402C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使した
3957正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。
39585403
5404=begin original
5405
5406Unfortunately, for backwards compatibility reasons, an empty C<\x> is
5407legal outside S<C<use re 'strict'>> and expands to a NUL character.
5408
5409=end original
5410
5411残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の
5412C<\x> は正当で、一つの NUL 文字に展開されます。
5413
5414=item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/
5415
5416=begin original
5417
5418(W regexp) (only under C<S<use re 'strict'>>)
5419C<(?)> does nothing, so perhaps this is a typo.
5420
5421=end original
5422
5423(W regexp) (C<S<use re 'strict'>> の下のみ)
5424C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。
5425
5426=item ${^ENCODING} is no longer supported
5427
5428=begin original
5429
5430(F) The special variable C<${^ENCODING}>, formerly used to implement
5431the C<encoding> pragma, is no longer supported as of Perl 5.26.0.
5432
5433=end original
5434
5435(F) 以前は C<encoding> プラグマの実装に使われていた
5436特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。
5437
5438=begin original
5439
5440Setting it to anything other than C<undef> is a fatal error as of Perl
54415.28.
5442
5443=end original
5444
5445これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。
5446
5447=item ${^HOOK}{%s} may only be a CODE reference or undef
5448
5449=begin original
5450
5451(F) You attempted to assign something other than undef or a CODE ref to
5452C<%{^HOOK}>. Hooks may only be CODE refs. See L<perlvar/%{^HOOK}> for
5453details.
5454
5455=end original
5456
5457(F) 未定義値やコードリファレンスでないものを
5458C<%{^HOOK}> に代入しようとしました。
5459フックはコードリファレンスのみです。
5460詳しくは L<perlvar/%{^HOOK}> を参照してください。
5461
5462=item Attempt to set unknown hook '%s' in %{^HOOK}
5463
5464=begin original
5465
5466(F) You attempted to assign something other than undef or a CODE ref to
5467C<%{^HOOK}>. Hooks may only be CODE refs. See L<perlvar/%{^HOOK}> for
5468details.
5469
5470=end original
5471
5472(F) 未定義値やコードリファレンスでないものを
5473C<%{^HOOK}> に代入しようとしました。
5474フックはコードリファレンスのみです。
5475詳しくは L<perlvar/%{^HOOK}> を参照してください。
5476
39595477=item entering effective %s failed
39605478
39615479=begin original
39625480
39635481(F) While under the C<use filetest> pragma, switching the real and
39645482effective uids or gids failed.
39655483
39665484=end original
39675485
39685486(F) C<use filetest> プラグマを使っている間に、
39695487実と実効の UID や GID の切り替えに失敗しました。
39705488
39715489=item %ENV is aliased to %s
39725490
39735491=begin original
39745492
39755493(F) You're running under taint mode, and the C<%ENV> variable has been
39765494aliased to another hash, so it doesn't reflect anymore the state of the
3977program's environment. This is potentially insecure.
5495program's environment. This is potentially insecure.
39785496
39795497=end original
39805498
39815499(F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに
39825500なっているので、これ以上プログラムの環境の状態を反映しません。
39835501これは潜在的にはセキュアではありません。
39845502
39855503=item Error converting file specification %s
39865504
39875505=begin original
39885506
39895507(F) An error peculiar to VMS. Because Perl may have to deal with file
39905508specifications in either VMS or Unix syntax, it converts them to a
39915509single form when it must operate on them directly. Either you've passed
39925510an invalid file specification to Perl, or you've found a case the
39935511conversion routines don't handle. Drat.
39945512
39955513=end original
39965514
39975515(F) VMS に固有のエラーです。
39985516Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、
39995517直接操作しなければならない場合は変換します。
40005518不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを
40015519発見したかです。
40025520ちぇっ。
40035521
4004=item %s: Eval-group in insecure regular expression
5522=item Error %s in expansion of %s
40055523
40065524=begin original
40075525
5526(F) An error was encountered in handling a user-defined property
5527(L<perlunicode/User-Defined Character Properties>). These are
5528programmer written subroutines, hence subject to errors that may
5529prevent them from compiling or running. The calls to these subs are
5530C<eval>'d, and if there is a failure, this message is raised, using the
5531contents of C<$@> from the failed C<eval>.
5532
5533=end original
5534
5535(F) ユーザー定義特性
5536(L<perlunicode/User-Defined Character Properties>) の扱いで
5537エラーに遭遇しました。
5538これらはプログラマが書いたサブルーチンなので、
5539エラーがコンパイルや実行を阻害することがあります。
5540これらのサブルーチンの呼び出しは
5541C<eval> され、エラーがある場合、失敗した C<eval> からの C<$@> の内容を使って
5542このメッセージが発生します。
5543
5544=begin original
5545
5546Another possibility is that tainted data was encountered somewhere in
5547the chain of expanding the property. If so, the message wording will
5548indicate that this is the problem. See L</Insecure user-defined
5549property %s>.
5550
5551=end original
5552
5553もう一つの可能性は、特性の展開の鎖のどこかで汚染されたデータに
5554遭遇したことです。
5555もしそうなら、メッセージはこれが問題であることを示します。
5556L</Insecure user-defined property %s> を参照してください。
5557
5558=item Eval-group in insecure regular expression
5559
5560=begin original
5561
40085562(F) Perl detected tainted data when trying to compile a regular
40095563expression that contains the C<(?{ ... })> zero-width assertion, which
40105564is unsafe. See L<perlre/(?{ code })>, and L<perlsec>.
40115565
40125566=end original
40135567
40145568C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと
40155569したときに、Perl は汚染されたデータを検出しました;
40165570これは安全ではありません。
40175571L<perlre/(?{ code })> と L<perlsec> を参照してください。
40185572
4019=item %s: Eval-group not allowed at runtime, use re 'eval'
5573=item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/
40205574
40215575=begin original
40225576
40235577(F) Perl tried to compile a regular expression containing the
40245578C<(?{ ... })> zero-width assertion at run time, as it would when the
40255579pattern contains interpolated values. Since that is a security risk,
40265580it is not allowed. If you insist, you may still do this by using the
40275581C<re 'eval'> pragma or by explicitly building the pattern from an
40285582interpolated string at run time and using that in an eval(). See
40295583L<perlre/(?{ code })>.
40305584
40315585=end original
40325586
40335587(F) Perl が実行時に、変数展開された値を含んでいて、
40345588C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。
40355589これはセキュリティ上の危険があるので、許可されていません。
40365590どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に
40375591変数展開された文字列からパターンを作成して、それを eval() の中で使うことで
40385592実行できます。
40395593L<perlre/(?{ code })> を参照してください。
40405594
4041=item %s: Eval-group not allowed, use re 'eval'
5595=item Eval-group not allowed, use re 'eval' in regex m/%s/
40425596
40435597=begin original
40445598
40455599(F) A regular expression contained the C<(?{ ... })> zero-width
40465600assertion, but that construct is only allowed when the C<use re 'eval'>
40475601pragma is in effect. See L<perlre/(?{ code })>.
40485602
40495603=end original
40505604
40515605(F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、
40525606この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。
40535607L<perlre/(?{ code })> を参照してください。
40545608
4055=item EVAL without pos change exceeded limit in regex; marked by <-- HERE in m/%s/
5609=item EVAL without pos change exceeded limit in regex; marked by
5610S<<-- HERE> in m/%s/
40565611
40575612=begin original
40585613
40595614(F) You used a pattern that nested too many EVAL calls without consuming
4060any text. Restructure the pattern so that text is consumed.
5615any text. Restructure the pattern so that text is consumed.
40615616
40625617=end original
40635618
40645619(F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる
40655620パターンを使いました。
40665621テキストを読み込むようにパターンを再構築してください。
40675622
40685623=begin original
40695624
4070The <-- HERE shows in the regular expression about where the problem was
5625The S<<-- HERE> shows whereabouts in the regular expression the problem was
40715626discovered.
40725627
40735628=end original
40745629
4075<-- HERE で正規表現のどこに問題が発見されたかを示しています。
5630S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
40765631
40775632=item Excessively long <> operator
40785633
40795634=begin original
40805635
40815636(F) The contents of a <> operator may not exceed the maximum size of a
40825637Perl identifier. If you're just trying to glob a long list of
40835638filenames, try using the glob() operator, or put the filenames into a
40845639variable and glob that.
40855640
40865641=end original
40875642
40885643(F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。
40895644単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を
40905645使うか、ファイル名を変数に入れて、それをグロブしてください。
40915646
40925647=item exec? I'm not *that* kind of operating system
40935648
40945649=begin original
40955650
4096(F) The C<exec> function is not implemented on some systems, e.g., Symbian
5651(F) The C<exec> function is not implemented on some systems, e.g.
4097OS. See L<perlport>.
5652Catamount. See L<perlport>.
40985653
40995654=end original
41005655
4101(F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。
5656(F) C<exec> 関数は Catamount のような一部のシステムには実装されていません。
41025657L<perlport> を参照してください。
41035658
5659=item %sExecution of %s aborted due to compilation errors.
5660
5661=begin original
5662
5663(F) The final summary message when a Perl compilation fails.
5664
5665=end original
5666
5667(F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。
5668
41045669=item Execution of %s aborted due to compilation errors.
41055670
41065671=begin original
41075672
41085673(F) The final summary message when a Perl compilation fails.
41095674
41105675=end original
41115676
41125677(F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。
41135678
5679=item exists argument is not a HASH or ARRAY element or a subroutine
5680
5681=begin original
5682
5683(F) The argument to C<exists> must be a hash or array element or a
5684subroutine with an ampersand, such as:
5685
5686=end original
5687
5688(F) C<exists> の引数は以下のように、ハッシュや配列の要素か、
5689アンパサンド付きのサブルーチンでなければなりません:
5690
5691 $foo{$bar}
5692 $ref->{"susie"}[12]
5693 &do_something
5694
5695=item exists argument is not a subroutine name
5696
5697=begin original
5698
5699(F) The argument to C<exists> for C<exists &sub> must be a subroutine name,
5700and not a subroutine call. C<exists &sub()> will generate this error.
5701
5702=end original
5703
5704(F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、
5705サブルーチン呼び出しではありません。
5706C<exists &sub()> はこのエラーを生成します。
5707
41145708=item Exiting eval via %s
41155709
41165710=begin original
41175711
41185712(W exiting) You are exiting an eval by unconventional means, such as a
41195713goto, or a loop control statement.
41205714
41215715=end original
41225716
41235717(W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。
41245718
41255719=item Exiting format via %s
41265720
41275721=begin original
41285722
41295723(W exiting) You are exiting a format by unconventional means, such as a
41305724goto, or a loop control statement.
41315725
41325726=end original
41335727
41345728(W exiting) goto やループ制御文といった、異例な形でフォーマットを
41355729終了しました。
41365730
41375731=item Exiting pseudo-block via %s
41385732
41395733=begin original
41405734
41415735(W exiting) You are exiting a rather special block construct (like a
41425736sort block or subroutine) by unconventional means, such as a goto, or a
41435737loop control statement. See L<perlfunc/sort>.
41445738
41455739=end original
41465740
41475741(W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、
41485742goto やループ制御文といった異例な方法で終了しました。
41495743L<perlfunc/sort> を参照してください。
41505744
41515745=item Exiting subroutine via %s
41525746
41535747=begin original
41545748
41555749(W exiting) You are exiting a subroutine by unconventional means, such
41565750as a goto, or a loop control statement.
41575751
41585752=end original
41595753
41605754(W exiting) goto やループ制御文など、おかしな方法でサブルーチンを
41615755抜けました。
41625756
41635757=item Exiting substitution via %s
41645758
41655759=begin original
41665760
41675761(W exiting) You are exiting a substitution by unconventional means, such
41685762as a return, a goto, or a loop control statement.
41695763
41705764=end original
41715765
41725766(W exit) return や goto やループ制御文など、おかしな方法で置換を
41735767抜けました。
41745768
5769=item Expected %s reference in export_lexically
5770
5771=begin original
5772
5773(F) The type of a reference given to L<builtin/export_lexically> did not
5774match the sigil of the preceding name, or the value was not a reference at
5775all.
5776
5777=end original
5778
5779(F) L<builtin/export_lexically> に与えられたリファレンスの型が
5780その前にある名前の印に一致しないか、値がそもそも
5781リファレンスではありません。
5782
5783=item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/
5784
5785=begin original
5786
5787(F) You wrote something like
5788
5789=end original
5790
5791(F) 次のようなものを書きました:
5792
5793 (?13
5794
5795=begin original
5796
5797to denote a capturing group of the form
5798L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>,
5799but omitted the C<")">.
5800
5801=end original
5802
5803L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の
5804捕捉グループを示していますが C<")"> が省略されています。
5805
5806=item Expecting interpolated extended charclass in regex; marked by <--
5807HERE in m/%s/
5808
5809=begin original
5810
5811(F) It looked like you were attempting to interpolate an
5812already-compiled extended character class, like so:
5813
5814=end original
5815
5816(F) 次のように、既にコンパイルされている拡張文字クラスを結合しようと
5817したように見えます:
5818
5819 my $thai_or_lao = qr/(?[ \p{Thai} + \p{Lao} ])/;
5820 ...
5821 qr/(?[ \p{Digit} & $thai_or_lao ])/;
5822
5823=begin original
5824
5825But the marked code isn't syntactically correct to be such an
5826interpolated class.
5827
5828=end original
5829
5830しかしマークされたコードは、そのような結合されたクラスとして
5831文法的に正しくありません。
5832
5833=item Experimental aliasing via reference not enabled
5834
5835=begin original
5836
5837(F) To do aliasing via references, you must first enable the feature:
5838
5839=end original
5840
5841(F) リファレンスによる別名をするためには、最初にこの機能を
5842有効にしなければなりません:
5843
5844 no warnings "experimental::refaliasing";
5845 use feature "refaliasing";
5846 \$x = \$y;
5847
5848=item Experimental %s on scalar is now forbidden
5849
5850=begin original
5851
5852(F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>,
5853C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a
5854scalar argument. This experiment is considered unsuccessful, and
5855has been removed. The C<postderef> feature may meet your needs better.
5856
5857=end original
5858
5859(F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>,
5860C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を
5861スカラ引数で呼び出すことができました。
5862この実験は失敗と考えられ、削除されました。
5863C<postderef> 機能はあなたの要求により良く一致します。
5864
5865=item Experimental subroutine signatures not enabled
5866
5867=begin original
5868
5869(F) To use subroutine signatures, you must first enable them:
5870
5871=end original
5872
5873(F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません:
5874
5875 use feature "signatures";
5876 sub foo ($left, $right) { ... }
5877
41755878=item Explicit blessing to '' (assuming package main)
41765879
41775880=begin original
41785881
41795882(W misc) You are blessing a reference to a zero length string. This has
41805883the effect of blessing the reference into the package main. This is
41815884usually not what you want. Consider providing a default target package,
41825885e.g. bless($ref, $p || 'MyPackage');
41835886
41845887=end original
41855888
41865889(W misc) リファレンスを長さゼロの文字列に bless しました。
41875890これはリファレンスをパッケージ main に bless する効果があります。
41885891これは普通あなたが望んでいることではありません。
41895892(bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット
41905893パッケージを提供することを考慮してください;
41915894
5895=item export_lexically can only be called at compile time
5896
5897=begin original
5898
5899(F) L<builtin/export_lexically> was called at runtime. Because it creates
5900new names in the lexical scope currently being compiled, it can only be
5901called from code inside C<BEGIN> block in that scope.
5902
5903=end original
5904
5905(F) L<builtin/export_lexically> が実行時に呼び出されました。
5906これは現在コンパイルされているレキシカルスコープ内に
5907新しい名前を作るので、そのスコープの C<BEGIN> ブロックの
5908内側のコードからのみ呼び出せます。
5909
41925910=item %s: Expression syntax
41935911
41945912=begin original
41955913
41965914(A) You've accidentally run your script through B<csh> instead of Perl.
41975915Check the #! line, or manually feed your script into Perl yourself.
41985916
41995917=end original
42005918
42015919(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
4202#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
5920#! 行を確認するか、スクリプトを手動で Perl に渡してください。
42035921
42045922=item %s failed--call queue aborted
42055923
42065924=begin original
42075925
42085926(F) An untrapped exception was raised while executing a UNITCHECK,
42095927CHECK, INIT, or END subroutine. Processing of the remainder of the
42105928queue of such routines has been prematurely ended.
42115929
42125930=end original
42135931
42145932(F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない
42155933例外が発生しました。
42165934このようなルーチンのキューの残りの処理は途中で終了しました。
42175935
4218=item False [] range "%s" in regex; marked by <-- HERE in m/%s/
5936=item Failed to close in-place work file %s: %s
42195937
42205938=begin original
42215939
4222(W regexp) A character class range must start and end at a literal
5940(F) Closing an output file from in-place editing, as with the C<-i>
5941command-line switch, failed.
5942
5943=end original
5944
5945(F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを
5946閉じるのに失敗しました。
5947
5948=item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/
5949
5950=begin original
5951
5952(W regexp)(F) A character class range must start and end at a literal
42235953character, not another character class like C<\d> or C<[:alpha:]>. The "-"
4224in your false range is interpreted as a literal "-". Consider quoting the
5954in your false range is interpreted as a literal "-". In a C<(?[...])>
4225"-", "\-". The <-- HERE shows in the regular expression about where the
5955construct, this is an error, rather than a warning. Consider quoting
4226problem was discovered. See L<perlre>.
5956the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression
5957the problem was discovered. See L<perlre>.
42275958
42285959=end original
42295960
4230(W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような
5961(W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような
42315962他の文字クラスではなく、リテラル文字でなければなりません。
42325963間違った範囲の "-" はリテラルの "-" と解釈されます。
5964C<(?[...])> 構文では、これは警告ではなくエラーです。
42335965"-" を "\-" とクォートすることを考慮してください。
4234<-- HERE で正規表現のどこに問題が発見されたかを示しています。
5966S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
42355967L<perlre> を参照してください。
42365968
42375969=item Fatal VMS error (status=%d) at %s, line %d
42385970
42395971=begin original
42405972
42415973(P) An error peculiar to VMS. Something untoward happened in a VMS
42425974system service or RTL routine; Perl's exit status should provide more
42435975details. The filename in "at %s" and the line number in "line %d" tell
42445976you which section of the Perl source code is distressed.
42455977
42465978=end original
42475979
42485980(P) VMS に固有のエラーです。
42495981何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました;
42505982Perl の終了コードに詳細が示されています。
42515983"at %s" のファイル名と "line %d" の行番号は、問題の起こった
42525984Perl ソースコードの位置を示しています。
42535985
42545986=item fcntl is not implemented
42555987
42565988=begin original
42575989
42585990(F) Your machine apparently doesn't implement fcntl(). What is this, a
42595991PDP-11 or something?
42605992
42615993=end original
42625994
42635995(F) このマシンでは、fcntl() が実装されていないように見えます。
42645996PDP-11 か何かでしょうか。
42655997
42665998=item FETCHSIZE returned a negative value
42675999
42686000=begin original
42696001
42706002(F) A tied array claimed to have a negative number of elements, which
42716003is not possible.
42726004
42736005=end original
42746006
42756007(F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。
42766008
6009=item Field already has a parameter name, cannot add another
6010
6011=begin original
6012
6013(F) A field may have at most one application of the C<:param> attribute to
6014assign a parameter name to it; once applied a second one is not allowed.
6015
6016=end original
6017
6018(F) 一つのフィールドは、それに割り当てるパラメータ名の C<:param> 属性は
6019最大一つ適用できます;
6020一旦適用されると、二つ目は許されません。
6021
6022=item Field attribute %s requires a value
6023
6024=begin original
6025
6026(F) You specified an attribute for a field that would require a value to
6027be passed in parentheses, but did not provide one. Remember that
6028whitespace is B<not> permitted between the attribute name and its value;
6029you must write this as
6030
6031=end original
6032
6033(F) フィールドの属性として、かっこに囲まれた値が要求されたところで、
6034それがありませんでした。
6035属性名とその値の間に空白は B<許されない> ことを忘れないでください;
6036次のように書かなければなりません:
6037
6038 field $var :attr(VALUE) ...
6039
6040=item field is experimental
6041
6042=begin original
6043
6044(S experimental::class) This warning is emitted if you use the C<field>
6045keyword of C<use feature 'class'>. This keyword is currently
6046experimental and its behaviour may change in future releases of Perl.
6047
6048=end original
6049
6050(S experimental::class) この警告は、C<use feature 'class'> の
6051C<field> キーワードを使うと発生します。
6052このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される
6053可能性があります。
6054
6055=item Field %s is not accessible outside a method
6056
6057=begin original
6058
6059(F) An attempt was made to access a field variable of a class from code
6060that does not appear inside the body of a C<method> subroutine. This is not
6061permitted, as only methods will have access to the fields of an instance.
6062
6063=end original
6064
6065(F) C<method> サブルーチンの本体の内側ではないコードから、
6066クラスのフィールド変数にアクセスしようとしました。
6067メソッドだけが実体のフィールドにアクセスできるので、
6068これは許されていません。
6069
6070=item Field %s of "%s" is not accessible in a method of "%s"
6071
6072=begin original
6073
6074(F) An attempt was made to access a field variable of a class, from a
6075method of another class nested inside the one that actually defined it.
6076This is not permitted, as only methods defined by a given class are
6077permitted to access fields of that class.
6078
6079=end original
6080
6081(F) 実際に定義されている物の内側にネストした、他のクラスのメソッドから、
6082下のクラスのフィールド変数にアクセスしようとしました。
6083指定されたクラスのメソッドだけがそのクラスのフィールドに
6084アクセスすることを許されているので、
6085これは許されていません。
6086
42776087=item Field too wide in 'u' format in pack
42786088
42796089=begin original
42806090
4281(W pack) Each line in an uuencoded string start with a length indicator
6091(W pack) Each line in an uuencoded string starts with a length indicator
4282which can't encode values above 63. So there is no point in asking for
6092which can't encode values above 63. So there is no point in asking for
4283a line length bigger than that. Perl will behave as if you specified
6093a line length bigger than that. Perl will behave as if you specified
42846094C<u63> as the format.
42856095
42866096=end original
42876097
42886098(W pack) uuencode された文字列の各行が、63 以上にエンコードできない
42896099長さ識別子から始まっています。
42906100それで、これより長い行の長さを問い合わせるところがありません。
42916101Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。
42926102
42936103=item Filehandle %s opened only for input
42946104
42956105=begin original
42966106
42976107(W io) You tried to write on a read-only filehandle. If you intended
42986108it to be a read-write filehandle, you needed to open it with "+<" or
42996109"+>" or "+>>" instead of with "<" or nothing. If you intended only to
43006110write the file, use ">" or ">>". See L<perlfunc/open>.
43016111
43026112=end original
43036113
43046114(W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。
43056115読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、
43066116何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて
43076117open する必要があります。
43086118ライトオンリーであれば、">" や ">>" を使ってください。
43096119L<perlfunc/open> を参照してください。
43106120
43116121=item Filehandle %s opened only for output
43126122
43136123=begin original
43146124
43156125(W io) You tried to read from a filehandle opened only for writing, If
43166126you intended it to be a read/write filehandle, you needed to open it
43176127with "+<" or "+>" or "+>>" instead of with ">". If you intended only to
43186128read from the file, use "<". See L<perlfunc/open>. Another possibility
43196129is that you attempted to open filedescriptor 0 (also known as STDIN) for
43206130output (maybe you closed STDIN earlier?).
43216131
43226132=end original
43236133
43246134(W io) 書き込み専用のファイルハンドルから読み込もうとしました;
43256135読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に
43266136">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。
43276137読み込み専用にしたい場合は、"<" を使ってください。
43286138L<perlfunc/open> を参照してください。
43296139他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を
43306140出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。
43316141
43326142=item Filehandle %s reopened as %s only for input
43336143
43346144=begin original
43356145
43366146(W io) You opened for reading a filehandle that got the same filehandle id
4337as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR
6147as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR
43386148previously.
43396149
43406150=end original
43416151
43426152(W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の
43436153ファイルハンドルを読み込み用に開こうとしました。
43446154これは、以前 STDOUT または STDERR を閉じたときに起きます。
43456155
43466156=item Filehandle STDIN reopened as %s only for output
43476157
43486158=begin original
43496159
43506160(W io) You opened for writing a filehandle that got the same filehandle id
4351as STDIN. This occurred because you closed STDIN previously.
6161as STDIN. This occurred because you closed STDIN previously.
43526162
43536163=end original
43546164
43556165(W io) STDIN として使われていたのと同じファイルハンドル ID の
43566166ファイルハンドルを書き込み用に開こうとしました。
43576167これは、以前 STDIN を閉じたときに起きます。
43586168
6169=item Filehandle STD%s reopened as %s only for input
6170
6171=begin original
6172
6173(W io) You opened for reading a filehandle that got the same filehandle id
6174as STDOUT or STDERR. This occurred because you closed the handle previously.
6175
6176=end original
6177
6178(W io) STDOUT または STDERR と同じファイルハンドル ID をもつ
6179ファイルハンドルを読み込むために開こうとしました。.
6180これは、その前にそのハンドルを閉じたために起こります。
6181
43596182=item Final $ should be \$ or $name
43606183
43616184=begin original
43626185
43636186(F) You must now decide whether the final $ in a string was meant to be
43646187a literal dollar sign, or was meant to introduce a variable name that
43656188happens to be missing. So you have to put either the backslash or the
43666189name.
43676190
43686191=end original
43696192
43706193(F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして
43716194忘れたのかを、はっきりさせなければなりません。
43726195バックスラッシュを付けるか、名前を入れてください。
43736196
6197=item defer is experimental
6198
6199=begin original
6200
6201(S experimental::defer) The C<defer> block modifier is experimental. If you
6202want to use the feature, disable the warning with
6203C<no warnings 'experimental::defer'>, but know that in doing so you are taking
6204the risk that your code may break in a future Perl version.
6205
6206=end original
6207
6208(S experimental::defer) C<defer> ブロック修飾子は実験的です。
6209この機能を使いたい場合、
6210C<no warnings 'experimental::defer'> で警告を無効にしてください;
6211ただし、そうすることによってあなたのコードは将来のバージョンの Perl で
6212壊れるかもしれないというリスクを取っているということを知っておいてください。
6213
43746214=item flock() on closed filehandle %s
43756215
43766216=begin original
43776217
43786218(W closed) The filehandle you're attempting to flock() got itself closed
43796219some time before now. Check your control flow. flock() operates on
43806220filehandles. Are you attempting to call flock() on a dirhandle by the
43816221same name?
43826222
43836223=end original
43846224
43856225(W closed) flock() しようとしたファイルハンドルはその前に既に
43866226閉じられています。
43876227制御フローをチェックしてください。
43886228flock() はファイルハンドルを操作します。
43896229同じ名前のディレクトリハンドルに flock() しようとしていませんか?
43906230
6231=item for my (...) is experimental
6232
6233=begin original
6234
6235(S experimental::for_list) This warning is emitted if you use C<for> to
6236iterate multiple values at a time. This syntax is currently experimental
6237and its behaviour may change in future releases of Perl.
6238
6239=end original
6240
6241この警告は、一度に複数の値を反復する C<for> を使うと発生します。
6242この構文は現在のところ実験的能で、Perl の将来のリリースでは変更される
6243可能性があります。
6244
6245=item Forked open '%s' not meaningful in <>
6246
6247=begin original
6248
6249(S inplace) You had C<|-> or C<-|> in C<@ARGV> and tried to use C<< <>
6250>> to read from it.
6251
6252=end original
6253
6254(S inplace) C<@ARGV> に C<|-> または C<-|> があり、
6255そこから読み取るために C<< <> >> を使おうとしました。
6256
6257=begin original
6258
6259Previously this would fork and produce a confusing error message.
6260
6261=end original
6262
6263以前は、これは fork して混乱を招くエラーメッセージを生成していました。
6264
43916265=item Format not terminated
43926266
43936267=begin original
43946268
43956269(F) A format must be terminated by a line with a solitary dot. Perl got
43966270to the end of your file without finding such a line.
43976271
43986272=end original
43996273
44006274(F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。
44016275そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。
44026276
44036277=item Format %s redefined
44046278
44056279=begin original
44066280
44076281(W redefine) You redefined a format. To suppress this warning, say
44086282
44096283=end original
44106284
44116285(W redefine) フォーマットを再定義しました。
44126286この警告を止めるには以下のようにしてください:
44136287
44146288 {
44156289 no warnings 'redefine';
44166290 eval "format NAME =...";
44176291 }
44186292
44196293=item Found = in conditional, should be ==
44206294
44216295=begin original
44226296
44236297(W syntax) You said
44246298
44256299=end original
44266300
44276301(W) 以下のようにしています:
44286302
44296303 if ($foo = 123)
44306304
44316305=begin original
44326306
44336307when you meant
44346308
44356309=end original
44366310
44376311以下のようにすべきです:
44386312
44396313 if ($foo == 123)
44406314
44416315=begin original
44426316
44436317(or something like that).
44446318
44456319=end original
44466320
44476321(あるいは似たようなこと)。
44486322
44496323=item %s found where operator expected
44506324
44516325=begin original
44526326
44536327(S syntax) The Perl lexer knows whether to expect a term or an operator.
44546328If it sees what it knows to be a term when it was expecting to see an
44556329operator, it gives you this warning. Usually it indicates that an
44566330operator or delimiter was omitted, such as a semicolon.
44576331
44586332=end original
44596333
44606334(S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを
44616335知っています。
44626336次に演算子が来ると思っているときに、項であるとわかるものが現れると、
44636337この警告が出ることになります。
44646338通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。
44656339
44666340=item gdbm store returned %d, errno %d, key "%s"
44676341
44686342=begin original
44696343
44706344(S) A warning from the GDBM_File extension that a store failed.
44716345
44726346=end original
44736347
44746348(S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。
44756349
44766350=item gethostent not implemented
44776351
44786352=begin original
44796353
44806354(F) Your C library apparently doesn't implement gethostent(), probably
44816355because if it did, it'd feel morally obligated to return every hostname
44826356on the Internet.
44836357
44846358=end original
44856359
44866360(F) C ライブラリに gethostent() が実装されていないようです;
44876361おそらく、実装すると Internet 上のすべてのホスト名を
44886362返さなければいけないと思っているのでしょう。
44896363
44906364=item get%sname() on closed socket %s
44916365
44926366=begin original
44936367
44946368(W closed) You tried to get a socket or peer socket name on a closed
44956369socket. Did you forget to check the return value of your socket() call?
44966370
44976371=end original
44986372
44996373(W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと
45006374しました。
45016375socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか?
45026376
45036377=item getpwnam returned invalid UIC %#o for user "%s"
45046378
45056379=begin original
45066380
45076381(S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the
45086382C<getpwnam> operator returned an invalid UIC.
45096383
45106384=end original
45116385
45126386(S) VMS に固有の警告です。
45136387C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで
45146388不正な UIC が返されました。
45156389
45166390=item getsockopt() on closed socket %s
45176391
45186392=begin original
45196393
45206394(W closed) You tried to get a socket option on a closed socket. Did you
45216395forget to check the return value of your socket() call? See
45226396L<perlfunc/getsockopt>.
45236397
45246398=end original
45256399
45266400(W clockd) クローズされたソケットのソケットオプションを取得しようとしました。
45276401socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
45286402L<perlfunc/getsockopt> を参照してください。
45296403
4530=item Global symbol "%s" requires explicit package name
6404=item get_layers: unknown argument '%s'
45316405
45326406=begin original
45336407
6408(F) You called PerlIO::get_layers() with an unknown argument. Legal
6409arguments are provided in key/value pairs, with the keys being one
6410of C<input>, C<output> or C<detail>, followed by a boolean.
6411
6412=end original
6413
6414(F) PerlIO::get_layers() を不明な引数で呼び出しました。
6415有効な引数はキーと値の組で提供されます;
6416キーは C<input>, C<output>, C<detail> のいずれかで、
6417その後に真偽値が続きます。
6418
6419=item given is deprecated
6420
6421=begin original
6422
6423(D deprecated::smartmatch) C<given> depends on smartmatch, which is
6424deprecated. It will be removed in Perl 5.42. See the explanation under
6425L<perlsyn/Experimental Details on given and when>.
6426
6427=end original
6428
6429(D deprecated::smartmatch) C<given> はスマートマッチングのに依存していて、
6430これは廃止予定です。
6431これは Perl 5.42 で削除される予定です。
6432L<perlsyn/Experimental Details on given and when> の説明を参照してください。
6433
6434=item Global symbol "%s" requires explicit package name (did you forget to
6435declare "my %s"?)
6436
6437=begin original
6438
45346439(F) You've said "use strict" or "use strict vars", which indicates
45356440that all variables must either be lexically scoped (using "my" or "state"),
45366441declared beforehand using "our", or explicitly qualified to say
45376442which package the global variable is in (using "::").
45386443
45396444=end original
45406445
45416446(F) "use strict" か "use strict vars" が指定されていますので、すべての変数は
45426447("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に
45436448宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、
45446449明示的に修飾しなくてはなりません。
45456450
45466451=item glob failed (%s)
45476452
45486453=begin original
45496454
4550(W glob) Something went wrong with the external program(s) used for
6455(S glob) Something went wrong with the external program(s) used
4551C<glob> and C<< <*.c> >>. Usually, this means that you supplied a
6456for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob>
4552C<glob> pattern that caused the external program to fail and exit with a
6457pattern that caused the external program to fail and exit with a
45536458nonzero status. If the message indicates that the abnormal exit
4554resulted in a coredump, this may also mean that your csh (C shell) is
6459resulted in a coredump, this may also mean that your csh (C shell)
4555broken. If so, you should change all of the csh-related variables in
6460is broken. If so, you should change all of the csh-related variables
4556config.sh: If you have tcsh, make the variables refer to it as if it
6461in config.sh: If you have tcsh, make the variables refer to it as
4557were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them all
6462if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them
4558empty (except that C<d_csh> should be C<'undef'>) so that Perl will
6463all empty (except that C<d_csh> should be C<'undef'>) so that Perl will
45596464think csh is missing. In either case, after editing config.sh, run
45606465C<./Configure -S> and rebuild Perl.
45616466
45626467=end original
45636468
4564(W glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が
6469(S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が
45656470発生しました。
45666471通常、これは外部プログラムが失敗して非 0 のステータスで終了するような
45676472C<glob> パターンが渡されたことを意味します。
45686473このメッセージがコアダンプを引きおこした異常終了を示している場合、
45696474csh (C シェル) が壊れていることを意味しているかもしれません。
45706475もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです:
45716476もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を
45726477参照するように変数を設定します;
45736478さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は
45746479C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。
45756480どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して
45766481Perl を再ビルドしてください。
45776482
45786483=item Glob not terminated
45796484
45806485=begin original
45816486
45826487(F) The lexer saw a left angle bracket in a place where it was expecting
45836488a term, so it's looking for the corresponding right angle bracket, and
45846489not finding it. Chances are you left some needed parentheses out
45856490earlier in the line, and you really meant a "less than".
45866491
45876492=end original
45886493
45896494(F) 項が必要とされるところで、開き山かっこが見つけたため、
45906495対応する閉じ山かっこを探しましたが、見つかりませんでした。
45916496可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を
45926497表したかった場合が考えられます。
45936498
6499=item gmtime(%f) failed
6500
6501=begin original
6502
6503(W overflow) You called C<gmtime> with a number that it could not handle:
6504too large, too small, or NaN. The returned value is C<undef>.
6505
6506=end original
6507
6508(W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり
6509小さすぎたり NaN だったりです。
6510返り値は C<undef> です。
6511
45946512=item gmtime(%f) too large
45956513
45966514=begin original
45976515
45986516(W overflow) You called C<gmtime> with a number that was larger than
45996517it can reliably handle and C<gmtime> probably returned the wrong
4600date. This warning is also triggered with nan (the special
6518date. This warning is also triggered with NaN (the special
46016519not-a-number value).
46026520
46036521=end original
46046522
46056523(W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、
46066524おそらく間違った日付が返されました。
4607この警告は、nan (特殊な非数) でも引き起こされます。
6525この警告は、NaN (特殊な非数) でも引き起こされます。
46086526
46096527=item gmtime(%f) too small
46106528
46116529=begin original
46126530
46136531(W overflow) You called C<gmtime> with a number that was smaller than
4614it can reliably handle and C<gmtime> probably returned the wrong
6532it can reliably handle and C<gmtime> probably returned the wrong date.
4615date. This warning is also triggered with nan (the special
4616not-a-number value).
46176533
46186534=end original
46196535
46206536(W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、
46216537おそらく間違った日付が返されました。
4622この警告は、nan (特殊な非数) でも引き起こされます。
46236538
46246539=item Got an error from DosAllocMem
46256540
46266541=begin original
46276542
46286543(P) An error peculiar to OS/2. Most probably you're using an obsolete
46296544version of Perl, and this should not happen anyway.
46306545
46316546=end original
46326547
46336548(P) OS/2 に固有のエラーです。
46346549もっともありそうなのは廃止されたバージョンの Perl を使っていることで、
46356550どちらにしてもこのエラーは起きないはずです。
46366551
46376552=item goto must have label
46386553
46396554=begin original
46406555
46416556(F) Unlike with "next" or "last", you're not allowed to goto an
46426557unspecified destination. See L<perlfunc/goto>.
46436558
46446559=end original
46456560
46466561(F) "next" や "last" とは違って、goto には必ず、飛び先を
46476562指定しなくてはなりません。
46486563L<perlfunc/goto> を参照してください。
46496564
6565=item Goto undefined subroutine%s
6566
6567=begin original
6568
6569(F) You tried to call a subroutine with C<goto &sub> syntax, but
6570the indicated subroutine hasn't been defined, or if it was, it
6571has since been undefined.
6572
6573=end original
6574
6575(F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された
6576サブルーチンは定義されていないか、定義されていましたが未定義化されました。
6577
6578=item Group name must start with a non-digit word character in regex; marked by
6579S<<-- HERE> in m/%s/
6580
6581=begin original
6582
6583(F) Group names must follow the rules for perl identifiers, meaning
6584they must start with a non-digit word character. A common cause of
6585this error is using (?&0) instead of (?0). See L<perlre>.
6586
6587=end original
6588
6589(F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で
6590始まらなければなりません。
6591このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。
6592L<perlre> を参照してください。
6593
46506594=item ()-group starts with a count
46516595
46526596=begin original
46536597
46546598(F) A ()-group started with a count. A count is supposed to follow
46556599something: a template character or a ()-group. See L<perlfunc/pack>.
46566600
46576601=end original
46586602
46596603(F) () グループが繰り返し数で始まっています。
4660繰り返し数は、テンプレート文字か () グループの後に続くことを
6604繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。
4661想定しています。
46626605L<perlfunc/pack> を参照してください。
46636606
46646607=item %s had compilation errors.
46656608
46666609=begin original
46676610
46686611(F) The final summary message when a C<perl -c> fails.
46696612
46706613=end original
46716614
46726615(F) C<perl -c> が失敗したときの最終まとめメッセージです。
46736616
46746617=item Had to create %s unexpectedly
46756618
46766619=begin original
46776620
46786621(S internal) A routine asked for a symbol from a symbol table that ought
46796622to have existed already, but for some reason it didn't, and had to be
46806623created on an emergency basis to prevent a core dump.
46816624
46826625=end original
46836626
46846627(S internal) あるルーティンが、既に存在しているはずのシンボルを、
46856628シンボルテーブルで探しましたが、何らかの理由で存在せず、
46866629コアダンプを避けるために、緊急に生成しました。
46876630
4688=item Hash %%s missing the % in argument %d of %s()
6631=item %s has too many errors
46896632
46906633=begin original
46916634
4692(D deprecated) Really old Perl let you omit the % on hash names in some
6635(F) The parser has given up trying to parse the program after 10 errors.
4693spots. This is now heavily deprecated.
6636Further error messages would likely be uninformative.
46946637
46956638=end original
46966639
4697(D deprecated) 本当古い Perl では、ハッシュ名 % 省略できる場所が
6640(F) 構文解析部が、プログラム中10 エラー見つけたため、
4698ありました。
6641それ以上の解析を諦めました。
4699れは廃止予定
6642以上のエラーメッセージ、おそらく意味がないしょう
47006643
4701=item %s has too many errors
6644=item Hexadecimal float: exponent overflow
47026645
47036646=begin original
47046647
4705(F) The parser has given up trying to parse the program after 10 errors.
6648(W overflow) The hexadecimal floating point has a larger exponent
4706Further error messages would likely be uninformative.
6649than the floating point supports.
47076650
47086651=end original
47096652
4710(F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため
6653(W overflow) 16 進浮動小数点数は対応している浮動小数点数よりも大きな
4711それ以上の解析諦めした
6654指数持ってい
4712それ以上のエラーメッセージは、おそらく意味がないでしょう。
47136655
4714=item Having no space between pattern and following word is deprecated
6656=item Hexadecimal float: exponent underflow
47156657
4716(D syntax)
6658=begin original
47176659
6660(W overflow) The hexadecimal floating point has a smaller exponent
6661than the floating point supports. With the IEEE 754 floating point,
6662this may also mean that the subnormals (formerly known as denormals)
6663are being used, which may or may not be an error.
6664
6665=end original
6666
6667(W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな
6668指数を持っています。
6669IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません;
6670どちらにしろエラーです。
6671
6672=item Hexadecimal float: internal error (%s)
6673
47186674=begin original
47196675
4720You had a word that isn't a regex modifier immediately following a
6676(F) Something went horribly bad in hexadecimal float handling.
4721pattern without an intervening space. If you are trying to use the C</le>
4722flags on a substitution, use C</el> instead. Otherwise, add white space
4723between the pattern and following word to eliminate the warning. As an
4724example of the latter, the two constructs:
47256677
47266678=end original
47276679
4728パターン引き続いて正規表現修飾子ではない単語を、間に空白なに書きました。
6680(F) 16 進浮動小数点の扱いいて何かが恐ろくおかしくなりました。
4729置換に C</le> フラグを使いたい場合は、代わりに C</el> を使ってください。
4730さもなければ、警告を消すためにパターンと引き続く単語の間に空白を
4731追加してください。
4732後者の例として、二つの構文は:
47336681
4734 $a =~ m/$foo/sand $bar
6682=item Hexadecimal float: mantissa overflow
4735 $a =~ m/$foo/s and $bar
47366683
47376684=begin original
47386685
4739both currently mean the same thing, but it is planned to disallow the first
6686(W overflow) The hexadecimal floating point literal had more bits in
4740form in Perl 5.16. And,
6687the mantissa (the part between the 0x and the exponent, also known as
6688the fraction or the significand) than the floating point supports.
47416689
47426690=end original
47436691
4744どちらも現在の所同じことを意味しますが、Perl 5.16 から前者形式を
6692(W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部間の部分) に
4745認めないようにすること計画されています。
6693浮動小数点数対応しているよりも多いビット数があります。
4746また、
47476694
4748 $a =~ m/$foo/and $bar
6695=item Hexadecimal float: precision loss
47496696
47506697=begin original
47516698
4752will be disallowed too.
6699(W overflow) The hexadecimal floating point had internally more
6700digits than could be output. This can be caused by unsupported
6701long double formats, or by 64-bit integers not being available
6702(needed to retrieve the digits under some configurations).
47536703
47546704=end original
47556705
4756も認められくなます。
6706(W overflow) 16 進浮動小数点数リテラルは内部では出力可能ものよ
6707多くの桁数を保持しています。
6708これは未対応の long double 形式や、(設定によっては受け取る必要のある)
6709利用できない 64 ビット整数によって引き起こされます。
47576710
6711=item Hexadecimal float: unsupported long double format
6712
6713=begin original
6714
6715(F) You have configured Perl to use long doubles but
6716the internals of the long double format are unknown;
6717therefore the hexadecimal float output is impossible.
6718
6719=end original
6720
6721(F) long double を使うように設定された Perl を使っていますが、
6722long double の内部形式が不明です; 従って 16 進浮動小数点数出力は
6723不可能です。
6724
47586725=item Hexadecimal number > 0xffffffff non-portable
47596726
47606727=begin original
47616728
47626729(W portable) The hexadecimal number you specified is larger than 2**32-1
47636730(4294967295) and therefore non-portable between systems. See
47646731L<perlport> for more on portability concerns.
47656732
47666733=end original
47676734
47686735(W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、
47696736システム間で移植性がありません。
47706737移植性に関するさらなる考察については L<perlport> を参照してください。
47716738
47726739=item Identifier too long
47736740
47746741=begin original
47756742
47766743(F) Perl limits identifiers (names for variables, functions, etc.) to
47776744about 250 characters for simple names, and somewhat more for compound
47786745names (like C<$A::B>). You've exceeded Perl's limits. Future versions
47796746of Perl are likely to eliminate these arbitrary limitations.
47806747
47816748=end original
47826749
47836750(F) Perl は識別子(変数名や関数名など)について、単純な名前については
47846751およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに
47856752制限しています。
47866753この Perl の制限を越えました。
47876754将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。
47886755
4789=item Ignoring zero length \N{} in character class
6756=item Ignoring zero length \N{} in character class in regex; marked by
6757S<<-- HERE> in m/%s/
47906758
47916759=begin original
47926760
4793(W) Named Unicode character escapes (\N{...}) may return a
6761(W regexp) Named Unicode character escapes (C<\N{...}>) may return a
4794zero length sequence. When such an escape is used in a character class
6762zero-length sequence. When such an escape is used in a character
4795its behaviour is not well defined. Check that the correct escape has
6763class its behavior is not well defined. Check that the correct
4796been used, and the correct charname handler is in scope.
6764escape has been used, and the correct charname handler is in scope.
47976765
47986766=end original
47996767
4800(W) 名前付き Unicode 文字エスケープ (\N{...}) が長さ 0 の
6768(W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の
48016769シーケンスを返しました。
48026770文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。
48036771正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に
48046772あるかをチェックしてください。
48056773
4806=item Illegal binary digit %s
6774=item Illegal %s digit '%c' ignored
48076775
48086776=begin original
48096777
6778(W digit) Here C<%s> is one of "binary", "octal", or "hex".
6779You may have tried to use a digit other than one that is legal for the
6780given type, such as only 0 and 1 for binary. For octals, this is raised
6781only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and
6782'a' - 'f' are legal.
6783Interpretation of the number stopped just before the offending digit or
6784character.
6785
6786=end original
6787
6788(W digit) ここで C<%s> は "binary", "octal", "hex" のうちの一つです。
67892 進数での 0 と 1 のような、与えられた型で正当でない数字を
6790使おうとしたのでしょう。
67918 進数の場合は、これは不正な文字が '8' または '9' の場合にのみ発生します。
679216 進数の場合、'A' - 'F' と 'a' - 'f' は正当です。
6793数の解釈は問題のある数値や文字の直前で停止しました。
6794
6795=item Illegal binary digit '%c'
6796
6797=begin original
6798
48106799(F) You used a digit other than 0 or 1 in a binary number.
48116800
48126801=end original
48136802
48146803(F) 2 進数として 0 と 1 以外の数値を使っています。
48156804
4816=item Illegal binary digit %s ignored
6805=item Illegal character after '_' in prototype for %s : %s
48176806
48186807=begin original
48196808
4820(W digit) You may have tried to use a digit other than 0 or 1 in a
6809(W illegalproto) An illegal character was found in a prototype
4821binary number. Interpretation of the binary number stopped before the
6810declaration. The '_' in a prototype must be followed by a ';',
4822offending digit.
6811indicating the rest of the parameters are optional, or one of '@'
6812or '%', since those two will accept 0 or more final parameters.
48236813
48246814=end original
48256815
4826(W digit) 2 進数とて 0 と 1 以外の数値を使おうとしのでしょう
6816(W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。
48272 進数解釈問題ある値の手前停止しまし
6817プロトタイプ中の '_' 、残りがオプションあることを示すめに
6818';' が引き続くか、'@' か '%' の一つでなければなりません;
6819これら二つは 0 以上の末尾の引数を受け付けるからです。
48286820
48296821=item Illegal character \%o (carriage return)
48306822
48316823=begin original
48326824
4833(F) Perl normally treats carriage returns in the program text as it
6825(F) Perl normally treats carriage returns in the program text as
4834would any other whitespace, which means you should never see this error
6826it would any other whitespace, which means you should never see
4835when Perl was built using standard options. For some reason, your
6827this error when Perl was built using standard options. For some
4836version of Perl appears to have been built without this support. Talk
6828reason, your version of Perl appears to have been built without
4837to your Perl administrator.
6829this support. Talk to your Perl administrator.
48386830
48396831=end original
48406832
48416833(F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に
48426834扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを
48436835見ることは決してないはずです。
48446836どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。
48456837Perl の管理者に問い合わせてください。
48466838
6839=item Illegal character following sigil in a subroutine signature
6840
6841=begin original
6842
6843(F) A parameter in a subroutine signature contained an unexpected character
6844following the C<$>, C<@> or C<%> sigil character. Normally the sigil
6845should be followed by the variable name or C<=> etc. Perhaps you are
6846trying use a prototype while in the scope of C<use feature 'signatures'>?
6847For example:
6848
6849=end original
6850
6851(F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて
6852想定外の文字がありました。
6853通常は、印には変数名や C<=> などが引き続くはずです。
6854おそらく C<use feature 'signatures'> のスコープ内で
6855プロトタイプを使おうとしたのでは?
6856例えば:
6857
6858 sub foo ($$) {} # legal - a prototype
6859
6860 use feature 'signatures;
6861 sub foo ($$) {} # illegal - was expecting a signature
6862 sub foo ($x, $y)
6863 :prototype($$) {} # legal
6864
48476865=item Illegal character in prototype for %s : %s
48486866
48496867=begin original
48506868
48516869(W illegalproto) An illegal character was found in a prototype declaration.
48526870Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +.
6871Perhaps you were trying to write a subroutine signature but didn't enable
6872that feature first (C<use feature 'signatures'>), so your signature was
6873instead interpreted as a bad prototype.
48536874
48546875=end original
48556876
48566877(W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。
48576878プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。
6879おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に
6880していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った
6881プロトタイプとして解釈されたのでしょう。
48586882
48596883=item Illegal declaration of anonymous subroutine
48606884
48616885=begin original
48626886
48636887(F) When using the C<sub> keyword to construct an anonymous subroutine,
4864you must always specify a block of code. See L<perlsub>.
6888you must always specify a block of code. See L<perlsub>.
48656889
48666890=end original
48676891
48686892(F) 無名サブルーチンを作るために C<sub> を使ったときは、
48696893常にコードのブロックを指定しなければなりません。
48706894L<perlsub> を参照してください。
48716895
48726896=item Illegal declaration of subroutine %s
48736897
48746898=begin original
48756899
4876(F) A subroutine was not declared correctly. See L<perlsub>.
6900(F) A subroutine was not declared correctly. See L<perlsub>.
48776901
48786902=end original
48796903
48806904(F) サブルーチンが正しく宣言されていません。
48816905L<perlsub> を参照してください。
48826906
48836907=item Illegal division by zero
48846908
48856909=begin original
48866910
48876911(F) You tried to divide a number by 0. Either something was wrong in
48886912your logic, or you need to put a conditional in to guard against
48896913meaningless input.
48906914
48916915=end original
48926916
48936917(F) ゼロで割り算をしようとしました。
48946918ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが
48956919必要かのどちらかでしょう。
48966920
4897=item Illegal hexadecimal digit %s ignored
4898
4899=begin original
4900
4901(W digit) You may have tried to use a character other than 0 - 9 or
4902A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal
4903number stopped before the illegal character.
4904
4905=end original
4906
4907(W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。
490816 進数の解釈は不正な文字の手前で停止しました。
4909
49106921=item Illegal modulus zero
49116922
49126923=begin original
49136924
49146925(F) You tried to divide a number by 0 to get the remainder. Most
49156926numbers don't take to this kindly.
49166927
49176928=end original
49186929
49196930(F) 余りを求めるのに、ゼロで割り算をしようとしました。
49206931これは、ほとんどの数体系で受け入れられません。
49216932
49226933=item Illegal number of bits in vec
49236934
49246935=begin original
49256936
49266937(F) The number of bits in vec() (the third argument) must be a power of
49276938two from 1 to 32 (or 64, if your platform supports that).
49286939
49296940=end original
49306941
49316942(F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが
49326943対応している場合は 64) までの、2 のべき乗でなければなりません。
49336944
4934=item Illegal octal digit %s
6945=item Illegal octal digit '%c'
49356946
49366947=begin original
49376948
49386949(F) You used an 8 or 9 in an octal number.
49396950
49406951=end original
49416952
49426953(F) 8 進数で 8 か 9 を使いました。
49436954
4944=item Illegal octal digit %s ignored
6955=item Illegal operator following parameter in a subroutine signature
49456956
49466957=begin original
49476958
4948(W digit) You may have tried to use an 8 or 9 in an octal number.
6959(F) A parameter in a subroutine signature, was followed by something
4949Interpretation of the octal number stopped before the 8 or 9.
6960other than C<=> introducing a default, C<,> or C<)>.
49506961
49516962=end original
49526963
4953(W digit) 8 進数 8 か 9 使おうとしたのでしょう。
6964(F) サブルーチンシグネチャ引数に引き続いて、デフォルト導入する
49548 進数の解釈は 8 か 9 手前で停止しました。
6965C<=>, C<,>, C<)> 以外ものがありました。
49556966
6967 use feature 'signatures';
6968 sub foo ($=1) {} # legal
6969 sub foo ($x = 1) {} # legal
6970 sub foo ($x += 1) {} # illegal
6971 sub foo ($x == 1) {} # illegal
6972
6973=item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/
6974
6975=begin original
6976
6977(F) You wrote something like
6978
6979=end original
6980
6981(F) 次のようなものを書きました:
6982
6983 (?+foo)
6984
6985=begin original
6986
6987The C<"+"> is valid only when followed by digits, indicating a
6988capturing group. See
6989L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>.
6990
6991=end original
6992
6993C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。
6994L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を
6995参照してください。
6996
6997=item Illegal suidscript
6998
6999=begin original
7000
7001(F) The script run under suidperl was somehow illegal.
7002
7003=end original
7004
7005(F) suidperl でのスクリプトの実行が何らかの理由で不正でした。
7006
49567007=item Illegal switch in PERL5OPT: -%c
49577008
49587009=begin original
49597010
49607011(X) The PERL5OPT environment variable may only be used to set the
49617012following switches: B<-[CDIMUdmtw]>.
49627013
49637014=end original
49647015
4965(X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> の
7016(X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。
4966オプションだけです。
49677017
7018=item Illegal user-defined property name
7019
7020=begin original
7021
7022(F) You specified a Unicode-like property name in a regular expression
7023pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official
7024Unicode property, and was likely meant to be a user-defined property
7025name, but it can't be one of those, as they must begin with either C<In>
7026or C<Is>. Check the spelling. See also
7027L</Can't find Unicode property definition "%s">.
7028
7029=end original
7030
7031(F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が
7032公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、
7033おそらくそれはユーザー定義特性を意味しているのでしょうが、
7034しかし、それらは C<In> か C<Is> で始まっていなければならないので、
7035そうなりません。
7036綴りを確認してください。
7037L</Can't find Unicode property definition "%s"> も参照してください。
7038
49687039=item Ill-formed CRTL environ value "%s"
49697040
49707041=begin original
49717042
49727043(W internal) A warning peculiar to VMS. Perl tried to read the CRTL's
49737044internal environ array, and encountered an element without the C<=>
49747045delimiter used to separate keys from values. The element is ignored.
49757046
49767047=end original
49777048
49787049(W internal) VMS に固有の警告です。
49797050Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と
49807051分離するために使われている C<=> デリミタのない要素に遭遇しました。
49817052この要素は無視しました。
49827053
49837054=item Ill-formed message in prime_env_iter: |%s|
49847055
49857056=begin original
49867057
49877058(W internal) A warning peculiar to VMS. Perl tried to read a logical
49887059name or CLI symbol definition when preparing to iterate over %ENV, and
49897060didn't see the expected delimiter between key and value, so the line was
49907061ignored.
49917062
49927063=end original
49937064
49947065(W internal) VMS に固有の警告です。
49957066Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を
49967067読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、
49977068その行は無視しました。
49987069
49997070=item (in cleanup) %s
50007071
50017072=begin original
50027073
50037074(W misc) This prefix usually indicates that a DESTROY() method raised
50047075the indicated exception. Since destructors are usually called by the
50057076system at arbitrary points during execution, and often a vast number of
50067077times, the warning is issued only once for any number of failures that
50077078would otherwise result in the same message being repeated.
50087079
50097080=end original
50107081
50117082(W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで
50127083発生したことを示しています。
50137084デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に
50147085呼び出されるので、この警告は同じメッセージが繰り返されないように、
50157086何回失敗しても一度だけ発生します。
50167087
50177088=begin original
50187089
50197090Failure of user callbacks dispatched using the C<G_KEEPERR> flag could
50207091also result in this warning. See L<perlcall/G_KEEPERR>.
50217092
50227093=end original
50237094
50247095C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した
50257096場合にもこの警告が出ることがあります。
50267097L<perlcall/G_KEEPERR> を参照してください。
50277098
5028=item Inconsistent hierarchy during C3 merge of class '%s': merging failed on parent '%s'
7099=item Implicit use of @_ in %s with signatured subroutine is experimental
50297100
50307101=begin original
50317102
7103(S experimental::args_array_with_signatures) An expression that implicitly
7104involves the C<@_> arguments array was found in a subroutine that uses a
7105signature. This is experimental because the interaction between the
7106arguments array and parameter handling via signatures is not guaranteed
7107to remain stable in any future version of Perl, and such code should be
7108avoided.
7109
7110=end original
7111
7112(S experimental::args_array_with_signatures)
7113暗黙に C<@_> 引数配列が関係する式が
7114シグネチャを使ったサブルーチンの中に見つかりました。
7115引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、
7116将来のバージョンの Perl でも安定なままであることが保証されておらず、
7117そのようなコードは避けるべきなため、これは実験的です。
7118
7119=item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE>
7120in m/%s/
7121
7122=begin original
7123
7124(F) There was a syntax error within the C<(?[ ])>. This can happen if the
7125expression inside the construct was completely empty, or if there are
7126too many or few operands for the number of operators. Perl is not smart
7127enough to give you a more precise indication as to what is wrong.
7128
7129=end original
7130
7131(F) これは C<(?[ ])> の中の文法エラーです。
7132これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり
7133少なすぎたりする場合に起こります。
7134Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。
7135
7136=item Inconsistent hierarchy during C3 merge of class '%s': merging failed on
7137parent '%s'
7138
7139=begin original
7140
50327141(F) The method resolution order (MRO) of the given class is not
50337142C3-consistent, and you have enabled the C3 MRO for this class. See the C3
50347143documentation in L<mro> for more information.
50357144
50367145=end original
50377146
50387147(F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、
50397148このクラスの C3 MRO を有効にしました。
50407149さらなる情報については L<mro> 内の C3 に関する文書を参照してください。
50417150
5042=item In EBCDIC the v-string components cannot exceed 2147483647
7151=item Indentation on line %d of here-doc doesn't match delimiter
50437152
50447153=begin original
50457154
5046(F) An error peculiar to EBCDIC. Internally, v-strings are stored as
7155(F) You have an indented here-document where one or more of its lines
5047Unicode code points, and encoded in EBCDIC as UTF-EBCDIC. The UTF-EBCDIC
7156have whitespace at the beginning that does not match the closing
5048encoding is limited to code points no larger than 2147483647 (0x7FFFFFFF).
7157delimiter.
50497158
50507159=end original
50517160
5052(F) EBCDIC 特有エラーで
7161(F) インデントあるヒヤドキュメントがありまが、
5053内部的、v 文字列は Unicode 文字ポイトとて保管されてて、
7162先頭空白があるけれども閉じ区切り文字にマッチ行があります。
5054EBCDIC では UTF-EBCDIC でとしてエンコードされています。
5055UTF-EBCDIC エンコーディングでは、コードポイントは
50562147483647 (0x7FFFFFFF) 以下に制限されます。
50577163
5058=item Infinite recursion in regex; marked by <-- HERE in m/%s/
7164=begin original
50597165
7166For example, line 2 below is wrong because it does not have at least
71672 spaces, but lines 1 and 3 are fine because they have at least 2:
7168
7169=end original
7170
7171例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の
7172スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです;
7173少なくとも 2 個あるからです:
7174
7175 if ($something) {
7176 print <<~EOF;
7177 Line 1
7178 Line 2 not
7179 Line 3
7180 EOF
7181 }
7182
50607183=begin original
50617184
7185Note that tabs and spaces are compared strictly, meaning 1 tab will
7186not match 8 spaces.
7187
7188=end original
7189
7190タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは
7191マッチングしないことに注意してください。
7192
7193=item Infinite recursion in regex
7194
7195=begin original
7196
50627197(F) You used a pattern that references itself without consuming any input
5063text. You should check the pattern to ensure that recursive patterns
7198text. You should check the pattern to ensure that recursive patterns
50647199either consume text or fail.
50657200
50667201=end original
50677202
50687203(F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。
50697204再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、
50707205パターンをチェックするべきです。
50717206
7207=item Infinite recursion in user-defined property
7208
50727209=begin original
50737210
5074The <-- HERE shows in the regular expression about where the problem was
7211(F) A user-defined property (L<perlunicode/User-Defined Character
5075discovered.
7212Properties>) can depend on the definitions of other user-defined
7213properties. If the chain of dependencies leads back to this property,
7214infinite recursion would occur, were it not for the check that raised
7215this error.
50767216
50777217=end original
50787218
5079<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7219(F) ユーザー定義特性 (L<perlunicode/User-Defined Character
7220Properties>) は他のユーザー定義特性の定義に依存できます。
7221依存の鎖がこの特性に戻ってくる場合、無限再帰が起きることになり、
7222そうしないためのチェックがこのエラーを起こします。
50807223
5081=item Initialization of state variables in list context currently forbidden
7224=begin original
50827225
7226Restructure your property definitions to avoid this.
7227
7228=end original
7229
7230これを避けるために特性定義を再構成してください。
7231
7232=item Infinite recursion via empty pattern
7233
50837234=begin original
50847235
5085(F) Currently the implementation of "state" only permits the initialization
7236(F) You tried to use the empty pattern inside of a regex code block,
5086of scalar variables in scalar context. Re-write C<state ($a) = 42> as
7237for instance C</(?{ s!!! })/>, which resulted in re-executing
5087C<state $a = 42> to change from list to scalar context. Constructions such
7238the same pattern, which is an infinite loop which is broken by
5088as C<state (@a) = foo()> will be supported in a future perl release.
7239throwing an exception.
50897240
50907241=end original
50917242
5092(F) 現在のところ、"state"実装はスカランテキストでスカラ変数の
7243(F) C</(?{ s!!! })/> ように正規表現ードブロック中で
5093初期化のみが許されています。
7244空パターンを使いました;
5094C<state ($a) = 42> C<state $a = 42> のように、リストコンテキストから
7245これは同じパターン再実行することなり
5095スカラコンテキスト書き換えください
7246例外が投げられることよっ壊れる無限ループになります
5096C<state (@a) = foo()> のような構文は perl の将来のリリースで
5097対応されるでしょう。
50987247
7248=item Initialization of state variables in list currently forbidden
7249
7250=begin original
7251
7252(F) C<state> only permits initializing a single variable, specified
7253without parentheses. So C<state $x = 42> and C<state @x = qw(a b c)> are
7254allowed, but not C<state ($x) = 42> or C<(state $x) = 42>. To initialize
7255more than one C<state> variable, initialize them one at a time.
7256
7257=end original
7258
7259(F) C<state> は、かっこなしで指定された単一の変数の初期化のみが
7260許されています。
7261従って C<state $x = 42> と C<state @x = qw(a b c)> は許されますが、
7262C<state ($x) = 42> や C<(state $x) = 42> は許されません。
7263複数の C<state> 変数を初期化するには、一つずつ初期化してください。
7264
7265=item %%s[%s] in scalar context better written as $%s[%s]
7266
7267=begin original
7268
7269(W syntax) In scalar context, you've used an array index/value slice
7270(indicated by %) to select a single element of an array. Generally
7271it's better to ask for a scalar value (indicated by $). The difference
7272is that C<$foo[&bar]> always behaves like a scalar, both in the value it
7273returns and when evaluating its argument, while C<%foo[&bar]> provides
7274a list context to its subscript, which can do weird things if you're
7275expecting only one subscript. When called in list context, it also
7276returns the index (what C<&bar> returns) in addition to the value.
7277
7278=end original
7279
7280(W syntax) スカラコンテキストで、配列の単一の要素を選択するために
7281(% で示される)配列インデックス/値スライスを使いました。
7282一般的には($ で示される)スカラ値を取得した方がよいです。
7283違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように
7284振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、
7285一つだけの添え字を想定していた場合、おかしなことになることがあります。
7286リストコンテキストで呼び出された場合、値に加えてインデックス
7287(C<&bar> が返すもの) を返します。
7288
7289=item %%s{%s} in scalar context better written as $%s{%s}
7290
7291=begin original
7292
7293(W syntax) In scalar context, you've used a hash key/value slice
7294(indicated by %) to select a single element of a hash. Generally it's
7295better to ask for a scalar value (indicated by $). The difference
7296is that C<$foo{&bar}> always behaves like a scalar, both in the value
7297it returns and when evaluating its argument, while C<@foo{&bar}> and
7298provides a list context to its subscript, which can do weird things
7299if you're expecting only one subscript. When called in list context,
7300it also returns the key in addition to the value.
7301
7302=end original
7303
7304(W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために
7305(% で示される)ハッシュキー/値スライスを使いました。
7306一般的には($ で示される)スカラ値を取得した方がよいです。
7307違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように
7308振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、
7309一つだけの添え字を想定していた場合、おかしなことになることがあります。
7310リストコンテキストで呼び出された場合、値に加えてインデックスを返します。
7311
50997312=item Insecure dependency in %s
51007313
51017314=begin original
51027315
51037316(F) You tried to do something that the tainting mechanism didn't like.
51047317The tainting mechanism is turned on when you're running setuid or
51057318setgid, or when you specify B<-T> to turn it on explicitly. The
51067319tainting mechanism labels all data that's derived directly or indirectly
51077320from the user, who is considered to be unworthy of your trust. If any
51087321such data is used in a "dangerous" operation, you get this error. See
51097322L<perlsec> for more information.
51107323
51117324=end original
51127325
51137326(F) 何か汚染チェックの機構が、望ましくないと判断することを
51147327行なおうとしました。
51157328setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、
51167329汚染チェック機構が働きます。
51177330汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、
51187331指定したデータに印を付けます。
51197332そのようなデータを「危険な」操作に用いると、このエラーが発生します。
51207333詳しくは、L<perlsec> を参照してください。
51217334
51227335=item Insecure directory in %s
51237336
51247337=begin original
51257338
51267339(F) You can't use system(), exec(), or a piped open in a setuid or
51277340setgid script if C<$ENV{PATH}> contains a directory that is writable by
51287341the world. Also, the PATH must not contain any relative directory.
51297342See L<perlsec>.
51307343
51317344=end original
51327345
51337346(F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが
51347347含まれているとき、system()、exec()、パイプのオープンを
51357348行なうことはできません。
51367349また、PATH には相対早退ディレクトリを含んでいてはいけません。
51377350L<perlsec> を参照してください。
51387351
51397352=item Insecure $ENV{%s} while running %s
51407353
51417354=begin original
51427355
51437356(F) You can't use system(), exec(), or a piped open in a setuid or
51447357setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>,
51457358C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data
51467359supplied (or potentially supplied) by the user. The script must set
51477360the path to a known value, using trustworthy data. See L<perlsec>.
51487361
51497362=end original
51507363
51517364(F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>,
51527365C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された
51537366(あるいは提供された可能性のある)データの場合、setuid や setgid された
51547367スクリプトでは system(), exec(), パイプされる open を
51557368使うことはできません。
51567369スクリプトはパスとして、信頼の置けるデータを使った、既知の値を
51577370セットしなければなりません。
51587371L<perlsec> を参照してください。
51597372
51607373=item Insecure user-defined property %s
51617374
51627375=begin original
51637376
51647377(F) Perl detected tainted data when trying to compile a regular
51657378expression that contains a call to a user-defined character property
51667379function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>.
51677380See L<perlunicode/User-Defined Character Properties> and L<perlsec>.
51687381
51697382=end original
51707383
51717384(F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の
51727385呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを
51737386検出しました。
51747387L<perlunicode/User-Defined Character Properties> と L<perlsec> を
51757388参照してください。
51767389
51777390=item Integer overflow in format string for %s
51787391
51797392=begin original
51807393
51817394(F) The indexes and widths specified in the format string of C<printf()>
51827395or C<sprintf()> are too large. The numbers must not overflow the size of
51837396integers for your architecture.
51847397
51857398=end original
51867399
51877400(F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや
51887401幅が大きすぎます。
51897402数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように
51907403しなければなりません。
51917404
51927405=item Integer overflow in %s number
51937406
51947407=begin original
51957408
5196(W overflow) The hexadecimal, octal or binary number you have specified
7409(S overflow) The hexadecimal, octal or binary number you have specified
51977410either as a literal or as an argument to hex() or oct() is too big for
51987411your architecture, and has been converted to a floating point number.
51997412On a 32-bit architecture the largest hexadecimal, octal or binary number
52007413representable without overflow is 0xFFFFFFFF, 037777777777, or
520174140b11111111111111111111111111111111 respectively. Note that Perl
52027415transparently promotes all numbers to a floating point representation
52037416internally--subject to loss of precision errors in subsequent
52047417operations.
52057418
52067419=end original
52077420
5208(W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、
7421(S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、
520974228 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に
52107423変換されました。
5211742432 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進
521274252 進数はそれぞれ 0xFFFFFFFF, 037777777777,
521374260b11111111111111111111111111111111 です。
52147427Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに
52157428注意してください -- 引き続く操作によって精度が失われることがあります。
52167429
7430=item Integer overflow in srand
7431
7432=begin original
7433
7434(S overflow) The number you have passed to srand is too big to fit
7435in your architecture's integer representation. The number has been
7436replaced with the largest integer supported (0xFFFFFFFF on 32-bit
7437architectures). This means you may be getting less randomness than
7438you expect, because different random seeds above the maximum will
7439return the same sequence of random numbers.
7440
7441=end original
7442
7443(S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に
7444適合させるには大きすぎます。
7445数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に
7446置き換えられました。
7447これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、
7448想定しているよりもランダム性が低くなることを意味します。
7449
52177450=item Integer overflow in version
52187451
7452=item Integer overflow in version %d
7453
52197454=begin original
52207455
5221(F) Some portion of a version initialization is too large for the
7456(W overflow) Some portion of a version initialization is too large for
5222size of integers for your architecture. This is not a warning
7457the size of integers for your architecture. This is not a warning
5223because there is no rational reason for a version to try and use a
7458because there is no rational reason for a version to try and use an
5224element larger than typically 2**32. This is usually caused by
7459element larger than typically 2**32. This is usually caused by trying
5225trying to use some odd mathematical operation as a version, like
7460to use some odd mathematical operation as a version, like 100/9.
5226100/9.
52277461
52287462=end original
52297463
5230(F) バージョン初期化の一部が、アーキテクチャの整数のサイズより
7464(W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより
52317465大きすぎます。
52327466バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な
52337467理由がないので、これは警告ではありません。
52347468これは普通、100/9 のようなおかしな数値演算をバージョンとして
52357469使おうとしたことによります。
52367470
5237=item Internal disaster in regex; marked by <-- HERE in m/%s/
7471=item Internal disaster in regex; marked by S<<-- HERE> in m/%s/
52387472
52397473=begin original
52407474
52417475(P) Something went badly wrong in the regular expression parser.
5242The <-- HERE shows in the regular expression about where the problem was
7476The S<<-- HERE> shows whereabouts in the regular expression the problem was
52437477discovered.
52447478
52457479=end original
52467480
52477481(P) 正規表現解析部に何か悪いことが起こりました。
5248<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7482S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
52497483
52507484=item Internal inconsistency in tracking vforks
52517485
52527486=begin original
52537487
52547488(S) A warning peculiar to VMS. Perl keeps track of the number of times
52557489you've called C<fork> and C<exec>, to determine whether the current call
52567490to C<exec> should affect the current script or a subprocess (see
52577491L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so
52587492Perl is making a guess and treating this C<exec> as a request to
52597493terminate the Perl script and execute the specified command.
52607494
52617495=end original
52627496
52637497(S) VMS に固有の警告です。
52647498Perl は C<fork> と C<exec> を呼び出した回数を数えています;
52657499これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに
52667500影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を
52677501参照してください)。
52687502どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が
52697503Perl スクリプトを終了させて指定されたコマンドを実行する要求であると
52707504仮定して、そのように扱いました。
52717505
5272=item Internal urp in regex; marked by <-- HERE in m/%s/
7506=item internal %<num>p might conflict with future printf extensions
52737507
52747508=begin original
52757509
5276(P) Something went badly awry in the regular expression parser. The
7510(S internal) Perl's internal routine that handles C<printf> and C<sprintf>
5277<-- HERE shows in the regular expression about where the problem was
7511formatting follows a slightly different set of rules when called from
7512C or XS code. Specifically, formats consisting of digits followed
7513by "p" (e.g., "%7p") are reserved for future use. If you see this
7514message, then an XS module tried to call that routine with one such
7515reserved format.
7516
7517=end original
7518
7519(S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の
7520内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に
7521従います。
7522特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の
7523使用のために予約されています。
7524このメッセージが表示された場合、XS モジュールはこのような予約された
7525フォーマットを使って呼び出そうとしました。
7526
7527=item Internal urp in regex; marked by S<<-- HERE> in m/%s/
7528
7529=begin original
7530
7531(P) Something went badly awry in the regular expression parser. The
7532S<<-- HERE> shows whereabouts in the regular expression the problem was
52787533discovered.
52797534
52807535=end original
52817536
52827537(P) 正規表現解析部に何か間違ったことが起こりました。
5283<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7538S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
52847539
52857540=item %s (...) interpreted as function
52867541
52877542=begin original
52887543
52897544(W syntax) You've run afoul of the rule that says that any list operator
52907545followed by parentheses turns into a function, with all the list
52917546operators arguments found inside the parentheses. See
52927547L<perlop/Terms and List Operators (Leftward)>.
52937548
52947549=end original
52957550
5296(W syntax) リスト演算子の直後にかっこを置くと、かっこ内にあるリスト演算子引数を
7551(W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある
5297持つ関数になる、という規則が適用されました。
7552リスト演算子引数を持つ関数になる、という規則が適用されました。
52987553L<perlop/Terms and List Operators (Leftward)> を参照してください。
52997554
7555=item In '(?...)', the '(' and '?' must be adjacent in regex;
7556marked by S<<-- HERE> in m/%s/
7557
7558=begin original
7559
7560(F) The two-character sequence C<"(?"> in this context in a regular
7561expression pattern should be an indivisible token, with nothing
7562intervening between the C<"("> and the C<"?">, but you separated them
7563with whitespace.
7564
7565=end original
7566
7567(F)
7568正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、
7569C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。
7570
7571=item In '(*...)', the '(' and '*' must be adjacent in regex;
7572marked by S<<-- HERE> in m/%s/
7573
7574=begin original
7575
7576(F) The two-character sequence C<"(*"> in this context in a regular
7577expression pattern should be an indivisible token, with nothing
7578intervening between the C<"("> and the C<"*">, but you separated them.
7579Fix the pattern and retry.
7580
7581=end original
7582
7583(F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない
7584トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを
7585分割しました。
7586パターンを修正して再挑戦してください。
7587
53007588=item Invalid %s attribute: %s
53017589
53027590=begin original
53037591
53047592(F) The indicated attribute for a subroutine or variable was not recognized
53057593by Perl or by a user-supplied handler. See L<attributes>.
53067594
53077595=end original
53087596
53097597(F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで
53107598認識されませんでした。
53117599L<attributes> を参照してください。
53127600
53137601=item Invalid %s attributes: %s
53147602
53157603=begin original
53167604
53177605(F) The indicated attributes for a subroutine or variable were not
53187606recognized by Perl or by a user-supplied handler. See L<attributes>.
53197607
53207608=end original
53217609
53227610(F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで
53237611認識されませんでした。
53247612L<attributes> を参照してください。
53257613
7614=item Invalid character in charnames alias definition; marked by
7615S<<-- HERE> in '%s
7616
7617=begin original
7618
7619(F) You tried to create a custom alias for a character name, with
7620the C<:alias> option to C<use charnames> and the specified character in
7621the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>.
7622
7623=end original
7624
7625(F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を
7626作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。
7627L<charnames/CUSTOM ALIASES> を参照してください。
7628
7629=item Invalid \0 character in %s for %s: %s\0%s
7630
7631=begin original
7632
7633(W syscalls) Embedded \0 characters in pathnames or other system call
7634arguments produce a warning as of 5.20. The parts after the \0 were
7635formerly ignored by system calls.
7636
7637=end original
7638
7639(W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は
76405.20 から警告を出力するようになりました。
7641以前は \0 の後の部分はシステムコールによって無視されていました。
7642
7643=item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s}
7644
7645=begin original
7646
7647(F) Only certain characters are valid for character names. The
7648indicated one isn't. See L<charnames/CUSTOM ALIASES>.
7649
7650=end original
7651
7652(F) 文字名としては一部の文字のみが正当です。
7653示されたものは違います。
7654L<charnames/CUSTOM ALIASES> を参照してください。
7655
53267656=item Invalid conversion in %s: "%s"
53277657
53287658=begin original
53297659
53307660(W printf) Perl does not understand the given format conversion. See
53317661L<perlfunc/sprintf>.
53327662
53337663=end original
53347664
53357665(W printf) Perl は指定されたフォーマット変換が認識できませんでした。
53367666L<perlfunc/sprintf> を参照してください。
53377667
5338=item Invalid escape in the specified encoding in regex; marked by <-- HERE in m/%s/
7668=item Invalid escape in the specified encoding in regex; marked by
7669S<<-- HERE> in m/%s/
53397670
53407671=begin original
53417672
5342(W regexp) The numeric escape (for example C<\xHH>) of value < 256
7673(W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256
53437674didn't correspond to a single character through the conversion
53447675from the encoding specified by the encoding pragma.
5345The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) instead.
7676The escape was replaced with REPLACEMENT CHARACTER (U+FFFD)
5346The <-- HERE shows in the regular expression about where the
7677instead, except within S<C<(?[ ])>>, where it is a fatal error.
7678The S<<-- HERE> shows whereabouts in the regular expression the
53477679escape was discovered.
53487680
53497681=end original
53507682
5351(W regexp) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、
7683(W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、
53527684エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。
5353エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます
7685エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます;
5354<-- HERE で正規表現どこにスケプが発見されたかを示しています。
7686ただし、S<C<(?[ ])>> 内側の場合は致命的になります。
7687S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
53557688
53567689=item Invalid hexadecimal number in \N{U+...}
53577690
7691=item Invalid hexadecimal number in \N{U+...} in regex; marked by
7692S<<-- HERE> in m/%s/
7693
53587694=begin original
53597695
53607696(F) The character constant represented by C<...> is not a valid hexadecimal
53617697number. Either it is empty, or you tried to use a character other than
536276980 - 9 or A - F, a - f in a hexadecimal number.
53637699
53647700=end original
53657701
53667702(F) C<...> で表現された文字定数は妥当な 16 進数ではありません。
53677703空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。
53687704
7705=item Invalid module name %s with -%c option: contains single ':'
7706
7707=begin original
7708
7709(F) The module argument to perl's B<-m> and B<-M> command-line options
7710cannot contain single colons in the module name, but only in the
7711arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but
7712B<-MFoo:Bar=baz> is not.
7713
7714=end original
7715
7716(F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、
7717モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが
7718できます。
7719言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は
7720そうではありません。
7721
53697722=item Invalid mro name: '%s'
53707723
53717724=begin original
53727725
53737726(F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>,
53747727where C<foo> is not a valid method resolution order (MRO). Currently,
53757728the only valid ones supported are C<dfs> and C<c3>, unless you have loaded
53767729a module that is a MRO plugin. See L<mro> and L<perlmroapi>.
53777730
53787731=end original
53797732
53807733(F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと
53817734しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。
53827735現在のところ、MRO プラグインモジュールを読み込まない限り、対応として
53837736有効なものは C<dfs> と C<c3> だけです。
53847737L<mro> と L<perlmroapi> を参照してください。
53857738
5386=item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/
7739=item Invalid negative number (%s) in chr
53877740
53887741=begin original
53897742
7743(W utf8) You passed a negative number to C<chr>. Negative numbers are
7744not valid character numbers, so it returns the Unicode replacement
7745character (U+FFFD).
7746
7747=end original
7748
7749(W utf8) C<chr> に負数を渡しました。
7750負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。
7751
7752=item Invalid number '%s' for -C option.
7753
7754=begin original
7755
7756(F) You supplied a number to the -C option that either has extra leading
7757zeroes or overflows perl's unsigned integer representation.
7758
7759=end original
7760
7761(F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を
7762オーバーフローするといったような数値を指定しました。
7763
7764=item invalid option -D%c, use -D'' to see choices
7765
7766=begin original
7767
7768(S debugging) Perl was called with invalid debugger flags. Call perl
7769with the B<-D> option with no flags to see the list of acceptable values.
7770See also L<perlrun/-Dletters>.
7771
7772=end original
7773
7774(F) Perl は不正なデバッガフラグで呼び出されました。
7775受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて
7776perl を呼び出してください。
7777L<< perlrun/B<-D>I<letters> >> も参照してください。
7778
7779=item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/
7780
7781=begin original
7782
7783(F) The pattern looks like a {min,max} quantifier, but the min or max
7784could not be parsed as a valid number - either it has leading zeroes,
7785or it represents too big a number to cope with. The S<<-- HERE> shows
7786where in the regular expression the problem was discovered. See L<perlre>.
7787
7788=end original
7789
7790(F) パターンは {min,max} 量指定子のように見えますが、min または max が
7791正当な数値としてパースできませんでした - 先頭に 0 が付いているか、
7792数値として扱うには大きすぎます。
7793S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
7794L<perlre> を参照してください。
7795
7796=item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/
7797
7798=begin original
7799
53907800(F) The range specified in a character class had a minimum character
53917801greater than the maximum character. One possibility is that you forgot the
53927802C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only
5393up to C<ff>. The <-- HERE shows in the regular expression about where the
7803up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the
53947804problem was discovered. See L<perlre>.
53957805
53967806=end original
53977807
53987808(F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。
53997809ひとつの可能性としては、末尾の C<\x{}> から C<{}> を
54007810忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか
54017811なりません。
5402<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7812S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
54037813L<perlre> を参照してください。
54047814
54057815=item Invalid range "%s" in transliteration operator
54067816
54077817=begin original
54087818
54097819(F) The range specified in the tr/// or y/// operator had a minimum
54107820character greater than the maximum character. See L<perlop>.
54117821
54127822=end original
54137823
54147824(F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が
54157825大きいです。
54167826L<perlop> を参照してください。
54177827
7828=item Invalid reference to group in regex; marked by S<<-- HERE> in m/%s/
7829
7830=begin original
7831
7832(F) The capture group you specified can't possibly exist because the
7833number you used is not within the legal range of possible values for
7834this machine.
7835
7836=end original
7837
7838(F) 指定した捕捉グループはおそらく存在できません;
7839使われている数字がこの機械で可能な値の範囲の中でないからです。
7840
54187841=item Invalid separator character %s in attribute list
54197842
54207843=begin original
54217844
54227845(F) Something other than a colon or whitespace was seen between the
54237846elements of an attribute list. If the previous attribute had a
54247847parenthesised parameter list, perhaps that list was terminated too soon.
54257848See L<attributes>.
54267849
54277850=end original
54287851
54297852(F) 属性リストの要素の間にコロンと空白以外のものがあります。
54307853直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが
54317854予定より早く終端されています。
54327855L<attributes> を参照してください。
54337856
54347857=item Invalid separator character %s in PerlIO layer specification %s
54357858
54367859=begin original
54377860
54387861(W layer) When pushing layers onto the Perl I/O system, something other
54397862than a colon or whitespace was seen between the elements of a layer list.
54407863If the previous attribute had a parenthesised parameter list, perhaps that
54417864list was terminated too soon.
54427865
54437866=end original
54447867
54457868(W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に
54467869コロンと空白以外のものがありました。
54477870直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが
54487871予定より早く終端されています。
54497872
54507873=item Invalid strict version format (%s)
54517874
54527875=begin original
54537876
5454(F) A version number did not meet the "strict" criteria for versions.
7877(F) A version number did not meet the "strict" criteria for versions.
54557878A "strict" version number is a positive decimal number (integer or
54567879decimal-fraction) without exponentiation or else a dotted-decimal
54577880v-string with a leading 'v' character and at least three components.
54587881The parenthesized text indicates which criteria were not met.
54597882See the L<version> module for more details on allowed version formats.
54607883
54617884=end original
54627885
5463(F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。
7886(F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。
54647887「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、
54657888さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも
54667889三つの部分からなるものです。
54677890かっこで囲まれたテキストは問題の基準を示しています。
54687891許されるバージョンオブジェクトに関するさらなる詳細については
54697892L<version> モジュールを参照してください。
54707893
54717894=item Invalid type '%s' in %s
54727895
54737896=begin original
54747897
54757898(F) The given character is not a valid pack or unpack type.
54767899See L<perlfunc/pack>.
5477(W) The given character is not a valid pack or unpack type but used to be
5478silently ignored.
54797900
54807901=end original
54817902
54827903(F) 与えられた文字は有効な pack や unpack の型ではありません。
54837904L<perlfunc/pack> を参照してください。
7905
7906=begin original
7907
7908(W) The given character is not a valid pack or unpack type but used to be
7909silently ignored.
7910
7911=end original
7912
54847913(W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に
54857914無視されました。
54867915
7916=item Invalid version bundle "%s"
7917
7918=begin original
7919
7920(F) A version number that is used to specify an import bundle during a
7921C<use builtin ...> statement must be formatted as C<:MAJOR.MINOR> with an
7922optional third component, which is ignored. Each component must be a number
7923of 1 to 3 digits. No other characters are permitted. The value that was
7924specified does not conform to these rules.
7925
7926=end original
7927
7928(F) C<use builtin ...> 文の中にインポートの束を指定するために
7929使用されるバージョン番号は、C<:MAJOR.MINOR> という形式である
7930必要があります; オプションの 3 番目の要素は無視されます。
7931各要素は 1 から 3 桁の数字である必要があります。
7932他の文字は許されません。
7933指定された値はこれらの規則に準拠していません。
7934
54877935=item Invalid version format (%s)
54887936
54897937=begin original
54907938
5491(F) A version number did not meet the "lax" criteria for versions.
7939(F) A version number did not meet the "lax" criteria for versions.
54927940A "lax" version number is a positive decimal number (integer or
54937941decimal-fraction) without exponentiation or else a dotted-decimal
5494v-string. If the v-string has fewer than three components, it must
7942v-string. If the v-string has fewer than three components, it
5495have a leading 'v' character. Otherwise, the leading 'v' is optional.
7943must have a leading 'v' character. Otherwise, the leading 'v' is
5496Both decimal and dotted-decimal versions may have a trailing "alpha"
7944optional. Both decimal and dotted-decimal versions may have a
5497component separated by an underscore character after a fractional or
7945trailing "alpha" component separated by an underscore character
5498dotted-decimal component. The parenthesized text indicates which
7946after a fractional or dotted-decimal component. The parenthesized
5499criteria were not met. See the L<version> module for more details on
7947text indicates which criteria were not met. See the L<version> module
5500allowed version formats.
7948for more details on allowed version formats.
55017949
55027950=end original
55037951
5504(F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。
7952(F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。
55057953「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、
55067954あるいはどっと付き 10 進 v-文字列です。
55077955v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。
55087956さもなければ、先頭の 'v' はオプションです。
5509795710 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進
55107958要素の後に下線で区切られた「α」要素が引き続くこともあります。
55117959かっこで囲まれたテキストは問題の基準を示しています。
55127960許されるバージョンオブジェクトに関するさらなる詳細については
55137961L<version> モジュールを参照してください。
55147962
55157963=item Invalid version object
55167964
55177965=begin original
55187966
5519(F) The internal structure of the version object was invalid. Perhaps
7967(F) The internal structure of the version object was invalid.
5520the internals were modified directly in some way or an arbitrary reference
7968Perhaps the internals were modified directly in some way or
5521was blessed into the "version" class.
7969an arbitrary reference was blessed into the "version" class.
55227970
55237971=end original
55247972
55257973(F) バージョンオブジェクトの内部構造が不正です。
55267974おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが
55277975"version" クラスとして bless されました。
55287976
7977=item In '(*VERB...)', the '(' and '*' must be adjacent in regex;
7978marked by S<<-- HERE> in m/%s/
7979
7980=item Inverting a character class which contains a multi-character
7981sequence is illegal in regex; marked by <-- HERE in m/%s/
7982
7983=begin original
7984
7985(F) You wrote something like
7986
7987=end original
7988
7989(F) 次のようなものを書きました:
7990
7991 qr/\P{name=KATAKANA LETTER AINU P}/
7992 qr/[^\p{name=KATAKANA LETTER AINU P}]/
7993
7994=begin original
7995
7996This name actually evaluates to a sequence of two Katakana characters,
7997not just a single one, and it is illegal to try to take the complement
7998of a sequence. (Mathematically it would mean any sequence of characters
7999from 0 to infinity in length that weren't these two in a row, and that
8000is likely not of any real use.)
8001
8002=end original
8003
8004この名前は実際には一つではなく二つのカタカナ文字の並びに評価され、
8005並びの反転を取ろうとするのは不正です。
8006(数学的には、これはこれら二つが並んでいるもの以外の長さ 0 から無限の
8007任意の文字並びを意味しますが、おそらく実際の用途ではないでしょう。)
8008
8009=begin original
8010
8011(F) The two-character sequence C<"(*"> in this context in a regular
8012expression pattern should be an indivisible token, with nothing
8013intervening between the C<"("> and the C<"*">, but you separated them.
8014
8015=end original
8016
8017(F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない
8018トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを
8019分割しました。
8020
55298021=item ioctl is not implemented
55308022
55318023=begin original
55328024
55338025(F) Your machine apparently doesn't implement ioctl(), which is pretty
55348026strange for a machine that supports C.
55358027
55368028=end original
55378029
55388030(F) C をサポートしているマシンではおかしなことだと思いますが、
55398031このマシンでは ioctl() が実装されていないようです。
55408032
55418033=item ioctl() on unopened %s
55428034
55438035=begin original
55448036
55458037(W unopened) You tried ioctl() on a filehandle that was never opened.
55468038Check your control flow and number of arguments.
55478039
55488040=end original
55498041
55508042(W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。
55518043制御フローと引数の数をチェックしてください。
55528044
55538045=item IO layers (like '%s') unavailable
55548046
55558047=begin original
55568048
55578049(F) Your Perl has not been configured to have PerlIO, and therefore
55588050you cannot use IO layers. To have PerlIO, Perl must be configured
55598051with 'useperlio'.
55608052
55618053=end original
55628054
55638055(F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。
55648056PerlIO を使うには、'useperlio' 付きで設定する必要があります。
55658057
55668058=item IO::Socket::atmark not implemented on this architecture
55678059
55688060=begin original
55698061
55708062(F) Your machine doesn't implement the sockatmark() functionality,
55718063neither as a system call nor an ioctl call (SIOCATMARK).
55728064
55738065=end original
55748066
55758067(F) 実行されているマシンでは、システムコールでも
55768068ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。
55778069
5578=item $* is no longer supported
8070=item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/
55798071
55808072=begin original
55818073
5582(D deprecated, syntax) The special variable C<$*>, deprecated in older
8074(F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to
5583perls, has been removed as of 5.9.0 and is no longer supported. In
8075Perl. The current valid ones are given in
8076L<perlrebackslash/\b{}, \b, \B{}, \B>.
8077
8078=end original
8079
8080(F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は
8081Perl が知らないものでした。
8082現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。
8083
8084=item %s() isn't allowed on :utf8 handles
8085
8086=begin original
8087
8088(F) The sysread(), recv(), syswrite() and send() operators are
8089not allowed on handles that have the C<:utf8> layer, either explicitly, or
8090implicitly, eg., with the C<:encoding(UTF-16LE)> layer.
8091
8092=end original
8093
8094(F) sysread(), recv(), syswrite() and send() 演算子は、
8095明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、
8096C<:utf8> 層を持つハンドルに対しては許されません。
8097
8098=begin original
8099
8100Previously sysread() and recv() currently use only the C<:utf8> flag for the stream,
8101ignoring the actual layers. Since sysread() and recv() did no UTF-8
8102validation they can end up creating invalidly encoded scalars.
8103
8104=end original
8105
8106以前は、sysread() と recv() は現在の所ストリームに対して
8107C<:utf8> フラグのみを使い、実際の層は無視します。
8108sysread() と recv() は UTF-8 の検証を行っていなかったので、
8109不正にエンコードされたスカラを作ることになる可能性があります。
8110
8111=begin original
8112
8113Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring
8114any layers. If the flag is set, both wrote the value UTF-8 encoded, even if
8115the layer is some different encoding, such as the example above.
8116
8117=end original
8118
8119同様に、syswrite() は send() C<:utf8> フラグのみを使い、
8120それ以外は全ての層を無視していました。
8121フラグがセットされると、例え層が前述の例のように異なった
8122エンコーディングでも、UTF-8 エンコードされた値を書き込んでいました。
8123
8124=begin original
8125
8126Ideally, all of these operators would completely ignore the C<:utf8> state,
8127working only with bytes, but this would result in silently breaking existing
8128code.
8129
8130=end original
8131
8132理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して
8133バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に
8134壊すことになります。
8135
8136=item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/
8137
8138=begin original
8139
8140(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
8141
8142=end original
8143
8144(W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ)
8145
8146=begin original
8147
8148You specified a character that has the given plainer way of writing it, and
8149which is also portable to platforms running with different character sets.
8150
8151=end original
8152
8153それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される
8154プラットフォーム間で移植性のある文字を指定しました。
8155
8156=item $* is no longer supported as of Perl 5.30
8157
8158=begin original
8159
8160(F) The special variable C<$*>, deprecated in older perls, was removed in
81615.10.0, is no longer supported and is a fatal error as of Perl 5.30. In
55848162previous versions of perl the use of C<$*> enabled or disabled multi-line
55858163matching within a string.
55868164
55878165=end original
55888166
5589(D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は
8167(F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は
55905.9.0 で削除され、もはや対応してせん
8168もはや対応しておらず、Perl 5.30 から致命的エラーになりした
55918169以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または
55928170無効にするために使っていました。
55938171
55948172=begin original
55958173
55968174Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp
5597modifiers. You can enable C</m> for a lexical scope (even a whole file)
8175modifiers. You can enable C</m> for a lexical scope (even a whole file)
5598with C<use re '/m'>. (In older versions: when C<$*> was set to a true value
8176with C<use re '/m'>. (In older versions: when C<$*> was set to a true value
55998177then all regular expressions behaved as if they were written using C</m>.)
56008178
56018179=end original
56028180
56038181C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を
56048182使うべきです。
56058183C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を
56068184有効にできます。
56078185(より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は
56088186C</m> を使って書かれたかのように振る舞っていました。)
56098187
5610=item $# is no longer supported
8188=begin original
56118189
8190Use of this variable will be a fatal error in Perl 5.30.
8191
8192=end original
8193
8194この変数の使用は Perl 5.30 から致命的エラーになります。
8195
8196=item $# is no longer supported as of Perl 5.30
8197
56128198=begin original
56138199
5614(D deprecated, syntax) The special variable C<$#>, deprecated in older
8200(F) The special variable C<$#>, deprecated in older perls, was removed as of
5615perls, has been removed as of 5.9.3 and is no longer supported. You
82015.10.0, is no longer supported and is a fatal error as of Perl 5.30. You
56168202should use the printf/sprintf functions instead.
56178203
56188204=end original
56198205
5620(D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は
8206(F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は
56215.9.3 で削除され、もはや対応してせん
8207もはや対応しておらず、Perl 5.30 から致命的エラーになりした
56228208代わりに printf/sprintf 関数を使うべきです。
56238209
5624=item `%s' is not a code reference
8210=item '%s' is not a code reference
56258211
56268212=begin original
56278213
5628(W overload) The second (fourth, sixth, ...) argument of overload::constant
8214(W overload) The second (fourth, sixth, ...) argument of
5629needs to be a code reference. Either an anonymous subroutine, or a reference
8215overload::constant needs to be a code reference. Either
5630to a subroutine.
8216an anonymous subroutine, or a reference to a subroutine.
56318217
56328218=end original
56338219
56348220(W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は
56358221コードリファレンスである必要があります。
56368222無名サブルーチンか、サブルーチンへのリファレンスです。
56378223
5638=item `%s' is not an overloadable type
8224=item '%s' is not an overloadable type
56398225
56408226=begin original
56418227
56428228(W overload) You tried to overload a constant type the overload package is
56438229unaware of.
56448230
56458231=end original
56468232
56478233(W overload) オーバーロードパッケージが知らない定数型を
56488234オーバーロードしようとしました。
56498235
5650=item junk on end of regexp
8236=item '%s' is not recognised as a builtin function
56518237
56528238=begin original
56538239
8240(F) An attempt was made to C<use> the L<builtin> pragma module to create
8241a lexical alias for an unknown function name.
8242
8243=end original
8244
8245(F) 不明な関数名のレキシカルな別名を作るために
8246L<builtin> プラグマモジュールを C<use> しようとしました。
8247
8248=item -i used with no filenames on the command line, reading from STDIN
8249
8250=begin original
8251
8252(S inplace) The C<-i> option was passed on the command line, indicating
8253that the script is intended to edit files in place, but no files were
8254given. This is usually a mistake, since editing STDIN in place doesn't
8255make sense, and can be confusing because it can make perl look like
8256it is hanging when it is really just trying to read from STDIN. You
8257should either pass a filename to edit, or remove C<-i> from the command
8258line. See L<perlrun|perlrun/-i[extension]> for more details.
8259
8260=end original
8261
8262(S inplace) The C<-i> オプションがコマンドラインで渡されました; これは
8263スクリプトがファイルをその場で編集することを示していますが、ファイルが
8264指定されませんでした。
8265これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、
8266本当に単に STDIN から読み込もうとしているだけのときに perl が
8267ハングしているように見えることがあるので混乱を引き起こします。
8268編集するファイル名を指定するか、コマンドラインから C<-i> を
8269取り除いてください。
8270さらなる詳細については L<perlrun|perlrun/-i[extension]> を参照してください。
8271
8272=item Junk on end of regexp in regex m/%s/
8273
8274=begin original
8275
56548276(P) The regular expression parser is confused.
56558277
56568278=end original
56578279
56588280(P) 正規表現の構文解析ができなくなりました。
56598281
8282=item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/
8283
8284=begin original
8285
8286(F) Your regular expression used C<\K> in a lookahead or lookbehind
8287assertion, which currently isn't permitted.
8288
8289=end original
8290
8291(F) この正規表現は先読みや後読みの言明の中で C<\K> を使っています;
8292これは今のところ許されていません。
8293
8294=begin original
8295
8296This may change in the future, see L<Support \K in
8297lookarounds|https://github.com/Perl/perl5/issues/18134>.
8298
8299=end original
8300
8301これは将来変更されるかもしれません;
8302L<Support \K in lookarounds|https://github.com/Perl/perl5/issues/18134> を
8303参照してください。
8304
56608305=item Label not found for "last %s"
56618306
56628307=begin original
56638308
56648309(F) You named a loop to break out of, but you're not currently in a loop
56658310of that name, not even if you count where you were called from. See
56668311L<perlfunc/last>.
56678312
56688313=end original
56698314
56708315(F) 脱出するループを指定しましたが、その名前のループの中にいません、
56718316たとえ、呼び出された場所がそうであっても、今はそうではありません。
56728317L<perlfunc/last> を参照してください。
56738318
56748319=item Label not found for "next %s"
56758320
56768321=begin original
56778322
56788323(F) You named a loop to continue, but you're not currently in a loop of
56798324that name, not even if you count where you were called from. See
56808325L<perlfunc/last>.
56818326
56828327=end original
56838328
56848329(F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に
56858330いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。
56868331L<perlfunc/last> を参照してください。
56878332
56888333=item Label not found for "redo %s"
56898334
56908335=begin original
56918336
56928337(F) You named a loop to restart, but you're not currently in a loop of
56938338that name, not even if you count where you were called from. See
56948339L<perlfunc/last>.
56958340
56968341=end original
56978342
56988343(F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に
56998344いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。
57008345L<perlfunc/last> を参照してください。
57018346
57028347=item leaving effective %s failed
57038348
57048349=begin original
57058350
57068351(F) While under the C<use filetest> pragma, switching the real and
57078352effective uids or gids failed.
57088353
57098354=end original
57108355
57118356(F) C<use filetest> プラグマを使っている間に、
57128357実と実効の UID や GID の切り替えに失敗しました。
57138358
57148359=item length/code after end of string in unpack
57158360
57168361=begin original
57178362
57188363(F) While unpacking, the string buffer was already used up when an unpack
5719length/code combination tried to obtain more data. This results in
8364length/code combination tried to obtain more data. This results in
5720an undefined value for the length. See L<perlfunc/pack>.
8365an undefined value for the length. See L<perlfunc/pack>.
57218366
57228367=end original
57238368
57248369(F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを
57258370unpack するときに文字列バッファが既に使い切っていました。
57268371これにより、長さが未定義値となります。
57278372L<perlfunc/pack> を参照してください。
57288373
8374=item length() used on %s (did you mean "scalar(%s)"?)
8375
8376=begin original
8377
8378(W syntax) You used length() on either an array or a hash when you
8379probably wanted a count of the items.
8380
8381=end original
8382
8383(W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して
8384length() を使いました。
8385
8386=begin original
8387
8388Array size can be obtained by doing:
8389
8390=end original
8391
8392配列の大きさは以下のようにして得られます:
8393
8394 scalar(@array);
8395
8396=begin original
8397
8398The number of items in a hash can be obtained by doing:
8399
8400=end original
8401
8402ハッシュの要素数は以下のようにして得られます:
8403
8404 scalar(keys %hash);
8405
57298406=item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input
57308407
57318408=begin original
57328409
57338410(F) An extension is attempting to insert text into the current parse
5734(using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character
8411(using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that
5735that couldn't be part of the current input. This is an inherent pitfall
8412couldn't be part of the current input. This is an inherent pitfall
5736of the stuffing mechanism, and one of the reasons to avoid it. Where it
8413of the stuffing mechanism, and one of the reasons to avoid it. Where
5737is necessary to stuff, stuffing only plain ASCII is recommended.
8414it is necessary to stuff, stuffing only plain ASCII is recommended.
57388415
57398416=end original
57408417
57418418(F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や
57428419同様なものを使って)現在のパースにテキストを挿入しようとしましたが、
57438420現在の入力の一部となることができない文字を挿入しようとしました。
57448421これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。
57458422詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。
57468423
57478424=item Lexing code internal error (%s)
57488425
57498426=begin original
57508427
57518428(F) Lexing code supplied by an extension violated the lexer's API in a
57528429detectable way.
57538430
57548431=end original
57558432
57568433(F) エクステンションによって供給された文法解析コードが、検出できる方法で
57578434文法解析器の API に違反しています。
57588435
57598436=item listen() on closed socket %s
57608437
57618438=begin original
57628439
57638440(W closed) You tried to do a listen on a closed socket. Did you forget
57648441to check the return value of your socket() call? See
57658442L<perlfunc/listen>.
57668443
57678444=end original
57688445
57698446(W closed) クローズされたソケットに listen を行なおうとしました。
57708447socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
57718448L<perlfunc/listen> を参照してください。
57728449
8450=item List form of piped open not implemented
8451
8452=begin original
8453
8454(F) On some platforms, notably Windows, the three-or-more-arguments
8455form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>.
8456Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead.
8457
8458=end original
8459
8460(F) 一部のプラットフォーム、特に Windows では、
8461C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の
8462C<open> ではパイプに対応していません。
8463代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。
8464
8465=item Literal vertical space in [] is illegal except under /x in regex;
8466marked by S<<-- HERE> in m/%s/
8467
8468=begin original
8469
8470(F) (only under C<S<use re 'strict'>> or within C<(?[...])>)
8471
8472=end original
8473
8474(F) (C<S<use re 'strict'>> の下、または C<(?[...])> の内側のみ)
8475
8476=begin original
8477
8478Likely you forgot the C</x> modifier or there was a typo in the pattern.
8479For example, did you really mean to match a form-feed? If so, all the
8480ASCII vertical space control characters are representable by escape
8481sequences which won't present such a jarring appearance as your pattern
8482does when displayed.
8483
8484=end original
8485
8486おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。
8487例えば、本当に改ページとマッチングしたかったのですか?
8488もしそうなら、全ての ASCII の垂直スペース制御文字は、
8489パターンを表示したときに不愉快な形で表現されることのない、
8490エスケープシーケンスによって表現できます。
8491
8492 \r carriage return
8493 \f form feed
8494 \n line feed
8495 \cK vertical tab
8496
8497=item %s: loadable library and perl binaries are mismatched (got %s handshake key %p, needed %p)
8498
8499=begin original
8500
8501(P) A dynamic loading library C<.so> or C<.dll> was being loaded into the
8502process that was built against a different build of perl than the
8503said library was compiled against. Reinstalling the XS module will
8504likely fix this error.
8505
8506=end original
8507
8508(P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが
8509コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。
8510XS モジュールを再インストールすることでおそらくこのエラーは
8511修正されるでしょう。
8512
8513=item Locale '%s' contains (at least) the following characters which
8514have unexpected meanings: %s The Perl program will use the expected
8515meanings
8516
8517=begin original
8518
8519(W locale) You are using the named UTF-8 locale. UTF-8 locales are
8520expected to have very particular behavior, which most do. This message
8521arises when perl found some departures from the expectations, and is
8522notifying you that the expected behavior overrides these differences.
8523In some cases the differences are caused by the locale definition being
8524defective, but the most common causes of this warning are when there are
8525ambiguities and conflicts in following the Standard, and the locale has
8526chosen an approach that differs from Perl's.
8527
8528=end original
8529
8530(W locale) 名前付きの UTF-8 ロケールを使っています。
8531UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが
8532想定されています。
8533このメッセージは、perl がこの想定との違いを発見し、その違いを
8534想定される振る舞いで上書きしたことを通知するときに発生します。
8535違いはロケール定義に問題があることによる場合もありますが、
8536この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、
8537ロケールが Perl のものと異なる手法を選んだときです。
8538
8539=begin original
8540
8541One of these is because that, contrary to the claims, Unicode is not
8542completely locale insensitive. Turkish and some related languages
8543have two types of C<"I"> characters. One is dotted in both upper- and
8544lowercase, and the other is dotless in both cases. Unicode allows a
8545locale to use either the Turkish rules, or the rules used in all other
8546instances, where there is only one type of C<"I">, which is dotless in
8547the uppercase, and dotted in the lower. The perl core does not (yet)
8548handle the Turkish case, and this message warns you of that. Instead,
8549the L<Unicode::Casing> module allows you to mostly implement the Turkish
8550casing rules.
8551
8552=end original
8553
8554その一つは、主張に反して、Unicode が完全にロケールに依存しない
8555訳ではないからです。
8556トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。
8557一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが
8558ありません。
8559Unicode はロケールがトルコ語の規則と、その他全ての場合に
8560使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、
8561小文字にはドットがあるもの、のどちらを使うことも許しています。
8562perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを
8563警告します。
8564代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ
8565実装しています。
8566
8567=begin original
8568
8569The other common cause is for the characters
8570
8571=end original
8572
8573その他のよくある原因は次の文字です:
8574
8575 $ + < = > ^ ` | ~
8576
8577=begin original
8578
8579These are problematic. The C standard says that these should be
8580considered punctuation in the C locale (and the POSIX standard defers to
8581the C standard), and Unicode is generally considered a superset of
8582the C locale. But Unicode has added an extra category, "Symbol", and
8583classifies these particular characters as being symbols. Most UTF-8
8584locales have them treated as punctuation, so that L<ispunct(3)> returns
8585non-zero for them. But a few locales have it return 0. Perl takes
8586the first approach, not using C<ispunct()> at all (see L<Note [5] in
8587perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you
8588are getting Perl's approach, not the locale's.
8589
8590=end original
8591
8592これらには問題があります。
8593C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて
8594(そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの
8595上位集合と考えられています。
8596しかし Unicode は、"Symbol" というカテゴリが追加され、
8597これはこれらの文字をシンボルとして分類しています。
8598ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、
8599L<ispunct(3)> はこれらに対して非 0 を返します。
8600しかしいくつかのロケールでは 0 を返します。
8601Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in
8602perlrecharclass|perlrecharclass/[5]> 参照)、
8603このメッセージはロケールのものではなく Perl の手法をとったことを
8604知らせるために発生します。
8605
8606=item Locale '%s' is unsupported, and may crash the interpreter
8607
8608=begin original
8609
8610(S locale) The named locale is not supported by Perl, and using it leads
8611to undefined behavior, including potentially crashing the computer.
8612
8613=end original
8614
8615(S locale) 指定されたロケールは Perl で対応しておらず、これを使うと、
8616潜在的なコンピュータのクラッシュを含む未定義の振る舞いを引き起こします。
8617
8618=begin original
8619
8620Currently the only locales that generate this severe warning are
8621non-UTF-8 ones which have characters that require more than one byte to
8622represent (common in older East Asian language locales). See
8623L<perllocale>.
8624
8625=end original
8626
8627現在のところ、この重大な警告を出力するロケールは、
8628表現に複数バイトを必要とする文字を持つもの
8629(古い東アジア言語ロケールでは一般的です)だけです。
8630L<perllocale> を参照してください。
8631
8632=item Locale '%s' may not work well.%s
8633
8634=begin original
8635
8636(W locale) You are using the named locale, which is a non-UTF-8 one, and
8637which perl has determined is not fully compatible with what it can
8638handle. The second C<%s> gives a reason.
8639
8640=end original
8641
8642(W locale) 非 UTF-8 の名前付きロケールを使っていますが、
8643perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。
86442 番目の C<%s> に理由があります。
8645
8646=begin original
8647
8648By far the most common reason is that the locale has characters in it
8649that are represented by more than one byte. The only such locales that
8650Perl can handle are the UTF-8 locales. Most likely the specified locale
8651is a non-UTF-8 one for an East Asian language such as Chinese or
8652Japanese. If the locale is a superset of ASCII, the ASCII portion of it
8653may work in Perl.
8654
8655=end original
8656
8657もっともありそうな理由は、そのロケールが複数バイトで表現される文字を
8658持っていることです。
8659Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。
8660もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の
8661非 UTF-8 のものです。
8662ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。
8663
8664=begin original
8665
8666Some essentially obsolete locales that aren't supersets of ASCII, mainly
8667those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have
8668problems, depending on what portions of the ASCII character set get
8669changed by the locale and are also used by the program.
8670The warning message lists the determinable conflicting characters.
8671
8672=end original
8673
8674ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような
8675その他の 7 ビットロケールも問題になり得ます;
8676ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで
8677使われるかによります。
8678警告メッセージは決定できる衝突している文字を一覧表示します。
8679
8680=begin original
8681
8682Note that not all incompatibilities are found.
8683
8684=end original
8685
8686全ての非互換性が発見されるわけではないことに注意してください。
8687
8688=begin original
8689
8690If this happens to you, there's not much you can do except switch to use a
8691different locale or use L<Encode> to translate from the locale into
8692UTF-8; if that's impracticable, you have been warned that some things
8693may break.
8694
8695=end original
8696
8697これが起きた場合、異なるロケールを使うように変更するか、
8698そのロケールから UTF-8 に変換するために L<Encode> を使う以外に
8699できることはあまりありません; もしそれができないなら、
8700あなたは何かが壊れるかもしれないことを警告されました。
8701
8702=begin original
8703
8704This message is output once each time a bad locale is switched into
8705within the scope of C<S<use locale>>, or on the first possibly-affected
8706operation if the C<S<use locale>> inherits a bad one. It is not raised
8707for any operations from the L<POSIX> module.
8708
8709=end original
8710
8711このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった
8712毎に、あるいは C<S<use locale>> が悪いものを継承している場合は
8713最初の影響があるかもしれない操作の時点で出力されます。
8714これは L<POSIX> モジュールの操作では発生しません。
8715
8716=item localtime(%f) failed
8717
8718=begin original
8719
8720(W overflow) You called C<localtime> with a number that it could not handle:
8721too large, too small, or NaN. The returned value is C<undef>.
8722
8723=end original
8724
8725(W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり
8726小さすぎたり NaN だったりです。
8727返り値は C<undef> です。
8728
57738729=item localtime(%f) too large
57748730
57758731=begin original
57768732
57778733(W overflow) You called C<localtime> with a number that was larger
57788734than it can reliably handle and C<localtime> probably returned the
5779wrong date. This warning is also triggered with nan (the special
8735wrong date. This warning is also triggered with NaN (the special
57808736not-a-number value).
57818737
57828738=end original
57838739
57848740(W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので
57858741C<localtime> はおそらく間違った日付を返します。
5786この警告は、nan (特殊な非数) でも引き起こされます。
8742この警告は、NaN (特殊な非数) でも引き起こされます。
57878743
57888744=item localtime(%f) too small
57898745
57908746=begin original
57918747
57928748(W overflow) You called C<localtime> with a number that was smaller
57938749than it can reliably handle and C<localtime> probably returned the
5794wrong date. This warning is also triggered with nan (the special
8750wrong date.
5795not-a-number value).
57968751
57978752=end original
57988753
57998754(W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので
58008755C<localtime> はおそらく間違った日付を返します。
5801この警告は、nan (特殊な非数) でも引き起こされます。
58028756
58038757=item Lookbehind longer than %d not implemented in regex m/%s/
58048758
58058759=begin original
58068760
58078761(F) There is currently a limit on the length of string which lookbehind can
5808handle. This restriction may be eased in a future release.
8762handle. This restriction may be eased in a future release.
58098763
58108764=end original
58118765
58128766(F) 現在のところ前方参照が扱える文字列の長さには制限があります。
58138767この制限は将来のリリースでは緩和されるでしょう。
58148768
58158769=item Lost precision when %s %f by 1
58168770
58178771=begin original
58188772
5819(W) The value you attempted to increment or decrement by one is too large
8773(W imprecision) You attempted to increment or decrement a value by one,
5820for the underlying floating point representation to store accurately,
8774but the result is too large for the underlying floating point
5821hence the target of C<++> or C<--> is unchanged. Perl issues this warning
8775representation to store accurately. Hence, the target of C<++> or C<-->
5822because it has already switched from integers to floating point when values
8776is increased or decreased by quite different value than one, such as
5823are too large for integers, and now even floating point is insufficient.
8777zero (I<i.e.> the target is unchanged) or two, due to rounding.
5824You may wish to switch to using L<Math::BigInt> explicitly.
8778Perl issues this
8779warning because it has already switched from integers to floating point
8780when values are too large for integers, and now even floating point is
8781insufficient. You may wish to switch to using L<Math::BigInt> explicitly.
58258782
58268783=end original
58278784
5828(W) インクリメントまたはデクリメントしようとしている値は基礎となっている
8785(W imprecision) 値を 1 だけインクリメントまたはデクリメントしようとしましたが
5829浮動小数点数表現にとって正確に保管するには大きすぎるので、
8786結果は基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎます。
5830C<++> や C<--> のターゲットは変更されせん。
8787従って、C<++> や C<--> のターゲットは 1 ではない値増加たは減少します;
8788これは 0 (つまりターゲットは変更されない) であったり、丸めによって 2 で
8789あったりします。
58318790Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に
58328791切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。
58338792明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。
58348793
5835=item lstat() on filehandle %s
8794=item lstat() on filehandle%s
58368795
58378796=begin original
58388797
58398798(W io) You tried to do an lstat on a filehandle. What did you mean
58408799by that? lstat() makes sense only on filenames. (Perl did a fstat()
58418800instead on the filehandle.)
58428801
58438802=end original
58448803
58458804(W io) ファイルハンドルに lstat を実行しようとしました。
58468805これで何をしようとしたのですか?
58478806lstat() はファイル名に対してのみ意味があります。
58488807(Perl はファイルハンドルには代わりに fstat() を行いました。)
58498808
8809=item lvalue attribute %s already-defined subroutine
8810
8811=begin original
8812
8813(W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue
8814attribute on or off on a Perl subroutine that is already defined
8815does not always work properly. It may or may not do what you
8816want, depending on what code is inside the subroutine, with exact
8817details subject to change between Perl versions. Only do this
8818if you really know what you are doing.
8819
8820=end original
8821
8822(W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に
8823定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは
8824常に適切に動作するわけではありません。
8825あなたの望むことが行われるかもしれませんし行われないかもしれません;
8826サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は
8827Perl バージョン間で変更されることがあります。
8828自分が何をしているのかが本当に分かっているときにだけこれを行ってください。
8829
58508830=item lvalue attribute ignored after the subroutine has been defined
58518831
58528832=begin original
58538833
5854(W misc) Making a subroutine an lvalue subroutine after it has been defined
8834(W misc) Using the C<:lvalue> declarative syntax to make a Perl
5855by declaring the subroutine with an lvalue attribute is not
8835subroutine an lvalue subroutine after it has been defined is
5856possible. To make the subroutine an lvalue subroutine add the
8836not permitted. To make the subroutine an lvalue subroutine,
5857lvalue attribute to the definition, or put the declaration before
8837add the lvalue attribute to the definition, or put the C<sub
5858the definition.
8838foo :lvalue;> declaration before the definition.
58598839
58608840=end original
58618841
5862(W misc) サブルーチンを宣言した後、左辺値属性付きでサブルーチン
8842(W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチン
5863宣言することでサブルーチンを左辺値サブルーチンすることは出来ません。
8843するため C<:lvalue> 宣言文を使うことはできません。
58648844サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、
5865定義する前に宣言ます。
8845定義する前に C<sub foo :lvalue;> 宣言を行います。
58668846
5867=item Lvalue subs returning %s not implemented yet
8847=begin original
58688848
8849See also L<attributes.pm|attributes>.
8850
8851=end original
8852
8853L<attributes.pm|attributes> も参照してください。
8854
8855=item Magical list constants are not supported
8856
58698857=begin original
58708858
5871(F) Due to limitations in the current implementation, array and hash
8859(F) You assigned a magical array to a stash element, and then tried
5872values cannot be returned in subroutines used in lvalue context. See
8860to use the subroutine from the same slot. You are asking Perl to do
5873L<perlsub/"Lvalue subroutines">.
8861something it cannot do, details subject to change between Perl versions.
58748862
58758863=end original
58768864
5877(F) 現在の実装の制限より左辺値コンテキストで使われるサブルーチンは
8865(F) マジカルな配列をスタッシュ要素代入しそれから同じロッから
5878配列とハッシュの値返すこができせん
8866サブルーチン使おうした
5879L<perlsub/"Lvalue subroutines"> を参照してくださ
8867Perl のバージョンによって詳細が変わるかも知れないような、してけないことを
8868Perl にさせようとしました。
58808869
58818870=item Malformed integer in [] in pack
58828871
58838872=begin original
58848873
58858874(F) Between the brackets enclosing a numeric repeat count only digits
58868875are permitted. See L<perlfunc/pack>.
58878876
58888877=end original
58898878
58908879(F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。
58918880L<perlfunc/pack> を参照してください。
58928881
58938882=item Malformed integer in [] in unpack
58948883
58958884=begin original
58968885
58978886(F) Between the brackets enclosing a numeric repeat count only digits
58988887are permitted. See L<perlfunc/pack>.
58998888
59008889=end original
59018890
59028891(F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。
59038892L<perlfunc/pack> を参照してください。
59048893
59058894=item Malformed PERLLIB_PREFIX
59068895
59078896=begin original
59088897
59098898(F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form
59108899
59118900=end original
59128901
59138902(F) OS/2 固有のエラーです。
59148903PERLLIB_PREFIX は以下のような形か:
59158904
59168905 prefix1;prefix2
59178906
59188907=begin original
59198908
59208909or
59218910 prefix1 prefix2
59228911
59238912=end original
59248913
59258914または
59268915 prefix1 prefix2
59278916
59288917=begin original
59298918
59308919with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of
59318920a builtin library search path, prefix2 is substituted. The error may
59328921appear if components are not found, or are too long. See
59338922"PERLLIB_PREFIX" in L<perlos2>.
59348923
59358924=end original
59368925
59378926prefix1 と prefix2 が空でない形である必要があります。
59388927C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、
59398928prefix2 は置き換えられます。
59408929このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。
59418930L<perlos2> の "PERLLIB_PREFIX" を参照してください。
59428931
59438932=item Malformed prototype for %s: %s
59448933
59458934=begin original
59468935
59478936(F) You tried to use a function with a malformed prototype. The
59488937syntax of function prototypes is given a brief compile-time check for
59498938obvious errors like invalid characters. A more rigorous check is run
59508939when the function is called.
8940Perhaps the function's author was trying to write a subroutine signature
8941but didn't enable that feature first (C<use feature 'signatures'>),
8942so the signature was instead interpreted as a bad prototype.
59518943
59528944=end original
59538945
59548946(F) 不正な形式のプロトタイプをもつ関数を使おうとしました。
59558947関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては
59568948コンパイル時にチェックされます。
59578949より厳密なチェックは、関数が呼び出された時に実行されます。
8950おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、
8951先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、
8952シグネチャは間違ったプロトタイプとして解釈されました。
59588953
5959=item Malformed UTF-8 character (%s)
8954=item Malformed UTF-8 character%s
59608955
59618956=begin original
59628957
5963(S utf8) (F) Perl detected a string that didn't comply with UTF-8
8958(S utf8)(F) Perl detected a string that should be UTF-8, but didn't
5964encoding rules, even though it had the UTF8 flag on.
8959comply with UTF-8 encoding rules, or represents a code point whose
8960ordinal integer value doesn't fit into the word size of the current
8961platform (overflows). Details as to the exact malformation are given in
8962the variable, C<%s>, part of the message.
59658963
59668964=end original
59678965
5968(S utf8) (F) Perl が、UTF8 フラグがオンにも関わらず UTF-8 エンコーディング
8966(S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、
5969に従わない文字列を検出しました。
8967UTF-8 エンコディング規則に従わない
8968あるいは序数が現在のプラットフォームのワードサイズに収まらない
8969(オーバーフローする)符号位置を表現する文字列を検出しました。
8970不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。
59708971
59718972=begin original
59728973
59738974One possible cause is that you set the UTF8 flag yourself for data that
5974you thought to be in UTF-8 but it wasn't (it was for example legacy
8975you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit
59758-bit data). To guard against this, you can use Encode::decode_utf8.
8976data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>.
59768977
59778978=end original
59788979
59798980原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ
59808981(例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした
59818982ことです。
5982これから守るためには、Encode::decode_utf8 を使えます。
8983これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。
59838984
59848985=begin original
59858986
59868987If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte
5987sequences are handled gracefully, but if you use C<:utf8>, the flag is
8988sequences are handled gracefully, but if you use C<:utf8>, the flag is set
5988set without validating the data, possibly resulting in this error
8989without validating the data, possibly resulting in this error message.
5989message.
59908990
59918991=end original
59928992
59938993入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは
59948994寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、
59958995おそらく結果としてこのエラーメッセージが出力されます。
59968996
59978997=begin original
59988998
59998999See also L<Encode/"Handling Malformed Data">.
60009000
60019001=end original
60029002
60039003L<Encode/"Handling Malformed Data"> も参照してください。
60049004
6005=item Malformed UTF-8 returned by \N
9005=item Malformed UTF-8 returned by \N{%s} immediately after '%s'
60069006
60079007=begin original
60089008
60099009(F) The charnames handler returned malformed UTF-8.
60109010
60119011=end original
60129012
60139013(F) charnames ハンドラが不正な UTF-8 を返しました。
60149014
9015=item Malformed UTF-8 string in "%s"
9016
9017=begin original
9018
9019(F) This message indicates a bug either in the Perl core or in XS
9020code. Such code was trying to find out if a character, allegedly
9021stored internally encoded as UTF-8, was of a given type, such as
9022being punctuation or a digit. But the character was not encoded
9023in legal UTF-8. The C<%s> is replaced by a string that can be used
9024by knowledgeable people to determine what the type being checked
9025against was.
9026
9027=end original
9028
9029(F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを
9030示しています。
9031そのコードは、UTF-8 として内部でエンコードされて
9032保管されているということになっているある文字が、
9033句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。
9034しかし、この文字は正当な UTF-8 としてエンコードされていません。
9035C<%s> は、知識がある人々が、どの種類をチェックするべきかを
9036決めるために使われる文字列で置き換えられます。
9037
9038=begin original
9039
9040Passing malformed strings was deprecated in Perl 5.18, and
9041became fatal in Perl 5.26.
9042
9043=end original
9044
9045不正な文字列を渡すことは Perl 5.18 で廃止予定になり、
9046Perl 5.26 で致命的エラーになりました。
9047
60159048=item Malformed UTF-8 string in '%c' format in unpack
60169049
60179050=begin original
60189051
60199052(F) You tried to unpack something that didn't comply with UTF-8 encoding
60209053rules and perl was unable to guess how to make more progress.
60219054
60229055=end original
60239056
60249057(F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、
60259058perl はどうやってさらに進捗させればいいかが推測できませんでした。
60269059
60279060=item Malformed UTF-8 string in pack
60289061
60299062=begin original
60309063
60319064(F) You tried to pack something that didn't comply with UTF-8 encoding
60329065rules and perl was unable to guess how to make more progress.
60339066
60349067=end original
60359068
60369069(F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、
60379070perl はどうやってさらに進捗させればいいかが推測できませんでした。
60389071
60399072=item Malformed UTF-8 string in unpack
60409073
60419074=begin original
60429075
60439076(F) You tried to unpack something that didn't comply with UTF-8 encoding
60449077rules and perl was unable to guess how to make more progress.
60459078
60469079=end original
60479080
60489081(F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、
60499082perl はどうやってさらに進捗させればいいかが推測できませんでした。
60509083
60519084=item Malformed UTF-16 surrogate
60529085
60539086=begin original
60549087
60559088(F) Perl thought it was reading UTF-16 encoded character data but while
60569089doing it Perl met a malformed Unicode surrogate.
60579090
60589091=end original
60599092
60609093(F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、
60619094その間に Perl が不正な Unicode サロゲートに遭遇しました。
60629095
6063=item %s matches null string many times in regex; marked by <-- HERE in m/%s/
9096=item Mandatory parameter follows optional parameter
60649097
60659098=begin original
60669099
9100(F) In a subroutine signature, you wrote something like "$x = undef,
9101$y", making an earlier parameter optional and a later one mandatory.
9102Parameters are filled from left to right, so it's impossible for the
9103caller to omit an earlier one and pass a later one. If you want to act
9104as if the parameters are filled from right to left, declare the rightmost
9105optional and then shuffle the parameters around in the subroutine's body.
9106
9107=end original
9108
9109(F) サブルーチンシグネチャで、"$x = undef, $y" のような、先の引数が
9110オプションで後の引数が必須のようなものを書きました。
9111引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに
9112渡すことは不可能です。
9113引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を
9114オプションと宣言して、引数をサブルーチン本体で入れ替えてください。
9115
9116=item Matched non-Unicode code point 0x%X against Unicode property; may
9117not be portable
9118
9119=begin original
9120
9121(S non_unicode) Perl allows strings to contain a superset of
9122Unicode code points; each code point may be as large as what is storable
9123in a signed integer on your system, but these may not be accepted by
9124other languages/systems. This message occurs when you matched a string
9125containing such a code point against a regular expression pattern, and
9126the code point was matched against a Unicode property, C<\p{...}> or
9127C<\P{...}>. Unicode properties are only defined on Unicode code points,
9128so the result of this match is undefined by Unicode, but Perl (starting
9129in v5.20) treats non-Unicode code points as if they were typical
9130unassigned Unicode ones, and matched this one accordingly. Whether a
9131given property matches these code points or not is specified in
9132L<perluniprops/Properties accessible through \p{} and \P{}>.
9133
9134=end original
9135
9136(S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を
9137含むことができます; それぞれの符号位置はシステムの符号付き整数に
9138格納できるだけの大きさを指定できますが、これらは他の言語/システムでは
9139受け付けられないかも知れません。
9140このメッセージは、このような符号位置を含む文字列をある正規表現パターンで
9141マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と
9142マッチングしたときに発生します。
9143Unicode 特性は Unicode 符号位置に対してのみ定義されているので、
9144Unicode によればこのマッチングの結果は未定義ですが、
9145Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て
9146Unicode 符号位置として扱い、それぞれマッチングします。
9147指定された特性がこれらの符号位置にマッチングするかどうかは
9148L<perluniprops/Properties accessible through \p{} and \P{}> で
9149指定されています。
9150
9151=begin original
9152
9153This message is suppressed (unless it has been made fatal) if it is
9154immaterial to the results of the match if the code point is Unicode or
9155not. For example, the property C<\p{ASCII_Hex_Digit}> only can match
9156the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points,
9157Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match
9158every code point except these 22.)
9159
9160=end original
9161
9162このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない
9163場合は、(致命的にしていない限り)抑制されます。
9164例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに
9165マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、
9166マッチングしません。
9167(そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に
9168マッチングします。)
9169
9170=begin original
9171
9172Getting this message indicates that the outcome of the match arguably
9173should have been the opposite of what actually happened. If you think
9174that is the case, you may wish to make the C<non_unicode> warnings
9175category fatal; if you agree with Perl's decision, you may wish to turn
9176off this category.
9177
9178=end original
9179
9180このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と
9181逆になっているはずだということを示しています。
9182これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを
9183致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを
9184オフにした方がよいでしょう。
9185
9186=begin original
9187
9188See L<perlunicode/Beyond Unicode code points> for more information.
9189
9190=end original
9191
9192さらなる情報については L<perlunicode/Beyond Unicode code points> を
9193参照してください。
9194
9195=item %s matches null string many times in regex; marked by S<<-- HERE> in
9196m/%s/
9197
9198=begin original
9199
60679200(W regexp) The pattern you've specified would be an infinite loop if the
6068regular expression engine didn't specifically check for that. The <-- HERE
9201regular expression engine didn't specifically check for that. The S<<-- HERE>
6069shows in the regular expression about where the problem was discovered.
9202shows whereabouts in the regular expression the problem was discovered.
60709203See L<perlre>.
60719204
60729205=end original
60739206
60749207(W) 指定したパターンは、もし、正規表現エンジンがチェックを
60759208行なっていなければ、無限ループに陥るものです。
6076<-- HERE で正規表現のどこに問題が発見されたかを示しています。
9209S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
60779210L<perlre> を参照してください。
60789211
60799212=item Maximal count of pending signals (%u) exceeded
60809213
60819214=begin original
60829215
6083(F) Perl aborted due to too high a number of signals pending. This
9216(F) Perl aborted due to too high a number of signals pending. This
60849217usually indicates that your operating system tried to deliver signals
60859218too fast (with a very high priority), starving the perl process from
60869219resources it would need to reach a point where it can process signals
6087safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.)
9220safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.)
60889221
60899222=end original
60909223
60919224(F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。
60929225これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、
60939226perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な
60949227リソースが不足したことを示しています。
60959228(L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。)
60969229
60979230=item "%s" may clash with future reserved word
60989231
60999232=begin original
61009233
61019234(W) This warning may be due to running a perl5 script through a perl4
61029235interpreter, especially if the word that is being warned about is
61039236"use" or "my".
61049237
61059238=end original
61069239
61079240(W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした
61089241ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は
61099242そうです。
61109243
6111=item % may not be used in pack
9244=item '%' may not be used in pack
61129245
61139246=begin original
61149247
61159248(F) You can't pack a string by supplying a checksum, because the
61169249checksumming process loses information, and you can't go the other way.
61179250See L<perlfunc/unpack>.
61189251
61199252=end original
61209253
61219254(F) チェックサムを指定して pack を行なうことはできません;
61229255チェックサム処理では、情報が失われ、どうしようもなくなるからです。
61239256L<perlfunc/unpack> を参照してください。
61249257
61259258=item Method for operation %s not found in package %s during blessing
61269259
61279260=begin original
61289261
61299262(F) An attempt was made to specify an entry in an overloading table that
61309263doesn't resolve to a valid subroutine. See L<overload>.
61319264
61329265=end original
61339266
61349267(F) 多重定義テーブルで、有効なサブルーチンに解決できない
61359268エントリを指定しようとしました。
61369269L<overload> を参照してください。
61379270
9271=item method is experimental
9272
9273=begin original
9274
9275(S experimental::class) This warning is emitted if you use the C<method>
9276keyword of C<use feature 'class'>. This keyword is currently
9277experimental and its behaviour may change in future releases of Perl.
9278
9279=end original
9280
9281(S experimental::class) この警告は、C<use feature 'class'> の
9282C<method> キーワードを使うと発生します。
9283このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される
9284可能性があります。
9285
61389286=item Method %s not permitted
61399287
61409288=begin original
61419289
6142See Server error.
9290See L</500 Server error>.
61439291
61449292=end original
61459293
6146"Server error" を参照してください。
9294L</500 Server error> を参照してください。
61479295
9296=item Method %s redefined
9297
9298=begin original
9299
9300(W redefine) You redefined a method. To suppress this warning, say
9301
9302=end original
9303
9304(W redefine) メソッドを再定義しました。
9305この警告を抑制するには、次のようにします:
9306
9307 {
9308 no warnings 'redefine';
9309 *name = method { ... };
9310 }
9311
61489312=item Might be a runaway multi-line %s string starting on line %d
61499313
61509314=begin original
61519315
61529316(S) An advisory indicating that the previous error may have been caused
61539317by a missing delimiter on a string or pattern, because it eventually
61549318ended earlier on the current line.
61559319
61569320=end original
61579321
61589322(S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、
61599323先のエラーが、文字列やパターンのデリミタが、見つからなかったことで
61609324起ったかもしれないことを、補足的に示しています。
61619325
9326=item Mismatched brackets in template
9327
9328=begin original
9329
9330(F) A pack template could not be parsed because pairs of C<[...]> or
9331C<(...)> could not be matched up. See L<perlfunc/pack>.
9332
9333=end original
9334
9335(F) pack テンプレートがパースできません;
9336C<[...]> や C<(...)> の組が一致していないからです。
9337L<perlfunc/pack> を参照してください。
9338
61629339=item Misplaced _ in number
61639340
61649341=begin original
61659342
61669343(W syntax) An underscore (underbar) in a numeric constant did not
61679344separate two digits.
61689345
61699346=end original
61709347
61719348(W syntax) 数値定数の下線が、二つの値を分離していません。
61729349
9350=item Missing argument for %n in %s
9351
9352=begin original
9353
9354(F) A C<%n> was used in a format string with no corresponding argument for
9355perl to write the current string length to.
9356
9357=end original
9358
9359(F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を
9360書くための対応する引数がありません。
9361
61739362=item Missing argument in %s
61749363
61759364=begin original
61769365
6177(W uninitialized) A printf-type format required more arguments than were
9366(W missing) You called a function with fewer arguments than other
6178supplied.
9367arguments you supplied indicated would be needed.
61799368
61809369=end original
61819370
6182(W uninitialized) printf 形式ののフォーマットが供給されたのよりも多くの引数を
9371(W missing) 他で指定した引数によって必要であると示されているよりも
6183要求しました。
9372少ない引数で関数を呼び出しました。
61849373
9374=begin original
9375
9376Currently only emitted when a printf-type format required more
9377arguments than were supplied, but might be used in the future for
9378other cases where we can statically determine that arguments to
9379functions are missing, e.g. for the L<perlfunc/pack> function.
9380
9381=end original
9382
9383現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を
9384要求した場合にのみ発生しますが、
9385将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる
9386その他の場合に使われるかもしれません。
9387
61859388=item Missing argument to -%c
61869389
61879390=begin original
61889391
61899392(F) The argument to the indicated command line switch must follow
61909393immediately after the switch, without intervening spaces.
61919394
61929395=end original
61939396
61949397(F) 示されたコマンドラインスイッチの引数は、
61959398スイッチの直後にスペースを空けないで書く必要があります。
61969399
61979400=item Missing braces on \N{}
61989401
9402=item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/
9403
61999404=begin original
62009405
62019406(F) Wrong syntax of character name literal C<\N{charname}> within
62029407double-quotish context. This can also happen when there is a space
62039408(or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier.
62049409This modifier does not change the requirement that the brace immediately
62059410follow the C<\N>.
62069411
62079412=end original
62089413
62099414(F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の
62109415文法が間違っています。
62119416これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または
62129417コメント)がある場合にも起こります。
62139418この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。
62149419
62159420=item Missing braces on \o{}
62169421
62179422=begin original
62189423
62199424(F) A C<\o> must be followed immediately by a C<{> in double-quotish context.
62209425
62219426=end original
62229427
62239428(F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が
62249429引き続かなければなりません。
62259430
62269431=item Missing comma after first argument to %s function
62279432
62289433=begin original
62299434
62309435(F) While certain functions allow you to specify a filehandle or an
62319436"indirect object" before the argument list, this ain't one of them.
62329437
62339438=end original
62349439
62359440(F) ある種の関数では、引数リストの前に、ファイルハンドルや
62369441「間接オブジェクト」をおくことができますが、この関数は、
62379442そういったものではありません。
62389443
9444=item Missing comma after first argument to return
9445
9446=begin original
9447
9448(F) While certain operators allow you to specify a filehandle or an
9449"indirect object" before the argument list, C<return> isn't one of
9450them.
9451
9452=end original
9453
9454(F) 一部の演算子では、引数リストの前にファイルハンドルまたは
9455「間接オブジェクト」を指定できますが、C<return> はその一つではありません。
9456
62399457=item Missing command in piped open
62409458
62419459=begin original
62429460
62439461(W pipe) You used the C<open(FH, "| command")> or
62449462C<open(FH, "command |")> construction, but the command was missing or
62459463blank.
62469464
62479465=end original
62489466
62499467(W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を
62509468使っていますが、コマンドが指定されていないか空白です。
62519469
62529470=item Missing control char name in \c
62539471
62549472=begin original
62559473
62569474(F) A double-quoted string ended with "\c", without the required control
62579475character name.
62589476
62599477=end original
62609478
62619479(F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が
62629480必要です。
62639481
6264=item Missing name in "my sub"
9482=item Missing ']' in prototype for %s : %s
62659483
62669484=begin original
62679485
6268(F) The reserved syntax for lexically scoped subroutines requires that
9486(W illegalproto) A grouping was started with C<[> but never closed with C<]>.
9487
9488=end original
9489
9490(W illegalproto) グループ化は C<[> で始まりましたが C<]> で
9491閉じられませんでした。
9492
9493=item Missing name in "%s sub"
9494
9495=begin original
9496
9497(F) The syntax for lexically scoped subroutines requires that
62699498they have a name with which they can be found.
62709499
62719500=end original
62729501
6273(F) 予約された文法である、レキシカルスコープのサブルーチンには
9502(F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。
6274探すことの出来る名前が必要です。
62759503
62769504=item Missing $ on loop variable
62779505
62789506=begin original
62799507
62809508(F) Apparently you've been programming in B<csh> too much. Variables
62819509are always mentioned with the $ in Perl, unlike in the shells, where it
62829510can vary from one line to the next.
62839511
62849512=end original
62859513
62869514(F) B<csh> を使いすぎた症状が現れているようです。
62879515Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは
62889516違っています。
62899517
62909518=item (Missing operator before %s?)
62919519
62929520=begin original
62939521
62949522(S syntax) This is an educated guess made in conjunction with the message
62959523"%s found where operator expected". Often the missing operator is a comma.
62969524
62979525=end original
62989526
62999527(S syntax) これは "%s found where operator expected" メッセージと共に
63009528表示される教育的な推測です。
63019529しばしば不足している演算子はカンマです。
63029530
6303=item Missing right brace on %s
9531=item Missing or undefined argument to %s
63049532
63059533=begin original
63069534
9535(F) You tried to call C<require> or C<do> with no argument or with an
9536undefined value as an argument. Require expects either a package name or
9537a file-specification as an argument; do expects a filename. See
9538L<perlfunc/require EXPR> and L<perlfunc/do EXPR>.
9539
9540=end original
9541
9542(F) 引数なし、または未定義値を引数として C<require> や C<do> を
9543呼び出そうとしました。
9544require はパッケージ名またはファイル指定を引数として想定します;
9545do はファイル名を想定します。
9546L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。
9547
9548=item Missing or undefined argument to %s via %{^HOOK}{require__before}
9549
9550=begin original
9551
9552(F) A C<%{^HOOK}{require__before}> hook rewrote the name of the file being
9553compiled with C<require> or C<do> with an empty string an undefined value
9554which is forbidden. See L<perlvar/%{^HOOK}> and L<perlfunc/require EXPR>.
9555
9556=end original
9557
9558(F) C<%{^HOOK}{require__before}> フックが、
9559空文字列または未定義値で C<require> または C<do> でコンパイルされた
9560ファイル名を書き換えました;
9561これは禁止されています。
9562L<perlvar/%{^HOOK}> と L<perlfunc/require EXPR> を参照してください。
9563
9564=item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/
9565
9566=begin original
9567
63079568(F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>.
63089569
63099570=end original
63109571
63119572(F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが
63129573抜けています。
63139574
9575=item Missing right brace on \N{}
9576
63149577=item Missing right brace on \N{} or unescaped left brace after \N
63159578
63169579=begin original
63179580
63189581(F) C<\N> has two meanings.
63199582
63209583=end original
63219584
63229585(F) C<\N> には二つの意味があります。
63239586
63249587=begin original
63259588
63269589The traditional one has it followed by a name enclosed in braces,
63279590meaning the character (or sequence of characters) given by that
6328name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both
9591name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both
63299592double-quoted strings and regular expression patterns. In patterns,
63309593it doesn't have the meaning an unescaped C<*> does.
63319594
63329595=end original
63339596
63349597伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字
63359598(または文字並び)を意味します。
63369599従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、
63379600ダブルクォート文字列と正規表現パターンの両方で妥当です。
63389601パターンでは、これはエスケープされない C<*> の持つ意味はありません。
63399602
63409603=begin original
63419604
63429605Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only)
63439606in patterns, namely to match a non-newline character. (This is short
63449607for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.)
63459608
63469609=end original
63479610
63489611Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます;
63499612非改行文字にマッチングします。
63509613(これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって
63519614影響を受けません。)
63529615
63539616=begin original
63549617
63559618This can lead to some ambiguities. When C<\N> is not followed immediately
63569619by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces
63579620form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this
63589621means to match the given quantity of non-newlines (in these examples,
635996223; and 5 or more, respectively). In all other case, where there is a
63609623C<\N{> and a matching C<}>, Perl assumes that a character name is desired.
63619624
63629625=end original
63639626
63649627これによりいくつかの曖昧さを引き起こします。
63659628C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。
63669629また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に
63679630なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と
636896315 以上) にマッチングするという意味を仮定します。
63699632それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が
63709633求められていると仮定します。
63719634
63729635=begin original
63739636
63749637However, if there is no matching C<}>, Perl doesn't know if it was
63759638mistakenly omitted, or if C<[^\n]{> was desired, and raises this error.
63769639If you meant the former, add the right brace; if you meant the latter,
63779640escape the brace with a backslash, like so: C<\N\{>
63789641
63799642=end original
63809643
63819644しかし、対応する C<}> がなければ、それが間違って省略されたのか、
63829645C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。
63839646前者を意味しているなら、閉じ中かっこを追加してください; 後者を
63849647意味しているなら、C<\N\{> のように中かっこを逆スラッシュで
63859648エスケープしてください。
63869649
63879650=item Missing right curly or square bracket
63889651
63899652=begin original
63909653
63919654(F) The lexer counted more opening curly or square brackets than closing
63929655ones. As a general rule, you'll find it's missing near the place you
63939656were last editing.
63949657
63959658=end original
63969659
63979660(F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも
63989661開き中かっこ(大かっこ)を多く発見しました。
63999662一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。
64009663
64019664=item (Missing semicolon on previous line?)
64029665
64039666=begin original
64049667
64059668(S syntax) This is an educated guess made in conjunction with the message
64069669"%s found where operator expected". Don't automatically put a semicolon on
64079670the previous line just because you saw this message.
64089671
64099672=end original
64109673
64119674(S syntax) これは "%s found where operator expected" メッセージと共に
64129675表示される教育的な推測です。
64139676このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは
64149677しないでください。
64159678
64169679=item Modification of a read-only value attempted
64179680
64189681=begin original
64199682
64209683(F) You tried, directly or indirectly, to change the value of a
64219684constant. You didn't, of course, try "2 = 1", because the compiler
64229685catches that. But an easy way to do the same thing is:
64239686
64249687=end original
64259688
64269689(F) 直接、間接に関らず、定数値を変更しようとしました。
64279690もちろん、コンパイラが発見できる、"2 = 1" などといったことを
64289691したわけではありません。
64299692しかし、同じことは以下のようにしても起こります。
64309693
64319694 sub mod { $_[0] = 1 }
64329695 mod(2);
64339696
64349697=begin original
64359698
64369699Another way is to assign to a substr() that's off the end of the string.
64379700
64389701=end original
64399702
64409703substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。
64419704
64429705=begin original
64439706
64449707Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR>
64459708is aliased to a constant in the look I<LIST>:
64469709
64479710=end original
64489711
64499712もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の
64509713定数のエイリアスであるときに、I<VAR> に代入した時です:
64519714
6452 $x = 1;
9715 $x = 1;
6453 foreach my $n ($x, 2) {
9716 foreach my $n ($x, 2) {
6454 $n *= 2; # modifies the $x, but fails on attempt to modify the 2
9717 $n *= 2; # modifies the $x, but fails on attempt to
6455 }
9718 } # modify the 2
64569719
9720=begin original
9721
9722L<PerlIO::scalar> will also produce this message as a warning if you
9723attempt to open a read-only scalar for writing.
9724
9725=end original
9726
9727L<PerlIO::scalar> も、読み込み専用スカラを書き込みように開こうとしたときに、
9728このメッセージを警告として出力します。
9729
64579730=item Modification of non-creatable array value attempted, %s
64589731
64599732=begin original
64609733
64619734(F) You tried to make an array value spring into existence, and the
64629735subscript was probably negative, even counting from end of the array
64639736backwards.
64649737
64659738=end original
64669739
64679740(F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の
64689741終わりから逆に数えたとしても、おかしな位置を指しているようです。
64699742
64709743=item Modification of non-creatable hash value attempted, %s
64719744
64729745=begin original
64739746
64749747(P) You tried to make a hash value spring into existence, and it
64759748couldn't be created for some peculiar reason.
64769749
64779750=end original
64789751
64799752(F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、
64809753できませんでした。
64819754
64829755=item Module name must be constant
64839756
64849757=begin original
64859758
64869759(F) Only a bare module name is allowed as the first argument to a "use".
64879760
64889761=end original
64899762
64909763(F) "use" の最初の引数としてモジュール名を示すのに許されているのは、
64919764裸の単語だけです。
64929765
64939766=item Module name required with -%c option
64949767
64959768=begin original
64969769
64979770(F) The C<-M> or C<-m> options say that Perl should load some module, but
6498you omitted the name of the module. Consult L<perlrun> for full details
9771you omitted the name of the module. Consult
6499about C<-M> and C<-m>.
9772L<perlrun|perlrun/-m[-]module> for full details about C<-M> and C<-m>.
65009773
65019774=end original
65029775
65039776C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを
65049777指示しますが、モジュール名がありませんでした。
6505C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。
9778C<-M> と C<-m> に関する完全な詳細については
9779L<perlrun|perlrun/-m[-]module> を参照してください。
65069780
65079781=item More than one argument to '%s' open
65089782
65099783=begin original
65109784
6511(F) The C<open> function has been asked to open multiple files. This
9785(F) The C<open> function has been asked to open multiple files. This
65129786can happen if you are trying to open a pipe to a command that takes a
65139787list of arguments, but have forgotten to specify a piped open mode.
65149788See L<perlfunc/open> for details.
65159789
65169790=end original
65179791
65189792(F) C<open> 関数に、複数のファイルを開くように指定されました。
65199793これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ
65209794オープンモードを指定するのを忘れた時に起きます。
65219795詳細は L<perlfunc/open> を参照してください。
65229796
9797=item mprotect for COW string %p %u failed with %d
9798
9799=begin original
9800
9801(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see
9802L<perlguts/"Copy on Write">), but a shared string buffer
9803could not be made read-only.
9804
9805=end original
9806
9807(S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で
9808コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。
9809
9810=item mprotect for %p %u failed with %d
9811
9812=begin original
9813
9814(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>),
9815but an op tree could not be made read-only.
9816
9817=end original
9818
9819(S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で
9820コンパイルされましたが、op 木を読み込み専用にできませんでした。
9821
9822=item mprotect RW for COW string %p %u failed with %d
9823
9824=begin original
9825
9826(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see
9827L<perlguts/"Copy on Write">), but a read-only shared string
9828buffer could not be made mutable.
9829
9830=end original
9831
9832(S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で
9833コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に
9834できませんでした。
9835
9836=item mprotect RW for %p %u failed with %d
9837
9838=begin original
9839
9840(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see
9841L<perlhacktips>), but a read-only op tree could not be made
9842mutable before freeing the ops.
9843
9844=end original
9845
9846(S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で
9847コンパイルされましたが、読み込み専用の op 木を、op を解放する前に
9848ミュータブルにできませんでした。
9849
65239850=item msg%s not implemented
65249851
65259852=begin original
65269853
65279854(F) You don't have System V message IPC on your system.
65289855
65299856=end original
65309857
65319858(F) このシステムでは、System V メッセージ IPC は使えません。
65329859
9860=item Multidimensional hash lookup is disabled
9861
9862=begin original
9863
9864(F) You supplied a list of subscripts to a hash lookup under
9865C<< no feature "multidimensional"; >>, eg:
9866
9867=end original
9868
9869(F) You supplied a list of subscripts to a hash lookup under
9870C<< no feature "multidimensional"; >> の下でハッシュ検索のために
9871添え字のリストを指定しました; 例えば:
9872
9873 $z = $foo{$x, $y};
9874
9875=begin original
9876
9877which by default acts like:
9878
9879=end original
9880
9881これはデフォルトでは次のように振る舞います:
9882
9883 $z = $foo{join($;, $x, $y)};
9884
65339885=item Multidimensional syntax %s not supported
65349886
65359887=begin original
65369888
65379889(W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>.
65389890They're written like C<$foo[1][2][3]>, as in C.
65399891
65409892=end original
65419893
65429894(W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。
65439895これは、C のように C<$foo[1][2][3]> のように書きます。
65449896
9897=item Multiple slurpy parameters not allowed
9898
9899=begin original
9900
9901(F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be
9902the last parameter, and there must not be more than one of them; for
9903example:
9904
9905=end original
9906
9907(F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は
9908最後のパラメータでなければならず、複数あってはなりません; 例えば:
9909
9910 sub foo ($x, @y) {} # legal
9911 sub foo ($x, @y, %) {} # invalid
9912
65459913=item '/' must follow a numeric type in unpack
65469914
65479915=begin original
65489916
65499917(F) You had an unpack template that contained a '/', but this did not
65509918follow some unpack specification producing a numeric value.
65519919See L<perlfunc/pack>.
65529920
65539921=end original
65549922
65559923(F) '/' を含む unpack テンプレートがありますが、これがなんらかの
65569924数値を生成する unpack 指定に引き続いていません。
65579925L<perlfunc/pack> を参照してください。
65589926
9927=item %s must not be a named sequence in transliteration operator
9928
9929=begin original
9930
9931(F) Transliteration (C<tr///> and C<y///>) transliterates individual
9932characters. But a named sequence by definition is more than an
9933individual character, and hence doing this operation on it doesn't make
9934sense.
9935
9936=end original
9937
9938(F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。
9939しかし、定義による名前付き並びは個々の文字以上のものがあるので、
9940それに対してこの操作をするのは意味がありません。
9941
65599942=item "my sub" not yet implemented
65609943
65619944=begin original
65629945
65639946(F) Lexically scoped subroutines are not yet implemented. Don't try
65649947that yet.
65659948
65669949=end original
65679950
65689951(F) レキシカルスコープのサブルーチンはまだ実装されていません。
65699952まだ試さないでください。
65709953
6571=item "my" variable %s can't be in a package
9954=item "my" subroutine %s can't be in a package
65729955
65739956=begin original
65749957
6575(F) Lexically scoped variables aren't in a package, so it doesn't make
9958(F) Lexically scoped subroutines aren't in a package, so it doesn't make
6576sense to try to declare one with a package qualifier on the front. Use
9959sense to try to declare one with a package qualifier on the front.
6577local() if you want to localize a package variable.
65789960
65799961=end original
65809962
6581(F) 字句スコープの変数パッケージ内に置かれませんので、
9963(F) レキシカルスコープサブルーチンはパッケージ内にないので、
65829964頭にパッケージ名を付けて宣言することは、無意味です。
6583パッケージ変数をローカル化したい場合には、local() を使ってください。
65849965
6585=item Name "%s::%s" used only once: possible typo
9966=item "my %s" used in sort comparison
65869967
65879968=begin original
65889969
6589(W once) Typographical errors often show up as unique variable names.
9970(W syntax) The package variables $a and $b are used for sort comparisons.
6590If you had a good reason for having a unique name, then just mention it
9971You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a
6591again somehow to suppress the message. The C<our> declaration is
9972sort comparison block, and the variable had earlier been declared as a
6592provided for this purpose.
9973lexical variable. Either qualify the sort variable with the package
9974name, or rename the lexical variable.
65939975
65949976=end original
65959977
6596(W once) しばしばタイプミスによってユニクな変数して表示されます。
9978(W syntax) パッケ変数 $a $b はソート比較のために使われます。
6597ユニークな名前をを使う理由があるなら、もう一度どこかで参照することで
9979$a または $b をソト比較ブロックの中の C<< <=> >> または C<cmp> 演算子の
6598このメッセージを抑制できます。
9980オペランドとして使いましたが、この変数はその前にレキシカル変数として
6599C<our> 宣言がこの目的のために提供されています。
9981宣言されています。
9982ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
66009983
6601=begin original
9984=item "my" variable %s can't be in a package
66029985
6603NOTE: This warning detects symbols that have been used only once so $c, @c,
6604%c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered
6605the same; if a program uses $c only once but also uses any of the others it
6606will not trigger this warning.
6607
6608=end original
6609
6610注意: この警告はシンボルが一度だけしか使われていないことを検出するので、
6611$c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は
6612全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても
6613その他のものが使われている場合、警告は発生しません。
6614
6615=item \N in a character class must be a named character: \N{...}
6616
66179986=begin original
66189987
6619(F) The new (5.12) meaning of C<\N> as C<[^\n]> is not valid in a bracketed
9988(F) Lexically scoped variables aren't in a package, so it doesn't make
6620character class, for the same reason that C<.> in a character class loses
9989sense to try to declare one with a package qualifier on the front. Use
6621its specialness: it matches almost everything, which is probably not
9990local() if you want to localize a package variable.
6622what you want.
66239991
66249992=end original
66259993
6626(F) C<[^\n]> とう新しい (5.12) C<\N> 意味は大かっこ文字クラス
9994(F) レキシカルスコープサブルーチンはパッケージ内にないので
6627妥当ではありません; 文字クラス内の C<.> がその特殊性失うの同じ理由です:
9995頭にパッケージ名付けて宣言するこは、無意味です
6628これはほとんど何にでもマチング、これはおそらくあなの求めてるもので
9996ケージ変数をローカル化したい場合に、local() を使ってください。
6629ないでしょう。
66309997
6631=item \N{NAME} must be resolved by the lexer
9998=item Name "%s::%s" used only once: possible typo
66329999
663310000=begin original
663410001
6635(F) When compiling a regex pattern, an unresolved named character or
10002(W once) Typographical errors often show up as unique variable
6636sequence was encountered. This can happen in any of several ways that
10003names. If you had a good reason for having a unique name, then
6637bypass the lexer, such as using single-quotish context, or an extra
10004just mention it again somehow to suppress the message. The C<our>
6638backslash in double-quotish:
10005declaration is also provided for this purpose.
663910006
664010007=end original
664110008
6642(F) 正規表現パーンをコンパルするき、解決されない名前付き文字や並びに
10009(W once) しばしばタイプミスによってユニークな変数名して表示されます。
6643遭遇しました。
10010ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで
6644れはシングルクォト風コンテキスト使ったり、ダブルクォート風
10011のメッセ抑制きます。
6645余分な逆スラッシュがあるような、字句解析器を回避する様々な方法かで
10012C<our> 宣言もこ目的のために提供さています。
6646起こります:
664710013
6648 $re = '\N{SPACE}'; # Wrong!
6649 $re = "\\N{SPACE}"; # Wrong!
6650 /$re/;
6651
665210014=begin original
665310015
6654Instead, use double-quotes with a single backslash:
10016NOTE: This warning detects package symbols that have been used
10017only once. This means lexical variables will never trigger this
10018warning. It also means that all of the package variables $c, @c,
10019%c, as well as *c, &c, sub c{}, c(), and c (the filehandle or
10020format) are considered the same; if a program uses $c only once
10021but also uses any of the others it will not trigger this warning.
10022Symbols beginning with an underscore and symbols using special
10023identifiers (q.v. L<perldata>) are exempt from this warning.
665510024
665610025=end original
665710026
6658代わりに、単一クスラッュとダブクォート使ってください:
10027注意: こ警告は一度しか使われていないパケージンボルを検出します。
10028つまり、レキシカル変数はこの警告を引き起こさないと言うことです。
10029また、パッケージ変数 $c, @c, %c および
10030*c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は
10031同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも
10032その他のものも使っている場合、この警告は引き起こされません。
10033下線で始まるシンボルと特殊識別子
10034(L<perldata> 参照) を使ったシンボルはこの警告を免れます。
665910035
6660 $re = "\N{SPACE}"; # ok
10036=item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/
6661 /$re/;
666210037
666310038=begin original
666410039
6665The lexer can be bypassed as well by creating the pattern from smaller
10040(F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be
6666components:
10041exactly 3 digits long. This helps catch some ambiguities. If your
10042constant is too short, add leading zeros, like
666710043
666810044=end original
666910045
6670字句析器はより小い構造からパターンを作ことによっも回避きます:
10046(F) S<C<(?[ ])>> の中で、8 進数としての定数は正確に 3 桁ある
10047必要があります。
10048これはある種の曖昧さを捕まえる助けになります。
10049定数が短い場合は、以下のように先頭に 0 を追加してください
667110050
6672 $re = '\N';
10051 (?[ [ \078 ] ]) # Syntax error!
6673 /${re}{SPACE}/; # Wrong!
10052 (?[ [ \0078 ] ]) # Works
10053 (?[ [ \007 8 ] ]) # Clearer
667410054
667510055=begin original
667610056
6677It's not a good idea to split a construct in the middle like this, and it
10057The maximum number this construct can express is C<\777>. If you
6678doesn't work here. Instead use the solution above.
10058need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant
10059two separate things, you need to separate them:
667910060
668010061=end original
668110062
6682このように中間で造を分割すことよい考えはなく、ここでは動作しません
10063この構文が表現でき最大数 C<\777>
6683代わりに上述した解決法使ってください。
10064より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes>
10065使う必要があります。
10066二つの別々のものを意味しているなら、分ける必要があります:
668410067
6685=begin original
10068 (?[ [ \7776 ] ]) # Syntax error!
10069 (?[ [ \o{7776} ] ]) # One meaning
10070 (?[ [ \777 6 ] ]) # Another meaning
10071 (?[ [ \777 \006 ] ]) # Still another
668610072
6687Finally, the message also can happen under the C</x> regex modifier when the
6688C<\N> is separated by spaces from the C<{>, in which case, remove the spaces.
6689
6690=end original
6691
6692最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と
6693空白で区切られているときにもでます; この場合、空白を削除します。
6694
6695 /\N {SPACE}/x; # Wrong!
6696 /\N{SPACE}/x; # ok
6697
669810073=item Negative '/' count in unpack
669910074
670010075=begin original
670110076
670210077(F) The length count obtained from a length/code unpack operation was
670310078negative. See L<perlfunc/pack>.
670410079
670510080=end original
670610081
670710082(F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。
670810083L<perlfunc/pack> を参照してください。
670910084
671010085=item Negative length
671110086
671210087=begin original
671310088
671410089(F) You tried to do a read/write/send/recv operation with a buffer
671510090length that is less than 0. This is difficult to imagine.
671610091
671710092=end original
671810093
671910094(F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を
672010095行なおうとしました。
672110096これは想像しにくいことです。
672210097
672310098=item Negative offset to vec in lvalue context
672410099
672510100=begin original
672610101
672710102(F) When C<vec> is called in an lvalue context, the second argument must be
672810103greater than or equal to zero.
672910104
673010105=end original
673110106
673210107(F) 左辺値コンテキストで C<vec> が呼び出されたとき、
673310108二つ目の引数は 0 以上でなければなりません。
673410109
6735=item Nested quantifiers in regex; marked by <-- HERE in m/%s/
10110=item Negative repeat count does nothing
673610111
673710112=begin original
673810113
6739(F) You can't quantify a quantifier without intervening parentheses. So
10114(W numeric) You tried to execute the
6740things like ** or +* or ?* are illegal. The <-- HERE shows in the regular
10115L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0
6741expression about where the problem was discovered.
10116times, which doesn't make sense.
674210117
674310118=end original
674410119
10120(W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を
101210 より小さい回数実行しようとしました; これは無意味です。
10122
10123=item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/
10124
10125=begin original
10126
10127(F) You can't quantify a quantifier without intervening parentheses.
10128So things like ** or +* or ?* are illegal. The S<<-- HERE> shows
10129whereabouts in the regular expression the problem was discovered.
10130
10131=end original
10132
674510133(F) かっこを挟まないで、数量子を数量子で修飾することはできません。
674610134つまり、** や +* や ?* といったものは、正しくありません。
6747<-- HERE で正規表現のどこに問題が発見されたかを示しています。
10135S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
674810136
674910137=begin original
675010138
675110139Note that the minimal matching quantifiers, C<*?>, C<+?>, and
675210140C<??> appear to be nested quantifiers, but aren't. See L<perlre>.
675310141
675410142=end original
675510143
675610144最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように
675710145見えますが、そうではありません。
675810146L<perlre> を参照してください。
675910147
676010148=item %s never introduced
676110149
676210150=begin original
676310151
676410152(S internal) The symbol in question was declared but somehow went out of
676510153scope before it could possibly have been used.
676610154
676710155=end original
676810156
676910157(S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから
677010158外れてしまいました。
677110159
677210160=item next::method/next::can/maybe::next::method cannot find enclosing method
677310161
677410162=begin original
677510163
677610164(F) C<next::method> needs to be called within the context of a
677710165real method in a real package, and it could not find such a context.
677810166See L<mro>.
677910167
678010168=end original
678110169
678210170(F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる
678310171必要がありますが、そのようなコンテキストが見つけられませんでした。
678410172L<mro> を参照してください。
678510173
10174=item \N in a character class must be a named character: \N{...} in regex;
10175marked by S<<-- HERE> in m/%s/
10176
10177=begin original
10178
10179(F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a
10180bracketed character class, for the same reason that C<.> in a character
10181class loses its specialness: it matches almost everything, which is
10182probably not what you want.
10183
10184=end original
10185
10186(F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは
10187妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です:
10188これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは
10189ないでしょう。
10190
10191=item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/
10192
10193=begin original
10194
10195(F) Named Unicode character escapes (C<\N{...}>) may return a
10196multi-character sequence. Even though a character class is
10197supposed to match just one character of input, perl will match the
10198whole thing correctly, except under certain conditions. These currently
10199are
10200
10201=end original
10202
10203(F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを
10204返すことがあります。
10205文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、
10206perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。
10207それは今のところ:
10208
10209=over 4
10210
10211=item When the class is inverted (C<[^...]>)
10212
10213(クラスが反転された場合 (C<[^...]>))
10214
10215=begin original
10216
10217The mathematically logical behavior for what matches when inverting
10218is very different from what people expect, so we have decided to
10219forbid it.
10220
10221=end original
10222
10223反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは
10224人々が想定するものと大きく異なっているので、これは禁止することにしました。
10225
10226=item The escape is the beginning or final end point of a range
10227
10228(エスケープが範囲の始点か終点の場合)
10229
10230=begin original
10231
10232Similarly unclear is what should be generated when the
10233C<\N{...}> is used as one of the end points of the range, such as in
10234
10235=end original
10236
10237同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が
10238使われたときに何が生成されるべきかということです:
10239
10240 [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}]
10241
10242=begin original
10243
10244What is meant here is unclear, as the C<\N{...}> escape is a sequence
10245of code points, so this is made an error.
10246
10247=end original
10248
10249ここで意味しているものは不明確です; C<\N{...}> エスケープは
10250符号位置の並びだからです; 従ってこれはエラーを発生させます。
10251
10252=item In a regex set
10253
10254(正規表現集合の中の場合)
10255
10256=begin original
10257
10258The syntax S<C<(?[ ])>> in a regular expression yields a list of
10259single code points, none can be a sequence.
10260
10261=end original
10262
10263正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、
10264並びにはなりません。
10265
10266=back
10267
678610268=item No %s allowed while running setuid
678710269
678810270=begin original
678910271
679010272(F) Certain operations are deemed to be too insecure for a setuid or
679110273setgid script to even be allowed to attempt. Generally speaking there
679210274will be another way to do what you want that is, if not secure, at least
679310275securable. See L<perlsec>.
679410276
679510277=end original
679610278
679710279(F) ある種の操作は、setuid や setgid スクリプトにとって、
679810280やってみることはできても、とても安全なものとは考えられないものです。
679910281一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。
680010282L<perlsec> を参照してください。
680110283
10284=item No code specified for -%c
10285
10286=begin original
10287
10288(F) Perl's B<-e> and B<-E> command-line options require an argument. If
10289you want to run an empty program, pass the empty string as a separate
10290argument or run a program consisting of a single 0 or 1:
10291
10292=end original
10293
10294(F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。
10295空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の
102960 または 1 からなるプログラムを実行してください:
10297
10298 perl -e ""
10299 perl -e0
10300 perl -e1
10301
680210302=item No comma allowed after %s
680310303
680410304=begin original
680510305
6806(F) A list operator that has a filehandle or "indirect object" is not
10306(F) A list operator that has a filehandle or "indirect object" is
6807allowed to have a comma between that and the following arguments.
10307not allowed to have a comma between that and the following arguments.
680810308Otherwise it'd be just another one of the arguments.
680910309
681010310=end original
681110311
681210312(F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、
681310313それらとそれ以降の引数の間にコンマを入れることはできません。
681410314そのようにした場合には、引数の一つとなってしまいます。
681510315
681610316=begin original
681710317
6818One possible cause for this is that you expected to have imported a
10318One possible cause for this is that you expected to have imported
6819constant to your name space with B<use> or B<import> while no such
10319a constant to your name space with B<use> or B<import> while no such
6820importing took place, it may for example be that your operating system
10320importing took place, it may for example be that your operating
6821does not support that particular constant. Hopefully you did use an
10321system does not support that particular constant. Hopefully you did
6822explicit import list for the constants you expect to see; please see
10322use an explicit import list for the constants you expect to see;
6823L<perlfunc/use> and L<perlfunc/import>. While an explicit import list
10323please see L<perlfunc/use> and L<perlfunc/import>. While an
6824would probably have caught this error earlier it naturally does not
10324explicit import list would probably have caught this error earlier
6825remedy the fact that your operating system still does not support that
10325it naturally does not remedy the fact that your operating system
6826constant. Maybe you have a typo in the constants of the symbol import
10326still does not support that constant. Maybe you have a typo in
6827list of B<use> or B<import> or in the constant name at the line where
10327the constants of the symbol import list of B<use> or B<import> or in the
6828this error was triggered?
10328constant name at the line where this error was triggered?
682910329
683010330=end original
683110331
683210332これの原因としてあり得るものの一つは、B<use> や B<import> を使って
683310333名前空間にインポートしたつもりの定数が実際にはインポートされていなかった
683410334場合です;
683510335例えば OS が特定の定数に対応していない場合などです。
683610336できればインポートしたい定数のリストを明示的に使ってください;
683710337L<perlfunc/use> と L<perlfunc/import> を参照して下さい。
683810338明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、
683910339そもそも OS がその定数に対応していないという問題を解決はしません。
684010340おそらく B<use> や B<import> のシンボルインポートリストの定数か、
684110341エラーを引き起こした行の定数名をタイプミスしたのでは?
684210342
684310343=item No command into which to pipe on command line
684410344
684510345=begin original
684610346
684710347(F) An error peculiar to VMS. Perl handles its own command line
684810348redirection, and found a '|' at the end of the command line, so it
684910349doesn't know where you want to pipe the output from this command.
685010350
685110351=end original
685210352
685310353(F) VMS に固有のエラーです。
685410354Perl は独自にコマンドラインのリダイレクトを扱っていて、
685510355コマンドラインの最後にに '|' を発見しましたが、
685610356このコマンドから出力をどこにパイプしたいのかがわかりませんでした。
685710357
685810358=item No DB::DB routine defined
685910359
686010360=begin original
686110361
686210362(F) The currently executing code was compiled with the B<-d> switch, but
686310363for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::>
686410364module) didn't define a routine to be called at the beginning of each
686510365statement.
686610366
686710367=end original
686810368
686910369(F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、
687010370何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)
687110371が各実行文の頭で呼び出すルーティンを定義していません。
687210372
687310373=item No dbm on this machine
687410374
687510375=begin original
687610376
687710377(P) This is counted as an internal error, because every machine should
687810378supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>.
687910379
688010380=end original
688110381
688210382(P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、
688310383どのマシンでも dbm が使えるはずだからです。
688410384L<SDBM_File> を参照してください。
688510385
688610386=item No DB::sub routine defined
688710387
688810388=begin original
688910389
689010390(F) The currently executing code was compiled with the B<-d> switch, but
689110391for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::>
689210392module) didn't define a C<DB::sub> routine to be called at the beginning
689310393of each ordinary subroutine call.
689410394
689510395=end original
689610396
689710397(F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、
689810398何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が
689910399各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを
690010400定義していませんでした。
690110401
10402=item No digits found for %s literal
10403
10404=begin original
10405
10406(F) No hexadecimal digits were found following C<0x> or no binary digits
10407were found following C<0b>.
10408
10409=end original
10410
10411(F) C<0x> に 16 進数が引き続かなかったり C<0b> に 2 進数が
10412引き続かなかったりしました。
10413
10414=item No directory specified for -I
10415
10416=begin original
10417
10418(F) The B<-I> command-line switch requires a directory name as part of the
10419I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work.
10420
10421=end original
10422
10423(F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が
10424必要です。
10425例えば、B<-Ilib> としてください。
10426B<-I lib> は動作しません。
10427
690210428=item No error file after 2> or 2>> on command line
690310429
690410430=begin original
690510431
690610432(F) An error peculiar to VMS. Perl handles its own command line
690710433redirection, and found a '2>' or a '2>>' on the command line, but can't
690810434find the name of the file to which to write data destined for stderr.
690910435
691010436=end original
691110437
691210438(F) VMS に固有のエラーです。
691310439Perl は独自にコマンドラインのリダイレクトを扱っていて、
691410440コマンドラインに '2>' や '2>>' を発見しましたが、
691510441標準エラーとしてデータを書き込むファイル名が見つかりませんでした。
691610442
691710443=item No group ending character '%c' found in template
691810444
691910445=begin original
692010446
692110447(F) A pack or unpack template has an opening '(' or '[' without its
6922matching counterpart. See L<perlfunc/pack>.
10448matching counterpart. See L<perlfunc/pack>.
692310449
692410450=end original
692510451
692610452(F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、
692710453対応する閉じかっこがありません。
692810454L<perlfunc/pack> を参照してください。
692910455
693010456=item No input file after < on command line
693110457
693210458=begin original
693310459
693410460(F) An error peculiar to VMS. Perl handles its own command line
693510461redirection, and found a '<' on the command line, but can't find the
693610462name of the file from which to read data for stdin.
693710463
693810464=end original
693910465
694010466(F) VMS に固有のエラーです。
694110467Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに
694210468'<' を発見しましたが、標準入力として読み込むためのファイル名が
694310469見つかりませんでした。
694410470
694510471=item No next::method '%s' found for %s
694610472
694710473=begin original
694810474
694910475(F) C<next::method> found no further instances of this method name
695010476in the remaining packages of the MRO of this class. If you don't want
695110477it throwing an exception, use C<maybe::next::method>
6952or C<next::can>. See L<mro>.
10478or C<next::can>. See L<mro>.
695310479
695410480=end original
695510481
695610482(F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この
6957メソッド名のインスタンスがもうありません。
10483メソッド名の実体がもうありません。
695810484もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を
695910485使ってください。
696010486L<mro> を参照してください。
696110487
10488=item Non-finite repeat count does nothing
10489
10490=begin original
10491
10492(W numeric) You tried to execute the
10493L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or
10494C<-Inf>) or C<NaN> times, which doesn't make sense.
10495
10496=end original
10497
10498(W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を
10499C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました;
10500これは意味がありません。
10501
10502=item Non-hex character in regex; marked by S<<-- HERE> in m/%s/
10503
10504=begin original
10505
10506(F) In a regular expression, there was a non-hexadecimal character where
10507a hex one was expected, like
10508
10509=end original
10510
10511(F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました
10512
10513 (?[ [ \xDG ] ])
10514 (?[ [ \x{DEKA} ] ])
10515
10516=item Non-hex character '%c' terminates \x early. Resolved as "%s"
10517
10518=begin original
10519
10520(W digit) In parsing a hexadecimal numeric constant, a character was
10521unexpectedly encountered that isn't hexadecimal. The resulting value
10522is as indicated.
10523
10524=end original
10525
10526(W digit) 16 進数定数をパースするときに、16 進数でない文字に
10527想定外に遭遇しました。
10528結果の値は示している通りになります。
10529
10530=begin original
10531
10532Note that, within braces, every character starting with the first
10533non-hexadecimal up to the ending brace is ignored.
10534
10535=end original
10536
10537中かっこの中では、最初に現れた非 16 進数文字から中かっこの終わりまでは
10538無視されることに注意してください。
10539
10540=item Non-octal character in regex; marked by S<<-- HERE> in m/%s/
10541
10542=begin original
10543
10544(F) In a regular expression, there was a non-octal character where
10545an octal one was expected, like
10546
10547=end original
10548
10549(F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました
10550
10551 (?[ [ \o{1278} ] ])
10552
10553=item Non-octal character '%c' terminates \o early. Resolved as "%s"
10554
10555=begin original
10556
10557(W digit) In parsing an octal numeric constant, a character was
10558unexpectedly encountered that isn't octal. The resulting value
10559is as indicated.
10560
10561=end original
10562
10563(W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。
10564結果の値は示している通りになります。
10565
10566=begin original
10567
10568When not using C<\o{...}>, you wrote something like C<\08>, or C<\179>
10569in a double-quotish string. The resolution is as indicated, with all
10570but the last digit treated as a single character, specified in octal.
10571The last digit is the next character in the string. To tell Perl that
10572this is indeed what you want, you can use the C<\o{ }> syntax, or use
10573exactly three digits to specify the octal for the character.
10574
10575=end original
10576
10577When not using
10578C<\o{...}> を使っていないときに、C<\08> のようなものか、
10579あるいはダブルクォート風文字列の中で C<\179> のようなものを書きました。
10580結果は示している通りになり、最後以外の数字は 8 進数で指定された
10581単一の文字として扱われます。
10582最後の数字は文字列中の次の文字です。
10583これが確かに望んだものであることを Perl に伝えるには、
10584C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために
10585正確に 3 文字の数字を使ってください。
10586
10587=begin original
10588
10589Note that, within braces, every character starting with the first
10590non-octal up to the ending brace is ignored.
10591
10592=end original
10593
10594中かっこの中では、最初に現れた非 8 進数文字から中かっこの終わりまでは
10595無視されることに注意してください。
10596
696210597=item "no" not allowed in expression
696310598
696410599=begin original
696510600
696610601(F) The "no" keyword is recognized and executed at compile time, and
696710602returns no useful value. See L<perlmod>.
696810603
696910604=end original
697010605
697110606(F) "no" キーワードは、コンパイル時に認識され、実行されるもので、
697210607意味のある値を返しません。
697310608L<perlmod> を参照してください。
697410609
10610=item Non-string passed as bitmask
10611
10612=begin original
10613
10614(W misc) A number has been passed as a bitmask argument to select().
10615Use the vec() function to construct the file descriptor bitmasks for
10616select. See L<perlfunc/select>.
10617
10618=end original
10619
10620(W misc) select() のビットマスク引数として数値が渡されました。
10621select のためのファイル記述子のビットマスクを構成するには、
10622vec() 関数を使ってください。
10623L<perlfunc/select> を参照してください。
10624
697510625=item No output file after > on command line
697610626
697710627=begin original
697810628
697910629(F) An error peculiar to VMS. Perl handles its own command line
698010630redirection, and found a lone '>' at the end of the command line, so it
698110631doesn't know where you wanted to redirect stdout.
698210632
698310633=end original
698410634
698510635(F) VMS に固有のエラーです。
698610636Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの
698710637最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが
698810638わかりませんでした。
698910639
699010640=item No output file after > or >> on command line
699110641
699210642=begin original
699310643
699410644(F) An error peculiar to VMS. Perl handles its own command line
699510645redirection, and found a '>' or a '>>' on the command line, but can't
699610646find the name of the file to which to write data destined for stdout.
699710647
699810648=end original
699910649
700010650(F) VMS に固有のエラーです。
700110651Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに
700210652'>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が
700310653見つかりませんでした。
700410654
10655=item No package name allowed for subroutine %s in "our"
10656
700510657=item No package name allowed for variable %s in "our"
700610658
700710659=begin original
700810660
7009(F) Fully qualified variable names are not allowed in "our"
10661(F) Fully qualified subroutine and variable names are not allowed in "our"
7010declarations, because that doesn't make much sense under existing
10662declarations, because that doesn't make much sense under existing rules.
7011semantics. Such syntax is reserved for future extensions.
10663Such syntax is reserved for future extensions.
701210664
701310665=end original
701410666
7015(F) 完全修飾変数名は "our" 宣言では使えません;
10667(F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません;
701610668なぜなら現在の動作ではほとんど意味がないからです。
701710669そのような文法は将来の拡張に予約されています。
701810670
701910671=item No Perl script found in input
702010672
702110673=begin original
702210674
702310675(F) You called C<perl -x>, but no line was found in the file beginning
702410676with #! and containing the word "perl".
702510677
702610678=end original
702710679
702810680(F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、
702910681"perl" という語を含む行が見つかりませんでした。
703010682
703110683=item No setregid available
703210684
703310685=begin original
703410686
703510687(F) Configure didn't find anything resembling the setregid() call for
703610688your system.
703710689
703810690=end original
703910691
704010692(F) Configure が、システム上に setregid() のような関数を
704110693見つけられませんでした。
704210694
704310695=item No setreuid available
704410696
704510697=begin original
704610698
704710699(F) Configure didn't find anything resembling the setreuid() call for
704810700your system.
704910701
705010702=end original
705110703
705210704(F) Configure が、システム上に setreuid() のような関数を
705310705見つけられませんでした。
705410706
7055=item No %s specified for -%c
10707=item No such class %s
705610708
705710709=begin original
705810710
7059(F) The indicated command line switch needs a mandatory argument, but
10711(F) You provided a class qualifier in a "my", "our" or "state"
7060you haven't specified one.
10712declaration, but this class doesn't exist at this point in your program.
706110713
706210714=end original
706310715
7064(F) 指されたコマンドラインオプションには引数必須ですが
10716(F) "my", "our", "state" の宣言でクラス修飾子がされましたが、指定さ
7065指定されませんでした
10717クラスは現時点では存在しません。
706610718
706710719=item No such class field "%s" in variable %s of type %s
706810720
706910721=begin original
707010722
7071(F) You tried to access a key from a hash through the indicated typed variable
10723(F) You tried to access a key from a hash through the indicated typed
7072but that key is not allowed by the package of the same type. The indicated
10724variable but that key is not allowed by the package of the same type.
7073package has restricted the set of allowed keys using the L<fields> pragma.
10725The indicated package has restricted the set of allowed keys using the
10726L<fields> pragma.
707410727
707510728=end original
707610729
707710730(F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、
707810731そのキーは同じ型のパッケージによって許可されていません。
707910732示されているパッケージは L<fields> プラグマによって許可されるキーの集合が
708010733制限されています。
708110734
7082=item No such class %s
7083
7084=begin original
7085
7086(F) You provided a class qualifier in a "my", "our" or "state"
7087declaration, but this class doesn't exist at this point in your program.
7088
7089=end original
7090
7091(F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された
7092クラスは現時点では存在しません。
7093
709410735=item No such hook: %s
709510736
709610737=begin original
709710738
709810739(F) You specified a signal hook that was not recognized by Perl.
709910740Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks.
710010741
710110742=end original
710210743
710310744(F) Perl が認識できないシグナルフックを指定しました。
710410745現在のところ、Perl は有効なシグナルフックとして
710510746C<__DIE__> と C<__WARN__> を受け付けます。
710610747
710710748=item No such pipe open
710810749
710910750=begin original
711010751
711110752(P) An error peculiar to VMS. The internal routine my_pclose() tried to
711210753close a pipe which hadn't been opened. This should have been caught
711310754earlier as an attempt to close an unopened filehandle.
711410755
711510756=end original
711610757
711710758(P) VMS に固有のエラーです。
711810759内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。
711910760これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに
712010761捕捉されるべきものです。
712110762
712210763=item No such signal: SIG%s
712310764
712410765=begin original
712510766
712610767(W signal) You specified a signal name as a subscript to %SIG that was
712710768not recognized. Say C<kill -l> in your shell to see the valid signal
712810769names on your system.
712910770
713010771=end original
713110772
713210773(W signal) %SIG の添字として認識できないシグナル名を指定しました。
713310774お使いのシステムで使用可能なシグナル名を調べるには、
713410775シェル上で C<kill -l> などとしてください。
713510776
10777=item No Unicode property value wildcard matches:
10778
10779=begin original
10780
10781(W regexp) You specified a wildcard for a Unicode property value, but
10782there is no property value in the current Unicode release that matches
10783it. Check your spelling.
10784
10785=end original
10786
10787(W regexp) Unicode 特性値にワイルドカードを指定しましたが、
10788現在の Unicode リリースにはそれにマッチングする特性値はありません。
10789綴りを確認してください。
10790
713610791=item Not a CODE reference
713710792
713810793=begin original
713910794
714010795(F) Perl was trying to evaluate a reference to a code value (that is, a
714110796subroutine), but found a reference to something else instead. You can
714210797use the ref() function to find out what kind of ref it really was. See
714310798also L<perlref>.
714410799
714510800=end original
714610801
714710802(F) Perl がコード値 (サブルーチン) へのリファレンスを
714810803評価しようとしましたが、別のものへのリファレンスでした。
714910804実際にどんな種類のリファレンスかを調べるには、ref() 関数を
715010805使うことができます。
715110806L<perlref> も参照してください。
715210807
7153=item Not a format reference
7154
7155=begin original
7156
7157(F) I'm not sure how you managed to generate a reference to an anonymous
7158format, but this indicates you did, and that it didn't exist.
7159
7160=end original
7161
7162(F) どのように無名のフォーマットへのリファレンスを生成したのかは
7163わかりませんが、このメッセージは、それが指定されて、
7164存在しなかったことを示します。
7165
716610808=item Not a GLOB reference
716710809
716810810=begin original
716910811
717010812(F) Perl was trying to evaluate a reference to a "typeglob" (that is, a
717110813symbol table entry that looks like C<*foo>), but found a reference to
717210814something else instead. You can use the ref() function to find out what
717310815kind of ref it really was. See L<perlref>.
717410816
717510817=end original
717610818
717710819(F) Perl が「型グロブ」(これは、C<*foo> のような
717810820シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、
717910821別のものへのリファレンスでした。
718010822実際にどんな種類のリファレンスかを調べるには、ref() 関数を
718110823使うことができます。
718210824L<perlref> を参照してください。
718310825
718410826=item Not a HASH reference
718510827
718610828=begin original
718710829
718810830(F) Perl was trying to evaluate a reference to a hash value, but found a
718910831reference to something else instead. You can use the ref() function to
719010832find out what kind of ref it really was. See L<perlref>.
719110833
719210834=end original
719310835
719410836(F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、
719510837別のものへのリファレンスでした。
719610838実際にどんな種類のリファレンスかを調べるには、ref() 関数を
719710839使うことができます。
719810840L<perlref> を参照してください。
719910841
10842=item '#' not allowed immediately following a sigil in a subroutine signature
10843
10844=begin original
10845
10846(F) In a subroutine signature definition, a comment following a sigil
10847(C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in
10848particular to avoid confusion with the C<$#> variable. For example:
10849
10850=end original
10851
10852(F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く
10853コメントは、特に C<$#> 変数との混乱を避けるために、
10854空白やカンマなどで分ける必要があります。
10855例えば:
10856
10857 # bad
10858 sub f ($# ignore first arg
10859 , $y) {}
10860 # good
10861 sub f ($, # ignore first arg
10862 $y) {}
10863
720010864=item Not an ARRAY reference
720110865
720210866=begin original
720310867
720410868(F) Perl was trying to evaluate a reference to an array value, but found
720510869a reference to something else instead. You can use the ref() function
720610870to find out what kind of ref it really was. See L<perlref>.
720710871
720810872=end original
720910873
721010874(F) Perl が配列値へのリファレンスを評価しようとしましたが、
721110875別のものへのリファレンスでした。
721210876実際にどんな種類のリファレンスかを調べるには、ref() 関数を
721310877使うことができます。
721410878L<perlref> を参照してください。
721510879
7216=item Not an unblessed ARRAY reference
7217
7218=begin original
7219
7220(F) You passed a reference to a blessed array to C<push>, C<shift> or
7221another array function. These only accept unblessed array references
7222or arrays beginning explicitly with C<@>.
7223
7224=end original
7225
7226(F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを
7227渡しました。
7228これらは bless されていない配列リファレンスか明示的に C<@> で始まる
7229配列のみを受け付けます。
7230
723110880=item Not a SCALAR reference
723210881
723310882=begin original
723410883
723510884(F) Perl was trying to evaluate a reference to a scalar value, but found
723610885a reference to something else instead. You can use the ref() function
723710886to find out what kind of ref it really was. See L<perlref>.
723810887
723910888=end original
724010889
724110890(F) Perl がスカラ値へのリファレンスを評価しようとしましたが、
724210891別のものへのリファレンスでした。
724310892実際にどんな種類のリファレンスかを調べるには、ref() 関数を
724410893使うことができます。
724510894L<perlref> を参照してください。
724610895
724710896=item Not a subroutine reference
724810897
724910898=begin original
725010899
725110900(F) Perl was trying to evaluate a reference to a code value (that is, a
725210901subroutine), but found a reference to something else instead. You can
725310902use the ref() function to find out what kind of ref it really was. See
725410903also L<perlref>.
725510904
725610905=end original
725710906
725810907(F) Perl がコード値 (サブルーチン) へのリファレンスを
725910908評価しようとしましたが、別のものへのリファレンスでした。
726010909実際にどんな種類のリファレンスかを調べるには、ref() 関数を
726110910使うことができます。
726210911L<perlref> も参照してください。
726310912
726410913=item Not a subroutine reference in overload table
726510914
726610915=begin original
726710916
726810917(F) An attempt was made to specify an entry in an overloading table that
726910918doesn't somehow point to a valid subroutine. See L<overload>.
727010919
727110920=end original
727210921
727310922(F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを
727410923指定しようとしました。
727510924L<overload> を参照してください。
727610925
727710926=item Not enough arguments for %s
727810927
727910928=begin original
728010929
728110930(F) The function requires more arguments than you specified.
728210931
728310932=end original
728410933
728510934(F) この関数は、指定したよりも多くの引数を必要とします。
728610935
728710936=item Not enough format arguments
728810937
728910938=begin original
729010939
729110940(W syntax) A format specified more picture fields than the next line
729210941supplied. See L<perlform>.
729310942
729410943=end original
729510944
729610945(W syntax) 指定したフォーマットに、次の行で指定したより多くの
729710946ピクチャフィールドがあります。
729810947L<perlform> を参照してください。
729910948
730010949=item %s: not found
730110950
730210951=begin original
730310952
730410953(A) You've accidentally run your script through the Bourne shell instead
730510954of Perl. Check the #! line, or manually feed your script into Perl
730610955yourself.
730710956
730810957=end original
730910958
731010959(A) スクリプトを perl ではなく Bourne shell で実行しようとしました。
7311#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
10960#! 行を確認するか、スクリプトを手動で Perl に渡してください。
731210961
731310962=item no UTC offset information; assuming local time is UTC
731410963
731510964=begin original
731610965
731710966(S) A warning peculiar to VMS. Perl was unable to find the local
731810967timezone offset, so it's assuming that local system time is equivalent
731910968to UTC. If it's not, define the logical name
732010969F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which
732110970need to be added to UTC to get local time.
732210971
732310972=end original
732410973
732510974(S) VMS に固有の警告です。
732610975Perl はローカルタイムゾーンオフセットを見つけることができなかったので、
732710976ローカルシステムタイムは UTC と等価であると仮定します。
732810977もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル
732910978時刻を得るために加える必要がある秒数を定義してください。
733010979
7331=item Non-octal character '%c'. Resolved as "%s"
7332
7333=begin original
7334
7335(W digit) In parsing an octal numeric constant, a character was
7336unexpectedly encountered that isn't octal. The resulting value is as
7337indicated.
7338
7339=end original
7340
7341(W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。
7342結果の値は示された通りになります。
7343
7344=item Non-string passed as bitmask
7345
7346=begin original
7347
7348(W misc) A number has been passed as a bitmask argument to select().
7349Use the vec() function to construct the file descriptor bitmasks for
7350select. See L<perlfunc/select>.
7351
7352=end original
7353
7354(W misc) select() のビットマスク引数として数値が渡されました。
7355select のためのファイル記述子のビットマスクを構成するには、
7356vec() 関数を使ってください。
7357L<perlfunc/select> を参照してください。
7358
7359=item Null filename used
7360
7361=begin original
7362
7363(F) You can't require the null filename, especially because on many
7364machines that means the current directory! See L<perlfunc/require>.
7365
7366=end original
7367
7368(F) 特に、多くのマシンでカレントディレクトリを意味するため、
7369空のファイル名は require できません!
7370L<perlfunc/require> を参照してください。
7371
737210980=item NULL OP IN RUN
737310981
737410982=begin original
737510983
7376(P debugging) Some internal routine called run() with a null opcode
10984(S debugging) Some internal routine called run() with a null opcode
737710985pointer.
737810986
737910987=end original
738010988
7381(P debugging) 内部ルーティンで、ヌル opcode ポインタで run() を
10989(S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を
738210990呼んだものがあります。
738310991
738410992=item Null picture in formline
738510993
738610994=begin original
738710995
738810996(F) The first argument to formline must be a valid format picture
738910997specification. It was found to be empty, which probably means you
739010998supplied it an uninitialized value. See L<perlform>.
739110999
739211000=end original
739311001
739411002(F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ
739511003なりません。
739611004これが空でした; おそらく初期化していない値を指定したのでしょう。
739711005L<perlform> を参照してください。
739811006
7399=item Null realloc
7400
7401=begin original
7402
7403(P) An attempt was made to realloc NULL.
7404
7405=end original
7406
7407(P) realloc NULL を行なおうとしました。
7408
7409=item NULL regexp argument
7410
7411=begin original
7412
7413(P) The internal pattern matching routines blew it big time.
7414
7415=end original
7416
7417(P) 内部パターンマッチルーティンが、大当たりです。
7418
741911007=item NULL regexp parameter
742011008
742111009=begin original
742211010
742311011(P) The internal pattern matching routines are out of their gourd.
742411012
742511013=end original
742611014
742711015(P) 内部パターンマッチルーティンが、狂っています。
742811016
742911017=item Number too long
743011018
743111019=begin original
743211020
743311021(F) Perl limits the representation of decimal numbers in programs to
743411022about 250 characters. You've exceeded that length. Future
743511023versions of Perl are likely to eliminate this arbitrary limitation. In
743611024the meantime, try using scientific notation (e.g. "1e6" instead of
743711025"1_000_000").
743811026
743911027=end original
744011028
744111029Perl はプログラム中での十進数の表現を 250 文字に制限しています。
744211030この制限を越えました。
744311031Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。
744411032それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を
744511033使用してください。
744611034
744711035=item Number with no digits
744811036
744911037=begin original
745011038
745111039(F) Perl was looking for a number but found nothing that looked like
7452a number. This happens, for example with C<\o{}>, with no number between
11040a number. This happens, for example with C<\o{}>, with no number between
745311041the braces.
745411042
745511043=end original
745611044
745711045(F) Perl は数字を探していましたが数字に見えないものが見つかりました。
745811046これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。
745911047
7460=item Octal number in vector unsupported
11048=item Numeric format result too large
746111049
746211050=begin original
746311051
7464(F) Numbers with a leading C<0> are not currently allowed in vectors.
11052(F) The length of the result of a numeric format supplied to sprintf()
7465The octal number interpretation of such numbers may be supported in a
11053or printf() would have been too large for the underlying C function to
7466future version.
11054report. This limit is typically 2GB.
746711055
746811056=end original
746911057
7470頭に C<0> の付いた数値は現在ところベクタとして使えません。
11058(F) sprintf() や printf() に与えられた数値フォーマット結果の長さ
7471よう数値を 8 数と解釈る機能は将来のバージョンで
11059報告するため基礎と C 大きぎました。
7472対応されるしょう
11060この制限は典型的には 2GB
747311061
11062=item Numeric variables with more than one digit may not start with '0'
11063
11064=begin original
11065
11066(F) The only numeric variable which is allowed to start with a 0 is C<$0>,
11067and you mentioned a variable that starts with 0 that has more than one
11068digit. You probably want to remove the leading 0, or if the intent was
11069to express a variable name in octal you should convert to decimal.
11070
11071=end original
11072
11073(F) 0 で始まることが許されている唯一の数値変数は C<$0> で、
110740 で始まり複数桁ある変数に言及しました。
11075おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、
1107610 進数に変換する必要があります。
11077
747411078=item Octal number > 037777777777 non-portable
747511079
747611080=begin original
747711081
747811082(W portable) The octal number you specified is larger than 2**32-1
747911083(4294967295) and therefore non-portable between systems. See
748011084L<perlport> for more on portability concerns.
748111085
748211086=end original
748311087
748411088(W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、
748511089システム間で移植性がありません。
748611090移植性に関するさらなる考察については L<perlport> を参照してください。
748711091
11092=item Odd name/value argument for subroutine '%s'
11093
11094=begin original
11095
11096(F) A subroutine using a slurpy hash parameter in its signature
11097received an odd number of arguments to populate the hash. It requires
11098the arguments to be paired, with the same number of keys as values.
11099The caller of the subroutine is presumably at fault.
11100
11101=end original
11102
11103(F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、
11104ハッシュに展開するために奇数の数の引数を受け取りました。
11105引数は、同じ数のキーと値のペアになっていることが必要です。
11106おそらくサブルーチンの呼び出し元が間違っています。
11107
11108=begin original
11109
11110The message attempts to include the name of the called subroutine. If the
11111subroutine has been aliased, the subroutine's original name will be shown,
11112regardless of what name the caller used.
11113
11114=end original
11115
11116このメッセージは呼び出されたサブルーチン名を含めようとします。
11117サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず
11118サブルーチンの元の名前が表示されます。
11119
748811120=item Odd number of arguments for overload::constant
748911121
749011122=begin original
749111123
749211124(W overload) The call to overload::constant contained an odd number of
7493arguments. The arguments should come in pairs.
11125arguments. The arguments should come in pairs.
749411126
749511127=end original
749611128
749711129(W overload) 奇数の数の引数で overload::constant を呼び出しました。
749811130引数はペアになっている必要があります。
749911131
11132=item Odd number of arguments passed to "%s" constructor
11133
11134=begin original
11135
11136(S) The constructor for the given class was called with an odd
11137number of arguments.
11138
11139=end original
11140
11141(S) 指定されたクラスのコンストラクタが奇数個の引数で呼び出されました。
11142
11143=begin original
11144
11145Class constructors accept named arguments as a list and expect pairs
11146of name followed by value as if you were initialising a hash.
11147
11148=end original
11149
11150クラスコンストラクタは、名前付き引数をリストとして受け入れ、ハッシュを
11151初期化するかのように、名前と値の組を期待します。
11152
750011153=item Odd number of elements in anonymous hash
750111154
750211155=begin original
750311156
750411157(W misc) You specified an odd number of elements to initialize a hash,
750511158which is odd, because hashes come in key/value pairs.
750611159
750711160=end original
750811161
750911162(W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、
751011163key/value のペアで与えられますから、これは奇妙なことです。
751111164
11165=item Odd number of elements in export_lexically
11166
11167=begin original
11168
11169(F) A call to L<builtin/export_lexically> contained an odd number of
11170arguments. This is not permitted, because each name must be paired with a
11171valid reference value.
11172
11173=end original
11174
11175(F) 奇数個の引数で L<builtin/export_lexically> を呼び出しました。
11176それぞれの名前は正当な参照値と組になっていなければならないので、
11177これは許されていません。
11178
751211179=item Odd number of elements in hash assignment
751311180
751411181=begin original
751511182
751611183(W misc) You specified an odd number of elements to initialize a hash,
751711184which is odd, because hashes come in key/value pairs.
751811185
751911186=end original
752011187
752111188(W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、
752211189key/value のペアで与えられますから、これは奇妙なことです。
752311190
11191=item Odd number of elements in hash field initialization
11192
11193=begin original
11194
11195(W misc) You specified an odd number of elements to initialise a hash
11196field of an object. Hashes are initialised from a list of key/value
11197pairs so there must be a corresponding value to every key. The final
11198missing value will be filled in with undef instead.
11199
11200=end original
11201
11202(W misc) オブジェクトのハッシュフィールドを初期化するために、
11203奇数個の要素を指定しました。
11204ハッシュはキー/値の組のリストから初期化されるので、
11205それぞれのキーに対して対応する値がなければなりません。
11206最後の欠けた値は代わりに undef で埋められます。
11207
752411208=item Offset outside string
752511209
752611210=begin original
752711211
7528(F|W layer) You tried to do a read/write/send/recv/seek operation
11212(W layer) You tried to do a read/write/send/recv/seek operation
752911213with an offset pointing outside the buffer. This is difficult to
753011214imagine. The sole exceptions to this are that zero padding will
753111215take place when going past the end of the string when either
753211216C<sysread()>ing a file, or when seeking past the end of a scalar opened
7533for I/O (in anticipation of future reads and to imitate the behaviour
11217for I/O (in anticipation of future reads and to imitate the behavior
753411218with real files).
753511219
753611220=end original
753711221
7538(F, W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を
11222(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を
753911223しようとしました。
754011224これは想像しにくいことです。
754111225唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、
754211226(将来の読み込みと実際のファイルの振る舞いを模倣することを期待して)
754311227I/O のためにオープンされているスカラの最後を越えてシークしたときに、
7544112280 でパッディングされたときです。
754511229
11230=item Old package separator "'" deprecated
11231
11232=begin original
11233
11234(D deprecated::apostrophe_as_package_separator, syntax) You used the old package
11235separator "'" in a variable, subroutine or package name. Support for the
11236old package separator will be removed in Perl 5.42.
11237
11238=end original
11239
11240(D deprecated::apostrophe_as_package_separator, syntax)
11241変数、サブルーチン、パッケージ名に古いパッケージ区切り文字 "'" を使いました。
11242古いパッケージ区切り文字対応は Perl 5.42 で削除される予定です。
11243
11244=item Old package separator used in string
11245
11246=begin original
11247
11248(D deprecated::apostrophe_as_package_separator, syntax) You used the old package
11249separator, "'", in a variable named inside a double-quoted string; e.g.,
11250C<"In $name's house">. This is equivalent to C<"In $name::s house">. If
11251you meant the former, put a backslash before the apostrophe
11252(C<"In $name\'s house">).
11253
11254=end original
11255
11256(D deprecated::apostrophe_as_package_separator, syntax)
11257ダブルクォートされた文字列の中の変数名で、C<"In $name's house"> のように、
11258古いパッケージ区切り文字である "'" を使いました。
11259これは C<"In $name::s house"> と等価です。
11260前者の意味なら、アポストロフィの前に逆スラッシュを置いてください
11261(C<"In $name\'s house">)。
11262
11263=begin original
11264
11265Support for the old package separator will be removed in Perl 5.42.
11266
11267=end original
11268
11269古いパッケージ区切り文字の対応は Perl 5.42 に削除される予定です。
11270
11271=item Only scalar fields can take a :param attribute
11272
11273=begin original
11274
11275(F) You tried to apply the C<:param> attribute to an array or hash field.
11276Currently this is not permitted.
11277
11278=end original
11279
11280(F) 配列またはハッシュフィールドに C<:param> 属性を適用しようとしました。
11281現在のところこれは許されていません。
11282
754611283=item %s() on unopened %s
754711284
754811285=begin original
754911286
755011287(W unopened) An I/O operation was attempted on a filehandle that was
755111288never initialized. You need to do an open(), a sysopen(), or a socket()
755211289call, or call a constructor from the FileHandle package.
755311290
755411291=end original
755511292
755611293(W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。
755711294open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの
755811295コンストラクタを呼び出す必要があります。
755911296
756011297=item -%s on unopened filehandle %s
756111298
756211299=begin original
756311300
756411301(W unopened) You tried to invoke a file test operator on a filehandle
756511302that isn't open. Check your control flow. See also L<perlfunc/-X>.
756611303
756711304=end original
756811305
756911306(W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を
757011307使おうとしました。
757111308制御フローをチェックしてください。
757211309L<perlfunc/-X> も参照してください。
757311310
757411311=item oops: oopsAV
757511312
757611313=begin original
757711314
757811315(S internal) An internal warning that the grammar is screwed up.
757911316
758011317=end original
758111318
758211319(S internal) 文法がおかしくなったことを示す内部警告です。
758311320
758411321=item oops: oopsHV
758511322
758611323=begin original
758711324
758811325(S internal) An internal warning that the grammar is screwed up.
758911326
759011327=end original
759111328
759211329(S internal) 文法がおかしくなったことを示す内部警告です。
759311330
7594=item Opening dirhandle %s also as a file
11331=item Operand with no preceding operator in regex; marked by S<<-- HERE> in
11332m/%s/
759511333
759611334=begin original
759711335
7598(W io, deprecated) You used open() to associate a filehandle to
11336(F) You wrote something like
7599a symbol (glob or scalar) that already holds a dirhandle.
7600Although legal, this idiom might render your code confusing
7601and is deprecated.
760211337
760311338=end original
760411339
7605(W io deprecated) open() で、既にディレクトリハンドル保持ているシンボル
11340(F) 次のようなもの書きまた:
7606(グロブまたはスカラ)にファイルハンドルを関連付けようとしました。
7607これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
7608あるので非推奨です。
760911341
7610=item Opening filehandle %s also as a directory
11342 (?[ \p{Digit} \p{Thai} ])
761111343
761211344=begin original
761311345
7614(W io, deprecated) You used opendir() to associate a dirhandle to
11346There are two operands, but no operator giving how you want to combine
7615a symbol (glob or scalar) that already holds a filehandle.
11347them.
7616Although legal, this idiom might render your code confusing
7617and is deprecated.
761811348
761911349=end original
762011350
7621(W io deprecated) すでにファイルハンド保持しているシンボル
11351二つのオペランドがありますが、それどのように結びつけたかを指定す
7622(グロブたはスカラ)にディレクトリハンドルを関連付けるために
11352演算子がありせん。
7623opendir() を使いました。
7624これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
7625あるので非推奨です。
762611353
762711354=item Operation "%s": no method found, %s
762811355
762911356=begin original
763011357
763111358(F) An attempt was made to perform an overloaded operation for which no
763211359handler was defined. While some handlers can be autogenerated in terms
763311360of other handlers, there is no default handler for any operation, unless
763411361the C<fallback> overloading key is specified to be true. See L<overload>.
763511362
763611363=end original
763711364
763811365(F) ハンドラが定義されていないオーバーロード操作が行われました。
763911366一部のハンドラは他のハンドラから自動生成されますが、C<fallback>
764011367オーバーロードキーが真に指定されていない限り、どの動作にも
764111368デフォルトのハンドラはありません。
764211369L<overload> を参照してください。
764311370
764411371=item Operation "%s" returns its argument for non-Unicode code point 0x%X
764511372
764611373=begin original
764711374
7648(W utf8, non_unicode) You performed an operation requiring Unicode
11375(S non_unicode) You performed an operation requiring Unicode rules
7649semantics on a code
11376on a code point that is not in Unicode, so what it should do is not
7650point that is not in Unicode, so what it should do is not defined. Perl
11377defined. Perl has chosen to have it do nothing, and warn you.
7651has chosen to have it do nothing, and warn you.
765211378
765311379=end original
765411380
7655(W utf8, non_unicode) Unicode ではない符号位置に対して、Unicode の意味論
11381(S non_unicode) Unicode ではない符号位置に対して、Unicode の規則
765611382必要な操作を実行しました; 何をするべきかは未定義です。
765711383Perl は何もしないことを選択し、警告を出します。
765811384
765911385=begin original
766011386
766111387If the operation shown is "ToFold", it means that case-insensitive
766211388matching in a regular expression was done on the code point.
766311389
766411390=end original
766511391
766611392示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが
766711393その符号位置に対して行われたということです。
766811394
766911395=begin original
767011396
767111397If you know what you are doing you can turn off this warning by
767211398C<no warnings 'non_unicode';>.
767311399
767411400=end original
767511401
767611402自分で何をしているのかが分かっているなら、
767711403C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。
767811404
767911405=item Operation "%s" returns its argument for UTF-16 surrogate U+%X
768011406
768111407=begin original
768211408
7683(W utf8, surrogate) You performed an operation requiring Unicode
11409(S surrogate) You performed an operation requiring Unicode
7684semantics on a Unicode
11410rules on a Unicode surrogate. Unicode frowns upon the use
7685surrogate. Unicode frowns upon the use of surrogates for anything but
11411of surrogates for anything but storing strings in UTF-16, but
7686storing strings in UTF-16, but semantics are (reluctantly) defined for
11412rules are (reluctantly) defined for the surrogates, and
7687the surrogates, and they are to do nothing for this operation. Because
11413they are to do nothing for this operation. Because the use of
7688the use of surrogates can be dangerous, Perl warns.
11414surrogates can be dangerous, Perl warns.
768911415
769011416=end original
769111417
7692(W utf8, surrogate) Unicode サロゲートに対して Unicode の意味論が必要な
11418(S surrogate) Unicode サロゲートに対して Unicode の規則が必要な
769311419操作を実行しました。
769411420Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに
7695難色を示しますが、意味論は(渋々)サロゲートのために定義されていて、それは
11421難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは
769611422この操作に対して何もしないことです。
769711423サロゲートの使用は危険かも知れないので、Perl は警告します。
769811424
769911425=begin original
770011426
770111427If the operation shown is "ToFold", it means that case-insensitive
770211428matching in a regular expression was done on the code point.
770311429
770411430=end original
770511431
770611432示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが
770711433その符号位置に対して行われたということです。
770811434
770911435=begin original
771011436
771111437If you know what you are doing you can turn off this warning by
771211438C<no warnings 'surrogate';>.
771311439
771411440=end original
771511441
771611442自分で何をしているのかが分かっているなら、
771711443C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
771811444
771911445=item Operator or semicolon missing before %s
772011446
772111447=begin original
772211448
772311449(S ambiguous) You used a variable or subroutine call where the parser
772411450was expecting an operator. The parser has assumed you really meant to
772511451use an operator, but this is highly likely to be incorrect. For
772611452example, if you say "*foo *foo" it will be interpreted as if you said
772711453"*foo * 'foo'".
772811454
772911455=end original
773011456
773111457(S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン
773211458呼び出しが使われました。
773311459パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、
773411460これは大抵正しくありません。
773511461例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。
773611462
11463=item Optional parameter lacks default expression
11464
11465=begin original
11466
11467(F) In a subroutine signature, you wrote something like "$x =", making a
11468named optional parameter without a default value. A nameless optional
11469parameter is permitted to have no default value, but a named one must
11470have a specific default. You probably want "$x = undef".
11471
11472=end original
11473
11474(F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き
11475オプション引数を書きました。
11476無名オプション引数はデフォルト値を持たないことを許されていますが、
11477名前付きのものはデフォルトを指定しなければなりません。
11478おそらく "$x = undef" としたかったのでしょう。
11479
773711480=item "our" variable %s redeclared
773811481
773911482=begin original
774011483
7741(W misc) You seem to have already declared the same global once before
11484(W shadow) You seem to have already declared the same global once before
774211485in the current lexical scope.
774311486
774411487=end original
774511488
7746(W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を
11489(W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を
774711490宣言しているようです。
774811491
774911492=item Out of memory!
775011493
775111494=begin original
775211495
775311496(X) The malloc() function returned 0, indicating there was insufficient
775411497remaining memory (or virtual memory) to satisfy the request. Perl has
775511498no option but to exit immediately.
775611499
775711500=end original
775811501
775911502(X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が
776011503取得できないことを示す、0 を malloc() 関数が返しました。
776111504Perl は直ちに終了するしかありませんでした。
776211505
776311506=begin original
776411507
776511508At least in Unix you may be able to get past this by increasing your
776611509process datasize limits: in csh/tcsh use C<limit> and
776711510C<limit datasize n> (where C<n> is the number of kilobytes) to check
776811511the current limits and change them, and in ksh/bash/zsh use C<ulimit -a>
776911512and C<ulimit -d n>, respectively.
777011513
777111514=end original
777211515
777311516少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって
777411517これを回避することが可能です:
777511518csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには
777611519C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください;
777711520ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。
777811521
777911522=item Out of memory during %s extend
778011523
778111524=begin original
778211525
778311526(X) An attempt was made to extend an array, a list, or a string beyond
778411527the largest possible memory allocation.
778511528
778611529=end original
778711530
778811531(X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。
778911532
779011533=item Out of memory during "large" request for %s
779111534
779211535=begin original
779311536
779411537(F) The malloc() function returned 0, indicating there was insufficient
7795remaining memory (or virtual memory) to satisfy the request. However,
11538remaining memory (or virtual memory) to satisfy the request. However,
779611539the request was judged large enough (compile-time default is 64K), so a
779711540possibility to shut down by trapping this error is granted.
779811541
779911542=end original
780011543
780111544(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ
780211545(または仮想メモリ)が不十分であることを示しています。
780311546しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、
780411547このエラーをトラップすることでシャットダウンできる可能性があります。
780511548
780611549=item Out of memory during request for %s
780711550
780811551=begin original
780911552
7810(X|F) The malloc() function returned 0, indicating there was
11553(X)(F) The malloc() function returned 0, indicating there was
781111554insufficient remaining memory (or virtual memory) to satisfy the
781211555request.
781311556
781411557=end original
781511558
7816(X|F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ
11559(X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ
781711560(または仮想メモリ)が不十分であることを示しています。
781811561
781911562=begin original
782011563
782111564The request was judged to be small, so the possibility to trap it
782211565depends on the way perl was compiled. By default it is not trappable.
782311566However, if compiled for this, Perl may use the contents of C<$^M> as an
782411567emergency pool after die()ing with this message. In this case the error
782511568is trappable I<once>, and the error message will include the line and file
782611569where the failed request happened.
782711570
782811571=end original
782911572
783011573要求は小さいものと判定されたので、これをトラップできる確率は perl が
783111574どのようにコンパイルされたかに依存します。
783211575デフォルトではこれはトラップできません。
783311576しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に
783411577die() した後の非常用エリアとして C<$^M> の内容を使います。
783511578この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した
783611579要求が起きたファイルと行番号を含んでいます。
783711580
783811581=item Out of memory during ridiculously large request
783911582
784011583=begin original
784111584
784211585(F) You can't allocate more than 2^31+"small amount" bytes. This error
784311586is most likely to be caused by a typo in the Perl program. e.g.,
784411587C<$arr[time]> instead of C<$arr[$time]>.
784511588
784611589=end original
784711590
784811591(F) 2^31+「少量」バイト以上割り当てることはできません。
784911592このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。
785011593例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。
785111594
11595=item Out of memory during vec in lvalue context
11596
11597=begin original
11598
11599(F) An attempt was made to extend a string beyond the largest possible memory
11600allocation by assigning to C<vec()> called with a large second argument.
11601
11602=end original
11603
11604(F) 大きな 2 番目の引数で呼び出された C<vec()> に代入することによって、
11605可能な最大のメモリ割り当てを超えて文字列を拡張しようとしました。
11606
785211607=item Out of memory for yacc stack
785311608
785411609=begin original
785511610
785611611(F) The yacc parser wanted to grow its stack so it could continue
785711612parsing, but realloc() wouldn't give it more memory, virtual or
785811613otherwise.
785911614
786011615=end original
786111616
786211617(F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、
786311618realloc() が仮想やその他のメモリを確保できませんでした。
786411619
11620=item Out of memory in perl:%s
11621
11622=begin original
11623
11624(X) A low-level memory allocation routine failed, indicating there was
11625insufficient remaining (virtual) memory to satisfy the request. Perl has no
11626option but to exit immediately.
11627
11628=end original
11629
11630(X) 低レベルのメモリ割り当てルーチンが失敗しました;
11631これは、要求を満たすのに十分な(仮想)メモリが残っていないことを
11632示しています。
11633Perl には、すぐに終了する以外の選択肢はありません。
11634
11635=begin original
11636
11637At least in Unix you may be able to get past this by increasing your process
11638datasize limits: in csh/tcsh use C<limit> and C<limit datasize n> (where C<n>
11639is the number of kilobytes) to check the current limits and change them, and in
11640ksh/bash/zsh use C<ulimit -a> and C<ulimit -d n>, respectively.
11641
11642=end original
11643
11644少なくとも Unix では、プロセスのデータサイズの制限を増やすことでこの問題を
11645解決できるかもしれません:
11646csh/tcsh では現在の制限のチェックと変更に C<limit> と C<limit datasize n>
11647(C<n> はキロバイト数)を使い、ksh/bash/zshではそれぞれC<ulimit -a> と
11648C<ulimit -d n> を使います。
11649
786511650=item '.' outside of string in pack
786611651
786711652=begin original
786811653
786911654(F) The argument to a '.' in your template tried to move the working
787011655position to before the start of the packed string being built.
787111656
787211657=end original
787311658
787411659(F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも
787511660前に作業位置を移動しようとしました。
787611661
787711662=item '@' outside of string in unpack
787811663
787911664=begin original
788011665
788111666(F) You had a template that specified an absolute position outside
788211667the string being unpacked. See L<perlfunc/pack>.
788311668
788411669=end original
788511670
788611671(F) unpack される文字列の外に絶対位置指定している、
788711672テンプレートを指定しました。
788811673L<perlfunc/pack> を参照してください。
788911674
789011675=item '@' outside of string with malformed UTF-8 in unpack
789111676
789211677=begin original
789311678
789411679(F) You had a template that specified an absolute position outside
7895the string being unpacked. The string being unpacked was also invalid
11680the string being unpacked. The string being unpacked was also invalid
7896UTF-8. See L<perlfunc/pack>.
11681UTF-8. See L<perlfunc/pack>.
789711682
789811683=end original
789911684
790011685(F) unpack される文字列の外に絶対位置指定している、
790111686テンプレートを指定しました。
790211687unpack された文字列は不正な UTF-8 でもあります。
790311688L<perlfunc/pack> を参照してください。
790411689
11690=item overload arg '%s' is invalid
11691
11692=begin original
11693
11694(W overload) The L<overload> pragma was passed an argument it did not
11695recognize. Did you mistype an operator?
11696
11697=end original
11698
11699(W overload) L<overload> プラグマに、認識できない引数が渡されました。
11700演算子をタイプミスしましたか?
11701
790511702=item Overloaded dereference did not return a reference
790611703
790711704=begin original
790811705
790911706(F) An object with an overloaded dereference operator was dereferenced,
7910but the overloaded operation did not return a reference. See
11707but the overloaded operation did not return a reference. See
791111708L<overload>.
791211709
791311710=end original
791411711
791511712(F) オーバーロードされたデリファレンス演算子のオブジェクトが
791611713デリファレンスされましたが、オーバーロード演算がリファレンスを
791711714返しませんでした。
791811715L<overload> を参照してください。
791911716
792011717=item Overloaded qr did not return a REGEXP
792111718
792211719=begin original
792311720
792411721(F) An object with a C<qr> overload was used as part of a match, but the
7925overloaded operation didn't return a compiled regexp. See L<overload>.
11722overloaded operation didn't return a compiled regexp. See L<overload>.
792611723
792711724=end original
792811725
792911726(F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として
793011727使われましたが、オーバーロード演算がコンパイルされた正規表現を
793111728返しませんでした。
793211729L<overload> を参照してください。
793311730
793411731=item %s package attribute may clash with future reserved word: %s
793511732
793611733=begin original
793711734
793811735(W reserved) A lowercase attribute name was used that had a
793911736package-specific handler. That name might have a meaning to Perl itself
794011737some day, even though it doesn't yet. Perhaps you should use a
794111738mixed-case attribute name, instead. See L<attributes>.
794211739
794311740=end original
794411741
794511742(W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。
794611743この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。
794711744おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。
794811745L<attributes> を参照してください。
794911746
795011747=item pack/unpack repeat count overflow
795111748
795211749=begin original
795311750
795411751(F) You can't specify a repeat count so large that it overflows your
795511752signed integers. See L<perlfunc/pack>.
795611753
795711754=end original
795811755
795911756(F) 繰り返し回数として符号付き整数をオーバーフローするような
796011757値は指定できません。
796111758L<perlfunc/pack> を参照してください。
796211759
796311760=item page overflow
796411761
796511762=begin original
796611763
796711764(W io) A single call to write() produced more lines than can fit on a
796811765page. See L<perlform>.
796911766
797011767=end original
797111768
797211769(W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が
797311770できました。
797411771L<perlform> を参照してください。
797511772
797611773=item panic: %s
797711774
797811775=begin original
797911776
798011777(P) An internal error.
798111778
798211779=end original
798311780
798411781(P) 内部エラーです。
798511782
798611783=item panic: attempt to call %s in %s
798711784
798811785=begin original
798911786
799011787(P) One of the file test operators entered a code branch that calls
799111788an ACL related-function, but that function is not available on this
799211789platform. Earlier checks mean that it should not be possible to
799311790enter this branch on this platform.
799411791
799511792=end original
799611793
799711794(P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に
799811795入りましたが、この関数はこのプラットフォームでは利用できません。
799911796より早いチェックは、このプラットフォームのこの分岐に入ることがないように
800011797するべきことを意味します。
800111798
8002=item panic: ck_grep
11799=item panic: child pseudo-process was never scheduled
800311800
800411801=begin original
800511802
8006(P) Failed an internal consistency check trying to compile a grep.
11803(P) A child pseudo-process in the ithreads implementation on Windows
11804was not scheduled within the time period allowed and therefore was not
11805able to initialize properly.
800711806
800811807=end original
800911808
8010(P) grep をコンパイルしようとして、内部一貫性チェ
11809(P) Windowsでiスレド実装の子疑似プロセスが許された時間間隔の間
8011かりました
11810スケジューリングされなかたので、適切に初期化されなった可能性がありま
801211811
8013=item panic: ck_split
11812=item panic: ck_grep, type=%u
801411813
801511814=begin original
801611815
8017(P) Failed an internal consistency check trying to compile a split.
11816(P) Failed an internal consistency check trying to compile a grep.
801811817
801911818=end original
802011819
8021(P) split をコンパイルしようとして、内部の一貫性チェックに
11820(P) grep をコンパイルしようとして、内部の一貫性チェックに
802211821引っ掛かりました。
802311822
8024=item panic: corrupt saved stack index
11823=item panic: corrupt saved stack index %ld
802511824
802611825=begin original
802711826
802811827(P) The savestack was requested to restore more localized values than
802911828there are in the savestack.
803011829
803111830=end original
803211831
803311832(P) セーブスタックにある以上のローカル化した値を元に戻す
803411833要求がありました。
803511834
803611835=item panic: del_backref
803711836
803811837=begin original
803911838
804011839(P) Failed an internal consistency check while trying to reset a weak
804111840reference.
804211841
804311842=end original
804411843
804511844(P) 弱いリファレンスをリセットしようとしたときに内部の
804611845一貫性チェックに引っ掛かりました。
804711846
8048=item panic: Devel::DProf inconsistent subroutine return
8049
8050=begin original
8051
8052(P) Devel::DProf called a subroutine that exited using goto(LABEL),
8053last(LABEL) or next(LABEL). Leaving that way a subroutine called from
8054an XSUB will lead very probably to a crash of the interpreter. This is
8055a bug that will hopefully one day get fixed.
8056
8057=end original
8058
8059(P) Devel::DProf が goto(LABEL), last(LABEL), next(LABEL) を使って
8060終了したサブルーチンを呼び出しました。
8061XSUB から呼び出されたサブルーチンをこのような方法で離れると、
8062インタプリタをクラッシュさせる可能性がとても高いです。
8063これはいつか修正されてほしいバグです。
8064
8065=item panic: die %s
8066
8067=begin original
8068
8069(P) We popped the context stack to an eval context, and then discovered
8070it wasn't an eval context.
8071
8072=end original
8073
8074(P) eval コンテキストへコンテキストスタックをポップしたあと、
8075eval コンテキストでないことがわかりました。
8076
8077=item panic: do_subst
8078
8079=begin original
8080
8081(P) The internal pp_subst() routine was called with invalid operational
8082data.
8083
8084=end original
8085
8086(P) 内部の pp_subst() ルーティンが、無効な省略可能データを
8087付けて呼ばれました。
8088
8089=item panic: do_trans_%s
8090
8091=begin original
8092
8093(P) The internal do_trans routines were called with invalid operational
8094data.
8095
8096=end original
8097
8098(P) 内部の pp_trans ルーティンが、無効な省略可能データを
8099付けて呼ばれました。
8100
810111847=item panic: fold_constants JMPENV_PUSH returned %d
810211848
810311849=begin original
810411850
810511851(P) While attempting folding constants an exception other than an C<eval>
810611852failure was caught.
810711853
810811854=end original
810911855
811011856(P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。
811111857
8112=item panic: frexp
11858=item panic: frexp: %f
811311859
811411860=begin original
811511861
811611862(P) The library function frexp() failed, making printf("%f") impossible.
811711863
811811864=end original
811911865
812011866(P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。
812111867
8122=item panic: goto
11868=item panic: goto, type=%u, ix=%ld
812311869
812411870=begin original
812511871
812611872(P) We popped the context stack to a context with the specified label,
812711873and then discovered it wasn't a context we know how to do a goto in.
812811874
812911875=end original
813011876
813111877(P) 指定したラベルを伴うコンテキストへコンテキストスタックを
813211878ポップしたあと、どのように goto するかがわかっている
813311879コンテキストでないことがわかりました。
813411880
813511881=item panic: gp_free failed to free glob pointer
813611882
813711883=begin original
813811884
813911885(P) The internal routine used to clear a typeglob's entries tried
8140repeatedly, but each time something re-created entries in the glob. Most
11886repeatedly, but each time something re-created entries in the glob.
8141likely the glob contains an object with a reference back to the glob and a
11887Most likely the glob contains an object with a reference back to
8142destructor that adds a new object to the glob.
11888the glob and a destructor that adds a new object to the glob.
814311889
814411890=end original
814511891
814611892(P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回
814711893試しましたが、毎回何かがグロブにエントリを再作成しました。
814811894おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを
814911895追加するデストラクタを持つオブジェクトが含まれています。
815011896
8151=item panic: hfreeentries failed to free hash
11897=item panic: INTERPCASEMOD, %s
815211898
815311899=begin original
815411900
8155(P) The internal routine used to clear a hash's entries tried repeatedly,
8156but each time something added more entries to the hash. Most likely the hash
8157contains an object with a reference back to the hash and a destructor that
8158adds a new object to the hash.
8159
8160=end original
8161
8162(P) ハッシュ要素をクリアするための内部ルーチンが何度か実行されましたが、
8163実行される毎に何かがハッシュに要素を追加しました。
8164最もありそうなのは、ハッシュが、そのハッシュへのリファレンスがある
8165オブジェクトと、ハッシュへの新しいオブジェクトを追加するデストラクタを
8166含む場合です。
8167
8168=item panic: INTERPCASEMOD
8169
8170=begin original
8171
817211901(P) The lexer got into a bad state at a case modifier.
817311902
817411903=end original
817511904
817611905(P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。
817711906
8178=item panic: INTERPCONCAT
11907=item panic: INTERPCONCAT, %s
817911908
818011909=begin original
818111910
818211911(P) The lexer got into a bad state parsing a string with brackets.
818311912
818411913=end original
818511914
818611915(P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。
818711916
818811917=item panic: kid popen errno read
818911918
819011919=begin original
819111920
8192(F) forked child returned an incomprehensible message about its errno.
11921(F) A forked child returned an incomprehensible message about its errno.
819311922
819411923=end original
819511924
819611925(F) fork した子プロセスが errno に関して不完全なメッセージを返しました。
819711926
8198=item panic: last
11927=item panic: leave_scope inconsistency %u
819911928
820011929=begin original
820111930
8202(P) We popped the context stack to a block context, and then discovered
8203it wasn't a block context.
8204
8205=end original
8206
8207(P) block コンテキストへコンテキストスタックをポップしたあと、
8208block コンテキストでないことがわかりました。
8209
8210=item panic: leave_scope clearsv
8211
8212=begin original
8213
8214(P) A writable lexical variable became read-only somehow within the
8215scope.
8216
8217=end original
8218
8219(P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で
8220リードオンリーになりました。
8221
8222=item panic: leave_scope inconsistency
8223
8224=begin original
8225
822611931(P) The savestack probably got out of sync. At least, there was an
822711932invalid enum on the top of it.
822811933
822911934=end original
823011935
823111936(P) おそらく、セーブスタックの同期がとれていません。
823211937少なくとも、トップに不正な enum がありました。
823311938
823411939=item panic: magic_killbackrefs
823511940
823611941=begin original
823711942
823811943(P) Failed an internal consistency check while trying to reset all weak
823911944references to an object.
824011945
824111946=end original
824211947
824311948(P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の
824411949一貫性チェックに引っ掛かりました。
824511950
8246=item panic: malloc
11951=item panic: malloc, %s
824711952
824811953=begin original
824911954
825011955(P) Something requested a negative number of bytes of malloc.
825111956
825211957=end original
825311958
825411959(P) malloc に負のバイト数で要求が行なわれました。
825511960
825611961=item panic: memory wrap
825711962
825811963=begin original
825911964
8260(P) Something tried to allocate more memory than possible.
11965(P) Something tried to allocate either more memory than possible or a
11966negative amount.
826111967
826211968=end original
826311969
8264(P) 何かが、確保可能な量を超えるメモリを確保しようとしました。
11970(P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。
826511971
8266=item panic: pad_alloc
11972=item panic: newFORLOOP, %s
826711973
826811974=begin original
826911975
11976(P) The parser failed an internal consistency check while trying to parse
11977a C<foreach> loop.
11978
11979=end original
11980
11981(P) The parser failed an internal consistency check while trying to parse
11982a
11983パーサは、C<foreach> ループをパースしようとするときに、内部の
11984一貫性チェックに失敗しました。
11985
11986=item panic: pad_alloc, %p!=%p
11987
11988=begin original
11989
827011990(P) The compiler got confused about which scratch pad it was allocating
827111991and freeing temporaries and lexicals from.
827211992
827311993=end original
827411994
827511995(P) コンパイラが、一時領域や字句形式を割り当て、解放している
827611996スクラッチパッドについて混乱しました。
827711997
8278=item panic: pad_free curpad
11998=item panic: pad_free curpad, %p!=%p
827911999
828012000=begin original
828112001
828212002(P) The compiler got confused about which scratch pad it was allocating
828312003and freeing temporaries and lexicals from.
828412004
828512005=end original
828612006
828712007(P) コンパイラが、一時領域や字句形式を割り当て、解放している
828812008スクラッチパッドについて混乱しました。
828912009
829012010=item panic: pad_free po
829112011
829212012=begin original
829312013
8294(P) An invalid scratch pad offset was detected internally.
12014(P) A zero scratch pad offset was detected internally. An attempt was
12015made to free a target that had not been allocated to begin with.
829512016
829612017=end original
829712018
8298(P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。
12019(P) スクラッチパッドのオフセット 0 が、内部的に検出されました。
12020始めるために割り当てられていないターゲットを解放しようとしました。
829912021
8300=item panic: pad_reset curpad
12022=item panic: pad_reset curpad, %p!=%p
830112023
830212024=begin original
830312025
830412026(P) The compiler got confused about which scratch pad it was allocating
830512027and freeing temporaries and lexicals from.
830612028
830712029=end original
830812030
830912031(P) コンパイラが、一時領域や字句形式を割り当て、解放している
831012032スクラッチパッドについて混乱しました。
831112033
831212034=item panic: pad_sv po
831312035
831412036=begin original
831512037
8316(P) An invalid scratch pad offset was detected internally.
12038(P) A zero scratch pad offset was detected internally. Most likely
12039an operator needed a target but that target had not been allocated
12040for whatever reason.
831712041
831812042=end original
831912043
8320(P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。
12044(P) スクラッチパッドのオフセット 0 が、内部的に検出されました。
12045おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で
12046割り当てられていません。
832112047
8322=item panic: pad_swipe curpad
12048=item panic: pad_swipe curpad, %p!=%p
832312049
832412050=begin original
832512051
832612052(P) The compiler got confused about which scratch pad it was allocating
832712053and freeing temporaries and lexicals from.
832812054
832912055=end original
833012056
833112057(P) コンパイラが、一時領域や字句形式を割り当て、解放している
833212058スクラッチパッドについて混乱しました。
833312059
833412060=item panic: pad_swipe po
833512061
833612062=begin original
833712063
833812064(P) An invalid scratch pad offset was detected internally.
833912065
834012066=end original
834112067
834212068(P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。
834312069
8344=item panic: pp_iter
12070=item panic: pp_iter, type=%u
834512071
834612072=begin original
834712073
834812074(P) The foreach iterator got called in a non-loop context frame.
834912075
835012076=end original
835112077
835212078(P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。
835312079
835412080=item panic: pp_match%s
835512081
835612082=begin original
835712083
835812084(P) The internal pp_match() routine was called with invalid operational
835912085data.
836012086
836112087=end original
836212088
836312089(P) 内部の pp_match() ルーティンが、無効な省略可能データを
836412090付けて呼ばれました。
836512091
8366=item panic: pp_split
12092=item panic: realloc, %s
836712093
836812094=begin original
836912095
8370(P) Something terrible went wrong in setting up for the split.
12096(P) Something requested a negative number of bytes of realloc.
837112097
837212098=end original
837312099
8374(P) split の準備中何かまずいことが起こってまいました。
12100(P) 何か、realloc負のバイト数を要求したものがあります
837512101
8376=item panic: realloc
12102=item panic: reference miscount on nsv in sv_replace() (%d != 1)
837712103
837812104=begin original
837912105
8380(P) Something requested a negative number of bytes of realloc.
12106(P) The internal sv_replace() function was handed a new SV with a
12107reference count other than 1.
838112108
838212109=end original
838312110
8384(P) 何か、realloc に負のバイトを要求したものあります。
12111(P) 内部の sv_replace() は、参照カウント 1 でない新しい SV を
12112扱いました。
838512113
8386=item panic: restartop
12114=item panic: restartop in %s
838712115
838812116=begin original
838912117
839012118(P) Some internal routine requested a goto (or something like it), and
839112119didn't supply the destination.
839212120
839312121=end original
839412122
839512123(P) 内部ルーティンから goto (または、同じようなもの) が
839612124要求されましたが、飛び先が与えれていません。
839712125
8398=item panic: return
12126=item panic: return, type=%u
839912127
840012128=begin original
840112129
840212130(P) We popped the context stack to a subroutine or eval context, and
840312131then discovered it wasn't a subroutine or eval context.
840412132
840512133=end original
840612134
840712135(P) サブルーチンコンテキストや eval コンテキストへ、
840812136コンテキストスタックをポップしたあと、サブルーチンコンテキストや
840912137eval コンテキストでないことがわかりました。
841012138
8411=item panic: scan_num
12139=item panic: scan_num, %s
841212140
841312141=begin original
841412142
841512143(P) scan_num() got called on something that wasn't a number.
841612144
841712145=end original
841812146
841912147(P) scan_num() が、何か数字でないものに対して呼ばれました。
842012148
12149=item panic: Sequence (?{...}): no code block found in regex m/%s/
12150
12151=begin original
12152
12153(P) While compiling a pattern that has embedded (?{}) or (??{}) code
12154blocks, perl couldn't locate the code block that should have already been
12155seen and compiled by perl before control passed to the regex compiler.
12156
12157=end original
12158
12159(P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、
12160既に現れていて、正規表現コンパイラに制御を渡す前に perl によって
12161コンパイルされているコードブロックを発見できませんでした。
12162
842112163=item panic: sv_chop %s
842212164
842312165=begin original
842412166
842512167(P) The sv_chop() routine was passed a position that is not within the
842612168scalar's string buffer.
842712169
842812170=end original
842912171
843012172(P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を
843112173渡されました。
843212174
8433=item panic: sv_insert
12175=item panic: sv_insert, midend=%p, bigend=%p
843412176
843512177=begin original
843612178
843712179(P) The sv_insert() routine was told to remove more string than there
843812180was string.
843912181
844012182=end original
844112183
844212184(P) sv_insert() ルーティンが、存在する以上の文字列を削除するように
844312185指示されました。
844412186
844512187=item panic: top_env
844612188
844712189=begin original
844812190
844912191(P) The compiler attempted to do a goto, or something weird like that.
845012192
845112193=end original
845212194
845312195(P) コンパイラが、goto など妙なことを行なおうとしました。
845412196
12197=item panic: unexpected constant lvalue entersub entry via type/targ %d:%d
12198
12199=begin original
12200
12201(P) When compiling a subroutine call in lvalue context, Perl failed an
12202internal consistency check. It encountered a malformed op tree.
12203
12204=end original
12205
12206(P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は
12207内部一貫性チェックに失敗しました。
12208不正な構文木に遭遇しました。
12209
845512210=item panic: unimplemented op %s (#%d) called
845612211
845712212=begin original
845812213
845912214(P) The compiler is screwed up and attempted to use an op that isn't
846012215permitted at run time.
846112216
846212217=end original
846312218
846412219(P) コンパイラがおかしくなって、実行時に許可されていない op を
846512220しようとしました。
846612221
12222=item panic: unknown OA_*: %x
12223
12224=begin original
12225
12226(P) The internal routine that handles arguments to C<&CORE::foo()>
12227subroutine calls was unable to determine what type of arguments
12228were expected.
12229
12230=end original
12231
12232(P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、
12233どの種類の引数が想定されているかを決定できませんでした。
12234
846712235=item panic: utf16_to_utf8: odd bytelen
846812236
846912237=begin original
847012238
847112239(P) Something tried to call utf16_to_utf8 with an odd (as opposed
847212240to even) byte length.
847312241
847412242=end original
847512243
847612244(P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を
847712245呼び出そうとしました。
847812246
847912247=item panic: utf16_to_utf8_reversed: odd bytelen
848012248
848112249=begin original
848212250
848312251(P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed
848412252to even) byte length.
848512253
848612254=end original
848712255
848812256(P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。
848912257
8490=item panic: yylex
12258=item panic: yylex, %s
849112259
849212260=begin original
849312261
849412262(P) The lexer got into a bad state while processing a case modifier.
849512263
849612264=end original
849712265
849812266(P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。
849912267
8500=item Parsing code internal error (%s)
12268=item Parentheses missing around "%s" list
850112269
850212270=begin original
850312271
8504(F) Parsing code supplied by an extension violated the parser's API in
12272(W parenthesis) You said something like
8505a detectable way.
850612273
850712274=end original
850812275
8509(F) エクステンションにって供給されパースコードが、検出きる形で
12276(W parenthesis) おそらく以下のうにししょう:
8510パーサの API に違反しています。
851112277
8512=item Pattern subroutine nesting without pos change exceeded limit in regex; marked by <-- HERE in m/%s/
12278 my $foo, $bar = @_;
851312279
851412280=begin original
851512281
8516(F) You used a pattern that uses too many nested subpattern calls without
12282when you meant
8517consuming any text. Restructure the pattern so text is consumed before the
8518nesting limit is exceeded.
851912283
852012284=end original
852112285
8522(F) テキストを全く消費することなく、あまりに多くネストした副パターンを使
12286以下のよにすべきです:
8523パターンを使いました。
8524ネストの制限を越える前にテキストを消費するようにパターンを
8525再構成してください。
852612287
8527=begin original
12288 my ($foo, $bar) = @_;
852812289
8529The <-- HERE shows in the regular expression about where the problem was
8530discovered.
8531
8532=end original
8533
8534<-- HERE で正規表現のどこに問題が発見されたかを示しています。
8535
8536=item Parentheses missing around "%s" list
8537
853812290=begin original
853912291
8540(W parenthesis) You said something like
12292Remember that "my", "our", "local" and "state" bind tighter than comma.
854112293
854212294=end original
854312295
8544(W parenthesis) おそらく以下のうにしたのでしょう:
12296"my", "our", "local", "state" は、コンマりも強く結合することを
12297忘れないでください。
854512298
8546 my $foo, $bar = @_;
12299=item Parsing code internal error (%s)
854712300
854812301=begin original
854912302
8550when you meant
12303(F) Parsing code supplied by an extension violated the parser's API in
12304a detectable way.
855112305
855212306=end original
855312307
8554以下のようすべきです:
12308(F) エクステンションよって供給されたパースコードが、検出でる形
12309パーサの API に違反しています。
855512310
8556 my ($foo, $bar) = @_;
12311=item Pattern subroutine nesting without pos change exceeded limit in regex
855712312
855812313=begin original
855912314
8560Remember that "my", "our", "local" and "state" bind tighter than comma.
12315(F) You used a pattern that uses too many nested subpattern calls without
12316consuming any text. Restructure the pattern so text is consumed before
12317the nesting limit is exceeded.
856112318
856212319=end original
856312320
8564"my", "our", "local", "state" は、コンマよりも強結合することを
12321(F) テキストを全消費することなく、あまりに多くネストした副パターン使う
8565忘れなでください
12322パターンを使ました
12323ネストの制限を越える前にテキストを消費するようにパターンを
12324再構成してください。
856612325
856712326=item C<-p> destination: %s
856812327
856912328=begin original
857012329
857112330(F) An error occurred during the implicit output invoked by the C<-p>
857212331command-line switch. (This output goes to STDOUT unless you've
857312332redirected it with select().)
857412333
857512334=end original
857612335
857712336(F) C<-p> コマンドラインオプションで起動された
857812337暗黙の出力中にエラーが発生しました。
857912338(この出力は select() でリダイレクトしていない限り STDOUT に出力されます。)
858012339
8581=item (perhaps you forgot to load "%s"?)
12340=item Perl API version %s of %s does not match %s
858212341
858312342=begin original
858412343
8585(F) This is an educated guess made in conjunction with the message
12344(F) The XS module in question was compiled against a different incompatible
8586"Can't locate object method \"%s\" via package \"%s\"". It often means
12345version of Perl than the one that has loaded the XS module.
8587that a method requires a package that has not been loaded.
858812346
858912347=end original
859012348
8591(F) これは "Can't locate object method \"%s\" via package \"%s\""
12349(F) こ XS モジュールは、これを読み込んだ Perl とは互換性のないバージョン
8592メッセージと共出る教育的な推測です。
12350Perl 用コンパイルされたものです。
8593これはしばしばメソッドがまだロードされていないパッケージを
8594要求していることを意味します。
859512351
8596=item Perl folding rules are not up-to-date for 0x%x; please use the perlbug utility to report
12352=item Perl folding rules are not up-to-date for 0x%X; please use the perlbug
12353utility to report; in regex; marked by S<<-- HERE> in m/%s/
859712354
859812355=begin original
859912356
8600(W regex, deprecated) You used a regular expression with
12357(S regexp) You used a regular expression with case-insensitive matching,
8601case-insensitive matching, and there is a bug in Perl in which the
12358and there is a bug in Perl in which the built-in regular expression
8602built-in regular expression folding rules are not accurate. This may
12359folding rules are not accurate. This may lead to incorrect results.
8603lead to incorrect results. Please report this as a bug using the
12360Please report this as a bug to L<https://github.com/Perl/perl5/issues/new/choose>.
8604"perlbug" utility. (This message is marked deprecated, so that it by
8605default will be turned-on.)
860612361
860712362=end original
860812363
8609(W regex, deprecated) 大文字小文字を無視するマッチングを行う正規表現を
12364(S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして
8610使いました; そして組み込みの正規表現畳み込み規則が正確でないという
12365組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。
8611Perl のバグがありました。
861212366これは間違った結果を引き起こします。
8613どうか "perlbug" ユーティリティを使ってバグとして報告してください。
12367どうか L<https://github.com/Perl/perl5/issues/new/choose>
8614(このメッセージは廃止予定としてマークされているので、デフォルトでは
12368バグとして報告しくださ
8615オンになっています。)
861612369
861712370=item Perl_my_%s() not available
861812371
861912372=begin original
862012373
862112374(F) Your platform has very uncommon byte-order and integer size,
862212375so it was not possible to set up some or all fixed-width byte-order
862312376conversion functions. This is only a problem when you're using the
862412377'<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>.
862512378
862612379=end original
862712380
862812381(F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを
862912382使っているので、固定長バイト順変換関数の一部または全部を使うことができません。
863012383これは (un)pack テンプレートの中で
863112384'<' か '>' の修飾子を使った場合にのみ問題となります。
863212385L<perlfunc/pack> を参照してください。
863312386
8634=item Perl %s required--this is only version %s, stopped
12387=item Perl %s required (did you mean %s?)--this is only %s, stopped
863512388
863612389=begin original
863712390
12391(F) The code you are trying to run has asked for a newer version of
12392Perl than you are running. Perhaps C<use 5.10> was written instead
12393of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is
12394interpreted as a decimal, with every three digits after the
12395decimal point representing a part of the version number. So 5.10
12396is equivalent to v5.100.
12397
12398=end original
12399
12400(F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを
12401尋ねました。
12402おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と
12403書かれているのでしょう。
12404先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の
12405部分を表現していると解釈されます。
12406それで、5.10 は v5.100 と等価です。
12407
12408=item Perl %s required--this is only %s, stopped
12409
12410=begin original
12411
863812412(F) The module in question uses features of a version of Perl more
863912413recent than the currently running version. How long has it been since
864012414you upgraded, anyway? See L<perlfunc/require>.
864112415
864212416=end original
864312417
864412418(F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの
864512419機能を使っています。
864612420ところで、いつからアップグレードしていないのですか?
864712421L<perlfunc/require> を参照してください。
864812422
864912423=item PERL_SH_DIR too long
865012424
865112425=begin original
865212426
8653(F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the
12427(F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the
865412428C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>.
865512429
865612430=end original
865712431
865812432(F) OS/2 固有のエラーです。
865912433PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。
866012434L<perlos2> の "PERL_SH_DIR" を参照してください。
866112435
866212436=item PERL_SIGNALS illegal: "%s"
866312437
866412438=begin original
866512439
8666See L<perlrun/PERL_SIGNALS> for legal values.
12440(X) See L<perlrun/PERL_SIGNALS> for legal values.
866712441
866812442=end original
866912443
8670有効な値については L<perlrun/PERL_SIGNALS> を参照してください。
12444(X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。
867112445
12446=item Perls since %s too modern--this is %s, stopped
12447
12448=begin original
12449
12450(F) The code you are trying to run claims it will not run
12451on the version of Perl you are using because it is too new.
12452Maybe the code needs to be updated, or maybe it is simply
12453wrong and the version check should just be removed.
12454
12455=end original
12456
12457(F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると
12458主張しています。
12459コードを更新する必要があるかもしれませんし、単に間違っていて単純に
12460バージョンチェックを削除するべきかもしれません。
12461
12462=item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set
12463
12464=begin original
12465
12466(S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it
12467contained a non hex character. This could mean you are not using the
12468hash seed you think you are.
12469
12470=end original
12471
12472(S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども
12473非 16 進数文字を含む必要があります。
12474これは、考えているようなハッシュの種が使われないことを
12475意味しているかもしれません。
12476
867212477=item perl: warning: Setting locale failed.
867312478
867412479=begin original
867512480
867612481(S) The whole warning message will look something like:
867712482
867812483=end original
867912484
868012485(S) 警告全体は以下のような形になります:
868112486
868212487 perl: warning: Setting locale failed.
868312488 perl: warning: Please check that your locale settings:
868412489 LC_ALL = "En_US",
868512490 LANG = (unset)
868612491 are supported and installed on your system.
868712492 perl: warning: Falling back to the standard locale ("C").
868812493
868912494=begin original
869012495
869112496Exactly what were the failed locale settings varies. In the above the
869212497settings were that the LC_ALL was "En_US" and the LANG had no value.
869312498This error means that Perl detected that you and/or your operating
869412499system supplier and/or system administrator have set up the so-called
869512500locale system but Perl could not use those settings. This was not
869612501dead serious, fortunately: there is a "default locale" called "C" that
869712502Perl can and will use, and the script will be run. Before you really
869812503fix the problem, however, you will get the same error message each
869912504time you run Perl. How to really fix the problem can be found in
870012505L<perllocale> section B<LOCALE PROBLEMS>.
870112506
870212507=end original
870312508
870412509正確にどのロケール設定が失敗したのかは様々です。
870512510上記では設定は LC_ALL は "En_US" で、LANG は空でした。
870612511このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる
870712512ものをセットアップしましたが、Perl がこれらの設定を使えないことを
870812513検出したことを意味します。
870912514これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる
871012515「デフォルトロケール」が存在するので、スクリプトは実行されます。
871112516しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー
871212517メッセージが表示されます。
871312518本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の
871412519章にあります。
871512520
12521=item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s'
12522
12523=begin original
12524
12525(S) Perl was run with the environment variable PERL_PERTURB_KEYS defined
12526but containing an unexpected value. The legal values of this setting
12527are as follows.
12528
12529=end original
12530
12531(S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが
12532想定外の値でした。
12533この設定の正当な値は以下のものです。
12534
12535 Numeric | String | Result
12536 --------+---------------+-----------------------------------------
12537 0 | NO | Disables key traversal randomization
12538 1 | RANDOM | Enables full key traversal randomization
12539 2 | DETERMINISTIC | Enables repeatable key traversal
12540 | | randomization
12541
12542=begin original
12543
12544Both numeric and string values are accepted, but note that string values are
12545case sensitive. The default for this setting is "RANDOM" or 1.
12546
12547=end original
12548
12549数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を
12550区別することに注意してください。
12551この設定のデフォルトは "RANDOM"、つまり 1 です。
12552
871612553=item pid %x not a child
871712554
871812555=begin original
871912556
872012557(W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a
872112558process which isn't a subprocess of the current process. While this is
872212559fine from VMS' perspective, it's probably not what you intended.
872312560
872412561=end original
872512562
872612563(W exec) VMS に固有の警告です。
872712564現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。
872812565これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは
872912566ないでしょう。
873012567
873112568=item 'P' must have an explicit size in unpack
873212569
873312570=begin original
873412571
873512572(F) The unpack format P must have an explicit size, not "*".
873612573
873712574=end original
873812575
873912576(F) unpack フォーマット P は "*" ではなく、明示的なサイズを
874012577指定しなければなりません。
874112578
8742=item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/
12579=item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/
874312580
874412581=begin original
874512582
8746(F) The class in the character class [: :] syntax is unknown. The <-- HERE
12583(F) The class in the character class [: :] syntax is unknown. The S<<-- HERE>
8747shows in the regular expression about where the problem was discovered.
12584shows whereabouts in the regular expression the problem was discovered.
874812585Note that the POSIX character classes do B<not> have the C<is> prefix
874912586the corresponding C interfaces have: in other words, it's C<[[:print:]]>,
875012587not C<isprint>. See L<perlre>.
875112588
875212589=end original
875312590
875412591(F) 文字クラス [: :] 文法の中のクラスは不明です。
8755<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12592S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
875612593POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が
875712594B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、
875812595C<isprint> ではありません。
875912596L<perlre> を参照してください。
876012597
876112598=item POSIX getpgrp can't take an argument
876212599
876312600=begin original
876412601
876512602(F) Your system has POSIX getpgrp(), which takes no argument, unlike
876612603the BSD version, which takes a pid.
876712604
876812605=end original
876912606
877012607(F) お使いのシステムは、引数に pid をとる BSD バージョンの
877112608getpgrp() と違って、引数をとらない POSIX のものを使っています。
877212609
8773=item POSIX syntax [%s] belongs inside character classes in regex; marked by <-- HERE in m/%s/
12610=item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by
12611S<<-- HERE> in m/%s/
877412612
877512613=begin original
877612614
8777(W regexp) The character class constructs [: :], [= =], and [. .] go
12615(W regexp) Perl thinks that you intended to write a POSIX character
8778I<inside> character classes, the [] are part of the construct, for example:
12616class, but didn't use enough brackets. These POSIX class constructs [:
8779/[012[:alpha:]345]/. Note that [= =] and [. .] are not currently
12617:], [= =], and [. .] go I<inside> character classes, the [] are part of
8780implemented; they are simply placeholders for future extensions and will
12618the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular
8781cause fatal errors. The <-- HERE shows in the regular expression about
12619expression pattern compiled to is probably not what you were intending.
8782where the problem was discovered. See L<perlre>.
12620For example, C<qr/[:alpha:]/> compiles to a regular bracketed character
12621class consisting of the four characters C<":">, C<"a">, C<"l">,
12622C<"h">, and C<"p">. To specify the POSIX class, it should have been
12623written C<qr/[[:alpha:]]/>.
878312624
878412625=end original
878512626
8786(W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =],
12627(W regexp) Perl あなたが POSIX 文字クラスを書くことを意図していると
8787[. .] 文字クラスの I<内側> にあり[] は構造の一部
12628考えましたが、大かっこが足りませんした
12629例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造
12630[: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。
12631コンパイルされた正規表現パターンはおそらくあなたが意図したものでは
12632ないでしょう。
12633例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の
12634四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。
12635POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。
12636
12637=begin original
12638
12639Note that [= =] and [. .] are not currently
12640implemented; they are simply placeholders for future extensions and
12641will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular
12642expression the problem was discovered. See L<perlre>.
12643
12644=end original
12645
878812646[= =] と [. .] は現在のところ実装されていないことに注意してください;
878912647これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを
879012648生成します。
8791<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12649S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
879212650L<perlre> を参照してください。
879312651
8794=item POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/%s/
12652=begin original
879512653
12654If the specification of the class was not completely valid, the message
12655indicates that.
12656
12657=end original
12658
12659このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。
12660
12661=item POSIX syntax [. .] is reserved for future extensions in regex; marked by
12662S<<-- HERE> in m/%s/
12663
879612664=begin original
879712665
8798(F regexp) Within regular expression character classes ([]) the syntax
12666(F) Within regular expression character classes ([]) the syntax beginning
8799beginning with "[." and ending with ".]" is reserved for future extensions.
12667with "[." and ending with ".]" is reserved for future extensions. If you
8800If you need to represent those character sequences inside a regular
12668need to represent those character sequences inside a regular expression
8801expression character class, just quote the square brackets with the
12669character class, just quote the square brackets with the backslash: "\[."
8802backslash: "\[." and ".\]". The <-- HERE shows in the regular expression
12670and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the
8803about where the problem was discovered. See L<perlre>.
12671problem was discovered. See L<perlre>.
880412672
880512673=end original
880612674
8807(F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で
12675(F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で
880812676終わる文法は将来の拡張のために予約されます。
880912677正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある
881012678場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで
881112679クォートしてください。
8812<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12680S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
881312681L<perlre> を参照してください。
881412682
8815=item POSIX syntax [= =] is reserved for future extensions in regex; marked by <-- HERE in m/%s/
12683=item POSIX syntax [= =] is reserved for future extensions in regex; marked by
12684S<<-- HERE> in m/%s/
881612685
881712686=begin original
881812687
881912688(F) Within regular expression character classes ([]) the syntax beginning
882012689with "[=" and ending with "=]" is reserved for future extensions. If you
882112690need to represent those character sequences inside a regular expression
882212691character class, just quote the square brackets with the backslash: "\[="
8823and "=\]". The <-- HERE shows in the regular expression about where the
12692and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the
882412693problem was discovered. See L<perlre>.
882512694
882612695=end original
882712696
882812697(F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で
882912698終わる文法は将来の拡張のために予約されます。
883012699正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある
883112700場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで
883212701クォートしてください。
8833<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12702S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
883412703L<perlre> を参照してください。
883512704
883612705=item Possible attempt to put comments in qw() list
883712706
883812707=begin original
883912708
884012709(W qw) qw() lists contain items separated by whitespace; as with literal
884112710strings, comment characters are not ignored, but are instead treated as
884212711literal data. (You may have used different delimiters than the
884312712parentheses shown here; braces are also frequently used.)
884412713
884512714=end original
884612715
884712716(W qw) qw() リストは空白で分割されたアイテムを含んでいます;
884812717リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。
884912718(ここで使われているのと違うデリミタを用いているかもしれません;
885012719大かっこもよく使われます。)
885112720
885212721=begin original
885312722
885412723You probably wrote something like this:
885512724
885612725=end original
885712726
885812727おそらく以下のように書いたのでしょう:
885912728
886012729 @list = qw(
886112730 a # a comment
886212731 b # another comment
886312732 );
886412733
886512734=begin original
886612735
886712736when you should have written this:
886812737
886912738=end original
887012739
887112740以下のように書くべきです:
887212741
887312742 @list = qw(
887412743 a
887512744 b
887612745 );
887712746
887812747=begin original
887912748
888012749If you really want comments, build your list the
888112750old-fashioned way, with quotes and commas:
888212751
888312752=end original
888412753
888512754本当にコメントをつけたいのなら、
888612755リストを昔のクォートとカンマの形で書いてください。
888712756
888812757 @list = (
888912758 'a', # a comment
889012759 'b', # another comment
889112760 );
889212761
889312762=item Possible attempt to separate words with commas
889412763
889512764=begin original
889612765
889712766(W qw) qw() lists contain items separated by whitespace; therefore
889812767commas aren't needed to separate the items. (You may have used
889912768different delimiters than the parentheses shown here; braces are also
890012769frequently used.)
890112770
890212771=end original
890312772
890412773(W qw) qw() リストに空白で分割された項目があります;
890512774そのため、カンマは項目を分割する必要がありません。
890612775(ここで使われているのと違うデリミタを用いているかもしれません;
890712776大かっこもよく使われます。)
890812777
890912778=begin original
891012779
891112780You probably wrote something like this:
891212781
891312782=end original
891412783
891512784おそらく以下のように書いたのでしょう:
891612785
891712786 qw! a, b, c !;
891812787
891912788=begin original
892012789
892112790which puts literal commas into some of the list items. Write it without
892212791commas if you don't want them to appear in your data:
892312792
892412793=end original
892512794
892612795リスト要素の中にリテラルのカンマを書いています。
892712796データの中にカンマを出したくないなら、カンマなしで書きます:
892812797
892912798 qw! a b c !;
893012799
893112800=item Possible memory corruption: %s overflowed 3rd argument
893212801
893312802=begin original
893412803
893512804(F) An ioctl() or fcntl() returned more than Perl was bargaining for.
893612805Perl guesses a reasonable buffer size, but puts a sentinel byte at the
893712806end of the buffer just in case. This sentinel byte got clobbered, and
893812807Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>.
893912808
894012809=end original
894112810
894212811(F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。
894312812Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの
894412813最後に目印を付けています。
894512814この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。
894612815L<perlfunc/ioctl> を参照してください。
894712816
8948=item Possible precedence problem on bitwise %c operator
12817=item Possible precedence issue with control flow operator (%s)
894912818
895012819=begin original
895112820
12821(W syntax) There is a possible problem with the mixing of a control
12822flow operator (e.g. C<return>) and a low-precedence operator like
12823C<or>. Consider:
12824
12825=end original
12826
12827(W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような
12828低優先順位演算子を混ぜると問題が起きることがあります。
12829次を考えると:
12830
12831 sub { return $x or $y; }
12832
12833=begin original
12834
12835This is parsed as:
12836
12837=end original
12838
12839これは次のようにパースされます:
12840
12841 sub { (return $x) or $y; }
12842
12843=begin original
12844
12845Which is effectively just:
12846
12847=end original
12848
12849これは事実上次のものです:
12850
12851 sub { return $x; }
12852
12853=begin original
12854
12855Either use parentheses or the high-precedence variant of the operator.
12856
12857=end original
12858
12859かっこか、高優先順位版の演算子を使ってください。
12860
12861=begin original
12862
12863Note this may be also triggered for constructs like:
12864
12865=end original
12866
12867これは次のような構文でも引き起こされることに注意してください:
12868
12869 sub { 1 if die; }
12870
12871=item Possible precedence problem on bitwise %s operator
12872
12873=begin original
12874
895212875(W precedence) Your program uses a bitwise logical operator in conjunction
895312876with a numeric comparison operator, like this :
895412877
895512878=end original
895612879
895712880(W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と
895812881結合して使用しています:
895912882
896012883 if ($x & $y == 0) { ... }
896112884
896212885=begin original
896312886
896412887This expression is actually equivalent to C<$x & ($y == 0)>, due to the
8965higher precedence of C<==>. This is probably not what you want. (If you
12888higher precedence of C<==>. This is probably not what you want. (If you
896612889really meant to write this, disable the warning, or, better, put the
896712890parentheses explicitly and write C<$x & ($y == 0)>).
896812891
896912892=end original
897012893
897112894この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と
897212895等価になります。
897312896これはおそらく望んでいるものではないでしょう。
897412897(もし本当にこのように書きたいのなら、警告を無効にするか、あるいは
897512898よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。
897612899
897712900=item Possible unintended interpolation of $\ in regex
897812901
897912902=begin original
898012903
898112904(W ambiguous) You said something like C<m/$\/> in a regex.
898212905The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output
898312906record separator (see L<perlvar/$\>) and the letter 's' (one time or more)
898412907followed by the word 'bar'.
898512908
898612909=end original
898712910
898812911(W ambiguous) 正規表現で C<m/$\/> のようなことをしました。
898912912正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力
899012913レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語
899112914'bar' にマッチングします。
899212915
899312916=begin original
899412917
899512918If this is what you intended then you can silence the warning by using
899612919C<m/${\}/> (for example: C<m/foo${\}s+bar/>).
899712920
899812921=end original
899912922
900012923これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます
900112924(例えば: C<m/foo${\}s+bar/>)。
900212925
900312926=begin original
900412927
900512928If instead you intended to match the word 'foo' at the end of the line
900612929followed by whitespace and the word 'bar' on the next line then you can use
900712930C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>).
900812931
900912932=end original
901012933
901112934そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に
901212935マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば:
901312936C<m/foo$(?)\s+bar/>)。
901412937
901512938=item Possible unintended interpolation of %s in string
901612939
901712940=begin original
901812941
9019(W ambiguous) You said something like `@foo' in a double-quoted string
12942(W ambiguous) You said something like '@foo' in a double-quoted string
9020but there was no array C<@foo> in scope at the time. If you wanted a
12943but there was no array C<@foo> in scope at the time. If you wanted a
902112944literal @foo, then write it as \@foo; otherwise find out what happened
902212945to the array you apparently lost track of.
902312946
902412947=end original
902512948
902612949(W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、
902712950現在のスコープ内に C<@foo> という配列はありません。
902812951リテラルな @foo を指定したい場合は、\@foo と書いてください;
902912952そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを
903012953調べてください。
903112954
903212955=item Precedence problem: open %s should be open(%s)
903312956
903412957=begin original
903512958
903612959(S precedence) The old irregular construct
903712960
903812961=end original
903912962
904012963(S precedence) 古い変則的な構文
904112964
904212965 open FOO || die;
904312966
904412967=begin original
904512968
904612969is now misinterpreted as
904712970
904812971=end original
904912972
905012973は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か
905112974リスト演算子と解釈されますので、
905212975
905312976 open(FOO || die);
905412977
905512978=begin original
905612979
905712980because of the strict regularization of Perl 5's grammar into unary and
905812981list operators. (The old open was a little of both.) You must put
905912982parentheses around the filehandle, or use the new "or" operator instead
906012983of "||".
906112984
906212985=end original
906312986
906412987という風に誤った解釈がなされます。
906512988(古い open は、単項演算子とリスト演算子の中間のようなものでした。)
906612989ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに
906712990"or" 演算子を使わなくてはなりません。
906812991
906912992=item Premature end of script headers
907012993
907112994=begin original
907212995
9073See Server error.
12996See L</500 Server error>.
907412997
907512998=end original
907612999
9077"Server error" を参照してください。
13000L</500 Server error> を参照してください。
907813001
907913002=item printf() on closed filehandle %s
908013003
908113004=begin original
908213005
908313006(W closed) The filehandle you're writing to got itself closed sometime
908413007before now. Check your control flow.
908513008
908613009=end original
908713010
908813011(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
908913012制御フローをチェックしてください。
909013013
909113014=item print() on closed filehandle %s
909213015
909313016=begin original
909413017
909513018(W closed) The filehandle you're printing on got itself closed sometime
909613019before now. Check your control flow.
909713020
909813021=end original
909913022
910013023(W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。
910113024制御フローをチェックしてください。
910213025
910313026=item Process terminated by SIG%s
910413027
910513028=begin original
910613029
910713030(W) This is a standard message issued by OS/2 applications, while *nix
910813031applications die in silence. It is considered a feature of the OS/2
910913032port. One can easily disable this by appropriate sighandlers, see
911013033L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT"
911113034in L<perlos2>.
911213035
911313036=end original
911413037
911513038(W) *nix アプリケーションは何も出力せずに終了しますが、
911613039OS/2 アプリケーションはこれを標準メッセージとして出力します。
911713040これは OS/2 版の仕様とみなされています。
911813041適切なシグナルハンドラによって簡単に無効にできます;
911913042L<perlipc/"Signals"> を参照してください。
912013043L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。
912113044
912213045=item Prototype after '%c' for %s : %s
912313046
912413047=begin original
912513048
9126(W illegalproto) A character follows % or @ in a prototype. This is useless,
13049(W illegalproto) A character follows % or @ in a prototype. This is
9127since % and @ gobble the rest of the subroutine arguments.
13050useless, since % and @ gobble the rest of the subroutine arguments.
912813051
912913052=end original
913013053
913113054(W illegalproto) プロトタイプで % または @ に文字が引き続いています。
913213055これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。
913313056
913413057=item Prototype mismatch: %s vs %s
913513058
913613059=begin original
913713060
913813061(S prototype) The subroutine being declared or defined had previously been
913913062declared or defined with a different function prototype.
914013063
914113064=end original
914213065
914313066(S prototype) 以前異なる関数プロトタイプで宣言または定義された
914413067サブルーチンが宣言または定義されました。
914513068
914613069=item Prototype not terminated
914713070
914813071=begin original
914913072
915013073(F) You've omitted the closing parenthesis in a function prototype
915113074definition.
915213075
915313076=end original
915413077
915513078(F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。
915613079
9157=item \p{} uses Unicode rules, not locale rules
13080=item Prototype '%s' overridden by attribute 'prototype(%s)' in %s
915813081
915913082=begin original
916013083
9161(W) You compiled a regular expression that contained a Unicode property
13084(W prototype) A prototype was declared in both the parentheses after
9162match (C<\p> or C<\P>), but the regular expression is also being told to
13085the sub name and via the prototype attribute. The prototype in
9163use the run-time locale, not Unicode. Instead, use a POSIX character
13086parentheses is useless, since it will be replaced by the prototype
9164class, which should know about the locale's rules.
13087from the attribute before it's ever used.
9165(See L<perlrecharclass/POSIX Character Classes>.)
916613088
916713089=end original
916813090
9169(W) Unicode 特性マッチング(C<\p> または C<\P>)を含む正規表現を
13091(W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で
9170コンパルしましたが、その正規表現は Unicode ではなく実行時ロケールを使うとも
13092プロトタプが宣言されました
9171設定されています。
13093先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の
9172代わりに、ケールの規則を知っているずの POSIX 文字クラスを使ってください
13094トタイプ無駄です
9173(L<perlrecharclass/POSIX Character Classes> を参照してください。)
917413095
13096=item %s on BEGIN block ignored
13097
917513098=begin original
917613099
9177Even if the run-time locale is ISO 8859-1 (Latin1), which is a subset of
13100(W syntax) C<BEGIN> blocks are executed immediately after they are parsed
9178Unicode, some properties will give results that are not valid for that
13101and then thrown away. Any prototypes or attributes are therefore
9179subset.
13102meaningless and are ignored. You should remove them from the C<BEGIN> block.
13103Note this also means you cannot create a constant called C<BEGIN>.
918013104
918113105=end original
918213106
9183たとえ実行時ロケールが Unicode のサブセットである ISO 8859-1 (Latin1) でも
13107(W syntax) C<BEGIN> ブロックは、パースされた直後に実行され
9184一部の特性はサブセットに対しは不正であるという結果を返します。
13108それから捨られます。
13109従って、プロトタイプや属性は無意味で、無視されます。
13110それらは C<BEGIN> ブロックから削除されるべきです。
13111C<BEGIN> と呼ばれる定数を作ることもできないことに注意してください。
918513112
13113=item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/
13114
918613115=begin original
918713116
9188Here are a couple of examples to help you see what's going on. If the
13117(F) You started a regular expression with a quantifier. Backslash it if
9189locale is ISO 8859-7, the character at code point 0xD7 is the "GREEK
13118you meant it literally. The S<<-- HERE> shows whereabouts in the regular
9190CAPITAL LETTER CHI". But in Unicode that code point means the
13119expression the problem was discovered. See L<perlre>.
9191"MULTIPLICATION SIGN" instead, and C<\p> always uses the Unicode
9192meaning. That means that C<\p{Alpha}> won't match, but C<[[:alpha:]]>
9193should. Only in the Latin1 locale are all the characters in the same
9194positions as they are in Unicode. But, even here, some properties give
9195incorrect results. An example is C<\p{Changes_When_Uppercased}> which
9196is true for "LATIN SMALL LETTER Y WITH DIAERESIS", but since the upper
9197case of that character is not in Latin1, in that locale it doesn't
9198change when upper cased.
919913120
920013121=end original
920113122
9202以下に、何が起きているかを知る助けになる例を二つ挙げます。
13123(F) 正規表現を量指定子で開始しています。
9203ロケーが ISO 8859-7 なら、符号位置 0xD7 の文字は "GREEK CAPITAL LETTER CHI"
13124もしそれをリテラに使いたいなら、バックスラッシュでクォートしてください。
9204です。
13125S<<-- HERE> 正規表現のどこに問題が発見されたかを示しています。
9205しかし Unicode ではこの符号位置は "MULTIPLICATION SIGN" 意味
13126L<perlre>参照てください。
9206C<\p> は常に Unicode の意味を使います。
9207これは、C<\p{Alpha}> にはマッチングしませんが、C<[[:alpha:]]> には
9208マッチングするということです。
9209Latin1 ロケールのみが、全ての文字について Unicode と同じ位置を持ちます。
9210しかし、それでも、一部の特性は正しくない結果となります。
9211例えば、C<\p{Changes_When_Uppercased}> は "LATIN SMALL LETTER Y WITH
9212DIAERESIS" では真ですが、この文字の大文字は Latin1 にはないので、
9213大文字にしたときにこの文字は変更されません。
921413127
9215=item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/
13128=item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/
921613129
921713130=begin original
921813131
9219(F) You started a regular expression with a quantifier. Backslash it if you
13132(F) There is currently a limit to the size of the min and max values of
9220meant it literally. The <-- HERE shows in the regular expression about
13133the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular
9221where the problem was discovered. See L<perlre>.
13134expression the problem was discovered. See L<perlre>.
922213135
922313136=end original
922413137
9225(F) 正規表を量指定子で開始しています。
13138在のところ、{min,max} 構造の最大値と最小値には制限があります。
9226もしそれをリテラル使いいなら、バックスラッシュでクォートしてください。
13139S<<-- HERE> で正規表現のどこ問題が発見されかを示しています
9227<-- HERE で正規表現のどこに問題が発見されたかを示しています。
922813140L<perlre> を参照してください。
922913141
9230=item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/
13142=item Quantifier {n,m} with n > m can't match in regex
923113143
13144=item Quantifier {n,m} with n > m can't match in regex; marked by
13145S<<-- HERE> in m/%s/
13146
923213147=begin original
923313148
9234(F) There is currently a limit to the size of the min and max values of the
13149(W regexp) Minima should be less than or equal to maxima. If you really
9235{min,max} construct. The <-- HERE shows in the regular expression about where
13150want your regexp to match something 0 times, just put {0}.
9236the problem was discovered. See L<perlre>.
923713151
923813152=end original
923913153
9240現在のところ、{min,max} 構造の大値と最小値制限があります。
13154(W regexp) 最小値は最大値以下である必要があります。
9241<-- HERE 正規表現のどこに問題発見されたかしています
13155本当に 0 回マッチングする正規表現がほしいなら、単に {0} 指定してください。
9242L<perlre> を参照してください。
924313156
9244=item Quantifier unexpected on zero-length expression; marked by <-- HERE in m/%s/
13157=item Quantifier unexpected on zero-length expression in regex m/%s/
924513158
924613159=begin original
924713160
924813161(W regexp) You applied a regular expression quantifier in a place where
924913162it makes no sense, such as on a zero-width assertion. Try putting the
925013163quantifier inside the assertion instead. For example, the way to match
925113164"abc" provided that it is followed by three repetitions of "xyz" is
925213165C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>.
925313166
925413167=end original
925513168
925613169(W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に
925713170適用しました。
925813171代わりにアサーションの中に量指定子を置いてください。
925913172例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、
926013173C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。
926113174
9262=begin original
9263
9264The <-- HERE shows in the regular expression about where the problem was
9265discovered.
9266
9267=end original
9268
9269<-- HERE で正規表現のどこに問題が発見されたかを示しています。
9270
927113175=item Range iterator outside integer range
927213176
927313177=begin original
927413178
927513179(F) One (or both) of the numeric arguments to the range operator ".."
927613180are outside the range which can be represented by integers internally.
927713181One possible workaround is to force Perl to use magical string increment
927813182by prepending "0" to your numbers.
927913183
928013184=end original
928113185
928213186(F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として
928313187表現できる範囲を越えています。
928413188回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に
928513189マジカル文字列インクリメントの使用を強制させることです。
928613190
13191=item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or
13192"a-z" in regex; marked by S<<-- HERE> in m/%s/
13193
13194=begin original
13195
13196(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
13197
13198=end original
13199
13200(W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ)
13201
13202=begin original
13203
13204Stricter rules help to find typos and other errors. Perhaps you didn't
13205even intend a range here, if the C<"-"> was meant to be some other
13206character, or should have been escaped (like C<"\-">). If you did
13207intend a range, the one that was used is not portable between ASCII and
13208EBCDIC platforms, and doesn't have an obvious meaning to a casual
13209reader.
13210
13211=end original
13212
13213より厳密な規則はタイプミスやその他のエラーを見つける助けになります。
13214おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の
13215つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。
13216範囲を意図していたのなら、使われているものは ASCII と EBCDIC
13217プラットフォームの間で移植性がなく、カジュアルな読者には不明確な
13218意味になります。
13219
13220 [3-7] # OK; Obvious and portable
13221 [d-g] # OK; Obvious and portable
13222 [A-Y] # OK; Obvious and portable
13223 [A-z] # WRONG; Not portable; not clear what is meant
13224 [a-Z] # WRONG; Not portable; not clear what is meant
13225 [%-.] # WRONG; Not portable; not clear what is meant
13226 [\x41-Z] # WRONG; Not portable; not obvious to non-geek
13227
13228=begin original
13229
13230(You can force portability by specifying a Unicode range, which means that
13231the endpoints are specified by
13232L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may
13233still not be obvious.)
13234The stricter rules require that ranges that start or stop with an ASCII
13235character that is not a control have all their endpoints be the literal
13236character, and not some escape sequence (like C<"\x41">), and the ranges
13237must be all digits, or all uppercase letters, or all lowercase letters.
13238
13239=end original
13240
13241(Unicode の範囲を指定することで移植性を共生することができます;
13242これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で
13243指定するということですが、意味はやはり明確ではないかもしれません。)
13244より厳密な規則は、制御文字でなく、全てリテラルな文字で、
13245(C<"\x41"> のような)一部のエスケープシーケンスでない
13246ASCII 文字で開始および終了することを要求し、
13247範囲は全て数字か、全て大文字か、全て小文字でなければなりません。
13248
13249=item Ranges of digits should be from the same group in regex; marked by
13250S<<-- HERE> in m/%s/
13251
13252=begin original
13253
13254(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
13255
13256=end original
13257
13258(W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ)
13259
13260=begin original
13261
13262Stricter rules help to find typos and other errors. You included a
13263range, and at least one of the end points is a decimal digit. Under the
13264stricter rules, when this happens, both end points should be digits in
13265the same group of 10 consecutive digits.
13266
13267=end original
13268
13269より厳密な規則はタイプミスやその他のエラーを見つける助けになります。
13270範囲を含んでいて、少なくとも片方の端は数字です。
13271より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ
13272グループに属する符号位置である必要があります。
13273
928713274=item readdir() attempted on invalid dirhandle %s
928813275
928913276=begin original
929013277
929113278(W io) The dirhandle you're reading from is either closed or not really
929213279a dirhandle. Check your control flow.
929313280
929413281=end original
929513282
929613283(W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、
929713284実際にはディレクトリハンドルではありません。
929813285制御フローをチェックしてください。
929913286
930013287=item readline() on closed filehandle %s
930113288
930213289=begin original
930313290
930413291(W closed) The filehandle you're reading from got itself closed sometime
930513292before now. Check your control flow.
930613293
930713294=end original
930813295
930913296(W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。
931013297制御フローをチェックしてください。
931113298
9312=item read() on closed filehandle %s
13299=item readline() on unopened filehandle %s
931313300
931413301=begin original
931513302
9316(W closed) You tried to read from a closed filehandle.
13303(W unopened) The filehandle you're reading from was never opened. Check your
13304control flow.
931713305
931813306=end original
931913307
9320(W closed) 閉じたファイルハンドルから読み込もうとしした
13308(W unopened) 読み込もうとしたファイルハンドルは開れていせん
13309制御フローをチェックしてください。
932113310
9322=item read() on unopened filehandle %s
13311=item read() on closed filehandle %s
932313312
932413313=begin original
932513314
9326(W unopened) You tried to read from a filehandle that was never opened.
13315(W closed) You tried to read from a closed filehandle.
932713316
932813317=end original
932913318
9330(W unopened) 開いていないファイルハンドルから読み込もうとしました。
13319(W closed) 閉じたファイルハンドルから読み込もうとしました。
933113320
9332=item Reallocation too large: %x
13321=item read() on unopened filehandle %s
933313322
933413323=begin original
933513324
9336(F) You can't allocate more than 64K on an MS-DOS machine.
13325(W unopened) You tried to read from a filehandle that was never opened.
933713326
933813327=end original
933913328
9340(F) MS-DOS マシンでは、64K を越えるメモリを割り当るこはできせん
13329(W unopened) 開いいないファイルハンドルから読み込もうした
934113330
934213331=item realloc() of freed memory ignored
934313332
934413333=begin original
934513334
934613335(S malloc) An internal routine called realloc() on something that had
934713336already been freed.
934813337
934913338=end original
935013339
935113340内部ルーチンが、何か既に解放されているものに対して realloc() を
935213341呼び出しました。
935313342
935413343=item Recompile perl with B<-D>DEBUGGING to use B<-D> switch
935513344
935613345=begin original
935713346
9358(F debugging) You can't use the B<-D> option unless the code to produce
13347(S debugging) You can't use the B<-D> option unless the code to produce
935913348the desired output is compiled into Perl, which entails some overhead,
936013349which is why it's currently left out of your copy.
936113350
936213351=end original
936313352
9364(F debugging) Perl のコンパイル時に、適切な出力ルーティンが
13353(S debugging) Perl のコンパイル時に、適切な出力ルーティンが
936513354組み込まれていなければ、B<-D> スイッチを使うことはできません;
936613355これは、多少のオーバヘッドがかかるもので、それが現在使っている
936713356Perl に組み込んでない理由でしょう。
936813357
13358=item Recursive call to Perl_load_module in PerlIO_find_layer
13359
13360=begin original
13361
13362(P) It is currently not permitted to load modules when creating
13363a filehandle inside an %INC hook. This can happen with C<open my
13364$fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try
13365loading PerlIO::scalar explicitly first.
13366
13367=end original
13368
13369(P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは
13370現在のところ許されていません。
13371これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに
13372起こることがあります。
13373最初に PerlIO::scalar を明示的に読み込むことを試してください。
13374
936913375=item Recursive inheritance detected in package '%s'
937013376
937113377=begin original
937213378
937313379(F) While calculating the method resolution order (MRO) of a package, Perl
937413380believes it found an infinite loop in the C<@ISA> hierarchy. This is a
937513381crude check that bails out after 100 levels of C<@ISA> depth.
937613382
937713383=end original
937813384
937913385(F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に
938013386無限ループがあると判断しました。
938113387これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。
938213388
13389=item Redundant argument in %s
13390
13391=begin original
13392
13393(W redundant) You called a function with more arguments than other
13394arguments you supplied indicated would be needed. Currently only
13395emitted when a printf-type format required fewer arguments than were
13396supplied, but might be used in the future for e.g. L<perlfunc/pack>.
13397
13398=end original
13399
13400(W redundant) 関数を呼び出すときに、ある引数が示している必要数より
13401多くの引数を指定しました。
13402現在のところ、printf 型のフォーマットが指定されたものより少ない数の
13403引数しか必要としていない場合にのみ発生しますが、将来は
13404例えば L<perlfunc/pack> で使われるかもしれません。
13405
938313406=item refcnt_dec: fd %d%s
938413407
938513408=item refcnt: fd %d%s
938613409
938713410=item refcnt_inc: fd %d%s
938813411
938913412=begin original
939013413
9391(P) Perl's I/O implementation failed an internal consistency check. If
13414(P) Perl's I/O implementation failed an internal consistency check. If
939213415you see this message, something is very wrong.
939313416
939413417=end original
939513418
939613419(P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。
939713420このメッセージを見たなら、何かがすごく悪いです。
939813421
939913422=item Reference found where even-sized list expected
940013423
940113424=begin original
940213425
940313426(W misc) You gave a single reference where Perl was expecting a list
9404with an even number of elements (for assignment to a hash). This usually
13427with an even number of elements (for assignment to a hash). This
9405means that you used the anon hash constructor when you meant to use
13428usually means that you used the anon hash constructor when you meant
9406parens. In any case, a hash requires key/value B<pairs>.
13429to use parens. In any case, a hash requires key/value B<pairs>.
940713430
940813431=end original
940913432
941013433(W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを
941113434想定しているところに 一つのリファレンスを渡しました。
941213435これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを
941313436意味します。
941413437とにかく、ハッシュはキー/値の B<組> を要求します。
941513438
941613439 %hash = { one => 1, two => 2, }; # WRONG
941713440 %hash = [ qw/ an anon array / ]; # WRONG
941813441 %hash = ( one => 1, two => 2, ); # right
941913442 %hash = qw( one 1 two 2 ); # also fine
942013443
942113444=item Reference is already weak
942213445
942313446=begin original
942413447
942513448(W misc) You have attempted to weaken a reference that is already weak.
942613449Doing so has no effect.
942713450
942813451=end original
942913452
943013453(W misc) 既に弱いリファレンスを弱めようとしました。
943113454そうしても何の効果もありません。
943213455
9433=item Reference miscount in sv_replace()
13456=item Reference is not weak
943413457
943513458=begin original
943613459
9437(W internal) The internal sv_replace() function was handed a new SV with
13460(W misc) You have attempted to unweaken a reference that is not weak.
9438a reference count other than 1.
13461Doing so has no effect.
943913462
944013463=end original
944113464
9442(W internal) 内部の sv_replace() 関数が、参照数が 1 でない、新規の
13465(W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。
9443SV を扱いま
13466そうても何の効果もありません
944413467
9445=item Reference to invalid group 0
13468=item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/
944613469
944713470=begin original
944813471
9449(F) You used C<\g0> or similar in a regular expression. You may refer to
13472(F) You used C<\g0> or similar in a regular expression. You may refer
9450capturing parentheses only with strictly positive integers (normal
13473to capturing parentheses only with strictly positive integers
9451backreferences) or with strictly negative integers (relative
13474(normal backreferences) or with strictly negative integers (relative
9452backreferences). Using 0 does not make sense.
13475backreferences). Using 0 does not make sense.
945313476
945413477=end original
945513478
945613479(F) 正規表現で C<\g0> のようなものを使いました。
945713480捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照)
945813481のみです。
9459134820 は意味を成しません。
946013483
9461=item Reference to nonexistent group in regex; marked by <-- HERE in m/%s/
13484=item Reference to nonexistent group in regex; marked by S<<-- HERE> in
13485m/%s/
946213486
946313487=begin original
946413488
946513489(F) You used something like C<\7> in your regular expression, but there are
9466not at least seven sets of capturing parentheses in the expression. If
13490not at least seven sets of capturing parentheses in the expression. If
946713491you wanted to have the character with ordinal 7 inserted into the regular
946813492expression, prepend zeroes to make it three digits long: C<\007>
946913493
947013494=end original
947113495
947213496正規表現の中で C<\7> のような記述がありますが、
947313497正規表現の中に値を捕らえるかっこが 7 つありません。
947413498正規表現の中に値 7 を持つ文字を挿入したい場合、
947513499ゼロをつけて最低 3 桁の数値にする必要があります: C<\007>
947613500
947713501=begin original
947813502
9479The <-- HERE shows in the regular expression about where the problem was
13503The S<<-- HERE> shows whereabouts in the regular expression the problem was
948013504discovered.
948113505
948213506=end original
948313507
9484<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13508S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
948513509
9486=item Reference to nonexistent named group in regex; marked by <-- HERE in m/%s/
13510=item Reference to nonexistent named group in regex; marked by S<<-- HERE>
13511in m/%s/
948713512
948813513=begin original
948913514
949013515(F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular
949113516expression, but there is no corresponding named capturing parentheses
9492such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been
13517such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been
949313518spelled correctly both in the backreference and the declaration.
949413519
949513520=end original
949613521
949713522(F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、
949813523C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが
949913524ありません。
950013525前方参照と定義の両方において、名前のスペルが正しいかどうか
950113526チェックしてください。
950213527
950313528=begin original
950413529
9505The <-- HERE shows in the regular expression about where the problem was
13530The S<<-- HERE> shows whereabouts in the regular expression the problem was
950613531discovered.
950713532
950813533=end original
950913534
9510<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13535S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
951113536
9512=item Reference to nonexistent or unclosed group in regex; marked by <-- HERE in m/%s/
13537=item Reference to nonexistent or unclosed group in regex; marked by
13538S<<-- HERE> in m/%s/
951313539
951413540=begin original
951513541
951613542(F) You used something like C<\g{-7}> in your regular expression, but there
951713543are not at least seven sets of closed capturing parentheses in the
951813544expression before where the C<\g{-7}> was located.
951913545
952013546=end original
952113547
952213548(F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の
952313549位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。
952413550
952513551=begin original
952613552
9527The <-- HERE shows in the regular expression about where the problem was
13553The S<<-- HERE> shows whereabouts in the regular expression the problem was
952813554discovered.
952913555
953013556=end original
953113557
9532<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13558S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
953313559
953413560=item regexp memory corruption
953513561
953613562=begin original
953713563
953813564(P) The regular expression engine got confused by what the regular
953913565expression compiler gave it.
954013566
954113567=end original
954213568
954313569(P) 正規表現コンパイラが渡したもので、正規表現エンジンが
954413570処理できなくなりました。
954513571
954613572=item Regexp modifier "/%c" may appear a maximum of twice
954713573
9548=item Regexp modifier "/%c" may not appear twice
13574=item Regexp modifier "%c" may appear a maximum of twice in regex; marked
13575by S<<-- HERE> in m/%s/
954913576
955013577=begin original
955113578
9552(F syntax, regexp) The regular expression pattern had too many occurrences
13579(F) The regular expression pattern had too many occurrences
955313580of the specified modifier. Remove the extraneous ones.
955413581
955513582=end original
955613583
9557(F syntax, regexp) 正規表現パターンに指定された修飾子が多すぎます。
13584(F) 正規表現パターンに指定された修飾子が多すぎます。
955813585余分なものを削除してください。
955913586
9560=item Regexp modifier "%c" may not appear after the "-"
13587=item Regexp modifier "%c" may not appear after the "-" in regex; marked by <--
13588HERE in m/%s/
956113589
956213590=begin original
956313591
9564(F regexp) Turning off the given modifier has the side effect of turning
13592(F) Turning off the given modifier has the side effect of turning on
9565on another one. Perl currently doesn't allow this. Reword the regular
13593another one. Perl currently doesn't allow this. Reword the regular
956613594expression to use the modifier you want to turn on (and place it before
956713595the minus), instead of the one you want to turn off.
956813596
956913597=end original
957013598
957113599(F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという
957213600副作用があります。
957313601Perl は現在のところこれを受け入れません。
957413602オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの
957513603前に置く)ように正規表現を書き直してください。
957613604
13605=item Regexp modifier "/%c" may not appear twice
13606
13607=item Regexp modifier "%c" may not appear twice in regex; marked by <--
13608HERE in m/%s/
13609
13610=begin original
13611
13612(F) The regular expression pattern had too many occurrences
13613of the specified modifier. Remove the extraneous ones.
13614
13615=end original
13616
13617(F) 正規表現パターンに指定された修飾子が多すぎます。
13618余分なものを削除してください。
13619
957713620=item Regexp modifiers "/%c" and "/%c" are mutually exclusive
957813621
13622=item Regexp modifiers "%c" and "%c" are mutually exclusive in regex;
13623marked by S<<-- HERE> in m/%s/
13624
957913625=begin original
958013626
9581(F syntax, regexp) The regular expression pattern had more than one of these
13627(F) The regular expression pattern had more than one of these
958213628mutually exclusive modifiers. Retain only the modifier that is
958313629supposed to be there.
958413630
958513631=end original
958613632
9587(F syntax, regexp) 正規表現パターンに相互に排他的な修飾子が複数あります。
13633(F) 正規表現パターンに相互に排他的な修飾子が複数あります。
958813634ここで使うであろう修飾子のみを保持します。
958913635
9590=item Regexp out of space
13636=item Regexp out of space in regex m/%s/
959113637
959213638=begin original
959313639
959413640(P) A "can't happen" error, because safemalloc() should have caught it
959513641earlier.
959613642
959713643=end original
959813644
959913645(P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。
960013646
9601=item Repeated format line will never terminate (~~ and @<#del> incompatible)
13647=item Repeated format line will never terminate (~~ and @#)
960213648
960313649=begin original
960413650
960513651(F) Your format contains the ~~ repeat-until-blank sequence and a
960613652numeric field that will never go blank so that the repetition never
9607terminates. You might use ^# instead. See L<perlform>.
13653terminates. You might use ^# instead. See L<perlform>.
960813654
960913655=end original
961013656
961113657(F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない
961213658スウチフィールドが含まれているので、無限ループになります。
961313659代わりに ^# を使うべきでしょう。
961413660L<perlform> を参照してください。
961513661
961613662=item Replacement list is longer than search list
961713663
961813664=begin original
961913665
962013666(W misc) You have used a replacement list that is longer than the
9621search list. So the additional elements in the replacement list
13667search list. So the additional elements in the replacement list
962213668are meaningless.
962313669
962413670=end original
962513671
962613672(W misc) 検索リストよりも長い置換リストを使いました。
962713673長い分の置換リストは無意味です。
962813674
13675=item Required parameter '%s' is missing for %s constructor
13676
13677=begin original
13678
13679(F) You called the constructor for a class that has a required named
13680parameter, but did not pass that parameter at all.
13681
13682=end original
13683
13684(F) 引数を指定することが必要なクラスのコンストラクタを呼び出しましたが、
13685引数を何も渡しませんでした。
13686
13687=item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/
13688
13689=begin original
13690
13691(F) You used a construct that needs a colon and pattern argument.
13692Supply these or check that you are using the right construct.
13693
13694=end original
13695
13696(F) コロンとパターン引数を必要とする構文を使いました。
13697これらを補うか、正しい構文を使っているか確認してください。
13698
13699=item '%s' resolved to '\o{%s}%d'
13700
13701=begin original
13702
13703As of Perl 5.32, this message is no longer generated. Instead, see
13704L</Non-octal character '%c' terminates \o early. Resolved as "%s">.
13705(W misc, regexp) You wrote something like C<\08>, or C<\179> in a
13706double-quotish string. All but the last digit is treated as a single
13707character, specified in octal. The last digit is the next character in
13708the string. To tell Perl that this is indeed what you want, you can use
13709the C<\o{ }> syntax, or use exactly three digits to specify the octal
13710for the character.
13711
13712=end original
13713
13714Perl 5.32 から、もはやこのメッセージは出力されません。
13715代わりに、
13716L</Non-octal character '%c' terminates \o early. Resolved as "%s">
13717を見てください。
13718(W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような
13719ものを書きました。
13720最後以外の数字は、8 進数で指定された単一の文字として扱われます。
13721最後の数字は文字列中の次の文字です。
13722これが確かに望んだものであることを Perl に伝えるには、
13723C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために
13724正確に 3 文字の数字を使ってください。
13725
962913726=item Reversed %s= operator
963013727
963113728=begin original
963213729
963313730(W syntax) You wrote your assignment operator backwards. The = must
963413731always come last, to avoid ambiguity with subsequent unary operators.
963513732
963613733=end original
963713734
963813735(W syntax) 代入演算子を逆順に書いています。
963913736等号の後に単項演算子が続くときに、曖昧になるのを避けるため、
964013737代入演算子では、等号 = が、最後にこないといけません。
964113738
964213739=item rewinddir() attempted on invalid dirhandle %s
964313740
964413741=begin original
964513742
9646(W io) The dirhandle you tried to do a rewinddir() on is either closed or not
13743(W io) The dirhandle you tried to do a rewinddir() on is either closed
9647really a dirhandle. Check your control flow.
13744or not really a dirhandle. Check your control flow.
964813745
964913746=end original
965013747
965113748(W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、
965213749実際にはディレクトリハンドルではありません。
965313750制御フローをチェックしてください。
965413751
965513752=item Scalars leaked: %d
965613753
965713754=begin original
965813755
9659(P) Something went wrong in Perl's internal bookkeeping of scalars:
13756(S internal) Something went wrong in Perl's internal bookkeeping
9660not all scalar variables were deallocated by the time Perl exited.
13757of scalars: not all scalar variables were deallocated by the time
9661What this usually indicates is a memory leak, which is of course bad,
13758Perl exited. What this usually indicates is a memory leak, which
9662especially if the Perl program is intended to be long-running.
13759is of course bad, especially if the Perl program is intended to be
13760long-running.
966313761
966413762=end original
966513763
966613764(P) Perl 内部のスカラ管理で何かがおかしくなりました:
966713765Perl 終了時に全てのスカラ変数が解放されませんでした。
966813766これは普通メモリリークを示していて、これはもちろん悪いことですが、
966913767Perl プログラムが長い間動作する場合には特にそうです。
967013768
967113769=item Scalar value @%s[%s] better written as $%s[%s]
967213770
967313771=begin original
967413772
967513773(W syntax) You've used an array slice (indicated by @) to select a
967613774single element of an array. Generally it's better to ask for a scalar
967713775value (indicated by $). The difference is that C<$foo[&bar]> always
967813776behaves like a scalar, both when assigning to it and when evaluating its
967913777argument, while C<@foo[&bar]> behaves like a list when you assign to it,
968013778and provides a list context to its subscript, which can do weird things
968113779if you're expecting only one subscript.
968213780
968313781=end original
968413782
968513783(W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列
968613784スライスを用いました。
9687一般には($ で示される) スカラ値を使った方がと思われます。
13785一般には($ で示される)スカラ値を取得した方がす。
968813786違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、
968913787添字を評価するときにも、常にスカラとして振る舞うのに対し、
969013788C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、
969113789添字にもリストコンテキストを与えることになります;
969213790これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。
969313791
969413792=begin original
969513793
969613794On the other hand, if you were actually hoping to treat the array
969713795element as a list, you need to look into how references work, because
969813796Perl will not magically convert between scalars and lists for you. See
969913797L<perlref>.
970013798
970113799=end original
970213800
970313801一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが
970413802どのように働くかについて詳しく知る必要があります; なぜなら
970513803Perl はスカラとリストを自動的に変換したりはしないからです。
970613804L<perlref> を参照してください。
970713805
970813806=item Scalar value @%s{%s} better written as $%s{%s}
970913807
971013808=begin original
971113809
971213810(W syntax) You've used a hash slice (indicated by @) to select a single
971313811element of a hash. Generally it's better to ask for a scalar value
971413812(indicated by $). The difference is that C<$foo{&bar}> always behaves
971513813like a scalar, both when assigning to it and when evaluating its
971613814argument, while C<@foo{&bar}> behaves like a list when you assign to it,
971713815and provides a list context to its subscript, which can do weird things
971813816if you're expecting only one subscript.
971913817
972013818=end original
972113819
972213820(W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ
972313821スライスを用いました。
9724一般には($ で示される) スカラ値を使った方がと思われます。
13822一般には($ で示される)スカラ値を取得した方がす。
972513823違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、
972613824添字を評価するときにも、常にスカラとして振る舞うのに対し、
972713825C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、
972813826添字にもリストコンテキストを与えることになります;
972913827これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。
973013828
973113829=begin original
973213830
973313831On the other hand, if you were actually hoping to treat the hash element
973413832as a list, you need to look into how references work, because Perl will
973513833not magically convert between scalars and lists for you. See
973613834L<perlref>.
973713835
973813836=end original
973913837
974013838一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが
974113839どのように働くかについて詳しく知る必要があります; なぜなら
974213840Perl はスカラとリストを自動的に変換したりはしないからです。
974313841L<perlref> を参照してください。
974413842
974513843=item Search pattern not terminated
974613844
974713845=begin original
974813846
974913847(F) The lexer couldn't find the final delimiter of a // or m{}
975013848construct. Remember that bracketing delimiters count nesting level.
975113849Missing the leading C<$> from a variable C<$m> may cause this error.
975213850
975313851=end original
975413852
975513853(F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。
975613854かっこ類の区切り文字では、ネストを数えることを忘れないでください。
975713855C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
975813856
975913857=begin original
976013858
9761Note that since Perl 5.9.0 a // can also be the I<defined-or>
13859Note that since Perl 5.10.0 a // can also be the I<defined-or>
976213860construct, not just the empty search pattern. Therefore code written
9763in Perl 5.9.0 or later that uses the // as the I<defined-or> can be
13861in Perl 5.10.0 or later that uses the // as the I<defined-or> can be
9764misparsed by pre-5.9.0 Perls as a non-terminated search pattern.
13862misparsed by pre-5.10.0 Perls as a non-terminated search pattern.
976513863
976613864=end original
976713865
9768Perl 5.9.0 から、// は I<defined-or> 構文として扱われ、単なる
13866Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる
976913867空検索パターンではありません。
9770従って、Perl 5.9.0 以降で書かれた、// を I<defined-or> として使っている
13868従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている
9771コードは、5.9.0 以前の Perl では、終端していない検索パターンとして
13869コードは、5.10.0 以前の Perl では、終端していない検索パターンとして
977213870誤パースされるかもしれません。
977313871
9774=item Search pattern not terminated or ternary operator parsed as search pattern
9775
9776=begin original
9777
9778(F) The lexer couldn't find the final delimiter of a C<?PATTERN?>
9779construct.
9780
9781=end original
9782
9783(F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。
9784
9785=begin original
9786
9787The question mark is also used as part of the ternary operator (as in
9788C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly
9789parsed. One way to disambiguate the parsing is to put parentheses around
9790the conditional expression, i.e. C<(foo) ? 0 : 1>.
9791
9792=end original
9793
9794クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても
9795使われるので、紛らわしい構造の場合は間違ってパースされることがあります。
9796パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように
9797条件式をかっこで括ることです。
9798
979913872=item seekdir() attempted on invalid dirhandle %s
980013873
980113874=begin original
980213875
980313876(W io) The dirhandle you are doing a seekdir() on is either closed or not
980413877really a dirhandle. Check your control flow.
980513878
980613879=end original
980713880
980813881(W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、
980913882実際にはディレクトリハンドルではありません。
981013883制御フローをチェックしてください。
981113884
981213885=item %sseek() on unopened filehandle
981313886
981413887=begin original
981513888
981613889(W unopened) You tried to use the seek() or sysseek() function on a
981713890filehandle that was either never opened or has since been closed.
981813891
981913892=end original
982013893
982113894(W unopened) オープンされていないファイルハンドルか、既にクローズされた
982213895ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。
982313896
982413897=item select not implemented
982513898
982613899=begin original
982713900
982813901(F) This machine doesn't implement the select() system call.
982913902
983013903=end original
983113904
983213905(F) このマシンでは、select() システムコールは実装されていません。
983313906
983413907=item Self-ties of arrays and hashes are not supported
983513908
983613909=begin original
983713910
983813911(F) Self-ties are of arrays and hashes are not supported in
983913912the current implementation.
984013913
984113914=end original
984213915
984313916(F) 配列やハッシュの自己 tie は現在の実装では対応していません。
984413917
984513918=item Semicolon seems to be missing
984613919
984713920=begin original
984813921
984913922(W semicolon) A nearby syntax error was probably caused by a missing
985013923semicolon, or possibly some other missing operator, such as a comma.
985113924
985213925=end original
985313926
985413927(W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの
985513928演算子がなかったために起こったものと考えられます。
985613929
985713930=item semi-panic: attempt to dup freed string
985813931
985913932=begin original
986013933
986113934(S internal) The internal newSVsv() routine was called to duplicate a
986213935scalar that had previously been marked as free.
986313936
986413937=end original
986513938
986613939(S internal) 既に解放と印を付けたスカラを複製するために、内部の
986713940newSVsv() ルーティンが呼ばれました。
986813941
986913942=item sem%s not implemented
987013943
987113944=begin original
987213945
987313946(F) You don't have System V semaphore IPC on your system.
987413947
987513948=end original
987613949
987713950(F) このシステムでは、System V セマフォ IPC は使えません。
987813951
987913952=item send() on closed socket %s
988013953
988113954=begin original
988213955
988313956(W closed) The socket you're sending to got itself closed sometime
988413957before now. Check your control flow.
988513958
988613959=end original
988713960
988813961(W closed) 送信を行なおうとしたソケットは、既に閉じられています。
988913962制御フローをチェックしてください。
989013963
9891=item Sequence (? incomplete in regex; marked by <-- HERE in m/%s/
13964=item Sequence "\c{" invalid
989213965
989313966=begin original
989413967
9895(F) A regular expression ended with an incomplete extension (?. The <-- HERE
13968(F) These three characters may not appear in sequence in a
9896shows in the regular expression about where the problem was discovered. See
13969double-quotish context. This message is raised only on non-ASCII
9897L<perlre>.
13970platforms (a different error message is output on ASCII ones). If you
13971were intending to specify a control character with this sequence, you'll
13972have to use a different way to specify it.
989813973
989913974=end original
990013975
13976(F) これら三つの文字の並びはダブルクォート風のコンテキストでは
13977使えません。
13978このメッセージは非 ASCII プラットフォームでのみ発生します
13979(ASCII では異なったえらメッセージが出力されます)。
13980この並びの制御文字を指定することを意図している場合は、指定するために
13981異なる方法を使う必要があります。
13982
13983=item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/
13984
13985=begin original
13986
13987(F) A regular expression ended with an incomplete extension (?. The
13988S<<-- HERE> shows whereabouts in the regular expression the problem was
13989discovered. See L<perlre>.
13990
13991=end original
13992
990113993(F) 正規表現が不完全な拡張 (? で終わっています。
9902<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13994S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
990313995L<perlre> を参照してください。
990413996
9905=item Sequence (?%s...) not implemented in regex; marked by <-- HERE in m/%s/
13997=item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in
13998m/%s/
990613999
990714000=begin original
990814001
9909(F) A proposed regular expression extension has the character reserved but
14002(F) A proposed regular expression extension has the character reserved
9910has not yet been written. The <-- HERE shows in the regular expression about
14003but has not yet been written. The S<<-- HERE> shows whereabouts in the
9911where the problem was discovered. See L<perlre>.
14004regular expression the problem was discovered. See L<perlre>.
991214005
991314006=end original
991414007
991514008(F) 使おうとした正規表現の拡張は、予約された文字ですが、
991614009まだ実装されていません。
9917<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14010S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
991814011L<perlre> を参照してください。
991914012
9920=item Sequence (?%s...) not recognized in regex; marked by <-- HERE in m/%s/
14013=item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in
14014m/%s/
992114015
992214016=begin original
992314017
9924(F) You used a regular expression extension that doesn't make sense. The
14018(F) You used a regular expression extension that doesn't make sense.
9925<-- HERE shows in the regular expression about where the problem was
14019The S<<-- HERE> shows whereabouts in the regular expression the problem was
9926discovered. This happens when using the C<(?^...)> construct to tell
14020discovered. This may happen when using the C<(?^...)> construct to tell
992714021Perl to use the default regular expression modifiers, and you
992814022redundantly specify a default modifier. For other
992914023causes, see L<perlre>.
993014024
993114025=end original
993214026
993314027(F) お使いになった正規表現の拡張は、意味をなしません。
9934<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14028S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
993514029これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために
993614030C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。
993714031その他の理由については、L<perlre> を参照してください。
993814032
9939=item Sequence \%s... not terminated in regex; marked by <-- HERE in m/%s/
14033=item Sequence (?#... not terminated in regex m/%s/
994014034
994114035=begin original
994214036
14037(F) A regular expression comment must be terminated by a closing
14038parenthesis. Embedded parentheses aren't allowed. See
14039L<perlre>.
14040
14041=end original
14042
14043(F) 正規表現のコメントは閉じかっこで終わらなければなりません。
14044組み込みのかっこは許可されません。
14045L<perlre> を参照してください。
14046
14047=item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in
14048m/%s/
14049
14050=begin original
14051
14052(F) A named reference of the form C<(?&...)> was missing the final
14053closing parenthesis after the name. The S<<-- HERE> shows whereabouts
14054in the regular expression the problem was discovered.
14055
14056=end original
14057
14058(F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが
14059ありません。
14060S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
14061
14062=item Sequence (?%c... not terminated in regex; marked by S<<-- HERE>
14063in m/%s/
14064
14065=begin original
14066
14067(F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final
14068closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the
14069regular expression the problem was discovered.
14070
14071=end original
14072
14073(F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の
14074最後の閉じクォートまたは山かっこがありません。
14075S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
14076
14077=item Sequence (%s... not terminated in regex; marked by S<<-- HERE>
14078in m/%s/
14079
14080=begin original
14081
14082(F) A lookahead assertion C<(?=...)> or C<(?!...)> or lookbehind
14083assertion C<< (?<=...) >> or C<< (?<!...) >> was missing the final
14084closing parenthesis. The S<<-- HERE> shows whereabouts in the
14085regular expression the problem was discovered.
14086
14087=end original
14088
14089(F) 先読み表明 C<(?=...)> および C<(?!...)> や
14090後読み表明 C<< (?<=...) >> および C<< (?<!...) >> は
14091最後の閉じかっこがありませんでした。
14092S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
14093
14094=item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE>
14095in m/%s/
14096
14097=begin original
14098
14099(F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was
14100missing the final closing quote or angle bracket after the name. The
14101S<<-- HERE> shows whereabouts in the regular expression the problem was
14102discovered.
14103
14104=end original
14105
14106(F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き
14107リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。
14108S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
14109
14110=item Sequence (?... not terminated in regex; marked by S<<-- HERE> in
14111m/%s/
14112
14113=begin original
14114
14115(F) There was no matching closing parenthesis for the '('. The
14116S<<-- HERE> shows whereabouts in the regular expression the problem was
14117discovered.
14118
14119=end original
14120
14121(F) '(' に対応する閉じかっこがありません。
14122S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
14123
14124=item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in
14125m/%s/
14126
14127=begin original
14128
994314129(F) The regular expression expects a mandatory argument following the escape
994414130sequence and this has been omitted or incorrectly written.
994514131
994614132=end original
994714133
994814134(F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、
994914135それが省略されているか適切に書かれていません。
995014136
9951=item Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/
14137=item Sequence (?{...}) not terminated with ')'
995214138
995314139=begin original
995414140
9955(F) A regular expression comment must be terminated by a closing
14141(F) The end of the perl code contained within the {...} must be
9956parenthesis. Embedded parentheses aren't allowed. The <-- HERE shows in
14142followed immediately by a ')'.
9957the regular expression about where the problem was discovered. See
9958L<perlre>.
995914143
996014144=end original
996114145
9962(F) 正規表現のコメント閉じかっこで終わらなければなりません。
14146(F) {} 中に含まれている perl ードの末尾直後に ')' が
9963組み込みのっこは許可されません。
14147引き続なけばなりません。
9964<-- HERE で正規表現のどこに問題が発見されたかを示しています。
9965L<perlre> を参照してください。
996614148
9967=item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/
14149=item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/
996814150
996914151=begin original
997014152
9971(F) If the contents of a (?{...}) clause contain braces, they must balance
14153(F) A named reference of the form C<(?PE<gt>...)> was missing the final
9972for Perl to detect the end of the clause properly. The <-- HERE shows in
14154closing parenthesis after the name. The S<<-- HERE> shows whereabouts
9973the regular expression about where the problem was discovered. See
14155in the regular expression the problem was discovered.
9974L<perlre>.
997514156
997614157=end original
997714158
9978(F) (?{...}) 中に大かっこがある場合、対応していなければなりません;
14159(F) C<(?PE<gt>...)> 形式名前付き参照で、名前の後の最後の閉じかっこが
9979Perl が正しく節の最後を検出するためです
14160ありません
9980<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14161S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
9981L<perlre> を参照してください。
998214162
9983=item Z<>500 Server error
14163=item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/
998414164
998514165=begin original
998614166
9987See Server error.
14167(F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final
14168closing angle bracket. The S<<-- HERE> shows whereabouts in the
14169regular expression the problem was discovered.
998814170
998914171=end original
999014172
9991"Server error" を参照してください。
14173(F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、
14174最後の閉じ山かっこがありません。
14175S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
999214176
9993=item Server error
14177=item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in
14178m/%s/
999414179
999514180=begin original
999614181
9997(A) This is the error message generally seen in a browser window when trying
14182(F) A named reference of the form C<(?P=...)> was missing the final
9998to run a CGI program (including SSI) over the web. The actual error text
14183closing parenthesis after the name. The S<<-- HERE> shows whereabouts
9999varies widely from server to server. The most frequently-seen variants
14184in the regular expression the problem was discovered.
10000are "500 Server error", "Method (something) not permitted", "Document
10001contains no data", "Premature end of script headers", and "Did not
10002produce a valid header".
1000314185
1000414186=end original
1000514187
14188(F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の
14189閉じかっこがありません。
14190S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
14191
14192=item Sequence (?R) not terminated in regex m/%s/
14193
14194=begin original
14195
14196(F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the
14197final parenthesis.
14198
14199=end original
14200
14201(F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。
14202
14203=item Z<>500 Server error
14204
14205=begin original
14206
14207(A) This is the error message generally seen in a browser window
14208when trying to run a CGI program (including SSI) over the web. The
14209actual error text varies widely from server to server. The most
14210frequently-seen variants are "500 Server error", "Method (something)
14211not permitted", "Document contains no data", "Premature end of script
14212headers", and "Did not produce a valid header".
14213
14214=end original
14215
1000614216(A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに
1000714217実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。
1000814218実際のエラーテキストはサーバーによって大きく異なります。
1000914219もっともよく見られるものとしては、"500 Server error",
1001014220"Method (something) not permitted", "Document contains no data",
1001114221"Premature end of script headers", "Did not produce a valid header" が
1001214222あります。
1001314223
1001414224=begin original
1001514225
1001614226B<This is a CGI error, not a Perl error>.
1001714227
1001814228=end original
1001914229
1002014230B<これは CGI のエラーであり、Perl のエラーではありません>.
1002114231
1002214232=begin original
1002314233
10024You need to make sure your script is executable, is accessible by the
14234You need to make sure your script is executable, is accessible by
10025user CGI is running the script under (which is probably not the user
14235the user CGI is running the script under (which is probably not the
10026account you tested it under), does not rely on any environment variables
14236user account you tested it under), does not rely on any environment
10027(like PATH) from the user it isn't running under, and isn't in a
14237variables (like PATH) from the user it isn't running under, and isn't
10028location where the CGI server can't find it, basically, more or less.
14238in a location where the CGI server can't find it, basically, more or
10029Please see the following for more information:
14239less. Please see the following for more information:
1003014240
1003114241=end original
1003214242
1003314243まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく
1003414244あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは
1003514245異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが
1003614246見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。
1003714247さらなる情報については以下を参照してください。
1003814248
10039 http://www.perl.org/CGI_MetaFAQ.html
14249 https://www.perl.org/CGI_MetaFAQ.html
1004014250 http://www.htmlhelp.org/faq/cgifaq.html
1004114251 http://www.w3.org/Security/Faq/
1004214252
1004314253=begin original
1004414254
1004514255You should also look at L<perlfaq9>.
1004614256
1004714257=end original
1004814258
1004914259L<perlfaq9> も見るべきでしょう。
1005014260
1005114261=item setegid() not implemented
1005214262
1005314263=begin original
1005414264
1005514265(F) You tried to assign to C<$)>, and your operating system doesn't
1005614266support the setegid() system call (or equivalent), or at least Configure
1005714267didn't think so.
1005814268
1005914269=end original
1006014270
1006114271(F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid()
1006214272システムコール (または、同等のもの) がサポートされていません;
1006314273少なくとも Configure では、そう判断されました。
1006414274
1006514275=item seteuid() not implemented
1006614276
1006714277=begin original
1006814278
1006914279(F) You tried to assign to C<< $> >>, and your operating system doesn't
1007014280support the seteuid() system call (or equivalent), or at least Configure
1007114281didn't think so.
1007214282
1007314283=end original
1007414284
1007514285(F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid()
1007614286システムコール (または、同等のもの) がサポートされていません;
1007714287少なくとも Configure では、そう判断されました。
1007814288
1007914289=item setpgrp can't take arguments
1008014290
1008114291=begin original
1008214292
1008314293(F) Your system has the setpgrp() from BSD 4.2, which takes no
1008414294arguments, unlike POSIX setpgid(), which takes a process ID and process
1008514295group ID.
1008614296
1008714297=end original
1008814298
1008914299(F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません;
1009014300POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。
1009114301
1009214302=item setrgid() not implemented
1009314303
1009414304=begin original
1009514305
1009614306(F) You tried to assign to C<$(>, and your operating system doesn't
1009714307support the setrgid() system call (or equivalent), or at least Configure
1009814308didn't think so.
1009914309
1010014310=end original
1010114311
1010214312(F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid()
1010314313システムコール (または、同等のもの) がサポートされていません;
1010414314少なくとも Configure では、そう判断されました。
1010514315
1010614316=item setruid() not implemented
1010714317
1010814318=begin original
1010914319
1011014320(F) You tried to assign to C<$<>, and your operating system doesn't
1011114321support the setruid() system call (or equivalent), or at least Configure
1011214322didn't think so.
1011314323
1011414324=end original
1011514325
1011614326(F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid()
1011714327システムコール (または、同等のもの) がサポートされていません;
1011814328少なくとも Configure では、そう判断されました。
1011914329
1012014330=item setsockopt() on closed socket %s
1012114331
1012214332=begin original
1012314333
1012414334(W closed) You tried to set a socket option on a closed socket. Did you
1012514335forget to check the return value of your socket() call? See
1012614336L<perlfunc/setsockopt>.
1012714337
1012814338=end original
1012914339
1013014340(W closed) 閉じているソケットにソケットオプションを設定しようとしました。
1013114341socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか?
1013214342L<perlfunc/setsockopt> を参照してください。
1013314343
14344=item Setting $/ to a reference to %s is forbidden
14345
14346=begin original
14347
14348(F) You assigned a reference to a scalar to C<$/> where the referenced item is
14349not a positive integer. In older perls this B<appeared> to work the same as
14350setting it to C<undef> but was in fact internally different, less efficient
14351and with very bad luck could have resulted in your file being split by a
14352stringified form of the reference.
14353
14354=end original
14355
14356(F) リファレンス先のアイテムが正の整数でないときに、
14357C<$/> にスカラへの整数を代入しました。
14358以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、
14359内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが
14360このリファレンスの文字列化形式で split されることになっていました。
14361
14362=begin original
14363
14364In Perl 5.20.0 this was changed so that it would be B<exactly> the same as
14365setting C<$/> to undef, with the exception that this warning would be thrown.
14366
14367=end original
14368
14369Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては
14370C<$/> に undef を設定するのと B<正確に> 同じになりました。
14371
14372=begin original
14373
14374You are recommended to change your code to set C<$/> to C<undef> explicitly if
14375you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference
14376to an integer which isn't positive is a fatal error.
14377
14378=end original
14379
14380ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を
14381設定するようにコードを変更することを勧めます。
14382Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は
14383致命的エラーです。
14384
14385=item Setting $/ to %s reference is forbidden
14386
14387=begin original
14388
14389(F) You tried to assign a reference to a non integer to C<$/>. In older
14390Perls this would have behaved similarly to setting it to a reference to
14391a positive integer, where the integer was the address of the reference.
14392As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl
14393to use non-integer refs for more interesting purposes.
14394
14395=end original
14396
14397(F) 非整数へのリファレンスを C<$/> に代入しようとしました。
14398以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを
14399設定するのと似たように振る舞っていました。
14400将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように
14401Perl 5.20.0 から、これは致命的エラーになりました。
14402
1013414403=item shm%s not implemented
1013514404
1013614405=begin original
1013714406
1013814407(F) You don't have System V shared memory IPC on your system.
1013914408
1014014409=end original
1014114410
1014214411(F) このシステムでは、System V 共有メモリ IPC は使えません。
1014314412
1014414413=item !=~ should be !~
1014514414
1014614415=begin original
1014714416
1014814417(W syntax) The non-matching operator is !~, not !=~. !=~ will be
1014914418interpreted as the != (numeric not equal) and ~ (1's complement)
1015014419operators: probably not what you intended.
1015114420
1015214421=end original
1015314422
1015414423(W syntax) 非マッチ演算子は !=~ ではなく !~ です。
1015514424!=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます:
1015614425おそらくあなたの意図していることではないでしょう。
1015714426
10158=item <> should be quotes
10159
10160=begin original
10161
10162(F) You wrote C<< require <file> >> when you should have written
10163C<require 'file'>.
10164
10165=end original
10166
10167(F) C<require 'file'> と書くべきところで C<< require <file> >> と
10168書いています。
10169
1017014427=item /%s/ should probably be written as "%s"
1017114428
1017214429=begin original
1017314430
1017414431(W syntax) You have used a pattern where Perl expected to find a string,
1017514432as in the first argument to C<join>. Perl will treat the true or false
1017614433result of matching the pattern against $_ as the string, which is
1017714434probably not what you had in mind.
1017814435
1017914436=end original
1018014437
1018114438(W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに
1018214439パターンを使いました。
1018314440Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として
1018414441扱いますが、これはおそらく望んでいることではないでしょう。
1018514442
1018614443=item shutdown() on closed socket %s
1018714444
1018814445=begin original
1018914446
1019014447(W closed) You tried to do a shutdown on a closed socket. Seems a bit
1019114448superfluous.
1019214449
1019314450=end original
1019414451
1019514452(W closed) クローズされたソケットに shutdown を行なおうとしました。
1019614453多少、無駄のように思われます。
1019714454
1019814455=item SIG%s handler "%s" not defined
1019914456
1020014457=begin original
1020114458
1020214459(W signal) The signal handler named in %SIG doesn't, in fact, exist.
1020314460Perhaps you put it into the wrong package?
1020414461
1020514462=end original
1020614463
1020714464(W signal) %SIG 内で指定したシグナルハンドラが、存在しません。
1020814465間違ったパッケージで、設定を行なっているのかもしれません。
1020914466
14467=item Slab leaked from cv %p
14468
14469=begin original
14470
14471(S) If you see this message, then something is seriously wrong with the
14472internal bookkeeping of op trees. An op tree needed to be freed after
14473a compilation error, but could not be found, so it was leaked instead.
14474
14475=end original
14476
14477(S) このメッセージが出た場合、構文木の内部管理で何かひどく
14478悪いことになっています。
14479ある構文木がコンパイルエラーの後で解放される必要がありますが、
14480見つからないので、リークしています。
14481
14482=item sleep(%u) too large
14483
14484=begin original
14485
14486(W overflow) You called C<sleep> with a number that was larger than
14487it can reliably handle and C<sleep> probably slept for less time than
14488requested.
14489
14490=end original
14491
14492(W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、
14493C<sleep> はおそらく指定されたより短い時間だけスリープします。
14494
14495=item Slurpy parameter not last
14496
14497=begin original
14498
14499(F) In a subroutine signature, you put something after a slurpy (array or
14500hash) parameter. The slurpy parameter takes all the available arguments,
14501so there can't be any left to fill later parameters.
14502
14503=end original
14504
14505(F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に
14506何かを起きました。
14507吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに
14508対応するものを残しません。
14509
1021014510=item Smart matching a non-overloaded object breaks encapsulation
1021114511
1021214512=begin original
1021314513
1021414514(F) You should not use the C<~~> operator on an object that does not
10215overload it: Perl refuses to use the object's underlying structure for
14515overload it: Perl refuses to use the object's underlying structure
10216the smart match.
14516for the smart match.
1021714517
1021814518=end original
1021914519
1022014520(F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を
1022114521使うべきではありません: Perl はスマートマッチング時にオブジェクトの
1022214522基礎となる構造を使うことを拒否します。
1022314523
14524=item Smartmatch is deprecated
14525
14526=begin original
14527
14528(D deprecated::smartmatch) This warning is emitted if you
14529use the smartmatch (C<~~>) operator. This is a deprecated
14530feature. Particularly, its behavior is noticed for being
14531unnecessarily complex and unintuitive, and it will be removed
14532in Perl 5.42.
14533
14534=end original
14535
14536(D deprecated::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を
14537使ったときに出力されます。
14538これは廃止予定の機能です。
14539特に、この実装は不必要に複雑かつ直感的でないとされており、
14540Perl 5.42 で削除される予定です。
14541
14542=item Sorry, hash keys must be smaller than 2**31 bytes
14543
14544=begin original
14545
14546(F) You tried to create a hash containing a very large key, where "very
14547large" means that it needs at least 2 gigabytes to store. Unfortunately,
14548Perl doesn't yet handle such large hash keys. You should
14549reconsider your design to avoid hashing such a long string directly.
14550
14551=end original
14552
14553(F) とても大きなキーを含むハッシュを作ろうとしました;
14554ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。
14555残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。
14556そのような長い文字列で直接ハッシュを作るのを避けるように、
14557設計を再考する必要があります。
14558
1022414559=item sort is now a reserved word
1022514560
1022614561=begin original
1022714562
1022814563(F) An ancient error message that almost nobody ever runs into anymore.
1022914564But before sort was a keyword, people sometimes used it as a filehandle.
1023014565
1023114566=end original
1023214567
1023314568(F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。
1023414569ただ、sort がキーワードとなる前には、これをファイルハンドルとして
1023514570使う方がいました。
1023614571
10237=item Sort subroutine didn't return single value
14572=item Source filters apply only to byte streams
1023814573
1023914574=begin original
1024014575
10241(F) A sort comparison subroutine may not return a list value with more
14576(F) You tried to activate a source filter (usually by loading a
10242or less than one element. See L<perlfunc/sort>.
14577source filter module) within a string passed to C<eval>. This is
14578not permitted under the C<unicode_eval> feature. Consider using
14579C<evalbytes> instead. See L<feature>.
1024314580
1024414581=end original
1024514582
10246(F) sort比較サブルーチン、要素が 1 個以外のリト値
14583(F) C<eval> に渡された文字列中で(通常ソーフィルタモジュール
10247返すことせん
14584読み込むことで)ソースフィルタを有効にしようとしした
10248L<perlfunc/sort> を参照してください。
14585これは C<unicode_eval> 機能が有効の場合は許れてません
14586代わりに C<evalbytes> を使うことを検討してください。
14587L<feature> を参照してください。
1024914588
1025014589=item splice() offset past end of array
1025114590
1025214591=begin original
1025314592
1025414593(W misc) You attempted to specify an offset that was past the end of
10255the array passed to splice(). Splicing will instead commence at the end
14594the array passed to splice(). Splicing will instead commence at the
10256of the array, rather than past it. If this isn't what you want, try
14595end of the array, rather than past it. If this isn't what you want,
10257explicitly pre-extending the array by assigning $#array = $offset. See
14596try explicitly pre-extending the array by assigning $#array = $offset.
10258L<perlfunc/splice>.
14597See L<perlfunc/splice>.
1025914598
1026014599=end original
1026114600
1026214601(W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。
1026314602splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。
1026414603これが望んでいることではないなら、$#array = $offset と代入することで
1026514604明示的に事前に配列を拡張してください。
1026614605L<perlfunc/splice> を参照してください。
1026714606
1026814607=item Split loop
1026914608
1027014609=begin original
1027114610
1027214611(P) The split was looping infinitely. (Obviously, a split shouldn't
1027314612iterate more times than there are characters of input, which is what
10274happened.) See L<perlfunc/split>.
14613happened.) See L<perlfunc/split>.
1027514614
1027614615=end original
1027714616
1027814617(P) split が無限ループに陥りました。
1027914618(明らかに、split は、入力文字数以上にはできないはずですが、
1028014619そうなってしまいました。) 
1028114620L<perlfunc/split> を参照してください。
1028214621
1028314622=item Statement unlikely to be reached
1028414623
1028514624=begin original
1028614625
1028714626(W exec) You did an exec() with some statement after it other than a
1028814627die(). This is almost always an error, because exec() never returns
1028914628unless there was a failure. You probably wanted to use system()
1029014629instead, which does return. To suppress this warning, put the exec() in
1029114630a block by itself.
1029214631
1029314632=end original
1029414633
1029514634(W exec) exec() の後に、die() 以外の実行文があります。
1029614635失敗したとき以外は、exec() から戻ってくることはありませんから、
1029714636ほとんどの場合には誤りでしょう。
1029814637戻ってくるsystem() に置き換える必要があるかもしれません。
1029914638この警告を止めるには、ブロック内に exec() だけを記述してください。
1030014639
14640=item "state" subroutine %s can't be in a package
14641
14642=begin original
14643
14644(F) Lexically scoped subroutines aren't in a package, so it doesn't make
14645sense to try to declare one with a package qualifier on the front.
14646
14647=end original
14648
14649(F) レキシカルスコープサブルーチンはパッケージ内にないので、
14650頭にパッケージ名を付けて宣言することは、無意味です。
14651
14652=item "state %s" used in sort comparison
14653
14654=begin original
14655
14656(W syntax) The package variables $a and $b are used for sort comparisons.
14657You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a
14658sort comparison block, and the variable had earlier been declared as a
14659lexical variable. Either qualify the sort variable with the package
14660name, or rename the lexical variable.
14661
14662=end original
14663
14664(W syntax) パッケージ変数 $a と $b はソート比較のために使われます。
14665$a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の
14666オペランドとして使いましたが、この変数はその前にレキシカル変数として
14667宣言されています。
14668ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
14669
1030114670=item "state" variable %s can't be in a package
1030214671
1030314672=begin original
1030414673
1030514674(F) Lexically scoped variables aren't in a package, so it doesn't make
1030614675sense to try to declare one with a package qualifier on the front. Use
1030714676local() if you want to localize a package variable.
1030814677
1030914678=end original
1031014679
10311(F) 字句スコープの変数パッケージ内に置かれませんので、
14680(F) レキシカルスコープサブルーチンはパッケージ内にないので、
1031214681頭にパッケージ名を付けて宣言することは、無意味です。
1031314682パッケージ変数をローカル化したい場合には、local() を使ってください。
1031414683
1031514684=item stat() on unopened filehandle %s
1031614685
1031714686=begin original
1031814687
1031914688(W unopened) You tried to use the stat() function on a filehandle that
1032014689was either never opened or has since been closed.
1032114690
1032214691=end original
1032314692
1032414693(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1032514694ファイルハンドルに対して、stat() 関数を使おうとしました。
1032614695
14696=item Strings with code points over 0xFF may not be mapped into in-memory file handles
14697
14698=begin original
14699
14700(W utf8) You tried to open a reference to a scalar for read or append
14701where the scalar contained code points over 0xFF. In-memory files
14702model on-disk files and can only contain bytes.
14703
14704=end original
14705
14706(W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で
14707スカラへのリファレンスを開こうとしました。
14708インメモリファイルはディスクのファイルをモデル化していて、バイトのみが
14709使えます。
14710
1032714711=item Stub found while resolving method "%s" overloading "%s" in package "%s"
1032814712
1032914713=begin original
1033014714
1033114715(P) Overloading resolution over @ISA tree may be broken by importation
1033214716stubs. Stubs should never be implicitly created, but explicit calls to
1033314717C<can> may break this.
1033414718
1033514719=end original
1033614720
1033714721(P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。
1033814722スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと
1033914723これを破壊することがあります。
1034014724
14725=item Subroutine attributes must come before the signature
14726
14727=begin original
14728
14729(F) When subroutine signatures are enabled, any subroutine attributes must
14730come before the signature. Note that this order was the opposite in
14731versions 5.22..5.26. So:
14732
14733=end original
14734
14735(F) サブルーチンシグネチャが有効の場合、サブルーチン属性は
14736シグネチャの前に来なければなりません。
14737この順序はバージョン 5.22..5.26 と反対であることに注意してください。
14738従って:
14739
14740 sub foo :lvalue ($x, $y) { ... } # 5.20 and 5.28 +
14741 sub foo ($x, $y) :lvalue { ... } # 5.22 .. 5.26
14742
14743=item Subroutine "&%s" is not available
14744
14745=begin original
14746
14747(W closure) During compilation, an inner named subroutine or eval is
14748attempting to capture an outer lexical subroutine that is not currently
14749available. This can happen for one of two reasons. First, the lexical
14750subroutine may be declared in an outer anonymous subroutine that has
14751not yet been created. (Remember that named subs are created at compile
14752time, while anonymous subs are created at run-time.) For example,
14753
14754=end original
14755
14756(W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在
14757利用できない外側のレキシカルサブルーチンを捕捉しようとしました。
14758これは二つの理由で起こります。
14759まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで
14760宣言されたときです。
14761(名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは
14762実行時に作成されることを思い出してください。)
14763例えば、
14764
14765 sub { my sub a {...} sub f { \&a } }
14766
14767=begin original
14768
14769At the time that f is created, it can't capture the current "a" sub,
14770since the anonymous subroutine hasn't been created yet. Conversely, the
14771following won't give a warning since the anonymous subroutine has by now
14772been created and is live:
14773
14774=end original
14775
14776f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら
14777無名サブルーチンはまだ作成されていないからです。
14778逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて
14779生きているからです:
14780
14781 sub { my sub a {...} eval 'sub f { \&a }' }->();
14782
14783=begin original
14784
14785The second situation is caused by an eval accessing a lexical subroutine
14786that has gone out of scope, for example,
14787
14788=end original
14789
147902 番目の状況は eval がスコープ外となったレキシカルサブルーチンに
14791アクセスすることで起こります; 例えば:
14792
14793 sub f {
14794 my sub a {...}
14795 sub { eval '\&a' }
14796 }
14797 f()->();
14798
14799=begin original
14800
14801Here, when the '\&a' in the eval is being compiled, f() is not currently
14802being executed, so its &a is not available for capture.
14803
14804=end original
14805
14806ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では
14807実行されていないので、&a は捕捉として利用できません。
14808
14809=item "%s" subroutine &%s masks earlier declaration in same %s
14810
14811=begin original
14812
14813(W shadow) A "my" or "state" subroutine has been redeclared in the
14814current scope or statement, effectively eliminating all access to
14815the previous instance. This is almost always a typographical error.
14816Note that the earlier subroutine will still exist until the end of
14817the scope or until all closure references to it are destroyed.
14818
14819=end original
14820
14821(W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で
14822再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。
14823これはほとんど常にタイプミスです。
14824最初のサブルーチンはスコープの末尾に到達するか、これを参照している
14825全てのクロージャが破壊されるまで存在したままであることに注意してください。
14826
1034114827=item Subroutine %s redefined
1034214828
1034314829=begin original
1034414830
1034514831(W redefine) You redefined a subroutine. To suppress this warning, say
1034614832
1034714833=end original
1034814834
1034914835(W redefine) サブルーチンを再定義しました。
1035014836この警告を止めるには以下のようにしてください:
1035114837
1035214838 {
1035314839 no warnings 'redefine';
1035414840 eval "sub name { ... }";
1035514841 }
1035614842
14843=item Subroutine "%s" will not stay shared
14844
14845=begin original
14846
14847(W closure) An inner (nested) I<named> subroutine is referencing a "my"
14848subroutine defined in an outer named subroutine.
14849
14850=end original
14851
14852(W closure) 内側の (ネストした) I<名前付き> サブルーチンが、
14853外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。
14854
14855=begin original
14856
14857When the inner subroutine is called, it will see the value of the outer
14858subroutine's lexical subroutine as it was before and during the *first*
14859call to the outer subroutine; in this case, after the first call to the
14860outer subroutine is complete, the inner and outer subroutines will no
14861longer share a common value for the lexical subroutine. In other words,
14862it will no longer be shared. This will especially make a difference
14863if the lexical subroutines accesses lexical variables declared in its
14864surrounding scope.
14865
14866=end original
14867
14868内側のサブルーチンが呼び出されるとき、
14869外側のサブルーチンのレキシカルサブルーチンの値は、
14870外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります;
14871この場合、外側のサブルーチンへの最初の呼び出しが終了した後、
14872内側と外側のサブルーチンはもはやレキシカルサブルーチンについて
14873共通の値を共有しません。
14874言い換えると、これはもはや共有されません。
14875これは特に、レキシカルサブルーチンがその周りのスコープで宣言された
14876レキシカル変数にアクセスしたときに違いがあります。
14877
14878=begin original
14879
14880This problem can usually be solved by making the inner subroutine
14881anonymous, using the C<sub {}> syntax. When inner anonymous subs that
14882reference lexical subroutines in outer subroutines are created, they
14883are automatically rebound to the current values of such lexical subs.
14884
14885=end original
14886
14887この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで
14888解決します。
14889外側のサブルーチンのレキシカルサブルーチンを参照する内側の
14890無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に
14891自動的に回復します。
14892
1035714893=item Substitution loop
1035814894
1035914895=begin original
1036014896
1036114897(P) The substitution was looping infinitely. (Obviously, a substitution
1036214898shouldn't iterate more times than there are characters of input, which
1036314899is what happened.) See the discussion of substitution in
1036414900L<perlop/"Regexp Quote-Like Operators">.
1036514901
1036614902=end original
1036714903
1036814904(P) 置換が無限ループに陥りました。
1036914905(明らかに、置換は入力文字数以上には起こらないはずですが、
1037014906それが起こってしまいました。)
1037114907L<perlop/"Quote and Quote-Like Operators"> を参照してください。
1037214908
1037314909=item Substitution pattern not terminated
1037414910
1037514911=begin original
1037614912
1037714913(F) The lexer couldn't find the interior delimiter of an s/// or s{}{}
1037814914construct. Remember that bracketing delimiters count nesting level.
1037914915Missing the leading C<$> from variable C<$s> may cause this error.
1038014916
1038114917=end original
1038214918
1038314919(F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。
1038414920かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1038514921C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1038614922
1038714923=item Substitution replacement not terminated
1038814924
1038914925=begin original
1039014926
1039114927(F) The lexer couldn't find the final delimiter of an s/// or s{}{}
1039214928construct. Remember that bracketing delimiters count nesting level.
1039314929Missing the leading C<$> from variable C<$s> may cause this error.
1039414930
1039514931=end original
1039614932
1039714933(F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。
1039814934かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1039914935C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1040014936
1040114937=item substr outside of string
1040214938
1040314939=begin original
1040414940
10405(W substr),(F) You tried to reference a substr() that pointed outside of
14941(W substr)(F) You tried to reference a substr() that pointed outside of
1040614942a string. That is, the absolute value of the offset was larger than the
1040714943length of the string. See L<perlfunc/substr>. This warning is fatal if
1040814944substr is used in an lvalue context (as the left hand side of an
1040914945assignment or as a subroutine argument for example).
1041014946
1041114947=end original
1041214948
10413(W substr),(F) 文字列の外を指す substr() を参照しようとしました。
14949(W substr)(F) 文字列の外を指す substr() を参照しようとしました。
1041414950つまり、オフセットの絶対値が、文字列の長さより大きくなっています。
1041514951L<perlfunc/substr> を参照してください。
1041614952この警告は、substr が(代入の左側やサブルーチンの引数といった)
1041714953左辺値として使われた場合は致命的となります。
1041814954
1041914955=item sv_upgrade from type %d down to type %d
1042014956
1042114957=begin original
1042214958
1042314959(P) Perl tried to force the upgrade of an SV to a type which was actually
1042414960inferior to its current type.
1042514961
1042614962=end original
1042714963
1042814964(P) Perl は SV を、実際には現在の型より下位の型への昇格を
1042914965強制しようとしました。
1043014966
10431=item Switch (?(condition)... contains too many branches in regex; marked by <-- HERE in m/%s/
14967=item Switch (?(condition)... contains too many branches in regex; marked by
14968S<<-- HERE> in m/%s/
1043214969
1043314970=begin original
1043414971
10435(F) A (?(condition)if-clause|else-clause) construct can have at most two
14972(F) A (?(condition)if-clause|else-clause) construct can have at most
10436branches (the if-clause and the else-clause). If you want one or both to
14973two branches (the if-clause and the else-clause). If you want one or
10437contain alternation, such as using C<this|that|other>, enclose it in
14974both to contain alternation, such as using C<this|that|other>, enclose
10438clustering parentheses:
14975it in clustering parentheses:
1043914976
1044014977=end original
1044114978
1044214979(F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐
1044314980(if-clause と else-clause) を持つことができます。
1044414981片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください:
1044514982
1044614983 (?(condition)(?:this|that|other)|else-clause)
1044714984
1044814985=begin original
1044914986
10450The <-- HERE shows in the regular expression about where the problem was
14987The S<<-- HERE> shows whereabouts in the regular expression the problem
10451discovered. See L<perlre>.
14988was discovered. See L<perlre>.
1045214989
1045314990=end original
1045414991
10455<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14992S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1045614993L<perlre> を参照してください。
1045714994
10458=item Switch condition not recognized in regex; marked by <-- HERE in m/%s/
14995=item Switch condition not recognized in regex; marked by S<<-- HERE> in
14996m/%s/
1045914997
1046014998=begin original
1046114999
10462(F) If the argument to the (?(...)if-clause|else-clause) construct is
15000(F) The condition part of a (?(condition)if-clause|else-clause) construct
10463a number, it can be only a number. The <-- HERE shows in the regular
15001is not known. The condition must be one of the following:
10464expression about where the problem was discovered. See L<perlre>.
1046515002
1046615003=end original
1046715004
10468(?(...)if-clause|else-clause) 構造の引数数値なら、数値だけが可能です。
15005(?(...)if-clause|else-clause) 構造の条件部不明です。
10469<-- HERE で正規表現どこに問題が発見さを示してい
15006条件は以下いずれかでなければなりせん
15007
15008 (1) (2) ... true if 1st, 2nd, etc., capture matched
15009 (<NAME>) ('NAME') true if named capture matched
15010 (?=...) (?<=...) true if subpattern matches
15011 (?!...) (?<!...) true if subpattern fails to match
15012 (?{ CODE }) true if code returns a true value
15013 (R) true if evaluating inside recursion
15014 (R1) (R2) ... true if directly inside capture group 1, 2, etc.
15015 (R&NAME) true if directly inside named capture
15016 (DEFINE) always false; for defining named subpatterns
15017
15018=begin original
15019
15020The S<<-- HERE> shows whereabouts in the regular expression the problem was
15021discovered. See L<perlre>.
15022
15023=end original
15024
15025S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1047015026L<perlre> を参照してください。
1047115027
10472=item switching effective %s is not implemented
15028=item Switch (?(condition)... not terminated in regex; marked by
15029S<<-- HERE> in m/%s/
1047315030
1047415031=begin original
1047515032
10476(F) While under the C<use filetest> pragma, we cannot switch the real
15033(F) You omitted to close a (?(condition)...) block somewhere
10477and effective uids or gids.
15034in the pattern. Add a closing parenthesis in the appropriate
15035position. See L<perlre>.
1047815036
1047915037=end original
1048015038
10481(F) C<use filetest> プラグマ使ってい間に、
15039(F) パターン中のどこかで (?(condition)...) ブロック閉じのを省略しました。
10482実と実効の UID や GID のり替え失敗ました
15040な位置閉じかっこを追加てください
15041L<perlre> を参照してください。
1048315042
10484=item %s syntax OK
15043=item switching effective %s is not implemented
1048515044
1048615045=begin original
1048715046
10488(F) The final summary message when a C<perl -c> succeeds.
15047(F) While under the C<use filetest> pragma, we cannot switch the real
15048and effective uids or gids.
1048915049
1049015050=end original
1049115051
10492(F) C<perl -c> が成功したときの最終まとめメッセージです。
15052(F) C<use filetest> プラグマを使っている間に、
15053実と実効の UID や GID の切り替えに失敗しました。
1049315054
1049415055=item syntax error
1049515056
1049615057=begin original
1049715058
1049815059(F) Probably means you had a syntax error. Common reasons include:
1049915060
1050015061=end original
1050115062
1050215063(F) おそらく、構文エラーが起こっています。
1050315064よくある原因としては以下のことが考えられます:
1050415065
1050515066=begin original
1050615067
1050715068 A keyword is misspelled.
1050815069 A semicolon is missing.
1050915070 A comma is missing.
1051015071 An opening or closing parenthesis is missing.
1051115072 An opening or closing brace is missing.
1051215073 A closing quote is missing.
1051315074
1051415075=end original
1051515076
1051615077 キーワードのスペルミス。
1051715078 セミコロンを忘れた。
1051815079 コンマを忘れた。
1051915080 開きかっこ、閉じかっこを忘れた。
1052015081 開き中かっこ、閉じ中かっこを忘れた。
1052115082 クォートの閉じ忘れ。
1052215083
1052315084=begin original
1052415085
1052515086Often there will be another error message associated with the syntax
1052615087error giving more information. (Sometimes it helps to turn on B<-w>.)
1052715088The error message itself often tells you where it was in the line when
1052815089it decided to give up. Sometimes the actual error is several tokens
1052915090before this, because Perl is good at understanding random input.
1053015091Occasionally the line number may be misleading, and once in a blue moon
1053115092the only way to figure out what's triggering the error is to call
1053215093C<perl -c> repeatedly, chopping away half the program each time to see
10533if the error went away. Sort of the cybernetic version of S<20
15094if the error went away. Sort of the cybernetic version of S<20 questions>.
10534questions>.
1053515095
1053615096=end original
1053715097
1053815098多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、
1053915099情報を与えてくれます。(-w を付けることが、助けになることもあります。)
1054015100エラーメッセージ自身には、何行目まで行って、諦めたのかということも
1054115101含まれています。
1054215102Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に
1054315103在ることもあります。
1054415104ときには、行番号が全く役に立たないこともあり、はまってしまったなら、
1054515105エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、
1054615106エラーがなくなるまで、perl -c を繰り返すしかありません。
1054715107S<頭の体操 20 問>だと思ってください。
1054815108
10549=item syntax error at line %d: `%s' unexpected
15109=item syntax error at line %d: '%s' unexpected
1055015110
1055115111=begin original
1055215112
1055315113(A) You've accidentally run your script through the Bourne shell instead
1055415114of Perl. Check the #! line, or manually feed your script into Perl
1055515115yourself.
1055615116
1055715117=end original
1055815118
1055915119(A) スクリプトを perl ではなく Bourne shell で実行しようとしました。
10560#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
15120#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1056115121
1056215122=item syntax error in file %s at line %d, next 2 tokens "%s"
1056315123
1056415124=begin original
1056515125
1056615126(F) This error is likely to occur if you run a perl5 script through
1056715127a perl4 interpreter, especially if the next 2 tokens are "use strict"
1056815128or "my $var" or "our $var".
1056915129
1057015130=end original
1057115131
1057215132(F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに
1057315133おきそうなものです; 特に次の二つのトークンが "use strict" か
1057415134"my $var" か "our $var" の場合はそうです。
1057515135
15136=item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/
15137
15138=begin original
15139
15140(F) Perl could not figure out what you meant inside this construct; this
15141notifies you that it is giving up trying.
15142
15143=end original
15144
15145(F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした;
15146これは試すのを諦めたことを知らせます。
15147
15148=item %s syntax OK
15149
15150=begin original
15151
15152(F) The final summary message when a C<perl -c> succeeds.
15153
15154=end original
15155
15156(F) C<perl -c> が成功したときの最終まとめメッセージです。
15157
1057615158=item sysread() on closed filehandle %s
1057715159
1057815160=begin original
1057915161
1058015162(W closed) You tried to read from a closed filehandle.
1058115163
1058215164=end original
1058315165
1058415166(W closed) 閉じたファイルハンドルから読み込もうとしました。
1058515167
1058615168=item sysread() on unopened filehandle %s
1058715169
1058815170=begin original
1058915171
1059015172(W unopened) You tried to read from a filehandle that was never opened.
1059115173
1059215174=end original
1059315175
1059415176(W unopened) 開いていないファイルハンドルから読み込もうとしました。
1059515177
1059615178=item System V %s is not implemented on this machine
1059715179
1059815180=begin original
1059915181
1060015182(F) You tried to do something with a function beginning with "sem",
1060115183"shm", or "msg" but that System V IPC is not implemented in your
1060215184machine. In some machines the functionality can exist but be
1060315185unconfigured. Consult your system support.
1060415186
1060515187=end original
1060615188
1060715189(F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、
1060815190あなたのマシンには System V IPC が実装されていません。
1060915191機能はあっても設定されていない場合もあります。
1061015192システムサポートに相談してください。
1061115193
1061215194=item syswrite() on closed filehandle %s
1061315195
1061415196=begin original
1061515197
1061615198(W closed) The filehandle you're writing to got itself closed sometime
1061715199before now. Check your control flow.
1061815200
1061915201=end original
1062015202
1062115203(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
1062215204制御フローをチェックしてください。
1062315205
1062415206=item C<-T> and C<-B> not implemented on filehandles
1062515207
1062615208=begin original
1062715209
1062815210(F) Perl can't peek at the stdio buffer of filehandles when it doesn't
1062915211know about your kind of stdio. You'll have to use a filename instead.
1063015212
1063115213=end original
1063215214
1063315215(F) Perl が、お使いの stdio のことをよく知らないとき、
1063415216ファイルハンドルの stdio バッファを覗くことはできません。
1063515217代わりにファイル名を使わなければなりません。
1063615218
1063715219=item Target of goto is too deeply nested
1063815220
1063915221=begin original
1064015222
1064115223(F) You tried to use C<goto> to reach a label that was too deeply nested
1064215224for Perl to reach. Perl is doing you a favor by refusing.
1064315225
1064415226=end original
1064515227
1064615228(F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。
1064715229Perl は親切にもこれを拒否します。
1064815230
1064915231=item telldir() attempted on invalid dirhandle %s
1065015232
1065115233=begin original
1065215234
1065315235(W io) The dirhandle you tried to telldir() is either closed or not really
1065415236a dirhandle. Check your control flow.
1065515237
1065615238=end original
1065715239
1065815240(W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、
1065915241実際にはディレクトリハンドルではありません。
1066015242制御フローをチェックしてください。
1066115243
1066215244=item tell() on unopened filehandle
1066315245
1066415246=begin original
1066515247
1066615248(W unopened) You tried to use the tell() function on a filehandle that
1066715249was either never opened or has since been closed.
1066815250
1066915251=end original
1067015252
1067115253(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1067215254ファイルハンドルに対して、tell() 関数を使おうとしました。
1067315255
10674=item That use of $[ is unsupported
15256=item The crypt() function is unimplemented due to excessive paranoia.
1067515257
1067615258=begin original
1067715259
10678(F) Assignment to C<$[> is now strictly circumscribed, and interpreted
15260(F) Configure couldn't find the crypt() function on your machine,
10679as a compiler directive. You may say only one of
15261probably because your vendor didn't supply it, probably because they
15262think the U.S. Government thinks it's a secret, or at least that they
15263will continue to pretend that it is. And if you quote me on that, I
15264will deny it.
1068015265
1068115266=end original
1068215267
10683(F) 現在、C<$[> への代入は、厳しく制限され、コパイラ指示子と解釈されます。
15268(F) Configure は、マシ上で crypt() 関数を見つけられませんでした;
10684使えるは以下の形だけす:
15269おそらく、ベンダから供給がなかったから、おそらく、ベンダは
15270アメリカ政府がそれを秘密だとしていると思っているか、
15271少なくとも思っているというふりをしているのでしょう。
15272私を引き合いに出したところで、それは否定されることでしょう。
1068515273
10686 $[ = 0;
15274=item The experimental declared_refs feature is not enabled
10687 $[ = 1;
10688 ...
10689 local $[ = 0;
10690 local $[ = 1;
10691 ...
1069215275
1069315276=begin original
1069415277
10695This is to prevent the problem of one module changing the array base out
15278(F) To declare references to variables, as in C<my \%x>, you must first enable
10696from under another module inadvertently. See L<perlvar/$[>.
15279the feature:
1069715280
1069815281=end original
1069915282
10700これは、一つモジュールで、他のモジュールが意図しないよう
15283(F) C<my \%x> のように、変数へのリファレンスを定義するには
10701配列ベース変更する問題を回避するためのものです。
15284最初にこ機能有効にしなければなりません:
10702L<perlvar/$[> を参照してください。
1070315285
10704=item The crypt() function is unimplemented due to excessive paranoia
15286 no warnings "experimental::declared_refs";
15287 use feature "declared_refs";
1070515288
15289=item The %s function is unimplemented
15290
1070615291=begin original
1070715292
10708(F) Configure couldn't find the crypt() function on your machine,
15293(F) The function indicated isn't implemented on this architecture,
10709probably because your vendor didn't supply it, probably because they
15294according to the probings of Configure.
10710think the U.S. Government thinks it's a secret, or at least that they
10711will continue to pretend that it is. And if you quote me on that, I
10712will deny it.
1071315295
1071415296=end original
1071515297
10716(F) Configure マシン上 crypt() 関数を見つけられませんでした;
15298(F) この関数は、Configure の調査によるとこのアーキテクチャは、
10717おそらく、ベンダからの供給がかったから、おそらく、ベンダは
15299実装されていいようす。
10718アメリカ政府がそれを秘密だとしていると思っているか、
10719少なくとも思っているというふりをしているのでしょう。
10720私を引き合いに出したところで、それは否定されることでしょう。
1072115300
10722=item The %s function is unimplemented
15301=item The private_use feature is experimental
1072315302
1072415303=begin original
1072515304
10726(F) The function indicated isn't implemented on this architecture, according
15305(S experimental::private_use) This feature is actually a hook for future
10727to the probings of Configure.
15306use.
1072815307
1072915308=end original
1073015309
10731(F) この関数は、Configure の調査によると、このアーキテクチャで
15310(S experimental::private_use) この機能実際には将来の使用のための
10732実装されていないようです。
15311フックです。
1073315312
1073415313=item The stat preceding %s wasn't an lstat
1073515314
1073615315=begin original
1073715316
1073815317(F) It makes no sense to test the current stat buffer for symbolic
1073915318linkhood if the last stat that wrote to the stat buffer already went
1074015319past the symlink to get to the real file. Use an actual filename
1074115320instead.
1074215321
1074315322=end original
1074415323
1074515324(F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの
1074615325情報を取って、stat バッファに入れているときに、シンボリックタイプの
1074715326stat をカレント stat バッファに対して行なっても意味がありません。
1074815327実際のファイル名を使ってください。
1074915328
15329=item The Unicode property wildcards feature is experimental
15330
15331=begin original
15332
15333(S experimental::uniprop_wildcards) This feature is experimental
15334and its behavior may in any future release of perl. See
15335L<perlunicode/Wildcards in Property Values>.
15336
15337=end original
15338
15339(S experimental::uniprop_wildcards) この機能は実験的で、
15340その振る舞いは将来のリリースの perl で変わるかもしれません。
15341L<perlunicode/Wildcards in Property Values> を参照してください。
15342
1075015343=item The 'unique' attribute may only be applied to 'our' variables
1075115344
1075215345=begin original
1075315346
1075415347(F) This attribute was never supported on C<my> or C<sub> declarations.
1075515348
1075615349=end original
1075715350
1075815351(F) この属性は C<my> や C<sub> の宣言では対応していません。
1075915352
1076015353=item This Perl can't reset CRTL environ elements (%s)
1076115354
1076215355=item This Perl can't set CRTL environ elements (%s=%s)
1076315356
1076415357=begin original
1076515358
1076615359(W internal) Warnings peculiar to VMS. You tried to change or delete an
1076715360element of the CRTL's internal environ array, but your copy of Perl
1076815361wasn't built with a CRTL that contained the setenv() function. You'll
1076915362need to rebuild Perl with a CRTL that does, or redefine
1077015363F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the
1077115364target of the change to
1077215365%ENV which produced the warning.
1077315366
1077415367=end original
1077515368
1077615369(W internal) VMS に固有の警告です。
1077715370CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は
1077815371setenv() 関数を含んだ CRTL でビルドされていません。
1077915372これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を
1078015373出力している %ENV を変更するターゲットとならないように
1078115374F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。
1078215375
10783=item thread failed to start: %s
15376=item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set().
1078415377
1078515378=begin original
1078615379
10787(W threads)(S) The entry point function of threads->create() failed for some reason.
15380(F) Something has attempted to use an internal API call which
15381depends on Perl being compiled with the default support for randomized hash
15382key traversal, but this Perl has been compiled without it. You should
15383report this warning to the relevant upstream party, or recompile perl
15384with default options.
1078815385
1078915386=end original
1079015387
10791(W threads)(S) threads->create() のエントリポイント関数何らかの理由
15388(F) 何かが、Perlデフォルト対応しているランダム化されたハッシュキー検索に
10792失敗しました
15389依存た 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで
15390コンパイルされていました。
15391この警告を関係する上流グループに報告するか、デフォルトオプションで perl を
15392再コンパイルしてください。
1079315393
15394=item This use of my() in false conditional is no longer allowed
15395
15396=begin original
15397
15398(F) You used a declaration similar to C<my $x if 0>. There
15399has been a long-standing bug in Perl that causes a lexical variable
15400not to be cleared at scope exit when its declaration includes a false
15401conditional. Some people have exploited this bug to achieve a kind of
15402static variable. Since we intend to fix this bug, we don't want people
15403relying on this behavior. You can achieve a similar static effect by
15404declaring the variable in a separate block outside the function, eg
15405
15406=end original
15407
15408(F) C<my $x if 0> のような千眼を使いました。
15409宣言が偽の条件のとき、スコープを抜けてもレキシカル変数がクリアされないという
15410長年のバグが Perl にはありました。
15411一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。
15412私たちはこのバグを修正したいので、人々にこの振る舞いに
15413依存してほしくありません。
15414関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を
15415得られます; 例えば:
15416
15417 sub f { my $x if 0; return $x++ }
15418
15419=begin original
15420
15421becomes
15422
15423=end original
15424
15425これは次のようになります:
15426
15427 { my $x; sub f { return $x++ } }
15428
15429=begin original
15430
15431Beginning with perl 5.10.0, you can also use C<state> variables to have
15432lexicals that are initialized only once (see L<feature>):
15433
15434=end original
15435
15436perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も
15437使えます (L<feature> を参照してください):
15438
15439 sub f { state $x; return $x++ }
15440
15441=begin original
15442
15443This use of C<my()> in a false conditional was deprecated beginning in
15444Perl 5.10 and became a fatal error in Perl 5.30.
15445
15446=end original
15447
15448偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、
15449Perl 5.30 で致命的エラーになりました。
15450
15451=item Timeout waiting for another thread to define \p{%s}
15452
15453=begin original
15454
15455(F) The first time a user-defined property
15456(L<perlunicode/User-Defined Character Properties>) is used, its
15457definition is looked up and converted into an internal form for more
15458efficient handling in subsequent uses. There could be a race if two or
15459more threads tried to do this processing nearly simultaneously.
15460Instead, a critical section is created around this task, locking out all
15461but one thread from doing it. This message indicates that the thread
15462that is doing the conversion is taking an unexpectedly long time. The
15463timeout exists solely to prevent deadlock; it's long enough that the
15464system was likely thrashing and about to crash. There is no real remedy but
15465rebooting.
15466
15467=end original
15468
15469(F) ユーザー定義属性 (L<perlunicode/User-Defined Character Properties>) が
15470最初に使われるとき、その定義は検索され、引き続く使用時により効率的に
15471扱えるように内部形式に変換されます。
15472複数のスレッドがこれをほぼ同時に実行しようとすると、競合が
15473発生することがあります。
15474その代わりに、このタスクの周りにクリティカルセクションが作られ、
15475一つのスレッド以外がこれをすることを締め出します。
15476このメッセージは、変換を行うスレッドが想定外に長い時間が掛かっていることを
15477示しています。
15478時間切れはデッドロックを防ぐためだけに存在しています;
15479これは十分に長いので、システムはおそらくスラッシングを起こしていて、
15480クラッシュ寸前です。
15481再起動以外に実際の解決策はありません。
15482
1079415483=item times not implemented
1079515484
1079615485=begin original
1079715486
1079815487(F) Your version of the C library apparently doesn't do times(). I
1079915488suspect you're not running on Unix.
1080015489
1080115490=end original
1080215491
1080315492(F) お使いの C ライブラリでは、times() を行わないようです。
1080415493UNIX ではない環境でしょうか。
1080515494
1080615495=item "-T" is on the #! line, it must also be used on the command line
1080715496
1080815497=begin original
1080915498
10810(X) The #! line (or local equivalent) in a Perl script contains the
15499(X) The #! line (or local equivalent) in a Perl script contains
10811B<-T> option (or the B<-t> option), but Perl was not invoked with B<-T> in its command line.
15500the B<-T> option (or the B<-t> option), but Perl was not invoked with
10812This is an error because, by the time Perl discovers a B<-T> in a
15501B<-T> in its command line. This is an error because, by the time
10813script, it's too late to properly taint everything from the environment.
15502Perl discovers a B<-T> in a script, it's too late to properly taint
10814So Perl gives up.
15503everything from the environment. So Perl gives up.
1081515504
1081615505=end original
1081715506
1081815507(X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T>
1081915508オプション (または B<-t> オプション) が含まれていますが、Perl は
1082015509コマンドラインで B<-T> 付きで起動されていません。
1082115510Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを
1082215511汚染チェックするには遅すぎるので、これはエラーになります。
1082315512それで Perl は諦めます。
1082415513
1082515514=begin original
1082615515
1082715516If the Perl script is being executed as a command using the #!
10828mechanism (or its local equivalent), this error can usually be fixed by
15517mechanism (or its local equivalent), this error can usually be
10829editing the #! line so that the B<-%c> option is a part of Perl's first
15518fixed by editing the #! line so that the B<-%c> option is a part of
10830argument: e.g. change C<perl -n -%c> to C<perl -%c -n>.
15519Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>.
1083115520
1083215521=end original
1083315522
1083415523perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして
1083515524実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に
1083615525変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。
1083715526
1083815527=begin original
1083915528
1084015529If the Perl script is being executed as C<perl scriptname>, then the
1084115530B<-%c> option must appear on the command line: C<perl -%c scriptname>.
1084215531
1084315532=end original
1084415533
1084515534Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは
1084615535コマンドラインに書かなければなりません: C<perl -%c scriptname>
1084715536
1084815537=item To%s: illegal mapping '%s'
1084915538
1085015539=begin original
1085115540
1085215541(F) You tried to define a customized To-mapping for lc(), lcfirst,
1085315542uc(), or ucfirst() (or their string-inlined versions), but you
1085415543specified an illegal mapping.
1085515544See L<perlunicode/"User-Defined Character Properties">.
1085615545
1085715546=end original
1085815547
1085915548(F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の
1086015549ためのカスタマイズされた変換先マッピングを定義しようとしましたが、
1086115550不正なマッピングを指定しました。
1086215551L<perlunicode/"User-Defined Character Properties"> を参照してください。
1086315552
1086415553=item Too deeply nested ()-groups
1086515554
1086615555=begin original
1086715556
1086815557(F) Your template contains ()-groups with a ridiculously deep nesting level.
1086915558
1087015559=end original
1087115560
1087215561(F) テンプレートに、おかしいぐらいネストした () グループがあります。
1087315562
1087415563=item Too few args to syscall
1087515564
1087615565=begin original
1087715566
1087815567(F) There has to be at least one argument to syscall() to specify the
1087915568system call to call, silly dilly.
1088015569
1088115570=end original
1088215571
1088315572(F) syscall() には、最低限でも呼び出すシステムコールを示す、
1088415573引数が一つ必要です。
1088515574
15575=item Too few arguments for subroutine '%s' (got %d; expected %d)
15576
15577=begin original
15578
15579(F) A subroutine using a signature fewer arguments than required by the
15580signature. The caller of the subroutine is presumably at fault.
15581
15582=end original
15583
15584(F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも
15585少ない引数を受け取りました。
15586おそらくサブルーチンの呼び出し元が間違っています。
15587
15588=begin original
15589
15590The message attempts to include the name of the called subroutine. If
15591the subroutine has been aliased, the subroutine's original name will be
15592shown, regardless of what name the caller used. It will also indicate the
15593number of arguments given and the number expected.
15594
15595=end original
15596
15597このメッセージは呼び出されたサブルーチン名を含めようとします。
15598サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず
15599サブルーチンの元の名前が表示されます。
15600指定された引数の数と想定された数も示されます。
15601
15602=item Too few arguments for subroutine '%s' (got %d; expected at least %d)
15603
15604=begin original
15605
15606Similar to the previous message but for subroutines that accept a variable
15607number of arguments.
15608
15609=end original
15610
15611以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。
15612
1088615613=item Too late for "-%s" option
1088715614
1088815615=begin original
1088915616
1089015617(X) The #! line (or local equivalent) in a Perl script contains the
1089115618B<-M>, B<-m> or B<-C> option.
1089215619
1089315620=end original
1089415621
1089515622(X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>,
1089615623B<-C> オプションが含まれています。
1089715624
1089815625=begin original
1089915626
10900In the case of B<-M> and B<-m>, this is an error because those options are
15627In the case of B<-M> and B<-m>, this is an error because those options
10901not intended for use inside scripts. Use the C<use> pragma instead.
15628are not intended for use inside scripts. Use the C<use> pragma instead.
1090215629
1090315630=end original
1090415631
1090515632B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、
1090615633これはエラーになります。
1090715634代わりに C<use> プラグマを使ってください。
1090815635
1090915636=begin original
1091015637
10911The B<-C> option only works if it is specified on the command line as well
15638The B<-C> option only works if it is specified on the command line as
10912(with the same sequence of letters or numbers following). Either specify
15639well (with the same sequence of letters or numbers following). Either
10913this option on the command line, or, if your system supports it, make your
15640specify this option on the command line, or, if your system supports
10914script executable and run it directly instead of passing it to perl.
15641it, make your script executable and run it directly instead of passing
15642it to perl.
1091515643
1091615644=end original
1091715645
1091815646B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで)
1091915647指定されたときにのみ動作します。
1092015648このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、
1092115649スクリプトを perl に渡すのではなく、スクリプトを実行可能にして
1092215650直接実行してください。
1092315651
1092415652=item Too late to run %s block
1092515653
1092615654=begin original
1092715655
1092815656(W void) A CHECK or INIT block is being defined during run time proper,
1092915657when the opportunity to run them has already passed. Perhaps you are
1093015658loading a file with C<require> or C<do> when you should be using C<use>
1093115659instead. Or perhaps you should put the C<require> or C<do> inside a
1093215660BEGIN block.
1093315661
1093415662=end original
1093515663
1093615664(W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから
1093715665実行時に定義されました。
1093815666おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを
1093915667読み込んでいます。
1094015668あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を
1094115669書いたのでしょう。
1094215670
1094315671=item Too many args to syscall
1094415672
1094515673=begin original
1094615674
1094715675(F) Perl supports a maximum of only 14 args to syscall().
1094815676
1094915677=end original
1095015678
1095115679(F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。
1095215680
1095315681=item Too many arguments for %s
1095415682
1095515683=begin original
1095615684
1095715685(F) The function requires fewer arguments than you specified.
1095815686
1095915687=end original
1096015688
1096115689(F) 関数が要求する以上の引数を指定しました。
1096215690
15691=item Too many arguments for subroutine '%s' (got %d; expected %d)
15692
15693=begin original
15694
15695(F) A subroutine using a signature received more arguments than permitted
15696by the signature. The caller of the subroutine is presumably at fault.
15697
15698=end original
15699
15700(F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも
15701多い引数を受け取りました。
15702おそらくサブルーチンの呼び出し元が間違っています。
15703
15704=begin original
15705
15706The message attempts to include the name of the called subroutine. If the
15707subroutine has been aliased, the subroutine's original name will be shown,
15708regardless of what name the caller used. It will also indicate the number
15709of arguments given and the number expected.
15710
15711=end original
15712
15713このメッセージは呼び出されたサブルーチン名を含めようとします。
15714サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず
15715サブルーチンの元の名前が表示されます。
15716指定された引数の数と想定された数も示されます。
15717
15718=item Too many arguments for subroutine '%s' (got %d; expected at most %d)
15719
15720=begin original
15721
15722Similar to the previous message but for subroutines that accept a variable
15723number of arguments.
15724
15725=end original
15726
15727以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。
15728
15729=item Too many nested open parens in regex; marked by <-- HERE in m/%s/
15730
15731=begin original
15732
15733(F) You have exceeded the number of open C<"("> parentheses that haven't
15734been matched by corresponding closing ones. This limit prevents eating
15735up too much memory. It is initially set to 1000, but may be changed by
15736setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may
15737need to be done in a BEGIN block before the regular expression pattern
15738is compiled.
15739
15740=end original
15741
15742(F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。
15743この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。
15744これは 1000 に初期化されていますが、
15745C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。
15746これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で
15747行われる必要があります。
15748
15749=item Too many nested BEGIN blocks, maximum of %d allowed
15750
15751=begin original
15752
15753(F) You have executed code that nests too many BEGIN blocks inside of
15754each other, either explicitly as BEGIN{} or implicitly as use statements.
15755This limit defaults to a rather high number which should not be exceeded
15756in normal circumstances, and triggering likely indicates something is
15757very wrong in your code. For instance infinite recursion of eval and
15758BEGIN blocks is known to trigger this error.
15759
15760=end original
15761
15762(F) BEGIN{} として明示的に、あるいは use 文として暗黙的に、
15763あまりにも多くネストした BEGIN ブロックのコードを実行しました。
15764制限のデフォルトは、通常の状況では超えるはずのないかなり大きな数で、
15765これが引き起こされたのは、おそらくコードがとても悪いことを示しています。
15766例えば、eval と BEGIN ブロックの無限ループはこのエラーを引き起こすことが
15767知られています。
15768
15769=begin original
15770
15771If you know that you have good reason to exceed the limit you can change
15772it by setting C<${^MAX_NESTED_EVAL_BEGIN_BLOCKS}> to a different value from
15773the default of 1000.
15774
15775=end original
15776
15777制限を超える良い理由が分かっている場合、
15778C<${^MAX_NESTED_EVAL_BEGIN_BLOCKS}> にデフォルトの 1000 以外の値に
15779設定することで、制限を変更できます。
15780
15781=item Too many capture groups (limit is %d) in regex m/%s/
15782
15783=begin original
15784
15785(F) You have too many capture groups in your regex pattern. You need to rework
15786your pattern to use less capture groups.
15787
15788=end original
15789
15790(F) 正規表現パターンに多くの捕捉グループを書きすぎました。
15791より少ない捕捉グループを使うようにパターンを作り直す必要があります。
15792
1096315793=item Too many )'s
1096415794
1096515795=begin original
1096615796
1096715797(A) You've accidentally run your script through B<csh> instead of Perl.
1096815798Check the #! line, or manually feed your script into Perl yourself.
1096915799
1097015800=end original
1097115801
1097215802(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
10973#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
15803#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1097415804
1097515805=item Too many ('s
1097615806
1097715807=begin original
1097815808
1097915809(A) You've accidentally run your script through B<csh> instead of Perl.
1098015810Check the #! line, or manually feed your script into Perl yourself.
1098115811
1098215812=end original
1098315813
1098415814(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
10985#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
15815#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1098615816
1098715817=item Trailing \ in regex m/%s/
1098815818
1098915819=begin original
1099015820
1099115821(F) The regular expression ends with an unbackslashed backslash.
1099215822Backslash it. See L<perlre>.
1099315823
1099415824=end original
1099515825
1099615826(F) 正規表現が、バックスラッシュを付けていないバックスラッシュで
1099715827終了しました。バックスラッシュを付けてください。
1099815828L<perlre> を参照してください。
1099915829
1100015830=item Transliteration pattern not terminated
1100115831
1100215832=begin original
1100315833
1100415834(F) The lexer couldn't find the interior delimiter of a tr/// or tr[][]
1100515835or y/// or y[][] construct. Missing the leading C<$> from variables
1100615836C<$tr> or C<$y> may cause this error.
1100715837
1100815838=end original
1100915839
11010(F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が
15840(F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が
1101115841見つかりませんでした。
1101215842C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると
1101315843このエラーが出ることがあります。
1101415844
1101515845=item Transliteration replacement not terminated
1101615846
1101715847=begin original
1101815848
1101915849(F) The lexer couldn't find the final delimiter of a tr///, tr[][],
1102015850y/// or y[][] construct.
1102115851
1102215852=end original
1102315853
1102415854(F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が
1102515855見つかりませんでした。
1102615856
15857=item Treating %s::INIT block as BEGIN block as workaround
15858
15859=begin original
15860
15861(S) A package is using an old version of C<Module::Install::DSL> to
15862install, which makes unsafe assumptions about when INIT blocks will be
15863called. Because C<Module::Install::DSL> is used to install other modules
15864and is difficult to upgrade we have a special workaround in place to
15865deal with this. Unless you are a maintainer of an affected module you
15866can ignore this warning. We emit it only as a sanity check.
15867
15868=end original
15869
15870(S) パッケージがインストールするのに古いバージョンの
15871C<Module::Install::DSL> を使っています;
15872これは INIT ブロックが呼び出されるときに安全でない仮定をしています。
15873C<Module::Install::DSL> は他のモジュールをインストールするのに使われていて、
15874更新するのは困難ですが、これに対処するための特別な回避策があります。
15875あなたが影響したモジュールの保守者でない限り、この警告は無視できます。
15876これは健全性チェックのためだけに出力されています。
15877
1102715878=item '%s' trapped by operation mask
1102815879
1102915880=begin original
1103015881
1103115882(F) You tried to use an operator from a Safe compartment in which it's
11032disallowed. See L<Safe>.
15883disallowed. See L<Safe>.
1103315884
1103415885=end original
1103515886
1103615887(F) Safe 区画の中で、許されていない演算子を使おうとしました。
1103715888L<Safe> を参照してください。
1103815889
1103915890=item truncate not implemented
1104015891
1104115892=begin original
1104215893
1104315894(F) Your machine doesn't implement a file truncation mechanism that
1104415895Configure knows about.
1104515896
1104615897=end original
1104715898
1104815899(F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が
1104915900実装されていません。
1105015901
15902=item try/catch/finally is experimental
15903
15904=begin original
15905
15906(S experimental::try) This warning is emitted if you use the C<try> and
15907C<catch> syntax with a C<finally> block. This syntax is currently experimental
15908and its behaviour may change in future releases of Perl.
15909
15910=end original
15911
15912(S experimental::try) この警告は、C<try> と C<catch> 構文と
15913C<finally> ブロックを使うと発生します。
15914この構文は現在のところ実験的で、Perl の将来のリリースでは変更される
15915可能性があります。
15916
15917=item Type of arg %d to &CORE::%s must be %s
15918
15919=begin original
15920
15921(F) The subroutine in question in the CORE package requires its argument
15922to be a hard reference to data of the specified type. Overloading is
15923ignored, so a reference to an object that is not the specified type, but
15924nonetheless has overloading to handle it, will still not be accepted.
15925
15926=end original
15927
15928(F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの
15929ハードリファレンスを要求しています。
15930オーバーロードは無視されるので、指定された型ではないけれども、それを
15931扱えるようにオーバーロードされたオブジェクトへのリファレンスでも
15932受け付けられません。
15933
1105115934=item Type of arg %d to %s must be %s (not %s)
1105215935
1105315936=begin original
1105415937
1105515938(F) This function requires the argument in that position to be of a
1105615939certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be
1105715940%NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the
1105815941{EXPR} forms as an explicit dereference. See L<perlref>.
1105915942
1106015943=end original
1106115944
1106215945(F) この関数は、その位置に決まった型の引数を必要とします。
1106315946配列は、@NAME もしくは C<@{EXPR}> でなりません。
1106415947ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。
1106515948暗黙の被参照は許されませんので、明示的な被参照として、
1106615949{EXPR} 形式を使ってください。
1106715950L<perlref> を参照してください。
1106815951
11069=item Type of argument to %s must be unblessed hashref or arrayref
11070
11071=begin original
11072
11073(F) You called C<keys>, C<values> or C<each> with a scalar argument that
11074was not a reference to an unblessed hash or array.
11075
11076=end original
11077
11078(F) bless されていないハッシュや配列へのリファレンスでないスカラ引数を使って
11079C<keys>, C<values>, C<each> を呼び出しました。
11080
1108115952=item umask not implemented
1108215953
1108315954=begin original
1108415955
1108515956(F) Your machine doesn't implement the umask function and you tried to
1108615957use it to restrict permissions for yourself (EXPR & 0700).
1108715958
1108815959=end original
1108915960
1109015961(F) umask 関数が実装されていないマシンで、自分自身の権限を制限する
1109115962(EXPR & 0700) ためにこれを使おうとしました。
1109215963
11093=item Unable to create sub named "%s"
15964=item UNIVERSAL does not export anything
1109415965
1109515966=begin original
1109615967
11097(F) You attempted to create or access a subroutine with an illegal name.
15968(F) You asked UNIVERSAL to export something, but UNIVERSAL is the
15969base class for all classes and contains no exportable symbols.
1109815970
1109915971=end original
1110015972
11101(F) 不正な名前のサブルーチン作成または呼び出ししようしました
15973(F) UNIVERSAL に何かエクスポートするように要求しましたが、UNIVERSAL は
15974すべてのクラスの基本クラスであり、エクスポート可能なシンボルを
15975含んでいません。
1110215976
1110315977=item Unbalanced context: %d more PUSHes than POPs
1110415978
1110515979=begin original
1110615980
11107(W internal) The exit code detected an internal inconsistency in how
15981(S internal) The exit code detected an internal inconsistency in how
1110815982many execution contexts were entered and left.
1110915983
1111015984=end original
1111115985
11112(W internal) いくつの実行コンテキストに入って、出たかということの
15986(S internal) いくつの実行コンテキストに入って、出たかということの
1111315987内部矛盾が exit コードで発見されました。
1111415988
1111515989=item Unbalanced saves: %d more saves than restores
1111615990
1111715991=begin original
1111815992
11119(W internal) The exit code detected an internal inconsistency in how
15993(S internal) The exit code detected an internal inconsistency in how
1112015994many values were temporarily localized.
1112115995
1112215996=end original
1112315997
11124(W internal) いくつの値が、一時的にローカル化されたかということの
15998(S internal) いくつの値が、一時的にローカル化されたかということの
1112515999内部矛盾が exit コードで発見されました。
1112616000
1112716001=item Unbalanced scopes: %d more ENTERs than LEAVEs
1112816002
1112916003=begin original
1113016004
11131(W internal) The exit code detected an internal inconsistency in how
16005(S internal) The exit code detected an internal inconsistency in how
1113216006many blocks were entered and left.
1113316007
1113416008=end original
1113516009
11136(W internal) いくつのブロックに入って、出たかということの
16010(S internal) いくつのブロックに入って、出たかということの
1113716011内部矛盾が exit コードで発見されました。
1113816012
16013=item Unbalanced string table refcount: (%d) for "%s"
16014
16015=begin original
16016
16017(S internal) On exit, Perl found some strings remaining in the shared
16018string table used for copy on write and for hash keys. The entries
16019should have been freed, so this indicates a bug somewhere.
16020
16021=end original
16022
16023(S internal) 終了時に、ハッシュキーのためのコピーオンライトのための
16024共有文字列テーブルに文字列が残っていることを Perl が発見しました。
16025エントリは開放されている必要があるので、これはどこかにバグがあることを
16026示しています。
16027
1113916028=item Unbalanced tmps: %d more allocs than frees
1114016029
1114116030=begin original
1114216031
11143(W internal) The exit code detected an internal inconsistency in how
16032(S internal) The exit code detected an internal inconsistency in how
1114416033many mortal scalars were allocated and freed.
1114516034
1114616035=end original
1114716036
11148(W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと
16037(S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと
1114916038いうことの内部矛盾が exit コードで発見されました。
1115016039
1115116040=item Undefined format "%s" called
1115216041
1115316042=begin original
1115416043
1115516044(F) The format indicated doesn't seem to exist. Perhaps it's really in
1115616045another package? See L<perlform>.
1115716046
1115816047=end original
1115916048
1116016049(F) 示されたフォーマットが存在しないようです。
1116116050おそらく本当は他のパッケージにあるのでは?
1116216051L<perlform> を参照してください。
1116316052
1116416053=item Undefined sort subroutine "%s" called
1116516054
1116616055=begin original
1116716056
1116816057(F) The sort comparison routine specified doesn't seem to exist.
1116916058Perhaps it's in a different package? See L<perlfunc/sort>.
1117016059
1117116060=end original
1117216061
1117316062(F) 指定された sort の比較ルーティンは存在していないように思われます。
1117416063おそらく、別のパッケージに存在するのではないでしょうか。
1117516064L<perlfunc/sort> を参照してください。
1117616065
1117716066=item Undefined subroutine &%s called
1117816067
1117916068=begin original
1118016069
1118116070(F) The subroutine indicated hasn't been defined, or if it was, it has
1118216071since been undefined.
1118316072
1118416073=end original
1118516074
1118616075(F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、
1118716076既に未定義になっています。
1118816077
1118916078=item Undefined subroutine called
1119016079
1119116080=begin original
1119216081
1119316082(F) The anonymous subroutine you're trying to call hasn't been defined,
1119416083or if it was, it has since been undefined.
1119516084
1119616085=end original
1119716086
1119816087(F) 呼びだそうとしている無名のサブルーチンは、定義されていません;
1119916088定義されていたとしても、既に未定義になっています。
1120016089
1120116090=item Undefined subroutine in sort
1120216091
1120316092=begin original
1120416093
1120516094(F) The sort comparison routine specified is declared but doesn't seem
1120616095to have been defined yet. See L<perlfunc/sort>.
1120716096
1120816097=end original
1120916098
1121016099(F) 指定された sort の比較ルーティンは宣言されましたが、
1121116100定義されていないようです。
1121216101L<perlfunc/sort> を参照してください。
1121316102
1121416103=item Undefined top format "%s" called
1121516104
1121616105=begin original
1121716106
1121816107(F) The format indicated doesn't seem to exist. Perhaps it's really in
1121916108another package? See L<perlform>.
1122016109
1122116110=end original
1122216111
1122316112(F) 示されたフォーマットが存在しないようです。
1122416113おそらく本当は他のパッケージにあるのでは?
1122516114L<perlform> を参照してください。
1122616115
1122716116=item Undefined value assigned to typeglob
1122816117
1122916118=begin original
1123016119
1123116120(W misc) An undefined value was assigned to a typeglob, a la
1123216121C<*foo = undef>. This does nothing. It's possible that you really mean
1123316122C<undef *foo>.
1123416123
1123516124=end original
1123616125
1123716126(W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。
1123816127これは何もしません。
1123916128本当は C<undef *foo> としたかったのかもしれません。
1124016129
1124116130=item %s: Undefined variable
1124216131
1124316132=begin original
1124416133
1124516134(A) You've accidentally run your script through B<csh> instead of Perl.
1124616135Check the #! line, or manually feed your script into Perl yourself.
1124716136
1124816137=end original
1124916138
1125016139(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
11251#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
16140#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1125216141
16142=item Unescaped left brace in regex is illegal here in regex;
16143marked by S<<-- HERE> in m/%s/
16144
16145=begin original
16146
16147(F) The simple rule to remember, if you want to
16148match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a
16149regular expression pattern, is to escape each literal instance of it in
16150some way. Generally easiest is to precede it with a backslash, like
16151C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern
16152delimiters are also braces, any matching right brace (C<"}">) should
16153also be escaped to avoid confusing the parser, for example,
16154
16155=end original
16156
16157(F) 正規表現中で
16158リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに
16159覚えておくべき単純な規則は、何らかの方法で
16160それぞれのリテラルな実体をエスケープすることです。
16161一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、
16162かっこでかこむ (C<"[{]">) ことです。
16163パターン区切り文字も中かっこの場合、マッチングする右中かっこ
16164(C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば:
16165
16166 qr{abc\{def\}ghi}
16167
16168=begin original
16169
16170Forcing literal C<"{"> characters to be escaped enables the Perl
16171language to be extended in various ways in future releases. To avoid
16172needlessly breaking existing code, the restriction is not enforced in
16173contexts where there are unlikely to ever be extensions that could
16174conflict with the use there of C<"{"> as a literal. Those that are
16175not potentially ambiguous do not warn; those that are do raise a
16176non-deprecation warning.
16177
16178=end original
16179
16180リテラルな C<"{"> 文字にエスケープを強制することにより、
16181将来のリリースで様々な方法で Perl 言語を拡張できるようになります。
16182既存のコードを不必要に壊すことを避けるために、
16183拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では
16184制限は強制されません。
16185潜在的にあいまいでないものは警告されません; あいまいなものは
16186廃止予定でない警告が発生します。
16187
16188=begin original
16189
16190The contexts where no warnings or errors are raised are:
16191
16192=end original
16193
16194警告やエラーが出ない文脈は:
16195
16196=over 4
16197
16198=item *
16199
16200=begin original
16201
16202as the first character in a pattern, or following C<"^"> indicating to
16203anchor the match to the beginning of a line.
16204
16205=end original
16206
16207パターンの最初の文字、あるいは行頭にマッチングすることを示す
16208C<"^"> に引き続いている場合。
16209
16210=item *
16211
16212=begin original
16213
16214as the first character following a C<"|"> indicating alternation.
16215
16216=end original
16217
16218代替を示す C<"|"> に引き続く最初の文字の場合。
16219
16220=item *
16221
16222=begin original
16223
16224as the first character in a parenthesized grouping like
16225
16226=end original
16227
16228次のようなかっこ付きグループの最初の文字の場合:
16229
16230 /foo({bar)/
16231 /foo(?:{bar)/
16232
16233=item *
16234
16235=begin original
16236
16237as the first character following a quantifier
16238
16239=end original
16240
16241量指定子に引き続く最初の文字の場合
16242
16243 /\s*{/
16244
16245=back
16246
16247=for comment
16248The text of the message above is mostly duplicated below (with changes)
16249to allow splain (and 'use diagnostics') to work. Since one is fatal,
16250and one not, they can't be combined as one message. Perhaps perldiag
16251could be enhanced to handle this case.
16252
16253=item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/
16254
16255=begin original
16256
16257(W regexp) The simple rule to remember, if you want to
16258match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a
16259regular expression pattern, is to escape each literal instance of it in
16260some way. Generally easiest is to precede it with a backslash, like
16261C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern
16262delimiters are also braces, any matching right brace (C<"}">) should
16263also be escaped to avoid confusing the parser, for example,
16264
16265=end original
16266
16267(W regexp) 正規表現中で
16268リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに
16269覚えておくべき単純な規則は、何らかの方法で
16270それぞれのリテラルな実体をエスケープすることです。
16271一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、
16272かっこでかこむ (C<"[{]">) ことです。
16273パターン区切り文字も中かっこの場合、マッチングする右中かっこ
16274(C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば:
16275
16276 qr{abc\{def\}ghi}
16277
16278=begin original
16279
16280Forcing literal C<"{"> characters to be escaped enables the Perl
16281language to be extended in various ways in future releases. To avoid
16282needlessly breaking existing code, the restriction is not enforced in
16283contexts where there are unlikely to ever be extensions that could
16284conflict with the use there of C<"{"> as a literal. Those that are
16285not potentially ambiguous do not warn; those that are raise this
16286warning. This makes sure that an inadvertent typo doesn't silently
16287cause the pattern to compile to something unintended.
16288
16289=end original
16290
16291リテラルな C<"{"> 文字にエスケープを強制することにより、
16292将来のリリースで様々な方法で Perl 言語を拡張できるようになります。
16293既存のコードを不必要に壊すことを避けるために、
16294拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では
16295制限は強制されません。
16296潜在的にあいまいでないものは警告されません; あいまいなものは
16297この警告が発生します。
16298これは、不注意によるタイプミスによって、パターンが何か想定外のものに
16299黙ってコンパイルされないことを確実にします。
16300
16301=begin original
16302
16303The contexts where no warnings or errors are raised are:
16304
16305=end original
16306
16307警告やエラーが出ない文脈は:
16308
16309=over 4
16310
16311=item *
16312
16313=begin original
16314
16315as the first character in a pattern, or following C<"^"> indicating to
16316anchor the match to the beginning of a line.
16317
16318=end original
16319
16320パターンの最初の文字、あるいは行頭にマッチングすることを示す
16321C<"^"> に引き続いている場合。
16322
16323=item *
16324
16325=begin original
16326
16327as the first character following a C<"|"> indicating alternation.
16328
16329=end original
16330
16331代替を示す C<"|"> に引き続く最初の文字の場合。
16332
16333=item *
16334
16335=begin original
16336
16337as the first character in a parenthesized grouping like
16338
16339=end original
16340
16341次のようなかっこ付きグループの最初の文字の場合:
16342
16343 /foo({bar)/
16344 /foo(?:{bar)/
16345
16346=item *
16347
16348=begin original
16349
16350as the first character following a quantifier
16351
16352=end original
16353
16354量指定子に引き続く最初の文字の場合
16355
16356 /\s*{/
16357
16358=back
16359
16360=item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/
16361
16362=begin original
16363
16364(W regexp) (only under C<S<use re 'strict'>>)
16365
16366=end original
16367
16368(W regexp) (C<S<use re 'strict'>> の下のみ)
16369
16370=begin original
16371
16372Within the scope of C<S<use re 'strict'>> in a regular expression
16373pattern, you included an unescaped C<}> or C<]> which was interpreted
16374literally. These two characters are sometimes metacharacters, and
16375sometimes literals, depending on what precedes them in the
16376pattern. This is unlike the similar C<)> which is always a
16377metacharacter unless escaped.
16378
16379=end original
16380
16381C<S<use re 'strict'>> スコープでの正規表現パターンの中で、
16382リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。
16383これらの二つの文字は時にはメタ文字で、ときにはリテラルです;
16384パターン中で何が前に置かれるかによります。
16385これは、エスケープされない限り常にメタ文字である C<)> に似ていますが
16386異なります。
16387
16388=begin original
16389
16390This action at a distance, perhaps a large distance, can lead to Perl
16391silently misinterpreting what you meant, so when you specify that you
16392want extra checking by C<S<use re 'strict'>>, this warning is generated.
16393If you meant the character as a literal, simply confirm that to Perl by
16394preceding the character with a backslash, or make it into a bracketed
16395character class (like C<[}]>). If you meant it as closing a
16396corresponding C<[> or C<{>, you'll need to look back through the pattern
16397to find out why that isn't happening.
16398
16399=end original
16400
16401遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで
16402あなたの意図を間違って解釈するかもしれないので、
16403C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、
16404この警告が出力されます。
16405この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、
16406(C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に
16407はっきりさせてください。
16408これが対応する C<[> や C<{> を閉じるものなら、
16409なぜそれが起きないかを見つけるためにパターン全体を見直してください。
16410
1125316411=item unexec of %s into %s failed!
1125416412
1125516413=begin original
1125616414
1125716415(F) The unexec() routine failed for some reason. See your local FSF
1125816416representative, who probably put it there in the first place.
1125916417
1126016418=end original
1126116419
1126216420(F) unexec() ルーティンが何らかの理由によって失敗しました。
1126316421最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。
1126416422
11265=item Unicode non-character U+%X is illegal for open interchange
16423=item Unexpected binary operator '%c' with no preceding operand in regex;
16424marked by S<<-- HERE> in m/%s/
1126616425
1126716426=begin original
1126816427
11269(W utf8, nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are
16428(F) You had something like this:
11270defined by the
11271Unicode standard to be non-characters. Those are legal codepoints, but are
11272reserved for internal use; so, applications shouldn't attempt to exchange
11273them. If you know what you are doing you can turn
11274off this warning by C<no warnings 'nonchar';>.
1127516429
1127616430=end original
1127716431
11278(W utf8, nonchar) U+FFFE や U+FFFF のようないくつか符号位置は Unicode 標準によって
16432(F) 以下のようなを書きました:
11279非文字として指定されています。
16434 (?[ | \p{Digit} ])
16435
16436=begin original
16437
16438where the C<"|"> is a binary operator with an operand on the right, but
16439no operand on the left.
16440
16441=end original
16442
16443ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない
164442 項演算子です。
16445
16446=item Unexpected character in regex; marked by S<<-- HERE> in m/%s/
16447
16448=begin original
16449
16450(F) You had something like this:
16451
16452=end original
16453
16454(F) 以下のようなものを書きました:
16455
16456 (?[ z ])
16457
16458=begin original
16459
16460Within C<(?[ ])>, no literal characters are allowed unless they are
16461within an inner pair of square brackets, like
16462
16463=end original
16464
16465C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り
16466リテラル文字は許されません
16467
16468 (?[ [ z ] ])
16469
16470=begin original
16471
16472Another possibility is that you forgot a backslash. Perl isn't smart
16473enough to figure out what you really meant.
16474
16475=end original
16476
16477もう一つの可能性は、逆スラッシュを忘れたことです。
16478Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。
16479
16480=item Unexpected characters while parsing class :isa attribute: %s
16481
16482=begin original
16483
16484(F) You tried to specify something other than a single class name with an
16485optional trailing verison number as the value for a C<class> C<:isa>
16486attribute. This confused the parser.
16487
16488=end original
16489
16490(F) C<class> C<:isa> 属性に、単一のクラス名に加えて末尾のバージョン番号
16491(オプション)以外のものを指定しようとしました。
16492これはパーサを混乱させます。
16493
16494=item Unexpected exit %u
16495
16496=begin original
16497
16498(S) exit() was called or the script otherwise finished gracefully when
16499C<PERL_EXIT_WARN> was set in C<PL_exit_flags>.
16500
16501=end original
16502
16503(S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が
16504呼び出されたりその他の理由で通常終了しました。
16505
16506=item Unexpected exit failure %d
16507
16508=begin original
16509
16510(S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in
16511C<PL_exit_flags>.
16512
16513=end original
16514
16515(S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに
16516捕らえられていない die() が呼び出されました。
16517
16518=item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/
16519
16520=begin original
16521
16522(F) You had something like this:
16523
16524=end original
16525
16526(F) 以下のようなものを書きました:
16527
16528 (?[ ( \p{Digit} + ) ])
16529
16530=begin original
16531
16532The C<")"> is out-of-place. Something apparently was supposed to
16533be combined with the digits, or the C<"+"> shouldn't be there, or
16534something like that. Perl can't figure out what was intended.
16535
16536=end original
16537
16538C<")"> の場所がおかしいです。
16539何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは
16540似たような何かです。
16541Perl は何を意図しているのかが分かりませんでした。
16542
16543=item Unexpected ']' with no following ')' in (?[... in regex; marked by
16544<-- HERE in m/%s/
16545
16546=begin original
16547
16548(F) While parsing an extended character class a ']' character was
16549encountered at a point in the definition where the only legal use of
16550']' is to close the character class definition as part of a '])', you
16551may have forgotten the close paren, or otherwise confused the parser.
16552
16553=end original
16554
16555(F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を
16556閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました;
16557閉じかっこを忘れているか、さもなければパーサが混乱しています。
16558
16559=item Unexpected '(' with no preceding operator in regex; marked by
16560S<<-- HERE> in m/%s/
16561
16562=begin original
16563
16564(F) You had something like this:
16565
16566=end original
16567
16568(F) 以下のようなものを書きました:
16569
16570 (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ])
16571
16572=begin original
16573
16574There should be an operator before the C<"(">, as there's
16575no indication as to how the digits are to be combined
16576with the characters in the Lao and Thai scripts.
16577
16578=end original
16579
16580これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの
16581文字がどのように結びつくかの指示がないからです。
16582
16583=item Unicode non-character U+%X is not recommended for open interchange
16584
16585=begin original
16586
16587(S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are
16588defined by the Unicode standard to be non-characters. Those
16589are legal codepoints, but are reserved for internal use; so,
16590applications shouldn't attempt to exchange them. An application
16591may not be expecting any of these characters at all, and receiving
16592them may lead to bugs. If you know what you are doing you can
16593turn off this warning by C<no warnings 'nonchar';>.
16594
16595=end original
16596
16597(S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は
16598Unicode 標準によって非文字として指定されています。
1128016599これらは有効な符号位置ですが、内部使用のために予約されています; 従って、
1128116600アプリケーションはこれを交換しようとするべきではありません。
16601アプリケーションは、これらの文字を想定するべきではなく、これらを
16602受け取るとバグを引き起こすことがあります。
1128216603もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で
1128316604警告を無効にできます。
1128416605
16606=begin original
16607
16608This is not really a "severe" error, but it is supposed to be
16609raised by default even if warnings are not enabled, and currently
16610the only way to do that in Perl is to mark it as serious.
16611
16612=end original
16613
16614これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても
16615デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは
16616これを重大なものとして扱うことです。
16617
16618=item Unicode property wildcard not terminated
16619
16620=begin original
16621
16622(F) A Unicode property wildcard looks like a delimited regular
16623expression pattern (all within the braces of the enclosing C<\p{...}>.
16624The closing delimtter to match the opening one was not found. If the
16625opening one is escaped by preceding it with a backslash, the closing one
16626must also be so escaped.
16627
16628=end original
16629
16630(F) Unicode 特性ワイルドカードは区切られた正規表現パターン
16631(C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。
16632開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。
16633前に逆スラッシュを置くことで開き文字がエスケープされている場合、
16634閉じ文字もエスケープされていなければなりません。
16635
16636=item Unicode string properties are not implemented in (?[...]) in
16637regex; marked by <-- HERE in m/%s/
16638
16639=begin original
16640
16641(F) A Unicode string property is one which expands to a sequence of
16642multiple characters. An example is C<\p{name=KATAKANA LETTER AINU P}>,
16643which consists of the sequence C<\N{KATAKANA LETTER SMALL H}>
16644followed by C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}>.
16645Extended character classes, C<(?[...])> currently cannot handle these.
16646
16647=end original
16648
16649(F) A Unicode 文字列特性は、複数の文字の並びに拡張するものです。
16650例は C<\p{name=KATAKANA LETTER AINU P}> で、これは
16651C<\N{KATAKANA LETTER SMALL H}> に
16652C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}> が引き続く
16653並びからなります。
16654拡張文字クラス C<(?[...])> は現在の所これらを扱えません。
16655
1128516656=item Unicode surrogate U+%X is illegal in UTF-8
1128616657
1128716658=begin original
1128816659
11289(W utf8, surrogate) You had a UTF-16 surrogate in a context where they are
16660(S surrogate) You had a UTF-16 surrogate in a context where they are
1129016661not considered acceptable. These code points, between U+D800 and
1129116662U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl
1129216663internally allows all unsigned integer code points (up to the size limit
1129316664available on your platform), including surrogates. But these can cause
1129416665problems when being input or output, which is likely where this message
1129516666came from. If you really really know what you are doing you can turn
1129616667off this warning by C<no warnings 'surrogate';>.
1129716668
1129816669=end original
1129916670
11300(W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
16671(S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
1130116672使いました。
1130216673これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに
1130316674Unicode によって使われます。
1130416675しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は
1130516676プラットフォームで利用可能なサイズ上限)を受け付けます。
1130616677しかし、これらは入力や出力になるときに問題を引き起こします; それは
1130716678おそらくこのメッセージが出た場所です。
1130816679自分で何をしているのかが本当に本当に分かっているなら、
1130916680C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
1131016681
11311=item Unknown BYTEORDER
16682=item Unimplemented
1131216683
1131316684=begin original
1131416685
11315(F) There are no byte-swapping functions for a machine with this byte
16686(F) In Perl 5.12 and above, you have executed an
11316order.
16687L<ellipsis statement|perlsyn/"The Ellipsis Statement">. This is a
16688bare C<...;>, meant to be used to allow you to outline code that
16689is to be written, but is not complete, similar to the following:
1131716690
1131816691=end original
1131916692
11320(F) このバイト順序を入れ替える関数がありません。
16693(F) Perl 5.12 以降で、
16694L<省略文|perlsyn/"The Ellipsis Statement"> を実行しました。
16695これは生の C<...;> です;
16696これによって、次のように、書かれる必要があるが完全ではない
16697コードの概要を書けるようになります:
1132116698
16699 sub not_done_yet {
16700 my($self, $arg1, $arg2) = @_;
16701 ...
16702 }
16703
16704=begin original
16705
16706If C<not_done_yet()> is called, Perl will die with an C<Unimplemented> error
16707at the line containing C<...>.
16708
16709=end original
16710
16711C<not_done_yet()> が呼び出されると、Perl は C<...> を含む行で
16712C<Unimplemented> エラーで die します。
16713
16714=item Unknown charname '%s'
16715
16716=begin original
16717
16718(F) The name you used inside C<\N{}> is unknown to Perl. Check the
16719spelling. You can say C<use charnames ":loose"> to not have to be
16720so precise about spaces, hyphens, and capitalization on standard Unicode
16721names. (Any custom aliases that have been created must be specified
16722exactly, regardless of whether C<:loose> is used or not.) This error may
16723also happen if the C<\N{}> is not in the scope of the corresponding
16724C<S<use charnames>>.
16725
16726=end original
16727
16728(F) C<\N{}> の内側で使った名前は Perl が知らないものでした。
16729綴りを確認してください。
16730C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、
16731大文字小文字についてはそれほど正確でなくてもいいようになります。
16732(作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に
16733指定されなければなりません。)
16734このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に
16735ないときにも起こることがあります。
16736
16737=item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/
16738
16739=begin original
16740
16741(F) The C<(*> was followed by something that the regular expression
16742compiler does not recognize. Check your spelling.
16743
16744=end original
16745
16746(F) C<(*> に、何か正規表現コンパイラが理解できないものが
16747引き続いていました。
16748綴りを確認してください。
16749
16750=item Unknown error
16751
16752=begin original
16753
16754(P) Perl was about to print an error message in C<$@>, but the C<$@> variable
16755did not exist, even after an attempt to create it.
16756
16757=end original
16758
16759(P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が
16760(たとえ作ろうとした後でも) 存在しませんでした。
16761
16762=item Unknown locale category %d
16763
16764=item Unknown locale category %d; can't set it to %s
16765
16766=begin original
16767
16768(W locale) You used a locale category that perl doesn't recognize, so it
16769cannot carry out your request. Check that you are using a valid
16770category. If so, see L<perllocale/Multi-threaded> for advice on
16771reporting this as a bug, and for modifying perl locally to accommodate
16772your needs.
16773
16774=end original
16775
16776(W locale) perl が認識できないロケールカテゴリを使ったので、
16777要求を実行することができません。
16778正しいカテゴリを使っているかチェックしてください。
16779もしそうなら、これをバグとして報告する助言や、必要性に対応するために
16780perl をローカルで修正する方法について L<perllocale/Multi-threaded> を
16781参照してください。
16782
1132216783=item Unknown open() mode '%s'
1132316784
1132416785=begin original
1132516786
1132616787(F) The second argument of 3-argument open() is not among the list
1132716788of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>,
1132816789C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>.
1132916790
1133016791=end original
1133116792
1133216793(F) 3 引数 open() の 第 2 引数が以下の有効なモードの
1133316794どれでもありませんでした:
1133416795C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>,
1133516796C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>
1133616797
1133716798=item Unknown PerlIO layer "%s"
1133816799
1133916800=begin original
1134016801
1134116802(W layer) An attempt was made to push an unknown layer onto the Perl I/O
1134216803system. (Layers take care of transforming data between external and
1134316804internal representations.) Note that some layers, such as C<mmap>,
1134416805are not supported in all environments. If your program didn't
1134516806explicitly request the failing operation, it may be the result of the
1134616807value of the environment variable PERLIO.
1134716808
1134816809=end original
1134916810
1135016811(W layer) 不明な層をPerl I/O システムに追加しようとしました。
1135116812(層はデータの外部表現と内部表現の変換を扱います。)
1135216813C<mmap> のような層は、全ての環境で対応しているわけではないことに
1135316814注意してください。
1135416815明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
1135516816値が原因かもしれません。
1135616817
1135716818=item Unknown process %x sent message to prime_env_iter: %s
1135816819
1135916820=begin original
1136016821
1136116822(P) An error peculiar to VMS. Perl was reading values for %ENV before
1136216823iterating over it, and someone else stuck a message in the stream of
1136316824data Perl expected. Someone's very confused, or perhaps trying to
1136416825subvert Perl's population of %ENV for nefarious purposes.
1136516826
1136616827=end original
1136716828
1136816829(P) VMS に固有のエラーです。
1136916830Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している
1137016831データストリームの中に誰かがメッセージを差し込みました。
1137116832誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を
1137216833滅亡させようとしています。
1137316834
16835=item Unknown regexp modifier "/%s"
16836
16837=begin original
16838
16839(F) Alphanumerics immediately following the closing delimiter
16840of a regular expression pattern are interpreted by Perl as modifier
16841flags for the regex. One of the ones you specified is invalid. One way
16842this can happen is if you didn't put in white space between the end of
16843the regex and a following alphanumeric operator:
16844
16845=end original
16846
16847(F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への
16848修飾子フラグと解釈されます。
16849その一つが不正でした。
16850これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に
16851空白を置いていない場合です:
16852
16853 if ($x =~ /foo/and $bar == 3) { ... }
16854
16855=begin original
16856
16857The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises
16858this error. Likely what was meant instead was:
16859
16860=end original
16861
16862C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。
16863おそらくしたかったのは以下のようなことでしょう:
16864
16865 if ($x =~ /foo/ and $bar == 3) { ... }
16866
1137416867=item Unknown "re" subpragma '%s' (known ones are: %s)
1137516868
1137616869=begin original
1137716870
1137816871(W) You tried to use an unknown subpragma of the "re" pragma.
1137916872
1138016873=end original
1138116874
1138216875(W) "re" プラグマの、不明なサブプラグマを使おうとしました。
1138316876
11384=item Unknown switch condition (?(%s in regex; marked by <-- HERE in m/%s/
16877=item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in
16878m/%s/
1138516879
1138616880=begin original
1138716881
1138816882(F) The condition part of a (?(condition)if-clause|else-clause) construct
11389is not known. The condition must be one of the following:
16883is not known. The condition must be one of the following:
1139016884
1139116885=end original
1139216886
11393(F) (?(condition)if-clause|else-clause) 構の条件部が不明です。
16887(?(...)if-clause|else-clause) 構の条件部が不明です。
11394条件は以下の一つでなければなりません:
16888条件は以下のいずれかでなければなりません
1139516889
11396 (1) (2) ... true if 1st, 2nd, etc., capture matched
16890 (1) (2) ... true if 1st, 2nd, etc., capture matched
11397 (<NAME>) ('NAME') true if named capture matched
16891 (<NAME>) ('NAME') true if named capture matched
11398 (?=...) (?<=...) true if subpattern matches
16892 (?=...) (?<=...) true if subpattern matches
11399 (?!...) (?<!...) true if subpattern fails to match
16893 (*pla:...) (*plb:...) true if subpattern matches; also
11400 (?{ CODE }) true if code returns a true value
16894 (*positive_lookahead:...)
11401 (R) true if evaluating inside recursion
16895 (*positive_lookbehind:...)
11402 (R1) (R2) ... true if directly inside capture group 1, 2, etc.
16896 (*nla:...) (*nlb:...) true if subpattern fails to match; also
11403 (R&NAME) true if directly inside named capture
16897 (*negative_lookahead:...)
11404 (DEFINE) always false; for defining named subpatterns
16898 (*negative_lookbehind:...)
16899 (?{ CODE }) true if code returns a true value
16900 (R) true if evaluating inside recursion
16901 (R1) (R2) ... true if directly inside capture group 1, 2,
16902 etc.
16903 (R&NAME) true if directly inside named capture
16904 (DEFINE) always false; for defining named subpatterns
1140516905
1140616906=begin original
1140716907
11408The <-- HERE shows in the regular expression about where the problem was
16908The S<<-- HERE> shows whereabouts in the regular expression the problem was
1140916909discovered. See L<perlre>.
1141016910
1141116911=end original
1141216912
11413<-- HERE で正規表現のどこに問題が発見されたかを示しています。
16913S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1141416914L<perlre> を参照してください。
1141516915
1141616916=item Unknown Unicode option letter '%c'
1141716917
1141816918=begin original
1141916919
11420(F) You specified an unknown Unicode option. See L<perlrun> documentation
16920(F) You specified an unknown Unicode option. See
11421of the C<-C> switch for the list of known options.
16921L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch
16922for the list of known options.
1142216923
1142316924=end original
1142416925
1142516926(F) 不明な Unicode オプションを指定しました。
11426オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを
16927オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の
11427参照してください。
16928C<-C> オプションを参照してください。
1142816929
11429=item Unknown Unicode option value %x
16930=item Unknown Unicode option value %d
1143016931
1143116932=begin original
1143216933
11433(F) You specified an unknown Unicode option. See L<perlrun> documentation
16934(F) You specified an unknown Unicode option. See
11434of the C<-C> switch for the list of known options.
16935L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch
16936for the list of known options.
1143516937
1143616938=end original
1143716939
1143816940(F) 不明な Unicode オプションを指定しました。
11439オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを
16941オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の
11440参照してください。
16942C<-C> オプションを参照してください。
1144116943
11442=item Unknown verb pattern '%s' in regex; marked by <-- HERE in m/%s/
16944=item Unknown user-defined property name \p{%s}
1144316945
1144416946=begin original
1144516947
16948(F) You specified to use a property within the C<\p{...}> which was a
16949syntactically valid user-defined property, but no definition was found
16950for it by the time one was required to proceed. Check your spelling.
16951See L<perlunicode/User-Defined Character Properties>.
16952
16953=end original
16954
16955(F) 文法的に正当なユーザー定義特性である C<\p{...}> の中で特性を使うように
16956指定しましたが、進行するためにこれが必要な必要な時点までに、
16957このための定義が見つかりませんでした。
16958綴りを確認してください。
16959L<perlunicode/User-Defined Character Properties> を参照してください。
16960
16961=item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/
16962
16963=begin original
16964
1144616965(F) You either made a typo or have incorrectly put a C<*> quantifier
1144716966after an open brace in your pattern. Check the pattern and review
1144816967L<perlre> for details on legal verb patterns.
1144916968
1145016969=end original
1145116970
1145216971(F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に
1145316972C<*> 量指定子を書いたかどちらかです。
1145416973パターンをチェックして、有効な動詞パターンの詳細については
1145516974L<perlre> を再チェックしてください。
1145616975
1145716976=item Unknown warnings category '%s'
1145816977
1145916978=begin original
1146016979
11461(F) An error issued by the C<warnings> pragma. You specified a warnings
16980(F) An error issued by the C<warnings> pragma. You specified a warnings
1146216981category that is unknown to perl at this point.
1146316982
1146416983=end original
1146516984
1146616985(F) C<warnings> プラグマによるエラーです。
1146716986現在のところ perl が知らない警告カテゴリを指定しました。
1146816987
1146916988=begin original
1147016989
1147116990Note that if you want to enable a warnings category registered by a
1147216991module (e.g. C<use warnings 'File::Find'>), you must have loaded this
1147316992module first.
1147416993
1147516994=end original
1147616995
1147716996(C<use warnings 'File::Find'> のように)モジュールによって登録される
1147816997警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が
1147916998あることに注意してください。
1148016999
11481=item unmatched [ in regex; marked by <-- HERE in m/%s/
17000=item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/
1148217001
1148317002=begin original
1148417003
11485(F) The brackets around a character class must match. If you wish to
17004(F) The brackets around a character class must match. If you wish to
1148617005include a closing bracket in a character class, backslash it or put it
11487first. The <-- HERE shows in the regular expression about where the problem
17006first. The S<<-- HERE> shows whereabouts in the regular expression the
11488was discovered. See L<perlre>.
17007problem was discovered. See L<perlre>.
1148917008
1149017009=end original
1149117010
1149217011(F) 文字クラスの周りの大かっこが一致していません。
1149317012文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか
1149417013先頭に置いてください。
11495<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17014S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1149617015L<perlre> を参照してください。
1149717016
11498=item unmatched ( in regex; marked by <-- HERE in m/%s/
17017=item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/
1149917018
17019=item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/
17020
1150017021=begin original
1150117022
1150217023(F) Unbackslashed parentheses must always be balanced in regular
11503expressions. If you're a vi user, the % key is valuable for finding the
17024expressions. If you're a vi user, the % key is valuable for finding
11504matching parenthesis. The <-- HERE shows in the regular expression about
17025the matching parenthesis. The S<<-- HERE> shows whereabouts in the
11505where the problem was discovered. See L<perlre>.
17026regular expression the problem was discovered. See L<perlre>.
1150617027
1150717028=end original
1150817029
1150917030(F) 正規表現の中ではバックスラッシュのついていないかっこは常に
1151017031対応していなければなりません。
1151117032vi ユーザーであれば、% キーが対応するかっこの発見に有用です。
11512<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17033S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1151317034L<perlre> を参照してください。
1151417035
1151517036=item Unmatched right %s bracket
1151617037
1151717038=begin original
1151817039
1151917040(F) The lexer counted more closing curly or square brackets than opening
1152017041ones, so you're probably missing a matching opening bracket. As a
1152117042general rule, you'll find the missing one (so to speak) near the place
1152217043you were last editing.
1152317044
1152417045=end original
1152517046
1152617047(F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを
1152717048見つけました; おそらく対応する開きかっこを忘れたのでしょう。
1152817049一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した
1152917050場所の近くにあります。
1153017051
1153117052=item Unquoted string "%s" may clash with future reserved word
1153217053
1153317054=begin original
1153417055
1153517056(W reserved) You used a bareword that might someday be claimed as a
1153617057reserved word. It's best to put such a word in quotes, or capitalize it
1153717058somehow, or insert an underbar into it. You might also declare it as a
1153817059subroutine.
1153917060
1154017061=end original
1154117062
1154217063(W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。
1154317064そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を
1154417065いれるかしてください。
1154517066その裸の単語は、サブルーチンとして宣言することも可能です。
1154617067
11547=item Unrecognized character %s; marked by <-- HERE after %s near column %d
17068=item Unrecognized character %s; marked by S<<-- HERE> after %s near column
17069%d
1154817070
1154917071=begin original
1155017072
1155117073(F) The Perl parser has no idea what to do with the specified character
11552in your Perl script (or eval) near the specified column. Perhaps you tried
17074in your Perl script (or eval) near the specified column. Perhaps you
11553to run a compressed script, a binary program, or a directory as a Perl program.
17075tried to run a compressed script, a binary program, or a directory as
17076a Perl program.
1155417077
1155517078=end original
1155617079
1155717080(F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに
1155817081出てきた文字に対してどうすればよいか分かりませんでした。
1155917082おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを
1156017083Perl プログラムとして実行しようとしたのでしょう。
1156117084
11562=item Unrecognized escape \%c in character class passed through in regex; marked by <-- HERE in m/%s/
17085=item Unrecognized class attribute %s
1156317086
1156417087=begin original
1156517088
17089(F) You attempted to add a named attribute to a C<class> definition, but
17090perl does not recognise the name of the requested attribute.
17091
17092=end original
17093
17094(F) C<class> 定義に名前付きの属性を追加しようとしましたが、
17095perl は要求された属性の名前を認識できませんでした。
17096
17097=item Unrecognized escape \%c in character class in regex; marked by
17098S<<-- HERE> in m/%s/
17099
17100=begin original
17101
17102(F) You used a backslash-character combination which is not
17103recognized by Perl inside character classes. This is a fatal
17104error when the character class is used within C<(?[ ])>.
17105
17106=end original
17107
17108(F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。
17109これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。
17110
17111=item Unrecognized escape \%c in character class passed through in regex;
17112marked by S<<-- HERE> in m/%s/
17113
17114=begin original
17115
1156617116(W regexp) You used a backslash-character combination which is not
1156717117recognized by Perl inside character classes. The character was
1156817118understood literally, but this may change in a future version of Perl.
11569The <-- HERE shows in the regular expression about where the
17119The S<<-- HERE> shows whereabouts in the regular expression the
1157017120escape was discovered.
1157117121
1157217122=end original
1157317123
1157417124(W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の
1157517125組み合わせを使いました。
1157617126文字はリテラルに処理されますが、将来のバージョンの Perl では
1157717127変更されるかもしれません。
11578<-- HERE で正規表現のどこにエスケープが発見されたかを示しています。
17128S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
1157917129
1158017130=item Unrecognized escape \%c passed through
1158117131
1158217132=begin original
1158317133
1158417134(W misc) You used a backslash-character combination which is not
1158517135recognized by Perl. The character was understood literally, but this may
1158617136change in a future version of Perl.
1158717137
1158817138=end original
1158917139
1159017140(W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが
1159117141使われています。
1159217142文字はリテラルに処理されますが、将来のバージョンの Perl では
1159317143変更されるかもしれません。
1159417144
11595=item Unrecognized escape \%s passed through in regex; marked by <-- HERE in m/%s/
17145=item Unrecognized escape \%s passed through in regex; marked by
17146S<<-- HERE> in m/%s/
1159617147
1159717148=begin original
1159817149
1159917150(W regexp) You used a backslash-character combination which is not
11600recognized by Perl. The character(s) were understood literally, but this may
17151recognized by Perl. The character(s) were understood literally, but
11601change in a future version of Perl.
17152this may change in a future version of Perl. The S<<-- HERE> shows
11602The <-- HERE shows in the regular expression about where the
17153whereabouts in the regular expression the escape was discovered.
11603escape was discovered.
1160417154
1160517155=end original
1160617156
1160717157(W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが
1160817158使われています。
1160917159文字はリテラルに処理されますが、将来のバージョンの Perl では
1161017160変更されるかもしれません。
11611<-- HERE で正規表現のどこにエスケープが発見されたかを示しています。
17161S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
1161217162
17163=item Unrecognized field attribute %s
17164
17165=begin original
17166
17167(F) You attempted to add a named attribute to a C<field> definition, but
17168perl does not recognise the name of the requested attribute.
17169
17170=end original
17171
17172(F) C<class> 定義に名前付きの属性を追加しようとしましたが、
17173perl は要求された属性の名前を認識できませんでした。
17174
17175=item Unrecognised parameters for "%s" constructor: %s
17176
17177=begin original
17178
17179(F) You called new on a class but supplied a parameter name that
17180didn't match a class field name.
17181
17182=end original
17183
17184(F) クラスに対して new を呼び出しましたが、クラスのフィールド名と
17185一致しないパラメータ名を指定しました。
17186
1161317187=item Unrecognized signal name "%s"
1161417188
1161517189=begin original
1161617190
1161717191(F) You specified a signal name to the kill() function that was not
1161817192recognized. Say C<kill -l> in your shell to see the valid signal names
1161917193on your system.
1162017194
1162117195=end original
1162217196
1162317197(F) kill() 関数に、認識できないシグナル名を指定しました。
1162417198お使いのシステムで使用可能なシグナル名を調べるには、
1162517199シェル上で C<kill -l> などとしてください。
1162617200
1162717201=item Unrecognized switch: -%s (-h will show valid options)
1162817202
1162917203=begin original
1163017204
1163117205(F) You specified an illegal option to Perl. Don't do that. (If you
1163217206think you didn't do that, check the #! line to see if it's supplying the
1163317207bad switch on your behalf.)
1163417208
1163517209=end original
1163617210
1163717211(F) Perl に間違ったオプションを指定しました。
1163817212これを行なってはいけません。
1163917213(指定したつもりがないのであれば、#! 行に間違ったオプションが
1164017214スイッチが指定されていないかをチェックしてください。)
1164117215
1164217216=item Unsuccessful %s on filename containing newline
1164317217
1164417218=begin original
1164517219
1164617220(W newline) A file operation was attempted on a filename, and that
1164717221operation failed, PROBABLY because the filename contained a newline,
1164817222PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>.
1164917223
1165017224=end original
1165117225
1165217226(W newline) あるファイル名に対して、ファイル操作を行ないましたが、
1165317227失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、
1165417228「おそらく」 chomp() するのを忘れたのでしょう。 
1165517229L<perlfunc/chomp> を参照してください。
1165617230
1165717231=item Unsupported directory function "%s" called
1165817232
1165917233=begin original
1166017234
1166117235(F) Your machine doesn't support opendir() and readdir().
1166217236
1166317237=end original
1166417238
1166517239(F) このマシンでは、opendir() や readdir() がサポートされていません。
1166617240
1166717241=item Unsupported function %s
1166817242
1166917243=begin original
1167017244
1167117245(F) This machine doesn't implement the indicated function, apparently.
1167217246At least, Configure doesn't think so.
1167317247
1167417248=end original
1167517249
1167617250(F) このマシンでは、表示した関数は実装されていません。
1167717251少なくとも、Configure はそう判断しました。
1167817252
1167917253=item Unsupported function fork
1168017254
1168117255=begin original
1168217256
1168317257(F) Your version of executable does not support forking.
1168417258
1168517259=end original
1168617260
1168717261(F) この実行ファイルは fork に対応していません。
1168817262
1168917263=begin original
1169017264
1169117265Note that under some systems, like OS/2, there may be different flavors
11692of Perl executables, some of which may support fork, some not. Try
17266of Perl executables, some of which may support fork, some not. Try
1169317267changing the name you call Perl by to C<perl_>, C<perl__>, and so on.
1169417268
1169517269=end original
1169617270
1169717271OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、
1169817272fork に対応しているものとしていないものがあります。
1169917273Perl を呼び出す時の名前を C<perl_>, C<perl__> のように
1170017274変えてみてください。
1170117275
1170217276=item Unsupported script encoding %s
1170317277
1170417278=begin original
1170517279
1170617280(F) Your program file begins with a Unicode Byte Order Mark (BOM) which
1170717281declares it to be in a Unicode encoding that Perl cannot read.
1170817282
1170917283=end original
1171017284
1171117285(F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを
1171217286宣言する Unicode Byte Order Mark (BOM) で始まっています。
1171317287
1171417288=item Unsupported socket function "%s" called
1171517289
1171617290=begin original
1171717291
1171817292(F) Your machine doesn't support the Berkeley socket mechanism, or at
1171917293least that's what Configure thought.
1172017294
1172117295=end original
1172217296
1172317297(F) このマシンでは、Berkeley ソケット機構がサポートされていないか、
1172417298少なくとも Configure がそう判断しました。
1172517299
17300=item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/
17301
17302=begin original
17303
17304(F) You used a pattern of the form C<(*...:...)> but did not terminate
17305the pattern with a C<)>. Fix the pattern and retry.
17306
17307=end original
17308
17309(F) C<(*...:...)> 形式のパターンを使いましたが、パターンが
17310C<)> で終端されていません。
17311パターンを修正して再挑戦してください。
17312
1172617313=item Unterminated attribute list
1172717314
1172817315=begin original
1172917316
1173017317(F) The lexer found something other than a simple identifier at the
1173117318start of an attribute, and it wasn't a semicolon or the start of a
1173217319block. Perhaps you terminated the parameter list of the previous
1173317320attribute too soon. See L<attributes>.
1173417321
1173517322=end original
1173617323
1173717324(F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの
1173817325開始でないものを発見しました。
1173917326おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。
1174017327L<attributes> を参照してください。
1174117328
1174217329=item Unterminated attribute parameter in attribute list
1174317330
1174417331=begin original
1174517332
1174617333(F) The lexer saw an opening (left) parenthesis character while parsing
1174717334an attribute list, but the matching closing (right) parenthesis
1174817335character was not found. You may need to add (or remove) a backslash
1174917336character to get your parentheses to balance. See L<attributes>.
1175017337
1175117338=end original
1175217339
1175317340(F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを
1175417341発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。
1175517342かっこのバランスを取るために、バックスラッシュを追加(または削除)する
1175617343必要があるでしょう。
1175717344L<attributes> を参照してください。
1175817345
1175917346=item Unterminated compressed integer
1176017347
1176117348=begin original
1176217349
1176317350(F) An argument to unpack("w",...) was incompatible with the BER
1176417351compressed integer format and could not be converted to an integer.
1176517352See L<perlfunc/pack>.
1176617353
1176717354=end original
1176817355
1176917356(F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、
1177017357整数に変換できませんでした。
1177117358L<perlfunc/pack> を参照してください。
1177217359
11773=item Unterminated \g{...} pattern in regex; marked by <-- HERE in m/%s/
17360=item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/
1177417361
1177517362=begin original
1177617363
11777(F) You missed a close brace on a \g{..} pattern (group reference) in
17364(F) You used a pattern of the form C<(*...)> but did not terminate
11778a regular expression. Fix the pattern and retry.
17365the pattern with a C<)>. Fix the pattern and retry.
1177917366
1178017367=end original
1178117368
11782(F) 正規表現の \g{..} (グループリファレンス) の閉じかっこがありせん。
17369(F) C<(*...)> 形式パターンを使いしたが、パターンが
17370C<)> で終端されていません。
1178317371パターンを修正して再挑戦してください。
1178417372
17373=item Unterminated delimiter for here document
17374
17375=begin original
17376
17377(F) This message occurs when a here document label has an initial
17378quotation mark but the final quotation mark is missing. Perhaps
17379you wrote:
17380
17381=end original
17382
17383(F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども
17384末尾のクォートがありません。
17385おそらく以下のように書いたのでしょう:
17386
17387 <<"foo
17388
17389=begin original
17390
17391instead of:
17392
17393=end original
17394
17395次のように書いてください:
17396
17397 <<"foo"
17398
17399=item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/
17400
17401=item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/
17402
17403=begin original
17404
17405(F) In a regular expression, you had a C<\g> that wasn't followed by a
17406proper group reference. In the case of C<\g{>, the closing brace is
17407missing; otherwise the C<\g> must be followed by an integer. Fix the
17408pattern and retry.
17409
17410=end original
17411
17412(F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。
17413C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が
17414引き続かなければ鳴りません。
17415パターンを修正して再挑戦してください。
17416
1178517417=item Unterminated <> operator
1178617418
1178717419=begin original
1178817420
1178917421(F) The lexer saw a left angle bracket in a place where it was expecting
1179017422a term, so it's looking for the corresponding right angle bracket, and
1179117423not finding it. Chances are you left some needed parentheses out
1179217424earlier in the line, and you really meant a "less than".
1179317425
1179417426=end original
1179517427
1179617428(F) 項が必要とされるところで、開き山かっこが見つけたため、
1179717429対応する閉じ山かっこを探しましたが、見つかりませんでした。
1179817430可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を
1179917431表したかった場合が考えられます。
1180017432
11801=item Unterminated verb pattern argument in regex; marked by <-- HERE in m/%s/
17433=item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in
17434m/%s/
1180217435
1180317436=begin original
1180417437
1180517438(F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate
11806the pattern with a C<)>. Fix the pattern and retry.
17439the pattern with a C<)>. Fix the pattern and retry.
1180717440
1180817441=end original
1180917442
1181017443(F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で
1181117444終わっていません。
1181217445パターンを修正して再挑戦してください。
1181317446
11814=item Unterminated verb pattern in regex; marked by <-- HERE in m/%s/
17447=item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/
1181517448
1181617449=begin original
1181717450
1181817451(F) You used a pattern of the form C<(*VERB)> but did not terminate
11819the pattern with a C<)>. Fix the pattern and retry.
17452the pattern with a C<)>. Fix the pattern and retry.
1182017453
1182117454=end original
1182217455
1182317456(F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で
1182417457終わっていません。
1182517458パターンを修正して再挑戦してください。
1182617459
1182717460=item untie attempted while %d inner references still exist
1182817461
1182917462=begin original
1183017463
1183117464(W untie) A copy of the object returned from C<tie> (or C<tied>) was
1183217465still valid when C<untie> was called.
1183317466
1183417467=end original
1183517468
1183617469(W untie) C<tie> (または C<tied>) から返されたオブジェクトが、
1183717470C<untie> が呼び出されたときにまだ有効でした。
1183817471
1183917472=item Usage: POSIX::%s(%s)
1184017473
1184117474=begin original
1184217475
1184317476(F) You called a POSIX function with incorrect arguments.
1184417477See L<POSIX/FUNCTIONS> for more information.
1184517478
1184617479=end original
1184717480
1184817481(F) POSIX 関数を間違った引数で呼び出しました。
1184917482さらなる情報については L<POSIX/FUNCTIONS> を参照してください。
1185017483
1185117484=item Usage: Win32::%s(%s)
1185217485
1185317486=begin original
1185417487
1185517488(F) You called a Win32 function with incorrect arguments.
1185617489See L<Win32> for more information.
1185717490
1185817491=end original
1185917492
1186017493(F) Win32 関数を間違った引数で呼び出しました。
1186117494更なる情報については L<Win32> を参照してください。
1186217495
11863=item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in m/%s/
17496=item $[ used in %s (did you mean $] ?)
1186417497
1186517498=begin original
1186617499
17500(W syntax) You used C<$[> in a comparison, such as:
17501
17502=end original
17503
17504(W syntax) 以下のように、比較で C<$[> を使いました:
17505
17506 if ($[ > 5.006) {
17507 ...
17508 }
17509
17510=begin original
17511
17512You probably meant to use C<$]> instead. C<$[> is the base for indexing
17513arrays. C<$]> is the Perl version number in decimal.
17514
17515=end original
17516
17517おそらく C<$]> を使いたかったのでしょう。
17518C<$[> は配列の基数です。
17519C<$]> は Perl のバージョン番号の 10 進数です。
17520
17521=item Use "%s" instead of "%s"
17522
17523=begin original
17524
17525(F) The second listed construct is no longer legal. Use the first one
17526instead.
17527
17528=end original
17529
17530(F) 2 番目に挙げられた構文はもはや有効ではありません。
17531代わりに 1 番目のものを使ってください。
17532
17533=item Useless assignment to a temporary
17534
17535=begin original
17536
17537(W misc) You assigned to an lvalue subroutine, but what
17538the subroutine returned was a temporary scalar about to
17539be discarded, so the assignment had no effect.
17540
17541=end original
17542
17543(W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは
17544捨てられようとする一時的なスカラなので、代入は向こうです。
17545
17546=item Useless (?-%s) - don't use /%s modifier in regex; marked by
17547S<<-- HERE> in m/%s/
17548
17549=begin original
17550
1186717551(W regexp) You have used an internal modifier such as (?-o) that has no
1186817552meaning unless removed from the entire regexp:
1186917553
1187017554=end original
1187117555
1187217556(W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ
1187317557意味がありません:
1187417558
1187517559 if ($string =~ /(?-o)$pattern/o) { ... }
1187617560
1187717561=begin original
1187817562
1187917563must be written as
1188017564
1188117565=end original
1188217566
1188317567これは以下のように書かなければなりません:
1188417568
1188517569 if ($string =~ /$pattern/) { ... }
1188617570
1188717571=begin original
1188817572
11889The <-- HERE shows in the regular expression about
17573The S<<-- HERE> shows whereabouts in the regular expression the problem was
11890where the problem was discovered. See L<perlre>.
17574discovered. See L<perlre>.
1189117575
1189217576=end original
1189317577
11894<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17578S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1189517579L<perlre> を参照してください。
1189617580
1189717581=item Useless localization of %s
1189817582
1189917583=begin original
1190017584
11901(W syntax) The localization of lvalues such as C<local($x=10)> is
17585(W syntax) The localization of lvalues such as C<local($x=10)> is legal,
11902legal, but in fact the local() currently has no effect. This may change at
17586but in fact the local() currently has no effect. This may change at
1190317587some point in the future, but in the meantime such code is discouraged.
1190417588
1190517589=end original
1190617590
1190717591(W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、
1190817592実際のところ local() は現在のところ何の効果もありません。
1190917593これは将来変更されるかもしれませんが、今のところはこのようなコードは
1191017594勧められません。
1191117595
11912=item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/
17596=item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in
17597m/%s/
1191317598
1191417599=begin original
1191517600
1191617601(W regexp) You have used an internal modifier such as (?o) that has no
1191717602meaning unless applied to the entire regexp:
1191817603
1191917604=end original
1192017605
1192117606(W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ
1192217607意味がありません:
1192317608
1192417609 if ($string =~ /(?o)$pattern/) { ... }
1192517610
1192617611=begin original
1192717612
1192817613must be written as
1192917614
1193017615=end original
1193117616
1193217617これは以下のように書かなければなりません:
1193317618
1193417619 if ($string =~ /$pattern/o) { ... }
1193517620
1193617621=begin original
1193717622
11938The <-- HERE shows in the regular expression about
17623The S<<-- HERE> shows whereabouts in the regular expression the problem was
11939where the problem was discovered. See L<perlre>.
17624discovered. See L<perlre>.
1194017625
1194117626=end original
1194217627
11943<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17628S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1194417629L<perlre> を参照してください。
1194517630
17631=item Useless use of attribute "const"
17632
17633=begin original
17634
17635(W misc) The C<const> attribute has no effect except
17636on anonymous closure prototypes. You applied it to
17637a subroutine via L<attributes.pm|attributes>. This is only useful
17638inside an attribute handler for an anonymous subroutine.
17639
17640=end original
17641
17642(W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。
17643あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。
17644これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。
17645
1194617646=item Useless use of /d modifier in transliteration operator
1194717647
1194817648=begin original
1194917649
1195017650(W misc) You have used the /d modifier where the searchlist has the
11951same length as the replacelist. See L<perlop> for more information
17651same length as the replacelist. See L<perlop> for more information
1195217652about the /d modifier.
1195317653
1195417654=end original
1195517655
1195617656(W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。
1195717657/d 修飾子に関するさらなる情報については L<perlop> を参照してください。
1195817658
17659=item Useless use of \E
17660
17661=begin original
17662
17663(W misc) You have a \E in a double-quotish string without a C<\U>,
17664C<\L> or C<\Q> preceding it.
17665
17666=end original
17667
17668(W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく
17669\E を書きました。
17670
17671=item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/
17672
17673=begin original
17674
17675(W regexp) You specified something like these:
17676
17677=end original
17678
17679(W regexp) 次のようなものを指定しました:
17680
17681 qr/a{3}?/
17682 qr/b{1,1}+/
17683
17684=begin original
17685
17686The C<"?"> and C<"+"> don't have any effect, as they modify whether to
17687match more or fewer when there is a choice, and by specifying to match
17688exactly a given number, there is no room left for a choice.
17689
17690=end original
17691
17692C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に
17693より多くまたは少なく変更します;
17694そして指定された数に正確にマッチングすることを指定されているので、
17695選択の余地はありません。
17696
17697=item Useless use of %s in scalar context
17698
17699=begin original
17700
17701(W scalar) You did something whose only interesting return value is a
17702list without a side effect in scalar context, which does not accept a
17703list.
17704
17705=end original
17706
17707(W scalar) スカラコンテキストでの副作用のない、興味深い返り値が
17708リストだけである何かを、リストを受け入れない状態で行いました。
17709
17710=begin original
17711
17712For example
17713
17714=end original
17715
17716例えば:
17717
17718 my $x = sort @y;
17719
17720=begin original
17721
17722This is not very useful, and perl currently optimizes this away.
17723
17724=end original
17725
17726これは全く便利ではないので、perl は現在のところ最適化して取り除きます。
17727
1195917728=item Useless use of %s in void context
1196017729
1196117730=begin original
1196217731
1196317732(W void) You did something without a side effect in a context that does
1196417733nothing with the return value, such as a statement that doesn't return a
1196517734value from a block, or the left side of a scalar comma operator. Very
1196617735often this points not to stupidity on your part, but a failure of Perl
1196717736to parse your program the way you thought it would. For example, you'd
1196817737get this if you mixed up your C precedence with Python precedence and
1196917738said
1197017739
1197117740=end original
1197217741
1197317742(W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように
1197417743返却値の無い文脈で、副作用のないことを行ないました。
1197517744多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの
1197617745意向を汲み取った解釈ができないことで起こります。
1197717746たとえば、みなさんが C の優先順位を Python の優先順位と混同して
1197817747以下のようにした場合です:
1197917748
1198017749 $one, $two = 1, 2;
1198117750
1198217751=begin original
1198317752
1198417753when you meant to say
1198517754
1198617755=end original
1198717756
1198817757以下のようにするべきです。
1198917758
1199017759 ($one, $two) = (1, 2);
1199117760
1199217761=begin original
1199317762
1199417763Another common error is to use ordinary parentheses to construct a list
1199517764reference when you should be using square or curly brackets, for
1199617765example, if you say
1199717766
1199817767=end original
1199917768
1200017769その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを
1200117770使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた
1200217771場合です:
1200317772
1200417773 $array = (1,2);
1200517774
1200617775=begin original
1200717776
1200817777when you should have said
1200917778
1201017779=end original
1201117780
1201217781以下のように書くべきです:
1201317782
1201417783 $array = [1,2];
1201517784
1201617785=begin original
1201717786
1201817787The square brackets explicitly turn a list value into a scalar value,
1201917788while parentheses do not. So when a parenthesized list is evaluated in
1202017789a scalar context, the comma is treated like C's comma operator, which
1202117790throws away the left argument, which is not what you want. See
1202217791L<perlref> for more on this.
1202317792
1202417793=end original
1202517794
1202617795角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。
1202717796そのため、かっこで括られたリストをスカラコンテキストで評価すると、
1202817797カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます;
1202917798これは望んでいることではないでしょう。
1203017799これに関するさらなる情報については L<perlref> を参照してください。
1203117800
1203217801=begin original
1203317802
1203417803This warning will not be issued for numerical constants equal to 0 or 1
1203517804since they are often used in statements like
1203617805
1203717806=end original
1203817807
1203917808この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、
1204017809しばしば以下のような文で使われるからです:
1204117810
1204217811 1 while sub_with_side_effects();
1204317812
1204417813=begin original
1204517814
1204617815String constants that would normally evaluate to 0 or 1 are warned
1204717816about.
1204817817
1204917818=end original
1205017819
1205117820通常 0 か 1 に評価される文字列定数は警告されます。
1205217821
12053=item Useless use of "re" pragma
17822=item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/
1205417823
1205517824=begin original
1205617825
12057(W) You did C<use re;> without any arguments. That isn't very useful.
17826(W regexp) The C<p> modifier cannot be turned off once set. Trying to do
17827so is futile.
1205817828
1205917829=end original
1206017830
12061(W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。
17831(W regexp)
17832C<p> 修飾子は、一度設定したものをオフにはできません。
17833そうしようとしても無効です。
1206217834
12063=item Useless use of sort in scalar context
17835=item Useless use of "re" pragma
1206417836
1206517837=begin original
1206617838
12067(W void) You used sort in scalar context, as in :
17839(W) You did C<use re;> without any arguments. That isn't very useful.
1206817840
1206917841=end original
1207017842
12071(W void) こんな風に、ソートをスカコンテキスト使いました:
17843(W) C<use re;> プグマを引数なし指定しました。これは無意味です。
1207217844
12073 my $x = sort @y;
12074
12075=begin original
12076
12077This is not very useful, and perl currently optimizes this away.
12078
12079=end original
12080
12081これは全く便利ではないので、perl は現在のところ最適化して取り除きます。
12082
1208317845=item Useless use of %s with no values
1208417846
1208517847=begin original
1208617848
1208717849(W syntax) You used the push() or unshift() function with no arguments
12088apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't
17850apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't
12089usually have any effect on the array, so is completely useless. It's
17851usually have any effect on the array, so is completely useless. It's
1209017852possible in principle that push(@tied_array) could have some effect
12091if the array is tied to a class which implements a PUSH method. If so,
17853if the array is tied to a class which implements a PUSH method. If so,
1209217854you can write it as C<push(@tied_array,())> to avoid this warning.
1209317855
1209417856=end original
1209517857
1209617858(W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や
1209717859unshift() 関数を、配列以外の引数なしで使いました。
1209817860これは普通は配列に何の影響も与えないので、完全に無意味です。
1209917861理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては
1210017862push(@tied_array) が何らかの効果を持つ可能性はあります。
1210117863もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を
1210217864回避できます。
1210317865
1210417866=item "use" not allowed in expression
1210517867
1210617868=begin original
1210717869
1210817870(F) The "use" keyword is recognized and executed at compile time, and
1210917871returns no useful value. See L<perlmod>.
1211017872
1211117873=end original
1211217874
1211317875(F) "use" キーワードは、コンパイル時に認識され、実行されるもので、
1211417876意味のある値を返しません。
1211517877L<perlmod> を参照してください。
1211617878
12117=item Use of assignment to $[ is deprecated
17879=item Use of @_ in %s with signatured subroutine is experimental
1211817880
1211917881=begin original
1212017882
12121(D deprecated) The C<$[> variable (index of the first element in an array)
17883(S experimental::args_array_with_signatures) An expression involving the
12122is deprecated. See L<perlvar/"$[">.
17884C<@_> arguments array was found in a subroutine that uses a signature.
17885This is experimental because the interaction between the arguments
17886array and parameter handling via signatures is not guaranteed to remain
17887stable in any future version of Perl, and such code should be avoided.
1212317888
1212417889=end original
1212517890
12126(D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は廃止予定です。
17891(S experimental::args_array_with_signatures)
12127L<perlvar/"$["> を参照してください。
17892C<@_> 引数配列が関係する式が
17893シグネチャを使ったサブルーチンの中に見つかりました。
17894引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、
17895将来のバージョンの Perl でも安定なままであることが保証されておらず、
17896そのようなコードは避けるべきなため、これは実験的です。
1212817897
12129=item Use of bare << to mean <<"" is deprecated
17898=item Use of bare << to mean <<"" is forbidden
1213017899
1213117900=begin original
1213217901
12133(D deprecated) You are now encouraged to use the explicitly quoted
17902(F) You are now required to use the explicitly quoted form if you wish
12134form if you wish to use an empty line as the terminator of the here-document.
17903to use an empty line as the terminator of the here-document.
1213517904
1213617905=end original
1213717906
12138(D deprecated) ヒアドキュメントの終端子として空行を
17907(F) ヒアドキュメントの終端子として空行を使いたいときには、明示的に
12139使いたいときには、明示的にクォートされた形を使うことを推奨してい
17908クォートされた形を使うことが必要になりした
1214017909
12141=item Use of comma-less variable list is deprecated
17910=begin original
1214217911
17912Use of a bare terminator was deprecated in Perl 5.000, and is a fatal
17913error as of Perl 5.28.
17914
17915=end original
17916
17917裸の終端子は Perl 5.000 で廃止予定になっていて、
17918Perl 5.28 から致命的エラーです。
17919
17920=item Use of /c modifier is meaningless in s///
17921
1214317922=begin original
1214417923
12145(D deprecated) The values you give to a format should be
17924(W regexp) You used the /c modifier in a substitution. The /c
12146separated by commas, not just aligned on a line.
17925modifier is not presently meaningful in substitutions.
1214717926
1214817927=end original
1214917928
12150(D deprecated) フォーマットに与えた値は単に行
17929(W regexp) 置換 /c 修飾子を使いました。
12151並べるのでなくて、カンマ区切るべきです。
17930/c 置換は現在のところ無意味です。
1215217931
12153=item Use of chdir('') or chdir(undef) as chdir() deprecated
17932=item Use of /c modifier is meaningless without /g
1215417933
1215517934=begin original
1215617935
12157(D deprecated) chdir() with no arguments is documented to change to
17936(W regexp) You used the /c modifier with a regex operand, but didn't
12158$ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this
17937use the /g modifier. Currently, /c is meaningful only when /g is
12159behavior, but that has been deprecated. In future versions they
17938used. (This may change in the future.)
12160will simply fail.
1216117939
1216217940=end original
1216317941
12164(D deprecated) 引数なしの chdir() $ENV{HOME} か $ENV{LOGDIR} に
17942(W regexp) 正規表現オペランドに /c 修飾子を使いましたが/g 修飾子は
12165変更すると文書化されていま
17943使いませんでした
12166chdir(undef) chdir('') も同じふるまいをします、こは非推奨です。
17944現在のところ、/c /g使わたときにのみ有効です。
12167将来のバージョンでは単に失敗すょう
17945(これは将来変更されかもれません)
1216817946
17947=item Use of code point 0x%s is not allowed; the permissible max is 0x%X
17948
17949=item Use of code point 0x%s is not allowed; the permissible max is 0x%X
17950in regex; marked by <-- HERE in m/%s/
17951
1216917952=begin original
1217017953
12171Be careful to check that what you pass to chdir() is defined and not
17954(F) You used a code point that is not allowed, because it is too large.
12172blank, else you might find yourself in your home directory.
17955Unicode only allows code points up to 0x10FFFF, but Perl allows much
17956larger ones. Earlier versions of Perl allowed code points above IV_MAX
17957(0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms),
17958however, this could possibly break the perl interpreter in some constructs,
17959including causing it to hang in a few cases.
1217317960
1217417961=end original
1217517962
12176chdir() に渡が定義されていて、空白ではないことチェックするように
17963(F) 大きぎるで許されない符号位置使いました。
12177注意してくださ; さもないとホームディレクトリに
17964Unicode は 0x10FFFF までだけの符号位置を許していますが、
12178移動してしまうかもしせん
17965Perl は遙に大きいのを許しま
17966以前のバージョンの Perl は
17967IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは
179680x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、
17969これは一部の構文で perl インタプリタを壊すことがあり、
17970場合によってはハングアップすることがありました。
1217917971
12180=item Use of /c modifier is meaningless in s///
17972=begin original
1218117973
17974If your code is to run on various platforms, keep in mind that the upper
17975limit depends on the platform. It is much larger on 64-bit word sizes
17976than 32-bit ones.
17977
17978=end original
17979
17980コードが様々なプラットフォームで実行するためのものなら、
17981上限がプラットフォームに依存していることを心に留めておいてください。
1798264 ビットワードサイズは 32 ビットよりも遙かに大きいです。
17983
1218217984=begin original
1218317985
12184(W regexp) You used the /c modifier in a substitution. The /c
17986The use of out of range code points was deprecated in Perl 5.24, and
12185modifier is not presently meaningful in substitutions.
17987became a fatal error in Perl 5.28.
1218617988
1218717989=end original
1218817990
12189(W regexp) 置換で /c 修飾子を使いました。
17991範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、
12190/c は置換は現在のところ無意味です
17992Perl 5.28 致命的エラーになりました
1219117993
12192=item Use of /c modifier is meaningless without /g
17994=item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior
1219317995
1219417996=begin original
1219517997
12196(W regexp) You used the /c modifier with a regex operand, but didn't
17998(S internal) The behavior of C<each()> after insertion is undefined;
12197use the /g modifier. Currently, /c is meaningful only when /g is
17999it may skip items, or visit items more than once. Consider using
12198used. (This may change in the future.)
18000C<keys()> instead of C<each()>.
1219918001
1220018002=end original
1220118003
12202(W regexp) 正規表現オペランドに /c 修飾子を使ましたが、/g 修飾子
18004(S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを
12203使いませんでした。
18005読み飛ばしたり、複数回読んだりします
12204現在のところ、/c /g 使われたきにのみ有効です
18006C<each()> の代わりに C<keys()> 使うこを検討してください
12205(これは将来変更されるかもしれません。)
1220618007
1220718008=item Use of := for an empty attribute list is not allowed
1220818009
1220918010=begin original
1221018011
1221118012(F) The construction C<my $x := 42> used to parse as equivalent to
1221218013C<my $x : = 42> (applying an empty attribute list to C<$x>).
1221318014This construct was deprecated in 5.12.0, and has now been made a syntax
1221418015error, so C<:=> can be reclaimed as a new operator in the future.
1221518016
1221618017=end original
1221718018
1221818019(F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました
1221918020(C<$x> に空の属性リストを適用する)。
1222018021この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、
1222118022C<:=> は将来新しい演算子として再利用できます。
1222218023
1222318024=begin original
1222418025
1222518026If you need an empty attribute list, for example in a code generator, add
1222618027a space before the C<=>.
1222718028
1222818029=end original
1222918030
1223018031例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に
1223118032スペースを加えてください。
1223218033
18034=item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale
18035
18036=begin original
18037
18038(W locale) You are matching a regular expression using locale rules,
18039and the specified construct was encountered. This construct is only
18040valid for UTF-8 locales, which the current locale isn't. This doesn't
18041make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but
18042the results are likely to be wrong.
18043
18044=end original
18045
18046(W locale) ロケールの規則を使って正規表現のマッチングを行い、
18047指定した構文が出現しました。
18048この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。
18049これは意味がありません。
18050Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、
18051結果はおそらく間違ったものです。
18052
1223318053=item Use of freed value in iteration
1223418054
1223518055=begin original
1223618056
1223718057(F) Perhaps you modified the iterated array within the loop?
1223818058This error is typically caused by code like the following:
1223918059
1224018060=end original
1224118061
1224218062(F) おそらくループの中で反復される配列を変更したのでは?
1224318063このエラーは典型的には以下のようなコードで発生します:
1224418064
1224518065 @a = (3,4);
1224618066 @a = () for (1,2,@a);
1224718067
1224818068=begin original
1224918069
1225018070You are not supposed to modify arrays while they are being iterated over.
1225118071For speed and efficiency reasons, Perl internally does not do full
1225218072reference-counting of iterated items, hence deleting such an item in the
1225318073middle of an iteration causes Perl to see a freed value.
1225418074
1225518075=end original
1225618076
1225718077反復中の配列は変更してはいけないことになっています。
1225818078速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを
1225918079完全には数えていません; 従って反復中のアイテムのを削除すると Perl は
1226018080解放された値を見ることになります。
1226118081
12262=item Use of *glob{FILEHANDLE} is deprecated
12263
12264=begin original
12265
12266(D deprecated) You are now encouraged to use the shorter *glob{IO} form
12267to access the filehandle slot within a typeglob.
12268
12269=end original
12270
12271(D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、
12272より短い *glob{IO} の形を使うことを推奨されています。
12273
1227418082=item Use of /g modifier is meaningless in split
1227518083
1227618084=begin original
1227718085
1227818086(W regexp) You used the /g modifier on the pattern for a C<split>
1227918087operator. Since C<split> always tries to match the pattern
1228018088repeatedly, the C</g> has no effect.
1228118089
1228218090=end original
1228318091
1228418092(W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。
1228518093C<split> は常にパターンを繰り返しマッチングしようとするので、
1228618094C</g> は効果がありません。
1228718095
1228818096=item Use of "goto" to jump into a construct is deprecated
1228918097
1229018098=begin original
1229118099
12292(D deprecated) Using C<goto> to jump from an outer scope into an inner
18100(D deprecated::goto_construct) Using C<goto> to jump from an outer scope into an inner
12293scope is deprecated and should be avoided.
18101scope is deprecated and will be removed completely in Perl 5.42.
1229418102
1229518103=end original
1229618104
12297(D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を
18105(D deprecated::goto_construct) 外側のスコープから内側のスコープに
12298使うことは廃止予定であり、避けるべきです。
18106飛び込むために C<goto> を使うことは廃止予定であり、
18107Perl 5.42 で完全に削除される予定です。
1229918108
12300=item Use of inherited AUTOLOAD for non-method %s() is deprecated
12301
1230218109=begin original
1230318110
12304(D deprecated) As an (ahem) accidental feature, C<AUTOLOAD>
18111This was deprecated in Perl 5.12.
12305subroutines are looked up as methods (using the C<@ISA> hierarchy)
12306even when the subroutines to be autoloaded were called as plain
12307functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or
12308C<< $obj->bar() >>).
1230918112
1231018113=end original
1231118114
12312(D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、
18115これは Perl 5.12 で廃止予定になりました。
12313autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や
12314C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として
12315呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。
1231618116
18117=item Use of '%s' in \p{} or \P{} is deprecated because: %s
18118
1231718119=begin original
1231818120
12319This bug will be rectified in future by using method lookup only for
18121(D deprecated::unicode_property_name) Certain properties are deprecated
12320methods' C<AUTOLOAD>s. However, there is a significant base of existing
18122by Unicode, and may eventually be removed from the Standard, at which
12321code that may be using the old behavior. So, as an interim step, Perl
18123time Perl will follow along. In the meantime, this message is raised to
12322currently issues an optional warning when non-methods use inherited
18124notify you.
12323C<AUTOLOAD>s.
1232418125
1232518126=end original
1232618127
12327このバグは、メソッドの検索をメソッドの C<AUTOLOAD>みで使うことによって
18128(D deprecated::unicode_property_name) 一部特性は
12328将来修正される予定です。
18129Unicode によって廃止予定とされており、
12329かし、現在コードの大部分は古い振る舞いを使っています。
18130最終的に標準ら削除されるかもれません; そ時点で Perl も追随します。
12330それで、暫定的なステップとして、Perl は現在のところは、
18131のところは、通知のためにこのメッセージが発生します。
12331メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を
12332発生させます。
1233318132
18133=item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed
18134
1233418135=begin original
1233518136
12336The simple rule is: Inheritance will not work when autoloading
18137(F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as
12337non-methods. The simple fix for old code is: In any module that used
18138methods (using the C<@ISA> hierarchy), even when the subroutines to be
12338to depend on inheriting C<AUTOLOAD> for non-methods from a base class
18139autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as
12339named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during
18140methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>).
12340startup.
1234118141
1234218142=end original
1234318143
12344単純規則は: 継承 autoload された非メソッドには動作しません。
18144(F) 偶発的仕様によって、C<AUTOLOAD> サブルーチン
12345古いコードを修正する簡単な方法は: C<BaseClass> という名前の基底クラスから
18145autoload されるサブルチンがメソッ(C<< Foo->bar() >>
12346非メソッドための継承した C<AUTOLOAD> に依存しているモジュールに対して、
18146C<< $obj->bar() >>) ではなく、普通関数 (C<Foo::bar()>) して
12347開始時 C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。
18147呼び出された場合も、(C<@ISA> 階層使って) メソッドとして検索してました
1234818148
1234918149=begin original
1235018150
12351In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);>
18151This was deprecated in Perl 5.004, and was made fatal in Perl 5.28.
12352you should remove AutoLoader from @ISA and change C<use AutoLoader;> to
12353C<use AutoLoader 'AUTOLOAD';>.
1235418152
1235518153=end original
1235618154
12357C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードは、
18155この機能は Perl 5.004 で廃止予定になり、Perl 5.28 致命的エラーになりました。
12358@ISA から AutoLoader を取り除いて、C<use AutoLoader;> を
12359C<use AutoLoader 'AUTOLOAD';> に変更するべきです。
1236018156
1236118157=item Use of %s in printf format not supported
1236218158
1236318159=begin original
1236418160
1236518161(F) You attempted to use a feature of printf that is accessible from
1236618162only C. This usually means there's a better way to do it in Perl.
1236718163
1236818164=end original
1236918165
1237018166(F) C でのみアクセス可能な printf の機能を使おうとしました。
1237118167これは普通 Perl で行うより良い方法があります。
1237218168
12373=item Use of %s is deprecated
18169=item Use of '%s' is deprecated as a string delimiter
1237418170
1237518171=begin original
1237618172
12377(D deprecated) The construct indicated is no longer recommended for use,
18173(D deprecated::delimiter_will_be_paired) You used the given character as
12378generally because there's a better way to do it, and also because the
18174a starting delimiter of a string outside the scope of
12379old way has bad side effects.
18175S<C<use feature 'extra_paired_delimiters'>>. This character is the
18176mirror image of another Unicode character; within the scope of that
18177feature, the two are considered a pair for delimitting strings. It is
18178planned to make that feature the default, at which point this usage
18179would become illegal; hence this warning.
1238018180
1238118181=end original
1238218182
12383(D deprecated) 示した構文は、もはや使うことが推奨されません; 一般には
18183(D deprecated::delimiter_will_be_paired)
12384もっと良い方法があるからありまた古い方法は、悪い副作用があるからです。
18184S<C<use feature 'extra_paired_delimiters'>> のスコープの外側で、
18185指定された文字を文字列の区切りの開始として使いました。
18186この文字はもう一つの Unicode 文字の鏡像です;
18187この機能のスコープ内では、この二つは文字列を区切るための組と
18188考えられます。
18189この機能はデフォルトにすることが計画されていて、その時点で
18190この使用法は不正になります; 従ってこれを警告しています。
1238518191
12386=item Use of -l on filehandle %s
12387
1238818192=begin original
1238918193
12390(W io) A filehandle represents an opened file, and when you opened the file
18194For now, you may live with this warning, or turn it off, but this code
12391it already went past any symlink you are presumably trying to look for.
18195will no longer compile in a future version of Perl. Or you can turn on
12392The operation returned C<undef>. Use a filename instead.
18196S<C<use feature 'extra_paired_delimiters'>> and use the character that
18197is the mirror image of this one for the closing string delimiter.
1239318198
1239418199=end original
1239518200
12396(F) ファイルはオープンされたァイルを表わすものあり
18201今のところ、この警告と共に生活するか、あるいはオフきますが
12397ファイルをオプンしたときに、探しているシボリックリンク
18202このコ将来のバージョの Perl でもやコンパイルできなくなります。
12398通り過ぎた後です。
18203あるいは S<C<use feature 'extra_paired_delimiters'>> を有効して、
12399この操作は C<undef> します。
18204この鏡像閉じ文字列区切り文字とてこの文字を使えます。
12400代わりにファイル名を使ってください。
1240118205
12402=item Use of %s on a handle without * is deprecated
18206=item Use of '%s' is experimental as a string delimiter
1240318207
1240418208=begin original
1240518209
12406(D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that
18210(S experimental::extra_paired_delimiters) This warning is emitted if
12407scalar happens to hold a typeglob, which means its filehandle will
18211you use as a string delimiter one of the non-ASCII mirror image ones
12408be tied. If you mean to tie a handle, use an explicit * as in
18212enabled by S<C<use feature 'extra_paired_delimiters'>>. Simply suppress
12409C<tie *$handle>.
18213the warning if you want to use the feature, but know that in doing so
18214you are taking the risk of using an experimental feature which may
18215change or be removed in a future Perl version:
1241018216
1241118217=end original
1241218218
12413(D deprecated) スカラに対して C<tie>, C<tied>, C<untie> を使いましたが
18219(S experimental::extra_paired_delimiters) この警告は
12414スカラは型グロブを保持していて、そのファイルハンドルが tie されていことを
18220S<C<use feature 'extra_paired_delimiters'>> で有効にな
12415意味します。
18221非 ASCII 鏡像の一つを文字列の区切り文字とて使うと出力されます。
12416ハンドル tie する意味しているなら、C<tie *$handle> のように
18222この機能使いたい場合は単にの警告抑制してくださ; ただし
12417明示的 * を使ってください。
18223そうすることってあなたは将来のバージョンの Perl で変更したり
18224削除されたりするかもしれない実験的な機能を使うというリスクを
18225取っていると言うことを知っておいてください:
1241818226
12419=begin original
18227=item Use of %s is not allowed in Unicode property wildcard
18228subpatterns in regex; marked by S<<-- HERE> in m/%s/
1242018229
12421This is a long-standing bug that will be removed in Perl 5.16, as
12422there is currently no way to tie the scalar itself when it holds
12423a typeglob, and no way to untie a scalar that has had a typeglob
12424assigned to it.
12425
12426=end original
12427
12428これは Perl 5.16 で取り除かれる予定の長年残っているバグで、現在のところ
12429型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが
12430代入されているスカラを untie する方法がないというものです。
12431
12432=item Use of ?PATTERN? without explicit operator is deprecated
12433
1243418230=begin original
1243518231
12436(D deprecated) You have written something like C<?\w?>, for a regular
18232(F) You were using a wildcard subpattern a Unicode property value, and
12437expression that matches only once. Starting this term directly with
18233the subpattern contained something that is illegal. Not all regular
12438the question mark delimiter is now deprecated, so that the question mark
18234expression capabilities are legal in such subpatterns, and this is one.
12439will be available for use in new operators in the future. Write C<m?\w?>
18235Rewrite your subppattern to not use the offending construct.
12440instead, explicitly using the C<m> operator: the question mark delimiter
18236See L<perlunicode/Wildcards in Property Values>.
12441still invokes match-once behaviour.
1244218237
1244318238=end original
1244418239
12445(D deprecated) 一度だけマッチグする正規表現として C<?\w?> のようなもの
18240(F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か
12446書きました。
18241不正なものが含まれていました。
12447疑問符を将来新しい演算子とし利用可能とするためにこの単語を直接疑問符
18242このような部分パターンでは全の正規表現機が正当いうわけではなく
12448デリミタで始める非推奨となりました
18243その一つです
12449、明示的に C<m> 演算子使って C<m?\w?> とてください: これも
18244問題となっている構文を使ないよう部分パターンを書き換えてください
12450疑問符デリミタは一度だけマッチングする振る舞い起動ます
18245L<perlunicode/Wildcards in Property Values> 参照てください
1245118246
12452=item Use of qw(...) as parentheses is deprecated
18247=item Use of -l on filehandle%s
1245318248
1245418249=begin original
1245518250
12456(D deprecated) You have something like C<foreach $x qw(a b c) {...}>,
18251(W io) A filehandle represents an opened file, and when you opened the file
12457using a C<qw(...)> list literal where a parenthesised expression is
18252it already went past any symlink you are presumably trying to look for.
12458expected. Historically the parser fooled itself into thinking that
18253The operation returned C<undef>. Use a filename instead.
12459C<qw(...)> literals were always enclosed in parentheses, and as a result
12460you could sometimes omit parentheses around them. (You could never do
12461the C<foreach qw(a b c) {...}> that you might have expected, though.)
12462The parser no longer lies to itself in this way. Wrap the list literal
12463in parentheses, like C<foreach $x (qw(a b c)) {...}>.
1246418254
1246518255=end original
1246618256
12467(D deprecated) C<foreach $x qw(a b c) {...}> のようなものを書きました;
18257(F) ファイルはオープンされたファイルを表わすものであり、
12468かっこ付の式が想定されているところで C<qw(...)> ストテラルを
18258ファイルをオープンしたとには、探しているシンボックンクは、
12469使っています。
18259既に通り過ぎた後です。
12470歴史的に、パーサは C<qw(...)> リテラルは常にかっこで囲れていると
18260この操作は C<undef> を返しす。
12471考えるよう騙されていて、結果として時々かっこを省略できました
18261代わりファイル名を使っください。
12472(しかし、予想するかも知れませんが C<foreach qw(a b c) {...}> とすることは
12473できません。)
12474パーサはもはやこの方法でだまされません。
12475C<foreach $x (qw(a b c)) {...}> のようにして、リストリテラルをかっこで
12476囲んでください。
1247718262
1247818263=item Use of reference "%s" as array index
1247918264
1248018265=begin original
1248118266
1248218267(W misc) You tried to use a reference as an array index; this probably
1248318268isn't what you mean, because references in numerical context tend
1248418269to be huge numbers, and so usually indicates programmer error.
1248518270
1248618271=end original
1248718272
1248818273(W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく
1248918274望んでいることではないでしょう; なぜなら数値コンテキストでの
1249018275リファレンスはとても大きな数になることが多いので、普通はプログラマの
1249118276ミスを意味しています。
1249218277
1249318278=begin original
1249418279
1249518280If you really do mean it, explicitly numify your reference, like so:
1249618281C<$array[0+$ref]>. This warning is not given for overloaded objects,
1249718282however, because you can overload the numification and stringification
1249818283operators and then you presumably know what you are doing.
1249918284
1250018285=end original
1250118286
1250218287本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に
1250318288数値化してください。
1250418289しかし、この警告はオーバーロードされたオブジェクトでは発生しません;
1250518290数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると
1250618291仮定できるからです。
1250718292
12508=item Use of reserved word "%s" is deprecated
18293=item Use of strings with code points over 0xFF as arguments to %s
18294operator is not allowed
1250918295
1251018296=begin original
1251118297
12512(D deprecated) The indicated bareword is a reserved word. Future
18298(F) You tried to use one of the string bitwise operators (C<&> or C<|> or C<^> or
12513versions of perl may use it as a keyword, so you're better off either
18299C<~>) on a string containing a code point over 0xFF. The string bitwise
12514explicitly quoting the word in a manner appropriate for its context of
18300operators treat their operands as strings of bytes, and values beyond
12515use, or using a different name altogether. The warning can be
183010xFF are nonsensical in this context.
12516suppressed for subroutine names by either adding a C<&> prefix, or using
12517a package qualifier, e.g. C<&our()>, or C<Foo::our()>.
1251818302
1251918303=end original
1252018304
12521(D deprecated) 示されている裸単語は予約語です。
18305(F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを
12522将来のバージョンの perl ではこれキーワードとして使う可能性があるので、
183060xFF超える符号位置を含む文字列に使としました。
12523使っているコンテキスに適した形でクォーするか違う名前を
18307ビット単位文字列演算子はオペランドバイ文字列として扱い
12524使ってください
183080xFF を超える値はこの文脈では無意味です
12525この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、
12526パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。
1252718309
18310=begin original
18311
18312Certain instances became fatal in Perl 5.28; others in perl 5.32.
18313
18314=end original
18315
18316一部は Perl 5.28 で致命的エラーになりました; 残りは perl 5.32 です。
18317
18318=item Use of strings with code points over 0xFF as arguments to vec is forbidden
18319
18320=begin original
18321
18322(F) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS>
18323on a string containing a code point over 0xFF, which is nonsensical here.
18324
18325=end original
18326
18327(F) 0xFF を超える符号位置を含む文字列に対して
18328L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました;
18329これはここでは意味がありません。
18330
18331=begin original
18332
18333This became fatal in Perl 5.32.
18334
18335=end original
18336
18337これは Perl 5.32 で致命的エラーになりました。
18338
1252818339=item Use of tainted arguments in %s is deprecated
1252918340
1253018341=begin original
1253118342
1253218343(W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple
1253318344arguments and at least one of them is tainted. This used to be allowed
1253418345but will become a fatal error in a future version of perl. Untaint your
1253518346arguments. See L<perlsec>.
1253618347
1253718348=end original
1253818349
1253918350(W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、
1254018351そのうち少なくとも一つが汚染されています。
1254118352これは許されていましたが、将来のバージョンの perl では致命的エラーに
1254218353なるでしょう。
1254318354引数を浄化してください。
1254418355L<perlsec> を参照してください。
1254518356
18357=item Use of unassigned code point or non-standalone grapheme for a
18358delimiter is not allowed
18359
18360=begin original
18361
18362(F)
18363A grapheme is what appears to a native-speaker of a language to be a
18364character. In Unicode (and hence Perl) a grapheme may actually be
18365several adjacent characters that together form a complete grapheme. For
18366example, there can be a base character, like "R" and an accent, like a
18367circumflex "^", that appear when displayed to be a single character with
18368the circumflex hovering over the "R". Perl currently allows things like
18369that circumflex to be delimiters of strings, patterns, I<etc>. When
18370displayed, the circumflex would look like it belongs to the character
18371just to the left of it. In order to move the language to be able to
18372accept graphemes as delimiters, we cannot allow the use of
18373delimiters which aren't graphemes by themselves. Also, a delimiter must
18374already be assigned (or known to be never going to be assigned) to try
18375to future-proof code, for otherwise code that works today would fail to
18376compile if the currently unassigned delimiter ends up being something
18377that isn't a stand-alone grapheme. Because Unicode is never going to
18378assign
18379L<non-character code points|perlunicode/Noncharacter code points>, nor
18380L<code points that are above the legal Unicode maximum|
18381perlunicode/Beyond Unicode code points>, those can be delimiters, and
18382their use is legal.
18383
18384=end original
18385
18386(F)
18387書記素は言語のネイティブスピーカーにとって文字のように見えるものです。
18388Unicode (従って Perl) では、
18389書記素は実際には互いに完全な書記素を形成するいくつかの隣接する
18390文字かもしれません。
18391例えば、"R" のような基底文字と曲折アクセント "^" のような
18392アクセントかもしれません; これは表示されるときには
18393"R" の上に曲折アクセントがある単一の文字となります。
18394Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの
18395区切り文字にすることを許しています。
18396表示されるとき、曲折アクセントは、
18397そのすぐ左にある文字に付属するかのように見えます。
18398言語が書記素を区切り文字として受けいられられるようにするために、
18399それ自体が書記素でない区切り文字の使用は認められません。
18400また、区切り文字は将来も動作するコードであり続けるために、
18401既に割り当てられている(または決して割り当てられないと分かっている)
18402ものでなければなりません;
18403さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに
18404なった場合、今日動作しているコードがコンパイルに失敗することになります。
18405Unicode は決して
18406L<非文字符号位置|perlunicode/Noncharacter code points> や
18407L<正当な Unicode の最大値より大きな符号位置|
18408perlunicode/Beyond Unicode code points> を割り当てないので、
18409これらは区切り文字になることができ、これらの使用は正当です。
18410
1254618411=item Use of uninitialized value%s
1254718412
1254818413=begin original
1254918414
1255018415(W uninitialized) An undefined value was used as if it were already
1255118416defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
1255218417To suppress this warning assign a defined value to your variables.
1255318418
1255418419=end original
1255518420
1255618421(W uninitialized) 未定義値を、あたかも既に定義されているかのように
1255718422使用しました。
1255818423これは、"" か 0 と解釈されますが、間違いの可能性があります。
1255918424この警告を止めるには、変数に定義された値を代入してください。
1256018425
1256118426=begin original
1256218427
12563To help you figure out what was undefined, perl will try to tell you the
18428To help you figure out what was undefined, perl will try to tell you
12564name of the variable (if any) that was undefined. In some cases it cannot
18429the name of the variable (if any) that was undefined. In some cases
12565do this, so it also tells you what operation you used the undefined value
18430it cannot do this, so it also tells you what operation you used the
12566in. Note, however, that perl optimizes your program and the operation
18431undefined value in. Note, however, that perl optimizes your program
12567displayed in the warning may not necessarily appear literally in your
18432and the operation displayed in the warning may not necessarily appear
12568program. For example, C<"that $foo"> is usually optimized into C<"that "
18433literally in your program. For example, C<"that $foo"> is usually
12569. $foo>, and the warning will refer to the C<concatenation (.)> operator,
18434optimized into C<"that " . $foo>, and the warning will refer to the
12570even though there is no C<.> in your program.
18435C<concatenation (.)> operator, even though there is no C<.> in
18436your program.
1257118437
1257218438=end original
1257318439
1257418440何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である
1257518441変数名を示します。
1257618442それができないような場合では、未定義値を使った操作を示します。
1257718443しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に
1257818444現れない操作についての警告が表示されるかもしれないことに注意してください。
1257918445例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、
1258018446たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が
1258118447出ます。
1258218448
12583=item Using a hash as a reference is deprecated
18449=item "use re 'strict'" is experimental
1258418450
1258518451=begin original
1258618452
12587(D deprecated) You tried to use a hash as a reference, as in
18453(S experimental::re_strict) The things that are different when a regular
12588C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl <= 5.6.1
18454expression pattern is compiled under C<'strict'> are subject to change
12589used to allow this syntax, but shouldn't have. It is now deprecated, and will
18455in future Perl releases in incompatible ways. This means that a pattern
12590be removed in a future version.
18456that compiles today may not in a future Perl release. This warning is
18457to alert you to that risk.
1259118458
1259218459=end original
1259318460
12594(D deprecated) C<< %foo->{"bar"} >> や C<< %$ref->{"hello"} >>
18461(S experimental::re_strict) 正規表現が C<'strict'> の
12595ハッシュをリファレスとして使おうとしまし
18462パイルされときに何が異なるかは、
125965.6.1 以前バージョンの perl ではこ構文を許してましたが、
18463将来Perl のリリース互換性形で変更される予定です。
12597そうするべきではありせん。
18464り、今日コンパイルしたパターンは将来の Perl リリースのものとは
12598これは今では非推奨であり、将来のバージョンでは削除されるでしょう。
18465かもしれません
18466この警告はそのリスクを知らせるためのものです。
1259918467
12600=item Using an array as a reference is deprecated
18468=item use VERSION is not permitted while another use VERSION of 5.39 or above is in scope
1260118469
1260218470=begin original
1260318471
12604(D deprecated) You tried to use an array as a reference, as in
18472(F) Once you have a C<use VERSION> declaration that calls for a Perl version
12605C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to
18473of at least 5.39, you cannot have a subsequent one while the first is visible,
12606allow this syntax, but shouldn't have. It is now deprecated, and will be
18474even if it requests a later version.
12607removed in a future version.
1260818475
1260918476=end original
1261018477
12611(D deprecated) C<< @foo->[23] >> C<< @$ref->[99] >> の形で
18478(F) 一旦 5.39 以上の Perl バージョンを要求する C<use VERSION> を宣言すると
12612配列をリファレンスとて使おうとしました。
18479例えより新いバージョンを要求する場合でも、
126135.6.1 以前バージョン perl でこの構文を許していましたが、
18480最初宣言が有効引き続て宣言することはできせん。
12614そうするべきではありません。
12615これは今では非推奨であり、将来のバージョンでは削除されるでしょう。
1261618481
12617=item Using just the first character returned by \N{} in character class
18482=item use VERSION of 5.39 or above is not permitted while another use VERSION is in scope
1261818483
1261918484=begin original
1262018485
12621(W) A charnames handler may return a sequence of more than one character.
18486(F) Once you have a C<use VERSION> declaration in scope, you cannot have a
12622Currently all but the first one are discarded when used in a regular
18487subsequent one that calls for a Perl version of at least 5.39 while the first
12623expression pattern bracketed character class.
18488is visible.
1262418489
1262518490=end original
1262618491
12627(W) charnames ハンドラが複数の文字の並びとがあります。
18492(F) 一旦スコープ内で C<use VERSION> 宣言、最初の宣言有効の間は、
12628正規表現パターン大かっこ文字クラスで使われときに、現在のところ
18493引き続いて 5.39 以上の Perl バジョを要求す宣言できません。
12629最初のもの以外は捨てられます。
1263018494
12631=item Using !~ with %s doesn't make sense
18495=item Use \x{...} for more than two hex characters in regex; marked by
18496S<<-- HERE> in m/%s/
1263218497
1263318498=begin original
1263418499
12635(F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is
18500(F) In a regular expression, you said something like
12636currently reserved for future use, as the exact behaviour has not
12637been decided. (Simply returning the boolean opposite of the
12638modified string is usually not particularly useful.)
1263918501
1264018502=end original
1264118503
12642(F) C<s///r>, C<tr///r>, C<y///r> の C<!~> 演算子の使用は正確振る舞いが
18504(F) 正規表現で、以下のようことをしました
12643まだ決定されていないので、将来の使用のために予約されています。
12644(単に修正された文字列の真偽値としての逆を返すのは普通特に
12645有用ではありません。)
1264618505
12647=item User-defined case-mapping '%s' is deprecated
18506 (?[ [ \xBEEF ] ])
1264818507
1264918508=begin original
1265018509
12651(W deprecated) You defined a function, such as C<ToLower> that overrides
18510Perl isn't sure if you meant this
12652the standard case mapping, such as C<lc()> gives. This feature is being
12653deprecated due to its many issues, as documented in
12654L<perlunicode/User-Defined Case Mappings (for serious hackers only)>.
12655It is planned to remove this feature in Perl 5.16. A CPAN module
12656providing improved functionality is being prepared.
1265718511
1265818512=end original
1265918513
12660(W deprecated) C<lc()>与えるような標準大文字小文字マッピング
18514Perl は、これ以下もの意味しているのか
12661上書きするような、C<ToLower> のような関数を定義しました。
12662L<perlunicode/User-Defined Case Mappings (for serious hackers only)> に
12663記述されているように、この機能は多くの問題により廃止予定です。
12664この機能は Perl 5.16 で削除予定です。
12665改良した機能を提供する CPAN モジュールが準備中です。
1266618515
18516 (?[ [ \x{BEEF} ] ])
18517
18518=begin original
18519
18520or if you meant this
18521
18522=end original
18523
18524それとも次のものかがわかりません。
18525
18526 (?[ [ \x{BE} E F ] ])
18527
18528=begin original
18529
18530You need to add either braces or blanks to disambiguate.
18531
18532=end original
18533
18534明確にするために大かっこか空白を追加する必要があります。
18535
18536=item Using just the first character returned by \N{} in character class in
18537regex; marked by S<<-- HERE> in m/%s/
18538
18539=begin original
18540
18541(W regexp) Named Unicode character escapes C<(\N{...})> may return
18542a multi-character sequence. Even though a character class is
18543supposed to match just one character of input, perl will match
18544the whole thing correctly, except when the class is inverted
18545(C<[^...]>), or the escape is the beginning or final end point of
18546a range. For these, what should happen isn't clear at all. In
18547these circumstances, Perl discards all but the first character
18548of the returned sequence, which is not likely what you want.
18549
18550=end original
18551
18552(W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は
18553複数文字並びを返すことがあります。
18554文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、
18555perl は全体を正しくマッチングします; 但し例外は、
18556クラスが反転された場合 (C<[^...]>) と、
18557エスケープが範囲の始点か終点の場合です。
18558これらの場合、何をするべきかは全く明らかではありません。
18559このため、Perl は返された並びの最初以外の文字を捨てます;
18560おそらくこれはあなたが求めているものではないでしょう。
18561
18562=item Using just the single character results returned by \p{} in
18563(?[...]) in regex; marked by S<<-- HERE> in m/%s/
18564
18565=begin original
18566
18567(W regexp) Extended character classes currently cannot handle operands
18568that evaluate to more than one character. These are removed from the
18569results of the expansion of the C<\p{}>.
18570
18571=end original
18572
18573(W regexp) 拡張文字クラスは、現在の所、複数の文字に評価されるオペランドを
18574扱うことは出来ません。
18575これらは C<\p{}> の拡張の結果から取り除かれました。
18576
18577=begin original
18578
18579This situation can happen, for example, in
18580
18581=end original
18582
18583この状況は、例えば次の場合に起こります:
18584
18585 (?[ \p{name=/KATAKANA/} ])
18586
18587=begin original
18588
18589"KATAKANA LETTER AINU P" is a legal Unicode name (technically a "named
18590sequence"), but it is actually two characters. The above expression
18591with match only the Unicode names containing KATAKANA that represent
18592single characters.
18593
18594=end original
18595
18596"KATAKANA LETTER AINU P" は正当な Unicode 名 (技術的には「名前付き並び」)ですが、
18597実際には二つの文字です。
18598前述の式は、単一の文字を表現する KATAKANA を含む Unicode 名のみに
18599マッチングします。
18600
18601=item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/
18602
18603=begin original
18604
18605(W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a
18606portion of a regular expression where the character set modifiers C</a>
18607or C</aa> are in effect. These two modifiers indicate an ASCII
18608interpretation, and this doesn't make sense for a Unicode definition.
18609The generated regular expression will compile so that the boundary uses
18610all of Unicode. No other portion of the regular expression is affected.
18611
18612=end original
18613
18614(W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で
18615Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。
18616これら二つの修飾子は ASCII での解釈を示していて、これは
18617Unicode の定義では意味がありません。
18618生成された正規表現は、境界は全て Unicode としてコンパイルします。
18619正規表現のその他の部分は影響を受けません。
18620
18621=item Using !~ with %s doesn't make sense
18622
18623=begin original
18624
18625(F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is
18626currently reserved for future use, as the exact behavior has not
18627been decided. (Simply returning the boolean opposite of the
18628modified string is usually not particularly useful.)
18629
18630=end original
18631
18632(F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが
18633まだ決定されていないので、将来の使用のために予約されています。
18634(単に修正された文字列の真偽値としての逆を返すのは普通特に
18635有用ではありません。)
18636
1266718637=item UTF-16 surrogate U+%X
1266818638
1266918639=begin original
1267018640
12671(W utf8, surrogate) You had a UTF-16 surrogate in a context where they are
18641(S surrogate) You had a UTF-16 surrogate in a context where they are
1267218642not considered acceptable. These code points, between U+D800 and
1267318643U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl
1267418644internally allows all unsigned integer code points (up to the size limit
1267518645available on your platform), including surrogates. But these can cause
1267618646problems when being input or output, which is likely where this message
1267718647came from. If you really really know what you are doing you can turn
1267818648off this warning by C<no warnings 'surrogate';>.
1267918649
1268018650=end original
1268118651
12682(W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
18652(S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
1268318653使いました。
1268418654これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに
1268518655Unicode によって使われます。
1268618656しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は
1268718657プラットフォームで利用可能なサイズ上限)を受け付けます。
1268818658しかし、これらは入力や出力になるときに問題を引き起こします; それは
1268918659おそらくこのメッセージが出た場所です。
1269018660自分で何をしているのかが本当に本当に分かっているなら、
1269118661C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
1269218662
1269318663=item Value of %s can be "0"; test with defined()
1269418664
1269518665=begin original
1269618666
1269718667(W misc) In a conditional expression, you used <HANDLE>, <*> (glob),
1269818668C<each()>, or C<readdir()> as a boolean value. Each of these constructs
1269918669can return a value of "0"; that would make the conditional expression
1270018670false, which is probably not what you intended. When using these
1270118671constructs in conditional expressions, test their values with the
1270218672C<defined> operator.
1270318673
1270418674=end original
1270518675
1270618676(W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を
1270718677真偽値として使いました。
1270818678これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、
1270918679これはおそらく望んでいることではないでしょう。
1271018680これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で
1271118681テストしてください。
1271218682
1271318683=item Value of CLI symbol "%s" too long
1271418684
1271518685=begin original
1271618686
1271718687(W misc) A warning peculiar to VMS. Perl tried to read the value of an
1271818688%ENV element from a CLI symbol table, and found a resultant string
1271918689longer than 1024 characters. The return value has been truncated to
12720186901024 characters.
1272118691
1272218692=end original
1272318693
1272418694(W misc) VMS に固有の警告です。
1272518695Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、
1272618696結果の文字列が 1024 文字を越えました。
1272718697返り値は 1024 文字に切り詰められます。
1272818698
1272918699=item Variable "%s" is not available
1273018700
1273118701=begin original
1273218702
1273318703(W closure) During compilation, an inner named subroutine or eval is
1273418704attempting to capture an outer lexical that is not currently available.
12735This can happen for one of two reasons. First, the outer lexical may be
18705This can happen for one of two reasons. First, the outer lexical may be
1273618706declared in an outer anonymous subroutine that has not yet been created.
1273718707(Remember that named subs are created at compile time, while anonymous
12738subs are created at run-time.) For example,
18708subs are created at run-time.) For example,
1273918709
1274018710=end original
1274118711
1274218712(W closure) コンパイル中に、内側の名前付きサブルーチンや eval が
1274318713まだ利用可能でない外側のレキシカルを捕捉しようとしました。
12744これは二つの理由の 一つで起こります。
18714これは二つの理由で起こります。
1274518715まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで
1274618716定義されている場合です。
1274718717(名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは
1274818718実行時に作成されることを思い出してください。)
1274918719例えば、
1275018720
12751 sub { my $a; sub f { $a } }
18721 sub { my $x; sub f { $x } }
1275218722
1275318723=begin original
1275418724
12755At the time that f is created, it can't capture the current value of $a,
18725At the time that f is created, it can't capture the current value of $x,
12756since the anonymous subroutine hasn't been created yet. Conversely,
18726since the anonymous subroutine hasn't been created yet. Conversely,
1275718727the following won't give a warning since the anonymous subroutine has by
1275818728now been created and is live:
1275918729
1276018730=end original
1276118731
12762f が作成された時点で、$a の現在の値を捕捉できません;
18732f が作成された時点で、$x の現在の値を捕捉できません;
1276318733なぜなら無名サブルーチンはまだ作成されていないからです。
12764逆に、以下のものは無名サブルーチンがす作成されていて有効なので、
18734逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて
12765警告は出ません:
18735生きているからです:
1276618736
12767 sub { my $a; eval 'sub f { $a }' }->();
18737 sub { my $x; eval 'sub f { $x }' }->();
1276818738
1276918739=begin original
1277018740
1277118741The second situation is caused by an eval accessing a variable that has
1277218742gone out of scope, for example,
1277318743
1277418744=end original
1277518745
12776187462 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります;
1277718747例えば:
1277818748
1277918749 sub f {
12780 my $a;
18750 my $x;
12781 sub { eval '$a' }
18751 sub { eval '$x' }
1278218752 }
1278318753 f()->();
1278418754
1278518755=begin original
1278618756
12787Here, when the '$a' in the eval is being compiled, f() is not currently being
18757Here, when the '$x' in the eval is being compiled, f() is not currently
12788executed, so its $a is not available for capture.
18758being executed, so its $x is not available for capture.
1278918759
1279018760=end original
1279118761
12792ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ
18762ここで、eval の中の '$x' がコンパイルされるとき、f() はまだ
12793実行されていないので、この $a は捕捉出来ません。
18763実行されていないので、この $x は捕捉出来ません。
1279418764
1279518765=item Variable "%s" is not imported%s
1279618766
1279718767=begin original
1279818768
12799(W misc) With "use strict" in effect, you referred to a global variable
18769(S misc) With "use strict" in effect, you referred to a global variable
1280018770that you apparently thought was imported from another module, because
1280118771something else of the same name (usually a subroutine) is exported by
1280218772that module. It usually means you put the wrong funny character on the
12803front of your variable.
18773front of your variable. It is also possible you used an "our" variable
18774whose scope has ended.
1280418775
1280518776=end original
1280618777
12807(W misc) "use strict" が有効のときに、見たところ他のモジュールから
18778(S misc) "use strict" が有効のときに、見たところ他のモジュールから
1280818779インポートされたとあなたが考えたグローバル変数を参照しました;
1280918780なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから
1281018781エクスポートされています。
1281118782これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。
18783スコープが終わっている "our" 変数を使った可能性もあります。
1281218784
12813=item Variable length lookbehind not implemented in m/%s/
18785=item Variable length lookbehind not implemented in regex m/%s/
1281418786
1281518787=begin original
1281618788
12817(F) Lookbehind is allowed only for subexpressions whose length is fixed and
18789(F) B<This message no longer should be raised as of Perl 5.30.> It is
12818known at compile time. See L<perlre>.
18790retained in this document as a convenience for people using an earlier
18791Perl version.
1281918792
1282018793=end original
1282118794
12822(F) 後方参照長さが固定で、コンパイル時に確定ている副式に対してのみ可能です
18795(F) B<このメッセージ Perl 5.30 からもはや発生ません>
12823L<perlre>参照しくださ
18796これはより古いバージョンの Perl を使っている人々が便利なように
18797この文書に残しています。
1282418798
18799=begin original
18800
18801In Perl 5.30 and earlier, lookbehind is allowed
18802only for subexpressions whose length is fixed and
18803known at compile time. For positive lookbehind, you can use the C<\K>
18804regex construct as a way to get the equivalent functionality. See
18805L<(?<=pattern) and \K in perlre|perlre/\K>.
18806
18807=end original
18808
18809Perl 5.30 以前では、後方参照は長さが固定で、
18810コンパイル時に確定している副式に対してのみ可能です。
18811正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。
18812L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。
18813
18814=begin original
18815
18816Starting in Perl 5.18, there are non-obvious Unicode rules under C</i>
18817that can match variably, but which you might not think could. For
18818example, the substring C<"ss"> can match the single character LATIN
18819SMALL LETTER SHARP S. Here's a complete list of the current ones
18820affecting ASCII characters:
18821
18822=end original
18823
18824Perl 5.18 から、C</i> の下では、おそらくあなたが考えていないような
18825種類のものにマッチングするという、明確でない Unicode の規則があります。
18826例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に
18827マッチングします。
18828以下は ASCII 文字に影響を与える現在のものの完全な一覧です:
18829
18830 ASCII
18831 sequence Matches single letter under /i
18832 FF U+FB00 LATIN SMALL LIGATURE FF
18833 FFI U+FB03 LATIN SMALL LIGATURE FFI
18834 FFL U+FB04 LATIN SMALL LIGATURE FFL
18835 FI U+FB01 LATIN SMALL LIGATURE FI
18836 FL U+FB02 LATIN SMALL LIGATURE FL
18837 SS U+00DF LATIN SMALL LETTER SHARP S
18838 U+1E9E LATIN CAPITAL LETTER SHARP S
18839 ST U+FB06 LATIN SMALL LIGATURE ST
18840 U+FB05 LATIN SMALL LIGATURE LONG S T
18841
18842=begin original
18843
18844This list is subject to change, but is quite unlikely to.
18845Each ASCII sequence can be any combination of upper- and lowercase.
18846
18847=end original
18848
18849この一覧は変更されるかもしれませんが、かなり起こりにくいです。
18850それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。
18851
18852=begin original
18853
18854You can avoid this by using a bracketed character class in the
18855lookbehind assertion, like
18856
18857=end original
18858
18859次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます:
18860
18861 (?<![sS]t)
18862 (?<![fF]f[iI])
18863
18864=begin original
18865
18866This fools Perl into not matching the ligatures.
18867
18868=end original
18869
18870これは合字にマッチングしないように Perl を騙します。
18871
18872=begin original
18873
18874Another option for Perls starting with 5.16, if you only care about
18875ASCII matches, is to add the C</aa> modifier to the regex. This will
18876exclude all these non-obvious matches, thus getting rid of this message.
18877You can also say
18878
18879=end original
18880
18881Perl v5.16 からのもう一つの選択肢は、
18882もし ASCII のマッチングにだけ関心があるのなら、
18883正規表現に C</aa> を追加することです。
18884これにより、明確でないマッチングを全て
18885除くことができるので、このメッセージを避けられます。
18886また、次のようにすることで:
18887
18888 use if $] ge 5.016, re => '/aa';
18889
18890=begin original
18891
18892to apply C</aa> to all regular expressions compiled within its scope.
18893See L<re>.
18894
18895=end original
18896
18897スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。
18898L<re> を参照してください。
18899
18900=item Variable length positive lookbehind with capturing is experimental in regex m/%s/
18901
18902=begin original
18903
18904(W) Variable length positive lookbehind with capturing is not well defined. This
18905warning alerts you to the fact that you are using a construct which may
18906change in a future version of perl. See the
18907L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >>
18908for details. You may silence this warning with the following:
18909
18910=end original
18911
18912(W) 捕捉バッファ付きの正の可変長後読みは未定義です。
18913この警告は、将来のバージョンの perl で変更されるかも知れない構文を
18914使っているという事実を警告します。
18915詳しくは
18916L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >>
18917を参照してください。
18918次のようにすることでこの警告を消せます:
18919
18920 no warnings 'experimental::vlb';
18921
18922=item Variable length negative lookbehind with capturing is experimental in regex m/%s/
18923
18924=begin original
18925
18926(W) Variable length negative lookbehind with capturing is not well defined. This
18927warning alerts you to the fact that you are using a construct which may
18928change in a future version of perl. See the
18929L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >>
18930for details. You may silence this warning with the following:
18931
18932=end original
18933
18934(W) 捕捉バッファ付きの負の可変長後読みは未定義です。
18935この警告は、将来のバージョンの perl で変更されるかも知れない構文を
18936使っているという事実を警告します。
18937詳しくは
18938L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >>
18939を参照してください。
18940次のようにすることでこの警告を消せます:
18941
18942 no warnings 'experimental::vlb';
18943
1282518944=item "%s" variable %s masks earlier declaration in same %s
1282618945
1282718946=begin original
1282818947
12829(W misc) A "my", "our" or "state" variable has been redeclared in the
18948(W shadow) A "my", "our", "state" or "field" variable has been redeclared in
12830current scope or statement, effectively eliminating all access to the
18949the current scope or statement, effectively eliminating all access to the
1283118950previous instance. This is almost always a typographical error. Note
1283218951that the earlier variable will still exist until the end of the scope
12833or until all closure referents to it are destroyed.
18952or until all closure references to it are destroyed.
1283418953
1283518954=end original
1283618955
12837(W misc) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、
18956(W shadow) 現在のスコープや文で "my", "our", "state", "field" 変数が
12838以前の実体への全てのアクセスができなくなりました。
18957再宣言されたので、以前の実体への全てのアクセスができなくなりました。
12839これはほとんどの場合タイプミスです。
18958これはほとんど常にタイプミスです。
1284018959以前の変数は、スコープが終わるか、それを参照している全てのクロージャが
1284118960破壊されるまでは存在し続けることに注意してください。
1284218961
1284318962=item Variable syntax
1284418963
1284518964=begin original
1284618965
1284718966(A) You've accidentally run your script through B<csh> instead
1284818967of Perl. Check the #! line, or manually feed your script into
1284918968Perl yourself.
1285018969
1285118970=end original
1285218971
1285318972(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
12854#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
18973#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1285518974
1285618975=item Variable "%s" will not stay shared
1285718976
1285818977=begin original
1285918978
1286018979(W closure) An inner (nested) I<named> subroutine is referencing a
1286118980lexical variable defined in an outer named subroutine.
1286218981
1286318982=end original
1286418983
1286518984(W closure) 内部の(ネストした) I<名前付き> サブルーチンが、
1286618985外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。
1286718986
1286818987=begin original
1286918988
1287018989When the inner subroutine is called, it will see the value of
1287118990the outer subroutine's variable as it was before and during the *first*
1287218991call to the outer subroutine; in this case, after the first call to the
1287318992outer subroutine is complete, the inner and outer subroutines will no
1287418993longer share a common value for the variable. In other words, the
1287518994variable will no longer be shared.
1287618995
1287718996=end original
1287818997
12879内側のサブルーチンが呼び出された時外側のサブルーチンの値は、最初の外側の
18998内側のサブルーチンが呼び出されるとき
12880サブルーチン呼び出し前および呼び出し中ものになります;
18999外側のサブルーチンの変数値は、
12881場合、外側のサブルーチンへの最初の呼び出しが終了た後、内側と
19000「最初外側のサブルーチンへの呼び出し前および呼び出中のものになります;
12882外側のサブルーチンは変数に関て同じ値を共有なくなります。
19001この場合、外側のサブルーチンへの最初の呼び出が終了た後、
12883言い換える変数はもはや共有されせん
19002内側外側のサブルーチンはこの変数に関して同じ値を共有しなくなり
19003言い換えると、この変数はもはや共有されません。
1288419004
1288519005=begin original
1288619006
1288719007This problem can usually be solved by making the inner subroutine
1288819008anonymous, using the C<sub {}> syntax. When inner anonymous subs that
1288919009reference variables in outer subroutines are created, they
1289019010are automatically rebound to the current values of such variables.
1289119011
1289219012=end original
1289319013
1289419014この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで
1289519015解決します。
1289619016外側のサブルーチンの変数を参照している内側の無名サブルーチンが
1289719017作成されたとき、これらはそのような変数の現在の値に自動的に回復します。
1289819018
12899=item Verb pattern '%s' has a mandatory argument in regex; marked by <-- HERE in m/%s/
19019=item vector argument not supported with alpha versions
1290019020
1290119021=begin original
1290219022
12903(F) You used a verb pattern that requires an argument. Supply an argument
19023(S printf) The %vd (s)printf format does not support version objects
12904or check that you are using the right verb.
19024with alpha parts.
1290519025
1290619026=end original
1290719027
19028(S printf) %vd (s)printf フォーマットはアルファ部分のある
19029バージョンオブジェクトに対応していません。
19030
19031=item Verb pattern '%s' has a mandatory argument in regex; marked by
19032S<<-- HERE> in m/%s/
19033
19034=begin original
19035
19036(F) You used a verb pattern that requires an argument. Supply an
19037argument or check that you are using the right verb.
19038
19039=end original
19040
1290819041(F) 引き数が必要な動詞パターンを使いました。
1290919042引き数を追加するか、正しい動詞を使ってください。
1291019043
12911=item Verb pattern '%s' may not have an argument in regex; marked by <-- HERE in m/%s/
19044=item Verb pattern '%s' may not have an argument in regex; marked by
19045S<<-- HERE> in m/%s/
1291219046
1291319047=begin original
1291419048
12915(F) You used a verb pattern that is not allowed an argument. Remove the
19049(F) You used a verb pattern that is not allowed an argument. Remove the
1291619050argument or check that you are using the right verb.
1291719051
1291819052=end original
1291919053
1292019054(F) 引き数が認められていない動詞パターンを使いました。
1292119055引き数を削除するか、正しい動詞を使ってください。
1292219056
19057=item Version control conflict marker
19058
19059=begin original
19060
19061(F) The parser found a line starting with C<E<lt><<<<<<>,
19062C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a
19063version control system to mark conflicts after a failed merge operation.
19064
19065=end original
19066
19067(F) パーサは C<E<lt><<<<<<>,
19068C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。
19069これらはマージ操作に失敗したあと衝突を記録するために
19070バージョン制御システムによって残されたものかもしれません。
19071
1292319072=item Version number must be a constant number
1292419073
1292519074=begin original
1292619075
1292719076(P) The attempt to translate a C<use Module n.n LIST> statement into
1292819077its equivalent C<BEGIN> block found an internal inconsistency with
1292919078the version number.
1293019079
1293119080=end original
1293219081
1293319082(P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと
1293419083したときに、バージョン番号について内部の不整合を発見しました。
1293519084
1293619085=item Version string '%s' contains invalid data; ignoring: '%s'
1293719086
1293819087=begin original
1293919088
1294019089(W misc) The version string contains invalid characters at the end, which
1294119090are being ignored.
1294219091
1294319092=end original
1294419093
1294519094(W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は
1294619095無視されます。
1294719096
1294819097=item Warning: something's wrong
1294919098
1295019099=begin original
1295119100
1295219101(W) You passed warn() an empty string (the equivalent of C<warn "">) or
1295319102you called it with no args and C<$@> was empty.
1295419103
1295519104=end original
1295619105
1295719106(W) warn() に空文字列を渡した (C<warn ""> と透過です) か、
1295819107引数なしで呼び出され、C<$@> も空でした。
1295919108
1296019109=item Warning: unable to close filehandle %s properly
1296119110
1296219111=begin original
1296319112
1296419113(S) The implicit close() done by an open() got an error indication on
1296519114the close(). This usually indicates your file system ran out of disk
1296619115space.
1296719116
1296819117=end original
1296919118
1297019119(S) open() によって暗黙のうちに行なわれる close() が、
1297119120close() のエラーとなりました。
1297219121通常、ファイルシステムがいっぱいであることを示します。
1297319122
19123=item Warning: unable to close filehandle properly: %s
19124
19125=item Warning: unable to close filehandle %s properly: %s
19126
19127=begin original
19128
19129(S io) There were errors during the implicit close() done on a filehandle
19130when its reference count reached zero while it was still open, e.g.:
19131
19132=end original
19133
19134(S io) まだ開いているけれども参照カウントがゼロになったときに
19135ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました;
19136例えば:
19137
19138 {
19139 open my $fh, '>', $file or die "open: '$file': $!\n";
19140 print $fh $data or die "print: $!";
19141 } # implicit close here
19142
19143=begin original
19144
19145Because various errors may only be detected by close() (e.g. buffering could
19146allow the C<print> in this example to return true even when the disk is full),
19147it is dangerous to ignore its result. So when it happens implicitly, perl
19148will signal errors by warning.
19149
19150=end original
19151
19152様々なエラーは close() によってのみ検出される
19153(バッファリングによって、この例の C<print> はディスクフルの場合でも
19154真を返すことが可能です)ので、
19155その結果を無視するのは危険です。
19156従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。
19157
19158=begin original
19159
19160B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown
19161above was liable to cause B<silent data loss>.
19162
19163=end original
19164
19165B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>;
19166従って、前述のような一般的な慣用句は
19167B<暗黙なデータの損失> を引き起こすことがありました。
19168
1297419169=item Warning: Use of "%s" without parentheses is ambiguous
1297519170
1297619171=begin original
1297719172
1297819173(S ambiguous) You wrote a unary operator followed by something that
1297919174looks like a binary operator that could also have been interpreted as a
1298019175term or unary operator. For instance, if you know that the rand
1298119176function has a default argument of 1.0, and you write
1298219177
1298319178=end original
1298419179
1298519180(S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、
1298619181二項演算子のようなものが置かれました。
1298719182たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って
1298819183いれば、以下のように書いて:
1298919184
1299019185 rand + 5;
1299119186
1299219187=begin original
1299319188
1299419189you may THINK you wrote the same thing as
1299519190
1299619191=end original
1299719192
1299819193以下の同じことと思うかもしれませんが:
1299919194
1300019195 rand() + 5;
1300119196
1300219197=begin original
1300319198
1300419199but in actual fact, you got
1300519200
1300619201=end original
1300719202
1300819203実際には以下のようになります:
1300919204
1301019205 rand(+5);
1301119206
1301219207=begin original
1301319208
1301419209So put in parentheses to say what you really mean.
1301519210
1301619211=end original
1301719212
1301819213したがって、思うように解釈させるには、かっこが必要になります。
1301919214
19215=item when is deprecated
19216
19217=begin original
19218
19219(D deprecated::smartmatch) C<when> depends on smartmatch, which is
19220deprecated. Additionally, it has several special cases that may
19221not be immediately obvious, and it will be removed in Perl 5.42.
19222See the explanation
19223under L<perlsyn/Experimental Details on given and when>.
19224
19225=end original
19226
19227(D deprecated::smartmatch) C<when> は、廃止予定である
19228スマートマッチングに依存しています。
19229さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、
19230Perl 5.42 で削除される予定です。
19231L<perlsyn/Experimental Details on given and when> の説明を参照してください。
19232
1302019233=item Wide character in %s
1302119234
1302219235=begin original
1302319236
13024(S utf8) Perl met a wide character (>255) when it wasn't expecting
19237(S utf8) Perl met a wide character (ordinal >255) when it wasn't
13025one. This warning is by default on for I/O (like print). The easiest
19238expecting one. This warning is by default on for I/O (like print).
13026way to quiet this warning is simply to add the C<:utf8> layer to the
13027output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the
19240=end original
13028warning is to add C<no warnings 'utf8';> but that is often closer to
19242(S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。
19243この警告は、(print のような) I/O に対してはデフォルトでオンです。
19244
19245=begin original
19246
19247If this warning does come from I/O, the easiest
19248way to quiet it is simply to add the C<:utf8> layer, I<e.g.>,
19249S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is
19250to add S<C<no warnings 'utf8';>> but that is often closer to
1302919251cheating. In general, you are supposed to explicitly mark the
1303019252filehandle with an encoding, see L<open> and L<perlfunc/binmode>.
1303119253
1303219254=end original
1303319255
13034(S utf8) Perl が(想定していいとろで)ワイド文字(>255)に遭遇しました。
19256この警告が I/O からのものら、れを黙らせる最も簡単な方法は、
13035この警告は、(print のような) I/O 対してはデフォルトでオンです。
19257S<C<binmode STDOUT, ':utf8'>> のように
13036この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように
1303719258出力に単に C<:utf8> 層を追加することです。
13038もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは
19259もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは
1303919260しばしばいかさまに近い方法です。
1304019261一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに
1304119262なっています; L<open> と L<perlfunc/binmode> を参照してください。
1304219263
19264=begin original
19265
19266If the warning comes from other than I/O, this diagnostic probably
19267indicates that incorrect results are being obtained. You should examine
19268your code to determine how a wide character is getting to an operation
19269that doesn't handle them.
19270
19271=end original
19272
19273この警告が I/O 以外からのものなら、この診断メッセージは
19274おそらく正しくない結果が得られたことを意味しています。
19275どのようにしてワイド文字が、それを扱えない操作に渡されたのかを
19276決定するために、ソースコードを調べる必要があります。
19277
19278=item Wide character (U+%X) in %s
19279
19280=begin original
19281
19282(W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8
19283one), a multi-byte character was encountered. Perl considers this
19284character to be the specified Unicode code point. Combining non-UTF-8
19285locales and Unicode is dangerous. Almost certainly some characters
19286will have two different representations. For example, in the ISO 8859-7
19287(Greek) locale, the code point 0xC3 represents a Capital Gamma. But so
19288also does 0x393. This will make string comparisons unreliable.
19289
19290=end original
19291
19292(W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、
19293複数バイト文字に遭遇しました。
19294Perl はこの文字を指定された Unicode 符号位置として扱います。
19295非 UTF-8 ロケールと Unicode を結合するのは危険です。
19296ほとんど確実に一部の文字は複数の異なる表現を持ちます。
19297例えば、ISO 8859-7 (ギリシャ語) ロケールでは、
19298符号位置 0xC3 は Capital Gamma を表現します。
19299しかし 0x393 も同じです。
19300これは文字列比較を信頼できないものにします。
19301
19302=begin original
19303
19304You likely need to figure out how this multi-byte character got mixed up
19305with your single-byte locale (or perhaps you thought you had a UTF-8
19306locale, but Perl disagrees).
19307
19308=end original
19309
19310おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを
19311見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを
19312使っていると考えているけれども Perl は同意していないのでしょう)。
19313
1304319314=item Within []-length '%c' not allowed
1304419315
1304519316=begin original
1304619317
13047(F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> only if
19318(F) The count in the (un)pack template may be replaced by C<[TEMPLATE]>
13048C<TEMPLATE> always matches the same amount of packed bytes that can be
19319only if C<TEMPLATE> always matches the same amount of packed bytes that
13049determined from the template alone. This is not possible if it contains any
19320can be determined from the template alone. This is not possible if
13050of the codes @, /, U, u, w or a *-length. Redesign the template.
19321it contains any of the codes @, /, U, u, w or a *-length. Redesign
19322the template.
1305119323
1305219324=end original
1305319325
1305419326(F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に
1305519327テンプレートだけから決定される同じサイズの pack されたバイト列と一致する
1305619328場合にのみ C<[TEMPLATE]> によって置き換えられます。
1305719329これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。
1305819330テンプレートを再設計してください。
1305919331
19332=item While trying to resolve method call %s->%s() can not locate package "%s" yet it is mentioned in @%s::ISA (perhaps you forgot to load "%s"?)
19333
19334=begin original
19335
19336(W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded
19337package name, which can result in perl choosing an unexpected parent
19338class's method to resolve the method call. If this is deliberate you
19339can do something like
19340
19341=end original
19342
19343(W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、
19344結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを
19345選んだ可能性があります。
19346これが意図的な場合は、次のようにして:
19347
19348 @Missing::Package::ISA = ();
19349
19350=begin original
19351
19352to silence the warnings, otherwise you should correct the package name, or
19353ensure that the package is loaded prior to the method call.
19354
19355=end original
19356
19357この警告を黙らせられます; さもなければパッケージ名を修正するか、
19358パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。
19359
19360=item %s() with negative argument
19361
19362=begin original
19363
19364(S misc) Certain operations make no sense with negative arguments.
19365Warning is given and the operation is not done.
19366
19367=end original
19368
19369(S misc) 一部の操作は負の引数は意味がありません。
19370警告が出力され、操作は行われません。
19371
1306019372=item write() on closed filehandle %s
1306119373
1306219374=begin original
1306319375
1306419376(W closed) The filehandle you're writing to got itself closed sometime
1306519377before now. Check your control flow.
1306619378
1306719379=end original
1306819380
1306919381(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
1307019382制御フローをチェックしてください。
1307119383
1307219384=item %s "\x%X" does not map to Unicode
1307319385
1307419386=begin original
1307519387
13076(F) When reading in different encodings Perl tries to map everything
19388(S utf8) When reading in different encodings, Perl tries to
13077into Unicode characters. The bytes you read in are not legal in
19389map everything into Unicode characters. The bytes you read
13078this encoding, for example
19390in are not legal in this encoding. For example
1307919391
1308019392=end original
1308119393
13082(F) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に
19394(S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に
1308319395マッピングしようとします。
13084読み込んだバイトはこのエンコーディングでは不正でした; 例えば:
19396読み込んだバイトはこのエンコーディングでは不正でした
19397例えば:
1308519398
1308619399 utf8 "\xE4" does not map to Unicode
1308719400
1308819401=begin original
1308919402
1309019403if you try to read in the a-diaereses Latin-1 as UTF-8.
1309119404
1309219405=end original
1309319406
1309419407というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。
1309519408
1309619409=item 'X' outside of string
1309719410
1309819411=begin original
1309919412
1310019413(F) You had a (un)pack template that specified a relative position before
1310119414the beginning of the string being (un)packed. See L<perlfunc/pack>.
1310219415
1310319416=end original
1310419417
1310519418(F) (un)pack している文字列の最後より後の相対位置を示している
1310619419(un)pack テンプレートを指定しました。
1310719420L<perlfunc/pack> を参照してください。
1310819421
1310919422=item 'x' outside of string in unpack
1311019423
1311119424=begin original
1311219425
13113(F) You had a pack template that specified a relative position after
19426(F) You had an unpack template that specified a relative position after
1311419427the end of the string being unpacked. See L<perlfunc/pack>.
1311519428
1311619429=end original
1311719430
1311819431(F) unpack している文字列の最後より後の相対位置を示している
1311919432pack テンプレートを指定しました。
1312019433L<perlfunc/pack> を参照してください。
1312119434
1312219435=item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!
1312319436
1312419437=begin original
1312519438
1312619439(F) And you probably never will, because you probably don't have the
1312719440sources to your kernel, and your vendor probably doesn't give a rip
13128about what you want. Your best bet is to put a setuid C wrapper around
19441about what you want. There is a vulnerability anywhere that you have a
13129your script.
19442set-id script, and to close it you need to remove the set-id bit from
19443the script that you're attempting to run. To actually run the script
19444set-id, your best bet is to put a set-id C wrapper around your script.
1313019445
1313119446=end original
1313219447
1313319448(F) そして、そうすることはできないでしょう; カーネルのソースは
1313419449お持ちではないでしょうし、ベンダも欲しいものを提供しては
1313519450くれないでしょうから。
13136もっとも良いのは、スクリプトに setuid C ラッパーを被せるとです。
19451set-id スクリプトのあちちには脆弱性があり、
19452それを閉じるためには実行しようとしているスクリプトから
19453set-id ビットを削除する必要があります。
19454実際にスクリプトを set-id で実行するために
19455もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。
1313719456
1313819457=item You need to quote "%s"
1313919458
1314019459=begin original
1314119460
13142(W syntax) You assigned a bareword as a signal handler name.
19461(W syntax) You assigned a bareword as a signal handler name:
13143Unfortunately, you already have a subroutine of that name declared,
13144which means that Perl 5 will try to call the subroutine when the
13145assignment is executed, which is probably not what you want. (If it IS
13146what you want, put an & in front.)
1314719462
1314819463=end original
1314919464
13150(W syntax) シグナルハンドラ名に、裸の単語を代入しました
19465(W syntax) シグナルハンドラ名として裸の単語を割り当てました:
13151残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、
13152おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。
13153(もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。)
1315419466
19467 $SIG{...} = foo;
19468
19469=begin original
19470
19471However, this will not make C<sub foo> the signal handler. Instead, Perl
19472will call the subroutine when the assignment is executed and use the
19473returned value as the signal handler, which is probably not what you want.
19474(If it I<is> what you want, put C<()> after the subroutine name to avoid
19475the warning.)
19476
19477=end original
19478
19479しかし、これによって C<sub foo> がシグナルハンドラになるわけではありません。
19480代わりに、Perl は代入が実行されたときにサブルーチンを呼び出し、返された値を
19481シグナルハンドラとして使用します;
19482これはおそらくあなたが望むものではありません (もし I<これ> があなたが
19483望むものである場合は、警告を避けるためにサブルーチン名の後に
19484C<()> を付けてください)。
19485
19486=begin original
19487
19488To register the subroutine as the signal handler, take a reference to it:
19489
19490=end original
19491
19492サブルーチンをシグナルハンドラとして登録するには、サブルーチンへの
19493リファレンスを取ります:
19494
19495 $SIG{...} = \&foo;
19496
1315519497=item Your random numbers are not that random
1315619498
1315719499=begin original
1315819500
13159(F) When trying to initialise the random seed for hashes, Perl could
19501(F) When trying to initialize the random seed for hashes, Perl could
1316019502not get any randomness out of your system. This usually indicates
1316119503Something Very Wrong.
1316219504
1316319505=end original
1316419506
1316519507(F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから
1316619508何の乱数性も得られませんでした。
1316719509これは普通「何かとても具合が悪い」ことを示しています。
1316819510
19511=item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/
19512
19513=begin original
19514
19515(F) Named Unicode character escapes (C<\N{...}>) may return a zero-length
19516sequence. Such an escape was used in an extended character class, i.e.
19517C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check
19518that the correct escape has been used, and the correct charnames handler
19519is in scope. The S<<-- HERE> shows whereabouts in the regular
19520expression the problem was discovered.
19521
19522=end original
19523
19524(F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを
19525返すことがあります。
19526このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、
19527あるいは C<use re 'strict'> の基で使われました;
19528これは認められていません。
19529正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に
19530あるかをチェックしてください。
19531S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
19532
1316919533=back
1317019534
1317119535=head1 SEE ALSO
1317219536
13173L<warnings>, L<perllexwarn>.
19537L<warnings>, L<diagnostics>.
1317419538
1317519539=cut
1317619540
1317719541=begin meta
1317819542
1317919543Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000)
1318019544Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-)
1318119545Status: completed
1318219546
1318319547=end meta