perldiag > 5.16.1 との差分

perldiag 5.16.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>
7071and 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<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の
255311両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが
256312書かれました。
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
268324the 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
288344(W ambiguous) You wrote something like C<${foo[2]}> (where foo represents
289345the name of a Perl keyword), which might be looking for element number
2903462 of the array named C<@foo>, in which case please write C<$foo[2]>, or you
291347might have meant to pass an anonymous arrayref to the function named
292348foo, and then do a scalar deref on the value it returns. If you meant
293349that, 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.
308364C</$length[2345]/>, for instance, will be interpreted as C<$length> followed
309365by the character class C<[2345]>. If an array subscript is what you
310366want, you can avoid the warning by changing C</${length[2345]}/> to the
311367unsightly C</${\$length[2345]}/>, by renaming your array to something
312368that does not coincide with a built-in keyword, or by simply turning
313369off 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.18, 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.16 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.18, 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, and 5.16 if
354you want the latter interpretation, you can simply write "el" instead.
355But note that the C</l> modifier should not be used explicitly anyway;
356you should use C<use locale> instead. See L<perllocale>.
357
358=end original
359
360(W deprecated, ambiguous) 置換を含むパターンの直後に "le" と書きました。
361Perl 5.16 以前では、これは置換の結果を取り、これと式に引き続くものとの
362間での文字列的な「以下」かどうかを調べます。
363パターンの直後に引き続く "le" は廃止予定の振る舞いなので、Perl 5.18 では、
364この式は現在のロケールの規則を使ってパターンマッチングを行い、置換を
365行うときに右側を式として評価します。
3665.14 と 5.16 では、後者の解釈を望むなら、単に代わりに "el" と書いてください。
367しかし、どちらにしろ C</l> 修飾子は明示的に使うべきではないことに
368注意してください; 代わりに C<use locale> を使うべきです。
369L<perllocale> を参照してください。
370
371382=item '|' and '<' may not both be specified on command line
372383
373384=begin original
374385
375386(F) An error peculiar to VMS. Perl does its own command line
376387redirection, and found that STDIN was a pipe, and that you also tried to
377388redirect STDIN using '<'. Only one STDIN stream to a customer, please.
378389
379390=end original
380391
381392(F) VMS に固有のエラーです。
382393Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで
383394あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと
384395しました。
385396STDIN ストリームは一つだけにしてください; お願いします。
386397
387398=item '|' and '>' may not both be specified on command line
388399
389400=begin original
390401
391402(F) An error peculiar to VMS. Perl does its own command line
392403redirection, and thinks you tried to redirect stdout both to a file and
393404into a pipe to another command. You need to choose one or the other,
394405though nothing's stopping you from piping into a program or Perl script
395406which 'splits' output into two streams, such as
396407
397408=end original
398409
399410(F) VMS に固有のエラーです。
400411Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を
401412ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると
402413判断しました。
403414どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに
404415「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは
405416何もありません。
406417
407418 open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!";
408419 while (<STDIN>) {
409420 print;
410421 print OUT;
411422 }
412423 close OUT;
413424
414425=item Applying %s to %s will act on scalar(%s)
415426
416427=begin original
417428
418429(W misc) The pattern match (C<//>), substitution (C<s///>), and
419430transliteration (C<tr///>) operators work on scalar values. If you apply
420431one of them to an array or a hash, it will convert the array or hash to
421432a scalar value (the length of an array, or the population info of a
422433hash) and then work on that scalar value. This is probably not what
423434you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for
424435alternatives.
425436
426437=end original
427438
428439(W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換
429440(C<tr///>) 演算子はスカラ値に対して動作します。
430441これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか
431442ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。
432443これはおそらくしたいこととは違うでしょう。
433444代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。
434445
435446=item Arg too short for msgsnd
436447
437448=begin original
438449
439450(F) msgsnd() requires a string at least as long as sizeof(long).
440451
441452=end original
442453
443454(F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。
444455
445=item %s argument is not a HASH or ARRAY element or a subroutine
456=item Argument "%s" isn't numeric%s
446457
447458=begin original
448459
449(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
450subroutine with an ampersand, such as:
461that expected a numeric value instead. If you're fortunate the message
462will identify which operator was so unfortunate.
451463
452464=end original
453465
454(F) exists() の引数は以下のよう、ハッシュや配素か
466(W numeric) ここ示した文字は、数値が必な演算子の引数として
455アンパサンド付きのサブルーチンでなけばなりせん:
467与えられました。
468運がよければ、このメッセージによって、どの演算子が問題となったかが
469わかります。
456470
457 $foo{$bar}
458 $ref->{"susie"}[12]
459 &do_something
460
461=item %s argument is not a HASH or ARRAY element or slice
462
463471=begin original
464472
465(F) The argument to delete() must be either a hash or array element,
473Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the
466such as:
474definition of "numeric" is somewhat unusual: the strings themselves
475(like "Inf") are considered numeric, and anything following them is
476considered non-numeric.
467477
468478=end original
469479
470(F) delete() の引数は以下のようにハッシュか配列の要素であるか:
480Note that for the
481C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し
482変わっていることに注意してください:
483("Inf" のような) これらの文字列自身は数値として扱われますが、それに
484何かが引き続いている場合は非数値として扱われます。
471485
472 $foo{$bar}
486=item Argument list not closed for PerlIO layer "%s"
473 $ref->{"susie"}[12]
474487
475488=begin original
476489
477or a hash or array slice, such as:
490(W layer) When pushing a layer with arguments onto the Perl I/O
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.
478497
479498=end original
480499
481あるいは以下のようにハッュか配列のライスなければなりません:
500(W layer) Perl I/O システムに層を引数付き追加するときに、引数リストを
501閉じる ) を忘れています。
502(層はデータの外部表現と内部表現の変換を扱います。)
503Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。
504明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
505値が原因かもしれません。
482506
483 @foo[$bar, $baz, $xyzzy]
507=item Argument "%s" treated as 0 in increment (++)
484 @{$ref->[12]}{"susie", "queue"}
485508
486=item %s argument is not a subroutine name
487
488509=begin original
489510
490(F) The argument to exists() for C<exists &sub> must be a subroutine
511(W numeric) The indicated string was fed as an argument to the C<++>
491name, and not a subroutine call. C<exists &sub()> will generate this
512operator which expects either a number or a string matching
492error.
513C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and
514Auto-decrement> for details.
493515
494516=end original
495517
496(F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、
518(W numeric) 数値また C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を
497サブルーチン名でなけばなりせん
519想定しているC<++> 演算子に、示さた文字列が指定されした
498C<exists &sub()> とするとこのエラーが生成れます
520詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してくだ
499521
500=item Argument "%s" isn't numeric%s
522=item Array passed to stat will be coerced to a scalar%s
501523
502524=begin original
503525
504(W numeric) The indicated string was fed as an argument to an operator
526(W syntax) You called stat() on an array, but the array will be
505that expected a numeric value instead. If you're fortunate the message
527coerced to a scalar - the number of elements in the array.
506will identify which operator was so unfortunate.
507528
508529=end original
509530
510(W numeric) ここた文字列は、数値必要な演算子の引数と
531(W syntax) 配列て stat() 呼び出されまたが配列は
511与えられました。
532スカラ - 配列の要素数 - に強制されました。
512運がよければ、このメッセージによって、どの演算子が問題となったかが
513わかります。
514533
515=item Argument list not closed for PerlIO layer "%s"
534=item A signature parameter must start with '$', '@' or '%'
516535
517536=begin original
518537
519(W layer) When pushing a layer with arguments onto the Perl I/O
538(F) Each subroutine signature parameter declaration must start with a valid
520system you forgot the ) that closes the argument list. (Layers
539sigil; for example:
521take care of transforming data between external and internal
522representations.) Perl stopped parsing the layer list at this
523point and did not attempt to push this layer. If your program
524didn't explicitly request the failing operation, it may be the
525result of the value of the environment variable PERLIO.
526540
527541=end original
528542
529(W layer) Perl I/O ステムに層を引数付きで追加するときに引数リストを
543(F) それぞれのサブルーチングネチャ引数宣言は妥当な印で
530閉じる ) を忘ていす。
544始まらなけばなりせん; 例えば:
531(層はデータの外部表現と内部表現の変換を扱います。)
532Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。
533明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
534値が原因かもしれません。
535545
536=item Array @%s missing the @ in argument %d of %s()
546 sub foo ($x, $, $y = 1, @z) {}
537547
548=item A slurpy parameter may not have a default value
549
538550=begin original
539551
540(D deprecated) Really old Perl let you omit the @ on array names in some
552(F) Only scalar subroutine signature parameters may have a default value;
541spots. This is now heavily deprecated.
553for example:
542554
543555=end original
544556
545(D deprecated) 本当に古い Perl では、場所によっては、配列名 @
557(F) スカラサブルーチンシグネチャ引数みがデフォルト値持てます;
546省略できました。
558例えば:
547これは廃止予定です。
548559
560 sub foo ($x = 1) {} # legal
561 sub foo (@x = (1)) {} # invalid
562 sub foo (%x = (a => b)) {} # invalid
563
549564=item assertion botched: %s
550565
551566=begin original
552567
553568(X) The malloc package that comes with Perl had an internal failure.
554569
555570=end original
556571
557572(X) Perl に付属の malloc ルーティンが内部エラーを起こしました。
558573
559=item Assertion failed: file "%s"
574=item Assertion %s failed: file "%s", line %d
560575
561576=begin original
562577
563578(X) A general assertion failed. The file in question must be examined.
564579
565580=end original
566581
567582(X) 一般的なアサーションが失敗しました。
568583問題の file を調べる必要があります。
569584
585=item Assigned value is not a reference
586
587=begin original
588
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>.
592
593=end original
594
595(F) リファレンスでないものを左辺値リファレンスに代入しようとしました
596(例: C<\$x = $y>)。
597$x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。
598
599=item Assigned value is not %s reference
600
601=begin original
602
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.
606
607=end original
608
609(F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、
610二つのリファレンスが同じ型ではありません。
611スカラから配列への別名や配列からハッシュへの別名はできません;
612二つの型は一致していなければなりません。
613
614 \$x = \@y; # error
615 \@x = \%y; # error
616 $y = [];
617 \$x = $y; # error; did you mean \$y?
618
570619=item Assigning non-zero to $[ is no longer possible
571620
572621=begin original
573622
574(F) When the "array_base" feature is disabled (e.g., under C<use v5.16;>)
623(F) When the "array_base" feature is disabled
624(e.g., and under C<use v5.16;>, and as of Perl 5.30)
575625the special variable C<$[>, which is deprecated, is now a fixed zero value.
576626
577627=end original
578628
579(F) (C<use v5.16;> のように) "array_base" 機能が無効の場合、廃止予定である
629(F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が
580特殊変数 C<$[> は 0 固定です。
630無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。
581631
582632=item Assignment to both a list and a scalar
583633
584634=begin original
585635
586636(F) If you assign to a conditional operator, the 2nd and 3rd arguments
587637must either both be scalars or both be lists. Otherwise Perl won't
588638know which context to supply to the right side.
589639
590640=end original
591641
592642(F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、
593643ともにスカラか、ともにリストでなければなりません。
594644そうでないと、Perl は右辺のコンテキストを決めることができません。
595645
596=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/
597647
598648=begin original
599649
600(W threads)(S) When using threaded Perl, a thread (not necessarily
650(W regexp) You had something like these:
601the main thread) exited while there were still other threads running.
602Usually it's a good idea first to collect the return values of the
603created threads by joining them, and only then to exit from the main
604thread. See L<threads>.
605651
606652=end original
607653
608(W threads)(S) スレッドが有効 Perl を使っているきに、他のスレッドが
654(W regexp) 次のようをしました:
609まだ動いている状態で、あるスレッド(メインスレッドには限りません)が
610終了しました。
611普通は、作成したスレッドに join することで返り値を集めて、それから
612メインスレッドから終了するのがよい考えです。
613L<threads> を参照してください。
614655
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
615721=item Attempt to access disallowed key '%s' in a restricted hash
616722
617723=begin original
618724
619725(F) The failing code has attempted to get or set a key which is not in
620726the current set of allowed keys of a restricted hash.
621727
622728=end original
623729
624730(F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して
625731取得または設定しようとして失敗しました。
626732
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
627764=item Attempt to bless into a reference
628765
629766=begin original
630767
631768(F) The CLASSNAME argument to the bless() operator is expected to be
632769the name of the package to bless the resulting object into. You've
633770supplied instead a reference to something: perhaps you wrote
634771
635772=end original
636773
637774(F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する
638775パッケージ名を想定しています。
639776そこに何かへのリファレンスが与えられました:
640777おそらく以下のようにしたのでしょう:
641778
642779 bless $self, $proto;
643780
644781=begin original
645782
646783when you intended
647784
648785=end original
649786
650787以下を意図していたはずです:
651788
652789 bless $self, ref($proto) || $proto;
653790
654791=begin original
655792
656793If you actually want to bless into the stringified version
657794of the reference supplied, you need to stringify it yourself, for
658795example by:
659796
660797=end original
661798
662799実際に与えられたリファレンスを文字列化したものに bless したい場合は、
663800以下のようにして自分で文字列化する必要があります:
664801
665802 bless $self, "$proto";
666803
667804=item Attempt to clear deleted array
668805
669806=begin original
670807
671808(S debugging) An array was assigned to when it was being freed.
672809Freed values are not supposed to be visible to Perl code. This
673810can also happen if XS code calls C<av_clear> from a custom magic
674811callback on the array.
675812
676813=end original
677814
678815(S debugging) 配列が、解放されるときに代入されました。
679816解放された値は Perl コードからは見えないはずです。
680817これはまた、XS コードが配列のカスタムマジックコールバックから
681818C<av_clear> を呼び出したときにも起こります。
682819
683820=item Attempt to delete disallowed key '%s' from a restricted hash
684821
685822=begin original
686823
687824(F) The failing code attempted to delete from a restricted hash a key
688825which is not in its key set.
689826
690827=end original
691828
692829(F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。
693830
694831=item Attempt to delete readonly key '%s' from a restricted hash
695832
696833=begin original
697834
698835(F) The failing code attempted to delete a key whose value has been
699836declared readonly from a restricted hash.
700837
701838=end original
702839
703840(F) 制限ハッシュで、読み込み専用として宣言されている値のキーを
704841削除しようとしました。
705842
706843=item Attempt to free non-arena SV: 0x%x
707844
708845=begin original
709846
710847(S internal) All SV objects are supposed to be allocated from arenas
711848that will be garbage collected on exit. An SV was discovered to be
712849outside any of those arenas.
713850
714851=end original
715852
716853(S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが
717854行なわれるアリーナに割り当てるようになっています。
718855ある SV が、そういったアリーナに入っていないことが、見つかりました。
719856
720857=item Attempt to free nonexistent shared string '%s'%s
721858
722859=begin original
723860
724861(S internal) Perl maintains a reference-counted internal table of
725862strings to optimize the storage and access of hash keys and other
726863strings. This indicates someone tried to decrement the reference count
727864of a string that can no longer be found in the table.
728865
729866=end original
730867
731868(S internal) Perl はストレージおよびハッシュキーとその他の文字列への
732869アクセスを最適化するために、文字列の参照数テーブルを管理しています。
733870これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを
734871示します。
735872
736873=item Attempt to free temp prematurely: SV 0x%x
737874
738875=begin original
739876
740877(S debugging) Mortalized values are supposed to be freed by the
741878free_tmps() routine. This indicates that something else is freeing the
742879SV before the free_tmps() routine gets a chance, which means that the
743880free_tmps() routine will be freeing an unreferenced scalar when it does
744881try to free it.
745882
746883=end original
747884
748885(S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように
749886なっています。
750887このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を
751888解放しようとしていることを示していて、これは、free_tmps() が
752889解放しようとしたときには、どこからも参照されていないスカラを
753890解放することになるということです。
754891
755892=item Attempt to free unreferenced glob pointers
756893
757894=begin original
758895
759896(S internal) The reference counts got screwed up on symbol aliases.
760897
761898=end original
762899
763900(S internal) シンボルのエイリアスについて、参照カウントの値がおかしな
764901状態になりました。
765902
766903=item Attempt to free unreferenced scalar: SV 0x%x
767904
768905=begin original
769906
770(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
771908see if it would go to 0, and discovered that it had already gone to 0
772909earlier, and should have been freed, and in fact, probably was freed.
773910This could indicate that SvREFCNT_dec() was called too many times, or
774911that SvREFCNT_inc() was called too few times, or that the SV was
775912mortalized when it shouldn't have been, or that memory has been
776913corrupted.
777914
778915=end original
779916
780(W internal) Perl がスカラの参照カウントをデクリメントしようとして、
917(S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に
7810 になるかを見たところ、既に 0 になっていることがわかりました;
918なるかを見たところ、既に 0 になっていることがわかりました;
782919これは、既に解放されているべきものであり、実際は、おそらく、
783920解放されたものでしょう。
784921これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な
785922ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、
786923メモリ異常になったことが考えられます。
787924
788=item Attempt to join self
789
790=begin original
791
792(F) You tried to join a thread from within itself, which is an
793impossible task. You may be joining the wrong thread, or you may need
794to move the join() to some other thread.
795
796=end original
797
798(F) スレッドをそれ自身の中から join しようとしました; これは不可能な
799動作です。
800間違ったスレッドに join しようとしているか、あるいは join() を他の
801スレッドに移動させる必要があります。
802
803925=item Attempt to pack pointer to temporary value
804926
805927=begin original
806928
807929(W pack) You tried to pass a temporary value (like the result of a
808930function, or a computed expression) to the "p" pack() template. This
809931means the result contains a pointer to a location that could become
810932invalid anytime, even before the end of the current statement. Use
811933literals or global values as arguments to the "p" pack() template to
812934avoid this warning.
813935
814936=end original
815937
816938(W pack) (関数の結果や計算された式といった)一時的な値を pack() の
817939"p" テンプレートに渡そうとしました。
818940これは、たとえ現在の文の終了前でも、不正な値となり得ます。
819941この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか
820942グローバルな値を使ってください。
821943
822944=item Attempt to reload %s aborted.
823945
824946=begin original
825947
826948(F) You tried to load a file with C<use> or C<require> that failed to
827949compile once already. Perl will not try to compile this file again
828950unless you delete its entry from %INC. See L<perlfunc/require> and
829951L<perlvar/%INC>.
830952
831953=end original
832954
833955(F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で
834956読み込もうとしました。
835957Perl は %INC からこのファイルのエントリを削除するまで再びファイルを
836958コンパイルしようとはしません。
837959L<perlfunc/require> と L<perlvar/%INC> を参照してください。
838960
839961=item Attempt to set length of freed array
840962
841963=begin original
842964
843(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
844can 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
845of 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
846969
847970=end original
848971
849(W) 既に解放された配列の長さを設定しようとしました。
972(W misc) 既に解放された配列の長さを設定しようとしました。
850973配列の最後のインデックスを表現するスカラをリファレンスに保存して、
851974後でこのリファレンスを通して代入することでこれを行えます。
852975例えば:
853976
854977 $r = do {my @a; \$#a};
855978 $$r = 503
856979
857980=item Attempt to use reference as lvalue in substr
858981
859982=begin original
860983
861984(W substr) You supplied a reference as the first argument to substr()
862985used as an lvalue, which is pretty strange. Perhaps you forgot to
863986dereference it first. See L<perlfunc/substr>.
864987
865988=end original
866989
867990(W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを
868991渡しました; これはやや奇妙なことです。
869992おそらくはまずデリファレンスするのを忘れたのでしょう。
870993L<perlfunc/substr> を参照してください。
871994
872=item Attribute "locked" is deprecated
995=item Attribute prototype(%s) discards earlier prototype attribute in same sub
873996
874997=begin original
875998
876(D deprecated) You have used the attributes pragma to modify the
999(W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for
877"locked" attribute on a code reference. The :locked attribute is
1000example. Since each sub can only have one prototype, the earlier
878obsolete, has had no effect since 5005 threads were removed, and
1001declaration(s) are discarded while the last one is applied.
879will be removed in a future release of Perl 5.
8801002
8811003=end original
8821004
883(D deprecated) ドリファレスの "locked" 属性を修正するために
1005(W misc) あるサブルが、例えば
884attributes プラグマを使いました。
1006sub foo : prototype(A) : prototype(B) {} のように宣言されました。
885:locked 属性ので、5005 スレッドが削除されてから何の効果もなく、
1007それぞれのサブルーチン一つのプロトタイプしか持てないので、先に
886将来 Perl 5 メジャーリリースで削除されます。
1008宣言されたもは破棄され、最後ものが適用されます。
8871009
888=item Attribute "unique" is deprecated
889
890=begin original
891
892(D deprecated) You have used the attributes pragma to modify
893the "unique" attribute on an array, hash or scalar reference.
894The :unique attribute has had no effect since Perl 5.8.8, and
895will be removed in a future release of Perl 5.
896
897=end original
898
899(D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を
900修正するために attributes プラグマを使いました。
901:unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー
902リリースで削除されます。
903
9041010=item av_reify called on tied array
9051011
9061012=begin original
9071013
9081014(S debugging) This indicates that something went wrong and Perl got I<very>
9091015confused about C<@_> or C<@DB::args> being tied.
9101016
9111017=end original
9121018
9131019(S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが
9141020うまくいかなくて Perl が I<とても> 混乱したことを示しています。
9151021
9161022=item Bad arg length for %s, is %u, should be %d
9171023
9181024=begin original
9191025
9201026(F) You passed a buffer of the wrong size to one of msgctl(), semctl()
9211027or shmctl(). In C parlance, the correct sizes are, respectively,
9221028S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and
9231029S<sizeof(struct shmid_ds *)>.
9241030
9251031=end original
9261032
9271033(F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを
9281034渡してしまいました。
9291035C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、
9301036sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。
9311037
9321038=item Bad evalled substitution pattern
9331039
9341040=begin original
9351041
9361042(F) You've used the C</e> switch to evaluate the replacement for a
9371043substitution, but perl found a syntax error in the code to evaluate,
9381044most likely an unexpected right brace '}'.
9391045
9401046=end original
9411047
9421048(F)置換のための置き換え文字列を評価するために C</e> オプションを指定して
9431049いますが、評価するコードに文法エラーがありました;
9441050最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。
9451051
9461052=item Bad filehandle: %s
9471053
9481054=begin original
9491055
9501056(F) A symbol was passed to something wanting a filehandle, but the
9511057symbol has no filehandle associated with it. Perhaps you didn't do an
9521058open(), or did it in another package.
9531059
9541060=end original
9551061
9561062(F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、
9571063それに伴うファイルハンドルがありません。
9581064おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。
9591065
9601066=item Bad free() ignored
9611067
9621068=begin original
9631069
9641070(S malloc) An internal routine called free() on something that had never
9651071been malloc()ed in the first place. Mandatory, but can be disabled by
9661072setting environment variable C<PERL_BADFREE> to 0.
9671073
9681074=end original
9691075
9701076(S malloc) まず、malloc() されていないものに対して、内部ルーティンが
9711077free() を呼びました。
9721078強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。
9731079
9741080=begin original
9751081
9761082This message can be seen quite often with DB_File on systems with "hard"
9771083dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB>
9781084which is left unnoticed if C<DB> uses I<forgiving> system malloc().
9791085
9801086=end original
9811087
9821088このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを
9831089行うシステムで DB_File を使うとしばしば表示されます。
9841090これは C<DB> がシステムの malloc() を許していることに気が付かない
9851091C<Berkeley DB> のバグです。
9861092
987=item Bad hash
1093=item Bad infix plugin result (%zd) - did not consume entire identifier <%s>
9881094
9891095=begin original
9901096
991(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.
9921101
9931102=end original
9941103
995(P) 内部ハッシュルティンで、ヌル HV ポインタ渡されたものがありました。
1104(F) 挿入キワードをパースするために C<PL_infix_plugin> 機構使っている
1105プラグインが、指定された識別子の一部を消費しましたが、
1106全ては消費しませんでした。
1107不安定なパース結果を導くので、これは許されていません。
9961108
9971109=item Badly placed ()'s
9981110
9991111=begin original
10001112
10011113(A) You've accidentally run your script through B<csh> instead
10021114of Perl. Check the #! line, or manually feed your script into
10031115Perl yourself.
10041116
10051117=end original
10061118
10071119(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
1008#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
1120#! 行を確認するか、スクリプトを手動で Perl に渡してください。
10091121
10101122=item Bad name after %s
10111123
10121124=begin original
10131125
10141126(F) You started to name a symbol by using a package prefix, and then
10151127didn't finish the symbol. In particular, you can't interpolate outside
10161128of quotes, so
10171129
10181130=end original
10191131
10201132(F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが
10211133終了しませんでした。
10221134特に、クォートの外で、変数展開はできませんから、
10231135
10241136 $var = 'myvar';
10251137 $sym = mypack::$var;
10261138
10271139=begin original
10281140
10291141is not the same as
10301142
10311143=end original
10321144
10331145は、以下と同じではありません。
10341146
10351147 $var = 'myvar';
10361148 $sym = "mypack::$var";
10371149
10381150=item Bad plugin affecting keyword '%s'
10391151
10401152=begin original
10411153
10421154(F) An extension using the keyword plugin mechanism violated the
10431155plugin API.
10441156
10451157=end original
10461158
10471159(F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に
10481160違反しました。
10491161
10501162=item Bad realloc() ignored
10511163
10521164=begin original
10531165
10541166(S malloc) An internal routine called realloc() on something that
10551167had never been malloc()ed in the first place. Mandatory, but can
10561168be disabled by setting the environment variable C<PERL_BADFREE> to 1.
10571169
10581170=end original
10591171
10601172(S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して
10611173realloc() を呼び出しました。
10621174必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。
10631175
1064=item Bad symbol for array
1176=item Bad symbol for %s
10651177
10661178=begin original
10671179
1068(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
10691181wasn't a symbol table entry.
10701182
10711183=end original
10721184
1073(P) シンボルテーブルエントリではないものに、配列エントリを登録するような
1185(P) 内部で、シンボルテーブルエントリではないもの対して指定された型の
1074内部要求がありました。
1186エントリを登録するよう要求がありました。
10751187
1076=item Bad symbol for dirhandle
1188=item Bad symbol for scalar
10771189
10781190=begin original
10791191
1080(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
1081that wasn't a symbol table entry.
1082
1083=end original
1084
1085(P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを
1086登録するような内部要求があがりました。
1087
1088=item Bad symbol for filehandle
1089
1090=begin original
1091
1092(P) An internal request asked to add a filehandle entry to something
1093that wasn't a symbol table entry.
1094
1095=end original
1096
1097(P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを
1098登録するような内部要求があがりました。
1099
1100=item Bad symbol for hash
1101
1102=begin original
1103
1104(P) An internal request asked to add a hash entry to something that
11051193wasn't a symbol table entry.
11061194
11071195=end original
11081196
1109(P) シンボルテーブルエントリでないものに、ハッシュエントリを
1197(P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを
1110登録するような内部要求があがった。
1198追加するよう要求がありました。
11111199
11121200=item Bareword found in conditional
11131201
11141202=begin original
11151203
11161204(W bareword) The compiler found a bareword where it expected a
11171205conditional, which often indicates that an || or && was parsed as part
11181206of the last argument of the previous construct, for example:
11191207
11201208=end original
11211209
11221210(W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました;
11231211これはしばしば、|| や && が直前の構造の最後の引数の一部として
11241212パースされたことを意味します; 例えば:
11251213
11261214 open FOO || die;
11271215
11281216=begin original
11291217
11301218It may also indicate a misspelled constant that has been interpreted as
11311219a bareword:
11321220
11331221=end original
11341222
11351223これはまた、裸の単語として解釈されるような定数をタイプミスしたことを
11361224示している場合もあります:
11371225
11381226 use constant TYPO => 1;
11391227 if (TYOP) { print "foo" }
11401228
11411229=begin original
11421230
11431231The C<strict> pragma is useful in avoiding such errors.
11441232
11451233=end original
11461234
11471235C<strict> プラグマはこのようなエラーを防ぐのに便利です。
11481236
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
11491271=item Bareword "%s" not allowed while "strict subs" in use
11501272
11511273=begin original
11521274
11531275(F) With "strict subs" in use, a bareword is only allowed as a
11541276subroutine identifier, in curly brackets or to the left of the "=>"
11551277symbol. Perhaps you need to predeclare a subroutine?
11561278
11571279=end original
11581280
11591281"strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、
11601282シンボル "=>" の左側でのみ許されます。
11611283おそらくサブルーチンを先行宣言する必要があるのでは?
11621284
11631285=item Bareword "%s" refers to nonexistent package
11641286
11651287=begin original
11661288
11671289(W bareword) You used a qualified bareword of the form C<Foo::>, but the
11681290compiler saw no other uses of that namespace before that point. Perhaps
11691291you need to predeclare a package?
11701292
11711293=end original
11721294
11731295(W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、
11741296コンパイラはこの場所以外でこの名前空間が使われている場所を
11751297発見できませんでした。
11761298おそらくパッケージを専攻宣言する必要があるのでは?
11771299
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
11781324=item BEGIN failed--compilation aborted
11791325
11801326=begin original
11811327
11821328(F) An untrapped exception was raised while executing a BEGIN
11831329subroutine. Compilation stops immediately and the interpreter is
11841330exited.
11851331
11861332=end original
11871333
11881334(F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。
11891335コンパイルは即座に停止し、インタプリタは中止します。
11901336
11911337=item BEGIN not safe after errors--compilation aborted
11921338
11931339=begin original
11941340
11951341(F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which
11961342implies a C<BEGIN {}>) after one or more compilation errors had already
11971343occurred. Since the intended environment for the C<BEGIN {}> could not
11981344be guaranteed (due to the errors), and since subsequent code likely
11991345depends on its correct operation, Perl just gave up.
12001346
12011347=end original
12021348
12031349(F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン
12041350(または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。
12051351C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは
12061352正しい処理に依存していると考えられるので、Perl は単に諦めました。
12071353
1208=item \1 better written as $1
1354=item \%d better written as $%d
12091355
12101356=begin original
12111357
12121358(W syntax) Outside of patterns, backreferences live on as variables.
12131359The use of backslashes is grandfathered on the right-hand side of a
12141360substitution, but stylistically it's better to use the variable form
12151361because other Perl programmers will expect it, and it works better if
12161362there are more than 9 backreferences.
12171363
12181364=end original
12191365
12201366(W syntax) パターンの外では、後方参照は変数の形で存在します。
12211367後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の
12221368Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、
12231369変数形式を使う方が良いでしょう。
12241370
12251371=item Binary number > 0b11111111111111111111111111111111 non-portable
12261372
12271373=begin original
12281374
12291375(W portable) The binary number you specified is larger than 2**32-1
12301376(4294967295) and therefore non-portable between systems. See
12311377L<perlport> for more on portability concerns.
12321378
12331379=end original
12341380
12351381(W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、
12361382システム間での移植性がありません。
12371383移植性に関するさらなる考察については L<perlport> を参照してください。
12381384
12391385=item bind() on closed socket %s
12401386
12411387=begin original
12421388
12431389(W closed) You tried to do a bind on a closed socket. Did you forget to
12441390check the return value of your socket() call? See L<perlfunc/bind>.
12451391
12461392=end original
12471393
12481394(W closed) クローズされたソケットに bind を行なおうとしました。
12491395socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
12501396L<perlfunc/bind> を参照してください。
12511397
12521398=item binmode() on closed filehandle %s
12531399
12541400=begin original
12551401
12561402(W unopened) You tried binmode() on a filehandle that was never opened.
12571403Check your control flow and number of arguments.
12581404
12591405=end original
12601406
12611407(W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。
12621408制御フローと引数の数をチェックしてください。
12631409
1264=item "\b{" is deprecated; use "\b\{" instead
1410=item Bit vector size > 32 non-portable
12651411
1266=item "\B{" is deprecated; use "\B\{" instead
1412=begin original
12671413
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
12681422=begin original
12691423
1270(W deprecated, regexp) Use of an unescaped "{" immediately following a
1424(P) Perl detected an attempt to copy an internal value that is not
1271C<\b> or C<\B> is now deprecated so as to reserve its use for Perl
1425copiable.
1272itself in a future release.
12731426
12741427=end original
12751428
1276(W deprecated, regexp) C<\b> または C<\B> の直後にエスケプしない
1429(P) コピできない内部の値をコピーしようとしました。
1277"{" を書くのは、将来のバージョンの perl での使用のために予約するために
1278廃止予定となりました。
12791430
1280=item Bit vector size > 32 non-portable
1431=item Bizarre SvTYPE [%d]
12811432
12821433=begin original
12831434
1284(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.
12851437
12861438=end original
12871439
1288(W portable) 32 越えるサイズのビトベクタ移植性がありません。
1440(P) 新しいスレッド始めたりスレドから値を返したときに、Perl 不正な
1441データ型に遭遇しました。
12891442
1290=item Bizarre copy of %s
1443=item Both or neither range ends should be Unicode in regex; marked by
1444S<<-- HERE> in m/%s/
12911445
12921446=begin original
12931447
1294(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<(?[...])>)
1295copiable.
12961449
12971450=end original
12981451
1299(P) コピーできない値をコピーしようとしました。
1452(W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> のみ)
13001453
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
13011479=item Buffer overflow in prime_env_iter: %s
13021480
13031481=begin original
13041482
13051483(W internal) A warning peculiar to VMS. While Perl was preparing to
13061484iterate over %ENV, it encountered a logical name or symbol definition
13071485which was too long, so it was truncated to the string shown.
13081486
13091487=end original
13101488
13111489(W internal) VMS に固有の警告です。
13121490Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、
13131491文字列は表示したように切り詰められました。
13141492
1315=item Bizarre SvTYPE [%d]
1493=item Built-in function '%s' is experimental
13161494
13171495=begin original
13181496
1319(P) When starting a new thread or return values from a thread, Perl
1497(S experimental::builtin) A call is being made to a function in the
1320encountered an invalid data type.
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.
13211501
13221502=end original
13231503
1324(P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な
1504(S experimental::builtin) 現在実験的である、
1325データ型に遭遇しました。
1505C<builtin::> 名前空間への呼び出が行われました。
1506この関数の存在や性質は、将来のバージョンの Perl で変更される予定です。
13261507
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
13271539=item Callback called exit
13281540
13291541=begin original
13301542
13311543(F) A subroutine invoked from an external package via call_sv()
13321544exited by calling exit.
13331545
13341546=end original
13351547
13361548(F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで
13371549終了しました。
13381550
13391551=item %s() called too early to check prototype
13401552
13411553=begin original
13421554
13431555(W prototype) You've called a function that has a prototype before the
13441556parser saw a definition or declaration for it, and Perl could not check
13451557that the call conforms to the prototype. You need to either add an
13461558early prototype declaration for the subroutine in question, or move the
13471559subroutine definition ahead of the call to get proper prototype
13481560checking. Alternatively, if you are certain that you're calling the
13491561function correctly, you may put an ampersand before the name to avoid
13501562the warning. See L<perlsub>.
13511563
13521564=end original
13531565
13541566(W prototype) 以前にパーサが宣言または定義されているのを見た、
13551567プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに
13561568従っているかどうかをチェックできませんでした。
13571569問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、
13581570適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に
13591571移動させる必要があります。
13601572または、関数を正しく呼び出していることが確かな場合は、名前の前に
13611573アンパサンドを付けることで警告を回避できます。
13621574L<perlsub> を参照してください。
13631575
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
13641627=item Cannot compress integer in pack
13651628
13661629=begin original
13671630
1368(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.
1369compressed integer format can only be used with positive integers, and you
1632The BER compressed integer format can only be used with positive
1370attempted to compress Infinity or a very large number (> 1e308).
1633integers, and you attempted to compress a very large number (> 1e308).
13711634See L<perlfunc/pack>.
13721635
13731636=end original
13741637
13751638(F) pack("w",...) の引数が、圧縮するには大きすぎます。
1376BER 圧縮整数フォーマットは正の整数のみ扱えますが、無限やとても大きい数
1639BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数
13771640(> 1e308) を圧縮しようとしました。
13781641L<perlfunc/pack> を参照してください。
13791642
13801643=item Cannot compress negative numbers in pack
13811644
13821645=begin original
13831646
13841647(F) An argument to pack("w",...) was negative. The BER compressed integer
13851648format can only be used with positive integers. See L<perlfunc/pack>.
13861649
13871650=end original
13881651
13891652(F) pack("w",...) の引数が負数です。
13901653BER 圧縮整数フォーマットは正の整数のみ扱えます。
13911654L<perlfunc/pack> を参照してください。
13921655
13931656=item Cannot convert a reference to %s to typeglob
13941657
13951658=begin original
13961659
13971660(F) You manipulated Perl's symbol table directly, stored a reference
13981661in it, then tried to access that symbol via conventional Perl syntax.
13991662The access triggers Perl to autovivify that typeglob, but it there is
14001663no legal conversion from that type of reference to a typeglob.
14011664
14021665=end original
14031666
14041667(F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に
14051668補完し、それからそのシンボルを伝統的な Perl の文法のよって
14061669アクセスしようとしました。
14071670このアクセスによって、Perl はこの型グロブを自動有効化しますが、
14081671リファレンス型から型グロブへの正当な変換方法はありません。
14091672
14101673=item Cannot copy to %s
14111674
14121675=begin original
14131676
14141677(P) Perl detected an attempt to copy a value to an internal type that cannot
14151678be directly assigned to.
14161679
14171680=end original
14181681
14191682(P) Perl が、直接代入できない内部型に値をコピーしようとする試みを
14201683検出しました。
14211684
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
14221726=item Cannot find encoding "%s"
14231727
14241728=begin original
14251729
14261730(S io) You tried to apply an encoding that did not exist to a filehandle,
14271731either with open() or binmode().
14281732
14291733=end original
14301734
14311735(S io) open() または binmode() のファイルハンドルに存在しない
14321736エンコーディングを適用しようとしました。
14331737
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
14341851=item Cannot set tied @DB::args
14351852
14361853=begin original
14371854
14381855(F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args>
14391856is not supported. (Before this error was added, it used to crash.)
14401857
14411858=end original
14421859
14431860(F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。
14441861C<@DB::args> の tie は非対応です。
14451862(このエラーが追加する前は、クラッシュしていました。)
14461863
14471864=item Cannot tie unreifiable array
14481865
14491866=begin original
14501867
14511868(P) You somehow managed to call C<tie> on an array that does not
14521869keep a reference count on its arguments and cannot be made to
14531870do so. Such arrays are not even supposed to be accessible to
14541871Perl code, but are only used internally.
14551872
14561873=end original
14571874
14581875(P) 参照カウントを保持していない配列を引数にして C<tie> を
14591876呼び出そうとしましたがそうできませんでした。
14601877このような配列は Perl コードからアクセスできると想定してはならず、
14611878内部だけで使われます。
14621879
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
14631914=item Can only compress unsigned integers in pack
14641915
14651916=begin original
14661917
14671918(F) An argument to pack("w",...) was not an integer. The BER compressed
14681919integer format can only be used with positive integers, and you attempted
14691920to compress something else. See L<perlfunc/pack>.
14701921
14711922=end original
14721923
14731924(F) pack("w",...) の引数が整数ではありません。
14741925BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを
14751926圧縮しようとしました。
14761927L<perlfunc/pack> を参照してください。
14771928
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
14781967=item Can't bless non-reference value
14791968
14801969=begin original
14811970
14821971(F) Only hard references may be blessed. This is how Perl "enforces"
14831972encapsulation of objects. See L<perlobj>.
14841973
14851974=end original
14861975
14871976(F) ハードリファレンスのみが bless できます。
14881977これによって、Perl はオブジェクトのカプセル化を「強制」します。
14891978L<perlobj> を参照してください。
14901979
14911980=item Can't "break" in a loop topicalizer
14921981
14931982=begin original
14941983
14951984(F) You called C<break>, but you're in a C<foreach> block rather than
14961985a C<given> block. You probably meant to use C<next> or C<last>.
14971986
14981987=end original
14991988
15001989(F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach>
15011990ブロック内でした。
15021991おそらく C<next> や C<last> を使いたかったのでしょう。
15031992
15041993=item Can't "break" outside a given block
15051994
15061995=begin original
15071996
15081997(F) You called C<break>, but you're not inside a C<given> block.
15091998
15101999=end original
15112000
15122001(F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。
15132002
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
15142022=item Can't call method "%s" on an undefined value
15152023
15162024=begin original
15172025
15182026(F) You used the syntax of a method call, but the slot filled by the
15192027object reference or package name contains an undefined value. Something
15202028like this will reproduce the error:
15212029
15222030=end original
15232031
15242032(F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか
15252033パッケージ名であるべきところが未定義値です。
15262034以下のように書くとエラーが再現します:
15272035
15282036 $BADREF = undef;
15292037 process $BADREF 1,2,3;
15302038 $BADREF->process(1,2,3);
15312039
15322040=item Can't call method "%s" on unblessed reference
15332041
15342042=begin original
15352043
15362044(F) A method call must know in what package it's supposed to run. It
15372045ordinarily finds this out from the object reference you supply, but you
15382046didn't supply an object reference in this case. A reference isn't an
15392047object reference until it has been blessed. See L<perlobj>.
15402048
15412049=end original
15422050
15432051(F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを
15442052知る必要があります。 普通は、渡したオブジェクトリファレンスから
15452053その情報を受け取りますが、この場合にはオブジェクトリファレンスが
15462054渡されませんでした。
15472055リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。
15482056L<perlobj> を参照してください。
15492057
15502058=item Can't call method "%s" without a package or object reference
15512059
15522060=begin original
15532061
15542062(F) You used the syntax of a method call, but the slot filled by the
15552063object reference or package name contains an expression that returns a
15562064defined value which is neither an object reference nor a package name.
15572065Something like this will reproduce the error:
15582066
15592067=end original
15602068
15612069(F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、
15622070もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも
15632071パッケージ名も返さない定義された式が書かれています。
15642072以下のように書くとエラーが再現します:
15652073
15662074 $BADREF = 42;
15672075 process $BADREF 1,2,3;
15682076 $BADREF->process(1,2,3);
15692077
1570=item Can't chdir to %s
2078=item Can't call mro_isa_changed_in() on anonymous symbol table
15712079
15722080=begin original
15732081
1574(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
1575that you can chdir to, possibly because it doesn't exist.
2083symbol table hash when trying to update @ISA caches.
15762084
15772085=end original
15782086
1579(F) C<perl -x/foo/bar> のようて起動しましが、C</foo/bar>
2087(P) @ISA キャッシュを更新しようしたとき、ハッシュが普通のハッシュか
1580chdir することができません; おそらく、存在しないのでないでょうか
2088シンボルテーブルハッシュかについて perl混乱ました
15812089
1582=item Can't check filesystem of script "%s" for nosuid
2090=item Can't call mro_method_changed_in() on anonymous symbol table
15832091
15842092=begin original
15852093
1586(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
1587nosuid.
2095not attached to the symbol table.
15882096
15892097=end original
15902098
1591(P) なぜかスクリプトが nosuid かどうかをファイルシムから
2099(F) XS モジューが、ンボルーブルにアタッチされていないハッシュに対して
1592調べることができせん
2100C<mro_method_changed_in> を呼び出しした
15932101
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
15942114=item Can't coerce %s to %s in %s
15952115
15962116=begin original
15972117
15982118(F) Certain types of SVs, in particular real symbol table entries
15992119(typeglobs), can't be forced to stop being what they are. So you can't
16002120say things like:
16012121
16022122=end original
16032123
16042124(F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、
16052125一つの型に留めておくことができません。
16062126したがって、以下のようにすることはできません:
16072127
16082128 *foo += 1;
16092129
16102130=begin original
16112131
16122132You CAN say
16132133
16142134=end original
16152135
16162136以下のようにはできますが:
16172137
16182138 $foo = *foo;
16192139 $foo += 1;
16202140
16212141=begin original
16222142
16232143but then $foo no longer contains a glob.
16242144
16252145=end original
16262146
16272147$foo にはもはやグロブは残っていません。
16282148
16292149=item Can't "continue" outside a when block
16302150
16312151=begin original
16322152
16332153(F) You called C<continue>, but you're not inside a C<when>
16342154or C<default> block.
16352155
16362156=end original
16372157
16382158(F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの
16392159内側ではありません。
16402160
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
16412173=item Can't create pipe mailbox
16422174
16432175=begin original
16442176
16452177(P) An error peculiar to VMS. The process is suffering from exhausted
16462178quotas or other plumbing problems.
16472179
16482180=end original
16492181
16502182(P) VMS に固有のエラーです。
16512183プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。
16522184
16532185=item Can't declare %s in "%s"
16542186
16552187=begin original
16562188
16572189(F) Only scalar, array, and hash variables may be declared as "my", "our" or
16582190"state" variables. They must have ordinary identifiers as names.
16592191
16602192=end original
16612193
16622194(F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として
16632195宣言できます。
16642196これらは、名前として通常の識別子を持たなければなりません。
16652197
16662198=item Can't "default" outside a topicalizer
16672199
16682200=begin original
16692201
16702202(F) You have used a C<default> block that is neither inside a
16712203C<foreach> loop nor a C<given> block. (Note that this error is
16722204issued on exit from the C<default> block, so you won't get the
16732205error if you use an explicit C<continue>.)
16742206
16752207=end original
16762208
16772209(F) C<foreach> ループや C<given> ブロックの内側でないところで
16782210C<default> ブロックを使いました。
16792211(このエラーは C<default> ブロックから出るときに発生するので、明示的な
16802212C<continue> を使うとエラーは発生しません。)
16812213
2214=item Can't determine class of operator %s, assuming BASEOP
2215
2216=begin original
2217
2218(S) This warning indicates something wrong in the internals of perl.
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.
2222
2223=end original
2224
2225(S) この警告は、perl の内部で何かがおかしいことを示しています。
2226Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、
2227そうすることができませんでした。
2228これはおそらく perl 内部のバグによるものか、perl の op 木を操作する
2229XS コードのバグによるものです。
2230
16822231=item Can't do inplace edit: %s is not a regular file
16832232
16842233=begin original
16852234
16862235(S inplace) You tried to use the B<-i> switch on a special file, such as
1687a file in /dev, or a FIFO. The file was ignored.
2236a file in /dev, a FIFO or an uneditable directory. The file was ignored.
16882237
16892238=end original
16902239
1691(S inplace) /dev FIFO のような、特殊ファイルに対して、B<-i> スイッチを
2240(S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して
1692使おうとしました。
2241B<-i> スイッチを使おうとしました。
16932242このファイルは無視されます。
16942243
16952244=item Can't do inplace edit on %s: %s
16962245
16972246=begin original
16982247
16992248(S inplace) The creation of the new file failed for the indicated
17002249reason.
17012250
17022251=end original
17032252
17042253(S inplace) 表示された理由により、新しいファイルの生成に失敗しました。
17052254
1706=item Can't do inplace edit without backup
1707
1708=begin original
1709
1710(F) You're on a system such as MS-DOS that gets confused if you try
1711reading from a deleted (but still opened) file. You have to say
1712C<-i.bak>, or some such.
1713
1714=end original
1715
1716(F) 削除した (が、まだオープンされている) ファイルを読もうとすると
1717おかしくなる MS-DOS のようなシステムで実行しています。
1718C<-i.bak> のようにバックアップを指定してください。
1719
17202255=item Can't do inplace edit: %s would not be unique
17212256
17222257=begin original
17232258
17242259(S inplace) Your filesystem does not support filenames longer than 14
17252260characters and Perl was unable to create a unique filename during
17262261inplace editing with the B<-i> switch. The file was ignored.
17272262
17282263=end original
17292264
17302265(S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、
17312266Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の
17322267作成ができませんでした。
17332268このファイルは無視されます。
17342269
1735=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".
17362271
17372272=begin original
17382273
1739(F) Minima must be less than or equal to maxima. If you really
2274(W locale) You are 1) running under "C<use locale>"; 2) the current
1740want your regexp to match something 0 times, just put {0}. The
2275locale is not a UTF-8 one; 3) you tried to do the designated case-change
1741<-- HERE shows in the regular expression about where the problem
2276operation on the specified Unicode character; and 4) the result of this
1742was discovered. See L<perlre>.
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.
17432282
17442283=end original
17452284
1746(F) 最小値最大値以下なければなりません。
2285(W locale) あなた 1) "C<use locale>" の基実行していて;
1747もし、本当に正規表 0 回繰り返したものにマッチさせたいら、単に
22862) 在のロケールは UTF-8 ではく;
1748{0} としてください。
22873) 特定の Unicode 文字に指定された大文字小文字変換をしようとして;
1749<-- HERE で正規表現どこに問題が発見されたか示してい
22884) この操作の結果、おそらく衝突する、Unicode とロケール規則混ぜした
1750L<perlre> 参照してください
2289異なる種類の規則混ぜるのは禁止れてるので、この操作は行われません;
2290代わりに結果は示された値になります; これは全体的に Unicode の規則を
2291使うという、最も利用可能なものです。
2292これは、ほとんど常に、元の文字を変更しないままにします。
17512293
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
17522339=item Can't do waitpid with flags
17532340
17542341=begin original
17552342
17562343(F) This machine doesn't have either waitpid() or wait4(), so only
17572344waitpid() without flags is emulated.
17582345
17592346=end original
17602347
17612348(F) このマシンには、waitpid() も wait4() もありませんので、
17622349フラグの無い waitpid() のみがエミュレート可能です。
17632350
17642351=item Can't emulate -%s on #! line
17652352
17662353=begin original
17672354
17682355(F) The #! line specifies a switch that doesn't make sense at this
17692356point. For example, it'd be kind of silly to put a B<-x> on the #!
17702357line.
17712358
17722359=end original
17732360
17742361(F) #! 行にその時点で意味をなさないスイッチが指定されました。
17752362たとえば、#! 行に B<-x> をおいても意味がありません。
17762363
17772364=item Can't %s %s-endian %ss on this platform
17782365
17792366=begin original
17802367
17812368(F) Your platform's byte-order is neither big-endian nor little-endian,
17822369or it has a very strange pointer size. Packing and unpacking big- or
17832370little-endian floating point values and pointers may not be possible.
17842371See L<perlfunc/pack>.
17852372
17862373=end original
17872374
17882375(F) プラットフォームのバイト順序がビッグエンディアンでも
17892376リトルエンディアンでもないか、ポインタサイズがとても変わっています。
17902377ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの
17912378pack や unpack はできません。
17922379L<perlfunc/pack> を参照してください。
17932380
17942381=item Can't exec "%s": %s
17952382
17962383=begin original
17972384
17982385(W exec) A system(), exec(), or piped open call could not execute the
17992386named program for the indicated reason. Typical reasons include: the
18002387permissions were wrong on the file, the file wasn't found in
18012388C<$ENV{PATH}>, the executable in question was compiled for another
18022389architecture, or the #! line in a script points to an interpreter that
18032390can't be run for similar reasons. (Or maybe your system doesn't support
18042391#! at all.)
18052392
18062393=end original
18072394
18082395(W exec) 提示した理由によって、system() や exec() やパイプオープン
18092396呼び出しの指定されたプログラムが実行できませんでした。
18102397考えられる理由には: ファイルのパーミッションが間違っている、
18112398ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが
18122399このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない
18132400インタプリタを指している、というようなものがあります。
18142401(あるいは、このシステムで、#! がサポートされていません。)
18152402
18162403=item Can't exec %s
18172404
18182405=begin original
18192406
18202407(F) Perl was trying to execute the indicated program for you because
18212408that's what the #! line said. If that's not what you wanted, you may
18222409need to mention "perl" on the #! line somewhere.
18232410
18242411=end original
18252412
18262413(F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを
18272414実行しようとしました。
18282415そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。
18292416
18302417=item Can't execute %s
18312418
18322419=begin original
18332420
18342421(F) You used the B<-S> switch, but the copies of the script to execute
18352422found in the PATH did not have correct permissions.
18362423
18372424=end original
18382425
18392426(F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが
18402427正しいパーミッションではありませんでした。
18412428
18422429=item Can't find an opnumber for "%s"
18432430
18442431=begin original
18452432
18462433(F) A string of a form C<CORE::word> was given to prototype(), but there
18472434is no builtin with the name C<word>.
18482435
18492436=end original
18502437
18512438(F) C<CORE::word> の形の文字列が prototype() に与えられましたが、
18522439名前 C<word> は組み込みではありません。
18532440
1854=item Can't find %s character property "%s"
1855
1856=begin original
1857
1858(F) You used C<\p{}> or C<\P{}> but the character property by that name
1859could not be found. Maybe you misspelled the name of the property?
1860See L<perluniprops/Properties accessible through \p{} and \P{}>
1861for a complete list of available properties.
1862
1863=end original
1864
1865(F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字特性は
1866見つかりませんでした。
1867おそらく特性名をタイプミスしたのでは?
1868利用可能な特性の完全なリストは
1869L<perluniprops/Properties accessible through \p{} and \P{}> を
1870参照してください。
1871
18722441=item Can't find label %s
18732442
18742443=begin original
18752444
18762445(F) You said to goto a label that isn't mentioned anywhere that it's
18772446possible for us to go to. See L<perlfunc/goto>.
18782447
18792448=end original
18802449
18812450(F) どこにも見つからないラベルへ goto を行なおうとしました。
18822451L<perlfunc/goto> を参照してください。
18832452
18842453=item Can't find %s on PATH
18852454
18862455=begin original
18872456
18882457(F) You used the B<-S> switch, but the script to execute could not be
18892458found in the PATH.
18902459
18912460=end original
18922461
18932462B<-S> オプションを使いましたが、実行するスクリプトは PATH に
18942463見つかりませんでした。
18952464
18962465=item Can't find %s on PATH, '.' not in PATH
18972466
18982467=begin original
18992468
19002469(F) You used the B<-S> switch, but the script to execute could not be
19012470found in the PATH, or at least not with the correct permissions. The
19022471script exists in the current directory, but PATH prohibits running it.
19032472
19042473=end original
19052474
19062475(F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが
19072476見つからないか、少なくとも適切なパーミッションがありません。
19082477スクリプトはカレントディレクトリにはありますが、PATH に
19092478カレントディレクトリは含まれていません。
19102479
19112480=item Can't find string terminator %s anywhere before EOF
19122481
19132482=begin original
19142483
19152484(F) Perl strings can stretch over multiple lines. This message means
19162485that the closing delimiter was omitted. Because bracketed quotes count
19172486nesting levels, the following is missing its final parenthesis:
19182487
19192488=end original
19202489
19212490(F) Perl の文字列は、複数行に渡ることができます。このメッセージは、
19222491文字列を終わる区切り文字が見つからなかったことを意味します。
19232492かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが
19242493無いと言われます:
19252494
19262495 print q(The character '(' starts a side comment.);
19272496
19282497=begin original
19292498
19302499If you're getting this error from a here-document, you may have
19312500included unseen whitespace before or after your closing tag or there
19322501may not be a linebreak after it. A good programmer's editor will have
19332502a way to help you find these characters (or lack of characters). See
19342503L<perlop> for the full details on here-documents.
19352504
19362505=end original
19372506
19382507このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に
19392508見えない空白を含んでいるか、その後に改行がないのかもしれません。
19402509よいプログラマ用エディタには、このような文字(または文字がないこと)を探す
19412510助けになる方法があります。
19422511ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。
19432512
19442513=item Can't find Unicode property definition "%s"
19452514
2515=item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/
2516
19462517=begin original
19472518
1948(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
1949property (for example C<\p{Lu}> matches all uppercase
2520known to Perl. Perhaps you misspelled the name? See
1950letters). If you did mean to use a Unicode property, see
19512521L<perluniprops/Properties accessible through \p{} and \P{}>
1952for a complete list of available properties. If you didn't
2522for a complete list of available official
1953mean to use a Unicode property, escape the C<\p>, either by
2523properties. If it is a
1954C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or
2524L<user-defined property|perlunicode/User-Defined Character Properties>
1955until C<\E>).
2525it must have been defined by the time the regular expression is
2526matched.
19562527
19572528=end original
19582529
1959(F) (例えば \p{Lu} が全て大文字にマッチング、のように) Unicode 特性を
2530(F)
1960意味するC<\p> を使おうとました。
2531C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです
1961Unicode 特性使いい場合は、利用可能な特性完全なリストを
2532おそらく名前タイプミスしたのでは?
1962L<perluniprops/Properties accessible through \p{} and \P{}> で
2533公式に利用可能な特性の完全な一覧については
2534L<perluniprops/Properties accessible through \p{} and \P{}> を
19632535参照してください。
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
19642547Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または
19652548C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を
19662549エスケープしてください。
19672550
19682551=item Can't fork: %s
19692552
19702553=begin original
19712554
19722555(F) A fatal error occurred while trying to fork while opening a
19732556pipeline.
19742557
19752558=end original
19762559
19772560(F) パイプラインをオープンしようとして、fork を行なおうとして、
19782561致命的エラーが発生しました。
19792562
19802563=item Can't fork, trying again in 5 seconds
19812564
19822565=begin original
19832566
19842567(W pipe) A fork in a piped open failed with EAGAIN and will be retried
19852568after five seconds.
19862569
19872570=end original
19882571
19892572(W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に
19902573再試行されます。
19912574
19922575=item Can't get filespec - stale stat buffer?
19932576
19942577=begin original
19952578
19962579(S) A warning peculiar to VMS. This arises because of the difference
19972580between access checks under VMS and under the Unix model Perl assumes.
19982581Under VMS, access checks are done by filename, rather than by bits in
19992582the stat buffer, so that ACLs and other protections can be taken into
20002583account. Unfortunately, Perl assumes that the stat buffer contains all
20012584the necessary information, and passes it, instead of the filespec, to
20022585the access-checking routine. It will try to retrieve the filespec using
20032586the device name and FID present in the stat buffer, but this works only
20042587if you haven't made a subsequent call to the CRTL stat() routine,
20052588because the device name is overwritten with each call. If this warning
20062589appears, the name lookup failed, and the access-checking routine gave up
20072590and returned FALSE, just to be conservative. (Note: The access-checking
20082591routine knows about the Perl C<stat> operator and file tests, so you
20092592shouldn't ever see this warning in response to a Perl command; it arises
20102593only if some internal code takes stat buffers lightly.)
20112594
20122595=end original
20132596
20142597(S) VMS に固有の警告です。
20152598これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが
20162599あることによって起こります。
20172600VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって
20182601行われるので、ACL やその他の保護が考慮されます。
20192602残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、
20202603アクセスチェックルーチンにはファイルスペックではなくこれを渡します。
20212604stat バッファにあるデバイス名と FID を使ってファイルスペックを
20222605取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない
20232606場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。
20242607この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、
20252608安全のためだけに FALSE を返します。
20262609(注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル
20272610テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは
20282611ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ
20292612発生します。)
20302613
20312614=item Can't get pipe mailbox device name
20322615
20332616=begin original
20342617
20352618(P) An error peculiar to VMS. After creating a mailbox to act as a
20362619pipe, Perl can't retrieve its name for later use.
20372620
20382621=end original
20392622
20402623(P) VMS に固有のエラーです。
20412624パイプとして働くメールボックスの作成後、後で使うための名前を
20422625Perl が取得できませんでした。
20432626
20442627=item Can't get SYSGEN parameter value for MAXBUF
20452628
20462629=begin original
20472630
20482631(P) An error peculiar to VMS. Perl asked $GETSYI how big you want your
20492632mailbox buffers to be, and didn't get an answer.
20502633
20512634=end original
20522635
20532636(P) VMS に固有のエラーです。
20542637メールボックスバッファをどれくらいとるべきかを $GETSYI に
20552638問い合わせましたが、答えが得られませんでした。
20562639
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
20572689=item Can't "goto" into the middle of a foreach loop
20582690
20592691=begin original
20602692
20612693(F) A "goto" statement was executed to jump into the middle of a foreach
20622694loop. You can't get there from here. See L<perlfunc/goto>.
20632695
20642696=end original
20652697
20662698(F) "goto" 文で foreach ループの中に飛び込もうとしました。
20672699ここからそこへは行けません。
20682700L<perlfunc/goto> を参照してください。
20692701
20702702=item Can't "goto" out of a pseudo block
20712703
20722704=begin original
20732705
20742706(F) A "goto" statement was executed to jump out of what might look like
20752707a block, except that it isn't a proper block. This usually occurs if
20762708you tried to jump out of a sort() block or subroutine, which is a no-no.
20772709See L<perlfunc/goto>.
20782710
20792711=end original
20802712
20812713(F) "goto" 文でブロックのように見えるけれども、適切な
20822714ブロックではないところから飛び出そうとしました。
20832715これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに
20842716起きますが、それはできません。
20852717L<perlfunc/goto> を参照してください。
20862718
2087=item Can't goto subroutine from a sort sub (or similar callback)
2719=item Can't goto subroutine from an eval-%s
20882720
20892721=begin original
20902722
2091(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
2092comparison sub for a sort(), or from a similar callback (such
2724"string" or block.
2093as the reduce() function in List::Util).
20942725
20952726=end original
20962727
2097(F) "goto subroutine" 呼び出しはsort() のための比較サブルーチン
2728(F) "goto subroutine" 呼び出しは eval "string"ブロックから
2098(List::Util の reduce() 関数のような) 似たようなコールバックから
20992729飛び出すことはできません。
21002730
2101=item Can't goto subroutine from an eval-%s
2731=item Can't goto subroutine from a sort sub (or similar callback)
21022732
21032733=begin original
21042734
2105(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
2106"string" or block.
2736comparison sub for a sort(), or from a similar callback (such
2737as the reduce() function in List::Util).
21072738
21082739=end original
21092740
2110(F) "goto subroutine" 呼び出しは eval "string" ロックから
2741(F) "goto subroutine" 呼び出しはsort() のための比較サルーチンや、
2742(List::Util の reduce() 関数のような) 似たようなコールバックから
21112743飛び出すことはできません。
21122744
21132745=item Can't goto subroutine outside a subroutine
21142746
21152747=begin original
21162748
21172749(F) The deeply magical "goto subroutine" call can only replace one
21182750subroutine call for another. It can't manufacture one out of whole
21192751cloth. In general you should be calling it out of only an AUTOLOAD
21202752routine anyway. See L<perlfunc/goto>.
21212753
21222754=end original
21232755
21242756(F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン
21252757呼び出しを別のもので置き換えるだけです。
21262758反物の状態から作り上げることはできません。
21272759一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに
21282760しておくべきです。
21292761L<perlfunc/goto> を参照してください。
21302762
21312763=item Can't ignore signal CHLD, forcing to default
21322764
21332765=begin original
21342766
21352767(W signal) Perl has detected that it is being run with the SIGCHLD
21362768signal (sometimes known as SIGCLD) disabled. Since disabling this
21372769signal will interfere with proper determination of exit status of child
21382770processes, Perl has reset the signal to its default value. This
21392771situation typically indicates that the parent program under which Perl
21402772may be running (e.g. cron) is being very careless.
21412773
21422774=end original
21432775
21442776(W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが
21452777無効化された状態で実行されていることを検出しました。
21462778このシグナルが無効化されると子プロセスの終了ステータスを適切に
21472779決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。
21482780この状況は典型的には Perl が動作している親プログラム(cron など)が
21492781とても不注意であることを示しています。
21502782
21512783=item Can't kill a non-numeric process ID
21522784
21532785=begin original
21542786
21552787(F) Process identifiers must be (signed) integers. It is a fatal error to
21562788attempt to kill() an undefined, empty-string or otherwise non-numeric
21572789process identifier.
21582790
21592791=end original
21602792
21612793(F) プロセス識別子は(符号付き)整数でなければなりません。
21622794未定義値、空文字列、その他の非数値プロセス識別子を使って
21632795kill() しようとすることは致命的エラーです。
21642796
21652797=item Can't "last" outside a loop block
21662798
21672799=begin original
21682800
21692801(F) A "last" statement was executed to break out of the current block,
21702802except that there's this itty bitty problem called there isn't a current
21712803block. Note that an "if" or "else" block doesn't count as a "loopish"
21722804block, as doesn't a block given to sort(), map() or grep(). You can
21732805usually double the curlies to get the same effect though, because the
21742806inner curlies will be considered a block that loops once. See
21752807L<perlfunc/last>.
21762808
21772809=end original
21782810
21792811(F) 現在のブロックから脱出するために、"last" 文を実行しましたが、
21802812残念なことにブロックの中ではありませんでした。
21812813"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
21822814同様「ループ風」ブロックではないので、注意してください。
21832815ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
21842816ブロックとみなされますから、同じ効果が得られます。
21852817L<perlfunc/last> を参照してください。
21862818
21872819=item Can't linearize anonymous symbol table
21882820
21892821=begin original
21902822
21912823(F) Perl tried to calculate the method resolution order (MRO) of a
21922824package, but failed because the package stash has no name.
21932825
21942826=end original
21952827
21962828(F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、
21972829パッケージ stash に名前がないので失敗しました。
21982830
21992831=item Can't load '%s' for module %s
22002832
22012833=begin original
22022834
22032835(F) The module you tried to load failed to load a dynamic extension.
22042836This may either mean that you upgraded your version of perl to one
22052837that is incompatible with your old dynamic extensions (which is known
22062838to happen between major versions of perl), or (more likely) that your
22072839dynamic extension was built against an older version of the library
22082840that is installed on your system. You may need to rebuild your old
22092841dynamic extensions.
22102842
22112843=end original
22122844
22132845(F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに
22142846失敗しました。
22152847これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか
22162848(これは perl のメジャーバージョン間で起きることが知られています)、
22172849(よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い
22182850バージョンのライブラリに対してビルドされているかです。
22192851古い動的拡張モジュールをリビルドする必要があるでしょう。
22202852
22212853=item Can't localize lexical variable %s
22222854
22232855=begin original
22242856
22252857(F) You used local on a variable name that was previously declared as a
22262858lexical variable using "my" or "state". This is not allowed. If you
22272859want to localize a package variable of the same name, qualify it with
22282860the package name.
22292861
22302862=end original
22312863
22322864(F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に
22332865対して local を使いました。
22342866これは認められていません。
22352867同じ名前のパッケージ変数をローカル化したい場合は、
22362868パッケージ名で修飾してください。
22372869
22382870=item Can't localize through a reference
22392871
22402872=begin original
22412873
22422874(F) You said something like C<local $$ref>, which Perl can't currently
22432875handle, because when it goes to restore the old value of whatever $ref
22442876pointed to after the scope of the local() is finished, it can't be sure
22452877that $ref will still be a reference.
22462878
22472879=end original
22482880
22492881(F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを
22502882扱えません; なぜなら、local() のスコープが終了した後、$ref が
22512883指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが
22522884わからないからです。
22532885
22542886=item Can't locate %s
22552887
22562888=begin original
22572889
22582890(F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found.
22592891Perl looks for the file in all the locations mentioned in @INC, unless
22602892the file name included the full path to the file. Perhaps you need
22612893to set the PERL5LIB or PERL5OPT environment variable to say where the
22622894extra library is, or maybe the script needs to add the library name
22632895to @INC. Or maybe you just misspelled the name of the file. See
22642896L<perlfunc/require> and L<lib>.
22652897
22662898=end original
22672899
22682900(F) ファイルを C<do> (または、C<require>、C<use>) するように
22692901指示されましたが、見つかりませんでした。
22702902Perl は、フルパスで指定されていない場合ファイルを @INC で示される
22712903全ての場所を検索します。
22722904おそらく、追加ライブラリの場所を示すために、
22732905PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、
22742906スクリプトの中で @INC にライブラリ名を追加する必要があります。
22752907ファイル名のスペルミスの可能性もあります。
22762908L<perlfunc/require> と L<lib> を参照してください。
22772909
22782910=item Can't locate auto/%s.al in @INC
22792911
22802912=begin original
22812913
22822914(F) A function (or method) was called in a package which allows
22832915autoload, but there is no function to autoload. Most probable causes
22842916are a misprint in a function/method name or a failure to C<AutoSplit>
22852917the file, say, by doing C<make install>.
22862918
22872919=end original
22882920
22892921(F) 関数(またはメソッド)がオートロードを許可しているパッケージで
22902922呼び出されましたが、オートロードする関数がありませんでした。
22912923最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と
22922924することによるファイルの C<AutoSplit> の失敗です。
22932925
22942926=item Can't locate loadable object for module %s in @INC
22952927
22962928=begin original
22972929
22982930(F) The module you loaded is trying to load an external library, like
22992931for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was
23002932unable to locate this library. See L<DynaLoader>.
23012933
23022934=end original
23032935
23042936(F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部
23052937ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この
23062938ライブラリの位置がわかりませんでした。
23072939L<DynaLoader> を参照してください。
23082940
23092941=item Can't locate object method "%s" via package "%s"
23102942
23112943=begin original
23122944
23132945(F) You called a method correctly, and it correctly indicated a package
23142946functioning as a class, but that package doesn't define that particular
23152947method, nor does any of its base classes. See L<perlobj>.
23162948
23172949=end original
23182950
23192951(F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを
23202952正しく示していますが、そのパッケージにも、基底クラスにも、
23212953該当のメソッドが定義されていません。
23222954L<perlobj> を参照してください。
23232955
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
23243027=item Can't locate package %s for @%s::ISA
23253028
23263029=begin original
23273030
23283031(W syntax) The @ISA array contained the name of another package that
23293032doesn't seem to exist.
23303033
23313034=end original
23323035
23333036(W syntax) 配列 @ISA に別のパッケージ名が記されていますが、
23343037存在していないようです。
23353038
23363039=item Can't locate PerlIO%s
23373040
23383041=begin original
23393042
23403043(F) You tried to use in open() a PerlIO layer that does not exist,
23413044e.g. open(FH, ">:nosuchlayer", "somefile").
23423045
23433046=end original
23443047
23453048(F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、
23463049open() で 存在しない PerlIO 層を使おうとしました。
23473050
23483051=item Can't make list assignment to %ENV on this system
23493052
23503053=begin original
23513054
23523055(F) List assignment to %ENV is not supported on some systems, notably
23533056VMS.
23543057
23553058=end original
23563059
23573060(F) %ENV へのリスト代入はいくつかのシステム、特に VMS では
23583061対応していません。
23593062
2360=item Can't modify %s in %s
3063=item Can't make loaded symbols global on this platform while loading %s
23613064
23623065=begin original
23633066
2364(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
2365to 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.
23663073
23673074=end original
23683075
2369(F) 指定されたものは代入、インクリメントど、変更が許されていません。
3076(W) モジュールがプロセスの中でグローバルに利用可能固定ファイルから
3077シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に
30780x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。
3079モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や
3080XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの
3081エクステンションの読み込みが妨げられるかもしれません。
23703082
2371=item Can't modify nonexistent substring
3083=item Can't modify %s in %s
23723084
23733085=begin original
23743086
2375(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
2376a NULL.
3088to change it, such as with an auto-increment.
23773089
23783090=end original
23793091
2380(P) substr() への代入を行なう内部ルーティに NULL されました
3092(F) 指定されたもは、代入、イクリメントなど、変更されていせん
23813093
2382=item Can't modify non-lvalue subroutine call
3094=item Can't modify non-lvalue subroutine call of &%s
23833095
3096=item Can't modify non-lvalue subroutine call of &%s in %s
3097
23843098=begin original
23853099
23863100(F) Subroutines meant to be used in lvalue context should be declared as
23873101such. See L<perlsub/"Lvalue subroutines">.
23883102
23893103=end original
23903104
23913105(F) 左辺値コンテキストとして使うサブルーチンは、そのように
23923106宣言しなければなりません。
23933107L<perlsub/"Lvalue subroutines"> を参照してください。
23943108
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
23953160=item Can't msgrcv to read-only var
23963161
23973162=begin original
23983163
23993164(F) The target of a msgrcv must be modifiable to be used as a receive
24003165buffer.
24013166
24023167=end original
24033168
24043169(F) msgrcv で使用する変数は、受信バッファとして使用しますので、
24053170変更可能なものでなければなりません。
24063171
24073172=item Can't "next" outside a loop block
24083173
24093174=begin original
24103175
24113176(F) A "next" statement was executed to reiterate the current block, but
24123177there isn't a current block. Note that an "if" or "else" block doesn't
24133178count as a "loopish" block, as doesn't a block given to sort(), map() or
24143179grep(). You can usually double the curlies to get the same effect
24153180though, because the inner curlies will be considered a block that loops
24163181once. See L<perlfunc/next>.
24173182
24183183=end original
24193184
24203185(F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、
24213186ブロックの中ではありませんでした。
24223187"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
24233188同様「ループ風」ブロックではないので、注意してください。
24243189ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
24253190ブロックとみなされますから、同じ効果が得られます。
24263191L<perlfunc/next> を参照してください。
24273192
2428=item Can't open %s
2429
2430=begin original
2431
2432(F) You tried to run a perl built with MAD support with
2433the PERL_XMLDUMP environment variable set, but the file
2434named by that variable could not be opened.
2435
2436=end original
2437
2438(F) PERL_XMLDUMP 環境変数を設定して MAD 対応でビルドした perl を
2439実行しようとしましたが、環境変数で指定された名前のファイルが開けませんでした。
2440
24413193=item Can't open %s: %s
24423194
24433195=begin original
24443196
24453197(S inplace) The implicit opening of a file through use of the C<< <> >>
24463198filehandle, either implicitly under the C<-n> or C<-p> command-line
24473199switches, or explicitly, failed for the indicated reason. Usually
24483200this is because you don't have read permission for a file which
24493201you named on the command line.
24503202
24513203=end original
24523204
24533205(S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは
24543206C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは
24553207明示的なファイルオープンが表示した理由によって失敗しました。
24563208通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。
24573209
24583210=begin original
24593211
24603212(F) You tried to call perl with the B<-e> switch, but F</dev/null> (or
24613213your operating system's equivalent) could not be opened.
24623214
24633215=end original
24643216
24653217(F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null>
24663218(またはあなたのオペレーティングシステムでの等価物) が開けませんでした。
24673219
24683220=item Can't open a reference
24693221
24703222=begin original
24713223
24723224(W io) You tried to open a scalar reference for reading or writing,
24733225using the 3-arg open() syntax:
24743226
24753227=end original
24763228
24773229(W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは
24783230書き込みのために開こうとしました:
24793231
24803232 open FH, '>', $ref;
24813233
24823234=begin original
24833235
24843236but your version of perl is compiled without perlio, and this form of
24853237open is not supported.
24863238
24873239=end original
24883240
24893241しかしこのバージョンの perl は perlio なしでコンパイルされていて、
24903242この形式の open は対応していません。
24913243
24923244=item Can't open bidirectional pipe
24933245
24943246=begin original
24953247
24963248(W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported.
24973249You can try any of several modules in the Perl library to do this, such
24983250as IPC::Open2. Alternately, direct the pipe's output to a file using
24993251">", and then read it in under a different file handle.
25003252
25013253=end original
25023254
25033255(W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。
25043256これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの
25053257モジュールを使うことができます。
25063258別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、
25073259あとで別のファイルハンドルで読み込みを行なうことも考えられます。
25083260
25093261=item Can't open error file %s as stderr
25103262
25113263=begin original
25123264
25133265(F) An error peculiar to VMS. Perl does its own command line
25143266redirection, and couldn't open the file specified after '2>' or '2>>' on
25153267the command line for writing.
25163268
25173269=end original
25183270
25193271(F) VMS に固有のエラーです。
25203272Perl は独自にコマンドラインのリダイレクトを扱っていて、
25213273コマンドラインで書き込みのために '2>' や '2>>' の後に指定された
25223274ファイルを開けませんでした。
25233275
25243276=item Can't open input file %s as stdin
25253277
25263278=begin original
25273279
25283280(F) An error peculiar to VMS. Perl does its own command line
25293281redirection, and couldn't open the file specified after '<' on the
25303282command line for reading.
25313283
25323284=end original
25333285
25343286(F) VMS に固有のエラーです。
25353287Perl は独自にコマンドラインのリダイレクトを扱っていて、
25363288コマンドラインで読み込みのために '<' の後に指定された
25373289ファイルを開けませんでした。
25383290
25393291=item Can't open output file %s as stdout
25403292
25413293=begin original
25423294
25433295(F) An error peculiar to VMS. Perl does its own command line
25443296redirection, and couldn't open the file specified after '>' or '>>' on
25453297the command line for writing.
25463298
25473299=end original
25483300
25493301(F) VMS に固有のエラーです。
25503302Perl は独自にコマンドラインのリダイレクトを扱っていて、
25513303コマンドラインで書き込みのために '>' や '>>' の後に指定された
25523304ファイルを開けませんでした。
25533305
25543306=item Can't open output pipe (name: %s)
25553307
25563308=begin original
25573309
25583310(P) An error peculiar to VMS. Perl does its own command line
25593311redirection, and couldn't open the pipe into which to send data destined
25603312for stdout.
25613313
25623314=end original
25633315
25643316(P) VMS に固有のエラーです。
25653317Perl は独自にコマンドラインのリダイレクトを扱っていて、
25663318標準出力としてデータを送るパイプを開けませんでした。
25673319
25683320=item Can't open perl script "%s": %s
25693321
25703322=begin original
25713323
25723324(F) The script you specified can't be opened for the indicated reason.
25733325
25743326=end original
25753327
25763328(F) 指定したスクリプトが、表示した理由によってオープンできませんでした。
25773329
25783330=begin original
25793331
25803332If you're debugging a script that uses #!, and normally relies on the
25813333shell's $PATH search, the -S option causes perl to do that search, so
25823334you don't have to type the path or C<`which $scriptname`>.
25833335
25843336=end original
25853337
25863338#! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に
25873339頼っている場合は、-S オプションを付けることで perl が検索するようになり、
25883340パスや C<`which $scriptname`> をタイプする必要がなくなります。
25893341
25903342=item Can't read CRTL environ
25913343
25923344=begin original
25933345
25943346(S) A warning peculiar to VMS. Perl tried to read an element of %ENV
25953347from the CRTL's internal environment array and discovered the array was
25963348missing. You need to figure out where your CRTL misplaced its environ
25973349or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not
25983350searched.
25993351
26003352=end original
26013353
26023354(S) VMS に固有の警告です。
26033355Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、
26043356配列がないことを発見しました。
26053357CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を
26063358定義して(L<perlvms> を参照してください)環境を検索しないようにする
26073359必要があります。
26083360
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
26093373=item Can't "redo" outside a loop block
26103374
26113375=begin original
26123376
26133377(F) A "redo" statement was executed to restart the current block, but
26143378there isn't a current block. Note that an "if" or "else" block doesn't
26153379count as a "loopish" block, as doesn't a block given to sort(), map()
26163380or grep(). You can usually double the curlies to get the same effect
26173381though, because the inner curlies will be considered a block that
26183382loops once. See L<perlfunc/redo>.
26193383
26203384=end original
26213385
26223386(F) 現在のブロックの繰り返しをもう一度行なうために、
26233387"redo" 文を実行しましたが、ブロックの中ではありませんでした。
26243388"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
26253389同様「ループ風」ブロックではないので、注意してください。
26263390ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
26273391ブロックとみなされますから、同じ効果が得られます。
26283392L<perlfunc/redo> を参照してください。
26293393
26303394=item Can't remove %s: %s, skipping file
26313395
26323396=begin original
26333397
26343398(S inplace) You requested an inplace edit without creating a backup
26353399file. Perl was unable to remove the original file to replace it with
26363400the modified file. The file was left unmodified.
26373401
26383402=end original
26393403
26403404(S inplace) バックアップを作成せずにその場編集することを要求しました。
26413405Perl は変更したファイルで置き換えるために元のファイルを削除することが
26423406できませんでした。
26433407ファイルは変更されずに残されます。
26443408
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
26453421=item Can't rename %s to %s: %s, skipping file
26463422
26473423=begin original
26483424
2649(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,
26503426probably because you don't have write permission to the directory.
26513427
26523428=end original
26533429
2654(S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、
3430(F) B<-i> スイッチで行なわれた rename が何らかの理由によって、
26553431うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。
26563432
26573433=item Can't reopen input pipe (name: %s) in binary mode
26583434
26593435=begin original
26603436
26613437(P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried
26623438to reopen it to accept binary data. Alas, it failed.
26633439
26643440=end original
26653441
26663442(P) VMS に固有のエラーです。
26673443Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために
26683444再オープンしようとしました。
26693445悲しいかな、それは失敗しました。
26703446
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
26713463=item Can't reset %ENV on this system
26723464
26733465=begin original
26743466
26753467(F) You called C<reset('E')> or similar, which tried to reset
26763468all variables in the current package beginning with "E". In
26773469the main package, that includes %ENV. Resetting %ENV is not
26783470supported on some systems, notably VMS.
26793471
26803472=end original
26813473
26823474(F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる
26833475全ての変数を reset しようとしました。
26843476main パッケージでは、これには %ENV が含まれます。
26853477%ENV の reset は一部のシステム、特に VMS では対応していません。
26863478
26873479=item Can't resolve method "%s" overloading "%s" in package "%s"
26883480
26893481=begin original
26903482
26913483(F)(P) Error resolving overloading specified by a method name (as
26923484opposed to a subroutine reference): no such method callable via the
26933485package. If the method name is C<???>, this is an internal error.
26943486
26953487=end original
26963488
26973489(F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された
26983490オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で
26993491呼び出せません。
27003492もしメソッド名が C<???> なら、内部エラーです。
27013493
27023494=item Can't return %s from lvalue subroutine
27033495
27043496=begin original
27053497
27063498(F) Perl detected an attempt to return illegal lvalues (such as
27073499temporary or readonly values) from a subroutine used as an lvalue. This
27083500is not allowed.
27093501
27103502=end original
27113503
27123504(F) Perl が、左辺値として使われるサブルーチンから(一時的や
27133505読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。
27143506これは認められていません。
27153507
27163508=item Can't return outside a subroutine
27173509
27183510=begin original
27193511
27203512(F) The return statement was executed in mainline code, that is, where
27213513there was no subroutine call to return out of. See L<perlsub>.
27223514
27233515=end original
27243516
27253517(F) return 文が、return で抜けるべきサブルーチンがない、
27263518"main" コードで実行されました。
27273519L<perlsub> を参照してください。
27283520
27293521=item Can't return %s to lvalue scalar context
27303522
27313523=begin original
27323524
27333525(F) You tried to return a complete array or hash from an lvalue
27343526subroutine, but you called the subroutine in a way that made Perl
27353527think you meant to return only one value. You probably meant to
27363528write parentheses around the call to the subroutine, which tell
27373529Perl that the call should be in list context.
27383530
27393531=end original
27403532
27413533(F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、
27423534一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを
27433535呼び出しました。
27443536おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、
27453537サブルーチン呼び出しの周りにかっこを書いているのでしょう。
27463538
2747=item Can't stat script "%s"
2748
2749=begin original
2750
2751(P) For some reason you can't fstat() the script even though you have it
2752open already. Bizarre.
2753
2754=end original
2755
2756(P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が
2757行なえません。困ったもんだ。
2758
27593539=item Can't take log of %g
27603540
27613541=begin original
27623542
27633543(F) For ordinary real numbers, you can't take the logarithm of a
27643544negative number or zero. There's a Math::Complex package that comes
27653545standard with Perl, though, if you really want to do that for the
27663546negative numbers.
27673547
27683548=end original
27693549
27703550(F) 実数に対しては、負数や 0 に対する対数を取ることはできません。
27713551しかし、もし本当に負数に対してそのようなことをしたいのなら、
27723552Perl 標準になっている Math::Complex パッケージがあります。
27733553
27743554=item Can't take sqrt of %g
27753555
27763556=begin original
27773557
27783558(F) For ordinary real numbers, you can't take the square root of a
27793559negative number. There's a Math::Complex package that comes standard
27803560with Perl, though, if you really want to do that.
27813561
27823562=end original
27833563
27843564(F) 通常の実数では、負数の平方根をとることはできません。
27853565しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが
27863566Perl に標準で用意されています。
27873567
27883568=item Can't undef active subroutine
27893569
27903570=begin original
27913571
27923572(F) You can't undefine a routine that's currently running. You can,
27933573however, redefine it while it's running, and you can even undef the
27943574redefined subroutine while the old routine is running. Go figure.
27953575
27963576=end original
27973577
27983578(F) 実行中のルーティンを未定義にすることはできません。
27993579しかし、実行中に再定義することはでき、古いルーティンを実行中に、
28003580再定義したサブルーチンを undef することさえできます。
28013581驚きです。
28023582
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
28033595=item Can't upgrade %s (%d) to %d
28043596
28053597=begin original
28063598
28073599(P) The internal sv_upgrade routine adds "members" to an SV, making it
28083600into a more specialized kind of SV. The top several SV types are so
28093601specialized, however, that they cannot be interconverted. This message
28103602indicates that such a conversion was attempted.
28113603
28123604=end original
28133605
28143606(P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、
28153607より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、
28163608特殊化され過ぎて、内部変換することができません。
28173609このメッセージは、そのような変更を行なおうとしたことを示しています。
28183610
28193611=item Can't use '%c' after -mname
28203612
28213613=begin original
28223614
28233615(F) You tried to call perl with the B<-m> switch, but you put something
28243616other than "=" after the module name.
28253617
28263618=end original
28273619
28283620(F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に
28293621"=" 以外のものを置きました。
28303622
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
28313657=item Can't use anonymous symbol table for method lookup
28323658
28333659=begin original
28343660
28353661(F) The internal routine that does method lookup was handed a symbol
28363662table that doesn't have a name. Symbol tables can become anonymous
28373663for example by undefining stashes: C<undef %Some::Package::>.
28383664
28393665=end original
28403666
28413667(F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを
28423668扱いました。
28433669シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の
28443670stash によって無名となります。
28453671
28463672=item Can't use an undefined value as %s reference
28473673
28483674=begin original
28493675
28503676(F) A value used as either a hard reference or a symbolic reference must
28513677be a defined value. This helps to delurk some insidious errors.
28523678
28533679=end original
28543680
28553681(F) ハードリファレンスやシンボリックリファレンスとして使用する値は、
28563682定義済みの値でなければなりません。
28573683潜伏中のエラーを引きずり出す助けとなります。
28583684
28593685=item Can't use bareword ("%s") as %s ref while "strict refs" in use
28603686
28613687=begin original
28623688
28633689(F) Only hard references are allowed by "strict refs". Symbolic
28643690references are disallowed. See L<perlref>.
28653691
28663692=end original
28673693
28683694(F) "strict refs" によって、ハードリファレンスのみが許可されます。
28693695シンボリックリファレンスは許可されません。
28703696L<perlref> を参照してください。
28713697
28723698=item Can't use %! because Errno.pm is not available
28733699
28743700=begin original
28753701
28763702(F) The first time the C<%!> hash is used, perl automatically loads the
28773703Errno.pm module. The Errno module is expected to tie the %! hash to
28783704provide symbolic names for C<$!> errno values.
28793705
28803706=end original
28813707
28823708(F) 最初に C<%!> ハッシュが使われるときに、
28833709perl は自動的に Errno.pm モジュールを読み込みます。
28843710Errno モジュールは C<$!> errno 値のシンボリック名を提供するために
28853711%! ハッシュと tie されることになります。
28863712
28873713=item Can't use both '<' and '>' after type '%c' in %s
28883714
28893715=begin original
28903716
28913717(F) A type cannot be forced to have both big-endian and little-endian
28923718byte-order at the same time, so this combination of modifiers is not
28933719allowed. See L<perlfunc/pack>.
28943720
28953721=end original
28963722
28973723(F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に
28983724強制することはできないので、この修飾子の組み合わせは許可されません。
28993725L<perlfunc/pack> を参照してください。
29003726
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
29013795=item Can't use %s for loop variable
29023796
29033797=begin original
29043798
2905(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.
2906foreach.
29073800
29083801=end original
29093802
2910(F) 単純スカラ変数だけforeach ループ変数とし
3803(P) パーサ C<foreach> ループをパースしようとしたときに混乱しました。
2911使用することができます。
29123804
2913=item Can't use global %s in "%s"
3805=item Can't use global %s in %s
29143806
29153807=begin original
29163808
29173809(F) You tried to declare a magical variable as a lexical variable. This
29183810is not allowed, because the magic can be tied to only one location
29193811(namely the global variable) and it would be incredibly confusing to
29203812have variables in your program that looked like magical variables but
29213813weren't.
29223814
29233815=end original
29243816
29253817(F) マジカル変数を、字句スコープ変数として宣言しようとしました。
29263818これが許されていないのは、マジカル変数は(グローバル変数という名前の)
292738191 か所だけに結び付けられているので、マジカル変数のように見えるけれども
29283820そうではない変数がプログラム中にあると、著しく混乱させるからです。
29293821
29303822=item Can't use '%c' in a group with different byte-order in %s
29313823
29323824=begin original
29333825
29343826(F) You attempted to force a different byte-order on a type
29353827that is already inside a group with a byte-order modifier.
29363828For example you cannot force little-endianness on a type that
29373829is inside a big-endian group.
29383830
29393831=end original
29403832
29413833(F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を
29423834強制しようとしました。
29433835例えば、ビッグエンディアングループの中にある型をリトルエンディアンに
29443836強制することはできません。
29453837
29463838=item Can't use "my %s" in sort comparison
29473839
29483840=begin original
29493841
29503842(F) The global variables $a and $b are reserved for sort comparisons.
29513843You mentioned $a or $b in the same line as the <=> or cmp operator,
29523844and the variable had earlier been declared as a lexical variable.
29533845Either qualify the sort variable with the package name, or rename the
29543846lexical variable.
29553847
29563848=end original
29573849
29583850(F) グローバル変数 $a と $b はソート比較のために予約されています。
29593851$a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は
29603852その前にレキシカル変数として宣言されています。
2961ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を
3853ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
2962変更してください。
29633854
29643855=item Can't use %s ref as %s ref
29653856
29663857=begin original
29673858
29683859(F) You've mixed up your reference types. You have to dereference a
29693860reference of the type needed. You can use the ref() function to
29703861test the type of the reference, if need be.
29713862
29723863=end original
29733864
29743865(F) リファレンス型を混同しています。
29753866必要な型のリファレンスを被参照しなければなりません。
29763867必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。
29773868
29783869=item Can't use string ("%s") as %s ref while "strict refs" in use
29793870
3871=item Can't use string ("%s"...) as %s ref while "strict refs" in use
3872
29803873=begin original
29813874
2982(F) Only hard references are allowed by "strict refs". Symbolic
3875(F) You've told Perl to dereference a string, something which
2983references 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">.
29843882
29853883=end original
29863884
2987(F) "strict refs" によって、ハードリファレンスのみが許可されま
3885(F) 文字列をデリファレンスするように Perl に指示しましたが、
2988シンボリックリファレンスは許可されません
3886C<use strict> ブロックがこが偶然起きることを妨げした
2989L<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">。
29903893
29913894=item Can't use subscript on %s
29923895
29933896=begin original
29943897
29953898(F) The compiler tried to interpret a bracketed expression as a
29963899subscript. But to the left of the brackets was an expression that
29973900didn't look like a hash or array reference, or anything else subscriptable.
29983901
29993902=end original
30003903
30013904(F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。
30023905しかし、大かっこの左側はハッシュか配列のリファレンスやその他の
30033906添字化できるもののようには見えない式です。
30043907
30053908=item Can't use \%c to mean $%c in expression
30063909
30073910=begin original
30083911
30093912(W syntax) In an ordinary expression, backslash is a unary operator that
30103913creates a reference to its argument. The use of backslash to indicate a
30113914backreference to a matched substring is valid only as part of a regular
30123915expression pattern. Trying to do this in ordinary Perl code produces a
30133916value that prints out looking like SCALAR(0xdecaf). Use the $1 form
30143917instead.
30153918
30163919=end original
30173920
30183921(W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る
30193922単項演算子です。
30203923マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は
30213924正規表現パターンの一部の場合にのみ有効です。
30223925通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように
30233926表示される値を生成します。
30243927代わりに $1 の形を使ってください。
30253928
30263929=item Can't weaken a nonreference
30273930
30283931=begin original
30293932
30303933(F) You attempted to weaken something that was not a reference. Only
30313934references can be weakened.
30323935
30333936=end original
30343937
30353938(F) リファレンスではない何かを弱めようとしました。
30363939リファレンスだけが弱めることができます。
30373940
30383941=item Can't "when" outside a topicalizer
30393942
30403943=begin original
30413944
30423945(F) You have used a when() block that is neither inside a C<foreach>
30433946loop nor a C<given> block. (Note that this error is issued on exit
30443947from the C<when> block, so you won't get the error if the match fails,
30453948or if you use an explicit C<continue>.)
30463949
30473950=end original
30483951
30493952(F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを
30503953使いました。
30513954(このエラーは C<when> ブロックから終了したときに発生するので、マッチングに
30523955失敗したときや、明示的な C<continue> を使った場合はこのエラーは
30533956発生しません。)
30543957
30553958=item Can't x= to read-only value
30563959
30573960=begin original
30583961
30593962(F) You tried to repeat a constant value (often the undefined value)
30603963with an assignment operator, which implies modifying the value itself.
30613964Perhaps you need to copy the value to a temporary, and repeat that.
30623965
30633966=end original
30643967
30653968(F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、
30663969代入演算子で繰り返しを行なおうとしました。
30673970テンポラリ変数に値を移してから、繰り返すと良いでしょう。
30683971
3069=item Character following "\c" must be ASCII
3972=item catch block requires a (VAR)
30703973
30713974=begin original
30723975
3073(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'>
3074It is planned to make this fatal in all instances in Perl 5.18. In the
3977but did not include the error variable in the C<catch> block. The
3075cases where it isn't fatal, the character this evaluates to is
3978parenthesized variable name is not optional, unlike in some other forms of
3076derived by exclusive or'ing the code point of this character with 0x40.
3979syntax you may be familiar with from CPAN modules or other languages.
30773980
30783981=end original
30793982
3080(F)(W deprecated, syntax) C<\cI<X>> いてI<X> は
3983(F) C<use feature 'try'> の C<try> C<catch> の構文を使うとしましたが
3081ASCII 文字でなければなりません。
3984but did not include the error variable in the
3082これは Perl 5.18 で全て致命的エラーにすることが計画されていま
3985C<catch> ブロックのエラー変数を含んでいませんでした
3083致命的エラーではな場合、これが評価され文字は、こ文字符号位置
3986CPAN モジュルや他の言語親しんでいるかもしれない他形式構文異なり、
30840x40 の排他的論理和をとたもので
3987こ付き変数名はオプションはありません
30853988
30863989=begin original
30873990
3088Note that non-alphabetic ASCII characters are discouraged here as well.
3991The required syntax is
30893992
30903993=end original
30913994
3092非英字 ASCII 非推奨あることに注意してください。
3995要求される法は次のす:
30933996
3094=item Character in 'C' format wrapped in pack
3997 try { ... }
3998 catch ($var) { ... }
30953999
4000=item Changing use VERSION while another use VERSION is in scope is now deprecated
4001
30964002=begin original
30974003
3098(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.
30994008
31004009=end original
31014010
3102(W pack) 以下のよう書きました:
4011(W deprecated) スコープ内 C<use VERSION> 文あると、別のバージョンを
4012要求する C<use VERSION> 文は廃止予定になりました;
4013これは、一つの広まったバージョンから別のバージョンへの交換が
4014複雑になるためです。
31034015
3104 pack("C", $x)
4016=begin original
31054017
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
31064030=begin original
31074031
3108where $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
3109only for encoding native operating system characters (ASCII, EBCDIC,
4033regions of the same file, you should surround each one by its own enclosing
3110and so on) and not for Unicode characters, so Perl behaved as if you meant
4034scope so the two do not mix.
31114035
31124036=end original
31134037
3114$x は 0 より小さいか 255 より大きいす; C<"C"> フォーマットは
4038同じファイルの異なる領域異なる C<use VERSION> 宣言を使用する必要がある
3115ネイティブ OS 文字 (ASCII, EBCDIC ど) エンコーディングだけに
4039場合は、二つの宣言が混在しいように、それぞれを独自コープで囲む
3116対応していて、Unicode 文字は対応していせん;
4040必要がありす。
3117それで、Perl は以下のように意味しているかのように振舞います:
31184041
3119 pack("C", $x & 255)
4042 {
4043 use v5.20;
4044 ...
4045 }
4046 {
4047 use v5.36;
4048 ...
4049 }
31204050
4051=item Character following "\c" must be printable ASCII
4052
31214053=begin original
31224054
3123If 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.
3124instead.
31254056
31264057=end original
31274058
3128Unicode コードポイントを pack した場合は代わりに C<"U"> フォーマットを
4059(F) C<\cI<X>> におI<X> は表示可能な ASCII 文字でなければなりません。
3129使ってください。
31304060
3131=item Character in 'W' format wrapped in pack
4061=begin original
31324062
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
31334075=begin original
31344076
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
31354093(W pack) You said
31364094
31374095=end original
31384096
31394097(W pack) 以下のように書きましたが:
31404098
3141 pack("U0W", $x)
4099 pack("C", $x)
31424100
31434101=begin original
31444102
3145where $x is either less than 0 or more than 255. However, C<U0>-mode
4103where $x is either less than 0 or more than 255; the C<"C"> format is
3146expects all values to fall in the interval [0, 255], so Perl behaved
4104only for encoding native operating system characters (ASCII, EBCDIC,
3147as if you meant:
4105and so on) and not for Unicode characters, so Perl behaved as if you meant
31484106
31494107=end original
31504108
3151$x 0 より小さいか 255 より大きいです
4109$x 0 より小さいか 255 より大きいです; C<"C"> フォーマットは
3152しかし、C<U0>-モードは全ての値が [0, 255]範囲あることを想定してるので、
4110ネイティブ OS 文字 (ASCII, EBCDIC など) エンコーディングだけ
3153Perl以下のように振る舞います:
4111対応していて、Unicode 文字対応していません;
4112それで、Perl は以下のように意味しているかのように振舞います:
31544113
3155 pack("U0W", $x & 255)
4114 pack("C", $x & 255)
31564115
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
31574126=item Character in 'c' format wrapped in pack
31584127
31594128=begin original
31604129
31614130(W pack) You said
31624131
31634132=end original
31644133
31654134(W pack) 以下のように書きましたが:
31664135
31674136 pack("c", $x)
31684137
31694138=begin original
31704139
31714140where $x is either less than -128 or more than 127; the C<"c"> format
31724141is only for encoding native operating system characters (ASCII, EBCDIC,
31734142and so on) and not for Unicode characters, so Perl behaved as if you meant
31744143
31754144=end original
31764145
31774146$x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは
31784147ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに
31794148対応していて、Unicode 文字は対応していません;
31804149それで、Perl は以下のように意味しているかのように振舞います:
31814150
31824151 pack("c", $x & 255);
31834152
31844153=begin original
31854154
31864155If you actually want to pack Unicode codepoints, use the C<"U"> format
31874156instead.
31884157
31894158=end original
31904159
31914160Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを
31924161使ってください。
31934162
31944163=item Character in '%c' format wrapped in unpack
31954164
31964165=begin original
31974166
31984167(W unpack) You tried something like
31994168
32004169=end original
32014170
32024171(W unpack) 以下のようなことをしましたが:
32034172
32044173 unpack("H", "\x{2a1}")
32054174
32064175=begin original
32074176
32084177where the format expects to process a byte (a character with a value
32094178below 256), but a higher value was provided instead. Perl uses the
32104179value modulus 256 instead, as if you had provided:
32114180
32124181=end original
32134182
32144183ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、
32154184文字の中により大きな値のものがあります。
32164185Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
32174186値として使います:
32184187
32194188 unpack("H", "\x{a1}")
32204189
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
32214216=item Character(s) in '%c' format wrapped in pack
32224217
32234218=begin original
32244219
32254220(W pack) You tried something like
32264221
32274222=end original
32284223
32294224(W pack) 以下のようなことをしましたが:
32304225
32314226 pack("u", "\x{1f3}b")
32324227
32334228=begin original
32344229
32354230where the format expects to process a sequence of bytes (character with a
32364231value below 256), but some of the characters had a higher value. Perl
32374232uses the character values modulus 256 instead, as if you had provided:
32384233
32394234=end original
32404235
32414236ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、
32424237文字の中により大きな値のものがあります。
32434238Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
32444239値として使います:
32454240
32464241 pack("u", "\x{f3}b")
32474242
32484243=item Character(s) in '%c' format wrapped in unpack
32494244
32504245=begin original
32514246
32524247(W unpack) You tried something like
32534248
32544249=end original
32554250
32564251(W unpack) 以下のようなことをしましたが:
32574252
32584253 unpack("s", "\x{1f3}b")
32594254
32604255=begin original
32614256
32624257where the format expects to process a sequence of bytes (character with a
32634258value below 256), but some of the characters had a higher value. Perl
32644259uses the character values modulus 256 instead, as if you had provided:
32654260
32664261=end original
32674262
32684263ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、
32694264文字の中により大きな値のものがあります。
32704265Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
32714266値として使います:
32724267
32734268 unpack("s", "\x{f3}b")
32744269
3275=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
32764272
32774273=begin original
32784274
3279(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
3280to specify non-printable characters. You used it with a "{" which
4276in a row. Change them to single spaces. Usually these names are
3281evaluates to ";", which is printable. It is planned to remove the
4277defined in the C<:alias> import argument to C<use charnames>, but they
3282ability to specify a semi-colon this way in Perl 5.18. Just use a
4278could be defined by a translator installed into C<$^H{charnames}>. See
3283semi-colon or a backslash-semi-colon without the "\c".
4279L<charnames/CUSTOM ALIASES>.
32844280
32854281=end original
32864282
3287(D deprecated, syntax) C<\cI<X>> 構は非表示文字をする方法を
4283(F) 連続して複数のスペース字を持つ文字を定義しました。
3288意図しています
4284単一のスペースに変更してください。
3289これを、表示文字である ";" を評価するために "{" 付き使いました。
4285普通はこれらの名前は C<use charnames> C<:alias> インポート引数
3290このようにしてセミコロンを指定する方法は Perl 5.18 で取り除かる予定す。
4286義されまが、C<$^H{charnames}> にインストールさた変換器
3291"\c" なしで単にセミコロンまたは逆スラッシュ-セミコロンを使ってください。
4287定義れてるかも知れません
4288L<charnames/CUSTOM ALIASES> を参照してください。
32924289
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
32934300=item "\c%c" is more clearly written simply as "%s"
32944301
32954302=begin original
32964303
32974304(W syntax) The C<\cI<X>> construct is intended to be a way to specify
3298non-printable characters. You used it for a printable one, which is better
4305non-printable characters. You used it for a printable one, which
3299written as simply itself, perhaps preceded by a backslash for non-word
4306is better written as simply itself, perhaps preceded by a backslash
3300characters.
4307for non-word characters. Doing it the way you did is not portable
4308between ASCII and EBCDIC platforms.
33014309
33024310=end original
33034311
33044312(W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。
33054313これを表示文字に使いました; おそらく(おそらく非単語文字のために
33064314逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。
4315この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。
33074316
3308=item Cloning substitution context is unimplemented
4317=item Class already has a superclass, cannot add another
33094318
33104319=begin original
33114320
3312(F) Creating a new thread inside the C<s///> operator is not supported.
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.
33134325
33144326=end original
33154327
3316(F) C<s///> 演算子の中での新しいレッドの作成は非対応です。
4328(F) C<class> にすに一つ目のスーパークラスが指定されているときに、
4329C<:isa> 属性を使うことによって二つ目のスーパークラスを指定しようとしました。
4330実体が C<bless> で作られるクラスと異なり、C<class> キーワード経由で
4331作られるクラスは複数のスーパークラスを持つことは出来ません。
33174332
3318=item close() on unopened filehandle %s
4333=item Class attribute %s requires a value
33194334
33204335=begin original
33214336
3322(W unopened) You tried to close a filehandle that was never opened.
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
33234341
33244342=end original
33254343
3326(W unopened) オープンされていないファイルハンドルをローズしようとしま
4344(F) クラスの属性として、かっこに囲値が要求されたところで、
4345それがありませんでした。
4346属性名とその値の間に空白は B<許されない> ことを忘れないでください;
4347次のように書かなければなりません:
33274348
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
33284390=item closedir() attempted on invalid dirhandle %s
33294391
33304392=begin original
33314393
33324394(W io) The dirhandle you tried to close is either closed or not really
33334395a dirhandle. Check your control flow.
33344396
33354397=end original
33364398
33374399(W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には
33384400ディレクトリハンドルではありません。
33394401制御フローをチェックしてください。
33404402
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
33414413=item Closure prototype called
33424414
33434415=begin original
33444416
33454417(F) If a closure has attributes, the subroutine passed to an attribute
33464418handler is the prototype that is cloned when a new closure is created.
33474419This subroutine cannot be called.
33484420
33494421=end original
33504422
33514423(F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい
33524424クロージャが作成されたときにクローン化されたプロトタイプです。
33534425このサブルーチンは呼び出すことができません。
33544426
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
33554448=item Code missing after '/'
33564449
33574450=begin original
33584451
33594452(F) You had a (sub-)template that ends with a '/'. There must be
33604453another template code following the slash. See L<perlfunc/pack>.
33614454
33624455=end original
33634456
33644457(F) テンプレートが '/' で終わっています。
33654458スラッシュの後には他のテンプレートコードが必須です。
33664459L<perlfunc/pack> を参照してください。
33674460
3368=item Code point 0x%X is not Unicode, may not be portable
4461=item Code point 0x%X is not Unicode, and not portable
33694462
3370=item Code point 0x%X is not Unicode, all \p{} matches fail; all \P{} matches succeed
3371
33724463=begin original
33734464
3374(W utf8, non_unicode) You had a code point above the Unicode maximum
4465(S non_unicode portable) You had a code point that has never been in any
3375of U+10FFFF.
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.
33764469
33774470=end original
33784471
3379(W utf8, non_unicode) Unicode の最大ある U+10FFFF を超えた符号位置です。
4472(S non_unicode portable) ような標準もない符号位置を使いました; 従って
4473これはおそらく Perl 以外の言語では理解できないでしょう。
4474この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、
4475システム間で移植性がありません。
33804476
33814477=begin original
33824478
3383Perl allows strings to contain a superset of Unicode code points, up
4479At one time, it was legal in some standards to have code points up to
3384to the limit of what is storable in an unsigned integer on your system,
44800x7FFF_FFFF, but not higher, and this code point is higher.
3385but these may not be accepted by other languages/systems. At one time,
3386it was legal in some standards to have code points up to 0x7FFF_FFFF,
3387but not higher. Code points above 0xFFFF_FFFF require larger than a
338832 bit word.
33894481
33904482=end original
33914483
3392Perl Unicode 符号位置のスーパーセットを含む文字列を受け入れます(最大値
4484一時期、一部の標準で0x7FFF_FFFF までの符号位置は正当でしたが、
3393システム符号なし整数として保管可能な最大値です); しかし、れら
4485それ以上はそうはありません; の符号位置それ以上です。
3394他の言語やシステムでは受け入れないかも知れません。
3395同時に、一部の標準では 0x7FFF_FFFF までの符号位置は正当ですが、それ以上は
3396そうではありません。
33970xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。
33984486
33994487=begin original
34004488
3401None of the Unicode or Perl-defined properties will match a non-Unicode
4489Acceptance of these code points is a Perl extension, and you should
3402code point. For example,
4490expect that nothing other than Perl can handle them; Perl itself on
4491EBCDIC platforms before v5.24 does not handle them.
34034492
34044493=end original
34054494
3406Unicode Perl が定義した特性が非 Unicode 符号位置に
4495このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が
3407マッチングすることはありません
4496これらを扱えるかについて何も想定するべきではありません;
3408ば、
4497v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱ません。
34094498
3410 chr(0x7FF_FFFF) =~ /\p{Any}/
3411
34124499=begin original
34134500
3414will 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.
34154506
34164507=end original
34174508
3418これはマッチグしません; 符号位置は Unicode ではないからです。
4509Perl また、将来のある時点、例えば 64 ビットワード以上を
3419しかし
4510利用可能になったときに、これらの符号位置の表現が変更されないことについて
4511保証しません。
4512この時点で、より古い Perl で書かれた、このようなものをファイルは、
4513より新しい Perl で読み込めるようにする前に変換が必要です。
34204514
3421 chr(0x7FF_FFFF) =~ /\P{Any}/
4515=item Code point 0x%X is not Unicode, may not be portable
34224516
34234517=begin original
34244518
3425will match.
4519(S non_unicode) You had a code point above the Unicode maximum
4520of U+10FFFF.
34264521
34274522=end original
34284523
3429これはマッチングします。
4524(S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。
34304525
34314526=begin original
34324527
3433This may be counterintuitive at times, as both these fail:
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.
34344534
34354535=end original
34364536
3437以下のものどちらも失敗するで、こは直感的ではないかも知れせん:
4537Perl Unicode 符号位置上位集合を含む文字列を受け入れますが、
4538これらは他の言語/システムは受け入れないかもしれません。
4539さらに、たとえこれらの言語/システムがこれらの大きな符号位置を
4540受け入れたとしても、それらは Perl の UTF-8 風のものと
4541ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが
4542交換できないことを意味します。
34384543
3439 chr(0x110000) =~ \p{ASCII_Hex_Digit=True} # Fails.
3440 chr(0x110000) =~ \p{ASCII_Hex_Digit=False} # Also fails!
3441
34424544=begin original
34434545
3444and both these succeed:
4546On EBCDIC platforms, code points above 0x3FFF_FFFF have a different
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.
34454550
34464551=end original
34474552
3448そしてこれどちらも成功します:
4553EBCDIC プラットフォームで、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は
4554以前と異なった表現となっているので、このバージョンより前に書かれた
4555これらを含むファイルは、それ以降の Perl で読み込み可能にする前に
4556変換が必要です。
34494557
3450 chr(0x110000) =~ \P{ASCII_Hex_Digit=True} # Succeeds.
3451 chr(0x110000) =~ \P{ASCII_Hex_Digit=False} # Also succeeds!
3452
34534558=item %s: Command not found
34544559
34554560=begin original
34564561
34574562(A) You've accidentally run your script through B<csh> or another shell
3458shell instead of Perl. Check the #! line, or manually feed your script
4563instead of Perl. Check the #! line, or manually feed your script into
3459into Perl yourself. The #! line at the top of your file could look like
4564Perl yourself. The #! line at the top of your file could look like
34604565
34614566=end original
34624567
34634568(A) スクリプトを perl ではなく B<csh> またはその他のシェルで
34644569実行しようとしました。
3465#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
4570#! 行を確認するか、スクリプトを手動で Perl に渡してください。
3466ファイルの先頭の #! 行は以下のようにします
4571ファイルの先頭の #! 行は以下のようにします:
34674572
3468 #!/usr/bin/perl -w
4573 #!/usr/bin/perl
34694574
3470=item Compilation failed in require
4575=item %s: command not found
34714576
34724577=begin original
34734578
3474(F) Perl could not compile a file specified in a C<require> statement.
4579(A) You've accidentally run your script through B<bash> or another shell
3475Perl uses this generic message when none of the errors that it
4580instead of Perl. Check the #! line, or manually feed your script into
3476encountered were severe enough to halt compilation immediately.
4581Perl yourself. The #! line at the top of your file could look like
34774582
34784583=end original
34794584
3480(F) Perl は C<require> 文で指定されたファイをコンパイルできせんでした。
4585(A) 誤ってスクリプトを Perl なく B<bash> やその他のシェに渡しました。
3481Perl は、コンパイルを直ち停止させるほど厳しいエラーに遭遇しなかった
4586#! 行を確認するか、スクリプトを手動で Perl にてくださ
3482ときに、こ一般的なメッセージを使います
4587ファイル先頭の #! 行は以下のようにします:
34834588
3484=item Complex regular subexpression recursion limit (%d) exceeded
4589 #!/usr/bin/perl
34854590
3486=begin original
4591=item %s: command not found: %s
34874592
3488(W regexp) The regular expression engine uses recursion in complex
3489situations where back-tracking is required. Recursion depth is limited
3490to 32766, or perhaps less in architectures where the stack cannot grow
3491arbitrarily. ("Simple" and "medium" situations are handled without
3492recursion and are not subject to a limit.) Try shortening the string
3493under examination; looping in Perl code (e.g. with C<while>) rather than
3494in the regular expression engine; or rewriting the regular expression so
3495that it is simpler or backtracks less. (See L<perlfaq2> for information
3496on I<Mastering Regular Expressions>.)
3497
3498=end original
3499
3500(W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では
3501再帰を使用します。
3502再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは
3503おそらくもっと小さい値に制限されています。
3504(「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は
3505ありません。)
3506調べる文字列を短くしてみてください; 正規表現エンジンではなく
3507(C<while> などの) Perl コードを使ってループするか、
3508あるいは正規表現をより単純にしたり、バックトラックが少なくなるように
3509書き換えてください。
3510(I<Mastering Regular Expressions> の情報については L<perlfaq2> を
3511参照してください。)
3512
3513=item cond_broadcast() called on unlocked variable
3514
35154593=begin original
35164594
3517(W threads) Within a thread-enabled program, you tried to
4595(A) You've accidentally run your script through B<zsh> or another shell
3518call cond_broadcast() on a variable which wasn't locked.
4596instead of Perl. Check the #! line, or manually feed your script into
3519The cond_broadcast() function is used to wake up another thread
4597Perl yourself. The #! line at the top of your file could look like
3520that is waiting in a cond_wait(). To ensure that the signal isn't
3521sent before the other thread has a chance to enter the wait, it
3522is usual for the signaling thread first to wait for a lock on
3523variable. This lock attempt will only succeed after the other
3524thread has entered cond_wait() and thus relinquished the lock.
35254598
35264599=end original
35274600
3528(W threads) スレッドが有効になっているログラム、ロックされてい
4601(A) ってスクリトを Perl く B<zsh> やその他のシェルに渡しました。
3529変数に対して cond_broadcast() を呼び出そうとました
4602#! 行を確認するか、スクリプトを手動で Perl に渡てください
3530cond_broadcast() 関数は cond_wait() で待ち状態になっている他スレッドを
4603ファイルの先頭の #! 行は以下ようにします:
3531起こすために使います。
3532他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に
3533するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に
3534入るのが普通です。
3535このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを
3536手放した場合にのみ成功します。
35374604
3538=item cond_signal() called on unlocked variable
4605 #!/usr/bin/perl
35394606
4607=item Compilation failed in require
4608
35404609=begin original
35414610
3542(W threads) Within a thread-enabled program, you tried to
4611(F) Perl could not compile a file specified in a C<require> statement.
3543call cond_signal() on a variable which wasn't locked. The
4612Perl uses this generic message when none of the errors that it
3544cond_signal() function is used to wake up another thread that
4613encountered were severe enough to halt compilation immediately.
3545is waiting in a cond_wait(). To ensure that the signal isn't
3546sent before the other thread has a chance to enter the wait, it
3547is usual for the signaling thread first to wait for a lock on
3548variable. This lock attempt will only succeed after the other
3549thread has entered cond_wait() and thus relinquished the lock.
35504614
35514615=end original
35524616
3553(W threads) スレッドが有効になっているプログラム、ロックされていない
4617(F) Perl は C<require> 指定されたファイルをコンパイルできませんでした。
3554変数に対して cond_signal()呼び出そうとした
4618Perl は、コンパイル直ちに停止させるほど厳いエラーに遭遇なかっ
3555cond_signal() 関数は cond_wait() で待ち状態なっている他スレ
4619とき、こ一般的なメセージ使います。
3556起こすために使います。
3557他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に
3558するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に
3559入るのが普通です。
3560このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを
3561手放した場合にのみ成功します。
35624620
35634621=item connect() on closed socket %s
35644622
35654623=begin original
35664624
35674625(W closed) You tried to do a connect on a closed socket. Did you forget
35684626to check the return value of your socket() call? See
35694627L<perlfunc/connect>.
35704628
35714629=end original
35724630
35734631(W closed) クローズされたソケットに connent を行なおうとしました。
35744632socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
35754633L<perlfunc/connect> を参照してください。
35764634
3577=item Constant(%s)%s: %s
4635=item Constant(%s): Call to &{$^H{%s}} did not return a defined value
35784636
35794637=begin original
35804638
3581(F) The parser found inconsistencies either while attempting to define
4639(F) The subroutine registered to handle constant overloading
3582an overloaded constant, or when trying to find the character name
4640(see L<overload>) or a custom charnames handler (see
3583specified in the C<\N{...}> escape. Perhaps you forgot to load the
4641L<charnames/CUSTOM TRANSLATORS>) returned an undefined value.
3584corresponding L<overload> pragma?.
35854642
35864643=end original
35874644
3588(F) パーサは、オーバーロードされた定数定義しよとしときか、
4645(F) 定数オーバーロード (L<overload> 参照) うために登録された
3589C<\N{...}> エスケプで指定された文字名の検索中に矛盾を
4646サブルチンや、カスタム文字名ハンドラ
3590発見しました。
4647(L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。
3591おそらく対応する C<overload> プラグマの読み込みを忘れたのでは?
35924648
3593=item Constant(%s)%s: %s in regex; marked by <-- HERE in m/%s/
4649=item Constant(%s): $^H{%s} is not defined
35944650
35954651=begin original
35964652
3597(F) The parser found inconsistencies while attempting to find
4653(F) The parser found inconsistencies while attempting to define an
3598the character name specified in the C<\N{...}> escape.
4654overloaded constant. Perhaps you forgot to load the corresponding
4655L<overload> pragma?
35994656
36004657=end original
36014658
3602(F) パーサC<\N{...}> エスケプで指され文字名の検索中に矛盾を
4659(F) パーサバーロード数を定義しようとしときに矛盾を発見しました。
3603発見しまし
4660おそらく対応する L<overload> プラグマを読み込むのを忘れのでは?
36044661
36054662=item Constant is not %s reference
36064663
36074664=begin original
36084665
36094666(F) A constant value (perhaps declared using the C<use constant> pragma)
36104667is being dereferenced, but it amounts to the wrong type of reference.
36114668The message indicates the type of reference that was expected. This
36124669usually indicates a syntax error in dereferencing the constant value.
36134670See L<perlsub/"Constant Functions"> and L<constant>.
36144671
36154672=end original
36164673
36174674(F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が
36184675デリファレンスされましたが、間違った型のリファレンスになりました。
36194676このメッセージは想定されたリファレンスの型を示しています。
36204677これは普通定数値をデリファレンスするときの文法エラーを示しています。
36214678L<perlsub/"Constant Functions"> と L<constant> を参照してください。
36224679
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
36234763=item Constant subroutine %s redefined
36244764
36254765=begin original
36264766
36274767(W redefine)(S) You redefined a subroutine which had previously
36284768been eligible for inlining. See L<perlsub/"Constant Functions">
36294769for commentary and workarounds.
36304770
36314771=end original
36324772
36334773(W redefine)(S) 以前にインライン化できる形であったサブルーチンを
36344774再定義しました。
36354775コメントと回避策については L<perlsub/"Constant Functions"> を
36364776参照してください。
36374777
36384778=item Constant subroutine %s undefined
36394779
36404780=begin original
36414781
36424782(W misc) You undefined a subroutine which had previously been eligible
36434783for inlining. See L<perlsub/"Constant Functions"> for commentary and
36444784workarounds.
36454785
36464786=end original
36474787
36484788(W misc)以前にインライン化できる形であったサブルーチンを
36494789未定義化しました。
36504790コメントと回避策については L<perlsub/"Constant Functions"> を
36514791参照してください。
36524792
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
36534824=item Copy method did not return a reference
36544825
36554826=begin original
36564827
36574828(F) The method which overloads "=" is buggy. See
36584829L<overload/Copy Constructor>.
36594830
36604831=end original
36614832
36624833(F) "=" をオーバーロードしたメソッドはバグっています。
36634834L<overload/Copy Constructor> を参照してください。
36644835
36654836=item &CORE::%s cannot be called directly
36664837
36674838=begin original
36684839
36694840(F) You tried to call a subroutine in the C<CORE::> namespace
36704841with C<&foo> syntax or through a reference. Some subroutines
36714842in this package cannot yet be called that way, but must be
36724843called as barewords. Something like this will work:
36734844
36744845=end original
36754846
36764847(F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で
36774848呼び出そうとしました。
36784849このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で
36794850呼び出さなければなりません。
36804851以下のようなものは動作します:
36814852
36824853 BEGIN { *shove = \&CORE::push; }
36834854 shove @array, 1,2,3; # pushes on to @array
36844855
36854856=item CORE::%s is not a keyword
36864857
36874858=begin original
36884859
36894860(F) The CORE:: namespace is reserved for Perl keywords.
36904861
36914862=end original
36924863
36934864(F) CORE:: 名前空間は Perl キーワードとして予約されています。
36944865
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
36954881=item corrupted regexp pointers
36964882
36974883=begin original
36984884
36994885(P) The regular expression engine got confused by what the regular
37004886expression compiler gave it.
37014887
37024888=end original
37034889
37044890(P) 正規表現コンパイラが渡したもので、正規表現エンジンが
37054891処理できなくなりました。
37064892
37074893=item corrupted regexp program
37084894
37094895=begin original
37104896
37114897(P) The regular expression engine got passed a regexp program without a
37124898valid magic number.
37134899
37144900=end original
37154901
37164902(P) 正規表現エンジンが、有効なマジックナンバーを持たない
37174903regexp プログラムを渡しました。
37184904
37194905=item Corrupt malloc ptr 0x%x at 0x%x
37204906
37214907=begin original
37224908
37234909(P) The malloc package that comes with Perl had an internal failure.
37244910
37254911=end original
37264912
37274913(P) Perl に付属の malloc ルーティンが内部エラーを起こしました。
37284914
37294915=item Count after length/code in unpack
37304916
37314917=begin original
37324918
37334919(F) You had an unpack template indicating a counted-length string, but
37344920you have also specified an explicit size for the string. See
37354921L<perlfunc/pack>.
37364922
37374923=end original
37384924
37394925(F) unpack のテンプレートとしてカウント長文字列を示していますが、
37404926文字列の長さも明示的に指定しています。
37414927L<perlfunc/pack> を参照してください。
37424928
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
37434956=item Deep recursion on anonymous subroutine
37444957
37454958=item Deep recursion on subroutine "%s"
37464959
37474960=begin original
37484961
37494962(W recursion) This subroutine has called itself (directly or indirectly)
37504963100 times more than it has returned. This probably indicates an
37514964infinite recursion, unless you're writing strange benchmark programs, in
37524965which case it indicates something else.
37534966
37544967=end original
37554968
37564969(W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、
37574970return より 100 回多く行ないました。
37584971変わったベンチマークプログラムを書いているのでなければ、無限再帰の
37594972可能性があります; ベンチマークを書いている場合には、別のことを示しています。
37604973
37614974=begin original
37624975
37634976This threshold can be changed from 100, by recompiling the F<perl> binary,
37644977setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value.
37654978
37664979=end original
37674980
37684981この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に
37694982設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。
37704983
3771=item defined(@array) is deprecated
4984=item (?(DEFINE)....) does not allow branches in regex; marked by
4985S<<-- HERE> in m/%s/
37724986
37734987=begin original
37744988
3775(D deprecated) defined() is not usually useful on arrays because it
3776checks for an undefined I<scalar> value. If you want to see if the
3777array is empty, just use C<if (@array) { # not empty }> for example.
3778
3779=end original
3780
3781(D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても
3782普通は無意味です。
3783配列が空かどうかを調べたい場合は、例えば単に
3784C<if (@array) { # not empty }> としてください。
3785
3786=item defined(%hash) is deprecated
3787
3788=begin original
3789
3790(D deprecated) C<defined()> is not usually right on hashes and has been
3791discouraged since 5.004.
3792
3793=end original
3794
3795(D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に
3796使っても普通は正しくありません。
3797
3798=begin original
3799
3800Although C<defined %hash> is false on a plain not-yet-used hash, it
3801becomes true in several non-obvious circumstances, including iterators,
3802weak references, stash names, even remaining true after C<undef %hash>.
3803These things make C<defined %hash> fairly useless in practice.
3804
3805=end original
3806
3807まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、
3808いくつかの明白でない状況では新になります; これには反復し、弱い参照、
3809stash 名を含み、C<undef %hash> の後でも真になります。
3810これらにより、実践では C<defined %hash> はほとんど使えません。
3811
3812=begin original
3813
3814If a check for non-empty is what you wanted then just put it in boolean
3815context (see L<perldata/Scalar values>):
3816
3817=end original
3818
3819空でないことをチェックしたいなら、単にこれを真偽値コンテキストに
3820置いてください (L<perldata/Scalar values> を参照してください):
3821
3822 if (%hash) {
3823 # not empty
3824 }
3825
3826=begin original
3827
3828If you had C<defined %Foo::Bar::QUUX> to check whether such a package
3829variable exists then that's never really been reliable, and isn't
3830a good way to enquire about the features of a package, or whether
3831it's loaded, etc.
3832
3833=end original
3834
3835パッケージ変数が存在するかどうかを調べるために
3836C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が
3837なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる
3838良い方法ではありません。
3839
3840=item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/
3841
3842=begin original
3843
38444989(F) You used something like C<(?(DEFINE)...|..)> which is illegal. The
38454990most likely cause of this error is that you left out a parenthesis inside
38464991of the C<....> part.
38474992
38484993=end original
38494994
38504995(F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。
38514996このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを
38524997そのままにしたことです。
38534998
38544999=begin original
38555000
3856The <-- HERE shows in the regular expression about where the problem was
5001The S<<-- HERE> shows whereabouts in the regular expression the problem was
38575002discovered.
38585003
38595004=end original
38605005
3861<-- HERE で正規表現のどこに問題が発見されたかを示しています。
5006S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
38625007
38635008=item %s defines neither package nor VERSION--version check failed
38645009
38655010=begin original
38665011
38675012(F) You said something like "use Module 42" but in the Module file
38685013there are neither package declarations nor a C<$VERSION>.
38695014
38705015=end original
38715016
38725017(F) "use Module 42" のようなことをしましたが、Module ファイルに
38735018パッケージ定義がないか、C<$VERSION> がありませんでした。
38745019
3875=item Delimiter for here document is too long
5020=item delete argument is not a HASH or ARRAY element or slice
38765021
38775022=begin original
38785023
3879(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,
3880long for Perl to handle. You have to be seriously twisted to write code
5025such as:
3881that triggers this error.
38825026
38835027=end original
38845028
3885(F) C<<<FOO> のようなヒアドキメント構造、ラベル C<FOO> が
5029(F) C<delete> の引数は以下のようにハッシか配列の要素あるか:
3886Perl が扱うには長すぎました。
3887このエラーを起こすようなコードを書くには相当ひねくれている必要があります。
38885030
3889=item Deprecated character in \N{...}; marked by <-- HERE in \N{%s<-- HERE %s
5031 $foo{$bar}
5032 $ref->{"susie"}[12]
38905033
38915034=begin original
38925035
3893(D deprecated) Just about anything is legal for the C<...> in C<\N{...}>.
5036or a hash or array slice, such as:
3894But starting in 5.12, non-reasonable ones that don't look like names
3895are deprecated. A reasonable name begins with an alphabetic character
3896and continues with any combination of alphanumerics, dashes, spaces,
3897parentheses or colons.
38985037
38995038=end original
39005039
3901(D deprecated) C<\N{...}> の C<...> 何でも正当です。
5040あるい以下のようにハッシュか配列のスライスか:
3902しかし 5.12 から、名前のように見えない正当でないものは廃止予定です。
3903正当な名前は英字で始まって英数字、ダッシュ、空白、かっこ、コロンが
3904引き続くものです。
39055041
3906=item Deprecated use of my() in false conditional
5042 @foo[$bar, $baz, $xyzzy]
5043 $ref->[12]->@{"susie", "queue"}
39075044
39085045=begin original
39095046
3910(D deprecated) You used a declaration similar to C<my $x if 0>. There
5047or a hash key/value or array index/value slice, such as:
3911has been a long-standing bug in Perl that causes a lexical variable
3912not to be cleared at scope exit when its declaration includes a false
3913conditional. Some people have exploited this bug to achieve a kind of
3914static variable. Since we intend to fix this bug, we don't want people
3915relying on this behavior. You can achieve a similar static effect by
3916declaring the variable in a separate block outside the function, eg
39175048
39185049=end original
39195050
3920(D deprecated) C<my $x if 0> のような定義を行いました。
5051あるいは以下のようにハッシュのキー/値や配列のインデックス/値で
3921は、宣言に偽の条件を含でいるとスコープから外れた際にレキシカル変数が
5052なけばなりませ:
3922クリアされないという、Perl に長い間存在したバグです。
3923ある種の静的変数を実現するためにこのバグを悪用する人々もいます。
3924私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して
3925ほしくありません。
3926関数外の別のブロックで変数を宣言することで似たような静的な効果を
3927達成できます; 例えば:
39285053
3929 sub f { my $x if 0; return $x++ }
5054 %foo[$bar, $baz, $xyzzy]
5055 $ref->[12]->%{"susie", "queue"}
39305056
3931=begin original
5057=item Delimiter for here document is too long
39325058
3933becomes
3934
3935=end original
3936
3937これは以下のようにします:
3938
3939 { my $x; sub f { return $x++ } }
3940
39415059=begin original
39425060
3943Beginning with perl 5.9.4, you can also use C<state> variables to have
5061(F) In a here document construct like C<<<FOO>, the label C<FOO> is too
3944lexicals 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.
39455064
39465065=end original
39475066
3948perl 5.9.4 から、一度だけ初期化されるレシカとして C<state> 変数も
5067(F) C<<<FOO> のようなヒアドュメント構造で、ラベル C<FOO>
3949使えます (L<feature> を参照てください):
5068Perl が扱うには長すぎまた。
5069このエラーを起こすようなコードを書くには相当ひねくれている必要があります。
39505070
3951 sub f { state $x; return $x++ }
3952
39535071=item DESTROY created new reference to dead object '%s'
39545072
39555073=begin original
39565074
39575075(F) A DESTROY() method created a new reference to the object which is
39585076just being DESTROYed. Perl is confused, and prefers to abort rather
39595077than to create a dangling reference.
39605078
39615079=end original
39625080
39635081(F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの
39645082新しいリファレンスを作りました。
39655083Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。
39665084
39675085=item Did not produce a valid header
39685086
39695087=begin original
39705088
3971See Server error.
5089See L</500 Server error>.
39725090
39735091=end original
39745092
3975"Server error" を参照してください。
5093L</500 Server error> を参照してください。
39765094
39775095=item %s did not return a true value
39785096
39795097=begin original
39805098
39815099(F) A required (or used) file must return a true value to indicate that
39825100it compiled correctly and ran its initialization code correctly. It's
39835101traditional to end such a file with a "1;", though any true value would
39845102do. See L<perlfunc/require>.
39855103
39865104=end original
39875105
39885106(F) require (や use) されたファイルは、正常にコンパイルされ、
39895107初期化コードを正しく実行したことを示すために、真を返さなければなりません。
39905108こういったファイルは、"1;" で終わるようにするのが習慣ですが、
39915109真となる値であれば、何でもかまいません。
39925110L<perlfunc/require> を参照してください。
39935111
39945112=item (Did you mean &%s instead?)
39955113
39965114=begin original
39975115
39985116(W misc) You probably referred to an imported subroutine &FOO as $FOO or
39995117some such.
40005118
40015119=end original
40025120
40035121(W misc) おそらく import したサブルーチン &FOO を $FOO として
40045122参照したようなことでしょう。
40055123
40065124=item (Did you mean "local" instead of "our"?)
40075125
40085126=begin original
40095127
4010(W misc) Remember that "our" does not localize the declared global
5128(W shadow) Remember that "our" does not localize the declared global
40115129variable. You have declared it again in the same lexical scope, which
40125130seems superfluous.
40135131
40145132=end original
40155133
4016(W misc) "our" 宣言されたグローバル変数を local 化しないことを
5134(W shadow) "our" 宣言されたグローバル変数を local 化しないことを
40175135忘れないで下さい。
40185136これをもう一度同じレキシカルスコープで宣言していますが、
40195137不必要でしょう。
40205138
40215139=item (Did you mean $ or @ instead of %?)
40225140
40235141=begin original
40245142
40255143(W) You probably said %hash{$key} when you meant $hash{$key} or
40265144@hash{@keys}. On the other hand, maybe you just meant %hash and got
40275145carried away.
40285146
40295147=end original
40305148
40315149(W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と
40325150したのでしょう。
40335151あるいは、単に %hash としたくてやりすぎたのでしょう。
40345152
40355153=item Died
40365154
40375155=begin original
40385156
40395157(F) You passed die() an empty string (the equivalent of C<die "">) or
40405158you called it with no args and C<$@> was empty.
40415159
40425160=end original
40435161
40445162(F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで
40455163呼び出して、C<$@> が空でした。
40465164
40475165=item Document contains no data
40485166
40495167=begin original
40505168
4051See Server error.
5169See L</500 Server error>.
40525170
40535171=end original
40545172
4055"Server error" を参照してください。
5173L</500 Server error> を参照してください。
40565174
40575175=item %s does not define %s::VERSION--version check failed
40585176
40595177=begin original
40605178
40615179(F) You said something like "use Module 42" but the Module did not
4062define a C<$VERSION.>
5180define a C<$VERSION>.
40635181
40645182=end original
40655183
40665184(F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を
40675185定義していません。
40685186
4069=item '/' does not take a repeat count
5187=item '/' does not take a repeat count in %s
40705188
40715189=begin original
40725190
40735191(F) You cannot put a repeat count of any kind right after the '/' code.
40745192See L<perlfunc/pack>.
40755193
40765194=end original
40775195
40785196(F) '/' の直後には繰り返し数を指定できません。
40795197L<perlfunc/pack> を参照してください。
40805198
4081=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"?
40825200
40835201=begin original
40845202
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
40855250(P) The internal handling of magical variables has been cursed.
40865251
40875252=end original
40885253
40895254(P) マジカル変数の内部処理がおかしくなっています。
40905255
4091=item do_study: out of memory
5256=item Downgrading a use VERSION declaration to below v5.11 is not permitted
40925257
40935258=begin original
40945259
4095(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.
40965266
40975267=end original
40985268
4099(P) これは、本来 safemalloc() で引っ掛かるはずものです。
5269(F) (C<use strict>効果が
5270無効の時に) (これが有効なときに) その前により大きな値が宣言された後、
5271v5.11 より小さいバージョンを要求する C<use VERSION> 文が見つかりました。
5272C<use VERSION> と strict フラグとの相互作用する方法が変更されたため、
5273これはもはや対応されません。
41005274
41015275=item (Do you need to predeclare %s?)
41025276
41035277=begin original
41045278
41055279(S syntax) This is an educated guess made in conjunction with the message
41065280"%s found where operator expected". It often means a subroutine or module
41075281name is being referenced that hasn't been declared yet. This may be
41085282because of ordering problems in your file, or because of a missing
41095283"sub", "package", "require", or "use" statement. If you're referencing
41105284something that isn't defined yet, you don't actually have to define the
41115285subroutine or package before the current location. You can use an empty
41125286"sub foo;" or "package FOO;" to enter a "forward" declaration.
41135287
41145288=end original
41155289
41165290(S syntax) これは "%s found where operator expected" メッセージと共に
41175291表示される教育的な推測です。
41185292これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている
41195293ことを意味します。
41205294これはファイル内部での順番のためであったり、"sub", "package", "require",
41215295"use" 文がないためであったりします。
41225296もしまだ定義されていないものを参照したい場合、現在位置より前に実際に
41235297サブルーチンやパッケージを定義する必要はありません。
41245298空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。
41255299
4126=item dump() better written as CORE::dump()
5300=item dump() must be written as CORE::dump() as of Perl 5.30
41275301
41285302=begin original
41295303
4130(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
4131qualifying 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()>.
41325307
41335308=end original
41345309
4135(W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と
5310(F) 古いものである C<dump()> 組み込み関数を使いました。
4136いうように完全修飾せずに使いました。
5311これは Perl 5.8.0 から廃止予定でした。
4137おそこれはタイプミスす。
5312Perl 5.30 かこれは C<CORE::dump()> というように完全修飾形式
5313書かなければなりません。
5314
5315=begin original
5316
5317See L<perlfunc/dump>.
5318
5319=end original
5320
41385321L<perlfunc/dump> を参照してください。
41395322
41405323=item dump is not supported
41415324
41425325=begin original
41435326
41445327(F) Your machine doesn't support dump/undump.
41455328
41465329=end original
41475330
41485331(F) このマシンは dump/undump に対応していません。
41495332
41505333=item Duplicate free() ignored
41515334
41525335=begin original
41535336
41545337(S malloc) An internal routine called free() on something that had
41555338already been freed.
41565339
41575340=end original
41585341
41595342(S malloc) 既に解放されているものに対して、内部ルーティンが free() を
41605343行なおうとしました。
41615344
41625345=item Duplicate modifier '%c' after '%c' in %s
41635346
41645347=begin original
41655348
4166(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
4167in a pack template. See L<perlfunc/pack>.
5350type in a pack template. See L<perlfunc/pack>.
41685351
41695352=end original
41705353
4171(W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。
5354(W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。
41725355L<perlfunc/pack> を参照してください。
41735356
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
41745371=item elseif should be elsif
41755372
41765373=begin original
41775374
41785375(S syntax) There is no keyword "elseif" in Perl because Larry thinks
41795376it's ugly. Your code will be interpreted as an attempt to call a method
41805377named "elseif" for the class returned by the following block. This is
41815378unlikely to be what you want.
41825379
41835380=end original
41845381
41855382(S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは
41865383ありません。
41875384このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを
41885385呼び出そうとしていると解釈されます。
41895386これは望んでいることではないはずです。
41905387
4191=item Empty %s
5388=item Empty \%c in regex; marked by S<<-- HERE> in m/%s/
41925389
5390=item Empty \%c{}
5391
5392=item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/
5393
41935394=begin original
41945395
4195(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
4196described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in
5397C<\x> without specifying anything for it to operate on.
4197a regular expression without specifying the property name.
41985398
41995399=end original
42005400
4201(F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されていよう
5401(F) 何を操作すかを指定せず
4202名前付き Unicode プロパティ導入するために使われ
5402C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使した
4203正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。
42045403
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
42055477=item entering effective %s failed
42065478
42075479=begin original
42085480
42095481(F) While under the C<use filetest> pragma, switching the real and
42105482effective uids or gids failed.
42115483
42125484=end original
42135485
42145486(F) C<use filetest> プラグマを使っている間に、
42155487実と実効の UID や GID の切り替えに失敗しました。
42165488
42175489=item %ENV is aliased to %s
42185490
42195491=begin original
42205492
42215493(F) You're running under taint mode, and the C<%ENV> variable has been
42225494aliased to another hash, so it doesn't reflect anymore the state of the
42235495program's environment. This is potentially insecure.
42245496
42255497=end original
42265498
42275499(F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに
42285500なっているので、これ以上プログラムの環境の状態を反映しません。
42295501これは潜在的にはセキュアではありません。
42305502
42315503=item Error converting file specification %s
42325504
42335505=begin original
42345506
42355507(F) An error peculiar to VMS. Because Perl may have to deal with file
42365508specifications in either VMS or Unix syntax, it converts them to a
42375509single form when it must operate on them directly. Either you've passed
42385510an invalid file specification to Perl, or you've found a case the
42395511conversion routines don't handle. Drat.
42405512
42415513=end original
42425514
42435515(F) VMS に固有のエラーです。
42445516Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、
42455517直接操作しなければならない場合は変換します。
42465518不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを
42475519発見したかです。
42485520ちぇっ。
42495521
4250=item %s: Eval-group in insecure regular expression
5522=item Error %s in expansion of %s
42515523
42525524=begin original
42535525
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
42545562(F) Perl detected tainted data when trying to compile a regular
42555563expression that contains the C<(?{ ... })> zero-width assertion, which
42565564is unsafe. See L<perlre/(?{ code })>, and L<perlsec>.
42575565
42585566=end original
42595567
42605568C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと
42615569したときに、Perl は汚染されたデータを検出しました;
42625570これは安全ではありません。
42635571L<perlre/(?{ code })> と L<perlsec> を参照してください。
42645572
4265=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/
42665574
42675575=begin original
42685576
42695577(F) Perl tried to compile a regular expression containing the
42705578C<(?{ ... })> zero-width assertion at run time, as it would when the
42715579pattern contains interpolated values. Since that is a security risk,
42725580it is not allowed. If you insist, you may still do this by using the
42735581C<re 'eval'> pragma or by explicitly building the pattern from an
42745582interpolated string at run time and using that in an eval(). See
42755583L<perlre/(?{ code })>.
42765584
42775585=end original
42785586
42795587(F) Perl が実行時に、変数展開された値を含んでいて、
42805588C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。
42815589これはセキュリティ上の危険があるので、許可されていません。
42825590どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に
42835591変数展開された文字列からパターンを作成して、それを eval() の中で使うことで
42845592実行できます。
42855593L<perlre/(?{ code })> を参照してください。
42865594
4287=item %s: Eval-group not allowed, use re 'eval'
5595=item Eval-group not allowed, use re 'eval' in regex m/%s/
42885596
42895597=begin original
42905598
42915599(F) A regular expression contained the C<(?{ ... })> zero-width
42925600assertion, but that construct is only allowed when the C<use re 'eval'>
42935601pragma is in effect. See L<perlre/(?{ code })>.
42945602
42955603=end original
42965604
42975605(F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、
42985606この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。
42995607L<perlre/(?{ code })> を参照してください。
43005608
4301=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/
43025611
43035612=begin original
43045613
43055614(F) You used a pattern that nested too many EVAL calls without consuming
43065615any text. Restructure the pattern so that text is consumed.
43075616
43085617=end original
43095618
43105619(F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる
43115620パターンを使いました。
43125621テキストを読み込むようにパターンを再構築してください。
43135622
43145623=begin original
43155624
4316The <-- HERE shows in the regular expression about where the problem was
5625The S<<-- HERE> shows whereabouts in the regular expression the problem was
43175626discovered.
43185627
43195628=end original
43205629
4321<-- HERE で正規表現のどこに問題が発見されたかを示しています。
5630S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
43225631
43235632=item Excessively long <> operator
43245633
43255634=begin original
43265635
43275636(F) The contents of a <> operator may not exceed the maximum size of a
43285637Perl identifier. If you're just trying to glob a long list of
43295638filenames, try using the glob() operator, or put the filenames into a
43305639variable and glob that.
43315640
43325641=end original
43335642
43345643(F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。
43355644単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を
43365645使うか、ファイル名を変数に入れて、それをグロブしてください。
43375646
43385647=item exec? I'm not *that* kind of operating system
43395648
43405649=begin original
43415650
4342(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.
4343OS. See L<perlport>.
5652Catamount. See L<perlport>.
43445653
43455654=end original
43465655
4347(F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。
5656(F) C<exec> 関数は Catamount のような一部のシステムには実装されていません。
43485657L<perlport> を参照してください。
43495658
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
43505669=item Execution of %s aborted due to compilation errors.
43515670
43525671=begin original
43535672
43545673(F) The final summary message when a Perl compilation fails.
43555674
43565675=end original
43575676
43585677(F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。
43595678
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
43605708=item Exiting eval via %s
43615709
43625710=begin original
43635711
43645712(W exiting) You are exiting an eval by unconventional means, such as a
43655713goto, or a loop control statement.
43665714
43675715=end original
43685716
43695717(W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。
43705718
43715719=item Exiting format via %s
43725720
43735721=begin original
43745722
43755723(W exiting) You are exiting a format by unconventional means, such as a
43765724goto, or a loop control statement.
43775725
43785726=end original
43795727
43805728(W exiting) goto やループ制御文といった、異例な形でフォーマットを
43815729終了しました。
43825730
43835731=item Exiting pseudo-block via %s
43845732
43855733=begin original
43865734
43875735(W exiting) You are exiting a rather special block construct (like a
43885736sort block or subroutine) by unconventional means, such as a goto, or a
43895737loop control statement. See L<perlfunc/sort>.
43905738
43915739=end original
43925740
43935741(W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、
43945742goto やループ制御文といった異例な方法で終了しました。
43955743L<perlfunc/sort> を参照してください。
43965744
43975745=item Exiting subroutine via %s
43985746
43995747=begin original
44005748
44015749(W exiting) You are exiting a subroutine by unconventional means, such
44025750as a goto, or a loop control statement.
44035751
44045752=end original
44055753
44065754(W exiting) goto やループ制御文など、おかしな方法でサブルーチンを
44075755抜けました。
44085756
44095757=item Exiting substitution via %s
44105758
44115759=begin original
44125760
44135761(W exiting) You are exiting a substitution by unconventional means, such
44145762as a return, a goto, or a loop control statement.
44155763
44165764=end original
44175765
44185766(W exit) return や goto やループ制御文など、おかしな方法で置換を
44195767抜けました。
44205768
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
44215878=item Explicit blessing to '' (assuming package main)
44225879
44235880=begin original
44245881
44255882(W misc) You are blessing a reference to a zero length string. This has
44265883the effect of blessing the reference into the package main. This is
44275884usually not what you want. Consider providing a default target package,
44285885e.g. bless($ref, $p || 'MyPackage');
44295886
44305887=end original
44315888
44325889(W misc) リファレンスを長さゼロの文字列に bless しました。
44335890これはリファレンスをパッケージ main に bless する効果があります。
44345891これは普通あなたが望んでいることではありません。
44355892(bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット
44365893パッケージを提供することを考慮してください;
44375894
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
44385910=item %s: Expression syntax
44395911
44405912=begin original
44415913
44425914(A) You've accidentally run your script through B<csh> instead of Perl.
44435915Check the #! line, or manually feed your script into Perl yourself.
44445916
44455917=end original
44465918
44475919(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
4448#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
5920#! 行を確認するか、スクリプトを手動で Perl に渡してください。
44495921
44505922=item %s failed--call queue aborted
44515923
44525924=begin original
44535925
44545926(F) An untrapped exception was raised while executing a UNITCHECK,
44555927CHECK, INIT, or END subroutine. Processing of the remainder of the
44565928queue of such routines has been prematurely ended.
44575929
44585930=end original
44595931
44605932(F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない
44615933例外が発生しました。
44625934このようなルーチンのキューの残りの処理は途中で終了しました。
44635935
4464=item False [] range "%s" in regex; marked by <-- HERE in m/%s/
5936=item Failed to close in-place work file %s: %s
44655937
44665938=begin original
44675939
4468(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
44695953character, not another character class like C<\d> or C<[:alpha:]>. The "-"
4470in your false range is interpreted as a literal "-". Consider quoting the
5954in your false range is interpreted as a literal "-". In a C<(?[...])>
4471"-", "\-". The <-- HERE shows in the regular expression about where the
5955construct, this is an error, rather than a warning. Consider quoting
4472problem was discovered. See L<perlre>.
5956the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression
5957the problem was discovered. See L<perlre>.
44735958
44745959=end original
44755960
4476(W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような
5961(W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような
44775962他の文字クラスではなく、リテラル文字でなければなりません。
44785963間違った範囲の "-" はリテラルの "-" と解釈されます。
5964C<(?[...])> 構文では、これは警告ではなくエラーです。
44795965"-" を "\-" とクォートすることを考慮してください。
4480<-- HERE で正規表現のどこに問題が発見されたかを示しています。
5966S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
44815967L<perlre> を参照してください。
44825968
44835969=item Fatal VMS error (status=%d) at %s, line %d
44845970
44855971=begin original
44865972
44875973(P) An error peculiar to VMS. Something untoward happened in a VMS
44885974system service or RTL routine; Perl's exit status should provide more
44895975details. The filename in "at %s" and the line number in "line %d" tell
44905976you which section of the Perl source code is distressed.
44915977
44925978=end original
44935979
44945980(P) VMS に固有のエラーです。
44955981何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました;
44965982Perl の終了コードに詳細が示されています。
44975983"at %s" のファイル名と "line %d" の行番号は、問題の起こった
44985984Perl ソースコードの位置を示しています。
44995985
45005986=item fcntl is not implemented
45015987
45025988=begin original
45035989
45045990(F) Your machine apparently doesn't implement fcntl(). What is this, a
45055991PDP-11 or something?
45065992
45075993=end original
45085994
45095995(F) このマシンでは、fcntl() が実装されていないように見えます。
45105996PDP-11 か何かでしょうか。
45115997
45125998=item FETCHSIZE returned a negative value
45135999
45146000=begin original
45156001
45166002(F) A tied array claimed to have a negative number of elements, which
45176003is not possible.
45186004
45196005=end original
45206006
45216007(F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。
45226008
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
45236087=item Field too wide in 'u' format in pack
45246088
45256089=begin original
45266090
4527(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
45286092which can't encode values above 63. So there is no point in asking for
45296093a line length bigger than that. Perl will behave as if you specified
45306094C<u63> as the format.
45316095
45326096=end original
45336097
45346098(W pack) uuencode された文字列の各行が、63 以上にエンコードできない
45356099長さ識別子から始まっています。
45366100それで、これより長い行の長さを問い合わせるところがありません。
45376101Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。
45386102
45396103=item Filehandle %s opened only for input
45406104
45416105=begin original
45426106
45436107(W io) You tried to write on a read-only filehandle. If you intended
45446108it to be a read-write filehandle, you needed to open it with "+<" or
45456109"+>" or "+>>" instead of with "<" or nothing. If you intended only to
45466110write the file, use ">" or ">>". See L<perlfunc/open>.
45476111
45486112=end original
45496113
45506114(W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。
45516115読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、
45526116何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて
45536117open する必要があります。
45546118ライトオンリーであれば、">" や ">>" を使ってください。
45556119L<perlfunc/open> を参照してください。
45566120
45576121=item Filehandle %s opened only for output
45586122
45596123=begin original
45606124
45616125(W io) You tried to read from a filehandle opened only for writing, If
45626126you intended it to be a read/write filehandle, you needed to open it
45636127with "+<" or "+>" or "+>>" instead of with ">". If you intended only to
45646128read from the file, use "<". See L<perlfunc/open>. Another possibility
45656129is that you attempted to open filedescriptor 0 (also known as STDIN) for
45666130output (maybe you closed STDIN earlier?).
45676131
45686132=end original
45696133
45706134(W io) 書き込み専用のファイルハンドルから読み込もうとしました;
45716135読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に
45726136">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。
45736137読み込み専用にしたい場合は、"<" を使ってください。
45746138L<perlfunc/open> を参照してください。
45756139他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を
45766140出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。
45776141
45786142=item Filehandle %s reopened as %s only for input
45796143
45806144=begin original
45816145
45826146(W io) You opened for reading a filehandle that got the same filehandle id
45836147as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR
45846148previously.
45856149
45866150=end original
45876151
45886152(W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の
45896153ファイルハンドルを読み込み用に開こうとしました。
45906154これは、以前 STDOUT または STDERR を閉じたときに起きます。
45916155
45926156=item Filehandle STDIN reopened as %s only for output
45936157
45946158=begin original
45956159
45966160(W io) You opened for writing a filehandle that got the same filehandle id
45976161as STDIN. This occurred because you closed STDIN previously.
45986162
45996163=end original
46006164
46016165(W io) STDIN として使われていたのと同じファイルハンドル ID の
46026166ファイルハンドルを書き込み用に開こうとしました。
46036167これは、以前 STDIN を閉じたときに起きます。
46046168
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
46056182=item Final $ should be \$ or $name
46066183
46076184=begin original
46086185
46096186(F) You must now decide whether the final $ in a string was meant to be
46106187a literal dollar sign, or was meant to introduce a variable name that
46116188happens to be missing. So you have to put either the backslash or the
46126189name.
46136190
46146191=end original
46156192
46166193(F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして
46176194忘れたのかを、はっきりさせなければなりません。
46186195バックスラッシュを付けるか、名前を入れてください。
46196196
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
46206214=item flock() on closed filehandle %s
46216215
46226216=begin original
46236217
46246218(W closed) The filehandle you're attempting to flock() got itself closed
46256219some time before now. Check your control flow. flock() operates on
46266220filehandles. Are you attempting to call flock() on a dirhandle by the
46276221same name?
46286222
46296223=end original
46306224
46316225(W closed) flock() しようとしたファイルハンドルはその前に既に
46326226閉じられています。
46336227制御フローをチェックしてください。
46346228flock() はファイルハンドルを操作します。
46356229同じ名前のディレクトリハンドルに flock() しようとしていませんか?
46366230
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
46376265=item Format not terminated
46386266
46396267=begin original
46406268
46416269(F) A format must be terminated by a line with a solitary dot. Perl got
46426270to the end of your file without finding such a line.
46436271
46446272=end original
46456273
46466274(F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。
46476275そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。
46486276
46496277=item Format %s redefined
46506278
46516279=begin original
46526280
46536281(W redefine) You redefined a format. To suppress this warning, say
46546282
46556283=end original
46566284
46576285(W redefine) フォーマットを再定義しました。
46586286この警告を止めるには以下のようにしてください:
46596287
46606288 {
46616289 no warnings 'redefine';
46626290 eval "format NAME =...";
46636291 }
46646292
46656293=item Found = in conditional, should be ==
46666294
46676295=begin original
46686296
46696297(W syntax) You said
46706298
46716299=end original
46726300
46736301(W) 以下のようにしています:
46746302
46756303 if ($foo = 123)
46766304
46776305=begin original
46786306
46796307when you meant
46806308
46816309=end original
46826310
46836311以下のようにすべきです:
46846312
46856313 if ($foo == 123)
46866314
46876315=begin original
46886316
46896317(or something like that).
46906318
46916319=end original
46926320
46936321(あるいは似たようなこと)。
46946322
46956323=item %s found where operator expected
46966324
46976325=begin original
46986326
46996327(S syntax) The Perl lexer knows whether to expect a term or an operator.
47006328If it sees what it knows to be a term when it was expecting to see an
47016329operator, it gives you this warning. Usually it indicates that an
47026330operator or delimiter was omitted, such as a semicolon.
47036331
47046332=end original
47056333
47066334(S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを
47076335知っています。
47086336次に演算子が来ると思っているときに、項であるとわかるものが現れると、
47096337この警告が出ることになります。
47106338通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。
47116339
47126340=item gdbm store returned %d, errno %d, key "%s"
47136341
47146342=begin original
47156343
47166344(S) A warning from the GDBM_File extension that a store failed.
47176345
47186346=end original
47196347
47206348(S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。
47216349
47226350=item gethostent not implemented
47236351
47246352=begin original
47256353
47266354(F) Your C library apparently doesn't implement gethostent(), probably
47276355because if it did, it'd feel morally obligated to return every hostname
47286356on the Internet.
47296357
47306358=end original
47316359
47326360(F) C ライブラリに gethostent() が実装されていないようです;
47336361おそらく、実装すると Internet 上のすべてのホスト名を
47346362返さなければいけないと思っているのでしょう。
47356363
47366364=item get%sname() on closed socket %s
47376365
47386366=begin original
47396367
47406368(W closed) You tried to get a socket or peer socket name on a closed
47416369socket. Did you forget to check the return value of your socket() call?
47426370
47436371=end original
47446372
47456373(W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと
47466374しました。
47476375socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか?
47486376
47496377=item getpwnam returned invalid UIC %#o for user "%s"
47506378
47516379=begin original
47526380
47536381(S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the
47546382C<getpwnam> operator returned an invalid UIC.
47556383
47566384=end original
47576385
47586386(S) VMS に固有の警告です。
47596387C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで
47606388不正な UIC が返されました。
47616389
47626390=item getsockopt() on closed socket %s
47636391
47646392=begin original
47656393
47666394(W closed) You tried to get a socket option on a closed socket. Did you
47676395forget to check the return value of your socket() call? See
47686396L<perlfunc/getsockopt>.
47696397
47706398=end original
47716399
47726400(W clockd) クローズされたソケットのソケットオプションを取得しようとしました。
47736401socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
47746402L<perlfunc/getsockopt> を参照してください。
47756403
4776=item Global symbol "%s" requires explicit package name
6404=item get_layers: unknown argument '%s'
47776405
47786406=begin original
47796407
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
47806439(F) You've said "use strict" or "use strict vars", which indicates
47816440that all variables must either be lexically scoped (using "my" or "state"),
47826441declared beforehand using "our", or explicitly qualified to say
47836442which package the global variable is in (using "::").
47846443
47856444=end original
47866445
47876446(F) "use strict" か "use strict vars" が指定されていますので、すべての変数は
47886447("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に
47896448宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、
47906449明示的に修飾しなくてはなりません。
47916450
47926451=item glob failed (%s)
47936452
47946453=begin original
47956454
47966455(S glob) Something went wrong with the external program(s) used
47976456for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob>
47986457pattern that caused the external program to fail and exit with a
47996458nonzero status. If the message indicates that the abnormal exit
48006459resulted in a coredump, this may also mean that your csh (C shell)
48016460is broken. If so, you should change all of the csh-related variables
48026461in config.sh: If you have tcsh, make the variables refer to it as
48036462if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them
48046463all empty (except that C<d_csh> should be C<'undef'>) so that Perl will
48056464think csh is missing. In either case, after editing config.sh, run
48066465C<./Configure -S> and rebuild Perl.
48076466
48086467=end original
48096468
48106469(S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が
48116470発生しました。
48126471通常、これは外部プログラムが失敗して非 0 のステータスで終了するような
48136472C<glob> パターンが渡されたことを意味します。
48146473このメッセージがコアダンプを引きおこした異常終了を示している場合、
48156474csh (C シェル) が壊れていることを意味しているかもしれません。
48166475もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです:
48176476もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を
48186477参照するように変数を設定します;
48196478さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は
48206479C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。
48216480どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して
48226481Perl を再ビルドしてください。
48236482
48246483=item Glob not terminated
48256484
48266485=begin original
48276486
48286487(F) The lexer saw a left angle bracket in a place where it was expecting
48296488a term, so it's looking for the corresponding right angle bracket, and
48306489not finding it. Chances are you left some needed parentheses out
48316490earlier in the line, and you really meant a "less than".
48326491
48336492=end original
48346493
48356494(F) 項が必要とされるところで、開き山かっこが見つけたため、
48366495対応する閉じ山かっこを探しましたが、見つかりませんでした。
48376496可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を
48386497表したかった場合が考えられます。
48396498
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
48406512=item gmtime(%f) too large
48416513
48426514=begin original
48436515
48446516(W overflow) You called C<gmtime> with a number that was larger than
48456517it can reliably handle and C<gmtime> probably returned the wrong
48466518date. This warning is also triggered with NaN (the special
48476519not-a-number value).
48486520
48496521=end original
48506522
48516523(W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、
48526524おそらく間違った日付が返されました。
48536525この警告は、NaN (特殊な非数) でも引き起こされます。
48546526
48556527=item gmtime(%f) too small
48566528
48576529=begin original
48586530
48596531(W overflow) You called C<gmtime> with a number that was smaller than
48606532it can reliably handle and C<gmtime> probably returned the wrong date.
48616533
48626534=end original
48636535
48646536(W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、
48656537おそらく間違った日付が返されました。
48666538
48676539=item Got an error from DosAllocMem
48686540
48696541=begin original
48706542
48716543(P) An error peculiar to OS/2. Most probably you're using an obsolete
48726544version of Perl, and this should not happen anyway.
48736545
48746546=end original
48756547
48766548(P) OS/2 に固有のエラーです。
48776549もっともありそうなのは廃止されたバージョンの Perl を使っていることで、
48786550どちらにしてもこのエラーは起きないはずです。
48796551
48806552=item goto must have label
48816553
48826554=begin original
48836555
48846556(F) Unlike with "next" or "last", you're not allowed to goto an
48856557unspecified destination. See L<perlfunc/goto>.
48866558
48876559=end original
48886560
48896561(F) "next" や "last" とは違って、goto には必ず、飛び先を
48906562指定しなくてはなりません。
48916563L<perlfunc/goto> を参照してください。
48926564
48936565=item Goto undefined subroutine%s
48946566
48956567=begin original
48966568
48976569(F) You tried to call a subroutine with C<goto &sub> syntax, but
48986570the indicated subroutine hasn't been defined, or if it was, it
48996571has since been undefined.
49006572
49016573=end original
49026574
49036575(F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された
49046576サブルーチンは定義されていないか、定義されていましたが未定義化されました。
49056577
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
49066594=item ()-group starts with a count
49076595
49086596=begin original
49096597
49106598(F) A ()-group started with a count. A count is supposed to follow
49116599something: a template character or a ()-group. See L<perlfunc/pack>.
49126600
49136601=end original
49146602
49156603(F) () グループが繰り返し数で始まっています。
49166604繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。
49176605L<perlfunc/pack> を参照してください。
49186606
49196607=item %s had compilation errors.
49206608
49216609=begin original
49226610
49236611(F) The final summary message when a C<perl -c> fails.
49246612
49256613=end original
49266614
49276615(F) C<perl -c> が失敗したときの最終まとめメッセージです。
49286616
49296617=item Had to create %s unexpectedly
49306618
49316619=begin original
49326620
49336621(S internal) A routine asked for a symbol from a symbol table that ought
49346622to have existed already, but for some reason it didn't, and had to be
49356623created on an emergency basis to prevent a core dump.
49366624
49376625=end original
49386626
49396627(S internal) あるルーティンが、既に存在しているはずのシンボルを、
49406628シンボルテーブルで探しましたが、何らかの理由で存在せず、
49416629コアダンプを避けるために、緊急に生成しました。
49426630
4943=item Hash %%s missing the % in argument %d of %s()
6631=item %s has too many errors
49446632
49456633=begin original
49466634
4947(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.
4948spots. This is now heavily deprecated.
6636Further error messages would likely be uninformative.
49496637
49506638=end original
49516639
4952(D deprecated) 本当古い Perl では、ハッシュ名 % 省略できる場所が
6640(F) 構文解析部が、プログラム中10 エラー見つけたため、
4953ありました。
6641それ以上の解析を諦めました。
4954れは廃止予定
6642以上のエラーメッセージ、おそらく意味がないしょう
49556643
4956=item %s has too many errors
6644=item Hexadecimal float: exponent overflow
49576645
49586646=begin original
49596647
4960(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
4961Further error messages would likely be uninformative.
6649than the floating point supports.
49626650
49636651=end original
49646652
4965(F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため
6653(W overflow) 16 進浮動小数点数は対応している浮動小数点数よりも大きな
4966それ以上の解析諦めした
6654指数持ってい
4967それ以上のエラーメッセージは、おそらく意味がないでしょう。
49686655
4969=item Having no space between pattern and following word is deprecated
6656=item Hexadecimal float: exponent underflow
49706657
49716658=begin original
49726659
4973(D syntax)
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.
49746664
49756665=end original
49766666
4977(D syntax)
6667(W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな
6668指数を持っています。
6669IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません;
6670どちらにしろエラーです。
49786671
6672=item Hexadecimal float: internal error (%s)
6673
49796674=begin original
49806675
4981You had a word that isn't a regex modifier immediately following
6676(F) Something went horribly bad in hexadecimal float handling.
4982a pattern without an intervening space. If you are trying to use
4983the C</le> flags on a substitution, use C</el> instead. Otherwise, add
4984white space between the pattern and following word to eliminate
4985the warning. As an example of the latter, the two constructs:
49866677
49876678=end original
49886679
4989パターン引き続いて正規表現修飾子ではない単語を、間に空白なに書きました。
6680(F) 16 進浮動小数点の扱いいて何かが恐ろくおかしくなりました。
4990置換に C</le> フラグを使いたい場合は、代わりに C</el> を使ってください。
4991さもなければ、警告を消すためにパターンと引き続く単語の間に空白を
4992追加してください。
4993後者の例として、二つの構文は:
49946681
4995 $a =~ m/$foo/sand $bar
6682=item Hexadecimal float: mantissa overflow
4996 $a =~ m/$foo/s and $bar
49976683
49986684=begin original
49996685
5000both currently mean the same thing, but it is planned to disallow
6686(W overflow) The hexadecimal floating point literal had more bits in
5001the first form in Perl 5.18. And,
6687the mantissa (the part between the 0x and the exponent, also known as
6688the fraction or the significand) than the floating point supports.
50026689
50036690=end original
50046691
5005どちらも現在の所同じことを意味しますが、Perl 5.18 から前者形式を
6692(W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部間の部分) に
5006認めないようにすること計画されています。
6693浮動小数点数対応しているよりも多いビット数があります。
5007また、
50086694
5009 $a =~ m/$foo/and $bar
6695=item Hexadecimal float: precision loss
50106696
50116697=begin original
50126698
5013will 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).
50146703
50156704=end original
50166705
5017も認められくなます。
6706(W overflow) 16 進浮動小数点数リテラルは内部では出力可能ものよ
6707多くの桁数を保持しています。
6708これは未対応の long double 形式や、(設定によっては受け取る必要のある)
6709利用できない 64 ビット整数によって引き起こされます。
50186710
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
50196725=item Hexadecimal number > 0xffffffff non-portable
50206726
50216727=begin original
50226728
50236729(W portable) The hexadecimal number you specified is larger than 2**32-1
50246730(4294967295) and therefore non-portable between systems. See
50256731L<perlport> for more on portability concerns.
50266732
50276733=end original
50286734
50296735(W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、
50306736システム間で移植性がありません。
50316737移植性に関するさらなる考察については L<perlport> を参照してください。
50326738
50336739=item Identifier too long
50346740
50356741=begin original
50366742
50376743(F) Perl limits identifiers (names for variables, functions, etc.) to
50386744about 250 characters for simple names, and somewhat more for compound
50396745names (like C<$A::B>). You've exceeded Perl's limits. Future versions
50406746of Perl are likely to eliminate these arbitrary limitations.
50416747
50426748=end original
50436749
50446750(F) Perl は識別子(変数名や関数名など)について、単純な名前については
50456751およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに
50466752制限しています。
50476753この Perl の制限を越えました。
50486754将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。
50496755
5050=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/
50516758
50526759=begin original
50536760
5054(W) Named Unicode character escapes C<(\N{...})> may return a zero-length
6761(W regexp) Named Unicode character escapes (C<\N{...}>) may return a
5055sequence. When such an escape is used in a character class its
6762zero-length sequence. When such an escape is used in a character
5056behaviour is not well defined. Check that the correct escape has
6763class its behavior is not well defined. Check that the correct
5057been used, and the correct charname handler is in scope.
6764escape has been used, and the correct charname handler is in scope.
50586765
50596766=end original
50606767
5061(W) 名前付き Unicode 文字エスケープ C<(\N{...})> が長さ 0 の
6768(W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の
50626769シーケンスを返しました。
50636770文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。
50646771正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に
50656772あるかをチェックしてください。
50666773
5067=item Illegal binary digit %s
6774=item Illegal %s digit '%c' ignored
50686775
50696776=begin original
50706777
5071(F) You used a digit other than 0 or 1 in a binary number.
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.
50726785
50736786=end original
50746787
5075(F) 2 進数として 0 1 以外数値を使っています。
6788(W digit) ここで C<%s> "binary", "octal", "hex" うちの一つです。
67892 進数での 0 と 1 のような、与えられた型で正当でない数字を
6790使おうとしたのでしょう。
67918 進数の場合は、これは不正な文字が '8' または '9' の場合にのみ発生します。
679216 進数の場合、'A' - 'F' と 'a' - 'f' は正当です。
6793数の解釈は問題のある数値や文字の直前で停止しました。
50766794
5077=item Illegal binary digit %s ignored
6795=item Illegal binary digit '%c'
50786796
50796797=begin original
50806798
5081(W digit) You may have tried to use a digit other than 0 or 1 in a
6799(F) You used a digit other than 0 or 1 in a binary number.
5082binary number. Interpretation of the binary number stopped before the
5083offending digit.
50846800
50856801=end original
50866802
5087(W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう
6803(F) 2 進数として 0 と 1 以外の数値を使っています
50882 進数の解釈は問題のある数値の手前で停止しました。
50896804
50906805=item Illegal character after '_' in prototype for %s : %s
50916806
50926807=begin original
50936808
5094(W illegalproto) An illegal character was found in a prototype declaration.
6809(W illegalproto) An illegal character was found in a prototype
5095Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +.
6810declaration. The '_' in a prototype must be followed by a ';',
6811indicating the rest of the parameters are optional, or one of '@'
6812or '%', since those two will accept 0 or more final parameters.
50966813
50976814=end original
50986815
50996816(W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。
5100プロトタイプ有効な文字は、$, @, %, *, ;, [, ], &, \, + です
6817プロトタイプの中の '_' は、残りの引数がオプションあることを示ために
6818';' が引き続くか、'@' か '%' の一つでなければなりません;
6819これら二つは 0 以上の末尾の引数を受け付けるからです。
51016820
51026821=item Illegal character \%o (carriage return)
51036822
51046823=begin original
51056824
5106(F) Perl normally treats carriage returns in the program text as it
6825(F) Perl normally treats carriage returns in the program text as
5107would any other whitespace, which means you should never see this error
6826it would any other whitespace, which means you should never see
5108when Perl was built using standard options. For some reason, your
6827this error when Perl was built using standard options. For some
5109version of Perl appears to have been built without this support. Talk
6828reason, your version of Perl appears to have been built without
5110to your Perl administrator.
6829this support. Talk to your Perl administrator.
51116830
51126831=end original
51136832
51146833(F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に
51156834扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを
51166835見ることは決してないはずです。
51176836どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。
51186837Perl の管理者に問い合わせてください。
51196838
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
51206865=item Illegal character in prototype for %s : %s
51216866
51226867=begin original
51236868
51246869(W illegalproto) An illegal character was found in a prototype declaration.
51256870Legal 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.
51266874
51276875=end original
51286876
51296877(W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。
51306878プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。
6879おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に
6880していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った
6881プロトタイプとして解釈されたのでしょう。
51316882
51326883=item Illegal declaration of anonymous subroutine
51336884
51346885=begin original
51356886
51366887(F) When using the C<sub> keyword to construct an anonymous subroutine,
51376888you must always specify a block of code. See L<perlsub>.
51386889
51396890=end original
51406891
51416892(F) 無名サブルーチンを作るために C<sub> を使ったときは、
51426893常にコードのブロックを指定しなければなりません。
51436894L<perlsub> を参照してください。
51446895
51456896=item Illegal declaration of subroutine %s
51466897
51476898=begin original
51486899
51496900(F) A subroutine was not declared correctly. See L<perlsub>.
51506901
51516902=end original
51526903
51536904(F) サブルーチンが正しく宣言されていません。
51546905L<perlsub> を参照してください。
51556906
51566907=item Illegal division by zero
51576908
51586909=begin original
51596910
51606911(F) You tried to divide a number by 0. Either something was wrong in
51616912your logic, or you need to put a conditional in to guard against
51626913meaningless input.
51636914
51646915=end original
51656916
51666917(F) ゼロで割り算をしようとしました。
51676918ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが
51686919必要かのどちらかでしょう。
51696920
5170=item Illegal hexadecimal digit %s ignored
5171
5172=begin original
5173
5174(W digit) You may have tried to use a character other than 0 - 9 or
5175A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal
5176number stopped before the illegal character.
5177
5178=end original
5179
5180(W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。
518116 進数の解釈は不正な文字の手前で停止しました。
5182
51836921=item Illegal modulus zero
51846922
51856923=begin original
51866924
51876925(F) You tried to divide a number by 0 to get the remainder. Most
51886926numbers don't take to this kindly.
51896927
51906928=end original
51916929
51926930(F) 余りを求めるのに、ゼロで割り算をしようとしました。
51936931これは、ほとんどの数体系で受け入れられません。
51946932
51956933=item Illegal number of bits in vec
51966934
51976935=begin original
51986936
51996937(F) The number of bits in vec() (the third argument) must be a power of
52006938two from 1 to 32 (or 64, if your platform supports that).
52016939
52026940=end original
52036941
52046942(F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが
52056943対応している場合は 64) までの、2 のべき乗でなければなりません。
52066944
5207=item Illegal octal digit %s
6945=item Illegal octal digit '%c'
52086946
52096947=begin original
52106948
52116949(F) You used an 8 or 9 in an octal number.
52126950
52136951=end original
52146952
52156953(F) 8 進数で 8 か 9 を使いました。
52166954
5217=item Illegal octal digit %s ignored
6955=item Illegal operator following parameter in a subroutine signature
52186956
52196957=begin original
52206958
5221(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
5222Interpretation of the octal number stopped before the 8 or 9.
6960other than C<=> introducing a default, C<,> or C<)>.
52236961
52246962=end original
52256963
5226(W digit) 8 進数 8 か 9 使おうとしたのでしょう。
6964(F) サブルーチンシグネチャ引数に引き続いて、デフォルト導入する
52278 進数の解釈は 8 か 9 手前で停止しました。
6965C<=>, C<,>, C<)> 以外ものがありました。
52286966
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
52297007=item Illegal switch in PERL5OPT: -%c
52307008
52317009=begin original
52327010
52337011(X) The PERL5OPT environment variable may only be used to set the
52347012following switches: B<-[CDIMUdmtw]>.
52357013
52367014=end original
52377015
5238(X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> の
7016(X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。
5239オプションだけです。
52407017
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
52417039=item Ill-formed CRTL environ value "%s"
52427040
52437041=begin original
52447042
52457043(W internal) A warning peculiar to VMS. Perl tried to read the CRTL's
52467044internal environ array, and encountered an element without the C<=>
52477045delimiter used to separate keys from values. The element is ignored.
52487046
52497047=end original
52507048
52517049(W internal) VMS に固有の警告です。
52527050Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と
52537051分離するために使われている C<=> デリミタのない要素に遭遇しました。
52547052この要素は無視しました。
52557053
52567054=item Ill-formed message in prime_env_iter: |%s|
52577055
52587056=begin original
52597057
52607058(W internal) A warning peculiar to VMS. Perl tried to read a logical
52617059name or CLI symbol definition when preparing to iterate over %ENV, and
52627060didn't see the expected delimiter between key and value, so the line was
52637061ignored.
52647062
52657063=end original
52667064
52677065(W internal) VMS に固有の警告です。
52687066Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を
52697067読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、
52707068その行は無視しました。
52717069
52727070=item (in cleanup) %s
52737071
52747072=begin original
52757073
52767074(W misc) This prefix usually indicates that a DESTROY() method raised
52777075the indicated exception. Since destructors are usually called by the
52787076system at arbitrary points during execution, and often a vast number of
52797077times, the warning is issued only once for any number of failures that
52807078would otherwise result in the same message being repeated.
52817079
52827080=end original
52837081
52847082(W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで
52857083発生したことを示しています。
52867084デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に
52877085呼び出されるので、この警告は同じメッセージが繰り返されないように、
52887086何回失敗しても一度だけ発生します。
52897087
52907088=begin original
52917089
52927090Failure of user callbacks dispatched using the C<G_KEEPERR> flag could
52937091also result in this warning. See L<perlcall/G_KEEPERR>.
52947092
52957093=end original
52967094
52977095C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した
52987096場合にもこの警告が出ることがあります。
52997097L<perlcall/G_KEEPERR> を参照してください。
53007098
5301=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
53027100
53037101=begin original
53047102
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
53057141(F) The method resolution order (MRO) of the given class is not
53067142C3-consistent, and you have enabled the C3 MRO for this class. See the C3
53077143documentation in L<mro> for more information.
53087144
53097145=end original
53107146
53117147(F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、
53127148このクラスの C3 MRO を有効にしました。
53137149さらなる情報については L<mro> 内の C3 に関する文書を参照してください。
53147150
5315=item In EBCDIC the v-string components cannot exceed 2147483647
7151=item Indentation on line %d of here-doc doesn't match delimiter
53167152
53177153=begin original
53187154
5319(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
5320Unicode code points, and encoded in EBCDIC as UTF-EBCDIC. The UTF-EBCDIC
7156have whitespace at the beginning that does not match the closing
5321encoding is limited to code points no larger than 2147483647 (0x7FFFFFFF).
7157delimiter.
53227158
53237159=end original
53247160
5325(F) EBCDIC 特有エラーで
7161(F) インデントあるヒヤドキュメントがありまが、
5326内部的、v 文字列は Unicode 文字ポイトとて保管されてて、
7162先頭空白があるけれども閉じ区切り文字にマッチ行があります。
5327EBCDIC では UTF-EBCDIC でとしてエンコードされています。
5328UTF-EBCDIC エンコーディングでは、コードポイントは
53292147483647 (0x7FFFFFFF) 以下に制限されます。
53307163
5331=item Infinite recursion in regex; marked by <-- HERE in m/%s/
7164=begin original
53327165
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
53337183=begin original
53347184
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
53357197(F) You used a pattern that references itself without consuming any input
53367198text. You should check the pattern to ensure that recursive patterns
53377199either consume text or fail.
53387200
53397201=end original
53407202
53417203(F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。
53427204再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、
53437205パターンをチェックするべきです。
53447206
7207=item Infinite recursion in user-defined property
7208
53457209=begin original
53467210
5347The <-- HERE shows in the regular expression about where the problem was
7211(F) A user-defined property (L<perlunicode/User-Defined Character
5348discovered.
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.
53497216
53507217=end original
53517218
5352<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7219(F) ユーザー定義特性 (L<perlunicode/User-Defined Character
7220Properties>) は他のユーザー定義特性の定義に依存できます。
7221依存の鎖がこの特性に戻ってくる場合、無限再帰が起きることになり、
7222そうしないためのチェックがこのエラーを起こします。
53537223
5354=item Initialization of state variables in list context currently forbidden
7224=begin original
53557225
7226Restructure your property definitions to avoid this.
7227
7228=end original
7229
7230これを避けるために特性定義を再構成してください。
7231
7232=item Infinite recursion via empty pattern
7233
53567234=begin original
53577235
5358(F) Currently the implementation of "state" only permits the
7236(F) You tried to use the empty pattern inside of a regex code block,
5359initialization of scalar variables in scalar context. Re-write
7237for instance C</(?{ s!!! })/>, which resulted in re-executing
5360C<state ($a) = 42> as C<state $a = 42> to change from list to scalar
7238the same pattern, which is an infinite loop which is broken by
5361context. Constructions such as C<state (@a) = foo()> will be
7239throwing an exception.
5362supported in a future perl release.
53637240
53647241=end original
53657242
5366(F) 現在のところ、"state"実装はスカランテキストでスカラ変数の
7243(F) C</(?{ s!!! })/> ように正規表現ードブロック中で
5367初期化のみが許されています。
7244空パターンを使いました;
5368C<state ($a) = 42> C<state $a = 42> のように、リストコンテキストから
7245これは同じパターン再実行することなり
5369スカラコンテキスト書き換えください
7246例外が投げられることよっ壊れる無限ループになります
5370C<state (@a) = foo()> のような構文は perl の将来のリリースで
5371対応されるでしょう。
53727247
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
53737312=item Insecure dependency in %s
53747313
53757314=begin original
53767315
53777316(F) You tried to do something that the tainting mechanism didn't like.
53787317The tainting mechanism is turned on when you're running setuid or
53797318setgid, or when you specify B<-T> to turn it on explicitly. The
53807319tainting mechanism labels all data that's derived directly or indirectly
53817320from the user, who is considered to be unworthy of your trust. If any
53827321such data is used in a "dangerous" operation, you get this error. See
53837322L<perlsec> for more information.
53847323
53857324=end original
53867325
53877326(F) 何か汚染チェックの機構が、望ましくないと判断することを
53887327行なおうとしました。
53897328setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、
53907329汚染チェック機構が働きます。
53917330汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、
53927331指定したデータに印を付けます。
53937332そのようなデータを「危険な」操作に用いると、このエラーが発生します。
53947333詳しくは、L<perlsec> を参照してください。
53957334
53967335=item Insecure directory in %s
53977336
53987337=begin original
53997338
54007339(F) You can't use system(), exec(), or a piped open in a setuid or
54017340setgid script if C<$ENV{PATH}> contains a directory that is writable by
54027341the world. Also, the PATH must not contain any relative directory.
54037342See L<perlsec>.
54047343
54057344=end original
54067345
54077346(F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが
54087347含まれているとき、system()、exec()、パイプのオープンを
54097348行なうことはできません。
54107349また、PATH には相対早退ディレクトリを含んでいてはいけません。
54117350L<perlsec> を参照してください。
54127351
54137352=item Insecure $ENV{%s} while running %s
54147353
54157354=begin original
54167355
54177356(F) You can't use system(), exec(), or a piped open in a setuid or
54187357setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>,
54197358C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data
54207359supplied (or potentially supplied) by the user. The script must set
54217360the path to a known value, using trustworthy data. See L<perlsec>.
54227361
54237362=end original
54247363
54257364(F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>,
54267365C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された
54277366(あるいは提供された可能性のある)データの場合、setuid や setgid された
54287367スクリプトでは system(), exec(), パイプされる open を
54297368使うことはできません。
54307369スクリプトはパスとして、信頼の置けるデータを使った、既知の値を
54317370セットしなければなりません。
54327371L<perlsec> を参照してください。
54337372
54347373=item Insecure user-defined property %s
54357374
54367375=begin original
54377376
54387377(F) Perl detected tainted data when trying to compile a regular
54397378expression that contains a call to a user-defined character property
54407379function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>.
54417380See L<perlunicode/User-Defined Character Properties> and L<perlsec>.
54427381
54437382=end original
54447383
54457384(F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の
54467385呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを
54477386検出しました。
54487387L<perlunicode/User-Defined Character Properties> と L<perlsec> を
54497388参照してください。
54507389
54517390=item Integer overflow in format string for %s
54527391
54537392=begin original
54547393
54557394(F) The indexes and widths specified in the format string of C<printf()>
54567395or C<sprintf()> are too large. The numbers must not overflow the size of
54577396integers for your architecture.
54587397
54597398=end original
54607399
54617400(F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや
54627401幅が大きすぎます。
54637402数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように
54647403しなければなりません。
54657404
54667405=item Integer overflow in %s number
54677406
54687407=begin original
54697408
5470(W overflow) The hexadecimal, octal or binary number you have specified
7409(S overflow) The hexadecimal, octal or binary number you have specified
54717410either as a literal or as an argument to hex() or oct() is too big for
54727411your architecture, and has been converted to a floating point number.
54737412On a 32-bit architecture the largest hexadecimal, octal or binary number
54747413representable without overflow is 0xFFFFFFFF, 037777777777, or
547574140b11111111111111111111111111111111 respectively. Note that Perl
54767415transparently promotes all numbers to a floating point representation
54777416internally--subject to loss of precision errors in subsequent
54787417operations.
54797418
54807419=end original
54817420
5482(W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、
7421(S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、
548374228 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に
54847423変換されました。
5485742432 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進
548674252 進数はそれぞれ 0xFFFFFFFF, 037777777777,
548774260b11111111111111111111111111111111 です。
54887427Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに
54897428注意してください -- 引き続く操作によって精度が失われることがあります。
54907429
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
54917450=item Integer overflow in version
54927451
7452=item Integer overflow in version %d
7453
54937454=begin original
54947455
5495(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
5496size of integers for your architecture. This is not a warning
7457the size of integers for your architecture. This is not a warning
5497because 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
5498element larger than typically 2**32. This is usually caused by
7459element larger than typically 2**32. This is usually caused by trying
5499trying to use some odd mathematical operation as a version, like
7460to use some odd mathematical operation as a version, like 100/9.
5500100/9.
55017461
55027462=end original
55037463
5504(F) バージョン初期化の一部が、アーキテクチャの整数のサイズより
7464(W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより
55057465大きすぎます。
55067466バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な
55077467理由がないので、これは警告ではありません。
55087468これは普通、100/9 のようなおかしな数値演算をバージョンとして
55097469使おうとしたことによります。
55107470
5511=item Internal disaster in regex; marked by <-- HERE in m/%s/
7471=item Internal disaster in regex; marked by S<<-- HERE> in m/%s/
55127472
55137473=begin original
55147474
55157475(P) Something went badly wrong in the regular expression parser.
5516The <-- HERE shows in the regular expression about where the problem was
7476The S<<-- HERE> shows whereabouts in the regular expression the problem was
55177477discovered.
55187478
55197479=end original
55207480
55217481(P) 正規表現解析部に何か悪いことが起こりました。
5522<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7482S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
55237483
55247484=item Internal inconsistency in tracking vforks
55257485
55267486=begin original
55277487
55287488(S) A warning peculiar to VMS. Perl keeps track of the number of times
55297489you've called C<fork> and C<exec>, to determine whether the current call
55307490to C<exec> should affect the current script or a subprocess (see
55317491L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so
55327492Perl is making a guess and treating this C<exec> as a request to
55337493terminate the Perl script and execute the specified command.
55347494
55357495=end original
55367496
55377497(S) VMS に固有の警告です。
55387498Perl は C<fork> と C<exec> を呼び出した回数を数えています;
55397499これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに
55407500影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を
55417501参照してください)。
55427502どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が
55437503Perl スクリプトを終了させて指定されたコマンドを実行する要求であると
55447504仮定して、そのように扱いました。
55457505
5546=item Internal urp in regex; marked by <-- HERE in m/%s/
7506=item internal %<num>p might conflict with future printf extensions
55477507
55487508=begin original
55497509
7510(S internal) Perl's internal routine that handles C<printf> and C<sprintf>
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
55507531(P) Something went badly awry in the regular expression parser. The
5551<-- HERE shows in the regular expression about where the problem was
7532S<<-- HERE> shows whereabouts in the regular expression the problem was
55527533discovered.
55537534
55547535=end original
55557536
55567537(P) 正規表現解析部に何か間違ったことが起こりました。
5557<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7538S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
55587539
55597540=item %s (...) interpreted as function
55607541
55617542=begin original
55627543
55637544(W syntax) You've run afoul of the rule that says that any list operator
55647545followed by parentheses turns into a function, with all the list
55657546operators arguments found inside the parentheses. See
55667547L<perlop/Terms and List Operators (Leftward)>.
55677548
55687549=end original
55697550
5570(W syntax) リスト演算子の直後にかっこを置くと、かっこ内にあるリスト演算子引数を
7551(W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある
5571持つ関数になる、という規則が適用されました。
7552リスト演算子引数を持つ関数になる、という規則が適用されました。
55727553L<perlop/Terms and List Operators (Leftward)> を参照してください。
55737554
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
55747588=item Invalid %s attribute: %s
55757589
55767590=begin original
55777591
55787592(F) The indicated attribute for a subroutine or variable was not recognized
55797593by Perl or by a user-supplied handler. See L<attributes>.
55807594
55817595=end original
55827596
55837597(F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで
55847598認識されませんでした。
55857599L<attributes> を参照してください。
55867600
55877601=item Invalid %s attributes: %s
55887602
55897603=begin original
55907604
55917605(F) The indicated attributes for a subroutine or variable were not
55927606recognized by Perl or by a user-supplied handler. See L<attributes>.
55937607
55947608=end original
55957609
55967610(F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで
55977611認識されませんでした。
55987612L<attributes> を参照してください。
55997613
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
56007656=item Invalid conversion in %s: "%s"
56017657
56027658=begin original
56037659
56047660(W printf) Perl does not understand the given format conversion. See
56057661L<perlfunc/sprintf>.
56067662
56077663=end original
56087664
56097665(W printf) Perl は指定されたフォーマット変換が認識できませんでした。
56107666L<perlfunc/sprintf> を参照してください。
56117667
5612=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/
56137670
56147671=begin original
56157672
5616(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
56177674didn't correspond to a single character through the conversion
56187675from the encoding specified by the encoding pragma.
5619The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) instead.
7676The escape was replaced with REPLACEMENT CHARACTER (U+FFFD)
5620The <-- 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
56217679escape was discovered.
56227680
56237681=end original
56247682
5625(W regexp) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、
7683(W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、
56267684エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。
5627エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます
7685エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます;
5628<-- HERE で正規表現どこにスケプが発見されたかを示しています。
7686ただし、S<C<(?[ ])>> 内側の場合は致命的になります。
7687S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
56297688
56307689=item Invalid hexadecimal number in \N{U+...}
56317690
7691=item Invalid hexadecimal number in \N{U+...} in regex; marked by
7692S<<-- HERE> in m/%s/
7693
56327694=begin original
56337695
56347696(F) The character constant represented by C<...> is not a valid hexadecimal
56357697number. Either it is empty, or you tried to use a character other than
563676980 - 9 or A - F, a - f in a hexadecimal number.
56377699
56387700=end original
56397701
56407702(F) C<...> で表現された文字定数は妥当な 16 進数ではありません。
56417703空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。
56427704
56437705=item Invalid module name %s with -%c option: contains single ':'
56447706
56457707=begin original
56467708
56477709(F) The module argument to perl's B<-m> and B<-M> command-line options
56487710cannot contain single colons in the module name, but only in the
56497711arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but
56507712B<-MFoo:Bar=baz> is not.
56517713
56527714=end original
56537715
56547716(F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、
56557717モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが
56567718できます。
56577719言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は
56587720そうではありません。
56597721
56607722=item Invalid mro name: '%s'
56617723
56627724=begin original
56637725
56647726(F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>,
56657727where C<foo> is not a valid method resolution order (MRO). Currently,
56667728the only valid ones supported are C<dfs> and C<c3>, unless you have loaded
56677729a module that is a MRO plugin. See L<mro> and L<perlmroapi>.
56687730
56697731=end original
56707732
56717733(F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと
56727734しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。
56737735現在のところ、MRO プラグインモジュールを読み込まない限り、対応として
56747736有効なものは C<dfs> と C<c3> だけです。
56757737L<mro> と L<perlmroapi> を参照してください。
56767738
7739=item Invalid negative number (%s) in chr
7740
7741=begin original
7742
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
56777764=item invalid option -D%c, use -D'' to see choices
56787765
56797766=begin original
56807767
5681(F) Perl was called with invalid debugger flags. Call perl with
7768(S debugging) Perl was called with invalid debugger flags. Call perl
5682the B<-D> option with no flags to see the list of acceptable values.
7769with the B<-D> option with no flags to see the list of acceptable values.
5683See also L<< perlrun/B<-D>I<letters> >>.
7770See also L<perlrun/-Dletters>.
56847771
56857772=end original
56867773
56877774(F) Perl は不正なデバッガフラグで呼び出されました。
56887775受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて
56897776perl を呼び出してください。
56907777L<< perlrun/B<-D>I<letters> >> も参照してください。
56917778
5692=item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/
7779=item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/
56937780
56947781=begin original
56957782
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
56967800(F) The range specified in a character class had a minimum character
56977801greater than the maximum character. One possibility is that you forgot the
56987802C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only
5699up 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
57007804problem was discovered. See L<perlre>.
57017805
57027806=end original
57037807
57047808(F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。
57057809ひとつの可能性としては、末尾の C<\x{}> から C<{}> を
57067810忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか
57077811なりません。
5708<-- HERE で正規表現のどこに問題が発見されたかを示しています。
7812S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
57097813L<perlre> を参照してください。
57107814
57117815=item Invalid range "%s" in transliteration operator
57127816
57137817=begin original
57147818
57157819(F) The range specified in the tr/// or y/// operator had a minimum
57167820character greater than the maximum character. See L<perlop>.
57177821
57187822=end original
57197823
57207824(F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が
57217825大きいです。
57227826L<perlop> を参照してください。
57237827
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
57247841=item Invalid separator character %s in attribute list
57257842
57267843=begin original
57277844
57287845(F) Something other than a colon or whitespace was seen between the
57297846elements of an attribute list. If the previous attribute had a
57307847parenthesised parameter list, perhaps that list was terminated too soon.
57317848See L<attributes>.
57327849
57337850=end original
57347851
57357852(F) 属性リストの要素の間にコロンと空白以外のものがあります。
57367853直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが
57377854予定より早く終端されています。
57387855L<attributes> を参照してください。
57397856
57407857=item Invalid separator character %s in PerlIO layer specification %s
57417858
57427859=begin original
57437860
57447861(W layer) When pushing layers onto the Perl I/O system, something other
57457862than a colon or whitespace was seen between the elements of a layer list.
57467863If the previous attribute had a parenthesised parameter list, perhaps that
57477864list was terminated too soon.
57487865
57497866=end original
57507867
57517868(W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に
57527869コロンと空白以外のものがありました。
57537870直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが
57547871予定より早く終端されています。
57557872
57567873=item Invalid strict version format (%s)
57577874
57587875=begin original
57597876
57607877(F) A version number did not meet the "strict" criteria for versions.
57617878A "strict" version number is a positive decimal number (integer or
57627879decimal-fraction) without exponentiation or else a dotted-decimal
57637880v-string with a leading 'v' character and at least three components.
57647881The parenthesized text indicates which criteria were not met.
57657882See the L<version> module for more details on allowed version formats.
57667883
57677884=end original
57687885
57697886(F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。
57707887「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、
57717888さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも
57727889三つの部分からなるものです。
57737890かっこで囲まれたテキストは問題の基準を示しています。
57747891許されるバージョンオブジェクトに関するさらなる詳細については
57757892L<version> モジュールを参照してください。
57767893
57777894=item Invalid type '%s' in %s
57787895
57797896=begin original
57807897
57817898(F) The given character is not a valid pack or unpack type.
57827899See L<perlfunc/pack>.
57837900
57847901=end original
57857902
57867903(F) 与えられた文字は有効な pack や unpack の型ではありません。
57877904L<perlfunc/pack> を参照してください。
57887905
57897906=begin original
57907907
57917908(W) The given character is not a valid pack or unpack type but used to be
57927909silently ignored.
57937910
57947911=end original
57957912
57967913(W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に
57977914無視されました。
57987915
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
57997935=item Invalid version format (%s)
58007936
58017937=begin original
58027938
58037939(F) A version number did not meet the "lax" criteria for versions.
58047940A "lax" version number is a positive decimal number (integer or
58057941decimal-fraction) without exponentiation or else a dotted-decimal
58067942v-string. If the v-string has fewer than three components, it
58077943must have a leading 'v' character. Otherwise, the leading 'v' is
58087944optional. Both decimal and dotted-decimal versions may have a
58097945trailing "alpha" component separated by an underscore character
58107946after a fractional or dotted-decimal component. The parenthesized
58117947text indicates which criteria were not met. See the L<version> module
58127948for more details on allowed version formats.
58137949
58147950=end original
58157951
58167952(F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。
58177953「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、
58187954あるいはどっと付き 10 進 v-文字列です。
58197955v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。
58207956さもなければ、先頭の 'v' はオプションです。
5821795710 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進
58227958要素の後に下線で区切られた「α」要素が引き続くこともあります。
58237959かっこで囲まれたテキストは問題の基準を示しています。
58247960許されるバージョンオブジェクトに関するさらなる詳細については
58257961L<version> モジュールを参照してください。
58267962
58277963=item Invalid version object
58287964
58297965=begin original
58307966
58317967(F) The internal structure of the version object was invalid.
58327968Perhaps the internals were modified directly in some way or
58337969an arbitrary reference was blessed into the "version" class.
58347970
58357971=end original
58367972
58377973(F) バージョンオブジェクトの内部構造が不正です。
58387974おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが
58397975"version" クラスとして bless されました。
58407976
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
58418021=item ioctl is not implemented
58428022
58438023=begin original
58448024
58458025(F) Your machine apparently doesn't implement ioctl(), which is pretty
58468026strange for a machine that supports C.
58478027
58488028=end original
58498029
58508030(F) C をサポートしているマシンではおかしなことだと思いますが、
58518031このマシンでは ioctl() が実装されていないようです。
58528032
58538033=item ioctl() on unopened %s
58548034
58558035=begin original
58568036
58578037(W unopened) You tried ioctl() on a filehandle that was never opened.
58588038Check your control flow and number of arguments.
58598039
58608040=end original
58618041
58628042(W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。
58638043制御フローと引数の数をチェックしてください。
58648044
58658045=item IO layers (like '%s') unavailable
58668046
58678047=begin original
58688048
58698049(F) Your Perl has not been configured to have PerlIO, and therefore
58708050you cannot use IO layers. To have PerlIO, Perl must be configured
58718051with 'useperlio'.
58728052
58738053=end original
58748054
58758055(F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。
58768056PerlIO を使うには、'useperlio' 付きで設定する必要があります。
58778057
58788058=item IO::Socket::atmark not implemented on this architecture
58798059
58808060=begin original
58818061
58828062(F) Your machine doesn't implement the sockatmark() functionality,
58838063neither as a system call nor an ioctl call (SIOCATMARK).
58848064
58858065=end original
58868066
58878067(F) 実行されているマシンでは、システムコールでも
58888068ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。
58898069
5890=item $* is no longer supported
8070=item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/
58918071
58928072=begin original
58938073
5894(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
5895perls, 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
58968162previous versions of perl the use of C<$*> enabled or disabled multi-line
58978163matching within a string.
58988164
58998165=end original
59008166
5901(D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は
8167(F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は
59025.9.0 で削除され、もはや対応してせん
8168もはや対応しておらず、Perl 5.30 から致命的エラーになりした
59038169以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または
59048170無効にするために使っていました。
59058171
59068172=begin original
59078173
59088174Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp
59098175modifiers. You can enable C</m> for a lexical scope (even a whole file)
59108176with C<use re '/m'>. (In older versions: when C<$*> was set to a true value
59118177then all regular expressions behaved as if they were written using C</m>.)
59128178
59138179=end original
59148180
59158181C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を
59168182使うべきです。
59178183C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を
59188184有効にできます。
59198185(より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は
59208186C</m> を使って書かれたかのように振る舞っていました。)
59218187
5922=item $# is no longer supported
8188=begin original
59238189
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
59248198=begin original
59258199
5926(D deprecated, syntax) The special variable C<$#>, deprecated in older
8200(F) The special variable C<$#>, deprecated in older perls, was removed as of
5927perls, 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
59288202should use the printf/sprintf functions instead.
59298203
59308204=end original
59318205
5932(D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は
8206(F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は
59335.9.3 で削除され、もはや対応してせん
8207もはや対応しておらず、Perl 5.30 から致命的エラーになりした
59348208代わりに printf/sprintf 関数を使うべきです。
59358209
59368210=item '%s' is not a code reference
59378211
59388212=begin original
59398213
59408214(W overload) The second (fourth, sixth, ...) argument of
59418215overload::constant needs to be a code reference. Either
59428216an anonymous subroutine, or a reference to a subroutine.
59438217
59448218=end original
59458219
59468220(W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は
59478221コードリファレンスである必要があります。
59488222無名サブルーチンか、サブルーチンへのリファレンスです。
59498223
59508224=item '%s' is not an overloadable type
59518225
59528226=begin original
59538227
59548228(W overload) You tried to overload a constant type the overload package is
59558229unaware of.
59568230
59578231=end original
59588232
59598233(W overload) オーバーロードパッケージが知らない定数型を
59608234オーバーロードしようとしました。
59618235
5962=item junk on end of regexp
8236=item '%s' is not recognised as a builtin function
59638237
59648238=begin original
59658239
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
59668276(P) The regular expression parser is confused.
59678277
59688278=end original
59698279
59708280(P) 正規表現の構文解析ができなくなりました。
59718281
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
59728305=item Label not found for "last %s"
59738306
59748307=begin original
59758308
59768309(F) You named a loop to break out of, but you're not currently in a loop
59778310of that name, not even if you count where you were called from. See
59788311L<perlfunc/last>.
59798312
59808313=end original
59818314
59828315(F) 脱出するループを指定しましたが、その名前のループの中にいません、
59838316たとえ、呼び出された場所がそうであっても、今はそうではありません。
59848317L<perlfunc/last> を参照してください。
59858318
59868319=item Label not found for "next %s"
59878320
59888321=begin original
59898322
59908323(F) You named a loop to continue, but you're not currently in a loop of
59918324that name, not even if you count where you were called from. See
59928325L<perlfunc/last>.
59938326
59948327=end original
59958328
59968329(F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に
59978330いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。
59988331L<perlfunc/last> を参照してください。
59998332
60008333=item Label not found for "redo %s"
60018334
60028335=begin original
60038336
60048337(F) You named a loop to restart, but you're not currently in a loop of
60058338that name, not even if you count where you were called from. See
60068339L<perlfunc/last>.
60078340
60088341=end original
60098342
60108343(F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に
60118344いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。
60128345L<perlfunc/last> を参照してください。
60138346
60148347=item leaving effective %s failed
60158348
60168349=begin original
60178350
60188351(F) While under the C<use filetest> pragma, switching the real and
60198352effective uids or gids failed.
60208353
60218354=end original
60228355
60238356(F) C<use filetest> プラグマを使っている間に、
60248357実と実効の UID や GID の切り替えに失敗しました。
60258358
60268359=item length/code after end of string in unpack
60278360
60288361=begin original
60298362
60308363(F) While unpacking, the string buffer was already used up when an unpack
60318364length/code combination tried to obtain more data. This results in
60328365an undefined value for the length. See L<perlfunc/pack>.
60338366
60348367=end original
60358368
60368369(F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを
60378370unpack するときに文字列バッファが既に使い切っていました。
60388371これにより、長さが未定義値となります。
60398372L<perlfunc/pack> を参照してください。
60408373
6041=item length() used on %s
8374=item length() used on %s (did you mean "scalar(%s)"?)
60428375
60438376=begin original
60448377
60458378(W syntax) You used length() on either an array or a hash when you
60468379probably wanted a count of the items.
60478380
60488381=end original
60498382
60508383(W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して
60518384length() を使いました。
60528385
60538386=begin original
60548387
60558388Array size can be obtained by doing:
60568389
60578390=end original
60588391
60598392配列の大きさは以下のようにして得られます:
60608393
60618394 scalar(@array);
60628395
60638396=begin original
60648397
60658398The number of items in a hash can be obtained by doing:
60668399
60678400=end original
60688401
60698402ハッシュの要素数は以下のようにして得られます:
60708403
60718404 scalar(keys %hash);
60728405
60738406=item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input
60748407
60758408=begin original
60768409
60778410(F) An extension is attempting to insert text into the current parse
60788411(using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that
60798412couldn't be part of the current input. This is an inherent pitfall
60808413of the stuffing mechanism, and one of the reasons to avoid it. Where
60818414it is necessary to stuff, stuffing only plain ASCII is recommended.
60828415
60838416=end original
60848417
60858418(F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や
60868419同様なものを使って)現在のパースにテキストを挿入しようとしましたが、
60878420現在の入力の一部となることができない文字を挿入しようとしました。
60888421これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。
60898422詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。
60908423
60918424=item Lexing code internal error (%s)
60928425
60938426=begin original
60948427
60958428(F) Lexing code supplied by an extension violated the lexer's API in a
60968429detectable way.
60978430
60988431=end original
60998432
61008433(F) エクステンションによって供給された文法解析コードが、検出できる方法で
61018434文法解析器の API に違反しています。
61028435
61038436=item listen() on closed socket %s
61048437
61058438=begin original
61068439
61078440(W closed) You tried to do a listen on a closed socket. Did you forget
61088441to check the return value of your socket() call? See
61098442L<perlfunc/listen>.
61108443
61118444=end original
61128445
61138446(W closed) クローズされたソケットに listen を行なおうとしました。
61148447socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
61158448L<perlfunc/listen> を参照してください。
61168449
61178450=item List form of piped open not implemented
61188451
61198452=begin original
61208453
61218454(F) On some platforms, notably Windows, the three-or-more-arguments
61228455form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>.
61238456Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead.
61248457
61258458=end original
61268459
61278460(F) 一部のプラットフォーム、特に Windows では、
61288461C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の
61298462C<open> ではパイプに対応していません。
61308463代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。
61318464
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
61328729=item localtime(%f) too large
61338730
61348731=begin original
61358732
61368733(W overflow) You called C<localtime> with a number that was larger
61378734than it can reliably handle and C<localtime> probably returned the
61388735wrong date. This warning is also triggered with NaN (the special
61398736not-a-number value).
61408737
61418738=end original
61428739
61438740(W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので
61448741C<localtime> はおそらく間違った日付を返します。
61458742この警告は、NaN (特殊な非数) でも引き起こされます。
61468743
61478744=item localtime(%f) too small
61488745
61498746=begin original
61508747
61518748(W overflow) You called C<localtime> with a number that was smaller
61528749than it can reliably handle and C<localtime> probably returned the
61538750wrong date.
61548751
61558752=end original
61568753
61578754(W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので
61588755C<localtime> はおそらく間違った日付を返します。
61598756
61608757=item Lookbehind longer than %d not implemented in regex m/%s/
61618758
61628759=begin original
61638760
61648761(F) There is currently a limit on the length of string which lookbehind can
61658762handle. This restriction may be eased in a future release.
61668763
61678764=end original
61688765
61698766(F) 現在のところ前方参照が扱える文字列の長さには制限があります。
61708767この制限は将来のリリースでは緩和されるでしょう。
61718768
61728769=item Lost precision when %s %f by 1
61738770
61748771=begin original
61758772
6176(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,
6177for the underlying floating point representation to store accurately,
8774but the result is too large for the underlying floating point
6178hence the target of C<++> or C<--> is unchanged. Perl issues this warning
8775representation to store accurately. Hence, the target of C<++> or C<-->
6179because it has already switched from integers to floating point when values
8776is increased or decreased by quite different value than one, such as
6180are too large for integers, and now even floating point is insufficient.
8777zero (I<i.e.> the target is unchanged) or two, due to rounding.
6181You 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.
61828782
61838783=end original
61848784
6185(W) インクリメントまたはデクリメントしようとしている値は基礎となっている
8785(W imprecision) 値を 1 だけインクリメントまたはデクリメントしようとしましたが
6186浮動小数点数表現にとって正確に保管するには大きすぎるので、
8786結果は基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎます。
6187C<++> や C<--> のターゲットは変更されせん。
8787従って、C<++> や C<--> のターゲットは 1 ではない値増加たは減少します;
8788これは 0 (つまりターゲットは変更されない) であったり、丸めによって 2 で
8789あったりします。
61888790Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に
61898791切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。
61908792明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。
61918793
61928794=item lstat() on filehandle%s
61938795
61948796=begin original
61958797
61968798(W io) You tried to do an lstat on a filehandle. What did you mean
61978799by that? lstat() makes sense only on filenames. (Perl did a fstat()
61988800instead on the filehandle.)
61998801
62008802=end original
62018803
62028804(W io) ファイルハンドルに lstat を実行しようとしました。
62038805これで何をしようとしたのですか?
62048806lstat() はファイル名に対してのみ意味があります。
62058807(Perl はファイルハンドルには代わりに fstat() を行いました。)
62068808
62078809=item lvalue attribute %s already-defined subroutine
62088810
62098811=begin original
62108812
62118813(W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue
62128814attribute on or off on a Perl subroutine that is already defined
62138815does not always work properly. It may or may not do what you
62148816want, depending on what code is inside the subroutine, with exact
62158817details subject to change between Perl versions. Only do this
62168818if you really know what you are doing.
62178819
62188820=end original
62198821
62208822(W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に
62218823定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは
62228824常に適切に動作するわけではありません。
62238825あなたの望むことが行われるかもしれませんし行われないかもしれません;
62248826サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は
62258827Perl バージョン間で変更されることがあります。
62268828自分が何をしているのかが本当に分かっているときにだけこれを行ってください。
62278829
62288830=item lvalue attribute ignored after the subroutine has been defined
62298831
62308832=begin original
62318833
62328834(W misc) Using the C<:lvalue> declarative syntax to make a Perl
62338835subroutine an lvalue subroutine after it has been defined is
62348836not permitted. To make the subroutine an lvalue subroutine,
62358837add the lvalue attribute to the definition, or put the C<sub
62368838foo :lvalue;> declaration before the definition.
62378839
62388840=end original
62398841
62408842(W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに
62418843するために C<:lvalue> 宣言文を使うことはできません。
62428844サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、
62438845定義する前に C<sub foo :lvalue;> 宣言を行います。
62448846
62458847=begin original
62468848
62478849See also L<attributes.pm|attributes>.
62488850
62498851=end original
62508852
62518853L<attributes.pm|attributes> も参照してください。
62528854
8855=item Magical list constants are not supported
8856
8857=begin original
8858
8859(F) You assigned a magical array to a stash element, and then tried
8860to use the subroutine from the same slot. You are asking Perl to do
8861something it cannot do, details subject to change between Perl versions.
8862
8863=end original
8864
8865(F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから
8866サブルーチンを使おうとしました。
8867Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを
8868Perl にさせようとしました。
8869
62538870=item Malformed integer in [] in pack
62548871
62558872=begin original
62568873
62578874(F) Between the brackets enclosing a numeric repeat count only digits
62588875are permitted. See L<perlfunc/pack>.
62598876
62608877=end original
62618878
62628879(F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。
62638880L<perlfunc/pack> を参照してください。
62648881
62658882=item Malformed integer in [] in unpack
62668883
62678884=begin original
62688885
62698886(F) Between the brackets enclosing a numeric repeat count only digits
62708887are permitted. See L<perlfunc/pack>.
62718888
62728889=end original
62738890
62748891(F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。
62758892L<perlfunc/pack> を参照してください。
62768893
62778894=item Malformed PERLLIB_PREFIX
62788895
62798896=begin original
62808897
62818898(F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form
62828899
62838900=end original
62848901
62858902(F) OS/2 固有のエラーです。
62868903PERLLIB_PREFIX は以下のような形か:
62878904
62888905 prefix1;prefix2
62898906
62908907=begin original
62918908
62928909or
62938910 prefix1 prefix2
62948911
62958912=end original
62968913
62978914または
62988915 prefix1 prefix2
62998916
63008917=begin original
63018918
63028919with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of
63038920a builtin library search path, prefix2 is substituted. The error may
63048921appear if components are not found, or are too long. See
63058922"PERLLIB_PREFIX" in L<perlos2>.
63068923
63078924=end original
63088925
63098926prefix1 と prefix2 が空でない形である必要があります。
63108927C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、
63118928prefix2 は置き換えられます。
63128929このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。
63138930L<perlos2> の "PERLLIB_PREFIX" を参照してください。
63148931
63158932=item Malformed prototype for %s: %s
63168933
63178934=begin original
63188935
63198936(F) You tried to use a function with a malformed prototype. The
63208937syntax of function prototypes is given a brief compile-time check for
63218938obvious errors like invalid characters. A more rigorous check is run
63228939when 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.
63238943
63248944=end original
63258945
63268946(F) 不正な形式のプロトタイプをもつ関数を使おうとしました。
63278947関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては
63288948コンパイル時にチェックされます。
63298949より厳密なチェックは、関数が呼び出された時に実行されます。
8950おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、
8951先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、
8952シグネチャは間違ったプロトタイプとして解釈されました。
63308953
6331=item Malformed UTF-8 character (%s)
8954=item Malformed UTF-8 character%s
63328955
63338956=begin original
63348957
6335(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
6336encoding 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.
63378963
63388964=end original
63398965
6340(S utf8)(F) Perl が、UTF8 フラグがオンにも関わらず UTF-8 エンコーディング
8966(S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、
6341に従わない文字列を検出しました。
8967UTF-8 エンコディング規則に従わない
8968あるいは序数が現在のプラットフォームのワードサイズに収まらない
8969(オーバーフローする)符号位置を表現する文字列を検出しました。
8970不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。
63428971
63438972=begin original
63448973
63458974One possible cause is that you set the UTF8 flag yourself for data that
6346you 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
63478-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', ...)>.
63488977
63498978=end original
63508979
63518980原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ
63528981(例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした
63538982ことです。
6354これから守るためには、Encode::decode_utf8 を使えます。
8983これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。
63558984
63568985=begin original
63578986
63588987If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte
6359sequences 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
6360set without validating the data, possibly resulting in this error
8989without validating the data, possibly resulting in this error message.
6361message.
63628990
63638991=end original
63648992
63658993入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは
63668994寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、
63678995おそらく結果としてこのエラーメッセージが出力されます。
63688996
63698997=begin original
63708998
63718999See also L<Encode/"Handling Malformed Data">.
63729000
63739001=end original
63749002
63759003L<Encode/"Handling Malformed Data"> も参照してください。
63769004
6377=item Malformed UTF-8 returned by \N
9005=item Malformed UTF-8 returned by \N{%s} immediately after '%s'
63789006
63799007=begin original
63809008
63819009(F) The charnames handler returned malformed UTF-8.
63829010
63839011=end original
63849012
63859013(F) charnames ハンドラが不正な UTF-8 を返しました。
63869014
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
63879048=item Malformed UTF-8 string in '%c' format in unpack
63889049
63899050=begin original
63909051
63919052(F) You tried to unpack something that didn't comply with UTF-8 encoding
63929053rules and perl was unable to guess how to make more progress.
63939054
63949055=end original
63959056
63969057(F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、
63979058perl はどうやってさらに進捗させればいいかが推測できませんでした。
63989059
63999060=item Malformed UTF-8 string in pack
64009061
64019062=begin original
64029063
64039064(F) You tried to pack something that didn't comply with UTF-8 encoding
64049065rules and perl was unable to guess how to make more progress.
64059066
64069067=end original
64079068
64089069(F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、
64099070perl はどうやってさらに進捗させればいいかが推測できませんでした。
64109071
64119072=item Malformed UTF-8 string in unpack
64129073
64139074=begin original
64149075
64159076(F) You tried to unpack something that didn't comply with UTF-8 encoding
64169077rules and perl was unable to guess how to make more progress.
64179078
64189079=end original
64199080
64209081(F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、
64219082perl はどうやってさらに進捗させればいいかが推測できませんでした。
64229083
64239084=item Malformed UTF-16 surrogate
64249085
64259086=begin original
64269087
64279088(F) Perl thought it was reading UTF-16 encoded character data but while
64289089doing it Perl met a malformed Unicode surrogate.
64299090
64309091=end original
64319092
64329093(F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、
64339094その間に Perl が不正な Unicode サロゲートに遭遇しました。
64349095
6435=item %s matches null string many times in regex; marked by <-- HERE in m/%s/
9096=item Mandatory parameter follows optional parameter
64369097
64379098=begin original
64389099
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
64399200(W regexp) The pattern you've specified would be an infinite loop if the
6440regular expression engine didn't specifically check for that. The <-- HERE
9201regular expression engine didn't specifically check for that. The S<<-- HERE>
6441shows in the regular expression about where the problem was discovered.
9202shows whereabouts in the regular expression the problem was discovered.
64429203See L<perlre>.
64439204
64449205=end original
64459206
64469207(W) 指定したパターンは、もし、正規表現エンジンがチェックを
64479208行なっていなければ、無限ループに陥るものです。
6448<-- HERE で正規表現のどこに問題が発見されたかを示しています。
9209S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
64499210L<perlre> を参照してください。
64509211
64519212=item Maximal count of pending signals (%u) exceeded
64529213
64539214=begin original
64549215
64559216(F) Perl aborted due to too high a number of signals pending. This
64569217usually indicates that your operating system tried to deliver signals
64579218too fast (with a very high priority), starving the perl process from
64589219resources it would need to reach a point where it can process signals
64599220safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.)
64609221
64619222=end original
64629223
64639224(F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。
64649225これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、
64659226perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な
64669227リソースが不足したことを示しています。
64679228(L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。)
64689229
64699230=item "%s" may clash with future reserved word
64709231
64719232=begin original
64729233
64739234(W) This warning may be due to running a perl5 script through a perl4
64749235interpreter, especially if the word that is being warned about is
64759236"use" or "my".
64769237
64779238=end original
64789239
64799240(W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした
64809241ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は
64819242そうです。
64829243
64839244=item '%' may not be used in pack
64849245
64859246=begin original
64869247
64879248(F) You can't pack a string by supplying a checksum, because the
64889249checksumming process loses information, and you can't go the other way.
64899250See L<perlfunc/unpack>.
64909251
64919252=end original
64929253
64939254(F) チェックサムを指定して pack を行なうことはできません;
64949255チェックサム処理では、情報が失われ、どうしようもなくなるからです。
64959256L<perlfunc/unpack> を参照してください。
64969257
64979258=item Method for operation %s not found in package %s during blessing
64989259
64999260=begin original
65009261
65019262(F) An attempt was made to specify an entry in an overloading table that
65029263doesn't resolve to a valid subroutine. See L<overload>.
65039264
65049265=end original
65059266
65069267(F) 多重定義テーブルで、有効なサブルーチンに解決できない
65079268エントリを指定しようとしました。
65089269L<overload> を参照してください。
65099270
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
65109286=item Method %s not permitted
65119287
65129288=begin original
65139289
6514See Server error.
9290See L</500 Server error>.
65159291
65169292=end original
65179293
6518"Server error" を参照してください。
9294L</500 Server error> を参照してください。
65199295
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
65209312=item Might be a runaway multi-line %s string starting on line %d
65219313
65229314=begin original
65239315
65249316(S) An advisory indicating that the previous error may have been caused
65259317by a missing delimiter on a string or pattern, because it eventually
65269318ended earlier on the current line.
65279319
65289320=end original
65299321
65309322(S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、
65319323先のエラーが、文字列やパターンのデリミタが、見つからなかったことで
65329324起ったかもしれないことを、補足的に示しています。
65339325
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
65349339=item Misplaced _ in number
65359340
65369341=begin original
65379342
65389343(W syntax) An underscore (underbar) in a numeric constant did not
65399344separate two digits.
65409345
65419346=end original
65429347
65439348(W syntax) 数値定数の下線が、二つの値を分離していません。
65449349
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
65459362=item Missing argument in %s
65469363
65479364=begin original
65489365
6549(W uninitialized) A printf-type format required more arguments than were
9366(W missing) You called a function with fewer arguments than other
6550supplied.
9367arguments you supplied indicated would be needed.
65519368
65529369=end original
65539370
6554(W uninitialized) printf 形式ののフォーマットが供給されたのよりも多くの引数を
9371(W missing) 他で指定した引数によって必要であると示されているよりも
6555要求しました。
9372少ない引数で関数を呼び出しました。
65569373
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
65579388=item Missing argument to -%c
65589389
65599390=begin original
65609391
65619392(F) The argument to the indicated command line switch must follow
65629393immediately after the switch, without intervening spaces.
65639394
65649395=end original
65659396
65669397(F) 示されたコマンドラインスイッチの引数は、
65679398スイッチの直後にスペースを空けないで書く必要があります。
65689399
65699400=item Missing braces on \N{}
65709401
9402=item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/
9403
65719404=begin original
65729405
65739406(F) Wrong syntax of character name literal C<\N{charname}> within
65749407double-quotish context. This can also happen when there is a space
65759408(or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier.
65769409This modifier does not change the requirement that the brace immediately
65779410follow the C<\N>.
65789411
65799412=end original
65809413
65819414(F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の
65829415文法が間違っています。
65839416これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または
65849417コメント)がある場合にも起こります。
65859418この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。
65869419
65879420=item Missing braces on \o{}
65889421
65899422=begin original
65909423
65919424(F) A C<\o> must be followed immediately by a C<{> in double-quotish context.
65929425
65939426=end original
65949427
65959428(F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が
65969429引き続かなければなりません。
65979430
65989431=item Missing comma after first argument to %s function
65999432
66009433=begin original
66019434
66029435(F) While certain functions allow you to specify a filehandle or an
66039436"indirect object" before the argument list, this ain't one of them.
66049437
66059438=end original
66069439
66079440(F) ある種の関数では、引数リストの前に、ファイルハンドルや
66089441「間接オブジェクト」をおくことができますが、この関数は、
66099442そういったものではありません。
66109443
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
66119457=item Missing command in piped open
66129458
66139459=begin original
66149460
66159461(W pipe) You used the C<open(FH, "| command")> or
66169462C<open(FH, "command |")> construction, but the command was missing or
66179463blank.
66189464
66199465=end original
66209466
66219467(W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を
66229468使っていますが、コマンドが指定されていないか空白です。
66239469
66249470=item Missing control char name in \c
66259471
66269472=begin original
66279473
66289474(F) A double-quoted string ended with "\c", without the required control
66299475character name.
66309476
66319477=end original
66329478
66339479(F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が
66349480必要です。
66359481
6636=item Missing name in "my sub"
9482=item Missing ']' in prototype for %s : %s
66379483
66389484=begin original
66399485
6640(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
66419498they have a name with which they can be found.
66429499
66439500=end original
66449501
6645(F) 予約された文法である、レキシカルスコープのサブルーチンには
9502(F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。
6646探すことの出来る名前が必要です。
66479503
66489504=item Missing $ on loop variable
66499505
66509506=begin original
66519507
66529508(F) Apparently you've been programming in B<csh> too much. Variables
66539509are always mentioned with the $ in Perl, unlike in the shells, where it
66549510can vary from one line to the next.
66559511
66569512=end original
66579513
66589514(F) B<csh> を使いすぎた症状が現れているようです。
66599515Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは
66609516違っています。
66619517
66629518=item (Missing operator before %s?)
66639519
66649520=begin original
66659521
66669522(S syntax) This is an educated guess made in conjunction with the message
66679523"%s found where operator expected". Often the missing operator is a comma.
66689524
66699525=end original
66709526
66719527(S syntax) これは "%s found where operator expected" メッセージと共に
66729528表示される教育的な推測です。
66739529しばしば不足している演算子はカンマです。
66749530
6675=item Missing right brace on %s
9531=item Missing or undefined argument to %s
66769532
66779533=begin original
66789534
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
66799568(F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>.
66809569
66819570=end original
66829571
66839572(F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが
66849573抜けています。
66859574
9575=item Missing right brace on \N{}
9576
66869577=item Missing right brace on \N{} or unescaped left brace after \N
66879578
66889579=begin original
66899580
66909581(F) C<\N> has two meanings.
66919582
66929583=end original
66939584
66949585(F) C<\N> には二つの意味があります。
66959586
66969587=begin original
66979588
66989589The traditional one has it followed by a name enclosed in braces,
66999590meaning the character (or sequence of characters) given by that
67009591name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both
67019592double-quoted strings and regular expression patterns. In patterns,
67029593it doesn't have the meaning an unescaped C<*> does.
67039594
67049595=end original
67059596
67069597伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字
67079598(または文字並び)を意味します。
67089599従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、
67099600ダブルクォート文字列と正規表現パターンの両方で妥当です。
67109601パターンでは、これはエスケープされない C<*> の持つ意味はありません。
67119602
67129603=begin original
67139604
67149605Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only)
67159606in patterns, namely to match a non-newline character. (This is short
67169607for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.)
67179608
67189609=end original
67199610
67209611Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます;
67219612非改行文字にマッチングします。
67229613(これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって
67239614影響を受けません。)
67249615
67259616=begin original
67269617
67279618This can lead to some ambiguities. When C<\N> is not followed immediately
67289619by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces
67299620form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this
67309621means to match the given quantity of non-newlines (in these examples,
673196223; and 5 or more, respectively). In all other case, where there is a
67329623C<\N{> and a matching C<}>, Perl assumes that a character name is desired.
67339624
67349625=end original
67359626
67369627これによりいくつかの曖昧さを引き起こします。
67379628C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。
67389629また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に
67399630なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と
674096315 以上) にマッチングするという意味を仮定します。
67419632それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が
67429633求められていると仮定します。
67439634
67449635=begin original
67459636
67469637However, if there is no matching C<}>, Perl doesn't know if it was
67479638mistakenly omitted, or if C<[^\n]{> was desired, and raises this error.
67489639If you meant the former, add the right brace; if you meant the latter,
67499640escape the brace with a backslash, like so: C<\N\{>
67509641
67519642=end original
67529643
67539644しかし、対応する C<}> がなければ、それが間違って省略されたのか、
67549645C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。
67559646前者を意味しているなら、閉じ中かっこを追加してください; 後者を
67569647意味しているなら、C<\N\{> のように中かっこを逆スラッシュで
67579648エスケープしてください。
67589649
67599650=item Missing right curly or square bracket
67609651
67619652=begin original
67629653
67639654(F) The lexer counted more opening curly or square brackets than closing
67649655ones. As a general rule, you'll find it's missing near the place you
67659656were last editing.
67669657
67679658=end original
67689659
67699660(F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも
67709661開き中かっこ(大かっこ)を多く発見しました。
67719662一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。
67729663
67739664=item (Missing semicolon on previous line?)
67749665
67759666=begin original
67769667
67779668(S syntax) This is an educated guess made in conjunction with the message
67789669"%s found where operator expected". Don't automatically put a semicolon on
67799670the previous line just because you saw this message.
67809671
67819672=end original
67829673
67839674(S syntax) これは "%s found where operator expected" メッセージと共に
67849675表示される教育的な推測です。
67859676このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは
67869677しないでください。
67879678
67889679=item Modification of a read-only value attempted
67899680
67909681=begin original
67919682
67929683(F) You tried, directly or indirectly, to change the value of a
67939684constant. You didn't, of course, try "2 = 1", because the compiler
67949685catches that. But an easy way to do the same thing is:
67959686
67969687=end original
67979688
67989689(F) 直接、間接に関らず、定数値を変更しようとしました。
67999690もちろん、コンパイラが発見できる、"2 = 1" などといったことを
68009691したわけではありません。
68019692しかし、同じことは以下のようにしても起こります。
68029693
68039694 sub mod { $_[0] = 1 }
68049695 mod(2);
68059696
68069697=begin original
68079698
68089699Another way is to assign to a substr() that's off the end of the string.
68099700
68109701=end original
68119702
68129703substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。
68139704
68149705=begin original
68159706
68169707Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR>
68179708is aliased to a constant in the look I<LIST>:
68189709
68199710=end original
68209711
68219712もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の
68229713定数のエイリアスであるときに、I<VAR> に代入した時です:
68239714
68249715 $x = 1;
68259716 foreach my $n ($x, 2) {
68269717 $n *= 2; # modifies the $x, but fails on attempt to
68279718 } # modify the 2
68289719
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
68299730=item Modification of non-creatable array value attempted, %s
68309731
68319732=begin original
68329733
68339734(F) You tried to make an array value spring into existence, and the
68349735subscript was probably negative, even counting from end of the array
68359736backwards.
68369737
68379738=end original
68389739
68399740(F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の
68409741終わりから逆に数えたとしても、おかしな位置を指しているようです。
68419742
68429743=item Modification of non-creatable hash value attempted, %s
68439744
68449745=begin original
68459746
68469747(P) You tried to make a hash value spring into existence, and it
68479748couldn't be created for some peculiar reason.
68489749
68499750=end original
68509751
68519752(F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、
68529753できませんでした。
68539754
68549755=item Module name must be constant
68559756
68569757=begin original
68579758
68589759(F) Only a bare module name is allowed as the first argument to a "use".
68599760
68609761=end original
68619762
68629763(F) "use" の最初の引数としてモジュール名を示すのに許されているのは、
68639764裸の単語だけです。
68649765
68659766=item Module name required with -%c option
68669767
68679768=begin original
68689769
68699770(F) The C<-M> or C<-m> options say that Perl should load some module, but
6870you omitted the name of the module. Consult L<perlrun> for full details
9771you omitted the name of the module. Consult
6871about C<-M> and C<-m>.
9772L<perlrun|perlrun/-m[-]module> for full details about C<-M> and C<-m>.
68729773
68739774=end original
68749775
68759776C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを
68769777指示しますが、モジュール名がありませんでした。
6877C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。
9778C<-M> と C<-m> に関する完全な詳細については
9779L<perlrun|perlrun/-m[-]module> を参照してください。
68789780
68799781=item More than one argument to '%s' open
68809782
68819783=begin original
68829784
68839785(F) The C<open> function has been asked to open multiple files. This
68849786can happen if you are trying to open a pipe to a command that takes a
68859787list of arguments, but have forgotten to specify a piped open mode.
68869788See L<perlfunc/open> for details.
68879789
68889790=end original
68899791
68909792(F) C<open> 関数に、複数のファイルを開くように指定されました。
68919793これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ
68929794オープンモードを指定するのを忘れた時に起きます。
68939795詳細は L<perlfunc/open> を参照してください。
68949796
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
68959850=item msg%s not implemented
68969851
68979852=begin original
68989853
68999854(F) You don't have System V message IPC on your system.
69009855
69019856=end original
69029857
69039858(F) このシステムでは、System V メッセージ IPC は使えません。
69049859
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
69059885=item Multidimensional syntax %s not supported
69069886
69079887=begin original
69089888
69099889(W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>.
69109890They're written like C<$foo[1][2][3]>, as in C.
69119891
69129892=end original
69139893
69149894(W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。
69159895これは、C のように C<$foo[1][2][3]> のように書きます。
69169896
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
69179913=item '/' must follow a numeric type in unpack
69189914
69199915=begin original
69209916
69219917(F) You had an unpack template that contained a '/', but this did not
69229918follow some unpack specification producing a numeric value.
69239919See L<perlfunc/pack>.
69249920
69259921=end original
69269922
69279923(F) '/' を含む unpack テンプレートがありますが、これがなんらかの
69289924数値を生成する unpack 指定に引き続いていません。
69299925L<perlfunc/pack> を参照してください。
69309926
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
69319942=item "my sub" not yet implemented
69329943
69339944=begin original
69349945
69359946(F) Lexically scoped subroutines are not yet implemented. Don't try
69369947that yet.
69379948
69389949=end original
69399950
69409951(F) レキシカルスコープのサブルーチンはまだ実装されていません。
69419952まだ試さないでください。
69429953
6943=item "my" variable %s can't be in a package
9954=item "my" subroutine %s can't be in a package
69449955
69459956=begin original
69469957
6947(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
6948sense 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.
6949local() if you want to localize a package variable.
69509960
69519961=end original
69529962
6953(F) 字句スコープの変数パッケージ内に置かれませんので、
9963(F) レキシカルスコープサブルーチンはパッケージ内にないので、
69549964頭にパッケージ名を付けて宣言することは、無意味です。
6955パッケージ変数をローカル化したい場合には、local() を使ってください。
69569965
6957=item Name "%s::%s" used only once: possible typo
9966=item "my %s" used in sort comparison
69589967
69599968=begin original
69609969
6961(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.
6962If 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
6963again somehow to suppress the message. The C<our> declaration is
9972sort comparison block, and the variable had earlier been declared as a
6964provided for this purpose.
9973lexical variable. Either qualify the sort variable with the package
9974name, or rename the lexical variable.
69659975
69669976=end original
69679977
6968(W once) しばしばタイプミスによってユニクな変数して表示されます。
9978(W syntax) パッケ変数 $a $b はソート比較のために使われます。
6969ユニークな名前をを使う理由があるなら、もう一度どこかで参照することで
9979$a または $b をソト比較ブロックの中の C<< <=> >> または C<cmp> 演算子の
6970このメッセージを抑制できます。
9980オペランドとして使いましたが、この変数はその前にレキシカル変数として
6971C<our> 宣言がこの目的のために提供されています。
9981宣言されています。
9982ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
69729983
6973=begin original
9984=item "my" variable %s can't be in a package
69749985
6975NOTE: This warning detects symbols that have been used only once so $c, @c,
6976%c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered
6977the same; if a program uses $c only once but also uses any of the others it
6978will not trigger this warning.
6979
6980=end original
6981
6982注意: この警告はシンボルが一度だけしか使われていないことを検出するので、
6983$c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は
6984全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても
6985その他のものが使われている場合、警告は発生しません。
6986
6987=item \N in a character class must be a named character: \N{...}
6988
69899986=begin original
69909987
6991(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
6992character 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
6993its specialness: it matches almost everything, which is probably not
9990local() if you want to localize a package variable.
6994what you want.
69959991
69969992=end original
69979993
6998(F) C<[^\n]> とう新しい (5.12) C<\N> 意味は大かっこ文字クラス
9994(F) レキシカルスコープサブルーチンはパッケージ内にないので
6999妥当ではありません; 文字クラス内の C<.> がその特殊性失うの同じ理由です:
9995頭にパッケージ名付けて宣言するこは、無意味です
7000これはほとんど何にでもマチング、これはおそらくあなの求めてるもので
9996ケージ変数をローカル化したい場合に、local() を使ってください。
7001ないでしょう。
70029997
7003=item \N{NAME} must be resolved by the lexer
9998=item Name "%s::%s" used only once: possible typo
70049999
700510000=begin original
700610001
7007(F) When compiling a regex pattern, an unresolved named character or
10002(W once) Typographical errors often show up as unique variable
7008sequence was encountered. This can happen in any of several ways that
10003names. If you had a good reason for having a unique name, then
7009bypass the lexer, such as using single-quotish context, or an extra
10004just mention it again somehow to suppress the message. The C<our>
7010backslash in double-quotish:
10005declaration is also provided for this purpose.
701110006
701210007=end original
701310008
7014(F) 正規表現パーンをコンパルするき、解決されない名前付き文字や並びに
10009(W once) しばしばタイプミスによってユニークな変数名して表示されます。
7015遭遇しました。
10010ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで
7016れはシングルクォト風コンテキスト使ったり、ダブルクォート風
10011のメッセ抑制きます。
7017余分な逆スラッシュがあるような、字句解析器を回避する様々な方法かで
10012C<our> 宣言もこ目的のために提供さています。
7018起こります:
701910013
7020 $re = '\N{SPACE}'; # Wrong!
7021 $re = "\\N{SPACE}"; # Wrong!
7022 /$re/;
7023
702410014=begin original
702510015
7026Instead, 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.
702710024
702810025=end original
702910026
7030代わりに、単一クスラッュとダブクォート使ってください:
10027注意: こ警告は一度しか使われていないパケージンボルを検出します。
10028つまり、レキシカル変数はこの警告を引き起こさないと言うことです。
10029また、パッケージ変数 $c, @c, %c および
10030*c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は
10031同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも
10032その他のものも使っている場合、この警告は引き起こされません。
10033下線で始まるシンボルと特殊識別子
10034(L<perldata> 参照) を使ったシンボルはこの警告を免れます。
703110035
7032 $re = "\N{SPACE}"; # ok
10036=item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/
7033 /$re/;
703410037
703510038=begin original
703610039
7037The 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
7038components:
10041exactly 3 digits long. This helps catch some ambiguities. If your
10042constant is too short, add leading zeros, like
703910043
704010044=end original
704110045
7042字句析器はより小い構造からパターンを作ことによっも回避きます:
10046(F) S<C<(?[ ])>> の中で、8 進数としての定数は正確に 3 桁ある
10047必要があります。
10048これはある種の曖昧さを捕まえる助けになります。
10049定数が短い場合は、以下のように先頭に 0 を追加してください
704310050
7044 $re = '\N';
10051 (?[ [ \078 ] ]) # Syntax error!
7045 /${re}{SPACE}/; # Wrong!
10052 (?[ [ \0078 ] ]) # Works
10053 (?[ [ \007 8 ] ]) # Clearer
704610054
704710055=begin original
704810056
7049It'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
7050doesn'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:
705110060
705210061=end original
705310062
7054このように中間で造を分割すことよい考えはなく、ここでは動作しません
10063この構文が表現でき最大数 C<\777>
7055代わりに上述した解決法使ってください。
10064より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes>
10065使う必要があります。
10066二つの別々のものを意味しているなら、分ける必要があります:
705610067
7057=begin original
10068 (?[ [ \7776 ] ]) # Syntax error!
10069 (?[ [ \o{7776} ] ]) # One meaning
10070 (?[ [ \777 6 ] ]) # Another meaning
10071 (?[ [ \777 \006 ] ]) # Still another
705810072
7059Finally, the message also can happen under the C</x> regex modifier when the
7060C<\N> is separated by spaces from the C<{>, in which case, remove the spaces.
7061
7062=end original
7063
7064最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と
7065空白で区切られているときにもでます; この場合、空白を削除します。
7066
7067 /\N {SPACE}/x; # Wrong!
7068 /\N{SPACE}/x; # ok
7069
707010073=item Negative '/' count in unpack
707110074
707210075=begin original
707310076
707410077(F) The length count obtained from a length/code unpack operation was
707510078negative. See L<perlfunc/pack>.
707610079
707710080=end original
707810081
707910082(F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。
708010083L<perlfunc/pack> を参照してください。
708110084
708210085=item Negative length
708310086
708410087=begin original
708510088
708610089(F) You tried to do a read/write/send/recv operation with a buffer
708710090length that is less than 0. This is difficult to imagine.
708810091
708910092=end original
709010093
709110094(F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を
709210095行なおうとしました。
709310096これは想像しにくいことです。
709410097
709510098=item Negative offset to vec in lvalue context
709610099
709710100=begin original
709810101
709910102(F) When C<vec> is called in an lvalue context, the second argument must be
710010103greater than or equal to zero.
710110104
710210105=end original
710310106
710410107(F) 左辺値コンテキストで C<vec> が呼び出されたとき、
710510108二つ目の引数は 0 以上でなければなりません。
710610109
7107=item Nested quantifiers in regex; marked by <-- HERE in m/%s/
10110=item Negative repeat count does nothing
710810111
710910112=begin original
711010113
10114(W numeric) You tried to execute the
10115L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0
10116times, which doesn't make sense.
10117
10118=end original
10119
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
711110127(F) You can't quantify a quantifier without intervening parentheses.
7112So things like ** or +* or ?* are illegal. The <-- HERE shows in the
10128So things like ** or +* or ?* are illegal. The S<<-- HERE> shows
7113regular expression about where the problem was discovered.
10129whereabouts in the regular expression the problem was discovered.
711410130
711510131=end original
711610132
711710133(F) かっこを挟まないで、数量子を数量子で修飾することはできません。
711810134つまり、** や +* や ?* といったものは、正しくありません。
7119<-- HERE で正規表現のどこに問題が発見されたかを示しています。
10135S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
712010136
712110137=begin original
712210138
712310139Note that the minimal matching quantifiers, C<*?>, C<+?>, and
712410140C<??> appear to be nested quantifiers, but aren't. See L<perlre>.
712510141
712610142=end original
712710143
712810144最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように
712910145見えますが、そうではありません。
713010146L<perlre> を参照してください。
713110147
713210148=item %s never introduced
713310149
713410150=begin original
713510151
713610152(S internal) The symbol in question was declared but somehow went out of
713710153scope before it could possibly have been used.
713810154
713910155=end original
714010156
714110157(S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから
714210158外れてしまいました。
714310159
714410160=item next::method/next::can/maybe::next::method cannot find enclosing method
714510161
714610162=begin original
714710163
714810164(F) C<next::method> needs to be called within the context of a
714910165real method in a real package, and it could not find such a context.
715010166See L<mro>.
715110167
715210168=end original
715310169
715410170(F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる
715510171必要がありますが、そのようなコンテキストが見つけられませんでした。
715610172L<mro> を参照してください。
715710173
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
715810268=item No %s allowed while running setuid
715910269
716010270=begin original
716110271
716210272(F) Certain operations are deemed to be too insecure for a setuid or
716310273setgid script to even be allowed to attempt. Generally speaking there
716410274will be another way to do what you want that is, if not secure, at least
716510275securable. See L<perlsec>.
716610276
716710277=end original
716810278
716910279(F) ある種の操作は、setuid や setgid スクリプトにとって、
717010280やってみることはできても、とても安全なものとは考えられないものです。
717110281一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。
717210282L<perlsec> を参照してください。
717310283
717410284=item No code specified for -%c
717510285
717610286=begin original
717710287
717810288(F) Perl's B<-e> and B<-E> command-line options require an argument. If
717910289you want to run an empty program, pass the empty string as a separate
718010290argument or run a program consisting of a single 0 or 1:
718110291
718210292=end original
718310293
718410294(F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。
718510295空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の
7186102960 または 1 からなるプログラムを実行してください:
718710297
718810298 perl -e ""
718910299 perl -e0
719010300 perl -e1
719110301
719210302=item No comma allowed after %s
719310303
719410304=begin original
719510305
719610306(F) A list operator that has a filehandle or "indirect object" is
719710307not allowed to have a comma between that and the following arguments.
719810308Otherwise it'd be just another one of the arguments.
719910309
720010310=end original
720110311
720210312(F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、
720310313それらとそれ以降の引数の間にコンマを入れることはできません。
720410314そのようにした場合には、引数の一つとなってしまいます。
720510315
720610316=begin original
720710317
720810318One possible cause for this is that you expected to have imported
720910319a constant to your name space with B<use> or B<import> while no such
721010320importing took place, it may for example be that your operating
721110321system does not support that particular constant. Hopefully you did
721210322use an explicit import list for the constants you expect to see;
721310323please see L<perlfunc/use> and L<perlfunc/import>. While an
721410324explicit import list would probably have caught this error earlier
721510325it naturally does not remedy the fact that your operating system
721610326still does not support that constant. Maybe you have a typo in
721710327the constants of the symbol import list of B<use> or B<import> or in the
721810328constant name at the line where this error was triggered?
721910329
722010330=end original
722110331
722210332これの原因としてあり得るものの一つは、B<use> や B<import> を使って
722310333名前空間にインポートしたつもりの定数が実際にはインポートされていなかった
722410334場合です;
722510335例えば OS が特定の定数に対応していない場合などです。
722610336できればインポートしたい定数のリストを明示的に使ってください;
722710337L<perlfunc/use> と L<perlfunc/import> を参照して下さい。
722810338明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、
722910339そもそも OS がその定数に対応していないという問題を解決はしません。
723010340おそらく B<use> や B<import> のシンボルインポートリストの定数か、
723110341エラーを引き起こした行の定数名をタイプミスしたのでは?
723210342
723310343=item No command into which to pipe on command line
723410344
723510345=begin original
723610346
723710347(F) An error peculiar to VMS. Perl handles its own command line
723810348redirection, and found a '|' at the end of the command line, so it
723910349doesn't know where you want to pipe the output from this command.
724010350
724110351=end original
724210352
724310353(F) VMS に固有のエラーです。
724410354Perl は独自にコマンドラインのリダイレクトを扱っていて、
724510355コマンドラインの最後にに '|' を発見しましたが、
724610356このコマンドから出力をどこにパイプしたいのかがわかりませんでした。
724710357
724810358=item No DB::DB routine defined
724910359
725010360=begin original
725110361
725210362(F) The currently executing code was compiled with the B<-d> switch, but
725310363for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::>
725410364module) didn't define a routine to be called at the beginning of each
725510365statement.
725610366
725710367=end original
725810368
725910369(F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、
726010370何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)
726110371が各実行文の頭で呼び出すルーティンを定義していません。
726210372
726310373=item No dbm on this machine
726410374
726510375=begin original
726610376
726710377(P) This is counted as an internal error, because every machine should
726810378supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>.
726910379
727010380=end original
727110381
727210382(P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、
727310383どのマシンでも dbm が使えるはずだからです。
727410384L<SDBM_File> を参照してください。
727510385
727610386=item No DB::sub routine defined
727710387
727810388=begin original
727910389
728010390(F) The currently executing code was compiled with the B<-d> switch, but
728110391for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::>
728210392module) didn't define a C<DB::sub> routine to be called at the beginning
728310393of each ordinary subroutine call.
728410394
728510395=end original
728610396
728710397(F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、
728810398何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が
728910399各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを
729010400定義していませんでした。
729110401
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
729210414=item No directory specified for -I
729310415
729410416=begin original
729510417
729610418(F) The B<-I> command-line switch requires a directory name as part of the
729710419I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work.
729810420
729910421=end original
730010422
730110423(F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が
730210424必要です。
730310425例えば、B<-Ilib> としてください。
730410426B<-I lib> は動作しません。
730510427
730610428=item No error file after 2> or 2>> on command line
730710429
730810430=begin original
730910431
731010432(F) An error peculiar to VMS. Perl handles its own command line
731110433redirection, and found a '2>' or a '2>>' on the command line, but can't
731210434find the name of the file to which to write data destined for stderr.
731310435
731410436=end original
731510437
731610438(F) VMS に固有のエラーです。
731710439Perl は独自にコマンドラインのリダイレクトを扱っていて、
731810440コマンドラインに '2>' や '2>>' を発見しましたが、
731910441標準エラーとしてデータを書き込むファイル名が見つかりませんでした。
732010442
732110443=item No group ending character '%c' found in template
732210444
732310445=begin original
732410446
732510447(F) A pack or unpack template has an opening '(' or '[' without its
732610448matching counterpart. See L<perlfunc/pack>.
732710449
732810450=end original
732910451
733010452(F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、
733110453対応する閉じかっこがありません。
733210454L<perlfunc/pack> を参照してください。
733310455
733410456=item No input file after < on command line
733510457
733610458=begin original
733710459
733810460(F) An error peculiar to VMS. Perl handles its own command line
733910461redirection, and found a '<' on the command line, but can't find the
734010462name of the file from which to read data for stdin.
734110463
734210464=end original
734310465
734410466(F) VMS に固有のエラーです。
734510467Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに
734610468'<' を発見しましたが、標準入力として読み込むためのファイル名が
734710469見つかりませんでした。
734810470
734910471=item No next::method '%s' found for %s
735010472
735110473=begin original
735210474
735310475(F) C<next::method> found no further instances of this method name
735410476in the remaining packages of the MRO of this class. If you don't want
735510477it throwing an exception, use C<maybe::next::method>
735610478or C<next::can>. See L<mro>.
735710479
735810480=end original
735910481
736010482(F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この
7361メソッド名のインスタンスがもうありません。
10483メソッド名の実体がもうありません。
736210484もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を
736310485使ってください。
736410486L<mro> を参照してください。
736510487
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
736610597=item "no" not allowed in expression
736710598
736810599=begin original
736910600
737010601(F) The "no" keyword is recognized and executed at compile time, and
737110602returns no useful value. See L<perlmod>.
737210603
737310604=end original
737410605
737510606(F) "no" キーワードは、コンパイル時に認識され、実行されるもので、
737610607意味のある値を返しません。
737710608L<perlmod> を参照してください。
737810609
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
737910625=item No output file after > on command line
738010626
738110627=begin original
738210628
738310629(F) An error peculiar to VMS. Perl handles its own command line
738410630redirection, and found a lone '>' at the end of the command line, so it
738510631doesn't know where you wanted to redirect stdout.
738610632
738710633=end original
738810634
738910635(F) VMS に固有のエラーです。
739010636Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの
739110637最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが
739210638わかりませんでした。
739310639
739410640=item No output file after > or >> on command line
739510641
739610642=begin original
739710643
739810644(F) An error peculiar to VMS. Perl handles its own command line
739910645redirection, and found a '>' or a '>>' on the command line, but can't
740010646find the name of the file to which to write data destined for stdout.
740110647
740210648=end original
740310649
740410650(F) VMS に固有のエラーです。
740510651Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに
740610652'>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が
740710653見つかりませんでした。
740810654
10655=item No package name allowed for subroutine %s in "our"
10656
740910657=item No package name allowed for variable %s in "our"
741010658
741110659=begin original
741210660
7413(F) Fully qualified variable names are not allowed in "our"
10661(F) Fully qualified subroutine and variable names are not allowed in "our"
7414declarations, because that doesn't make much sense under existing
10662declarations, because that doesn't make much sense under existing rules.
7415semantics. Such syntax is reserved for future extensions.
10663Such syntax is reserved for future extensions.
741610664
741710665=end original
741810666
7419(F) 完全修飾変数名は "our" 宣言では使えません;
10667(F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません;
742010668なぜなら現在の動作ではほとんど意味がないからです。
742110669そのような文法は将来の拡張に予約されています。
742210670
742310671=item No Perl script found in input
742410672
742510673=begin original
742610674
742710675(F) You called C<perl -x>, but no line was found in the file beginning
742810676with #! and containing the word "perl".
742910677
743010678=end original
743110679
743210680(F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、
743310681"perl" という語を含む行が見つかりませんでした。
743410682
743510683=item No setregid available
743610684
743710685=begin original
743810686
743910687(F) Configure didn't find anything resembling the setregid() call for
744010688your system.
744110689
744210690=end original
744310691
744410692(F) Configure が、システム上に setregid() のような関数を
744510693見つけられませんでした。
744610694
744710695=item No setreuid available
744810696
744910697=begin original
745010698
745110699(F) Configure didn't find anything resembling the setreuid() call for
745210700your system.
745310701
745410702=end original
745510703
745610704(F) Configure が、システム上に setreuid() のような関数を
745710705見つけられませんでした。
745810706
10707=item No such class %s
10708
10709=begin original
10710
10711(F) You provided a class qualifier in a "my", "our" or "state"
10712declaration, but this class doesn't exist at this point in your program.
10713
10714=end original
10715
10716(F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された
10717クラスは現時点では存在しません。
10718
745910719=item No such class field "%s" in variable %s of type %s
746010720
746110721=begin original
746210722
746310723(F) You tried to access a key from a hash through the indicated typed
746410724variable but that key is not allowed by the package of the same type.
746510725The indicated package has restricted the set of allowed keys using the
746610726L<fields> pragma.
746710727
746810728=end original
746910729
747010730(F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、
747110731そのキーは同じ型のパッケージによって許可されていません。
747210732示されているパッケージは L<fields> プラグマによって許可されるキーの集合が
747310733制限されています。
747410734
7475=item No such class %s
7476
7477=begin original
7478
7479(F) You provided a class qualifier in a "my", "our" or "state"
7480declaration, but this class doesn't exist at this point in your program.
7481
7482=end original
7483
7484(F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された
7485クラスは現時点では存在しません。
7486
748710735=item No such hook: %s
748810736
748910737=begin original
749010738
749110739(F) You specified a signal hook that was not recognized by Perl.
749210740Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks.
749310741
749410742=end original
749510743
749610744(F) Perl が認識できないシグナルフックを指定しました。
749710745現在のところ、Perl は有効なシグナルフックとして
749810746C<__DIE__> と C<__WARN__> を受け付けます。
749910747
750010748=item No such pipe open
750110749
750210750=begin original
750310751
750410752(P) An error peculiar to VMS. The internal routine my_pclose() tried to
750510753close a pipe which hadn't been opened. This should have been caught
750610754earlier as an attempt to close an unopened filehandle.
750710755
750810756=end original
750910757
751010758(P) VMS に固有のエラーです。
751110759内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。
751210760これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに
751310761捕捉されるべきものです。
751410762
751510763=item No such signal: SIG%s
751610764
751710765=begin original
751810766
751910767(W signal) You specified a signal name as a subscript to %SIG that was
752010768not recognized. Say C<kill -l> in your shell to see the valid signal
752110769names on your system.
752210770
752310771=end original
752410772
752510773(W signal) %SIG の添字として認識できないシグナル名を指定しました。
752610774お使いのシステムで使用可能なシグナル名を調べるには、
752710775シェル上で C<kill -l> などとしてください。
752810776
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
752910791=item Not a CODE reference
753010792
753110793=begin original
753210794
753310795(F) Perl was trying to evaluate a reference to a code value (that is, a
753410796subroutine), but found a reference to something else instead. You can
753510797use the ref() function to find out what kind of ref it really was. See
753610798also L<perlref>.
753710799
753810800=end original
753910801
754010802(F) Perl がコード値 (サブルーチン) へのリファレンスを
754110803評価しようとしましたが、別のものへのリファレンスでした。
754210804実際にどんな種類のリファレンスかを調べるには、ref() 関数を
754310805使うことができます。
754410806L<perlref> も参照してください。
754510807
7546=item Not a format reference
7547
7548=begin original
7549
7550(F) I'm not sure how you managed to generate a reference to an anonymous
7551format, but this indicates you did, and that it didn't exist.
7552
7553=end original
7554
7555(F) どのように無名のフォーマットへのリファレンスを生成したのかは
7556わかりませんが、このメッセージは、それが指定されて、
7557存在しなかったことを示します。
7558
755910808=item Not a GLOB reference
756010809
756110810=begin original
756210811
756310812(F) Perl was trying to evaluate a reference to a "typeglob" (that is, a
756410813symbol table entry that looks like C<*foo>), but found a reference to
756510814something else instead. You can use the ref() function to find out what
756610815kind of ref it really was. See L<perlref>.
756710816
756810817=end original
756910818
757010819(F) Perl が「型グロブ」(これは、C<*foo> のような
757110820シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、
757210821別のものへのリファレンスでした。
757310822実際にどんな種類のリファレンスかを調べるには、ref() 関数を
757410823使うことができます。
757510824L<perlref> を参照してください。
757610825
757710826=item Not a HASH reference
757810827
757910828=begin original
758010829
758110830(F) Perl was trying to evaluate a reference to a hash value, but found a
758210831reference to something else instead. You can use the ref() function to
758310832find out what kind of ref it really was. See L<perlref>.
758410833
758510834=end original
758610835
758710836(F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、
758810837別のものへのリファレンスでした。
758910838実際にどんな種類のリファレンスかを調べるには、ref() 関数を
759010839使うことができます。
759110840L<perlref> を参照してください。
759210841
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
759310864=item Not an ARRAY reference
759410865
759510866=begin original
759610867
759710868(F) Perl was trying to evaluate a reference to an array value, but found
759810869a reference to something else instead. You can use the ref() function
759910870to find out what kind of ref it really was. See L<perlref>.
760010871
760110872=end original
760210873
760310874(F) Perl が配列値へのリファレンスを評価しようとしましたが、
760410875別のものへのリファレンスでした。
760510876実際にどんな種類のリファレンスかを調べるには、ref() 関数を
760610877使うことができます。
760710878L<perlref> を参照してください。
760810879
7609=item Not an unblessed ARRAY reference
7610
7611=begin original
7612
7613(F) You passed a reference to a blessed array to C<push>, C<shift> or
7614another array function. These only accept unblessed array references
7615or arrays beginning explicitly with C<@>.
7616
7617=end original
7618
7619(F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを
7620渡しました。
7621これらは bless されていない配列リファレンスか明示的に C<@> で始まる
7622配列のみを受け付けます。
7623
762410880=item Not a SCALAR reference
762510881
762610882=begin original
762710883
762810884(F) Perl was trying to evaluate a reference to a scalar value, but found
762910885a reference to something else instead. You can use the ref() function
763010886to find out what kind of ref it really was. See L<perlref>.
763110887
763210888=end original
763310889
763410890(F) Perl がスカラ値へのリファレンスを評価しようとしましたが、
763510891別のものへのリファレンスでした。
763610892実際にどんな種類のリファレンスかを調べるには、ref() 関数を
763710893使うことができます。
763810894L<perlref> を参照してください。
763910895
764010896=item Not a subroutine reference
764110897
764210898=begin original
764310899
764410900(F) Perl was trying to evaluate a reference to a code value (that is, a
764510901subroutine), but found a reference to something else instead. You can
764610902use the ref() function to find out what kind of ref it really was. See
764710903also L<perlref>.
764810904
764910905=end original
765010906
765110907(F) Perl がコード値 (サブルーチン) へのリファレンスを
765210908評価しようとしましたが、別のものへのリファレンスでした。
765310909実際にどんな種類のリファレンスかを調べるには、ref() 関数を
765410910使うことができます。
765510911L<perlref> も参照してください。
765610912
765710913=item Not a subroutine reference in overload table
765810914
765910915=begin original
766010916
766110917(F) An attempt was made to specify an entry in an overloading table that
766210918doesn't somehow point to a valid subroutine. See L<overload>.
766310919
766410920=end original
766510921
766610922(F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを
766710923指定しようとしました。
766810924L<overload> を参照してください。
766910925
767010926=item Not enough arguments for %s
767110927
767210928=begin original
767310929
767410930(F) The function requires more arguments than you specified.
767510931
767610932=end original
767710933
767810934(F) この関数は、指定したよりも多くの引数を必要とします。
767910935
768010936=item Not enough format arguments
768110937
768210938=begin original
768310939
768410940(W syntax) A format specified more picture fields than the next line
768510941supplied. See L<perlform>.
768610942
768710943=end original
768810944
768910945(W syntax) 指定したフォーマットに、次の行で指定したより多くの
769010946ピクチャフィールドがあります。
769110947L<perlform> を参照してください。
769210948
769310949=item %s: not found
769410950
769510951=begin original
769610952
769710953(A) You've accidentally run your script through the Bourne shell instead
769810954of Perl. Check the #! line, or manually feed your script into Perl
769910955yourself.
770010956
770110957=end original
770210958
770310959(A) スクリプトを perl ではなく Bourne shell で実行しようとしました。
7704#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
10960#! 行を確認するか、スクリプトを手動で Perl に渡してください。
770510961
770610962=item no UTC offset information; assuming local time is UTC
770710963
770810964=begin original
770910965
771010966(S) A warning peculiar to VMS. Perl was unable to find the local
771110967timezone offset, so it's assuming that local system time is equivalent
771210968to UTC. If it's not, define the logical name
771310969F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which
771410970need to be added to UTC to get local time.
771510971
771610972=end original
771710973
771810974(S) VMS に固有の警告です。
771910975Perl はローカルタイムゾーンオフセットを見つけることができなかったので、
772010976ローカルシステムタイムは UTC と等価であると仮定します。
772110977もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル
772210978時刻を得るために加える必要がある秒数を定義してください。
772310979
7724=item Non-octal character '%c'. Resolved as "%s"
7725
7726=begin original
7727
7728(W digit) In parsing an octal numeric constant, a character was
7729unexpectedly encountered that isn't octal. The resulting value
7730is as indicated.
7731
7732=end original
7733
7734(W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。
7735結果の値は示された通りになります。
7736
7737=item Non-string passed as bitmask
7738
7739=begin original
7740
7741(W misc) A number has been passed as a bitmask argument to select().
7742Use the vec() function to construct the file descriptor bitmasks for
7743select. See L<perlfunc/select>.
7744
7745=end original
7746
7747(W misc) select() のビットマスク引数として数値が渡されました。
7748select のためのファイル記述子のビットマスクを構成するには、
7749vec() 関数を使ってください。
7750L<perlfunc/select> を参照してください。
7751
7752=item Null filename used
7753
7754=begin original
7755
7756(F) You can't require the null filename, especially because on many
7757machines that means the current directory! See L<perlfunc/require>.
7758
7759=end original
7760
7761(F) 特に、多くのマシンでカレントディレクトリを意味するため、
7762空のファイル名は require できません!
7763L<perlfunc/require> を参照してください。
7764
776510980=item NULL OP IN RUN
776610981
776710982=begin original
776810983
776910984(S debugging) Some internal routine called run() with a null opcode
777010985pointer.
777110986
777210987=end original
777310988
777410989(S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を
777510990呼んだものがあります。
777610991
777710992=item Null picture in formline
777810993
777910994=begin original
778010995
778110996(F) The first argument to formline must be a valid format picture
778210997specification. It was found to be empty, which probably means you
778310998supplied it an uninitialized value. See L<perlform>.
778410999
778511000=end original
778611001
778711002(F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ
778811003なりません。
778911004これが空でした; おそらく初期化していない値を指定したのでしょう。
779011005L<perlform> を参照してください。
779111006
7792=item Null realloc
7793
7794=begin original
7795
7796(P) An attempt was made to realloc NULL.
7797
7798=end original
7799
7800(P) realloc NULL を行なおうとしました。
7801
7802=item NULL regexp argument
7803
7804=begin original
7805
7806(P) The internal pattern matching routines blew it big time.
7807
7808=end original
7809
7810(P) 内部パターンマッチルーティンが、大当たりです。
7811
781211007=item NULL regexp parameter
781311008
781411009=begin original
781511010
781611011(P) The internal pattern matching routines are out of their gourd.
781711012
781811013=end original
781911014
782011015(P) 内部パターンマッチルーティンが、狂っています。
782111016
782211017=item Number too long
782311018
782411019=begin original
782511020
782611021(F) Perl limits the representation of decimal numbers in programs to
782711022about 250 characters. You've exceeded that length. Future
782811023versions of Perl are likely to eliminate this arbitrary limitation. In
782911024the meantime, try using scientific notation (e.g. "1e6" instead of
783011025"1_000_000").
783111026
783211027=end original
783311028
783411029Perl はプログラム中での十進数の表現を 250 文字に制限しています。
783511030この制限を越えました。
783611031Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。
783711032それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を
783811033使用してください。
783911034
784011035=item Number with no digits
784111036
784211037=begin original
784311038
784411039(F) Perl was looking for a number but found nothing that looked like
784511040a number. This happens, for example with C<\o{}>, with no number between
784611041the braces.
784711042
784811043=end original
784911044
785011045(F) Perl は数字を探していましたが数字に見えないものが見つかりました。
785111046これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。
785211047
11048=item Numeric format result too large
11049
11050=begin original
11051
11052(F) The length of the result of a numeric format supplied to sprintf()
11053or printf() would have been too large for the underlying C function to
11054report. This limit is typically 2GB.
11055
11056=end original
11057
11058(F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、
11059報告するための基礎となる C 関数にとって大きすぎました。
11060この制限は典型的には 2GB です。
11061
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
785311078=item Octal number > 037777777777 non-portable
785411079
785511080=begin original
785611081
785711082(W portable) The octal number you specified is larger than 2**32-1
785811083(4294967295) and therefore non-portable between systems. See
785911084L<perlport> for more on portability concerns.
786011085
786111086=end original
786211087
786311088(W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、
786411089システム間で移植性がありません。
786511090移植性に関するさらなる考察については L<perlport> を参照してください。
786611091
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
786711120=item Odd number of arguments for overload::constant
786811121
786911122=begin original
787011123
787111124(W overload) The call to overload::constant contained an odd number of
787211125arguments. The arguments should come in pairs.
787311126
787411127=end original
787511128
787611129(W overload) 奇数の数の引数で overload::constant を呼び出しました。
787711130引数はペアになっている必要があります。
787811131
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
787911153=item Odd number of elements in anonymous hash
788011154
788111155=begin original
788211156
788311157(W misc) You specified an odd number of elements to initialize a hash,
788411158which is odd, because hashes come in key/value pairs.
788511159
788611160=end original
788711161
788811162(W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、
788911163key/value のペアで与えられますから、これは奇妙なことです。
789011164
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
789111179=item Odd number of elements in hash assignment
789211180
789311181=begin original
789411182
789511183(W misc) You specified an odd number of elements to initialize a hash,
789611184which is odd, because hashes come in key/value pairs.
789711185
789811186=end original
789911187
790011188(W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、
790111189key/value のペアで与えられますから、これは奇妙なことです。
790211190
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
790311208=item Offset outside string
790411209
790511210=begin original
790611211
7907(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
790811213with an offset pointing outside the buffer. This is difficult to
790911214imagine. The sole exceptions to this are that zero padding will
791011215take place when going past the end of the string when either
791111216C<sysread()>ing a file, or when seeking past the end of a scalar opened
7912for 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
791311218with real files).
791411219
791511220=end original
791611221
7917(F)(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を
11222(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を
791811223しようとしました。
791911224これは想像しにくいことです。
792011225唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、
792111226(将来の読み込みと実際のファイルの振る舞いを模倣することを期待して)
792211227I/O のためにオープンされているスカラの最後を越えてシークしたときに、
7923112280 でパッディングされたときです。
792411229
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
792511283=item %s() on unopened %s
792611284
792711285=begin original
792811286
792911287(W unopened) An I/O operation was attempted on a filehandle that was
793011288never initialized. You need to do an open(), a sysopen(), or a socket()
793111289call, or call a constructor from the FileHandle package.
793211290
793311291=end original
793411292
793511293(W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。
793611294open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの
793711295コンストラクタを呼び出す必要があります。
793811296
793911297=item -%s on unopened filehandle %s
794011298
794111299=begin original
794211300
794311301(W unopened) You tried to invoke a file test operator on a filehandle
794411302that isn't open. Check your control flow. See also L<perlfunc/-X>.
794511303
794611304=end original
794711305
794811306(W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を
794911307使おうとしました。
795011308制御フローをチェックしてください。
795111309L<perlfunc/-X> も参照してください。
795211310
795311311=item oops: oopsAV
795411312
795511313=begin original
795611314
795711315(S internal) An internal warning that the grammar is screwed up.
795811316
795911317=end original
796011318
796111319(S internal) 文法がおかしくなったことを示す内部警告です。
796211320
796311321=item oops: oopsHV
796411322
796511323=begin original
796611324
796711325(S internal) An internal warning that the grammar is screwed up.
796811326
796911327=end original
797011328
797111329(S internal) 文法がおかしくなったことを示す内部警告です。
797211330
7973=item Opening dirhandle %s also as a file
11331=item Operand with no preceding operator in regex; marked by S<<-- HERE> in
11332m/%s/
797411333
797511334=begin original
797611335
7977(W io, deprecated) You used open() to associate a filehandle to
11336(F) You wrote something like
7978a symbol (glob or scalar) that already holds a dirhandle.
7979Although legal, this idiom might render your code confusing
7980and is deprecated.
798111337
798211338=end original
798311339
7984(W io, deprecated) open() で、既にディレクトリハンドル保持ているシンボル
11340(F) 次のようなもの書きまた:
7985(グロブまたはスカラ)にファイルハンドルを関連付けようとしました。
7986これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
7987あるので非推奨です。
798811341
7989=item Opening filehandle %s also as a directory
11342 (?[ \p{Digit} \p{Thai} ])
799011343
799111344=begin original
799211345
7993(W io, deprecated) You used opendir() to associate a dirhandle to
11346There are two operands, but no operator giving how you want to combine
7994a symbol (glob or scalar) that already holds a filehandle.
11347them.
7995Although legal, this idiom might render your code confusing
7996and is deprecated.
799711348
799811349=end original
799911350
8000(W io, deprecated) すでにファイルハンド保持しているシンボル
11351二つのオペランドがありますが、それどのように結びつけたかを指定す
8001(グロブたはスカラ)にディレクトリハンドルを関連付けるために
11352演算子がありせん。
8002opendir() を使いました。
8003これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
8004あるので非推奨です。
800511353
800611354=item Operation "%s": no method found, %s
800711355
800811356=begin original
800911357
801011358(F) An attempt was made to perform an overloaded operation for which no
801111359handler was defined. While some handlers can be autogenerated in terms
801211360of other handlers, there is no default handler for any operation, unless
801311361the C<fallback> overloading key is specified to be true. See L<overload>.
801411362
801511363=end original
801611364
801711365(F) ハンドラが定義されていないオーバーロード操作が行われました。
801811366一部のハンドラは他のハンドラから自動生成されますが、C<fallback>
801911367オーバーロードキーが真に指定されていない限り、どの動作にも
802011368デフォルトのハンドラはありません。
802111369L<overload> を参照してください。
802211370
802311371=item Operation "%s" returns its argument for non-Unicode code point 0x%X
802411372
802511373=begin original
802611374
8027(W utf8, non_unicode) You performed an operation requiring Unicode
11375(S non_unicode) You performed an operation requiring Unicode rules
8028semantics on a code point that is not in Unicode, so what it should do
11376on a code point that is not in Unicode, so what it should do is not
8029is not defined. Perl has chosen to have it do nothing, and warn you.
11377defined. Perl has chosen to have it do nothing, and warn you.
803011378
803111379=end original
803211380
8033(W utf8, non_unicode) Unicode ではない符号位置に対して、Unicode の意味論
11381(S non_unicode) Unicode ではない符号位置に対して、Unicode の規則
803411382必要な操作を実行しました; 何をするべきかは未定義です。
803511383Perl は何もしないことを選択し、警告を出します。
803611384
803711385=begin original
803811386
803911387If the operation shown is "ToFold", it means that case-insensitive
804011388matching in a regular expression was done on the code point.
804111389
804211390=end original
804311391
804411392示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが
804511393その符号位置に対して行われたということです。
804611394
804711395=begin original
804811396
804911397If you know what you are doing you can turn off this warning by
805011398C<no warnings 'non_unicode';>.
805111399
805211400=end original
805311401
805411402自分で何をしているのかが分かっているなら、
805511403C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。
805611404
805711405=item Operation "%s" returns its argument for UTF-16 surrogate U+%X
805811406
805911407=begin original
806011408
8061(W utf8, surrogate) You performed an operation requiring Unicode
11409(S surrogate) You performed an operation requiring Unicode
8062semantics on a Unicode surrogate. Unicode frowns upon the use of
11410rules on a Unicode surrogate. Unicode frowns upon the use
8063surrogates for anything but storing strings in UTF-16, but semantics
11411of surrogates for anything but storing strings in UTF-16, but
8064are (reluctantly) defined for the surrogates, and they are to do
11412rules are (reluctantly) defined for the surrogates, and
8065nothing for this operation. Because the use of surrogates can be
11413they are to do nothing for this operation. Because the use of
8066dangerous, Perl warns.
11414surrogates can be dangerous, Perl warns.
806711415
806811416=end original
806911417
8070(W utf8, surrogate) Unicode サロゲートに対して Unicode の意味論が必要な
11418(S surrogate) Unicode サロゲートに対して Unicode の規則が必要な
807111419操作を実行しました。
807211420Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに
8073難色を示しますが、意味論は(渋々)サロゲートのために定義されていて、それは
11421難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは
807411422この操作に対して何もしないことです。
807511423サロゲートの使用は危険かも知れないので、Perl は警告します。
807611424
807711425=begin original
807811426
807911427If the operation shown is "ToFold", it means that case-insensitive
808011428matching in a regular expression was done on the code point.
808111429
808211430=end original
808311431
808411432示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが
808511433その符号位置に対して行われたということです。
808611434
808711435=begin original
808811436
808911437If you know what you are doing you can turn off this warning by
809011438C<no warnings 'surrogate';>.
809111439
809211440=end original
809311441
809411442自分で何をしているのかが分かっているなら、
809511443C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
809611444
809711445=item Operator or semicolon missing before %s
809811446
809911447=begin original
810011448
810111449(S ambiguous) You used a variable or subroutine call where the parser
810211450was expecting an operator. The parser has assumed you really meant to
810311451use an operator, but this is highly likely to be incorrect. For
810411452example, if you say "*foo *foo" it will be interpreted as if you said
810511453"*foo * 'foo'".
810611454
810711455=end original
810811456
810911457(S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン
811011458呼び出しが使われました。
811111459パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、
811211460これは大抵正しくありません。
811311461例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。
811411462
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
811511480=item "our" variable %s redeclared
811611481
811711482=begin original
811811483
8119(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
812011485in the current lexical scope.
812111486
812211487=end original
812311488
8124(W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を
11489(W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を
812511490宣言しているようです。
812611491
812711492=item Out of memory!
812811493
812911494=begin original
813011495
813111496(X) The malloc() function returned 0, indicating there was insufficient
813211497remaining memory (or virtual memory) to satisfy the request. Perl has
813311498no option but to exit immediately.
813411499
813511500=end original
813611501
813711502(X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が
813811503取得できないことを示す、0 を malloc() 関数が返しました。
813911504Perl は直ちに終了するしかありませんでした。
814011505
814111506=begin original
814211507
814311508At least in Unix you may be able to get past this by increasing your
814411509process datasize limits: in csh/tcsh use C<limit> and
814511510C<limit datasize n> (where C<n> is the number of kilobytes) to check
814611511the current limits and change them, and in ksh/bash/zsh use C<ulimit -a>
814711512and C<ulimit -d n>, respectively.
814811513
814911514=end original
815011515
815111516少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって
815211517これを回避することが可能です:
815311518csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには
815411519C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください;
815511520ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。
815611521
815711522=item Out of memory during %s extend
815811523
815911524=begin original
816011525
816111526(X) An attempt was made to extend an array, a list, or a string beyond
816211527the largest possible memory allocation.
816311528
816411529=end original
816511530
816611531(X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。
816711532
816811533=item Out of memory during "large" request for %s
816911534
817011535=begin original
817111536
817211537(F) The malloc() function returned 0, indicating there was insufficient
817311538remaining memory (or virtual memory) to satisfy the request. However,
817411539the request was judged large enough (compile-time default is 64K), so a
817511540possibility to shut down by trapping this error is granted.
817611541
817711542=end original
817811543
817911544(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ
818011545(または仮想メモリ)が不十分であることを示しています。
818111546しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、
818211547このエラーをトラップすることでシャットダウンできる可能性があります。
818311548
818411549=item Out of memory during request for %s
818511550
818611551=begin original
818711552
818811553(X)(F) The malloc() function returned 0, indicating there was
818911554insufficient remaining memory (or virtual memory) to satisfy the
819011555request.
819111556
819211557=end original
819311558
819411559(X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ
819511560(または仮想メモリ)が不十分であることを示しています。
819611561
819711562=begin original
819811563
819911564The request was judged to be small, so the possibility to trap it
820011565depends on the way perl was compiled. By default it is not trappable.
820111566However, if compiled for this, Perl may use the contents of C<$^M> as an
820211567emergency pool after die()ing with this message. In this case the error
820311568is trappable I<once>, and the error message will include the line and file
820411569where the failed request happened.
820511570
820611571=end original
820711572
820811573要求は小さいものと判定されたので、これをトラップできる確率は perl が
820911574どのようにコンパイルされたかに依存します。
821011575デフォルトではこれはトラップできません。
821111576しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に
821211577die() した後の非常用エリアとして C<$^M> の内容を使います。
821311578この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した
821411579要求が起きたファイルと行番号を含んでいます。
821511580
821611581=item Out of memory during ridiculously large request
821711582
821811583=begin original
821911584
822011585(F) You can't allocate more than 2^31+"small amount" bytes. This error
822111586is most likely to be caused by a typo in the Perl program. e.g.,
822211587C<$arr[time]> instead of C<$arr[$time]>.
822311588
822411589=end original
822511590
822611591(F) 2^31+「少量」バイト以上割り当てることはできません。
822711592このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。
822811593例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。
822911594
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
823011607=item Out of memory for yacc stack
823111608
823211609=begin original
823311610
823411611(F) The yacc parser wanted to grow its stack so it could continue
823511612parsing, but realloc() wouldn't give it more memory, virtual or
823611613otherwise.
823711614
823811615=end original
823911616
824011617(F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、
824111618realloc() が仮想やその他のメモリを確保できませんでした。
824211619
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
824311650=item '.' outside of string in pack
824411651
824511652=begin original
824611653
824711654(F) The argument to a '.' in your template tried to move the working
824811655position to before the start of the packed string being built.
824911656
825011657=end original
825111658
825211659(F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも
825311660前に作業位置を移動しようとしました。
825411661
825511662=item '@' outside of string in unpack
825611663
825711664=begin original
825811665
825911666(F) You had a template that specified an absolute position outside
826011667the string being unpacked. See L<perlfunc/pack>.
826111668
826211669=end original
826311670
826411671(F) unpack される文字列の外に絶対位置指定している、
826511672テンプレートを指定しました。
826611673L<perlfunc/pack> を参照してください。
826711674
826811675=item '@' outside of string with malformed UTF-8 in unpack
826911676
827011677=begin original
827111678
827211679(F) You had a template that specified an absolute position outside
827311680the string being unpacked. The string being unpacked was also invalid
827411681UTF-8. See L<perlfunc/pack>.
827511682
827611683=end original
827711684
827811685(F) unpack される文字列の外に絶対位置指定している、
827911686テンプレートを指定しました。
828011687unpack された文字列は不正な UTF-8 でもあります。
828111688L<perlfunc/pack> を参照してください。
828211689
828311690=item overload arg '%s' is invalid
828411691
828511692=begin original
828611693
828711694(W overload) The L<overload> pragma was passed an argument it did not
828811695recognize. Did you mistype an operator?
828911696
829011697=end original
829111698
829211699(W overload) L<overload> プラグマに、認識できない引数が渡されました。
829311700演算子をタイプミスしましたか?
829411701
829511702=item Overloaded dereference did not return a reference
829611703
829711704=begin original
829811705
829911706(F) An object with an overloaded dereference operator was dereferenced,
830011707but the overloaded operation did not return a reference. See
830111708L<overload>.
830211709
830311710=end original
830411711
830511712(F) オーバーロードされたデリファレンス演算子のオブジェクトが
830611713デリファレンスされましたが、オーバーロード演算がリファレンスを
830711714返しませんでした。
830811715L<overload> を参照してください。
830911716
831011717=item Overloaded qr did not return a REGEXP
831111718
831211719=begin original
831311720
831411721(F) An object with a C<qr> overload was used as part of a match, but the
831511722overloaded operation didn't return a compiled regexp. See L<overload>.
831611723
831711724=end original
831811725
831911726(F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として
832011727使われましたが、オーバーロード演算がコンパイルされた正規表現を
832111728返しませんでした。
832211729L<overload> を参照してください。
832311730
832411731=item %s package attribute may clash with future reserved word: %s
832511732
832611733=begin original
832711734
832811735(W reserved) A lowercase attribute name was used that had a
832911736package-specific handler. That name might have a meaning to Perl itself
833011737some day, even though it doesn't yet. Perhaps you should use a
833111738mixed-case attribute name, instead. See L<attributes>.
833211739
833311740=end original
833411741
833511742(W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。
833611743この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。
833711744おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。
833811745L<attributes> を参照してください。
833911746
834011747=item pack/unpack repeat count overflow
834111748
834211749=begin original
834311750
834411751(F) You can't specify a repeat count so large that it overflows your
834511752signed integers. See L<perlfunc/pack>.
834611753
834711754=end original
834811755
834911756(F) 繰り返し回数として符号付き整数をオーバーフローするような
835011757値は指定できません。
835111758L<perlfunc/pack> を参照してください。
835211759
835311760=item page overflow
835411761
835511762=begin original
835611763
835711764(W io) A single call to write() produced more lines than can fit on a
835811765page. See L<perlform>.
835911766
836011767=end original
836111768
836211769(W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が
836311770できました。
836411771L<perlform> を参照してください。
836511772
836611773=item panic: %s
836711774
836811775=begin original
836911776
837011777(P) An internal error.
837111778
837211779=end original
837311780
837411781(P) 内部エラーです。
837511782
837611783=item panic: attempt to call %s in %s
837711784
837811785=begin original
837911786
838011787(P) One of the file test operators entered a code branch that calls
838111788an ACL related-function, but that function is not available on this
838211789platform. Earlier checks mean that it should not be possible to
838311790enter this branch on this platform.
838411791
838511792=end original
838611793
838711794(P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に
838811795入りましたが、この関数はこのプラットフォームでは利用できません。
838911796より早いチェックは、このプラットフォームのこの分岐に入ることがないように
839011797するべきことを意味します。
839111798
8392=item panic: ck_grep, type=%u
11799=item panic: child pseudo-process was never scheduled
839311800
839411801=begin original
839511802
8396(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.
839711806
839811807=end original
839911808
8400(P) grep をコンパイルしようとして、内部一貫性チェ
11809(P) Windowsでiスレド実装の子疑似プロセスが許された時間間隔の間
8401かりました
11810スケジューリングされなかたので、適切に初期化されなった可能性がありま
840211811
8403=item panic: ck_split, type=%u
11812=item panic: ck_grep, type=%u
840411813
840511814=begin original
840611815
8407(P) Failed an internal consistency check trying to compile a split.
11816(P) Failed an internal consistency check trying to compile a grep.
840811817
840911818=end original
841011819
8411(P) split をコンパイルしようとして、内部の一貫性チェックに
11820(P) grep をコンパイルしようとして、内部の一貫性チェックに
841211821引っ掛かりました。
841311822
841411823=item panic: corrupt saved stack index %ld
841511824
841611825=begin original
841711826
841811827(P) The savestack was requested to restore more localized values than
841911828there are in the savestack.
842011829
842111830=end original
842211831
842311832(P) セーブスタックにある以上のローカル化した値を元に戻す
842411833要求がありました。
842511834
842611835=item panic: del_backref
842711836
842811837=begin original
842911838
843011839(P) Failed an internal consistency check while trying to reset a weak
843111840reference.
843211841
843311842=end original
843411843
843511844(P) 弱いリファレンスをリセットしようとしたときに内部の
843611845一貫性チェックに引っ掛かりました。
843711846
8438=item panic: die %s
8439
8440=begin original
8441
8442(P) We popped the context stack to an eval context, and then discovered
8443it wasn't an eval context.
8444
8445=end original
8446
8447(P) eval コンテキストへコンテキストスタックをポップしたあと、
8448eval コンテキストでないことがわかりました。
8449
8450=item panic: do_subst
8451
8452=begin original
8453
8454(P) The internal pp_subst() routine was called with invalid operational
8455data.
8456
8457=end original
8458
8459(P) 内部の pp_subst() ルーティンが、無効な省略可能データを
8460付けて呼ばれました。
8461
8462=item panic: do_trans_%s
8463
8464=begin original
8465
8466(P) The internal do_trans routines were called with invalid operational
8467data.
8468
8469=end original
8470
8471(P) 内部の pp_trans ルーティンが、無効な省略可能データを
8472付けて呼ばれました。
8473
847411847=item panic: fold_constants JMPENV_PUSH returned %d
847511848
847611849=begin original
847711850
847811851(P) While attempting folding constants an exception other than an C<eval>
847911852failure was caught.
848011853
848111854=end original
848211855
848311856(P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。
848411857
8485=item panic: frexp
11858=item panic: frexp: %f
848611859
848711860=begin original
848811861
848911862(P) The library function frexp() failed, making printf("%f") impossible.
849011863
849111864=end original
849211865
849311866(P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。
849411867
849511868=item panic: goto, type=%u, ix=%ld
849611869
849711870=begin original
849811871
849911872(P) We popped the context stack to a context with the specified label,
850011873and then discovered it wasn't a context we know how to do a goto in.
850111874
850211875=end original
850311876
850411877(P) 指定したラベルを伴うコンテキストへコンテキストスタックを
850511878ポップしたあと、どのように goto するかがわかっている
850611879コンテキストでないことがわかりました。
850711880
850811881=item panic: gp_free failed to free glob pointer
850911882
851011883=begin original
851111884
851211885(P) The internal routine used to clear a typeglob's entries tried
851311886repeatedly, but each time something re-created entries in the glob.
851411887Most likely the glob contains an object with a reference back to
851511888the glob and a destructor that adds a new object to the glob.
851611889
851711890=end original
851811891
851911892(P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回
852011893試しましたが、毎回何かがグロブにエントリを再作成しました。
852111894おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを
852211895追加するデストラクタを持つオブジェクトが含まれています。
852311896
852411897=item panic: INTERPCASEMOD, %s
852511898
852611899=begin original
852711900
852811901(P) The lexer got into a bad state at a case modifier.
852911902
853011903=end original
853111904
853211905(P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。
853311906
853411907=item panic: INTERPCONCAT, %s
853511908
853611909=begin original
853711910
853811911(P) The lexer got into a bad state parsing a string with brackets.
853911912
854011913=end original
854111914
854211915(P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。
854311916
854411917=item panic: kid popen errno read
854511918
854611919=begin original
854711920
8548(F) forked child returned an incomprehensible message about its errno.
11921(F) A forked child returned an incomprehensible message about its errno.
854911922
855011923=end original
855111924
855211925(F) fork した子プロセスが errno に関して不完全なメッセージを返しました。
855311926
8554=item panic: last, type=%u
8555
8556=begin original
8557
8558(P) We popped the context stack to a block context, and then discovered
8559it wasn't a block context.
8560
8561=end original
8562
8563(P) block コンテキストへコンテキストスタックをポップしたあと、
8564block コンテキストでないことがわかりました。
8565
8566=item panic: leave_scope clearsv
8567
8568=begin original
8569
8570(P) A writable lexical variable became read-only somehow within the
8571scope.
8572
8573=end original
8574
8575(P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で
8576リードオンリーになりました。
8577
857811927=item panic: leave_scope inconsistency %u
857911928
858011929=begin original
858111930
858211931(P) The savestack probably got out of sync. At least, there was an
858311932invalid enum on the top of it.
858411933
858511934=end original
858611935
858711936(P) おそらく、セーブスタックの同期がとれていません。
858811937少なくとも、トップに不正な enum がありました。
858911938
859011939=item panic: magic_killbackrefs
859111940
859211941=begin original
859311942
859411943(P) Failed an internal consistency check while trying to reset all weak
859511944references to an object.
859611945
859711946=end original
859811947
859911948(P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の
860011949一貫性チェックに引っ掛かりました。
860111950
860211951=item panic: malloc, %s
860311952
860411953=begin original
860511954
860611955(P) Something requested a negative number of bytes of malloc.
860711956
860811957=end original
860911958
861011959(P) malloc に負のバイト数で要求が行なわれました。
861111960
861211961=item panic: memory wrap
861311962
861411963=begin original
861511964
8616(P) Something tried to allocate more memory than possible.
11965(P) Something tried to allocate either more memory than possible or a
11966negative amount.
861711967
861811968=end original
861911969
8620(P) 何かが、確保可能な量を超えるメモリを確保しようとしました。
11970(P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。
862111971
11972=item panic: newFORLOOP, %s
11973
11974=begin original
11975
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
862211986=item panic: pad_alloc, %p!=%p
862311987
862411988=begin original
862511989
862611990(P) The compiler got confused about which scratch pad it was allocating
862711991and freeing temporaries and lexicals from.
862811992
862911993=end original
863011994
863111995(P) コンパイラが、一時領域や字句形式を割り当て、解放している
863211996スクラッチパッドについて混乱しました。
863311997
863411998=item panic: pad_free curpad, %p!=%p
863511999
863612000=begin original
863712001
863812002(P) The compiler got confused about which scratch pad it was allocating
863912003and freeing temporaries and lexicals from.
864012004
864112005=end original
864212006
864312007(P) コンパイラが、一時領域や字句形式を割り当て、解放している
864412008スクラッチパッドについて混乱しました。
864512009
864612010=item panic: pad_free po
864712011
864812012=begin original
864912013
8650(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.
865112016
865212017=end original
865312018
8654(P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。
12019(P) スクラッチパッドのオフセット 0 が、内部的に検出されました。
12020始めるために割り当てられていないターゲットを解放しようとしました。
865512021
865612022=item panic: pad_reset curpad, %p!=%p
865712023
865812024=begin original
865912025
866012026(P) The compiler got confused about which scratch pad it was allocating
866112027and freeing temporaries and lexicals from.
866212028
866312029=end original
866412030
866512031(P) コンパイラが、一時領域や字句形式を割り当て、解放している
866612032スクラッチパッドについて混乱しました。
866712033
866812034=item panic: pad_sv po
866912035
867012036=begin original
867112037
8672(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.
867312041
867412042=end original
867512043
8676(P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。
12044(P) スクラッチパッドのオフセット 0 が、内部的に検出されました。
12045おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で
12046割り当てられていません。
867712047
867812048=item panic: pad_swipe curpad, %p!=%p
867912049
868012050=begin original
868112051
868212052(P) The compiler got confused about which scratch pad it was allocating
868312053and freeing temporaries and lexicals from.
868412054
868512055=end original
868612056
868712057(P) コンパイラが、一時領域や字句形式を割り当て、解放している
868812058スクラッチパッドについて混乱しました。
868912059
869012060=item panic: pad_swipe po
869112061
869212062=begin original
869312063
869412064(P) An invalid scratch pad offset was detected internally.
869512065
869612066=end original
869712067
869812068(P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。
869912069
870012070=item panic: pp_iter, type=%u
870112071
870212072=begin original
870312073
870412074(P) The foreach iterator got called in a non-loop context frame.
870512075
870612076=end original
870712077
870812078(P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。
870912079
871012080=item panic: pp_match%s
871112081
871212082=begin original
871312083
871412084(P) The internal pp_match() routine was called with invalid operational
871512085data.
871612086
871712087=end original
871812088
871912089(P) 内部の pp_match() ルーティンが、無効な省略可能データを
872012090付けて呼ばれました。
872112091
8722=item panic: pp_split, pm=%p, s=%p
8723
8724=begin original
8725
8726(P) Something terrible went wrong in setting up for the split.
8727
8728=end original
8729
8730(P) split の準備中に何かまずいことが起こってしまいました。
8731
873212092=item panic: realloc, %s
873312093
873412094=begin original
873512095
873612096(P) Something requested a negative number of bytes of realloc.
873712097
873812098=end original
873912099
874012100(P) 何か、realloc に負のバイト数を要求したものがあります。
874112101
874212102=item panic: reference miscount on nsv in sv_replace() (%d != 1)
874312103
874412104=begin original
874512105
874612106(P) The internal sv_replace() function was handed a new SV with a
874712107reference count other than 1.
874812108
874912109=end original
875012110
875112111(P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を
875212112扱いました。
875312113
875412114=item panic: restartop in %s
875512115
875612116=begin original
875712117
875812118(P) Some internal routine requested a goto (or something like it), and
875912119didn't supply the destination.
876012120
876112121=end original
876212122
876312123(P) 内部ルーティンから goto (または、同じようなもの) が
876412124要求されましたが、飛び先が与えれていません。
876512125
876612126=item panic: return, type=%u
876712127
876812128=begin original
876912129
877012130(P) We popped the context stack to a subroutine or eval context, and
877112131then discovered it wasn't a subroutine or eval context.
877212132
877312133=end original
877412134
877512135(P) サブルーチンコンテキストや eval コンテキストへ、
877612136コンテキストスタックをポップしたあと、サブルーチンコンテキストや
877712137eval コンテキストでないことがわかりました。
877812138
877912139=item panic: scan_num, %s
878012140
878112141=begin original
878212142
878312143(P) scan_num() got called on something that wasn't a number.
878412144
878512145=end original
878612146
878712147(P) scan_num() が、何か数字でないものに対して呼ばれました。
878812148
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
878912163=item panic: sv_chop %s
879012164
879112165=begin original
879212166
879312167(P) The sv_chop() routine was passed a position that is not within the
879412168scalar's string buffer.
879512169
879612170=end original
879712171
879812172(P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を
879912173渡されました。
880012174
880112175=item panic: sv_insert, midend=%p, bigend=%p
880212176
880312177=begin original
880412178
880512179(P) The sv_insert() routine was told to remove more string than there
880612180was string.
880712181
880812182=end original
880912183
881012184(P) sv_insert() ルーティンが、存在する以上の文字列を削除するように
881112185指示されました。
881212186
8813=item panic: strxfrm() gets absurd - a => %u, ab => %u
12187=item panic: top_env
881412188
881512189=begin original
881612190
8817(P) The interpreter's sanity check of the C function strxfrm() failed.
12191(P) The compiler attempted to do a goto, or something weird like that.
8818In your current locale the returned transformation of the string "ab" is
8819shorter than that of the string "a", which makes no sense.
882012192
882112193=end original
882212194
8823(P) C 関数 strxfrm() のイタプリタの正気度チェック失敗しました。
12195(P) パイラ、goto など妙なことを行なおうとしました。
8824現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の
8825変換で返されたものよりも短いので、おかしいです。
882612196
8827=item panic: top_env
12197=item panic: unexpected constant lvalue entersub entry via type/targ %d:%d
882812198
882912199=begin original
883012200
8831(P) The compiler attempted to do a goto, or something weird like that.
12201(P) When compiling a subroutine call in lvalue context, Perl failed an
12202internal consistency check. It encountered a malformed op tree.
883212203
883312204=end original
883412205
8835(P) コンパイラがgoto など妙なことを行なおうとしました。
12206(P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときにPerl
12207内部一貫性チェックに失敗しました。
12208不正な構文木に遭遇しました。
883612209
883712210=item panic: unimplemented op %s (#%d) called
883812211
883912212=begin original
884012213
884112214(P) The compiler is screwed up and attempted to use an op that isn't
884212215permitted at run time.
884312216
884412217=end original
884512218
884612219(P) コンパイラがおかしくなって、実行時に許可されていない op を
884712220しようとしました。
884812221
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
884912235=item panic: utf16_to_utf8: odd bytelen
885012236
885112237=begin original
885212238
885312239(P) Something tried to call utf16_to_utf8 with an odd (as opposed
885412240to even) byte length.
885512241
885612242=end original
885712243
885812244(P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を
885912245呼び出そうとしました。
886012246
886112247=item panic: utf16_to_utf8_reversed: odd bytelen
886212248
886312249=begin original
886412250
886512251(P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed
886612252to even) byte length.
886712253
886812254=end original
886912255
887012256(P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。
887112257
887212258=item panic: yylex, %s
887312259
887412260=begin original
887512261
887612262(P) The lexer got into a bad state while processing a case modifier.
887712263
887812264=end original
887912265
888012266(P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。
888112267
8882=item Parsing code internal error (%s)
12268=item Parentheses missing around "%s" list
888312269
888412270=begin original
888512271
8886(F) Parsing code supplied by an extension violated the parser's API in
12272(W parenthesis) You said something like
8887a detectable way.
888812273
888912274=end original
889012275
8891(F) エクステンションにって供給されパースコードが、検出きる形で
12276(W parenthesis) おそらく以下のうにししょう:
8892パーサの API に違反しています。
889312277
8894=item Pattern subroutine nesting without pos change exceeded limit in regex; marked by <-- HERE in m/%s/
12278 my $foo, $bar = @_;
889512279
889612280=begin original
889712281
8898(F) You used a pattern that uses too many nested subpattern calls without
12282when you meant
8899consuming any text. Restructure the pattern so text is consumed before
8900the nesting limit is exceeded.
890112283
890212284=end original
890312285
8904(F) テキストを全く消費することなく、あまりに多くネストした副パターンを使
12286以下のよにすべきです:
8905パターンを使いました。
8906ネストの制限を越える前にテキストを消費するようにパターンを
8907再構成してください。
890812287
8909=begin original
12288 my ($foo, $bar) = @_;
891012289
8911The <-- HERE shows in the regular expression about where the problem was
8912discovered.
8913
8914=end original
8915
8916<-- HERE で正規表現のどこに問題が発見されたかを示しています。
8917
8918=item Parentheses missing around "%s" list
8919
892012290=begin original
892112291
8922(W parenthesis) You said something like
12292Remember that "my", "our", "local" and "state" bind tighter than comma.
892312293
892412294=end original
892512295
8926(W parenthesis) おそらく以下のうにしたのでしょう:
12296"my", "our", "local", "state" は、コンマりも強く結合することを
12297忘れないでください。
892712298
8928 my $foo, $bar = @_;
12299=item Parsing code internal error (%s)
892912300
893012301=begin original
893112302
8932when you meant
12303(F) Parsing code supplied by an extension violated the parser's API in
12304a detectable way.
893312305
893412306=end original
893512307
8936以下のようすべきです:
12308(F) エクステンションよって供給されたパースコードが、検出でる形
12309パーサの API に違反しています。
893712310
8938 my ($foo, $bar) = @_;
12311=item Pattern subroutine nesting without pos change exceeded limit in regex
893912312
894012313=begin original
894112314
8942Remember 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.
894312318
894412319=end original
894512320
8946"my", "our", "local", "state" は、コンマよりも強結合することを
12321(F) テキストを全消費することなく、あまりに多くネストした副パターン使う
8947忘れなでください
12322パターンを使ました
12323ネストの制限を越える前にテキストを消費するようにパターンを
12324再構成してください。
894812325
894912326=item C<-p> destination: %s
895012327
895112328=begin original
895212329
895312330(F) An error occurred during the implicit output invoked by the C<-p>
895412331command-line switch. (This output goes to STDOUT unless you've
895512332redirected it with select().)
895612333
895712334=end original
895812335
895912336(F) C<-p> コマンドラインオプションで起動された
896012337暗黙の出力中にエラーが発生しました。
896112338(この出力は select() でリダイレクトしていない限り STDOUT に出力されます。)
896212339
8963=item (perhaps you forgot to load "%s"?)
12340=item Perl API version %s of %s does not match %s
896412341
896512342=begin original
896612343
8967(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
8968"Can't locate object method \"%s\" via package \"%s\"". It often means
12345version of Perl than the one that has loaded the XS module.
8969that a method requires a package that has not been loaded.
897012346
897112347=end original
897212348
8973(F) これは "Can't locate object method \"%s\" via package \"%s\""
12349(F) こ XS モジュールは、これを読み込んだ Perl とは互換性のないバージョン
8974メッセージと共出る教育的な推測です。
12350Perl 用コンパイルされたものです。
8975これはしばしばメソッドがまだロードされていないパッケージを
8976要求していることを意味します。
897712351
8978=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/
897912354
898012355=begin original
898112356
8982(W regex, deprecated) You used a regular expression with
12357(S regexp) You used a regular expression with case-insensitive matching,
8983case-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
8984built-in regular expression folding rules are not accurate. This may
12359folding rules are not accurate. This may lead to incorrect results.
8985lead 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>.
8986"perlbug" utility. (This message is marked deprecated, so that it by
8987default will be turned-on.)
898812361
898912362=end original
899012363
8991(W regex, deprecated) 大文字小文字を無視するマッチングを行う正規表現を
12364(S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして
8992使いました; そして組み込みの正規表現畳み込み規則が正確でないという
12365組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。
8993Perl のバグがありました。
899412366これは間違った結果を引き起こします。
8995どうか "perlbug" ユーティリティを使ってバグとして報告してください。
12367どうか L<https://github.com/Perl/perl5/issues/new/choose>
8996(このメッセージは廃止予定としてマークされているので、デフォルトでは
12368バグとして報告しくださ
8997オンになっています。)
899812369
899912370=item Perl_my_%s() not available
900012371
900112372=begin original
900212373
900312374(F) Your platform has very uncommon byte-order and integer size,
900412375so it was not possible to set up some or all fixed-width byte-order
900512376conversion functions. This is only a problem when you're using the
900612377'<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>.
900712378
900812379=end original
900912380
901012381(F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを
901112382使っているので、固定長バイト順変換関数の一部または全部を使うことができません。
901212383これは (un)pack テンプレートの中で
901312384'<' か '>' の修飾子を使った場合にのみ問題となります。
901412385L<perlfunc/pack> を参照してください。
901512386
901612387=item Perl %s required (did you mean %s?)--this is only %s, stopped
901712388
901812389=begin original
901912390
902012391(F) The code you are trying to run has asked for a newer version of
902112392Perl than you are running. Perhaps C<use 5.10> was written instead
902212393of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is
902312394interpreted as a decimal, with every three digits after the
902412395decimal point representing a part of the version number. So 5.10
902512396is equivalent to v5.100.
902612397
902712398=end original
902812399
902912400(F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを
903012401尋ねました。
903112402おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と
903212403書かれているのでしょう。
903312404先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の
903412405部分を表現していると解釈されます。
903512406それで、5.10 は v5.100 と等価です。
903612407
9037=item Perl %s required--this is only version %s, stopped
12408=item Perl %s required--this is only %s, stopped
903812409
903912410=begin original
904012411
904112412(F) The module in question uses features of a version of Perl more
904212413recent than the currently running version. How long has it been since
904312414you upgraded, anyway? See L<perlfunc/require>.
904412415
904512416=end original
904612417
904712418(F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの
904812419機能を使っています。
904912420ところで、いつからアップグレードしていないのですか?
905012421L<perlfunc/require> を参照してください。
905112422
905212423=item PERL_SH_DIR too long
905312424
905412425=begin original
905512426
905612427(F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the
905712428C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>.
905812429
905912430=end original
906012431
906112432(F) OS/2 固有のエラーです。
906212433PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。
906312434L<perlos2> の "PERL_SH_DIR" を参照してください。
906412435
906512436=item PERL_SIGNALS illegal: "%s"
906612437
906712438=begin original
906812439
9069See L<perlrun/PERL_SIGNALS> for legal values.
12440(X) See L<perlrun/PERL_SIGNALS> for legal values.
907012441
907112442=end original
907212443
9073有効な値については L<perlrun/PERL_SIGNALS> を参照してください。
12444(X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。
907412445
907512446=item Perls since %s too modern--this is %s, stopped
907612447
907712448=begin original
907812449
907912450(F) The code you are trying to run claims it will not run
908012451on the version of Perl you are using because it is too new.
908112452Maybe the code needs to be updated, or maybe it is simply
908212453wrong and the version check should just be removed.
908312454
908412455=end original
908512456
908612457(F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると
908712458主張しています。
908812459コードを更新する必要があるかもしれませんし、単に間違っていて単純に
908912460バージョンチェックを削除するべきかもしれません。
909012461
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
909112477=item perl: warning: Setting locale failed.
909212478
909312479=begin original
909412480
909512481(S) The whole warning message will look something like:
909612482
909712483=end original
909812484
909912485(S) 警告全体は以下のような形になります:
910012486
910112487 perl: warning: Setting locale failed.
910212488 perl: warning: Please check that your locale settings:
910312489 LC_ALL = "En_US",
910412490 LANG = (unset)
910512491 are supported and installed on your system.
910612492 perl: warning: Falling back to the standard locale ("C").
910712493
910812494=begin original
910912495
911012496Exactly what were the failed locale settings varies. In the above the
911112497settings were that the LC_ALL was "En_US" and the LANG had no value.
911212498This error means that Perl detected that you and/or your operating
911312499system supplier and/or system administrator have set up the so-called
911412500locale system but Perl could not use those settings. This was not
911512501dead serious, fortunately: there is a "default locale" called "C" that
911612502Perl can and will use, and the script will be run. Before you really
911712503fix the problem, however, you will get the same error message each
911812504time you run Perl. How to really fix the problem can be found in
911912505L<perllocale> section B<LOCALE PROBLEMS>.
912012506
912112507=end original
912212508
912312509正確にどのロケール設定が失敗したのかは様々です。
912412510上記では設定は LC_ALL は "En_US" で、LANG は空でした。
912512511このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる
912612512ものをセットアップしましたが、Perl がこれらの設定を使えないことを
912712513検出したことを意味します。
912812514これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる
912912515「デフォルトロケール」が存在するので、スクリプトは実行されます。
913012516しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー
913112517メッセージが表示されます。
913212518本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の
913312519章にあります。
913412520
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
913512553=item pid %x not a child
913612554
913712555=begin original
913812556
913912557(W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a
914012558process which isn't a subprocess of the current process. While this is
914112559fine from VMS' perspective, it's probably not what you intended.
914212560
914312561=end original
914412562
914512563(W exec) VMS に固有の警告です。
914612564現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。
914712565これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは
914812566ないでしょう。
914912567
915012568=item 'P' must have an explicit size in unpack
915112569
915212570=begin original
915312571
915412572(F) The unpack format P must have an explicit size, not "*".
915512573
915612574=end original
915712575
915812576(F) unpack フォーマット P は "*" ではなく、明示的なサイズを
915912577指定しなければなりません。
916012578
9161=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/
916212580
916312581=begin original
916412582
9165(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>
9166shows in the regular expression about where the problem was discovered.
12584shows whereabouts in the regular expression the problem was discovered.
916712585Note that the POSIX character classes do B<not> have the C<is> prefix
916812586the corresponding C interfaces have: in other words, it's C<[[:print:]]>,
916912587not C<isprint>. See L<perlre>.
917012588
917112589=end original
917212590
917312591(F) 文字クラス [: :] 文法の中のクラスは不明です。
9174<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12592S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
917512593POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が
917612594B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、
917712595C<isprint> ではありません。
917812596L<perlre> を参照してください。
917912597
918012598=item POSIX getpgrp can't take an argument
918112599
918212600=begin original
918312601
918412602(F) Your system has POSIX getpgrp(), which takes no argument, unlike
918512603the BSD version, which takes a pid.
918612604
918712605=end original
918812606
918912607(F) お使いのシステムは、引数に pid をとる BSD バージョンの
919012608getpgrp() と違って、引数をとらない POSIX のものを使っています。
919112609
9192=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/
919312612
919412613=begin original
919512614
9196(W regexp) The character class constructs [: :], [= =], and [. .] go
12615(W regexp) Perl thinks that you intended to write a POSIX character
9197I<inside> character classes, the [] are part of the construct, for example:
12616class, but didn't use enough brackets. These POSIX class constructs [:
9198/[012[:alpha:]345]/. Note that [= =] and [. .] are not currently
12617:], [= =], and [. .] go I<inside> character classes, the [] are part of
9199implemented; they are simply placeholders for future extensions and will
12618the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular
9200cause fatal errors. The <-- HERE shows in the regular expression about
12619expression pattern compiled to is probably not what you were intending.
9201where 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:]]/>.
920212624
920312625=end original
920412626
9205(W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =],
12627(W regexp) Perl あなたが POSIX 文字クラスを書くことを意図していると
9206[. .] 文字クラスの 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
920712646[= =] と [. .] は現在のところ実装されていないことに注意してください;
920812647これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを
920912648生成します。
9210<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12649S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
921112650L<perlre> を参照してください。
921212651
9213=item POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/%s/
12652=begin original
921412653
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
921512664=begin original
921612665
9217(F regexp) Within regular expression character classes ([]) the syntax
12666(F) Within regular expression character classes ([]) the syntax beginning
9218beginning with "[." and ending with ".]" is reserved for future extensions.
12667with "[." and ending with ".]" is reserved for future extensions. If you
9219If you need to represent those character sequences inside a regular
12668need to represent those character sequences inside a regular expression
9220expression character class, just quote the square brackets with the
12669character class, just quote the square brackets with the backslash: "\[."
9221backslash: "\[." and ".\]". The <-- HERE shows in the regular expression
12670and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the
9222about where the problem was discovered. See L<perlre>.
12671problem was discovered. See L<perlre>.
922312672
922412673=end original
922512674
9226(F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で
12675(F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で
922712676終わる文法は将来の拡張のために予約されます。
922812677正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある
922912678場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで
923012679クォートしてください。
9231<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12680S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
923212681L<perlre> を参照してください。
923312682
9234=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/
923512685
923612686=begin original
923712687
923812688(F) Within regular expression character classes ([]) the syntax beginning
923912689with "[=" and ending with "=]" is reserved for future extensions. If you
924012690need to represent those character sequences inside a regular expression
924112691character class, just quote the square brackets with the backslash: "\[="
9242and "=\]". The <-- HERE shows in the regular expression about where the
12692and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the
924312693problem was discovered. See L<perlre>.
924412694
924512695=end original
924612696
924712697(F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で
924812698終わる文法は将来の拡張のために予約されます。
924912699正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある
925012700場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで
925112701クォートしてください。
9252<-- HERE で正規表現のどこに問題が発見されたかを示しています。
12702S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
925312703L<perlre> を参照してください。
925412704
925512705=item Possible attempt to put comments in qw() list
925612706
925712707=begin original
925812708
925912709(W qw) qw() lists contain items separated by whitespace; as with literal
926012710strings, comment characters are not ignored, but are instead treated as
926112711literal data. (You may have used different delimiters than the
926212712parentheses shown here; braces are also frequently used.)
926312713
926412714=end original
926512715
926612716(W qw) qw() リストは空白で分割されたアイテムを含んでいます;
926712717リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。
926812718(ここで使われているのと違うデリミタを用いているかもしれません;
926912719大かっこもよく使われます。)
927012720
927112721=begin original
927212722
927312723You probably wrote something like this:
927412724
927512725=end original
927612726
927712727おそらく以下のように書いたのでしょう:
927812728
927912729 @list = qw(
928012730 a # a comment
928112731 b # another comment
928212732 );
928312733
928412734=begin original
928512735
928612736when you should have written this:
928712737
928812738=end original
928912739
929012740以下のように書くべきです:
929112741
929212742 @list = qw(
929312743 a
929412744 b
929512745 );
929612746
929712747=begin original
929812748
929912749If you really want comments, build your list the
930012750old-fashioned way, with quotes and commas:
930112751
930212752=end original
930312753
930412754本当にコメントをつけたいのなら、
930512755リストを昔のクォートとカンマの形で書いてください。
930612756
930712757 @list = (
930812758 'a', # a comment
930912759 'b', # another comment
931012760 );
931112761
931212762=item Possible attempt to separate words with commas
931312763
931412764=begin original
931512765
931612766(W qw) qw() lists contain items separated by whitespace; therefore
931712767commas aren't needed to separate the items. (You may have used
931812768different delimiters than the parentheses shown here; braces are also
931912769frequently used.)
932012770
932112771=end original
932212772
932312773(W qw) qw() リストに空白で分割された項目があります;
932412774そのため、カンマは項目を分割する必要がありません。
932512775(ここで使われているのと違うデリミタを用いているかもしれません;
932612776大かっこもよく使われます。)
932712777
932812778=begin original
932912779
933012780You probably wrote something like this:
933112781
933212782=end original
933312783
933412784おそらく以下のように書いたのでしょう:
933512785
933612786 qw! a, b, c !;
933712787
933812788=begin original
933912789
934012790which puts literal commas into some of the list items. Write it without
934112791commas if you don't want them to appear in your data:
934212792
934312793=end original
934412794
934512795リスト要素の中にリテラルのカンマを書いています。
934612796データの中にカンマを出したくないなら、カンマなしで書きます:
934712797
934812798 qw! a b c !;
934912799
935012800=item Possible memory corruption: %s overflowed 3rd argument
935112801
935212802=begin original
935312803
935412804(F) An ioctl() or fcntl() returned more than Perl was bargaining for.
935512805Perl guesses a reasonable buffer size, but puts a sentinel byte at the
935612806end of the buffer just in case. This sentinel byte got clobbered, and
935712807Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>.
935812808
935912809=end original
936012810
936112811(F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。
936212812Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの
936312813最後に目印を付けています。
936412814この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。
936512815L<perlfunc/ioctl> を参照してください。
936612816
9367=item Possible precedence problem on bitwise %c operator
12817=item Possible precedence issue with control flow operator (%s)
936812818
936912819=begin original
937012820
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
937112875(W precedence) Your program uses a bitwise logical operator in conjunction
937212876with a numeric comparison operator, like this :
937312877
937412878=end original
937512879
937612880(W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と
937712881結合して使用しています:
937812882
937912883 if ($x & $y == 0) { ... }
938012884
938112885=begin original
938212886
938312887This expression is actually equivalent to C<$x & ($y == 0)>, due to the
938412888higher precedence of C<==>. This is probably not what you want. (If you
938512889really meant to write this, disable the warning, or, better, put the
938612890parentheses explicitly and write C<$x & ($y == 0)>).
938712891
938812892=end original
938912893
939012894この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と
939112895等価になります。
939212896これはおそらく望んでいるものではないでしょう。
939312897(もし本当にこのように書きたいのなら、警告を無効にするか、あるいは
939412898よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。
939512899
939612900=item Possible unintended interpolation of $\ in regex
939712901
939812902=begin original
939912903
940012904(W ambiguous) You said something like C<m/$\/> in a regex.
940112905The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output
940212906record separator (see L<perlvar/$\>) and the letter 's' (one time or more)
940312907followed by the word 'bar'.
940412908
940512909=end original
940612910
940712911(W ambiguous) 正規表現で C<m/$\/> のようなことをしました。
940812912正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力
940912913レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語
941012914'bar' にマッチングします。
941112915
941212916=begin original
941312917
941412918If this is what you intended then you can silence the warning by using
941512919C<m/${\}/> (for example: C<m/foo${\}s+bar/>).
941612920
941712921=end original
941812922
941912923これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます
942012924(例えば: C<m/foo${\}s+bar/>)。
942112925
942212926=begin original
942312927
942412928If instead you intended to match the word 'foo' at the end of the line
942512929followed by whitespace and the word 'bar' on the next line then you can use
942612930C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>).
942712931
942812932=end original
942912933
943012934そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に
943112935マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば:
943212936C<m/foo$(?)\s+bar/>)。
943312937
943412938=item Possible unintended interpolation of %s in string
943512939
943612940=begin original
943712941
943812942(W ambiguous) You said something like '@foo' in a double-quoted string
943912943but there was no array C<@foo> in scope at the time. If you wanted a
944012944literal @foo, then write it as \@foo; otherwise find out what happened
944112945to the array you apparently lost track of.
944212946
944312947=end original
944412948
944512949(W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、
944612950現在のスコープ内に C<@foo> という配列はありません。
944712951リテラルな @foo を指定したい場合は、\@foo と書いてください;
944812952そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを
944912953調べてください。
945012954
945112955=item Precedence problem: open %s should be open(%s)
945212956
945312957=begin original
945412958
945512959(S precedence) The old irregular construct
945612960
945712961=end original
945812962
945912963(S precedence) 古い変則的な構文
946012964
946112965 open FOO || die;
946212966
946312967=begin original
946412968
946512969is now misinterpreted as
946612970
946712971=end original
946812972
946912973は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か
947012974リスト演算子と解釈されますので、
947112975
947212976 open(FOO || die);
947312977
947412978=begin original
947512979
947612980because of the strict regularization of Perl 5's grammar into unary and
947712981list operators. (The old open was a little of both.) You must put
947812982parentheses around the filehandle, or use the new "or" operator instead
947912983of "||".
948012984
948112985=end original
948212986
948312987という風に誤った解釈がなされます。
948412988(古い open は、単項演算子とリスト演算子の中間のようなものでした。)
948512989ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに
948612990"or" 演算子を使わなくてはなりません。
948712991
948812992=item Premature end of script headers
948912993
949012994=begin original
949112995
9492See Server error.
12996See L</500 Server error>.
949312997
949412998=end original
949512999
9496"Server error" を参照してください。
13000L</500 Server error> を参照してください。
949713001
949813002=item printf() on closed filehandle %s
949913003
950013004=begin original
950113005
950213006(W closed) The filehandle you're writing to got itself closed sometime
950313007before now. Check your control flow.
950413008
950513009=end original
950613010
950713011(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
950813012制御フローをチェックしてください。
950913013
951013014=item print() on closed filehandle %s
951113015
951213016=begin original
951313017
951413018(W closed) The filehandle you're printing on got itself closed sometime
951513019before now. Check your control flow.
951613020
951713021=end original
951813022
951913023(W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。
952013024制御フローをチェックしてください。
952113025
952213026=item Process terminated by SIG%s
952313027
952413028=begin original
952513029
952613030(W) This is a standard message issued by OS/2 applications, while *nix
952713031applications die in silence. It is considered a feature of the OS/2
952813032port. One can easily disable this by appropriate sighandlers, see
952913033L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT"
953013034in L<perlos2>.
953113035
953213036=end original
953313037
953413038(W) *nix アプリケーションは何も出力せずに終了しますが、
953513039OS/2 アプリケーションはこれを標準メッセージとして出力します。
953613040これは OS/2 版の仕様とみなされています。
953713041適切なシグナルハンドラによって簡単に無効にできます;
953813042L<perlipc/"Signals"> を参照してください。
953913043L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。
954013044
954113045=item Prototype after '%c' for %s : %s
954213046
954313047=begin original
954413048
954513049(W illegalproto) A character follows % or @ in a prototype. This is
954613050useless, since % and @ gobble the rest of the subroutine arguments.
954713051
954813052=end original
954913053
955013054(W illegalproto) プロトタイプで % または @ に文字が引き続いています。
955113055これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。
955213056
955313057=item Prototype mismatch: %s vs %s
955413058
955513059=begin original
955613060
955713061(S prototype) The subroutine being declared or defined had previously been
955813062declared or defined with a different function prototype.
955913063
956013064=end original
956113065
956213066(S prototype) 以前異なる関数プロトタイプで宣言または定義された
956313067サブルーチンが宣言または定義されました。
956413068
956513069=item Prototype not terminated
956613070
956713071=begin original
956813072
956913073(F) You've omitted the closing parenthesis in a function prototype
957013074definition.
957113075
957213076=end original
957313077
957413078(F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。
957513079
9576=item \p{} uses Unicode rules, not locale rules
13080=item Prototype '%s' overridden by attribute 'prototype(%s)' in %s
957713081
957813082=begin original
957913083
9580(W) You compiled a regular expression that contained a Unicode property
13084(W prototype) A prototype was declared in both the parentheses after
9581match (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
9582use the run-time locale, not Unicode. Instead, use a POSIX character
13086parentheses is useless, since it will be replaced by the prototype
9583class, which should know about the locale's rules.
13087from the attribute before it's ever used.
9584(See L<perlrecharclass/POSIX Character Classes>.)
958513088
958613089=end original
958713090
9588(W) Unicode 特性マッチング(C<\p> または C<\P>)を含む正規表現を
13091(W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で
9589コンパルしましたが、その正規表現は Unicode ではなく実行時ロケールを使うとも
13092プロトタプが宣言されました
9590設定されています。
13093先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の
9591代わりに、ケールの規則を知っているずの POSIX 文字クラスを使ってください
13094トタイプ無駄です
9592(L<perlrecharclass/POSIX Character Classes> を参照してください。)
959313095
9594=begin original
13096=item %s on BEGIN block ignored
959513097
9596Even if the run-time locale is ISO 8859-1 (Latin1), which is a subset of
9597Unicode, some properties will give results that are not valid for that
9598subset.
9599
9600=end original
9601
9602たとえ実行時ロケールが Unicode のサブセットである ISO 8859-1 (Latin1) でも、
9603一部の特性はサブセットに対しては不正であるという結果を返します。
9604
960513098=begin original
960613099
9607Here are a couple of examples to help you see what's going on. If the
13100(W syntax) C<BEGIN> blocks are executed immediately after they are parsed
9608locale is ISO 8859-7, the character at code point 0xD7 is the "GREEK
13101and then thrown away. Any prototypes or attributes are therefore
9609CAPITAL LETTER CHI". But in Unicode that code point means the
13102meaningless and are ignored. You should remove them from the C<BEGIN> block.
9610"MULTIPLICATION SIGN" instead, and C<\p> always uses the Unicode
13103Note this also means you cannot create a constant called C<BEGIN>.
9611meaning. That means that C<\p{Alpha}> won't match, but C<[[:alpha:]]>
9612should. Only in the Latin1 locale are all the characters in the same
9613positions as they are in Unicode. But, even here, some properties give
9614incorrect results. An example is C<\p{Changes_When_Uppercased}> which
9615is true for "LATIN SMALL LETTER Y WITH DIAERESIS", but since the upper
9616case of that character is not in Latin1, in that locale it doesn't
9617change when upper cased.
961813104
961913105=end original
962013106
9621以下に何が起きているかを知る助けなる例を二つ挙げます。
13107(W syntax) C<BEGIN> ブロックはパースされた直後実行され、
9622ロケールが ISO 8859-7 な、符号位置 0xD7 の文字は "GREEK CAPITAL LETTER CHI"
13108それか捨てられます。
9623です。
13109従って、プロトタイプや属性は無意味、無視されます。
9624しかし Unicode でこの符号位置は "MULTIPLICATION SIGN" を意味し、
13110それらは C<BEGIN> ブロックから削除されるべきです。
9625C<\p> は常 Unicode の味を使ます
13111C<BEGIN> と呼ばれる定数を作ることもできないことしてください。
9626これは、C<\p{Alpha}> にはマッチングしませんが、C<[[:alpha:]]> には
9627マッチングするということです。
9628Latin1 ロケールのみが、全ての文字について Unicode と同じ位置を持ちます。
9629しかし、それでも、一部の特性は正しくない結果となります。
9630例えば、C<\p{Changes_When_Uppercased}> は "LATIN SMALL LETTER Y WITH
9631DIAERESIS" では真ですが、この文字の大文字は Latin1 にはないので、
9632大文字にしたときにこの文字は変更されません。
963313112
9634=item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/
13113=item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/
963513114
963613115=begin original
963713116
963813117(F) You started a regular expression with a quantifier. Backslash it if
9639you meant it literally. The <-- HERE shows in the regular expression
13118you meant it literally. The S<<-- HERE> shows whereabouts in the regular
9640about where the problem was discovered. See L<perlre>.
13119expression the problem was discovered. See L<perlre>.
964113120
964213121=end original
964313122
964413123(F) 正規表現を量指定子で開始しています。
964513124もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。
9646<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13125S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
964713126L<perlre> を参照してください。
964813127
9649=item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/
13128=item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/
965013129
965113130=begin original
965213131
965313132(F) There is currently a limit to the size of the min and max values of
9654the {min,max} construct. The <-- HERE shows in the regular expression
13133the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular
9655about where the problem was discovered. See L<perlre>.
13134expression the problem was discovered. See L<perlre>.
965613135
965713136=end original
965813137
965913138現在のところ、{min,max} 構造の最大値と最小値には制限があります。
9660<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13139S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
966113140L<perlre> を参照してください。
966213141
9663=item Quantifier unexpected on zero-length expression; marked by <-- HERE in m/%s/
13142=item Quantifier {n,m} with n > m can't match in regex
966413143
13144=item Quantifier {n,m} with n > m can't match in regex; marked by
13145S<<-- HERE> in m/%s/
13146
966513147=begin original
966613148
13149(W regexp) Minima should be less than or equal to maxima. If you really
13150want your regexp to match something 0 times, just put {0}.
13151
13152=end original
13153
13154(W regexp) 最小値は最大値以下である必要があります。
13155本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。
13156
13157=item Quantifier unexpected on zero-length expression in regex m/%s/
13158
13159=begin original
13160
966713161(W regexp) You applied a regular expression quantifier in a place where
966813162it makes no sense, such as on a zero-width assertion. Try putting the
966913163quantifier inside the assertion instead. For example, the way to match
967013164"abc" provided that it is followed by three repetitions of "xyz" is
967113165C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>.
967213166
967313167=end original
967413168
967513169(W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に
967613170適用しました。
967713171代わりにアサーションの中に量指定子を置いてください。
967813172例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、
967913173C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。
968013174
9681=begin original
9682
9683The <-- HERE shows in the regular expression about where the problem was
9684discovered.
9685
9686=end original
9687
9688<-- HERE で正規表現のどこに問題が発見されたかを示しています。
9689
969013175=item Range iterator outside integer range
969113176
969213177=begin original
969313178
969413179(F) One (or both) of the numeric arguments to the range operator ".."
969513180are outside the range which can be represented by integers internally.
969613181One possible workaround is to force Perl to use magical string increment
969713182by prepending "0" to your numbers.
969813183
969913184=end original
970013185
970113186(F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として
970213187表現できる範囲を越えています。
970313188回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に
970413189マジカル文字列インクリメントの使用を強制させることです。
970513190
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
970613274=item readdir() attempted on invalid dirhandle %s
970713275
970813276=begin original
970913277
971013278(W io) The dirhandle you're reading from is either closed or not really
971113279a dirhandle. Check your control flow.
971213280
971313281=end original
971413282
971513283(W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、
971613284実際にはディレクトリハンドルではありません。
971713285制御フローをチェックしてください。
971813286
971913287=item readline() on closed filehandle %s
972013288
972113289=begin original
972213290
972313291(W closed) The filehandle you're reading from got itself closed sometime
972413292before now. Check your control flow.
972513293
972613294=end original
972713295
972813296(W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。
972913297制御フローをチェックしてください。
973013298
9731=item read() on closed filehandle %s
13299=item readline() on unopened filehandle %s
973213300
973313301=begin original
973413302
9735(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.
973613305
973713306=end original
973813307
9739(W closed) 閉じたファイルハンドルから読み込もうとしした
13308(W unopened) 読み込もうとしたファイルハンドルは開れていせん
13309制御フローをチェックしてください。
974013310
9741=item read() on unopened filehandle %s
13311=item read() on closed filehandle %s
974213312
974313313=begin original
974413314
9745(W unopened) You tried to read from a filehandle that was never opened.
13315(W closed) You tried to read from a closed filehandle.
974613316
974713317=end original
974813318
9749(W unopened) 開いていないファイルハンドルから読み込もうとしました。
13319(W closed) 閉じたファイルハンドルから読み込もうとしました。
975013320
9751=item Reallocation too large: %x
13321=item read() on unopened filehandle %s
975213322
975313323=begin original
975413324
9755(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.
975613326
975713327=end original
975813328
9759(F) MS-DOS マシンでは、64K を越えるメモリを割り当るこはできせん
13329(W unopened) 開いいないファイルハンドルから読み込もうした
976013330
976113331=item realloc() of freed memory ignored
976213332
976313333=begin original
976413334
976513335(S malloc) An internal routine called realloc() on something that had
976613336already been freed.
976713337
976813338=end original
976913339
977013340内部ルーチンが、何か既に解放されているものに対して realloc() を
977113341呼び出しました。
977213342
977313343=item Recompile perl with B<-D>DEBUGGING to use B<-D> switch
977413344
977513345=begin original
977613346
9777(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
977813348the desired output is compiled into Perl, which entails some overhead,
977913349which is why it's currently left out of your copy.
978013350
978113351=end original
978213352
9783(F debugging) Perl のコンパイル時に、適切な出力ルーティンが
13353(S debugging) Perl のコンパイル時に、適切な出力ルーティンが
978413354組み込まれていなければ、B<-D> スイッチを使うことはできません;
978513355これは、多少のオーバヘッドがかかるもので、それが現在使っている
978613356Perl に組み込んでない理由でしょう。
978713357
978813358=item Recursive call to Perl_load_module in PerlIO_find_layer
978913359
979013360=begin original
979113361
979213362(P) It is currently not permitted to load modules when creating
979313363a filehandle inside an %INC hook. This can happen with C<open my
979413364$fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try
979513365loading PerlIO::scalar explicitly first.
979613366
979713367=end original
979813368
979913369(P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは
980013370現在のところ許されていません。
980113371これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに
980213372起こることがあります。
980313373最初に PerlIO::scalar を明示的に読み込むことを試してください。
980413374
980513375=item Recursive inheritance detected in package '%s'
980613376
980713377=begin original
980813378
980913379(F) While calculating the method resolution order (MRO) of a package, Perl
981013380believes it found an infinite loop in the C<@ISA> hierarchy. This is a
981113381crude check that bails out after 100 levels of C<@ISA> depth.
981213382
981313383=end original
981413384
981513385(F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に
981613386無限ループがあると判断しました。
981713387これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。
981813388
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
981913406=item refcnt_dec: fd %d%s
982013407
982113408=item refcnt: fd %d%s
982213409
982313410=item refcnt_inc: fd %d%s
982413411
982513412=begin original
982613413
982713414(P) Perl's I/O implementation failed an internal consistency check. If
982813415you see this message, something is very wrong.
982913416
983013417=end original
983113418
983213419(P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。
983313420このメッセージを見たなら、何かがすごく悪いです。
983413421
983513422=item Reference found where even-sized list expected
983613423
983713424=begin original
983813425
983913426(W misc) You gave a single reference where Perl was expecting a list
984013427with an even number of elements (for assignment to a hash). This
984113428usually means that you used the anon hash constructor when you meant
984213429to use parens. In any case, a hash requires key/value B<pairs>.
984313430
984413431=end original
984513432
984613433(W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを
984713434想定しているところに 一つのリファレンスを渡しました。
984813435これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを
984913436意味します。
985013437とにかく、ハッシュはキー/値の B<組> を要求します。
985113438
985213439 %hash = { one => 1, two => 2, }; # WRONG
985313440 %hash = [ qw/ an anon array / ]; # WRONG
985413441 %hash = ( one => 1, two => 2, ); # right
985513442 %hash = qw( one 1 two 2 ); # also fine
985613443
985713444=item Reference is already weak
985813445
985913446=begin original
986013447
986113448(W misc) You have attempted to weaken a reference that is already weak.
986213449Doing so has no effect.
986313450
986413451=end original
986513452
986613453(W misc) 既に弱いリファレンスを弱めようとしました。
986713454そうしても何の効果もありません。
986813455
9869=item Reference to invalid group 0
13456=item Reference is not weak
987013457
987113458=begin original
987213459
13460(W misc) You have attempted to unweaken a reference that is not weak.
13461Doing so has no effect.
13462
13463=end original
13464
13465(W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。
13466そうしても何の効果もありません。
13467
13468=item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/
13469
13470=begin original
13471
987313472(F) You used C<\g0> or similar in a regular expression. You may refer
987413473to capturing parentheses only with strictly positive integers
987513474(normal backreferences) or with strictly negative integers (relative
987613475backreferences). Using 0 does not make sense.
987713476
987813477=end original
987913478
988013479(F) 正規表現で C<\g0> のようなものを使いました。
988113480捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照)
988213481のみです。
9883134820 は意味を成しません。
988413483
9885=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/
988613486
988713487=begin original
988813488
988913489(F) You used something like C<\7> in your regular expression, but there are
989013490not at least seven sets of capturing parentheses in the expression. If
989113491you wanted to have the character with ordinal 7 inserted into the regular
989213492expression, prepend zeroes to make it three digits long: C<\007>
989313493
989413494=end original
989513495
989613496正規表現の中で C<\7> のような記述がありますが、
989713497正規表現の中に値を捕らえるかっこが 7 つありません。
989813498正規表現の中に値 7 を持つ文字を挿入したい場合、
989913499ゼロをつけて最低 3 桁の数値にする必要があります: C<\007>
990013500
990113501=begin original
990213502
9903The <-- HERE shows in the regular expression about where the problem was
13503The S<<-- HERE> shows whereabouts in the regular expression the problem was
990413504discovered.
990513505
990613506=end original
990713507
9908<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13508S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
990913509
9910=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/
991113512
991213513=begin original
991313514
991413515(F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular
991513516expression, but there is no corresponding named capturing parentheses
991613517such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been
991713518spelled correctly both in the backreference and the declaration.
991813519
991913520=end original
992013521
992113522(F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、
992213523C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが
992313524ありません。
992413525前方参照と定義の両方において、名前のスペルが正しいかどうか
992513526チェックしてください。
992613527
992713528=begin original
992813529
9929The <-- HERE shows in the regular expression about where the problem was
13530The S<<-- HERE> shows whereabouts in the regular expression the problem was
993013531discovered.
993113532
993213533=end original
993313534
9934<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13535S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
993513536
9936=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/
993713539
993813540=begin original
993913541
994013542(F) You used something like C<\g{-7}> in your regular expression, but there
994113543are not at least seven sets of closed capturing parentheses in the
994213544expression before where the C<\g{-7}> was located.
994313545
994413546=end original
994513547
994613548(F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の
994713549位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。
994813550
994913551=begin original
995013552
9951The <-- HERE shows in the regular expression about where the problem was
13553The S<<-- HERE> shows whereabouts in the regular expression the problem was
995213554discovered.
995313555
995413556=end original
995513557
9956<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13558S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
995713559
995813560=item regexp memory corruption
995913561
996013562=begin original
996113563
996213564(P) The regular expression engine got confused by what the regular
996313565expression compiler gave it.
996413566
996513567=end original
996613568
996713569(P) 正規表現コンパイラが渡したもので、正規表現エンジンが
996813570処理できなくなりました。
996913571
997013572=item Regexp modifier "/%c" may appear a maximum of twice
997113573
9972=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/
997313576
997413577=begin original
997513578
9976(F syntax, regexp) The regular expression pattern had too many occurrences
13579(F) The regular expression pattern had too many occurrences
997713580of the specified modifier. Remove the extraneous ones.
997813581
997913582=end original
998013583
9981(F syntax, regexp) 正規表現パターンに指定された修飾子が多すぎます。
13584(F) 正規表現パターンに指定された修飾子が多すぎます。
998213585余分なものを削除してください。
998313586
9984=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/
998513589
998613590=begin original
998713591
9988(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
9989on another one. Perl currently doesn't allow this. Reword the regular
13593another one. Perl currently doesn't allow this. Reword the regular
999013594expression to use the modifier you want to turn on (and place it before
999113595the minus), instead of the one you want to turn off.
999213596
999313597=end original
999413598
999513599(F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという
999613600副作用があります。
999713601Perl は現在のところこれを受け入れません。
999813602オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの
999913603前に置く)ように正規表現を書き直してください。
1000013604
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
1000113620=item Regexp modifiers "/%c" and "/%c" are mutually exclusive
1000213621
13622=item Regexp modifiers "%c" and "%c" are mutually exclusive in regex;
13623marked by S<<-- HERE> in m/%s/
13624
1000313625=begin original
1000413626
10005(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
1000613628mutually exclusive modifiers. Retain only the modifier that is
1000713629supposed to be there.
1000813630
1000913631=end original
1001013632
10011(F syntax, regexp) 正規表現パターンに相互に排他的な修飾子が複数あります。
13633(F) 正規表現パターンに相互に排他的な修飾子が複数あります。
1001213634ここで使うであろう修飾子のみを保持します。
1001313635
10014=item Regexp out of space
13636=item Regexp out of space in regex m/%s/
1001513637
1001613638=begin original
1001713639
1001813640(P) A "can't happen" error, because safemalloc() should have caught it
1001913641earlier.
1002013642
1002113643=end original
1002213644
1002313645(P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。
1002413646
10025=item Repeated format line will never terminate (~~ and @<#del> incompatible)
13647=item Repeated format line will never terminate (~~ and @#)
1002613648
1002713649=begin original
1002813650
1002913651(F) Your format contains the ~~ repeat-until-blank sequence and a
1003013652numeric field that will never go blank so that the repetition never
1003113653terminates. You might use ^# instead. See L<perlform>.
1003213654
1003313655=end original
1003413656
1003513657(F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない
1003613658スウチフィールドが含まれているので、無限ループになります。
1003713659代わりに ^# を使うべきでしょう。
1003813660L<perlform> を参照してください。
1003913661
1004013662=item Replacement list is longer than search list
1004113663
1004213664=begin original
1004313665
1004413666(W misc) You have used a replacement list that is longer than the
1004513667search list. So the additional elements in the replacement list
1004613668are meaningless.
1004713669
1004813670=end original
1004913671
1005013672(W misc) 検索リストよりも長い置換リストを使いました。
1005113673長い分の置換リストは無意味です。
1005213674
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
1005313726=item Reversed %s= operator
1005413727
1005513728=begin original
1005613729
1005713730(W syntax) You wrote your assignment operator backwards. The = must
1005813731always come last, to avoid ambiguity with subsequent unary operators.
1005913732
1006013733=end original
1006113734
1006213735(W syntax) 代入演算子を逆順に書いています。
1006313736等号の後に単項演算子が続くときに、曖昧になるのを避けるため、
1006413737代入演算子では、等号 = が、最後にこないといけません。
1006513738
1006613739=item rewinddir() attempted on invalid dirhandle %s
1006713740
1006813741=begin original
1006913742
10070(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
10071really a dirhandle. Check your control flow.
13744or not really a dirhandle. Check your control flow.
1007213745
1007313746=end original
1007413747
1007513748(W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、
1007613749実際にはディレクトリハンドルではありません。
1007713750制御フローをチェックしてください。
1007813751
1007913752=item Scalars leaked: %d
1008013753
1008113754=begin original
1008213755
10083(P) Something went wrong in Perl's internal bookkeeping of scalars:
13756(S internal) Something went wrong in Perl's internal bookkeeping
10084not all scalar variables were deallocated by the time Perl exited.
13757of scalars: not all scalar variables were deallocated by the time
10085What this usually indicates is a memory leak, which is of course bad,
13758Perl exited. What this usually indicates is a memory leak, which
10086especially 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.
1008713761
1008813762=end original
1008913763
1009013764(P) Perl 内部のスカラ管理で何かがおかしくなりました:
1009113765Perl 終了時に全てのスカラ変数が解放されませんでした。
1009213766これは普通メモリリークを示していて、これはもちろん悪いことですが、
1009313767Perl プログラムが長い間動作する場合には特にそうです。
1009413768
1009513769=item Scalar value @%s[%s] better written as $%s[%s]
1009613770
1009713771=begin original
1009813772
1009913773(W syntax) You've used an array slice (indicated by @) to select a
1010013774single element of an array. Generally it's better to ask for a scalar
1010113775value (indicated by $). The difference is that C<$foo[&bar]> always
1010213776behaves like a scalar, both when assigning to it and when evaluating its
1010313777argument, while C<@foo[&bar]> behaves like a list when you assign to it,
1010413778and provides a list context to its subscript, which can do weird things
1010513779if you're expecting only one subscript.
1010613780
1010713781=end original
1010813782
1010913783(W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列
1011013784スライスを用いました。
10111一般には($ で示される) スカラ値を使った方がと思われます。
13785一般には($ で示される)スカラ値を取得した方がす。
1011213786違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、
1011313787添字を評価するときにも、常にスカラとして振る舞うのに対し、
1011413788C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、
1011513789添字にもリストコンテキストを与えることになります;
1011613790これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。
1011713791
1011813792=begin original
1011913793
1012013794On the other hand, if you were actually hoping to treat the array
1012113795element as a list, you need to look into how references work, because
1012213796Perl will not magically convert between scalars and lists for you. See
1012313797L<perlref>.
1012413798
1012513799=end original
1012613800
1012713801一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが
1012813802どのように働くかについて詳しく知る必要があります; なぜなら
1012913803Perl はスカラとリストを自動的に変換したりはしないからです。
1013013804L<perlref> を参照してください。
1013113805
1013213806=item Scalar value @%s{%s} better written as $%s{%s}
1013313807
1013413808=begin original
1013513809
1013613810(W syntax) You've used a hash slice (indicated by @) to select a single
1013713811element of a hash. Generally it's better to ask for a scalar value
1013813812(indicated by $). The difference is that C<$foo{&bar}> always behaves
1013913813like a scalar, both when assigning to it and when evaluating its
1014013814argument, while C<@foo{&bar}> behaves like a list when you assign to it,
1014113815and provides a list context to its subscript, which can do weird things
1014213816if you're expecting only one subscript.
1014313817
1014413818=end original
1014513819
1014613820(W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ
1014713821スライスを用いました。
10148一般には($ で示される) スカラ値を使った方がと思われます。
13822一般には($ で示される)スカラ値を取得した方がす。
1014913823違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、
1015013824添字を評価するときにも、常にスカラとして振る舞うのに対し、
1015113825C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、
1015213826添字にもリストコンテキストを与えることになります;
1015313827これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。
1015413828
1015513829=begin original
1015613830
1015713831On the other hand, if you were actually hoping to treat the hash element
1015813832as a list, you need to look into how references work, because Perl will
1015913833not magically convert between scalars and lists for you. See
1016013834L<perlref>.
1016113835
1016213836=end original
1016313837
1016413838一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが
1016513839どのように働くかについて詳しく知る必要があります; なぜなら
1016613840Perl はスカラとリストを自動的に変換したりはしないからです。
1016713841L<perlref> を参照してください。
1016813842
1016913843=item Search pattern not terminated
1017013844
1017113845=begin original
1017213846
1017313847(F) The lexer couldn't find the final delimiter of a // or m{}
1017413848construct. Remember that bracketing delimiters count nesting level.
1017513849Missing the leading C<$> from a variable C<$m> may cause this error.
1017613850
1017713851=end original
1017813852
1017913853(F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。
1018013854かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1018113855C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1018213856
1018313857=begin original
1018413858
10185Note 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>
1018613860construct, not just the empty search pattern. Therefore code written
10187in 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
10188misparsed 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.
1018913863
1019013864=end original
1019113865
10192Perl 5.9.0 から、// は I<defined-or> 構文として扱われ、単なる
13866Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる
1019313867空検索パターンではありません。
10194従って、Perl 5.9.0 以降で書かれた、// を I<defined-or> として使っている
13868従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている
10195コードは、5.9.0 以前の Perl では、終端していない検索パターンとして
13869コードは、5.10.0 以前の Perl では、終端していない検索パターンとして
1019613870誤パースされるかもしれません。
1019713871
10198=item Search pattern not terminated or ternary operator parsed as search pattern
10199
10200=begin original
10201
10202(F) The lexer couldn't find the final delimiter of a C<?PATTERN?>
10203construct.
10204
10205=end original
10206
10207(F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。
10208
10209=begin original
10210
10211The question mark is also used as part of the ternary operator (as in
10212C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly
10213parsed. One way to disambiguate the parsing is to put parentheses around
10214the conditional expression, i.e. C<(foo) ? 0 : 1>.
10215
10216=end original
10217
10218クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても
10219使われるので、紛らわしい構造の場合は間違ってパースされることがあります。
10220パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように
10221条件式をかっこで括ることです。
10222
1022313872=item seekdir() attempted on invalid dirhandle %s
1022413873
1022513874=begin original
1022613875
1022713876(W io) The dirhandle you are doing a seekdir() on is either closed or not
1022813877really a dirhandle. Check your control flow.
1022913878
1023013879=end original
1023113880
1023213881(W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、
1023313882実際にはディレクトリハンドルではありません。
1023413883制御フローをチェックしてください。
1023513884
1023613885=item %sseek() on unopened filehandle
1023713886
1023813887=begin original
1023913888
1024013889(W unopened) You tried to use the seek() or sysseek() function on a
1024113890filehandle that was either never opened or has since been closed.
1024213891
1024313892=end original
1024413893
1024513894(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1024613895ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。
1024713896
1024813897=item select not implemented
1024913898
1025013899=begin original
1025113900
1025213901(F) This machine doesn't implement the select() system call.
1025313902
1025413903=end original
1025513904
1025613905(F) このマシンでは、select() システムコールは実装されていません。
1025713906
1025813907=item Self-ties of arrays and hashes are not supported
1025913908
1026013909=begin original
1026113910
1026213911(F) Self-ties are of arrays and hashes are not supported in
1026313912the current implementation.
1026413913
1026513914=end original
1026613915
1026713916(F) 配列やハッシュの自己 tie は現在の実装では対応していません。
1026813917
1026913918=item Semicolon seems to be missing
1027013919
1027113920=begin original
1027213921
1027313922(W semicolon) A nearby syntax error was probably caused by a missing
1027413923semicolon, or possibly some other missing operator, such as a comma.
1027513924
1027613925=end original
1027713926
1027813927(W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの
1027913928演算子がなかったために起こったものと考えられます。
1028013929
1028113930=item semi-panic: attempt to dup freed string
1028213931
1028313932=begin original
1028413933
1028513934(S internal) The internal newSVsv() routine was called to duplicate a
1028613935scalar that had previously been marked as free.
1028713936
1028813937=end original
1028913938
1029013939(S internal) 既に解放と印を付けたスカラを複製するために、内部の
1029113940newSVsv() ルーティンが呼ばれました。
1029213941
1029313942=item sem%s not implemented
1029413943
1029513944=begin original
1029613945
1029713946(F) You don't have System V semaphore IPC on your system.
1029813947
1029913948=end original
1030013949
1030113950(F) このシステムでは、System V セマフォ IPC は使えません。
1030213951
1030313952=item send() on closed socket %s
1030413953
1030513954=begin original
1030613955
1030713956(W closed) The socket you're sending to got itself closed sometime
1030813957before now. Check your control flow.
1030913958
1031013959=end original
1031113960
1031213961(W closed) 送信を行なおうとしたソケットは、既に閉じられています。
1031313962制御フローをチェックしてください。
1031413963
10315=item Sequence (? incomplete in regex; marked by <-- HERE in m/%s/
13964=item Sequence "\c{" invalid
1031613965
1031713966=begin original
1031813967
13968(F) These three characters may not appear in sequence in a
13969double-quotish context. This message is raised only on non-ASCII
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.
13973
13974=end original
13975
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
1031913987(F) A regular expression ended with an incomplete extension (?. The
10320<-- HERE shows in the regular expression about where the problem was
13988S<<-- HERE> shows whereabouts in the regular expression the problem was
1032113989discovered. See L<perlre>.
1032213990
1032313991=end original
1032413992
1032513993(F) 正規表現が不完全な拡張 (? で終わっています。
10326<-- HERE で正規表現のどこに問題が発見されたかを示しています。
13994S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1032713995L<perlre> を参照してください。
1032813996
10329=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/
1033013999
1033114000=begin original
1033214001
1033314002(F) A proposed regular expression extension has the character reserved
10334but has not yet been written. The <-- HERE shows in the regular
14003but has not yet been written. The S<<-- HERE> shows whereabouts in the
10335expression about where the problem was discovered. See L<perlre>.
14004regular expression the problem was discovered. See L<perlre>.
1033614005
1033714006=end original
1033814007
1033914008(F) 使おうとした正規表現の拡張は、予約された文字ですが、
1034014009まだ実装されていません。
10341<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14010S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1034214011L<perlre> を参照してください。
1034314012
10344=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/
1034514015
1034614016=begin original
1034714017
10348(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.
10349<-- HERE shows in the regular expression about where the problem was
14019The S<<-- HERE> shows whereabouts in the regular expression the problem was
10350discovered. This happens when using the C<(?^...)> construct to tell
14020discovered. This may happen when using the C<(?^...)> construct to tell
1035114021Perl to use the default regular expression modifiers, and you
1035214022redundantly specify a default modifier. For other
1035314023causes, see L<perlre>.
1035414024
1035514025=end original
1035614026
1035714027(F) お使いになった正規表現の拡張は、意味をなしません。
10358<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14028S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1035914029これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために
1036014030C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。
1036114031その他の理由については、L<perlre> を参照してください。
1036214032
10363=item Sequence \%s... not terminated in regex; marked by <-- HERE in m/%s/
14033=item Sequence (?#... not terminated in regex m/%s/
1036414034
1036514035=begin original
1036614036
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
1036714129(F) The regular expression expects a mandatory argument following the escape
1036814130sequence and this has been omitted or incorrectly written.
1036914131
1037014132=end original
1037114133
1037214134(F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、
1037314135それが省略されているか適切に書かれていません。
1037414136
10375=item Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/
14137=item Sequence (?{...}) not terminated with ')'
1037614138
1037714139=begin original
1037814140
10379(F) A regular expression comment must be terminated by a closing
14141(F) The end of the perl code contained within the {...} must be
10380parenthesis. Embedded parentheses aren't allowed. The <-- HERE shows in
14142followed immediately by a ')'.
10381the regular expression about where the problem was discovered. See
10382L<perlre>.
1038314143
1038414144=end original
1038514145
10386(F) 正規表現のコメント閉じかっこで終わらなければなりません。
14146(F) {} 中に含まれている perl ードの末尾直後に ')' が
10387組み込みのっこは許可されません。
14147引き続なけばなりません。
10388<-- HERE で正規表現のどこに問題が発見されたかを示しています。
10389L<perlre> を参照してください。
1039014148
10391=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/
1039214150
1039314151=begin original
1039414152
10395(F) If the contents of a (?{...}) clause contain braces, they
14153(F) A named reference of the form C<(?PE<gt>...)> was missing the final
10396must balance for Perl to detect the end of the clause properly.
14154closing parenthesis after the name. The S<<-- HERE> shows whereabouts
10397The <-- HERE shows in the regular expression about where the
14155in the regular expression the problem was discovered.
10398problem was discovered. See L<perlre>.
1039914156
1040014157=end original
1040114158
10402(F) (?{...}) 中に大かっこがある場合、対応していなければなりません;
14159(F) C<(?PE<gt>...)> 形式名前付き参照で、名前の後の最後の閉じかっこが
10403Perl が正しく節の最後を検出するためです
14160ありません
10404<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14161S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
10405L<perlre> を参照してください。
1040614162
10407=item Z<>500 Server error
14163=item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/
1040814164
1040914165=begin original
1041014166
10411See 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.
1041214170
1041314171=end original
1041414172
10415"Server error" を参照してください。
14173(F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、
14174最後の閉じ山かっこがありません。
14175S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1041614176
10417=item Server error
14177=item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in
14178m/%s/
1041814179
1041914180=begin original
1042014181
14182(F) A named reference of the form C<(?P=...)> was missing the final
14183closing parenthesis after the name. The S<<-- HERE> shows whereabouts
14184in the regular expression the problem was discovered.
14185
14186=end original
14187
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
1042114207(A) This is the error message generally seen in a browser window
1042214208when trying to run a CGI program (including SSI) over the web. The
1042314209actual error text varies widely from server to server. The most
1042414210frequently-seen variants are "500 Server error", "Method (something)
1042514211not permitted", "Document contains no data", "Premature end of script
1042614212headers", and "Did not produce a valid header".
1042714213
1042814214=end original
1042914215
1043014216(A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに
1043114217実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。
1043214218実際のエラーテキストはサーバーによって大きく異なります。
1043314219もっともよく見られるものとしては、"500 Server error",
1043414220"Method (something) not permitted", "Document contains no data",
1043514221"Premature end of script headers", "Did not produce a valid header" が
1043614222あります。
1043714223
1043814224=begin original
1043914225
1044014226B<This is a CGI error, not a Perl error>.
1044114227
1044214228=end original
1044314229
1044414230B<これは CGI のエラーであり、Perl のエラーではありません>.
1044514231
1044614232=begin original
1044714233
1044814234You need to make sure your script is executable, is accessible by
1044914235the user CGI is running the script under (which is probably not the
1045014236user account you tested it under), does not rely on any environment
1045114237variables (like PATH) from the user it isn't running under, and isn't
1045214238in a location where the CGI server can't find it, basically, more or
1045314239less. Please see the following for more information:
1045414240
1045514241=end original
1045614242
1045714243まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく
1045814244あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは
1045914245異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが
1046014246見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。
1046114247さらなる情報については以下を参照してください。
1046214248
10463 http://www.perl.org/CGI_MetaFAQ.html
14249 https://www.perl.org/CGI_MetaFAQ.html
1046414250 http://www.htmlhelp.org/faq/cgifaq.html
1046514251 http://www.w3.org/Security/Faq/
1046614252
1046714253=begin original
1046814254
1046914255You should also look at L<perlfaq9>.
1047014256
1047114257=end original
1047214258
1047314259L<perlfaq9> も見るべきでしょう。
1047414260
1047514261=item setegid() not implemented
1047614262
1047714263=begin original
1047814264
1047914265(F) You tried to assign to C<$)>, and your operating system doesn't
1048014266support the setegid() system call (or equivalent), or at least Configure
1048114267didn't think so.
1048214268
1048314269=end original
1048414270
1048514271(F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid()
1048614272システムコール (または、同等のもの) がサポートされていません;
1048714273少なくとも Configure では、そう判断されました。
1048814274
1048914275=item seteuid() not implemented
1049014276
1049114277=begin original
1049214278
1049314279(F) You tried to assign to C<< $> >>, and your operating system doesn't
1049414280support the seteuid() system call (or equivalent), or at least Configure
1049514281didn't think so.
1049614282
1049714283=end original
1049814284
1049914285(F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid()
1050014286システムコール (または、同等のもの) がサポートされていません;
1050114287少なくとも Configure では、そう判断されました。
1050214288
1050314289=item setpgrp can't take arguments
1050414290
1050514291=begin original
1050614292
1050714293(F) Your system has the setpgrp() from BSD 4.2, which takes no
1050814294arguments, unlike POSIX setpgid(), which takes a process ID and process
1050914295group ID.
1051014296
1051114297=end original
1051214298
1051314299(F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません;
1051414300POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。
1051514301
1051614302=item setrgid() not implemented
1051714303
1051814304=begin original
1051914305
1052014306(F) You tried to assign to C<$(>, and your operating system doesn't
1052114307support the setrgid() system call (or equivalent), or at least Configure
1052214308didn't think so.
1052314309
1052414310=end original
1052514311
1052614312(F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid()
1052714313システムコール (または、同等のもの) がサポートされていません;
1052814314少なくとも Configure では、そう判断されました。
1052914315
1053014316=item setruid() not implemented
1053114317
1053214318=begin original
1053314319
1053414320(F) You tried to assign to C<$<>, and your operating system doesn't
1053514321support the setruid() system call (or equivalent), or at least Configure
1053614322didn't think so.
1053714323
1053814324=end original
1053914325
1054014326(F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid()
1054114327システムコール (または、同等のもの) がサポートされていません;
1054214328少なくとも Configure では、そう判断されました。
1054314329
1054414330=item setsockopt() on closed socket %s
1054514331
1054614332=begin original
1054714333
1054814334(W closed) You tried to set a socket option on a closed socket. Did you
1054914335forget to check the return value of your socket() call? See
1055014336L<perlfunc/setsockopt>.
1055114337
1055214338=end original
1055314339
1055414340(W closed) 閉じているソケットにソケットオプションを設定しようとしました。
1055514341socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか?
1055614342L<perlfunc/setsockopt> を参照してください。
1055714343
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
1055814403=item shm%s not implemented
1055914404
1056014405=begin original
1056114406
1056214407(F) You don't have System V shared memory IPC on your system.
1056314408
1056414409=end original
1056514410
1056614411(F) このシステムでは、System V 共有メモリ IPC は使えません。
1056714412
1056814413=item !=~ should be !~
1056914414
1057014415=begin original
1057114416
1057214417(W syntax) The non-matching operator is !~, not !=~. !=~ will be
1057314418interpreted as the != (numeric not equal) and ~ (1's complement)
1057414419operators: probably not what you intended.
1057514420
1057614421=end original
1057714422
1057814423(W syntax) 非マッチ演算子は !=~ ではなく !~ です。
1057914424!=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます:
1058014425おそらくあなたの意図していることではないでしょう。
1058114426
10582=item <> should be quotes
10583
10584=begin original
10585
10586(F) You wrote C<< require <file> >> when you should have written
10587C<require 'file'>.
10588
10589=end original
10590
10591(F) C<require 'file'> と書くべきところで C<< require <file> >> と
10592書いています。
10593
1059414427=item /%s/ should probably be written as "%s"
1059514428
1059614429=begin original
1059714430
1059814431(W syntax) You have used a pattern where Perl expected to find a string,
1059914432as in the first argument to C<join>. Perl will treat the true or false
1060014433result of matching the pattern against $_ as the string, which is
1060114434probably not what you had in mind.
1060214435
1060314436=end original
1060414437
1060514438(W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに
1060614439パターンを使いました。
1060714440Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として
1060814441扱いますが、これはおそらく望んでいることではないでしょう。
1060914442
1061014443=item shutdown() on closed socket %s
1061114444
1061214445=begin original
1061314446
1061414447(W closed) You tried to do a shutdown on a closed socket. Seems a bit
1061514448superfluous.
1061614449
1061714450=end original
1061814451
1061914452(W closed) クローズされたソケットに shutdown を行なおうとしました。
1062014453多少、無駄のように思われます。
1062114454
1062214455=item SIG%s handler "%s" not defined
1062314456
1062414457=begin original
1062514458
1062614459(W signal) The signal handler named in %SIG doesn't, in fact, exist.
1062714460Perhaps you put it into the wrong package?
1062814461
1062914462=end original
1063014463
1063114464(W signal) %SIG 内で指定したシグナルハンドラが、存在しません。
1063214465間違ったパッケージで、設定を行なっているのかもしれません。
1063314466
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
1063414510=item Smart matching a non-overloaded object breaks encapsulation
1063514511
1063614512=begin original
1063714513
1063814514(F) You should not use the C<~~> operator on an object that does not
10639overload it: Perl refuses to use the object's underlying structure for
14515overload it: Perl refuses to use the object's underlying structure
10640the smart match.
14516for the smart match.
1064114517
1064214518=end original
1064314519
1064414520(F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を
1064514521使うべきではありません: Perl はスマートマッチング時にオブジェクトの
1064614522基礎となる構造を使うことを拒否します。
1064714523
10648=item sort is now a reserved word
14524=item Smartmatch is deprecated
1064914525
1065014526=begin original
1065114527
10652(F) An ancient error message that almost nobody ever runs into anymore.
14528(D deprecated::smartmatch) This warning is emitted if you
10653But before sort was a keyword, people sometimes used it as a filehandle.
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.
1065414533
1065514534=end original
1065614535
10657(F) もはや、誰もお目にかかるない旧世代のエラセージです。
14536(D deprecated::smartmatch) この警告はスマトマチング (C<~~>) 演算子を
10658だ、sort がキーワードなる前は、こをファイルハンドルとして
14537使ったと出力さます。
10659使う方がいました
14538これは廃止予定の機能です
14539特に、この実装は不必要に複雑かつ直感的でないとされており、
14540Perl 5.42 で削除される予定です。
1066014541
10661=item Sort subroutine didn't return single value
14542=item Sorry, hash keys must be smaller than 2**31 bytes
1066214543
1066314544=begin original
1066414545
10665(F) A sort comparison subroutine may not return a list value with more
14546(F) You tried to create a hash containing a very large key, where "very
10666or less than one element. See L<perlfunc/sort>.
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.
1066714550
1066814551=end original
1066914552
10670(F) sort の比較サブルチンは、要素が 1 個以外のリスト値
14553(F) とても大きなキーを含むハッシュを作ろうとしました;
10671返すことはできません
14554こで「ても大きな」と、保管に最低 2 ギガバイト必要なもの
10672L<perlfunc/sort> を参照してくさい
14555残念ながら、Perl はまそのような大きなハッシュキーを扱えません
14556そのような長い文字列で直接ハッシュを作るのを避けるように、
14557設計を再考する必要があります。
1067314558
14559=item sort is now a reserved word
14560
14561=begin original
14562
14563(F) An ancient error message that almost nobody ever runs into anymore.
14564But before sort was a keyword, people sometimes used it as a filehandle.
14565
14566=end original
14567
14568(F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。
14569ただ、sort がキーワードとなる前には、これをファイルハンドルとして
14570使う方がいました。
14571
1067414572=item Source filters apply only to byte streams
1067514573
1067614574=begin original
1067714575
1067814576(F) You tried to activate a source filter (usually by loading a
1067914577source filter module) within a string passed to C<eval>. This is
1068014578not permitted under the C<unicode_eval> feature. Consider using
1068114579C<evalbytes> instead. See L<feature>.
1068214580
1068314581=end original
1068414582
1068514583(F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを
1068614584読み込むことで)ソースフィルタを有効にしようとしました。
1068714585これは C<unicode_eval> 機能が有効の場合は許されていません。
1068814586代わりに C<evalbytes> を使うことを検討してください。
1068914587L<feature> を参照してください。
1069014588
1069114589=item splice() offset past end of array
1069214590
1069314591=begin original
1069414592
1069514593(W misc) You attempted to specify an offset that was past the end of
1069614594the array passed to splice(). Splicing will instead commence at the
1069714595end of the array, rather than past it. If this isn't what you want,
1069814596try explicitly pre-extending the array by assigning $#array = $offset.
1069914597See L<perlfunc/splice>.
1070014598
1070114599=end original
1070214600
1070314601(W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。
1070414602splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。
1070514603これが望んでいることではないなら、$#array = $offset と代入することで
1070614604明示的に事前に配列を拡張してください。
1070714605L<perlfunc/splice> を参照してください。
1070814606
1070914607=item Split loop
1071014608
1071114609=begin original
1071214610
1071314611(P) The split was looping infinitely. (Obviously, a split shouldn't
1071414612iterate more times than there are characters of input, which is what
1071514613happened.) See L<perlfunc/split>.
1071614614
1071714615=end original
1071814616
1071914617(P) split が無限ループに陥りました。
1072014618(明らかに、split は、入力文字数以上にはできないはずですが、
1072114619そうなってしまいました。) 
1072214620L<perlfunc/split> を参照してください。
1072314621
1072414622=item Statement unlikely to be reached
1072514623
1072614624=begin original
1072714625
1072814626(W exec) You did an exec() with some statement after it other than a
1072914627die(). This is almost always an error, because exec() never returns
1073014628unless there was a failure. You probably wanted to use system()
1073114629instead, which does return. To suppress this warning, put the exec() in
1073214630a block by itself.
1073314631
1073414632=end original
1073514633
1073614634(W exec) exec() の後に、die() 以外の実行文があります。
1073714635失敗したとき以外は、exec() から戻ってくることはありませんから、
1073814636ほとんどの場合には誤りでしょう。
1073914637戻ってくるsystem() に置き換える必要があるかもしれません。
1074014638この警告を止めるには、ブロック内に exec() だけを記述してください。
1074114639
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
1074214670=item "state" variable %s can't be in a package
1074314671
1074414672=begin original
1074514673
1074614674(F) Lexically scoped variables aren't in a package, so it doesn't make
1074714675sense to try to declare one with a package qualifier on the front. Use
1074814676local() if you want to localize a package variable.
1074914677
1075014678=end original
1075114679
10752(F) 字句スコープの変数パッケージ内に置かれませんので、
14680(F) レキシカルスコープサブルーチンはパッケージ内にないので、
1075314681頭にパッケージ名を付けて宣言することは、無意味です。
1075414682パッケージ変数をローカル化したい場合には、local() を使ってください。
1075514683
1075614684=item stat() on unopened filehandle %s
1075714685
1075814686=begin original
1075914687
1076014688(W unopened) You tried to use the stat() function on a filehandle that
1076114689was either never opened or has since been closed.
1076214690
1076314691=end original
1076414692
1076514693(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1076614694ファイルハンドルに対して、stat() 関数を使おうとしました。
1076714695
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
1076814711=item Stub found while resolving method "%s" overloading "%s" in package "%s"
1076914712
1077014713=begin original
1077114714
1077214715(P) Overloading resolution over @ISA tree may be broken by importation
1077314716stubs. Stubs should never be implicitly created, but explicit calls to
1077414717C<can> may break this.
1077514718
1077614719=end original
1077714720
1077814721(P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。
1077914722スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと
1078014723これを破壊することがあります。
1078114724
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
1078214827=item Subroutine %s redefined
1078314828
1078414829=begin original
1078514830
1078614831(W redefine) You redefined a subroutine. To suppress this warning, say
1078714832
1078814833=end original
1078914834
1079014835(W redefine) サブルーチンを再定義しました。
1079114836この警告を止めるには以下のようにしてください:
1079214837
1079314838 {
1079414839 no warnings 'redefine';
1079514840 eval "sub name { ... }";
1079614841 }
1079714842
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
1079814893=item Substitution loop
1079914894
1080014895=begin original
1080114896
1080214897(P) The substitution was looping infinitely. (Obviously, a substitution
1080314898shouldn't iterate more times than there are characters of input, which
1080414899is what happened.) See the discussion of substitution in
1080514900L<perlop/"Regexp Quote-Like Operators">.
1080614901
1080714902=end original
1080814903
1080914904(P) 置換が無限ループに陥りました。
1081014905(明らかに、置換は入力文字数以上には起こらないはずですが、
1081114906それが起こってしまいました。)
1081214907L<perlop/"Quote and Quote-Like Operators"> を参照してください。
1081314908
1081414909=item Substitution pattern not terminated
1081514910
1081614911=begin original
1081714912
1081814913(F) The lexer couldn't find the interior delimiter of an s/// or s{}{}
1081914914construct. Remember that bracketing delimiters count nesting level.
1082014915Missing the leading C<$> from variable C<$s> may cause this error.
1082114916
1082214917=end original
1082314918
1082414919(F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。
1082514920かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1082614921C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1082714922
1082814923=item Substitution replacement not terminated
1082914924
1083014925=begin original
1083114926
1083214927(F) The lexer couldn't find the final delimiter of an s/// or s{}{}
1083314928construct. Remember that bracketing delimiters count nesting level.
1083414929Missing the leading C<$> from variable C<$s> may cause this error.
1083514930
1083614931=end original
1083714932
1083814933(F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。
1083914934かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1084014935C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1084114936
1084214937=item substr outside of string
1084314938
1084414939=begin original
1084514940
1084614941(W substr)(F) You tried to reference a substr() that pointed outside of
1084714942a string. That is, the absolute value of the offset was larger than the
1084814943length of the string. See L<perlfunc/substr>. This warning is fatal if
1084914944substr is used in an lvalue context (as the left hand side of an
1085014945assignment or as a subroutine argument for example).
1085114946
1085214947=end original
1085314948
1085414949(W substr)(F) 文字列の外を指す substr() を参照しようとしました。
1085514950つまり、オフセットの絶対値が、文字列の長さより大きくなっています。
1085614951L<perlfunc/substr> を参照してください。
1085714952この警告は、substr が(代入の左側やサブルーチンの引数といった)
1085814953左辺値として使われた場合は致命的となります。
1085914954
1086014955=item sv_upgrade from type %d down to type %d
1086114956
1086214957=begin original
1086314958
1086414959(P) Perl tried to force the upgrade of an SV to a type which was actually
1086514960inferior to its current type.
1086614961
1086714962=end original
1086814963
1086914964(P) Perl は SV を、実際には現在の型より下位の型への昇格を
1087014965強制しようとしました。
1087114966
10872=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/
1087314969
1087414970=begin original
1087514971
1087614972(F) A (?(condition)if-clause|else-clause) construct can have at most
1087714973two branches (the if-clause and the else-clause). If you want one or
1087814974both to contain alternation, such as using C<this|that|other>, enclose
1087914975it in clustering parentheses:
1088014976
1088114977=end original
1088214978
1088314979(F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐
1088414980(if-clause と else-clause) を持つことができます。
1088514981片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください:
1088614982
1088714983 (?(condition)(?:this|that|other)|else-clause)
1088814984
1088914985=begin original
1089014986
10891The <-- HERE shows in the regular expression about where the problem
14987The S<<-- HERE> shows whereabouts in the regular expression the problem
1089214988was discovered. See L<perlre>.
1089314989
1089414990=end original
1089514991
10896<-- HERE で正規表現のどこに問題が発見されたかを示しています。
14992S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1089714993L<perlre> を参照してください。
1089814994
10899=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/
1090014997
1090114998=begin original
1090214999
10903(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
10904a number, it can be only a number. The <-- HERE shows in the regular
15001is not known. The condition must be one of the following:
10905expression about where the problem was discovered. See L<perlre>.
1090615002
1090715003=end original
1090815004
10909(?(...)if-clause|else-clause) 構造の引数数値なら、数値だけが可能です。
15005(?(...)if-clause|else-clause) 構造の条件部不明です。
10910<-- 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> で正規表現のどこに問題が発見されたかを示しています。
1091115026L<perlre> を参照してください。
1091215027
10913=item switching effective %s is not implemented
15028=item Switch (?(condition)... not terminated in regex; marked by
15029S<<-- HERE> in m/%s/
1091415030
1091515031=begin original
1091615032
10917(F) While under the C<use filetest> pragma, we cannot switch the real
15033(F) You omitted to close a (?(condition)...) block somewhere
10918and effective uids or gids.
15034in the pattern. Add a closing parenthesis in the appropriate
15035position. See L<perlre>.
1091915036
1092015037=end original
1092115038
10922(F) C<use filetest> プラグマ使ってい間に、
15039(F) パターン中のどこかで (?(condition)...) ブロック閉じのを省略しました。
10923実と実効の UID や GID のり替え失敗ました
15040な位置閉じかっこを追加てください
15041L<perlre> を参照してください。
1092415042
10925=item %s syntax OK
15043=item switching effective %s is not implemented
1092615044
1092715045=begin original
1092815046
10929(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.
1093015049
1093115050=end original
1093215051
10933(F) C<perl -c> が成功したときの最終まとめメッセージです。
15052(F) C<use filetest> プラグマを使っている間に、
15053実と実効の UID や GID の切り替えに失敗しました。
1093415054
1093515055=item syntax error
1093615056
1093715057=begin original
1093815058
1093915059(F) Probably means you had a syntax error. Common reasons include:
1094015060
1094115061=end original
1094215062
1094315063(F) おそらく、構文エラーが起こっています。
1094415064よくある原因としては以下のことが考えられます:
1094515065
1094615066=begin original
1094715067
1094815068 A keyword is misspelled.
1094915069 A semicolon is missing.
1095015070 A comma is missing.
1095115071 An opening or closing parenthesis is missing.
1095215072 An opening or closing brace is missing.
1095315073 A closing quote is missing.
1095415074
1095515075=end original
1095615076
1095715077 キーワードのスペルミス。
1095815078 セミコロンを忘れた。
1095915079 コンマを忘れた。
1096015080 開きかっこ、閉じかっこを忘れた。
1096115081 開き中かっこ、閉じ中かっこを忘れた。
1096215082 クォートの閉じ忘れ。
1096315083
1096415084=begin original
1096515085
1096615086Often there will be another error message associated with the syntax
1096715087error giving more information. (Sometimes it helps to turn on B<-w>.)
1096815088The error message itself often tells you where it was in the line when
1096915089it decided to give up. Sometimes the actual error is several tokens
1097015090before this, because Perl is good at understanding random input.
1097115091Occasionally the line number may be misleading, and once in a blue moon
1097215092the only way to figure out what's triggering the error is to call
1097315093C<perl -c> repeatedly, chopping away half the program each time to see
1097415094if the error went away. Sort of the cybernetic version of S<20 questions>.
1097515095
1097615096=end original
1097715097
1097815098多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、
1097915099情報を与えてくれます。(-w を付けることが、助けになることもあります。)
1098015100エラーメッセージ自身には、何行目まで行って、諦めたのかということも
1098115101含まれています。
1098215102Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に
1098315103在ることもあります。
1098415104ときには、行番号が全く役に立たないこともあり、はまってしまったなら、
1098515105エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、
1098615106エラーがなくなるまで、perl -c を繰り返すしかありません。
1098715107S<頭の体操 20 問>だと思ってください。
1098815108
1098915109=item syntax error at line %d: '%s' unexpected
1099015110
1099115111=begin original
1099215112
1099315113(A) You've accidentally run your script through the Bourne shell instead
1099415114of Perl. Check the #! line, or manually feed your script into Perl
1099515115yourself.
1099615116
1099715117=end original
1099815118
1099915119(A) スクリプトを perl ではなく Bourne shell で実行しようとしました。
11000#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
15120#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1100115121
1100215122=item syntax error in file %s at line %d, next 2 tokens "%s"
1100315123
1100415124=begin original
1100515125
1100615126(F) This error is likely to occur if you run a perl5 script through
1100715127a perl4 interpreter, especially if the next 2 tokens are "use strict"
1100815128or "my $var" or "our $var".
1100915129
1101015130=end original
1101115131
1101215132(F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに
1101315133おきそうなものです; 特に次の二つのトークンが "use strict" か
1101415134"my $var" か "our $var" の場合はそうです。
1101515135
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
1101615158=item sysread() on closed filehandle %s
1101715159
1101815160=begin original
1101915161
1102015162(W closed) You tried to read from a closed filehandle.
1102115163
1102215164=end original
1102315165
1102415166(W closed) 閉じたファイルハンドルから読み込もうとしました。
1102515167
1102615168=item sysread() on unopened filehandle %s
1102715169
1102815170=begin original
1102915171
1103015172(W unopened) You tried to read from a filehandle that was never opened.
1103115173
1103215174=end original
1103315175
1103415176(W unopened) 開いていないファイルハンドルから読み込もうとしました。
1103515177
1103615178=item System V %s is not implemented on this machine
1103715179
1103815180=begin original
1103915181
1104015182(F) You tried to do something with a function beginning with "sem",
1104115183"shm", or "msg" but that System V IPC is not implemented in your
1104215184machine. In some machines the functionality can exist but be
1104315185unconfigured. Consult your system support.
1104415186
1104515187=end original
1104615188
1104715189(F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、
1104815190あなたのマシンには System V IPC が実装されていません。
1104915191機能はあっても設定されていない場合もあります。
1105015192システムサポートに相談してください。
1105115193
1105215194=item syswrite() on closed filehandle %s
1105315195
1105415196=begin original
1105515197
1105615198(W closed) The filehandle you're writing to got itself closed sometime
1105715199before now. Check your control flow.
1105815200
1105915201=end original
1106015202
1106115203(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
1106215204制御フローをチェックしてください。
1106315205
1106415206=item C<-T> and C<-B> not implemented on filehandles
1106515207
1106615208=begin original
1106715209
1106815210(F) Perl can't peek at the stdio buffer of filehandles when it doesn't
1106915211know about your kind of stdio. You'll have to use a filename instead.
1107015212
1107115213=end original
1107215214
1107315215(F) Perl が、お使いの stdio のことをよく知らないとき、
1107415216ファイルハンドルの stdio バッファを覗くことはできません。
1107515217代わりにファイル名を使わなければなりません。
1107615218
1107715219=item Target of goto is too deeply nested
1107815220
1107915221=begin original
1108015222
1108115223(F) You tried to use C<goto> to reach a label that was too deeply nested
1108215224for Perl to reach. Perl is doing you a favor by refusing.
1108315225
1108415226=end original
1108515227
1108615228(F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。
1108715229Perl は親切にもこれを拒否します。
1108815230
1108915231=item telldir() attempted on invalid dirhandle %s
1109015232
1109115233=begin original
1109215234
1109315235(W io) The dirhandle you tried to telldir() is either closed or not really
1109415236a dirhandle. Check your control flow.
1109515237
1109615238=end original
1109715239
1109815240(W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、
1109915241実際にはディレクトリハンドルではありません。
1110015242制御フローをチェックしてください。
1110115243
1110215244=item tell() on unopened filehandle
1110315245
1110415246=begin original
1110515247
1110615248(W unopened) You tried to use the tell() function on a filehandle that
1110715249was either never opened or has since been closed.
1110815250
1110915251=end original
1111015252
1111115253(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1111215254ファイルハンドルに対して、tell() 関数を使おうとしました。
1111315255
11114=item That use of $[ is unsupported
15256=item The crypt() function is unimplemented due to excessive paranoia.
1111515257
1111615258=begin original
1111715259
11118(F) Assignment to C<$[> is now strictly circumscribed, and interpreted
15260(F) Configure couldn't find the crypt() function on your machine,
11119as 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.
1112015265
1112115266=end original
1112215267
11123(F) 現在、C<$[> への代入は、厳しく制限され、コパイラ指示子と解釈されます。
15268(F) Configure は、マシ上で crypt() 関数を見つけられませんでした;
11124使えるは以下の形だけす:
15269おそらく、ベンダから供給がなかったから、おそらく、ベンダは
15270アメリカ政府がそれを秘密だとしていると思っているか、
15271少なくとも思っているというふりをしているのでしょう。
15272私を引き合いに出したところで、それは否定されることでしょう。
1112515273
11126 $[ = 0;
15274=item The experimental declared_refs feature is not enabled
11127 $[ = 1;
11128 ...
11129 local $[ = 0;
11130 local $[ = 1;
11131 ...
1113215275
1113315276=begin original
1113415277
11135This 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
11136from under another module inadvertently. See L<perlvar/$[> and L<arybase>.
15279the feature:
1113715280
1113815281=end original
1113915282
11140これは、一つモジュールで、他のモジュールが意図しないよう
15283(F) C<my \%x> のように、変数へのリファレンスを定義するには
11141配列ベース変更する問題を回避するためのものです。
15284最初にこ機能有効にしなければなりません:
11142L<perlvar/$[> と L<arybase> を参照してください。
1114315285
11144=item The crypt() function is unimplemented due to excessive paranoia
15286 no warnings "experimental::declared_refs";
15287 use feature "declared_refs";
1114515288
15289=item The %s function is unimplemented
15290
1114615291=begin original
1114715292
11148(F) Configure couldn't find the crypt() function on your machine,
15293(F) The function indicated isn't implemented on this architecture,
11149probably because your vendor didn't supply it, probably because they
15294according to the probings of Configure.
11150think the U.S. Government thinks it's a secret, or at least that they
11151will continue to pretend that it is. And if you quote me on that, I
11152will deny it.
1115315295
1115415296=end original
1115515297
11156(F) Configure マシン上 crypt() 関数を見つけられませんでした;
15298(F) この関数は、Configure の調査によるとこのアーキテクチャは、
11157おそらく、ベンダからの供給がかったから、おそらく、ベンダは
15299実装されていいようす。
11158アメリカ政府がそれを秘密だとしていると思っているか、
11159少なくとも思っているというふりをしているのでしょう。
11160私を引き合いに出したところで、それは否定されることでしょう。
1116115300
11162=item The %s function is unimplemented
15301=item The private_use feature is experimental
1116315302
1116415303=begin original
1116515304
11166(F) The function indicated isn't implemented on this architecture, according
15305(S experimental::private_use) This feature is actually a hook for future
11167to the probings of Configure.
15306use.
1116815307
1116915308=end original
1117015309
11171(F) この関数は、Configure の調査によると、このアーキテクチャで
15310(S experimental::private_use) この機能実際には将来の使用のための
11172実装されていないようです。
15311フックです。
1117315312
1117415313=item The stat preceding %s wasn't an lstat
1117515314
1117615315=begin original
1117715316
1117815317(F) It makes no sense to test the current stat buffer for symbolic
1117915318linkhood if the last stat that wrote to the stat buffer already went
1118015319past the symlink to get to the real file. Use an actual filename
1118115320instead.
1118215321
1118315322=end original
1118415323
1118515324(F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの
1118615325情報を取って、stat バッファに入れているときに、シンボリックタイプの
1118715326stat をカレント stat バッファに対して行なっても意味がありません。
1118815327実際のファイル名を使ってください。
1118915328
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
1119015343=item The 'unique' attribute may only be applied to 'our' variables
1119115344
1119215345=begin original
1119315346
1119415347(F) This attribute was never supported on C<my> or C<sub> declarations.
1119515348
1119615349=end original
1119715350
1119815351(F) この属性は C<my> や C<sub> の宣言では対応していません。
1119915352
1120015353=item This Perl can't reset CRTL environ elements (%s)
1120115354
1120215355=item This Perl can't set CRTL environ elements (%s=%s)
1120315356
1120415357=begin original
1120515358
1120615359(W internal) Warnings peculiar to VMS. You tried to change or delete an
1120715360element of the CRTL's internal environ array, but your copy of Perl
1120815361wasn't built with a CRTL that contained the setenv() function. You'll
1120915362need to rebuild Perl with a CRTL that does, or redefine
1121015363F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the
1121115364target of the change to
1121215365%ENV which produced the warning.
1121315366
1121415367=end original
1121515368
1121615369(W internal) VMS に固有の警告です。
1121715370CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は
1121815371setenv() 関数を含んだ CRTL でビルドされていません。
1121915372これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を
1122015373出力している %ENV を変更するターゲットとならないように
1122115374F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。
1122215375
11223=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().
1122415377
1122515378=begin original
1122615379
11227(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.
1122815385
1122915386=end original
1123015387
11231(W threads)(S) threads->create() のエントリポイント関数何らかの理由
15388(F) 何かが、Perlデフォルト対応しているランダム化されたハッシュキー検索に
11232失敗しました
15389依存た 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで
15390コンパイルされていました。
15391この警告を関係する上流グループに報告するか、デフォルトオプションで perl を
15392再コンパイルしてください。
1123315393
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
1123415483=item times not implemented
1123515484
1123615485=begin original
1123715486
1123815487(F) Your version of the C library apparently doesn't do times(). I
1123915488suspect you're not running on Unix.
1124015489
1124115490=end original
1124215491
1124315492(F) お使いの C ライブラリでは、times() を行わないようです。
1124415493UNIX ではない環境でしょうか。
1124515494
1124615495=item "-T" is on the #! line, it must also be used on the command line
1124715496
1124815497=begin original
1124915498
1125015499(X) The #! line (or local equivalent) in a Perl script contains
1125115500the B<-T> option (or the B<-t> option), but Perl was not invoked with
1125215501B<-T> in its command line. This is an error because, by the time
1125315502Perl discovers a B<-T> in a script, it's too late to properly taint
1125415503everything from the environment. So Perl gives up.
1125515504
1125615505=end original
1125715506
1125815507(X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T>
1125915508オプション (または B<-t> オプション) が含まれていますが、Perl は
1126015509コマンドラインで B<-T> 付きで起動されていません。
1126115510Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを
1126215511汚染チェックするには遅すぎるので、これはエラーになります。
1126315512それで Perl は諦めます。
1126415513
1126515514=begin original
1126615515
1126715516If the Perl script is being executed as a command using the #!
1126815517mechanism (or its local equivalent), this error can usually be
1126915518fixed by editing the #! line so that the B<-%c> option is a part of
1127015519Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>.
1127115520
1127215521=end original
1127315522
1127415523perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして
1127515524実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に
1127615525変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。
1127715526
1127815527=begin original
1127915528
1128015529If the Perl script is being executed as C<perl scriptname>, then the
1128115530B<-%c> option must appear on the command line: C<perl -%c scriptname>.
1128215531
1128315532=end original
1128415533
1128515534Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは
1128615535コマンドラインに書かなければなりません: C<perl -%c scriptname>
1128715536
1128815537=item To%s: illegal mapping '%s'
1128915538
1129015539=begin original
1129115540
1129215541(F) You tried to define a customized To-mapping for lc(), lcfirst,
1129315542uc(), or ucfirst() (or their string-inlined versions), but you
1129415543specified an illegal mapping.
1129515544See L<perlunicode/"User-Defined Character Properties">.
1129615545
1129715546=end original
1129815547
1129915548(F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の
1130015549ためのカスタマイズされた変換先マッピングを定義しようとしましたが、
1130115550不正なマッピングを指定しました。
1130215551L<perlunicode/"User-Defined Character Properties"> を参照してください。
1130315552
1130415553=item Too deeply nested ()-groups
1130515554
1130615555=begin original
1130715556
1130815557(F) Your template contains ()-groups with a ridiculously deep nesting level.
1130915558
1131015559=end original
1131115560
1131215561(F) テンプレートに、おかしいぐらいネストした () グループがあります。
1131315562
1131415563=item Too few args to syscall
1131515564
1131615565=begin original
1131715566
1131815567(F) There has to be at least one argument to syscall() to specify the
1131915568system call to call, silly dilly.
1132015569
1132115570=end original
1132215571
1132315572(F) syscall() には、最低限でも呼び出すシステムコールを示す、
1132415573引数が一つ必要です。
1132515574
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
1132615613=item Too late for "-%s" option
1132715614
1132815615=begin original
1132915616
1133015617(X) The #! line (or local equivalent) in a Perl script contains the
1133115618B<-M>, B<-m> or B<-C> option.
1133215619
1133315620=end original
1133415621
1133515622(X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>,
1133615623B<-C> オプションが含まれています。
1133715624
1133815625=begin original
1133915626
1134015627In the case of B<-M> and B<-m>, this is an error because those options
1134115628are not intended for use inside scripts. Use the C<use> pragma instead.
1134215629
1134315630=end original
1134415631
1134515632B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、
1134615633これはエラーになります。
1134715634代わりに C<use> プラグマを使ってください。
1134815635
1134915636=begin original
1135015637
1135115638The B<-C> option only works if it is specified on the command line as
1135215639well (with the same sequence of letters or numbers following). Either
1135315640specify this option on the command line, or, if your system supports
1135415641it, make your script executable and run it directly instead of passing
1135515642it to perl.
1135615643
1135715644=end original
1135815645
1135915646B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで)
1136015647指定されたときにのみ動作します。
1136115648このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、
1136215649スクリプトを perl に渡すのではなく、スクリプトを実行可能にして
1136315650直接実行してください。
1136415651
1136515652=item Too late to run %s block
1136615653
1136715654=begin original
1136815655
1136915656(W void) A CHECK or INIT block is being defined during run time proper,
1137015657when the opportunity to run them has already passed. Perhaps you are
1137115658loading a file with C<require> or C<do> when you should be using C<use>
1137215659instead. Or perhaps you should put the C<require> or C<do> inside a
1137315660BEGIN block.
1137415661
1137515662=end original
1137615663
1137715664(W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから
1137815665実行時に定義されました。
1137915666おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを
1138015667読み込んでいます。
1138115668あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を
1138215669書いたのでしょう。
1138315670
1138415671=item Too many args to syscall
1138515672
1138615673=begin original
1138715674
1138815675(F) Perl supports a maximum of only 14 args to syscall().
1138915676
1139015677=end original
1139115678
1139215679(F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。
1139315680
1139415681=item Too many arguments for %s
1139515682
1139615683=begin original
1139715684
1139815685(F) The function requires fewer arguments than you specified.
1139915686
1140015687=end original
1140115688
1140215689(F) 関数が要求する以上の引数を指定しました。
1140315690
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
1140415793=item Too many )'s
1140515794
1140615795=begin original
1140715796
1140815797(A) You've accidentally run your script through B<csh> instead of Perl.
1140915798Check the #! line, or manually feed your script into Perl yourself.
1141015799
1141115800=end original
1141215801
1141315802(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
11414#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
15803#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1141515804
1141615805=item Too many ('s
1141715806
1141815807=begin original
1141915808
1142015809(A) You've accidentally run your script through B<csh> instead of Perl.
1142115810Check the #! line, or manually feed your script into Perl yourself.
1142215811
1142315812=end original
1142415813
1142515814(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
11426#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
15815#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1142715816
1142815817=item Trailing \ in regex m/%s/
1142915818
1143015819=begin original
1143115820
1143215821(F) The regular expression ends with an unbackslashed backslash.
1143315822Backslash it. See L<perlre>.
1143415823
1143515824=end original
1143615825
1143715826(F) 正規表現が、バックスラッシュを付けていないバックスラッシュで
1143815827終了しました。バックスラッシュを付けてください。
1143915828L<perlre> を参照してください。
1144015829
1144115830=item Transliteration pattern not terminated
1144215831
1144315832=begin original
1144415833
1144515834(F) The lexer couldn't find the interior delimiter of a tr/// or tr[][]
1144615835or y/// or y[][] construct. Missing the leading C<$> from variables
1144715836C<$tr> or C<$y> may cause this error.
1144815837
1144915838=end original
1145015839
11451(F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が
15840(F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が
1145215841見つかりませんでした。
1145315842C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると
1145415843このエラーが出ることがあります。
1145515844
1145615845=item Transliteration replacement not terminated
1145715846
1145815847=begin original
1145915848
1146015849(F) The lexer couldn't find the final delimiter of a tr///, tr[][],
1146115850y/// or y[][] construct.
1146215851
1146315852=end original
1146415853
1146515854(F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が
1146615855見つかりませんでした。
1146715856
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
1146815878=item '%s' trapped by operation mask
1146915879
1147015880=begin original
1147115881
1147215882(F) You tried to use an operator from a Safe compartment in which it's
1147315883disallowed. See L<Safe>.
1147415884
1147515885=end original
1147615886
1147715887(F) Safe 区画の中で、許されていない演算子を使おうとしました。
1147815888L<Safe> を参照してください。
1147915889
1148015890=item truncate not implemented
1148115891
1148215892=begin original
1148315893
1148415894(F) Your machine doesn't implement a file truncation mechanism that
1148515895Configure knows about.
1148615896
1148715897=end original
1148815898
1148915899(F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が
1149015900実装されていません。
1149115901
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
1149215917=item Type of arg %d to &CORE::%s must be %s
1149315918
1149415919=begin original
1149515920
1149615921(F) The subroutine in question in the CORE package requires its argument
1149715922to be a hard reference to data of the specified type. Overloading is
1149815923ignored, so a reference to an object that is not the specified type, but
1149915924nonetheless has overloading to handle it, will still not be accepted.
1150015925
1150115926=end original
1150215927
1150315928(F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの
1150415929ハードリファレンスを要求しています。
1150515930オーバーロードは無視されるので、指定された型ではないけれども、それを
1150615931扱えるようにオーバーロードされたオブジェクトへのリファレンスでも
1150715932受け付けられません。
1150815933
1150915934=item Type of arg %d to %s must be %s (not %s)
1151015935
1151115936=begin original
1151215937
1151315938(F) This function requires the argument in that position to be of a
1151415939certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be
1151515940%NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the
1151615941{EXPR} forms as an explicit dereference. See L<perlref>.
1151715942
1151815943=end original
1151915944
1152015945(F) この関数は、その位置に決まった型の引数を必要とします。
1152115946配列は、@NAME もしくは C<@{EXPR}> でなりません。
1152215947ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。
1152315948暗黙の被参照は許されませんので、明示的な被参照として、
1152415949{EXPR} 形式を使ってください。
1152515950L<perlref> を参照してください。
1152615951
11527=item Type of argument to %s must be unblessed hashref or arrayref
11528
11529=begin original
11530
11531(F) You called C<keys>, C<values> or C<each> with a scalar argument that
11532was not a reference to an unblessed hash or array.
11533
11534=end original
11535
11536(F) bless されていないハッシュや配列へのリファレンスでないスカラ引数を使って
11537C<keys>, C<values>, C<each> を呼び出しました。
11538
1153915952=item umask not implemented
1154015953
1154115954=begin original
1154215955
1154315956(F) Your machine doesn't implement the umask function and you tried to
1154415957use it to restrict permissions for yourself (EXPR & 0700).
1154515958
1154615959=end original
1154715960
1154815961(F) umask 関数が実装されていないマシンで、自分自身の権限を制限する
1154915962(EXPR & 0700) ためにこれを使おうとしました。
1155015963
11551=item Unable to create sub named "%s"
15964=item UNIVERSAL does not export anything
1155215965
1155315966=begin original
1155415967
11555(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.
1155615970
1155715971=end original
1155815972
11559(F) 不正な名前のサブルーチン作成または呼び出ししようしました
15973(F) UNIVERSAL に何かエクスポートするように要求しましたが、UNIVERSAL は
15974すべてのクラスの基本クラスであり、エクスポート可能なシンボルを
15975含んでいません。
1156015976
1156115977=item Unbalanced context: %d more PUSHes than POPs
1156215978
1156315979=begin original
1156415980
11565(W internal) The exit code detected an internal inconsistency in how
15981(S internal) The exit code detected an internal inconsistency in how
1156615982many execution contexts were entered and left.
1156715983
1156815984=end original
1156915985
11570(W internal) いくつの実行コンテキストに入って、出たかということの
15986(S internal) いくつの実行コンテキストに入って、出たかということの
1157115987内部矛盾が exit コードで発見されました。
1157215988
1157315989=item Unbalanced saves: %d more saves than restores
1157415990
1157515991=begin original
1157615992
11577(W internal) The exit code detected an internal inconsistency in how
15993(S internal) The exit code detected an internal inconsistency in how
1157815994many values were temporarily localized.
1157915995
1158015996=end original
1158115997
11582(W internal) いくつの値が、一時的にローカル化されたかということの
15998(S internal) いくつの値が、一時的にローカル化されたかということの
1158315999内部矛盾が exit コードで発見されました。
1158416000
1158516001=item Unbalanced scopes: %d more ENTERs than LEAVEs
1158616002
1158716003=begin original
1158816004
11589(W internal) The exit code detected an internal inconsistency in how
16005(S internal) The exit code detected an internal inconsistency in how
1159016006many blocks were entered and left.
1159116007
1159216008=end original
1159316009
11594(W internal) いくつのブロックに入って、出たかということの
16010(S internal) いくつのブロックに入って、出たかということの
1159516011内部矛盾が exit コードで発見されました。
1159616012
1159716013=item Unbalanced string table refcount: (%d) for "%s"
1159816014
1159916015=begin original
1160016016
11601(W internal) On exit, Perl found some strings remaining in the shared
16017(S internal) On exit, Perl found some strings remaining in the shared
1160216018string table used for copy on write and for hash keys. The entries
1160316019should have been freed, so this indicates a bug somewhere.
1160416020
1160516021=end original
1160616022
11607(W internal) 終了時に、ハッシュキーのためのコピーオンライトのための
16023(S internal) 終了時に、ハッシュキーのためのコピーオンライトのための
1160816024共有文字列テーブルに文字列が残っていることを Perl が発見しました。
1160916025エントリは開放されている必要があるので、これはどこかにバグがあることを
1161016026示しています。
1161116027
1161216028=item Unbalanced tmps: %d more allocs than frees
1161316029
1161416030=begin original
1161516031
11616(W internal) The exit code detected an internal inconsistency in how
16032(S internal) The exit code detected an internal inconsistency in how
1161716033many mortal scalars were allocated and freed.
1161816034
1161916035=end original
1162016036
11621(W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと
16037(S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと
1162216038いうことの内部矛盾が exit コードで発見されました。
1162316039
1162416040=item Undefined format "%s" called
1162516041
1162616042=begin original
1162716043
1162816044(F) The format indicated doesn't seem to exist. Perhaps it's really in
1162916045another package? See L<perlform>.
1163016046
1163116047=end original
1163216048
1163316049(F) 示されたフォーマットが存在しないようです。
1163416050おそらく本当は他のパッケージにあるのでは?
1163516051L<perlform> を参照してください。
1163616052
1163716053=item Undefined sort subroutine "%s" called
1163816054
1163916055=begin original
1164016056
1164116057(F) The sort comparison routine specified doesn't seem to exist.
1164216058Perhaps it's in a different package? See L<perlfunc/sort>.
1164316059
1164416060=end original
1164516061
1164616062(F) 指定された sort の比較ルーティンは存在していないように思われます。
1164716063おそらく、別のパッケージに存在するのではないでしょうか。
1164816064L<perlfunc/sort> を参照してください。
1164916065
1165016066=item Undefined subroutine &%s called
1165116067
1165216068=begin original
1165316069
1165416070(F) The subroutine indicated hasn't been defined, or if it was, it has
1165516071since been undefined.
1165616072
1165716073=end original
1165816074
1165916075(F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、
1166016076既に未定義になっています。
1166116077
1166216078=item Undefined subroutine called
1166316079
1166416080=begin original
1166516081
1166616082(F) The anonymous subroutine you're trying to call hasn't been defined,
1166716083or if it was, it has since been undefined.
1166816084
1166916085=end original
1167016086
1167116087(F) 呼びだそうとしている無名のサブルーチンは、定義されていません;
1167216088定義されていたとしても、既に未定義になっています。
1167316089
1167416090=item Undefined subroutine in sort
1167516091
1167616092=begin original
1167716093
1167816094(F) The sort comparison routine specified is declared but doesn't seem
1167916095to have been defined yet. See L<perlfunc/sort>.
1168016096
1168116097=end original
1168216098
1168316099(F) 指定された sort の比較ルーティンは宣言されましたが、
1168416100定義されていないようです。
1168516101L<perlfunc/sort> を参照してください。
1168616102
1168716103=item Undefined top format "%s" called
1168816104
1168916105=begin original
1169016106
1169116107(F) The format indicated doesn't seem to exist. Perhaps it's really in
1169216108another package? See L<perlform>.
1169316109
1169416110=end original
1169516111
1169616112(F) 示されたフォーマットが存在しないようです。
1169716113おそらく本当は他のパッケージにあるのでは?
1169816114L<perlform> を参照してください。
1169916115
1170016116=item Undefined value assigned to typeglob
1170116117
1170216118=begin original
1170316119
1170416120(W misc) An undefined value was assigned to a typeglob, a la
1170516121C<*foo = undef>. This does nothing. It's possible that you really mean
1170616122C<undef *foo>.
1170716123
1170816124=end original
1170916125
1171016126(W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。
1171116127これは何もしません。
1171216128本当は C<undef *foo> としたかったのかもしれません。
1171316129
1171416130=item %s: Undefined variable
1171516131
1171616132=begin original
1171716133
1171816134(A) You've accidentally run your script through B<csh> instead of Perl.
1171916135Check the #! line, or manually feed your script into Perl yourself.
1172016136
1172116137=end original
1172216138
1172316139(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
11724#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
16140#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1172516141
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
1172616411=item unexec of %s into %s failed!
1172716412
1172816413=begin original
1172916414
1173016415(F) The unexec() routine failed for some reason. See your local FSF
1173116416representative, who probably put it there in the first place.
1173216417
1173316418=end original
1173416419
1173516420(F) unexec() ルーティンが何らかの理由によって失敗しました。
1173616421最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。
1173716422
11738=item Unexpected constant lvalue entersub entry via type/targ %d:%d
16423=item Unexpected binary operator '%c' with no preceding operand in regex;
16424marked by S<<-- HERE> in m/%s/
1173916425
1174016426=begin original
1174116427
11742(P) When compiling a subroutine call in lvalue context, Perl failed an
16428(F) You had something like this:
11743internal consistency check. It encountered a malformed op tree.
1174416429
1174516430=end original
1174616431
11747(P) 左辺値コンテキストでサブルーチン呼び出しコンパイルするとに、Perl は
16432(F) 以下ようなものました:
11748内部一貫性チェックに失敗しました。
11749不正な構文木に遭遇しました。
1175016433
11751=item Unicode non-character U+%X is illegal for open interchange
16434 (?[ | \p{Digit} ])
1175216435
1175316436=begin original
1175416437
11755(W utf8, nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are
16438where the C<"|"> is a binary operator with an operand on the right, but
11756defined by the Unicode standard to be non-characters. Those are
16439no operand on the left.
11757legal codepoints, but are reserved for internal use; so, applications
11758shouldn't attempt to exchange them. If you know what you are doing
11759you can turn off this warning by C<no warnings 'nonchar';>.
1176016440
1176116441=end original
1176216442
11763(W utf8, nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は
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 のようないくつかの符号位置は
1176416598Unicode 標準によって非文字として指定されています。
1176516599これらは有効な符号位置ですが、内部使用のために予約されています; 従って、
1176616600アプリケーションはこれを交換しようとするべきではありません。
16601アプリケーションは、これらの文字を想定するべきではなく、これらを
16602受け取るとバグを引き起こすことがあります。
1176716603もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で
1176816604警告を無効にできます。
1176916605
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
1177016656=item Unicode surrogate U+%X is illegal in UTF-8
1177116657
1177216658=begin original
1177316659
11774(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
1177516661not considered acceptable. These code points, between U+D800 and
1177616662U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl
1177716663internally allows all unsigned integer code points (up to the size limit
1177816664available on your platform), including surrogates. But these can cause
1177916665problems when being input or output, which is likely where this message
1178016666came from. If you really really know what you are doing you can turn
1178116667off this warning by C<no warnings 'surrogate';>.
1178216668
1178316669=end original
1178416670
11785(W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
16671(S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
1178616672使いました。
1178716673これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに
1178816674Unicode によって使われます。
1178916675しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は
1179016676プラットフォームで利用可能なサイズ上限)を受け付けます。
1179116677しかし、これらは入力や出力になるときに問題を引き起こします; それは
1179216678おそらくこのメッセージが出た場所です。
1179316679自分で何をしているのかが本当に本当に分かっているなら、
1179416680C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
1179516681
11796=item Unknown BYTEORDER
16682=item Unimplemented
1179716683
1179816684=begin original
1179916685
11800(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
11801order.
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:
1180216690
1180316691=end original
1180416692
11805(F) このバイト順序を入れ替える関数がありません。
16693(F) Perl 5.12 以降で、
16694L<省略文|perlsyn/"The Ellipsis Statement"> を実行しました。
16695これは生の C<...;> です;
16696これによって、次のように、書かれる必要があるが完全ではない
16697コードの概要を書けるようになります:
1180616698
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
1180716750=item Unknown error
1180816751
1180916752=begin original
1181016753
1181116754(P) Perl was about to print an error message in C<$@>, but the C<$@> variable
1181216755did not exist, even after an attempt to create it.
1181316756
1181416757=end original
1181516758
1181616759(P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が
1181716760(たとえ作ろうとした後でも) 存在しませんでした。
1181816761
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
1181916783=item Unknown open() mode '%s'
1182016784
1182116785=begin original
1182216786
1182316787(F) The second argument of 3-argument open() is not among the list
1182416788of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>,
1182516789C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>.
1182616790
1182716791=end original
1182816792
1182916793(F) 3 引数 open() の 第 2 引数が以下の有効なモードの
1183016794どれでもありませんでした:
1183116795C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>,
1183216796C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>
1183316797
1183416798=item Unknown PerlIO layer "%s"
1183516799
1183616800=begin original
1183716801
1183816802(W layer) An attempt was made to push an unknown layer onto the Perl I/O
1183916803system. (Layers take care of transforming data between external and
1184016804internal representations.) Note that some layers, such as C<mmap>,
1184116805are not supported in all environments. If your program didn't
1184216806explicitly request the failing operation, it may be the result of the
1184316807value of the environment variable PERLIO.
1184416808
1184516809=end original
1184616810
1184716811(W layer) 不明な層をPerl I/O システムに追加しようとしました。
1184816812(層はデータの外部表現と内部表現の変換を扱います。)
1184916813C<mmap> のような層は、全ての環境で対応しているわけではないことに
1185016814注意してください。
1185116815明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
1185216816値が原因かもしれません。
1185316817
1185416818=item Unknown process %x sent message to prime_env_iter: %s
1185516819
1185616820=begin original
1185716821
1185816822(P) An error peculiar to VMS. Perl was reading values for %ENV before
1185916823iterating over it, and someone else stuck a message in the stream of
1186016824data Perl expected. Someone's very confused, or perhaps trying to
1186116825subvert Perl's population of %ENV for nefarious purposes.
1186216826
1186316827=end original
1186416828
1186516829(P) VMS に固有のエラーです。
1186616830Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している
1186716831データストリームの中に誰かがメッセージを差し込みました。
1186816832誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を
1186916833滅亡させようとしています。
1187016834
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
1187116867=item Unknown "re" subpragma '%s' (known ones are: %s)
1187216868
1187316869=begin original
1187416870
1187516871(W) You tried to use an unknown subpragma of the "re" pragma.
1187616872
1187716873=end original
1187816874
1187916875(W) "re" プラグマの、不明なサブプラグマを使おうとしました。
1188016876
11881=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/
1188216879
1188316880=begin original
1188416881
1188516882(F) The condition part of a (?(condition)if-clause|else-clause) construct
1188616883is not known. The condition must be one of the following:
1188716884
1188816885=end original
1188916886
11890(F) (?(condition)if-clause|else-clause) 構の条件部が不明です。
16887(?(...)if-clause|else-clause) 構の条件部が不明です。
11891条件は以下の一つでなければなりません:
16888条件は以下のいずれかでなければなりません
1189216889
11893 (1) (2) ... true if 1st, 2nd, etc., capture matched
16890 (1) (2) ... true if 1st, 2nd, etc., capture matched
11894 (<NAME>) ('NAME') true if named capture matched
16891 (<NAME>) ('NAME') true if named capture matched
11895 (?=...) (?<=...) true if subpattern matches
16892 (?=...) (?<=...) true if subpattern matches
11896 (?!...) (?<!...) true if subpattern fails to match
16893 (*pla:...) (*plb:...) true if subpattern matches; also
11897 (?{ CODE }) true if code returns a true value
16894 (*positive_lookahead:...)
11898 (R) true if evaluating inside recursion
16895 (*positive_lookbehind:...)
11899 (R1) (R2) ... true if directly inside capture group 1, 2, etc.
16896 (*nla:...) (*nlb:...) true if subpattern fails to match; also
11900 (R&NAME) true if directly inside named capture
16897 (*negative_lookahead:...)
11901 (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
1190216905
1190316906=begin original
1190416907
11905The <-- HERE shows in the regular expression about where the problem was
16908The S<<-- HERE> shows whereabouts in the regular expression the problem was
1190616909discovered. See L<perlre>.
1190716910
1190816911=end original
1190916912
11910<-- HERE で正規表現のどこに問題が発見されたかを示しています。
16913S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1191116914L<perlre> を参照してください。
1191216915
1191316916=item Unknown Unicode option letter '%c'
1191416917
1191516918=begin original
1191616919
11917(F) You specified an unknown Unicode option. See L<perlrun> documentation
16920(F) You specified an unknown Unicode option. See
11918of 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.
1191916923
1192016924=end original
1192116925
1192216926(F) 不明な Unicode オプションを指定しました。
11923オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを
16927オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の
11924参照してください。
16928C<-C> オプションを参照してください。
1192516929
11926=item Unknown Unicode option value %x
16930=item Unknown Unicode option value %d
1192716931
1192816932=begin original
1192916933
11930(F) You specified an unknown Unicode option. See L<perlrun> documentation
16934(F) You specified an unknown Unicode option. See
11931of 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.
1193216937
1193316938=end original
1193416939
1193516940(F) 不明な Unicode オプションを指定しました。
11936オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを
16941オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の
11937参照してください。
16942C<-C> オプションを参照してください。
1193816943
11939=item Unknown verb pattern '%s' in regex; marked by <-- HERE in m/%s/
16944=item Unknown user-defined property name \p{%s}
1194016945
1194116946=begin original
1194216947
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
1194316965(F) You either made a typo or have incorrectly put a C<*> quantifier
1194416966after an open brace in your pattern. Check the pattern and review
1194516967L<perlre> for details on legal verb patterns.
1194616968
1194716969=end original
1194816970
1194916971(F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に
1195016972C<*> 量指定子を書いたかどちらかです。
1195116973パターンをチェックして、有効な動詞パターンの詳細については
1195216974L<perlre> を再チェックしてください。
1195316975
1195416976=item Unknown warnings category '%s'
1195516977
1195616978=begin original
1195716979
1195816980(F) An error issued by the C<warnings> pragma. You specified a warnings
1195916981category that is unknown to perl at this point.
1196016982
1196116983=end original
1196216984
1196316985(F) C<warnings> プラグマによるエラーです。
1196416986現在のところ perl が知らない警告カテゴリを指定しました。
1196516987
1196616988=begin original
1196716989
1196816990Note that if you want to enable a warnings category registered by a
1196916991module (e.g. C<use warnings 'File::Find'>), you must have loaded this
1197016992module first.
1197116993
1197216994=end original
1197316995
1197416996(C<use warnings 'File::Find'> のように)モジュールによって登録される
1197516997警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が
1197616998あることに注意してください。
1197716999
11978=item unmatched [ in regex; marked by <-- HERE in m/%s/
17000=item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/
1197917001
1198017002=begin original
1198117003
1198217004(F) The brackets around a character class must match. If you wish to
1198317005include a closing bracket in a character class, backslash it or put it
11984first. The <-- HERE shows in the regular expression about where the
17006first. The S<<-- HERE> shows whereabouts in the regular expression the
1198517007problem was discovered. See L<perlre>.
1198617008
1198717009=end original
1198817010
1198917011(F) 文字クラスの周りの大かっこが一致していません。
1199017012文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか
1199117013先頭に置いてください。
11992<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17014S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1199317015L<perlre> を参照してください。
1199417016
11995=item unmatched ( in regex; marked by <-- HERE in m/%s/
17017=item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/
1199617018
17019=item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/
17020
1199717021=begin original
1199817022
1199917023(F) Unbackslashed parentheses must always be balanced in regular
1200017024expressions. If you're a vi user, the % key is valuable for finding
12001the matching parenthesis. The <-- HERE shows in the regular expression
17025the matching parenthesis. The S<<-- HERE> shows whereabouts in the
12002about where the problem was discovered. See L<perlre>.
17026regular expression the problem was discovered. See L<perlre>.
1200317027
1200417028=end original
1200517029
1200617030(F) 正規表現の中ではバックスラッシュのついていないかっこは常に
1200717031対応していなければなりません。
1200817032vi ユーザーであれば、% キーが対応するかっこの発見に有用です。
12009<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17033S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1201017034L<perlre> を参照してください。
1201117035
1201217036=item Unmatched right %s bracket
1201317037
1201417038=begin original
1201517039
1201617040(F) The lexer counted more closing curly or square brackets than opening
1201717041ones, so you're probably missing a matching opening bracket. As a
1201817042general rule, you'll find the missing one (so to speak) near the place
1201917043you were last editing.
1202017044
1202117045=end original
1202217046
1202317047(F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを
1202417048見つけました; おそらく対応する開きかっこを忘れたのでしょう。
1202517049一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した
1202617050場所の近くにあります。
1202717051
1202817052=item Unquoted string "%s" may clash with future reserved word
1202917053
1203017054=begin original
1203117055
1203217056(W reserved) You used a bareword that might someday be claimed as a
1203317057reserved word. It's best to put such a word in quotes, or capitalize it
1203417058somehow, or insert an underbar into it. You might also declare it as a
1203517059subroutine.
1203617060
1203717061=end original
1203817062
1203917063(W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。
1204017064そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を
1204117065いれるかしてください。
1204217066その裸の単語は、サブルーチンとして宣言することも可能です。
1204317067
12044=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
1204517070
1204617071=begin original
1204717072
1204817073(F) The Perl parser has no idea what to do with the specified character
12049in your Perl script (or eval) near the specified column. Perhaps you tried
17074in your Perl script (or eval) near the specified column. Perhaps you
12050to 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.
1205117077
1205217078=end original
1205317079
1205417080(F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに
1205517081出てきた文字に対してどうすればよいか分かりませんでした。
1205617082おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを
1205717083Perl プログラムとして実行しようとしたのでしょう。
1205817084
12059=item Unrecognized escape \%c in character class passed through in regex; marked by <-- HERE in m/%s/
17085=item Unrecognized class attribute %s
1206017086
1206117087=begin original
1206217088
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
1206317116(W regexp) You used a backslash-character combination which is not
1206417117recognized by Perl inside character classes. The character was
1206517118understood literally, but this may change in a future version of Perl.
12066The <-- HERE shows in the regular expression about where the
17119The S<<-- HERE> shows whereabouts in the regular expression the
1206717120escape was discovered.
1206817121
1206917122=end original
1207017123
1207117124(W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の
1207217125組み合わせを使いました。
1207317126文字はリテラルに処理されますが、将来のバージョンの Perl では
1207417127変更されるかもしれません。
12075<-- HERE で正規表現のどこにエスケープが発見されたかを示しています。
17128S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
1207617129
1207717130=item Unrecognized escape \%c passed through
1207817131
1207917132=begin original
1208017133
1208117134(W misc) You used a backslash-character combination which is not
1208217135recognized by Perl. The character was understood literally, but this may
1208317136change in a future version of Perl.
1208417137
1208517138=end original
1208617139
1208717140(W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが
1208817141使われています。
1208917142文字はリテラルに処理されますが、将来のバージョンの Perl では
1209017143変更されるかもしれません。
1209117144
12092=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/
1209317147
1209417148=begin original
1209517149
1209617150(W regexp) You used a backslash-character combination which is not
1209717151recognized by Perl. The character(s) were understood literally, but
12098this may change in a future version of Perl. The <-- HERE shows in
17152this may change in a future version of Perl. The S<<-- HERE> shows
12099the regular expression about where the escape was discovered.
17153whereabouts in the regular expression the escape was discovered.
1210017154
1210117155=end original
1210217156
1210317157(W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが
1210417158使われています。
1210517159文字はリテラルに処理されますが、将来のバージョンの Perl では
1210617160変更されるかもしれません。
12107<-- HERE で正規表現のどこにエスケープが発見されたかを示しています。
17161S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
1210817162
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
1210917187=item Unrecognized signal name "%s"
1211017188
1211117189=begin original
1211217190
1211317191(F) You specified a signal name to the kill() function that was not
1211417192recognized. Say C<kill -l> in your shell to see the valid signal names
1211517193on your system.
1211617194
1211717195=end original
1211817196
1211917197(F) kill() 関数に、認識できないシグナル名を指定しました。
1212017198お使いのシステムで使用可能なシグナル名を調べるには、
1212117199シェル上で C<kill -l> などとしてください。
1212217200
1212317201=item Unrecognized switch: -%s (-h will show valid options)
1212417202
1212517203=begin original
1212617204
1212717205(F) You specified an illegal option to Perl. Don't do that. (If you
1212817206think you didn't do that, check the #! line to see if it's supplying the
1212917207bad switch on your behalf.)
1213017208
1213117209=end original
1213217210
1213317211(F) Perl に間違ったオプションを指定しました。
1213417212これを行なってはいけません。
1213517213(指定したつもりがないのであれば、#! 行に間違ったオプションが
1213617214スイッチが指定されていないかをチェックしてください。)
1213717215
1213817216=item Unsuccessful %s on filename containing newline
1213917217
1214017218=begin original
1214117219
1214217220(W newline) A file operation was attempted on a filename, and that
1214317221operation failed, PROBABLY because the filename contained a newline,
1214417222PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>.
1214517223
1214617224=end original
1214717225
1214817226(W newline) あるファイル名に対して、ファイル操作を行ないましたが、
1214917227失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、
1215017228「おそらく」 chomp() するのを忘れたのでしょう。 
1215117229L<perlfunc/chomp> を参照してください。
1215217230
1215317231=item Unsupported directory function "%s" called
1215417232
1215517233=begin original
1215617234
1215717235(F) Your machine doesn't support opendir() and readdir().
1215817236
1215917237=end original
1216017238
1216117239(F) このマシンでは、opendir() や readdir() がサポートされていません。
1216217240
1216317241=item Unsupported function %s
1216417242
1216517243=begin original
1216617244
1216717245(F) This machine doesn't implement the indicated function, apparently.
1216817246At least, Configure doesn't think so.
1216917247
1217017248=end original
1217117249
1217217250(F) このマシンでは、表示した関数は実装されていません。
1217317251少なくとも、Configure はそう判断しました。
1217417252
1217517253=item Unsupported function fork
1217617254
1217717255=begin original
1217817256
1217917257(F) Your version of executable does not support forking.
1218017258
1218117259=end original
1218217260
1218317261(F) この実行ファイルは fork に対応していません。
1218417262
1218517263=begin original
1218617264
1218717265Note that under some systems, like OS/2, there may be different flavors
1218817266of Perl executables, some of which may support fork, some not. Try
1218917267changing the name you call Perl by to C<perl_>, C<perl__>, and so on.
1219017268
1219117269=end original
1219217270
1219317271OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、
1219417272fork に対応しているものとしていないものがあります。
1219517273Perl を呼び出す時の名前を C<perl_>, C<perl__> のように
1219617274変えてみてください。
1219717275
1219817276=item Unsupported script encoding %s
1219917277
1220017278=begin original
1220117279
1220217280(F) Your program file begins with a Unicode Byte Order Mark (BOM) which
1220317281declares it to be in a Unicode encoding that Perl cannot read.
1220417282
1220517283=end original
1220617284
1220717285(F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを
1220817286宣言する Unicode Byte Order Mark (BOM) で始まっています。
1220917287
1221017288=item Unsupported socket function "%s" called
1221117289
1221217290=begin original
1221317291
1221417292(F) Your machine doesn't support the Berkeley socket mechanism, or at
1221517293least that's what Configure thought.
1221617294
1221717295=end original
1221817296
1221917297(F) このマシンでは、Berkeley ソケット機構がサポートされていないか、
1222017298少なくとも Configure がそう判断しました。
1222117299
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
1222217313=item Unterminated attribute list
1222317314
1222417315=begin original
1222517316
1222617317(F) The lexer found something other than a simple identifier at the
1222717318start of an attribute, and it wasn't a semicolon or the start of a
1222817319block. Perhaps you terminated the parameter list of the previous
1222917320attribute too soon. See L<attributes>.
1223017321
1223117322=end original
1223217323
1223317324(F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの
1223417325開始でないものを発見しました。
1223517326おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。
1223617327L<attributes> を参照してください。
1223717328
1223817329=item Unterminated attribute parameter in attribute list
1223917330
1224017331=begin original
1224117332
1224217333(F) The lexer saw an opening (left) parenthesis character while parsing
1224317334an attribute list, but the matching closing (right) parenthesis
1224417335character was not found. You may need to add (or remove) a backslash
1224517336character to get your parentheses to balance. See L<attributes>.
1224617337
1224717338=end original
1224817339
1224917340(F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを
1225017341発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。
1225117342かっこのバランスを取るために、バックスラッシュを追加(または削除)する
1225217343必要があるでしょう。
1225317344L<attributes> を参照してください。
1225417345
1225517346=item Unterminated compressed integer
1225617347
1225717348=begin original
1225817349
1225917350(F) An argument to unpack("w",...) was incompatible with the BER
1226017351compressed integer format and could not be converted to an integer.
1226117352See L<perlfunc/pack>.
1226217353
1226317354=end original
1226417355
1226517356(F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、
1226617357整数に変換できませんでした。
1226717358L<perlfunc/pack> を参照してください。
1226817359
12269=item Unterminated \g{...} pattern in regex; marked by <-- HERE in m/%s/
17360=item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/
1227017361
1227117362=begin original
1227217363
12273(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
12274a regular expression. Fix the pattern and retry.
17365the pattern with a C<)>. Fix the pattern and retry.
1227517366
1227617367=end original
1227717368
12278(F) 正規表現の \g{..} (グループリファレンス) の閉じかっこがありせん。
17369(F) C<(*...)> 形式パターンを使いしたが、パターンが
17370C<)> で終端されていません。
1227917371パターンを修正して再挑戦してください。
1228017372
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
1228117417=item Unterminated <> operator
1228217418
1228317419=begin original
1228417420
1228517421(F) The lexer saw a left angle bracket in a place where it was expecting
1228617422a term, so it's looking for the corresponding right angle bracket, and
1228717423not finding it. Chances are you left some needed parentheses out
1228817424earlier in the line, and you really meant a "less than".
1228917425
1229017426=end original
1229117427
1229217428(F) 項が必要とされるところで、開き山かっこが見つけたため、
1229317429対応する閉じ山かっこを探しましたが、見つかりませんでした。
1229417430可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を
1229517431表したかった場合が考えられます。
1229617432
12297=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/
1229817435
1229917436=begin original
1230017437
1230117438(F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate
1230217439the pattern with a C<)>. Fix the pattern and retry.
1230317440
1230417441=end original
1230517442
1230617443(F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で
1230717444終わっていません。
1230817445パターンを修正して再挑戦してください。
1230917446
12310=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/
1231117448
1231217449=begin original
1231317450
1231417451(F) You used a pattern of the form C<(*VERB)> but did not terminate
1231517452the pattern with a C<)>. Fix the pattern and retry.
1231617453
1231717454=end original
1231817455
1231917456(F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で
1232017457終わっていません。
1232117458パターンを修正して再挑戦してください。
1232217459
1232317460=item untie attempted while %d inner references still exist
1232417461
1232517462=begin original
1232617463
1232717464(W untie) A copy of the object returned from C<tie> (or C<tied>) was
1232817465still valid when C<untie> was called.
1232917466
1233017467=end original
1233117468
1233217469(W untie) C<tie> (または C<tied>) から返されたオブジェクトが、
1233317470C<untie> が呼び出されたときにまだ有効でした。
1233417471
1233517472=item Usage: POSIX::%s(%s)
1233617473
1233717474=begin original
1233817475
1233917476(F) You called a POSIX function with incorrect arguments.
1234017477See L<POSIX/FUNCTIONS> for more information.
1234117478
1234217479=end original
1234317480
1234417481(F) POSIX 関数を間違った引数で呼び出しました。
1234517482さらなる情報については L<POSIX/FUNCTIONS> を参照してください。
1234617483
1234717484=item Usage: Win32::%s(%s)
1234817485
1234917486=begin original
1235017487
1235117488(F) You called a Win32 function with incorrect arguments.
1235217489See L<Win32> for more information.
1235317490
1235417491=end original
1235517492
1235617493(F) Win32 関数を間違った引数で呼び出しました。
1235717494更なる情報については L<Win32> を参照してください。
1235817495
1235917496=item $[ used in %s (did you mean $] ?)
1236017497
1236117498=begin original
1236217499
1236317500(W syntax) You used C<$[> in a comparison, such as:
1236417501
1236517502=end original
1236617503
1236717504(W syntax) 以下のように、比較で C<$[> を使いました:
1236817505
1236917506 if ($[ > 5.006) {
1237017507 ...
1237117508 }
1237217509
1237317510=begin original
1237417511
1237517512You probably meant to use C<$]> instead. C<$[> is the base for indexing
1237617513arrays. C<$]> is the Perl version number in decimal.
1237717514
1237817515=end original
1237917516
1238017517おそらく C<$]> を使いたかったのでしょう。
1238117518C<$[> は配列の基数です。
1238217519C<$]> は Perl のバージョン番号の 10 進数です。
1238317520
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
1238417533=item Useless assignment to a temporary
1238517534
1238617535=begin original
1238717536
1238817537(W misc) You assigned to an lvalue subroutine, but what
1238917538the subroutine returned was a temporary scalar about to
1239017539be discarded, so the assignment had no effect.
1239117540
1239217541=end original
1239317542
1239417543(W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは
1239517544捨てられようとする一時的なスカラなので、代入は向こうです。
1239617545
12397=item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in m/%s/
17546=item Useless (?-%s) - don't use /%s modifier in regex; marked by
17547S<<-- HERE> in m/%s/
1239817548
1239917549=begin original
1240017550
1240117551(W regexp) You have used an internal modifier such as (?-o) that has no
1240217552meaning unless removed from the entire regexp:
1240317553
1240417554=end original
1240517555
1240617556(W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ
1240717557意味がありません:
1240817558
1240917559 if ($string =~ /(?-o)$pattern/o) { ... }
1241017560
1241117561=begin original
1241217562
1241317563must be written as
1241417564
1241517565=end original
1241617566
1241717567これは以下のように書かなければなりません:
1241817568
1241917569 if ($string =~ /$pattern/) { ... }
1242017570
1242117571=begin original
1242217572
12423The <-- HERE shows in the regular expression about
17573The S<<-- HERE> shows whereabouts in the regular expression the problem was
12424where the problem was discovered. See L<perlre>.
17574discovered. See L<perlre>.
1242517575
1242617576=end original
1242717577
12428<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17578S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1242917579L<perlre> を参照してください。
1243017580
1243117581=item Useless localization of %s
1243217582
1243317583=begin original
1243417584
1243517585(W syntax) The localization of lvalues such as C<local($x=10)> is legal,
1243617586but in fact the local() currently has no effect. This may change at
1243717587some point in the future, but in the meantime such code is discouraged.
1243817588
1243917589=end original
1244017590
1244117591(W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、
1244217592実際のところ local() は現在のところ何の効果もありません。
1244317593これは将来変更されるかもしれませんが、今のところはこのようなコードは
1244417594勧められません。
1244517595
12446=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/
1244717598
1244817599=begin original
1244917600
1245017601(W regexp) You have used an internal modifier such as (?o) that has no
1245117602meaning unless applied to the entire regexp:
1245217603
1245317604=end original
1245417605
1245517606(W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ
1245617607意味がありません:
1245717608
1245817609 if ($string =~ /(?o)$pattern/) { ... }
1245917610
1246017611=begin original
1246117612
1246217613must be written as
1246317614
1246417615=end original
1246517616
1246617617これは以下のように書かなければなりません:
1246717618
1246817619 if ($string =~ /$pattern/o) { ... }
1246917620
1247017621=begin original
1247117622
12472The <-- HERE shows in the regular expression about
17623The S<<-- HERE> shows whereabouts in the regular expression the problem was
12473where the problem was discovered. See L<perlre>.
17624discovered. See L<perlre>.
1247417625
1247517626=end original
1247617627
12477<-- HERE で正規表現のどこに問題が発見されたかを示しています。
17628S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1247817629L<perlre> を参照してください。
1247917630
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
1248017646=item Useless use of /d modifier in transliteration operator
1248117647
1248217648=begin original
1248317649
1248417650(W misc) You have used the /d modifier where the searchlist has the
1248517651same length as the replacelist. See L<perlop> for more information
1248617652about the /d modifier.
1248717653
1248817654=end original
1248917655
1249017656(W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。
1249117657/d 修飾子に関するさらなる情報については L<perlop> を参照してください。
1249217658
1249317659=item Useless use of \E
1249417660
1249517661=begin original
1249617662
1249717663(W misc) You have a \E in a double-quotish string without a C<\U>,
1249817664C<\L> or C<\Q> preceding it.
1249917665
1250017666=end original
1250117667
1250217668(W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく
1250317669\E を書きました。
1250417670
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
1250517728=item Useless use of %s in void context
1250617729
1250717730=begin original
1250817731
1250917732(W void) You did something without a side effect in a context that does
1251017733nothing with the return value, such as a statement that doesn't return a
1251117734value from a block, or the left side of a scalar comma operator. Very
1251217735often this points not to stupidity on your part, but a failure of Perl
1251317736to parse your program the way you thought it would. For example, you'd
1251417737get this if you mixed up your C precedence with Python precedence and
1251517738said
1251617739
1251717740=end original
1251817741
1251917742(W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように
1252017743返却値の無い文脈で、副作用のないことを行ないました。
1252117744多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの
1252217745意向を汲み取った解釈ができないことで起こります。
1252317746たとえば、みなさんが C の優先順位を Python の優先順位と混同して
1252417747以下のようにした場合です:
1252517748
1252617749 $one, $two = 1, 2;
1252717750
1252817751=begin original
1252917752
1253017753when you meant to say
1253117754
1253217755=end original
1253317756
1253417757以下のようにするべきです。
1253517758
1253617759 ($one, $two) = (1, 2);
1253717760
1253817761=begin original
1253917762
1254017763Another common error is to use ordinary parentheses to construct a list
1254117764reference when you should be using square or curly brackets, for
1254217765example, if you say
1254317766
1254417767=end original
1254517768
1254617769その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを
1254717770使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた
1254817771場合です:
1254917772
1255017773 $array = (1,2);
1255117774
1255217775=begin original
1255317776
1255417777when you should have said
1255517778
1255617779=end original
1255717780
1255817781以下のように書くべきです:
1255917782
1256017783 $array = [1,2];
1256117784
1256217785=begin original
1256317786
1256417787The square brackets explicitly turn a list value into a scalar value,
1256517788while parentheses do not. So when a parenthesized list is evaluated in
1256617789a scalar context, the comma is treated like C's comma operator, which
1256717790throws away the left argument, which is not what you want. See
1256817791L<perlref> for more on this.
1256917792
1257017793=end original
1257117794
1257217795角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。
1257317796そのため、かっこで括られたリストをスカラコンテキストで評価すると、
1257417797カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます;
1257517798これは望んでいることではないでしょう。
1257617799これに関するさらなる情報については L<perlref> を参照してください。
1257717800
1257817801=begin original
1257917802
1258017803This warning will not be issued for numerical constants equal to 0 or 1
1258117804since they are often used in statements like
1258217805
1258317806=end original
1258417807
1258517808この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、
1258617809しばしば以下のような文で使われるからです:
1258717810
1258817811 1 while sub_with_side_effects();
1258917812
1259017813=begin original
1259117814
1259217815String constants that would normally evaluate to 0 or 1 are warned
1259317816about.
1259417817
1259517818=end original
1259617819
1259717820通常 0 か 1 に評価される文字列定数は警告されます。
1259817821
12599=item Useless use of "re" pragma
17822=item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/
1260017823
1260117824=begin original
1260217825
12603(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.
1260417828
1260517829=end original
1260617830
12607(W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。
17831(W regexp)
17832C<p> 修飾子は、一度設定したものをオフにはできません。
17833そうしようとしても無効です。
1260817834
12609=item Useless use of sort in scalar context
17835=item Useless use of "re" pragma
1261017836
1261117837=begin original
1261217838
12613(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.
1261417840
1261517841=end original
1261617842
12617(W void) こんな風に、ソートをスカコンテキスト使いました:
17843(W) C<use re;> プグマを引数なし指定しました。これは無意味です。
1261817844
12619 my $x = sort @y;
12620
12621=begin original
12622
12623This is not very useful, and perl currently optimizes this away.
12624
12625=end original
12626
12627これは全く便利ではないので、perl は現在のところ最適化して取り除きます。
12628
1262917845=item Useless use of %s with no values
1263017846
1263117847=begin original
1263217848
1263317849(W syntax) You used the push() or unshift() function with no arguments
1263417850apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't
1263517851usually have any effect on the array, so is completely useless. It's
1263617852possible in principle that push(@tied_array) could have some effect
1263717853if the array is tied to a class which implements a PUSH method. If so,
1263817854you can write it as C<push(@tied_array,())> to avoid this warning.
1263917855
1264017856=end original
1264117857
1264217858(W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や
1264317859unshift() 関数を、配列以外の引数なしで使いました。
1264417860これは普通は配列に何の影響も与えないので、完全に無意味です。
1264517861理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては
1264617862push(@tied_array) が何らかの効果を持つ可能性はあります。
1264717863もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を
1264817864回避できます。
1264917865
1265017866=item "use" not allowed in expression
1265117867
1265217868=begin original
1265317869
1265417870(F) The "use" keyword is recognized and executed at compile time, and
1265517871returns no useful value. See L<perlmod>.
1265617872
1265717873=end original
1265817874
1265917875(F) "use" キーワードは、コンパイル時に認識され、実行されるもので、
1266017876意味のある値を返しません。
1266117877L<perlmod> を参照してください。
1266217878
12663=item Use of assignment to $[ is deprecated
17879=item Use of @_ in %s with signatured subroutine is experimental
1266417880
1266517881=begin original
1266617882
12667(D deprecated) The C<$[> variable (index of the first element in an array)
17883(S experimental::args_array_with_signatures) An expression involving the
12668is 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.
1266917888
1267017889=end original
1267117890
12672(D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は廃止予定です。
17891(S experimental::args_array_with_signatures)
12673L<perlvar/"$["> を参照してください。
17892C<@_> 引数配列が関係する式が
17893シグネチャを使ったサブルーチンの中に見つかりました。
17894引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、
17895将来のバージョンの Perl でも安定なままであることが保証されておらず、
17896そのようなコードは避けるべきなため、これは実験的です。
1267417897
12675=item Use of bare << to mean <<"" is deprecated
17898=item Use of bare << to mean <<"" is forbidden
1267617899
1267717900=begin original
1267817901
12679(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
12680form 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.
1268117904
1268217905=end original
1268317906
12684(D deprecated) ヒアドキュメントの終端子として空行を
17907(F) ヒアドキュメントの終端子として空行を使いたいときには、明示的に
12685使いたいときには、明示的にクォートされた形を使うことを推奨してい
17908クォートされた形を使うことが必要になりした
1268617909
12687=item Use of comma-less variable list is deprecated
17910=begin original
1268817911
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
1268917922=begin original
1269017923
12691(D deprecated) The values you give to a format should be
17924(W regexp) You used the /c modifier in a substitution. The /c
12692separated by commas, not just aligned on a line.
17925modifier is not presently meaningful in substitutions.
1269317926
1269417927=end original
1269517928
12696(D deprecated) フォーマットに与えた値は単に行
17929(W regexp) 置換 /c 修飾子を使いました。
12697並べるのでなくて、カンマ区切るべきです。
17930/c 置換は現在のところ無意味です。
1269817931
12699=item Use of chdir('') or chdir(undef) as chdir() deprecated
17932=item Use of /c modifier is meaningless without /g
1270017933
1270117934=begin original
1270217935
12703(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
12704$ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this
17937use the /g modifier. Currently, /c is meaningful only when /g is
12705behavior, but that has been deprecated. In future versions they
17938used. (This may change in the future.)
12706will simply fail.
1270717939
1270817940=end original
1270917941
12710(D deprecated) 引数なしの chdir() $ENV{HOME} か $ENV{LOGDIR} に
17942(W regexp) 正規表現オペランドに /c 修飾子を使いましたが/g 修飾子は
12711変更すると文書化されていま
17943使いませんでした
12712chdir(undef) chdir('') も同じふるまいをします、こは非推奨です。
17944現在のところ、/c /g使わたときにのみ有効です。
12713将来のバージョンでは単に失敗すょう
17945(これは将来変更されかもれません)
1271417946
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
1271517952=begin original
1271617953
12717Be 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.
12718blank, 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.
1271917960
1272017961=end original
1272117962
12722chdir() に渡が定義されていて、空白ではないことチェックするように
17963(F) 大きぎるで許されない符号位置使いました。
12723注意してくださ; さもないとホームディレクトリに
17964Unicode は 0x10FFFF までだけの符号位置を許していますが、
12724移動してしまうかもしせん
17965Perl は遙に大きいのを許しま
17966以前のバージョンの Perl は
17967IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは
179680x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、
17969これは一部の構文で perl インタプリタを壊すことがあり、
17970場合によってはハングアップすることがありました。
1272517971
12726=item Use of /c modifier is meaningless in s///
17972=begin original
1272717973
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
1272817984=begin original
1272917985
12730(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
12731modifier is not presently meaningful in substitutions.
17987became a fatal error in Perl 5.28.
1273217988
1273317989=end original
1273417990
12735(W regexp) 置換で /c 修飾子を使いました。
17991範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、
12736/c は置換は現在のところ無意味です
17992Perl 5.28 致命的エラーになりました
1273717993
12738=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
1273917995
1274017996=begin original
1274117997
12742(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;
12743use the /g modifier. Currently, /c is meaningful only when /g is
17999it may skip items, or visit items more than once. Consider using
12744used. (This may change in the future.)
18000C<keys()> instead of C<each()>.
1274518001
1274618002=end original
1274718003
12748(W regexp) 正規表現オペランドに /c 修飾子を使ましたが、/g 修飾子
18004(S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを
12749使いませんでした。
18005読み飛ばしたり、複数回読んだりします
12750現在のところ、/c /g 使われたきにのみ有効です
18006C<each()> の代わりに C<keys()> 使うこを検討してください
12751(これは将来変更されるかもしれません。)
1275218007
1275318008=item Use of := for an empty attribute list is not allowed
1275418009
1275518010=begin original
1275618011
1275718012(F) The construction C<my $x := 42> used to parse as equivalent to
1275818013C<my $x : = 42> (applying an empty attribute list to C<$x>).
1275918014This construct was deprecated in 5.12.0, and has now been made a syntax
1276018015error, so C<:=> can be reclaimed as a new operator in the future.
1276118016
1276218017=end original
1276318018
1276418019(F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました
1276518020(C<$x> に空の属性リストを適用する)。
1276618021この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、
1276718022C<:=> は将来新しい演算子として再利用できます。
1276818023
1276918024=begin original
1277018025
1277118026If you need an empty attribute list, for example in a code generator, add
1277218027a space before the C<=>.
1277318028
1277418029=end original
1277518030
1277618031例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に
1277718032スペースを加えてください。
1277818033
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
1277918053=item Use of freed value in iteration
1278018054
1278118055=begin original
1278218056
1278318057(F) Perhaps you modified the iterated array within the loop?
1278418058This error is typically caused by code like the following:
1278518059
1278618060=end original
1278718061
1278818062(F) おそらくループの中で反復される配列を変更したのでは?
1278918063このエラーは典型的には以下のようなコードで発生します:
1279018064
1279118065 @a = (3,4);
1279218066 @a = () for (1,2,@a);
1279318067
1279418068=begin original
1279518069
1279618070You are not supposed to modify arrays while they are being iterated over.
1279718071For speed and efficiency reasons, Perl internally does not do full
1279818072reference-counting of iterated items, hence deleting such an item in the
1279918073middle of an iteration causes Perl to see a freed value.
1280018074
1280118075=end original
1280218076
1280318077反復中の配列は変更してはいけないことになっています。
1280418078速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを
1280518079完全には数えていません; 従って反復中のアイテムのを削除すると Perl は
1280618080解放された値を見ることになります。
1280718081
12808=item Use of *glob{FILEHANDLE} is deprecated
12809
12810=begin original
12811
12812(D deprecated) You are now encouraged to use the shorter *glob{IO} form
12813to access the filehandle slot within a typeglob.
12814
12815=end original
12816
12817(D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、
12818より短い *glob{IO} の形を使うことを推奨されています。
12819
1282018082=item Use of /g modifier is meaningless in split
1282118083
1282218084=begin original
1282318085
1282418086(W regexp) You used the /g modifier on the pattern for a C<split>
1282518087operator. Since C<split> always tries to match the pattern
1282618088repeatedly, the C</g> has no effect.
1282718089
1282818090=end original
1282918091
1283018092(W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。
1283118093C<split> は常にパターンを繰り返しマッチングしようとするので、
1283218094C</g> は効果がありません。
1283318095
1283418096=item Use of "goto" to jump into a construct is deprecated
1283518097
1283618098=begin original
1283718099
12838(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
12839scope is deprecated and should be avoided.
18101scope is deprecated and will be removed completely in Perl 5.42.
1284018102
1284118103=end original
1284218104
12843(D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を
18105(D deprecated::goto_construct) 外側のスコープから内側のスコープに
12844使うことは廃止予定であり、避けるべきです。
18106飛び込むために C<goto> を使うことは廃止予定であり、
18107Perl 5.42 で完全に削除される予定です。
1284518108
12846=item Use of inherited AUTOLOAD for non-method %s() is deprecated
12847
1284818109=begin original
1284918110
12850(D deprecated) As an (ahem) accidental feature, C<AUTOLOAD>
18111This was deprecated in Perl 5.12.
12851subroutines are looked up as methods (using the C<@ISA> hierarchy)
12852even when the subroutines to be autoloaded were called as plain
12853functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or
12854C<< $obj->bar() >>).
1285518112
1285618113=end original
1285718114
12858(D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、
18115これは Perl 5.12 で廃止予定になりました。
12859autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や
12860C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として
12861呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。
1286218116
18117=item Use of '%s' in \p{} or \P{} is deprecated because: %s
18118
1286318119=begin original
1286418120
12865This bug will be rectified in future by using method lookup only for
18121(D deprecated::unicode_property_name) Certain properties are deprecated
12866methods' C<AUTOLOAD>s. However, there is a significant base of existing
18122by Unicode, and may eventually be removed from the Standard, at which
12867code 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
12868currently issues an optional warning when non-methods use inherited
18124notify you.
12869C<AUTOLOAD>s.
1287018125
1287118126=end original
1287218127
12873このバグは、メソッドの検索をメソッドの C<AUTOLOAD>みで使うことによって
18128(D deprecated::unicode_property_name) 一部特性は
12874将来修正される予定です。
18129Unicode によって廃止予定とされており、
12875かし、現在コードの大部分は古い振る舞いを使っています。
18130最終的に標準ら削除されるかもれません; そ時点で Perl も追随します。
12876それで、暫定的なステップとして、Perl は現在のところは、
18131のところは、通知のためにこのメッセージが発生します。
12877メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を
12878発生させます。
1287918132
18133=item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed
18134
1288018135=begin original
1288118136
12882The simple rule is: Inheritance will not work when autoloading
18137(F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as
12883non-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
12884to 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
12885named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during
18140methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>).
12886startup.
1288718141
1288818142=end original
1288918143
12890単純規則は: 継承 autoload された非メソッドには動作しません。
18144(F) 偶発的仕様によって、C<AUTOLOAD> サブルーチン
12891古いコードを修正する簡単な方法は: C<BaseClass> という名前の基底クラスから
18145autoload されるサブルチンがメソッ(C<< Foo->bar() >>
12892非メソッドための継承した C<AUTOLOAD> に依存しているモジュールに対して、
18146C<< $obj->bar() >>) ではなく、普通関数 (C<Foo::bar()>) して
12893開始時 C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。
18147呼び出された場合も、(C<@ISA> 階層使って) メソッドとして検索してました
1289418148
1289518149=begin original
1289618150
12897In 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.
12898you should remove AutoLoader from @ISA and change C<use AutoLoader;> to
12899C<use AutoLoader 'AUTOLOAD';>.
1290018152
1290118153=end original
1290218154
12903C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードは、
18155この機能は Perl 5.004 で廃止予定になり、Perl 5.28 致命的エラーになりました。
12904@ISA から AutoLoader を取り除いて、C<use AutoLoader;> を
12905C<use AutoLoader 'AUTOLOAD';> に変更するべきです。
1290618156
1290718157=item Use of %s in printf format not supported
1290818158
1290918159=begin original
1291018160
1291118161(F) You attempted to use a feature of printf that is accessible from
1291218162only C. This usually means there's a better way to do it in Perl.
1291318163
1291418164=end original
1291518165
1291618166(F) C でのみアクセス可能な printf の機能を使おうとしました。
1291718167これは普通 Perl で行うより良い方法があります。
1291818168
12919=item Use of %s is deprecated
18169=item Use of '%s' is deprecated as a string delimiter
1292018170
1292118171=begin original
1292218172
12923(D deprecated) The construct indicated is no longer recommended for use,
18173(D deprecated::delimiter_will_be_paired) You used the given character as
12924generally because there's a better way to do it, and also because the
18174a starting delimiter of a string outside the scope of
12925old 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.
1292618180
1292718181=end original
1292818182
12929(D deprecated) 示した構文は、もはや使うことが推奨されません; 一般には
18183(D deprecated::delimiter_will_be_paired)
12930もっと良い方法があるからありまた古い方法は、悪い副作用があるからです。
18184S<C<use feature 'extra_paired_delimiters'>> のスコープの外側で、
18185指定された文字を文字列の区切りの開始として使いました。
18186この文字はもう一つの Unicode 文字の鏡像です;
18187この機能のスコープ内では、この二つは文字列を区切るための組と
18188考えられます。
18189この機能はデフォルトにすることが計画されていて、その時点で
18190この使用法は不正になります; 従ってこれを警告しています。
1293118191
12932=item Use of -l on filehandle %s
12933
1293418192=begin original
1293518193
12936(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
12937it 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
12938The 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.
1293918198
1294018199=end original
1294118200
12942(F) ファイルはオープンされたァイルを表わすものあり
18201今のところ、この警告と共に生活するか、あるいはオフきますが
12943ファイルをオプンしたときに、探しているシボリックリンク
18202このコ将来のバージョの Perl でもやコンパイルできなくなります。
12944通り過ぎた後です。
18203あるいは S<C<use feature 'extra_paired_delimiters'>> を有効して、
12945この操作は C<undef> します。
18204この鏡像閉じ文字列区切り文字とてこの文字を使えます。
12946代わりにファイル名を使ってください。
1294718205
12948=item Use of %s on a handle without * is deprecated
18206=item Use of '%s' is experimental as a string delimiter
1294918207
1295018208=begin original
1295118209
12952(D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that scalar
18210(S experimental::extra_paired_delimiters) This warning is emitted if
12953happens to hold a typeglob, which means its filehandle will be tied. If
18211you use as a string delimiter one of the non-ASCII mirror image ones
12954you mean to tie a handle, use an explicit * as in C<tie *$handle>.
18212enabled by S<C<use feature 'extra_paired_delimiters'>>. Simply suppress
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:
1295518216
1295618217=end original
1295718218
12958(D deprecated) スカラに対して C<tie>, C<tied>, C<untie> を使いましたが
18219(S experimental::extra_paired_delimiters) この警告は
12959スカラは型グロブを保持していて、そのファイルハンドルが tie されていことを
18220S<C<use feature 'extra_paired_delimiters'>> で有効にな
12960意味します。
18221非 ASCII 鏡像の一つを文字列の区切り文字とて使うと出力されます。
12961ハンドル tie する意味しているなら、C<tie *$handle> のように
18222この機能使いたい場合は単にの警告抑制してくださ; ただし
12962明示的 * を使ってください。
18223そうすることってあなたは将来のバージョンの Perl で変更したり
18224削除されたりするかもしれない実験的な機能を使うというリスクを
18225取っていると言うことを知っておいてください:
1296318226
12964=begin original
18227=item Use of %s is not allowed in Unicode property wildcard
18228subpatterns in regex; marked by S<<-- HERE> in m/%s/
1296518229
12966This was a long-standing bug that was removed in Perl 5.16, as there was
12967no way to tie the scalar itself when it held a typeglob, and no way to
12968untie a scalar that had had a typeglob assigned to it. If you see this
12969message, you must be using an older version.
12970
12971=end original
12972
12973これは Perl 5.16 で取り除かれた長年残っていたバグで、
12974型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが
12975代入されているスカラを untie する方法がないというものでした。
12976このメッセージを見たなら、古いバージョンを使わなければなりません。
12977
12978=item Use of ?PATTERN? without explicit operator is deprecated
12979
1298018230=begin original
1298118231
12982(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
12983expression that matches only once. Starting this term directly with
18233the subpattern contained something that is illegal. Not all regular
12984the question mark delimiter is now deprecated, so that the question mark
18234expression capabilities are legal in such subpatterns, and this is one.
12985will be available for use in new operators in the future. Write C<m?\w?>
18235Rewrite your subppattern to not use the offending construct.
12986instead, explicitly using the C<m> operator: the question mark delimiter
18236See L<perlunicode/Wildcards in Property Values>.
12987still invokes match-once behaviour.
1298818237
1298918238=end original
1299018239
12991(D deprecated) 一度だけマッチグする正規表現として C<?\w?> のようなもの
18240(F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か
12992書きました。
18241不正なものが含まれていました。
12993疑問符を将来新しい演算子とし利用可能とするためにこの単語を直接疑問符
18242このような部分パターンでは全の正規表現機が正当いうわけではなく
12994デリミタで始める非推奨となりました
18243その一つです
12995、明示的に C<m> 演算子使って C<m?\w?> とてください: これも
18244問題となっている構文を使ないよう部分パターンを書き換えてください
12996疑問符デリミタは一度だけマッチングする振る舞い起動ます
18245L<perlunicode/Wildcards in Property Values> 参照てください
1299718246
12998=item Use of qw(...) as parentheses is deprecated
18247=item Use of -l on filehandle%s
1299918248
1300018249=begin original
1300118250
13002(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
13003using a C<qw(...)> list literal where a parenthesised expression is
18252it already went past any symlink you are presumably trying to look for.
13004expected. Historically the parser fooled itself into thinking that
18253The operation returned C<undef>. Use a filename instead.
13005C<qw(...)> literals were always enclosed in parentheses, and as a result
13006you could sometimes omit parentheses around them. (You could never do
13007the C<foreach qw(a b c) {...}> that you might have expected, though.)
13008The parser no longer lies to itself in this way. Wrap the list literal
13009in parentheses, like C<foreach $x (qw(a b c)) {...}>.
1301018254
1301118255=end original
1301218256
13013(D deprecated) C<foreach $x qw(a b c) {...}> のようなものを書きました;
18257(F) ファイルはオープンされたファイルを表わすものであり、
13014かっこ付の式が想定されているところで C<qw(...)> ストテラルを
18258ファイルをオープンしたとには、探しているシンボックンクは、
13015使っています。
18259既に通り過ぎた後です。
13016歴史的に、パーサは C<qw(...)> リテラルは常にかっこで囲れていると
18260この操作は C<undef> を返しす。
13017考えるよう騙されていて、結果として時々かっこを省略できました
18261代わりファイル名を使っください。
13018(しかし、予想するかも知れませんが C<foreach qw(a b c) {...}> とすることは
13019できません。)
13020パーサはもはやこの方法でだまされません。
13021C<foreach $x (qw(a b c)) {...}> のようにして、リストリテラルをかっこで
13022囲んでください。
1302318262
1302418263=item Use of reference "%s" as array index
1302518264
1302618265=begin original
1302718266
1302818267(W misc) You tried to use a reference as an array index; this probably
1302918268isn't what you mean, because references in numerical context tend
1303018269to be huge numbers, and so usually indicates programmer error.
1303118270
1303218271=end original
1303318272
1303418273(W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく
1303518274望んでいることではないでしょう; なぜなら数値コンテキストでの
1303618275リファレンスはとても大きな数になることが多いので、普通はプログラマの
1303718276ミスを意味しています。
1303818277
1303918278=begin original
1304018279
1304118280If you really do mean it, explicitly numify your reference, like so:
1304218281C<$array[0+$ref]>. This warning is not given for overloaded objects,
1304318282however, because you can overload the numification and stringification
1304418283operators and then you presumably know what you are doing.
1304518284
1304618285=end original
1304718286
1304818287本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に
1304918288数値化してください。
1305018289しかし、この警告はオーバーロードされたオブジェクトでは発生しません;
1305118290数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると
1305218291仮定できるからです。
1305318292
13054=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
1305518295
1305618296=begin original
1305718297
13058(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
13059versions 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
13060explicitly quoting the word in a manner appropriate for its context of
18300operators treat their operands as strings of bytes, and values beyond
13061use, or using a different name altogether. The warning can be
183010xFF are nonsensical in this context.
13062suppressed for subroutine names by either adding a C<&> prefix, or using
13063a package qualifier, e.g. C<&our()>, or C<Foo::our()>.
1306418302
1306518303=end original
1306618304
13067(D deprecated) 示されている裸単語は予約語です。
18305(F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを
13068将来のバージョンの perl ではこれキーワードとして使う可能性があるので、
183060xFF超える符号位置を含む文字列に使としました。
13069使っているコンテキスに適した形でクォーするか違う名前を
18307ビット単位文字列演算子はオペランドバイ文字列として扱い
13070使ってください
183080xFF を超える値はこの文脈では無意味です
13071この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、
13072パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。
1307318309
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
1307418339=item Use of tainted arguments in %s is deprecated
1307518340
1307618341=begin original
1307718342
1307818343(W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple
1307918344arguments and at least one of them is tainted. This used to be allowed
1308018345but will become a fatal error in a future version of perl. Untaint your
1308118346arguments. See L<perlsec>.
1308218347
1308318348=end original
1308418349
1308518350(W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、
1308618351そのうち少なくとも一つが汚染されています。
1308718352これは許されていましたが、将来のバージョンの perl では致命的エラーに
1308818353なるでしょう。
1308918354引数を浄化してください。
1309018355L<perlsec> を参照してください。
1309118356
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
1309218411=item Use of uninitialized value%s
1309318412
1309418413=begin original
1309518414
1309618415(W uninitialized) An undefined value was used as if it were already
1309718416defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
1309818417To suppress this warning assign a defined value to your variables.
1309918418
1310018419=end original
1310118420
1310218421(W uninitialized) 未定義値を、あたかも既に定義されているかのように
1310318422使用しました。
1310418423これは、"" か 0 と解釈されますが、間違いの可能性があります。
1310518424この警告を止めるには、変数に定義された値を代入してください。
1310618425
1310718426=begin original
1310818427
1310918428To help you figure out what was undefined, perl will try to tell you
1311018429the name of the variable (if any) that was undefined. In some cases
1311118430it cannot do this, so it also tells you what operation you used the
1311218431undefined value in. Note, however, that perl optimizes your program
13113anid the operation displayed in the warning may not necessarily appear
18432and the operation displayed in the warning may not necessarily appear
1311418433literally in your program. For example, C<"that $foo"> is usually
1311518434optimized into C<"that " . $foo>, and the warning will refer to the
1311618435C<concatenation (.)> operator, even though there is no C<.> in
1311718436your program.
1311818437
1311918438=end original
1312018439
1312118440何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である
1312218441変数名を示します。
1312318442それができないような場合では、未定義値を使った操作を示します。
1312418443しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に
1312518444現れない操作についての警告が表示されるかもしれないことに注意してください。
1312618445例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、
1312718446たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が
1312818447出ます。
1312918448
13130=item Using a hash as a reference is deprecated
18449=item "use re 'strict'" is experimental
1313118450
1313218451=begin original
1313318452
13134(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
13135C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl <= 5.6.1
18454expression pattern is compiled under C<'strict'> are subject to change
13136used to allow this syntax, but shouldn't have. It is now
18455in future Perl releases in incompatible ways. This means that a pattern
13137deprecated, and will be removed in a future version.
18456that compiles today may not in a future Perl release. This warning is
18457to alert you to that risk.
1313818458
1313918459=end original
1314018460
13141(D deprecated) C<< %foo->{"bar"} >> や C<< %$ref->{"hello"} >>
18461(S experimental::re_strict) 正規表現が C<'strict'> の
13142ハッシュをリファレスとして使おうとしまし
18462パイルされときに何が異なるかは、
131435.6.1 以前バージョンの perl ではこ構文を許してましたが、
18463将来Perl のリリース互換性形で変更される予定です。
13144そうするべきではありせん。
18464り、今日コンパイルしたパターンは将来の Perl リリースのものとは
13145これは今では非推奨であり、将来のバージョンでは削除されるでしょう。
18465かもしれません
18466この警告はそのリスクを知らせるためのものです。
1314618467
13147=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
1314818469
1314918470=begin original
1315018471
13151(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
13152C<< @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,
13153allow this syntax, but shouldn't have. It is now deprecated,
18474even if it requests a later version.
13154and will be removed in a future version.
1315518475
1315618476=end original
1315718477
13158(D deprecated) C<< @foo->[23] >> C<< @$ref->[99] >> の形で
18478(F) 一旦 5.39 以上の Perl バージョンを要求する C<use VERSION> を宣言すると
13159配列をリファレンスとて使おうとしました。
18479例えより新いバージョンを要求する場合でも、
131605.6.1 以前バージョン perl でこの構文を許していましたが、
18480最初宣言が有効引き続て宣言することはできせん。
13161そうするべきではありません。
13162これは今では非推奨であり、将来のバージョンでは削除されるでしょう。
1316318481
13164=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
1316518483
1316618484=begin original
1316718485
13168(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
13169Currently 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
13170expression pattern bracketed character class.
18488is visible.
1317118489
1317218490=end original
1317318491
13174(W) charnames ハンドラが複数の文字の並びとがあります。
18492(F) 一旦スコープ内で C<use VERSION> 宣言、最初の宣言有効の間は、
13175正規表現パターン大かっこ文字クラスで使われときに、現在のところ
18493引き続いて 5.39 以上の Perl バジョを要求す宣言できません。
13176最初のもの以外は捨てられます。
1317718494
18495=item Use \x{...} for more than two hex characters in regex; marked by
18496S<<-- HERE> in m/%s/
18497
18498=begin original
18499
18500(F) In a regular expression, you said something like
18501
18502=end original
18503
18504(F) 正規表現で、以下のようなことをしました
18505
18506 (?[ [ \xBEEF ] ])
18507
18508=begin original
18509
18510Perl isn't sure if you meant this
18511
18512=end original
18513
18514Perl は、これが以下のものを意味しているのか
18515
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
1317818621=item Using !~ with %s doesn't make sense
1317918622
1318018623=begin original
1318118624
1318218625(F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is
13183currently reserved for future use, as the exact behaviour has not
18626currently reserved for future use, as the exact behavior has not
1318418627been decided. (Simply returning the boolean opposite of the
1318518628modified string is usually not particularly useful.)
1318618629
1318718630=end original
1318818631
1318918632(F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが
1319018633まだ決定されていないので、将来の使用のために予約されています。
1319118634(単に修正された文字列の真偽値としての逆を返すのは普通特に
1319218635有用ではありません。)
1319318636
1319418637=item UTF-16 surrogate U+%X
1319518638
1319618639=begin original
1319718640
13198(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
1319918642not considered acceptable. These code points, between U+D800 and
1320018643U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl
1320118644internally allows all unsigned integer code points (up to the size limit
1320218645available on your platform), including surrogates. But these can cause
1320318646problems when being input or output, which is likely where this message
1320418647came from. If you really really know what you are doing you can turn
1320518648off this warning by C<no warnings 'surrogate';>.
1320618649
1320718650=end original
1320818651
13209(W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
18652(S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
1321018653使いました。
1321118654これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに
1321218655Unicode によって使われます。
1321318656しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は
1321418657プラットフォームで利用可能なサイズ上限)を受け付けます。
1321518658しかし、これらは入力や出力になるときに問題を引き起こします; それは
1321618659おそらくこのメッセージが出た場所です。
1321718660自分で何をしているのかが本当に本当に分かっているなら、
1321818661C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
1321918662
1322018663=item Value of %s can be "0"; test with defined()
1322118664
1322218665=begin original
1322318666
1322418667(W misc) In a conditional expression, you used <HANDLE>, <*> (glob),
1322518668C<each()>, or C<readdir()> as a boolean value. Each of these constructs
1322618669can return a value of "0"; that would make the conditional expression
1322718670false, which is probably not what you intended. When using these
1322818671constructs in conditional expressions, test their values with the
1322918672C<defined> operator.
1323018673
1323118674=end original
1323218675
1323318676(W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を
1323418677真偽値として使いました。
1323518678これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、
1323618679これはおそらく望んでいることではないでしょう。
1323718680これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で
1323818681テストしてください。
1323918682
1324018683=item Value of CLI symbol "%s" too long
1324118684
1324218685=begin original
1324318686
1324418687(W misc) A warning peculiar to VMS. Perl tried to read the value of an
1324518688%ENV element from a CLI symbol table, and found a resultant string
1324618689longer than 1024 characters. The return value has been truncated to
13247186901024 characters.
1324818691
1324918692=end original
1325018693
1325118694(W misc) VMS に固有の警告です。
1325218695Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、
1325318696結果の文字列が 1024 文字を越えました。
1325418697返り値は 1024 文字に切り詰められます。
1325518698
1325618699=item Variable "%s" is not available
1325718700
1325818701=begin original
1325918702
1326018703(W closure) During compilation, an inner named subroutine or eval is
1326118704attempting to capture an outer lexical that is not currently available.
1326218705This can happen for one of two reasons. First, the outer lexical may be
1326318706declared in an outer anonymous subroutine that has not yet been created.
1326418707(Remember that named subs are created at compile time, while anonymous
1326518708subs are created at run-time.) For example,
1326618709
1326718710=end original
1326818711
1326918712(W closure) コンパイル中に、内側の名前付きサブルーチンや eval が
1327018713まだ利用可能でない外側のレキシカルを捕捉しようとしました。
13271これは二つの理由の 一つで起こります。
18714これは二つの理由で起こります。
1327218715まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで
1327318716定義されている場合です。
1327418717(名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは
1327518718実行時に作成されることを思い出してください。)
1327618719例えば、
1327718720
13278 sub { my $a; sub f { $a } }
18721 sub { my $x; sub f { $x } }
1327918722
1328018723=begin original
1328118724
13282At 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,
1328318726since the anonymous subroutine hasn't been created yet. Conversely,
1328418727the following won't give a warning since the anonymous subroutine has by
1328518728now been created and is live:
1328618729
1328718730=end original
1328818731
13289f が作成された時点で、$a の現在の値を捕捉できません;
18732f が作成された時点で、$x の現在の値を捕捉できません;
1329018733なぜなら無名サブルーチンはまだ作成されていないからです。
13291逆に、以下のものは無名サブルーチンがす作成されていて有効なので、
18734逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて
13292警告は出ません:
18735生きているからです:
1329318736
13294 sub { my $a; eval 'sub f { $a }' }->();
18737 sub { my $x; eval 'sub f { $x }' }->();
1329518738
1329618739=begin original
1329718740
1329818741The second situation is caused by an eval accessing a variable that has
1329918742gone out of scope, for example,
1330018743
1330118744=end original
1330218745
13303187462 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります;
1330418747例えば:
1330518748
1330618749 sub f {
13307 my $a;
18750 my $x;
13308 sub { eval '$a' }
18751 sub { eval '$x' }
1330918752 }
1331018753 f()->();
1331118754
1331218755=begin original
1331318756
13314Here, 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
13315executed, so its $a is not available for capture.
18758being executed, so its $x is not available for capture.
1331618759
1331718760=end original
1331818761
13319ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ
18762ここで、eval の中の '$x' がコンパイルされるとき、f() はまだ
13320実行されていないので、この $a は捕捉出来ません。
18763実行されていないので、この $x は捕捉出来ません。
1332118764
1332218765=item Variable "%s" is not imported%s
1332318766
1332418767=begin original
1332518768
13326(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
1332718770that you apparently thought was imported from another module, because
1332818771something else of the same name (usually a subroutine) is exported by
1332918772that module. It usually means you put the wrong funny character on the
13330front of your variable.
18773front of your variable. It is also possible you used an "our" variable
18774whose scope has ended.
1333118775
1333218776=end original
1333318777
13334(W misc) "use strict" が有効のときに、見たところ他のモジュールから
18778(S misc) "use strict" が有効のときに、見たところ他のモジュールから
1333518779インポートされたとあなたが考えたグローバル変数を参照しました;
1333618780なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから
1333718781エクスポートされています。
1333818782これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。
18783スコープが終わっている "our" 変数を使った可能性もあります。
1333918784
13340=item Variable length lookbehind not implemented in m/%s/
18785=item Variable length lookbehind not implemented in regex m/%s/
1334118786
1334218787=begin original
1334318788
13344(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
13345known at compile time. See L<perlre>.
18790retained in this document as a convenience for people using an earlier
18791Perl version.
1334618792
1334718793=end original
1334818794
13349(F) 後方参照長さが固定で、コンパイル時に確定ている副式に対してのみ可能です
18795(F) B<このメッセージ Perl 5.30 からもはや発生ません>
13350L<perlre>参照しくださ
18796これはより古いバージョンの Perl を使っている人々が便利なように
18797この文書に残しています。
1335118798
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
1335218944=item "%s" variable %s masks earlier declaration in same %s
1335318945
1335418946=begin original
1335518947
13356(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
13357current scope or statement, effectively eliminating all access to the
18949the current scope or statement, effectively eliminating all access to the
1335818950previous instance. This is almost always a typographical error. Note
1335918951that the earlier variable will still exist until the end of the scope
13360or until all closure referents to it are destroyed.
18952or until all closure references to it are destroyed.
1336118953
1336218954=end original
1336318955
13364(W misc) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、
18956(W shadow) 現在のスコープや文で "my", "our", "state", "field" 変数が
13365以前の実体への全てのアクセスができなくなりました。
18957再宣言されたので、以前の実体への全てのアクセスができなくなりました。
13366これはほとんどの場合タイプミスです。
18958これはほとんど常にタイプミスです。
1336718959以前の変数は、スコープが終わるか、それを参照している全てのクロージャが
1336818960破壊されるまでは存在し続けることに注意してください。
1336918961
1337018962=item Variable syntax
1337118963
1337218964=begin original
1337318965
1337418966(A) You've accidentally run your script through B<csh> instead
1337518967of Perl. Check the #! line, or manually feed your script into
1337618968Perl yourself.
1337718969
1337818970=end original
1337918971
1338018972(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
13381#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
18973#! 行を確認するか、スクリプトを手動で Perl に渡してください。
1338218974
1338318975=item Variable "%s" will not stay shared
1338418976
1338518977=begin original
1338618978
1338718979(W closure) An inner (nested) I<named> subroutine is referencing a
1338818980lexical variable defined in an outer named subroutine.
1338918981
1339018982=end original
1339118983
1339218984(W closure) 内部の(ネストした) I<名前付き> サブルーチンが、
1339318985外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。
1339418986
1339518987=begin original
1339618988
1339718989When the inner subroutine is called, it will see the value of
1339818990the outer subroutine's variable as it was before and during the *first*
1339918991call to the outer subroutine; in this case, after the first call to the
1340018992outer subroutine is complete, the inner and outer subroutines will no
1340118993longer share a common value for the variable. In other words, the
1340218994variable will no longer be shared.
1340318995
1340418996=end original
1340518997
13406内側のサブルーチンが呼び出された時外側のサブルーチンの値は、最初の外側の
18998内側のサブルーチンが呼び出されるとき
13407サブルーチン呼び出し前および呼び出し中ものになります;
18999外側のサブルーチンの変数値は、
13408場合、外側のサブルーチンへの最初の呼び出しが終了た後、内側と
19000「最初外側のサブルーチンへの呼び出し前および呼び出中のものになります;
13409外側のサブルーチンは変数に関て同じ値を共有なくなります。
19001この場合、外側のサブルーチンへの最初の呼び出が終了た後、
13410言い換える変数はもはや共有されせん
19002内側外側のサブルーチンはこの変数に関して同じ値を共有しなくなり
19003言い換えると、この変数はもはや共有されません。
1341119004
1341219005=begin original
1341319006
1341419007This problem can usually be solved by making the inner subroutine
1341519008anonymous, using the C<sub {}> syntax. When inner anonymous subs that
1341619009reference variables in outer subroutines are created, they
1341719010are automatically rebound to the current values of such variables.
1341819011
1341919012=end original
1342019013
1342119014この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで
1342219015解決します。
1342319016外側のサブルーチンの変数を参照している内側の無名サブルーチンが
1342419017作成されたとき、これらはそのような変数の現在の値に自動的に回復します。
1342519018
1342619019=item vector argument not supported with alpha versions
1342719020
1342819021=begin original
1342919022
13430(W internal) The %vd (s)printf format does not support version objects
19023(S printf) The %vd (s)printf format does not support version objects
1343119024with alpha parts.
1343219025
1343319026=end original
1343419027
13435(W internal) %vd (s)printf フォーマットはアルファ部分のある
19028(S printf) %vd (s)printf フォーマットはアルファ部分のある
1343619029バージョンオブジェクトに対応していません。
1343719030
13438=item Verb pattern '%s' has a mandatory argument in regex; marked by <-- HERE in m/%s/
19031=item Verb pattern '%s' has a mandatory argument in regex; marked by
19032S<<-- HERE> in m/%s/
1343919033
1344019034=begin original
1344119035
1344219036(F) You used a verb pattern that requires an argument. Supply an
1344319037argument or check that you are using the right verb.
1344419038
1344519039=end original
1344619040
1344719041(F) 引き数が必要な動詞パターンを使いました。
1344819042引き数を追加するか、正しい動詞を使ってください。
1344919043
13450=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/
1345119046
1345219047=begin original
1345319048
1345419049(F) You used a verb pattern that is not allowed an argument. Remove the
1345519050argument or check that you are using the right verb.
1345619051
1345719052=end original
1345819053
1345919054(F) 引き数が認められていない動詞パターンを使いました。
1346019055引き数を削除するか、正しい動詞を使ってください。
1346119056
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
1346219072=item Version number must be a constant number
1346319073
1346419074=begin original
1346519075
1346619076(P) The attempt to translate a C<use Module n.n LIST> statement into
1346719077its equivalent C<BEGIN> block found an internal inconsistency with
1346819078the version number.
1346919079
1347019080=end original
1347119081
1347219082(P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと
1347319083したときに、バージョン番号について内部の不整合を発見しました。
1347419084
1347519085=item Version string '%s' contains invalid data; ignoring: '%s'
1347619086
1347719087=begin original
1347819088
1347919089(W misc) The version string contains invalid characters at the end, which
1348019090are being ignored.
1348119091
1348219092=end original
1348319093
1348419094(W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は
1348519095無視されます。
1348619096
1348719097=item Warning: something's wrong
1348819098
1348919099=begin original
1349019100
1349119101(W) You passed warn() an empty string (the equivalent of C<warn "">) or
1349219102you called it with no args and C<$@> was empty.
1349319103
1349419104=end original
1349519105
1349619106(W) warn() に空文字列を渡した (C<warn ""> と透過です) か、
1349719107引数なしで呼び出され、C<$@> も空でした。
1349819108
1349919109=item Warning: unable to close filehandle %s properly
1350019110
1350119111=begin original
1350219112
1350319113(S) The implicit close() done by an open() got an error indication on
1350419114the close(). This usually indicates your file system ran out of disk
1350519115space.
1350619116
1350719117=end original
1350819118
1350919119(S) open() によって暗黙のうちに行なわれる close() が、
1351019120close() のエラーとなりました。
1351119121通常、ファイルシステムがいっぱいであることを示します。
1351219122
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
1351319169=item Warning: Use of "%s" without parentheses is ambiguous
1351419170
1351519171=begin original
1351619172
1351719173(S ambiguous) You wrote a unary operator followed by something that
1351819174looks like a binary operator that could also have been interpreted as a
1351919175term or unary operator. For instance, if you know that the rand
1352019176function has a default argument of 1.0, and you write
1352119177
1352219178=end original
1352319179
1352419180(S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、
1352519181二項演算子のようなものが置かれました。
1352619182たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って
1352719183いれば、以下のように書いて:
1352819184
1352919185 rand + 5;
1353019186
1353119187=begin original
1353219188
1353319189you may THINK you wrote the same thing as
1353419190
1353519191=end original
1353619192
1353719193以下の同じことと思うかもしれませんが:
1353819194
1353919195 rand() + 5;
1354019196
1354119197=begin original
1354219198
1354319199but in actual fact, you got
1354419200
1354519201=end original
1354619202
1354719203実際には以下のようになります:
1354819204
1354919205 rand(+5);
1355019206
1355119207=begin original
1355219208
1355319209So put in parentheses to say what you really mean.
1355419210
1355519211=end original
1355619212
1355719213したがって、思うように解釈させるには、かっこが必要になります。
1355819214
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
1355919233=item Wide character in %s
1356019234
1356119235=begin original
1356219236
13563(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
13564one. 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).
13565way to quiet this warning is simply to add the C<:utf8> layer to the
13566output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the
19240=end original
13567warning 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
1356819251cheating. In general, you are supposed to explicitly mark the
1356919252filehandle with an encoding, see L<open> and L<perlfunc/binmode>.
1357019253
1357119254=end original
1357219255
13573(S utf8) Perl が(想定していいとろで)ワイド文字(>255)に遭遇しました。
19256この警告が I/O からのものら、れを黙らせる最も簡単な方法は、
13574この警告は、(print のような) I/O 対してはデフォルトでオンです。
19257S<C<binmode STDOUT, ':utf8'>> のように
13575この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように
1357619258出力に単に C<:utf8> 層を追加することです。
13577もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは
19259もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは
1357819260しばしばいかさまに近い方法です。
1357919261一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに
1358019262なっています; L<open> と L<perlfunc/binmode> を参照してください。
1358119263
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
1358219314=item Within []-length '%c' not allowed
1358319315
1358419316=begin original
1358519317
1358619318(F) The count in the (un)pack template may be replaced by C<[TEMPLATE]>
1358719319only if C<TEMPLATE> always matches the same amount of packed bytes that
1358819320can be determined from the template alone. This is not possible if
1358919321it contains any of the codes @, /, U, u, w or a *-length. Redesign
1359019322the template.
1359119323
1359219324=end original
1359319325
1359419326(F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に
1359519327テンプレートだけから決定される同じサイズの pack されたバイト列と一致する
1359619328場合にのみ C<[TEMPLATE]> によって置き換えられます。
1359719329これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。
1359819330テンプレートを再設計してください。
1359919331
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
1360019372=item write() on closed filehandle %s
1360119373
1360219374=begin original
1360319375
1360419376(W closed) The filehandle you're writing to got itself closed sometime
1360519377before now. Check your control flow.
1360619378
1360719379=end original
1360819380
1360919381(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
1361019382制御フローをチェックしてください。
1361119383
1361219384=item %s "\x%X" does not map to Unicode
1361319385
1361419386=begin original
1361519387
13616(F) When reading in different encodings Perl tries to map everything
19388(S utf8) When reading in different encodings, Perl tries to
13617into Unicode characters. The bytes you read in are not legal in
19389map everything into Unicode characters. The bytes you read
13618this encoding, for example
19390in are not legal in this encoding. For example
1361919391
1362019392=end original
1362119393
13622(F) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に
19394(S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に
1362319395マッピングしようとします。
13624読み込んだバイトはこのエンコーディングでは不正でした; 例えば:
19396読み込んだバイトはこのエンコーディングでは不正でした
19397例えば:
1362519398
1362619399 utf8 "\xE4" does not map to Unicode
1362719400
1362819401=begin original
1362919402
1363019403if you try to read in the a-diaereses Latin-1 as UTF-8.
1363119404
1363219405=end original
1363319406
1363419407というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。
1363519408
1363619409=item 'X' outside of string
1363719410
1363819411=begin original
1363919412
1364019413(F) You had a (un)pack template that specified a relative position before
1364119414the beginning of the string being (un)packed. See L<perlfunc/pack>.
1364219415
1364319416=end original
1364419417
1364519418(F) (un)pack している文字列の最後より後の相対位置を示している
1364619419(un)pack テンプレートを指定しました。
1364719420L<perlfunc/pack> を参照してください。
1364819421
1364919422=item 'x' outside of string in unpack
1365019423
1365119424=begin original
1365219425
13653(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
1365419427the end of the string being unpacked. See L<perlfunc/pack>.
1365519428
1365619429=end original
1365719430
1365819431(F) unpack している文字列の最後より後の相対位置を示している
1365919432pack テンプレートを指定しました。
1366019433L<perlfunc/pack> を参照してください。
1366119434
1366219435=item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!
1366319436
1366419437=begin original
1366519438
1366619439(F) And you probably never will, because you probably don't have the
1366719440sources to your kernel, and your vendor probably doesn't give a rip
13668about 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
13669your 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.
1367019445
1367119446=end original
1367219447
1367319448(F) そして、そうすることはできないでしょう; カーネルのソースは
1367419449お持ちではないでしょうし、ベンダも欲しいものを提供しては
1367519450くれないでしょうから。
13676もっとも良いのは、スクリプトに setuid C ラッパーを被せるとです。
19451set-id スクリプトのあちちには脆弱性があり、
19452それを閉じるためには実行しようとしているスクリプトから
19453set-id ビットを削除する必要があります。
19454実際にスクリプトを set-id で実行するために
19455もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。
1367719456
1367819457=item You need to quote "%s"
1367919458
1368019459=begin original
1368119460
13682(W syntax) You assigned a bareword as a signal handler name.
19461(W syntax) You assigned a bareword as a signal handler name:
13683Unfortunately, you already have a subroutine of that name declared,
13684which means that Perl 5 will try to call the subroutine when the
13685assignment is executed, which is probably not what you want. (If it IS
13686what you want, put an & in front.)
1368719462
1368819463=end original
1368919464
13690(W syntax) シグナルハンドラ名に、裸の単語を代入しました
19465(W syntax) シグナルハンドラ名として裸の単語を割り当てました:
13691残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、
13692おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。
13693(もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。)
1369419466
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
1369519497=item Your random numbers are not that random
1369619498
1369719499=begin original
1369819500
13699(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
1370019502not get any randomness out of your system. This usually indicates
1370119503Something Very Wrong.
1370219504
1370319505=end original
1370419506
1370519507(F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから
1370619508何の乱数性も得られませんでした。
1370719509これは普通「何かとても具合が悪い」ことを示しています。
1370819510
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
1370919533=back
1371019534
1371119535=head1 SEE ALSO
1371219536
13713L<warnings>, L<perllexwarn>, L<diagnostics>.
19537L<warnings>, L<diagnostics>.
1371419538
1371519539=cut
1371619540
1371719541=begin meta
1371819542
1371919543Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000)
1372019544Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-)
1372119545Status: completed
1372219546
1372319547=end meta