perldiag > 5.24.1 との差分

perldiag 5.24.1 と 5.32.0 の差分

11
22=encoding euc-jp
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
6060below. E.g. C<(W closed)> means a warning in the C<closed> category.
6161
6262=end original
6363
6464メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の
6565説明で分類文字と共に記されています。
6666例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。
6767
6868=begin original
6969
7070Optional warnings are enabled by using the C<warnings> pragma or the B<-w>
7171and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}>
7272to a reference to a routine that will be called on each warning instead
7373of printing it. See L<perlvar>.
7474
7575=end original
7676
7777C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が
7878有効になります。
7979警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの
8080リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。
8181L<perlvar> を参照してください。
8282
8383=begin original
8484
8585Severe warnings are always enabled, unless they are explicitly disabled
8686with the C<warnings> pragma or the B<-X> switch.
8787
8888=end original
8989
9090C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、
9191厳しい警告は常に有効です。
9292
9393=begin original
9494
9595Trappable errors may be trapped using the eval operator. See
9696L<perlfunc/eval>. In almost all cases, warnings may be selectively
9797disabled or promoted to fatal errors using the C<warnings> pragma.
9898See L<warnings>.
9999
100100=end original
101101
102102トラップ可能なエラーは評価演算子を使ってトラップできます。
103103L<perlfunc/eval> を参照してください。
104104ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に
105105無効にしたり致命的エラーに昇格させたりできます。
106106L<warnings> を参照してください。
107107
108108=begin original
109109
110110The messages are in alphabetical order, without regard to upper or
111111lower-case. Some of these messages are generic. Spots that vary are
112112denoted with a %s or other printf-style escape. These escapes are
113113ignored by the alphabetical order, as are all characters other than
114114letters. To look up your message, just ignore anything that is not a
115115letter.
116116
117117=end original
118118
119119メッセージは大文字小文字を無視してアルファベット順に並んでいます。
120120これらの中には一般的なものもあります。
121121変化する部分は %s またはその他の printf スタイルの表記をしています。
122122これらの表記や、その他の英文字以外の文字は並び順に関しては
123123無視されています。
124124メッセージを探すには、英文字以外は無視してください。
125125
126126=over 4
127127
128128=item accept() on closed socket %s
129129
130130=begin original
131131
132132(W closed) You tried to do an accept on a closed socket. Did you forget
133133to check the return value of your socket() call? See
134134L<perlfunc/accept>.
135135
136136=end original
137137
138138(W closed) クローズされたソケットに accept を行なおうとしました。
139139socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
140140L<perlfunc/accept> を参照してください。
141141
142142=item Aliasing via reference is experimental
143143
144144=begin original
145145
146146(S experimental::refaliasing) This warning is emitted if you use
147147a reference constructor on the left-hand side of an assignment to
148148alias one variable to another. Simply suppress the warning if you
149149want to use the feature, but know that in doing so you are taking
150150the risk of using an experimental feature which may change or be
151151removed in a future Perl version:
152152
153153=end original
154154
155155(S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の
156156左側でリファレンスコンストラクタを使うと出力されます。
157157この機能を使いたいけれども、そうすることで将来の Perl バージョンで
158158変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、
159159単に警告を抑制してください:
160160
161161 no warnings "experimental::refaliasing";
162162 use feature "refaliasing";
163163 \$x = \$y;
164164
165165=item Allocation too large: %x
166166
167167=begin original
168168
169169(X) You can't allocate more than 64K on an MS-DOS machine.
170170
171171=end original
172172
173173(X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。
174174
175175=item '%c' allowed only after types %s in %s
176176
177177=begin original
178178
179179(F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only
180180after certain types. See L<perlfunc/pack>.
181181
182182=end original
183183
184184(F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの
185185後にのみつけることができます。
186186L<perlfunc/pack> を参照してください。
187187
188188=item alpha->numify() is lossy
189189
190190=begin original
191191
192192(W numeric) An alpha version can not be numified without losing
193193information.
194194
195195=end original
196196
197197(W numeric) アルファバージョンは、情報を失うことなく数値化できません。
198198
199199=item Ambiguous call resolved as CORE::%s(), qualify as such or use &
200200
201201=begin original
202202
203203(W ambiguous) A subroutine you have declared has the same name as a Perl
204204keyword, and you have used the name without qualification for calling
205205one or the other. Perl decided to call the builtin because the
206206subroutine is not imported.
207207
208208=end original
209209
210210(W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、
211211どちらかを呼び出すために修飾なしで名前を使っています。
212212Perl は、サブルーチンがインポートされたものではないので、組み込みのものを
213213呼び出すことにしました。
214214
215215=begin original
216216
217217To force interpretation as a subroutine call, either put an ampersand
218218before the subroutine name, or qualify the name with its package.
219219Alternatively, you can import the subroutine (or pretend that it's
220220imported with the C<use subs> pragma).
221221
222222=end original
223223
224224サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の
225225前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。
226226他の方法として、サブルーチンをインポートする(あるいは C<use subs>
227227プラグマを使ってインポートされたふりをする)方法もあります。
228228
229229=begin original
230230
231231To silently interpret it as the Perl operator, use the C<CORE::> prefix
232232on the operator (e.g. C<CORE::log($x)>) or declare the subroutine
233233to be an object method (see L<perlsub/"Subroutine Attributes"> or
234234L<attributes>).
235235
236236=end original
237237
238238警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように)
239239演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト
240240メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を
241241参照してください)として定義してください。
242242
243243=item Ambiguous range in transliteration operator
244244
245245=begin original
246246
247247(F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at
248248all. To include a C<-> character in a transliteration, put it either
249249first or last. (In the past, C<tr/a-z-0//> was synonymous with
250250C<tr/a-y//>, which was probably not what you would have expected.)
251251
252252=end original
253253
254254(F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。
255255文字変換の文字に C<-> を加える時は、最初か最後に置いてください。
256256(以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく
257257予想していたものと違うでしょう。)
258258
259259=item Ambiguous use of %s resolved as %s
260260
261261=begin original
262262
263263(S ambiguous) You said something that may not be interpreted the way
264264you thought. Normally it's pretty easy to disambiguate it by supplying
265265a missing quote, operator, parenthesis pair or declaration.
266266
267267=end original
268268
269269(S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。
270270普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり
271271簡単にあいまいさを解消できます。
272272
273273=item Ambiguous use of -%s resolved as -&%s()
274274
275275=begin original
276276
277277(S ambiguous) You wrote something like C<-foo>, which might be the
278278string C<"-foo">, or a call to the function C<foo>, negated. If you meant
279279the string, just write C<"-foo">. If you meant the function call,
280280write C<-foo()>.
281281
282282=end original
283283
284284(S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも
285285知れませんし、関数 C<foo> を呼び出してその否定かも知れません。
286286文字列のつもりなら、単に C<"-foo"> と書いてください。
287287関数呼び出しのつもりなら、C<-foo()> と書いてください。
288288
289289=item Ambiguous use of %c resolved as operator %c
290290
291291=begin original
292292
293293(S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus,
294294bitwise and, and multiplication) I<and> initial special characters
295295(denoting hashes, subroutines and typeglobs), and you said something
296296like C<*foo * foo> that might be interpreted as either of them. We
297297assumed you meant the infix operator, but please try to make it more
298298clear -- in the example given, you might write C<*foo * foo()> if you
299299really meant to multiply a glob by the result of calling a function.
300300
301301=end original
302302
303303(S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算)
304304I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の
305305両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが
306306書かれました。
307307これは中置演算子を意味していると仮定しますが、どうかより明確にするように
308308してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の
309309積を意味しているなら、C<*foo * foo()> と書けます。
310310
311311=item Ambiguous use of %c{%s} resolved to %c%s
312312
313313=begin original
314314
315315(W ambiguous) You wrote something like C<@{foo}>, which might be
316316asking for the variable C<@foo>, or it might be calling a function
317317named foo, and dereferencing it as an array reference. If you wanted
318318the variable, you can just write C<@foo>. If you wanted to call the
319319function, write C<@{foo()}> ... or you could just not have a variable
320320and a function with the same name, and save yourself a lot of trouble.
321321
322322=end original
323323
324324(W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと
325325かもしれませんし、foo という名前の関数を呼び出して、それを配列
326326リファレンスとしてデリファレンスするかもしれません。
327327もし変数がほしいなら、単に C<@foo> と書いてください。
328328関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に
329329変数と関数で同じ名前を使わないでください; これにより多くの問題から身を
330330守れます。
331331
332332=item Ambiguous use of %c{%s[...]} resolved to %c%s[...]
333333
334334=item Ambiguous use of %c{%s{...}} resolved to %c%s{...}
335335
336336=begin original
337337
338338(W ambiguous) You wrote something like C<${foo[2]}> (where foo represents
339339the name of a Perl keyword), which might be looking for element number
3403402 of the array named C<@foo>, in which case please write C<$foo[2]>, or you
341341might have meant to pass an anonymous arrayref to the function named
342342foo, and then do a scalar deref on the value it returns. If you meant
343343that, write C<${foo([2])}>.
344344
345345=end original
346346
347347(W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の
348348キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を
349349探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、
350350foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ
351351デリファレンスしているのかも知れません。
352352それを意味しているなら、C<${foo([2])}> と書いてください。
353353
354354=begin original
355355
356356In regular expressions, the C<${foo[2]}> syntax is sometimes necessary
357357to disambiguate between array subscripts and character classes.
358358C</$length[2345]/>, for instance, will be interpreted as C<$length> followed
359359by the character class C<[2345]>. If an array subscript is what you
360360want, you can avoid the warning by changing C</${length[2345]}/> to the
361361unsightly C</${\$length[2345]}/>, by renaming your array to something
362362that does not coincide with a built-in keyword, or by simply turning
363363off warnings with C<no warnings 'ambiguous';>.
364364
365365=end original
366366
367367正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために
368368必要になります。
369369例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が
370370引き続くと解釈されます。
371371配列添え字が求めているものなら、C</${length[2345]}/> を
372372(見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと
373373衝突しないものに変える、単に C<no warnings 'ambiguous';> として
374374警告をオフにする、のいずれかで警告を回避できます。
375375
376376=item '|' and '<' may not both be specified on command line
377377
378378=begin original
379379
380380(F) An error peculiar to VMS. Perl does its own command line
381381redirection, and found that STDIN was a pipe, and that you also tried to
382382redirect STDIN using '<'. Only one STDIN stream to a customer, please.
383383
384384=end original
385385
386386(F) VMS に固有のエラーです。
387387Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで
388388あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと
389389しました。
390390STDIN ストリームは一つだけにしてください; お願いします。
391391
392392=item '|' and '>' may not both be specified on command line
393393
394394=begin original
395395
396396(F) An error peculiar to VMS. Perl does its own command line
397397redirection, and thinks you tried to redirect stdout both to a file and
398398into a pipe to another command. You need to choose one or the other,
399399though nothing's stopping you from piping into a program or Perl script
400400which 'splits' output into two streams, such as
401401
402402=end original
403403
404404(F) VMS に固有のエラーです。
405405Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を
406406ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると
407407判断しました。
408408どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに
409409「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは
410410何もありません。
411411
412412 open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!";
413413 while (<STDIN>) {
414414 print;
415415 print OUT;
416416 }
417417 close OUT;
418418
419419=item Applying %s to %s will act on scalar(%s)
420420
421421=begin original
422422
423423(W misc) The pattern match (C<//>), substitution (C<s///>), and
424424transliteration (C<tr///>) operators work on scalar values. If you apply
425425one of them to an array or a hash, it will convert the array or hash to
426426a scalar value (the length of an array, or the population info of a
427427hash) and then work on that scalar value. This is probably not what
428428you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for
429429alternatives.
430430
431431=end original
432432
433433(W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換
434434(C<tr///>) 演算子はスカラ値に対して動作します。
435435これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか
436436ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。
437437これはおそらくしたいこととは違うでしょう。
438438代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。
439439
440440=item Arg too short for msgsnd
441441
442442=begin original
443443
444444(F) msgsnd() requires a string at least as long as sizeof(long).
445445
446446=end original
447447
448448(F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。
449449
450450=item Argument "%s" isn't numeric%s
451451
452452=begin original
453453
454454(W numeric) The indicated string was fed as an argument to an operator
455455that expected a numeric value instead. If you're fortunate the message
456456will identify which operator was so unfortunate.
457457
458458=end original
459459
460460(W numeric) ここに示した文字列は、数値が必要な演算子の引数として、
461461与えられました。
462462運がよければ、このメッセージによって、どの演算子が問題となったかが
463463わかります。
464464
465465=begin original
466466
467467Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the
468468definition of "numeric" is somewhat unusual: the strings themselves
469469(like "Inf") are considered numeric, and anything following them is
470470considered non-numeric.
471471
472472=end original
473473
474474Note that for the
475475C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し
476476変わっていることに注意してください:
477477("Inf" のような) これらの文字列自身は数値として扱われますが、それに
478478何かが引き続いている場合は非数値として扱われます。
479479
480480=item Argument list not closed for PerlIO layer "%s"
481481
482482=begin original
483483
484484(W layer) When pushing a layer with arguments onto the Perl I/O
485485system you forgot the ) that closes the argument list. (Layers
486486take care of transforming data between external and internal
487487representations.) Perl stopped parsing the layer list at this
488488point and did not attempt to push this layer. If your program
489489didn't explicitly request the failing operation, it may be the
490490result of the value of the environment variable PERLIO.
491491
492492=end original
493493
494494(W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを
495495閉じる ) を忘れています。
496496(層はデータの外部表現と内部表現の変換を扱います。)
497497Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。
498498明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
499499値が原因かもしれません。
500500
501501=item Argument "%s" treated as 0 in increment (++)
502502
503503=begin original
504504
505505(W numeric) The indicated string was fed as an argument to the C<++>
506506operator which expects either a number or a string matching
507507C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and
508508Auto-decrement> for details.
509509
510510=end original
511511
512512(W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を
513513想定しているC<++> 演算子に、示された文字列が指定されました。
514514詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。
515515
516516=item Array passed to stat will be coerced to a scalar%s
517517
518518=begin original
519519
520520(W syntax) You called stat() on an array, but the array will be
521521coerced to a scalar - the number of elements in the array.
522522
523523=end original
524524
525525(W syntax) 配列に対して stat() が呼び出されましたが、配列は
526526スカラ - 配列の要素数 - に強制されました。
527527
528=item A signature parameter must start with '$', '@' or '%'
529
530=begin original
531
532(F) Each subroutine signature parameter declaration must start with a valid
533sigil; for example:
534
535=end original
536
537(F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で
538始まらなければなりません; 例えば:
539
540 sub foo ($a, $, $b = 1, @c) {}
541
542=item A slurpy parameter may not have a default value
543
544=begin original
545
546(F) Only scalar subroutine signature parameters may have a default value;
547for example:
548
549=end original
550
551(F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持てます;
552例えば:
553
554 sub foo ($a = 1) {} # legal
555 sub foo (@a = (1)) {} # invalid
556 sub foo (%a = (a => b)) {} # invalid
557
528558=item assertion botched: %s
529559
530560=begin original
531561
532562(X) The malloc package that comes with Perl had an internal failure.
533563
534564=end original
535565
536566(X) Perl に付属の malloc ルーティンが内部エラーを起こしました。
537567
538568=item Assertion %s failed: file "%s", line %d
539569
540570=begin original
541571
542572(X) A general assertion failed. The file in question must be examined.
543573
544574=end original
545575
546576(X) 一般的なアサーションが失敗しました。
547577問題の file を調べる必要があります。
548578
549579=item Assigned value is not a reference
550580
551581=begin original
552582
553583(F) You tried to assign something that was not a reference to an lvalue
554584reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use
555585C<\$x = \$y>.
556586
557587=end original
558588
559589(F) リファレンスでないものを左辺値リファレンスに代入しようとしました
560590(例: C<\$x = $y>)。
561591$x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。
562592
563593=item Assigned value is not %s reference
564594
565595=begin original
566596
567597(F) You tried to assign a reference to a reference constructor, but the
568598two references were not of the same type. You cannot alias a scalar to
569599an array, or an array to a hash; the two types must match.
570600
571601=end original
572602
573603(F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、
574604二つのリファレンスが同じ型ではありません。
575605スカラから配列への別名や配列からハッシュへの別名はできません;
576606二つの型は一致していなければなりません。
577607
578608 \$x = \@y; # error
579609 \@x = \%y; # error
580610 $y = [];
581611 \$x = $y; # error; did you mean \$y?
582612
583613=item Assigning non-zero to $[ is no longer possible
584614
585615=begin original
586616
587(F) When the "array_base" feature is disabled (e.g., under C<use v5.16;>)
617(F) When the "array_base" feature is disabled
618(e.g., and under C<use v5.16;>, and as of Perl 5.30)
588619the special variable C<$[>, which is deprecated, is now a fixed zero value.
589620
590621=end original
591622
592(F) (C<use v5.16;> のように) "array_base" 機能が無効の場合、廃止予定である
623(F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が
593特殊変数 C<$[> は 0 固定です。
624無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。
594625
595626=item Assignment to both a list and a scalar
596627
597628=begin original
598629
599630(F) If you assign to a conditional operator, the 2nd and 3rd arguments
600631must either both be scalars or both be lists. Otherwise Perl won't
601632know which context to supply to the right side.
602633
603634=end original
604635
605636(F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、
606637ともにスカラか、ともにリストでなければなりません。
607638そうでないと、Perl は右辺のコンテキストを決めることができません。
608639
609640=item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/
610641
611642=begin original
612643
613644(W regexp) You had something like these:
614645
615646=end original
616647
617648(W regexp) 次のようなことをしました:
618649
619650 [[:alnum]]
620651 [[:digit:xyz]
621652
622653=begin original
623654
624655They look like they might have been meant to be the POSIX classes
625656C<[:alnum:]> or C<[:digit:]>. If so, they should be written:
626657
627658=end original
628659
629660これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと
630661していたように見えます。
631662もしそうなら、次のように書くべきです:
632663
633664 [[:alnum:]]
634665 [[:digit:]xyz]
635666
636667=begin original
637668
638669Since these aren't legal POSIX class specifications, but are legal
639670bracketed character classes, Perl treats them as the latter. In the
640671first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">,
641672C<"m">, C<"n">, and C<"u">.
642673
643674=end original
644675
645676これらは有効な POSIX クラスしようではありませんが、有効な
646677大かっこ文字クラスなので、Perl これらを後者として扱います。
647678一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">,
648679C<"m">, C<"n">, C<"u"> にマッチングします。
649680
650681=begin original
651682
652683If these weren't meant to be POSIX classes, this warning message is
653684spurious, and can be suppressed by reordering things, such as
654685
655686=end original
656687
657688これらが POSIX クラスを意味していないなら、この警告は誤りで、
658689次のように文字を入れ替えることで抑制できます:
659690
660691 [[al:num]]
661692
662693=begin original
663694
664695or
665696
666697=end original
667698
668699または
669700
670701 [[:munla]]
671702
672703=item <> at require-statement should be quotes
673704
674705=begin original
675706
676707(F) You wrote C<< require <file> >> when you should have written
677708C<require 'file'>.
678709
679710=end original
680711
681712(F) C<require 'file'> と書くべきところで C<< require <file> >> と
682713書いています。
683714
684715=item Attempt to access disallowed key '%s' in a restricted hash
685716
686717=begin original
687718
688719(F) The failing code has attempted to get or set a key which is not in
689720the current set of allowed keys of a restricted hash.
690721
691722=end original
692723
693724(F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して
694725取得または設定しようとして失敗しました。
695726
696727=item Attempt to bless into a freed package
697728
698729=begin original
699730
700731(F) You wrote C<bless $foo> with one argument after somehow causing
701732the current package to be freed. Perl cannot figure out what to
702do, so it throws up in hands in despair.
733do, so it throws up its hands in despair.
703734
704735=end original
705736
706737(F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の
707738C<bless $foo> を書きました。
708739何がしたいのかが分からないので Perl はお手上げになりました。
709740
710741=item Attempt to bless into a reference
711742
712743=begin original
713744
714745(F) The CLASSNAME argument to the bless() operator is expected to be
715746the name of the package to bless the resulting object into. You've
716747supplied instead a reference to something: perhaps you wrote
717748
718749=end original
719750
720751(F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する
721752パッケージ名を想定しています。
722753そこに何かへのリファレンスが与えられました:
723754おそらく以下のようにしたのでしょう:
724755
725756 bless $self, $proto;
726757
727758=begin original
728759
729760when you intended
730761
731762=end original
732763
733764以下を意図していたはずです:
734765
735766 bless $self, ref($proto) || $proto;
736767
737768=begin original
738769
739770If you actually want to bless into the stringified version
740771of the reference supplied, you need to stringify it yourself, for
741772example by:
742773
743774=end original
744775
745776実際に与えられたリファレンスを文字列化したものに bless したい場合は、
746777以下のようにして自分で文字列化する必要があります:
747778
748779 bless $self, "$proto";
749780
750781=item Attempt to clear deleted array
751782
752783=begin original
753784
754785(S debugging) An array was assigned to when it was being freed.
755786Freed values are not supposed to be visible to Perl code. This
756787can also happen if XS code calls C<av_clear> from a custom magic
757788callback on the array.
758789
759790=end original
760791
761792(S debugging) 配列が、解放されるときに代入されました。
762793解放された値は Perl コードからは見えないはずです。
763794これはまた、XS コードが配列のカスタムマジックコールバックから
764795C<av_clear> を呼び出したときにも起こります。
765796
766797=item Attempt to delete disallowed key '%s' from a restricted hash
767798
768799=begin original
769800
770801(F) The failing code attempted to delete from a restricted hash a key
771802which is not in its key set.
772803
773804=end original
774805
775806(F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。
776807
777808=item Attempt to delete readonly key '%s' from a restricted hash
778809
779810=begin original
780811
781812(F) The failing code attempted to delete a key whose value has been
782813declared readonly from a restricted hash.
783814
784815=end original
785816
786817(F) 制限ハッシュで、読み込み専用として宣言されている値のキーを
787818削除しようとしました。
788819
789820=item Attempt to free non-arena SV: 0x%x
790821
791822=begin original
792823
793824(S internal) All SV objects are supposed to be allocated from arenas
794825that will be garbage collected on exit. An SV was discovered to be
795826outside any of those arenas.
796827
797828=end original
798829
799830(S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが
800831行なわれるアリーナに割り当てるようになっています。
801832ある SV が、そういったアリーナに入っていないことが、見つかりました。
802833
803834=item Attempt to free nonexistent shared string '%s'%s
804835
805836=begin original
806837
807838(S internal) Perl maintains a reference-counted internal table of
808839strings to optimize the storage and access of hash keys and other
809840strings. This indicates someone tried to decrement the reference count
810841of a string that can no longer be found in the table.
811842
812843=end original
813844
814845(S internal) Perl はストレージおよびハッシュキーとその他の文字列への
815846アクセスを最適化するために、文字列の参照数テーブルを管理しています。
816847これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを
817848示します。
818849
819850=item Attempt to free temp prematurely: SV 0x%x
820851
821852=begin original
822853
823854(S debugging) Mortalized values are supposed to be freed by the
824855free_tmps() routine. This indicates that something else is freeing the
825856SV before the free_tmps() routine gets a chance, which means that the
826857free_tmps() routine will be freeing an unreferenced scalar when it does
827858try to free it.
828859
829860=end original
830861
831862(S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように
832863なっています。
833864このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を
834865解放しようとしていることを示していて、これは、free_tmps() が
835866解放しようとしたときには、どこからも参照されていないスカラを
836867解放することになるということです。
837868
838869=item Attempt to free unreferenced glob pointers
839870
840871=begin original
841872
842873(S internal) The reference counts got screwed up on symbol aliases.
843874
844875=end original
845876
846877(S internal) シンボルのエイリアスについて、参照カウントの値がおかしな
847878状態になりました。
848879
849880=item Attempt to free unreferenced scalar: SV 0x%x
850881
851882=begin original
852883
853884(S internal) Perl went to decrement the reference count of a scalar to
854885see if it would go to 0, and discovered that it had already gone to 0
855886earlier, and should have been freed, and in fact, probably was freed.
856887This could indicate that SvREFCNT_dec() was called too many times, or
857888that SvREFCNT_inc() was called too few times, or that the SV was
858889mortalized when it shouldn't have been, or that memory has been
859890corrupted.
860891
861892=end original
862893
863894(S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に
864895なるかを見たところ、既に 0 になっていることがわかりました;
865896これは、既に解放されているべきものであり、実際は、おそらく、
866897解放されたものでしょう。
867898これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な
868899ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、
869900メモリ異常になったことが考えられます。
870901
871902=item Attempt to pack pointer to temporary value
872903
873904=begin original
874905
875906(W pack) You tried to pass a temporary value (like the result of a
876907function, or a computed expression) to the "p" pack() template. This
877908means the result contains a pointer to a location that could become
878909invalid anytime, even before the end of the current statement. Use
879910literals or global values as arguments to the "p" pack() template to
880911avoid this warning.
881912
882913=end original
883914
884915(W pack) (関数の結果や計算された式といった)一時的な値を pack() の
885916"p" テンプレートに渡そうとしました。
886917これは、たとえ現在の文の終了前でも、不正な値となり得ます。
887918この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか
888919グローバルな値を使ってください。
889920
890921=item Attempt to reload %s aborted.
891922
892923=begin original
893924
894925(F) You tried to load a file with C<use> or C<require> that failed to
895926compile once already. Perl will not try to compile this file again
896927unless you delete its entry from %INC. See L<perlfunc/require> and
897928L<perlvar/%INC>.
898929
899930=end original
900931
901932(F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で
902933読み込もうとしました。
903934Perl は %INC からこのファイルのエントリを削除するまで再びファイルを
904935コンパイルしようとはしません。
905936L<perlfunc/require> と L<perlvar/%INC> を参照してください。
906937
907938=item Attempt to set length of freed array
908939
909940=begin original
910941
911942(W misc) You tried to set the length of an array which has
912943been freed. You can do this by storing a reference to the
913944scalar representing the last index of an array and later
914945assigning through that reference. For example
915946
916947=end original
917948
918949(W misc) 既に解放された配列の長さを設定しようとしました。
919950配列の最後のインデックスを表現するスカラをリファレンスに保存して、
920951後でこのリファレンスを通して代入することでこれを行えます。
921952例えば:
922953
923954 $r = do {my @a; \$#a};
924955 $$r = 503
925956
926957=item Attempt to use reference as lvalue in substr
927958
928959=begin original
929960
930961(W substr) You supplied a reference as the first argument to substr()
931962used as an lvalue, which is pretty strange. Perhaps you forgot to
932963dereference it first. See L<perlfunc/substr>.
933964
934965=end original
935966
936967(W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを
937968渡しました; これはやや奇妙なことです。
938969おそらくはまずデリファレンスするのを忘れたのでしょう。
939970L<perlfunc/substr> を参照してください。
940971
941=item Attribute "locked" is deprecated
942
943=begin original
944
945(D deprecated) You have used the attributes pragma to modify the
946"locked" attribute on a code reference. The :locked attribute is
947obsolete, has had no effect since 5005 threads were removed, and
948will be removed in a future release of Perl 5.
949
950=end original
951
952(D deprecated) コードリファレンスの "locked" 属性を修正するために
953attributes プラグマを使いました。
954:locked 属性は古いもので、5005 スレッドが削除されてから何の効果もなく、
955将来の Perl 5 のメジャーリリースで削除されます。
956
957972=item Attribute prototype(%s) discards earlier prototype attribute in same sub
958973
959974=begin original
960975
961976(W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for
962977example. Since each sub can only have one prototype, the earlier
963978declaration(s) are discarded while the last one is applied.
964979
965980=end original
966981
967982(W misc) あるサブルーチンが、例えば
968983sub foo : prototype(A) : prototype(B) {} のように宣言されました。
969984それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に
970985宣言されたものは破棄され、最後のものが適用されます。
971986
972=item Attribute "unique" is deprecated
973
974=begin original
975
976(D deprecated) You have used the attributes pragma to modify
977the "unique" attribute on an array, hash or scalar reference.
978The :unique attribute has had no effect since Perl 5.8.8, and
979will be removed in a future release of Perl 5.
980
981=end original
982
983(D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を
984修正するために attributes プラグマを使いました。
985:unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー
986リリースで削除されます。
987
988987=item av_reify called on tied array
989988
990989=begin original
991990
992991(S debugging) This indicates that something went wrong and Perl got I<very>
993992confused about C<@_> or C<@DB::args> being tied.
994993
995994=end original
996995
997996(S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが
998997うまくいかなくて Perl が I<とても> 混乱したことを示しています。
999998
1000999=item Bad arg length for %s, is %u, should be %d
10011000
10021001=begin original
10031002
10041003(F) You passed a buffer of the wrong size to one of msgctl(), semctl()
10051004or shmctl(). In C parlance, the correct sizes are, respectively,
10061005S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and
10071006S<sizeof(struct shmid_ds *)>.
10081007
10091008=end original
10101009
10111010(F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを
10121011渡してしまいました。
10131012C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、
10141013sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。
10151014
10161015=item Bad evalled substitution pattern
10171016
10181017=begin original
10191018
10201019(F) You've used the C</e> switch to evaluate the replacement for a
10211020substitution, but perl found a syntax error in the code to evaluate,
10221021most likely an unexpected right brace '}'.
10231022
10241023=end original
10251024
10261025(F)置換のための置き換え文字列を評価するために C</e> オプションを指定して
10271026いますが、評価するコードに文法エラーがありました;
10281027最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。
10291028
10301029=item Bad filehandle: %s
10311030
10321031=begin original
10331032
10341033(F) A symbol was passed to something wanting a filehandle, but the
10351034symbol has no filehandle associated with it. Perhaps you didn't do an
10361035open(), or did it in another package.
10371036
10381037=end original
10391038
10401039(F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、
10411040それに伴うファイルハンドルがありません。
10421041おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。
10431042
10441043=item Bad free() ignored
10451044
10461045=begin original
10471046
10481047(S malloc) An internal routine called free() on something that had never
10491048been malloc()ed in the first place. Mandatory, but can be disabled by
10501049setting environment variable C<PERL_BADFREE> to 0.
10511050
10521051=end original
10531052
10541053(S malloc) まず、malloc() されていないものに対して、内部ルーティンが
10551054free() を呼びました。
10561055強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。
10571056
10581057=begin original
10591058
10601059This message can be seen quite often with DB_File on systems with "hard"
10611060dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB>
10621061which is left unnoticed if C<DB> uses I<forgiving> system malloc().
10631062
10641063=end original
10651064
10661065このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを
10671066行うシステムで DB_File を使うとしばしば表示されます。
10681067これは C<DB> がシステムの malloc() を許していることに気が付かない
10691068C<Berkeley DB> のバグです。
10701069
10711070=item Bad hash
10721071
10731072=begin original
10741073
10751074(P) One of the internal hash routines was passed a null HV pointer.
10761075
10771076=end original
10781077
10791078(P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。
10801079
10811080=item Badly placed ()'s
10821081
10831082=begin original
10841083
10851084(A) You've accidentally run your script through B<csh> instead
10861085of Perl. Check the #! line, or manually feed your script into
10871086Perl yourself.
10881087
10891088=end original
10901089
10911090(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
10921091#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
10931092
10941093=item Bad name after %s
10951094
10961095=begin original
10971096
10981097(F) You started to name a symbol by using a package prefix, and then
10991098didn't finish the symbol. In particular, you can't interpolate outside
11001099of quotes, so
11011100
11021101=end original
11031102
11041103(F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが
11051104終了しませんでした。
11061105特に、クォートの外で、変数展開はできませんから、
11071106
11081107 $var = 'myvar';
11091108 $sym = mypack::$var;
11101109
11111110=begin original
11121111
11131112is not the same as
11141113
11151114=end original
11161115
11171116は、以下と同じではありません。
11181117
11191118 $var = 'myvar';
11201119 $sym = "mypack::$var";
11211120
11221121=item Bad plugin affecting keyword '%s'
11231122
11241123=begin original
11251124
11261125(F) An extension using the keyword plugin mechanism violated the
11271126plugin API.
11281127
11291128=end original
11301129
11311130(F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に
11321131違反しました。
11331132
11341133=item Bad realloc() ignored
11351134
11361135=begin original
11371136
11381137(S malloc) An internal routine called realloc() on something that
11391138had never been malloc()ed in the first place. Mandatory, but can
11401139be disabled by setting the environment variable C<PERL_BADFREE> to 1.
11411140
11421141=end original
11431142
11441143(S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して
11451144realloc() を呼び出しました。
11461145必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。
11471146
11481147=item Bad symbol for array
11491148
11501149=begin original
11511150
11521151(P) An internal request asked to add an array entry to something that
11531152wasn't a symbol table entry.
11541153
11551154=end original
11561155
11571156(P) シンボルテーブルエントリではないものに、配列エントリを登録するような
11581157内部要求があがりました。
11591158
11601159=item Bad symbol for dirhandle
11611160
11621161=begin original
11631162
11641163(P) An internal request asked to add a dirhandle entry to something
11651164that wasn't a symbol table entry.
11661165
11671166=end original
11681167
11691168(P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを
11701169登録するような内部要求があがりました。
11711170
11721171=item Bad symbol for filehandle
11731172
11741173=begin original
11751174
11761175(P) An internal request asked to add a filehandle entry to something
11771176that wasn't a symbol table entry.
11781177
11791178=end original
11801179
11811180(P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを
11821181登録するような内部要求があがりました。
11831182
11841183=item Bad symbol for hash
11851184
11861185=begin original
11871186
11881187(P) An internal request asked to add a hash entry to something that
11891188wasn't a symbol table entry.
11901189
11911190=end original
11921191
11931192(P) シンボルテーブルエントリではないものに、ハッシュエントリを
11941193登録するような内部要求があがった。
11951194
11961195=item Bad symbol for scalar
11971196
11981197=begin original
11991198
12001199(P) An internal request asked to add a scalar entry to something that
12011200wasn't a symbol table entry.
12021201
12031202=end original
12041203
12051204(P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを
12061205追加するよう要求がありました。
12071206
12081207=item Bareword found in conditional
12091208
12101209=begin original
12111210
12121211(W bareword) The compiler found a bareword where it expected a
12131212conditional, which often indicates that an || or && was parsed as part
12141213of the last argument of the previous construct, for example:
12151214
12161215=end original
12171216
12181217(W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました;
12191218これはしばしば、|| や && が直前の構造の最後の引数の一部として
12201219パースされたことを意味します; 例えば:
12211220
12221221 open FOO || die;
12231222
12241223=begin original
12251224
12261225It may also indicate a misspelled constant that has been interpreted as
12271226a bareword:
12281227
12291228=end original
12301229
12311230これはまた、裸の単語として解釈されるような定数をタイプミスしたことを
12321231示している場合もあります:
12331232
12341233 use constant TYPO => 1;
12351234 if (TYOP) { print "foo" }
12361235
12371236=begin original
12381237
12391238The C<strict> pragma is useful in avoiding such errors.
12401239
12411240=end original
12421241
12431242C<strict> プラグマはこのようなエラーを防ぐのに便利です。
12441243
1244=item Bareword in require contains "%s"
1245
1246=item Bareword in require maps to disallowed filename "%s"
1247
1248=item Bareword in require maps to empty filename
1249
1250=begin original
1251
1252(F) The bareword form of require has been invoked with a filename which could
1253not have been generated by a valid bareword permitted by the parser. You
1254shouldn't be able to get this error from Perl code, but XS code may throw it
1255if it passes an invalid module name to C<Perl_load_module>.
1256
1257=end original
1258
1259(F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって
1260生成することができないファイル名で起動されました。
1261このエラーを Perl コードから得るようにできるべきではありませんが、
1262C<Perl_load_module> に不正なモジュール名を渡した XS コードは
1263これを投げるかもしれません。
1264
1265=item Bareword in require must not start with a double-colon: "%s"
1266
1267=begin original
1268
1269(F) In C<require Bare::Word>, the bareword is not allowed to start with a
1270double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead.
1271
1272=end original
1273
1274(F) C<require Bare::Word> で、裸の単語はダブルコロンから
1275開始することはできません。
1276C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。
1277
12451278=item Bareword "%s" not allowed while "strict subs" in use
12461279
12471280=begin original
12481281
12491282(F) With "strict subs" in use, a bareword is only allowed as a
12501283subroutine identifier, in curly brackets or to the left of the "=>"
12511284symbol. Perhaps you need to predeclare a subroutine?
12521285
12531286=end original
12541287
12551288"strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、
12561289シンボル "=>" の左側でのみ許されます。
12571290おそらくサブルーチンを先行宣言する必要があるのでは?
12581291
12591292=item Bareword "%s" refers to nonexistent package
12601293
12611294=begin original
12621295
12631296(W bareword) You used a qualified bareword of the form C<Foo::>, but the
12641297compiler saw no other uses of that namespace before that point. Perhaps
12651298you need to predeclare a package?
12661299
12671300=end original
12681301
12691302(W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、
12701303コンパイラはこの場所以外でこの名前空間が使われている場所を
12711304発見できませんでした。
12721305おそらくパッケージを専攻宣言する必要があるのでは?
12731306
12741307=item BEGIN failed--compilation aborted
12751308
12761309=begin original
12771310
12781311(F) An untrapped exception was raised while executing a BEGIN
12791312subroutine. Compilation stops immediately and the interpreter is
12801313exited.
12811314
12821315=end original
12831316
12841317(F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。
12851318コンパイルは即座に停止し、インタプリタは中止します。
12861319
12871320=item BEGIN not safe after errors--compilation aborted
12881321
12891322=begin original
12901323
12911324(F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which
12921325implies a C<BEGIN {}>) after one or more compilation errors had already
12931326occurred. Since the intended environment for the C<BEGIN {}> could not
12941327be guaranteed (due to the errors), and since subsequent code likely
12951328depends on its correct operation, Perl just gave up.
12961329
12971330=end original
12981331
12991332(F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン
13001333(または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。
13011334C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは
13021335正しい処理に依存していると考えられるので、Perl は単に諦めました。
13031336
13041337=item \%d better written as $%d
13051338
13061339=begin original
13071340
13081341(W syntax) Outside of patterns, backreferences live on as variables.
13091342The use of backslashes is grandfathered on the right-hand side of a
13101343substitution, but stylistically it's better to use the variable form
13111344because other Perl programmers will expect it, and it works better if
13121345there are more than 9 backreferences.
13131346
13141347=end original
13151348
13161349(W syntax) パターンの外では、後方参照は変数の形で存在します。
13171350後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の
13181351Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、
13191352変数形式を使う方が良いでしょう。
13201353
13211354=item Binary number > 0b11111111111111111111111111111111 non-portable
13221355
13231356=begin original
13241357
13251358(W portable) The binary number you specified is larger than 2**32-1
13261359(4294967295) and therefore non-portable between systems. See
13271360L<perlport> for more on portability concerns.
13281361
13291362=end original
13301363
13311364(W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、
13321365システム間での移植性がありません。
13331366移植性に関するさらなる考察については L<perlport> を参照してください。
13341367
13351368=item bind() on closed socket %s
13361369
13371370=begin original
13381371
13391372(W closed) You tried to do a bind on a closed socket. Did you forget to
13401373check the return value of your socket() call? See L<perlfunc/bind>.
13411374
13421375=end original
13431376
13441377(W closed) クローズされたソケットに bind を行なおうとしました。
13451378socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
13461379L<perlfunc/bind> を参照してください。
13471380
13481381=item binmode() on closed filehandle %s
13491382
13501383=begin original
13511384
13521385(W unopened) You tried binmode() on a filehandle that was never opened.
13531386Check your control flow and number of arguments.
13541387
13551388=end original
13561389
13571390(W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。
13581391制御フローと引数の数をチェックしてください。
13591392
13601393=item Bit vector size > 32 non-portable
13611394
13621395=begin original
13631396
13641397(W portable) Using bit vector sizes larger than 32 is non-portable.
13651398
13661399=end original
13671400
13681401(W portable) 32 を越えるサイズのビットベクタは移植性がありません。
13691402
13701403=item Bizarre copy of %s
13711404
13721405=begin original
13731406
13741407(P) Perl detected an attempt to copy an internal value that is not
13751408copiable.
13761409
13771410=end original
13781411
13791412(P) コピーできない内部の値をコピーしようとしました。
13801413
13811414=item Bizarre SvTYPE [%d]
13821415
13831416=begin original
13841417
13851418(P) When starting a new thread or returning values from a thread, Perl
13861419encountered an invalid data type.
13871420
13881421=end original
13891422
13901423(P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な
13911424データ型に遭遇しました。
13921425
13931426=item Both or neither range ends should be Unicode in regex; marked by
13941427S<<-- HERE> in m/%s/
13951428
13961429=begin original
13971430
13981431(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
13991432
14001433=end original
14011434
14021435(W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ)
14031436
14041437=begin original
14051438
14061439In a bracketed character class in a regular expression pattern, you
14071440had a range which has exactly one end of it specified using C<\N{}>, and
14081441the other end is specified using a non-portable mechanism. Perl treats
14091442the range as a Unicode range, that is, all the characters in it are
14101443considered to be the Unicode characters, and which may be different code
14111444points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]>
14121445is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it
14131446matches the characters whose code points in Unicode are 6, 7, and 8.
14141447But that C<\x08> might indicate that you meant something different, so
14151448the warning gets raised.
14161449
14171450=end original
14181451
14191452正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って
14201453指定し、もう片方は移植性のない方法を使って指定しました。
14211454Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は
14221455Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは
14231456異なる符号位置になるかもしれません。
14241457例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と
14251458書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。
14261459しかし、C<\x08> はなにか違うことを意味していることを示しているので、
14271460警告が発生します。
14281461
14291462=item Buffer overflow in prime_env_iter: %s
14301463
14311464=begin original
14321465
14331466(W internal) A warning peculiar to VMS. While Perl was preparing to
14341467iterate over %ENV, it encountered a logical name or symbol definition
14351468which was too long, so it was truncated to the string shown.
14361469
14371470=end original
14381471
14391472(W internal) VMS に固有の警告です。
14401473Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、
14411474文字列は表示したように切り詰められました。
14421475
14431476=item Callback called exit
14441477
14451478=begin original
14461479
14471480(F) A subroutine invoked from an external package via call_sv()
14481481exited by calling exit.
14491482
14501483=end original
14511484
14521485(F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで
14531486終了しました。
14541487
14551488=item %s() called too early to check prototype
14561489
14571490=begin original
14581491
14591492(W prototype) You've called a function that has a prototype before the
14601493parser saw a definition or declaration for it, and Perl could not check
14611494that the call conforms to the prototype. You need to either add an
14621495early prototype declaration for the subroutine in question, or move the
14631496subroutine definition ahead of the call to get proper prototype
14641497checking. Alternatively, if you are certain that you're calling the
14651498function correctly, you may put an ampersand before the name to avoid
14661499the warning. See L<perlsub>.
14671500
14681501=end original
14691502
14701503(W prototype) 以前にパーサが宣言または定義されているのを見た、
14711504プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに
14721505従っているかどうかをチェックできませんでした。
14731506問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、
14741507適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に
14751508移動させる必要があります。
14761509または、関数を正しく呼び出していることが確かな場合は、名前の前に
14771510アンパサンドを付けることで警告を回避できます。
14781511L<perlsub> を参照してください。
14791512
1480=item Calling POSIX::%s() is deprecated
1513=item Cannot chr %f
14811514
14821515=begin original
14831516
1484(D deprecated) You called a function whose use is deprecated. See
1517(F) You passed an invalid number (like an infinity or not-a-number) to C<chr>.
1485the function's name in L<POSIX> for details.
14861518
14871519=end original
14881520
1489(D deprecated) 廃止予定数を呼び出しました。
1521(F) (無限や非数ような) 不正な C<chr> に渡しました。
1490詳しくは L<POSIX> の関数名を参照してください。
14911522
1492=item Cannot chr %f
1523=item Cannot complete in-place edit of %s: %s
14931524
14941525=begin original
14951526
1496(F) You passed an invalid number (like an infinity or not-a-number) to C<chr>.
1527(F) Your perl script appears to have changed directory while
1528performing an in-place edit of a file specified by a relative path,
1529and your system doesn't include the directory relative POSIX functions
1530needed to handle that.
14971531
14981532=end original
14991533
1500(F) (無限や非数のような) 不正な数値を C<chr> に渡しまし
1534(F) perl スクリプトが、相対パスで指定されファイルのその場編集を
1535実行中にディレクトリを変更し、システムにはこれに対応するために必要な
1536ディレクトリ相対 POSIX 関数がないようです。
15011537
15021538=item Cannot compress %f in pack
15031539
15041540=begin original
15051541
15061542(F) You tried compressing an infinity or not-a-number as an unsigned
15071543integer with BER, which makes no sense.
15081544
15091545=end original
15101546
15111547(F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。
15121548
15131549=item Cannot compress integer in pack
15141550
15151551=begin original
15161552
15171553(F) An argument to pack("w",...) was too large to compress.
15181554The BER compressed integer format can only be used with positive
15191555integers, and you attempted to compress a very large number (> 1e308).
15201556See L<perlfunc/pack>.
15211557
15221558=end original
15231559
15241560(F) pack("w",...) の引数が、圧縮するには大きすぎます。
15251561BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数
15261562(> 1e308) を圧縮しようとしました。
15271563L<perlfunc/pack> を参照してください。
15281564
15291565=item Cannot compress negative numbers in pack
15301566
15311567=begin original
15321568
15331569(F) An argument to pack("w",...) was negative. The BER compressed integer
15341570format can only be used with positive integers. See L<perlfunc/pack>.
15351571
15361572=end original
15371573
15381574(F) pack("w",...) の引数が負数です。
15391575BER 圧縮整数フォーマットは正の整数のみ扱えます。
15401576L<perlfunc/pack> を参照してください。
15411577
15421578=item Cannot convert a reference to %s to typeglob
15431579
15441580=begin original
15451581
15461582(F) You manipulated Perl's symbol table directly, stored a reference
15471583in it, then tried to access that symbol via conventional Perl syntax.
15481584The access triggers Perl to autovivify that typeglob, but it there is
15491585no legal conversion from that type of reference to a typeglob.
15501586
15511587=end original
15521588
15531589(F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に
15541590補完し、それからそのシンボルを伝統的な Perl の文法のよって
15551591アクセスしようとしました。
15561592このアクセスによって、Perl はこの型グロブを自動有効化しますが、
15571593リファレンス型から型グロブへの正当な変換方法はありません。
15581594
15591595=item Cannot copy to %s
15601596
15611597=begin original
15621598
15631599(P) Perl detected an attempt to copy a value to an internal type that cannot
15641600be directly assigned to.
15651601
15661602=end original
15671603
15681604(P) Perl が、直接代入できない内部型に値をコピーしようとする試みを
15691605検出しました。
15701606
15711607=item Cannot find encoding "%s"
15721608
15731609=begin original
15741610
15751611(S io) You tried to apply an encoding that did not exist to a filehandle,
15761612either with open() or binmode().
15771613
15781614=end original
15791615
15801616(S io) open() または binmode() のファイルハンドルに存在しない
15811617エンコーディングを適用しようとしました。
15821618
1619=item Cannot open %s as a dirhandle: it is already open as a filehandle
1620
1621=begin original
1622
1623(F) You tried to use opendir() to associate a dirhandle to a symbol (glob
1624or scalar) that already holds a filehandle. Since this idiom might render
1625your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it
1626is a fatal error.
1627
1628=end original
1629
1630(F) すでにファイルハンドルを保持しているシンボル
1631(グロブまたはスカラ)にディレクトリハンドルを関連付けるために
1632opendir() を使おうとしました。
1633この用法はコードを間違えて解釈する可能性があるので、
1634Perl 5.10 で廃止予定になりました。
1635Perl 5.28 から、これは致命的エラーです。
1636
1637=item Cannot open %s as a filehandle: it is already open as a dirhandle
1638
1639=begin original
1640
1641(F) You tried to use open() to associate a filehandle to a symbol (glob
1642or scalar) that already holds a dirhandle. Since this idiom might render
1643your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it
1644is a fatal error.
1645
1646=end original
1647
1648(F) すでにディレクトリハンドルを保持しているシンボル
1649(グロブまたはスカラ)にファイルハンドルを関連付けるために
1650open() を使おうとしました。
1651この用法はコードを間違えて解釈する可能性があるので、
1652Perl 5.10 で廃止予定になりました。
1653Perl 5.28 から、これは致命的エラーです。
1654
15831655=item Cannot pack %f with '%c'
15841656
15851657=begin original
15861658
15871659(F) You tried converting an infinity or not-a-number to an integer,
15881660which makes no sense.
15891661
15901662=end original
15911663
15921664(F) 無限や非数を整数に変換しようとしました; これは無意味です。
15931665
15941666=item Cannot printf %f with '%c'
15951667
15961668=begin original
15971669
15981670(F) You tried printing an infinity or not-a-number as a character (%c),
15991671which makes no sense. Maybe you meant '%s', or just stringifying it?
16001672
16011673=end original
16021674
16031675(F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。
16041676おそらく '%s' か、単に文字列化したかったのでは?
16051677
16061678=item Cannot set tied @DB::args
16071679
16081680=begin original
16091681
16101682(F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args>
16111683is not supported. (Before this error was added, it used to crash.)
16121684
16131685=end original
16141686
16151687(F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。
16161688C<@DB::args> の tie は非対応です。
16171689(このエラーが追加する前は、クラッシュしていました。)
16181690
16191691=item Cannot tie unreifiable array
16201692
16211693=begin original
16221694
16231695(P) You somehow managed to call C<tie> on an array that does not
16241696keep a reference count on its arguments and cannot be made to
16251697do so. Such arrays are not even supposed to be accessible to
16261698Perl code, but are only used internally.
16271699
16281700=end original
16291701
16301702(P) 参照カウントを保持していない配列を引数にして C<tie> を
16311703呼び出そうとしましたがそうできませんでした。
16321704このような配列は Perl コードからアクセスできると想定してはならず、
16331705内部だけで使われます。
16341706
1635=item Cannot yet reorder sv_catpvfn() arguments from va_list
1707=item Cannot yet reorder sv_vcatpvfn() arguments from va_list
16361708
16371709=begin original
16381710
1639(F) Some XS code tried to use C<sv_catpvfn()> or a related function with a
1711(F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a
16401712format string that specifies explicit indexes for some of the elements, and
1641using a C-style variable-argument list (a C<va_list>). This is not currently
1713using a C-style variable-argument list (a C<va_list>). This is not currently
1642supported. XS authors wanting to do this must instead construct a C array of
1714supported. XS authors wanting to do this must instead construct a C array
1643C<SV*> scalars containing the arguments.
1715of C<SV*> scalars containing the arguments.
16441716
16451717=end original
16461718
16471719(F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した
1648フォーマット文字列を使って C<sv_catpvfn()> や関連する関数を使おうとして、
1720フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、
16491721C 形式の可変引数リスト (C<va_list>) を使っています。
16501722これは現在のところ対応していません。
16511723これをしたい XS 作者は代わりに、引数を含む
16521724C<SV*> スカラの C 配列を構築しなければなりません。
16531725
16541726=item Can only compress unsigned integers in pack
16551727
16561728=begin original
16571729
16581730(F) An argument to pack("w",...) was not an integer. The BER compressed
16591731integer format can only be used with positive integers, and you attempted
16601732to compress something else. See L<perlfunc/pack>.
16611733
16621734=end original
16631735
16641736(F) pack("w",...) の引数が整数ではありません。
16651737BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを
16661738圧縮しようとしました。
16671739L<perlfunc/pack> を参照してください。
16681740
16691741=item Can't bless non-reference value
16701742
16711743=begin original
16721744
16731745(F) Only hard references may be blessed. This is how Perl "enforces"
16741746encapsulation of objects. See L<perlobj>.
16751747
16761748=end original
16771749
16781750(F) ハードリファレンスのみが bless できます。
16791751これによって、Perl はオブジェクトのカプセル化を「強制」します。
16801752L<perlobj> を参照してください。
16811753
16821754=item Can't "break" in a loop topicalizer
16831755
16841756=begin original
16851757
16861758(F) You called C<break>, but you're in a C<foreach> block rather than
16871759a C<given> block. You probably meant to use C<next> or C<last>.
16881760
16891761=end original
16901762
16911763(F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach>
16921764ブロック内でした。
16931765おそらく C<next> や C<last> を使いたかったのでしょう。
16941766
16951767=item Can't "break" outside a given block
16961768
16971769=begin original
16981770
16991771(F) You called C<break>, but you're not inside a C<given> block.
17001772
17011773=end original
17021774
17031775(F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。
17041776
17051777=item Can't call method "%s" on an undefined value
17061778
17071779=begin original
17081780
17091781(F) You used the syntax of a method call, but the slot filled by the
17101782object reference or package name contains an undefined value. Something
17111783like this will reproduce the error:
17121784
17131785=end original
17141786
17151787(F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか
17161788パッケージ名であるべきところが未定義値です。
17171789以下のように書くとエラーが再現します:
17181790
17191791 $BADREF = undef;
17201792 process $BADREF 1,2,3;
17211793 $BADREF->process(1,2,3);
17221794
17231795=item Can't call method "%s" on unblessed reference
17241796
17251797=begin original
17261798
17271799(F) A method call must know in what package it's supposed to run. It
17281800ordinarily finds this out from the object reference you supply, but you
17291801didn't supply an object reference in this case. A reference isn't an
17301802object reference until it has been blessed. See L<perlobj>.
17311803
17321804=end original
17331805
17341806(F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを
17351807知る必要があります。 普通は、渡したオブジェクトリファレンスから
17361808その情報を受け取りますが、この場合にはオブジェクトリファレンスが
17371809渡されませんでした。
17381810リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。
17391811L<perlobj> を参照してください。
17401812
17411813=item Can't call method "%s" without a package or object reference
17421814
17431815=begin original
17441816
17451817(F) You used the syntax of a method call, but the slot filled by the
17461818object reference or package name contains an expression that returns a
17471819defined value which is neither an object reference nor a package name.
17481820Something like this will reproduce the error:
17491821
17501822=end original
17511823
17521824(F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、
17531825もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも
17541826パッケージ名も返さない定義された式が書かれています。
17551827以下のように書くとエラーが再現します:
17561828
17571829 $BADREF = 42;
17581830 process $BADREF 1,2,3;
17591831 $BADREF->process(1,2,3);
17601832
17611833=item Can't call mro_isa_changed_in() on anonymous symbol table
17621834
17631835=begin original
17641836
17651837(P) Perl got confused as to whether a hash was a plain hash or a
17661838symbol table hash when trying to update @ISA caches.
17671839
17681840=end original
17691841
17701842(P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか
17711843シンボルテーブルハッシュかについて perl は混乱しました。
17721844
17731845=item Can't call mro_method_changed_in() on anonymous symbol table
17741846
17751847=begin original
17761848
17771849(F) An XS module tried to call C<mro_method_changed_in> on a hash that was
17781850not attached to the symbol table.
17791851
17801852=end original
17811853
17821854(F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して
17831855C<mro_method_changed_in> を呼び出しました。
17841856
17851857=item Can't chdir to %s
17861858
17871859=begin original
17881860
17891861(F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory
17901862that you can chdir to, possibly because it doesn't exist.
17911863
17921864=end original
17931865
17941866(F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に
17951867chdir することができません; おそらく、存在しないのではないでしょうか。
17961868
17971869=item Can't check filesystem of script "%s" for nosuid
17981870
17991871=begin original
18001872
18011873(P) For some reason you can't check the filesystem of the script for
18021874nosuid.
18031875
18041876=end original
18051877
18061878(P) なぜかスクリプトが nosuid かどうかをファイルシステムから
18071879調べることができません。
18081880
18091881=item Can't coerce %s to %s in %s
18101882
18111883=begin original
18121884
18131885(F) Certain types of SVs, in particular real symbol table entries
18141886(typeglobs), can't be forced to stop being what they are. So you can't
18151887say things like:
18161888
18171889=end original
18181890
18191891(F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、
18201892一つの型に留めておくことができません。
18211893したがって、以下のようにすることはできません:
18221894
18231895 *foo += 1;
18241896
18251897=begin original
18261898
18271899You CAN say
18281900
18291901=end original
18301902
18311903以下のようにはできますが:
18321904
18331905 $foo = *foo;
18341906 $foo += 1;
18351907
18361908=begin original
18371909
18381910but then $foo no longer contains a glob.
18391911
18401912=end original
18411913
18421914$foo にはもはやグロブは残っていません。
18431915
18441916=item Can't "continue" outside a when block
18451917
18461918=begin original
18471919
18481920(F) You called C<continue>, but you're not inside a C<when>
18491921or C<default> block.
18501922
18511923=end original
18521924
18531925(F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの
18541926内側ではありません。
18551927
18561928=item Can't create pipe mailbox
18571929
18581930=begin original
18591931
18601932(P) An error peculiar to VMS. The process is suffering from exhausted
18611933quotas or other plumbing problems.
18621934
18631935=end original
18641936
18651937(P) VMS に固有のエラーです。
18661938プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。
18671939
18681940=item Can't declare %s in "%s"
18691941
18701942=begin original
18711943
18721944(F) Only scalar, array, and hash variables may be declared as "my", "our" or
18731945"state" variables. They must have ordinary identifiers as names.
18741946
18751947=end original
18761948
18771949(F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として
18781950宣言できます。
18791951これらは、名前として通常の識別子を持たなければなりません。
18801952
18811953=item Can't "default" outside a topicalizer
18821954
18831955=begin original
18841956
18851957(F) You have used a C<default> block that is neither inside a
18861958C<foreach> loop nor a C<given> block. (Note that this error is
18871959issued on exit from the C<default> block, so you won't get the
18881960error if you use an explicit C<continue>.)
18891961
18901962=end original
18911963
18921964(F) C<foreach> ループや C<given> ブロックの内側でないところで
18931965C<default> ブロックを使いました。
18941966(このエラーは C<default> ブロックから出るときに発生するので、明示的な
18951967C<continue> を使うとエラーは発生しません。)
18961968
1969=item Can't determine class of operator %s, assuming BASEOP
1970
1971=begin original
1972
1973(S) This warning indicates something wrong in the internals of perl.
1974Perl was trying to find the class (e.g. LISTOP) of a particular OP,
1975and was unable to do so. This is likely to be due to a bug in the perl
1976internals, or due to a bug in XS code which manipulates perl optrees.
1977
1978=end original
1979
1980(S) この警告は、perl の内部で何かがおかしいことを示しています。
1981Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、
1982そうすることができませんでした。
1983これはおそらく perl 内部のバグによるものか、perl の op 木を操作する
1984XS コードのバグによるものです。
1985
18971986=item Can't do inplace edit: %s is not a regular file
18981987
18991988=begin original
19001989
19011990(S inplace) You tried to use the B<-i> switch on a special file, such as
19021991a file in /dev, a FIFO or an uneditable directory. The file was ignored.
19031992
19041993=end original
19051994
19061995(S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して
19071996B<-i> スイッチを使おうとしました。
19081997このファイルは無視されます。
19091998
19101999=item Can't do inplace edit on %s: %s
19112000
19122001=begin original
19132002
19142003(S inplace) The creation of the new file failed for the indicated
19152004reason.
19162005
19172006=end original
19182007
19192008(S inplace) 表示された理由により、新しいファイルの生成に失敗しました。
19202009
1921=item Can't do inplace edit without backup
1922
1923=begin original
1924
1925(F) You're on a system such as MS-DOS that gets confused if you try
1926reading from a deleted (but still opened) file. You have to say
1927C<-i.bak>, or some such.
1928
1929=end original
1930
1931(F) 削除した (が、まだオープンされている) ファイルを読もうとすると
1932おかしくなる MS-DOS のようなシステムで実行しています。
1933C<-i.bak> のようにバックアップを指定してください。
1934
19352010=item Can't do inplace edit: %s would not be unique
19362011
19372012=begin original
19382013
19392014(S inplace) Your filesystem does not support filenames longer than 14
19402015characters and Perl was unable to create a unique filename during
19412016inplace editing with the B<-i> switch. The file was ignored.
19422017
19432018=end original
19442019
19452020(S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、
19462021Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の
19472022作成ができませんでした。
19482023このファイルは無視されます。
19492024
19502025=item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s".
19512026
19522027=begin original
19532028
19542029(W locale) You are 1) running under "C<use locale>"; 2) the current
19552030locale is not a UTF-8 one; 3) you tried to do the designated case-change
19562031operation on the specified Unicode character; and 4) the result of this
19572032operation would mix Unicode and locale rules, which likely conflict.
19582033Mixing of different rule types is forbidden, so the operation was not
19592034done; instead the result is the indicated value, which is the best
19602035available that uses entirely Unicode rules. That turns out to almost
19612036always be the original character, unchanged.
19622037
19632038=end original
19642039
19652040(W locale) あなたは 1) "C<use locale>" の基で実行していて;
196620412) 現在のロケールは UTF-8 ではなく;
196720423) 特定の Unicode 文字に指定された大文字小文字変換をしようとして;
196820434) この操作の結果、おそらく衝突する、Unicode とロケールの規則を混ぜました。
19692044異なる種類の規則を混ぜるのは禁止されているので、この操作は行われません;
19702045代わりに結果は示された値になります; これは全体的に Unicode の規則を
19712046使うという、最も利用可能なものです。
19722047これは、ほとんど常に、元の文字を変更しないままにします。
19732048
19742049=begin original
19752050
19762051It is generally a bad idea to mix non-UTF-8 locales and Unicode, and
19772052this issue is one of the reasons why. This warning is raised when
19782053Unicode rules would normally cause the result of this operation to
19792054contain a character that is in the range specified by the locale,
198020550..255, and hence is subject to the locale's rules, not Unicode's.
19812056
19822057=end original
19832058
19842059非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、
19852060この問題はその理由の一つです。
19862061この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を
19872062含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの
19882063規則を想定される場合に発生します。
19892064
19902065=begin original
19912066
19922067If you are using locale purely for its characteristics related to things
19932068like its numeric and time formatting (and not C<LC_CTYPE>), consider
19942069using a restricted form of the locale pragma (see L<perllocale/The "use
19952070locale" pragma>) like "S<C<use locale ':not_characters'>>".
19962071
19972072=end original
19982073
19992074ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに
20002075使っている (そして C<LC_CTYPE> は使っていない)場合、
20012076"S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された
20022077形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを
20032078検討してください。
20042079
20052080=begin original
20062081
20072082Note that failed case-changing operations done as a result of
20082083case-insensitive C</i> regular expression matching will show up in this
20092084warning as having the C<fc> operation (as that is what the regular
20102085expression engine calls behind the scenes.)
20112086
20122087=end original
20132088
20142089大文字小文字無視 C</i> 正規表現マッチングの結果として
20152090大文字小文字変換操作が失敗した場合、この警告は
20162091C<fc> 操作に対して出力されることに注意してください
20172092(正規表現エンジンが裏でこれを使っているからです)。
20182093
20192094=item Can't do waitpid with flags
20202095
20212096=begin original
20222097
20232098(F) This machine doesn't have either waitpid() or wait4(), so only
20242099waitpid() without flags is emulated.
20252100
20262101=end original
20272102
20282103(F) このマシンには、waitpid() も wait4() もありませんので、
20292104フラグの無い waitpid() のみがエミュレート可能です。
20302105
20312106=item Can't emulate -%s on #! line
20322107
20332108=begin original
20342109
20352110(F) The #! line specifies a switch that doesn't make sense at this
20362111point. For example, it'd be kind of silly to put a B<-x> on the #!
20372112line.
20382113
20392114=end original
20402115
20412116(F) #! 行にその時点で意味をなさないスイッチが指定されました。
20422117たとえば、#! 行に B<-x> をおいても意味がありません。
20432118
20442119=item Can't %s %s-endian %ss on this platform
20452120
20462121=begin original
20472122
20482123(F) Your platform's byte-order is neither big-endian nor little-endian,
20492124or it has a very strange pointer size. Packing and unpacking big- or
20502125little-endian floating point values and pointers may not be possible.
20512126See L<perlfunc/pack>.
20522127
20532128=end original
20542129
20552130(F) プラットフォームのバイト順序がビッグエンディアンでも
20562131リトルエンディアンでもないか、ポインタサイズがとても変わっています。
20572132ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの
20582133pack や unpack はできません。
20592134L<perlfunc/pack> を参照してください。
20602135
20612136=item Can't exec "%s": %s
20622137
20632138=begin original
20642139
20652140(W exec) A system(), exec(), or piped open call could not execute the
20662141named program for the indicated reason. Typical reasons include: the
20672142permissions were wrong on the file, the file wasn't found in
20682143C<$ENV{PATH}>, the executable in question was compiled for another
20692144architecture, or the #! line in a script points to an interpreter that
20702145can't be run for similar reasons. (Or maybe your system doesn't support
20712146#! at all.)
20722147
20732148=end original
20742149
20752150(W exec) 提示した理由によって、system() や exec() やパイプオープン
20762151呼び出しの指定されたプログラムが実行できませんでした。
20772152考えられる理由には: ファイルのパーミッションが間違っている、
20782153ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが
20792154このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない
20802155インタプリタを指している、というようなものがあります。
20812156(あるいは、このシステムで、#! がサポートされていません。)
20822157
20832158=item Can't exec %s
20842159
20852160=begin original
20862161
20872162(F) Perl was trying to execute the indicated program for you because
20882163that's what the #! line said. If that's not what you wanted, you may
20892164need to mention "perl" on the #! line somewhere.
20902165
20912166=end original
20922167
20932168(F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを
20942169実行しようとしました。
20952170そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。
20962171
20972172=item Can't execute %s
20982173
20992174=begin original
21002175
21012176(F) You used the B<-S> switch, but the copies of the script to execute
21022177found in the PATH did not have correct permissions.
21032178
21042179=end original
21052180
21062181(F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが
21072182正しいパーミッションではありませんでした。
21082183
21092184=item Can't find an opnumber for "%s"
21102185
21112186=begin original
21122187
21132188(F) A string of a form C<CORE::word> was given to prototype(), but there
21142189is no builtin with the name C<word>.
21152190
21162191=end original
21172192
21182193(F) C<CORE::word> の形の文字列が prototype() に与えられましたが、
21192194名前 C<word> は組み込みではありません。
21202195
21212196=item Can't find label %s
21222197
21232198=begin original
21242199
21252200(F) You said to goto a label that isn't mentioned anywhere that it's
21262201possible for us to go to. See L<perlfunc/goto>.
21272202
21282203=end original
21292204
21302205(F) どこにも見つからないラベルへ goto を行なおうとしました。
21312206L<perlfunc/goto> を参照してください。
21322207
21332208=item Can't find %s on PATH
21342209
21352210=begin original
21362211
21372212(F) You used the B<-S> switch, but the script to execute could not be
21382213found in the PATH.
21392214
21402215=end original
21412216
21422217B<-S> オプションを使いましたが、実行するスクリプトは PATH に
21432218見つかりませんでした。
21442219
21452220=item Can't find %s on PATH, '.' not in PATH
21462221
21472222=begin original
21482223
21492224(F) You used the B<-S> switch, but the script to execute could not be
21502225found in the PATH, or at least not with the correct permissions. The
21512226script exists in the current directory, but PATH prohibits running it.
21522227
21532228=end original
21542229
21552230(F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが
21562231見つからないか、少なくとも適切なパーミッションがありません。
21572232スクリプトはカレントディレクトリにはありますが、PATH に
21582233カレントディレクトリは含まれていません。
21592234
21602235=item Can't find string terminator %s anywhere before EOF
21612236
21622237=begin original
21632238
21642239(F) Perl strings can stretch over multiple lines. This message means
21652240that the closing delimiter was omitted. Because bracketed quotes count
21662241nesting levels, the following is missing its final parenthesis:
21672242
21682243=end original
21692244
21702245(F) Perl の文字列は、複数行に渡ることができます。このメッセージは、
21712246文字列を終わる区切り文字が見つからなかったことを意味します。
21722247かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが
21732248無いと言われます:
21742249
21752250 print q(The character '(' starts a side comment.);
21762251
21772252=begin original
21782253
21792254If you're getting this error from a here-document, you may have
21802255included unseen whitespace before or after your closing tag or there
21812256may not be a linebreak after it. A good programmer's editor will have
21822257a way to help you find these characters (or lack of characters). See
21832258L<perlop> for the full details on here-documents.
21842259
21852260=end original
21862261
21872262このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に
21882263見えない空白を含んでいるか、その後に改行がないのかもしれません。
21892264よいプログラマ用エディタには、このような文字(または文字がないこと)を探す
21902265助けになる方法があります。
21912266ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。
21922267
21932268=item Can't find Unicode property definition "%s"
21942269
21952270=item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/
21962271
21972272=begin original
21982273
21992274(F) The named property which you specified via C<\p> or C<\P> is not one
22002275known to Perl. Perhaps you misspelled the name? See
22012276L<perluniprops/Properties accessible through \p{} and \P{}>
22022277for a complete list of available official
22032278properties. If it is a
22042279L<user-defined property|perlunicode/User-Defined Character Properties>
22052280it must have been defined by the time the regular expression is
22062281matched.
22072282
22082283=end original
22092284
22102285(F)
22112286C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。
22122287おそらく名前をタイプミスしたのでは?
22132288公式に利用可能な特性の完全な一覧については
22142289L<perluniprops/Properties accessible through \p{} and \P{}> を
22152290参照してください。
22162291これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の
22172292場合は、正規表現がマッチングした時点で定義されていなければなりません。
22182293
22192294=begin original
22202295
22212296If you didn't mean to use a Unicode property, escape the C<\p>, either
22222297by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or
22232298until C<\E>).
22242299
22252300=end original
22262301
22272302Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または
22282303C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を
22292304エスケープしてください。
22302305
22312306=item Can't fork: %s
22322307
22332308=begin original
22342309
22352310(F) A fatal error occurred while trying to fork while opening a
22362311pipeline.
22372312
22382313=end original
22392314
22402315(F) パイプラインをオープンしようとして、fork を行なおうとして、
22412316致命的エラーが発生しました。
22422317
22432318=item Can't fork, trying again in 5 seconds
22442319
22452320=begin original
22462321
22472322(W pipe) A fork in a piped open failed with EAGAIN and will be retried
22482323after five seconds.
22492324
22502325=end original
22512326
22522327(W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に
22532328再試行されます。
22542329
22552330=item Can't get filespec - stale stat buffer?
22562331
22572332=begin original
22582333
22592334(S) A warning peculiar to VMS. This arises because of the difference
22602335between access checks under VMS and under the Unix model Perl assumes.
22612336Under VMS, access checks are done by filename, rather than by bits in
22622337the stat buffer, so that ACLs and other protections can be taken into
22632338account. Unfortunately, Perl assumes that the stat buffer contains all
22642339the necessary information, and passes it, instead of the filespec, to
22652340the access-checking routine. It will try to retrieve the filespec using
22662341the device name and FID present in the stat buffer, but this works only
22672342if you haven't made a subsequent call to the CRTL stat() routine,
22682343because the device name is overwritten with each call. If this warning
22692344appears, the name lookup failed, and the access-checking routine gave up
22702345and returned FALSE, just to be conservative. (Note: The access-checking
22712346routine knows about the Perl C<stat> operator and file tests, so you
22722347shouldn't ever see this warning in response to a Perl command; it arises
22732348only if some internal code takes stat buffers lightly.)
22742349
22752350=end original
22762351
22772352(S) VMS に固有の警告です。
22782353これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが
22792354あることによって起こります。
22802355VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって
22812356行われるので、ACL やその他の保護が考慮されます。
22822357残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、
22832358アクセスチェックルーチンにはファイルスペックではなくこれを渡します。
22842359stat バッファにあるデバイス名と FID を使ってファイルスペックを
22852360取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない
22862361場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。
22872362この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、
22882363安全のためだけに FALSE を返します。
22892364(注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル
22902365テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは
22912366ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ
22922367発生します。)
22932368
22942369=item Can't get pipe mailbox device name
22952370
22962371=begin original
22972372
22982373(P) An error peculiar to VMS. After creating a mailbox to act as a
22992374pipe, Perl can't retrieve its name for later use.
23002375
23012376=end original
23022377
23032378(P) VMS に固有のエラーです。
23042379パイプとして働くメールボックスの作成後、後で使うための名前を
23052380Perl が取得できませんでした。
23062381
23072382=item Can't get SYSGEN parameter value for MAXBUF
23082383
23092384=begin original
23102385
23112386(P) An error peculiar to VMS. Perl asked $GETSYI how big you want your
23122387mailbox buffers to be, and didn't get an answer.
23132388
23142389=end original
23152390
23162391(P) VMS に固有のエラーです。
23172392メールボックスバッファをどれくらいとるべきかを $GETSYI に
23182393問い合わせましたが、答えが得られませんでした。
23192394
2395=item Can't "goto" into a binary or list expression
2396
2397=begin original
2398
2399(F) A "goto" statement was executed to jump into the middle of a binary
2400or list expression. You can't get there from here. The reason for this
2401restriction is that the interpreter would get confused as to how many
2402arguments there are, resulting in stack corruption or crashes. This
2403error occurs in cases such as these:
2404
2405=end original
2406
2407(F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。
2408ここからそこへは行けません。
2409この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、
2410結果としてスタックは解約ラッシュを引き起こすからです。
2411このエラーは次のような場合に起こります:
2412
2413 goto F;
2414 print do { F: }; # Can't jump into the arguments to print
2415
2416 goto G;
2417 $x + do { G: $y }; # How is + supposed to get its first operand?
2418
2419=item Can't "goto" into a "given" block
2420
2421=begin original
2422
2423(F) A "goto" statement was executed to jump into the middle of a C<given>
2424block. You can't get there from here. See L<perlfunc/goto>.
2425
2426=end original
2427
2428(F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。
2429ここからそこへは行けません。
2430L<perlfunc/goto> を参照してください。
2431
23202432=item Can't "goto" into the middle of a foreach loop
23212433
23222434=begin original
23232435
23242436(F) A "goto" statement was executed to jump into the middle of a foreach
23252437loop. You can't get there from here. See L<perlfunc/goto>.
23262438
23272439=end original
23282440
23292441(F) "goto" 文で foreach ループの中に飛び込もうとしました。
23302442ここからそこへは行けません。
23312443L<perlfunc/goto> を参照してください。
23322444
23332445=item Can't "goto" out of a pseudo block
23342446
23352447=begin original
23362448
23372449(F) A "goto" statement was executed to jump out of what might look like
23382450a block, except that it isn't a proper block. This usually occurs if
23392451you tried to jump out of a sort() block or subroutine, which is a no-no.
23402452See L<perlfunc/goto>.
23412453
23422454=end original
23432455
23442456(F) "goto" 文でブロックのように見えるけれども、適切な
23452457ブロックではないところから飛び出そうとしました。
23462458これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに
23472459起きますが、それはできません。
23482460L<perlfunc/goto> を参照してください。
23492461
23502462=item Can't goto subroutine from an eval-%s
23512463
23522464=begin original
23532465
23542466(F) The "goto subroutine" call can't be used to jump out of an eval
23552467"string" or block.
23562468
23572469=end original
23582470
23592471(F) "goto subroutine" 呼び出しは eval "string" やブロックから
23602472飛び出すことはできません。
23612473
23622474=item Can't goto subroutine from a sort sub (or similar callback)
23632475
23642476=begin original
23652477
23662478(F) The "goto subroutine" call can't be used to jump out of the
23672479comparison sub for a sort(), or from a similar callback (such
23682480as the reduce() function in List::Util).
23692481
23702482=end original
23712483
23722484(F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、
23732485(List::Util の reduce() 関数のような) 似たようなコールバックから
23742486飛び出すことはできません。
23752487
23762488=item Can't goto subroutine outside a subroutine
23772489
23782490=begin original
23792491
23802492(F) The deeply magical "goto subroutine" call can only replace one
23812493subroutine call for another. It can't manufacture one out of whole
23822494cloth. In general you should be calling it out of only an AUTOLOAD
23832495routine anyway. See L<perlfunc/goto>.
23842496
23852497=end original
23862498
23872499(F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン
23882500呼び出しを別のもので置き換えるだけです。
23892501反物の状態から作り上げることはできません。
23902502一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに
23912503しておくべきです。
23922504L<perlfunc/goto> を参照してください。
23932505
23942506=item Can't ignore signal CHLD, forcing to default
23952507
23962508=begin original
23972509
23982510(W signal) Perl has detected that it is being run with the SIGCHLD
23992511signal (sometimes known as SIGCLD) disabled. Since disabling this
24002512signal will interfere with proper determination of exit status of child
24012513processes, Perl has reset the signal to its default value. This
24022514situation typically indicates that the parent program under which Perl
24032515may be running (e.g. cron) is being very careless.
24042516
24052517=end original
24062518
24072519(W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが
24082520無効化された状態で実行されていることを検出しました。
24092521このシグナルが無効化されると子プロセスの終了ステータスを適切に
24102522決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。
24112523この状況は典型的には Perl が動作している親プログラム(cron など)が
24122524とても不注意であることを示しています。
24132525
24142526=item Can't kill a non-numeric process ID
24152527
24162528=begin original
24172529
24182530(F) Process identifiers must be (signed) integers. It is a fatal error to
24192531attempt to kill() an undefined, empty-string or otherwise non-numeric
24202532process identifier.
24212533
24222534=end original
24232535
24242536(F) プロセス識別子は(符号付き)整数でなければなりません。
24252537未定義値、空文字列、その他の非数値プロセス識別子を使って
24262538kill() しようとすることは致命的エラーです。
24272539
24282540=item Can't "last" outside a loop block
24292541
24302542=begin original
24312543
24322544(F) A "last" statement was executed to break out of the current block,
24332545except that there's this itty bitty problem called there isn't a current
24342546block. Note that an "if" or "else" block doesn't count as a "loopish"
24352547block, as doesn't a block given to sort(), map() or grep(). You can
24362548usually double the curlies to get the same effect though, because the
24372549inner curlies will be considered a block that loops once. See
24382550L<perlfunc/last>.
24392551
24402552=end original
24412553
24422554(F) 現在のブロックから脱出するために、"last" 文を実行しましたが、
24432555残念なことにブロックの中ではありませんでした。
24442556"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
24452557同様「ループ風」ブロックではないので、注意してください。
24462558ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
24472559ブロックとみなされますから、同じ効果が得られます。
24482560L<perlfunc/last> を参照してください。
24492561
24502562=item Can't linearize anonymous symbol table
24512563
24522564=begin original
24532565
24542566(F) Perl tried to calculate the method resolution order (MRO) of a
24552567package, but failed because the package stash has no name.
24562568
24572569=end original
24582570
24592571(F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、
24602572パッケージ stash に名前がないので失敗しました。
24612573
24622574=item Can't load '%s' for module %s
24632575
24642576=begin original
24652577
24662578(F) The module you tried to load failed to load a dynamic extension.
24672579This may either mean that you upgraded your version of perl to one
24682580that is incompatible with your old dynamic extensions (which is known
24692581to happen between major versions of perl), or (more likely) that your
24702582dynamic extension was built against an older version of the library
24712583that is installed on your system. You may need to rebuild your old
24722584dynamic extensions.
24732585
24742586=end original
24752587
24762588(F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに
24772589失敗しました。
24782590これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか
24792591(これは perl のメジャーバージョン間で起きることが知られています)、
24802592(よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い
24812593バージョンのライブラリに対してビルドされているかです。
24822594古い動的拡張モジュールをリビルドする必要があるでしょう。
24832595
24842596=item Can't localize lexical variable %s
24852597
24862598=begin original
24872599
24882600(F) You used local on a variable name that was previously declared as a
24892601lexical variable using "my" or "state". This is not allowed. If you
24902602want to localize a package variable of the same name, qualify it with
24912603the package name.
24922604
24932605=end original
24942606
24952607(F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に
24962608対して local を使いました。
24972609これは認められていません。
24982610同じ名前のパッケージ変数をローカル化したい場合は、
24992611パッケージ名で修飾してください。
25002612
25012613=item Can't localize through a reference
25022614
25032615=begin original
25042616
25052617(F) You said something like C<local $$ref>, which Perl can't currently
25062618handle, because when it goes to restore the old value of whatever $ref
25072619pointed to after the scope of the local() is finished, it can't be sure
25082620that $ref will still be a reference.
25092621
25102622=end original
25112623
25122624(F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを
25132625扱えません; なぜなら、local() のスコープが終了した後、$ref が
25142626指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが
25152627わからないからです。
25162628
25172629=item Can't locate %s
25182630
25192631=begin original
25202632
25212633(F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found.
25222634Perl looks for the file in all the locations mentioned in @INC, unless
25232635the file name included the full path to the file. Perhaps you need
25242636to set the PERL5LIB or PERL5OPT environment variable to say where the
25252637extra library is, or maybe the script needs to add the library name
25262638to @INC. Or maybe you just misspelled the name of the file. See
25272639L<perlfunc/require> and L<lib>.
25282640
25292641=end original
25302642
25312643(F) ファイルを C<do> (または、C<require>、C<use>) するように
25322644指示されましたが、見つかりませんでした。
25332645Perl は、フルパスで指定されていない場合ファイルを @INC で示される
25342646全ての場所を検索します。
25352647おそらく、追加ライブラリの場所を示すために、
25362648PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、
25372649スクリプトの中で @INC にライブラリ名を追加する必要があります。
25382650ファイル名のスペルミスの可能性もあります。
25392651L<perlfunc/require> と L<lib> を参照してください。
25402652
25412653=item Can't locate auto/%s.al in @INC
25422654
25432655=begin original
25442656
25452657(F) A function (or method) was called in a package which allows
25462658autoload, but there is no function to autoload. Most probable causes
25472659are a misprint in a function/method name or a failure to C<AutoSplit>
25482660the file, say, by doing C<make install>.
25492661
25502662=end original
25512663
25522664(F) 関数(またはメソッド)がオートロードを許可しているパッケージで
25532665呼び出されましたが、オートロードする関数がありませんでした。
25542666最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と
25552667することによるファイルの C<AutoSplit> の失敗です。
25562668
25572669=item Can't locate loadable object for module %s in @INC
25582670
25592671=begin original
25602672
25612673(F) The module you loaded is trying to load an external library, like
25622674for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was
25632675unable to locate this library. See L<DynaLoader>.
25642676
25652677=end original
25662678
25672679(F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部
25682680ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この
25692681ライブラリの位置がわかりませんでした。
25702682L<DynaLoader> を参照してください。
25712683
25722684=item Can't locate object method "%s" via package "%s"
25732685
25742686=begin original
25752687
25762688(F) You called a method correctly, and it correctly indicated a package
25772689functioning as a class, but that package doesn't define that particular
25782690method, nor does any of its base classes. See L<perlobj>.
25792691
25802692=end original
25812693
25822694(F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを
25832695正しく示していますが、そのパッケージにも、基底クラスにも、
25842696該当のメソッドが定義されていません。
25852697L<perlobj> を参照してください。
25862698
25872699=item Can't locate object method "%s" via package "%s" (perhaps you forgot
25882700to load "%s"?)
25892701
25902702=begin original
25912703
25922704(F) You called a method on a class that did not exist, and the method
25932705could not be found in UNIVERSAL. This often means that a method
25942706requires a package that has not been loaded.
25952707
25962708=end original
25972709
25982710(F) 存在しないクラスメソッドを呼び出し、メソッドは
25992711UNIVERSAL に見つかりませんでした。
26002712これはしばしばメソッドがまだロードされていないパッケージを
26012713要求していることを意味します。
26022714
26032715=item Can't locate package %s for @%s::ISA
26042716
26052717=begin original
26062718
26072719(W syntax) The @ISA array contained the name of another package that
26082720doesn't seem to exist.
26092721
26102722=end original
26112723
26122724(W syntax) 配列 @ISA に別のパッケージ名が記されていますが、
26132725存在していないようです。
26142726
26152727=item Can't locate PerlIO%s
26162728
26172729=begin original
26182730
26192731(F) You tried to use in open() a PerlIO layer that does not exist,
26202732e.g. open(FH, ">:nosuchlayer", "somefile").
26212733
26222734=end original
26232735
26242736(F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、
26252737open() で 存在しない PerlIO 層を使おうとしました。
26262738
26272739=item Can't make list assignment to %ENV on this system
26282740
26292741=begin original
26302742
26312743(F) List assignment to %ENV is not supported on some systems, notably
26322744VMS.
26332745
26342746=end original
26352747
26362748(F) %ENV へのリスト代入はいくつかのシステム、特に VMS では
26372749対応していません。
26382750
26392751=item Can't make loaded symbols global on this platform while loading %s
26402752
26412753=begin original
26422754
26432755(S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request
26442756that symbols from the stated file are made available globally within the
26452757process, but that functionality is not available on this platform. Whilst
26462758the module likely will still work, this may prevent the perl interpreter
26472759from loading other XS-based extensions which need to link directly to
26482760functions defined in the C or XS code in the stated file.
26492761
26502762=end original
26512763
26522764(W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから
26532765シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に
265427660x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。
26552767モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や
26562768XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの
26572769エクステンションの読み込みが妨げられるかもしれません。
26582770
26592771=item Can't modify %s in %s
26602772
26612773=begin original
26622774
26632775(F) You aren't allowed to assign to the item indicated, or otherwise try
26642776to change it, such as with an auto-increment.
26652777
26662778=end original
26672779
26682780(F) 指定されたものは、代入、インクリメントなど、変更が許されていません。
26692781
26702782=item Can't modify nonexistent substring
26712783
26722784=begin original
26732785
26742786(P) The internal routine that does assignment to a substr() was handed
26752787a NULL.
26762788
26772789=end original
26782790
26792791(P) substr() への代入を行なう内部ルーティンに NULL が渡されました。
26802792
26812793=item Can't modify non-lvalue subroutine call of &%s
26822794
2795=item Can't modify non-lvalue subroutine call of &%s in %s
2796
26832797=begin original
26842798
26852799(F) Subroutines meant to be used in lvalue context should be declared as
26862800such. See L<perlsub/"Lvalue subroutines">.
26872801
26882802=end original
26892803
26902804(F) 左辺値コンテキストとして使うサブルーチンは、そのように
26912805宣言しなければなりません。
26922806L<perlsub/"Lvalue subroutines"> を参照してください。
26932807
26942808=item Can't modify reference to %s in %s assignment
26952809
26962810=begin original
26972811
26982812(F) Only a limited number of constructs can be used as the argument to a
26992813reference constructor on the left-hand side of an assignment, and what
27002814you used was not one of them. See L<perlref/Assigning to References>.
27012815
27022816=end original
27032817
27042818(F) 代入の左側のリファレンスコンストラクタの引数に使える構文は
27052819一部に制限されていて、ここで使ったものはその一つではありません。
27062820L<perlref/Assigning to References> を参照してください。
27072821
27082822=item Can't modify reference to localized parenthesized array in list
27092823assignment
27102824
27112825=begin original
27122826
27132827(F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as
27142828it is not clear exactly what it should do. If you meant to make @array
27152829refer to some other array, use C<\@array = \@other_array>. If you want to
27162830make the elements of @array aliases of the scalars referenced on the
27172831right-hand side, use C<\(@array) = @scalar_refs>.
27182832
27192833=end original
27202834
27212835(F) C<\local(@array)> や C<\(local @array)> への代入は対応していません;
27222836正確に何をするべきかが明確ではないからです。
27232837@array が他の配列を参照するようにすることを意味しているなら、
27242838C<\@array = \@other_array> を使ってください。
27252839@array の要素が右側でリファレンスされているスカラへの別名にしたいなら、
27262840C<\(@array) = @scalar_refs> を使ってください。
27272841
27282842=item Can't modify reference to parenthesized hash in list assignment
27292843
27302844=begin original
27312845
27322846(F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash
27332847refer to some other hash, use C<\%hash = \%other_hash>. If you want to
27342848make the elements of %hash into aliases of the scalars referenced on the
27352849right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>.
27362850
27372851=end original
27382852
27392853(F) C<\(%hash)> への代入は対応していません。
27402854%hash が他のハッシュを参照するようにすることを意味しているなら、
27412855C<\%hash = \%other_hash> を使ってください。
27422856%hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、
27432857ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。
27442858
27452859=item Can't msgrcv to read-only var
27462860
27472861=begin original
27482862
27492863(F) The target of a msgrcv must be modifiable to be used as a receive
27502864buffer.
27512865
27522866=end original
27532867
27542868(F) msgrcv で使用する変数は、受信バッファとして使用しますので、
27552869変更可能なものでなければなりません。
27562870
27572871=item Can't "next" outside a loop block
27582872
27592873=begin original
27602874
27612875(F) A "next" statement was executed to reiterate the current block, but
27622876there isn't a current block. Note that an "if" or "else" block doesn't
27632877count as a "loopish" block, as doesn't a block given to sort(), map() or
27642878grep(). You can usually double the curlies to get the same effect
27652879though, because the inner curlies will be considered a block that loops
27662880once. See L<perlfunc/next>.
27672881
27682882=end original
27692883
27702884(F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、
27712885ブロックの中ではありませんでした。
27722886"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
27732887同様「ループ風」ブロックではないので、注意してください。
27742888ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
27752889ブロックとみなされますから、同じ効果が得られます。
27762890L<perlfunc/next> を参照してください。
27772891
27782892=item Can't open %s: %s
27792893
27802894=begin original
27812895
27822896(S inplace) The implicit opening of a file through use of the C<< <> >>
27832897filehandle, either implicitly under the C<-n> or C<-p> command-line
27842898switches, or explicitly, failed for the indicated reason. Usually
27852899this is because you don't have read permission for a file which
27862900you named on the command line.
27872901
27882902=end original
27892903
27902904(S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは
27912905C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは
27922906明示的なファイルオープンが表示した理由によって失敗しました。
27932907通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。
27942908
27952909=begin original
27962910
27972911(F) You tried to call perl with the B<-e> switch, but F</dev/null> (or
27982912your operating system's equivalent) could not be opened.
27992913
28002914=end original
28012915
28022916(F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null>
28032917(またはあなたのオペレーティングシステムでの等価物) が開けませんでした。
28042918
28052919=item Can't open a reference
28062920
28072921=begin original
28082922
28092923(W io) You tried to open a scalar reference for reading or writing,
28102924using the 3-arg open() syntax:
28112925
28122926=end original
28132927
28142928(W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは
28152929書き込みのために開こうとしました:
28162930
28172931 open FH, '>', $ref;
28182932
28192933=begin original
28202934
28212935but your version of perl is compiled without perlio, and this form of
28222936open is not supported.
28232937
28242938=end original
28252939
28262940しかしこのバージョンの perl は perlio なしでコンパイルされていて、
28272941この形式の open は対応していません。
28282942
28292943=item Can't open bidirectional pipe
28302944
28312945=begin original
28322946
28332947(W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported.
28342948You can try any of several modules in the Perl library to do this, such
28352949as IPC::Open2. Alternately, direct the pipe's output to a file using
28362950">", and then read it in under a different file handle.
28372951
28382952=end original
28392953
28402954(W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。
28412955これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの
28422956モジュールを使うことができます。
28432957別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、
28442958あとで別のファイルハンドルで読み込みを行なうことも考えられます。
28452959
28462960=item Can't open error file %s as stderr
28472961
28482962=begin original
28492963
28502964(F) An error peculiar to VMS. Perl does its own command line
28512965redirection, and couldn't open the file specified after '2>' or '2>>' on
28522966the command line for writing.
28532967
28542968=end original
28552969
28562970(F) VMS に固有のエラーです。
28572971Perl は独自にコマンドラインのリダイレクトを扱っていて、
28582972コマンドラインで書き込みのために '2>' や '2>>' の後に指定された
28592973ファイルを開けませんでした。
28602974
28612975=item Can't open input file %s as stdin
28622976
28632977=begin original
28642978
28652979(F) An error peculiar to VMS. Perl does its own command line
28662980redirection, and couldn't open the file specified after '<' on the
28672981command line for reading.
28682982
28692983=end original
28702984
28712985(F) VMS に固有のエラーです。
28722986Perl は独自にコマンドラインのリダイレクトを扱っていて、
28732987コマンドラインで読み込みのために '<' の後に指定された
28742988ファイルを開けませんでした。
28752989
28762990=item Can't open output file %s as stdout
28772991
28782992=begin original
28792993
28802994(F) An error peculiar to VMS. Perl does its own command line
28812995redirection, and couldn't open the file specified after '>' or '>>' on
28822996the command line for writing.
28832997
28842998=end original
28852999
28863000(F) VMS に固有のエラーです。
28873001Perl は独自にコマンドラインのリダイレクトを扱っていて、
28883002コマンドラインで書き込みのために '>' や '>>' の後に指定された
28893003ファイルを開けませんでした。
28903004
28913005=item Can't open output pipe (name: %s)
28923006
28933007=begin original
28943008
28953009(P) An error peculiar to VMS. Perl does its own command line
28963010redirection, and couldn't open the pipe into which to send data destined
28973011for stdout.
28983012
28993013=end original
29003014
29013015(P) VMS に固有のエラーです。
29023016Perl は独自にコマンドラインのリダイレクトを扱っていて、
29033017標準出力としてデータを送るパイプを開けませんでした。
29043018
29053019=item Can't open perl script "%s": %s
29063020
29073021=begin original
29083022
29093023(F) The script you specified can't be opened for the indicated reason.
29103024
29113025=end original
29123026
29133027(F) 指定したスクリプトが、表示した理由によってオープンできませんでした。
29143028
29153029=begin original
29163030
29173031If you're debugging a script that uses #!, and normally relies on the
29183032shell's $PATH search, the -S option causes perl to do that search, so
29193033you don't have to type the path or C<`which $scriptname`>.
29203034
29213035=end original
29223036
29233037#! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に
29243038頼っている場合は、-S オプションを付けることで perl が検索するようになり、
29253039パスや C<`which $scriptname`> をタイプする必要がなくなります。
29263040
29273041=item Can't read CRTL environ
29283042
29293043=begin original
29303044
29313045(S) A warning peculiar to VMS. Perl tried to read an element of %ENV
29323046from the CRTL's internal environment array and discovered the array was
29333047missing. You need to figure out where your CRTL misplaced its environ
29343048or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not
29353049searched.
29363050
29373051=end original
29383052
29393053(S) VMS に固有の警告です。
29403054Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、
29413055配列がないことを発見しました。
29423056CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を
29433057定義して(L<perlvms> を参照してください)環境を検索しないようにする
29443058必要があります。
29453059
29463060=item Can't redeclare "%s" in "%s"
29473061
29483062=begin original
29493063
29503064(F) A "my", "our" or "state" declaration was found within another declaration,
29513065such as C<my ($x, my($y), $z)> or C<our (my $x)>.
29523066
29533067=end original
29543068
29553069(F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、
29563070"my", "our", "state" 宣言が他の宣言の中にありました。
29573071
29583072=item Can't "redo" outside a loop block
29593073
29603074=begin original
29613075
29623076(F) A "redo" statement was executed to restart the current block, but
29633077there isn't a current block. Note that an "if" or "else" block doesn't
29643078count as a "loopish" block, as doesn't a block given to sort(), map()
29653079or grep(). You can usually double the curlies to get the same effect
29663080though, because the inner curlies will be considered a block that
29673081loops once. See L<perlfunc/redo>.
29683082
29693083=end original
29703084
29713085(F) 現在のブロックの繰り返しをもう一度行なうために、
29723086"redo" 文を実行しましたが、ブロックの中ではありませんでした。
29733087"if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと
29743088同様「ループ風」ブロックではないので、注意してください。
29753089ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする
29763090ブロックとみなされますから、同じ効果が得られます。
29773091L<perlfunc/redo> を参照してください。
29783092
29793093=item Can't remove %s: %s, skipping file
29803094
29813095=begin original
29823096
29833097(S inplace) You requested an inplace edit without creating a backup
29843098file. Perl was unable to remove the original file to replace it with
29853099the modified file. The file was left unmodified.
29863100
29873101=end original
29883102
29893103(S inplace) バックアップを作成せずにその場編集することを要求しました。
29903104Perl は変更したファイルで置き換えるために元のファイルを削除することが
29913105できませんでした。
29923106ファイルは変更されずに残されます。
29933107
3108=item Can't rename in-place work file '%s' to '%s': %s
3109
3110=begin original
3111
3112(F) When closed implicitly, the temporary file for in-place editing
3113couldn't be renamed to the original filename.
3114
3115=end original
3116
3117(F) その場編集のための一時ファイルが暗黙に閉じられたとき、
3118元のファイル名にリネームできませんでした。
3119
29943120=item Can't rename %s to %s: %s, skipping file
29953121
29963122=begin original
29973123
2998(S inplace) The rename done by the B<-i> switch failed for some reason,
3124(F) The rename done by the B<-i> switch failed for some reason,
29993125probably because you don't have write permission to the directory.
30003126
30013127=end original
30023128
3003(S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、
3129(F) B<-i> スイッチで行なわれた rename が何らかの理由によって、
30043130うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。
30053131
30063132=item Can't reopen input pipe (name: %s) in binary mode
30073133
30083134=begin original
30093135
30103136(P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried
30113137to reopen it to accept binary data. Alas, it failed.
30123138
30133139=end original
30143140
30153141(P) VMS に固有のエラーです。
30163142Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために
30173143再オープンしようとしました。
30183144悲しいかな、それは失敗しました。
30193145
30203146=item Can't represent character for Ox%X on this platform
30213147
30223148=begin original
30233149
30243150(F) There is a hard limit to how big a character code point can be due
30253151to the fundamental properties of UTF-8, especially on EBCDIC
30263152platforms. The given code point exceeds that. The only work-around is
30273153to not use such a large code point.
30283154
30293155=end original
30303156
30313157(F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります;
30323158これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。
30333159指定された符号位置はそれを越えています。
30343160唯一の回避策はそのような大きな符号位置を使わないことです。
30353161
30363162=item Can't reset %ENV on this system
30373163
30383164=begin original
30393165
30403166(F) You called C<reset('E')> or similar, which tried to reset
30413167all variables in the current package beginning with "E". In
30423168the main package, that includes %ENV. Resetting %ENV is not
30433169supported on some systems, notably VMS.
30443170
30453171=end original
30463172
30473173(F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる
30483174全ての変数を reset しようとしました。
30493175main パッケージでは、これには %ENV が含まれます。
30503176%ENV の reset は一部のシステム、特に VMS では対応していません。
30513177
30523178=item Can't resolve method "%s" overloading "%s" in package "%s"
30533179
30543180=begin original
30553181
30563182(F)(P) Error resolving overloading specified by a method name (as
30573183opposed to a subroutine reference): no such method callable via the
30583184package. If the method name is C<???>, this is an internal error.
30593185
30603186=end original
30613187
30623188(F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された
30633189オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で
30643190呼び出せません。
30653191もしメソッド名が C<???> なら、内部エラーです。
30663192
30673193=item Can't return %s from lvalue subroutine
30683194
30693195=begin original
30703196
30713197(F) Perl detected an attempt to return illegal lvalues (such as
30723198temporary or readonly values) from a subroutine used as an lvalue. This
30733199is not allowed.
30743200
30753201=end original
30763202
30773203(F) Perl が、左辺値として使われるサブルーチンから(一時的や
30783204読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。
30793205これは認められていません。
30803206
30813207=item Can't return outside a subroutine
30823208
30833209=begin original
30843210
30853211(F) The return statement was executed in mainline code, that is, where
30863212there was no subroutine call to return out of. See L<perlsub>.
30873213
30883214=end original
30893215
30903216(F) return 文が、return で抜けるべきサブルーチンがない、
30913217"main" コードで実行されました。
30923218L<perlsub> を参照してください。
30933219
30943220=item Can't return %s to lvalue scalar context
30953221
30963222=begin original
30973223
30983224(F) You tried to return a complete array or hash from an lvalue
30993225subroutine, but you called the subroutine in a way that made Perl
31003226think you meant to return only one value. You probably meant to
31013227write parentheses around the call to the subroutine, which tell
31023228Perl that the call should be in list context.
31033229
31043230=end original
31053231
31063232(F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、
31073233一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを
31083234呼び出しました。
31093235おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、
31103236サブルーチン呼び出しの周りにかっこを書いているのでしょう。
31113237
31123238=item Can't stat script "%s"
31133239
31143240=begin original
31153241
31163242(P) For some reason you can't fstat() the script even though you have it
31173243open already. Bizarre.
31183244
31193245=end original
31203246
31213247(P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が
31223248行なえません。困ったもんだ。
31233249
31243250=item Can't take log of %g
31253251
31263252=begin original
31273253
31283254(F) For ordinary real numbers, you can't take the logarithm of a
31293255negative number or zero. There's a Math::Complex package that comes
31303256standard with Perl, though, if you really want to do that for the
31313257negative numbers.
31323258
31333259=end original
31343260
31353261(F) 実数に対しては、負数や 0 に対する対数を取ることはできません。
31363262しかし、もし本当に負数に対してそのようなことをしたいのなら、
31373263Perl 標準になっている Math::Complex パッケージがあります。
31383264
31393265=item Can't take sqrt of %g
31403266
31413267=begin original
31423268
31433269(F) For ordinary real numbers, you can't take the square root of a
31443270negative number. There's a Math::Complex package that comes standard
31453271with Perl, though, if you really want to do that.
31463272
31473273=end original
31483274
31493275(F) 通常の実数では、負数の平方根をとることはできません。
31503276しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが
31513277Perl に標準で用意されています。
31523278
31533279=item Can't undef active subroutine
31543280
31553281=begin original
31563282
31573283(F) You can't undefine a routine that's currently running. You can,
31583284however, redefine it while it's running, and you can even undef the
31593285redefined subroutine while the old routine is running. Go figure.
31603286
31613287=end original
31623288
31633289(F) 実行中のルーティンを未定義にすることはできません。
31643290しかし、実行中に再定義することはでき、古いルーティンを実行中に、
31653291再定義したサブルーチンを undef することさえできます。
31663292驚きです。
31673293
3294=item Can't unweaken a nonreference
3295
3296=begin original
3297
3298(F) You attempted to unweaken something that was not a reference. Only
3299references can be unweakened.
3300
3301=end original
3302
3303(F) リファレンスでないものを弱くないようにしようとしました。
3304リファレンスだけが弱くないようにできます。
3305
31683306=item Can't upgrade %s (%d) to %d
31693307
31703308=begin original
31713309
31723310(P) The internal sv_upgrade routine adds "members" to an SV, making it
31733311into a more specialized kind of SV. The top several SV types are so
31743312specialized, however, that they cannot be interconverted. This message
31753313indicates that such a conversion was attempted.
31763314
31773315=end original
31783316
31793317(P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、
31803318より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、
31813319特殊化され過ぎて、内部変換することができません。
31823320このメッセージは、そのような変更を行なおうとしたことを示しています。
31833321
31843322=item Can't use '%c' after -mname
31853323
31863324=begin original
31873325
31883326(F) You tried to call perl with the B<-m> switch, but you put something
31893327other than "=" after the module name.
31903328
31913329=end original
31923330
31933331(F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に
31943332"=" 以外のものを置きました。
31953333
31963334=item Can't use a hash as a reference
31973335
31983336=begin original
31993337
32003338(F) You tried to use a hash as a reference, as in
32013339C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl
32023340<= 5.22.0 used to allow this syntax, but shouldn't
32033341have. This was deprecated in perl 5.6.1.
32043342
32053343=end original
32063344
32073345(F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、
32083346ハッシュをリファレンスとして使おうとしました。
32093347<= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、
32103348そうするべきではありません。
32113349これは perl 5.6.1 から廃止予定です。
32123350
32133351=item Can't use an array as a reference
32143352
32153353=begin original
32163354
32173355(F) You tried to use an array as a reference, as in
32183356C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0
32193357used to allow this syntax, but shouldn't have. This
32203358was deprecated in perl 5.6.1.
32213359
32223360=end original
32233361
32243362(F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、
32253363配列をリファレンスとして使おうとしました。
32263364<= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、
32273365そうするべきではありません。
32283366これは perl 5.6.1 から廃止予定です。
32293367
32303368=item Can't use anonymous symbol table for method lookup
32313369
32323370=begin original
32333371
32343372(F) The internal routine that does method lookup was handed a symbol
32353373table that doesn't have a name. Symbol tables can become anonymous
32363374for example by undefining stashes: C<undef %Some::Package::>.
32373375
32383376=end original
32393377
32403378(F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを
32413379扱いました。
32423380シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の
32433381stash によって無名となります。
32443382
32453383=item Can't use an undefined value as %s reference
32463384
32473385=begin original
32483386
32493387(F) A value used as either a hard reference or a symbolic reference must
32503388be a defined value. This helps to delurk some insidious errors.
32513389
32523390=end original
32533391
32543392(F) ハードリファレンスやシンボリックリファレンスとして使用する値は、
32553393定義済みの値でなければなりません。
32563394潜伏中のエラーを引きずり出す助けとなります。
32573395
32583396=item Can't use bareword ("%s") as %s ref while "strict refs" in use
32593397
32603398=begin original
32613399
32623400(F) Only hard references are allowed by "strict refs". Symbolic
32633401references are disallowed. See L<perlref>.
32643402
32653403=end original
32663404
32673405(F) "strict refs" によって、ハードリファレンスのみが許可されます。
32683406シンボリックリファレンスは許可されません。
32693407L<perlref> を参照してください。
32703408
32713409=item Can't use %! because Errno.pm is not available
32723410
32733411=begin original
32743412
32753413(F) The first time the C<%!> hash is used, perl automatically loads the
32763414Errno.pm module. The Errno module is expected to tie the %! hash to
32773415provide symbolic names for C<$!> errno values.
32783416
32793417=end original
32803418
32813419(F) 最初に C<%!> ハッシュが使われるときに、
32823420perl は自動的に Errno.pm モジュールを読み込みます。
32833421Errno モジュールは C<$!> errno 値のシンボリック名を提供するために
32843422%! ハッシュと tie されることになります。
32853423
32863424=item Can't use both '<' and '>' after type '%c' in %s
32873425
32883426=begin original
32893427
32903428(F) A type cannot be forced to have both big-endian and little-endian
32913429byte-order at the same time, so this combination of modifiers is not
32923430allowed. See L<perlfunc/pack>.
32933431
32943432=end original
32953433
32963434(F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に
32973435強制することはできないので、この修飾子の組み合わせは許可されません。
32983436L<perlfunc/pack> を参照してください。
32993437
33003438=item Can't use 'defined(@array)' (Maybe you should just omit the defined()?)
33013439
33023440=begin original
33033441
33043442(F) defined() is not useful on arrays because it
33053443checks for an undefined I<scalar> value. If you want to see if the
33063444array is empty, just use C<if (@array) { # not empty }> for example.
33073445
33083446=end original
33093447
33103448(F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。
33113449配列が空かどうかを調べたい場合は、例えば単に
33123450C<if (@array) { # not empty }> としてください。
33133451
33143452=item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?)
33153453
33163454=begin original
33173455
33183456(F) C<defined()> is not usually right on hashes.
33193457
33203458=end original
33213459
33223460(F) C<defined()> は普通はハッシュの右側ではありません。
33233461
33243462=begin original
33253463
33263464Although C<defined %hash> is false on a plain not-yet-used hash, it
33273465becomes true in several non-obvious circumstances, including iterators,
33283466weak references, stash names, even remaining true after C<undef %hash>.
33293467These things make C<defined %hash> fairly useless in practice, so it now
33303468generates a fatal error.
33313469
33323470=end original
33333471
33343472まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、
33353473いくつかの明白でない状況では新になります; これには反復し、弱い参照、
33363474stash 名を含み、C<undef %hash> の後でも真になります。
33373475これらにより、実践では C<defined %hash> はほとんど使えないので、
33383476致命的エラーを生成するようになりました。
33393477
33403478=begin original
33413479
33423480If a check for non-empty is what you wanted then just put it in boolean
33433481context (see L<perldata/Scalar values>):
33443482
33453483=end original
33463484
33473485空でないことをチェックしたいなら、単にこれを真偽値コンテキストに
33483486置いてください (L<perldata/Scalar values> を参照してください):
33493487
33503488 if (%hash) {
33513489 # not empty
33523490 }
33533491
33543492=begin original
33553493
33563494If you had C<defined %Foo::Bar::QUUX> to check whether such a package
33573495variable exists then that's never really been reliable, and isn't
33583496a good way to enquire about the features of a package, or whether
33593497it's loaded, etc.
33603498
33613499=end original
33623500
33633501パッケージ変数が存在するかどうかを調べるために
33643502C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が
33653503なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる
33663504良い方法ではありません。
33673505
33683506=item Can't use %s for loop variable
33693507
33703508=begin original
33713509
33723510(P) The parser got confused when trying to parse a C<foreach> loop.
33733511
33743512=end original
33753513
33763514(P) パーサが C<foreach> ループをパースしようとしたときに混乱しました。
33773515
3378=item Can't use global %s in "%s"
3516=item Can't use global %s in %s
33793517
33803518=begin original
33813519
33823520(F) You tried to declare a magical variable as a lexical variable. This
33833521is not allowed, because the magic can be tied to only one location
33843522(namely the global variable) and it would be incredibly confusing to
33853523have variables in your program that looked like magical variables but
33863524weren't.
33873525
33883526=end original
33893527
33903528(F) マジカル変数を、字句スコープ変数として宣言しようとしました。
33913529これが許されていないのは、マジカル変数は(グローバル変数という名前の)
339235301 か所だけに結び付けられているので、マジカル変数のように見えるけれども
33933531そうではない変数がプログラム中にあると、著しく混乱させるからです。
33943532
33953533=item Can't use '%c' in a group with different byte-order in %s
33963534
33973535=begin original
33983536
33993537(F) You attempted to force a different byte-order on a type
34003538that is already inside a group with a byte-order modifier.
34013539For example you cannot force little-endianness on a type that
34023540is inside a big-endian group.
34033541
34043542=end original
34053543
34063544(F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を
34073545強制しようとしました。
34083546例えば、ビッグエンディアングループの中にある型をリトルエンディアンに
34093547強制することはできません。
34103548
34113549=item Can't use "my %s" in sort comparison
34123550
34133551=begin original
34143552
34153553(F) The global variables $a and $b are reserved for sort comparisons.
34163554You mentioned $a or $b in the same line as the <=> or cmp operator,
34173555and the variable had earlier been declared as a lexical variable.
34183556Either qualify the sort variable with the package name, or rename the
34193557lexical variable.
34203558
34213559=end original
34223560
34233561(F) グローバル変数 $a と $b はソート比較のために予約されています。
34243562$a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は
34253563その前にレキシカル変数として宣言されています。
34263564ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
34273565
34283566=item Can't use %s ref as %s ref
34293567
34303568=begin original
34313569
34323570(F) You've mixed up your reference types. You have to dereference a
34333571reference of the type needed. You can use the ref() function to
34343572test the type of the reference, if need be.
34353573
34363574=end original
34373575
34383576(F) リファレンス型を混同しています。
34393577必要な型のリファレンスを被参照しなければなりません。
34403578必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。
34413579
34423580=item Can't use string ("%s") as %s ref while "strict refs" in use
34433581
34443582=item Can't use string ("%s"...) as %s ref while "strict refs" in use
34453583
34463584=begin original
34473585
34483586(F) You've told Perl to dereference a string, something which
34493587C<use strict> blocks to prevent it happening accidentally. See
34503588L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$>
34513589in a double-quoted string immediately before interpolating a variable,
34523590for example in C<"user @$twitter_id">, which says to treat the contents
34533591of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@>
34543592symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">.
34553593
34563594=end original
34573595
34583596(F) 文字列をデリファレンスするように Perl に指示しましたが、
34593597C<use strict> ブロックがこれが偶然起きることを妨げました。
34603598L<perlref/"Symbolic references"> を参照してください。
34613599これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で
34623600引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の
34633601内容を配列リファレンスとして扱うように指示しています;
34643602リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには
34653603C<\> を使ってください: C<"user \@$twitter_id">。
34663604
34673605=item Can't use subscript on %s
34683606
34693607=begin original
34703608
34713609(F) The compiler tried to interpret a bracketed expression as a
34723610subscript. But to the left of the brackets was an expression that
34733611didn't look like a hash or array reference, or anything else subscriptable.
34743612
34753613=end original
34763614
34773615(F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。
34783616しかし、大かっこの左側はハッシュか配列のリファレンスやその他の
34793617添字化できるもののようには見えない式です。
34803618
34813619=item Can't use \%c to mean $%c in expression
34823620
34833621=begin original
34843622
34853623(W syntax) In an ordinary expression, backslash is a unary operator that
34863624creates a reference to its argument. The use of backslash to indicate a
34873625backreference to a matched substring is valid only as part of a regular
34883626expression pattern. Trying to do this in ordinary Perl code produces a
34893627value that prints out looking like SCALAR(0xdecaf). Use the $1 form
34903628instead.
34913629
34923630=end original
34933631
34943632(W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る
34953633単項演算子です。
34963634マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は
34973635正規表現パターンの一部の場合にのみ有効です。
34983636通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように
34993637表示される値を生成します。
35003638代わりに $1 の形を使ってください。
35013639
35023640=item Can't weaken a nonreference
35033641
35043642=begin original
35053643
35063644(F) You attempted to weaken something that was not a reference. Only
35073645references can be weakened.
35083646
35093647=end original
35103648
35113649(F) リファレンスではない何かを弱めようとしました。
35123650リファレンスだけが弱めることができます。
35133651
35143652=item Can't "when" outside a topicalizer
35153653
35163654=begin original
35173655
35183656(F) You have used a when() block that is neither inside a C<foreach>
35193657loop nor a C<given> block. (Note that this error is issued on exit
35203658from the C<when> block, so you won't get the error if the match fails,
35213659or if you use an explicit C<continue>.)
35223660
35233661=end original
35243662
35253663(F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを
35263664使いました。
35273665(このエラーは C<when> ブロックから終了したときに発生するので、マッチングに
35283666失敗したときや、明示的な C<continue> を使った場合はこのエラーは
35293667発生しません。)
35303668
35313669=item Can't x= to read-only value
35323670
35333671=begin original
35343672
35353673(F) You tried to repeat a constant value (often the undefined value)
35363674with an assignment operator, which implies modifying the value itself.
35373675Perhaps you need to copy the value to a temporary, and repeat that.
35383676
35393677=end original
35403678
35413679(F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、
35423680代入演算子で繰り返しを行なおうとしました。
35433681テンポラリ変数に値を移してから、繰り返すと良いでしょう。
35443682
35453683=item Character following "\c" must be printable ASCII
35463684
35473685=begin original
35483686
35493687(F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character.
35503688
35513689=end original
35523690
35533691(F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。
35543692
35553693=begin original
35563694
35573695Note that ASCII characters that don't map to control characters are
35583696discouraged, and will generate the warning (when enabled)
35593697L</""\c%c" is more clearly written simply as "%s"">.
35603698
35613699=end original
35623700
35633701制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください;
35643702そして (有効になっていれば)
35653703L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。
35663704
35673705=item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/
35683706
35693707=begin original
35703708
35713709(F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You
35723710specified something that isn't a legal Unicode property name. Most
35733711Unicode properties are specified by C<\p{...}>. But if the name is a
35743712single character one, the braces may be omitted.
35753713
35763714=end original
35773715
35783716(F) (前述の C<%c> は C<p> か C<P> に置き換えられます。)
35793717正当な Unicode 特性名ではない何かをしていしました。
35803718ほとんどの Unicode 特性は C<\p{...}> として指定されます。
35813719しかし、名前が一文字の場合、中かっこは省略できます。
35823720
35833721=item Character in 'C' format wrapped in pack
35843722
35853723=begin original
35863724
35873725(W pack) You said
35883726
35893727=end original
35903728
35913729(W pack) 以下のように書きましたが:
35923730
35933731 pack("C", $x)
35943732
35953733=begin original
35963734
35973735where $x is either less than 0 or more than 255; the C<"C"> format is
35983736only for encoding native operating system characters (ASCII, EBCDIC,
35993737and so on) and not for Unicode characters, so Perl behaved as if you meant
36003738
36013739=end original
36023740
36033741$x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは
36043742ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに
36053743対応していて、Unicode 文字は対応していません;
36063744それで、Perl は以下のように意味しているかのように振舞います:
36073745
36083746 pack("C", $x & 255)
36093747
36103748=begin original
36113749
36123750If you actually want to pack Unicode codepoints, use the C<"U"> format
36133751instead.
36143752
36153753=end original
36163754
36173755Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを
36183756使ってください。
36193757
36203758=item Character in 'c' format wrapped in pack
36213759
36223760=begin original
36233761
36243762(W pack) You said
36253763
36263764=end original
36273765
36283766(W pack) 以下のように書きましたが:
36293767
36303768 pack("c", $x)
36313769
36323770=begin original
36333771
36343772where $x is either less than -128 or more than 127; the C<"c"> format
36353773is only for encoding native operating system characters (ASCII, EBCDIC,
36363774and so on) and not for Unicode characters, so Perl behaved as if you meant
36373775
36383776=end original
36393777
36403778$x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは
36413779ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに
36423780対応していて、Unicode 文字は対応していません;
36433781それで、Perl は以下のように意味しているかのように振舞います:
36443782
36453783 pack("c", $x & 255);
36463784
36473785=begin original
36483786
36493787If you actually want to pack Unicode codepoints, use the C<"U"> format
36503788instead.
36513789
36523790=end original
36533791
36543792Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを
36553793使ってください。
36563794
36573795=item Character in '%c' format wrapped in unpack
36583796
36593797=begin original
36603798
36613799(W unpack) You tried something like
36623800
36633801=end original
36643802
36653803(W unpack) 以下のようなことをしましたが:
36663804
36673805 unpack("H", "\x{2a1}")
36683806
36693807=begin original
36703808
36713809where the format expects to process a byte (a character with a value
36723810below 256), but a higher value was provided instead. Perl uses the
36733811value modulus 256 instead, as if you had provided:
36743812
36753813=end original
36763814
36773815ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、
36783816文字の中により大きな値のものがあります。
36793817Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
36803818値として使います:
36813819
36823820 unpack("H", "\x{a1}")
36833821
36843822=item Character in 'W' format wrapped in pack
36853823
36863824=begin original
36873825
36883826(W pack) You said
36893827
36903828=end original
36913829
36923830(W pack) 以下のように書きましたが:
36933831
36943832 pack("U0W", $x)
36953833
36963834=begin original
36973835
36983836where $x is either less than 0 or more than 255. However, C<U0>-mode
36993837expects all values to fall in the interval [0, 255], so Perl behaved
37003838as if you meant:
37013839
37023840=end original
37033841
37043842$x が 0 より小さいか 255 より大きいです。
37053843しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、
37063844Perl は以下のように振る舞います:
37073845
37083846 pack("U0W", $x & 255)
37093847
37103848=item Character(s) in '%c' format wrapped in pack
37113849
37123850=begin original
37133851
37143852(W pack) You tried something like
37153853
37163854=end original
37173855
37183856(W pack) 以下のようなことをしましたが:
37193857
37203858 pack("u", "\x{1f3}b")
37213859
37223860=begin original
37233861
37243862where the format expects to process a sequence of bytes (character with a
37253863value below 256), but some of the characters had a higher value. Perl
37263864uses the character values modulus 256 instead, as if you had provided:
37273865
37283866=end original
37293867
37303868ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、
37313869文字の中により大きな値のものがあります。
37323870Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
37333871値として使います:
37343872
37353873 pack("u", "\x{f3}b")
37363874
37373875=item Character(s) in '%c' format wrapped in unpack
37383876
37393877=begin original
37403878
37413879(W unpack) You tried something like
37423880
37433881=end original
37443882
37453883(W unpack) 以下のようなことをしましたが:
37463884
37473885 unpack("s", "\x{1f3}b")
37483886
37493887=begin original
37503888
37513889where the format expects to process a sequence of bytes (character with a
37523890value below 256), but some of the characters had a higher value. Perl
37533891uses the character values modulus 256 instead, as if you had provided:
37543892
37553893=end original
37563894
37573895ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、
37583896文字の中により大きな値のものがあります。
37593897Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の
37603898値として使います:
37613899
37623900 unpack("s", "\x{f3}b")
37633901
3764=item charnames alias definitions may not contain a sequence of multiple spaces
3902=item charnames alias definitions may not contain a sequence of multiple
3903spaces; marked by S<<-- HERE> in %s
37653904
37663905=begin original
37673906
37683907(F) You defined a character name which had multiple space characters
37693908in a row. Change them to single spaces. Usually these names are
37703909defined in the C<:alias> import argument to C<use charnames>, but they
37713910could be defined by a translator installed into C<$^H{charnames}>. See
37723911L<charnames/CUSTOM ALIASES>.
37733912
37743913=end original
37753914
37763915(F) 連続して複数のスペース文字を持つ文字名を定義しました。
37773916単一のスペースに変更してください。
37783917普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で
37793918定義されますが、C<$^H{charnames}> にインストールされた変換器で
37803919定義されているかも知れません。
37813920L<charnames/CUSTOM ALIASES> を参照してください。
37823921
3783=item charnames alias definitions may not contain trailing white-space
3922=item charnames alias definitions may not contain trailing white-space;
3923marked by S<<-- HERE> in %s
37843924
37853925=begin original
37863926
37873927(F) You defined a character name which ended in a space
37883928character. Remove the trailing space(s). Usually these names are
37893929defined in the C<:alias> import argument to C<use charnames>, but they
37903930could be defined by a translator installed into C<$^H{charnames}>.
37913931See L<charnames/CUSTOM ALIASES>.
37923932
37933933=end original
37943934
37953935(D) スペース文字で終わる文字名を定義しました。
37963936末尾のスペースを取り除いてください。
37973937普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で
37983938定義されますが、C<$^H{charnames}> にインストールされた変換器で
37993939定義されているかも知れません。
38003940L<charnames/CUSTOM ALIASES> を参照してください。
38013941
38023942=item chdir() on unopened filehandle %s
38033943
38043944=begin original
38053945
38063946(W unopened) You tried chdir() on a filehandle that was never opened.
38073947
38083948=end original
38093949
38103950(W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。
38113951
38123952=item "\c%c" is more clearly written simply as "%s"
38133953
38143954=begin original
38153955
38163956(W syntax) The C<\cI<X>> construct is intended to be a way to specify
38173957non-printable characters. You used it for a printable one, which
38183958is better written as simply itself, perhaps preceded by a backslash
38193959for non-word characters. Doing it the way you did is not portable
38203960between ASCII and EBCDIC platforms.
38213961
38223962=end original
38233963
38243964(W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。
38253965これを表示文字に使いました; おそらく(おそらく非単語文字のために
38263966逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。
38273967この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。
38283968
38293969=item Cloning substitution context is unimplemented
38303970
38313971=begin original
38323972
38333973(F) Creating a new thread inside the C<s///> operator is not supported.
38343974
38353975=end original
38363976
38373977(F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。
38383978
38393979=item closedir() attempted on invalid dirhandle %s
38403980
38413981=begin original
38423982
38433983(W io) The dirhandle you tried to close is either closed or not really
38443984a dirhandle. Check your control flow.
38453985
38463986=end original
38473987
38483988(W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には
38493989ディレクトリハンドルではありません。
38503990制御フローをチェックしてください。
38513991
38523992=item close() on unopened filehandle %s
38533993
38543994=begin original
38553995
38563996(W unopened) You tried to close a filehandle that was never opened.
38573997
38583998=end original
38593999
38604000(W unopened) オープンされていないファイルハンドルをクローズしようとしました。
38614001
38624002=item Closure prototype called
38634003
38644004=begin original
38654005
38664006(F) If a closure has attributes, the subroutine passed to an attribute
38674007handler is the prototype that is cloned when a new closure is created.
38684008This subroutine cannot be called.
38694009
38704010=end original
38714011
38724012(F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい
38734013クロージャが作成されたときにクローン化されたプロトタイプです。
38744014このサブルーチンは呼び出すことができません。
38754015
38764016=item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/
38774017
38784018=begin original
38794019
38804020(F) The \C character class used to allow a match of single byte
38814021within a multi-byte utf-8 character, but was removed in v5.24 as
38824022it broke encapsulation and its implementation was extremely buggy.
38834023If you really need to process the individual bytes, you probably
38844024want to convert your string to one where each underlying byte is
38854025stored as a character, with utf8::encode().
38864026
38874027=end original
38884028
38894029(F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに
38904030マッチングできるようにしていましたが、
38914031カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。
38924032本当に個々のバイトを処理する必要があるなら、
38934033おそらくその文字列を、utf8::encode() を使って、
38944034元となっているバイトそれぞれを文字として保持する文字列に変換した方が
38954035良いでしょう。
38964036
38974037=item Code missing after '/'
38984038
38994039=begin original
39004040
39014041(F) You had a (sub-)template that ends with a '/'. There must be
39024042another template code following the slash. See L<perlfunc/pack>.
39034043
39044044=end original
39054045
39064046(F) テンプレートが '/' で終わっています。
39074047スラッシュの後には他のテンプレートコードが必須です。
39084048L<perlfunc/pack> を参照してください。
39094049
39104050=item Code point 0x%X is not Unicode, and not portable
39114051
39124052=begin original
39134053
3914(S non_unicode) You had a code point that has never been in any
4054(S non_unicode portable) You had a code point that has never been in any
39154055standard, so it is likely that languages other than Perl will NOT
3916understand it. At one time, it was legal in some standards to have code
4056understand it. This code point also will not fit in a 32-bit word on
3917points up to 0x7FFF_FFFF, but not higher, and this code point is higher.
4057ASCII platforms and therefore is non-portable between systems.
39184058
4059
39194060=end original
39204061
3921(S non_unicode) どのような標準でもない符号位置を使いました; 従って
4062(S non_unicode portable) どのような標準でもない符号位置を使いました; 従って
39224063これはおそらく Perl 以外の言語では理解できないでしょう。
4064この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、
4065システム間で移植性がありません。
4066
4067=begin original
4068
4069At one time, it was legal in some standards to have code points up to
40700x7FFF_FFFF, but not higher, and this code point is higher.
4071
4072=end original
4073
39234074一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、
39244075それ以上はそうではありません; そしてこの符号位置はそれ以上です。
39254076
39264077=begin original
39274078
39284079Acceptance of these code points is a Perl extension, and you should
39294080expect that nothing other than Perl can handle them; Perl itself on
39304081EBCDIC platforms before v5.24 does not handle them.
39314082
39324083=end original
39334084
39344085このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が
39354086これらを扱えるかについて何も想定するべきではありません;
39364087v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。
39374088
39384089=begin original
39394090
3940Code points above 0xFFFF_FFFF require larger than a 32 bit word.
3941
3942=end original
3943
39440xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。
3945
3946=begin original
3947
39484091Perl also makes no guarantees that the representation of these code
39494092points won't change at some point in the future, say when machines
39504093become available that have larger than a 64-bit word. At that time,
3951files written by an older Perl would require conversion before being
4094files containing any of these, written by an older Perl might require
3952readable by a newer Perl.
4095conversion before being readable by a newer Perl.
39534096
39544097=end original
39554098
39564099Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を
39574100利用可能になったときに、これらの符号位置の表現が変更されないことについて
39584101保証しません。
3959この時点で、より古い Perl で書かれたファイルは、より新しい Perl で
4102この時点で、より古い Perl で書かれた、このようなものをファイルは、
3960読み込めるようにする前に変換が必要です。
4103より新しい Perl で読み込めるようにする前に変換が必要です。
39614104
39624105=item Code point 0x%X is not Unicode, may not be portable
39634106
39644107=begin original
39654108
39664109(S non_unicode) You had a code point above the Unicode maximum
39674110of U+10FFFF.
39684111
39694112=end original
39704113
39714114(S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。
39724115
39734116=begin original
39744117
39754118Perl allows strings to contain a superset of Unicode code points, but
39764119these may not be accepted by other languages/systems. Further, even if
39774120these languages/systems accept these large code points, they may have
39784121chosen a different representation for them than the UTF-8-like one that
39794122Perl has, which would mean files are not exchangeable between them and
39804123Perl.
39814124
39824125=end original
39834126
39844127Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、
39854128これらは他の言語/システムは受け入れないかもしれません。
39864129さらに、たとえこれらの言語/システムがこれらの大きな符号位置を
39874130受け入れたとしても、それらは Perl の UTF-8 風のものと
39884131ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが
39894132交換できないことを意味します。
39904133
39914134=begin original
39924135
39934136On EBCDIC platforms, code points above 0x3FFF_FFFF have a different
39944137representation in Perl v5.24 than before, so any file containing these
39954138that was written before that version will require conversion before
39964139being readable by a later Perl.
39974140
39984141=end original
39994142
40004143EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は
40014144以前と異なった表現となっているので、このバージョンより前に書かれた
40024145これらを含むファイルは、それ以降の Perl で読み込み可能にする前に
40034146変換が必要です。
40044147
40054148=item %s: Command not found
40064149
40074150=begin original
40084151
40094152(A) You've accidentally run your script through B<csh> or another shell
40104153instead of Perl. Check the #! line, or manually feed your script into
40114154Perl yourself. The #! line at the top of your file could look like
40124155
40134156=end original
40144157
40154158(A) スクリプトを perl ではなく B<csh> またはその他のシェルで
40164159実行しようとしました。
40174160#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
40184161ファイルの先頭の #! 行は以下のようにします
40194162
4020 #!/usr/bin/perl -w
4163 #!/usr/bin/perl
40214164
4165=item %s: command not found
4166
4167=begin original
4168
4169(A) You've accidentally run your script through B<bash> or another shell
4170instead of Perl. Check the #! line, or manually feed your script into
4171Perl yourself. The #! line at the top of your file could look like
4172
4173=end original
4174
4175(A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。
4176#! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。
4177ファイルの先頭の #! 行は次のような形です:
4178
4179 #!/usr/bin/perl
4180
4181=item %s: command not found: %s
4182
4183=begin original
4184
4185(A) You've accidentally run your script through B<zsh> or another shell
4186instead of Perl. Check the #! line, or manually feed your script into
4187Perl yourself. The #! line at the top of your file could look like
4188
4189=end original
4190
4191(A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。
4192#! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。
4193ファイルの先頭の #! 行は次のような形です:
4194
4195 #!/usr/bin/perl
4196
40224197=item Compilation failed in require
40234198
40244199=begin original
40254200
40264201(F) Perl could not compile a file specified in a C<require> statement.
40274202Perl uses this generic message when none of the errors that it
40284203encountered were severe enough to halt compilation immediately.
40294204
40304205=end original
40314206
40324207(F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。
40334208Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった
40344209ときに、この一般的なメッセージを使います。
40354210
40364211=item Complex regular subexpression recursion limit (%d) exceeded
40374212
40384213=begin original
40394214
40404215(W regexp) The regular expression engine uses recursion in complex
40414216situations where back-tracking is required. Recursion depth is limited
40424217to 32766, or perhaps less in architectures where the stack cannot grow
40434218arbitrarily. ("Simple" and "medium" situations are handled without
40444219recursion and are not subject to a limit.) Try shortening the string
40454220under examination; looping in Perl code (e.g. with C<while>) rather than
40464221in the regular expression engine; or rewriting the regular expression so
40474222that it is simpler or backtracks less. (See L<perlfaq2> for information
40484223on I<Mastering Regular Expressions>.)
40494224
40504225=end original
40514226
40524227(W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では
40534228再帰を使用します。
40544229再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは
40554230おそらくもっと小さい値に制限されています。
40564231(「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は
40574232ありません。)
40584233調べる文字列を短くしてみてください; 正規表現エンジンではなく
40594234(C<while> などの) Perl コードを使ってループするか、
40604235あるいは正規表現をより単純にしたり、バックトラックが少なくなるように
40614236書き換えてください。
40624237(I<Mastering Regular Expressions> の情報については L<perlfaq2> を
40634238参照してください。)
40644239
40654240=item connect() on closed socket %s
40664241
40674242=begin original
40684243
40694244(W closed) You tried to do a connect on a closed socket. Did you forget
40704245to check the return value of your socket() call? See
40714246L<perlfunc/connect>.
40724247
40734248=end original
40744249
40754250(W closed) クローズされたソケットに connent を行なおうとしました。
40764251socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
40774252L<perlfunc/connect> を参照してください。
40784253
40794254=item Constant(%s): Call to &{$^H{%s}} did not return a defined value
40804255
40814256=begin original
40824257
40834258(F) The subroutine registered to handle constant overloading
40844259(see L<overload>) or a custom charnames handler (see
40854260L<charnames/CUSTOM TRANSLATORS>) returned an undefined value.
40864261
40874262=end original
40884263
40894264(F) 定数オーバーロード (L<overload> 参照) を扱うために登録された
40904265サブルーチンや、カスタム文字名ハンドラ
40914266(L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。
40924267
40934268=item Constant(%s): $^H{%s} is not defined
40944269
40954270=begin original
40964271
40974272(F) The parser found inconsistencies while attempting to define an
40984273overloaded constant. Perhaps you forgot to load the corresponding
40994274L<overload> pragma?
41004275
41014276=end original
41024277
41034278(F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。
41044279おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは?
41054280
41064281=item Constant is not %s reference
41074282
41084283=begin original
41094284
41104285(F) A constant value (perhaps declared using the C<use constant> pragma)
41114286is being dereferenced, but it amounts to the wrong type of reference.
41124287The message indicates the type of reference that was expected. This
41134288usually indicates a syntax error in dereferencing the constant value.
41144289See L<perlsub/"Constant Functions"> and L<constant>.
41154290
41164291=end original
41174292
41184293(F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が
41194294デリファレンスされましたが、間違った型のリファレンスになりました。
41204295このメッセージは想定されたリファレンスの型を示しています。
41214296これは普通定数値をデリファレンスするときの文法エラーを示しています。
41224297L<perlsub/"Constant Functions"> と L<constant> を参照してください。
41234298
4124=item Constants from lexical variables potentially modified elsewhere are
4299=item Constants from lexical variables potentially modified elsewhere are no longer permitted
4125deprecated
41264300
41274301=begin original
41284302
4129(D deprecated) You wrote something like
4303(F) You wrote something like
41304304
41314305=end original
41324306
4133(D deprecated) 次のようなものを書きましたが
4307(F) 次のようなものを書きましたが
41344308
41354309 my $var;
41364310 $sub = sub () { $var };
41374311
41384312=begin original
41394313
41404314but $var is referenced elsewhere and could be modified after the C<sub>
41414315expression is evaluated. Either it is explicitly modified elsewhere
41424316(C<$var = 3>) or it is passed to a subroutine or to an operator like
41434317C<printf> or C<map>, which may or may not modify the variable.
41444318
41454319=end original
41464320
41474321$var はどこか別の場所へのリファレンスで、
41484322C<sub> 式が評価された後に変更されるかもしれません。
41494323どこかで明示的に変更されたり、(C<$var = 3>) 、
41504324変数を変更するかどうかわからない、
41514325C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。
41524326
41534327=begin original
41544328
41554329Traditionally, Perl has captured the value of the variable at that
41564330point and turned the subroutine into a constant eligible for inlining.
41574331In those cases where the variable can be modified elsewhere, this
41584332breaks the behavior of closures, in which the subroutine captures
41594333the variable itself, rather than its value, so future changes to the
41604334variable are reflected in the subroutine's return value.
41614335
41624336=end original
41634337
41644338伝統的に、Perl はこの時点で変数の値を捕捉して、
41654339サブルーチンをインライン化可能な定数に変換します。
41664340変数が別の場所で変更可能な場合、
41674341これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので
41684342クロージャの振る舞いを壊します。
41694343従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。
41704344
41714345=begin original
41724346
4173This usage is deprecated, because the behavior is likely to change
4347This usage was deprecated, and as of Perl 5.32 is no longer allowed,
4174in a future version of Perl.
4348making it possible to change the behavior in the future.
41754349
41764350=end original
41774351
4178この使用法は廃止予定です; この振る舞いは将来のバージョンの Perl で
4352この使用法は廃止予定になり、Perl 5.32 もはや許されなくなりました。
4179変更予定だからです。
4353これにより将来振る舞いを換えることが可能になります。
41804354
41814355=begin original
41824356
41834357If you intended for the subroutine to be eligible for inlining, then
41844358make sure the variable is not referenced elsewhere, possibly by
41854359copying it:
41864360
41874361=end original
41884362
41894363サブルーチンをインライン化可能にするのが目的なら、この変数を、
41904364おそらくコピーすることで、他のどこからも参照されないようにしてください:
41914365
41924366 my $var2 = $var;
41934367 $sub = sub () { $var2 };
41944368
41954369=begin original
41964370
41974371If you do want this subroutine to be a closure that reflects future
41984372changes to the variable that it closes over, add an explicit C<return>:
41994373
42004374=end original
42014375
42024376このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる
42034377クロージャにしたいなら、明示的な C<return> を追加してください:
42044378
42054379 my $var;
42064380 $sub = sub () { return $var };
42074381
42084382=item Constant subroutine %s redefined
42094383
42104384=begin original
42114385
42124386(W redefine)(S) You redefined a subroutine which had previously
42134387been eligible for inlining. See L<perlsub/"Constant Functions">
42144388for commentary and workarounds.
42154389
42164390=end original
42174391
42184392(W redefine)(S) 以前にインライン化できる形であったサブルーチンを
42194393再定義しました。
42204394コメントと回避策については L<perlsub/"Constant Functions"> を
42214395参照してください。
42224396
42234397=item Constant subroutine %s undefined
42244398
42254399=begin original
42264400
42274401(W misc) You undefined a subroutine which had previously been eligible
42284402for inlining. See L<perlsub/"Constant Functions"> for commentary and
42294403workarounds.
42304404
42314405=end original
42324406
42334407(W misc)以前にインライン化できる形であったサブルーチンを
42344408未定義化しました。
42354409コメントと回避策については L<perlsub/"Constant Functions"> を
42364410参照してください。
42374411
42384412=item Constant(%s) unknown
42394413
42404414=begin original
42414415
42424416(F) The parser found inconsistencies either while attempting
42434417to define an overloaded constant, or when trying to find the
42444418character name specified in the C<\N{...}> escape. Perhaps you
42454419forgot to load the corresponding L<overload> pragma?
42464420
42474421=end original
42484422
42494423(F) パーサは、オーバーロードされた定数を定義しようとしたときか、
42504424C<\N{...}> エスケープで指定された文字名の検索中に矛盾を
42514425発見しました。
42524426おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは?
42534427
42544428=item :const is experimental
42554429
42564430=begin original
42574431
42584432(S experimental::const_attr) The "const" attribute is experimental.
42594433If you want to use the feature, disable the warning with C<no warnings
42604434'experimental::const_attr'>, but know that in doing so you are taking
42614435the risk that your code may break in a future Perl version.
42624436
42634437=end original
42644438
42654439(S experimental::const_attr) "const" 属性は実験的です。
42664440この機能を使いたい場合、
42674441C<no warnings 'experimental::const_attr'> で警告を無効にしてください;
42684442しかし、そうすることであなたのコードが将来の Perl のバージョンで
42694443壊れるリスクを取ることになります。
42704444
42714445=item :const is not permitted on named subroutines
42724446
42734447=begin original
42744448
42754449(F) The "const" attribute causes an anonymous subroutine to be run and
42764450its value captured at the time that it is cloned. Named subroutines are
42774451not cloned like this, so the attribute does not make sense on them.
42784452
42794453=end original
42804454
42814455(F) The "const" 属性は、クローンされたときに値を捕捉された
42824456無名サブルーチンになります。
42834457名前付きサブルーチンはこのようにクローンされないので、
42844458属性はこれらに関して意味を持ちません。
42854459
42864460=item Copy method did not return a reference
42874461
42884462=begin original
42894463
42904464(F) The method which overloads "=" is buggy. See
42914465L<overload/Copy Constructor>.
42924466
42934467=end original
42944468
42954469(F) "=" をオーバーロードしたメソッドはバグっています。
42964470L<overload/Copy Constructor> を参照してください。
42974471
42984472=item &CORE::%s cannot be called directly
42994473
43004474=begin original
43014475
43024476(F) You tried to call a subroutine in the C<CORE::> namespace
43034477with C<&foo> syntax or through a reference. Some subroutines
43044478in this package cannot yet be called that way, but must be
43054479called as barewords. Something like this will work:
43064480
43074481=end original
43084482
43094483(F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で
43104484呼び出そうとしました。
43114485このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で
43124486呼び出さなければなりません。
43134487以下のようなものは動作します:
43144488
43154489 BEGIN { *shove = \&CORE::push; }
43164490 shove @array, 1,2,3; # pushes on to @array
43174491
43184492=item CORE::%s is not a keyword
43194493
43204494=begin original
43214495
43224496(F) The CORE:: namespace is reserved for Perl keywords.
43234497
43244498=end original
43254499
43264500(F) CORE:: 名前空間は Perl キーワードとして予約されています。
43274501
43284502=item Corrupted regexp opcode %d > %d
43294503
43304504=begin original
43314505
43324506(P) This is either an error in Perl, or, if you're using
43334507one, your L<custom regular expression engine|perlreapi>. If not the
4334latter, report the problem through the L<perlbug> utility.
4508latter, report the problem to L<https://github.com/Perl/perl5/issues>.
43354509
43364510=end original
43374511
43384512(P) これは Perl か、あるいは、使っているなら
43394513L<カスタム正規表現エンジン|perlreapi> のエラーです。
4340後者でなければ、L<perlbug> ユーティリティを使って問題を報告してください。
4514後者でなければ、L<https://github.com/Perl/perl5/issues>
4515問題を報告してください。
43414516
43424517=item corrupted regexp pointers
43434518
43444519=begin original
43454520
43464521(P) The regular expression engine got confused by what the regular
43474522expression compiler gave it.
43484523
43494524=end original
43504525
43514526(P) 正規表現コンパイラが渡したもので、正規表現エンジンが
43524527処理できなくなりました。
43534528
43544529=item corrupted regexp program
43554530
43564531=begin original
43574532
43584533(P) The regular expression engine got passed a regexp program without a
43594534valid magic number.
43604535
43614536=end original
43624537
43634538(P) 正規表現エンジンが、有効なマジックナンバーを持たない
43644539regexp プログラムを渡しました。
43654540
43664541=item Corrupt malloc ptr 0x%x at 0x%x
43674542
43684543=begin original
43694544
43704545(P) The malloc package that comes with Perl had an internal failure.
43714546
43724547=end original
43734548
43744549(P) Perl に付属の malloc ルーティンが内部エラーを起こしました。
43754550
43764551=item Count after length/code in unpack
43774552
43784553=begin original
43794554
43804555(F) You had an unpack template indicating a counted-length string, but
43814556you have also specified an explicit size for the string. See
43824557L<perlfunc/pack>.
43834558
43844559=end original
43854560
43864561(F) unpack のテンプレートとしてカウント長文字列を示していますが、
43874562文字列の長さも明示的に指定しています。
43884563L<perlfunc/pack> を参照してください。
43894564
4565=item Declaring references is experimental
4566
4567=begin original
4568
4569(S experimental::declared_refs) This warning is emitted if you use
4570a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or
4571C<local>. Simply suppress the warning if you want to use the feature, but
4572know that in doing so you are taking the risk of using an experimental
4573feature which may change or be removed in a future Perl version:
4574
4575=end original
4576
4577(S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で
4578リファレンスコンストラクタを使うとこの警告が出力されます。
4579この機能を使いたい場合は単にこの警告を抑制してください; ただし
4580そうすることによってあなたは将来のバージョンの Perl で変更したり
4581削除されたりするかもしれない実験的な機能を使うというリスクを
4582取っていると言うことを知っておいてください:
4583
4584 no warnings "experimental::declared_refs";
4585 use feature "declared_refs";
4586 $fooref = my \$foo;
4587
43904588=for comment
43914589The following are used in lib/diagnostics.t for testing two =items that
43924590share the same description. Changes here need to be propagated to there
43934591
43944592=item Deep recursion on anonymous subroutine
43954593
43964594=item Deep recursion on subroutine "%s"
43974595
43984596=begin original
43994597
44004598(W recursion) This subroutine has called itself (directly or indirectly)
44014599100 times more than it has returned. This probably indicates an
44024600infinite recursion, unless you're writing strange benchmark programs, in
44034601which case it indicates something else.
44044602
44054603=end original
44064604
44074605(W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、
44084606return より 100 回多く行ないました。
44094607変わったベンチマークプログラムを書いているのでなければ、無限再帰の
44104608可能性があります; ベンチマークを書いている場合には、別のことを示しています。
44114609
44124610=begin original
44134611
44144612This threshold can be changed from 100, by recompiling the F<perl> binary,
44154613setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value.
44164614
44174615=end original
44184616
44194617この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に
44204618設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。
44214619
44224620=item (?(DEFINE)....) does not allow branches in regex; marked by
44234621S<<-- HERE> in m/%s/
44244622
44254623=begin original
44264624
44274625(F) You used something like C<(?(DEFINE)...|..)> which is illegal. The
44284626most likely cause of this error is that you left out a parenthesis inside
44294627of the C<....> part.
44304628
44314629=end original
44324630
44334631(F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。
44344632このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを
44354633そのままにしたことです。
44364634
44374635=begin original
44384636
44394637The S<<-- HERE> shows whereabouts in the regular expression the problem was
44404638discovered.
44414639
44424640=end original
44434641
44444642S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
44454643
44464644=item %s defines neither package nor VERSION--version check failed
44474645
44484646=begin original
44494647
44504648(F) You said something like "use Module 42" but in the Module file
44514649there are neither package declarations nor a C<$VERSION>.
44524650
44534651=end original
44544652
44554653(F) "use Module 42" のようなことをしましたが、Module ファイルに
44564654パッケージ定義がないか、C<$VERSION> がありませんでした。
44574655
4458=item delete argument is index/value array slice, use array slice
4459
4460=begin original
4461
4462(F) You used index/value array slice syntax (C<%array[...]>) as
4463the argument to C<delete>. You probably meant C<@array[...]> with
4464an @ symbol instead.
4465
4466=end original
4467
4468(F) インデックス/値配列スライス文法 (C<%array[...]>) を、C<delete> への
4469引数として使いました。
4470おそらく @ シンボルを使って C<@array[...]> としたかったのでしょう。
4471
4472=item delete argument is key/value hash slice, use hash slice
4473
4474=begin original
4475
4476(F) You used key/value hash slice syntax (C<%hash{...}>) as the argument to
4477C<delete>. You probably meant C<@hash{...}> with an @ symbol instead.
4478
4479=end original
4480
4481(F) キー/値ハッシュスライス文法 (C<%hash{...}>) を、C<delete> への
4482引数として使いました。
4483おそらく @ シンボルを使って C<@hash{...}> としたかったのでしょう。
4484
44854656=item delete argument is not a HASH or ARRAY element or slice
44864657
44874658=begin original
44884659
44894660(F) The argument to C<delete> must be either a hash or array element,
44904661such as:
44914662
44924663=end original
44934664
44944665(F) C<delete> の引数は以下のようにハッシュか配列の要素であるか:
44954666
44964667 $foo{$bar}
44974668 $ref->{"susie"}[12]
44984669
44994670=begin original
45004671
45014672or a hash or array slice, such as:
45024673
45034674=end original
45044675
4505あるいは以下のようにハッシュか配列のスライスでなければなりません:
4676あるいは以下のようにハッシュか配列のスライス:
45064677
45074678 @foo[$bar, $baz, $xyzzy]
45084679 @{$ref->[12]}{"susie", "queue"}
45094680
4681=begin original
4682
4683or a hash key/value or array index/value slice, such as:
4684
4685=end original
4686
4687あるいは以下のようにハッシュのキー/値や配列のインデックス/値で
4688なければなりません:
4689
4690 %foo[$bar, $baz, $xyzzy]
4691 %{$ref->[12]}{"susie", "queue"}
4692
45104693=item Delimiter for here document is too long
45114694
45124695=begin original
45134696
45144697(F) In a here document construct like C<<<FOO>, the label C<FOO> is too
45154698long for Perl to handle. You have to be seriously twisted to write code
45164699that triggers this error.
45174700
45184701=end original
45194702
45204703(F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が
45214704Perl が扱うには長すぎました。
45224705このエラーを起こすようなコードを書くには相当ひねくれている必要があります。
45234706
4524=item Deprecated use of my() in false conditional
4707=item Deprecated use of my() in false conditional. This will be a fatal error in Perl 5.30
45254708
45264709=begin original
45274710
45284711(D deprecated) You used a declaration similar to C<my $x if 0>. There
45294712has been a long-standing bug in Perl that causes a lexical variable
45304713not to be cleared at scope exit when its declaration includes a false
45314714conditional. Some people have exploited this bug to achieve a kind of
45324715static variable. Since we intend to fix this bug, we don't want people
45334716relying on this behavior. You can achieve a similar static effect by
45344717declaring the variable in a separate block outside the function, eg
45354718
45364719=end original
45374720
45384721(D deprecated) C<my $x if 0> のような定義を行いました。
45394722これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が
45404723クリアされないという、Perl に長い間存在したバグです。
45414724ある種の静的変数を実現するためにこのバグを悪用する人々もいます。
45424725私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して
45434726ほしくありません。
45444727関数外の別のブロックで変数を宣言することで似たような静的な効果を
45454728達成できます; 例えば:
45464729
45474730 sub f { my $x if 0; return $x++ }
45484731
45494732=begin original
45504733
45514734becomes
45524735
45534736=end original
45544737
45554738これは以下のようにします:
45564739
45574740 { my $x; sub f { return $x++ } }
45584741
45594742=begin original
45604743
45614744Beginning with perl 5.10.0, you can also use C<state> variables to have
45624745lexicals that are initialized only once (see L<feature>):
45634746
45644747=end original
45654748
45664749perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も
45674750使えます (L<feature> を参照してください):
45684751
45694752 sub f { state $x; return $x++ }
45704753
4754=begin original
4755
4756This use of C<my()> in a false conditional has been deprecated since
4757Perl 5.10, and it will become a fatal error in Perl 5.30.
4758
4759=end original
4760
4761偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定で、
4762Perl 5.30 で致命的エラーになる予定です。
4763
45714764=item DESTROY created new reference to dead object '%s'
45724765
45734766=begin original
45744767
45754768(F) A DESTROY() method created a new reference to the object which is
45764769just being DESTROYed. Perl is confused, and prefers to abort rather
45774770than to create a dangling reference.
45784771
45794772=end original
45804773
45814774(F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの
45824775新しいリファレンスを作りました。
45834776Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。
45844777
45854778=item Did not produce a valid header
45864779
45874780=begin original
45884781
4589See Server error.
4782See L</500 Server error>.
45904783
45914784=end original
45924785
4593"Server error" を参照してください。
4786L</500 Server error> を参照してください。
45944787
45954788=item %s did not return a true value
45964789
45974790=begin original
45984791
45994792(F) A required (or used) file must return a true value to indicate that
46004793it compiled correctly and ran its initialization code correctly. It's
46014794traditional to end such a file with a "1;", though any true value would
46024795do. See L<perlfunc/require>.
46034796
46044797=end original
46054798
46064799(F) require (や use) されたファイルは、正常にコンパイルされ、
46074800初期化コードを正しく実行したことを示すために、真を返さなければなりません。
46084801こういったファイルは、"1;" で終わるようにするのが習慣ですが、
46094802真となる値であれば、何でもかまいません。
46104803L<perlfunc/require> を参照してください。
46114804
46124805=item (Did you mean &%s instead?)
46134806
46144807=begin original
46154808
46164809(W misc) You probably referred to an imported subroutine &FOO as $FOO or
46174810some such.
46184811
46194812=end original
46204813
46214814(W misc) おそらく import したサブルーチン &FOO を $FOO として
46224815参照したようなことでしょう。
46234816
46244817=item (Did you mean "local" instead of "our"?)
46254818
46264819=begin original
46274820
4628(W misc) Remember that "our" does not localize the declared global
4821(W shadow) Remember that "our" does not localize the declared global
46294822variable. You have declared it again in the same lexical scope, which
46304823seems superfluous.
46314824
46324825=end original
46334826
4634(W misc) "our" 宣言されたグローバル変数を local 化しないことを
4827(W shadow) "our" 宣言されたグローバル変数を local 化しないことを
46354828忘れないで下さい。
46364829これをもう一度同じレキシカルスコープで宣言していますが、
46374830不必要でしょう。
46384831
46394832=item (Did you mean $ or @ instead of %?)
46404833
46414834=begin original
46424835
46434836(W) You probably said %hash{$key} when you meant $hash{$key} or
46444837@hash{@keys}. On the other hand, maybe you just meant %hash and got
46454838carried away.
46464839
46474840=end original
46484841
46494842(W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と
46504843したのでしょう。
46514844あるいは、単に %hash としたくてやりすぎたのでしょう。
46524845
46534846=item Died
46544847
46554848=begin original
46564849
46574850(F) You passed die() an empty string (the equivalent of C<die "">) or
46584851you called it with no args and C<$@> was empty.
46594852
46604853=end original
46614854
46624855(F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで
46634856呼び出して、C<$@> が空でした。
46644857
46654858=item Document contains no data
46664859
46674860=begin original
46684861
4669See Server error.
4862See L</500 Server error>.
46704863
46714864=end original
46724865
4673"Server error" を参照してください。
4866L</500 Server error> を参照してください。
46744867
46754868=item %s does not define %s::VERSION--version check failed
46764869
46774870=begin original
46784871
46794872(F) You said something like "use Module 42" but the Module did not
46804873define a C<$VERSION>.
46814874
46824875=end original
46834876
46844877(F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を
46854878定義していません。
46864879
46874880=item '/' does not take a repeat count
46884881
46894882=begin original
46904883
46914884(F) You cannot put a repeat count of any kind right after the '/' code.
46924885See L<perlfunc/pack>.
46934886
46944887=end original
46954888
46964889(F) '/' の直後には繰り返し数を指定できません。
46974890L<perlfunc/pack> を参照してください。
46984891
4892=item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"?
4893
4894=begin original
4895
4896(D deprecated) Previously C< do "somefile"; > would search the current
4897directory for the specified file. Since perl v5.26.0, F<.> has been
4898removed from C<@INC> by default, so this is no longer true. To search the
4899current directory (and only the current directory) you can write
4900C< do "./somefile"; >.
4901
4902=end original
4903
4904(D deprecated) 以前は、C< do "somefile"; > は指定されたファイルを
4905カレントディレクトリから探していました。
4906perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、
4907これはもはや真ではありません。
4908カレントディレクトリを(カレントディレクトリだけを)探すためには、
4909C< do "./somefile"; > と書けます。
4910
46994911=item Don't know how to get file name
47004912
47014913=begin original
47024914
47034915(P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was
47044916somehow called on another platform. This should not happen.
47054917
47064918=end original
47074919
47084920(P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか
47094921他のプラットフォームで呼び出されました。
47104922これは起きないはずです。
47114923
47124924=item Don't know how to handle magic of type \%o
47134925
47144926=begin original
47154927
47164928(P) The internal handling of magical variables has been cursed.
47174929
47184930=end original
47194931
47204932(P) マジカル変数の内部処理がおかしくなっています。
47214933
47224934=item do_study: out of memory
47234935
47244936=begin original
47254937
47264938(P) This should have been caught by safemalloc() instead.
47274939
47284940=end original
47294941
47304942(P) これは、本来 safemalloc() で引っ掛かるはずのものです。
47314943
47324944=item (Do you need to predeclare %s?)
47334945
47344946=begin original
47354947
47364948(S syntax) This is an educated guess made in conjunction with the message
47374949"%s found where operator expected". It often means a subroutine or module
47384950name is being referenced that hasn't been declared yet. This may be
47394951because of ordering problems in your file, or because of a missing
47404952"sub", "package", "require", or "use" statement. If you're referencing
47414953something that isn't defined yet, you don't actually have to define the
47424954subroutine or package before the current location. You can use an empty
47434955"sub foo;" or "package FOO;" to enter a "forward" declaration.
47444956
47454957=end original
47464958
47474959(S syntax) これは "%s found where operator expected" メッセージと共に
47484960表示される教育的な推測です。
47494961これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている
47504962ことを意味します。
47514963これはファイル内部での順番のためであったり、"sub", "package", "require",
47524964"use" 文がないためであったりします。
47534965もしまだ定義されていないものを参照したい場合、現在位置より前に実際に
47544966サブルーチンやパッケージを定義する必要はありません。
47554967空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。
47564968
4757=item dump() better written as CORE::dump()
4969=item dump() must be written as CORE::dump() as of Perl 5.30
47584970
47594971=begin original
47604972
4761(W misc) You used the obsolescent C<dump()> built-in function, without fully
4973(F) You used the obsolete C<dump()> built-in function. That was deprecated in
4762qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>.
4974Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format:
4975C<CORE::dump()>.
47634976
47644977=end original
47654978
4766(W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と
4979(F) 古いものである C<dump()> 組み込み関数を使いました。
4767いうように完全修飾せずに使いました。
4980これは Perl 5.8.0 から廃止予定でした。
4768おそこれはタイプミスす。
4981Perl 5.30 かこれは C<CORE::dump()> というように完全修飾形式
4982書かなければなりません。
4983
4984=begin original
4985
4986See L<perlfunc/dump>.
4987
4988=end original
4989
47694990L<perlfunc/dump> を参照してください。
47704991
47714992=item dump is not supported
47724993
47734994=begin original
47744995
47754996(F) Your machine doesn't support dump/undump.
47764997
47774998=end original
47784999
47795000(F) このマシンは dump/undump に対応していません。
47805001
47815002=item Duplicate free() ignored
47825003
47835004=begin original
47845005
47855006(S malloc) An internal routine called free() on something that had
47865007already been freed.
47875008
47885009=end original
47895010
47905011(S malloc) 既に解放されているものに対して、内部ルーティンが free() を
47915012行なおうとしました。
47925013
47935014=item Duplicate modifier '%c' after '%c' in %s
47945015
47955016=begin original
47965017
47975018(W unpack) You have applied the same modifier more than once after a
47985019type in a pack template. See L<perlfunc/pack>.
47995020
48005021=end original
48015022
48025023(W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。
48035024L<perlfunc/pack> を参照してください。
48045025
48055026=item elseif should be elsif
48065027
48075028=begin original
48085029
48095030(S syntax) There is no keyword "elseif" in Perl because Larry thinks
48105031it's ugly. Your code will be interpreted as an attempt to call a method
48115032named "elseif" for the class returned by the following block. This is
48125033unlikely to be what you want.
48135034
48145035=end original
48155036
48165037(S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは
48175038ありません。
48185039このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを
48195040呼び出そうとしていると解釈されます。
48205041これは望んでいることではないはずです。
48215042
48225043=item Empty \%c in regex; marked by S<<-- HERE> in m/%s/
48235044
5045=item Empty \%c{}
5046
48245047=item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/
48255048
48265049=begin original
48275050
4828(F) C<\p> and C<\P> are used to introduce a named Unicode property, as
5051(F) You used something like C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, or
4829described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in
5052C<\x> without specifying anything for it to operate on.
4830a regular expression without specifying the property name.
48315053
48325054=end original
48335055
4834(F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されていよう
5056(F) 何を操作すかを指定せず
4835名前付き Unicode プロパティ導入するために使われ
5057C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使した
4836正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。
48375058
5059=begin original
5060
5061Unfortunately, for backwards compatibility reasons, an empty C<\x> is
5062legal outside S<C<use re 'strict'>> and expands to a NUL character.
5063
5064=end original
5065
5066残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の
5067C<\x> は正当で、一つの NUL 文字に展開されます。
5068
5069=item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/
5070
5071=begin original
5072
5073(W regexp) (only under C<S<use re 'strict'>>)
5074C<(?)> does nothing, so perhaps this is a typo.
5075
5076=end original
5077
5078(W regexp) (C<S<use re 'strict'>> の下のみ)
5079C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。
5080
5081=item ${^ENCODING} is no longer supported
5082
5083=begin original
5084
5085(F) The special variable C<${^ENCODING}>, formerly used to implement
5086the C<encoding> pragma, is no longer supported as of Perl 5.26.0.
5087
5088=end original
5089
5090(F) 以前は C<encoding> プラグマの実装に使われていた
5091特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。
5092
5093=begin original
5094
5095Setting it to anything other than C<undef> is a fatal error as of Perl
50965.28.
5097
5098=end original
5099
5100これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。
5101
48385102=item entering effective %s failed
48395103
48405104=begin original
48415105
48425106(F) While under the C<use filetest> pragma, switching the real and
48435107effective uids or gids failed.
48445108
48455109=end original
48465110
48475111(F) C<use filetest> プラグマを使っている間に、
48485112実と実効の UID や GID の切り替えに失敗しました。
48495113
48505114=item %ENV is aliased to %s
48515115
48525116=begin original
48535117
48545118(F) You're running under taint mode, and the C<%ENV> variable has been
48555119aliased to another hash, so it doesn't reflect anymore the state of the
48565120program's environment. This is potentially insecure.
48575121
48585122=end original
48595123
48605124(F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに
48615125なっているので、これ以上プログラムの環境の状態を反映しません。
48625126これは潜在的にはセキュアではありません。
48635127
48645128=item Error converting file specification %s
48655129
48665130=begin original
48675131
48685132(F) An error peculiar to VMS. Because Perl may have to deal with file
48695133specifications in either VMS or Unix syntax, it converts them to a
48705134single form when it must operate on them directly. Either you've passed
48715135an invalid file specification to Perl, or you've found a case the
48725136conversion routines don't handle. Drat.
48735137
48745138=end original
48755139
48765140(F) VMS に固有のエラーです。
48775141Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、
48785142直接操作しなければならない場合は変換します。
48795143不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを
48805144発見したかです。
48815145ちぇっ。
48825146
48835147=item Eval-group in insecure regular expression
48845148
48855149=begin original
48865150
48875151(F) Perl detected tainted data when trying to compile a regular
48885152expression that contains the C<(?{ ... })> zero-width assertion, which
48895153is unsafe. See L<perlre/(?{ code })>, and L<perlsec>.
48905154
48915155=end original
48925156
48935157C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと
48945158したときに、Perl は汚染されたデータを検出しました;
48955159これは安全ではありません。
48965160L<perlre/(?{ code })> と L<perlsec> を参照してください。
48975161
48985162=item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/
48995163
49005164=begin original
49015165
49025166(F) Perl tried to compile a regular expression containing the
49035167C<(?{ ... })> zero-width assertion at run time, as it would when the
49045168pattern contains interpolated values. Since that is a security risk,
49055169it is not allowed. If you insist, you may still do this by using the
49065170C<re 'eval'> pragma or by explicitly building the pattern from an
49075171interpolated string at run time and using that in an eval(). See
49085172L<perlre/(?{ code })>.
49095173
49105174=end original
49115175
49125176(F) Perl が実行時に、変数展開された値を含んでいて、
49135177C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。
49145178これはセキュリティ上の危険があるので、許可されていません。
49155179どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に
49165180変数展開された文字列からパターンを作成して、それを eval() の中で使うことで
49175181実行できます。
49185182L<perlre/(?{ code })> を参照してください。
49195183
49205184=item Eval-group not allowed, use re 'eval' in regex m/%s/
49215185
49225186=begin original
49235187
49245188(F) A regular expression contained the C<(?{ ... })> zero-width
49255189assertion, but that construct is only allowed when the C<use re 'eval'>
49265190pragma is in effect. See L<perlre/(?{ code })>.
49275191
49285192=end original
49295193
49305194(F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、
49315195この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。
49325196L<perlre/(?{ code })> を参照してください。
49335197
49345198=item EVAL without pos change exceeded limit in regex; marked by
49355199S<<-- HERE> in m/%s/
49365200
49375201=begin original
49385202
49395203(F) You used a pattern that nested too many EVAL calls without consuming
49405204any text. Restructure the pattern so that text is consumed.
49415205
49425206=end original
49435207
49445208(F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる
49455209パターンを使いました。
49465210テキストを読み込むようにパターンを再構築してください。
49475211
49485212=begin original
49495213
49505214The S<<-- HERE> shows whereabouts in the regular expression the problem was
49515215discovered.
49525216
49535217=end original
49545218
49555219S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
49565220
49575221=item Excessively long <> operator
49585222
49595223=begin original
49605224
49615225(F) The contents of a <> operator may not exceed the maximum size of a
49625226Perl identifier. If you're just trying to glob a long list of
49635227filenames, try using the glob() operator, or put the filenames into a
49645228variable and glob that.
49655229
49665230=end original
49675231
49685232(F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。
49695233単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を
49705234使うか、ファイル名を変数に入れて、それをグロブしてください。
49715235
49725236=item exec? I'm not *that* kind of operating system
49735237
49745238=begin original
49755239
49765240(F) The C<exec> function is not implemented on some systems, e.g., Symbian
49775241OS. See L<perlport>.
49785242
49795243=end original
49805244
49815245(F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。
49825246L<perlport> を参照してください。
49835247
4984=item Execution of %s aborted due to compilation errors.
5248=item %sExecution of %s aborted due to compilation errors.
49855249
49865250=begin original
49875251
49885252(F) The final summary message when a Perl compilation fails.
49895253
49905254=end original
49915255
49925256(F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。
49935257
49945258=item exists argument is not a HASH or ARRAY element or a subroutine
49955259
49965260=begin original
49975261
49985262(F) The argument to C<exists> must be a hash or array element or a
49995263subroutine with an ampersand, such as:
50005264
50015265=end original
50025266
50035267(F) C<exists> の引数は以下のように、ハッシュや配列の要素か、
50045268アンパサンド付きのサブルーチンでなければなりません:
50055269
50065270 $foo{$bar}
50075271 $ref->{"susie"}[12]
50085272 &do_something
50095273
50105274=item exists argument is not a subroutine name
50115275
50125276=begin original
50135277
50145278(F) The argument to C<exists> for C<exists &sub> must be a subroutine name,
50155279and not a subroutine call. C<exists &sub()> will generate this error.
50165280
50175281=end original
50185282
50195283(F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、
50205284サブルーチン呼び出しではありません。
50215285C<exists &sub()> はこのエラーを生成します。
50225286
50235287=item Exiting eval via %s
50245288
50255289=begin original
50265290
50275291(W exiting) You are exiting an eval by unconventional means, such as a
50285292goto, or a loop control statement.
50295293
50305294=end original
50315295
50325296(W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。
50335297
50345298=item Exiting format via %s
50355299
50365300=begin original
50375301
50385302(W exiting) You are exiting a format by unconventional means, such as a
50395303goto, or a loop control statement.
50405304
50415305=end original
50425306
50435307(W exiting) goto やループ制御文といった、異例な形でフォーマットを
50445308終了しました。
50455309
50465310=item Exiting pseudo-block via %s
50475311
50485312=begin original
50495313
50505314(W exiting) You are exiting a rather special block construct (like a
50515315sort block or subroutine) by unconventional means, such as a goto, or a
50525316loop control statement. See L<perlfunc/sort>.
50535317
50545318=end original
50555319
50565320(W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、
50575321goto やループ制御文といった異例な方法で終了しました。
50585322L<perlfunc/sort> を参照してください。
50595323
50605324=item Exiting subroutine via %s
50615325
50625326=begin original
50635327
50645328(W exiting) You are exiting a subroutine by unconventional means, such
50655329as a goto, or a loop control statement.
50665330
50675331=end original
50685332
50695333(W exiting) goto やループ制御文など、おかしな方法でサブルーチンを
50705334抜けました。
50715335
50725336=item Exiting substitution via %s
50735337
50745338=begin original
50755339
50765340(W exiting) You are exiting a substitution by unconventional means, such
50775341as a return, a goto, or a loop control statement.
50785342
50795343=end original
50805344
50815345(W exit) return や goto やループ制御文など、おかしな方法で置換を
50825346抜けました。
50835347
50845348=item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/
50855349
50865350=begin original
50875351
50885352(F) You wrote something like
50895353
50905354=end original
50915355
50925356(F) 以下のようなものを書きました
50935357
50945358 (?13
50955359
50965360=begin original
50975361
50985362to denote a capturing group of the form
50995363L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>,
51005364but omitted the C<")">.
51015365
51025366=end original
51035367
51045368to denote a capturing group of the form
51055369L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の
51065370捕捉グループを示していますが C<")"> が省略されています。
51075371
5108=item Expecting '(?flags:(?[...' in regex; marked by S<<-- HERE> in m/%s/
5372=item Expecting interpolated extended charclass in regex; marked by <--
5373HERE in m/%s/
51095374
51105375=begin original
51115376
5112(F) The C<(?[...])> extended character class regular expression construct
5377(F) It looked like you were attempting to interpolate an
5113only allows character classes (including character class escapes like
5378already-compiled extended character class, like so:
5114C<\d>), operators, and parentheses. The one exception is C<(?flags:...)>
5115containing at least one flag and exactly one C<(?[...])> construct.
5116This allows a regular expression containing just C<(?[...])> to be
5117interpolated. If you see this error message, then you probably
5118have some other C<(?...)> construct inside your character class. See
5119L<perlrecharclass/Extended Bracketed Character Classes>.
51205379
51215380=end original
51225381
5123(F) C<(?[...])> 拡張文字クラス正規表現構文には、(C<\d> のよう
5382(F) 次のように、既にコンパイルされている拡張文字クラスを結合しよう
5124文字クラスエスケープを含む) 文字クラス、演算子、かっこのみが許されます
5383したように見えます:
5125一つの例外は正確に一つだけのフラグと一つだけの C<(?[...])> を含む
5126C<(?flags:...)> です。
5127これにより C<(?[...])> だけを含む正規表現を変数展開できるようになります。
5128このエラーメッセージが表示された時は、おそらく文字クラスの中に他の
5129C<(?...)> 構文が含まれています。
5130L<perlrecharclass/Extended Bracketed Character Classes> を参照してください。
51315384
5385 my $thai_or_lao = qr/(?[ \p{Thai} + \p{Lao} ])/;
5386 ...
5387 qr/(?[ \p{Digit} & $thai_or_lao ])/;
5388
5389=begin original
5390
5391But the marked code isn't syntactically correct to be such an
5392interpolated class.
5393
5394=end original
5395
5396しかしマークされたコードは、そのような結合されたクラスとして
5397文法的に正しくありません。
5398
51325399=item Experimental aliasing via reference not enabled
51335400
51345401=begin original
51355402
51365403(F) To do aliasing via references, you must first enable the feature:
51375404
51385405=end original
51395406
51405407(F) リファレンスによる別名をするためには、最初にこの機能を
51415408有効にしなければなりません:
51425409
51435410 no warnings "experimental::refaliasing";
51445411 use feature "refaliasing";
51455412 \$x = \$y;
51465413
51475414=item Experimental %s on scalar is now forbidden
51485415
51495416=begin original
51505417
51515418(F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>,
51525419C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a
51535420scalar argument. This experiment is considered unsuccessful, and
51545421has been removed. The C<postderef> feature may meet your needs better.
51555422
51565423=end original
51575424
51585425(F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>,
51595426C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を
51605427スカラ引数で呼び出すことができました。
51615428この実験は失敗と考えられ、削除されました。
51625429C<postderef> 機能はあなたの要求により良く一致します。
51635430
51645431=item Experimental subroutine signatures not enabled
51655432
51665433=begin original
51675434
51685435(F) To use subroutine signatures, you must first enable them:
51695436
51705437=end original
51715438
51725439(F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません:
51735440
51745441 no warnings "experimental::signatures";
51755442 use feature "signatures";
51765443 sub foo ($left, $right) { ... }
51775444
5178=item Experimental "%s" subs not enabled
5179
5180=begin original
5181
5182(F) To use lexical subs, you must first enable them:
5183
5184=end original
5185
5186(F) レキシカルサブルーチンを使うためには、まずそれを有効にしなければなりません:
5187
5188 no warnings 'experimental::lexical_subs';
5189 use feature 'lexical_subs';
5190 my sub foo { ... }
5191
51925445=item Explicit blessing to '' (assuming package main)
51935446
51945447=begin original
51955448
51965449(W misc) You are blessing a reference to a zero length string. This has
51975450the effect of blessing the reference into the package main. This is
51985451usually not what you want. Consider providing a default target package,
51995452e.g. bless($ref, $p || 'MyPackage');
52005453
52015454=end original
52025455
52035456(W misc) リファレンスを長さゼロの文字列に bless しました。
52045457これはリファレンスをパッケージ main に bless する効果があります。
52055458これは普通あなたが望んでいることではありません。
52065459(bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット
52075460パッケージを提供することを考慮してください;
52085461
52095462=item %s: Expression syntax
52105463
52115464=begin original
52125465
52135466(A) You've accidentally run your script through B<csh> instead of Perl.
52145467Check the #! line, or manually feed your script into Perl yourself.
52155468
52165469=end original
52175470
52185471(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
52195472#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
52205473
52215474=item %s failed--call queue aborted
52225475
52235476=begin original
52245477
52255478(F) An untrapped exception was raised while executing a UNITCHECK,
52265479CHECK, INIT, or END subroutine. Processing of the remainder of the
52275480queue of such routines has been prematurely ended.
52285481
52295482=end original
52305483
52315484(F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない
52325485例外が発生しました。
52335486このようなルーチンのキューの残りの処理は途中で終了しました。
52345487
5235=item Failed to close in-place edit file %s: %s
5488=item Failed to close in-place work file %s: %s
52365489
52375490=begin original
52385491
52395492(F) Closing an output file from in-place editing, as with the C<-i>
52405493command-line switch, failed.
52415494
52425495=end original
52435496
52445497(F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを
52455498閉じるのに失敗しました。
52465499
52475500=item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/
52485501
52495502=begin original
52505503
52515504(W regexp)(F) A character class range must start and end at a literal
52525505character, not another character class like C<\d> or C<[:alpha:]>. The "-"
52535506in your false range is interpreted as a literal "-". In a C<(?[...])>
52545507construct, this is an error, rather than a warning. Consider quoting
52555508the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression
52565509the problem was discovered. See L<perlre>.
52575510
52585511=end original
52595512
52605513(W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような
52615514他の文字クラスではなく、リテラル文字でなければなりません。
52625515間違った範囲の "-" はリテラルの "-" と解釈されます。
52635516C<(?[...])> 構文では、これは警告ではなくエラーです。
52645517"-" を "\-" とクォートすることを考慮してください。
52655518S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
52665519L<perlre> を参照してください。
52675520
52685521=item Fatal VMS error (status=%d) at %s, line %d
52695522
52705523=begin original
52715524
52725525(P) An error peculiar to VMS. Something untoward happened in a VMS
52735526system service or RTL routine; Perl's exit status should provide more
52745527details. The filename in "at %s" and the line number in "line %d" tell
52755528you which section of the Perl source code is distressed.
52765529
52775530=end original
52785531
52795532(P) VMS に固有のエラーです。
52805533何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました;
52815534Perl の終了コードに詳細が示されています。
52825535"at %s" のファイル名と "line %d" の行番号は、問題の起こった
52835536Perl ソースコードの位置を示しています。
52845537
52855538=item fcntl is not implemented
52865539
52875540=begin original
52885541
52895542(F) Your machine apparently doesn't implement fcntl(). What is this, a
52905543PDP-11 or something?
52915544
52925545=end original
52935546
52945547(F) このマシンでは、fcntl() が実装されていないように見えます。
52955548PDP-11 か何かでしょうか。
52965549
52975550=item FETCHSIZE returned a negative value
52985551
52995552=begin original
53005553
53015554(F) A tied array claimed to have a negative number of elements, which
53025555is not possible.
53035556
53045557=end original
53055558
53065559(F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。
53075560
53085561=item Field too wide in 'u' format in pack
53095562
53105563=begin original
53115564
53125565(W pack) Each line in an uuencoded string starts with a length indicator
53135566which can't encode values above 63. So there is no point in asking for
53145567a line length bigger than that. Perl will behave as if you specified
53155568C<u63> as the format.
53165569
53175570=end original
53185571
53195572(W pack) uuencode された文字列の各行が、63 以上にエンコードできない
53205573長さ識別子から始まっています。
53215574それで、これより長い行の長さを問い合わせるところがありません。
53225575Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。
53235576
5577=item File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead.
5578
5579=begin original
5580
5581(D deprecated) C<< File::Glob >> has a function called C<< glob >>, which
5582just calls C<< bsd_glob >>. However, its prototype is different from the
5583prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should
5584not be used.
5585
5586=end original
5587
5588(D deprecated) C<< File::Glob >> は C<< glob >> と呼ばれる関数を持っています;
5589これは単に C<< bsd_glob >> を呼び出します。
5590しかし、そのプロトタイプは C<< CORE::glob >> のプロトタイプと異なるので、
5591C<< File::Glob::glob >> は使われるべきではありません。
5592
5593=begin original
5594
5595C<< File::Glob::glob() >> was deprecated in perl 5.8.0. A deprecation
5596message was issued from perl 5.26.0 onwards, and the function will
5597disappear in perl 5.30.0.
5598
5599=end original
5600
5601C<< File::Glob::glob() >> は perl 5.8.0 で廃止予定になりました。
5602廃止予定メッセージは perl 5.26.0 以降で出力され、
5603この関数は perl 5.30.0 で削除される予定です。
5604
5605=begin original
5606
5607Code using C<< File::Glob::glob() >> should call
5608C<< File::Glob::bsd_glob() >> instead.
5609
5610=end original
5611
5612C<< File::Glob::glob() >> を使っているコードは、代わりに
5613C<< File::Glob::bsd_glob() >> を使う必要があります。
5614
53245615=item Filehandle %s opened only for input
53255616
53265617=begin original
53275618
53285619(W io) You tried to write on a read-only filehandle. If you intended
53295620it to be a read-write filehandle, you needed to open it with "+<" or
53305621"+>" or "+>>" instead of with "<" or nothing. If you intended only to
53315622write the file, use ">" or ">>". See L<perlfunc/open>.
53325623
53335624=end original
53345625
53355626(W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。
53365627読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、
53375628何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて
53385629open する必要があります。
53395630ライトオンリーであれば、">" や ">>" を使ってください。
53405631L<perlfunc/open> を参照してください。
53415632
53425633=item Filehandle %s opened only for output
53435634
53445635=begin original
53455636
53465637(W io) You tried to read from a filehandle opened only for writing, If
53475638you intended it to be a read/write filehandle, you needed to open it
53485639with "+<" or "+>" or "+>>" instead of with ">". If you intended only to
53495640read from the file, use "<". See L<perlfunc/open>. Another possibility
53505641is that you attempted to open filedescriptor 0 (also known as STDIN) for
53515642output (maybe you closed STDIN earlier?).
53525643
53535644=end original
53545645
53555646(W io) 書き込み専用のファイルハンドルから読み込もうとしました;
53565647読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に
53575648">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。
53585649読み込み専用にしたい場合は、"<" を使ってください。
53595650L<perlfunc/open> を参照してください。
53605651他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を
53615652出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。
53625653
53635654=item Filehandle %s reopened as %s only for input
53645655
53655656=begin original
53665657
53675658(W io) You opened for reading a filehandle that got the same filehandle id
53685659as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR
53695660previously.
53705661
53715662=end original
53725663
53735664(W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の
53745665ファイルハンドルを読み込み用に開こうとしました。
53755666これは、以前 STDOUT または STDERR を閉じたときに起きます。
53765667
53775668=item Filehandle STDIN reopened as %s only for output
53785669
53795670=begin original
53805671
53815672(W io) You opened for writing a filehandle that got the same filehandle id
53825673as STDIN. This occurred because you closed STDIN previously.
53835674
53845675=end original
53855676
53865677(W io) STDIN として使われていたのと同じファイルハンドル ID の
53875678ファイルハンドルを書き込み用に開こうとしました。
53885679これは、以前 STDIN を閉じたときに起きます。
53895680
53905681=item Final $ should be \$ or $name
53915682
53925683=begin original
53935684
53945685(F) You must now decide whether the final $ in a string was meant to be
53955686a literal dollar sign, or was meant to introduce a variable name that
53965687happens to be missing. So you have to put either the backslash or the
53975688name.
53985689
53995690=end original
54005691
54015692(F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして
54025693忘れたのかを、はっきりさせなければなりません。
54035694バックスラッシュを付けるか、名前を入れてください。
54045695
54055696=item flock() on closed filehandle %s
54065697
54075698=begin original
54085699
54095700(W closed) The filehandle you're attempting to flock() got itself closed
54105701some time before now. Check your control flow. flock() operates on
54115702filehandles. Are you attempting to call flock() on a dirhandle by the
54125703same name?
54135704
54145705=end original
54155706
54165707(W closed) flock() しようとしたファイルハンドルはその前に既に
54175708閉じられています。
54185709制御フローをチェックしてください。
54195710flock() はファイルハンドルを操作します。
54205711同じ名前のディレクトリハンドルに flock() しようとしていませんか?
54215712
54225713=item Format not terminated
54235714
54245715=begin original
54255716
54265717(F) A format must be terminated by a line with a solitary dot. Perl got
54275718to the end of your file without finding such a line.
54285719
54295720=end original
54305721
54315722(F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。
54325723そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。
54335724
54345725=item Format %s redefined
54355726
54365727=begin original
54375728
54385729(W redefine) You redefined a format. To suppress this warning, say
54395730
54405731=end original
54415732
54425733(W redefine) フォーマットを再定義しました。
54435734この警告を止めるには以下のようにしてください:
54445735
54455736 {
54465737 no warnings 'redefine';
54475738 eval "format NAME =...";
54485739 }
54495740
54505741=item Found = in conditional, should be ==
54515742
54525743=begin original
54535744
54545745(W syntax) You said
54555746
54565747=end original
54575748
54585749(W) 以下のようにしています:
54595750
54605751 if ($foo = 123)
54615752
54625753=begin original
54635754
54645755when you meant
54655756
54665757=end original
54675758
54685759以下のようにすべきです:
54695760
54705761 if ($foo == 123)
54715762
54725763=begin original
54735764
54745765(or something like that).
54755766
54765767=end original
54775768
54785769(あるいは似たようなこと)。
54795770
54805771=item %s found where operator expected
54815772
54825773=begin original
54835774
54845775(S syntax) The Perl lexer knows whether to expect a term or an operator.
54855776If it sees what it knows to be a term when it was expecting to see an
54865777operator, it gives you this warning. Usually it indicates that an
54875778operator or delimiter was omitted, such as a semicolon.
54885779
54895780=end original
54905781
54915782(S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを
54925783知っています。
54935784次に演算子が来ると思っているときに、項であるとわかるものが現れると、
54945785この警告が出ることになります。
54955786通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。
54965787
54975788=item gdbm store returned %d, errno %d, key "%s"
54985789
54995790=begin original
55005791
55015792(S) A warning from the GDBM_File extension that a store failed.
55025793
55035794=end original
55045795
55055796(S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。
55065797
55075798=item gethostent not implemented
55085799
55095800=begin original
55105801
55115802(F) Your C library apparently doesn't implement gethostent(), probably
55125803because if it did, it'd feel morally obligated to return every hostname
55135804on the Internet.
55145805
55155806=end original
55165807
55175808(F) C ライブラリに gethostent() が実装されていないようです;
55185809おそらく、実装すると Internet 上のすべてのホスト名を
55195810返さなければいけないと思っているのでしょう。
55205811
55215812=item get%sname() on closed socket %s
55225813
55235814=begin original
55245815
55255816(W closed) You tried to get a socket or peer socket name on a closed
55265817socket. Did you forget to check the return value of your socket() call?
55275818
55285819=end original
55295820
55305821(W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと
55315822しました。
55325823socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか?
55335824
55345825=item getpwnam returned invalid UIC %#o for user "%s"
55355826
55365827=begin original
55375828
55385829(S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the
55395830C<getpwnam> operator returned an invalid UIC.
55405831
55415832=end original
55425833
55435834(S) VMS に固有の警告です。
55445835C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで
55455836不正な UIC が返されました。
55465837
55475838=item getsockopt() on closed socket %s
55485839
55495840=begin original
55505841
55515842(W closed) You tried to get a socket option on a closed socket. Did you
55525843forget to check the return value of your socket() call? See
55535844L<perlfunc/getsockopt>.
55545845
55555846=end original
55565847
55575848(W clockd) クローズされたソケットのソケットオプションを取得しようとしました。
55585849socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
55595850L<perlfunc/getsockopt> を参照してください。
55605851
55615852=item given is experimental
55625853
55635854=begin original
55645855
55655856(S experimental::smartmatch) C<given> depends on smartmatch, which
55665857is experimental, so its behavior may change or even be removed
55675858in any future release of perl. See the explanation under
55685859L<perlsyn/Experimental Details on given and when>.
55695860
55705861=end original
55715862
55725863(S experimental::smartmatch) C<given> はスマートマッチングのに依存していて、
55735864これは実験的なので、その振る舞いは将来のリリースの perl で変更されたり
55745865削除されたりするかもしれません。
55755866L<perlsyn/Experimental Details on given and when> の説明を参照してください。
55765867
55775868=item Global symbol "%s" requires explicit package name (did you forget to
55785869declare "my %s"?)
55795870
55805871=begin original
55815872
55825873(F) You've said "use strict" or "use strict vars", which indicates
55835874that all variables must either be lexically scoped (using "my" or "state"),
55845875declared beforehand using "our", or explicitly qualified to say
55855876which package the global variable is in (using "::").
55865877
55875878=end original
55885879
55895880(F) "use strict" か "use strict vars" が指定されていますので、すべての変数は
55905881("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に
55915882宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、
55925883明示的に修飾しなくてはなりません。
55935884
55945885=item glob failed (%s)
55955886
55965887=begin original
55975888
55985889(S glob) Something went wrong with the external program(s) used
55995890for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob>
56005891pattern that caused the external program to fail and exit with a
56015892nonzero status. If the message indicates that the abnormal exit
56025893resulted in a coredump, this may also mean that your csh (C shell)
56035894is broken. If so, you should change all of the csh-related variables
56045895in config.sh: If you have tcsh, make the variables refer to it as
56055896if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them
56065897all empty (except that C<d_csh> should be C<'undef'>) so that Perl will
56075898think csh is missing. In either case, after editing config.sh, run
56085899C<./Configure -S> and rebuild Perl.
56095900
56105901=end original
56115902
56125903(S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が
56135904発生しました。
56145905通常、これは外部プログラムが失敗して非 0 のステータスで終了するような
56155906C<glob> パターンが渡されたことを意味します。
56165907このメッセージがコアダンプを引きおこした異常終了を示している場合、
56175908csh (C シェル) が壊れていることを意味しているかもしれません。
56185909もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです:
56195910もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を
56205911参照するように変数を設定します;
56215912さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は
56225913C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。
56235914どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して
56245915Perl を再ビルドしてください。
56255916
56265917=item Glob not terminated
56275918
56285919=begin original
56295920
56305921(F) The lexer saw a left angle bracket in a place where it was expecting
56315922a term, so it's looking for the corresponding right angle bracket, and
56325923not finding it. Chances are you left some needed parentheses out
56335924earlier in the line, and you really meant a "less than".
56345925
56355926=end original
56365927
56375928(F) 項が必要とされるところで、開き山かっこが見つけたため、
56385929対応する閉じ山かっこを探しましたが、見つかりませんでした。
56395930可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を
56405931表したかった場合が考えられます。
56415932
56425933=item gmtime(%f) failed
56435934
56445935=begin original
56455936
56465937(W overflow) You called C<gmtime> with a number that it could not handle:
56475938too large, too small, or NaN. The returned value is C<undef>.
56485939
56495940=end original
56505941
56515942(W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり
56525943小さすぎたり NaN だったりです。
56535944返り値は C<undef> です。
56545945
56555946=item gmtime(%f) too large
56565947
56575948=begin original
56585949
56595950(W overflow) You called C<gmtime> with a number that was larger than
56605951it can reliably handle and C<gmtime> probably returned the wrong
56615952date. This warning is also triggered with NaN (the special
56625953not-a-number value).
56635954
56645955=end original
56655956
56665957(W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、
56675958おそらく間違った日付が返されました。
56685959この警告は、NaN (特殊な非数) でも引き起こされます。
56695960
56705961=item gmtime(%f) too small
56715962
56725963=begin original
56735964
56745965(W overflow) You called C<gmtime> with a number that was smaller than
56755966it can reliably handle and C<gmtime> probably returned the wrong date.
56765967
56775968=end original
56785969
56795970(W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、
56805971おそらく間違った日付が返されました。
56815972
56825973=item Got an error from DosAllocMem
56835974
56845975=begin original
56855976
56865977(P) An error peculiar to OS/2. Most probably you're using an obsolete
56875978version of Perl, and this should not happen anyway.
56885979
56895980=end original
56905981
56915982(P) OS/2 に固有のエラーです。
56925983もっともありそうなのは廃止されたバージョンの Perl を使っていることで、
56935984どちらにしてもこのエラーは起きないはずです。
56945985
56955986=item goto must have label
56965987
56975988=begin original
56985989
56995990(F) Unlike with "next" or "last", you're not allowed to goto an
57005991unspecified destination. See L<perlfunc/goto>.
57015992
57025993=end original
57035994
57045995(F) "next" や "last" とは違って、goto には必ず、飛び先を
57055996指定しなくてはなりません。
57065997L<perlfunc/goto> を参照してください。
57075998
57085999=item Goto undefined subroutine%s
57096000
57106001=begin original
57116002
57126003(F) You tried to call a subroutine with C<goto &sub> syntax, but
57136004the indicated subroutine hasn't been defined, or if it was, it
57146005has since been undefined.
57156006
57166007=end original
57176008
57186009(F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された
57196010サブルーチンは定義されていないか、定義されていましたが未定義化されました。
57206011
57216012=item Group name must start with a non-digit word character in regex; marked by
57226013S<<-- HERE> in m/%s/
57236014
57246015=begin original
57256016
57266017(F) Group names must follow the rules for perl identifiers, meaning
57276018they must start with a non-digit word character. A common cause of
57286019this error is using (?&0) instead of (?0). See L<perlre>.
57296020
57306021=end original
57316022
57326023(F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で
57336024始まらなければなりません。
57346025このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。
57356026L<perlre> を参照してください。
57366027
57376028=item ()-group starts with a count
57386029
57396030=begin original
57406031
57416032(F) A ()-group started with a count. A count is supposed to follow
57426033something: a template character or a ()-group. See L<perlfunc/pack>.
57436034
57446035=end original
57456036
57466037(F) () グループが繰り返し数で始まっています。
57476038繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。
57486039L<perlfunc/pack> を参照してください。
57496040
57506041=item %s had compilation errors.
57516042
57526043=begin original
57536044
57546045(F) The final summary message when a C<perl -c> fails.
57556046
57566047=end original
57576048
57586049(F) C<perl -c> が失敗したときの最終まとめメッセージです。
57596050
57606051=item Had to create %s unexpectedly
57616052
57626053=begin original
57636054
57646055(S internal) A routine asked for a symbol from a symbol table that ought
57656056to have existed already, but for some reason it didn't, and had to be
57666057created on an emergency basis to prevent a core dump.
57676058
57686059=end original
57696060
57706061(S internal) あるルーティンが、既に存在しているはずのシンボルを、
57716062シンボルテーブルで探しましたが、何らかの理由で存在せず、
57726063コアダンプを避けるために、緊急に生成しました。
57736064
57746065=item %s has too many errors
57756066
57766067=begin original
57776068
57786069(F) The parser has given up trying to parse the program after 10 errors.
57796070Further error messages would likely be uninformative.
57806071
57816072=end original
57826073
57836074(F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、
57846075それ以上の解析を諦めました。
57856076それ以上のエラーメッセージは、おそらく意味がないでしょう。
57866077
5787=item Having more than one /%c regexp modifier is deprecated
5788
5789=begin original
5790
5791(D deprecated, regexp) You used the indicated regular expression pattern
5792modifier at least twice in a string of modifiers. It is deprecated to
5793do this with this particular modifier, to allow future extensions to the
5794Perl language.
5795
5796=end original
5797
5798(D deprecated, regexp) 文字列修飾子の中で少なくとも 2 回、
5799間接正規表現パターン修飾子を使いました。
5800Perl 言語を将来拡張できるように、
5801この特定の修飾子を使って行うことは廃止予定です。
5802
58036078=item Hexadecimal float: exponent overflow
58046079
58056080=begin original
58066081
58076082(W overflow) The hexadecimal floating point has a larger exponent
58086083than the floating point supports.
58096084
58106085=end original
58116086
58126087(W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな
58136088指数を持っています。
58146089
58156090=item Hexadecimal float: exponent underflow
58166091
58176092=begin original
58186093
58196094(W overflow) The hexadecimal floating point has a smaller exponent
5820than the floating point supports.
6095than the floating point supports. With the IEEE 754 floating point,
6096this may also mean that the subnormals (formerly known as denormals)
6097are being used, which may or may not be an error.
58216098
58226099=end original
58236100
58246101(W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな
58256102指数を持っています。
6103IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません;
6104どちらにしろエラーです。
58266105
58276106=item Hexadecimal float: internal error (%s)
58286107
58296108=begin original
58306109
58316110(F) Something went horribly bad in hexadecimal float handling.
58326111
58336112=end original
58346113
58356114(F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。
58366115
58376116=item Hexadecimal float: mantissa overflow
58386117
58396118=begin original
58406119
58416120(W overflow) The hexadecimal floating point literal had more bits in
58426121the mantissa (the part between the 0x and the exponent, also known as
58436122the fraction or the significand) than the floating point supports.
58446123
58456124=end original
58466125
58476126(W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に
58486127浮動小数点数が対応しているよりも多いビット数があります。
58496128
58506129=item Hexadecimal float: precision loss
58516130
58526131=begin original
58536132
58546133(W overflow) The hexadecimal floating point had internally more
58556134digits than could be output. This can be caused by unsupported
58566135long double formats, or by 64-bit integers not being available
58576136(needed to retrieve the digits under some configurations).
58586137
58596138=end original
58606139
58616140(W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより
58626141多くの桁数を保持しています。
58636142これは未対応の long double 形式や、(設定によっては受け取る必要のある)
58646143利用できない 64 ビット整数によって引き起こされます。
58656144
58666145=item Hexadecimal float: unsupported long double format
58676146
58686147=begin original
58696148
58706149(F) You have configured Perl to use long doubles but
58716150the internals of the long double format are unknown;
58726151therefore the hexadecimal float output is impossible.
58736152
58746153=end original
58756154
58766155(F) long double を使うように設定された Perl を使っていますが、
58776156long double の内部形式が不明です; 従って 16 進浮動小数点数出力は
58786157不可能です。
58796158
58806159=item Hexadecimal number > 0xffffffff non-portable
58816160
58826161=begin original
58836162
58846163(W portable) The hexadecimal number you specified is larger than 2**32-1
58856164(4294967295) and therefore non-portable between systems. See
58866165L<perlport> for more on portability concerns.
58876166
58886167=end original
58896168
58906169(W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、
58916170システム間で移植性がありません。
58926171移植性に関するさらなる考察については L<perlport> を参照してください。
58936172
58946173=item Identifier too long
58956174
58966175=begin original
58976176
58986177(F) Perl limits identifiers (names for variables, functions, etc.) to
58996178about 250 characters for simple names, and somewhat more for compound
59006179names (like C<$A::B>). You've exceeded Perl's limits. Future versions
59016180of Perl are likely to eliminate these arbitrary limitations.
59026181
59036182=end original
59046183
59056184(F) Perl は識別子(変数名や関数名など)について、単純な名前については
59066185およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに
59076186制限しています。
59086187この Perl の制限を越えました。
59096188将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。
59106189
59116190=item Ignoring zero length \N{} in character class in regex; marked by
59126191S<<-- HERE> in m/%s/
59136192
59146193=begin original
59156194
59166195(W regexp) Named Unicode character escapes (C<\N{...}>) may return a
59176196zero-length sequence. When such an escape is used in a character
59186197class its behavior is not well defined. Check that the correct
59196198escape has been used, and the correct charname handler is in scope.
59206199
59216200=end original
59226201
59236202(W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の
59246203シーケンスを返しました。
59256204文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。
59266205正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に
59276206あるかをチェックしてください。
59286207
5929=item Illegal binary digit %s
6208=item Illegal %s digit '%c' ignored
59306209
59316210=begin original
59326211
5933(F) You used a digit other than 0 or 1 in a binary number.
6212(W digit) Here C<%s> is one of "binary", "octal", or "hex".
6213You may have tried to use a digit other than one that is legal for the
6214given type, such as only 0 and 1 for binary. For octals, this is raised
6215only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and
6216'a' - 'f' are legal.
6217Interpretation of the number stopped just before the offending digit or
6218character.
59346219
59356220=end original
59366221
5937(F) 2 進数として 0 1 以外数値を使っています。
6222(W digit) ここで C<%s> "binary", "octal", "hex" うちの一つです。
6223one that is legal for the
6224given type, such as only 0 and 1 for binary. For octals, this is raised
6225only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and
6226'a' - 'f' are legal.
6227を使おうとしたのでしょう。
6228数の解釈は問題のある数値や文字の直前で停止しました。
59386229
5939=item Illegal binary digit %s ignored
6230=item Illegal binary digit '%c'
59406231
59416232=begin original
59426233
5943(W digit) You may have tried to use a digit other than 0 or 1 in a
6234(F) You used a digit other than 0 or 1 in a binary number.
5944binary number. Interpretation of the binary number stopped before the
5945offending digit.
59466235
59476236=end original
59486237
5949(W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう
6238(F) 2 進数として 0 と 1 以外の数値を使っています
59502 進数の解釈は問題のある数値の手前で停止しました。
59516239
59526240=item Illegal character after '_' in prototype for %s : %s
59536241
59546242=begin original
59556243
59566244(W illegalproto) An illegal character was found in a prototype
59576245declaration. The '_' in a prototype must be followed by a ';',
59586246indicating the rest of the parameters are optional, or one of '@'
59596247or '%', since those two will accept 0 or more final parameters.
59606248
59616249=end original
59626250
59636251(W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。
59646252プロトタイプの中の '_' は、残りの引数がオプションであることを示すために
59656253';' が引き続くか、'@' か '%' の一つでなければなりません;
59666254これら二つは 0 以上の末尾の引数を受け付けるからです。
59676255
59686256=item Illegal character \%o (carriage return)
59696257
59706258=begin original
59716259
5972(F) Perl normally treats carriage returns in the program text as it
6260(F) Perl normally treats carriage returns in the program text as
5973would any other whitespace, which means you should never see this error
6261it would any other whitespace, which means you should never see
5974when Perl was built using standard options. For some reason, your
6262this error when Perl was built using standard options. For some
5975version of Perl appears to have been built without this support. Talk
6263reason, your version of Perl appears to have been built without
5976to your Perl administrator.
6264this support. Talk to your Perl administrator.
59776265
59786266=end original
59796267
59806268(F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に
59816269扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを
59826270見ることは決してないはずです。
59836271どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。
59846272Perl の管理者に問い合わせてください。
59856273
6274=item Illegal character following sigil in a subroutine signature
6275
6276=begin original
6277
6278(F) A parameter in a subroutine signature contained an unexpected character
6279following the C<$>, C<@> or C<%> sigil character. Normally the sigil
6280should be followed by the variable name or C<=> etc. Perhaps you are
6281trying use a prototype while in the scope of C<use feature 'signatures'>?
6282For example:
6283
6284=end original
6285
6286(F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて
6287想定外の文字がありました。
6288通常は、印には変数名や C<=> などが引き続くはずです。
6289おそらく C<use feature 'signatures'> のスコープ内で
6290プロトタイプを使おうとしたのでは?
6291例えば:
6292
6293 sub foo ($$) {} # legal - a prototype
6294
6295 use feature 'signatures;
6296 sub foo ($$) {} # illegal - was expecting a signature
6297 sub foo ($a, $b)
6298 :prototype($$) {} # legal
6299
59866300=item Illegal character in prototype for %s : %s
59876301
59886302=begin original
59896303
59906304(W illegalproto) An illegal character was found in a prototype declaration.
59916305Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +.
59926306Perhaps you were trying to write a subroutine signature but didn't enable
59936307that feature first (C<use feature 'signatures'>), so your signature was
59946308instead interpreted as a bad prototype.
59956309
59966310=end original
59976311
59986312(W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。
59996313プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。
60006314おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に
60016315していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った
60026316プロトタイプとして解釈されたのでしょう。
60036317
60046318=item Illegal declaration of anonymous subroutine
60056319
60066320=begin original
60076321
60086322(F) When using the C<sub> keyword to construct an anonymous subroutine,
60096323you must always specify a block of code. See L<perlsub>.
60106324
60116325=end original
60126326
60136327(F) 無名サブルーチンを作るために C<sub> を使ったときは、
60146328常にコードのブロックを指定しなければなりません。
60156329L<perlsub> を参照してください。
60166330
60176331=item Illegal declaration of subroutine %s
60186332
60196333=begin original
60206334
60216335(F) A subroutine was not declared correctly. See L<perlsub>.
60226336
60236337=end original
60246338
60256339(F) サブルーチンが正しく宣言されていません。
60266340L<perlsub> を参照してください。
60276341
60286342=item Illegal division by zero
60296343
60306344=begin original
60316345
60326346(F) You tried to divide a number by 0. Either something was wrong in
60336347your logic, or you need to put a conditional in to guard against
60346348meaningless input.
60356349
60366350=end original
60376351
60386352(F) ゼロで割り算をしようとしました。
60396353ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが
60406354必要かのどちらかでしょう。
60416355
6042=item Illegal hexadecimal digit %s ignored
6043
6044=begin original
6045
6046(W digit) You may have tried to use a character other than 0 - 9 or
6047A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal
6048number stopped before the illegal character.
6049
6050=end original
6051
6052(W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。
605316 進数の解釈は不正な文字の手前で停止しました。
6054
60556356=item Illegal modulus zero
60566357
60576358=begin original
60586359
60596360(F) You tried to divide a number by 0 to get the remainder. Most
60606361numbers don't take to this kindly.
60616362
60626363=end original
60636364
60646365(F) 余りを求めるのに、ゼロで割り算をしようとしました。
60656366これは、ほとんどの数体系で受け入れられません。
60666367
60676368=item Illegal number of bits in vec
60686369
60696370=begin original
60706371
60716372(F) The number of bits in vec() (the third argument) must be a power of
60726373two from 1 to 32 (or 64, if your platform supports that).
60736374
60746375=end original
60756376
60766377(F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが
60776378対応している場合は 64) までの、2 のべき乗でなければなりません。
60786379
6079=item Illegal octal digit %s
6380=item Illegal octal digit '%c'
60806381
60816382=begin original
60826383
60836384(F) You used an 8 or 9 in an octal number.
60846385
60856386=end original
60866387
60876388(F) 8 進数で 8 か 9 を使いました。
60886389
6089=item Illegal octal digit %s ignored
6390=item Illegal operator following parameter in a subroutine signature
60906391
60916392=begin original
60926393
6093(W digit) You may have tried to use an 8 or 9 in an octal number.
6394(F) A parameter in a subroutine signature, was followed by something
6094Interpretation of the octal number stopped before the 8 or 9.
6395other than C<=> introducing a default, C<,> or C<)>.
60956396
60966397=end original
60976398
6098(W digit) 8 進数 8 か 9 使おうとしたのでしょう。
6399(F) サブルーチンシグネチャ引数に引き続いて、デフォルト導入する
60998 進数の解釈は 8 か 9 手前で停止しました。
6400C<=>, C<,>, C<)> 以外ものがありました。
61006401
6402 use feature 'signatures';
6403 sub foo ($=1) {} # legal
6404 sub foo ($a = 1) {} # legal
6405 sub foo ($a += 1) {} # illegal
6406 sub foo ($a == 1) {} # illegal
6407
61016408=item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/
61026409
61036410=begin original
61046411
61056412(F) You wrote something like
61066413
61076414=end original
61086415
61096416(F) 以下のようなものを書きました
61106417
61116418 (?+foo)
61126419
61136420=begin original
61146421
61156422The C<"+"> is valid only when followed by digits, indicating a
61166423capturing group. See
61176424L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>.
61186425
61196426=end original
61206427
61216428C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。
61226429L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を
61236430参照してください。
61246431
61256432=item Illegal suidscript
61266433
61276434=begin original
61286435
61296436(F) The script run under suidperl was somehow illegal.
61306437
61316438=end original
61326439
61336440(F) suidperl でのスクリプトの実行が何らかの理由で不正でした。
61346441
61356442=item Illegal switch in PERL5OPT: -%c
61366443
61376444=begin original
61386445
61396446(X) The PERL5OPT environment variable may only be used to set the
61406447following switches: B<-[CDIMUdmtw]>.
61416448
61426449=end original
61436450
61446451(X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。
61456452
61466453=item Illegal user-defined property name
61476454
61486455=begin original
61496456
61506457(F) You specified a Unicode-like property name in a regular expression
61516458pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official
61526459Unicode property, and was likely meant to be a user-defined property
61536460name, but it can't be one of those, as they must begin with either C<In>
61546461or C<Is>. Check the spelling. See also
61556462L</Can't find Unicode property definition "%s">.
61566463
61576464=end original
61586465
61596466(F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が
61606467公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、
61616468おそらくそれはユーザー定義特性を意味しているのでしょうが、
61626469しかし、それらは C<In> か C<Is> で始まっていなければならないので、
61636470そうなりません。
61646471スペルを確認してください。
61656472L</Can't find Unicode property definition "%s"> も参照してください。
61666473
61676474=item Ill-formed CRTL environ value "%s"
61686475
61696476=begin original
61706477
61716478(W internal) A warning peculiar to VMS. Perl tried to read the CRTL's
61726479internal environ array, and encountered an element without the C<=>
61736480delimiter used to separate keys from values. The element is ignored.
61746481
61756482=end original
61766483
61776484(W internal) VMS に固有の警告です。
61786485Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と
61796486分離するために使われている C<=> デリミタのない要素に遭遇しました。
61806487この要素は無視しました。
61816488
61826489=item Ill-formed message in prime_env_iter: |%s|
61836490
61846491=begin original
61856492
61866493(W internal) A warning peculiar to VMS. Perl tried to read a logical
61876494name or CLI symbol definition when preparing to iterate over %ENV, and
61886495didn't see the expected delimiter between key and value, so the line was
61896496ignored.
61906497
61916498=end original
61926499
61936500(W internal) VMS に固有の警告です。
61946501Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を
61956502読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、
61966503その行は無視しました。
61976504
61986505=item (in cleanup) %s
61996506
62006507=begin original
62016508
62026509(W misc) This prefix usually indicates that a DESTROY() method raised
62036510the indicated exception. Since destructors are usually called by the
62046511system at arbitrary points during execution, and often a vast number of
62056512times, the warning is issued only once for any number of failures that
62066513would otherwise result in the same message being repeated.
62076514
62086515=end original
62096516
62106517(W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで
62116518発生したことを示しています。
62126519デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に
62136520呼び出されるので、この警告は同じメッセージが繰り返されないように、
62146521何回失敗しても一度だけ発生します。
62156522
62166523=begin original
62176524
62186525Failure of user callbacks dispatched using the C<G_KEEPERR> flag could
62196526also result in this warning. See L<perlcall/G_KEEPERR>.
62206527
62216528=end original
62226529
62236530C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した
62246531場合にもこの警告が出ることがあります。
62256532L<perlcall/G_KEEPERR> を参照してください。
62266533
62276534=item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE>
62286535in m/%s/
62296536
62306537=begin original
62316538
62326539(F) There was a syntax error within the C<(?[ ])>. This can happen if the
62336540expression inside the construct was completely empty, or if there are
62346541too many or few operands for the number of operators. Perl is not smart
62356542enough to give you a more precise indication as to what is wrong.
62366543
62376544=end original
62386545
62396546(F) これは C<(?[ ])> の中の文法エラーです。
62406547これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり
62416548少なすぎたりする場合に起こります。
62426549Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。
62436550
62446551=item Inconsistent hierarchy during C3 merge of class '%s': merging failed on
62456552parent '%s'
62466553
62476554=begin original
62486555
62496556(F) The method resolution order (MRO) of the given class is not
62506557C3-consistent, and you have enabled the C3 MRO for this class. See the C3
62516558documentation in L<mro> for more information.
62526559
62536560=end original
62546561
62556562(F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、
62566563このクラスの C3 MRO を有効にしました。
62576564さらなる情報については L<mro> 内の C3 に関する文書を参照してください。
62586565
6566=item Indentation on line %d of here-doc doesn't match delimiter
6567
6568=begin original
6569
6570(F) You have an indented here-document where one or more of its lines
6571have whitespace at the beginning that does not match the closing
6572delimiter.
6573
6574=end original
6575
6576(F) インデントのあるヒヤドキュメントがありますが、
6577先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。
6578
6579=begin original
6580
6581For example, line 2 below is wrong because it does not have at least
65822 spaces, but lines 1 and 3 are fine because they have at least 2:
6583
6584=end original
6585
6586例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の
6587スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです;
6588少なくとも 2 個あるからです:
6589
6590 if ($something) {
6591 print <<~EOF;
6592 Line 1
6593 Line 2 not
6594 Line 3
6595 EOF
6596 }
6597
6598=begin original
6599
6600Note that tabs and spaces are compared strictly, meaning 1 tab will
6601not match 8 spaces.
6602
6603=end original
6604
6605タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは
6606マッチングしないことに注意してください。
6607
62596608=item Infinite recursion in regex
62606609
62616610=begin original
62626611
62636612(F) You used a pattern that references itself without consuming any input
62646613text. You should check the pattern to ensure that recursive patterns
62656614either consume text or fail.
62666615
62676616=end original
62686617
62696618(F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。
62706619再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、
62716620パターンをチェックするべきです。
62726621
6273=item Initialization of state variables in list context currently forbidden
6622=item Infinite recursion via empty pattern
62746623
62756624=begin original
62766625
6277(F) Currently the implementation of "state" only permits the
6626(F) You tried to use the empty pattern inside of a regex code block,
6278initialization of scalar variables in scalar context. Re-write
6627for instance C</(?{ s!!! })/>, which resulted in re-executing
6279C<state ($a) = 42> as C<state $a = 42> to change from list to scalar
6628the same pattern, which is an infinite loop which is broken by
6280context. Constructions such as C<state (@a) = foo()> will be
6629throwing an exception.
6281supported in a future perl release.
62826630
62836631=end original
62846632
6285(F) 現在のところ、"state"実装はスカランテキストでスカラ変数の
6633(F) C</(?{ s!!! })/> ように正規表現ードブロック中で
6286初期化のみが許されています。
6634空パターンを使いました;
6287C<state ($a) = 42> C<state $a = 42> のように、リストコンテキストから
6635これは同じパターン再実行することなり
6288スカラコンテキスト書き換えください
6636例外が投げられることよっ壊れる無限ループになります
6289C<state (@a) = foo()> のような構文は perl の将来のリリースで
6290対応されるでしょう。
62916637
6638=item Initialization of state variables in list currently forbidden
6639
6640=begin original
6641
6642(F) C<state> only permits initializing a single variable, specified
6643without parentheses. So C<state $a = 42> and C<state @a = qw(a b c)> are
6644allowed, but not C<state ($a) = 42> or C<(state $a) = 42>. To initialize
6645more than one C<state> variable, initialize them one at a time.
6646
6647=end original
6648
6649(F) C<state> は、かっこなしで指定された単一の変数の初期化のみが
6650許されています。
6651従って C<state $a = 42> と C<state @a = qw(a b c)> は許されますが、
6652C<state ($a) = 42> や C<(state $a) = 42> は許されません。
6653To initialize
6654more than one
6655複数の C<state> 変数を初期化するには、一つずつ初期化してください。
6656
62926657=item %%s[%s] in scalar context better written as $%s[%s]
62936658
62946659=begin original
62956660
62966661(W syntax) In scalar context, you've used an array index/value slice
62976662(indicated by %) to select a single element of an array. Generally
62986663it's better to ask for a scalar value (indicated by $). The difference
62996664is that C<$foo[&bar]> always behaves like a scalar, both in the value it
63006665returns and when evaluating its argument, while C<%foo[&bar]> provides
63016666a list context to its subscript, which can do weird things if you're
63026667expecting only one subscript. When called in list context, it also
63036668returns the index (what C<&bar> returns) in addition to the value.
63046669
63056670=end original
63066671
63076672(W syntax) スカラコンテキストで、配列の単一の要素を選択するために
63086673(% で示される)配列インデックス/値スライスを使いました。
63096674一般的には($ で示される)スカラ値を取得した方がよいです。
63106675違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように
63116676振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、
63126677一つだけの添え字を想定していた場合、おかしなことになることがあります。
63136678リストコンテキストで呼び出された場合、値に加えてインデックス
63146679(C<&bar> が返すもの) を返します。
63156680
63166681=item %%s{%s} in scalar context better written as $%s{%s}
63176682
63186683=begin original
63196684
63206685(W syntax) In scalar context, you've used a hash key/value slice
63216686(indicated by %) to select a single element of a hash. Generally it's
63226687better to ask for a scalar value (indicated by $). The difference
63236688is that C<$foo{&bar}> always behaves like a scalar, both in the value
63246689it returns and when evaluating its argument, while C<@foo{&bar}> and
63256690provides a list context to its subscript, which can do weird things
63266691if you're expecting only one subscript. When called in list context,
63276692it also returns the key in addition to the value.
63286693
63296694=end original
63306695
63316696(W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために
63326697(% で示される)ハッシュキー/値スライスを使いました。
63336698一般的には($ で示される)スカラ値を取得した方がよいです。
63346699違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように
63356700振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、
63366701一つだけの添え字を想定していた場合、おかしなことになることがあります。
63376702リストコンテキストで呼び出された場合、値に加えてインデックスを返します。
63386703
63396704=item Insecure dependency in %s
63406705
63416706=begin original
63426707
63436708(F) You tried to do something that the tainting mechanism didn't like.
63446709The tainting mechanism is turned on when you're running setuid or
63456710setgid, or when you specify B<-T> to turn it on explicitly. The
63466711tainting mechanism labels all data that's derived directly or indirectly
63476712from the user, who is considered to be unworthy of your trust. If any
63486713such data is used in a "dangerous" operation, you get this error. See
63496714L<perlsec> for more information.
63506715
63516716=end original
63526717
63536718(F) 何か汚染チェックの機構が、望ましくないと判断することを
63546719行なおうとしました。
63556720setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、
63566721汚染チェック機構が働きます。
63576722汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、
63586723指定したデータに印を付けます。
63596724そのようなデータを「危険な」操作に用いると、このエラーが発生します。
63606725詳しくは、L<perlsec> を参照してください。
63616726
63626727=item Insecure directory in %s
63636728
63646729=begin original
63656730
63666731(F) You can't use system(), exec(), or a piped open in a setuid or
63676732setgid script if C<$ENV{PATH}> contains a directory that is writable by
63686733the world. Also, the PATH must not contain any relative directory.
63696734See L<perlsec>.
63706735
63716736=end original
63726737
63736738(F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが
63746739含まれているとき、system()、exec()、パイプのオープンを
63756740行なうことはできません。
63766741また、PATH には相対早退ディレクトリを含んでいてはいけません。
63776742L<perlsec> を参照してください。
63786743
63796744=item Insecure $ENV{%s} while running %s
63806745
63816746=begin original
63826747
63836748(F) You can't use system(), exec(), or a piped open in a setuid or
63846749setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>,
63856750C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data
63866751supplied (or potentially supplied) by the user. The script must set
63876752the path to a known value, using trustworthy data. See L<perlsec>.
63886753
63896754=end original
63906755
63916756(F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>,
63926757C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された
63936758(あるいは提供された可能性のある)データの場合、setuid や setgid された
63946759スクリプトでは system(), exec(), パイプされる open を
63956760使うことはできません。
63966761スクリプトはパスとして、信頼の置けるデータを使った、既知の値を
63976762セットしなければなりません。
63986763L<perlsec> を参照してください。
63996764
64006765=item Insecure user-defined property %s
64016766
64026767=begin original
64036768
64046769(F) Perl detected tainted data when trying to compile a regular
64056770expression that contains a call to a user-defined character property
64066771function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>.
64076772See L<perlunicode/User-Defined Character Properties> and L<perlsec>.
64086773
64096774=end original
64106775
64116776(F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の
64126777呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを
64136778検出しました。
64146779L<perlunicode/User-Defined Character Properties> と L<perlsec> を
64156780参照してください。
64166781
64176782=item Integer overflow in format string for %s
64186783
64196784=begin original
64206785
64216786(F) The indexes and widths specified in the format string of C<printf()>
64226787or C<sprintf()> are too large. The numbers must not overflow the size of
64236788integers for your architecture.
64246789
64256790=end original
64266791
64276792(F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや
64286793幅が大きすぎます。
64296794数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように
64306795しなければなりません。
64316796
64326797=item Integer overflow in %s number
64336798
64346799=begin original
64356800
64366801(S overflow) The hexadecimal, octal or binary number you have specified
64376802either as a literal or as an argument to hex() or oct() is too big for
64386803your architecture, and has been converted to a floating point number.
64396804On a 32-bit architecture the largest hexadecimal, octal or binary number
64406805representable without overflow is 0xFFFFFFFF, 037777777777, or
644168060b11111111111111111111111111111111 respectively. Note that Perl
64426807transparently promotes all numbers to a floating point representation
64436808internally--subject to loss of precision errors in subsequent
64446809operations.
64456810
64466811=end original
64476812
64486813(S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、
644968148 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に
64506815変換されました。
6451681632 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進
645268172 進数はそれぞれ 0xFFFFFFFF, 037777777777,
645368180b11111111111111111111111111111111 です。
64546819Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに
64556820注意してください -- 引き続く操作によって精度が失われることがあります。
64566821
64576822=item Integer overflow in srand
64586823
64596824=begin original
64606825
64616826(S overflow) The number you have passed to srand is too big to fit
64626827in your architecture's integer representation. The number has been
64636828replaced with the largest integer supported (0xFFFFFFFF on 32-bit
64646829architectures). This means you may be getting less randomness than
64656830you expect, because different random seeds above the maximum will
64666831return the same sequence of random numbers.
64676832
64686833=end original
64696834
64706835(S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に
64716836適合させるには大きすぎます。
64726837数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に
64736838置き換えられました。
64746839これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、
64756840想定しているよりもランダム性が低くなることを意味します。
64766841
64776842=item Integer overflow in version
64786843
64796844=item Integer overflow in version %d
64806845
64816846=begin original
64826847
64836848(W overflow) Some portion of a version initialization is too large for
64846849the size of integers for your architecture. This is not a warning
64856850because there is no rational reason for a version to try and use an
64866851element larger than typically 2**32. This is usually caused by trying
64876852to use some odd mathematical operation as a version, like 100/9.
64886853
64896854=end original
64906855
64916856(W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより
64926857大きすぎます。
64936858バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な
64946859理由がないので、これは警告ではありません。
64956860これは普通、100/9 のようなおかしな数値演算をバージョンとして
64966861使おうとしたことによります。
64976862
64986863=item Internal disaster in regex; marked by S<<-- HERE> in m/%s/
64996864
65006865=begin original
65016866
65026867(P) Something went badly wrong in the regular expression parser.
65036868The S<<-- HERE> shows whereabouts in the regular expression the problem was
65046869discovered.
65056870
65066871=end original
65076872
65086873(P) 正規表現解析部に何か悪いことが起こりました。
65096874S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
65106875
65116876=item Internal inconsistency in tracking vforks
65126877
65136878=begin original
65146879
65156880(S) A warning peculiar to VMS. Perl keeps track of the number of times
65166881you've called C<fork> and C<exec>, to determine whether the current call
65176882to C<exec> should affect the current script or a subprocess (see
65186883L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so
65196884Perl is making a guess and treating this C<exec> as a request to
65206885terminate the Perl script and execute the specified command.
65216886
65226887=end original
65236888
65246889(S) VMS に固有の警告です。
65256890Perl は C<fork> と C<exec> を呼び出した回数を数えています;
65266891これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに
65276892影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を
65286893参照してください)。
65296894どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が
65306895Perl スクリプトを終了させて指定されたコマンドを実行する要求であると
65316896仮定して、そのように扱いました。
65326897
65336898=item internal %<num>p might conflict with future printf extensions
65346899
65356900=begin original
65366901
65376902(S internal) Perl's internal routine that handles C<printf> and C<sprintf>
65386903formatting follows a slightly different set of rules when called from
65396904C or XS code. Specifically, formats consisting of digits followed
65406905by "p" (e.g., "%7p") are reserved for future use. If you see this
65416906message, then an XS module tried to call that routine with one such
65426907reserved format.
65436908
65446909=end original
65456910
65466911(S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の
65476912内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に
65486913従います。
65496914特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の
65506915使用のために予約されています。
65516916このメッセージが表示された場合、XS モジュールはこのような予約された
65526917フォーマットを使って呼び出そうとしました。
65536918
65546919=item Internal urp in regex; marked by S<<-- HERE> in m/%s/
65556920
65566921=begin original
65576922
65586923(P) Something went badly awry in the regular expression parser. The
65596924S<<-- HERE> shows whereabouts in the regular expression the problem was
65606925discovered.
65616926
65626927=end original
65636928
65646929(P) 正規表現解析部に何か間違ったことが起こりました。
65656930S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
65666931
65676932=item %s (...) interpreted as function
65686933
65696934=begin original
65706935
65716936(W syntax) You've run afoul of the rule that says that any list operator
65726937followed by parentheses turns into a function, with all the list
65736938operators arguments found inside the parentheses. See
65746939L<perlop/Terms and List Operators (Leftward)>.
65756940
65766941=end original
65776942
65786943(W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある
65796944リスト演算子引数を持つ関数になる、という規則が適用されました。
65806945L<perlop/Terms and List Operators (Leftward)> を参照してください。
65816946
65826947=item In '(?...)', the '(' and '?' must be adjacent in regex;
65836948marked by S<<-- HERE> in m/%s/
65846949
65856950=begin original
65866951
65876952(F) The two-character sequence C<"(?"> in this context in a regular
65886953expression pattern should be an indivisible token, with nothing
65896954intervening between the C<"("> and the C<"?">, but you separated them
65906955with whitespace.
65916956
65926957=end original
65936958
65946959(F)
65956960正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、
65966961C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。
65976962
6963=item In '(*...)', the '(' and '*' must be adjacent in regex;
6964marked by S<<-- HERE> in m/%s/
6965
6966=begin original
6967
6968(F) The two-character sequence C<"(*"> in this context in a regular
6969expression pattern should be an indivisible token, with nothing
6970intervening between the C<"("> and the C<"*">, but you separated them.
6971Fix the pattern and retry.
6972
6973=end original
6974
6975(F) 正規表現パターンの中のこの文脈での 2 文字並び C<"(*"> は、
6976C<"("> と C<"*"> の間に何も入っていない分割されていないトークンである
6977必要があります; しかしこれが分割されています。
6978パターンを修正してもう一度試してください。
6979
65986980=item Invalid %s attribute: %s
65996981
66006982=begin original
66016983
66026984(F) The indicated attribute for a subroutine or variable was not recognized
66036985by Perl or by a user-supplied handler. See L<attributes>.
66046986
66056987=end original
66066988
66076989(F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで
66086990認識されませんでした。
66096991L<attributes> を参照してください。
66106992
66116993=item Invalid %s attributes: %s
66126994
66136995=begin original
66146996
66156997(F) The indicated attributes for a subroutine or variable were not
66166998recognized by Perl or by a user-supplied handler. See L<attributes>.
66176999
66187000=end original
66197001
66207002(F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで
66217003認識されませんでした。
66227004L<attributes> を参照してください。
66237005
66247006=item Invalid character in charnames alias definition; marked by
66257007S<<-- HERE> in '%s
66267008
66277009=begin original
66287010
66297011(F) You tried to create a custom alias for a character name, with
66307012the C<:alias> option to C<use charnames> and the specified character in
66317013the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>.
66327014
66337015=end original
66347016
66357017(F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を
66367018作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。
66377019L<charnames/CUSTOM ALIASES> を参照してください。
66387020
66397021=item Invalid \0 character in %s for %s: %s\0%s
66407022
66417023=begin original
66427024
66437025(W syscalls) Embedded \0 characters in pathnames or other system call
66447026arguments produce a warning as of 5.20. The parts after the \0 were
66457027formerly ignored by system calls.
66467028
66477029=end original
66487030
66497031(W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は
665070325.20 から警告を出力するようになりました。
66517033以前は \0 の後の部分はシステムコールによって無視されていました。
66527034
66537035=item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s}
66547036
66557037=begin original
66567038
66577039(F) Only certain characters are valid for character names. The
66587040indicated one isn't. See L<charnames/CUSTOM ALIASES>.
66597041
66607042=end original
66617043
66627044(F) 文字名としては一部の文字のみが正当です。
66637045示されたものは違います。
66647046L<charnames/CUSTOM ALIASES> を参照してください。
66657047
66667048=item Invalid conversion in %s: "%s"
66677049
66687050=begin original
66697051
66707052(W printf) Perl does not understand the given format conversion. See
66717053L<perlfunc/sprintf>.
66727054
66737055=end original
66747056
66757057(W printf) Perl は指定されたフォーマット変換が認識できませんでした。
66767058L<perlfunc/sprintf> を参照してください。
66777059
66787060=item Invalid escape in the specified encoding in regex; marked by
66797061S<<-- HERE> in m/%s/
66807062
66817063=begin original
66827064
66837065(W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256
66847066didn't correspond to a single character through the conversion
66857067from the encoding specified by the encoding pragma.
66867068The escape was replaced with REPLACEMENT CHARACTER (U+FFFD)
66877069instead, except within S<C<(?[ ])>>, where it is a fatal error.
66887070The S<<-- HERE> shows whereabouts in the regular expression the
66897071escape was discovered.
66907072
66917073=end original
66927074
66937075(W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、
66947076エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。
66957077エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます;
66967078ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。
66977079S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
66987080
66997081=item Invalid hexadecimal number in \N{U+...}
67007082
67017083=item Invalid hexadecimal number in \N{U+...} in regex; marked by
67027084S<<-- HERE> in m/%s/
67037085
67047086=begin original
67057087
67067088(F) The character constant represented by C<...> is not a valid hexadecimal
67077089number. Either it is empty, or you tried to use a character other than
670870900 - 9 or A - F, a - f in a hexadecimal number.
67097091
67107092=end original
67117093
67127094(F) C<...> で表現された文字定数は妥当な 16 進数ではありません。
67137095空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。
67147096
67157097=item Invalid module name %s with -%c option: contains single ':'
67167098
67177099=begin original
67187100
67197101(F) The module argument to perl's B<-m> and B<-M> command-line options
67207102cannot contain single colons in the module name, but only in the
67217103arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but
67227104B<-MFoo:Bar=baz> is not.
67237105
67247106=end original
67257107
67267108(F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、
67277109モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが
67287110できます。
67297111言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は
67307112そうではありません。
67317113
67327114=item Invalid mro name: '%s'
67337115
67347116=begin original
67357117
67367118(F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>,
67377119where C<foo> is not a valid method resolution order (MRO). Currently,
67387120the only valid ones supported are C<dfs> and C<c3>, unless you have loaded
67397121a module that is a MRO plugin. See L<mro> and L<perlmroapi>.
67407122
67417123=end original
67427124
67437125(F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと
67447126しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。
67457127現在のところ、MRO プラグインモジュールを読み込まない限り、対応として
67467128有効なものは C<dfs> と C<c3> だけです。
67477129L<mro> と L<perlmroapi> を参照してください。
67487130
67497131=item Invalid negative number (%s) in chr
67507132
67517133=begin original
67527134
67537135(W utf8) You passed a negative number to C<chr>. Negative numbers are
67547136not valid character numbers, so it returns the Unicode replacement
67557137character (U+FFFD).
67567138
67577139=end original
67587140
67597141(W utf8) C<chr> に負数を渡しました。
67607142負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。
67617143
67627144=item Invalid number '%s' for -C option.
67637145
67647146=begin original
67657147
67667148(F) You supplied a number to the -C option that either has extra leading
67677149zeroes or overflows perl's unsigned integer representation.
67687150
67697151=end original
67707152
67717153(F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を
67727154オーバーフローするといったような数値を指定しました。
67737155
67747156=item invalid option -D%c, use -D'' to see choices
67757157
67767158=begin original
67777159
67787160(S debugging) Perl was called with invalid debugger flags. Call perl
67797161with the B<-D> option with no flags to see the list of acceptable values.
67807162See also L<perlrun/-Dletters>.
67817163
67827164=end original
67837165
67847166(F) Perl は不正なデバッガフラグで呼び出されました。
67857167受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて
67867168perl を呼び出してください。
67877169L<< perlrun/B<-D>I<letters> >> も参照してください。
67887170
67897171=item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/
67907172
67917173=begin original
67927174
67937175(F) The pattern looks like a {min,max} quantifier, but the min or max
67947176could not be parsed as a valid number - either it has leading zeroes,
67957177or it represents too big a number to cope with. The S<<-- HERE> shows
67967178where in the regular expression the problem was discovered. See L<perlre>.
67977179
67987180=end original
67997181
68007182(F) パターンは {min,max} 量指定子のように見えますが、min または max が
68017183正当な数値としてパースできませんでした - 先頭に 0 が付いているか、
68027184数値として扱うには大きすぎます。
68037185S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
68047186L<perlre> を参照してください。
68057187
68067188=item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/
68077189
68087190=begin original
68097191
68107192(F) The range specified in a character class had a minimum character
68117193greater than the maximum character. One possibility is that you forgot the
68127194C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only
68137195up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the
68147196problem was discovered. See L<perlre>.
68157197
68167198=end original
68177199
68187200(F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。
68197201ひとつの可能性としては、末尾の C<\x{}> から C<{}> を
68207202忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか
68217203なりません。
68227204S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
68237205L<perlre> を参照してください。
68247206
68257207=item Invalid range "%s" in transliteration operator
68267208
68277209=begin original
68287210
68297211(F) The range specified in the tr/// or y/// operator had a minimum
68307212character greater than the maximum character. See L<perlop>.
68317213
68327214=end original
68337215
68347216(F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が
68357217大きいです。
68367218L<perlop> を参照してください。
68377219
7220=item Invalid reference to group in regex; marked by S<<-- HERE> in m/%s/
7221
7222=begin original
7223
7224(F) The capture group you specified can't possibly exist because the
7225number you used is not within the legal range of possible values for
7226this machine.
7227
7228=end original
7229
7230(F) 指定した捕捉グループはおそらく存在できません;
7231使われている数字がこの機械で可能な値の範囲の中でないからです。
7232
68387233=item Invalid separator character %s in attribute list
68397234
68407235=begin original
68417236
68427237(F) Something other than a colon or whitespace was seen between the
68437238elements of an attribute list. If the previous attribute had a
68447239parenthesised parameter list, perhaps that list was terminated too soon.
68457240See L<attributes>.
68467241
68477242=end original
68487243
68497244(F) 属性リストの要素の間にコロンと空白以外のものがあります。
68507245直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが
68517246予定より早く終端されています。
68527247L<attributes> を参照してください。
68537248
68547249=item Invalid separator character %s in PerlIO layer specification %s
68557250
68567251=begin original
68577252
68587253(W layer) When pushing layers onto the Perl I/O system, something other
68597254than a colon or whitespace was seen between the elements of a layer list.
68607255If the previous attribute had a parenthesised parameter list, perhaps that
68617256list was terminated too soon.
68627257
68637258=end original
68647259
68657260(W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に
68667261コロンと空白以外のものがありました。
68677262直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが
68687263予定より早く終端されています。
68697264
68707265=item Invalid strict version format (%s)
68717266
68727267=begin original
68737268
68747269(F) A version number did not meet the "strict" criteria for versions.
68757270A "strict" version number is a positive decimal number (integer or
68767271decimal-fraction) without exponentiation or else a dotted-decimal
68777272v-string with a leading 'v' character and at least three components.
68787273The parenthesized text indicates which criteria were not met.
68797274See the L<version> module for more details on allowed version formats.
68807275
68817276=end original
68827277
68837278(F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。
68847279「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、
68857280さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも
68867281三つの部分からなるものです。
68877282かっこで囲まれたテキストは問題の基準を示しています。
68887283許されるバージョンオブジェクトに関するさらなる詳細については
68897284L<version> モジュールを参照してください。
68907285
68917286=item Invalid type '%s' in %s
68927287
68937288=begin original
68947289
68957290(F) The given character is not a valid pack or unpack type.
68967291See L<perlfunc/pack>.
68977292
68987293=end original
68997294
69007295(F) 与えられた文字は有効な pack や unpack の型ではありません。
69017296L<perlfunc/pack> を参照してください。
69027297
69037298=begin original
69047299
69057300(W) The given character is not a valid pack or unpack type but used to be
69067301silently ignored.
69077302
69087303=end original
69097304
69107305(W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に
69117306無視されました。
69127307
69137308=item Invalid version format (%s)
69147309
69157310=begin original
69167311
69177312(F) A version number did not meet the "lax" criteria for versions.
69187313A "lax" version number is a positive decimal number (integer or
69197314decimal-fraction) without exponentiation or else a dotted-decimal
69207315v-string. If the v-string has fewer than three components, it
69217316must have a leading 'v' character. Otherwise, the leading 'v' is
69227317optional. Both decimal and dotted-decimal versions may have a
69237318trailing "alpha" component separated by an underscore character
69247319after a fractional or dotted-decimal component. The parenthesized
69257320text indicates which criteria were not met. See the L<version> module
69267321for more details on allowed version formats.
69277322
69287323=end original
69297324
69307325(F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。
69317326「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、
69327327あるいはどっと付き 10 進 v-文字列です。
69337328v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。
69347329さもなければ、先頭の 'v' はオプションです。
6935733010 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進
69367331要素の後に下線で区切られた「α」要素が引き続くこともあります。
69377332かっこで囲まれたテキストは問題の基準を示しています。
69387333許されるバージョンオブジェクトに関するさらなる詳細については
69397334L<version> モジュールを参照してください。
69407335
69417336=item Invalid version object
69427337
69437338=begin original
69447339
69457340(F) The internal structure of the version object was invalid.
69467341Perhaps the internals were modified directly in some way or
69477342an arbitrary reference was blessed into the "version" class.
69487343
69497344=end original
69507345
69517346(F) バージョンオブジェクトの内部構造が不正です。
69527347おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが
69537348"version" クラスとして bless されました。
69547349
7350=item Inverting a character class which contains a multi-character
7351sequence is illegal in regex; marked by <-- HERE in m/%s/
7352
7353=begin original
7354
7355(F) You wrote something like
7356
7357=end original
7358
7359(F) 次のようなものを書きました:
7360
7361 qr/\P{name=KATAKANA LETTER AINU P}/
7362 qr/[^\p{name=KATAKANA LETTER AINU P}]/
7363
7364=begin original
7365
7366This name actually evaluates to a sequence of two Katakana characters,
7367not just a single one, and it is illegal to try to take the complement
7368of a sequence. (Mathematically it would mean any sequence of characters
7369from 0 to infinity in length that weren't these two in a row, and that
7370is likely not of any real use.)
7371
7372=end original
7373
7374この名前は実際には一つではなく二つのカタカナ文字の並びに評価され、
7375並びの反転を取ろうとするのは不正です。
7376(数学的には、これはこれら二つが並んでいるもの以外の長さ 0 から無限の
7377任意の文字並びを意味しますが、おそらく実際の用途ではないでしょう。)
7378
69557379=item In '(*VERB...)', the '(' and '*' must be adjacent in regex;
69567380marked by S<<-- HERE> in m/%s/
69577381
69587382=begin original
69597383
6960(F) The two-character sequence C<"(*"> in
7384(F) The two-character sequence C<"(*"> in this context in a regular
6961this context in a regular expression pattern should be an
7385expression pattern should be an indivisible token, with nothing
6962indivisible token, with nothing intervening between the C<"(">
7386intervening between the C<"("> and the C<"*">, but you separated them.
6963and the C<"*">, but you separated them.
69647387
69657388=end original
69667389
69677390(F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない
69687391トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを
69697392分割しました。
69707393
69717394=item ioctl is not implemented
69727395
69737396=begin original
69747397
69757398(F) Your machine apparently doesn't implement ioctl(), which is pretty
69767399strange for a machine that supports C.
69777400
69787401=end original
69797402
69807403(F) C をサポートしているマシンではおかしなことだと思いますが、
69817404このマシンでは ioctl() が実装されていないようです。
69827405
69837406=item ioctl() on unopened %s
69847407
69857408=begin original
69867409
69877410(W unopened) You tried ioctl() on a filehandle that was never opened.
69887411Check your control flow and number of arguments.
69897412
69907413=end original
69917414
69927415(W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。
69937416制御フローと引数の数をチェックしてください。
69947417
69957418=item IO layers (like '%s') unavailable
69967419
69977420=begin original
69987421
69997422(F) Your Perl has not been configured to have PerlIO, and therefore
70007423you cannot use IO layers. To have PerlIO, Perl must be configured
70017424with 'useperlio'.
70027425
70037426=end original
70047427
70057428(F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。
70067429PerlIO を使うには、'useperlio' 付きで設定する必要があります。
70077430
70087431=item IO::Socket::atmark not implemented on this architecture
70097432
70107433=begin original
70117434
70127435(F) Your machine doesn't implement the sockatmark() functionality,
70137436neither as a system call nor an ioctl call (SIOCATMARK).
70147437
70157438=end original
70167439
70177440(F) 実行されているマシンでは、システムコールでも
70187441ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。
70197442
70207443=item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/
70217444
70227445=begin original
70237446
70247447(F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to
70257448Perl. The current valid ones are given in
70267449L<perlrebackslash/\b{}, \b, \B{}, \B>.
70277450
70287451=end original
70297452
70307453(F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は
70317454Perl が知らないものでした。
70327455現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。
70337456
7034=item %s() is deprecated on :utf8 handles
7457=item %s is forbidden - matches null string many times in regex; marked by S<<-- HERE> in
7458m/%s/
70357459
70367460=begin original
70377461
7038(W deprecated) The sysread(), recv(), syswrite() and send() operators are
7462(F) The pattern you've specified might cause the regular expression to
7039deprecated on handles that have the C<:utf8> layer, either explicitly, or
7463infinite loop so it is forbidden. The S<<-- HERE>
7464shows whereabouts in the regular expression the problem was discovered.
7465See L<perlre>.
7466
7467=end original
7468
7469(F) 指定されたパターンは、正規表現が無限ループを引き起こすかもしれないので、
7470禁止されています。
7471S<<-- HERE> は問題が発見された正規表現の位置を示します。
7472L<perlre> を参照してください。
7473
7474=item %s() isn't allowed on :utf8 handles
7475
7476=begin original
7477
7478(F) The sysread(), recv(), syswrite() and send() operators are
7479not allowed on handles that have the C<:utf8> layer, either explicitly, or
70407480implicitly, eg., with the C<:encoding(UTF-16LE)> layer.
70417481
70427482=end original
70437483
7044(W deprecated) The
7484(F) sysread(), recv(), syswrite() and send() 演算子は、
7045sysread(), recv(), syswrite() and send() 演算子は、
70467485明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、
7047C<:utf8> 層を持つハンドルに対しては廃止予定です
7486C<:utf8> 層を持つハンドルに対しては許されません
70487487
70497488=begin original
70507489
7051Both sysread() and recv() currently use only the C<:utf8> flag for the stream,
7490Previously sysread() and recv() currently use only the C<:utf8> flag for the stream,
7052ignoring the actual layers. Since sysread() and recv() do no UTF-8
7491ignoring the actual layers. Since sysread() and recv() did no UTF-8
70537492validation they can end up creating invalidly encoded scalars.
70547493
70557494=end original
70567495
7057sysread() と recv() は現在の所ストリームに対して C<:utf8> フラグのみを
7496以前は、sysread() と recv() は現在の所ストリームに対して
7058使い、実際の層は無視します。
7497C<:utf8> フラグのみを使い、実際の層は無視します。
7059sysread() と recv() は UTF-8 の検証を行わないので、
7498sysread() と recv() は UTF-8 の検証を行ってなかったので、
70607499不正にエンコードされたスカラを作ることになる可能性があります。
70617500
70627501=begin original
70637502
7064Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise ignoring
7503Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring
7065any layers. If the flag is set, both write the value UTF-8 encoded, even if
7504any layers. If the flag is set, both wrote the value UTF-8 encoded, even if
70667505the layer is some different encoding, such as the example above.
70677506
70687507=end original
70697508
70707509同様に、syswrite() は send() C<:utf8> フラグのみを使い、
7071それ以外は全ての層を無視しま
7510それ以外は全ての層を無視していした
70727511フラグがセットされると、例え層が前述の例のように異なった
7073エンコーディングでも、UTF-8 エンコードされた値を書き込
7512エンコーディングでも、UTF-8 エンコードされた値を書き込んでいした
70747513
70757514=begin original
70767515
70777516Ideally, all of these operators would completely ignore the C<:utf8> state,
70787517working only with bytes, but this would result in silently breaking existing
7079code. To avoid this a future version of perl will throw an exception when
7518code.
7080any of sysread(), recv(), syswrite() or send() are called on handle with the
7081C<:utf8> layer.
70827519
70837520=end original
70847521
70857522理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して
70867523バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に
70877524壊すことになります。
7088これを防ぐために、将来のバージョンの perl は
7089sysread(), recv(), syswrite(), send() がC<:utf8> 層付きのハンドルで
7090呼び出されると例外を投げるようになります。
70917525
70927526=item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/
70937527
70947528=begin original
70957529
70967530(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
70977531
70987532=end original
70997533
7100(W regexp) (C<S<use re 'strict'>> のか C<(?[...])> の内側のみ)
7534(W regexp) (C<S<use re 'strict'>> のか C<(?[...])> の内側のみ)
71017535
71027536=begin original
71037537
7104You specified a character that has the given plainer way of writing it,
7538You specified a character that has the given plainer way of writing it, and
7105and which is also portable to platforms running with different character
7539which is also portable to platforms running with different character sets.
7106sets.
71077540
71087541=end original
71097542
71107543それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される
71117544プラットフォーム間で移植性のある文字を指定しました。
71127545
7113=item $* is no longer supported
7546=item $* is no longer supported as of Perl 5.30
71147547
71157548=begin original
71167549
7117(D deprecated, syntax) The special variable C<$*>, deprecated in older
7550(F) The special variable C<$*>, deprecated in older perls, was removed in
7118perls, has been removed as of 5.10.0 and is no longer supported. In
75515.10.0, is no longer supported and is a fatal error as of Perl 5.30. In
71197552previous versions of perl the use of C<$*> enabled or disabled multi-line
71207553matching within a string.
71217554
71227555=end original
71237556
7124(D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は
7557(F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は
71255.10.0 で削除され、もはや対応してせん
7558もはや対応しておらず、Perl 5.30 から致命的エラーになりした
71267559以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または
71277560無効にするために使っていました。
71287561
71297562=begin original
71307563
71317564Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp
71327565modifiers. You can enable C</m> for a lexical scope (even a whole file)
71337566with C<use re '/m'>. (In older versions: when C<$*> was set to a true value
71347567then all regular expressions behaved as if they were written using C</m>.)
71357568
71367569=end original
71377570
71387571C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を
71397572使うべきです。
71407573C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を
71417574有効にできます。
71427575(より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は
71437576C</m> を使って書かれたかのように振る舞っていました。)
71447577
7145=item $# is no longer supported
7578=begin original
71467579
7580Use of this variable will be a fatal error in Perl 5.30.
7581
7582=end original
7583
7584この変数の使用は Perl 5.30 から致命的エラーになります。
7585
7586=item $# is no longer supported as of Perl 5.30
7587
71477588=begin original
71487589
7149(D deprecated, syntax) The special variable C<$#>, deprecated in older
7590(F) The special variable C<$#>, deprecated in older perls, was removed as of
7150perls, has been removed as of 5.10.0 and is no longer supported. You
75915.10.0, is no longer supported and is a fatal error as of Perl 5.30. You
71517592should use the printf/sprintf functions instead.
71527593
71537594=end original
71547595
7155(D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は
7596(F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は
71565.10.0 で削除され、もはや対応してせん
7597もはや対応しておらず、Perl 5.30 から致命的エラーになりした
7157代わりに printf/sprintf 関数を使うべきです。
71587598
71597599=item '%s' is not a code reference
71607600
71617601=begin original
71627602
71637603(W overload) The second (fourth, sixth, ...) argument of
71647604overload::constant needs to be a code reference. Either
71657605an anonymous subroutine, or a reference to a subroutine.
71667606
71677607=end original
71687608
71697609(W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は
71707610コードリファレンスである必要があります。
71717611無名サブルーチンか、サブルーチンへのリファレンスです。
71727612
71737613=item '%s' is not an overloadable type
71747614
71757615=begin original
71767616
71777617(W overload) You tried to overload a constant type the overload package is
71787618unaware of.
71797619
71807620=end original
71817621
71827622(W overload) オーバーロードパッケージが知らない定数型を
71837623オーバーロードしようとしました。
71847624
7625=item isa is experimental
7626
7627=begin original
7628
7629(S experimental::isa) This warning is emitted if you use the (C<isa>)
7630operator. This operator is currently experimental and its behaviour may
7631change in future releases of Perl.
7632
7633=end original
7634
7635(S experimental::isa) この警告は、(C<isa>) 演算子を使うと発生します。
7636この演算子は現在のところ実験的な機能で、Perl の将来のリリースでは変更される
7637可能性があります。
7638
71857639=item -i used with no filenames on the command line, reading from STDIN
71867640
71877641=begin original
71887642
71897643(S inplace) The C<-i> option was passed on the command line, indicating
71907644that the script is intended to edit files in place, but no files were
71917645given. This is usually a mistake, since editing STDIN in place doesn't
71927646make sense, and can be confusing because it can make perl look like
71937647it is hanging when it is really just trying to read from STDIN. You
71947648should either pass a filename to edit, or remove C<-i> from the command
7195line. See L<perlrun> for more details.
7649line. See L<perlrun|perlrun/-i[extension]> for more details.
71967650
71977651=end original
71987652
71997653(S inplace) The C<-i> オプションがコマンドラインで渡されました; これは
72007654スクリプトがファイルをその場で編集することを示していますが、ファイルが
72017655指定されませんでした。
72027656これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、
72037657本当に単に STDIN から読み込もうとしているだけのときに perl が
72047658ハングしているように見えることがあるので混乱を引き起こします。
72057659編集するファイル名を指定するか、コマンドラインから C<-i> を
72067660取り除いてください。
7207さらなる詳細については L<perlrun> を参照してください。
7661さらなる詳細については L<perlrun|perlrun/-i[extension]> を参照してください。
72087662
72097663=item Junk on end of regexp in regex m/%s/
72107664
72117665=begin original
72127666
72137667(P) The regular expression parser is confused.
72147668
72157669=end original
72167670
72177671(P) 正規表現の構文解析ができなくなりました。
72187672
7673=item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/
7674
7675=begin original
7676
7677(F) Your regular expression used C<\K> in a lookhead or lookbehind
7678assertion, which isn't permitted.
7679
7680=end original
7681
7682(F) Your regular expression used in a
7683この正規表現は先読みや後読みの言明の中で C<\K> を使っています;
7684これは許されていません。
7685
72197686=item Label not found for "last %s"
72207687
72217688=begin original
72227689
72237690(F) You named a loop to break out of, but you're not currently in a loop
72247691of that name, not even if you count where you were called from. See
72257692L<perlfunc/last>.
72267693
72277694=end original
72287695
72297696(F) 脱出するループを指定しましたが、その名前のループの中にいません、
72307697たとえ、呼び出された場所がそうであっても、今はそうではありません。
72317698L<perlfunc/last> を参照してください。
72327699
72337700=item Label not found for "next %s"
72347701
72357702=begin original
72367703
72377704(F) You named a loop to continue, but you're not currently in a loop of
72387705that name, not even if you count where you were called from. See
72397706L<perlfunc/last>.
72407707
72417708=end original
72427709
72437710(F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に
72447711いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。
72457712L<perlfunc/last> を参照してください。
72467713
72477714=item Label not found for "redo %s"
72487715
72497716=begin original
72507717
72517718(F) You named a loop to restart, but you're not currently in a loop of
72527719that name, not even if you count where you were called from. See
72537720L<perlfunc/last>.
72547721
72557722=end original
72567723
72577724(F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に
72587725いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。
72597726L<perlfunc/last> を参照してください。
72607727
72617728=item leaving effective %s failed
72627729
72637730=begin original
72647731
72657732(F) While under the C<use filetest> pragma, switching the real and
72667733effective uids or gids failed.
72677734
72687735=end original
72697736
72707737(F) C<use filetest> プラグマを使っている間に、
72717738実と実効の UID や GID の切り替えに失敗しました。
72727739
72737740=item length/code after end of string in unpack
72747741
72757742=begin original
72767743
72777744(F) While unpacking, the string buffer was already used up when an unpack
72787745length/code combination tried to obtain more data. This results in
72797746an undefined value for the length. See L<perlfunc/pack>.
72807747
72817748=end original
72827749
72837750(F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを
72847751unpack するときに文字列バッファが既に使い切っていました。
72857752これにより、長さが未定義値となります。
72867753L<perlfunc/pack> を参照してください。
72877754
72887755=item length() used on %s (did you mean "scalar(%s)"?)
72897756
72907757=begin original
72917758
72927759(W syntax) You used length() on either an array or a hash when you
72937760probably wanted a count of the items.
72947761
72957762=end original
72967763
72977764(W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して
72987765length() を使いました。
72997766
73007767=begin original
73017768
73027769Array size can be obtained by doing:
73037770
73047771=end original
73057772
73067773配列の大きさは以下のようにして得られます:
73077774
73087775 scalar(@array);
73097776
73107777=begin original
73117778
73127779The number of items in a hash can be obtained by doing:
73137780
73147781=end original
73157782
73167783ハッシュの要素数は以下のようにして得られます:
73177784
73187785 scalar(keys %hash);
73197786
73207787=item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input
73217788
73227789=begin original
73237790
73247791(F) An extension is attempting to insert text into the current parse
73257792(using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that
73267793couldn't be part of the current input. This is an inherent pitfall
73277794of the stuffing mechanism, and one of the reasons to avoid it. Where
73287795it is necessary to stuff, stuffing only plain ASCII is recommended.
73297796
73307797=end original
73317798
73327799(F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や
73337800同様なものを使って)現在のパースにテキストを挿入しようとしましたが、
73347801現在の入力の一部となることができない文字を挿入しようとしました。
73357802これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。
73367803詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。
73377804
73387805=item Lexing code internal error (%s)
73397806
73407807=begin original
73417808
73427809(F) Lexing code supplied by an extension violated the lexer's API in a
73437810detectable way.
73447811
73457812=end original
73467813
73477814(F) エクステンションによって供給された文法解析コードが、検出できる方法で
73487815文法解析器の API に違反しています。
73497816
73507817=item listen() on closed socket %s
73517818
73527819=begin original
73537820
73547821(W closed) You tried to do a listen on a closed socket. Did you forget
73557822to check the return value of your socket() call? See
73567823L<perlfunc/listen>.
73577824
73587825=end original
73597826
73607827(W closed) クローズされたソケットに listen を行なおうとしました。
73617828socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。
73627829L<perlfunc/listen> を参照してください。
73637830
73647831=item List form of piped open not implemented
73657832
73667833=begin original
73677834
73687835(F) On some platforms, notably Windows, the three-or-more-arguments
73697836form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>.
73707837Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead.
73717838
73727839=end original
73737840
73747841(F) 一部のプラットフォーム、特に Windows では、
73757842C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の
73767843C<open> ではパイプに対応していません。
73777844代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。
73787845
7846=item Literal vertical space in [] is illegal except under /x in regex;
7847marked by S<<-- HERE> in m/%s/
7848
7849=begin original
7850
7851(F) (only under C<S<use re 'strict'>> or within C<(?[...])>)
7852
7853=end original
7854
7855(F) (C<S<use re 'strict'>> の下、または C<(?[...])> の中のみ)
7856
7857=begin original
7858
7859Likely you forgot the C</x> modifier or there was a typo in the pattern.
7860For example, did you really mean to match a form-feed? If so, all the
7861ASCII vertical space control characters are representable by escape
7862sequences which won't present such a jarring appearance as your pattern
7863does when displayed.
7864
7865=end original
7866
7867おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。
7868例えば、本当に改ページとマッチングしたかったのですか?
7869もしそうなら、全ての ASCII の垂直スペース制御文字は、
7870パターンを表示したときに不愉快な形で表現されることのない、
7871エスケープシーケンスによって表現できます。
7872
7873 \r carriage return
7874 \f form feed
7875 \n line feed
7876 \cK vertical tab
7877
73797878=item %s: loadable library and perl binaries are mismatched (got handshake key %p, needed %p)
73807879
73817880=begin original
73827881
73837882(P) A dynamic loading library C<.so> or C<.dll> was being loaded into the
73847883process that was built against a different build of perl than the
73857884said library was compiled against. Reinstalling the XS module will
73867885likely fix this error.
73877886
73887887=end original
73897888
73907889(P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが
73917890コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。
73927891XS モジュールを再インストールすることでおそらくこのエラーは
73937892修正されるでしょう。
73947893
7894=item Locale '%s' contains (at least) the following characters which
7895have unexpected meanings: %s The Perl program will use the expected
7896meanings
7897
7898=begin original
7899
7900(W locale) You are using the named UTF-8 locale. UTF-8 locales are
7901expected to have very particular behavior, which most do. This message
7902arises when perl found some departures from the expectations, and is
7903notifying you that the expected behavior overrides these differences.
7904In some cases the differences are caused by the locale definition being
7905defective, but the most common causes of this warning are when there are
7906ambiguities and conflicts in following the Standard, and the locale has
7907chosen an approach that differs from Perl's.
7908
7909=end original
7910
7911(W locale) 名前付きの UTF-8 ロケールを使っています。
7912UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが
7913想定されています。
7914このメッセージは、perl がこの想定との違いを発見し、その違いを
7915想定される振る舞いで上書きしたことを通知するときに発生します。
7916違いはロケール定義に問題があることによる場合もありますが、
7917この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、
7918ロケールが Perl のものと異なる手法を選んだときです。
7919
7920=begin original
7921
7922One of these is because that, contrary to the claims, Unicode is not
7923completely locale insensitive. Turkish and some related languages
7924have two types of C<"I"> characters. One is dotted in both upper- and
7925lowercase, and the other is dotless in both cases. Unicode allows a
7926locale to use either the Turkish rules, or the rules used in all other
7927instances, where there is only one type of C<"I">, which is dotless in
7928the uppercase, and dotted in the lower. The perl core does not (yet)
7929handle the Turkish case, and this message warns you of that. Instead,
7930the L<Unicode::Casing> module allows you to mostly implement the Turkish
7931casing rules.
7932
7933=end original
7934
7935その一つは、主張に反して、Unicode が完全にロケールに依存しない
7936訳ではないからです。
7937トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。
7938一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが
7939ありません。
7940Unicode はロケールがトルコ語の規則と、その他全ての場合に
7941使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、
7942小文字にはドットがあるもの、のどちらを使うことも許しています。
7943perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを
7944警告します。
7945代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ
7946実装しています。
7947
7948=begin original
7949
7950The other common cause is for the characters
7951
7952=end original
7953
7954その他のよくある原因は次の文字です:
7955
7956 $ + < = > ^ ` | ~
7957
7958=begin original
7959
7960These are probematic. The C standard says that these should be
7961considered punctuation in the C locale (and the POSIX standard defers to
7962the C standard), and Unicode is generally considered a superset of
7963the C locale. But Unicode has added an extra category, "Symbol", and
7964classifies these particular characters as being symbols. Most UTF-8
7965locales have them treated as punctuation, so that L<ispunct(2)> returns
7966non-zero for them. But a few locales have it return 0. Perl takes
7967the first approach, not using C<ispunct()> at all (see L<Note [5] in
7968perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you
7969are getting Perl's approach, not the locale's.
7970
7971=end original
7972
7973これらには問題があります。
7974C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて
7975(そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの
7976上位集合と考えられています。
7977しかし Unicode は、"Symbol" というカテゴリが追加され、
7978これはこれらの文字をシンボルとして分類しています。
7979ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、
7980L<ispunct(2)> はこれらに対して非 0 を返します。
7981しかしいくつかのロケールでは 0 を返します。
7982Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in
7983perlrecharclass|perlrecharclass/[5]> 参照)、
7984このメッセージはロケールのものではなく Perl の手法をとったことを
7985知らせるために発生します。
7986
73957987=item Locale '%s' may not work well.%s
73967988
73977989=begin original
73987990
73997991(W locale) You are using the named locale, which is a non-UTF-8 one, and
74007992which perl has determined is not fully compatible with what it can
74017993handle. The second C<%s> gives a reason.
74027994
74037995=end original
74047996
74057997(W locale) 非 UTF-8 の名前付きロケールを使っていますが、
74067998perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。
740779992 番目の C<%s> に理由があります。
74088000
74098001=begin original
74108002
74118003By far the most common reason is that the locale has characters in it
74128004that are represented by more than one byte. The only such locales that
74138005Perl can handle are the UTF-8 locales. Most likely the specified locale
74148006is a non-UTF-8 one for an East Asian language such as Chinese or
74158007Japanese. If the locale is a superset of ASCII, the ASCII portion of it
74168008may work in Perl.
74178009
74188010=end original
74198011
74208012もっともありそうな理由は、そのロケールが複数バイトで表現される文字を
74218013持っていることです。
74228014Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。
74238015もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の
74248016非 UTF-8 のものです。
74258017ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。
74268018
74278019=begin original
74288020
74298021Some essentially obsolete locales that aren't supersets of ASCII, mainly
74308022those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have
74318023problems, depending on what portions of the ASCII character set get
74328024changed by the locale and are also used by the program.
74338025The warning message lists the determinable conflicting characters.
74348026
74358027=end original
74368028
74378029ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような
74388030その他の 7 ビットロケールも問題になり得ます;
74398031ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで
74408032使われるかによります。
74418033警告メッセージは決定できる衝突している文字を一覧表示します。
74428034
74438035=begin original
74448036
74458037Note that not all incompatibilities are found.
74468038
74478039=end original
74488040
74498041全ての非互換性が発見されるわけではないことに注意してください。
74508042
74518043=begin original
74528044
74538045If this happens to you, there's not much you can do except switch to use a
74548046different locale or use L<Encode> to translate from the locale into
74558047UTF-8; if that's impracticable, you have been warned that some things
74568048may break.
74578049
74588050=end original
74598051
74608052これが起きた場合、異なるロケールを使うように変更するか、
74618053そのロケールから UTF-8 に変換するために L<Encode> を使う以外に
74628054できることはあまりありません; もしそれができないなら、
74638055あなたは何かが壊れるかもしれないことを警告されました。
74648056
74658057=begin original
74668058
74678059This message is output once each time a bad locale is switched into
74688060within the scope of C<S<use locale>>, or on the first possibly-affected
74698061operation if the C<S<use locale>> inherits a bad one. It is not raised
74708062for any operations from the L<POSIX> module.
74718063
74728064=end original
74738065
74748066このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった
74758067毎に、あるいは C<S<use locale>> が悪いものを継承している場合は
74768068最初の影響があるかもしれない操作の時点で出力されます。
74778069これは L<POSIX> モジュールの操作では発生しません。
74788070
74798071=item localtime(%f) failed
74808072
74818073=begin original
74828074
74838075(W overflow) You called C<localtime> with a number that it could not handle:
74848076too large, too small, or NaN. The returned value is C<undef>.
74858077
74868078=end original
74878079
74888080(W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり
74898081小さすぎたり NaN だったりです。
74908082返り値は C<undef> です。
74918083
74928084=item localtime(%f) too large
74938085
74948086=begin original
74958087
74968088(W overflow) You called C<localtime> with a number that was larger
74978089than it can reliably handle and C<localtime> probably returned the
74988090wrong date. This warning is also triggered with NaN (the special
74998091not-a-number value).
75008092
75018093=end original
75028094
75038095(W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので
75048096C<localtime> はおそらく間違った日付を返します。
75058097この警告は、NaN (特殊な非数) でも引き起こされます。
75068098
75078099=item localtime(%f) too small
75088100
75098101=begin original
75108102
75118103(W overflow) You called C<localtime> with a number that was smaller
75128104than it can reliably handle and C<localtime> probably returned the
75138105wrong date.
75148106
75158107=end original
75168108
75178109(W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので
75188110C<localtime> はおそらく間違った日付を返します。
75198111
75208112=item Lookbehind longer than %d not implemented in regex m/%s/
75218113
75228114=begin original
75238115
75248116(F) There is currently a limit on the length of string which lookbehind can
75258117handle. This restriction may be eased in a future release.
75268118
75278119=end original
75288120
75298121(F) 現在のところ前方参照が扱える文字列の長さには制限があります。
75308122この制限は将来のリリースでは緩和されるでしょう。
75318123
75328124=item Lost precision when %s %f by 1
75338125
75348126=begin original
75358127
75368128(W imprecision) The value you attempted to increment or decrement by one
75378129is too large for the underlying floating point representation to store
75388130accurately, hence the target of C<++> or C<--> is unchanged. Perl issues this
75398131warning because it has already switched from integers to floating point
75408132when values are too large for integers, and now even floating point is
75418133insufficient. You may wish to switch to using L<Math::BigInt> explicitly.
75428134
75438135=end original
75448136
75458137(W imprecision) インクリメントまたはデクリメントしようとしている値は、
75468138基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎるので、
75478139C<++> や C<--> のターゲットは変更されません。
75488140Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に
75498141切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。
75508142明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。
75518143
75528144=item lstat() on filehandle%s
75538145
75548146=begin original
75558147
75568148(W io) You tried to do an lstat on a filehandle. What did you mean
75578149by that? lstat() makes sense only on filenames. (Perl did a fstat()
75588150instead on the filehandle.)
75598151
75608152=end original
75618153
75628154(W io) ファイルハンドルに lstat を実行しようとしました。
75638155これで何をしようとしたのですか?
75648156lstat() はファイル名に対してのみ意味があります。
75658157(Perl はファイルハンドルには代わりに fstat() を行いました。)
75668158
75678159=item lvalue attribute %s already-defined subroutine
75688160
75698161=begin original
75708162
75718163(W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue
75728164attribute on or off on a Perl subroutine that is already defined
75738165does not always work properly. It may or may not do what you
75748166want, depending on what code is inside the subroutine, with exact
75758167details subject to change between Perl versions. Only do this
75768168if you really know what you are doing.
75778169
75788170=end original
75798171
75808172(W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に
75818173定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは
75828174常に適切に動作するわけではありません。
75838175あなたの望むことが行われるかもしれませんし行われないかもしれません;
75848176サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は
75858177Perl バージョン間で変更されることがあります。
75868178自分が何をしているのかが本当に分かっているときにだけこれを行ってください。
75878179
75888180=item lvalue attribute ignored after the subroutine has been defined
75898181
75908182=begin original
75918183
75928184(W misc) Using the C<:lvalue> declarative syntax to make a Perl
75938185subroutine an lvalue subroutine after it has been defined is
75948186not permitted. To make the subroutine an lvalue subroutine,
75958187add the lvalue attribute to the definition, or put the C<sub
75968188foo :lvalue;> declaration before the definition.
75978189
75988190=end original
75998191
76008192(W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに
76018193するために C<:lvalue> 宣言文を使うことはできません。
76028194サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、
76038195定義する前に C<sub foo :lvalue;> 宣言を行います。
76048196
76058197=begin original
76068198
76078199See also L<attributes.pm|attributes>.
76088200
76098201=end original
76108202
76118203L<attributes.pm|attributes> も参照してください。
76128204
76138205=item Magical list constants are not supported
76148206
76158207=begin original
76168208
76178209(F) You assigned a magical array to a stash element, and then tried
76188210to use the subroutine from the same slot. You are asking Perl to do
76198211something it cannot do, details subject to change between Perl versions.
76208212
76218213=end original
76228214
76238215(F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから
76248216サブルーチンを使おうとしました。
76258217Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを
76268218Perl にさせようとしました。
76278219
76288220=item Malformed integer in [] in pack
76298221
76308222=begin original
76318223
76328224(F) Between the brackets enclosing a numeric repeat count only digits
76338225are permitted. See L<perlfunc/pack>.
76348226
76358227=end original
76368228
76378229(F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。
76388230L<perlfunc/pack> を参照してください。
76398231
76408232=item Malformed integer in [] in unpack
76418233
76428234=begin original
76438235
76448236(F) Between the brackets enclosing a numeric repeat count only digits
76458237are permitted. See L<perlfunc/pack>.
76468238
76478239=end original
76488240
76498241(F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。
76508242L<perlfunc/pack> を参照してください。
76518243
76528244=item Malformed PERLLIB_PREFIX
76538245
76548246=begin original
76558247
76568248(F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form
76578249
76588250=end original
76598251
76608252(F) OS/2 固有のエラーです。
76618253PERLLIB_PREFIX は以下のような形か:
76628254
76638255 prefix1;prefix2
76648256
76658257=begin original
76668258
76678259or
76688260 prefix1 prefix2
76698261
76708262=end original
76718263
76728264または
76738265 prefix1 prefix2
76748266
76758267=begin original
76768268
76778269with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of
76788270a builtin library search path, prefix2 is substituted. The error may
76798271appear if components are not found, or are too long. See
76808272"PERLLIB_PREFIX" in L<perlos2>.
76818273
76828274=end original
76838275
76848276prefix1 と prefix2 が空でない形である必要があります。
76858277C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、
76868278prefix2 は置き換えられます。
76878279このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。
76888280L<perlos2> の "PERLLIB_PREFIX" を参照してください。
76898281
76908282=item Malformed prototype for %s: %s
76918283
76928284=begin original
76938285
76948286(F) You tried to use a function with a malformed prototype. The
76958287syntax of function prototypes is given a brief compile-time check for
76968288obvious errors like invalid characters. A more rigorous check is run
76978289when the function is called.
76988290Perhaps the function's author was trying to write a subroutine signature
76998291but didn't enable that feature first (C<use feature 'signatures'>),
77008292so the signature was instead interpreted as a bad prototype.
77018293
77028294=end original
77038295
77048296(F) 不正な形式のプロトタイプをもつ関数を使おうとしました。
77058297関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては
77068298コンパイル時にチェックされます。
77078299より厳密なチェックは、関数が呼び出された時に実行されます。
77088300おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、
77098301先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、
77108302シグネチャは間違ったプロトタイプとして解釈されました。
77118303
7712=item Malformed UTF-8 character (%s)
8304=item Malformed UTF-8 character%s
77138305
77148306=begin original
77158307
7716(S utf8)(F) Perl detected a string that didn't comply with UTF-8
8308(S utf8)(F) Perl detected a string that should be UTF-8, but didn't
7717encoding rules, even though it had the UTF8 flag on.
8309comply with UTF-8 encoding rules, or represents a code point whose
8310ordinal integer value doesn't fit into the word size of the current
8311platform (overflows). Details as to the exact malformation are given in
8312the variable, C<%s>, part of the message.
77188313
77198314=end original
77208315
7721(S utf8)(F) Perl が、UTF8 フラグがオンにも関わらず UTF-8 エンコーディング
8316(S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、
7722に従わない文字列を検出しました。
8317UTF-8 エンコディング規則に従わない
8318あるいは序数が現在のプラットフォームのワードサイズに収まらない
8319(オーバーフローする)符号位置を表現する文字列を検出しました。
8320不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。
77238321
77248322=begin original
77258323
77268324One possible cause is that you set the UTF8 flag yourself for data that
7727you thought to be in UTF-8 but it wasn't (it was for example legacy
8325you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit
77288-bit data). To guard against this, you can use Encode::decode_utf8.
8326data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>.
77298327
77308328=end original
77318329
77328330原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ
77338331(例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした
77348332ことです。
7735これから守るためには、Encode::decode_utf8 を使えます。
8333これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。
77368334
77378335=begin original
77388336
77398337If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte
7740sequences are handled gracefully, but if you use C<:utf8>, the flag is
8338sequences are handled gracefully, but if you use C<:utf8>, the flag is set
7741set without validating the data, possibly resulting in this error
8339without validating the data, possibly resulting in this error message.
7742message.
77438340
77448341=end original
77458342
77468343入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは
77478344寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、
77488345おそらく結果としてこのエラーメッセージが出力されます。
77498346
77508347=begin original
77518348
77528349See also L<Encode/"Handling Malformed Data">.
77538350
77548351=end original
77558352
77568353L<Encode/"Handling Malformed Data"> も参照してください。
77578354
7758=item Malformed UTF-8 character immediately after '%s'
8355=item Malformed UTF-8 returned by \N{%s} immediately after '%s'
77598356
77608357=begin original
77618358
7762(F) You said C<use utf8>, but the program file doesn't comply with UTF-8
8359(F) The charnames handler returned malformed UTF-8.
7763encoding rules. The message prints out the properly encoded characters
7764just before the first bad one. If C<utf8> warnings are enabled, a
7765warning is generated that gives more details about the type of
7766malformation.
77678360
77688361=end original
77698362
7770(F) C<use utf8> を指定しましたが、プログムファイルは UTF-8 エンコーディング
8363(F) charnames ハンドが不正な UTF-8 を返しました。
7771規則に従っていません。
7772このメッセージは最初の間違った文字の直前の正しくエンコードされた文字を
7773表示します。
7774C<utf8> 警告が有効なら、不正の種類に関するさらなる詳細が出力されます。
77758364
7776=item Malformed UTF-8 returned by \N{%s} immediately after '%s'
8365=item Malformed UTF-8 string in "%s"
77778366
77788367=begin original
77798368
7780(F) The charnames handler returned malformed UTF-8.
8369(F) This message indicates a bug either in the Perl core or in XS
8370code. Such code was trying to find out if a character, allegedly
8371stored internally encoded as UTF-8, was of a given type, such as
8372being punctuation or a digit. But the character was not encoded
8373in legal UTF-8. The C<%s> is replaced by a string that can be used
8374by knowledgeable people to determine what the type being checked
8375against was.
77818376
77828377=end original
77838378
7784(F) charnames ハンドラが不正な UTF-8返しました。
8379(F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあること
8380示しています。
8381そのコードは、UTF-8 として内部でエンコードされて
8382保管されているということになっているある文字が、
8383句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。
8384しかし、この文字は正当な UTF-8 としてエンコードされていません。
8385C<%s> は、知識がある人々が、どの種類をチェックするべきかを
8386決めるために使われる文字列で置き換えられます。
77858387
8388=begin original
8389
8390Passing malformed strings was deprecated in Perl 5.18, and
8391became fatal in Perl 5.26.
8392
8393=end original
8394
8395不正な文字列を渡すことは Perl 5.18 で廃止予定になり、
8396Perl 5.26 で致命的エラーになりました。
8397
77868398=item Malformed UTF-8 string in '%c' format in unpack
77878399
77888400=begin original
77898401
77908402(F) You tried to unpack something that didn't comply with UTF-8 encoding
77918403rules and perl was unable to guess how to make more progress.
77928404
77938405=end original
77948406
77958407(F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、
77968408perl はどうやってさらに進捗させればいいかが推測できませんでした。
77978409
77988410=item Malformed UTF-8 string in pack
77998411
78008412=begin original
78018413
78028414(F) You tried to pack something that didn't comply with UTF-8 encoding
78038415rules and perl was unable to guess how to make more progress.
78048416
78058417=end original
78068418
78078419(F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、
78088420perl はどうやってさらに進捗させればいいかが推測できませんでした。
78098421
78108422=item Malformed UTF-8 string in unpack
78118423
78128424=begin original
78138425
78148426(F) You tried to unpack something that didn't comply with UTF-8 encoding
78158427rules and perl was unable to guess how to make more progress.
78168428
78178429=end original
78188430
78198431(F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、
78208432perl はどうやってさらに進捗させればいいかが推測できませんでした。
78218433
78228434=item Malformed UTF-16 surrogate
78238435
78248436=begin original
78258437
78268438(F) Perl thought it was reading UTF-16 encoded character data but while
78278439doing it Perl met a malformed Unicode surrogate.
78288440
78298441=end original
78308442
78318443(F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、
78328444その間に Perl が不正な Unicode サロゲートに遭遇しました。
78338445
78348446=item Mandatory parameter follows optional parameter
78358447
78368448=begin original
78378449
78388450(F) In a subroutine signature, you wrote something like "$a = undef,
78398451$b", making an earlier parameter optional and a later one mandatory.
78408452Parameters are filled from left to right, so it's impossible for the
78418453caller to omit an earlier one and pass a later one. If you want to act
78428454as if the parameters are filled from right to left, declare the rightmost
78438455optional and then shuffle the parameters around in the subroutine's body.
78448456
78458457=end original
78468458
78478459(F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が
78488460オプションで後の引数が必須のようなものを書きました。
78498461引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに
78508462渡すことは不可能です。
78518463引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を
78528464オプションと宣言して、引数をサブルーチン本体で入れ替えてください。
78538465
78548466=item Matched non-Unicode code point 0x%X against Unicode property; may
78558467not be portable
78568468
78578469=begin original
78588470
78598471(S non_unicode) Perl allows strings to contain a superset of
78608472Unicode code points; each code point may be as large as what is storable
7861in an unsigned integer on your system, but these may not be accepted by
8473in a signed integer on your system, but these may not be accepted by
78628474other languages/systems. This message occurs when you matched a string
78638475containing such a code point against a regular expression pattern, and
78648476the code point was matched against a Unicode property, C<\p{...}> or
78658477C<\P{...}>. Unicode properties are only defined on Unicode code points,
78668478so the result of this match is undefined by Unicode, but Perl (starting
78678479in v5.20) treats non-Unicode code points as if they were typical
78688480unassigned Unicode ones, and matched this one accordingly. Whether a
78698481given property matches these code points or not is specified in
78708482L<perluniprops/Properties accessible through \p{} and \P{}>.
78718483
78728484=end original
78738485
78748486(S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を
7875含むことができます; それぞれの符号位置はシステムの符号なし整数に
8487含むことができます; それぞれの符号位置はシステムの符号付き整数に
78768488格納できるだけの大きさを指定できますが、これらは他の言語/システムでは
78778489受け付けられないかも知れません。
78788490このメッセージは、このような符号位置を含む文字列をある正規表現パターンで
78798491マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と
78808492マッチングしたときに発生します。
78818493Unicode 特性は Unicode 符号位置に対してのみ定義されているので、
78828494Unicode によればこのマッチングの結果は未定義ですが、
78838495Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て
78848496Unicode 符号位置として扱い、それぞれマッチングします。
78858497指定された特性がこれらの符号位置にマッチングするかどうかは
78868498L<perluniprops/Properties accessible through \p{} and \P{}> で
78878499指定されています。
78888500
78898501=begin original
78908502
78918503This message is suppressed (unless it has been made fatal) if it is
78928504immaterial to the results of the match if the code point is Unicode or
78938505not. For example, the property C<\p{ASCII_Hex_Digit}> only can match
78948506the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points,
78958507Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match
78968508every code point except these 22.)
78978509
78988510=end original
78998511
79008512このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない
79018513場合は、(致命的にしていない限り)抑制されます。
79028514例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに
79038515マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、
79048516マッチングしません。
79058517(そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に
79068518マッチングします。)
79078519
79088520=begin original
79098521
79108522Getting this message indicates that the outcome of the match arguably
79118523should have been the opposite of what actually happened. If you think
79128524that is the case, you may wish to make the C<non_unicode> warnings
79138525category fatal; if you agree with Perl's decision, you may wish to turn
79148526off this category.
79158527
79168528=end original
79178529
79188530このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と
79198531逆になっているはずだということを示しています。
79208532これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを
79218533致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを
79228534オフにした方がよいでしょう。
79238535
79248536=begin original
79258537
79268538See L<perlunicode/Beyond Unicode code points> for more information.
79278539
79288540=end original
79298541
79308542さらなる情報については L<perlunicode/Beyond Unicode code points> を
79318543参照してください。
79328544
79338545=item %s matches null string many times in regex; marked by S<<-- HERE> in
79348546m/%s/
79358547
79368548=begin original
79378549
79388550(W regexp) The pattern you've specified would be an infinite loop if the
79398551regular expression engine didn't specifically check for that. The S<<-- HERE>
79408552shows whereabouts in the regular expression the problem was discovered.
79418553See L<perlre>.
79428554
79438555=end original
79448556
79458557(W) 指定したパターンは、もし、正規表現エンジンがチェックを
79468558行なっていなければ、無限ループに陥るものです。
79478559S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
79488560L<perlre> を参照してください。
79498561
79508562=item Maximal count of pending signals (%u) exceeded
79518563
79528564=begin original
79538565
79548566(F) Perl aborted due to too high a number of signals pending. This
79558567usually indicates that your operating system tried to deliver signals
79568568too fast (with a very high priority), starving the perl process from
79578569resources it would need to reach a point where it can process signals
79588570safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.)
79598571
79608572=end original
79618573
79628574(F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。
79638575これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、
79648576perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な
79658577リソースが不足したことを示しています。
79668578(L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。)
79678579
79688580=item "%s" may clash with future reserved word
79698581
79708582=begin original
79718583
79728584(W) This warning may be due to running a perl5 script through a perl4
79738585interpreter, especially if the word that is being warned about is
79748586"use" or "my".
79758587
79768588=end original
79778589
79788590(W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした
79798591ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は
79808592そうです。
79818593
79828594=item '%' may not be used in pack
79838595
79848596=begin original
79858597
79868598(F) You can't pack a string by supplying a checksum, because the
79878599checksumming process loses information, and you can't go the other way.
79888600See L<perlfunc/unpack>.
79898601
79908602=end original
79918603
79928604(F) チェックサムを指定して pack を行なうことはできません;
79938605チェックサム処理では、情報が失われ、どうしようもなくなるからです。
79948606L<perlfunc/unpack> を参照してください。
79958607
79968608=item Method for operation %s not found in package %s during blessing
79978609
79988610=begin original
79998611
80008612(F) An attempt was made to specify an entry in an overloading table that
80018613doesn't resolve to a valid subroutine. See L<overload>.
80028614
80038615=end original
80048616
80058617(F) 多重定義テーブルで、有効なサブルーチンに解決できない
80068618エントリを指定しようとしました。
80078619L<overload> を参照してください。
80088620
80098621=item Method %s not permitted
80108622
80118623=begin original
80128624
8013See Server error.
8625See L</500 Server error>.
80148626
80158627=end original
80168628
8017"Server error" を参照してください。
8629L</500 Server error> を参照してください。
80188630
80198631=item Might be a runaway multi-line %s string starting on line %d
80208632
80218633=begin original
80228634
80238635(S) An advisory indicating that the previous error may have been caused
80248636by a missing delimiter on a string or pattern, because it eventually
80258637ended earlier on the current line.
80268638
80278639=end original
80288640
80298641(S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、
80308642先のエラーが、文字列やパターンのデリミタが、見つからなかったことで
80318643起ったかもしれないことを、補足的に示しています。
80328644
80338645=item Misplaced _ in number
80348646
80358647=begin original
80368648
80378649(W syntax) An underscore (underbar) in a numeric constant did not
80388650separate two digits.
80398651
80408652=end original
80418653
80428654(W syntax) 数値定数の下線が、二つの値を分離していません。
80438655
8656=item Missing argument for %n in %s
8657
8658=begin original
8659
8660(F) A C<%n> was used in a format string with no corresponding argument for
8661perl to write the current string length to.
8662
8663=end original
8664
8665(F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を
8666書くための対応する引数がありません。
8667
80448668=item Missing argument in %s
80458669
80468670=begin original
80478671
80488672(W missing) You called a function with fewer arguments than other
80498673arguments you supplied indicated would be needed.
80508674
80518675=end original
80528676
80538677(W missing) 他で指定した引数によって必要であると示されているよりも
80548678少ない引数で関数を呼び出しました。
80558679
80568680=begin original
80578681
80588682Currently only emitted when a printf-type format required more
80598683arguments than were supplied, but might be used in the future for
80608684other cases where we can statically determine that arguments to
80618685functions are missing, e.g. for the L<perlfunc/pack> function.
80628686
80638687=end original
80648688
80658689現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を
80668690要求した場合にのみ発生しますが、
80678691将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる
80688692その他の場合に使われるかもしれません。
80698693
80708694=item Missing argument to -%c
80718695
80728696=begin original
80738697
80748698(F) The argument to the indicated command line switch must follow
80758699immediately after the switch, without intervening spaces.
80768700
80778701=end original
80788702
80798703(F) 示されたコマンドラインスイッチの引数は、
80808704スイッチの直後にスペースを空けないで書く必要があります。
80818705
80828706=item Missing braces on \N{}
80838707
80848708=item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/
80858709
80868710=begin original
80878711
80888712(F) Wrong syntax of character name literal C<\N{charname}> within
80898713double-quotish context. This can also happen when there is a space
80908714(or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier.
80918715This modifier does not change the requirement that the brace immediately
80928716follow the C<\N>.
80938717
80948718=end original
80958719
80968720(F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の
80978721文法が間違っています。
80988722これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または
80998723コメント)がある場合にも起こります。
81008724この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。
81018725
81028726=item Missing braces on \o{}
81038727
81048728=begin original
81058729
81068730(F) A C<\o> must be followed immediately by a C<{> in double-quotish context.
81078731
81088732=end original
81098733
81108734(F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が
81118735引き続かなければなりません。
81128736
81138737=item Missing comma after first argument to %s function
81148738
81158739=begin original
81168740
81178741(F) While certain functions allow you to specify a filehandle or an
81188742"indirect object" before the argument list, this ain't one of them.
81198743
81208744=end original
81218745
81228746(F) ある種の関数では、引数リストの前に、ファイルハンドルや
81238747「間接オブジェクト」をおくことができますが、この関数は、
81248748そういったものではありません。
81258749
81268750=item Missing command in piped open
81278751
81288752=begin original
81298753
81308754(W pipe) You used the C<open(FH, "| command")> or
81318755C<open(FH, "command |")> construction, but the command was missing or
81328756blank.
81338757
81348758=end original
81358759
81368760(W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を
81378761使っていますが、コマンドが指定されていないか空白です。
81388762
81398763=item Missing control char name in \c
81408764
81418765=begin original
81428766
81438767(F) A double-quoted string ended with "\c", without the required control
81448768character name.
81458769
81468770=end original
81478771
81488772(F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が
81498773必要です。
81508774
81518775=item Missing ']' in prototype for %s : %s
81528776
81538777=begin original
81548778
81558779(W illegalproto) A grouping was started with C<[> but never closed with C<]>.
81568780
81578781=end original
81588782
81598783(W illegalproto) グループ化は C<[> で始まりましたが C<]> で
81608784閉じられませんでした。
81618785
81628786=item Missing name in "%s sub"
81638787
81648788=begin original
81658789
81668790(F) The syntax for lexically scoped subroutines requires that
81678791they have a name with which they can be found.
81688792
81698793=end original
81708794
81718795(F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。
81728796
81738797=item Missing $ on loop variable
81748798
81758799=begin original
81768800
81778801(F) Apparently you've been programming in B<csh> too much. Variables
81788802are always mentioned with the $ in Perl, unlike in the shells, where it
81798803can vary from one line to the next.
81808804
81818805=end original
81828806
81838807(F) B<csh> を使いすぎた症状が現れているようです。
81848808Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは
81858809違っています。
81868810
81878811=item (Missing operator before %s?)
81888812
81898813=begin original
81908814
81918815(S syntax) This is an educated guess made in conjunction with the message
81928816"%s found where operator expected". Often the missing operator is a comma.
81938817
81948818=end original
81958819
81968820(S syntax) これは "%s found where operator expected" メッセージと共に
81978821表示される教育的な推測です。
81988822しばしば不足している演算子はカンマです。
81998823
8200=item Missing or undefined argument to require
8824=item Missing or undefined argument to %s
82018825
82028826=begin original
82038827
8204(F) You tried to call require with no argument or with an undefined
8828(F) You tried to call require or do with no argument or with an undefined
82058829value as an argument. Require expects either a package name or a
8206file-specification as an argument. See L<perlfunc/require>.
8830file-specification as an argument; do expects a filename. See
8831L<perlfunc/require EXPR> and L<perlfunc/do EXPR>.
82078832
82088833=end original
82098834
8210(F) 引数なし、または未定義値を引数として require を呼び出そうとしました。
8835(F) 引数なし、または未定義値を引数として require や do
8211require はパッケージ名またはファイル指定を引数として想定し
8836呼び出そうとしました
8212L<perlfunc/require>参照してください。
8837require はパッケージ名またはファイル指定引数として想定します;
8838do はファイル名を想定します。
8839L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。
82138840
82148841=item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/
82158842
82168843=begin original
82178844
82188845(F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>.
82198846
82208847=end original
82218848
82228849(F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが
82238850抜けています。
82248851
82258852=item Missing right brace on \N{}
82268853
82278854=item Missing right brace on \N{} or unescaped left brace after \N
82288855
82298856=begin original
82308857
82318858(F) C<\N> has two meanings.
82328859
82338860=end original
82348861
82358862(F) C<\N> には二つの意味があります。
82368863
82378864=begin original
82388865
82398866The traditional one has it followed by a name enclosed in braces,
82408867meaning the character (or sequence of characters) given by that
82418868name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both
82428869double-quoted strings and regular expression patterns. In patterns,
82438870it doesn't have the meaning an unescaped C<*> does.
82448871
82458872=end original
82468873
82478874伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字
82488875(または文字並び)を意味します。
82498876従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、
82508877ダブルクォート文字列と正規表現パターンの両方で妥当です。
82518878パターンでは、これはエスケープされない C<*> の持つ意味はありません。
82528879
82538880=begin original
82548881
82558882Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only)
82568883in patterns, namely to match a non-newline character. (This is short
82578884for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.)
82588885
82598886=end original
82608887
82618888Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます;
82628889非改行文字にマッチングします。
82638890(これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって
82648891影響を受けません。)
82658892
82668893=begin original
82678894
82688895This can lead to some ambiguities. When C<\N> is not followed immediately
82698896by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces
82708897form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this
82718898means to match the given quantity of non-newlines (in these examples,
827288993; and 5 or more, respectively). In all other case, where there is a
82738900C<\N{> and a matching C<}>, Perl assumes that a character name is desired.
82748901
82758902=end original
82768903
82778904これによりいくつかの曖昧さを引き起こします。
82788905C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。
82798906また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に
82808907なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と
828189085 以上) にマッチングするという意味を仮定します。
82828909それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が
82838910求められていると仮定します。
82848911
82858912=begin original
82868913
82878914However, if there is no matching C<}>, Perl doesn't know if it was
82888915mistakenly omitted, or if C<[^\n]{> was desired, and raises this error.
82898916If you meant the former, add the right brace; if you meant the latter,
82908917escape the brace with a backslash, like so: C<\N\{>
82918918
82928919=end original
82938920
82948921しかし、対応する C<}> がなければ、それが間違って省略されたのか、
82958922C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。
82968923前者を意味しているなら、閉じ中かっこを追加してください; 後者を
82978924意味しているなら、C<\N\{> のように中かっこを逆スラッシュで
82988925エスケープしてください。
82998926
83008927=item Missing right curly or square bracket
83018928
83028929=begin original
83038930
83048931(F) The lexer counted more opening curly or square brackets than closing
83058932ones. As a general rule, you'll find it's missing near the place you
83068933were last editing.
83078934
83088935=end original
83098936
83108937(F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも
83118938開き中かっこ(大かっこ)を多く発見しました。
83128939一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。
83138940
83148941=item (Missing semicolon on previous line?)
83158942
83168943=begin original
83178944
83188945(S syntax) This is an educated guess made in conjunction with the message
83198946"%s found where operator expected". Don't automatically put a semicolon on
83208947the previous line just because you saw this message.
83218948
83228949=end original
83238950
83248951(S syntax) これは "%s found where operator expected" メッセージと共に
83258952表示される教育的な推測です。
83268953このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは
83278954しないでください。
83288955
83298956=item Modification of a read-only value attempted
83308957
83318958=begin original
83328959
83338960(F) You tried, directly or indirectly, to change the value of a
83348961constant. You didn't, of course, try "2 = 1", because the compiler
83358962catches that. But an easy way to do the same thing is:
83368963
83378964=end original
83388965
83398966(F) 直接、間接に関らず、定数値を変更しようとしました。
83408967もちろん、コンパイラが発見できる、"2 = 1" などといったことを
83418968したわけではありません。
83428969しかし、同じことは以下のようにしても起こります。
83438970
83448971 sub mod { $_[0] = 1 }
83458972 mod(2);
83468973
83478974=begin original
83488975
83498976Another way is to assign to a substr() that's off the end of the string.
83508977
83518978=end original
83528979
83538980substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。
83548981
83558982=begin original
83568983
83578984Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR>
83588985is aliased to a constant in the look I<LIST>:
83598986
83608987=end original
83618988
83628989もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の
83638990定数のエイリアスであるときに、I<VAR> に代入した時です:
83648991
83658992 $x = 1;
83668993 foreach my $n ($x, 2) {
83678994 $n *= 2; # modifies the $x, but fails on attempt to
83688995 } # modify the 2
83698996
83708997=item Modification of non-creatable array value attempted, %s
83718998
83728999=begin original
83739000
83749001(F) You tried to make an array value spring into existence, and the
83759002subscript was probably negative, even counting from end of the array
83769003backwards.
83779004
83789005=end original
83799006
83809007(F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の
83819008終わりから逆に数えたとしても、おかしな位置を指しているようです。
83829009
83839010=item Modification of non-creatable hash value attempted, %s
83849011
83859012=begin original
83869013
83879014(P) You tried to make a hash value spring into existence, and it
83889015couldn't be created for some peculiar reason.
83899016
83909017=end original
83919018
83929019(F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、
83939020できませんでした。
83949021
83959022=item Module name must be constant
83969023
83979024=begin original
83989025
83999026(F) Only a bare module name is allowed as the first argument to a "use".
84009027
84019028=end original
84029029
84039030(F) "use" の最初の引数としてモジュール名を示すのに許されているのは、
84049031裸の単語だけです。
84059032
84069033=item Module name required with -%c option
84079034
84089035=begin original
84099036
84109037(F) The C<-M> or C<-m> options say that Perl should load some module, but
8411you omitted the name of the module. Consult L<perlrun> for full details
9038you omitted the name of the module. Consult
8412about C<-M> and C<-m>.
9039L<perlrun|perlrun/-m[-]module> for full details about C<-M> and C<-m>.
84139040
84149041=end original
84159042
84169043C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを
84179044指示しますが、モジュール名がありませんでした。
8418C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。
9045C<-M> と C<-m> に関する完全な詳細については
9046L<perlrun|perlrun/-m[-]module> を参照してください。
84199047
84209048=item More than one argument to '%s' open
84219049
84229050=begin original
84239051
84249052(F) The C<open> function has been asked to open multiple files. This
84259053can happen if you are trying to open a pipe to a command that takes a
84269054list of arguments, but have forgotten to specify a piped open mode.
84279055See L<perlfunc/open> for details.
84289056
84299057=end original
84309058
84319059(F) C<open> 関数に、複数のファイルを開くように指定されました。
84329060これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ
84339061オープンモードを指定するのを忘れた時に起きます。
84349062詳細は L<perlfunc/open> を参照してください。
84359063
84369064=item mprotect for COW string %p %u failed with %d
84379065
84389066=begin original
84399067
84409068(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see
84419069L<perlguts/"Copy on Write">), but a shared string buffer
84429070could not be made read-only.
84439071
84449072=end original
84459073
84469074(S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で
84479075コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。
84489076
84499077=item mprotect for %p %u failed with %d
84509078
84519079=begin original
84529080
84539081(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>),
84549082but an op tree could not be made read-only.
84559083
84569084=end original
84579085
84589086(S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で
84599087コンパイルされましたが、op 木を読み込み専用にできませんでした。
84609088
84619089=item mprotect RW for COW string %p %u failed with %d
84629090
84639091=begin original
84649092
84659093(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see
84669094L<perlguts/"Copy on Write">), but a read-only shared string
84679095buffer could not be made mutable.
84689096
84699097=end original
84709098
84719099(S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で
84729100コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に
84739101できませんでした。
84749102
84759103=item mprotect RW for %p %u failed with %d
84769104
84779105=begin original
84789106
84799107(S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see
84809108L<perlhacktips>), but a read-only op tree could not be made
84819109mutable before freeing the ops.
84829110
84839111=end original
84849112
84859113(S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で
84869114コンパイルされましたが、読み込み専用の op 木を、op を解放する前に
84879115ミュータブルにできませんでした。
84889116
84899117=item msg%s not implemented
84909118
84919119=begin original
84929120
84939121(F) You don't have System V message IPC on your system.
84949122
84959123=end original
84969124
84979125(F) このシステムでは、System V メッセージ IPC は使えません。
84989126
84999127=item Multidimensional syntax %s not supported
85009128
85019129=begin original
85029130
85039131(W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>.
85049132They're written like C<$foo[1][2][3]>, as in C.
85059133
85069134=end original
85079135
85089136(W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。
85099137これは、C のように C<$foo[1][2][3]> のように書きます。
85109138
9139=item Multiple slurpy parameters not allowed
9140
9141=begin original
9142
9143(F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be
9144the last parameter, and there must not be more than one of them; for
9145example:
9146
9147=end original
9148
9149(F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は
9150最後のパラメータでなければならず、複数あってはなりません; 例えば:
9151
9152 sub foo ($a, @b) {} # legal
9153 sub foo ($a, @b, %) {} # invalid
9154
85119155=item '/' must follow a numeric type in unpack
85129156
85139157=begin original
85149158
85159159(F) You had an unpack template that contained a '/', but this did not
85169160follow some unpack specification producing a numeric value.
85179161See L<perlfunc/pack>.
85189162
85199163=end original
85209164
85219165(F) '/' を含む unpack テンプレートがありますが、これがなんらかの
85229166数値を生成する unpack 指定に引き続いていません。
85239167L<perlfunc/pack> を参照してください。
85249168
85259169=item %s must not be a named sequence in transliteration operator
85269170
85279171=begin original
85289172
85299173(F) Transliteration (C<tr///> and C<y///>) transliterates individual
85309174characters. But a named sequence by definition is more than an
8531individual charater, and hence doing this operation on it doesn't make
9175individual character, and hence doing this operation on it doesn't make
85329176sense.
85339177
85349178=end original
85359179
85369180(F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。
85379181しかし、定義による名前付き並びは個々の文字以上のものがあるので、
85389182それに対してこの操作をするのは意味がありません。
85399183
85409184=item "my sub" not yet implemented
85419185
85429186=begin original
85439187
85449188(F) Lexically scoped subroutines are not yet implemented. Don't try
85459189that yet.
85469190
85479191=end original
85489192
85499193(F) レキシカルスコープのサブルーチンはまだ実装されていません。
85509194まだ試さないでください。
85519195
85529196=item "my" subroutine %s can't be in a package
85539197
85549198=begin original
85559199
85569200(F) Lexically scoped subroutines aren't in a package, so it doesn't make
85579201sense to try to declare one with a package qualifier on the front.
85589202
85599203=end original
85609204
85619205(F) レキシカルスコープサブルーチンはパッケージ内にないので、
85629206頭にパッケージ名を付けて宣言することは、無意味です。
85639207
85649208=item "my %s" used in sort comparison
85659209
85669210=begin original
85679211
85689212(W syntax) The package variables $a and $b are used for sort comparisons.
85699213You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a
85709214sort comparison block, and the variable had earlier been declared as a
85719215lexical variable. Either qualify the sort variable with the package
85729216name, or rename the lexical variable.
85739217
85749218=end original
85759219
85769220(W syntax) パッケージ変数 $a と $b はソート比較のために使われます。
85779221$a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の
85789222オペランドとして使いましたが、この変数はその前にレキシカル変数として
85799223宣言されています。
85809224ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
85819225
85829226=item "my" variable %s can't be in a package
85839227
85849228=begin original
85859229
85869230(F) Lexically scoped variables aren't in a package, so it doesn't make
85879231sense to try to declare one with a package qualifier on the front. Use
85889232local() if you want to localize a package variable.
85899233
85909234=end original
85919235
85929236(F) レキシカルスコープサブルーチンはパッケージ内にないので、
85939237頭にパッケージ名を付けて宣言することは、無意味です。
85949238パッケージ変数をローカル化したい場合には、local() を使ってください。
85959239
85969240=item Name "%s::%s" used only once: possible typo
85979241
85989242=begin original
85999243
86009244(W once) Typographical errors often show up as unique variable
86019245names. If you had a good reason for having a unique name, then
86029246just mention it again somehow to suppress the message. The C<our>
86039247declaration is also provided for this purpose.
86049248
86059249=end original
86069250
86079251(W once) しばしばタイプミスによってユニークな変数名として表示されます。
86089252ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで
86099253このメッセージを抑制できます。
86109254C<our> 宣言もこの目的のために提供されています。
86119255
86129256=begin original
86139257
86149258NOTE: This warning detects package symbols that have been used
86159259only once. This means lexical variables will never trigger this
86169260warning. It also means that all of the package variables $c, @c,
86179261%c, as well as *c, &c, sub c{}, c(), and c (the filehandle or
86189262format) are considered the same; if a program uses $c only once
86199263but also uses any of the others it will not trigger this warning.
86209264Symbols beginning with an underscore and symbols using special
86219265identifiers (q.v. L<perldata>) are exempt from this warning.
86229266
86239267=end original
86249268
86259269注意: この警告は一度しか使われていないパッケージシンボルを検出します。
86269270つまり、レキシカル変数はこの警告を引き起こさないと言うことです。
86279271また、パッケージ変数 $c, @c, %c および
86289272*c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は
86299273同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも
86309274その他のものも使っている場合、この警告は引き起こされません。
86319275下線で始まるシンボルと特殊識別子
86329276(L<perldata> 参照) を使ったシンボルはこの警告を免れます。
86339277
86349278=item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/
86359279
86369280=begin original
86379281
86389282(F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be
86399283exactly 3 digits long. This helps catch some ambiguities. If your
86409284constant is too short, add leading zeros, like
86419285
86429286=end original
86439287
86449288(F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である
86459289必要があります。
86469290これはある種の曖昧さを捕まえる助けになります。
86479291定数が短い場合は、以下のように先頭に 0 を追加してください
86489292
86499293 (?[ [ \078 ] ]) # Syntax error!
86509294 (?[ [ \0078 ] ]) # Works
86519295 (?[ [ \007 8 ] ]) # Clearer
86529296
86539297=begin original
86549298
86559299The maximum number this construct can express is C<\777>. If you
86569300need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant
86579301two separate things, you need to separate them:
86589302
86599303=end original
86609304
86619305この構文が表現できる最大数は C<\777> です。
86629306より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を
86639307使う必要があります。
86649308二つの別々のものを意味しているなら、分ける必要があります:
86659309
86669310 (?[ [ \7776 ] ]) # Syntax error!
86679311 (?[ [ \o{7776} ] ]) # One meaning
86689312 (?[ [ \777 6 ] ]) # Another meaning
86699313 (?[ [ \777 \006 ] ]) # Still another
86709314
86719315=item Negative '/' count in unpack
86729316
86739317=begin original
86749318
86759319(F) The length count obtained from a length/code unpack operation was
86769320negative. See L<perlfunc/pack>.
86779321
86789322=end original
86799323
86809324(F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。
86819325L<perlfunc/pack> を参照してください。
86829326
86839327=item Negative length
86849328
86859329=begin original
86869330
86879331(F) You tried to do a read/write/send/recv operation with a buffer
86889332length that is less than 0. This is difficult to imagine.
86899333
86909334=end original
86919335
86929336(F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を
86939337行なおうとしました。
86949338これは想像しにくいことです。
86959339
86969340=item Negative offset to vec in lvalue context
86979341
86989342=begin original
86999343
87009344(F) When C<vec> is called in an lvalue context, the second argument must be
87019345greater than or equal to zero.
87029346
87039347=end original
87049348
87059349(F) 左辺値コンテキストで C<vec> が呼び出されたとき、
87069350二つ目の引数は 0 以上でなければなりません。
87079351
87089352=item Negative repeat count does nothing
87099353
87109354=begin original
87119355
87129356(W numeric) You tried to execute the
87139357L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0
87149358times, which doesn't make sense.
87159359
87169360=end original
87179361
87189362(W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を
871993630 より小さい回数実行しようとしました; これは無意味です。
87209364
87219365=item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/
87229366
87239367=begin original
87249368
87259369(F) You can't quantify a quantifier without intervening parentheses.
87269370So things like ** or +* or ?* are illegal. The S<<-- HERE> shows
87279371whereabouts in the regular expression the problem was discovered.
87289372
87299373=end original
87309374
87319375(F) かっこを挟まないで、数量子を数量子で修飾することはできません。
87329376つまり、** や +* や ?* といったものは、正しくありません。
87339377S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
87349378
87359379=begin original
87369380
87379381Note that the minimal matching quantifiers, C<*?>, C<+?>, and
87389382C<??> appear to be nested quantifiers, but aren't. See L<perlre>.
87399383
87409384=end original
87419385
87429386最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように
87439387見えますが、そうではありません。
87449388L<perlre> を参照してください。
87459389
87469390=item %s never introduced
87479391
87489392=begin original
87499393
87509394(S internal) The symbol in question was declared but somehow went out of
87519395scope before it could possibly have been used.
87529396
87539397=end original
87549398
87559399(S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから
87569400外れてしまいました。
87579401
87589402=item next::method/next::can/maybe::next::method cannot find enclosing method
87599403
87609404=begin original
87619405
87629406(F) C<next::method> needs to be called within the context of a
87639407real method in a real package, and it could not find such a context.
87649408See L<mro>.
87659409
87669410=end original
87679411
87689412(F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる
87699413必要がありますが、そのようなコンテキストが見つけられませんでした。
87709414L<mro> を参照してください。
87719415
87729416=item \N in a character class must be a named character: \N{...} in regex;
87739417marked by S<<-- HERE> in m/%s/
87749418
87759419=begin original
87769420
87779421(F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a
87789422bracketed character class, for the same reason that C<.> in a character
87799423class loses its specialness: it matches almost everything, which is
87809424probably not what you want.
87819425
87829426=end original
87839427
87849428(F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは
87859429妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です:
87869430これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは
87879431ないでしょう。
87889432
8789=item \N{} in inverted character class or as a range end-point is restricted to one character in regex; marked by <-- HERE in m/%s/
9433=item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/
87909434
87919435=begin original
87929436
87939437(F) Named Unicode character escapes (C<\N{...}>) may return a
87949438multi-character sequence. Even though a character class is
87959439supposed to match just one character of input, perl will match the
8796whole thing correctly, except when the class is inverted (C<[^...]>),
9440whole thing correctly, except under certain conditions. These currently
8797or the escape is the beginning or final end point of a range. The
9441are
8798mathematically logical behavior for what matches when inverting
8799is very different from what people expect, so we have decided to
8800forbid it. Similarly unclear is what should be generated when the
8801C<\N{...}> is used as one of the end points of the range, such as in
88029442
88039443=end original
88049444
88059445(F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを
88069446返すことがあります。
88079447文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、
8808perl は全体を正しくマッチングします; 但し例外は、
9448perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。
8809クラスが反転さた場合 (C<[^...]>)
9449は今のころ:
8810エスケープが範囲の始点か終点の場合です。
8811反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは
8812人々が想定するものと大きく異なっているので、これは禁止することにしました。
8813同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が
8814使われたときに何が生成されるべきかということです:
88159450
8816 [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}]
9451=over 4
88179452
8818=begin original
9453=item When the class is inverted (C<[^...]>)
88199454
8820What is meant here is unclear, as the C<\N{...}> escape is a sequence
9455(クラスが反転された場合 (C<[^...]>))
8821of code points, so this is made an error.
88229456
8823=end original
8824
8825ここで意味しているものは不明確です; C<\N{...}> エスケープは
8826符号位置の並びだからです; 従ってこれはエラーを発生させます。
8827
8828=item \N{NAME} must be resolved by the lexer in regex; marked by
8829S<<-- HERE> in m/%s/
8830
88319457=begin original
88329458
8833(F) When compiling a regex pattern, an unresolved named character or
9459The mathematically logical behavior for what matches when inverting
8834sequence was encountered. This can happen in any of several ways that
9460is very different from what people expect, so we have decided to
8835bypass the lexer, such as using single-quotish context, or an extra
9461forbid it.
8836backslash in double-quotish:
88379462
88389463=end original
88399464
8840(F) 正規表現パターをコンパイルするとき、解決されない名前付き文字や並びに
9465反転したときに何にマッチするかに関する厳密に論理的振る舞
8841遭遇しました。
9466人々が想定するものと大きく異なっているので、これは禁止することにしました。
8842これはシングルクォート風コンテキストを使ったり、ダブルクォート風で
8843余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで
8844起こります:
88459467
8846 $re = '\N{SPACE}'; # Wrong!
9468=item The escape is the beginning or final end point of a range
8847 $re = "\\N{SPACE}"; # Wrong!
8848 /$re/;
88499469
9470(エスケープが範囲の始点か終点の場合)
9471
88509472=begin original
88519473
8852Instead, use double-quotes with a single backslash:
9474Similarly unclear is what should be generated when the
9475C<\N{...}> is used as one of the end points of the range, such as in
88539476
88549477=end original
88559478
8856代わりに、単一バックスラッシュダブルクォートを使っください:
9479同様不明確なものはように、範囲の端点 C<\N{...}> が
9480使われたときに何が生成されるべきかということです:
88579481
8858 $re = "\N{SPACE}"; # ok
9482 [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}]
8859 /$re/;
88609483
88619484=begin original
88629485
8863The lexer can be bypassed as well by creating the pattern from smaller
9486What is meant here is unclear, as the C<\N{...}> escape is a sequence
8864components:
9487of code points, so this is made an error.
88659488
88669489=end original
88679490
8868字句解析器はより小さい構造からパターンを作るとによっても回避きま:
9491こで意味しいるのは不明確です; C<\N{...}> エスケープは
9492符号位置の並びだからです; 従ってこれはエラーを発生させます。
88699493
8870 $re = '\N';
9494=item In a regex set
8871 /${re}{SPACE}/; # Wrong!
88729495
8873=begin original
9496(正規表現集合の中の場合)
88749497
8875It's not a good idea to split a construct in the middle like this, and
8876it doesn't work here. Instead use the solution above.
8877
8878=end original
8879
8880このように中間で構造を分割することはよい考えではなく、ここでは動作しません。
8881代わりに上述した解決法を使ってください。
8882
88839498=begin original
88849499
8885Finally, the message also can happen under the C</x> regex modifier when the
9500The syntax S<C<(?[ ])>> in a regular expression yields a list of
8886C<\N> is separated by spaces from the C<{>, in which case, remove the spaces.
9501single code points, none can be a sequence.
88879502
88889503=end original
88899504
8890最後に、このメッセージは C</x> 正規表現修飾子 が有効時に C<\N> C<{>
9505正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、
8891空白で区切られているときもです; この場合、空白を削除します
9506並びはなりせん
88929507
8893 /\N {SPACE}/x; # Wrong!
9508=back
8894 /\N{SPACE}/x; # ok
88959509
88969510=item No %s allowed while running setuid
88979511
88989512=begin original
88999513
89009514(F) Certain operations are deemed to be too insecure for a setuid or
89019515setgid script to even be allowed to attempt. Generally speaking there
89029516will be another way to do what you want that is, if not secure, at least
89039517securable. See L<perlsec>.
89049518
89059519=end original
89069520
89079521(F) ある種の操作は、setuid や setgid スクリプトにとって、
89089522やってみることはできても、とても安全なものとは考えられないものです。
89099523一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。
89109524L<perlsec> を参照してください。
89119525
8912=item NO-BREAK SPACE in a charnames alias definition is deprecated
8913
8914=begin original
8915
8916(D deprecated) You defined a character name which contained a no-break
8917space character. Change it to a regular space. Usually these names are
8918defined in the C<:alias> import argument to C<use charnames>, but they
8919could be defined by a translator installed into C<$^H{charnames}>. See
8920L<charnames/CUSTOM ALIASES>.
8921
8922=end original
8923
8924(D deprecated) 非分割空白文字を含む文字名を定義しました。
8925通常のスペースに変更してください。
8926普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で
8927定義されていますが、C<$^H{charnames}> でインストールされた
8928変換器で定義されていることもあります。
8929L<charnames/CUSTOM ALIASES> を参照してください。
8930
89319526=item No code specified for -%c
89329527
89339528=begin original
89349529
89359530(F) Perl's B<-e> and B<-E> command-line options require an argument. If
89369531you want to run an empty program, pass the empty string as a separate
89379532argument or run a program consisting of a single 0 or 1:
89389533
89399534=end original
89409535
89419536(F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。
89429537空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の
894395380 または 1 からなるプログラムを実行してください:
89449539
89459540 perl -e ""
89469541 perl -e0
89479542 perl -e1
89489543
89499544=item No comma allowed after %s
89509545
89519546=begin original
89529547
89539548(F) A list operator that has a filehandle or "indirect object" is
89549549not allowed to have a comma between that and the following arguments.
89559550Otherwise it'd be just another one of the arguments.
89569551
89579552=end original
89589553
89599554(F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、
89609555それらとそれ以降の引数の間にコンマを入れることはできません。
89619556そのようにした場合には、引数の一つとなってしまいます。
89629557
89639558=begin original
89649559
89659560One possible cause for this is that you expected to have imported
89669561a constant to your name space with B<use> or B<import> while no such
89679562importing took place, it may for example be that your operating
89689563system does not support that particular constant. Hopefully you did
89699564use an explicit import list for the constants you expect to see;
89709565please see L<perlfunc/use> and L<perlfunc/import>. While an
89719566explicit import list would probably have caught this error earlier
89729567it naturally does not remedy the fact that your operating system
89739568still does not support that constant. Maybe you have a typo in
89749569the constants of the symbol import list of B<use> or B<import> or in the
89759570constant name at the line where this error was triggered?
89769571
89779572=end original
89789573
89799574これの原因としてあり得るものの一つは、B<use> や B<import> を使って
89809575名前空間にインポートしたつもりの定数が実際にはインポートされていなかった
89819576場合です;
89829577例えば OS が特定の定数に対応していない場合などです。
89839578できればインポートしたい定数のリストを明示的に使ってください;
89849579L<perlfunc/use> と L<perlfunc/import> を参照して下さい。
89859580明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、
89869581そもそも OS がその定数に対応していないという問題を解決はしません。
89879582おそらく B<use> や B<import> のシンボルインポートリストの定数か、
89889583エラーを引き起こした行の定数名をタイプミスしたのでは?
89899584
89909585=item No command into which to pipe on command line
89919586
89929587=begin original
89939588
89949589(F) An error peculiar to VMS. Perl handles its own command line
89959590redirection, and found a '|' at the end of the command line, so it
89969591doesn't know where you want to pipe the output from this command.
89979592
89989593=end original
89999594
90009595(F) VMS に固有のエラーです。
90019596Perl は独自にコマンドラインのリダイレクトを扱っていて、
90029597コマンドラインの最後にに '|' を発見しましたが、
90039598このコマンドから出力をどこにパイプしたいのかがわかりませんでした。
90049599
90059600=item No DB::DB routine defined
90069601
90079602=begin original
90089603
90099604(F) The currently executing code was compiled with the B<-d> switch, but
90109605for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::>
90119606module) didn't define a routine to be called at the beginning of each
90129607statement.
90139608
90149609=end original
90159610
90169611(F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、
90179612何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)
90189613が各実行文の頭で呼び出すルーティンを定義していません。
90199614
90209615=item No dbm on this machine
90219616
90229617=begin original
90239618
90249619(P) This is counted as an internal error, because every machine should
90259620supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>.
90269621
90279622=end original
90289623
90299624(P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、
90309625どのマシンでも dbm が使えるはずだからです。
90319626L<SDBM_File> を参照してください。
90329627
90339628=item No DB::sub routine defined
90349629
90359630=begin original
90369631
90379632(F) The currently executing code was compiled with the B<-d> switch, but
90389633for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::>
90399634module) didn't define a C<DB::sub> routine to be called at the beginning
90409635of each ordinary subroutine call.
90419636
90429637=end original
90439638
90449639(F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、
90459640何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が
90469641各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを
90479642定義していませんでした。
90489643
9644=item No digits found for %s literal
9645
9646=begin original
9647
9648(F) No hexadecimal digits were found following C<0x> or no binary digits
9649were found following C<0b>.
9650
9651=end original
9652
9653(F) C<0x> に 16 進数が引き続かなかったり C<0b> に 2 進数が
9654引き続かなかったりしました。
9655
90499656=item No directory specified for -I
90509657
90519658=begin original
90529659
90539660(F) The B<-I> command-line switch requires a directory name as part of the
90549661I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work.
90559662
90569663=end original
90579664
90589665(F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が
90599666必要です。
90609667例えば、B<-Ilib> としてください。
90619668B<-I lib> は動作しません。
90629669
90639670=item No error file after 2> or 2>> on command line
90649671
90659672=begin original
90669673
90679674(F) An error peculiar to VMS. Perl handles its own command line
90689675redirection, and found a '2>' or a '2>>' on the command line, but can't
90699676find the name of the file to which to write data destined for stderr.
90709677
90719678=end original
90729679
90739680(F) VMS に固有のエラーです。
90749681Perl は独自にコマンドラインのリダイレクトを扱っていて、
90759682コマンドラインに '2>' や '2>>' を発見しましたが、
90769683標準エラーとしてデータを書き込むファイル名が見つかりませんでした。
90779684
90789685=item No group ending character '%c' found in template
90799686
90809687=begin original
90819688
90829689(F) A pack or unpack template has an opening '(' or '[' without its
90839690matching counterpart. See L<perlfunc/pack>.
90849691
90859692=end original
90869693
90879694(F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、
90889695対応する閉じかっこがありません。
90899696L<perlfunc/pack> を参照してください。
90909697
90919698=item No input file after < on command line
90929699
90939700=begin original
90949701
90959702(F) An error peculiar to VMS. Perl handles its own command line
90969703redirection, and found a '<' on the command line, but can't find the
90979704name of the file from which to read data for stdin.
90989705
90999706=end original
91009707
91019708(F) VMS に固有のエラーです。
91029709Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに
91039710'<' を発見しましたが、標準入力として読み込むためのファイル名が
91049711見つかりませんでした。
91059712
91069713=item No next::method '%s' found for %s
91079714
91089715=begin original
91099716
91109717(F) C<next::method> found no further instances of this method name
91119718in the remaining packages of the MRO of this class. If you don't want
91129719it throwing an exception, use C<maybe::next::method>
91139720or C<next::can>. See L<mro>.
91149721
91159722=end original
91169723
91179724(F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この
91189725メソッド名のインスタンスがもうありません。
91199726もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を
91209727使ってください。
91219728L<mro> を参照してください。
91229729
91239730=item Non-finite repeat count does nothing
91249731
91259732=begin original
91269733
91279734(W numeric) You tried to execute the
91289735L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or
91299736C<-Inf>) or C<NaN> times, which doesn't make sense.
91309737
91319738=end original
91329739
91339740(W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を
91349741C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました;
91359742これは意味がありません。
91369743
91379744=item Non-hex character in regex; marked by S<<-- HERE> in m/%s/
91389745
91399746=begin original
91409747
91419748(F) In a regular expression, there was a non-hexadecimal character where
91429749a hex one was expected, like
91439750
91449751=end original
91459752
91469753(F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました
91479754
91489755 (?[ [ \xDG ] ])
91499756 (?[ [ \x{DEKA} ] ])
91509757
9758=item Non-hex character '%c' terminates \x early. Resolved as "%s"
9759
9760=begin original
9761
9762(W digit) In parsing a hexadecimal numeric constant, a character was
9763unexpectedly encountered that isn't hexadecimal. The resulting value
9764is as indicated.
9765
9766=end original
9767
9768(W digit) 16 進数定数をパースするときに、16 進数でない文字に
9769想定外に遭遇しました。
9770結果の値は示しているとおりになりました。
9771
9772=begin original
9773
9774Note that, within braces, every character starting with the first
9775non-hexadecimal up to the ending brace is ignored.
9776
9777=end original
9778
9779中かっこの中では、最初に現れた非 16 進数文字から中かっこの終わりまでは
9780無視されることに注意してください。
9781
91519782=item Non-octal character in regex; marked by S<<-- HERE> in m/%s/
91529783
91539784=begin original
91549785
91559786(F) In a regular expression, there was a non-octal character where
91569787an octal one was expected, like
91579788
91589789=end original
91599790
91609791(F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました
91619792
91629793 (?[ [ \o{1278} ] ])
91639794
9164=item Non-octal character '%c'. Resolved as "%s"
9795=item Non-octal character '%c' terminates \o early. Resolved as "%s"
91659796
91669797=begin original
91679798
91689799(W digit) In parsing an octal numeric constant, a character was
91699800unexpectedly encountered that isn't octal. The resulting value
91709801is as indicated.
91719802
91729803=end original
91739804
91749805(W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。
9175結果の値は示された通りになります。
9806結果の値は示している通りになります。
91769807
9808=begin original
9809
9810When not using C<\o{...}>, you wrote something like C<\08>, or C<\179>
9811in a double-quotish string. The resolution is as indicated, with all
9812but the last digit treated as a single character, specified in octal.
9813The last digit is the next character in the string. To tell Perl that
9814this is indeed what you want, you can use the C<\o{ }> syntax, or use
9815exactly three digits to specify the octal for the character.
9816
9817=end original
9818
9819When not using
9820C<\o{...}> を使っていないときに、C<\08> のようなものか、
9821あるいはダブルクォート風文字列の中で C<\179> のようなものを書きました。
9822結果は示している通りになり、最後以外の数字は 8 進数で指定された
9823単一の文字として扱われます。
9824最後の数字は文字列中の次の文字です。
9825これが確かに望んだものであることを Perl に伝えるには、
9826C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために
9827正確に 3 文字の数字を使ってください。
9828
9829=begin original
9830
9831Note that, within braces, every character starting with the first
9832non-octal up to the ending brace is ignored.
9833
9834=end original
9835
9836中かっこの中では、最初に現れた非 8 進数文字から中かっこの終わりまでは
9837無視されることに注意してください。
9838
91779839=item "no" not allowed in expression
91789840
91799841=begin original
91809842
91819843(F) The "no" keyword is recognized and executed at compile time, and
91829844returns no useful value. See L<perlmod>.
91839845
91849846=end original
91859847
91869848(F) "no" キーワードは、コンパイル時に認識され、実行されるもので、
91879849意味のある値を返しません。
91889850L<perlmod> を参照してください。
91899851
91909852=item Non-string passed as bitmask
91919853
91929854=begin original
91939855
91949856(W misc) A number has been passed as a bitmask argument to select().
91959857Use the vec() function to construct the file descriptor bitmasks for
91969858select. See L<perlfunc/select>.
91979859
91989860=end original
91999861
92009862(W misc) select() のビットマスク引数として数値が渡されました。
92019863select のためのファイル記述子のビットマスクを構成するには、
92029864vec() 関数を使ってください。
92039865L<perlfunc/select> を参照してください。
92049866
92059867=item No output file after > on command line
92069868
92079869=begin original
92089870
92099871(F) An error peculiar to VMS. Perl handles its own command line
92109872redirection, and found a lone '>' at the end of the command line, so it
92119873doesn't know where you wanted to redirect stdout.
92129874
92139875=end original
92149876
92159877(F) VMS に固有のエラーです。
92169878Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの
92179879最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが
92189880わかりませんでした。
92199881
92209882=item No output file after > or >> on command line
92219883
92229884=begin original
92239885
92249886(F) An error peculiar to VMS. Perl handles its own command line
92259887redirection, and found a '>' or a '>>' on the command line, but can't
92269888find the name of the file to which to write data destined for stdout.
92279889
92289890=end original
92299891
92309892(F) VMS に固有のエラーです。
92319893Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに
92329894'>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が
92339895見つかりませんでした。
92349896
9897=item No package name allowed for subroutine %s in "our"
9898
92359899=item No package name allowed for variable %s in "our"
92369900
92379901=begin original
92389902
9239(F) Fully qualified variable names are not allowed in "our"
9903(F) Fully qualified subroutine and variable names are not allowed in "our"
9240declarations, because that doesn't make much sense under existing
9904declarations, because that doesn't make much sense under existing rules.
9241rules. Such syntax is reserved for future extensions.
9905Such syntax is reserved for future extensions.
92429906
92439907=end original
92449908
9245(F) 完全修飾変数名は "our" 宣言では使えません;
9909(F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません;
92469910なぜなら現在の動作ではほとんど意味がないからです。
92479911そのような文法は将来の拡張に予約されています。
92489912
92499913=item No Perl script found in input
92509914
92519915=begin original
92529916
92539917(F) You called C<perl -x>, but no line was found in the file beginning
92549918with #! and containing the word "perl".
92559919
92569920=end original
92579921
92589922(F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、
92599923"perl" という語を含む行が見つかりませんでした。
92609924
92619925=item No setregid available
92629926
92639927=begin original
92649928
92659929(F) Configure didn't find anything resembling the setregid() call for
92669930your system.
92679931
92689932=end original
92699933
92709934(F) Configure が、システム上に setregid() のような関数を
92719935見つけられませんでした。
92729936
92739937=item No setreuid available
92749938
92759939=begin original
92769940
92779941(F) Configure didn't find anything resembling the setreuid() call for
92789942your system.
92799943
92809944=end original
92819945
92829946(F) Configure が、システム上に setreuid() のような関数を
92839947見つけられませんでした。
92849948
92859949=item No such class %s
92869950
92879951=begin original
92889952
92899953(F) You provided a class qualifier in a "my", "our" or "state"
92909954declaration, but this class doesn't exist at this point in your program.
92919955
92929956=end original
92939957
92949958(F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された
92959959クラスは現時点では存在しません。
92969960
92979961=item No such class field "%s" in variable %s of type %s
92989962
92999963=begin original
93009964
93019965(F) You tried to access a key from a hash through the indicated typed
93029966variable but that key is not allowed by the package of the same type.
93039967The indicated package has restricted the set of allowed keys using the
93049968L<fields> pragma.
93059969
93069970=end original
93079971
93089972(F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、
93099973そのキーは同じ型のパッケージによって許可されていません。
93109974示されているパッケージは L<fields> プラグマによって許可されるキーの集合が
93119975制限されています。
93129976
93139977=item No such hook: %s
93149978
93159979=begin original
93169980
93179981(F) You specified a signal hook that was not recognized by Perl.
93189982Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks.
93199983
93209984=end original
93219985
93229986(F) Perl が認識できないシグナルフックを指定しました。
93239987現在のところ、Perl は有効なシグナルフックとして
93249988C<__DIE__> と C<__WARN__> を受け付けます。
93259989
93269990=item No such pipe open
93279991
93289992=begin original
93299993
93309994(P) An error peculiar to VMS. The internal routine my_pclose() tried to
93319995close a pipe which hadn't been opened. This should have been caught
93329996earlier as an attempt to close an unopened filehandle.
93339997
93349998=end original
93359999
933610000(P) VMS に固有のエラーです。
933710001内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。
933810002これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに
933910003捕捉されるべきものです。
934010004
934110005=item No such signal: SIG%s
934210006
934310007=begin original
934410008
934510009(W signal) You specified a signal name as a subscript to %SIG that was
934610010not recognized. Say C<kill -l> in your shell to see the valid signal
934710011names on your system.
934810012
934910013=end original
935010014
935110015(W signal) %SIG の添字として認識できないシグナル名を指定しました。
935210016お使いのシステムで使用可能なシグナル名を調べるには、
935310017シェル上で C<kill -l> などとしてください。
935410018
10019=item No Unicode property value wildcard matches:
10020
10021=begin original
10022
10023(W regexp) You specified a wildcard for a Unicode property value, but
10024there is no property value in the current Unicode release that matches
10025it. Check your spelling.
10026
10027=end original
10028
10029(W regexp) Unicode 特性値にワイルドカードを指定しましたが、
10030現在の Unicode リリースにはそれにマッチングする特性値はありません。
10031スペルを確認してください。
10032
935510033=item Not a CODE reference
935610034
935710035=begin original
935810036
935910037(F) Perl was trying to evaluate a reference to a code value (that is, a
936010038subroutine), but found a reference to something else instead. You can
936110039use the ref() function to find out what kind of ref it really was. See
936210040also L<perlref>.
936310041
936410042=end original
936510043
936610044(F) Perl がコード値 (サブルーチン) へのリファレンスを
936710045評価しようとしましたが、別のものへのリファレンスでした。
936810046実際にどんな種類のリファレンスかを調べるには、ref() 関数を
936910047使うことができます。
937010048L<perlref> も参照してください。
937110049
937210050=item Not a GLOB reference
937310051
937410052=begin original
937510053
937610054(F) Perl was trying to evaluate a reference to a "typeglob" (that is, a
937710055symbol table entry that looks like C<*foo>), but found a reference to
937810056something else instead. You can use the ref() function to find out what
937910057kind of ref it really was. See L<perlref>.
938010058
938110059=end original
938210060
938310061(F) Perl が「型グロブ」(これは、C<*foo> のような
938410062シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、
938510063別のものへのリファレンスでした。
938610064実際にどんな種類のリファレンスかを調べるには、ref() 関数を
938710065使うことができます。
938810066L<perlref> を参照してください。
938910067
939010068=item Not a HASH reference
939110069
939210070=begin original
939310071
939410072(F) Perl was trying to evaluate a reference to a hash value, but found a
939510073reference to something else instead. You can use the ref() function to
939610074find out what kind of ref it really was. See L<perlref>.
939710075
939810076=end original
939910077
940010078(F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、
940110079別のものへのリファレンスでした。
940210080実際にどんな種類のリファレンスかを調べるには、ref() 関数を
940310081使うことができます。
940410082L<perlref> を参照してください。
940510083
10084=item '#' not allowed immediately following a sigil in a subroutine signature
10085
10086=begin original
10087
10088(F) In a subroutine signature definition, a comment following a sigil
10089(C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in
10090particular to avoid confusion with the C<$#> variable. For example:
10091
10092=end original
10093
10094(F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く
10095コメントは、特に C<$#> 変数との混乱を避けるために、
10096空白やカンマなどで分ける必要があります;
10097例えば:
10098
10099 # bad
10100 sub f ($# ignore first arg
10101 , $b) {}
10102 # good
10103 sub f ($, # ignore first arg
10104 $b) {}
10105
940610106=item Not an ARRAY reference
940710107
940810108=begin original
940910109
941010110(F) Perl was trying to evaluate a reference to an array value, but found
941110111a reference to something else instead. You can use the ref() function
941210112to find out what kind of ref it really was. See L<perlref>.
941310113
941410114=end original
941510115
941610116(F) Perl が配列値へのリファレンスを評価しようとしましたが、
941710117別のものへのリファレンスでした。
941810118実際にどんな種類のリファレンスかを調べるには、ref() 関数を
941910119使うことができます。
942010120L<perlref> を参照してください。
942110121
9422=item Not an unblessed ARRAY reference
9423
9424=begin original
9425
9426(F) You passed a reference to a blessed array to C<push>, C<shift> or
9427another array function. These only accept unblessed array references
9428or arrays beginning explicitly with C<@>.
9429
9430=end original
9431
9432(F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを
9433渡しました。
9434これらは bless されていない配列リファレンスか明示的に C<@> で始まる
9435配列のみを受け付けます。
9436
943710122=item Not a SCALAR reference
943810123
943910124=begin original
944010125
944110126(F) Perl was trying to evaluate a reference to a scalar value, but found
944210127a reference to something else instead. You can use the ref() function
944310128to find out what kind of ref it really was. See L<perlref>.
944410129
944510130=end original
944610131
944710132(F) Perl がスカラ値へのリファレンスを評価しようとしましたが、
944810133別のものへのリファレンスでした。
944910134実際にどんな種類のリファレンスかを調べるには、ref() 関数を
945010135使うことができます。
945110136L<perlref> を参照してください。
945210137
945310138=item Not a subroutine reference
945410139
945510140=begin original
945610141
945710142(F) Perl was trying to evaluate a reference to a code value (that is, a
945810143subroutine), but found a reference to something else instead. You can
945910144use the ref() function to find out what kind of ref it really was. See
946010145also L<perlref>.
946110146
946210147=end original
946310148
946410149(F) Perl がコード値 (サブルーチン) へのリファレンスを
946510150評価しようとしましたが、別のものへのリファレンスでした。
946610151実際にどんな種類のリファレンスかを調べるには、ref() 関数を
946710152使うことができます。
946810153L<perlref> も参照してください。
946910154
947010155=item Not a subroutine reference in overload table
947110156
947210157=begin original
947310158
947410159(F) An attempt was made to specify an entry in an overloading table that
947510160doesn't somehow point to a valid subroutine. See L<overload>.
947610161
947710162=end original
947810163
947910164(F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを
948010165指定しようとしました。
948110166L<overload> を参照してください。
948210167
948310168=item Not enough arguments for %s
948410169
948510170=begin original
948610171
948710172(F) The function requires more arguments than you specified.
948810173
948910174=end original
949010175
949110176(F) この関数は、指定したよりも多くの引数を必要とします。
949210177
949310178=item Not enough format arguments
949410179
949510180=begin original
949610181
949710182(W syntax) A format specified more picture fields than the next line
949810183supplied. See L<perlform>.
949910184
950010185=end original
950110186
950210187(W syntax) 指定したフォーマットに、次の行で指定したより多くの
950310188ピクチャフィールドがあります。
950410189L<perlform> を参照してください。
950510190
950610191=item %s: not found
950710192
950810193=begin original
950910194
951010195(A) You've accidentally run your script through the Bourne shell instead
951110196of Perl. Check the #! line, or manually feed your script into Perl
951210197yourself.
951310198
951410199=end original
951510200
951610201(A) スクリプトを perl ではなく Bourne shell で実行しようとしました。
951710202#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
951810203
9519=item (?[...]) not valid in locale in regex; marked by S<<-- HERE> in m/%s/
9520
9521=begin original
9522
9523(F) C<(?[...])> cannot be used within the scope of a C<S<use locale>> or with
9524an C</l> regular expression modifier, as that would require deferring
9525to run-time the calculation of what it should evaluate to, and it is
9526regex compile-time only.
9527
9528=end original
9529
9530(F) C<(?[...])> は C<S<use locale>> のスコープ内や C</l> 正規表現修飾子付きでは
9531使えません; これは何を評価するべきかを実行時の計算によりますが、
9532これは正規表現のコンパイル時のみだからです。
9533
953410204=item no UTC offset information; assuming local time is UTC
953510205
953610206=begin original
953710207
953810208(S) A warning peculiar to VMS. Perl was unable to find the local
953910209timezone offset, so it's assuming that local system time is equivalent
954010210to UTC. If it's not, define the logical name
954110211F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which
954210212need to be added to UTC to get local time.
954310213
954410214=end original
954510215
954610216(S) VMS に固有の警告です。
954710217Perl はローカルタイムゾーンオフセットを見つけることができなかったので、
954810218ローカルシステムタイムは UTC と等価であると仮定します。
954910219もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル
955010220時刻を得るために加える必要がある秒数を定義してください。
955110221
955210222=item NULL OP IN RUN
955310223
955410224=begin original
955510225
955610226(S debugging) Some internal routine called run() with a null opcode
955710227pointer.
955810228
955910229=end original
956010230
956110231(S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を
956210232呼んだものがあります。
956310233
956410234=item Null picture in formline
956510235
956610236=begin original
956710237
956810238(F) The first argument to formline must be a valid format picture
956910239specification. It was found to be empty, which probably means you
957010240supplied it an uninitialized value. See L<perlform>.
957110241
957210242=end original
957310243
957410244(F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ
957510245なりません。
957610246これが空でした; おそらく初期化していない値を指定したのでしょう。
957710247L<perlform> を参照してください。
957810248
957910249=item Null realloc
958010250
958110251=begin original
958210252
958310253(P) An attempt was made to realloc NULL.
958410254
958510255=end original
958610256
958710257(P) realloc NULL を行なおうとしました。
958810258
958910259=item NULL regexp argument
959010260
959110261=begin original
959210262
959310263(P) The internal pattern matching routines blew it big time.
959410264
959510265=end original
959610266
959710267(P) 内部パターンマッチルーティンが、大当たりです。
959810268
959910269=item NULL regexp parameter
960010270
960110271=begin original
960210272
960310273(P) The internal pattern matching routines are out of their gourd.
960410274
960510275=end original
960610276
960710277(P) 内部パターンマッチルーティンが、狂っています。
960810278
960910279=item Number too long
961010280
961110281=begin original
961210282
961310283(F) Perl limits the representation of decimal numbers in programs to
961410284about 250 characters. You've exceeded that length. Future
961510285versions of Perl are likely to eliminate this arbitrary limitation. In
961610286the meantime, try using scientific notation (e.g. "1e6" instead of
961710287"1_000_000").
961810288
961910289=end original
962010290
962110291Perl はプログラム中での十進数の表現を 250 文字に制限しています。
962210292この制限を越えました。
962310293Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。
962410294それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を
962510295使用してください。
962610296
962710297=item Number with no digits
962810298
962910299=begin original
963010300
963110301(F) Perl was looking for a number but found nothing that looked like
963210302a number. This happens, for example with C<\o{}>, with no number between
963310303the braces.
963410304
963510305=end original
963610306
963710307(F) Perl は数字を探していましたが数字に見えないものが見つかりました。
963810308これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。
963910309
10310=item Numeric format result too large
10311
10312=begin original
10313
10314(F) The length of the result of a numeric format supplied to sprintf()
10315or printf() would have been too large for the underlying C function to
10316report. This limit is typically 2GB.
10317
10318=end original
10319
10320(F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、
10321報告するための基礎となる C 関数にとって大きすぎました。
10322この制限は典型的には 2GB です。
10323
10324=item Numeric variables with more than one digit may not start with '0'
10325
10326=begin original
10327
10328(F) The only numeric variable which is allowed to start with a 0 is C<$0>,
10329and you mentioned a variable that starts with 0 that has more than one
10330digit. You probably want to remove the leading 0, or if the intent was
10331to express a variable name in octal you should convert to decimal.
10332
10333=end original
10334
10335(F) 0 で始まることが許されている唯一の数値変数は C<$0> で、
103360 で始まり複数桁ある変数に言及しました。
10337おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、
1033810 進数に変換する必要があります。
10339
964010340=item Octal number > 037777777777 non-portable
964110341
964210342=begin original
964310343
964410344(W portable) The octal number you specified is larger than 2**32-1
964510345(4294967295) and therefore non-portable between systems. See
964610346L<perlport> for more on portability concerns.
964710347
964810348=end original
964910349
965010350(W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、
965110351システム間で移植性がありません。
965210352移植性に関するさらなる考察については L<perlport> を参照してください。
965310353
9654=item Odd name/value argument for subroutine
10354=item Odd name/value argument for subroutine '%s'
965510355
965610356=begin original
965710357
965810358(F) A subroutine using a slurpy hash parameter in its signature
965910359received an odd number of arguments to populate the hash. It requires
966010360the arguments to be paired, with the same number of keys as values.
9661The caller of the subroutine is presumably at fault. Inconveniently,
10361The caller of the subroutine is presumably at fault.
9662this error will be reported at the location of the subroutine, not that
9663of the caller.
966410362
966510363=end original
966610364
966710365(F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、
966810366ハッシュに展開するために奇数の数の引数を受け取りました。
966910367引数は、同じ数のキーと値のペアになっていることが必要です。
967010368サブルーチンの呼び出しものがおそらく間違えているのでしょう。
9671不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で
9672報告されます。
967310369
10370=begin original
10371
10372The message attempts to include the name of the called subroutine. If the
10373subroutine has been aliased, the subroutine's original name will be shown,
10374regardless of what name the caller used.
10375
10376=end original
10377
10378メッセージには呼び出されたサブルーチンの名前を含めようとします。
10379サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、
10380元の名前が表示されます。
10381
967410382=item Odd number of arguments for overload::constant
967510383
967610384=begin original
967710385
967810386(W overload) The call to overload::constant contained an odd number of
967910387arguments. The arguments should come in pairs.
968010388
968110389=end original
968210390
968310391(W overload) 奇数の数の引数で overload::constant を呼び出しました。
968410392引数はペアになっている必要があります。
968510393
968610394=item Odd number of elements in anonymous hash
968710395
968810396=begin original
968910397
969010398(W misc) You specified an odd number of elements to initialize a hash,
969110399which is odd, because hashes come in key/value pairs.
969210400
969310401=end original
969410402
969510403(W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、
969610404key/value のペアで与えられますから、これは奇妙なことです。
969710405
969810406=item Odd number of elements in hash assignment
969910407
970010408=begin original
970110409
970210410(W misc) You specified an odd number of elements to initialize a hash,
970310411which is odd, because hashes come in key/value pairs.
970410412
970510413=end original
970610414
970710415(W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、
970810416key/value のペアで与えられますから、これは奇妙なことです。
970910417
971010418=item Offset outside string
971110419
971210420=begin original
971310421
971410422(F)(W layer) You tried to do a read/write/send/recv/seek operation
971510423with an offset pointing outside the buffer. This is difficult to
971610424imagine. The sole exceptions to this are that zero padding will
971710425take place when going past the end of the string when either
971810426C<sysread()>ing a file, or when seeking past the end of a scalar opened
971910427for I/O (in anticipation of future reads and to imitate the behavior
972010428with real files).
972110429
972210430=end original
972310431
972410432(F)(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を
972510433しようとしました。
972610434これは想像しにくいことです。
972710435唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、
972810436(将来の読み込みと実際のファイルの振る舞いを模倣することを期待して)
972910437I/O のためにオープンされているスカラの最後を越えてシークしたときに、
9730104380 でパッディングされたときです。
973110439
10440=item Old package separator used in string
10441
10442=begin original
10443
10444(W syntax) You used the old package separator, "'", in a variable
10445named inside a double-quoted string; e.g., C<"In $name's house">. This
10446is equivalent to C<"In $name::s house">. If you meant the former, put
10447a backslash before the apostrophe (C<"In $name\'s house">).
10448
10449=end original
10450
10451(W syntax) ダブルクォートされた文字列の中の変数名で、
10452C<"In $name's house"> のように、
10453古いパッケージ区切り文字である "'" を使いました。
10454これは C<"In $name::s house"> と等価です。
10455前者の意味なら、アポストロフィの前に逆スラッシュを置いてください
10456(C<"In $name\'s house">)。
10457
973210458=item %s() on unopened %s
973310459
973410460=begin original
973510461
973610462(W unopened) An I/O operation was attempted on a filehandle that was
973710463never initialized. You need to do an open(), a sysopen(), or a socket()
973810464call, or call a constructor from the FileHandle package.
973910465
974010466=end original
974110467
974210468(W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。
974310469open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの
974410470コンストラクタを呼び出す必要があります。
974510471
974610472=item -%s on unopened filehandle %s
974710473
974810474=begin original
974910475
975010476(W unopened) You tried to invoke a file test operator on a filehandle
975110477that isn't open. Check your control flow. See also L<perlfunc/-X>.
975210478
975310479=end original
975410480
975510481(W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を
975610482使おうとしました。
975710483制御フローをチェックしてください。
975810484L<perlfunc/-X> も参照してください。
975910485
976010486=item oops: oopsAV
976110487
976210488=begin original
976310489
976410490(S internal) An internal warning that the grammar is screwed up.
976510491
976610492=end original
976710493
976810494(S internal) 文法がおかしくなったことを示す内部警告です。
976910495
977010496=item oops: oopsHV
977110497
977210498=begin original
977310499
977410500(S internal) An internal warning that the grammar is screwed up.
977510501
977610502=end original
977710503
977810504(S internal) 文法がおかしくなったことを示す内部警告です。
977910505
9780=item Opening dirhandle %s also as a file
9781
9782=begin original
9783
9784(D io, deprecated) You used open() to associate a filehandle to
9785a symbol (glob or scalar) that already holds a dirhandle.
9786Although legal, this idiom might render your code confusing
9787and is deprecated.
9788
9789=end original
9790
9791(D io, deprecated) open() で、既にディレクトリハンドルを保持しているシンボル
9792(グロブまたはスカラ)にファイルハンドルを関連付けようとしました。
9793これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
9794あるので非推奨です。
9795
9796=item Opening filehandle %s also as a directory
9797
9798=begin original
9799
9800(D io, deprecated) You used opendir() to associate a dirhandle to
9801a symbol (glob or scalar) that already holds a filehandle.
9802Although legal, this idiom might render your code confusing
9803and is deprecated.
9804
9805=end original
9806
9807(D io, deprecated) すでにファイルハンドルを保持しているシンボル
9808(グロブまたはスカラ)にディレクトリハンドルを関連付けるために
9809opendir() を使いました。
9810これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が
9811あるので非推奨です。
9812
981310506=item Operand with no preceding operator in regex; marked by S<<-- HERE> in
981410507m/%s/
981510508
981610509=begin original
981710510
981810511(F) You wrote something like
981910512
982010513=end original
982110514
982210515(F) 以下のようなものを書きました
982310516
982410517 (?[ \p{Digit} \p{Thai} ])
982510518
982610519=begin original
982710520
982810521There are two operands, but no operator giving how you want to combine
982910522them.
983010523
983110524=end original
983210525
983310526二つのオペランドがありますが、それをどのように結びつけたいかを指定する
983410527演算子がありません。
983510528
983610529=item Operation "%s": no method found, %s
983710530
983810531=begin original
983910532
984010533(F) An attempt was made to perform an overloaded operation for which no
984110534handler was defined. While some handlers can be autogenerated in terms
984210535of other handlers, there is no default handler for any operation, unless
984310536the C<fallback> overloading key is specified to be true. See L<overload>.
984410537
984510538=end original
984610539
984710540(F) ハンドラが定義されていないオーバーロード操作が行われました。
984810541一部のハンドラは他のハンドラから自動生成されますが、C<fallback>
984910542オーバーロードキーが真に指定されていない限り、どの動作にも
985010543デフォルトのハンドラはありません。
985110544L<overload> を参照してください。
985210545
985310546=item Operation "%s" returns its argument for non-Unicode code point 0x%X
985410547
985510548=begin original
985610549
985710550(S non_unicode) You performed an operation requiring Unicode rules
985810551on a code point that is not in Unicode, so what it should do is not
985910552defined. Perl has chosen to have it do nothing, and warn you.
986010553
986110554=end original
986210555
986310556(S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が
986410557必要な操作を実行しました; 何をするべきかは未定義です。
986510558Perl は何もしないことを選択し、警告を出します。
986610559
986710560=begin original
986810561
986910562If the operation shown is "ToFold", it means that case-insensitive
987010563matching in a regular expression was done on the code point.
987110564
987210565=end original
987310566
987410567示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが
987510568その符号位置に対して行われたということです。
987610569
987710570=begin original
987810571
987910572If you know what you are doing you can turn off this warning by
988010573C<no warnings 'non_unicode';>.
988110574
988210575=end original
988310576
988410577自分で何をしているのかが分かっているなら、
988510578C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。
988610579
988710580=item Operation "%s" returns its argument for UTF-16 surrogate U+%X
988810581
988910582=begin original
989010583
989110584(S surrogate) You performed an operation requiring Unicode
989210585rules on a Unicode surrogate. Unicode frowns upon the use
989310586of surrogates for anything but storing strings in UTF-16, but
989410587rules are (reluctantly) defined for the surrogates, and
989510588they are to do nothing for this operation. Because the use of
989610589surrogates can be dangerous, Perl warns.
989710590
989810591=end original
989910592
990010593(S surrogate) Unicode サロゲートに対して Unicode の規則が必要な
990110594操作を実行しました。
990210595Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに
990310596難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは
990410597この操作に対して何もしないことです。
990510598サロゲートの使用は危険かも知れないので、Perl は警告します。
990610599
990710600=begin original
990810601
990910602If the operation shown is "ToFold", it means that case-insensitive
991010603matching in a regular expression was done on the code point.
991110604
991210605=end original
991310606
991410607示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが
991510608その符号位置に対して行われたということです。
991610609
991710610=begin original
991810611
991910612If you know what you are doing you can turn off this warning by
992010613C<no warnings 'surrogate';>.
992110614
992210615=end original
992310616
992410617自分で何をしているのかが分かっているなら、
992510618C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
992610619
992710620=item Operator or semicolon missing before %s
992810621
992910622=begin original
993010623
993110624(S ambiguous) You used a variable or subroutine call where the parser
993210625was expecting an operator. The parser has assumed you really meant to
993310626use an operator, but this is highly likely to be incorrect. For
993410627example, if you say "*foo *foo" it will be interpreted as if you said
993510628"*foo * 'foo'".
993610629
993710630=end original
993810631
993910632(S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン
994010633呼び出しが使われました。
994110634パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、
994210635これは大抵正しくありません。
994310636例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。
994410637
994510638=item Optional parameter lacks default expression
994610639
994710640=begin original
994810641
994910642(F) In a subroutine signature, you wrote something like "$a =", making a
995010643named optional parameter without a default value. A nameless optional
995110644parameter is permitted to have no default value, but a named one must
995210645have a specific default. You probably want "$a = undef".
995310646
995410647=end original
995510648
995610649(F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き
995710650オプション引数を書きました。
995810651無名オプション引数はデフォルト値を持たないことを許されていますが、
995910652名前付きのものはデフォルトを指定しなければなりません。
996010653おそらく "$a = undef" としたかったのでしょう。
996110654
996210655=item "our" variable %s redeclared
996310656
996410657=begin original
996510658
9966(W misc) You seem to have already declared the same global once before
10659(W shadow) You seem to have already declared the same global once before
996710660in the current lexical scope.
996810661
996910662=end original
997010663
9971(W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を
10664(W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を
997210665宣言しているようです。
997310666
997410667=item Out of memory!
997510668
997610669=begin original
997710670
997810671(X) The malloc() function returned 0, indicating there was insufficient
997910672remaining memory (or virtual memory) to satisfy the request. Perl has
998010673no option but to exit immediately.
998110674
998210675=end original
998310676
998410677(X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が
998510678取得できないことを示す、0 を malloc() 関数が返しました。
998610679Perl は直ちに終了するしかありませんでした。
998710680
998810681=begin original
998910682
999010683At least in Unix you may be able to get past this by increasing your
999110684process datasize limits: in csh/tcsh use C<limit> and
999210685C<limit datasize n> (where C<n> is the number of kilobytes) to check
999310686the current limits and change them, and in ksh/bash/zsh use C<ulimit -a>
999410687and C<ulimit -d n>, respectively.
999510688
999610689=end original
999710690
999810691少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって
999910692これを回避することが可能です:
1000010693csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには
1000110694C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください;
1000210695ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。
1000310696
1000410697=item Out of memory during %s extend
1000510698
1000610699=begin original
1000710700
1000810701(X) An attempt was made to extend an array, a list, or a string beyond
1000910702the largest possible memory allocation.
1001010703
1001110704=end original
1001210705
1001310706(X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。
1001410707
1001510708=item Out of memory during "large" request for %s
1001610709
1001710710=begin original
1001810711
1001910712(F) The malloc() function returned 0, indicating there was insufficient
1002010713remaining memory (or virtual memory) to satisfy the request. However,
1002110714the request was judged large enough (compile-time default is 64K), so a
1002210715possibility to shut down by trapping this error is granted.
1002310716
1002410717=end original
1002510718
1002610719(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ
1002710720(または仮想メモリ)が不十分であることを示しています。
1002810721しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、
1002910722このエラーをトラップすることでシャットダウンできる可能性があります。
1003010723
1003110724=item Out of memory during request for %s
1003210725
1003310726=begin original
1003410727
1003510728(X)(F) The malloc() function returned 0, indicating there was
1003610729insufficient remaining memory (or virtual memory) to satisfy the
1003710730request.
1003810731
1003910732=end original
1004010733
1004110734(X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ
1004210735(または仮想メモリ)が不十分であることを示しています。
1004310736
1004410737=begin original
1004510738
1004610739The request was judged to be small, so the possibility to trap it
1004710740depends on the way perl was compiled. By default it is not trappable.
1004810741However, if compiled for this, Perl may use the contents of C<$^M> as an
1004910742emergency pool after die()ing with this message. In this case the error
1005010743is trappable I<once>, and the error message will include the line and file
1005110744where the failed request happened.
1005210745
1005310746=end original
1005410747
1005510748要求は小さいものと判定されたので、これをトラップできる確率は perl が
1005610749どのようにコンパイルされたかに依存します。
1005710750デフォルトではこれはトラップできません。
1005810751しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に
1005910752die() した後の非常用エリアとして C<$^M> の内容を使います。
1006010753この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した
1006110754要求が起きたファイルと行番号を含んでいます。
1006210755
1006310756=item Out of memory during ridiculously large request
1006410757
1006510758=begin original
1006610759
1006710760(F) You can't allocate more than 2^31+"small amount" bytes. This error
1006810761is most likely to be caused by a typo in the Perl program. e.g.,
1006910762C<$arr[time]> instead of C<$arr[$time]>.
1007010763
1007110764=end original
1007210765
1007310766(F) 2^31+「少量」バイト以上割り当てることはできません。
1007410767このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。
1007510768例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。
1007610769
1007710770=item Out of memory for yacc stack
1007810771
1007910772=begin original
1008010773
1008110774(F) The yacc parser wanted to grow its stack so it could continue
1008210775parsing, but realloc() wouldn't give it more memory, virtual or
1008310776otherwise.
1008410777
1008510778=end original
1008610779
1008710780(F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、
1008810781realloc() が仮想やその他のメモリを確保できませんでした。
1008910782
1009010783=item '.' outside of string in pack
1009110784
1009210785=begin original
1009310786
1009410787(F) The argument to a '.' in your template tried to move the working
1009510788position to before the start of the packed string being built.
1009610789
1009710790=end original
1009810791
1009910792(F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも
1010010793前に作業位置を移動しようとしました。
1010110794
1010210795=item '@' outside of string in unpack
1010310796
1010410797=begin original
1010510798
1010610799(F) You had a template that specified an absolute position outside
1010710800the string being unpacked. See L<perlfunc/pack>.
1010810801
1010910802=end original
1011010803
1011110804(F) unpack される文字列の外に絶対位置指定している、
1011210805テンプレートを指定しました。
1011310806L<perlfunc/pack> を参照してください。
1011410807
1011510808=item '@' outside of string with malformed UTF-8 in unpack
1011610809
1011710810=begin original
1011810811
1011910812(F) You had a template that specified an absolute position outside
1012010813the string being unpacked. The string being unpacked was also invalid
1012110814UTF-8. See L<perlfunc/pack>.
1012210815
1012310816=end original
1012410817
1012510818(F) unpack される文字列の外に絶対位置指定している、
1012610819テンプレートを指定しました。
1012710820unpack された文字列は不正な UTF-8 でもあります。
1012810821L<perlfunc/pack> を参照してください。
1012910822
1013010823=item overload arg '%s' is invalid
1013110824
1013210825=begin original
1013310826
1013410827(W overload) The L<overload> pragma was passed an argument it did not
1013510828recognize. Did you mistype an operator?
1013610829
1013710830=end original
1013810831
1013910832(W overload) L<overload> プラグマに、認識できない引数が渡されました。
1014010833演算子をタイプミスしましたか?
1014110834
1014210835=item Overloaded dereference did not return a reference
1014310836
1014410837=begin original
1014510838
1014610839(F) An object with an overloaded dereference operator was dereferenced,
1014710840but the overloaded operation did not return a reference. See
1014810841L<overload>.
1014910842
1015010843=end original
1015110844
1015210845(F) オーバーロードされたデリファレンス演算子のオブジェクトが
1015310846デリファレンスされましたが、オーバーロード演算がリファレンスを
1015410847返しませんでした。
1015510848L<overload> を参照してください。
1015610849
1015710850=item Overloaded qr did not return a REGEXP
1015810851
1015910852=begin original
1016010853
1016110854(F) An object with a C<qr> overload was used as part of a match, but the
1016210855overloaded operation didn't return a compiled regexp. See L<overload>.
1016310856
1016410857=end original
1016510858
1016610859(F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として
1016710860使われましたが、オーバーロード演算がコンパイルされた正規表現を
1016810861返しませんでした。
1016910862L<overload> を参照してください。
1017010863
1017110864=item %s package attribute may clash with future reserved word: %s
1017210865
1017310866=begin original
1017410867
1017510868(W reserved) A lowercase attribute name was used that had a
1017610869package-specific handler. That name might have a meaning to Perl itself
1017710870some day, even though it doesn't yet. Perhaps you should use a
1017810871mixed-case attribute name, instead. See L<attributes>.
1017910872
1018010873=end original
1018110874
1018210875(W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。
1018310876この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。
1018410877おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。
1018510878L<attributes> を参照してください。
1018610879
1018710880=item pack/unpack repeat count overflow
1018810881
1018910882=begin original
1019010883
1019110884(F) You can't specify a repeat count so large that it overflows your
1019210885signed integers. See L<perlfunc/pack>.
1019310886
1019410887=end original
1019510888
1019610889(F) 繰り返し回数として符号付き整数をオーバーフローするような
1019710890値は指定できません。
1019810891L<perlfunc/pack> を参照してください。
1019910892
1020010893=item page overflow
1020110894
1020210895=begin original
1020310896
1020410897(W io) A single call to write() produced more lines than can fit on a
1020510898page. See L<perlform>.
1020610899
1020710900=end original
1020810901
1020910902(W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が
1021010903できました。
1021110904L<perlform> を参照してください。
1021210905
1021310906=item panic: %s
1021410907
1021510908=begin original
1021610909
1021710910(P) An internal error.
1021810911
1021910912=end original
1022010913
1022110914(P) 内部エラーです。
1022210915
1022310916=item panic: attempt to call %s in %s
1022410917
1022510918=begin original
1022610919
1022710920(P) One of the file test operators entered a code branch that calls
1022810921an ACL related-function, but that function is not available on this
1022910922platform. Earlier checks mean that it should not be possible to
1023010923enter this branch on this platform.
1023110924
1023210925=end original
1023310926
1023410927(P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に
1023510928入りましたが、この関数はこのプラットフォームでは利用できません。
1023610929より早いチェックは、このプラットフォームのこの分岐に入ることがないように
1023710930するべきことを意味します。
1023810931
1023910932=item panic: child pseudo-process was never scheduled
1024010933
1024110934=begin original
1024210935
1024310936(P) A child pseudo-process in the ithreads implementation on Windows
1024410937was not scheduled within the time period allowed and therefore was not
1024510938able to initialize properly.
1024610939
1024710940=end original
1024810941
1024910942(P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に
1025010943スケジューリングされなかったので、適切に初期化されなかった可能性があります。
1025110944
1025210945=item panic: ck_grep, type=%u
1025310946
1025410947=begin original
1025510948
1025610949(P) Failed an internal consistency check trying to compile a grep.
1025710950
1025810951=end original
1025910952
1026010953(P) grep をコンパイルしようとして、内部の一貫性チェックに
1026110954引っ掛かりました。
1026210955
10263=item panic: ck_split, type=%u
10264
10265=begin original
10266
10267(P) Failed an internal consistency check trying to compile a split.
10268
10269=end original
10270
10271(P) split をコンパイルしようとして、内部の一貫性チェックに
10272引っ掛かりました。
10273
1027410956=item panic: corrupt saved stack index %ld
1027510957
1027610958=begin original
1027710959
1027810960(P) The savestack was requested to restore more localized values than
1027910961there are in the savestack.
1028010962
1028110963=end original
1028210964
1028310965(P) セーブスタックにある以上のローカル化した値を元に戻す
1028410966要求がありました。
1028510967
1028610968=item panic: del_backref
1028710969
1028810970=begin original
1028910971
1029010972(P) Failed an internal consistency check while trying to reset a weak
1029110973reference.
1029210974
1029310975=end original
1029410976
1029510977(P) 弱いリファレンスをリセットしようとしたときに内部の
1029610978一貫性チェックに引っ掛かりました。
1029710979
1029810980=item panic: do_subst
1029910981
1030010982=begin original
1030110983
1030210984(P) The internal pp_subst() routine was called with invalid operational
1030310985data.
1030410986
1030510987=end original
1030610988
1030710989(P) 内部の pp_subst() ルーティンが、無効な省略可能データを
1030810990付けて呼ばれました。
1030910991
1031010992=item panic: do_trans_%s
1031110993
1031210994=begin original
1031310995
1031410996(P) The internal do_trans routines were called with invalid operational
1031510997data.
1031610998
1031710999=end original
1031811000
1031911001(P) 内部の pp_trans ルーティンが、無効な省略可能データを
1032011002付けて呼ばれました。
1032111003
1032211004=item panic: fold_constants JMPENV_PUSH returned %d
1032311005
1032411006=begin original
1032511007
1032611008(P) While attempting folding constants an exception other than an C<eval>
1032711009failure was caught.
1032811010
1032911011=end original
1033011012
1033111013(P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。
1033211014
1033311015=item panic: frexp: %f
1033411016
1033511017=begin original
1033611018
1033711019(P) The library function frexp() failed, making printf("%f") impossible.
1033811020
1033911021=end original
1034011022
1034111023(P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。
1034211024
1034311025=item panic: goto, type=%u, ix=%ld
1034411026
1034511027=begin original
1034611028
1034711029(P) We popped the context stack to a context with the specified label,
1034811030and then discovered it wasn't a context we know how to do a goto in.
1034911031
1035011032=end original
1035111033
1035211034(P) 指定したラベルを伴うコンテキストへコンテキストスタックを
1035311035ポップしたあと、どのように goto するかがわかっている
1035411036コンテキストでないことがわかりました。
1035511037
1035611038=item panic: gp_free failed to free glob pointer
1035711039
1035811040=begin original
1035911041
1036011042(P) The internal routine used to clear a typeglob's entries tried
1036111043repeatedly, but each time something re-created entries in the glob.
1036211044Most likely the glob contains an object with a reference back to
1036311045the glob and a destructor that adds a new object to the glob.
1036411046
1036511047=end original
1036611048
1036711049(P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回
1036811050試しましたが、毎回何かがグロブにエントリを再作成しました。
1036911051おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを
1037011052追加するデストラクタを持つオブジェクトが含まれています。
1037111053
1037211054=item panic: INTERPCASEMOD, %s
1037311055
1037411056=begin original
1037511057
1037611058(P) The lexer got into a bad state at a case modifier.
1037711059
1037811060=end original
1037911061
1038011062(P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。
1038111063
1038211064=item panic: INTERPCONCAT, %s
1038311065
1038411066=begin original
1038511067
1038611068(P) The lexer got into a bad state parsing a string with brackets.
1038711069
1038811070=end original
1038911071
1039011072(P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。
1039111073
1039211074=item panic: kid popen errno read
1039311075
1039411076=begin original
1039511077
1039611078(F) A forked child returned an incomprehensible message about its errno.
1039711079
1039811080=end original
1039911081
1040011082(F) fork した子プロセスが errno に関して不完全なメッセージを返しました。
1040111083
1040211084=item panic: last, type=%u
1040311085
1040411086=begin original
1040511087
1040611088(P) We popped the context stack to a block context, and then discovered
1040711089it wasn't a block context.
1040811090
1040911091=end original
1041011092
1041111093(P) block コンテキストへコンテキストスタックをポップしたあと、
1041211094block コンテキストでないことがわかりました。
1041311095
1041411096=item panic: leave_scope clearsv
1041511097
1041611098=begin original
1041711099
1041811100(P) A writable lexical variable became read-only somehow within the
1041911101scope.
1042011102
1042111103=end original
1042211104
1042311105(P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で
1042411106リードオンリーになりました。
1042511107
1042611108=item panic: leave_scope inconsistency %u
1042711109
1042811110=begin original
1042911111
1043011112(P) The savestack probably got out of sync. At least, there was an
1043111113invalid enum on the top of it.
1043211114
1043311115=end original
1043411116
1043511117(P) おそらく、セーブスタックの同期がとれていません。
1043611118少なくとも、トップに不正な enum がありました。
1043711119
1043811120=item panic: magic_killbackrefs
1043911121
1044011122=begin original
1044111123
1044211124(P) Failed an internal consistency check while trying to reset all weak
1044311125references to an object.
1044411126
1044511127=end original
1044611128
1044711129(P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の
1044811130一貫性チェックに引っ掛かりました。
1044911131
1045011132=item panic: malloc, %s
1045111133
1045211134=begin original
1045311135
1045411136(P) Something requested a negative number of bytes of malloc.
1045511137
1045611138=end original
1045711139
1045811140(P) malloc に負のバイト数で要求が行なわれました。
1045911141
1046011142=item panic: memory wrap
1046111143
1046211144=begin original
1046311145
1046411146(P) Something tried to allocate either more memory than possible or a
1046511147negative amount.
1046611148
1046711149=end original
1046811150
1046911151(P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。
1047011152
1047111153=item panic: pad_alloc, %p!=%p
1047211154
1047311155=begin original
1047411156
1047511157(P) The compiler got confused about which scratch pad it was allocating
1047611158and freeing temporaries and lexicals from.
1047711159
1047811160=end original
1047911161
1048011162(P) コンパイラが、一時領域や字句形式を割り当て、解放している
1048111163スクラッチパッドについて混乱しました。
1048211164
1048311165=item panic: pad_free curpad, %p!=%p
1048411166
1048511167=begin original
1048611168
1048711169(P) The compiler got confused about which scratch pad it was allocating
1048811170and freeing temporaries and lexicals from.
1048911171
1049011172=end original
1049111173
1049211174(P) コンパイラが、一時領域や字句形式を割り当て、解放している
1049311175スクラッチパッドについて混乱しました。
1049411176
1049511177=item panic: pad_free po
1049611178
1049711179=begin original
1049811180
1049911181(P) A zero scratch pad offset was detected internally. An attempt was
1050011182made to free a target that had not been allocated to begin with.
1050111183
1050211184=end original
1050311185
1050411186(P) スクラッチパッドのオフセット 0 が、内部的に検出されました。
1050511187始めるために割り当てられていないターゲットを解放しようとしました。
1050611188
1050711189=item panic: pad_reset curpad, %p!=%p
1050811190
1050911191=begin original
1051011192
1051111193(P) The compiler got confused about which scratch pad it was allocating
1051211194and freeing temporaries and lexicals from.
1051311195
1051411196=end original
1051511197
1051611198(P) コンパイラが、一時領域や字句形式を割り当て、解放している
1051711199スクラッチパッドについて混乱しました。
1051811200
1051911201=item panic: pad_sv po
1052011202
1052111203=begin original
1052211204
1052311205(P) A zero scratch pad offset was detected internally. Most likely
1052411206an operator needed a target but that target had not been allocated
1052511207for whatever reason.
1052611208
1052711209=end original
1052811210
1052911211(P) スクラッチパッドのオフセット 0 が、内部的に検出されました。
1053011212おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で
1053111213割り当てられていません。
1053211214
1053311215=item panic: pad_swipe curpad, %p!=%p
1053411216
1053511217=begin original
1053611218
1053711219(P) The compiler got confused about which scratch pad it was allocating
1053811220and freeing temporaries and lexicals from.
1053911221
1054011222=end original
1054111223
1054211224(P) コンパイラが、一時領域や字句形式を割り当て、解放している
1054311225スクラッチパッドについて混乱しました。
1054411226
1054511227=item panic: pad_swipe po
1054611228
1054711229=begin original
1054811230
1054911231(P) An invalid scratch pad offset was detected internally.
1055011232
1055111233=end original
1055211234
1055311235(P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。
1055411236
1055511237=item panic: pp_iter, type=%u
1055611238
1055711239=begin original
1055811240
1055911241(P) The foreach iterator got called in a non-loop context frame.
1056011242
1056111243=end original
1056211244
1056311245(P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。
1056411246
1056511247=item panic: pp_match%s
1056611248
1056711249=begin original
1056811250
1056911251(P) The internal pp_match() routine was called with invalid operational
1057011252data.
1057111253
1057211254=end original
1057311255
1057411256(P) 内部の pp_match() ルーティンが、無効な省略可能データを
1057511257付けて呼ばれました。
1057611258
10577=item panic: pp_split, pm=%p, s=%p
10578
10579=begin original
10580
10581(P) Something terrible went wrong in setting up for the split.
10582
10583=end original
10584
10585(P) split の準備中に何かまずいことが起こってしまいました。
10586
1058711259=item panic: realloc, %s
1058811260
1058911261=begin original
1059011262
1059111263(P) Something requested a negative number of bytes of realloc.
1059211264
1059311265=end original
1059411266
1059511267(P) 何か、realloc に負のバイト数を要求したものがあります。
1059611268
1059711269=item panic: reference miscount on nsv in sv_replace() (%d != 1)
1059811270
1059911271=begin original
1060011272
1060111273(P) The internal sv_replace() function was handed a new SV with a
1060211274reference count other than 1.
1060311275
1060411276=end original
1060511277
1060611278(P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を
1060711279扱いました。
1060811280
1060911281=item panic: restartop in %s
1061011282
1061111283=begin original
1061211284
1061311285(P) Some internal routine requested a goto (or something like it), and
1061411286didn't supply the destination.
1061511287
1061611288=end original
1061711289
1061811290(P) 内部ルーティンから goto (または、同じようなもの) が
1061911291要求されましたが、飛び先が与えれていません。
1062011292
1062111293=item panic: return, type=%u
1062211294
1062311295=begin original
1062411296
1062511297(P) We popped the context stack to a subroutine or eval context, and
1062611298then discovered it wasn't a subroutine or eval context.
1062711299
1062811300=end original
1062911301
1063011302(P) サブルーチンコンテキストや eval コンテキストへ、
1063111303コンテキストスタックをポップしたあと、サブルーチンコンテキストや
1063211304eval コンテキストでないことがわかりました。
1063311305
1063411306=item panic: scan_num, %s
1063511307
1063611308=begin original
1063711309
1063811310(P) scan_num() got called on something that wasn't a number.
1063911311
1064011312=end original
1064111313
1064211314(P) scan_num() が、何か数字でないものに対して呼ばれました。
1064311315
1064411316=item panic: Sequence (?{...}): no code block found in regex m/%s/
1064511317
1064611318=begin original
1064711319
1064811320(P) While compiling a pattern that has embedded (?{}) or (??{}) code
1064911321blocks, perl couldn't locate the code block that should have already been
1065011322seen and compiled by perl before control passed to the regex compiler.
1065111323
1065211324=end original
1065311325
1065411326(P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、
1065511327既に現れていて、正規表現コンパイラに制御を渡す前に perl によって
1065611328コンパイルされているコードブロックを発見できませんでした。
1065711329
1065811330=item panic: strxfrm() gets absurd - a => %u, ab => %u
1065911331
1066011332=begin original
1066111333
1066211334(P) The interpreter's sanity check of the C function strxfrm() failed.
1066311335In your current locale the returned transformation of the string "ab"
1066411336is shorter than that of the string "a", which makes no sense.
1066511337
1066611338=end original
1066711339
1066811340(P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。
1066911341現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の
1067011342変換で返されたものよりも短いので、おかしいです。
1067111343
1067211344=item panic: sv_chop %s
1067311345
1067411346=begin original
1067511347
1067611348(P) The sv_chop() routine was passed a position that is not within the
1067711349scalar's string buffer.
1067811350
1067911351=end original
1068011352
1068111353(P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を
1068211354渡されました。
1068311355
1068411356=item panic: sv_insert, midend=%p, bigend=%p
1068511357
1068611358=begin original
1068711359
1068811360(P) The sv_insert() routine was told to remove more string than there
1068911361was string.
1069011362
1069111363=end original
1069211364
1069311365(P) sv_insert() ルーティンが、存在する以上の文字列を削除するように
1069411366指示されました。
1069511367
1069611368=item panic: top_env
1069711369
1069811370=begin original
1069911371
1070011372(P) The compiler attempted to do a goto, or something weird like that.
1070111373
1070211374=end original
1070311375
1070411376(P) コンパイラが、goto など妙なことを行なおうとしました。
1070511377
1070611378=item panic: unimplemented op %s (#%d) called
1070711379
1070811380=begin original
1070911381
1071011382(P) The compiler is screwed up and attempted to use an op that isn't
1071111383permitted at run time.
1071211384
1071311385=end original
1071411386
1071511387(P) コンパイラがおかしくなって、実行時に許可されていない op を
1071611388しようとしました。
1071711389
11390=item panic: unknown OA_*: %x
11391
11392=begin original
11393
11394(P) The internal routine that handles arguments to C<&CORE::foo()>
11395subroutine calls was unable to determine what type of arguments
11396were expected.
11397
11398=end original
11399
11400(P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、
11401どの種類の引数が想定されているかを決定できませんでした。
11402
1071811403=item panic: utf16_to_utf8: odd bytelen
1071911404
1072011405=begin original
1072111406
1072211407(P) Something tried to call utf16_to_utf8 with an odd (as opposed
1072311408to even) byte length.
1072411409
1072511410=end original
1072611411
1072711412(P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を
1072811413呼び出そうとしました。
1072911414
1073011415=item panic: utf16_to_utf8_reversed: odd bytelen
1073111416
1073211417=begin original
1073311418
1073411419(P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed
1073511420to even) byte length.
1073611421
1073711422=end original
1073811423
1073911424(P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。
1074011425
1074111426=item panic: yylex, %s
1074211427
1074311428=begin original
1074411429
1074511430(P) The lexer got into a bad state while processing a case modifier.
1074611431
1074711432=end original
1074811433
1074911434(P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。
1075011435
1075111436=item Parentheses missing around "%s" list
1075211437
1075311438=begin original
1075411439
1075511440(W parenthesis) You said something like
1075611441
1075711442=end original
1075811443
1075911444(W parenthesis) おそらく以下のようにしたのでしょう:
1076011445
1076111446 my $foo, $bar = @_;
1076211447
1076311448=begin original
1076411449
1076511450when you meant
1076611451
1076711452=end original
1076811453
1076911454以下のようにすべきです:
1077011455
1077111456 my ($foo, $bar) = @_;
1077211457
1077311458=begin original
1077411459
1077511460Remember that "my", "our", "local" and "state" bind tighter than comma.
1077611461
1077711462=end original
1077811463
1077911464"my", "our", "local", "state" は、コンマよりも強く結合することを
1078011465忘れないでください。
1078111466
1078211467=item Parsing code internal error (%s)
1078311468
1078411469=begin original
1078511470
1078611471(F) Parsing code supplied by an extension violated the parser's API in
1078711472a detectable way.
1078811473
1078911474=end original
1079011475
1079111476(F) エクステンションによって供給されたパースコードが、検出できる形で
1079211477パーサの API に違反しています。
1079311478
10794=item Passing malformed UTF-8 to "%s" is deprecated
10795
10796=begin original
10797
10798(D deprecated, utf8) This message indicates a bug either in the Perl
10799core or in XS code. Such code was trying to find out if a character,
10800allegedly stored internally encoded as UTF-8, was of a given type, such
10801as being punctuation or a digit. But the character was not encoded in
10802legal UTF-8. The C<%s> is replaced by a string that can be used by
10803knowledgeable people to determine what the type being checked against
10804was. If C<utf8> warnings are enabled, a further message is raised,
10805giving details of the malformation.
10806
10807=end original
10808
10809(D deprecated, utf8) このメッセージは、Perl コアまたは XS コードにバグが
10810あることを示しています。
10811このコードは、内部で UTF-8 にエンコードしているとされている文字が、
10812句読点や数字といった特定の種類かどうかを調べようとしました。
10813しかしその文字は正当な UTF-8 としてエンコードされていませんでした。
10814C<%s> は、知識のある人々がチェックするべき型を決定するために使われる文字列で
10815置き換えられます。
10816C<utf8> 警告が有効なら、不正な形の詳細が記されたさらなるメッセージが
10817出力されます。
10818
1081911479=item Pattern subroutine nesting without pos change exceeded limit in regex
1082011480
1082111481=begin original
1082211482
1082311483(F) You used a pattern that uses too many nested subpattern calls without
1082411484consuming any text. Restructure the pattern so text is consumed before
1082511485the nesting limit is exceeded.
1082611486
1082711487=end original
1082811488
1082911489(F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う
1083011490パターンを使いました。
1083111491ネストの制限を越える前にテキストを消費するようにパターンを
1083211492再構成してください。
1083311493
1083411494=item C<-p> destination: %s
1083511495
1083611496=begin original
1083711497
1083811498(F) An error occurred during the implicit output invoked by the C<-p>
1083911499command-line switch. (This output goes to STDOUT unless you've
1084011500redirected it with select().)
1084111501
1084211502=end original
1084311503
1084411504(F) C<-p> コマンドラインオプションで起動された
1084511505暗黙の出力中にエラーが発生しました。
1084611506(この出力は select() でリダイレクトしていない限り STDOUT に出力されます。)
1084711507
1084811508=item Perl API version %s of %s does not match %s
1084911509
1085011510=begin original
1085111511
1085211512(F) The XS module in question was compiled against a different incompatible
1085311513version of Perl than the one that has loaded the XS module.
1085411514
1085511515=end original
1085611516
1085711517(F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの
1085811518Perl 用にコンパイルされたものです。
1085911519
1086011520=item Perl folding rules are not up-to-date for 0x%X; please use the perlbug
1086111521utility to report; in regex; marked by S<<-- HERE> in m/%s/
1086211522
1086311523=begin original
1086411524
1086511525(S regexp) You used a regular expression with case-insensitive matching,
1086611526and there is a bug in Perl in which the built-in regular expression
1086711527folding rules are not accurate. This may lead to incorrect results.
10868Please report this as a bug using the L<perlbug> utility.
11528Please report this as a bug to L<https://github.com/Perl/perl5/issues>.
1086911529
1087011530=end original
1087111531
1087211532(S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして
1087311533組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。
1087411534これは間違った結果を引き起こします。
10875どうか L<perlbug> ユーティリティを使ってバグとして報告してください。
11535どうか L<https://github.com/Perl/perl5/issues>
11536バグとして報告してください。
1087611537
1087711538=item PerlIO layer ':win32' is experimental
1087811539
1087911540=begin original
1088011541
1088111542(S experimental::win32_perlio) The C<:win32> PerlIO layer is
1088211543experimental. If you want to take the risk of using this layer,
1088311544simply disable this warning:
1088411545
1088511546=end original
1088611547
1088711548(S experimental::win32_perlio) C<:win32> PerlIO 層は実験的です。
1088811549この層を使うリスクを取りたい場合は、単にこの警告を無効にしてください:
1088911550
1089011551 no warnings "experimental::win32_perlio";
1089111552
1089211553=item Perl_my_%s() not available
1089311554
1089411555=begin original
1089511556
1089611557(F) Your platform has very uncommon byte-order and integer size,
1089711558so it was not possible to set up some or all fixed-width byte-order
1089811559conversion functions. This is only a problem when you're using the
1089911560'<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>.
1090011561
1090111562=end original
1090211563
1090311564(F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを
1090411565使っているので、固定長バイト順変換関数の一部または全部を使うことができません。
1090511566これは (un)pack テンプレートの中で
1090611567'<' か '>' の修飾子を使った場合にのみ問題となります。
1090711568L<perlfunc/pack> を参照してください。
1090811569
1090911570=item Perl %s required (did you mean %s?)--this is only %s, stopped
1091011571
1091111572=begin original
1091211573
1091311574(F) The code you are trying to run has asked for a newer version of
1091411575Perl than you are running. Perhaps C<use 5.10> was written instead
1091511576of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is
1091611577interpreted as a decimal, with every three digits after the
1091711578decimal point representing a part of the version number. So 5.10
1091811579is equivalent to v5.100.
1091911580
1092011581=end original
1092111582
1092211583(F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを
1092311584尋ねました。
1092411585おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と
1092511586書かれているのでしょう。
1092611587先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の
1092711588部分を表現していると解釈されます。
1092811589それで、5.10 は v5.100 と等価です。
1092911590
1093011591=item Perl %s required--this is only %s, stopped
1093111592
1093211593=begin original
1093311594
1093411595(F) The module in question uses features of a version of Perl more
1093511596recent than the currently running version. How long has it been since
1093611597you upgraded, anyway? See L<perlfunc/require>.
1093711598
1093811599=end original
1093911600
1094011601(F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの
1094111602機能を使っています。
1094211603ところで、いつからアップグレードしていないのですか?
1094311604L<perlfunc/require> を参照してください。
1094411605
1094511606=item PERL_SH_DIR too long
1094611607
1094711608=begin original
1094811609
1094911610(F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the
1095011611C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>.
1095111612
1095211613=end original
1095311614
1095411615(F) OS/2 固有のエラーです。
1095511616PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。
1095611617L<perlos2> の "PERL_SH_DIR" を参照してください。
1095711618
1095811619=item PERL_SIGNALS illegal: "%s"
1095911620
1096011621=begin original
1096111622
1096211623(X) See L<perlrun/PERL_SIGNALS> for legal values.
1096311624
1096411625=end original
1096511626
1096611627(X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。
1096711628
1096811629=item Perls since %s too modern--this is %s, stopped
1096911630
1097011631=begin original
1097111632
1097211633(F) The code you are trying to run claims it will not run
1097311634on the version of Perl you are using because it is too new.
1097411635Maybe the code needs to be updated, or maybe it is simply
1097511636wrong and the version check should just be removed.
1097611637
1097711638=end original
1097811639
1097911640(F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると
1098011641主張しています。
1098111642コードを更新する必要があるかもしれませんし、単に間違っていて単純に
1098211643バージョンチェックを削除するべきかもしれません。
1098311644
1098411645=item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set
1098511646
1098611647=begin original
1098711648
1098811649(S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it
1098911650contained a non hex character. This could mean you are not using the
1099011651hash seed you think you are.
1099111652
1099211653=end original
1099311654
1099411655(S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども
1099511656非 16 進数文字を含む必要があります。
1099611657これは、考えているようなハッシュの種が使われないことを
1099711658意味しているかもしれません。
1099811659
1099911660=item perl: warning: Setting locale failed.
1100011661
1100111662=begin original
1100211663
1100311664(S) The whole warning message will look something like:
1100411665
1100511666=end original
1100611667
1100711668(S) 警告全体は以下のような形になります:
1100811669
1100911670 perl: warning: Setting locale failed.
1101011671 perl: warning: Please check that your locale settings:
1101111672 LC_ALL = "En_US",
1101211673 LANG = (unset)
1101311674 are supported and installed on your system.
1101411675 perl: warning: Falling back to the standard locale ("C").
1101511676
1101611677=begin original
1101711678
1101811679Exactly what were the failed locale settings varies. In the above the
1101911680settings were that the LC_ALL was "En_US" and the LANG had no value.
1102011681This error means that Perl detected that you and/or your operating
1102111682system supplier and/or system administrator have set up the so-called
1102211683locale system but Perl could not use those settings. This was not
1102311684dead serious, fortunately: there is a "default locale" called "C" that
1102411685Perl can and will use, and the script will be run. Before you really
1102511686fix the problem, however, you will get the same error message each
1102611687time you run Perl. How to really fix the problem can be found in
1102711688L<perllocale> section B<LOCALE PROBLEMS>.
1102811689
1102911690=end original
1103011691
1103111692正確にどのロケール設定が失敗したのかは様々です。
1103211693上記では設定は LC_ALL は "En_US" で、LANG は空でした。
1103311694このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる
1103411695ものをセットアップしましたが、Perl がこれらの設定を使えないことを
1103511696検出したことを意味します。
1103611697これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる
1103711698「デフォルトロケール」が存在するので、スクリプトは実行されます。
1103811699しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー
1103911700メッセージが表示されます。
1104011701本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の
1104111702章にあります。
1104211703
1104311704=item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s'
1104411705
1104511706=begin original
1104611707
1104711708(S) Perl was run with the environment variable PERL_PERTURB_KEYS defined
1104811709but containing an unexpected value. The legal values of this setting
1104911710are as follows.
1105011711
1105111712=end original
1105211713
1105311714(S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが
1105411715想定外の値でした。
1105511716この設定の正当な値は以下のものです。
1105611717
1105711718 Numeric | String | Result
1105811719 --------+---------------+-----------------------------------------
1105911720 0 | NO | Disables key traversal randomization
1106011721 1 | RANDOM | Enables full key traversal randomization
1106111722 2 | DETERMINISTIC | Enables repeatable key traversal
1106211723 | | randomization
1106311724
1106411725=begin original
1106511726
1106611727Both numeric and string values are accepted, but note that string values are
1106711728case sensitive. The default for this setting is "RANDOM" or 1.
1106811729
1106911730=end original
1107011731
1107111732数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を
1107211733区別することに注意してください。
1107311734この設定のデフォルトは "RANDOM"、つまり 1 です。
1107411735
1107511736=item pid %x not a child
1107611737
1107711738=begin original
1107811739
1107911740(W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a
1108011741process which isn't a subprocess of the current process. While this is
1108111742fine from VMS' perspective, it's probably not what you intended.
1108211743
1108311744=end original
1108411745
1108511746(W exec) VMS に固有の警告です。
1108611747現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。
1108711748これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは
1108811749ないでしょう。
1108911750
1109011751=item 'P' must have an explicit size in unpack
1109111752
1109211753=begin original
1109311754
1109411755(F) The unpack format P must have an explicit size, not "*".
1109511756
1109611757=end original
1109711758
1109811759(F) unpack フォーマット P は "*" ではなく、明示的なサイズを
1109911760指定しなければなりません。
1110011761
1110111762=item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/
1110211763
1110311764=begin original
1110411765
1110511766(F) The class in the character class [: :] syntax is unknown. The S<<-- HERE>
1110611767shows whereabouts in the regular expression the problem was discovered.
1110711768Note that the POSIX character classes do B<not> have the C<is> prefix
1110811769the corresponding C interfaces have: in other words, it's C<[[:print:]]>,
1110911770not C<isprint>. See L<perlre>.
1111011771
1111111772=end original
1111211773
1111311774(F) 文字クラス [: :] 文法の中のクラスは不明です。
1111411775S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1111511776POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が
1111611777B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、
1111711778C<isprint> ではありません。
1111811779L<perlre> を参照してください。
1111911780
1112011781=item POSIX getpgrp can't take an argument
1112111782
1112211783=begin original
1112311784
1112411785(F) Your system has POSIX getpgrp(), which takes no argument, unlike
1112511786the BSD version, which takes a pid.
1112611787
1112711788=end original
1112811789
1112911790(F) お使いのシステムは、引数に pid をとる BSD バージョンの
1113011791getpgrp() と違って、引数をとらない POSIX のものを使っています。
1113111792
1113211793=item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by
1113311794S<<-- HERE> in m/%s/
1113411795
1113511796=begin original
1113611797
1113711798(W regexp) Perl thinks that you intended to write a POSIX character
1113811799class, but didn't use enough brackets. These POSIX class constructs [:
1113911800:], [= =], and [. .] go I<inside> character classes, the [] are part of
1114011801the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular
1114111802expression pattern compiled to is probably not what you were intending.
1114211803For example, C<qr/[:alpha:]/> compiles to a regular bracketed character
1114311804class consisting of the four characters C<":">, C<"a">, C<"l">,
1114411805C<"h">, and C<"p">. To specify the POSIX class, it should have been
1114511806written C<qr/[[:alpha:]]/>.
1114611807
1114711808=end original
1114811809
1114911810(W regexp) Perl は、あなたが POSIX 文字クラスを書くことを意図していると
1115011811考えましたが、大かっこが足りませんでした。
1115111812例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造
1115211813[: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。
1115311814コンパイルされた正規表現パターンはおそらくあなたが意図したものでは
1115411815ないでしょう。
1115511816例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の
1115611817四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。
1115711818POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。
1115811819
1115911820=begin original
1116011821
1116111822Note that [= =] and [. .] are not currently
1116211823implemented; they are simply placeholders for future extensions and
1116311824will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular
1116411825expression the problem was discovered. See L<perlre>.
1116511826
1116611827=end original
1116711828
1116811829[= =] と [. .] は現在のところ実装されていないことに注意してください;
1116911830これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを
1117011831生成します。
1117111832S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1117211833L<perlre> を参照してください。
1117311834
1117411835=begin original
1117511836
1117611837If the specification of the class was not completely valid, the message
1117711838indicates that.
1117811839
1117911840=end original
1118011841
1118111842このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。
1118211843
1118311844=item POSIX syntax [. .] is reserved for future extensions in regex; marked by
1118411845S<<-- HERE> in m/%s/
1118511846
1118611847=begin original
1118711848
1118811849(F) Within regular expression character classes ([]) the syntax beginning
1118911850with "[." and ending with ".]" is reserved for future extensions. If you
1119011851need to represent those character sequences inside a regular expression
1119111852character class, just quote the square brackets with the backslash: "\[."
1119211853and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the
1119311854problem was discovered. See L<perlre>.
1119411855
1119511856=end original
1119611857
1119711858(F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で
1119811859終わる文法は将来の拡張のために予約されます。
1119911860正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある
1120011861場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで
1120111862クォートしてください。
1120211863S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1120311864L<perlre> を参照してください。
1120411865
1120511866=item POSIX syntax [= =] is reserved for future extensions in regex; marked by
1120611867S<<-- HERE> in m/%s/
1120711868
1120811869=begin original
1120911870
1121011871(F) Within regular expression character classes ([]) the syntax beginning
1121111872with "[=" and ending with "=]" is reserved for future extensions. If you
1121211873need to represent those character sequences inside a regular expression
1121311874character class, just quote the square brackets with the backslash: "\[="
1121411875and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the
1121511876problem was discovered. See L<perlre>.
1121611877
1121711878=end original
1121811879
1121911880(F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で
1122011881終わる文法は将来の拡張のために予約されます。
1122111882正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある
1122211883場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで
1122311884クォートしてください。
1122411885S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1122511886L<perlre> を参照してください。
1122611887
1122711888=item Possible attempt to put comments in qw() list
1122811889
1122911890=begin original
1123011891
1123111892(W qw) qw() lists contain items separated by whitespace; as with literal
1123211893strings, comment characters are not ignored, but are instead treated as
1123311894literal data. (You may have used different delimiters than the
1123411895parentheses shown here; braces are also frequently used.)
1123511896
1123611897=end original
1123711898
1123811899(W qw) qw() リストは空白で分割されたアイテムを含んでいます;
1123911900リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。
1124011901(ここで使われているのと違うデリミタを用いているかもしれません;
1124111902大かっこもよく使われます。)
1124211903
1124311904=begin original
1124411905
1124511906You probably wrote something like this:
1124611907
1124711908=end original
1124811909
1124911910おそらく以下のように書いたのでしょう:
1125011911
1125111912 @list = qw(
1125211913 a # a comment
1125311914 b # another comment
1125411915 );
1125511916
1125611917=begin original
1125711918
1125811919when you should have written this:
1125911920
1126011921=end original
1126111922
1126211923以下のように書くべきです:
1126311924
1126411925 @list = qw(
1126511926 a
1126611927 b
1126711928 );
1126811929
1126911930=begin original
1127011931
1127111932If you really want comments, build your list the
1127211933old-fashioned way, with quotes and commas:
1127311934
1127411935=end original
1127511936
1127611937本当にコメントをつけたいのなら、
1127711938リストを昔のクォートとカンマの形で書いてください。
1127811939
1127911940 @list = (
1128011941 'a', # a comment
1128111942 'b', # another comment
1128211943 );
1128311944
1128411945=item Possible attempt to separate words with commas
1128511946
1128611947=begin original
1128711948
1128811949(W qw) qw() lists contain items separated by whitespace; therefore
1128911950commas aren't needed to separate the items. (You may have used
1129011951different delimiters than the parentheses shown here; braces are also
1129111952frequently used.)
1129211953
1129311954=end original
1129411955
1129511956(W qw) qw() リストに空白で分割された項目があります;
1129611957そのため、カンマは項目を分割する必要がありません。
1129711958(ここで使われているのと違うデリミタを用いているかもしれません;
1129811959大かっこもよく使われます。)
1129911960
1130011961=begin original
1130111962
1130211963You probably wrote something like this:
1130311964
1130411965=end original
1130511966
1130611967おそらく以下のように書いたのでしょう:
1130711968
1130811969 qw! a, b, c !;
1130911970
1131011971=begin original
1131111972
1131211973which puts literal commas into some of the list items. Write it without
1131311974commas if you don't want them to appear in your data:
1131411975
1131511976=end original
1131611977
1131711978リスト要素の中にリテラルのカンマを書いています。
1131811979データの中にカンマを出したくないなら、カンマなしで書きます:
1131911980
1132011981 qw! a b c !;
1132111982
1132211983=item Possible memory corruption: %s overflowed 3rd argument
1132311984
1132411985=begin original
1132511986
1132611987(F) An ioctl() or fcntl() returned more than Perl was bargaining for.
1132711988Perl guesses a reasonable buffer size, but puts a sentinel byte at the
1132811989end of the buffer just in case. This sentinel byte got clobbered, and
1132911990Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>.
1133011991
1133111992=end original
1133211993
1133311994(F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。
1133411995Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの
1133511996最後に目印を付けています。
1133611997この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。
1133711998L<perlfunc/ioctl> を参照してください。
1133811999
1133912000=item Possible precedence issue with control flow operator
1134012001
1134112002=begin original
1134212003
1134312004(W syntax) There is a possible problem with the mixing of a control
1134412005flow operator (e.g. C<return>) and a low-precedence operator like
1134512006C<or>. Consider:
1134612007
1134712008=end original
1134812009
1134912010(W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような
1135012011低優先順位演算子を混ぜると問題が起きることがあります。
1135112012次を考えると:
1135212013
1135312014 sub { return $a or $b; }
1135412015
1135512016=begin original
1135612017
1135712018This is parsed as:
1135812019
1135912020=end original
1136012021
1136112022これは次のようにパースされます:
1136212023
1136312024 sub { (return $a) or $b; }
1136412025
1136512026=begin original
1136612027
1136712028Which is effectively just:
1136812029
1136912030=end original
1137012031
1137112032これは事実上次のものです:
1137212033
1137312034 sub { return $a; }
1137412035
1137512036=begin original
1137612037
1137712038Either use parentheses or the high-precedence variant of the operator.
1137812039
1137912040=end original
1138012041
1138112042かっこか、高優先順位版の演算子を使ってください。
1138212043
1138312044=begin original
1138412045
1138512046Note this may be also triggered for constructs like:
1138612047
1138712048=end original
1138812049
1138912050これは次のような構文でも引き起こされることに注意してください:
1139012051
1139112052 sub { 1 if die; }
1139212053
1139312054=item Possible precedence problem on bitwise %s operator
1139412055
1139512056=begin original
1139612057
1139712058(W precedence) Your program uses a bitwise logical operator in conjunction
1139812059with a numeric comparison operator, like this :
1139912060
1140012061=end original
1140112062
1140212063(W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と
1140312064結合して使用しています:
1140412065
1140512066 if ($x & $y == 0) { ... }
1140612067
1140712068=begin original
1140812069
1140912070This expression is actually equivalent to C<$x & ($y == 0)>, due to the
1141012071higher precedence of C<==>. This is probably not what you want. (If you
1141112072really meant to write this, disable the warning, or, better, put the
1141212073parentheses explicitly and write C<$x & ($y == 0)>).
1141312074
1141412075=end original
1141512076
1141612077この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と
1141712078等価になります。
1141812079これはおそらく望んでいるものではないでしょう。
1141912080(もし本当にこのように書きたいのなら、警告を無効にするか、あるいは
1142012081よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。
1142112082
1142212083=item Possible unintended interpolation of $\ in regex
1142312084
1142412085=begin original
1142512086
1142612087(W ambiguous) You said something like C<m/$\/> in a regex.
1142712088The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output
1142812089record separator (see L<perlvar/$\>) and the letter 's' (one time or more)
1142912090followed by the word 'bar'.
1143012091
1143112092=end original
1143212093
1143312094(W ambiguous) 正規表現で C<m/$\/> のようなことをしました。
1143412095正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力
1143512096レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語
1143612097'bar' にマッチングします。
1143712098
1143812099=begin original
1143912100
1144012101If this is what you intended then you can silence the warning by using
1144112102C<m/${\}/> (for example: C<m/foo${\}s+bar/>).
1144212103
1144312104=end original
1144412105
1144512106これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます
1144612107(例えば: C<m/foo${\}s+bar/>)。
1144712108
1144812109=begin original
1144912110
1145012111If instead you intended to match the word 'foo' at the end of the line
1145112112followed by whitespace and the word 'bar' on the next line then you can use
1145212113C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>).
1145312114
1145412115=end original
1145512116
1145612117そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に
1145712118マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば:
1145812119C<m/foo$(?)\s+bar/>)。
1145912120
1146012121=item Possible unintended interpolation of %s in string
1146112122
1146212123=begin original
1146312124
1146412125(W ambiguous) You said something like '@foo' in a double-quoted string
1146512126but there was no array C<@foo> in scope at the time. If you wanted a
1146612127literal @foo, then write it as \@foo; otherwise find out what happened
1146712128to the array you apparently lost track of.
1146812129
1146912130=end original
1147012131
1147112132(W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、
1147212133現在のスコープ内に C<@foo> という配列はありません。
1147312134リテラルな @foo を指定したい場合は、\@foo と書いてください;
1147412135そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを
1147512136調べてください。
1147612137
1147712138=item Precedence problem: open %s should be open(%s)
1147812139
1147912140=begin original
1148012141
1148112142(S precedence) The old irregular construct
1148212143
1148312144=end original
1148412145
1148512146(S precedence) 古い変則的な構文
1148612147
1148712148 open FOO || die;
1148812149
1148912150=begin original
1149012151
1149112152is now misinterpreted as
1149212153
1149312154=end original
1149412155
1149512156は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か
1149612157リスト演算子と解釈されますので、
1149712158
1149812159 open(FOO || die);
1149912160
1150012161=begin original
1150112162
1150212163because of the strict regularization of Perl 5's grammar into unary and
1150312164list operators. (The old open was a little of both.) You must put
1150412165parentheses around the filehandle, or use the new "or" operator instead
1150512166of "||".
1150612167
1150712168=end original
1150812169
1150912170という風に誤った解釈がなされます。
1151012171(古い open は、単項演算子とリスト演算子の中間のようなものでした。)
1151112172ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに
1151212173"or" 演算子を使わなくてはなりません。
1151312174
1151412175=item Premature end of script headers
1151512176
1151612177=begin original
1151712178
11518See Server error.
12179See L</500 Server error>.
1151912180
1152012181=end original
1152112182
11522"Server error" を参照してください。
12183L</500 Server error> を参照してください。
1152312184
1152412185=item printf() on closed filehandle %s
1152512186
1152612187=begin original
1152712188
1152812189(W closed) The filehandle you're writing to got itself closed sometime
1152912190before now. Check your control flow.
1153012191
1153112192=end original
1153212193
1153312194(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
1153412195制御フローをチェックしてください。
1153512196
1153612197=item print() on closed filehandle %s
1153712198
1153812199=begin original
1153912200
1154012201(W closed) The filehandle you're printing on got itself closed sometime
1154112202before now. Check your control flow.
1154212203
1154312204=end original
1154412205
1154512206(W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。
1154612207制御フローをチェックしてください。
1154712208
1154812209=item Process terminated by SIG%s
1154912210
1155012211=begin original
1155112212
1155212213(W) This is a standard message issued by OS/2 applications, while *nix
1155312214applications die in silence. It is considered a feature of the OS/2
1155412215port. One can easily disable this by appropriate sighandlers, see
1155512216L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT"
1155612217in L<perlos2>.
1155712218
1155812219=end original
1155912220
1156012221(W) *nix アプリケーションは何も出力せずに終了しますが、
1156112222OS/2 アプリケーションはこれを標準メッセージとして出力します。
1156212223これは OS/2 版の仕様とみなされています。
1156312224適切なシグナルハンドラによって簡単に無効にできます;
1156412225L<perlipc/"Signals"> を参照してください。
1156512226L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。
1156612227
1156712228=item Prototype after '%c' for %s : %s
1156812229
1156912230=begin original
1157012231
1157112232(W illegalproto) A character follows % or @ in a prototype. This is
1157212233useless, since % and @ gobble the rest of the subroutine arguments.
1157312234
1157412235=end original
1157512236
1157612237(W illegalproto) プロトタイプで % または @ に文字が引き続いています。
1157712238これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。
1157812239
1157912240=item Prototype mismatch: %s vs %s
1158012241
1158112242=begin original
1158212243
1158312244(S prototype) The subroutine being declared or defined had previously been
1158412245declared or defined with a different function prototype.
1158512246
1158612247=end original
1158712248
1158812249(S prototype) 以前異なる関数プロトタイプで宣言または定義された
1158912250サブルーチンが宣言または定義されました。
1159012251
1159112252=item Prototype not terminated
1159212253
1159312254=begin original
1159412255
1159512256(F) You've omitted the closing parenthesis in a function prototype
1159612257definition.
1159712258
1159812259=end original
1159912260
1160012261(F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。
1160112262
1160212263=item Prototype '%s' overridden by attribute 'prototype(%s)' in %s
1160312264
1160412265=begin original
1160512266
1160612267(W prototype) A prototype was declared in both the parentheses after
1160712268the sub name and via the prototype attribute. The prototype in
1160812269parentheses is useless, since it will be replaced by the prototype
1160912270from the attribute before it's ever used.
1161012271
1161112272=end original
1161212273
1161312274(W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で
1161412275プロトタイプが宣言されました。
1161512276先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の
1161612277プロトタイプは無駄です。
1161712278
1161812279=item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/
1161912280
1162012281=begin original
1162112282
1162212283(F) You started a regular expression with a quantifier. Backslash it if
1162312284you meant it literally. The S<<-- HERE> shows whereabouts in the regular
1162412285expression the problem was discovered. See L<perlre>.
1162512286
1162612287=end original
1162712288
1162812289(F) 正規表現を量指定子で開始しています。
1162912290もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。
1163012291S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1163112292L<perlre> を参照してください。
1163212293
1163312294=item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/
1163412295
1163512296=begin original
1163612297
1163712298(F) There is currently a limit to the size of the min and max values of
1163812299the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular
1163912300expression the problem was discovered. See L<perlre>.
1164012301
1164112302=end original
1164212303
1164312304現在のところ、{min,max} 構造の最大値と最小値には制限があります。
1164412305S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1164512306L<perlre> を参照してください。
1164612307
1164712308=item Quantifier {n,m} with n > m can't match in regex
1164812309
1164912310=item Quantifier {n,m} with n > m can't match in regex; marked by
1165012311S<<-- HERE> in m/%s/
1165112312
1165212313=begin original
1165312314
1165412315(W regexp) Minima should be less than or equal to maxima. If you really
1165512316want your regexp to match something 0 times, just put {0}.
1165612317
1165712318=end original
1165812319
1165912320(W regexp) 最小値は最大値以下である必要があります。
1166012321本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。
1166112322
1166212323=item Quantifier unexpected on zero-length expression in regex m/%s/
1166312324
1166412325=begin original
1166512326
1166612327(W regexp) You applied a regular expression quantifier in a place where
1166712328it makes no sense, such as on a zero-width assertion. Try putting the
1166812329quantifier inside the assertion instead. For example, the way to match
1166912330"abc" provided that it is followed by three repetitions of "xyz" is
1167012331C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>.
1167112332
1167212333=end original
1167312334
1167412335(W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に
1167512336適用しました。
1167612337代わりにアサーションの中に量指定子を置いてください。
1167712338例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、
1167812339C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。
1167912340
1168012341=item Range iterator outside integer range
1168112342
1168212343=begin original
1168312344
1168412345(F) One (or both) of the numeric arguments to the range operator ".."
1168512346are outside the range which can be represented by integers internally.
1168612347One possible workaround is to force Perl to use magical string increment
1168712348by prepending "0" to your numbers.
1168812349
1168912350=end original
1169012351
1169112352(F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として
1169212353表現できる範囲を越えています。
1169312354回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に
1169412355マジカル文字列インクリメントの使用を強制させることです。
1169512356
1169612357=item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or
1169712358"a-z" in regex; marked by S<<-- HERE> in m/%s/
1169812359
1169912360=begin original
1170012361
1170112362(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
1170212363
1170312364=end original
1170412365
11705(W regexp) (C<S<use re 'strict'>> のか C<(?[...])> の内側のみ)
12366(W regexp) (C<S<use re 'strict'>> のか C<(?[...])> の内側のみ)
1170612367
1170712368=begin original
1170812369
1170912370Stricter rules help to find typos and other errors. Perhaps you didn't
1171012371even intend a range here, if the C<"-"> was meant to be some other
1171112372character, or should have been escaped (like C<"\-">). If you did
1171212373intend a range, the one that was used is not portable between ASCII and
1171312374EBCDIC platforms, and doesn't have an obvious meaning to a casual
1171412375reader.
1171512376
1171612377=end original
1171712378
1171812379より厳密な規則はタイプミスやその他のエラーを見つける助けになります。
1171912380おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の
1172012381つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。
1172112382範囲を意図していたのなら、使われているものは ASCII と EBCDIC
1172212383プラットフォームの間で移植性がなく、カジュアルな読者には不明確な
1172312384意味になります。
1172412385
1172512386 [3-7] # OK; Obvious and portable
1172612387 [d-g] # OK; Obvious and portable
1172712388 [A-Y] # OK; Obvious and portable
1172812389 [A-z] # WRONG; Not portable; not clear what is meant
1172912390 [a-Z] # WRONG; Not portable; not clear what is meant
1173012391 [%-.] # WRONG; Not portable; not clear what is meant
1173112392 [\x41-Z] # WRONG; Not portable; not obvious to non-geek
1173212393
1173312394=begin original
1173412395
1173512396(You can force portability by specifying a Unicode range, which means that
1173612397the endpoints are specified by
1173712398L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may
1173812399still not be obvious.)
1173912400The stricter rules require that ranges that start or stop with an ASCII
1174012401character that is not a control have all their endpoints be the literal
1174112402character, and not some escape sequence (like C<"\x41">), and the ranges
1174212403must be all digits, or all uppercase letters, or all lowercase letters.
1174312404
1174412405=end original
1174512406
1174612407(Unicode の範囲を指定することで移植性を共生することができます;
1174712408これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で
1174812409指定するということですが、意味はやはり明確ではないかもしれません。)
1174912410より厳密な規則は、制御文字でなく、全てリテラルな文字で、
1175012411(C<"\x41"> のような)一部のエスケープシーケンスでない
1175112412ASCII 文字で開始および終了することを要求し、
1175212413範囲は全て数字か、全て大文字か、全て小文字でなければなりません。
1175312414
1175412415=item Ranges of digits should be from the same group in regex; marked by
1175512416S<<-- HERE> in m/%s/
1175612417
1175712418=begin original
1175812419
1175912420(W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>)
1176012421
1176112422=end original
1176212423
1176312424(W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ)
1176412425
1176512426=begin original
1176612427
1176712428Stricter rules help to find typos and other errors. You included a
1176812429range, and at least one of the end points is a decimal digit. Under the
1176912430stricter rules, when this happens, both end points should be digits in
1177012431the same group of 10 consecutive digits.
1177112432
1177212433=end original
1177312434
1177412435より厳密な規則はタイプミスやその他のエラーを見つける助けになります。
1177512436範囲を含んでいて、少なくとも片方の端は数字です。
1177612437より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ
1177712438グループに属する符号位置である必要があります。
1177812439
1177912440=item readdir() attempted on invalid dirhandle %s
1178012441
1178112442=begin original
1178212443
1178312444(W io) The dirhandle you're reading from is either closed or not really
1178412445a dirhandle. Check your control flow.
1178512446
1178612447=end original
1178712448
1178812449(W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、
1178912450実際にはディレクトリハンドルではありません。
1179012451制御フローをチェックしてください。
1179112452
1179212453=item readline() on closed filehandle %s
1179312454
1179412455=begin original
1179512456
1179612457(W closed) The filehandle you're reading from got itself closed sometime
1179712458before now. Check your control flow.
1179812459
1179912460=end original
1180012461
1180112462(W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。
1180212463制御フローをチェックしてください。
1180312464
1180412465=item read() on closed filehandle %s
1180512466
1180612467=begin original
1180712468
1180812469(W closed) You tried to read from a closed filehandle.
1180912470
1181012471=end original
1181112472
1181212473(W closed) 閉じたファイルハンドルから読み込もうとしました。
1181312474
1181412475=item read() on unopened filehandle %s
1181512476
1181612477=begin original
1181712478
1181812479(W unopened) You tried to read from a filehandle that was never opened.
1181912480
1182012481=end original
1182112482
1182212483(W unopened) 開いていないファイルハンドルから読み込もうとしました。
1182312484
1182412485=item Reallocation too large: %x
1182512486
1182612487=begin original
1182712488
1182812489(F) You can't allocate more than 64K on an MS-DOS machine.
1182912490
1183012491=end original
1183112492
1183212493(F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。
1183312494
1183412495=item realloc() of freed memory ignored
1183512496
1183612497=begin original
1183712498
1183812499(S malloc) An internal routine called realloc() on something that had
1183912500already been freed.
1184012501
1184112502=end original
1184212503
1184312504内部ルーチンが、何か既に解放されているものに対して realloc() を
1184412505呼び出しました。
1184512506
1184612507=item Recompile perl with B<-D>DEBUGGING to use B<-D> switch
1184712508
1184812509=begin original
1184912510
1185012511(S debugging) You can't use the B<-D> option unless the code to produce
1185112512the desired output is compiled into Perl, which entails some overhead,
1185212513which is why it's currently left out of your copy.
1185312514
1185412515=end original
1185512516
1185612517(S debugging) Perl のコンパイル時に、適切な出力ルーティンが
1185712518組み込まれていなければ、B<-D> スイッチを使うことはできません;
1185812519これは、多少のオーバヘッドがかかるもので、それが現在使っている
1185912520Perl に組み込んでない理由でしょう。
1186012521
1186112522=item Recursive call to Perl_load_module in PerlIO_find_layer
1186212523
1186312524=begin original
1186412525
1186512526(P) It is currently not permitted to load modules when creating
1186612527a filehandle inside an %INC hook. This can happen with C<open my
1186712528$fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try
1186812529loading PerlIO::scalar explicitly first.
1186912530
1187012531=end original
1187112532
1187212533(P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは
1187312534現在のところ許されていません。
1187412535これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに
1187512536起こることがあります。
1187612537最初に PerlIO::scalar を明示的に読み込むことを試してください。
1187712538
1187812539=item Recursive inheritance detected in package '%s'
1187912540
1188012541=begin original
1188112542
1188212543(F) While calculating the method resolution order (MRO) of a package, Perl
1188312544believes it found an infinite loop in the C<@ISA> hierarchy. This is a
1188412545crude check that bails out after 100 levels of C<@ISA> depth.
1188512546
1188612547=end original
1188712548
1188812549(F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に
1188912550無限ループがあると判断しました。
1189012551これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。
1189112552
1189212553=item Redundant argument in %s
1189312554
1189412555=begin original
1189512556
1189612557(W redundant) You called a function with more arguments than other
1189712558arguments you supplied indicated would be needed. Currently only
1189812559emitted when a printf-type format required fewer arguments than were
1189912560supplied, but might be used in the future for e.g. L<perlfunc/pack>.
1190012561
1190112562=end original
1190212563
1190312564(W redundant) 関数を呼び出すときに、ある引数が示している必要数より
1190412565多くの引数を指定しました。
1190512566現在のところ、printf 型のフォーマットが指定されたものより少ない数の
1190612567引数しか必要としていない場合にのみ発生しますが、将来は
1190712568例えば L<perlfunc/pack> で使われるかもしれません。
1190812569
1190912570=item refcnt_dec: fd %d%s
1191012571
1191112572=item refcnt: fd %d%s
1191212573
1191312574=item refcnt_inc: fd %d%s
1191412575
1191512576=begin original
1191612577
1191712578(P) Perl's I/O implementation failed an internal consistency check. If
1191812579you see this message, something is very wrong.
1191912580
1192012581=end original
1192112582
1192212583(P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。
1192312584このメッセージを見たなら、何かがすごく悪いです。
1192412585
1192512586=item Reference found where even-sized list expected
1192612587
1192712588=begin original
1192812589
1192912590(W misc) You gave a single reference where Perl was expecting a list
1193012591with an even number of elements (for assignment to a hash). This
1193112592usually means that you used the anon hash constructor when you meant
1193212593to use parens. In any case, a hash requires key/value B<pairs>.
1193312594
1193412595=end original
1193512596
1193612597(W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを
1193712598想定しているところに 一つのリファレンスを渡しました。
1193812599これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを
1193912600意味します。
1194012601とにかく、ハッシュはキー/値の B<組> を要求します。
1194112602
1194212603 %hash = { one => 1, two => 2, }; # WRONG
1194312604 %hash = [ qw/ an anon array / ]; # WRONG
1194412605 %hash = ( one => 1, two => 2, ); # right
1194512606 %hash = qw( one 1 two 2 ); # also fine
1194612607
1194712608=item Reference is already weak
1194812609
1194912610=begin original
1195012611
1195112612(W misc) You have attempted to weaken a reference that is already weak.
1195212613Doing so has no effect.
1195312614
1195412615=end original
1195512616
1195612617(W misc) 既に弱いリファレンスを弱めようとしました。
1195712618そうしても何の効果もありません。
1195812619
12620=item Reference is not weak
12621
12622=begin original
12623
12624(W misc) You have attempted to unweaken a reference that is not weak.
12625Doing so has no effect.
12626
12627=end original
12628
12629(W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。
12630そうしても何の効果もありません。
12631
1195912632=item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/
1196012633
1196112634=begin original
1196212635
1196312636(F) You used C<\g0> or similar in a regular expression. You may refer
1196412637to capturing parentheses only with strictly positive integers
1196512638(normal backreferences) or with strictly negative integers (relative
1196612639backreferences). Using 0 does not make sense.
1196712640
1196812641=end original
1196912642
1197012643(F) 正規表現で C<\g0> のようなものを使いました。
1197112644捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照)
1197212645のみです。
11973126460 は意味を成しません。
1197412647
1197512648=item Reference to nonexistent group in regex; marked by S<<-- HERE> in
1197612649m/%s/
1197712650
1197812651=begin original
1197912652
1198012653(F) You used something like C<\7> in your regular expression, but there are
1198112654not at least seven sets of capturing parentheses in the expression. If
1198212655you wanted to have the character with ordinal 7 inserted into the regular
1198312656expression, prepend zeroes to make it three digits long: C<\007>
1198412657
1198512658=end original
1198612659
1198712660正規表現の中で C<\7> のような記述がありますが、
1198812661正規表現の中に値を捕らえるかっこが 7 つありません。
1198912662正規表現の中に値 7 を持つ文字を挿入したい場合、
1199012663ゼロをつけて最低 3 桁の数値にする必要があります: C<\007>
1199112664
1199212665=begin original
1199312666
1199412667The S<<-- HERE> shows whereabouts in the regular expression the problem was
1199512668discovered.
1199612669
1199712670=end original
1199812671
1199912672S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1200012673
1200112674=item Reference to nonexistent named group in regex; marked by S<<-- HERE>
1200212675in m/%s/
1200312676
1200412677=begin original
1200512678
1200612679(F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular
1200712680expression, but there is no corresponding named capturing parentheses
1200812681such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been
1200912682spelled correctly both in the backreference and the declaration.
1201012683
1201112684=end original
1201212685
1201312686(F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、
1201412687C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが
1201512688ありません。
1201612689前方参照と定義の両方において、名前のスペルが正しいかどうか
1201712690チェックしてください。
1201812691
1201912692=begin original
1202012693
1202112694The S<<-- HERE> shows whereabouts in the regular expression the problem was
1202212695discovered.
1202312696
1202412697=end original
1202512698
1202612699S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1202712700
1202812701=item Reference to nonexistent or unclosed group in regex; marked by
1202912702S<<-- HERE> in m/%s/
1203012703
1203112704=begin original
1203212705
1203312706(F) You used something like C<\g{-7}> in your regular expression, but there
1203412707are not at least seven sets of closed capturing parentheses in the
1203512708expression before where the C<\g{-7}> was located.
1203612709
1203712710=end original
1203812711
1203912712(F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の
1204012713位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。
1204112714
1204212715=begin original
1204312716
1204412717The S<<-- HERE> shows whereabouts in the regular expression the problem was
1204512718discovered.
1204612719
1204712720=end original
1204812721
1204912722S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1205012723
1205112724=item regexp memory corruption
1205212725
1205312726=begin original
1205412727
1205512728(P) The regular expression engine got confused by what the regular
1205612729expression compiler gave it.
1205712730
1205812731=end original
1205912732
1206012733(P) 正規表現コンパイラが渡したもので、正規表現エンジンが
1206112734処理できなくなりました。
1206212735
1206312736=item Regexp modifier "/%c" may appear a maximum of twice
1206412737
1206512738=item Regexp modifier "%c" may appear a maximum of twice in regex; marked
1206612739by S<<-- HERE> in m/%s/
1206712740
1206812741=begin original
1206912742
1207012743(F) The regular expression pattern had too many occurrences
1207112744of the specified modifier. Remove the extraneous ones.
1207212745
1207312746=end original
1207412747
1207512748(F) 正規表現パターンに指定された修飾子が多すぎます。
1207612749余分なものを削除してください。
1207712750
1207812751=item Regexp modifier "%c" may not appear after the "-" in regex; marked by <--
1207912752HERE in m/%s/
1208012753
1208112754=begin original
1208212755
1208312756(F) Turning off the given modifier has the side effect of turning on
1208412757another one. Perl currently doesn't allow this. Reword the regular
1208512758expression to use the modifier you want to turn on (and place it before
1208612759the minus), instead of the one you want to turn off.
1208712760
1208812761=end original
1208912762
1209012763(F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという
1209112764副作用があります。
1209212765Perl は現在のところこれを受け入れません。
1209312766オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの
1209412767前に置く)ように正規表現を書き直してください。
1209512768
1209612769=item Regexp modifier "/%c" may not appear twice
1209712770
1209812771=item Regexp modifier "%c" may not appear twice in regex; marked by <--
1209912772HERE in m/%s/
1210012773
1210112774=begin original
1210212775
1210312776(F) The regular expression pattern had too many occurrences
1210412777of the specified modifier. Remove the extraneous ones.
1210512778
1210612779=end original
1210712780
1210812781(F) 正規表現パターンに指定された修飾子が多すぎます。
1210912782余分なものを削除してください。
1211012783
1211112784=item Regexp modifiers "/%c" and "/%c" are mutually exclusive
1211212785
1211312786=item Regexp modifiers "%c" and "%c" are mutually exclusive in regex;
1211412787marked by S<<-- HERE> in m/%s/
1211512788
1211612789=begin original
1211712790
1211812791(F) The regular expression pattern had more than one of these
1211912792mutually exclusive modifiers. Retain only the modifier that is
1212012793supposed to be there.
1212112794
1212212795=end original
1212312796
1212412797(F) 正規表現パターンに相互に排他的な修飾子が複数あります。
1212512798ここで使うであろう修飾子のみを保持します。
1212612799
1212712800=item Regexp out of space in regex m/%s/
1212812801
1212912802=begin original
1213012803
1213112804(P) A "can't happen" error, because safemalloc() should have caught it
1213212805earlier.
1213312806
1213412807=end original
1213512808
1213612809(P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。
1213712810
1213812811=item Repeated format line will never terminate (~~ and @#)
1213912812
1214012813=begin original
1214112814
1214212815(F) Your format contains the ~~ repeat-until-blank sequence and a
1214312816numeric field that will never go blank so that the repetition never
1214412817terminates. You might use ^# instead. See L<perlform>.
1214512818
1214612819=end original
1214712820
1214812821(F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない
1214912822スウチフィールドが含まれているので、無限ループになります。
1215012823代わりに ^# を使うべきでしょう。
1215112824L<perlform> を参照してください。
1215212825
1215312826=item Replacement list is longer than search list
1215412827
1215512828=begin original
1215612829
1215712830(W misc) You have used a replacement list that is longer than the
1215812831search list. So the additional elements in the replacement list
1215912832are meaningless.
1216012833
1216112834=end original
1216212835
1216312836(W misc) 検索リストよりも長い置換リストを使いました。
1216412837長い分の置換リストは無意味です。
1216512838
12839=item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/
12840
12841=begin original
12842
12843(F) You used a construct that needs a colon and pattern argument.
12844Supply these or check that you are using the right construct.
12845
12846=end original
12847
12848(F) コロンとパターン引数を必要とする構文を使いました。
12849これらを補うか、正しい構文を使っているか確認してください。
12850
1216612851=item '%s' resolved to '\o{%s}%d'
1216712852
1216812853=begin original
1216912854
12855As of Perl 5.32, this message is no longer generated. Instead, see
12856L</Non-octal character '%c' terminates \o early. Resolved as "%s">.
1217012857(W misc, regexp) You wrote something like C<\08>, or C<\179> in a
1217112858double-quotish string. All but the last digit is treated as a single
1217212859character, specified in octal. The last digit is the next character in
1217312860the string. To tell Perl that this is indeed what you want, you can use
1217412861the C<\o{ }> syntax, or use exactly three digits to specify the octal
1217512862for the character.
1217612863
1217712864=end original
1217812865
12866Perl 5.32 から、もはやこのメッセージは出力されません。
12867代わりに、
12868L</Non-octal character '%c' terminates \o early. Resolved as "%s">
12869を見てください。
1217912870(W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような
1218012871ものを書きました。
1218112872最後以外の数字は、8 進数で指定された単一の文字として扱われます。
1218212873最後の数字は文字列中の次の文字です。
1218312874これがまさしく望んでいるものであることを Perl に伝えるには、
1218412875C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を
1218512876使ってください。
1218612877
1218712878=item Reversed %s= operator
1218812879
1218912880=begin original
1219012881
1219112882(W syntax) You wrote your assignment operator backwards. The = must
1219212883always come last, to avoid ambiguity with subsequent unary operators.
1219312884
1219412885=end original
1219512886
1219612887(W syntax) 代入演算子を逆順に書いています。
1219712888等号の後に単項演算子が続くときに、曖昧になるのを避けるため、
1219812889代入演算子では、等号 = が、最後にこないといけません。
1219912890
1220012891=item rewinddir() attempted on invalid dirhandle %s
1220112892
1220212893=begin original
1220312894
1220412895(W io) The dirhandle you tried to do a rewinddir() on is either closed
1220512896or not really a dirhandle. Check your control flow.
1220612897
1220712898=end original
1220812899
1220912900(W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、
1221012901実際にはディレクトリハンドルではありません。
1221112902制御フローをチェックしてください。
1221212903
1221312904=item Scalars leaked: %d
1221412905
1221512906=begin original
1221612907
1221712908(S internal) Something went wrong in Perl's internal bookkeeping
1221812909of scalars: not all scalar variables were deallocated by the time
1221912910Perl exited. What this usually indicates is a memory leak, which
1222012911is of course bad, especially if the Perl program is intended to be
1222112912long-running.
1222212913
1222312914=end original
1222412915
1222512916(P) Perl 内部のスカラ管理で何かがおかしくなりました:
1222612917Perl 終了時に全てのスカラ変数が解放されませんでした。
1222712918これは普通メモリリークを示していて、これはもちろん悪いことですが、
1222812919Perl プログラムが長い間動作する場合には特にそうです。
1222912920
1223012921=item Scalar value @%s[%s] better written as $%s[%s]
1223112922
1223212923=begin original
1223312924
1223412925(W syntax) You've used an array slice (indicated by @) to select a
1223512926single element of an array. Generally it's better to ask for a scalar
1223612927value (indicated by $). The difference is that C<$foo[&bar]> always
1223712928behaves like a scalar, both when assigning to it and when evaluating its
1223812929argument, while C<@foo[&bar]> behaves like a list when you assign to it,
1223912930and provides a list context to its subscript, which can do weird things
1224012931if you're expecting only one subscript.
1224112932
1224212933=end original
1224312934
1224412935(W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列
1224512936スライスを用いました。
1224612937一般には、($ で示される) スカラ値を使った方が良いと思われます。
1224712938違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、
1224812939添字を評価するときにも、常にスカラとして振る舞うのに対し、
1224912940C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、
1225012941添字にもリストコンテキストを与えることになります;
1225112942これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。
1225212943
1225312944=begin original
1225412945
1225512946On the other hand, if you were actually hoping to treat the array
1225612947element as a list, you need to look into how references work, because
1225712948Perl will not magically convert between scalars and lists for you. See
1225812949L<perlref>.
1225912950
1226012951=end original
1226112952
1226212953一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが
1226312954どのように働くかについて詳しく知る必要があります; なぜなら
1226412955Perl はスカラとリストを自動的に変換したりはしないからです。
1226512956L<perlref> を参照してください。
1226612957
1226712958=item Scalar value @%s{%s} better written as $%s{%s}
1226812959
1226912960=begin original
1227012961
1227112962(W syntax) You've used a hash slice (indicated by @) to select a single
1227212963element of a hash. Generally it's better to ask for a scalar value
1227312964(indicated by $). The difference is that C<$foo{&bar}> always behaves
1227412965like a scalar, both when assigning to it and when evaluating its
1227512966argument, while C<@foo{&bar}> behaves like a list when you assign to it,
1227612967and provides a list context to its subscript, which can do weird things
1227712968if you're expecting only one subscript.
1227812969
1227912970=end original
1228012971
1228112972(W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ
1228212973スライスを用いました。
1228312974一般には、($ で示される) スカラ値を使った方が良いと思われます。
1228412975違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、
1228512976添字を評価するときにも、常にスカラとして振る舞うのに対し、
1228612977C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、
1228712978添字にもリストコンテキストを与えることになります;
1228812979これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。
1228912980
1229012981=begin original
1229112982
1229212983On the other hand, if you were actually hoping to treat the hash element
1229312984as a list, you need to look into how references work, because Perl will
1229412985not magically convert between scalars and lists for you. See
1229512986L<perlref>.
1229612987
1229712988=end original
1229812989
1229912990一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが
1230012991どのように働くかについて詳しく知る必要があります; なぜなら
1230112992Perl はスカラとリストを自動的に変換したりはしないからです。
1230212993L<perlref> を参照してください。
1230312994
1230412995=item Search pattern not terminated
1230512996
1230612997=begin original
1230712998
1230812999(F) The lexer couldn't find the final delimiter of a // or m{}
1230913000construct. Remember that bracketing delimiters count nesting level.
1231013001Missing the leading C<$> from a variable C<$m> may cause this error.
1231113002
1231213003=end original
1231313004
1231413005(F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。
1231513006かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1231613007C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1231713008
1231813009=begin original
1231913010
1232013011Note that since Perl 5.10.0 a // can also be the I<defined-or>
1232113012construct, not just the empty search pattern. Therefore code written
1232213013in Perl 5.10.0 or later that uses the // as the I<defined-or> can be
1232313014misparsed by pre-5.10.0 Perls as a non-terminated search pattern.
1232413015
1232513016=end original
1232613017
1232713018Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる
1232813019空検索パターンではありません。
1232913020従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている
1233013021コードは、5.10.0 以前の Perl では、終端していない検索パターンとして
1233113022誤パースされるかもしれません。
1233213023
1233313024=item seekdir() attempted on invalid dirhandle %s
1233413025
1233513026=begin original
1233613027
1233713028(W io) The dirhandle you are doing a seekdir() on is either closed or not
1233813029really a dirhandle. Check your control flow.
1233913030
1234013031=end original
1234113032
1234213033(W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、
1234313034実際にはディレクトリハンドルではありません。
1234413035制御フローをチェックしてください。
1234513036
1234613037=item %sseek() on unopened filehandle
1234713038
1234813039=begin original
1234913040
1235013041(W unopened) You tried to use the seek() or sysseek() function on a
1235113042filehandle that was either never opened or has since been closed.
1235213043
1235313044=end original
1235413045
1235513046(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1235613047ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。
1235713048
1235813049=item select not implemented
1235913050
1236013051=begin original
1236113052
1236213053(F) This machine doesn't implement the select() system call.
1236313054
1236413055=end original
1236513056
1236613057(F) このマシンでは、select() システムコールは実装されていません。
1236713058
1236813059=item Self-ties of arrays and hashes are not supported
1236913060
1237013061=begin original
1237113062
1237213063(F) Self-ties are of arrays and hashes are not supported in
1237313064the current implementation.
1237413065
1237513066=end original
1237613067
1237713068(F) 配列やハッシュの自己 tie は現在の実装では対応していません。
1237813069
1237913070=item Semicolon seems to be missing
1238013071
1238113072=begin original
1238213073
1238313074(W semicolon) A nearby syntax error was probably caused by a missing
1238413075semicolon, or possibly some other missing operator, such as a comma.
1238513076
1238613077=end original
1238713078
1238813079(W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの
1238913080演算子がなかったために起こったものと考えられます。
1239013081
1239113082=item semi-panic: attempt to dup freed string
1239213083
1239313084=begin original
1239413085
1239513086(S internal) The internal newSVsv() routine was called to duplicate a
1239613087scalar that had previously been marked as free.
1239713088
1239813089=end original
1239913090
1240013091(S internal) 既に解放と印を付けたスカラを複製するために、内部の
1240113092newSVsv() ルーティンが呼ばれました。
1240213093
1240313094=item sem%s not implemented
1240413095
1240513096=begin original
1240613097
1240713098(F) You don't have System V semaphore IPC on your system.
1240813099
1240913100=end original
1241013101
1241113102(F) このシステムでは、System V セマフォ IPC は使えません。
1241213103
1241313104=item send() on closed socket %s
1241413105
1241513106=begin original
1241613107
1241713108(W closed) The socket you're sending to got itself closed sometime
1241813109before now. Check your control flow.
1241913110
1242013111=end original
1242113112
1242213113(W closed) 送信を行なおうとしたソケットは、既に閉じられています。
1242313114制御フローをチェックしてください。
1242413115
1242513116=item Sequence "\c{" invalid
1242613117
1242713118=begin original
1242813119
1242913120(F) These three characters may not appear in sequence in a
1243013121double-quotish context. This message is raised only on non-ASCII
1243113122platforms (a different error message is output on ASCII ones). If you
1243213123were intending to specify a control character with this sequence, you'll
1243313124have to use a different way to specify it.
1243413125
1243513126=end original
1243613127
1243713128(F) これら三つの文字の並びはダブルクォート風のコンテキストでは
1243813129使えません。
1243913130このメッセージは非 ASCII プラットフォームでのみ発生します
1244013131(ASCII では異なったえらメッセージが出力されます)。
1244113132この並びの制御文字を指定することを意図している場合は、指定するために
1244213133異なる方法を使う必要があります。
1244313134
1244413135=item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/
1244513136
1244613137=begin original
1244713138
1244813139(F) A regular expression ended with an incomplete extension (?. The
1244913140S<<-- HERE> shows whereabouts in the regular expression the problem was
1245013141discovered. See L<perlre>.
1245113142
1245213143=end original
1245313144
1245413145(F) 正規表現が不完全な拡張 (? で終わっています。
1245513146S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1245613147L<perlre> を参照してください。
1245713148
1245813149=item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in
1245913150m/%s/
1246013151
1246113152=begin original
1246213153
1246313154(F) A proposed regular expression extension has the character reserved
1246413155but has not yet been written. The S<<-- HERE> shows whereabouts in the
1246513156regular expression the problem was discovered. See L<perlre>.
1246613157
1246713158=end original
1246813159
1246913160(F) 使おうとした正規表現の拡張は、予約された文字ですが、
1247013161まだ実装されていません。
1247113162S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1247213163L<perlre> を参照してください。
1247313164
1247413165=item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in
1247513166m/%s/
1247613167
1247713168=begin original
1247813169
1247913170(F) You used a regular expression extension that doesn't make sense.
1248013171The S<<-- HERE> shows whereabouts in the regular expression the problem was
1248113172discovered. This may happen when using the C<(?^...)> construct to tell
1248213173Perl to use the default regular expression modifiers, and you
1248313174redundantly specify a default modifier. For other
1248413175causes, see L<perlre>.
1248513176
1248613177=end original
1248713178
1248813179(F) お使いになった正規表現の拡張は、意味をなしません。
1248913180S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1249013181これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために
1249113182C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。
1249213183その他の理由については、L<perlre> を参照してください。
1249313184
1249413185=item Sequence (?#... not terminated in regex m/%s/
1249513186
1249613187=begin original
1249713188
1249813189(F) A regular expression comment must be terminated by a closing
1249913190parenthesis. Embedded parentheses aren't allowed. See
1250013191L<perlre>.
1250113192
1250213193=end original
1250313194
1250413195(F) 正規表現のコメントは閉じかっこで終わらなければなりません。
1250513196組み込みのかっこは許可されません。
1250613197L<perlre> を参照してください。
1250713198
1250813199=item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in
1250913200m/%s/
1251013201
1251113202=begin original
1251213203
1251313204(F) A named reference of the form C<(?&...)> was missing the final
1251413205closing parenthesis after the name. The S<<-- HERE> shows whereabouts
1251513206in the regular expression the problem was discovered.
1251613207
1251713208=end original
1251813209
1251913210(F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが
1252013211ありません。
1252113212S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1252213213
1252313214=item Sequence (?%c... not terminated in regex; marked by S<<-- HERE>
1252413215in m/%s/
1252513216
1252613217=begin original
1252713218
1252813219(F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final
1252913220closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the
1253013221regular expression the problem was discovered.
1253113222
1253213223=end original
1253313224
1253413225(F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の
1253513226最後の閉じクォートまたは山かっこがありません。
1253613227S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1253713228
1253813229=item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE>
1253913230in m/%s/
1254013231
1254113232=begin original
1254213233
1254313234(F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was
1254413235missing the final closing quote or angle bracket after the name. The
1254513236S<<-- HERE> shows whereabouts in the regular expression the problem was
1254613237discovered.
1254713238
1254813239=end original
1254913240
1255013241(F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き
1255113242リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。
1255213243S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1255313244
1255413245=item Sequence (?... not terminated in regex; marked by S<<-- HERE> in
1255513246m/%s/
1255613247
1255713248=begin original
1255813249
1255913250(F) There was no matching closing parenthesis for the '('. The
1256013251S<<-- HERE> shows whereabouts in the regular expression the problem was
1256113252discovered.
1256213253
1256313254=end original
1256413255
1256513256(F) '(' に対応する閉じかっこがありません。
1256613257S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1256713258
1256813259=item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in
1256913260m/%s/
1257013261
1257113262=begin original
1257213263
1257313264(F) The regular expression expects a mandatory argument following the escape
1257413265sequence and this has been omitted or incorrectly written.
1257513266
1257613267=end original
1257713268
1257813269(F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、
1257913270それが省略されているか適切に書かれていません。
1258013271
1258113272=item Sequence (?{...}) not terminated with ')'
1258213273
1258313274=begin original
1258413275
1258513276(F) The end of the perl code contained within the {...} must be
1258613277followed immediately by a ')'.
1258713278
1258813279=end original
1258913280
1259013281(F) {} の中に含まれている perl コードの末尾は直後に ')' が
1259113282引き続かなければなりません。
1259213283
1259313284=item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/
1259413285
1259513286=begin original
1259613287
1259713288(F) A named reference of the form C<(?PE<gt>...)> was missing the final
1259813289closing parenthesis after the name. The S<<-- HERE> shows whereabouts
1259913290in the regular expression the problem was discovered.
1260013291
1260113292=end original
1260213293
1260313294(F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが
1260413295ありません。
1260513296S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1260613297
1260713298=item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/
1260813299
1260913300=begin original
1261013301
1261113302(F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final
1261213303closing angle bracket. The S<<-- HERE> shows whereabouts in the
1261313304regular expression the problem was discovered.
1261413305
1261513306=end original
1261613307
1261713308(F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、
1261813309最後の閉じ山かっこがありません。
1261913310S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1262013311
1262113312=item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in
1262213313m/%s/
1262313314
1262413315=begin original
1262513316
1262613317(F) A named reference of the form C<(?P=...)> was missing the final
1262713318closing parenthesis after the name. The S<<-- HERE> shows whereabouts
1262813319in the regular expression the problem was discovered.
1262913320
1263013321=end original
1263113322
1263213323(F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の
1263313324閉じかっこがありません。
1263413325S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1263513326
1263613327=item Sequence (?R) not terminated in regex m/%s/
1263713328
1263813329=begin original
1263913330
1264013331(F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the
1264113332final parenthesis.
1264213333
1264313334=end original
1264413335
1264513336(F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。
1264613337
12647=item Server error (a.k.a. "500 Server error")
13338=item Z<>500 Server error
1264813339
1264913340=begin original
1265013341
1265113342(A) This is the error message generally seen in a browser window
1265213343when trying to run a CGI program (including SSI) over the web. The
1265313344actual error text varies widely from server to server. The most
1265413345frequently-seen variants are "500 Server error", "Method (something)
1265513346not permitted", "Document contains no data", "Premature end of script
1265613347headers", and "Did not produce a valid header".
1265713348
1265813349=end original
1265913350
1266013351(A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに
1266113352実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。
1266213353実際のエラーテキストはサーバーによって大きく異なります。
1266313354もっともよく見られるものとしては、"500 Server error",
1266413355"Method (something) not permitted", "Document contains no data",
1266513356"Premature end of script headers", "Did not produce a valid header" が
1266613357あります。
1266713358
1266813359=begin original
1266913360
1267013361B<This is a CGI error, not a Perl error>.
1267113362
1267213363=end original
1267313364
1267413365B<これは CGI のエラーであり、Perl のエラーではありません>.
1267513366
1267613367=begin original
1267713368
1267813369You need to make sure your script is executable, is accessible by
1267913370the user CGI is running the script under (which is probably not the
1268013371user account you tested it under), does not rely on any environment
1268113372variables (like PATH) from the user it isn't running under, and isn't
1268213373in a location where the CGI server can't find it, basically, more or
1268313374less. Please see the following for more information:
1268413375
1268513376=end original
1268613377
1268713378まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく
1268813379あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは
1268913380異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが
1269013381見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。
1269113382さらなる情報については以下を参照してください。
1269213383
12693 http://www.perl.org/CGI_MetaFAQ.html
13384 https://www.perl.org/CGI_MetaFAQ.html
1269413385 http://www.htmlhelp.org/faq/cgifaq.html
1269513386 http://www.w3.org/Security/Faq/
1269613387
1269713388=begin original
1269813389
1269913390You should also look at L<perlfaq9>.
1270013391
1270113392=end original
1270213393
1270313394L<perlfaq9> も見るべきでしょう。
1270413395
1270513396=item setegid() not implemented
1270613397
1270713398=begin original
1270813399
1270913400(F) You tried to assign to C<$)>, and your operating system doesn't
1271013401support the setegid() system call (or equivalent), or at least Configure
1271113402didn't think so.
1271213403
1271313404=end original
1271413405
1271513406(F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid()
1271613407システムコール (または、同等のもの) がサポートされていません;
1271713408少なくとも Configure では、そう判断されました。
1271813409
1271913410=item seteuid() not implemented
1272013411
1272113412=begin original
1272213413
1272313414(F) You tried to assign to C<< $> >>, and your operating system doesn't
1272413415support the seteuid() system call (or equivalent), or at least Configure
1272513416didn't think so.
1272613417
1272713418=end original
1272813419
1272913420(F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid()
1273013421システムコール (または、同等のもの) がサポートされていません;
1273113422少なくとも Configure では、そう判断されました。
1273213423
1273313424=item setpgrp can't take arguments
1273413425
1273513426=begin original
1273613427
1273713428(F) Your system has the setpgrp() from BSD 4.2, which takes no
1273813429arguments, unlike POSIX setpgid(), which takes a process ID and process
1273913430group ID.
1274013431
1274113432=end original
1274213433
1274313434(F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません;
1274413435POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。
1274513436
1274613437=item setrgid() not implemented
1274713438
1274813439=begin original
1274913440
1275013441(F) You tried to assign to C<$(>, and your operating system doesn't
1275113442support the setrgid() system call (or equivalent), or at least Configure
1275213443didn't think so.
1275313444
1275413445=end original
1275513446
1275613447(F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid()
1275713448システムコール (または、同等のもの) がサポートされていません;
1275813449少なくとも Configure では、そう判断されました。
1275913450
1276013451=item setruid() not implemented
1276113452
1276213453=begin original
1276313454
1276413455(F) You tried to assign to C<$<>, and your operating system doesn't
1276513456support the setruid() system call (or equivalent), or at least Configure
1276613457didn't think so.
1276713458
1276813459=end original
1276913460
1277013461(F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid()
1277113462システムコール (または、同等のもの) がサポートされていません;
1277213463少なくとも Configure では、そう判断されました。
1277313464
1277413465=item setsockopt() on closed socket %s
1277513466
1277613467=begin original
1277713468
1277813469(W closed) You tried to set a socket option on a closed socket. Did you
1277913470forget to check the return value of your socket() call? See
1278013471L<perlfunc/setsockopt>.
1278113472
1278213473=end original
1278313474
1278413475(W closed) 閉じているソケットにソケットオプションを設定しようとしました。
1278513476socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか?
1278613477L<perlfunc/setsockopt> を参照してください。
1278713478
12788=item Setting ${^ENCODING} is deprecated
13479=item Setting $/ to a reference to %s is forbidden
1278913480
1279013481=begin original
1279113482
12792(D deprecated) You assigned a non-C<undef> value to C<${^ENCODING}>.
13483(F) You assigned a reference to a scalar to C<$/> where the referenced item is
12793This is deprecated; see C<L<perlvar/${^ENCODING}>> for details.
13484not a positive integer. In older perls this B<appeared> to work the same as
13485setting it to C<undef> but was in fact internally different, less efficient
13486and with very bad luck could have resulted in your file being split by a
13487stringified form of the reference.
1279413488
1279513489=end original
1279613490
12797(D deprecated) C<${^ENCODING}> に C<undef> 意外値を代入しました。
13491(F) リファレンス先アイテムが正の整数でないときに、
12798これは廃止予定です; 詳しくは C<L<perlvar/${^ENCODING}>> を参照してください。
12799
12800=item Setting $/ to a reference to %s as a form of slurp is deprecated, treating as undef
12801
12802=begin original
12803
12804(D deprecated) You assigned a reference to a scalar to C<$/> where the
12805referenced item is not a positive integer. In older perls this B<appeared>
12806to work the same as setting it to C<undef> but was in fact internally
12807different, less efficient and with very bad luck could have resulted in
12808your file being split by a stringified form of the reference.
12809
12810=end original
12811
12812(D deprecated) リファレンス先のアイテムが正の整数でないときに、
1281313492C<$/> にスカラへの整数を代入しました。
1281413493以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、
1281513494内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが
1281613495このリファレンスの文字列化形式で split されることになっていました。
1281713496
1281813497=begin original
1281913498
1282013499In Perl 5.20.0 this was changed so that it would be B<exactly> the same as
12821setting C<$/> to undef, with the exception that this warning would be
13500setting C<$/> to undef, with the exception that this warning would be thrown.
12822thrown.
1282313501
1282413502=end original
1282513503
1282613504Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては
1282713505C<$/> に undef を設定するのと B<正確に> 同じになりました。
1282813506
1282913507=begin original
1283013508
12831You are recommended to change your code to set C<$/> to C<undef> explicitly
13509You are recommended to change your code to set C<$/> to C<undef> explicitly if
12832if you wish to slurp the file. In future versions of Perl assigning
13510you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference
12833a reference to will throw a fatal error.
13511to an integer which isn't positive is a fatal error.
1283413512
1283513513=end original
1283613514
1283713515ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を
1283813516設定するようにコードを変更することを勧めます。
12839将来のバージョンの Perl では、リファレンスの代入は致命的エラーになります。
13517Perl 5.28 からC<$/> への正でない整数へのリファレンスの代入は
13518致命的エラーです。
1284013519
1284113520=item Setting $/ to %s reference is forbidden
1284213521
1284313522=begin original
1284413523
1284513524(F) You tried to assign a reference to a non integer to C<$/>. In older
1284613525Perls this would have behaved similarly to setting it to a reference to
1284713526a positive integer, where the integer was the address of the reference.
1284813527As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl
1284913528to use non-integer refs for more interesting purposes.
1285013529
1285113530=end original
1285213531
1285313532(F) 非整数へのリファレンスを C<$/> に代入しようとしました。
1285413533以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを
1285513534設定するのと似たように振る舞っていました。
1285613535将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように
1285713536Perl 5.20.0 から、これは致命的エラーになりました。
1285813537
1285913538=item shm%s not implemented
1286013539
1286113540=begin original
1286213541
1286313542(F) You don't have System V shared memory IPC on your system.
1286413543
1286513544=end original
1286613545
1286713546(F) このシステムでは、System V 共有メモリ IPC は使えません。
1286813547
1286913548=item !=~ should be !~
1287013549
1287113550=begin original
1287213551
1287313552(W syntax) The non-matching operator is !~, not !=~. !=~ will be
1287413553interpreted as the != (numeric not equal) and ~ (1's complement)
1287513554operators: probably not what you intended.
1287613555
1287713556=end original
1287813557
1287913558(W syntax) 非マッチ演算子は !=~ ではなく !~ です。
1288013559!=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます:
1288113560おそらくあなたの意図していることではないでしょう。
1288213561
1288313562=item /%s/ should probably be written as "%s"
1288413563
1288513564=begin original
1288613565
1288713566(W syntax) You have used a pattern where Perl expected to find a string,
1288813567as in the first argument to C<join>. Perl will treat the true or false
1288913568result of matching the pattern against $_ as the string, which is
1289013569probably not what you had in mind.
1289113570
1289213571=end original
1289313572
1289413573(W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに
1289513574パターンを使いました。
1289613575Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として
1289713576扱いますが、これはおそらく望んでいることではないでしょう。
1289813577
1289913578=item shutdown() on closed socket %s
1290013579
1290113580=begin original
1290213581
1290313582(W closed) You tried to do a shutdown on a closed socket. Seems a bit
1290413583superfluous.
1290513584
1290613585=end original
1290713586
1290813587(W closed) クローズされたソケットに shutdown を行なおうとしました。
1290913588多少、無駄のように思われます。
1291013589
1291113590=item SIG%s handler "%s" not defined
1291213591
1291313592=begin original
1291413593
1291513594(W signal) The signal handler named in %SIG doesn't, in fact, exist.
1291613595Perhaps you put it into the wrong package?
1291713596
1291813597=end original
1291913598
1292013599(W signal) %SIG 内で指定したシグナルハンドラが、存在しません。
1292113600間違ったパッケージで、設定を行なっているのかもしれません。
1292213601
1292313602=item Slab leaked from cv %p
1292413603
1292513604=begin original
1292613605
1292713606(S) If you see this message, then something is seriously wrong with the
1292813607internal bookkeeping of op trees. An op tree needed to be freed after
1292913608a compilation error, but could not be found, so it was leaked instead.
1293013609
1293113610=end original
1293213611
1293313612(S) このメッセージが出た場合、構文木の内部管理で何かひどく
1293413613悪いことになっています。
1293513614ある構文木がコンパイルエラーの後で解放される必要がありますが、
1293613615見つからないので、リークしています。
1293713616
1293813617=item sleep(%u) too large
1293913618
1294013619=begin original
1294113620
1294213621(W overflow) You called C<sleep> with a number that was larger than
1294313622it can reliably handle and C<sleep> probably slept for less time than
1294413623requested.
1294513624
1294613625=end original
1294713626
1294813627(W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、
1294913628C<sleep> はおそらく指定されたより短い時間だけスリープします。
1295013629
1295113630=item Slurpy parameter not last
1295213631
1295313632=begin original
1295413633
1295513634(F) In a subroutine signature, you put something after a slurpy (array or
1295613635hash) parameter. The slurpy parameter takes all the available arguments,
1295713636so there can't be any left to fill later parameters.
1295813637
1295913638=end original
1296013639
1296113640(F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に
1296213641何かを起きました。
1296313642吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに
1296413643対応するものを残しません。
1296513644
1296613645=item Smart matching a non-overloaded object breaks encapsulation
1296713646
1296813647=begin original
1296913648
1297013649(F) You should not use the C<~~> operator on an object that does not
1297113650overload it: Perl refuses to use the object's underlying structure
1297213651for the smart match.
1297313652
1297413653=end original
1297513654
1297613655(F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を
1297713656使うべきではありません: Perl はスマートマッチング時にオブジェクトの
1297813657基礎となる構造を使うことを拒否します。
1297913658
1298013659=item Smartmatch is experimental
1298113660
1298213661=begin original
1298313662
1298413663(S experimental::smartmatch) This warning is emitted if you
1298513664use the smartmatch (C<~~>) operator. This is currently an experimental
1298613665feature, and its details are subject to change in future releases of
1298713666Perl. Particularly, its current behavior is noticed for being
1298813667unnecessarily complex and unintuitive, and is very likely to be
1298913668overhauled.
1299013669
1299113670=end original
1299213671
1299313672(S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を
1299413673使ったときに出力されます。
1299513674これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される
1299613675可能性があります。
1299713676特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に
1299813677見直されます。
1299913678
13679=item Sorry, hash keys must be smaller than 2**31 bytes
13680
13681=begin original
13682
13683(F) You tried to create a hash containing a very large key, where "very
13684large" means that it needs at least 2 gigabytes to store. Unfortunately,
13685Perl doesn't yet handle such large hash keys. You should
13686reconsider your design to avoid hashing such a long string directly.
13687
13688=end original
13689
13690(F) とても大きなキーを含むハッシュを作ろうとしました;
13691ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。
13692残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。
13693そのような長い文字列で直接ハッシュを作るのを避けるように、
13694設計を再考する必要があります。
13695
1300013696=item sort is now a reserved word
1300113697
1300213698=begin original
1300313699
1300413700(F) An ancient error message that almost nobody ever runs into anymore.
1300513701But before sort was a keyword, people sometimes used it as a filehandle.
1300613702
1300713703=end original
1300813704
1300913705(F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。
1301013706ただ、sort がキーワードとなる前には、これをファイルハンドルとして
1301113707使う方がいました。
1301213708
1301313709=item Source filters apply only to byte streams
1301413710
1301513711=begin original
1301613712
1301713713(F) You tried to activate a source filter (usually by loading a
1301813714source filter module) within a string passed to C<eval>. This is
1301913715not permitted under the C<unicode_eval> feature. Consider using
1302013716C<evalbytes> instead. See L<feature>.
1302113717
1302213718=end original
1302313719
1302413720(F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを
1302513721読み込むことで)ソースフィルタを有効にしようとしました。
1302613722これは C<unicode_eval> 機能が有効の場合は許されていません。
1302713723代わりに C<evalbytes> を使うことを検討してください。
1302813724L<feature> を参照してください。
1302913725
1303013726=item splice() offset past end of array
1303113727
1303213728=begin original
1303313729
1303413730(W misc) You attempted to specify an offset that was past the end of
1303513731the array passed to splice(). Splicing will instead commence at the
1303613732end of the array, rather than past it. If this isn't what you want,
1303713733try explicitly pre-extending the array by assigning $#array = $offset.
1303813734See L<perlfunc/splice>.
1303913735
1304013736=end original
1304113737
1304213738(W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。
1304313739splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。
1304413740これが望んでいることではないなら、$#array = $offset と代入することで
1304513741明示的に事前に配列を拡張してください。
1304613742L<perlfunc/splice> を参照してください。
1304713743
1304813744=item Split loop
1304913745
1305013746=begin original
1305113747
1305213748(P) The split was looping infinitely. (Obviously, a split shouldn't
1305313749iterate more times than there are characters of input, which is what
1305413750happened.) See L<perlfunc/split>.
1305513751
1305613752=end original
1305713753
1305813754(P) split が無限ループに陥りました。
1305913755(明らかに、split は、入力文字数以上にはできないはずですが、
1306013756そうなってしまいました。) 
1306113757L<perlfunc/split> を参照してください。
1306213758
1306313759=item Statement unlikely to be reached
1306413760
1306513761=begin original
1306613762
1306713763(W exec) You did an exec() with some statement after it other than a
1306813764die(). This is almost always an error, because exec() never returns
1306913765unless there was a failure. You probably wanted to use system()
1307013766instead, which does return. To suppress this warning, put the exec() in
1307113767a block by itself.
1307213768
1307313769=end original
1307413770
1307513771(W exec) exec() の後に、die() 以外の実行文があります。
1307613772失敗したとき以外は、exec() から戻ってくることはありませんから、
1307713773ほとんどの場合には誤りでしょう。
1307813774戻ってくるsystem() に置き換える必要があるかもしれません。
1307913775この警告を止めるには、ブロック内に exec() だけを記述してください。
1308013776
1308113777=item "state" subroutine %s can't be in a package
1308213778
1308313779=begin original
1308413780
1308513781(F) Lexically scoped subroutines aren't in a package, so it doesn't make
1308613782sense to try to declare one with a package qualifier on the front.
1308713783
1308813784=end original
1308913785
1309013786(F) レキシカルスコープサブルーチンはパッケージ内にないので、
1309113787頭にパッケージ名を付けて宣言することは、無意味です。
1309213788
1309313789=item "state %s" used in sort comparison
1309413790
1309513791=begin original
1309613792
1309713793(W syntax) The package variables $a and $b are used for sort comparisons.
1309813794You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a
1309913795sort comparison block, and the variable had earlier been declared as a
1310013796lexical variable. Either qualify the sort variable with the package
1310113797name, or rename the lexical variable.
1310213798
1310313799=end original
1310413800
1310513801(W syntax) パッケージ変数 $a と $b はソート比較のために使われます。
1310613802$a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の
1310713803オペランドとして使いましたが、この変数はその前にレキシカル変数として
1310813804宣言されています。
1310913805ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。
1311013806
1311113807=item "state" variable %s can't be in a package
1311213808
1311313809=begin original
1311413810
1311513811(F) Lexically scoped variables aren't in a package, so it doesn't make
1311613812sense to try to declare one with a package qualifier on the front. Use
1311713813local() if you want to localize a package variable.
1311813814
1311913815=end original
1312013816
13121(F) 字句スコープの変数パッケージ内に置かれませんので、
13817(F) レキシカルスコープサブルーチンはパッケージ内にないので、
1312213818頭にパッケージ名を付けて宣言することは、無意味です。
1312313819パッケージ変数をローカル化したい場合には、local() を使ってください。
1312413820
1312513821=item stat() on unopened filehandle %s
1312613822
1312713823=begin original
1312813824
1312913825(W unopened) You tried to use the stat() function on a filehandle that
1313013826was either never opened or has since been closed.
1313113827
1313213828=end original
1313313829
1313413830(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1313513831ファイルハンドルに対して、stat() 関数を使おうとしました。
1313613832
1313713833=item Strings with code points over 0xFF may not be mapped into in-memory file handles
1313813834
1313913835=begin original
1314013836
1314113837(W utf8) You tried to open a reference to a scalar for read or append
1314213838where the scalar contained code points over 0xFF. In-memory files
1314313839model on-disk files and can only contain bytes.
1314413840
1314513841=end original
1314613842
1314713843(W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で
1314813844スカラへのリファレンスを開こうとしました。
1314913845インメモリファイルはディスクのファイルをモデル化していて、バイトのみが
1315013846使えます。
1315113847
1315213848=item Stub found while resolving method "%s" overloading "%s" in package "%s"
1315313849
1315413850=begin original
1315513851
1315613852(P) Overloading resolution over @ISA tree may be broken by importation
1315713853stubs. Stubs should never be implicitly created, but explicit calls to
1315813854C<can> may break this.
1315913855
1316013856=end original
1316113857
1316213858(P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。
1316313859スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと
1316413860これを破壊することがあります。
1316513861
13862=item Subroutine attributes must come before the signature
13863
13864=begin original
13865
13866(F) When subroutine signatures are enabled, any subroutine attributes must
13867come before the signature. Note that this order was the opposite in
13868versions 5.22..5.26. So:
13869
13870=end original
13871
13872(F) サブルーチンシグネチャが有効の場合、サブルーチン属性は
13873シグネチャの前に来なければなりません。
13874この順序はバージョン 5.22 .. 5.26 と反対であることに注意してください。
13875従って:
13876
13877 sub foo :lvalue ($a, $b) { ... } # 5.20 and 5.28 +
13878 sub foo ($a, $b) :lvalue { ... } # 5.22 .. 5.26
13879
1316613880=item Subroutine "&%s" is not available
1316713881
1316813882=begin original
1316913883
1317013884(W closure) During compilation, an inner named subroutine or eval is
1317113885attempting to capture an outer lexical subroutine that is not currently
1317213886available. This can happen for one of two reasons. First, the lexical
1317313887subroutine may be declared in an outer anonymous subroutine that has
1317413888not yet been created. (Remember that named subs are created at compile
1317513889time, while anonymous subs are created at run-time.) For example,
1317613890
1317713891=end original
1317813892
1317913893(W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在
1318013894利用できない外側のレキシカルサブルーチンを捕捉しようとしました。
1318113895これは二つの理由で起こります。
1318213896まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで
1318313897宣言されたときです。
1318413898(名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは
1318513899実行時に作成されることを思い出してください。)
1318613900例えば、
1318713901
1318813902 sub { my sub a {...} sub f { \&a } }
1318913903
1319013904=begin original
1319113905
1319213906At the time that f is created, it can't capture the current "a" sub,
1319313907since the anonymous subroutine hasn't been created yet. Conversely, the
1319413908following won't give a warning since the anonymous subroutine has by now
1319513909been created and is live:
1319613910
1319713911=end original
1319813912
1319913913f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら
1320013914無名サブルーチンはまだ作成されていないからです。
1320113915逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて
1320213916生きているからです:
1320313917
1320413918 sub { my sub a {...} eval 'sub f { \&a }' }->();
1320513919
1320613920=begin original
1320713921
1320813922The second situation is caused by an eval accessing a lexical subroutine
1320913923that has gone out of scope, for example,
1321013924
1321113925=end original
1321213926
13213139272 番目の状況は eval がスコープ外となったレキシカルサブルーチンに
1321413928アクセスすることで起こります; 例えば:
1321513929
1321613930 sub f {
1321713931 my sub a {...}
1321813932 sub { eval '\&a' }
1321913933 }
1322013934 f()->();
1322113935
1322213936=begin original
1322313937
1322413938Here, when the '\&a' in the eval is being compiled, f() is not currently
1322513939being executed, so its &a is not available for capture.
1322613940
1322713941=end original
1322813942
1322913943ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では
1323013944実行されていないので、&a は捕捉として利用できません。
1323113945
1323213946=item "%s" subroutine &%s masks earlier declaration in same %s
1323313947
1323413948=begin original
1323513949
13236(W misc) A "my" or "state" subroutine has been redeclared in the
13950(W shadow) A "my" or "state" subroutine has been redeclared in the
1323713951current scope or statement, effectively eliminating all access to
1323813952the previous instance. This is almost always a typographical error.
1323913953Note that the earlier subroutine will still exist until the end of
1324013954the scope or until all closure references to it are destroyed.
1324113955
1324213956=end original
1324313957
13244(W misc) "my" または "state" サブルーチンは現在のスコープまたは文で
13958(W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で
1324513959再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。
1324613960これはほとんど常にタイプミスです。
1324713961最初のサブルーチンはスコープの末尾に到達するか、これを参照している
1324813962全てのクロージャが破壊されるまで存在したままであることに注意してください。
1324913963
1325013964=item Subroutine %s redefined
1325113965
1325213966=begin original
1325313967
1325413968(W redefine) You redefined a subroutine. To suppress this warning, say
1325513969
1325613970=end original
1325713971
1325813972(W redefine) サブルーチンを再定義しました。
1325913973この警告を止めるには以下のようにしてください:
1326013974
1326113975 {
1326213976 no warnings 'redefine';
1326313977 eval "sub name { ... }";
1326413978 }
1326513979
1326613980=item Subroutine "%s" will not stay shared
1326713981
1326813982=begin original
1326913983
1327013984(W closure) An inner (nested) I<named> subroutine is referencing a "my"
1327113985subroutine defined in an outer named subroutine.
1327213986
1327313987=end original
1327413988
1327513989(W closure) 内側の (ネストした) I<名前付き> サブルーチンが、
1327613990外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。
1327713991
1327813992=begin original
1327913993
1328013994When the inner subroutine is called, it will see the value of the outer
1328113995subroutine's lexical subroutine as it was before and during the *first*
1328213996call to the outer subroutine; in this case, after the first call to the
1328313997outer subroutine is complete, the inner and outer subroutines will no
1328413998longer share a common value for the lexical subroutine. In other words,
1328513999it will no longer be shared. This will especially make a difference
1328614000if the lexical subroutines accesses lexical variables declared in its
1328714001surrounding scope.
1328814002
1328914003=end original
1329014004
1329114005内側のサブルーチンが呼び出されるとき、
1329214006外側のサブルーチンのレキシカルサブルーチンの値は、
1329314007外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります;
1329414008この場合、外側のサブルーチンへの最初の呼び出しが終了した後、
1329514009内側と外側のサブルーチンはもはやレキシカルサブルーチンについて
1329614010共通の値を共有しません。
1329714011言い換えると、これはもはや共有されません。
1329814012これは特に、レキシカルサブルーチンがその周りのスコープで宣言された
1329914013レキシカル変数にアクセスしたときに違いがあります。
1330014014
1330114015=begin original
1330214016
1330314017This problem can usually be solved by making the inner subroutine
1330414018anonymous, using the C<sub {}> syntax. When inner anonymous subs that
1330514019reference lexical subroutines in outer subroutines are created, they
1330614020are automatically rebound to the current values of such lexical subs.
1330714021
1330814022=end original
1330914023
1331014024この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで
1331114025解決します。
1331214026外側のサブルーチンのレキシカルサブルーチンを参照する内側の
1331314027無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に
1331414028自動的に回復します。
1331514029
1331614030=item Substitution loop
1331714031
1331814032=begin original
1331914033
1332014034(P) The substitution was looping infinitely. (Obviously, a substitution
1332114035shouldn't iterate more times than there are characters of input, which
1332214036is what happened.) See the discussion of substitution in
1332314037L<perlop/"Regexp Quote-Like Operators">.
1332414038
1332514039=end original
1332614040
1332714041(P) 置換が無限ループに陥りました。
1332814042(明らかに、置換は入力文字数以上には起こらないはずですが、
1332914043それが起こってしまいました。)
1333014044L<perlop/"Quote and Quote-Like Operators"> を参照してください。
1333114045
1333214046=item Substitution pattern not terminated
1333314047
1333414048=begin original
1333514049
1333614050(F) The lexer couldn't find the interior delimiter of an s/// or s{}{}
1333714051construct. Remember that bracketing delimiters count nesting level.
1333814052Missing the leading C<$> from variable C<$s> may cause this error.
1333914053
1334014054=end original
1334114055
1334214056(F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。
1334314057かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1334414058C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1334514059
1334614060=item Substitution replacement not terminated
1334714061
1334814062=begin original
1334914063
1335014064(F) The lexer couldn't find the final delimiter of an s/// or s{}{}
1335114065construct. Remember that bracketing delimiters count nesting level.
1335214066Missing the leading C<$> from variable C<$s> may cause this error.
1335314067
1335414068=end original
1335514069
1335614070(F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。
1335714071かっこ類の区切り文字では、ネストを数えることを忘れないでください。
1335814072C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。
1335914073
1336014074=item substr outside of string
1336114075
1336214076=begin original
1336314077
1336414078(W substr)(F) You tried to reference a substr() that pointed outside of
1336514079a string. That is, the absolute value of the offset was larger than the
1336614080length of the string. See L<perlfunc/substr>. This warning is fatal if
1336714081substr is used in an lvalue context (as the left hand side of an
1336814082assignment or as a subroutine argument for example).
1336914083
1337014084=end original
1337114085
1337214086(W substr)(F) 文字列の外を指す substr() を参照しようとしました。
1337314087つまり、オフセットの絶対値が、文字列の長さより大きくなっています。
1337414088L<perlfunc/substr> を参照してください。
1337514089この警告は、substr が(代入の左側やサブルーチンの引数といった)
1337614090左辺値として使われた場合は致命的となります。
1337714091
1337814092=item sv_upgrade from type %d down to type %d
1337914093
1338014094=begin original
1338114095
1338214096(P) Perl tried to force the upgrade of an SV to a type which was actually
1338314097inferior to its current type.
1338414098
1338514099=end original
1338614100
1338714101(P) Perl は SV を、実際には現在の型より下位の型への昇格を
1338814102強制しようとしました。
1338914103
13390=item SWASHNEW didn't return an HV ref
13391
13392=begin original
13393
13394(P) Something went wrong internally when Perl was trying to look up
13395Unicode characters.
13396
13397=end original
13398
13399(P) Perl が Unicode 文字を探そうとしたときに、内部で何かがおかしくなりました。
13400
1340114104=item Switch (?(condition)... contains too many branches in regex; marked by
1340214105S<<-- HERE> in m/%s/
1340314106
1340414107=begin original
1340514108
1340614109(F) A (?(condition)if-clause|else-clause) construct can have at most
1340714110two branches (the if-clause and the else-clause). If you want one or
1340814111both to contain alternation, such as using C<this|that|other>, enclose
1340914112it in clustering parentheses:
1341014113
1341114114=end original
1341214115
1341314116(F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐
1341414117(if-clause と else-clause) を持つことができます。
1341514118片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください:
1341614119
1341714120 (?(condition)(?:this|that|other)|else-clause)
1341814121
1341914122=begin original
1342014123
1342114124The S<<-- HERE> shows whereabouts in the regular expression the problem
1342214125was discovered. See L<perlre>.
1342314126
1342414127=end original
1342514128
1342614129S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1342714130L<perlre> を参照してください。
1342814131
1342914132=item Switch condition not recognized in regex; marked by S<<-- HERE> in
1343014133m/%s/
1343114134
1343214135=begin original
1343314136
1343414137(F) The condition part of a (?(condition)if-clause|else-clause) construct
1343514138is not known. The condition must be one of the following:
1343614139
1343714140=end original
1343814141
1343914142(?(...)if-clause|else-clause) 構造の条件部が不明です。
1344014143条件は以下のいずれかでなければなりません。
1344114144
1344214145 (1) (2) ... true if 1st, 2nd, etc., capture matched
1344314146 (<NAME>) ('NAME') true if named capture matched
1344414147 (?=...) (?<=...) true if subpattern matches
1344514148 (?!...) (?<!...) true if subpattern fails to match
1344614149 (?{ CODE }) true if code returns a true value
1344714150 (R) true if evaluating inside recursion
1344814151 (R1) (R2) ... true if directly inside capture group 1, 2, etc.
1344914152 (R&NAME) true if directly inside named capture
1345014153 (DEFINE) always false; for defining named subpatterns
1345114154
1345214155=begin original
1345314156
1345414157The S<<-- HERE> shows whereabouts in the regular expression the problem was
1345514158discovered. See L<perlre>.
1345614159
1345714160=end original
1345814161
1345914162S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1346014163L<perlre> を参照してください。
1346114164
1346214165=item Switch (?(condition)... not terminated in regex; marked by
1346314166S<<-- HERE> in m/%s/
1346414167
1346514168=begin original
1346614169
1346714170(F) You omitted to close a (?(condition)...) block somewhere
1346814171in the pattern. Add a closing parenthesis in the appropriate
1346914172position. See L<perlre>.
1347014173
1347114174=end original
1347214175
1347314176(F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。
1347414177適切な位置に閉じかっこを追加してください。
1347514178L<perlre> を参照してください。
1347614179
1347714180=item switching effective %s is not implemented
1347814181
1347914182=begin original
1348014183
1348114184(F) While under the C<use filetest> pragma, we cannot switch the real
1348214185and effective uids or gids.
1348314186
1348414187=end original
1348514188
1348614189(F) C<use filetest> プラグマを使っている間に、
1348714190実と実効の UID や GID の切り替えに失敗しました。
1348814191
1348914192=item syntax error
1349014193
1349114194=begin original
1349214195
1349314196(F) Probably means you had a syntax error. Common reasons include:
1349414197
1349514198=end original
1349614199
1349714200(F) おそらく、構文エラーが起こっています。
1349814201よくある原因としては以下のことが考えられます:
1349914202
1350014203=begin original
1350114204
1350214205 A keyword is misspelled.
1350314206 A semicolon is missing.
1350414207 A comma is missing.
1350514208 An opening or closing parenthesis is missing.
1350614209 An opening or closing brace is missing.
1350714210 A closing quote is missing.
1350814211
1350914212=end original
1351014213
1351114214 キーワードのスペルミス。
1351214215 セミコロンを忘れた。
1351314216 コンマを忘れた。
1351414217 開きかっこ、閉じかっこを忘れた。
1351514218 開き中かっこ、閉じ中かっこを忘れた。
1351614219 クォートの閉じ忘れ。
1351714220
1351814221=begin original
1351914222
1352014223Often there will be another error message associated with the syntax
1352114224error giving more information. (Sometimes it helps to turn on B<-w>.)
1352214225The error message itself often tells you where it was in the line when
1352314226it decided to give up. Sometimes the actual error is several tokens
1352414227before this, because Perl is good at understanding random input.
1352514228Occasionally the line number may be misleading, and once in a blue moon
1352614229the only way to figure out what's triggering the error is to call
1352714230C<perl -c> repeatedly, chopping away half the program each time to see
1352814231if the error went away. Sort of the cybernetic version of S<20 questions>.
1352914232
1353014233=end original
1353114234
1353214235多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、
1353314236情報を与えてくれます。(-w を付けることが、助けになることもあります。)
1353414237エラーメッセージ自身には、何行目まで行って、諦めたのかということも
1353514238含まれています。
1353614239Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に
1353714240在ることもあります。
1353814241ときには、行番号が全く役に立たないこともあり、はまってしまったなら、
1353914242エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、
1354014243エラーがなくなるまで、perl -c を繰り返すしかありません。
1354114244S<頭の体操 20 問>だと思ってください。
1354214245
1354314246=item syntax error at line %d: '%s' unexpected
1354414247
1354514248=begin original
1354614249
1354714250(A) You've accidentally run your script through the Bourne shell instead
1354814251of Perl. Check the #! line, or manually feed your script into Perl
1354914252yourself.
1355014253
1355114254=end original
1355214255
1355314256(A) スクリプトを perl ではなく Bourne shell で実行しようとしました。
1355414257#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
1355514258
1355614259=item syntax error in file %s at line %d, next 2 tokens "%s"
1355714260
1355814261=begin original
1355914262
1356014263(F) This error is likely to occur if you run a perl5 script through
1356114264a perl4 interpreter, especially if the next 2 tokens are "use strict"
1356214265or "my $var" or "our $var".
1356314266
1356414267=end original
1356514268
1356614269(F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに
1356714270おきそうなものです; 特に次の二つのトークンが "use strict" か
1356814271"my $var" か "our $var" の場合はそうです。
1356914272
13570=item Syntax error in (?[...]) in regex m/%s/
14273=item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/
1357114274
1357214275=begin original
1357314276
1357414277(F) Perl could not figure out what you meant inside this construct; this
1357514278notifies you that it is giving up trying.
1357614279
1357714280=end original
1357814281
1357914282(F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした;
1358014283これは試すのを諦めたことを知らせます。
1358114284
1358214285=item %s syntax OK
1358314286
1358414287=begin original
1358514288
1358614289(F) The final summary message when a C<perl -c> succeeds.
1358714290
1358814291=end original
1358914292
1359014293(F) C<perl -c> が成功したときの最終まとめメッセージです。
1359114294
1359214295=item sysread() on closed filehandle %s
1359314296
1359414297=begin original
1359514298
1359614299(W closed) You tried to read from a closed filehandle.
1359714300
1359814301=end original
1359914302
1360014303(W closed) 閉じたファイルハンドルから読み込もうとしました。
1360114304
1360214305=item sysread() on unopened filehandle %s
1360314306
1360414307=begin original
1360514308
1360614309(W unopened) You tried to read from a filehandle that was never opened.
1360714310
1360814311=end original
1360914312
1361014313(W unopened) 開いていないファイルハンドルから読み込もうとしました。
1361114314
1361214315=item System V %s is not implemented on this machine
1361314316
1361414317=begin original
1361514318
1361614319(F) You tried to do something with a function beginning with "sem",
1361714320"shm", or "msg" but that System V IPC is not implemented in your
1361814321machine. In some machines the functionality can exist but be
1361914322unconfigured. Consult your system support.
1362014323
1362114324=end original
1362214325
1362314326(F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、
1362414327あなたのマシンには System V IPC が実装されていません。
1362514328機能はあっても設定されていない場合もあります。
1362614329システムサポートに相談してください。
1362714330
1362814331=item syswrite() on closed filehandle %s
1362914332
1363014333=begin original
1363114334
1363214335(W closed) The filehandle you're writing to got itself closed sometime
1363314336before now. Check your control flow.
1363414337
1363514338=end original
1363614339
1363714340(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
1363814341制御フローをチェックしてください。
1363914342
1364014343=item C<-T> and C<-B> not implemented on filehandles
1364114344
1364214345=begin original
1364314346
1364414347(F) Perl can't peek at the stdio buffer of filehandles when it doesn't
1364514348know about your kind of stdio. You'll have to use a filename instead.
1364614349
1364714350=end original
1364814351
1364914352(F) Perl が、お使いの stdio のことをよく知らないとき、
1365014353ファイルハンドルの stdio バッファを覗くことはできません。
1365114354代わりにファイル名を使わなければなりません。
1365214355
1365314356=item Target of goto is too deeply nested
1365414357
1365514358=begin original
1365614359
1365714360(F) You tried to use C<goto> to reach a label that was too deeply nested
1365814361for Perl to reach. Perl is doing you a favor by refusing.
1365914362
1366014363=end original
1366114364
1366214365(F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。
1366314366Perl は親切にもこれを拒否します。
1366414367
1366514368=item telldir() attempted on invalid dirhandle %s
1366614369
1366714370=begin original
1366814371
1366914372(W io) The dirhandle you tried to telldir() is either closed or not really
1367014373a dirhandle. Check your control flow.
1367114374
1367214375=end original
1367314376
1367414377(W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、
1367514378実際にはディレクトリハンドルではありません。
1367614379制御フローをチェックしてください。
1367714380
1367814381=item tell() on unopened filehandle
1367914382
1368014383=begin original
1368114384
1368214385(W unopened) You tried to use the tell() function on a filehandle that
1368314386was either never opened or has since been closed.
1368414387
1368514388=end original
1368614389
1368714390(W unopened) オープンされていないファイルハンドルか、既にクローズされた
1368814391ファイルハンドルに対して、tell() 関数を使おうとしました。
1368914392
13690=item That use of $[ is unsupported
13691
13692=begin original
13693
13694(F) Assignment to C<$[> is now strictly circumscribed, and interpreted
13695as a compiler directive. You may say only one of
13696
13697=end original
13698
13699(F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。
13700使えるのは以下の形だけです:
13701
13702 $[ = 0;
13703 $[ = 1;
13704 ...
13705 local $[ = 0;
13706 local $[ = 1;
13707 ...
13708
13709=begin original
13710
13711This is to prevent the problem of one module changing the array base out
13712from under another module inadvertently. See L<perlvar/$[> and L<arybase>.
13713
13714=end original
13715
13716これは、一つのモジュールで、他のモジュールが意図しないような、
13717配列のベースを変更する問題を回避するためのものです。
13718L<perlvar/$[> と L<arybase> を参照してください。
13719
13720=item The bitwise feature is experimental
13721
13722=begin original
13723
13724(S experimental::bitwise) This warning is emitted if you use bitwise
13725operators (C<& | ^ ~ &. |. ^. ~.>) with the "bitwise" feature enabled.
13726Simply suppress the warning if you want to use the feature, but know
13727that in doing so you are taking the risk of using an experimental
13728feature which may change or be removed in a future Perl version:
13729
13730=end original
13731
13732(S experimental::bitwise) この警告は、"bitwise" 機能が有効のときに
13733ビット単位演算子 (C<& | ^ ~ &. |. ^. ~.>) を使うときに出力されます。
13734この機能を使いたいけれども、そうすることで将来の Perl バージョンで
13735変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、
13736単に警告を抑制してください:
13737
13738 no warnings "experimental::bitwise";
13739 use feature "bitwise";
13740 $x |.= $y;
13741
1374214393=item The crypt() function is unimplemented due to excessive paranoia.
1374314394
1374414395=begin original
1374514396
1374614397(F) Configure couldn't find the crypt() function on your machine,
1374714398probably because your vendor didn't supply it, probably because they
1374814399think the U.S. Government thinks it's a secret, or at least that they
1374914400will continue to pretend that it is. And if you quote me on that, I
1375014401will deny it.
1375114402
1375214403=end original
1375314404
1375414405(F) Configure は、マシン上で crypt() 関数を見つけられませんでした;
1375514406おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは
1375614407アメリカ政府がそれを秘密だとしていると思っているか、
1375714408少なくとも思っているというふりをしているのでしょう。
1375814409私を引き合いに出したところで、それは否定されることでしょう。
1375914410
14411=item The experimental declared_refs feature is not enabled
14412
14413=begin original
14414
14415(F) To declare references to variables, as in C<my \%x>, you must first enable
14416the feature:
14417
14418=end original
14419
14420(F) C<my \%x> のように、変数へのリファレンスを定義するには、
14421最初にこの機能を有効にしなければなりません:
14422
14423 no warnings "experimental::declared_refs";
14424 use feature "declared_refs";
14425
1376014426=item The %s function is unimplemented
1376114427
1376214428=begin original
1376314429
1376414430(F) The function indicated isn't implemented on this architecture,
1376514431according to the probings of Configure.
1376614432
1376714433=end original
1376814434
1376914435(F) この関数は、Configure の調査によると、このアーキテクチャでは、
1377014436実装されていないようです。
1377114437
13772=item The lexical_subs feature is experimental
14438=item The private_use feature is experimental
1377314439
1377414440=begin original
1377514441
13776(S experimental::lexical_subs) This warning is emitted if you
14442(S experimental::private_use) This feature is actually a hook for future
13777declare a sub with C<my> or C<state>. Simply suppress the warning
14443use.
13778if you want to use the feature, but know that in doing so you
13779are taking the risk of using an experimental feature which may
13780change or be removed in a future Perl version:
1378114444
1378214445=end original
1378314446
13784(S experimental::lexical_subs) この警告、サブルーチンを C<my> また
14447(S experimental::private_use) この機能実際に将来の使用のための
13785C<state> 宣言すると出力されます。
14448フックです。
13786この機能を使いたいけれども、そうすることで将来の Perl バージョンで
13787変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、
13788単に警告を抑制してください:
1378914449
13790 no warnings "experimental::lexical_subs";
13791 use feature "lexical_subs";
13792 my sub foo { ... }
13793
1379414450=item The regex_sets feature is experimental
1379514451
1379614452=begin original
1379714453
1379814454(S experimental::regex_sets) This warning is emitted if you
1379914455use the syntax S<C<(?[ ])>> in a regular expression.
1380014456The details of this feature are subject to change.
13801if you want to use it, but know that in doing so you
14457If you want to use it, but know that in doing so you
1380214458are taking the risk of using an experimental feature which may
1380314459change in a future Perl version, you can do this to silence the
1380414460warning:
1380514461
1380614462=end original
1380714463
1380814464(S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を
1380914465使うと出力されます。
1381014466この機能の詳細は変更されることがあります。
1381114467この機能を使いたいけれども、そうすることで将来の Perl バージョンで
1381214468変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、
1381314469以下のようにして警告を黙らせられます:
1381414470
1381514471 no warnings "experimental::regex_sets";
1381614472
1381714473=item The signatures feature is experimental
1381814474
1381914475=begin original
1382014476
1382114477(S experimental::signatures) This warning is emitted if you unwrap a
1382214478subroutine's arguments using a signature. Simply suppress the warning
1382314479if you want to use the feature, but know that in doing so you are taking
1382414480the risk of using an experimental feature which may change or be removed
1382514481in a future Perl version:
1382614482
1382714483=end original
1382814484
1382914485(S experimental::signatures) この警告は、シグネチャを使ったサブルーチンの
1383014486引数を展開するときに出力されます。
1383114487この機能を使いたいけれども、そうすることで将来の Perl バージョンで
1383214488変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、
1383314489単に警告を抑制してください:
1383414490
1383514491 no warnings "experimental::signatures";
1383614492 use feature "signatures";
1383714493 sub foo ($left, $right) { ... }
1383814494
1383914495=item The stat preceding %s wasn't an lstat
1384014496
1384114497=begin original
1384214498
1384314499(F) It makes no sense to test the current stat buffer for symbolic
1384414500linkhood if the last stat that wrote to the stat buffer already went
1384514501past the symlink to get to the real file. Use an actual filename
1384614502instead.
1384714503
1384814504=end original
1384914505
1385014506(F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの
1385114507情報を取って、stat バッファに入れているときに、シンボリックタイプの
1385214508stat をカレント stat バッファに対して行なっても意味がありません。
1385314509実際のファイル名を使ってください。
1385414510
14511=item The Unicode property wildcards feature is experimental
14512
14513=begin original
14514
14515(S experimental::uniprop_wildcards) This feature is experimental
14516and its behavior may in any future release of perl. See
14517L<perlunicode/Wildcards in Property Values>.
14518
14519=end original
14520
14521(S experimental::uniprop_wildcards) この機能は実験的で、
14522その振る舞いは将来のリリースの perl で変わるかもしれません。
14523L<perlunicode/Wildcards in Property Values> を参照してください。
14524
1385514525=item The 'unique' attribute may only be applied to 'our' variables
1385614526
1385714527=begin original
1385814528
1385914529(F) This attribute was never supported on C<my> or C<sub> declarations.
1386014530
1386114531=end original
1386214532
1386314533(F) この属性は C<my> や C<sub> の宣言では対応していません。
1386414534
1386514535=item This Perl can't reset CRTL environ elements (%s)
1386614536
1386714537=item This Perl can't set CRTL environ elements (%s=%s)
1386814538
1386914539=begin original
1387014540
1387114541(W internal) Warnings peculiar to VMS. You tried to change or delete an
1387214542element of the CRTL's internal environ array, but your copy of Perl
1387314543wasn't built with a CRTL that contained the setenv() function. You'll
1387414544need to rebuild Perl with a CRTL that does, or redefine
1387514545F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the
1387614546target of the change to
1387714547%ENV which produced the warning.
1387814548
1387914549=end original
1388014550
1388114551(W internal) VMS に固有の警告です。
1388214552CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は
1388314553setenv() 関数を含んだ CRTL でビルドされていません。
1388414554これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を
1388514555出力している %ENV を変更するターゲットとならないように
1388614556F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。
1388714557
1388814558=item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set().
1388914559
1389014560=begin original
1389114561
1389214562(F) Something has attempted to use an internal API call which
1389314563depends on Perl being compiled with the default support for randomized hash
1389414564key traversal, but this Perl has been compiled without it. You should
1389514565report this warning to the relevant upstream party, or recompile perl
1389614566with default options.
1389714567
1389814568=end original
1389914569
1390014570(F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に
1390114571依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで
1390214572コンパイルされていました。
1390314573この警告を関係する上流グループに報告するか、デフォルトオプションで perl を
1390414574再コンパイルしてください。
1390514575
14576=item This use of my() in false conditional is no longer allowed
14577
14578=begin original
14579
14580(F) You used a declaration similar to C<my $x if 0>. There
14581has been a long-standing bug in Perl that causes a lexical variable
14582not to be cleared at scope exit when its declaration includes a false
14583conditional. Some people have exploited this bug to achieve a kind of
14584static variable. Since we intend to fix this bug, we don't want people
14585relying on this behavior. You can achieve a similar static effect by
14586declaring the variable in a separate block outside the function, eg
14587
14588=end original
14589
14590(F) C<my $x if 0> のような千眼を使いました。
14591宣言が偽の条件のとき、スコープを抜けてもレキシカル変数がクリアされないという
14592長年のバグが Perl にはありました。
14593一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。
14594私たちはこのバグを修正したいので、人々にこの振る舞いに
14595依存してほしくありません。
14596関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を
14597得られます; 例えば:
14598
14599 sub f { my $x if 0; return $x++ }
14600
14601=begin original
14602
14603becomes
14604
14605=end original
14606
14607これは次のようになります:
14608
14609 { my $x; sub f { return $x++ } }
14610
14611=begin original
14612
14613Beginning with perl 5.10.0, you can also use C<state> variables to have
14614lexicals that are initialized only once (see L<feature>):
14615
14616=end original
14617
14618perl 5.10.0 から、一度だけ初期化されるレキシカル変数のために
14619C<state> 変数を使うこともできます (L<feature> を参照してください):
14620
14621 sub f { state $x; return $x++ }
14622
14623=begin original
14624
14625This use of C<my()> in a false conditional was deprecated beginning in
14626Perl 5.10 and became a fatal error in Perl 5.30.
14627
14628=end original
14629
14630偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、
14631Perl 5.30 で致命的エラーになりました。
14632
1390614633=item times not implemented
1390714634
1390814635=begin original
1390914636
1391014637(F) Your version of the C library apparently doesn't do times(). I
1391114638suspect you're not running on Unix.
1391214639
1391314640=end original
1391414641
1391514642(F) お使いの C ライブラリでは、times() を行わないようです。
1391614643UNIX ではない環境でしょうか。
1391714644
1391814645=item "-T" is on the #! line, it must also be used on the command line
1391914646
1392014647=begin original
1392114648
1392214649(X) The #! line (or local equivalent) in a Perl script contains
1392314650the B<-T> option (or the B<-t> option), but Perl was not invoked with
1392414651B<-T> in its command line. This is an error because, by the time
1392514652Perl discovers a B<-T> in a script, it's too late to properly taint
1392614653everything from the environment. So Perl gives up.
1392714654
1392814655=end original
1392914656
1393014657(X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T>
1393114658オプション (または B<-t> オプション) が含まれていますが、Perl は
1393214659コマンドラインで B<-T> 付きで起動されていません。
1393314660Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを
1393414661汚染チェックするには遅すぎるので、これはエラーになります。
1393514662それで Perl は諦めます。
1393614663
1393714664=begin original
1393814665
1393914666If the Perl script is being executed as a command using the #!
1394014667mechanism (or its local equivalent), this error can usually be
1394114668fixed by editing the #! line so that the B<-%c> option is a part of
1394214669Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>.
1394314670
1394414671=end original
1394514672
1394614673perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして
1394714674実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に
1394814675変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。
1394914676
1395014677=begin original
1395114678
1395214679If the Perl script is being executed as C<perl scriptname>, then the
1395314680B<-%c> option must appear on the command line: C<perl -%c scriptname>.
1395414681
1395514682=end original
1395614683
1395714684Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは
1395814685コマンドラインに書かなければなりません: C<perl -%c scriptname>
1395914686
1396014687=item To%s: illegal mapping '%s'
1396114688
1396214689=begin original
1396314690
1396414691(F) You tried to define a customized To-mapping for lc(), lcfirst,
1396514692uc(), or ucfirst() (or their string-inlined versions), but you
1396614693specified an illegal mapping.
1396714694See L<perlunicode/"User-Defined Character Properties">.
1396814695
1396914696=end original
1397014697
1397114698(F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の
1397214699ためのカスタマイズされた変換先マッピングを定義しようとしましたが、
1397314700不正なマッピングを指定しました。
1397414701L<perlunicode/"User-Defined Character Properties"> を参照してください。
1397514702
1397614703=item Too deeply nested ()-groups
1397714704
1397814705=begin original
1397914706
1398014707(F) Your template contains ()-groups with a ridiculously deep nesting level.
1398114708
1398214709=end original
1398314710
1398414711(F) テンプレートに、おかしいぐらいネストした () グループがあります。
1398514712
1398614713=item Too few args to syscall
1398714714
1398814715=begin original
1398914716
1399014717(F) There has to be at least one argument to syscall() to specify the
1399114718system call to call, silly dilly.
1399214719
1399314720=end original
1399414721
1399514722(F) syscall() には、最低限でも呼び出すシステムコールを示す、
1399614723引数が一つ必要です。
1399714724
13998=item Too few arguments for subroutine
14725=item Too few arguments for subroutine '%s'
1399914726
1400014727=begin original
1400114728
14002(F) A subroutine using a signature received fewer arguments than required
14729(F) A subroutine using a signature fewer arguments than required by the
14003by the signature. The caller of the subroutine is presumably at fault.
14730signature. The caller of the subroutine is presumably at fault.
14004Inconveniently, this error will be reported at the location of the
14005subroutine, not that of the caller.
1400614731
1400714732=end original
1400814733
1400914734(F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも
1401014735少ない引数を受け取りました。
1401114736おそらくサブルーチンの呼び出し元が間違っています。
14012不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で
14013報告されます。
1401414737
14738=begin original
14739
14740The message attempts to include the name of the called subroutine. If
14741the subroutine has been aliased, the subroutine's original name will be
14742shown, regardless of what name the caller used.
14743
14744=end original
14745
14746このメッセージは呼び出されたサブルーチン名を含めようとします。
14747サブルーチンが別名化されている場合、どの名前で呼びされたかにかかわらず
14748サブルーチンの元の名前が表示されます。
14749
1401514750=item Too late for "-%s" option
1401614751
1401714752=begin original
1401814753
1401914754(X) The #! line (or local equivalent) in a Perl script contains the
1402014755B<-M>, B<-m> or B<-C> option.
1402114756
1402214757=end original
1402314758
1402414759(X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>,
1402514760B<-C> オプションが含まれています。
1402614761
1402714762=begin original
1402814763
1402914764In the case of B<-M> and B<-m>, this is an error because those options
1403014765are not intended for use inside scripts. Use the C<use> pragma instead.
1403114766
1403214767=end original
1403314768
1403414769B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、
1403514770これはエラーになります。
1403614771代わりに C<use> プラグマを使ってください。
1403714772
1403814773=begin original
1403914774
1404014775The B<-C> option only works if it is specified on the command line as
1404114776well (with the same sequence of letters or numbers following). Either
1404214777specify this option on the command line, or, if your system supports
1404314778it, make your script executable and run it directly instead of passing
1404414779it to perl.
1404514780
1404614781=end original
1404714782
1404814783B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで)
1404914784指定されたときにのみ動作します。
1405014785このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、
1405114786スクリプトを perl に渡すのではなく、スクリプトを実行可能にして
1405214787直接実行してください。
1405314788
1405414789=item Too late to run %s block
1405514790
1405614791=begin original
1405714792
1405814793(W void) A CHECK or INIT block is being defined during run time proper,
1405914794when the opportunity to run them has already passed. Perhaps you are
1406014795loading a file with C<require> or C<do> when you should be using C<use>
1406114796instead. Or perhaps you should put the C<require> or C<do> inside a
1406214797BEGIN block.
1406314798
1406414799=end original
1406514800
1406614801(W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから
1406714802実行時に定義されました。
1406814803おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを
1406914804読み込んでいます。
1407014805あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を
1407114806書いたのでしょう。
1407214807
1407314808=item Too many args to syscall
1407414809
1407514810=begin original
1407614811
1407714812(F) Perl supports a maximum of only 14 args to syscall().
1407814813
1407914814=end original
1408014815
1408114816(F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。
1408214817
1408314818=item Too many arguments for %s
1408414819
1408514820=begin original
1408614821
1408714822(F) The function requires fewer arguments than you specified.
1408814823
1408914824=end original
1409014825
1409114826(F) 関数が要求する以上の引数を指定しました。
1409214827
14093=item Too many arguments for subroutine
14828=item Too many arguments for subroutine '%s'
1409414829
1409514830=begin original
1409614831
14097(F) A subroutine using a signature received more arguments than required
14832(F) A subroutine using a signature received more arguments than permitted
1409814833by the signature. The caller of the subroutine is presumably at fault.
14099Inconveniently, this error will be reported at the location of the
14100subroutine, not that of the caller.
1410114834
1410214835=end original
1410314836
14104(F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも
14837(F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも
1410514838多い引数を受け取りました。
1410614839おそらくサブルーチンの呼び出し元が間違っています。
14107不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で
14108報告されます。
1410914840
14841=begin original
14842
14843The message attempts to include the name of the called subroutine. If the
14844subroutine has been aliased, the subroutine's original name will be shown,
14845regardless of what name the caller used.
14846
14847=end original
14848
14849メッセージには呼び出されたサブルーチンの名前を含めようとします。
14850サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、
14851元の名前が表示されます。
14852
14853=item Too many nested open parens in regex; marked by <-- HERE in m/%s/
14854
14855=begin original
14856
14857(F) You have exceeded the number of open C<"("> parentheses that haven't
14858been matched by corresponding closing ones. This limit prevents eating
14859up too much memory. It is initially set to 1000, but may be changed by
14860setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may
14861need to be done in a BEGIN block before the regular expression pattern
14862is compiled.
14863
14864=end original
14865
14866(F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。
14867この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。
14868これは 1000 に初期化されていますが、
14869C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。
14870これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で
14871行われる必要があります。
14872
1411014873=item Too many )'s
1411114874
1411214875=begin original
1411314876
1411414877(A) You've accidentally run your script through B<csh> instead of Perl.
1411514878Check the #! line, or manually feed your script into Perl yourself.
1411614879
1411714880=end original
1411814881
1411914882(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
1412014883#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
1412114884
1412214885=item Too many ('s
1412314886
1412414887=begin original
1412514888
1412614889(A) You've accidentally run your script through B<csh> instead of Perl.
1412714890Check the #! line, or manually feed your script into Perl yourself.
1412814891
1412914892=end original
1413014893
1413114894(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
1413214895#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
1413314896
1413414897=item Trailing \ in regex m/%s/
1413514898
1413614899=begin original
1413714900
1413814901(F) The regular expression ends with an unbackslashed backslash.
1413914902Backslash it. See L<perlre>.
1414014903
1414114904=end original
1414214905
1414314906(F) 正規表現が、バックスラッシュを付けていないバックスラッシュで
1414414907終了しました。バックスラッシュを付けてください。
1414514908L<perlre> を参照してください。
1414614909
1414714910=item Transliteration pattern not terminated
1414814911
1414914912=begin original
1415014913
1415114914(F) The lexer couldn't find the interior delimiter of a tr/// or tr[][]
1415214915or y/// or y[][] construct. Missing the leading C<$> from variables
1415314916C<$tr> or C<$y> may cause this error.
1415414917
1415514918=end original
1415614919
1415714920(F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が
1415814921見つかりませんでした。
1415914922C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると
1416014923このエラーが出ることがあります。
1416114924
1416214925=item Transliteration replacement not terminated
1416314926
1416414927=begin original
1416514928
1416614929(F) The lexer couldn't find the final delimiter of a tr///, tr[][],
1416714930y/// or y[][] construct.
1416814931
1416914932=end original
1417014933
1417114934(F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が
1417214935見つかりませんでした。
1417314936
1417414937=item '%s' trapped by operation mask
1417514938
1417614939=begin original
1417714940
1417814941(F) You tried to use an operator from a Safe compartment in which it's
1417914942disallowed. See L<Safe>.
1418014943
1418114944=end original
1418214945
1418314946(F) Safe 区画の中で、許されていない演算子を使おうとしました。
1418414947L<Safe> を参照してください。
1418514948
1418614949=item truncate not implemented
1418714950
1418814951=begin original
1418914952
1419014953(F) Your machine doesn't implement a file truncation mechanism that
1419114954Configure knows about.
1419214955
1419314956=end original
1419414957
1419514958(F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が
1419614959実装されていません。
1419714960
1419814961=item Type of arg %d to &CORE::%s must be %s
1419914962
1420014963=begin original
1420114964
1420214965(F) The subroutine in question in the CORE package requires its argument
1420314966to be a hard reference to data of the specified type. Overloading is
1420414967ignored, so a reference to an object that is not the specified type, but
1420514968nonetheless has overloading to handle it, will still not be accepted.
1420614969
1420714970=end original
1420814971
1420914972(F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの
1421014973ハードリファレンスを要求しています。
1421114974オーバーロードは無視されるので、指定された型ではないけれども、それを
1421214975扱えるようにオーバーロードされたオブジェクトへのリファレンスでも
1421314976受け付けられません。
1421414977
1421514978=item Type of arg %d to %s must be %s (not %s)
1421614979
1421714980=begin original
1421814981
1421914982(F) This function requires the argument in that position to be of a
1422014983certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be
1422114984%NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the
1422214985{EXPR} forms as an explicit dereference. See L<perlref>.
1422314986
1422414987=end original
1422514988
1422614989(F) この関数は、その位置に決まった型の引数を必要とします。
1422714990配列は、@NAME もしくは C<@{EXPR}> でなりません。
1422814991ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。
1422914992暗黙の被参照は許されませんので、明示的な被参照として、
1423014993{EXPR} 形式を使ってください。
1423114994L<perlref> を参照してください。
1423214995
1423314996=item umask not implemented
1423414997
1423514998=begin original
1423614999
1423715000(F) Your machine doesn't implement the umask function and you tried to
1423815001use it to restrict permissions for yourself (EXPR & 0700).
1423915002
1424015003=end original
1424115004
1424215005(F) umask 関数が実装されていないマシンで、自分自身の権限を制限する
1424315006(EXPR & 0700) ためにこれを使おうとしました。
1424415007
1424515008=item Unbalanced context: %d more PUSHes than POPs
1424615009
1424715010=begin original
1424815011
1424915012(S internal) The exit code detected an internal inconsistency in how
1425015013many execution contexts were entered and left.
1425115014
1425215015=end original
1425315016
1425415017(S internal) いくつの実行コンテキストに入って、出たかということの
1425515018内部矛盾が exit コードで発見されました。
1425615019
1425715020=item Unbalanced saves: %d more saves than restores
1425815021
1425915022=begin original
1426015023
1426115024(S internal) The exit code detected an internal inconsistency in how
1426215025many values were temporarily localized.
1426315026
1426415027=end original
1426515028
1426615029(S internal) いくつの値が、一時的にローカル化されたかということの
1426715030内部矛盾が exit コードで発見されました。
1426815031
1426915032=item Unbalanced scopes: %d more ENTERs than LEAVEs
1427015033
1427115034=begin original
1427215035
1427315036(S internal) The exit code detected an internal inconsistency in how
1427415037many blocks were entered and left.
1427515038
1427615039=end original
1427715040
1427815041(S internal) いくつのブロックに入って、出たかということの
1427915042内部矛盾が exit コードで発見されました。
1428015043
1428115044=item Unbalanced string table refcount: (%d) for "%s"
1428215045
1428315046=begin original
1428415047
1428515048(S internal) On exit, Perl found some strings remaining in the shared
1428615049string table used for copy on write and for hash keys. The entries
1428715050should have been freed, so this indicates a bug somewhere.
1428815051
1428915052=end original
1429015053
1429115054(S internal) 終了時に、ハッシュキーのためのコピーオンライトのための
1429215055共有文字列テーブルに文字列が残っていることを Perl が発見しました。
1429315056エントリは開放されている必要があるので、これはどこかにバグがあることを
1429415057示しています。
1429515058
1429615059=item Unbalanced tmps: %d more allocs than frees
1429715060
1429815061=begin original
1429915062
1430015063(S internal) The exit code detected an internal inconsistency in how
1430115064many mortal scalars were allocated and freed.
1430215065
1430315066=end original
1430415067
1430515068(S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと
1430615069いうことの内部矛盾が exit コードで発見されました。
1430715070
1430815071=item Undefined format "%s" called
1430915072
1431015073=begin original
1431115074
1431215075(F) The format indicated doesn't seem to exist. Perhaps it's really in
1431315076another package? See L<perlform>.
1431415077
1431515078=end original
1431615079
1431715080(F) 示されたフォーマットが存在しないようです。
1431815081おそらく本当は他のパッケージにあるのでは?
1431915082L<perlform> を参照してください。
1432015083
1432115084=item Undefined sort subroutine "%s" called
1432215085
1432315086=begin original
1432415087
1432515088(F) The sort comparison routine specified doesn't seem to exist.
1432615089Perhaps it's in a different package? See L<perlfunc/sort>.
1432715090
1432815091=end original
1432915092
1433015093(F) 指定された sort の比較ルーティンは存在していないように思われます。
1433115094おそらく、別のパッケージに存在するのではないでしょうか。
1433215095L<perlfunc/sort> を参照してください。
1433315096
1433415097=item Undefined subroutine &%s called
1433515098
1433615099=begin original
1433715100
1433815101(F) The subroutine indicated hasn't been defined, or if it was, it has
1433915102since been undefined.
1434015103
1434115104=end original
1434215105
1434315106(F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、
1434415107既に未定義になっています。
1434515108
1434615109=item Undefined subroutine called
1434715110
1434815111=begin original
1434915112
1435015113(F) The anonymous subroutine you're trying to call hasn't been defined,
1435115114or if it was, it has since been undefined.
1435215115
1435315116=end original
1435415117
1435515118(F) 呼びだそうとしている無名のサブルーチンは、定義されていません;
1435615119定義されていたとしても、既に未定義になっています。
1435715120
1435815121=item Undefined subroutine in sort
1435915122
1436015123=begin original
1436115124
1436215125(F) The sort comparison routine specified is declared but doesn't seem
1436315126to have been defined yet. See L<perlfunc/sort>.
1436415127
1436515128=end original
1436615129
1436715130(F) 指定された sort の比較ルーティンは宣言されましたが、
1436815131定義されていないようです。
1436915132L<perlfunc/sort> を参照してください。
1437015133
1437115134=item Undefined top format "%s" called
1437215135
1437315136=begin original
1437415137
1437515138(F) The format indicated doesn't seem to exist. Perhaps it's really in
1437615139another package? See L<perlform>.
1437715140
1437815141=end original
1437915142
1438015143(F) 示されたフォーマットが存在しないようです。
1438115144おそらく本当は他のパッケージにあるのでは?
1438215145L<perlform> を参照してください。
1438315146
1438415147=item Undefined value assigned to typeglob
1438515148
1438615149=begin original
1438715150
1438815151(W misc) An undefined value was assigned to a typeglob, a la
1438915152C<*foo = undef>. This does nothing. It's possible that you really mean
1439015153C<undef *foo>.
1439115154
1439215155=end original
1439315156
1439415157(W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。
1439515158これは何もしません。
1439615159本当は C<undef *foo> としたかったのかもしれません。
1439715160
1439815161=item %s: Undefined variable
1439915162
1440015163=begin original
1440115164
1440215165(A) You've accidentally run your script through B<csh> instead of Perl.
1440315166Check the #! line, or manually feed your script into Perl yourself.
1440415167
1440515168=end original
1440615169
1440715170(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
1440815171#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
1440915172
14410=item Unescaped left brace in regex is deprecated, passed through in regex;
15173=item Unescaped left brace in regex is illegal here in regex;
1441115174marked by S<<-- HERE> in m/%s/
1441215175
1441315176=begin original
1441415177
14415(D deprecated, regexp) You used a literal C<"{"> character in a regular
15178(F) The simple rule to remember, if you want to
14416expression pattern. You should change to use C<"\{"> instead, because a
15179match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a
14417future version of Perl (tentatively v5.26) will consider this to be a
15180regular expression pattern, is to escape each literal instance of it in
14418syntax error. If the pattern delimiters are also braces, any matching
15181some way. Generally easiest is to precede it with a backslash, like
14419right brace (C<"}">) should also be escaped to avoid confusing the parser,
15182C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern
14420for example,
15183delimiters are also braces, any matching right brace (C<"}">) should
15184also be escaped to avoid confusing the parser, for example,
1442115185
1442215186=end original
1442315187
14424(D deprecated, regexp) 正規表現中でリテラルな C<"{"> 文字が使われました。
15188(F) 正規表現中で
14425代わりに C<"\{"> を使うよう変更するべです; なぜなら
15189リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) マッチングしたいと
14426将来のバージョンの Perl (予定で v5.26) ではこれを文エラーとして
15190覚えておくべき単純な規則、何らかの方
14427扱う予定だからです。
15191それぞれのリテラルな実体をエスケープすることです。
15192一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、
15193かっこでかこむ (C<"[{]">) ことです。.
1442815194パターン区切り文字も中かっこの場合、マッチングする右中かっこ
1442915195(C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば:
1443015196
14431 qr{abc\{def\}ghi}
15197 qr{abc\{def\}ghi}
1443215198
15199=begin original
15200
15201Forcing literal C<"{"> characters to be escaped enables the Perl
15202language to be extended in various ways in future releases. To avoid
15203needlessly breaking existing code, the restriction is not enforced in
15204contexts where there are unlikely to ever be extensions that could
15205conflict with the use there of C<"{"> as a literal. Those that are
15206not potentially ambiguous do not warn; those that are do raise a
15207non-deprecation warning.
15208
15209=end original
15210
15211リテラルな C<"{"> 文字にエスケープを強制することにより、
15212将来のリリースで様々な方法で Perl 言語を拡張できるようになります。
15213既存のコードを不必要に壊すことを避けるために、
15214拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では
15215制限は強制されません。
15216潜在的にあいまいでないものは警告されません; あいまいなものは
15217廃止予定でない警告が発生します。
15218
15219=begin original
15220
15221The contexts where no warnings or errors are raised are:
15222
15223=end original
15224
15225警告やエラーが出ない文脈は:
15226
15227=over 4
15228
15229=item *
15230
15231=begin original
15232
15233as the first character in a pattern, or following C<"^"> indicating to
15234anchor the match to the beginning of a line.
15235
15236=end original
15237
15238パターンの最初の文字、あるいは行頭にマッチングすることを示す
15239C<"^"> に引き続いている場合。
15240
15241=item *
15242
15243=begin original
15244
15245as the first character following a C<"|"> indicating alternation.
15246
15247=end original
15248
15249代替を示す C<"|"> に引き続く最初の文字の場合。
15250
15251=item *
15252
15253=begin original
15254
15255as the first character in a parenthesized grouping like
15256
15257=end original
15258
15259次のようなかっこ付きグループの最初の文字の場合:
15260
15261 /foo({bar)/
15262 /foo(?:{bar)/
15263
15264=item *
15265
15266=begin original
15267
15268as the first character following a quantifier
15269
15270=end original
15271
15272量指定子に引き続く最初の文字の場合
15273
15274 /\s*{/
15275
15276=back
15277
15278=for comment
15279The text of the message above is mostly duplicated below (with changes)
15280to allow splain (and 'use diagnostics') to work. Since one is fatal,
15281and one not, they can't be combined as one message. Perhaps perldiag
15282could be enhanced to handle this case.
15283
15284=item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/
15285
15286=begin original
15287
15288(W regexp) The simple rule to remember, if you want to
15289match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a
15290regular expression pattern, is to escape each literal instance of it in
15291some way. Generally easiest is to precede it with a backslash, like
15292C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern
15293delimiters are also braces, any matching right brace (C<"}">) should
15294also be escaped to avoid confusing the parser, for example,
15295
15296=end original
15297
15298(W regexp) 正規表現中で
15299リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに
15300覚えておくべき単純な規則は、何らかの方法で
15301それぞれのリテラルな実体をエスケープすることです。
15302一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、
15303かっこでかこむ (C<"[{]">) ことです。.
15304パターン区切り文字も中かっこの場合、マッチングする右中かっこ
15305(C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば:
15306
15307 qr{abc\{def\}ghi}
15308
15309=begin original
15310
15311Forcing literal C<"{"> characters to be escaped enables the Perl
15312language to be extended in various ways in future releases. To avoid
15313needlessly breaking existing code, the restriction is not enforced in
15314contexts where there are unlikely to ever be extensions that could
15315conflict with the use there of C<"{"> as a literal. Those that are
15316not potentially ambiguous do not warn; those that are raise this
15317warning. This makes sure that an inadvertent typo doesn't silently
15318cause the pattern to compile to something unintended.
15319
15320=end original
15321
15322リテラルな C<"{"> 文字にエスケープを強制することにより、
15323将来のリリースで様々な方法で Perl 言語を拡張できるようになります。
15324既存のコードを不必要に壊すことを避けるために、
15325拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では
15326制限は強制されません。
15327潜在的にあいまいでないものは警告されません; あいまいなものは
15328この警告が発生します。
15329これは、不注意によるタイプミスによって、パターンが何か想定外のものに
15330黙ってコンパイルされないことを確実にします。
15331
15332=begin original
15333
15334The contexts where no warnings or errors are raised are:
15335
15336=end original
15337
15338警告やエラーが出ない文脈は:
15339
15340=over 4
15341
15342=item *
15343
15344=begin original
15345
15346as the first character in a pattern, or following C<"^"> indicating to
15347anchor the match to the beginning of a line.
15348
15349=end original
15350
15351パターンの最初の文字、あるいは行頭にマッチングすることを示す
15352C<"^"> に引き続いている場合。
15353
15354=item *
15355
15356=begin original
15357
15358as the first character following a C<"|"> indicating alternation.
15359
15360=end original
15361
15362代替を示す C<"|"> に引き続く最初の文字の場合。
15363
15364=item *
15365
15366=begin original
15367
15368as the first character in a parenthesized grouping like
15369
15370=end original
15371
15372次のようなかっこ付きグループの最初の文字の場合:
15373
15374 /foo({bar)/
15375 /foo(?:{bar)/
15376
15377=item *
15378
15379=begin original
15380
15381as the first character following a quantifier
15382
15383=end original
15384
15385量指定子に引き続く最初の文字の場合
15386
15387 /\s*{/
15388
15389=back
15390
15391=item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/
15392
15393=begin original
15394
15395(W regexp) (only under C<S<use re 'strict'>>)
15396
15397=end original
15398
15399(W regexp) (C<S<use re 'strict'>> の下のみ)
15400
15401=begin original
15402
15403Within the scope of C<S<use re 'strict'>> in a regular expression
15404pattern, you included an unescaped C<}> or C<]> which was interpreted
15405literally. These two characters are sometimes metacharacters, and
15406sometimes literals, depending on what precedes them in the
15407pattern. This is unlike the similar C<)> which is always a
15408metacharacter unless escaped.
15409
15410=end original
15411
15412C<S<use re 'strict'>> スコープでの正規表現パターンの中で、
15413リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。
15414これらの二つの文字は時にはメタ文字で、ときにはリテラルです;
15415パターン中で何が前に置かれるかによります。
15416これは、エスケープされない限り常にメタ文字である C<)> に似ていますが
15417異なります。
15418
15419=begin original
15420
15421This action at a distance, perhaps a large distance, can lead to Perl
15422silently misinterpreting what you meant, so when you specify that you
15423want extra checking by C<S<use re 'strict'>>, this warning is generated.
15424If you meant the character as a literal, simply confirm that to Perl by
15425preceding the character with a backslash, or make it into a bracketed
15426character class (like C<[}]>). If you meant it as closing a
15427corresponding C<[> or C<{>, you'll need to look back through the pattern
15428to find out why that isn't happening.
15429
15430=end original
15431
15432遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで
15433あなたの意図を間違って解釈するかもしれないので、
15434C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、
15435この警告が出力されます。
15436この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、
15437(C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に
15438はっきりさせてください。
15439これが対応する C<[> や C<{> を閉じるものなら、
15440なぜそれが起きないかを見つけるためにパターン全体を見直してください。
15441
1443315442=item unexec of %s into %s failed!
1443415443
1443515444=begin original
1443615445
1443715446(F) The unexec() routine failed for some reason. See your local FSF
1443815447representative, who probably put it there in the first place.
1443915448
1444015449=end original
1444115450
1444215451(F) unexec() ルーティンが何らかの理由によって失敗しました。
1444315452最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。
1444415453
1444515454=item Unexpected binary operator '%c' with no preceding operand in regex;
1444615455marked by S<<-- HERE> in m/%s/
1444715456
1444815457=begin original
1444915458
1445015459(F) You had something like this:
1445115460
1445215461=end original
1445315462
1445415463(F) 以下のようなものを書きました:
1445515464
1445615465 (?[ | \p{Digit} ])
1445715466
1445815467=begin original
1445915468
1446015469where the C<"|"> is a binary operator with an operand on the right, but
1446115470no operand on the left.
1446215471
1446315472=end original
1446415473
1446515474ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない
14466154752 項演算子です。
1446715476
1446815477=item Unexpected character in regex; marked by S<<-- HERE> in m/%s/
1446915478
1447015479=begin original
1447115480
1447215481(F) You had something like this:
1447315482
1447415483=end original
1447515484
1447615485(F) 以下のようなものを書きました:
1447715486
1447815487 (?[ z ])
1447915488
1448015489=begin original
1448115490
1448215491Within C<(?[ ])>, no literal characters are allowed unless they are
1448315492within an inner pair of square brackets, like
1448415493
1448515494=end original
1448615495
1448715496C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り
1448815497リテラル文字は許されません
1448915498
1449015499 (?[ [ z ] ])
1449115500
1449215501=begin original
1449315502
1449415503Another possibility is that you forgot a backslash. Perl isn't smart
1449515504enough to figure out what you really meant.
1449615505
1449715506=end original
1449815507
1449915508もう一つの可能性は、逆スラッシュを忘れたことです。
1450015509Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。
1450115510
1450215511=item Unexpected constant lvalue entersub entry via type/targ %d:%d
1450315512
1450415513=begin original
1450515514
1450615515(P) When compiling a subroutine call in lvalue context, Perl failed an
1450715516internal consistency check. It encountered a malformed op tree.
1450815517
1450915518=end original
1451015519
1451115520(P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は
1451215521内部一貫性チェックに失敗しました。
1451315522不正な構文木に遭遇しました。
1451415523
1451515524=item Unexpected exit %u
1451615525
1451715526=begin original
1451815527
1451915528(S) exit() was called or the script otherwise finished gracefully when
1452015529C<PERL_EXIT_WARN> was set in C<PL_exit_flags>.
1452115530
1452215531=end original
1452315532
1452415533(S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が
1452515534呼び出されたりその他の理由で通常終了しました。
1452615535
1452715536=item Unexpected exit failure %d
1452815537
1452915538=begin original
1453015539
1453115540(S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in
1453215541C<PL_exit_flags>.
1453315542
1453415543=end original
1453515544
1453615545(S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに
1453715546捕らえられていない die() が呼び出されました。
1453815547
1453915548=item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/
1454015549
1454115550=begin original
1454215551
1454315552(F) You had something like this:
1454415553
1454515554=end original
1454615555
1454715556(F) 以下のようなものを書きました:
1454815557
1454915558 (?[ ( \p{Digit} + ) ])
1455015559
1455115560=begin original
1455215561
1455315562The C<")"> is out-of-place. Something apparently was supposed to
1455415563be combined with the digits, or the C<"+"> shouldn't be there, or
1455515564something like that. Perl can't figure out what was intended.
1455615565
1455715566=end original
1455815567
1455915568C<")"> の場所がおかしいです。
1456015569何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは
1456115570似たような何かです。
1456215571Perl は何を意図しているのかが分かりませんでした。
1456315572
15573=item Unexpected ']' with no following ')' in (?[... in regex; marked by
15574<-- HERE in m/%s/
15575
15576=begin original
15577
15578(F) While parsing an extended character class a ']' character was
15579encountered at a point in the definition where the only legal use of
15580']' is to close the character class definition as part of a '])', you
15581may have forgotten the close paren, or otherwise confused the parser.
15582
15583=end original
15584
15585(F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を
15586閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました;
15587閉じかっこを忘れているか、さもなければパーサが混乱しています。
15588
1456415589=item Unexpected '(' with no preceding operator in regex; marked by
1456515590S<<-- HERE> in m/%s/
1456615591
1456715592=begin original
1456815593
1456915594(F) You had something like this:
1457015595
1457115596=end original
1457215597
1457315598(F) 以下のようなものを書きました:
1457415599
1457515600 (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ])
1457615601
1457715602=begin original
1457815603
1457915604There should be an operator before the C<"(">, as there's
1458015605no indication as to how the digits are to be combined
1458115606with the characters in the Lao and Thai scripts.
1458215607
1458315608=end original
1458415609
1458515610これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの
1458615611文字がどのように結びつくかの指示がないからです。
1458715612
1458815613=item Unicode non-character U+%X is not recommended for open interchange
1458915614
1459015615=begin original
1459115616
1459215617(S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are
1459315618defined by the Unicode standard to be non-characters. Those
1459415619are legal codepoints, but are reserved for internal use; so,
1459515620applications shouldn't attempt to exchange them. An application
1459615621may not be expecting any of these characters at all, and receiving
1459715622them may lead to bugs. If you know what you are doing you can
1459815623turn off this warning by C<no warnings 'nonchar';>.
1459915624
1460015625=end original
1460115626
1460215627(S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は
1460315628Unicode 標準によって非文字として指定されています。
1460415629これらは有効な符号位置ですが、内部使用のために予約されています; 従って、
1460515630アプリケーションはこれを交換しようとするべきではありません。
1460615631アプリケーションは、これらの文字を想定するべきではなく、これらを
1460715632受け取るとバグを引き起こすことがあります。
1460815633もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で
1460915634警告を無効にできます。
1461015635
1461115636=begin original
1461215637
1461315638This is not really a "severe" error, but it is supposed to be
1461415639raised by default even if warnings are not enabled, and currently
1461515640the only way to do that in Perl is to mark it as serious.
1461615641
1461715642=end original
1461815643
1461915644これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても
1462015645デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは
1462115646これを重大なものとして扱うことです。
1462215647
15648=item Unicode property wildcard not terminated
15649
15650=begin original
15651
15652(F) A Unicode property wildcard looks like a delimited regular
15653expression pattern (all within the braces of the enclosing C<\p{...}>.
15654The closing delimtter to match the opening one was not found. If the
15655opening one is escaped by preceding it with a backslash, the closing one
15656must also be so escaped.
15657
15658=end original
15659
15660(F) Unicode 特性ワイルドカードは区切られた正規表現パターン
15661(C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。
15662開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。
15663前に逆スラッシュを置くことで開き文字がエスケープされている場合、
15664閉じ文字もエスケープされていなければなりません。
15665
15666=item Unicode string properties are not implemented in (?[...]) in
15667regex; marked by <-- HERE in m/%s/
15668
15669=begin original
15670
15671(F) A Unicode string property is one which expands to a sequence of
15672multiple characters. An example is C<\p{name=KATAKANA LETTER AINU P}>,
15673which is comprised of the sequence C<\N{KATAKANA LETTER SMALL H}>
15674followed by C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}>.
15675Extended character classes, C<(?[...])> currently cannot handle these.
15676
15677=end original
15678
15679(F) A Unicode 文字列特性は、複数の文字の並びに拡張するものです。
15680例は C<\p{name=KATAKANA LETTER AINU P}> で、これは
15681C<\N{KATAKANA LETTER SMALL H}> に
15682C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}> が引き続く
15683並びからなります。
15684拡張文字クラス C<(?[...])> は現在の所これらを扱えません。
15685
1462315686=item Unicode surrogate U+%X is illegal in UTF-8
1462415687
1462515688=begin original
1462615689
1462715690(S surrogate) You had a UTF-16 surrogate in a context where they are
1462815691not considered acceptable. These code points, between U+D800 and
1462915692U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl
1463015693internally allows all unsigned integer code points (up to the size limit
1463115694available on your platform), including surrogates. But these can cause
1463215695problems when being input or output, which is likely where this message
1463315696came from. If you really really know what you are doing you can turn
1463415697off this warning by C<no warnings 'surrogate';>.
1463515698
1463615699=end original
1463715700
1463815701(S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
1463915702使いました。
1464015703これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに
1464115704Unicode によって使われます。
1464215705しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は
1464315706プラットフォームで利用可能なサイズ上限)を受け付けます。
1464415707しかし、これらは入力や出力になるときに問題を引き起こします; それは
1464515708おそらくこのメッセージが出た場所です。
1464615709自分で何をしているのかが本当に本当に分かっているなら、
1464715710C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
1464815711
14649=item Unknown charname '' is deprecated
14650
14651=begin original
14652
14653(D deprecated) You had a C<\N{}> with nothing between the braces. This
14654usage is deprecated, and will be made a syntax error in a future Perl
14655version.
14656
14657=end original
14658
14659(D deprecated) 中かっこの間に何もない C<\N{}> を使いました。
14660この使い方は廃止予定で、将来のバージョンの Perl では文法エラーになります。
14661
1466215712=item Unknown charname '%s'
1466315713
1466415714=begin original
1466515715
1466615716(F) The name you used inside C<\N{}> is unknown to Perl. Check the
1466715717spelling. You can say C<use charnames ":loose"> to not have to be
1466815718so precise about spaces, hyphens, and capitalization on standard Unicode
1466915719names. (Any custom aliases that have been created must be specified
1467015720exactly, regardless of whether C<:loose> is used or not.) This error may
1467115721also happen if the C<\N{}> is not in the scope of the corresponding
1467215722C<S<use charnames>>.
1467315723
1467415724=end original
1467515725
1467615726(F) C<\N{}> の内側で使った名前は Perl が知らないものでした。
1467715727綴りをチェックしてください。
1467815728C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、
1467915729大文字小文字についてはそれほど正確でなくてもいいようになります。
1468015730(作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に
1468115731指定されなければなりません。)
1468215732このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に
1468315733ないときにも起こることがあります。
1468415734
15735=item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/
15736
15737=begin original
15738
15739(F) The C<(*> was followed by something that the regular expression
15740compiler does not recognize. Check your spelling.
15741
15742=end original
15743
15744(F) C<(*> に、何か正規表現コンパイラが理解できないものが
15745引き続いていました。
15746綴りをチェックしてください。
15747
1468515748=item Unknown error
1468615749
1468715750=begin original
1468815751
1468915752(P) Perl was about to print an error message in C<$@>, but the C<$@> variable
1469015753did not exist, even after an attempt to create it.
1469115754
1469215755=end original
1469315756
1469415757(P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が
1469515758(たとえ作ろうとした後でも) 存在しませんでした。
1469615759
15760=item Unknown locale category %d; can't set it to %s
15761
15762=begin original
15763
15764(W locale) You used a locale category that perl doesn't recognize, so it
15765cannot carry out your request. Check that you are using a valid
15766category. If so, see L<perllocale/Multi-threaded> for advice on
15767reporting this as a bug, and for modifying perl locally to accommodate
15768your needs.
15769
15770=end original
15771
15772(W locale) perl が認識できないロケールカテゴリを使ったので、
15773要求を実行することができません。
15774正しいカテゴリを使っているかチェックしてください。
15775もしそうなら、これをバグとして報告する助言や、必要性に対応するために
15776perl をローカルで修正する方法について L<perllocale/Multi-threaded> を
15777参照してください。
15778
1469715779=item Unknown open() mode '%s'
1469815780
1469915781=begin original
1470015782
1470115783(F) The second argument of 3-argument open() is not among the list
1470215784of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>,
1470315785C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>.
1470415786
1470515787=end original
1470615788
1470715789(F) 3 引数 open() の 第 2 引数が以下の有効なモードの
1470815790どれでもありませんでした:
1470915791C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>,
1471015792C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>
1471115793
1471215794=item Unknown PerlIO layer "%s"
1471315795
1471415796=begin original
1471515797
1471615798(W layer) An attempt was made to push an unknown layer onto the Perl I/O
1471715799system. (Layers take care of transforming data between external and
1471815800internal representations.) Note that some layers, such as C<mmap>,
1471915801are not supported in all environments. If your program didn't
1472015802explicitly request the failing operation, it may be the result of the
1472115803value of the environment variable PERLIO.
1472215804
1472315805=end original
1472415806
1472515807(W layer) 不明な層をPerl I/O システムに追加しようとしました。
1472615808(層はデータの外部表現と内部表現の変換を扱います。)
1472715809C<mmap> のような層は、全ての環境で対応しているわけではないことに
1472815810注意してください。
1472915811明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の
1473015812値が原因かもしれません。
1473115813
1473215814=item Unknown process %x sent message to prime_env_iter: %s
1473315815
1473415816=begin original
1473515817
1473615818(P) An error peculiar to VMS. Perl was reading values for %ENV before
1473715819iterating over it, and someone else stuck a message in the stream of
1473815820data Perl expected. Someone's very confused, or perhaps trying to
1473915821subvert Perl's population of %ENV for nefarious purposes.
1474015822
1474115823=end original
1474215824
1474315825(P) VMS に固有のエラーです。
1474415826Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している
1474515827データストリームの中に誰かがメッセージを差し込みました。
1474615828誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を
1474715829滅亡させようとしています。
1474815830
14749=item Unknown regex modifier "%s"
15831=item Unknown regexp modifier "/%s"
1475015832
1475115833=begin original
1475215834
1475315835(F) Alphanumerics immediately following the closing delimiter
1475415836of a regular expression pattern are interpreted by Perl as modifier
1475515837flags for the regex. One of the ones you specified is invalid. One way
1475615838this can happen is if you didn't put in white space between the end of
1475715839the regex and a following alphanumeric operator:
1475815840
1475915841=end original
1476015842
1476115843(F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への
1476215844修飾子フラグと解釈されます。
1476315845その一つが不正でした。
1476415846これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に
1476515847空白を置いていない場合です:
1476615848
1476715849 if ($a =~ /foo/and $bar == 3) { ... }
1476815850
1476915851=begin original
1477015852
1477115853The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises
1477215854this error. Likely what was meant instead was:
1477315855
1477415856=end original
1477515857
1477615858C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。
1477715859おそらくしたかったのは以下のようなことでしょう:
1477815860
1477915861 if ($a =~ /foo/ and $bar == 3) { ... }
1478015862
1478115863=item Unknown "re" subpragma '%s' (known ones are: %s)
1478215864
1478315865=begin original
1478415866
1478515867(W) You tried to use an unknown subpragma of the "re" pragma.
1478615868
1478715869=end original
1478815870
1478915871(W) "re" プラグマの、不明なサブプラグマを使おうとしました。
1479015872
1479115873=item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in
1479215874m/%s/
1479315875
1479415876=begin original
1479515877
1479615878(F) The condition part of a (?(condition)if-clause|else-clause) construct
1479715879is not known. The condition must be one of the following:
1479815880
1479915881=end original
1480015882
1480115883(?(...)if-clause|else-clause) 構造の条件部が不明です。
1480215884条件は以下のいずれかでなければなりません。
1480315885
14804 (1) (2) ... true if 1st, 2nd, etc., capture matched
15886 (1) (2) ... true if 1st, 2nd, etc., capture matched
14805 (<NAME>) ('NAME') true if named capture matched
15887 (<NAME>) ('NAME') true if named capture matched
14806 (?=...) (?<=...) true if subpattern matches
15888 (?=...) (?<=...) true if subpattern matches
14807 (?!...) (?<!...) true if subpattern fails to match
15889 (*pla:...) (*plb:...) true if subpattern matches; also
14808 (?{ CODE }) true if code returns a true value
15890 (*positive_lookahead:...)
14809 (R) true if evaluating inside recursion
15891 (*positive_lookbehind:...)
14810 (R1) (R2) ... true if directly inside capture group 1, 2, etc.
15892 (*nla:...) (*nlb:...) true if subpattern fails to match; also
14811 (R&NAME) true if directly inside named capture
15893 (*negative_lookahead:...)
14812 (DEFINE) always false; for defining named subpatterns
15894 (*negative_lookbehind:...)
15895 (?{ CODE }) true if code returns a true value
15896 (R) true if evaluating inside recursion
15897 (R1) (R2) ... true if directly inside capture group 1, 2,
15898 etc.
15899 (R&NAME) true if directly inside named capture
15900 (DEFINE) always false; for defining named subpatterns
1481315901
1481415902=begin original
1481515903
1481615904The S<<-- HERE> shows whereabouts in the regular expression the problem was
1481715905discovered. See L<perlre>.
1481815906
1481915907=end original
1482015908
1482115909S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1482215910L<perlre> を参照してください。
1482315911
1482415912=item Unknown Unicode option letter '%c'
1482515913
1482615914=begin original
1482715915
14828(F) You specified an unknown Unicode option. See L<perlrun> documentation
15916(F) You specified an unknown Unicode option. See
14829of the C<-C> switch for the list of known options.
15917L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch
15918for the list of known options.
1483015919
1483115920=end original
1483215921
1483315922(F) 不明な Unicode オプションを指定しました。
14834オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを
15923オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の
14835参照してください。
15924C<-C> オプションを参照してください。
1483615925
1483715926=item Unknown Unicode option value %d
1483815927
1483915928=begin original
1484015929
14841(F) You specified an unknown Unicode option. See L<perlrun> documentation
15930(F) You specified an unknown Unicode option. See
14842of the C<-C> switch for the list of known options.
15931L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch
15932for the list of known options.
1484315933
1484415934=end original
1484515935
1484615936(F) 不明な Unicode オプションを指定しました。
14847オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを
15937オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の
14848参照してください。
15938C<-C> オプションを参照してください。
1484915939
1485015940=item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/
1485115941
1485215942=begin original
1485315943
1485415944(F) You either made a typo or have incorrectly put a C<*> quantifier
1485515945after an open brace in your pattern. Check the pattern and review
1485615946L<perlre> for details on legal verb patterns.
1485715947
1485815948=end original
1485915949
1486015950(F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に
1486115951C<*> 量指定子を書いたかどちらかです。
1486215952パターンをチェックして、有効な動詞パターンの詳細については
1486315953L<perlre> を再チェックしてください。
1486415954
1486515955=item Unknown warnings category '%s'
1486615956
1486715957=begin original
1486815958
1486915959(F) An error issued by the C<warnings> pragma. You specified a warnings
1487015960category that is unknown to perl at this point.
1487115961
1487215962=end original
1487315963
1487415964(F) C<warnings> プラグマによるエラーです。
1487515965現在のところ perl が知らない警告カテゴリを指定しました。
1487615966
1487715967=begin original
1487815968
1487915969Note that if you want to enable a warnings category registered by a
1488015970module (e.g. C<use warnings 'File::Find'>), you must have loaded this
1488115971module first.
1488215972
1488315973=end original
1488415974
1488515975(C<use warnings 'File::Find'> のように)モジュールによって登録される
1488615976警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が
1488715977あることに注意してください。
1488815978
1488915979=item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/
1489015980
1489115981=begin original
1489215982
1489315983(F) The brackets around a character class must match. If you wish to
1489415984include a closing bracket in a character class, backslash it or put it
1489515985first. The S<<-- HERE> shows whereabouts in the regular expression the
1489615986problem was discovered. See L<perlre>.
1489715987
1489815988=end original
1489915989
1490015990(F) 文字クラスの周りの大かっこが一致していません。
1490115991文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか
1490215992先頭に置いてください。
1490315993S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1490415994L<perlre> を参照してください。
1490515995
1490615996=item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/
1490715997
1490815998=item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/
1490915999
1491016000=begin original
1491116001
1491216002(F) Unbackslashed parentheses must always be balanced in regular
1491316003expressions. If you're a vi user, the % key is valuable for finding
1491416004the matching parenthesis. The S<<-- HERE> shows whereabouts in the
1491516005regular expression the problem was discovered. See L<perlre>.
1491616006
1491716007=end original
1491816008
1491916009(F) 正規表現の中ではバックスラッシュのついていないかっこは常に
1492016010対応していなければなりません。
1492116011vi ユーザーであれば、% キーが対応するかっこの発見に有用です。
1492216012S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1492316013L<perlre> を参照してください。
1492416014
1492516015=item Unmatched right %s bracket
1492616016
1492716017=begin original
1492816018
1492916019(F) The lexer counted more closing curly or square brackets than opening
1493016020ones, so you're probably missing a matching opening bracket. As a
1493116021general rule, you'll find the missing one (so to speak) near the place
1493216022you were last editing.
1493316023
1493416024=end original
1493516025
1493616026(F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを
1493716027見つけました; おそらく対応する開きかっこを忘れたのでしょう。
1493816028一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した
1493916029場所の近くにあります。
1494016030
1494116031=item Unquoted string "%s" may clash with future reserved word
1494216032
1494316033=begin original
1494416034
1494516035(W reserved) You used a bareword that might someday be claimed as a
1494616036reserved word. It's best to put such a word in quotes, or capitalize it
1494716037somehow, or insert an underbar into it. You might also declare it as a
1494816038subroutine.
1494916039
1495016040=end original
1495116041
1495216042(W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。
1495316043そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を
1495416044いれるかしてください。
1495516045その裸の単語は、サブルーチンとして宣言することも可能です。
1495616046
1495716047=item Unrecognized character %s; marked by S<<-- HERE> after %s near column
1495816048%d
1495916049
1496016050=begin original
1496116051
1496216052(F) The Perl parser has no idea what to do with the specified character
1496316053in your Perl script (or eval) near the specified column. Perhaps you
1496416054tried to run a compressed script, a binary program, or a directory as
1496516055a Perl program.
1496616056
1496716057=end original
1496816058
1496916059(F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに
1497016060出てきた文字に対してどうすればよいか分かりませんでした。
1497116061おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを
1497216062Perl プログラムとして実行しようとしたのでしょう。
1497316063
1497416064=item Unrecognized escape \%c in character class in regex; marked by
1497516065S<<-- HERE> in m/%s/
1497616066
1497716067=begin original
1497816068
1497916069(F) You used a backslash-character combination which is not
1498016070recognized by Perl inside character classes. This is a fatal
1498116071error when the character class is used within C<(?[ ])>.
1498216072
1498316073=end original
1498416074
1498516075(F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。
1498616076これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。
1498716077
1498816078=item Unrecognized escape \%c in character class passed through in regex;
1498916079marked by S<<-- HERE> in m/%s/
1499016080
1499116081=begin original
1499216082
1499316083(W regexp) You used a backslash-character combination which is not
1499416084recognized by Perl inside character classes. The character was
1499516085understood literally, but this may change in a future version of Perl.
1499616086The S<<-- HERE> shows whereabouts in the regular expression the
1499716087escape was discovered.
1499816088
1499916089=end original
1500016090
1500116091(W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の
1500216092組み合わせを使いました。
1500316093文字はリテラルに処理されますが、将来のバージョンの Perl では
1500416094変更されるかもしれません。
1500516095S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
1500616096
1500716097=item Unrecognized escape \%c passed through
1500816098
1500916099=begin original
1501016100
1501116101(W misc) You used a backslash-character combination which is not
1501216102recognized by Perl. The character was understood literally, but this may
1501316103change in a future version of Perl.
1501416104
1501516105=end original
1501616106
1501716107(W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが
1501816108使われています。
1501916109文字はリテラルに処理されますが、将来のバージョンの Perl では
1502016110変更されるかもしれません。
1502116111
1502216112=item Unrecognized escape \%s passed through in regex; marked by
1502316113S<<-- HERE> in m/%s/
1502416114
1502516115=begin original
1502616116
1502716117(W regexp) You used a backslash-character combination which is not
1502816118recognized by Perl. The character(s) were understood literally, but
1502916119this may change in a future version of Perl. The S<<-- HERE> shows
1503016120whereabouts in the regular expression the escape was discovered.
1503116121
1503216122=end original
1503316123
1503416124(W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが
1503516125使われています。
1503616126文字はリテラルに処理されますが、将来のバージョンの Perl では
1503716127変更されるかもしれません。
1503816128S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。
1503916129
1504016130=item Unrecognized signal name "%s"
1504116131
1504216132=begin original
1504316133
1504416134(F) You specified a signal name to the kill() function that was not
1504516135recognized. Say C<kill -l> in your shell to see the valid signal names
1504616136on your system.
1504716137
1504816138=end original
1504916139
1505016140(F) kill() 関数に、認識できないシグナル名を指定しました。
1505116141お使いのシステムで使用可能なシグナル名を調べるには、
1505216142シェル上で C<kill -l> などとしてください。
1505316143
1505416144=item Unrecognized switch: -%s (-h will show valid options)
1505516145
1505616146=begin original
1505716147
1505816148(F) You specified an illegal option to Perl. Don't do that. (If you
1505916149think you didn't do that, check the #! line to see if it's supplying the
1506016150bad switch on your behalf.)
1506116151
1506216152=end original
1506316153
1506416154(F) Perl に間違ったオプションを指定しました。
1506516155これを行なってはいけません。
1506616156(指定したつもりがないのであれば、#! 行に間違ったオプションが
1506716157スイッチが指定されていないかをチェックしてください。)
1506816158
1506916159=item Unsuccessful %s on filename containing newline
1507016160
1507116161=begin original
1507216162
1507316163(W newline) A file operation was attempted on a filename, and that
1507416164operation failed, PROBABLY because the filename contained a newline,
1507516165PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>.
1507616166
1507716167=end original
1507816168
1507916169(W newline) あるファイル名に対して、ファイル操作を行ないましたが、
1508016170失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、
1508116171「おそらく」 chomp() するのを忘れたのでしょう。 
1508216172L<perlfunc/chomp> を参照してください。
1508316173
1508416174=item Unsupported directory function "%s" called
1508516175
1508616176=begin original
1508716177
1508816178(F) Your machine doesn't support opendir() and readdir().
1508916179
1509016180=end original
1509116181
1509216182(F) このマシンでは、opendir() や readdir() がサポートされていません。
1509316183
1509416184=item Unsupported function %s
1509516185
1509616186=begin original
1509716187
1509816188(F) This machine doesn't implement the indicated function, apparently.
1509916189At least, Configure doesn't think so.
1510016190
1510116191=end original
1510216192
1510316193(F) このマシンでは、表示した関数は実装されていません。
1510416194少なくとも、Configure はそう判断しました。
1510516195
1510616196=item Unsupported function fork
1510716197
1510816198=begin original
1510916199
1511016200(F) Your version of executable does not support forking.
1511116201
1511216202=end original
1511316203
1511416204(F) この実行ファイルは fork に対応していません。
1511516205
1511616206=begin original
1511716207
1511816208Note that under some systems, like OS/2, there may be different flavors
1511916209of Perl executables, some of which may support fork, some not. Try
1512016210changing the name you call Perl by to C<perl_>, C<perl__>, and so on.
1512116211
1512216212=end original
1512316213
1512416214OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、
1512516215fork に対応しているものとしていないものがあります。
1512616216Perl を呼び出す時の名前を C<perl_>, C<perl__> のように
1512716217変えてみてください。
1512816218
1512916219=item Unsupported script encoding %s
1513016220
1513116221=begin original
1513216222
1513316223(F) Your program file begins with a Unicode Byte Order Mark (BOM) which
1513416224declares it to be in a Unicode encoding that Perl cannot read.
1513516225
1513616226=end original
1513716227
1513816228(F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを
1513916229宣言する Unicode Byte Order Mark (BOM) で始まっています。
1514016230
1514116231=item Unsupported socket function "%s" called
1514216232
1514316233=begin original
1514416234
1514516235(F) Your machine doesn't support the Berkeley socket mechanism, or at
1514616236least that's what Configure thought.
1514716237
1514816238=end original
1514916239
1515016240(F) このマシンでは、Berkeley ソケット機構がサポートされていないか、
1515116241少なくとも Configure がそう判断しました。
1515216242
16243=item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/
16244
16245=begin original
16246
16247(F) You used a pattern of the form C<(*...:...)> but did not terminate
16248the pattern with a C<)>. Fix the pattern and retry.
16249
16250=end original
16251
16252(F) C<(*...:...)> 形式のパターンを使いましたが、パターンが
16253C<)> で終端されていません。
16254パターンを修正して再挑戦してください。
16255
1515316256=item Unterminated attribute list
1515416257
1515516258=begin original
1515616259
1515716260(F) The lexer found something other than a simple identifier at the
1515816261start of an attribute, and it wasn't a semicolon or the start of a
1515916262block. Perhaps you terminated the parameter list of the previous
1516016263attribute too soon. See L<attributes>.
1516116264
1516216265=end original
1516316266
1516416267(F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの
1516516268開始でないものを発見しました。
1516616269おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。
1516716270L<attributes> を参照してください。
1516816271
1516916272=item Unterminated attribute parameter in attribute list
1517016273
1517116274=begin original
1517216275
1517316276(F) The lexer saw an opening (left) parenthesis character while parsing
1517416277an attribute list, but the matching closing (right) parenthesis
1517516278character was not found. You may need to add (or remove) a backslash
1517616279character to get your parentheses to balance. See L<attributes>.
1517716280
1517816281=end original
1517916282
1518016283(F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを
1518116284発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。
1518216285かっこのバランスを取るために、バックスラッシュを追加(または削除)する
1518316286必要があるでしょう。
1518416287L<attributes> を参照してください。
1518516288
1518616289=item Unterminated compressed integer
1518716290
1518816291=begin original
1518916292
1519016293(F) An argument to unpack("w",...) was incompatible with the BER
1519116294compressed integer format and could not be converted to an integer.
1519216295See L<perlfunc/pack>.
1519316296
1519416297=end original
1519516298
1519616299(F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、
1519716300整数に変換できませんでした。
1519816301L<perlfunc/pack> を参照してください。
1519916302
16303=item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/
16304
16305=begin original
16306
16307(F) You used a pattern of the form C<(*...)> but did not terminate
16308the pattern with a C<)>. Fix the pattern and retry.
16309
16310=end original
16311
16312(F) C<(*...)> 形式のパターンを使いましたが、パターンが
16313C<)> で終端されていません。
16314パターンを修正して再挑戦してください。
16315
1520016316=item Unterminated delimiter for here document
1520116317
1520216318=begin original
1520316319
1520416320(F) This message occurs when a here document label has an initial
1520516321quotation mark but the final quotation mark is missing. Perhaps
1520616322you wrote:
1520716323
1520816324=end original
1520916325
1521016326(F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども
1521116327末尾のクォートがありません。
1521216328おそらく以下のように書いたのでしょう:
1521316329
1521416330 <<"foo
1521516331
1521616332=begin original
1521716333
1521816334instead of:
1521916335
1522016336=end original
1522116337
1522216338次のように書いてください:
1522316339
1522416340 <<"foo"
1522516341
1522616342=item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/
1522716343
1522816344=item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/
1522916345
1523016346=begin original
1523116347
1523216348(F) In a regular expression, you had a C<\g> that wasn't followed by a
1523316349proper group reference. In the case of C<\g{>, the closing brace is
1523416350missing; otherwise the C<\g> must be followed by an integer. Fix the
1523516351pattern and retry.
1523616352
1523716353=end original
1523816354
1523916355(F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。
1524016356C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が
1524116357引き続かなければ鳴りません。
1524216358パターンを修正して再挑戦してください。
1524316359
1524416360=item Unterminated <> operator
1524516361
1524616362=begin original
1524716363
1524816364(F) The lexer saw a left angle bracket in a place where it was expecting
1524916365a term, so it's looking for the corresponding right angle bracket, and
1525016366not finding it. Chances are you left some needed parentheses out
1525116367earlier in the line, and you really meant a "less than".
1525216368
1525316369=end original
1525416370
1525516371(F) 項が必要とされるところで、開き山かっこが見つけたため、
1525616372対応する閉じ山かっこを探しましたが、見つかりませんでした。
1525716373可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を
1525816374表したかった場合が考えられます。
1525916375
1526016376=item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in
1526116377m/%s/
1526216378
1526316379=begin original
1526416380
1526516381(F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate
1526616382the pattern with a C<)>. Fix the pattern and retry.
1526716383
1526816384=end original
1526916385
1527016386(F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で
1527116387終わっていません。
1527216388パターンを修正して再挑戦してください。
1527316389
1527416390=item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/
1527516391
1527616392=begin original
1527716393
1527816394(F) You used a pattern of the form C<(*VERB)> but did not terminate
1527916395the pattern with a C<)>. Fix the pattern and retry.
1528016396
1528116397=end original
1528216398
1528316399(F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で
1528416400終わっていません。
1528516401パターンを修正して再挑戦してください。
1528616402
1528716403=item untie attempted while %d inner references still exist
1528816404
1528916405=begin original
1529016406
1529116407(W untie) A copy of the object returned from C<tie> (or C<tied>) was
1529216408still valid when C<untie> was called.
1529316409
1529416410=end original
1529516411
1529616412(W untie) C<tie> (または C<tied>) から返されたオブジェクトが、
1529716413C<untie> が呼び出されたときにまだ有効でした。
1529816414
1529916415=item Usage: POSIX::%s(%s)
1530016416
1530116417=begin original
1530216418
1530316419(F) You called a POSIX function with incorrect arguments.
1530416420See L<POSIX/FUNCTIONS> for more information.
1530516421
1530616422=end original
1530716423
1530816424(F) POSIX 関数を間違った引数で呼び出しました。
1530916425さらなる情報については L<POSIX/FUNCTIONS> を参照してください。
1531016426
1531116427=item Usage: Win32::%s(%s)
1531216428
1531316429=begin original
1531416430
1531516431(F) You called a Win32 function with incorrect arguments.
1531616432See L<Win32> for more information.
1531716433
1531816434=end original
1531916435
1532016436(F) Win32 関数を間違った引数で呼び出しました。
1532116437更なる情報については L<Win32> を参照してください。
1532216438
1532316439=item $[ used in %s (did you mean $] ?)
1532416440
1532516441=begin original
1532616442
1532716443(W syntax) You used C<$[> in a comparison, such as:
1532816444
1532916445=end original
1533016446
1533116447(W syntax) 以下のように、比較で C<$[> を使いました:
1533216448
1533316449 if ($[ > 5.006) {
1533416450 ...
1533516451 }
1533616452
1533716453=begin original
1533816454
1533916455You probably meant to use C<$]> instead. C<$[> is the base for indexing
1534016456arrays. C<$]> is the Perl version number in decimal.
1534116457
1534216458=end original
1534316459
1534416460おそらく C<$]> を使いたかったのでしょう。
1534516461C<$[> は配列の基数です。
1534616462C<$]> は Perl のバージョン番号の 10 進数です。
1534716463
1534816464=item Use "%s" instead of "%s"
1534916465
1535016466=begin original
1535116467
1535216468(F) The second listed construct is no longer legal. Use the first one
1535316469instead.
1535416470
1535516471=end original
1535616472
1535716473(F) 2 番目に挙げられた構文はもはや有効ではありません。
1535816474代わりに 1 番目のものを使ってください。
1535916475
1536016476=item Useless assignment to a temporary
1536116477
1536216478=begin original
1536316479
1536416480(W misc) You assigned to an lvalue subroutine, but what
1536516481the subroutine returned was a temporary scalar about to
1536616482be discarded, so the assignment had no effect.
1536716483
1536816484=end original
1536916485
1537016486(W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは
1537116487捨てられようとする一時的なスカラなので、代入は向こうです。
1537216488
1537316489=item Useless (?-%s) - don't use /%s modifier in regex; marked by
1537416490S<<-- HERE> in m/%s/
1537516491
1537616492=begin original
1537716493
1537816494(W regexp) You have used an internal modifier such as (?-o) that has no
1537916495meaning unless removed from the entire regexp:
1538016496
1538116497=end original
1538216498
1538316499(W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ
1538416500意味がありません:
1538516501
1538616502 if ($string =~ /(?-o)$pattern/o) { ... }
1538716503
1538816504=begin original
1538916505
1539016506must be written as
1539116507
1539216508=end original
1539316509
1539416510これは以下のように書かなければなりません:
1539516511
1539616512 if ($string =~ /$pattern/) { ... }
1539716513
1539816514=begin original
1539916515
1540016516The S<<-- HERE> shows whereabouts in the regular expression the problem was
1540116517discovered. See L<perlre>.
1540216518
1540316519=end original
1540416520
1540516521S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1540616522L<perlre> を参照してください。
1540716523
1540816524=item Useless localization of %s
1540916525
1541016526=begin original
1541116527
1541216528(W syntax) The localization of lvalues such as C<local($x=10)> is legal,
1541316529but in fact the local() currently has no effect. This may change at
1541416530some point in the future, but in the meantime such code is discouraged.
1541516531
1541616532=end original
1541716533
1541816534(W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、
1541916535実際のところ local() は現在のところ何の効果もありません。
1542016536これは将来変更されるかもしれませんが、今のところはこのようなコードは
1542116537勧められません。
1542216538
1542316539=item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in
1542416540m/%s/
1542516541
1542616542=begin original
1542716543
1542816544(W regexp) You have used an internal modifier such as (?o) that has no
1542916545meaning unless applied to the entire regexp:
1543016546
1543116547=end original
1543216548
1543316549(W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ
1543416550意味がありません:
1543516551
1543616552 if ($string =~ /(?o)$pattern/) { ... }
1543716553
1543816554=begin original
1543916555
1544016556must be written as
1544116557
1544216558=end original
1544316559
1544416560これは以下のように書かなければなりません:
1544516561
1544616562 if ($string =~ /$pattern/o) { ... }
1544716563
1544816564=begin original
1544916565
1545016566The S<<-- HERE> shows whereabouts in the regular expression the problem was
1545116567discovered. See L<perlre>.
1545216568
1545316569=end original
1545416570
1545516571S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1545616572L<perlre> を参照してください。
1545716573
1545816574=item Useless use of attribute "const"
1545916575
1546016576=begin original
1546116577
1546216578(W misc) The C<const> attribute has no effect except
1546316579on anonymous closure prototypes. You applied it to
1546416580a subroutine via L<attributes.pm|attributes>. This is only useful
1546516581inside an attribute handler for an anonymous subroutine.
1546616582
1546716583=end original
1546816584
1546916585(W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。
1547016586あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。
1547116587これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。
1547216588
1547316589=item Useless use of /d modifier in transliteration operator
1547416590
1547516591=begin original
1547616592
1547716593(W misc) You have used the /d modifier where the searchlist has the
1547816594same length as the replacelist. See L<perlop> for more information
1547916595about the /d modifier.
1548016596
1548116597=end original
1548216598
1548316599(W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。
1548416600/d 修飾子に関するさらなる情報については L<perlop> を参照してください。
1548516601
1548616602=item Useless use of \E
1548716603
1548816604=begin original
1548916605
1549016606(W misc) You have a \E in a double-quotish string without a C<\U>,
1549116607C<\L> or C<\Q> preceding it.
1549216608
1549316609=end original
1549416610
1549516611(W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく
1549616612\E を書きました。
1549716613
1549816614=item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/
1549916615
1550016616=begin original
1550116617
1550216618(W regexp) You specified something like these:
1550316619
1550416620=end original
1550516621
1550616622(W regexp) 次のようなものを指定しました:
1550716623
1550816624 qr/a{3}?/
1550916625 qr/b{1,1}+/
1551016626
1551116627=begin original
1551216628
1551316629The C<"?"> and C<"+"> don't have any effect, as they modify whether to
1551416630match more or fewer when there is a choice, and by specifying to match
1551516631exactly a given numer, there is no room left for a choice.
1551616632
1551716633=end original
1551816634
1551916635C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に
1552016636より多くまたは少なく変更します。
1552116637そして指定された数に正確にマッチングすることを指定されているので、
1552216638選択の余地はありません。
1552316639
1552416640=item Useless use of %s in void context
1552516641
1552616642=begin original
1552716643
1552816644(W void) You did something without a side effect in a context that does
1552916645nothing with the return value, such as a statement that doesn't return a
1553016646value from a block, or the left side of a scalar comma operator. Very
1553116647often this points not to stupidity on your part, but a failure of Perl
1553216648to parse your program the way you thought it would. For example, you'd
1553316649get this if you mixed up your C precedence with Python precedence and
1553416650said
1553516651
1553616652=end original
1553716653
1553816654(W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように
1553916655返却値の無い文脈で、副作用のないことを行ないました。
1554016656多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの
1554116657意向を汲み取った解釈ができないことで起こります。
1554216658たとえば、みなさんが C の優先順位を Python の優先順位と混同して
1554316659以下のようにした場合です:
1554416660
1554516661 $one, $two = 1, 2;
1554616662
1554716663=begin original
1554816664
1554916665when you meant to say
1555016666
1555116667=end original
1555216668
1555316669以下のようにするべきです。
1555416670
1555516671 ($one, $two) = (1, 2);
1555616672
1555716673=begin original
1555816674
1555916675Another common error is to use ordinary parentheses to construct a list
1556016676reference when you should be using square or curly brackets, for
1556116677example, if you say
1556216678
1556316679=end original
1556416680
1556516681その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを
1556616682使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた
1556716683場合です:
1556816684
1556916685 $array = (1,2);
1557016686
1557116687=begin original
1557216688
1557316689when you should have said
1557416690
1557516691=end original
1557616692
1557716693以下のように書くべきです:
1557816694
1557916695 $array = [1,2];
1558016696
1558116697=begin original
1558216698
1558316699The square brackets explicitly turn a list value into a scalar value,
1558416700while parentheses do not. So when a parenthesized list is evaluated in
1558516701a scalar context, the comma is treated like C's comma operator, which
1558616702throws away the left argument, which is not what you want. See
1558716703L<perlref> for more on this.
1558816704
1558916705=end original
1559016706
1559116707角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。
1559216708そのため、かっこで括られたリストをスカラコンテキストで評価すると、
1559316709カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます;
1559416710これは望んでいることではないでしょう。
1559516711これに関するさらなる情報については L<perlref> を参照してください。
1559616712
1559716713=begin original
1559816714
1559916715This warning will not be issued for numerical constants equal to 0 or 1
1560016716since they are often used in statements like
1560116717
1560216718=end original
1560316719
1560416720この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、
1560516721しばしば以下のような文で使われるからです:
1560616722
1560716723 1 while sub_with_side_effects();
1560816724
1560916725=begin original
1561016726
1561116727String constants that would normally evaluate to 0 or 1 are warned
1561216728about.
1561316729
1561416730=end original
1561516731
1561616732通常 0 か 1 に評価される文字列定数は警告されます。
1561716733
1561816734=item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/
1561916735
1562016736=begin original
1562116737
1562216738(W regexp) The C<p> modifier cannot be turned off once set. Trying to do
1562316739so is futile.
1562416740
1562516741=end original
1562616742
1562716743(W regexp)
1562816744C<p> 修飾子は、一度設定したものをオフにはできません。
1562916745そうしようとしても無効です。
1563016746
1563116747=item Useless use of "re" pragma
1563216748
1563316749=begin original
1563416750
1563516751(W) You did C<use re;> without any arguments. That isn't very useful.
1563616752
1563716753=end original
1563816754
1563916755(W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。
1564016756
1564116757=item Useless use of sort in scalar context
1564216758
1564316759=begin original
1564416760
1564516761(W void) You used sort in scalar context, as in :
1564616762
1564716763=end original
1564816764
1564916765(W void) こんな風に、ソートをスカラコンテキストで使いました:
1565016766
1565116767 my $x = sort @y;
1565216768
1565316769=begin original
1565416770
1565516771This is not very useful, and perl currently optimizes this away.
1565616772
1565716773=end original
1565816774
1565916775これは全く便利ではないので、perl は現在のところ最適化して取り除きます。
1566016776
1566116777=item Useless use of %s with no values
1566216778
1566316779=begin original
1566416780
1566516781(W syntax) You used the push() or unshift() function with no arguments
1566616782apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't
1566716783usually have any effect on the array, so is completely useless. It's
1566816784possible in principle that push(@tied_array) could have some effect
1566916785if the array is tied to a class which implements a PUSH method. If so,
1567016786you can write it as C<push(@tied_array,())> to avoid this warning.
1567116787
1567216788=end original
1567316789
1567416790(W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や
1567516791unshift() 関数を、配列以外の引数なしで使いました。
1567616792これは普通は配列に何の影響も与えないので、完全に無意味です。
1567716793理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては
1567816794push(@tied_array) が何らかの効果を持つ可能性はあります。
1567916795もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を
1568016796回避できます。
1568116797
1568216798=item "use" not allowed in expression
1568316799
1568416800=begin original
1568516801
1568616802(F) The "use" keyword is recognized and executed at compile time, and
1568716803returns no useful value. See L<perlmod>.
1568816804
1568916805=end original
1569016806
1569116807(F) "use" キーワードは、コンパイル時に認識され、実行されるもので、
1569216808意味のある値を返しません。
1569316809L<perlmod> を参照してください。
1569416810
15695=item Use of assignment to $[ is deprecated
16811=item Use of bare << to mean <<"" is forbidden
1569616812
1569716813=begin original
1569816814
15699(D deprecated) The C<$[> variable (index of the first element in an array)
16815(F) You are now required to use the explicitly quoted form if you wish
15700is deprecated. See L<perlvar/"$[">.
16816to use an empty line as the terminator of the here-document.
1570116817
1570216818=end original
1570316819
15704(D deprecated) C<$[> 変数 (配列の最初の要素のイデックス) 廃止予定です。
16820(F) ヒアドキュメトの終端子として空行を使いたいときに、明示的に
15705L<perlvar/"$["> 参照てください
16821クォートされた形使うことが必要になりま
1570616822
15707=item Use of bare << to mean <<"" is deprecated
15708
1570916823=begin original
1571016824
15711(D deprecated) You are now encouraged to use the explicitly quoted
16825Use of a bare terminator was deprecated in Perl 5.000, and is a fatal
15712form if you wish to use an empty line as the terminator of the
16826error as of Perl 5.28.
15713here-document.
1571416827
1571516828=end original
1571616829
15717(D deprecated) ヒアドキュメントの終端子とし空行を
16830の終端子は Perl 5.000 で廃止予定になっいて、
15718使いたいときには、明示にクォトされた形を使うことを推奨しています。
16831Perl 5.28 から致命エラす。
1571916832
1572016833=item Use of /c modifier is meaningless in s///
1572116834
1572216835=begin original
1572316836
1572416837(W regexp) You used the /c modifier in a substitution. The /c
1572516838modifier is not presently meaningful in substitutions.
1572616839
1572716840=end original
1572816841
1572916842(W regexp) 置換で /c 修飾子を使いました。
1573016843/c は置換では現在のところ無意味です。
1573116844
1573216845=item Use of /c modifier is meaningless without /g
1573316846
1573416847=begin original
1573516848
1573616849(W regexp) You used the /c modifier with a regex operand, but didn't
1573716850use the /g modifier. Currently, /c is meaningful only when /g is
1573816851used. (This may change in the future.)
1573916852
1574016853=end original
1574116854
1574216855(W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は
1574316856使いませんでした。
1574416857現在のところ、/c は /g が使われたときにのみ有効です。
1574516858(これは将来変更されるかもしれません。)
1574616859
15747=item Use of code point 0x%s is deprecated; the permissible max is 0x%s
16860=item Use of code point 0x%s is not allowed; the permissible max is 0x%X
1574816861
16862=item Use of code point 0x%s is not allowed; the permissible max is 0x%X
16863in regex; marked by <-- HERE in m/%s/
16864
1574916865=begin original
1575016866
15751(D deprecated) You used a code point that will not be allowed in a
16867(F) You used a code point that is not allowed, because it is too large.
15752future perl version, because it is too large. Unicode only allows code
16868Unicode only allows code points up to 0x10FFFF, but Perl allows much
15753points up to 0x10FFFF, but Perl allows much larger ones. However, the
16869larger ones. Earlier versions of Perl allowed code points above IV_MAX
15754largest possible ones break the perl interpreter in some constructs,
16870(0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms),
15755including causing it to hang in a few cases. The known problem areas
16871however, this could possibly break the perl interpreter in some constructs,
15756are in C<tr///>, regular expression pattern matching using quantifiers,
16872including causing it to hang in a few cases.
15757and as the upper limits in loops.
1575816873
1575916874=end original
1576016875
15761(D deprecated) 大きすぎるので将来の perl のバージョンで許されない
16876(F) 大きすぎるので許されない符号位置を使いました。
15762符号位置を使いました。
1576316877Unicode は 0x10FFFF までだけの符号位置を許していますが、
15764Perl は遙かに大きいの許します。
16878Perl は遙かに大きい許します。
15765しかし、可能な最大値は一部構文で perl インタプリタを壊し、
16879以前バージョンの Perl
15766場合によってハングアプを引き起こします。
16880IV_MAX (32 ビットシステムで 0x7FFFFFF、64 ビトシステムでは
15767知られている問題のある部分は
168810x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、
15768C<tr///>, 量指定子を使った正規表現パターマッチング
16882これは一部の構文で perl タプリタを壊すことがあり
15769そしルーの上限です。
16883場合によっはハングアップすることがありました
1577016884
1577116885=begin original
1577216886
1577316887If your code is to run on various platforms, keep in mind that the upper
1577416888limit depends on the platform. It is much larger on 64-bit word sizes
1577516889than 32-bit ones.
1577616890
1577716891=end original
1577816892
1577916893コードが様々なプラットフォームで実行するためのものなら、
1578016894上限がプラットフォームに依存していることを心に留めておいてください。
157811689564 ビットワードサイズは 32 ビットよりも遙かに大きいです。
1578216896
15783=item Use of comma-less variable list is deprecated
15784
1578516897=begin original
1578616898
15787(D deprecated) The values you give to a format should be
16899The use of out of range code points was deprecated in Perl 5.24, and
15788separated by commas, not just aligned on a line.
16900became a fatal error in Perl 5.28.
1578916901
1579016902=end original
1579116903
15792(D deprecated) フォーマットに与えた値は単に行
16904範囲外の符号位置の使用は Perl 5.24 廃止予定になり、
15793並べるのくて、カンマで区切るべきです
16905Perl 5.28 致命的エラーにりました
1579416906
1579516907=item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior
1579616908
1579716909=begin original
1579816910
1579916911(S internal) The behavior of C<each()> after insertion is undefined;
1580016912it may skip items, or visit items more than once. Consider using
1580116913C<keys()> instead of C<each()>.
1580216914
1580316915=end original
1580416916
1580516917(S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを
1580616918読み飛ばしたり、複数回読んだりします。
1580716919C<each()> の代わりに C<keys()> を使うことを検討してください。
1580816920
1580916921=item Use of := for an empty attribute list is not allowed
1581016922
1581116923=begin original
1581216924
1581316925(F) The construction C<my $x := 42> used to parse as equivalent to
1581416926C<my $x : = 42> (applying an empty attribute list to C<$x>).
1581516927This construct was deprecated in 5.12.0, and has now been made a syntax
1581616928error, so C<:=> can be reclaimed as a new operator in the future.
1581716929
1581816930=end original
1581916931
1582016932(F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました
1582116933(C<$x> に空の属性リストを適用する)。
1582216934この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、
1582316935C<:=> は将来新しい演算子として再利用できます。
1582416936
1582516937=begin original
1582616938
1582716939If you need an empty attribute list, for example in a code generator, add
1582816940a space before the C<=>.
1582916941
1583016942=end original
1583116943
1583216944例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に
1583316945スペースを加えてください。
1583416946
1583516947=item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale
1583616948
1583716949=begin original
1583816950
1583916951(W locale) You are matching a regular expression using locale rules,
1584016952and the specified construct was encountered. This construct is only
1584116953valid for UTF-8 locales, which the current locale isn't. This doesn't
1584216954make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but
1584316955the results are likely to be wrong.
1584416956
1584516957=end original
1584616958
1584716959(W locale) ロケールの規則を使って正規表現のマッチングを行い、
1584816960指定した構文が出現しました。
1584916961この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。
1585016962これは意味がありません。
1585116963Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、
1585216964結果はおそらく間違ったものです。
1585316965
1585416966=item Use of freed value in iteration
1585516967
1585616968=begin original
1585716969
1585816970(F) Perhaps you modified the iterated array within the loop?
1585916971This error is typically caused by code like the following:
1586016972
1586116973=end original
1586216974
1586316975(F) おそらくループの中で反復される配列を変更したのでは?
1586416976このエラーは典型的には以下のようなコードで発生します:
1586516977
1586616978 @a = (3,4);
1586716979 @a = () for (1,2,@a);
1586816980
1586916981=begin original
1587016982
1587116983You are not supposed to modify arrays while they are being iterated over.
1587216984For speed and efficiency reasons, Perl internally does not do full
1587316985reference-counting of iterated items, hence deleting such an item in the
1587416986middle of an iteration causes Perl to see a freed value.
1587516987
1587616988=end original
1587716989
1587816990反復中の配列は変更してはいけないことになっています。
1587916991速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを
1588016992完全には数えていません; 従って反復中のアイテムのを削除すると Perl は
1588116993解放された値を見ることになります。
1588216994
15883=item Use of *glob{FILEHANDLE} is deprecated
15884
15885=begin original
15886
15887(D deprecated) You are now encouraged to use the shorter *glob{IO} form
15888to access the filehandle slot within a typeglob.
15889
15890=end original
15891
15892(D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、
15893より短い *glob{IO} の形を使うことを推奨されています。
15894
1589516995=item Use of /g modifier is meaningless in split
1589616996
1589716997=begin original
1589816998
1589916999(W regexp) You used the /g modifier on the pattern for a C<split>
1590017000operator. Since C<split> always tries to match the pattern
1590117001repeatedly, the C</g> has no effect.
1590217002
1590317003=end original
1590417004
1590517005(W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。
1590617006C<split> は常にパターンを繰り返しマッチングしようとするので、
1590717007C</g> は効果がありません。
1590817008
1590917009=item Use of "goto" to jump into a construct is deprecated
1591017010
1591117011=begin original
1591217012
1591317013(D deprecated) Using C<goto> to jump from an outer scope into an inner
1591417014scope is deprecated and should be avoided.
1591517015
1591617016=end original
1591717017
1591817018(D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を
1591917019使うことは廃止予定であり、避けるべきです。
1592017020
15921=item Use of inherited AUTOLOAD for non-method %s() is deprecated
15922
1592317021=begin original
1592417022
15925(D deprecated) As an (ahem) accidental feature, C<AUTOLOAD>
17023This was deprecated in Perl 5.12.
15926subroutines are looked up as methods (using the C<@ISA> hierarchy)
15927even when the subroutines to be autoloaded were called as plain
15928functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or
15929C<< $obj->bar() >>).
1593017024
1593117025=end original
1593217026
15933(D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、
17027これは Perl 5.12 で廃止予定になりました。
15934autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や
15935C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として
15936呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。
1593717028
17029=item Use of '%s' in \p{} or \P{} is deprecated because: %s
17030
1593817031=begin original
1593917032
15940This bug will be rectified in future by using method lookup only for
17033(D deprecated) Certain properties are deprecated by Unicode, and may
15941methods' C<AUTOLOAD>s. However, there is a significant base of existing
17034eventually be removed from the Standard, at which time Perl will follow
15942code that may be using the old behavior. So, as an interim step, Perl
17035along. In the meantime, this message is raised to notify you.
15943currently issues an optional warning when non-methods use inherited
15944C<AUTOLOAD>s.
1594517036
1594617037=end original
1594717038
15948バグ、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって
17039(D deprecated) 一部特性は Unicode によって廃止予定とされており、
15949将来修正される予定です。
17040最終的に標準から削除されるかもしれません; その時点 Perl も追随します。
15950しかし現在コード大部分は古い振る舞いを使っています。
17041今のところは通知ためにこメッセージが発生します。
15951それで、暫定的なステップとして、Perl は現在のところは、
15952メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を
15953発生させます。
1595417042
17043=item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed
17044
1595517045=begin original
1595617046
15957The simple rule is: Inheritance will not work when autoloading
17047(F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as
15958non-methods. The simple fix for old code is: In any module that used
17048methods (using the C<@ISA> hierarchy), even when the subroutines to be
15959to depend on inheriting C<AUTOLOAD> for non-methods from a base class
17049autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as
15960named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during
17050methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>).
15961startup.
1596217051
1596317052=end original
1596417053
15965単純規則は: 継承 autoload された非メソッドには動作しません。
17054(F) 偶発的仕様によって、C<AUTOLOAD> サブルーチン
15966古いコードを修正する簡単な方法は: C<BaseClass> という名前の基底クラスから
17055autoload されるサブルチンがメソッ(C<< Foo->bar() >>
15967非メソッドための継承した C<AUTOLOAD> に依存しているモジュールに対して、
17056C<< $obj->bar() >>) ではなく、普通関数 (C<Foo::bar()>) して
15968開始時 C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。
17057呼び出された場合も、(C<@ISA> 階層使って) メソッドとして検索してました
1596917058
1597017059=begin original
1597117060
15972In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);>
17061This was deprecated in Perl 5.004, and was made fatal in Perl 5.28.
15973you should remove AutoLoader from @ISA and change C<use AutoLoader;> to
15974C<use AutoLoader 'AUTOLOAD';>.
1597517062
1597617063=end original
1597717064
15978C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードは、
17065この機能は Perl 5.004 で廃止予定になり、Perl 5.28 致命的エラーになりました。
15979@ISA から AutoLoader を取り除いて、C<use AutoLoader;> を
15980C<use AutoLoader 'AUTOLOAD';> に変更するべきです。
1598117066
1598217067=item Use of %s in printf format not supported
1598317068
1598417069=begin original
1598517070
1598617071(F) You attempted to use a feature of printf that is accessible from
1598717072only C. This usually means there's a better way to do it in Perl.
1598817073
1598917074=end original
1599017075
1599117076(F) C でのみアクセス可能な printf の機能を使おうとしました。
1599217077これは普通 Perl で行うより良い方法があります。
1599317078
15994=item Use of %s is deprecated
17079=item Use of %s is not allowed in Unicode property wildcard
17080subpatterns in regex; marked by S<<-- HERE> in m/%s/
1599517081
1599617082=begin original
1599717083
15998(D deprecated) The construct indicated is no longer recommended for use,
17084(F) You were using a wildcard subpattern a Unicode property value, and
15999generally because there's a better way to do it, and also because the
17085the subpattern contained something that is illegal. Not all regular
16000old way has bad side effects.
17086expression capabilities are legal in such subpatterns, and this is one.
17087Rewrite your subppattern to not use the offending construct.
17088See L<perlunicode/Wildcards in Property Values>.
1600117089
1600217090=end original
1600317091
16004(D deprecated) 示した構文は、もはや使うことが推奨されません; 一般には
17092(F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か
16005っと良い方法あるからであり、た古方法は、悪い副作用があるからです
17093不正なれてました
17094このような部分パターンでは全ての正規表現機能が正当というわけではなく、
17095これはその一つです。
17096問題となっている構文を使わないように部分パターンを書き換えてください。
17097L<perlunicode/Wildcards in Property Values> を参照してください。
1600617098
16007=item Use of literal control characters in variable names is deprecated
16008
16009=item Use of literal non-graphic characters in variable names is deprecated
16010
16011=begin original
16012
16013(D deprecated) Using literal non-graphic (including control)
16014characters in the source to refer to the ^FOO variables, like C<$^X> and
16015C<${^GLOBAL_PHASE}> is now deprecated. (We use C<^X> and C<^G> here for
16016legibility. They actually represent the non-printable control
16017characters, code points 0x18 and 0x07, respectively; C<^A> would mean
16018the control character whose code point is 0x01.) This only affects
16019code like C<$\cT>, where C<\cT> is a control in the source code; C<${"\cT"}> and
16020C<$^T> remain valid. Things that are non-controls and also not graphic
16021are NO-BREAK SPACE and SOFT HYPHEN, which were previously only allowed
16022for historical reasons.
16023
16024=end original
16025
16026(D deprecated) C<$^X> や C<${^GLOBAL_PHASE}> のような ^FOO 変数を
16027参照するためにソース中にリテラルな (制御文字を含む) 非表示文字を使うのは
16028廃止予定になりました。
16029(ここでは読みやすさのために C<^X> や C<^G> を使っています。
16030これらは実際には非表示制御文字の符号位置
160310x18 と 0x07 です; C<^A> は符号位置 0x01 の制御文字を意味します。)
16032これは C<$\cT> のようなコードにのみ影響します;
16033ここで C<\cT> はソースコード中の制御文字です;
16034C<${"\cT"}> や C<$^T> は正当なままです。
16035非制御文字かつ非表示文字は NO-BREAK SPACE と SOFT HYPHEN です;
16036これらだけは歴史的な理由で許されていました。
16037
1603817099=item Use of -l on filehandle%s
1603917100
1604017101=begin original
1604117102
1604217103(W io) A filehandle represents an opened file, and when you opened the file
1604317104it already went past any symlink you are presumably trying to look for.
1604417105The operation returned C<undef>. Use a filename instead.
1604517106
1604617107=end original
1604717108
1604817109(F) ファイルはオープンされたファイルを表わすものであり、
1604917110ファイルをオープンしたときには、探しているシンボリックリンクは、
1605017111既に通り過ぎた後です。
1605117112この操作は C<undef> を返します。
1605217113代わりにファイル名を使ってください。
1605317114
16054=item Use of %s on a handle without * is deprecated
16055
16056=begin original
16057
16058(D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that scalar
16059happens to hold a typeglob, which means its filehandle will be tied. If
16060you mean to tie a handle, use an explicit * as in C<tie *$handle>.
16061
16062=end original
16063
16064(D deprecated) スカラに対して C<tie>, C<tied>, C<untie> を使いましたが、
16065スカラは型グロブを保持していて、そのファイルハンドルが tie されていることを
16066意味します。
16067ハンドルを tie することを意味しているなら、C<tie *$handle> のように
16068明示的に * を使ってください。
16069
16070=begin original
16071
16072This was a long-standing bug that was removed in Perl 5.16, as there was
16073no way to tie the scalar itself when it held a typeglob, and no way to
16074untie a scalar that had had a typeglob assigned to it. If you see this
16075message, you must be using an older version.
16076
16077=end original
16078
16079これは Perl 5.16 で取り除かれた長年残っていたバグで、
16080型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが
16081代入されているスカラを untie する方法がないというものでした。
16082このメッセージを見たなら、古いバージョンを使わなければなりません。
16083
1608417115=item Use of reference "%s" as array index
1608517116
1608617117=begin original
1608717118
1608817119(W misc) You tried to use a reference as an array index; this probably
1608917120isn't what you mean, because references in numerical context tend
1609017121to be huge numbers, and so usually indicates programmer error.
1609117122
1609217123=end original
1609317124
1609417125(W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく
1609517126望んでいることではないでしょう; なぜなら数値コンテキストでの
1609617127リファレンスはとても大きな数になることが多いので、普通はプログラマの
1609717128ミスを意味しています。
1609817129
1609917130=begin original
1610017131
1610117132If you really do mean it, explicitly numify your reference, like so:
1610217133C<$array[0+$ref]>. This warning is not given for overloaded objects,
1610317134however, because you can overload the numification and stringification
1610417135operators and then you presumably know what you are doing.
1610517136
1610617137=end original
1610717138
1610817139本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に
1610917140数値化してください。
1611017141しかし、この警告はオーバーロードされたオブジェクトでは発生しません;
1611117142数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると
1611217143仮定できるからです。
1611317144
16114=item Use of state $_ is experimental
17145=item Use of strings with code points over 0xFF as arguments to %s
17146operator is not allowed
1611517147
1611617148=begin original
1611717149
16118(S experimental::lexical_topic) Lexical $_ is an experimental feature and
17150(F) You tried to use one of the string bitwise operators (C<&> or C<|> or C<^> or
16119its behavior may change or even be removed in any future release of perl.
17151C<~>) on a string containing a code point over 0xFF. The string bitwise
16120See the explanation under L<perlvar/$_>.
17152operators treat their operands as strings of bytes, and values beyond
171530xFF are nonsensical in this context.
1612117154
1612217155=end original
1612317156
16124(S experimental::lexical_topic) レキシカルな $_ は実験的機能で、そ振る舞いは
17157(F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) 一つを
16125将来のリリースの perl で変更されたり削除されたりすかもせん
171580xFF を超え符号位置を含む文字列に使おうとしました
16126L<perlvar/$_> の説明参照してくださ
17159ビット単位文字列演算子はオペランドバイト文字列として
171600xFF を超える値はこの文脈では無意味です。
1612717161
16128=item Use of strings with code points over 0xFF as arguments to %s
17162=begin original
16129operator is deprecated
1613017163
17164Certain instances became fatal in Perl 5.28; others in perl 5.32.
17165
17166=end original
17167
17168一部は Perl 5.28 で致命的エラーになりました; 残りは perl 5.32 です。
17169
17170=item Use of strings with code points over 0xFF as arguments to vec is forbidden
17171
1613117172=begin original
1613217173
16133(D deprecated) You tried to use one of the string bitwise operators
17174(F) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS>
16134(C<&> or C<|> or C<^> or C<~>) on a string containing a code point over
17175on a string containing a code point over 0xFF, which is nonsensical here.
161350xFF. The string bitwise operators treat their operands as strings of
16136bytes, and values beyond 0xFF are nonsensical in this context.
1613717176
1613817177=end original
1613917178
16140(D deprecated) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを
17179(F) 0xFF を超える符号位置を含む文字列に対して
161410xFF を超える符号位置を含む文字列に使おうとしました
17180L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました;
16142ビット単位文字列演算子オペランドをバイト文字列として扱い、
17181これここでは意味がありません。
161430xFF を超える値はこの文脈では無意味です。
1614417182
17183=begin original
17184
17185This became fatal in Perl 5.32.
17186
17187=end original
17188
17189これは Perl 5.32 で致命的エラーになりました。
17190
1614517191=item Use of tainted arguments in %s is deprecated
1614617192
1614717193=begin original
1614817194
1614917195(W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple
1615017196arguments and at least one of them is tainted. This used to be allowed
1615117197but will become a fatal error in a future version of perl. Untaint your
1615217198arguments. See L<perlsec>.
1615317199
1615417200=end original
1615517201
1615617202(W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、
1615717203そのうち少なくとも一つが汚染されています。
1615817204これは許されていましたが、将来のバージョンの perl では致命的エラーに
1615917205なるでしょう。
1616017206引数を浄化してください。
1616117207L<perlsec> を参照してください。
1616217208
17209=item Use of unassigned code point or non-standalone grapheme for a
17210delimiter is not allowed
17211
17212=begin original
17213
17214(F)
17215A grapheme is what appears to a native-speaker of a language to be a
17216character. In Unicode (and hence Perl) a grapheme may actually be
17217several adjacent characters that together form a complete grapheme. For
17218example, there can be a base character, like "R" and an accent, like a
17219circumflex "^", that appear when displayed to be a single character with
17220the circumflex hovering over the "R". Perl currently allows things like
17221that circumflex to be delimiters of strings, patterns, I<etc>. When
17222displayed, the circumflex would look like it belongs to the character
17223just to the left of it. In order to move the language to be able to
17224accept graphemes as delimiters, we cannot allow the use of
17225delimiters which aren't graphemes by themselves. Also, a delimiter must
17226already be assigned (or known to be never going to be assigned) to try
17227to future-proof code, for otherwise code that works today would fail to
17228compile if the currently unassigned delimiter ends up being something
17229that isn't a stand-alone grapheme. Because Unicode is never going to
17230assign
17231L<non-character code points|perlunicode/Noncharacter code points>, nor
17232L<code points that are above the legal Unicode maximum|
17233perlunicode/Beyond Unicode code points>, those can be delimiters, and
17234their use is legal.
17235
17236=end original
17237
17238(F)
17239書記素は言語のネイティブスピーカーにとって文字のように見えるものです。
17240Unicode (従って Perl) では、
17241書記素は実際には互いに完全な書記素を形成するいくつかの隣接する
17242文字かもしれません。
17243例えば、"R" のような基底文字と曲折アクセント "^" のような
17244アクセントかもしれません; これは表示されるときには
17245"R" の上に曲折アクセントがある単一の文字となります。
17246Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの
17247区切り文字にすることを許しています。
17248表示されるとき、曲折アクセントは、
17249そのすぐ左にある文字に付属するかのように見えます。
17250言語が書記素を区切り文字として受けいられられるようにするために、
17251それ自体が書記素でない区切り文字の使用は認められません。
17252また、区切り文字は将来も動作するコードであり続けるために、
17253既に割り当てられている(または決して割り当てられないと分かっている)
17254ものでなければなりません;
17255さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに
17256なった場合、今日動作しているコードがコンパイルに失敗することになります。
17257Unicode は決して
17258L<非文字符号位置|perlunicode/Noncharacter code points> や
17259L<正当な Unicode の最大値より大きな符号位置|
17260perlunicode/Beyond Unicode code points> を割り当てないので、
17261これらは区切り文字になることができ、これらの使用は正当です。
17262
1616317263=item Use of uninitialized value%s
1616417264
1616517265=begin original
1616617266
1616717267(W uninitialized) An undefined value was used as if it were already
1616817268defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
1616917269To suppress this warning assign a defined value to your variables.
1617017270
1617117271=end original
1617217272
1617317273(W uninitialized) 未定義値を、あたかも既に定義されているかのように
1617417274使用しました。
1617517275これは、"" か 0 と解釈されますが、間違いの可能性があります。
1617617276この警告を止めるには、変数に定義された値を代入してください。
1617717277
1617817278=begin original
1617917279
1618017280To help you figure out what was undefined, perl will try to tell you
1618117281the name of the variable (if any) that was undefined. In some cases
1618217282it cannot do this, so it also tells you what operation you used the
1618317283undefined value in. Note, however, that perl optimizes your program
1618417284and the operation displayed in the warning may not necessarily appear
1618517285literally in your program. For example, C<"that $foo"> is usually
1618617286optimized into C<"that " . $foo>, and the warning will refer to the
1618717287C<concatenation (.)> operator, even though there is no C<.> in
1618817288your program.
1618917289
1619017290=end original
1619117291
1619217292何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である
1619317293変数名を示します。
1619417294それができないような場合では、未定義値を使った操作を示します。
1619517295しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に
1619617296現れない操作についての警告が表示されるかもしれないことに注意してください。
1619717297例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、
1619817298たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が
1619917299出ます。
1620017300
1620117301=item "use re 'strict'" is experimental
1620217302
1620317303=begin original
1620417304
1620517305(S experimental::re_strict) The things that are different when a regular
1620617306expression pattern is compiled under C<'strict'> are subject to change
1620717307in future Perl releases in incompatible ways. This means that a pattern
1620817308that compiles today may not in a future Perl release. This warning is
1620917309to alert you to that risk.
1621017310
1621117311=end original
1621217312
1621317313(S experimental::re_strict) 正規表現が C<'strict'> の基で
1621417314コンパイルされたときに何が異なるかは、
1621517315将来の Perl のリリースで互換性のない形で変更される予定です。
1621617316つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは
1621717317違うかもしれません。
1621817318この警告はそのリスクを知らせるためのものです。
1621917319
1622017320=item Use \x{...} for more than two hex characters in regex; marked by
1622117321S<<-- HERE> in m/%s/
1622217322
1622317323=begin original
1622417324
1622517325(F) In a regular expression, you said something like
1622617326
1622717327=end original
1622817328
1622917329(F) 正規表現で、以下のようなことをしました
1623017330
1623117331 (?[ [ \xBEEF ] ])
1623217332
1623317333=begin original
1623417334
1623517335Perl isn't sure if you meant this
1623617336
1623717337=end original
1623817338
1623917339Perl は、これが以下のものを意味しているのか
1624017340
1624117341 (?[ [ \x{BEEF} ] ])
1624217342
1624317343=begin original
1624417344
1624517345or if you meant this
1624617346
1624717347=end original
1624817348
1624917349それとも次のものかがわかりません。
1625017350
1625117351 (?[ [ \x{BE} E F ] ])
1625217352
1625317353=begin original
1625417354
1625517355You need to add either braces or blanks to disambiguate.
1625617356
1625717357=end original
1625817358
1625917359明確にするために大かっこか空白を追加する必要があります。
1626017360
1626117361=item Using just the first character returned by \N{} in character class in
1626217362regex; marked by S<<-- HERE> in m/%s/
1626317363
1626417364=begin original
1626517365
1626617366(W regexp) Named Unicode character escapes C<(\N{...})> may return
1626717367a multi-character sequence. Even though a character class is
1626817368supposed to match just one character of input, perl will match
1626917369the whole thing correctly, except when the class is inverted
1627017370(C<[^...]>), or the escape is the beginning or final end point of
1627117371a range. For these, what should happen isn't clear at all. In
1627217372these circumstances, Perl discards all but the first character
1627317373of the returned sequence, which is not likely what you want.
1627417374
1627517375=end original
1627617376
1627717377(W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は
1627817378複数文字並びを返すことがあります。
1627917379文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、
1628017380perl は全体を正しくマッチングします; 但し例外は、
1628117381クラスが反転された場合 (C<[^...]>) と、
1628217382エスケープが範囲の始点か終点の場合です。
1628317383これらの場合、何をするべきかは全く明らかではありません。
1628417384このため、Perl は返された並びの最初以外の文字を捨てます;
1628517385おそらくこれはあなたが求めているものではないでしょう。
1628617386
17387=item Using just the single character results returned by \p{} in
17388(?[...]) in regex; marked by S<<-- HERE> in m/%s/
17389
17390=begin original
17391
17392(W regexp) Extended character classes currently cannot handle operands
17393that evaluate to more than one character. These are removed from the
17394results of the expansion of the C<\p{}>.
17395
17396=end original
17397
17398(W regexp) 拡張文字クラスは、現在の所、複数の文字に評価されるオペランドを
17399扱うことは出来ません。
17400これらは C<\p{}> の拡張の結果から取り除かれました。
17401
17402=begin original
17403
17404This situation can happen, for example, in
17405
17406=end original
17407
17408この状況は、例えば次の場合に起こります:
17409
17410 (?[ \p{name=/KATAKANA/} ])
17411
17412=begin original
17413
17414"KATAKANA LETTER AINU P" is a legal Unicode name (technically a "named
17415sequence"), but it is actually two characters. The above expression
17416with match only the Unicode names containing KATAKANA that represent
17417single characters.
17418
17419=end original
17420
17421"KATAKANA LETTER AINU P" は正当な Unicode 名 (技術的には「名前付き並び」)ですが、
17422実際には二つの文字です。
17423前述の式は、単一の文字を表現する KATAKANA を含む Unicode 名のみに
17424マッチングします。
17425
1628717426=item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/
1628817427
1628917428=begin original
1629017429
1629117430(W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a
1629217431portion of a regular expression where the character set modifiers C</a>
1629317432or C</aa> are in effect. These two modifiers indicate an ASCII
16294interpretation, and this doesn't make sense for a Unicode defintion.
17433interpretation, and this doesn't make sense for a Unicode definition.
1629517434The generated regular expression will compile so that the boundary uses
1629617435all of Unicode. No other portion of the regular expression is affected.
1629717436
1629817437=end original
1629917438
1630017439(W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で
1630117440Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。
1630217441これら二つの修飾子は ASCII での解釈を示していて、これは
1630317442Unicode の定義では意味がありません。
1630417443生成された正規表現は、境界は全て Unicode としてコンパイルします。
1630517444正規表現のその他の部分は影響を受けません。
1630617445
1630717446=item Using !~ with %s doesn't make sense
1630817447
1630917448=begin original
1631017449
1631117450(F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is
1631217451currently reserved for future use, as the exact behavior has not
1631317452been decided. (Simply returning the boolean opposite of the
1631417453modified string is usually not particularly useful.)
1631517454
1631617455=end original
1631717456
1631817457(F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが
1631917458まだ決定されていないので、将来の使用のために予約されています。
1632017459(単に修正された文字列の真偽値としての逆を返すのは普通特に
1632117460有用ではありません。)
1632217461
1632317462=item UTF-16 surrogate U+%X
1632417463
1632517464=begin original
1632617465
1632717466(S surrogate) You had a UTF-16 surrogate in a context where they are
1632817467not considered acceptable. These code points, between U+D800 and
1632917468U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl
1633017469internally allows all unsigned integer code points (up to the size limit
1633117470available on your platform), including surrogates. But these can cause
1633217471problems when being input or output, which is likely where this message
1633317472came from. If you really really know what you are doing you can turn
1633417473off this warning by C<no warnings 'surrogate';>.
1633517474
1633617475=end original
1633717476
1633817477(S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを
1633917478使いました。
1634017479これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに
1634117480Unicode によって使われます。
1634217481しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は
1634317482プラットフォームで利用可能なサイズ上限)を受け付けます。
1634417483しかし、これらは入力や出力になるときに問題を引き起こします; それは
1634517484おそらくこのメッセージが出た場所です。
1634617485自分で何をしているのかが本当に本当に分かっているなら、
1634717486C<no warnings 'surrogate';> とすることでこの警告をオフにできます。
1634817487
1634917488=item Value of %s can be "0"; test with defined()
1635017489
1635117490=begin original
1635217491
1635317492(W misc) In a conditional expression, you used <HANDLE>, <*> (glob),
1635417493C<each()>, or C<readdir()> as a boolean value. Each of these constructs
1635517494can return a value of "0"; that would make the conditional expression
1635617495false, which is probably not what you intended. When using these
1635717496constructs in conditional expressions, test their values with the
1635817497C<defined> operator.
1635917498
1636017499=end original
1636117500
1636217501(W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を
1636317502真偽値として使いました。
1636417503これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、
1636517504これはおそらく望んでいることではないでしょう。
1636617505これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で
1636717506テストしてください。
1636817507
1636917508=item Value of CLI symbol "%s" too long
1637017509
1637117510=begin original
1637217511
1637317512(W misc) A warning peculiar to VMS. Perl tried to read the value of an
1637417513%ENV element from a CLI symbol table, and found a resultant string
1637517514longer than 1024 characters. The return value has been truncated to
16376175151024 characters.
1637717516
1637817517=end original
1637917518
1638017519(W misc) VMS に固有の警告です。
1638117520Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、
1638217521結果の文字列が 1024 文字を越えました。
1638317522返り値は 1024 文字に切り詰められます。
1638417523
1638517524=item Variable "%s" is not available
1638617525
1638717526=begin original
1638817527
1638917528(W closure) During compilation, an inner named subroutine or eval is
1639017529attempting to capture an outer lexical that is not currently available.
1639117530This can happen for one of two reasons. First, the outer lexical may be
1639217531declared in an outer anonymous subroutine that has not yet been created.
1639317532(Remember that named subs are created at compile time, while anonymous
1639417533subs are created at run-time.) For example,
1639517534
1639617535=end original
1639717536
1639817537(W closure) コンパイル中に、内側の名前付きサブルーチンや eval が
1639917538まだ利用可能でない外側のレキシカルを捕捉しようとしました。
1640017539これは二つの理由で起こります。
1640117540まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで
1640217541定義されている場合です。
1640317542(名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは
1640417543実行時に作成されることを思い出してください。)
1640517544例えば、
1640617545
1640717546 sub { my $a; sub f { $a } }
1640817547
1640917548=begin original
1641017549
1641117550At the time that f is created, it can't capture the current value of $a,
1641217551since the anonymous subroutine hasn't been created yet. Conversely,
1641317552the following won't give a warning since the anonymous subroutine has by
1641417553now been created and is live:
1641517554
1641617555=end original
1641717556
1641817557f が作成された時点で、$a の現在の値を捕捉できません;
1641917558なぜなら無名サブルーチンはまだ作成されていないからです。
1642017559逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて
1642117560生きているからです:
1642217561
1642317562 sub { my $a; eval 'sub f { $a }' }->();
1642417563
1642517564=begin original
1642617565
1642717566The second situation is caused by an eval accessing a variable that has
1642817567gone out of scope, for example,
1642917568
1643017569=end original
1643117570
16432175712 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります;
1643317572例えば:
1643417573
1643517574 sub f {
1643617575 my $a;
1643717576 sub { eval '$a' }
1643817577 }
1643917578 f()->();
1644017579
1644117580=begin original
1644217581
1644317582Here, when the '$a' in the eval is being compiled, f() is not currently
1644417583being executed, so its $a is not available for capture.
1644517584
1644617585=end original
1644717586
1644817587ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ
1644917588実行されていないので、この $a は捕捉出来ません。
1645017589
1645117590=item Variable "%s" is not imported%s
1645217591
1645317592=begin original
1645417593
1645517594(S misc) With "use strict" in effect, you referred to a global variable
1645617595that you apparently thought was imported from another module, because
1645717596something else of the same name (usually a subroutine) is exported by
1645817597that module. It usually means you put the wrong funny character on the
1645917598front of your variable.
1646017599
1646117600=end original
1646217601
1646317602(S misc) "use strict" が有効のときに、見たところ他のモジュールから
1646417603インポートされたとあなたが考えたグローバル変数を参照しました;
1646517604なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから
1646617605エクスポートされています。
1646717606これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。
1646817607
1646917608=item Variable length lookbehind not implemented in regex m/%s/
1647017609
1647117610=begin original
1647217611
16473(F) Lookbehind is allowed only for subexpressions whose length is fixed and
17612(F) B<This message no longer should be raised as of Perl 5.30.> It is
17613retained in this document as a convenience for people using an earlier
17614Perl version.
17615
17616=end original
17617
17618(F) B<このメッセージは Perl 5.30 からもはや発生しません。>
17619これはより古いバージョンの Perl を使っている人々が便利なように
17620この文書に残しています。
17621
17622=begin original
17623
17624In Perl 5.30 and earlier, lookbehind is allowed
17625only for subexpressions whose length is fixed and
1647417626known at compile time. For positive lookbehind, you can use the C<\K>
1647517627regex construct as a way to get the equivalent functionality. See
16476L<perlre/(?<=pattern) \K>.
17628L<(?<=pattern) and \K in perlre|perlre/\K>.
1647717629
1647817630=end original
1647917631
16480(F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ
17632Perl 5.30 以前では、後方参照は長さが固定で、
16481可能です。
17633コンパイル時に確定している副式に対してのみ可能です。
1648217634正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。
16483L<perlre/(?<=pattern) \K> を参照してください。
17635L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。
1648417636
1648517637=begin original
1648617638
16487There are non-obvious Unicode rules under C</i> that can match variably,
17639Starting in Perl 5.18, there are non-obvious Unicode rules under C</i>
16488but which you might not think could. For example, the substring C<"ss">
17640that can match variably, but which you might not think could. For
16489can match the single character LATIN SMALL LETTER SHARP S. There are
17641example, the substring C<"ss"> can match the single character LATIN
16490other sequences of ASCII characters that can match single ligature
17642SMALL LETTER SHARP S. Here's a complete list of the current ones
16491characters, such as LATIN SMALL LIGATURE FFI matching C<qr/ffi/i>.
17643affecting ASCII characters:
16492Starting in Perl v5.16, if you only care about ASCII matches, adding the
16493C</aa> modifier to the regex will exclude all these non-obvious matches,
16494thus getting rid of this message. You can also say C<S<use re qw(/aa)>>
16495to apply C</aa> to all regular expressions compiled within its scope.
16496See L<re>.
1649717644
1649817645=end original
1649917646
16500C</i> のでは、おそらくあなたが考えていないような種類のものに
17647Perl 5.18 から、C</i> のでは、おそらくあなたが考えていないような
16501マッチングするという、明確でない Unicode の規則があります。
17648種類のものにマッチングするという、明確でない Unicode の規則があります。
1650217649例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に
1650317650マッチングします。
16504ASCII 文字並びが単一の合字マッチングすパターンとしては、
17651以下は ASCII 文字に影響を与え現在のものの完全な一覧です:
16505LATIN SMALL LIGATURE FFI が C<qr/ffi/i> にマッチングするといったものが
16506あります。
17653 ASCII
16507Perl v5.16 から、もし ASCII のマッチングにだけ関心があるのなら、
17654 sequence Matches single letter under /i
17655 FF U+FB00 LATIN SMALL LIGATURE FF
17656 FFI U+FB03 LATIN SMALL LIGATURE FFI
17657 FFL U+FB04 LATIN SMALL LIGATURE FFL
17658 FI U+FB01 LATIN SMALL LIGATURE FI
17659 FL U+FB02 LATIN SMALL LIGATURE FL
17660 SS U+00DF LATIN SMALL LETTER SHARP S
17661 U+1E9E LATIN CAPITAL LETTER SHARP S
17662 ST U+FB06 LATIN SMALL LIGATURE ST
17663 U+FB05 LATIN SMALL LIGATURE LONG S T
17664
17665=begin original
17666
17667This list is subject to change, but is quite unlikely to.
17668Each ASCII sequence can be any combination of upper- and lowercase.
17669
17670=end original
17671
17672この一覧は変更されるかもしれませんが、かなり起こりにくいです。
17673それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。
17674
17675=begin original
17676
17677You can avoid this by using a bracketed character class in the
17678lookbehind assertion, like
17679
17680=end original
17681
17682次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます:
17683
17684 (?<![sS]t)
17685 (?<![fF]f[iI])
17686
17687=begin original
17688
17689This fools Perl into not matching the ligatures.
17690
17691=end original
17692
17693これは合字にマッチングしないように Perl を騙します。
17694
17695=begin original
17696
17697Another option for Perls starting with 5.16, if you only care about
17698ASCII matches, is to add the C</aa> modifier to the regex. This will
17699exclude all these non-obvious matches, thus getting rid of this message.
17700You can also say
17701
17702=end original
17703
17704Perl v5.16 からのもう一つの選択肢として、
17705もし ASCII のマッチングにだけ関心があるのなら、
1650817706正規表現に C</aa> を追加することでこれらの明確でないマッチングを全て
1650917707除くことができるので、このメッセージを避けられます。
16510また、C<S<use re qw(/aa)>> とすることで、スコープ内でコンパイルされた全ての
17708また、次のようにすることで:
16511正規表現に対して C</aa> を適用します。
17710 use if $] ge 5.016, re => '/aa';
17711
17712=begin original
17713
17714to apply C</aa> to all regular expressions compiled within its scope.
17715See L<re>.
17716
17717=end original
17718
17719スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。
1651217720L<re> を参照してください。
1651317721
1651417722=item "%s" variable %s masks earlier declaration in same %s
1651517723
1651617724=begin original
1651717725
16518(W misc) A "my", "our" or "state" variable has been redeclared in the
17726(W shadow) A "my", "our" or "state" variable has been redeclared in the
1651917727current scope or statement, effectively eliminating all access to the
1652017728previous instance. This is almost always a typographical error. Note
1652117729that the earlier variable will still exist until the end of the scope
1652217730or until all closure references to it are destroyed.
1652317731
1652417732=end original
1652517733
16526(W misc) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、
17734(W shadow) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、
1652717735以前の実体への全てのアクセスができなくなりました。
1652817736これはほとんど常にタイプミスです。
1652917737以前の変数は、スコープが終わるか、それを参照している全てのクロージャが
1653017738破壊されるまでは存在し続けることに注意してください。
1653117739
1653217740=item Variable syntax
1653317741
1653417742=begin original
1653517743
1653617744(A) You've accidentally run your script through B<csh> instead
1653717745of Perl. Check the #! line, or manually feed your script into
1653817746Perl yourself.
1653917747
1654017748=end original
1654117749
1654217750(A) スクリプトを perl ではなく B<csh> で実行しようとしました。
1654317751#! 行をチェックするか、スクリプトを直接 Perl で起動してください。
1654417752
1654517753=item Variable "%s" will not stay shared
1654617754
1654717755=begin original
1654817756
1654917757(W closure) An inner (nested) I<named> subroutine is referencing a
1655017758lexical variable defined in an outer named subroutine.
1655117759
1655217760=end original
1655317761
1655417762(W closure) 内部の(ネストした) I<名前付き> サブルーチンが、
1655517763外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。
1655617764
1655717765=begin original
1655817766
1655917767When the inner subroutine is called, it will see the value of
1656017768the outer subroutine's variable as it was before and during the *first*
1656117769call to the outer subroutine; in this case, after the first call to the
1656217770outer subroutine is complete, the inner and outer subroutines will no
1656317771longer share a common value for the variable. In other words, the
1656417772variable will no longer be shared.
1656517773
1656617774=end original
1656717775
1656817776内側のサブルーチンが呼び出されるとき、
1656917777外側のサブルーチンの変数の値は、
1657017778「最初の」外側のサブルーチンへの呼び出し前および呼び出し中のものになります;
1657117779この場合、外側のサブルーチンへの最初の呼び出しが終了した後、
1657217780内側と外側のサブルーチンはこの変数に関して同じ値を共有しなくなります。
1657317781言い換えると、この変数はもはや共有されません。
1657417782
1657517783=begin original
1657617784
1657717785This problem can usually be solved by making the inner subroutine
1657817786anonymous, using the C<sub {}> syntax. When inner anonymous subs that
1657917787reference variables in outer subroutines are created, they
1658017788are automatically rebound to the current values of such variables.
1658117789
1658217790=end original
1658317791
1658417792この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで
1658517793解決します。
1658617794外側のサブルーチンの変数を参照している内側の無名サブルーチンが
1658717795作成されたとき、これらはそのような変数の現在の値に自動的に回復します。
1658817796
1658917797=item vector argument not supported with alpha versions
1659017798
1659117799=begin original
1659217800
1659317801(S printf) The %vd (s)printf format does not support version objects
1659417802with alpha parts.
1659517803
1659617804=end original
1659717805
1659817806(S printf) %vd (s)printf フォーマットはアルファ部分のある
1659917807バージョンオブジェクトに対応していません。
1660017808
1660117809=item Verb pattern '%s' has a mandatory argument in regex; marked by
1660217810S<<-- HERE> in m/%s/
1660317811
1660417812=begin original
1660517813
1660617814(F) You used a verb pattern that requires an argument. Supply an
1660717815argument or check that you are using the right verb.
1660817816
1660917817=end original
1661017818
1661117819(F) 引き数が必要な動詞パターンを使いました。
1661217820引き数を追加するか、正しい動詞を使ってください。
1661317821
1661417822=item Verb pattern '%s' may not have an argument in regex; marked by
1661517823S<<-- HERE> in m/%s/
1661617824
1661717825=begin original
1661817826
1661917827(F) You used a verb pattern that is not allowed an argument. Remove the
1662017828argument or check that you are using the right verb.
1662117829
1662217830=end original
1662317831
1662417832(F) 引き数が認められていない動詞パターンを使いました。
1662517833引き数を削除するか、正しい動詞を使ってください。
1662617834
17835=item Version control conflict marker
17836
17837=begin original
17838
17839(F) The parser found a line starting with C<E<lt><<<<<<>,
17840C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a
17841version control system to mark conflicts after a failed merge operation.
17842
17843=end original
17844
17845(F) パーサは C<E<lt><<<<<<>,
17846C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。
17847これらはマージ操作に失敗したあと衝突を記録するために
17848バージョン制御システムによって残されたものかもしれません。
17849
1662717850=item Version number must be a constant number
1662817851
1662917852=begin original
1663017853
1663117854(P) The attempt to translate a C<use Module n.n LIST> statement into
1663217855its equivalent C<BEGIN> block found an internal inconsistency with
1663317856the version number.
1663417857
1663517858=end original
1663617859
1663717860(P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと
1663817861したときに、バージョン番号について内部の不整合を発見しました。
1663917862
1664017863=item Version string '%s' contains invalid data; ignoring: '%s'
1664117864
1664217865=begin original
1664317866
1664417867(W misc) The version string contains invalid characters at the end, which
1664517868are being ignored.
1664617869
1664717870=end original
1664817871
1664917872(W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は
1665017873無視されます。
1665117874
1665217875=item Warning: something's wrong
1665317876
1665417877=begin original
1665517878
1665617879(W) You passed warn() an empty string (the equivalent of C<warn "">) or
1665717880you called it with no args and C<$@> was empty.
1665817881
1665917882=end original
1666017883
1666117884(W) warn() に空文字列を渡した (C<warn ""> と透過です) か、
1666217885引数なしで呼び出され、C<$@> も空でした。
1666317886
1666417887=item Warning: unable to close filehandle %s properly
1666517888
1666617889=begin original
1666717890
1666817891(S) The implicit close() done by an open() got an error indication on
1666917892the close(). This usually indicates your file system ran out of disk
1667017893space.
1667117894
1667217895=end original
1667317896
1667417897(S) open() によって暗黙のうちに行なわれる close() が、
1667517898close() のエラーとなりました。
1667617899通常、ファイルシステムがいっぱいであることを示します。
1667717900
1667817901=item Warning: unable to close filehandle properly: %s
1667917902
1668017903=item Warning: unable to close filehandle %s properly: %s
1668117904
1668217905=begin original
1668317906
1668417907(S io) There were errors during the implicit close() done on a filehandle
1668517908when its reference count reached zero while it was still open, e.g.:
1668617909
1668717910=end original
1668817911
1668917912(S io) まだ開いているけれども参照カウントがゼロになったときに
1669017913ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました;
1669117914例えば:
1669217915
1669317916 {
1669417917 open my $fh, '>', $file or die "open: '$file': $!\n";
1669517918 print $fh $data or die "print: $!";
1669617919 } # implicit close here
1669717920
1669817921=begin original
1669917922
1670017923Because various errors may only be detected by close() (e.g. buffering could
1670117924allow the C<print> in this example to return true even when the disk is full),
16702it is dangerous to ignore its result. So when it happens implicitly, perl will
17925it is dangerous to ignore its result. So when it happens implicitly, perl
16703signal errors by warning.
17926will signal errors by warning.
1670417927
1670517928=end original
1670617929
1670717930様々なエラーは close() によってのみ検出される
1670817931(バッファリングによって、この例の C<print> はディスクフルの場合でも
1670917932真を返すことが可能です)ので、
16710その結果を無視するのは棄権です。
17933その結果を無視するのは危険です。
16711it is dangerous to ignore its result.
1671217934従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。
1671317935
1671417936=begin original
1671517937
1671617938B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown
1671717939above was liable to cause B<silent data loss>.
1671817940
1671917941=end original
1672017942
1672117943B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>;
1672217944従って、前述のような一般的な慣用句は
1672317945B<暗黙なデータの損失> を引き起こすことがありました。
1672417946
1672517947=item Warning: Use of "%s" without parentheses is ambiguous
1672617948
1672717949=begin original
1672817950
1672917951(S ambiguous) You wrote a unary operator followed by something that
1673017952looks like a binary operator that could also have been interpreted as a
1673117953term or unary operator. For instance, if you know that the rand
1673217954function has a default argument of 1.0, and you write
1673317955
1673417956=end original
1673517957
1673617958(S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、
1673717959二項演算子のようなものが置かれました。
1673817960たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って
1673917961いれば、以下のように書いて:
1674017962
1674117963 rand + 5;
1674217964
1674317965=begin original
1674417966
1674517967you may THINK you wrote the same thing as
1674617968
1674717969=end original
1674817970
1674917971以下の同じことと思うかもしれませんが:
1675017972
1675117973 rand() + 5;
1675217974
1675317975=begin original
1675417976
1675517977but in actual fact, you got
1675617978
1675717979=end original
1675817980
1675917981実際には以下のようになります:
1676017982
1676117983 rand(+5);
1676217984
1676317985=begin original
1676417986
1676517987So put in parentheses to say what you really mean.
1676617988
1676717989=end original
1676817990
1676917991したがって、思うように解釈させるには、かっこが必要になります。
1677017992
1677117993=item when is experimental
1677217994
1677317995=begin original
1677417996
1677517997(S experimental::smartmatch) C<when> depends on smartmatch, which is
1677617998experimental. Additionally, it has several special cases that may
1677717999not be immediately obvious, and their behavior may change or
1677818000even be removed in any future release of perl. See the explanation
1677918001under L<perlsyn/Experimental Details on given and when>.
1678018002
1678118003=end original
1678218004
1678318005(S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに
1678418006依存しています。
1678518007さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その
1678618008振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。
1678718009L<perlsyn/Experimental Details on given and when> の説明を参照してください。
1678818010
1678918011=item Wide character in %s
1679018012
1679118013=begin original
1679218014
16793(S utf8) Perl met a wide character (>255) when it wasn't expecting
18015(S utf8) Perl met a wide character (ordinal >255) when it wasn't
16794one. This warning is by default on for I/O (like print). The easiest
18016expecting one. This warning is by default on for I/O (like print).
16795way to quiet this warning is simply to add the C<:utf8> layer to the
16796output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the
18018=end original
16797warning is to add C<no warnings 'utf8';> but that is often closer to
18020(S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。
18021この警告は、(print のような) I/O に対してはデフォルトでオンです。
18022
18023=begin original
18024
18025If this warning does come from I/O, the easiest
18026way to quiet it is simply to add the C<:utf8> layer, I<e.g.>,
18027S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is
18028to add S<C<no warnings 'utf8';>> but that is often closer to
1679818029cheating. In general, you are supposed to explicitly mark the
1679918030filehandle with an encoding, see L<open> and L<perlfunc/binmode>.
1680018031
1680118032=end original
1680218033
16803(S utf8) Perl が(想定していいとろで)ワイド文字(>255)に遭遇しました。
18034この警告が I/O からのものら、れを黙らせる最も簡単な方法は、
16804この警告は、(print のような) I/O 対してはデフォルトでオンです。
18035S<C<binmode STDOUT, ':utf8'>> のように
16805この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように
1680618036出力に単に C<:utf8> 層を追加することです。
16807もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは
18037もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは
1680818038しばしばいかさまに近い方法です。
1680918039一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに
1681018040なっています; L<open> と L<perlfunc/binmode> を参照してください。
1681118041
18042=begin original
18043
18044If the warning comes from other than I/O, this diagnostic probably
18045indicates that incorrect results are being obtained. You should examine
18046your code to determine how a wide character is getting to an operation
18047that doesn't handle them.
18048
18049=end original
18050
18051この警告が I/O 以外からのものなら、この診断メッセージは
18052おそらく正しくない結果が得られたことを意味しています。
18053どのようにしてワイド文字が、それを扱えない操作に渡されたのかを
18054決定するために、ソースコードを調べる必要があります。
18055
1681218056=item Wide character (U+%X) in %s
1681318057
1681418058=begin original
1681518059
1681618060(W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8
1681718061one), a multi-byte character was encountered. Perl considers this
1681818062character to be the specified Unicode code point. Combining non-UTF-8
1681918063locales and Unicode is dangerous. Almost certainly some characters
1682018064will have two different representations. For example, in the ISO 8859-7
1682118065(Greek) locale, the code point 0xC3 represents a Capital Gamma. But so
1682218066also does 0x393. This will make string comparisons unreliable.
1682318067
1682418068=end original
1682518069
1682618070(W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、
1682718071複数バイト文字に遭遇しました。
1682818072Perl はこの文字を指定された Unicode 符号位置として扱います。
1682918073非 UTF-8 ロケールと Unicode を結合するのは危険です。
1683018074ほとんど確実に一部の文字は複数の異なる表現を持ちます。
1683118075例えば、ISO 8859-7 (ギリシャ語) ロケールでは、
1683218076符号位置 0xC3 は Capital Gamma を表現します。
1683318077しかし 0x393 も同じです。
1683418078これは文字列比較を信頼できないものにします。
1683518079
1683618080=begin original
1683718081
1683818082You likely need to figure out how this multi-byte character got mixed up
1683918083with your single-byte locale (or perhaps you thought you had a UTF-8
1684018084locale, but Perl disagrees).
1684118085
1684218086=end original
1684318087
1684418088おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを
1684518089見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを
1684618090使っていると考えているけれども Perl は同意していないのでしょう)。
1684718091
1684818092=item Within []-length '%c' not allowed
1684918093
1685018094=begin original
1685118095
1685218096(F) The count in the (un)pack template may be replaced by C<[TEMPLATE]>
1685318097only if C<TEMPLATE> always matches the same amount of packed bytes that
1685418098can be determined from the template alone. This is not possible if
1685518099it contains any of the codes @, /, U, u, w or a *-length. Redesign
1685618100the template.
1685718101
1685818102=end original
1685918103
1686018104(F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に
1686118105テンプレートだけから決定される同じサイズの pack されたバイト列と一致する
1686218106場合にのみ C<[TEMPLATE]> によって置き換えられます。
1686318107これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。
1686418108テンプレートを再設計してください。
1686518109
18110=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"?)
18111
18112=begin original
18113
18114(W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded
18115package name, which can result in perl choosing an unexpected parent
18116class's method to resolve the method call. If this is deliberate you
18117can do something like
18118
18119=end original
18120
18121(W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、
18122結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを
18123選んだ可能性があります。
18124これが意図的な場合は、次のようにして:
18125
18126 @Missing::Package::ISA = ();
18127
18128=begin original
18129
18130to silence the warnings, otherwise you should correct the package name, or
18131ensure that the package is loaded prior to the method call.
18132
18133=end original
18134
18135この警告を黙らせられます; さもなければパッケージ名を修正するか、
18136パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。
18137
1686618138=item %s() with negative argument
1686718139
1686818140=begin original
1686918141
1687018142(S misc) Certain operations make no sense with negative arguments.
1687118143Warning is given and the operation is not done.
1687218144
1687318145=end original
1687418146
1687518147(S misc) 一部の操作は負の引数は意味がありません。
1687618148警告が出力され、操作は行われません。
1687718149
1687818150=item write() on closed filehandle %s
1687918151
1688018152=begin original
1688118153
1688218154(W closed) The filehandle you're writing to got itself closed sometime
1688318155before now. Check your control flow.
1688418156
1688518157=end original
1688618158
1688718159(W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。
1688818160制御フローをチェックしてください。
1688918161
1689018162=item %s "\x%X" does not map to Unicode
1689118163
1689218164=begin original
1689318165
1689418166(S utf8) When reading in different encodings, Perl tries to
1689518167map everything into Unicode characters. The bytes you read
1689618168in are not legal in this encoding. For example
1689718169
1689818170=end original
1689918171
1690018172(S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に
1690118173マッピングしようとします。
1690218174読み込んだバイトはこのエンコーディングでは不正でした。
1690318175例えば:
1690418176
1690518177 utf8 "\xE4" does not map to Unicode
1690618178
1690718179=begin original
1690818180
1690918181if you try to read in the a-diaereses Latin-1 as UTF-8.
1691018182
1691118183=end original
1691218184
1691318185というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。
1691418186
1691518187=item 'X' outside of string
1691618188
1691718189=begin original
1691818190
1691918191(F) You had a (un)pack template that specified a relative position before
1692018192the beginning of the string being (un)packed. See L<perlfunc/pack>.
1692118193
1692218194=end original
1692318195
1692418196(F) (un)pack している文字列の最後より後の相対位置を示している
1692518197(un)pack テンプレートを指定しました。
1692618198L<perlfunc/pack> を参照してください。
1692718199
1692818200=item 'x' outside of string in unpack
1692918201
1693018202=begin original
1693118203
1693218204(F) You had a pack template that specified a relative position after
1693318205the end of the string being unpacked. See L<perlfunc/pack>.
1693418206
1693518207=end original
1693618208
1693718209(F) unpack している文字列の最後より後の相対位置を示している
1693818210pack テンプレートを指定しました。
1693918211L<perlfunc/pack> を参照してください。
1694018212
1694118213=item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!
1694218214
1694318215=begin original
1694418216
1694518217(F) And you probably never will, because you probably don't have the
1694618218sources to your kernel, and your vendor probably doesn't give a rip
16947about what you want. Your best bet is to put a setuid C wrapper around
18219about what you want. There is a vulnerability anywhere that you have a
16948your script.
18220set-id script, and to close it you need to remove the set-id bit from
18221the script that you're attempting to run. To actually run the script
18222set-id, your best bet is to put a set-id C wrapper around your script.
1694918223
1695018224=end original
1695118225
1695218226(F) そして、そうすることはできないでしょう; カーネルのソースは
1695318227お持ちではないでしょうし、ベンダも欲しいものを提供しては
1695418228くれないでしょうから。
16955もっとも良いのは、スクリプトに setuid C ラッパーを被せるとです。
18229set-id スクリプトのあちちには脆弱性があり、
18230それを閉じるためには実行しようとしているスクリプトから
18231set-id ビットを削除する必要があります。
18232実際にスクリプトを set-id で実行するために
18233もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。
1695618234
1695718235=item You need to quote "%s"
1695818236
1695918237=begin original
1696018238
1696118239(W syntax) You assigned a bareword as a signal handler name.
1696218240Unfortunately, you already have a subroutine of that name declared,
1696318241which means that Perl 5 will try to call the subroutine when the
1696418242assignment is executed, which is probably not what you want. (If it IS
1696518243what you want, put an & in front.)
1696618244
1696718245=end original
1696818246
1696918247(W syntax) シグナルハンドラ名に、裸の単語を代入しました。
1697018248残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、
1697118249おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。
1697218250(もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。)
1697318251
1697418252=item Your random numbers are not that random
1697518253
1697618254=begin original
1697718255
1697818256(F) When trying to initialize the random seed for hashes, Perl could
1697918257not get any randomness out of your system. This usually indicates
1698018258Something Very Wrong.
1698118259
1698218260=end original
1698318261
1698418262(F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから
1698518263何の乱数性も得られませんでした。
1698618264これは普通「何かとても具合が悪い」ことを示しています。
1698718265
1698818266=item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/
1698918267
1699018268=begin original
1699118269
1699218270(F) Named Unicode character escapes (C<\N{...}>) may return a zero-length
1699318271sequence. Such an escape was used in an extended character class, i.e.
1699418272C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check
1699518273that the correct escape has been used, and the correct charnames handler
1699618274is in scope. The S<<-- HERE> shows whereabouts in the regular
1699718275expression the problem was discovered.
1699818276
1699918277=end original
1700018278
1700118279(F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを
1700218280返すことがあります。
1700318281このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、
1700418282あるいは C<use re 'strict'> の基で使われました;
1700518283これは認められていません。
1700618284正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に
1700718285あるかをチェックしてください。
1700818286S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。
1700918287
1701018288=back
1701118289
1701218290=head1 SEE ALSO
1701318291
1701418292L<warnings>, L<diagnostics>.
1701518293
1701618294=cut
1701718295
1701818296=begin meta
1701918297
1702018298Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000)
1702118299Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-)
17022Status: completed
18300Status: in progress
1702318301
1702418302=end meta