perldiag >
5.6.1
との差分
perldiag 5.6.1 と 5.36.0 の差分
1 | 1 | |
2 | =encoding | |
2 | =encoding utf8 | |
3 | 3 | |
4 | 4 | =head1 NAME |
5 | 5 | |
6 | 6 | =begin original |
7 | 7 | |
8 | 8 | perldiag - various Perl diagnostics |
9 | 9 | |
10 | 10 | =end original |
11 | 11 | |
12 | 12 | perldiag - さまざまな Perl 診断メッセージ |
13 | 13 | |
14 | 14 | =head1 DESCRIPTION |
15 | 15 | |
16 | 16 | =begin original |
17 | 17 | |
18 | 18 | These messages are classified as follows (listed in increasing order of |
19 | 19 | desperation): |
20 | 20 | |
21 | 21 | =end original |
22 | 22 | |
23 | 23 | これらのメッセージは以下のように分類されます (重要度が増す順に |
24 | 24 | 並べてあります): |
25 | 25 | |
26 | 26 | =begin original |
27 | 27 | |
28 | 28 | (W) A warning (optional). |
29 | (D) A deprecation ( | |
29 | (D) A deprecation (enabled by default). | |
30 | (S) A severe warning (default). | |
30 | (S) A severe warning (enabled by default). | |
31 | 31 | (F) A fatal error (trappable). |
32 | 32 | (P) An internal error you should never see (trappable). |
33 | 33 | (X) A very fatal error (nontrappable). |
34 | 34 | (A) An alien error message (not generated by Perl). |
35 | 35 | |
36 | 36 | =end original |
37 | 37 | |
38 | (W) 警告 (オプション) | |
38 | (W) 警告 (オプション)。 | |
39 | (D) 非推奨 ( | |
39 | (D) 非推奨 (デフォルトでは有効)。 | |
40 | (S) 重大な警告 (デフォルト) | |
40 | (S) 重大な警告 (デフォルトでは有効)。 | |
41 | (F) 致命的エラー (トラップ可能) | |
41 | (F) 致命的エラー (トラップ可能)。 | |
42 | (P) 起こるはずのない内部エラー (トラップ可能) | |
42 | (P) 起こるはずのない内部エラー (トラップ可能)。 | |
43 | (X) 重大致命的エラー (トラップ不可能) | |
43 | (X) 重大致命的エラー (トラップ不可能)。 | |
44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの) | |
44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの)。 | |
45 | 45 | |
46 | 46 | =begin original |
47 | 47 | |
48 | 48 | The majority of messages from the first three classifications above |
49 | (W, D & S) can be controlled using the C<warnings> pragma. | |
49 | (W, D & S) can be controlled using the C<warnings> pragma. | |
50 | 50 | |
51 | 51 | =end original |
52 | 52 | |
53 | 53 | 上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は |
54 | 54 | C<warings> プラグマで制御できます。 |
55 | 55 | |
56 | 56 | =begin original |
57 | 57 | |
58 | 58 | If a message can be controlled by the C<warnings> pragma, its warning |
59 | 59 | category is included with the classification letter in the description |
60 | below. | |
60 | below. E.g. C<(W closed)> means a warning in the C<closed> category. | |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の | |
65 | ||
65 | 説明で分類文字と共に記されています。 | |
66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
66 | 67 | |
67 | 68 | =begin original |
68 | 69 | |
69 | 70 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
71 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
71 | 72 | to a reference to a routine that will be called on each warning instead |
72 | 73 | of printing it. See L<perlvar>. |
73 | 74 | |
74 | 75 | =end original |
75 | 76 | |
76 | 77 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
77 | 78 | 有効になります。 |
78 | 79 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
79 | 80 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
80 | 81 | L<perlvar> を参照してください。 |
81 | 82 | |
82 | 83 | =begin original |
83 | 84 | |
84 | ||
85 | Severe warnings are always enabled, unless they are explicitly disabled | |
85 | 86 | with the C<warnings> pragma or the B<-X> switch. |
86 | 87 | |
87 | 88 | =end original |
88 | 89 | |
89 | ||
90 | C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、 | |
90 | ||
91 | 厳しい警告は常に有効です。 | |
91 | 92 | |
92 | 93 | =begin original |
93 | 94 | |
94 | 95 | Trappable errors may be trapped using the eval operator. See |
95 | 96 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
96 | 97 | disabled or promoted to fatal errors using the C<warnings> pragma. |
97 | 98 | See L<warnings>. |
98 | 99 | |
99 | 100 | =end original |
100 | 101 | |
101 | 102 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
102 | 103 | L<perlfunc/eval> を参照してください。 |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に | |
104 | ||
105 | 無効にしたり致命的エラーに昇格させたりできます。 | |
105 | 106 | L<warnings> を参照してください。 |
106 | 107 | |
107 | 108 | =begin original |
108 | 109 | |
109 | 110 | The messages are in alphabetical order, without regard to upper or |
110 | 111 | lower-case. Some of these messages are generic. Spots that vary are |
111 | 112 | denoted with a %s or other printf-style escape. These escapes are |
112 | 113 | ignored by the alphabetical order, as are all characters other than |
113 | 114 | letters. To look up your message, just ignore anything that is not a |
114 | 115 | letter. |
115 | 116 | |
116 | 117 | =end original |
117 | 118 | |
118 | 119 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
119 | 120 | これらの中には一般的なものもあります。 |
120 | 121 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
121 | 122 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
122 | 123 | 無視されています。 |
123 | 124 | メッセージを探すには、英文字以外は無視してください。 |
124 | 125 | |
125 | 126 | =over 4 |
126 | 127 | |
127 | 128 | =item accept() on closed socket %s |
128 | 129 | |
129 | 130 | =begin original |
130 | 131 | |
131 | 132 | (W closed) You tried to do an accept on a closed socket. Did you forget |
132 | 133 | to check the return value of your socket() call? See |
133 | 134 | L<perlfunc/accept>. |
134 | 135 | |
135 | 136 | =end original |
136 | 137 | |
137 | 138 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
138 | 139 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
139 | 140 | L<perlfunc/accept> を参照してください。 |
140 | 141 | |
141 | =item Al | |
142 | =item Aliasing via reference is experimental | |
142 | 143 | |
143 | 144 | =begin original |
144 | 145 | |
145 | ( | |
146 | (S experimental::refaliasing) This warning is emitted if you use | |
147 | a reference constructor on the left-hand side of an assignment to | |
148 | alias one variable to another. Simply suppress the warning if you | |
149 | want to use the feature, but know that in doing so you are taking | |
150 | the risk of using an experimental feature which may change or be | |
151 | removed in a future Perl version: | |
146 | 152 | |
147 | 153 | =end original |
148 | 154 | |
149 | ( | |
155 | (S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の | |
156 | 左側でリファレンスコンストラクタを使うと出力されます。 | |
157 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
158 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
159 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
160 | 取っていると言うことを知っておいてください: | |
150 | 161 | |
151 | ||
162 | no warnings "experimental::refaliasing"; | |
163 | use feature "refaliasing"; | |
164 | \$x = \$y; | |
152 | 165 | |
166 | =item '%c' allowed only after types %s in %s | |
167 | ||
153 | 168 | =begin original |
154 | 169 | |
155 | (F) The '!' | |
170 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only | |
156 | See L<perlfunc/pack>. | |
171 | after certain types. See L<perlfunc/pack>. | |
157 | 172 | |
158 | 173 | =end original |
159 | 174 | |
160 | (F) pack() や unpack() での '!' は特定のタイプの | |
175 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの | |
161 | つけることができます。 | |
176 | 後にのみつけることができます。 | |
162 | 177 | L<perlfunc/pack> を参照してください。 |
163 | 178 | |
179 | =item alpha->numify() is lossy | |
180 | ||
181 | =begin original | |
182 | ||
183 | (W numeric) An alpha version can not be numified without losing | |
184 | information. | |
185 | ||
186 | =end original | |
187 | ||
188 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
189 | ||
164 | 190 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
165 | 191 | |
166 | 192 | =begin original |
167 | 193 | |
168 | 194 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
169 | 195 | keyword, and you have used the name without qualification for calling |
170 | 196 | one or the other. Perl decided to call the builtin because the |
171 | 197 | subroutine is not imported. |
172 | 198 | |
173 | 199 | =end original |
174 | 200 | |
175 | 201 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
176 | 202 | どちらかを呼び出すために修飾なしで名前を使っています。 |
177 | Perl は、サブルーチンがインポートされたものではないので、 | |
203 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを | |
178 | ||
204 | 呼び出すことにしました。 | |
179 | 205 | |
180 | 206 | =begin original |
181 | 207 | |
182 | 208 | To force interpretation as a subroutine call, either put an ampersand |
183 | 209 | before the subroutine name, or qualify the name with its package. |
184 | 210 | Alternatively, you can import the subroutine (or pretend that it's |
185 | 211 | imported with the C<use subs> pragma). |
186 | 212 | |
187 | 213 | =end original |
188 | 214 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
215 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の | |
190 | ||
216 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 | |
191 | 修飾してください。 | |
192 | 217 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
193 | 218 | プラグマを使ってインポートされたふりをする)方法もあります。 |
194 | 219 | |
195 | 220 | =begin original |
196 | 221 | |
197 | 222 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
198 | on the operator (e.g. C<CORE::log($x)>) or | |
223 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine | |
199 | 224 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
200 | 225 | L<attributes>). |
201 | 226 | |
202 | 227 | =end original |
203 | 228 | |
204 | 229 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
205 | 230 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
206 | 231 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
207 | 232 | 参照してください)として定義してください。 |
208 | 233 | |
234 | =item Ambiguous range in transliteration operator | |
235 | ||
236 | =begin original | |
237 | ||
238 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at | |
239 | all. To include a C<-> character in a transliteration, put it either | |
240 | first or last. (In the past, C<tr/a-z-0//> was synonymous with | |
241 | C<tr/a-y//>, which was probably not what you would have expected.) | |
242 | ||
243 | =end original | |
244 | ||
245 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 | |
246 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 | |
247 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく | |
248 | 予想していたものと違うでしょう。) | |
249 | ||
209 | 250 | =item Ambiguous use of %s resolved as %s |
210 | 251 | |
211 | 252 | =begin original |
212 | 253 | |
213 | ( | |
254 | (S ambiguous) You said something that may not be interpreted the way | |
214 | 255 | you thought. Normally it's pretty easy to disambiguate it by supplying |
215 | 256 | a missing quote, operator, parenthesis pair or declaration. |
216 | 257 | |
217 | 258 | =end original |
218 | 259 | |
219 | ( | |
260 | (S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。 | |
220 | ||
261 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり | |
221 | ||
262 | 簡単にあいまいさを解消できます。 | |
222 | かなり簡単にあいまいさを解消できます。 | |
223 | 263 | |
264 | =item Ambiguous use of -%s resolved as -&%s() | |
265 | ||
266 | =begin original | |
267 | ||
268 | (S ambiguous) You wrote something like C<-foo>, which might be the | |
269 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
270 | the string, just write C<"-foo">. If you meant the function call, | |
271 | write C<-foo()>. | |
272 | ||
273 | =end original | |
274 | ||
275 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
276 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
277 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
278 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
279 | ||
280 | =item Ambiguous use of %c resolved as operator %c | |
281 | ||
282 | =begin original | |
283 | ||
284 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
285 | bitwise and, and multiplication) I<and> initial special characters | |
286 | (denoting hashes, subroutines and typeglobs), and you said something | |
287 | like C<*foo * foo> that might be interpreted as either of them. We | |
288 | assumed you meant the infix operator, but please try to make it more | |
289 | clear -- in the example given, you might write C<*foo * foo()> if you | |
290 | really meant to multiply a glob by the result of calling a function. | |
291 | ||
292 | =end original | |
293 | ||
294 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
295 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の | |
296 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが | |
297 | 書かれました。 | |
298 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように | |
299 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の | |
300 | 積を意味しているなら、C<*foo * foo()> と書けます。 | |
301 | ||
302 | =item Ambiguous use of %c{%s} resolved to %c%s | |
303 | ||
304 | =begin original | |
305 | ||
306 | (W ambiguous) You wrote something like C<@{foo}>, which might be | |
307 | asking for the variable C<@foo>, or it might be calling a function | |
308 | named foo, and dereferencing it as an array reference. If you wanted | |
309 | the variable, you can just write C<@foo>. If you wanted to call the | |
310 | function, write C<@{foo()}> ... or you could just not have a variable | |
311 | and a function with the same name, and save yourself a lot of trouble. | |
312 | ||
313 | =end original | |
314 | ||
315 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと | |
316 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 | |
317 | リファレンスとしてデリファレンスするかもしれません。 | |
318 | もし変数がほしいなら、単に C<@foo> と書いてください。 | |
319 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に | |
320 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を | |
321 | 守れます。 | |
322 | ||
323 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] | |
324 | ||
325 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} | |
326 | ||
327 | =begin original | |
328 | ||
329 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents | |
330 | the name of a Perl keyword), which might be looking for element number | |
331 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you | |
332 | might have meant to pass an anonymous arrayref to the function named | |
333 | foo, and then do a scalar deref on the value it returns. If you meant | |
334 | that, write C<${foo([2])}>. | |
335 | ||
336 | =end original | |
337 | ||
338 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の | |
339 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を | |
340 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 | |
341 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ | |
342 | デリファレンスしているのかも知れません。 | |
343 | それを意味しているなら、C<${foo([2])}> と書いてください。 | |
344 | ||
345 | =begin original | |
346 | ||
347 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary | |
348 | to disambiguate between array subscripts and character classes. | |
349 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed | |
350 | by the character class C<[2345]>. If an array subscript is what you | |
351 | want, you can avoid the warning by changing C</${length[2345]}/> to the | |
352 | unsightly C</${\$length[2345]}/>, by renaming your array to something | |
353 | that does not coincide with a built-in keyword, or by simply turning | |
354 | off warnings with C<no warnings 'ambiguous';>. | |
355 | ||
356 | =end original | |
357 | ||
358 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために | |
359 | 必要になります。 | |
360 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が | |
361 | 引き続くと解釈されます。 | |
362 | 配列添え字が求めているものなら、C</${length[2345]}/> を | |
363 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと | |
364 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として | |
365 | 警告をオフにする、のいずれかで警告を回避できます。 | |
366 | ||
224 | 367 | =item '|' and '<' may not both be specified on command line |
225 | 368 | |
226 | 369 | =begin original |
227 | 370 | |
228 | 371 | (F) An error peculiar to VMS. Perl does its own command line |
229 | 372 | redirection, and found that STDIN was a pipe, and that you also tried to |
230 | 373 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
231 | 374 | |
232 | 375 | =end original |
233 | 376 | |
234 | (F) VMS | |
377 | (F) VMS に固有のエラーです。 | |
235 | 378 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
236 | 379 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
237 | 380 | しました。 |
238 | STDIN ストリームは一つだけにしてください。 | |
381 | STDIN ストリームは一つだけにしてください; お願いします。 | |
239 | お願いします。 | |
240 | 382 | |
241 | 383 | =item '|' and '>' may not both be specified on command line |
242 | 384 | |
243 | 385 | =begin original |
244 | 386 | |
245 | 387 | (F) An error peculiar to VMS. Perl does its own command line |
246 | 388 | redirection, and thinks you tried to redirect stdout both to a file and |
247 | 389 | into a pipe to another command. You need to choose one or the other, |
248 | 390 | though nothing's stopping you from piping into a program or Perl script |
249 | 391 | which 'splits' output into two streams, such as |
250 | 392 | |
251 | 393 | =end original |
252 | 394 | |
253 | (F) VMS | |
395 | (F) VMS に固有のエラーです。 | |
254 | 396 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
255 | 397 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
256 | 398 | 判断しました。 |
257 | 399 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
258 | 400 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
259 | 401 | 何もありません。 |
260 | 402 | |
261 | 403 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
262 | 404 | while (<STDIN>) { |
263 | 405 | print; |
264 | 406 | print OUT; |
265 | 407 | } |
266 | 408 | close OUT; |
267 | 409 | |
268 | 410 | =item Applying %s to %s will act on scalar(%s) |
269 | 411 | |
270 | 412 | =begin original |
271 | 413 | |
272 | (W misc) The pattern match (//), substitution (s///), and | |
414 | (W misc) The pattern match (C<//>), substitution (C<s///>), and | |
273 | transliteration (tr///) operators work on scalar values. If you apply | |
415 | transliteration (C<tr///>) operators work on scalar values. If you apply | |
274 | 416 | one of them to an array or a hash, it will convert the array or hash to |
275 | a scalar value | |
417 | a scalar value (the length of an array, or the population info of a | |
276 | hash | |
418 | hash) and then work on that scalar value. This is probably not what | |
277 | 419 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
278 | 420 | alternatives. |
279 | 421 | |
280 | 422 | =end original |
281 | 423 | |
282 | (W misc) パターンマッチ (//), 置換 (s///), 文字置換 | |
424 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 | |
283 | (tr///) 演算子はスカラ値に対して動作します。 | |
425 | (C<tr///>) 演算子はスカラ値に対して動作します。 | |
284 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 | |
426 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか | |
285 | ||
427 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 | |
286 | 動作します。 | |
287 | 428 | これはおそらくしたいこととは違うでしょう。 |
288 | 429 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
289 | 430 | |
290 | =item Arg | |
431 | =item Arg too short for msgsnd | |
291 | 432 | |
292 | 433 | =begin original |
293 | 434 | |
294 | (F) | |
435 | (F) msgsnd() requires a string at least as long as sizeof(long). | |
295 | with match the arguments specified on the #! line. Since some systems | |
296 | impose a one-argument limit on the #! line, try combining switches; | |
297 | for example, turn C<-w -U> into C<-wU>. | |
298 | 436 | |
299 | 437 | =end original |
300 | 438 | |
301 | (F) s | |
439 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 | |
302 | #! の行で指定された引数はマッチすることが要求されます。 | |
303 | #! 行の 1 引数制限があるシステムがあるので、 | |
304 | 組み合わせスイッチを試してみてください; | |
305 | 例えば、C<-w -U> を C<-wU> にしてください。 | |
306 | 440 | |
307 | =item Arg | |
441 | =item Argument "%s" isn't numeric%s | |
308 | 442 | |
309 | 443 | =begin original |
310 | 444 | |
311 | ( | |
445 | (W numeric) The indicated string was fed as an argument to an operator | |
446 | that expected a numeric value instead. If you're fortunate the message | |
447 | will identify which operator was so unfortunate. | |
312 | 448 | |
313 | 449 | =end original |
314 | 450 | |
315 | ( | |
451 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 | |
316 | ||
452 | 与えられました。 | |
453 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
454 | わかります。 | |
317 | 455 | |
318 | = | |
456 | =begin original | |
319 | 457 | |
458 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the | |
459 | definition of "numeric" is somewhat unusual: the strings themselves | |
460 | (like "Inf") are considered numeric, and anything following them is | |
461 | considered non-numeric. | |
462 | ||
463 | =end original | |
464 | ||
465 | Note that for the | |
466 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し | |
467 | 変わっていることに注意してください: | |
468 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに | |
469 | 何かが引き続いている場合は非数値として扱われます。 | |
470 | ||
471 | =item Argument list not closed for PerlIO layer "%s" | |
472 | ||
320 | 473 | =begin original |
321 | 474 | |
322 | ( | |
475 | (W layer) When pushing a layer with arguments onto the Perl I/O | |
476 | system you forgot the ) that closes the argument list. (Layers | |
477 | take care of transforming data between external and internal | |
478 | representations.) Perl stopped parsing the layer list at this | |
479 | point and did not attempt to push this layer. If your program | |
480 | didn't explicitly request the failing operation, it may be the | |
481 | result of the value of the environment variable PERLIO. | |
323 | 482 | |
324 | 483 | =end original |
325 | 484 | |
326 | ( | |
485 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを | |
327 | ||
486 | 閉じる ) を忘れています。 | |
487 | (層はデータの外部表現と内部表現の変換を扱います。) | |
488 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
489 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
490 | 値が原因かもしれません。 | |
328 | 491 | |
329 | | |
492 | =item Argument "%s" treated as 0 in increment (++) | |
330 | $ref->{"susie"}[12] | |
331 | 493 | |
332 | = | |
494 | =begin original | |
333 | 495 | |
496 | (W numeric) The indicated string was fed as an argument to the C<++> | |
497 | operator which expects either a number or a string matching | |
498 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and | |
499 | Auto-decrement> for details. | |
500 | ||
501 | =end original | |
502 | ||
503 | (W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を | |
504 | 想定しているC<++> 演算子に、示された文字列が指定されました。 | |
505 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 | |
506 | ||
507 | =item Array passed to stat will be coerced to a scalar%s | |
508 | ||
334 | 509 | =begin original |
335 | 510 | |
336 | ( | |
511 | (W syntax) You called stat() on an array, but the array will be | |
337 | s | |
512 | coerced to a scalar - the number of elements in the array. | |
338 | 513 | |
339 | 514 | =end original |
340 | 515 | |
341 | ( | |
516 | (W syntax) 配列に対して stat() が呼び出されましたが、配列は | |
517 | スカラ - 配列の要素数 - に強制されました。 | |
342 | 518 | |
343 | $ | |
519 | =item A signature parameter must start with '$', '@' or '%' | |
344 | $ref->{"susie"}[12] | |
345 | 520 | |
346 | 521 | =begin original |
347 | 522 | |
348 | ||
523 | (F) Each subroutine signature parameter declaration must start with a valid | |
524 | sigil; for example: | |
349 | 525 | |
350 | 526 | =end original |
351 | 527 | |
352 | ||
528 | (F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で | |
529 | 始まらなければなりません; 例えば: | |
353 | 530 | |
354 | | |
531 | sub foo ($a, $, $b = 1, @c) {} | |
355 | @{$ref->[12]}{"susie", "queue"} | |
356 | 532 | |
357 | =item | |
533 | =item A slurpy parameter may not have a default value | |
358 | 534 | |
359 | 535 | =begin original |
360 | 536 | |
361 | (F) | |
537 | (F) Only scalar subroutine signature parameters may have a default value; | |
362 | ||
538 | for example: | |
363 | error. | |
364 | 539 | |
365 | 540 | =end original |
366 | 541 | |
367 | (F) | |
542 | (F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持てます; | |
368 | ||
543 | 例えば: | |
369 | C<exists &sub()> とするとこのエラーが生成されます。 | |
370 | 544 | |
371 | ||
545 | sub foo ($a = 1) {} # legal | |
546 | sub foo (@a = (1)) {} # invalid | |
547 | sub foo (%a = (a => b)) {} # invalid | |
372 | 548 | |
549 | =item assertion botched: %s | |
550 | ||
373 | 551 | =begin original |
374 | 552 | |
375 | ( | |
553 | (X) The malloc package that comes with Perl had an internal failure. | |
376 | that expected a numeric value instead. If you're fortunate the message | |
377 | will identify which operator was so unfortunate. | |
378 | 554 | |
379 | 555 | =end original |
380 | 556 | |
381 | ( | |
557 | (X) Perl に付属の malloc ルーティンが内部エラーを起こしました。 | |
382 | 与えられました。 | |
383 | 運がよければ、このメッセージによって、どの演算子が | |
384 | 問題となったかがわかります。 | |
385 | 558 | |
386 | =item Ar | |
559 | =item Assertion %s failed: file "%s", line %d | |
387 | 560 | |
388 | 561 | =begin original |
389 | 562 | |
390 | ( | |
563 | (X) A general assertion failed. The file in question must be examined. | |
391 | spots. This is now heavily deprecated. | |
392 | 564 | |
393 | 565 | =end original |
394 | 566 | |
395 | ( | |
567 | (X) 一般的なアサーションが失敗しました。 | |
396 | ||
568 | 問題の file を調べる必要があります。 | |
397 | この省略は、止めてください。 | |
398 | 569 | |
399 | =item | |
570 | =item Assigned value is not a reference | |
400 | 571 | |
401 | 572 | =begin original |
402 | 573 | |
403 | ( | |
574 | (F) You tried to assign something that was not a reference to an lvalue | |
575 | reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use | |
576 | C<\$x = \$y>. | |
404 | 577 | |
405 | 578 | =end original |
406 | 579 | |
407 | ( | |
580 | (F) リファレンスでないものを左辺値リファレンスに代入しようとしました | |
581 | (例: C<\$x = $y>)。 | |
582 | $x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。 | |
408 | 583 | |
409 | =item Ass | |
584 | =item Assigned value is not %s reference | |
410 | 585 | |
411 | 586 | =begin original |
412 | 587 | |
413 | ( | |
588 | (F) You tried to assign a reference to a reference constructor, but the | |
589 | two references were not of the same type. You cannot alias a scalar to | |
590 | an array, or an array to a hash; the two types must match. | |
414 | 591 | |
415 | 592 | =end original |
416 | 593 | |
417 | ( | |
594 | (F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、 | |
418 | ||
595 | 二つのリファレンスが同じ型ではありません。 | |
596 | スカラから配列への別名や配列からハッシュへの別名はできません; | |
597 | 二つの型は一致していなければなりません。 | |
419 | 598 | |
599 | \$x = \@y; # error | |
600 | \@x = \%y; # error | |
601 | $y = []; | |
602 | \$x = $y; # error; did you mean \$y? | |
603 | ||
604 | =item Assigning non-zero to $[ is no longer possible | |
605 | ||
606 | =begin original | |
607 | ||
608 | (F) When the "array_base" feature is disabled | |
609 | (e.g., and under C<use v5.16;>, and as of Perl 5.30) | |
610 | the special variable C<$[>, which is deprecated, is now a fixed zero value. | |
611 | ||
612 | =end original | |
613 | ||
614 | (F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が | |
615 | 無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。 | |
616 | ||
420 | 617 | =item Assignment to both a list and a scalar |
421 | 618 | |
422 | 619 | =begin original |
423 | 620 | |
424 | 621 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
425 | 622 | must either both be scalars or both be lists. Otherwise Perl won't |
426 | 623 | know which context to supply to the right side. |
427 | 624 | |
428 | 625 | =end original |
429 | 626 | |
430 | (F) 条件演算子へ代入を行なう場合には、 | |
627 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 | |
431 | 628 | ともにスカラか、ともにリストでなければなりません。 |
432 | 629 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
433 | 630 | |
434 | =item | |
631 | =item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/ | |
435 | 632 | |
436 | 633 | =begin original |
437 | 634 | |
438 | ( | |
635 | (W regexp) You had something like these: | |
439 | greater than or equal to zero. | |
440 | 636 | |
441 | 637 | =end original |
442 | 638 | |
443 | ( | |
639 | (W regexp) 次のようなことをしました: | |
444 | 二つ目の引数は 0 以上でなければなりません。 | |
445 | 640 | |
446 | ||
641 | [[:alnum]] | |
642 | [[:digit:xyz] | |
447 | 643 | |
448 | 644 | =begin original |
449 | 645 | |
450 | ||
646 | They look like they might have been meant to be the POSIX classes | |
647 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
648 | ||
649 | =end original | |
650 | ||
651 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
652 | していたように見えます。 | |
653 | もしそうなら、次のように書くべきです: | |
654 | ||
655 | [[:alnum:]] | |
656 | [[:digit:]xyz] | |
657 | ||
658 | =begin original | |
659 | ||
660 | Since these aren't legal POSIX class specifications, but are legal | |
661 | bracketed character classes, Perl treats them as the latter. In the | |
662 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
663 | C<"m">, C<"n">, and C<"u">. | |
664 | ||
665 | =end original | |
666 | ||
667 | これらは有効な POSIX クラスしようではありませんが、有効な | |
668 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
669 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
670 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
671 | ||
672 | =begin original | |
673 | ||
674 | If these weren't meant to be POSIX classes, this warning message is | |
675 | spurious, and can be suppressed by reordering things, such as | |
676 | ||
677 | =end original | |
678 | ||
679 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
680 | 次のように文字を入れ替えることで抑制できます: | |
681 | ||
682 | [[al:num]] | |
683 | ||
684 | =begin original | |
685 | ||
686 | or | |
687 | ||
688 | =end original | |
689 | ||
690 | または | |
691 | ||
692 | [[:munla]] | |
693 | ||
694 | =item <> at require-statement should be quotes | |
695 | ||
696 | =begin original | |
697 | ||
698 | (F) You wrote C<< require <file> >> when you should have written | |
699 | C<require 'file'>. | |
700 | ||
701 | =end original | |
702 | ||
703 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
704 | 書いています。 | |
705 | ||
706 | =item Attempt to access disallowed key '%s' in a restricted hash | |
707 | ||
708 | =begin original | |
709 | ||
710 | (F) The failing code has attempted to get or set a key which is not in | |
711 | the current set of allowed keys of a restricted hash. | |
712 | ||
713 | =end original | |
714 | ||
715 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して | |
716 | 取得または設定しようとして失敗しました。 | |
717 | ||
718 | =item Attempt to bless into a freed package | |
719 | ||
720 | =begin original | |
721 | ||
722 | (F) You wrote C<bless $foo> with one argument after somehow causing | |
723 | the current package to be freed. Perl cannot figure out what to | |
724 | do, so it throws up its hands in despair. | |
725 | ||
726 | =end original | |
727 | ||
728 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の | |
729 | C<bless $foo> を書きました。 | |
730 | 何がしたいのかが分からないので Perl はお手上げになりました。 | |
731 | ||
732 | =item Attempt to bless into a reference | |
733 | ||
734 | =begin original | |
735 | ||
736 | (F) The CLASSNAME argument to the bless() operator is expected to be | |
737 | the name of the package to bless the resulting object into. You've | |
738 | supplied instead a reference to something: perhaps you wrote | |
739 | ||
740 | =end original | |
741 | ||
742 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する | |
743 | パッケージ名を想定しています。 | |
744 | そこに何かへのリファレンスが与えられました: | |
745 | おそらく以下のようにしたのでしょう: | |
746 | ||
747 | bless $self, $proto; | |
748 | ||
749 | =begin original | |
750 | ||
751 | when you intended | |
752 | ||
753 | =end original | |
754 | ||
755 | 以下を意図していたはずです: | |
756 | ||
757 | bless $self, ref($proto) || $proto; | |
758 | ||
759 | =begin original | |
760 | ||
761 | If you actually want to bless into the stringified version | |
762 | of the reference supplied, you need to stringify it yourself, for | |
763 | example by: | |
764 | ||
765 | =end original | |
766 | ||
767 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 | |
768 | 以下のようにして自分で文字列化する必要があります: | |
769 | ||
770 | bless $self, "$proto"; | |
771 | ||
772 | =item Attempt to clear deleted array | |
773 | ||
774 | =begin original | |
775 | ||
776 | (S debugging) An array was assigned to when it was being freed. | |
777 | Freed values are not supposed to be visible to Perl code. This | |
778 | can also happen if XS code calls C<av_clear> from a custom magic | |
779 | callback on the array. | |
780 | ||
781 | =end original | |
782 | ||
783 | (S debugging) 配列が、解放されるときに代入されました。 | |
784 | 解放された値は Perl コードからは見えないはずです。 | |
785 | これはまた、XS コードが配列のカスタムマジックコールバックから | |
786 | C<av_clear> を呼び出したときにも起こります。 | |
787 | ||
788 | =item Attempt to delete disallowed key '%s' from a restricted hash | |
789 | ||
790 | =begin original | |
791 | ||
792 | (F) The failing code attempted to delete from a restricted hash a key | |
793 | which is not in its key set. | |
794 | ||
795 | =end original | |
796 | ||
797 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 | |
798 | ||
799 | =item Attempt to delete readonly key '%s' from a restricted hash | |
800 | ||
801 | =begin original | |
802 | ||
803 | (F) The failing code attempted to delete a key whose value has been | |
804 | declared readonly from a restricted hash. | |
805 | ||
806 | =end original | |
807 | ||
808 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを | |
809 | 削除しようとしました。 | |
810 | ||
811 | =item Attempt to free non-arena SV: 0x%x | |
812 | ||
813 | =begin original | |
814 | ||
815 | (S internal) All SV objects are supposed to be allocated from arenas | |
451 | 816 | that will be garbage collected on exit. An SV was discovered to be |
452 | 817 | outside any of those arenas. |
453 | 818 | |
454 | 819 | =end original |
455 | 820 | |
456 | ( | |
821 | (S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが | |
457 | 822 | 行なわれるアリーナに割り当てるようになっています。 |
458 | 823 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
459 | 824 | |
460 | =item Attempt to free nonexistent shared string | |
825 | =item Attempt to free nonexistent shared string '%s'%s | |
461 | 826 | |
462 | 827 | =begin original |
463 | 828 | |
464 | ( | |
829 | (S internal) Perl maintains a reference-counted internal table of | |
465 | 830 | strings to optimize the storage and access of hash keys and other |
466 | 831 | strings. This indicates someone tried to decrement the reference count |
467 | 832 | of a string that can no longer be found in the table. |
468 | 833 | |
469 | 834 | =end original |
470 | 835 | |
471 | ( | |
836 | (S internal) Perl はストレージおよびハッシュキーとその他の文字列への | |
472 | ||
837 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 | |
473 | ||
838 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを | |
474 | ||
839 | 示します。 | |
475 | したことを示します。 | |
476 | 840 | |
477 | =item Attempt to free temp prematurely | |
841 | =item Attempt to free temp prematurely: SV 0x%x | |
478 | 842 | |
479 | 843 | =begin original |
480 | 844 | |
481 | ( | |
845 | (S debugging) Mortalized values are supposed to be freed by the | |
482 | 846 | free_tmps() routine. This indicates that something else is freeing the |
483 | 847 | SV before the free_tmps() routine gets a chance, which means that the |
484 | 848 | free_tmps() routine will be freeing an unreferenced scalar when it does |
485 | 849 | try to free it. |
486 | 850 | |
487 | 851 | =end original |
488 | 852 | |
489 | ( | |
853 | (S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように | |
490 | 854 | なっています。 |
491 | 855 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
492 | 856 | 解放しようとしていることを示していて、これは、free_tmps() が |
493 | 857 | 解放しようとしたときには、どこからも参照されていないスカラを |
494 | 858 | 解放することになるということです。 |
495 | 859 | |
496 | 860 | =item Attempt to free unreferenced glob pointers |
497 | 861 | |
498 | 862 | =begin original |
499 | 863 | |
500 | ( | |
864 | (S internal) The reference counts got screwed up on symbol aliases. | |
501 | 865 | |
502 | 866 | =end original |
503 | 867 | |
504 | ( | |
868 | (S internal) シンボルのエイリアスについて、参照カウントの値がおかしな | |
505 | 869 | 状態になりました。 |
506 | 870 | |
507 | =item Attempt to free unreferenced scalar | |
871 | =item Attempt to free unreferenced scalar: SV 0x%x | |
508 | 872 | |
509 | 873 | =begin original |
510 | 874 | |
511 | ( | |
875 | (S internal) Perl went to decrement the reference count of a scalar to | |
512 | 876 | see if it would go to 0, and discovered that it had already gone to 0 |
513 | 877 | earlier, and should have been freed, and in fact, probably was freed. |
514 | 878 | This could indicate that SvREFCNT_dec() was called too many times, or |
515 | 879 | that SvREFCNT_inc() was called too few times, or that the SV was |
516 | 880 | mortalized when it shouldn't have been, or that memory has been |
517 | 881 | corrupted. |
518 | 882 | |
519 | 883 | =end original |
520 | 884 | |
521 | ( | |
885 | (S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
522 | なるかを見たところ、既に 0 になっていることがわかりました | |
886 | なるかを見たところ、既に 0 になっていることがわかりました; | |
523 | 887 | これは、既に解放されているべきものであり、実際は、おそらく、 |
524 | 888 | 解放されたものでしょう。 |
525 | 889 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
526 | 890 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
527 | 891 | メモリ異常になったことが考えられます。 |
528 | 892 | |
529 | =item Attempt to join self | |
530 | ||
531 | =begin original | |
532 | ||
533 | (F) You tried to join a thread from within itself, which is an | |
534 | impossible task. You may be joining the wrong thread, or you may need | |
535 | to move the join() to some other thread. | |
536 | ||
537 | =end original | |
538 | ||
539 | (F) スレッドをそれ自身の中から join しようとしました。 | |
540 | これは不可能な動作です。 | |
541 | 間違ったスレッドに join しようとしているか、 | |
542 | あるいは join() を他のスレッドに移動させる必要があります。 | |
543 | ||
544 | 893 | =item Attempt to pack pointer to temporary value |
545 | 894 | |
546 | 895 | =begin original |
547 | 896 | |
548 | 897 | (W pack) You tried to pass a temporary value (like the result of a |
549 | 898 | function, or a computed expression) to the "p" pack() template. This |
550 | 899 | means the result contains a pointer to a location that could become |
551 | 900 | invalid anytime, even before the end of the current statement. Use |
552 | 901 | literals or global values as arguments to the "p" pack() template to |
553 | 902 | avoid this warning. |
554 | 903 | |
555 | 904 | =end original |
556 | 905 | |
557 | 906 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
558 | 907 | "p" テンプレートに渡そうとしました。 |
559 | 908 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
560 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
909 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか | |
561 | ||
910 | グローバルな値を使ってください。 | |
562 | 911 | |
912 | =item Attempt to reload %s aborted. | |
913 | ||
914 | =begin original | |
915 | ||
916 | (F) You tried to load a file with C<use> or C<require> that failed to | |
917 | compile once already. Perl will not try to compile this file again | |
918 | unless you delete its entry from %INC. See L<perlfunc/require> and | |
919 | L<perlvar/%INC>. | |
920 | ||
921 | =end original | |
922 | ||
923 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で | |
924 | 読み込もうとしました。 | |
925 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを | |
926 | コンパイルしようとはしません。 | |
927 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 | |
928 | ||
929 | =item Attempt to set length of freed array | |
930 | ||
931 | =begin original | |
932 | ||
933 | (W misc) You tried to set the length of an array which has | |
934 | been freed. You can do this by storing a reference to the | |
935 | scalar representing the last index of an array and later | |
936 | assigning through that reference. For example | |
937 | ||
938 | =end original | |
939 | ||
940 | (W misc) 既に解放された配列の長さを設定しようとしました。 | |
941 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 | |
942 | 後でこのリファレンスを通して代入することでこれを行えます。 | |
943 | 例えば: | |
944 | ||
945 | $r = do {my @a; \$#a}; | |
946 | $$r = 503 | |
947 | ||
563 | 948 | =item Attempt to use reference as lvalue in substr |
564 | 949 | |
565 | 950 | =begin original |
566 | 951 | |
567 | 952 | (W substr) You supplied a reference as the first argument to substr() |
568 | 953 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
569 | 954 | dereference it first. See L<perlfunc/substr>. |
570 | 955 | |
571 | 956 | =end original |
572 | 957 | |
573 | 958 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
574 | 959 | 渡しました; これはやや奇妙なことです。 |
575 | 960 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
576 | 961 | L<perlfunc/substr> を参照してください。 |
577 | 962 | |
578 | =item | |
963 | =item Attribute prototype(%s) discards earlier prototype attribute in same sub | |
579 | 964 | |
580 | 965 | =begin original |
581 | 966 | |
967 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
968 | example. Since each sub can only have one prototype, the earlier | |
969 | declaration(s) are discarded while the last one is applied. | |
970 | ||
971 | =end original | |
972 | ||
973 | (W misc) あるサブルーチンが、例えば | |
974 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 | |
975 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に | |
976 | 宣言されたものは破棄され、最後のものが適用されます。 | |
977 | ||
978 | =item av_reify called on tied array | |
979 | ||
980 | =begin original | |
981 | ||
982 | (S debugging) This indicates that something went wrong and Perl got I<very> | |
983 | confused about C<@_> or C<@DB::args> being tied. | |
984 | ||
985 | =end original | |
986 | ||
987 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが | |
988 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 | |
989 | ||
990 | =item Bad arg length for %s, is %u, should be %d | |
991 | ||
992 | =begin original | |
993 | ||
582 | 994 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
583 | 995 | or shmctl(). In C parlance, the correct sizes are, respectively, |
584 | 996 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
585 | 997 | S<sizeof(struct shmid_ds *)>. |
586 | 998 | |
587 | 999 | =end original |
588 | 1000 | |
589 | 1001 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
590 | 1002 | 渡してしまいました。 |
591 | 1003 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
592 | 1004 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
593 | 1005 | |
594 | 1006 | =item Bad evalled substitution pattern |
595 | 1007 | |
596 | 1008 | =begin original |
597 | 1009 | |
598 | (F) You've used the /e switch to evaluate the replacement for a | |
1010 | (F) You've used the C</e> switch to evaluate the replacement for a | |
599 | 1011 | substitution, but perl found a syntax error in the code to evaluate, |
600 | 1012 | most likely an unexpected right brace '}'. |
601 | 1013 | |
602 | 1014 | =end original |
603 | 1015 | |
604 | 1016 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
605 | 1017 | いますが、評価するコードに文法エラーがありました; |
606 | 1018 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
607 | 1019 | |
608 | 1020 | =item Bad filehandle: %s |
609 | 1021 | |
610 | 1022 | =begin original |
611 | 1023 | |
612 | 1024 | (F) A symbol was passed to something wanting a filehandle, but the |
613 | 1025 | symbol has no filehandle associated with it. Perhaps you didn't do an |
614 | 1026 | open(), or did it in another package. |
615 | 1027 | |
616 | 1028 | =end original |
617 | 1029 | |
618 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
1030 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 | |
619 | そ | |
1031 | それに伴うファイルハンドルがありません。 | |
620 | 1032 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
621 | 1033 | |
622 | 1034 | =item Bad free() ignored |
623 | 1035 | |
624 | 1036 | =begin original |
625 | 1037 | |
626 | 1038 | (S malloc) An internal routine called free() on something that had never |
627 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
1039 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
628 | 1040 | setting environment variable C<PERL_BADFREE> to 0. |
629 | 1041 | |
630 | 1042 | =end original |
631 | 1043 | |
632 | 1044 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
633 | 1045 | free() を呼びました。 |
634 | 1046 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
635 | 1047 | |
636 | 1048 | =begin original |
637 | 1049 | |
638 | 1050 | This message can be seen quite often with DB_File on systems with "hard" |
639 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
1051 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
640 | 1052 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
641 | 1053 | |
642 | 1054 | =end original |
643 | 1055 | |
644 | 1056 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
645 | 1057 | 行うシステムで DB_File を使うとしばしば表示されます。 |
646 | 1058 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
647 | 1059 | C<Berkeley DB> のバグです。 |
648 | 1060 | |
649 | =item Bad hash | |
650 | ||
651 | =begin original | |
652 | ||
653 | (P) One of the internal hash routines was passed a null HV pointer. | |
654 | ||
655 | =end original | |
656 | ||
657 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 | |
658 | ||
659 | =item Bad index while coercing array into hash | |
660 | ||
661 | =begin original | |
662 | ||
663 | (F) The index looked up in the hash found as the 0'th element of a | |
664 | pseudo-hash is not legal. Index values must be at 1 or greater. | |
665 | See L<perlref>. | |
666 | ||
667 | =end original | |
668 | ||
669 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の | |
670 | インデックス検索は不正です。 | |
671 | インデックスの値は 1 以上でなければなりません。 | |
672 | L<perlref> を参照してください。 | |
673 | ||
674 | 1061 | =item Badly placed ()'s |
675 | 1062 | |
676 | 1063 | =begin original |
677 | 1064 | |
678 | 1065 | (A) You've accidentally run your script through B<csh> instead |
679 | 1066 | of Perl. Check the #! line, or manually feed your script into |
680 | 1067 | Perl yourself. |
681 | 1068 | |
682 | 1069 | =end original |
683 | 1070 | |
684 | 1071 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
685 | #! 行を | |
1072 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
686 | 1073 | |
687 | =item Bad name after %s | |
1074 | =item Bad name after %s | |
688 | 1075 | |
689 | 1076 | =begin original |
690 | 1077 | |
691 | 1078 | (F) You started to name a symbol by using a package prefix, and then |
692 | 1079 | didn't finish the symbol. In particular, you can't interpolate outside |
693 | 1080 | of quotes, so |
694 | 1081 | |
695 | 1082 | =end original |
696 | 1083 | |
697 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
1084 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが | |
698 | ||
1085 | 終了しませんでした。 | |
699 | 1086 | 特に、クォートの外で、変数展開はできませんから、 |
700 | 1087 | |
701 | 1088 | $var = 'myvar'; |
702 | 1089 | $sym = mypack::$var; |
703 | 1090 | |
704 | 1091 | =begin original |
705 | 1092 | |
706 | 1093 | is not the same as |
707 | 1094 | |
708 | 1095 | =end original |
709 | 1096 | |
710 | 1097 | は、以下と同じではありません。 |
711 | 1098 | |
712 | 1099 | $var = 'myvar'; |
713 | 1100 | $sym = "mypack::$var"; |
714 | 1101 | |
1102 | =item Bad plugin affecting keyword '%s' | |
1103 | ||
1104 | =begin original | |
1105 | ||
1106 | (F) An extension using the keyword plugin mechanism violated the | |
1107 | plugin API. | |
1108 | ||
1109 | =end original | |
1110 | ||
1111 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に | |
1112 | 違反しました。 | |
1113 | ||
715 | 1114 | =item Bad realloc() ignored |
716 | 1115 | |
717 | 1116 | =begin original |
718 | 1117 | |
719 | (S malloc) An internal routine called realloc() on something that | |
1118 | (S malloc) An internal routine called realloc() on something that | |
720 | never been malloc()ed in the first place. Mandatory, but can | |
1119 | had never been malloc()ed in the first place. Mandatory, but can | |
721 | by setting environment variable C<PERL_BADFREE> to 1. | |
1120 | be disabled by setting the environment variable C<PERL_BADFREE> to 1. | |
722 | 1121 | |
723 | 1122 | =end original |
724 | 1123 | |
725 | 1124 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
726 | 1125 | realloc() を呼び出しました。 |
727 | 1126 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
728 | 1127 | |
729 | 1128 | =item Bad symbol for array |
730 | 1129 | |
731 | 1130 | =begin original |
732 | 1131 | |
733 | 1132 | (P) An internal request asked to add an array entry to something that |
734 | 1133 | wasn't a symbol table entry. |
735 | 1134 | |
736 | 1135 | =end original |
737 | 1136 | |
738 | 1137 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
739 | 1138 | 内部要求があがりました。 |
740 | 1139 | |
1140 | =item Bad symbol for dirhandle | |
1141 | ||
1142 | =begin original | |
1143 | ||
1144 | (P) An internal request asked to add a dirhandle entry to something | |
1145 | that wasn't a symbol table entry. | |
1146 | ||
1147 | =end original | |
1148 | ||
1149 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
1150 | 登録するような内部要求があがりました。 | |
1151 | ||
741 | 1152 | =item Bad symbol for filehandle |
742 | 1153 | |
743 | 1154 | =begin original |
744 | 1155 | |
745 | 1156 | (P) An internal request asked to add a filehandle entry to something |
746 | 1157 | that wasn't a symbol table entry. |
747 | 1158 | |
748 | 1159 | =end original |
749 | 1160 | |
750 | 1161 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
751 | 1162 | 登録するような内部要求があがりました。 |
752 | 1163 | |
753 | 1164 | =item Bad symbol for hash |
754 | 1165 | |
755 | 1166 | =begin original |
756 | 1167 | |
757 | 1168 | (P) An internal request asked to add a hash entry to something that |
758 | 1169 | wasn't a symbol table entry. |
759 | 1170 | |
760 | 1171 | =end original |
761 | 1172 | |
762 | 1173 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
763 | 1174 | 登録するような内部要求があがった。 |
764 | 1175 | |
1176 | =item Bad symbol for scalar | |
1177 | ||
1178 | =begin original | |
1179 | ||
1180 | (P) An internal request asked to add a scalar entry to something that | |
1181 | wasn't a symbol table entry. | |
1182 | ||
1183 | =end original | |
1184 | ||
1185 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを | |
1186 | 追加するよう要求がありました。 | |
1187 | ||
765 | 1188 | =item Bareword found in conditional |
766 | 1189 | |
767 | 1190 | =begin original |
768 | 1191 | |
769 | 1192 | (W bareword) The compiler found a bareword where it expected a |
770 | 1193 | conditional, which often indicates that an || or && was parsed as part |
771 | 1194 | of the last argument of the previous construct, for example: |
772 | 1195 | |
773 | 1196 | =end original |
774 | 1197 | |
775 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました | |
1198 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; | |
776 | 1199 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
777 | 1200 | パースされたことを意味します; 例えば: |
778 | 1201 | |
779 | 1202 | open FOO || die; |
780 | 1203 | |
781 | 1204 | =begin original |
782 | 1205 | |
783 | 1206 | It may also indicate a misspelled constant that has been interpreted as |
784 | 1207 | a bareword: |
785 | 1208 | |
786 | 1209 | =end original |
787 | 1210 | |
788 | 1211 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
789 | 1212 | 示している場合もあります: |
790 | 1213 | |
791 | 1214 | use constant TYPO => 1; |
792 | 1215 | if (TYOP) { print "foo" } |
793 | 1216 | |
794 | 1217 | =begin original |
795 | 1218 | |
796 | 1219 | The C<strict> pragma is useful in avoiding such errors. |
797 | 1220 | |
798 | 1221 | =end original |
799 | 1222 | |
800 | 1223 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
801 | 1224 | |
1225 | =item Bareword in require contains "%s" | |
1226 | ||
1227 | =item Bareword in require maps to disallowed filename "%s" | |
1228 | ||
1229 | =item Bareword in require maps to empty filename | |
1230 | ||
1231 | =begin original | |
1232 | ||
1233 | (F) The bareword form of require has been invoked with a filename which could | |
1234 | not have been generated by a valid bareword permitted by the parser. You | |
1235 | shouldn't be able to get this error from Perl code, but XS code may throw it | |
1236 | if it passes an invalid module name to C<Perl_load_module>. | |
1237 | ||
1238 | =end original | |
1239 | ||
1240 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって | |
1241 | 生成することができないファイル名で起動されました。 | |
1242 | このエラーを Perl コードから得るようにできるべきではありませんが、 | |
1243 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは | |
1244 | これを投げるかもしれません。 | |
1245 | ||
1246 | =item Bareword in require must not start with a double-colon: "%s" | |
1247 | ||
1248 | =begin original | |
1249 | ||
1250 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a | |
1251 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. | |
1252 | ||
1253 | =end original | |
1254 | ||
1255 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから | |
1256 | 開始することはできません。 | |
1257 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 | |
1258 | ||
802 | 1259 | =item Bareword "%s" not allowed while "strict subs" in use |
803 | 1260 | |
804 | 1261 | =begin original |
805 | 1262 | |
806 | 1263 | (F) With "strict subs" in use, a bareword is only allowed as a |
807 | 1264 | subroutine identifier, in curly brackets or to the left of the "=>" |
808 | 1265 | symbol. Perhaps you need to predeclare a subroutine? |
809 | 1266 | |
810 | 1267 | =end original |
811 | 1268 | |
812 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
1269 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 | |
813 | ||
1270 | シンボル "=>" の左側でのみ許されます。 | |
814 | 1271 | おそらくサブルーチンを先行宣言する必要があるのでは? |
815 | 1272 | |
816 | 1273 | =item Bareword "%s" refers to nonexistent package |
817 | 1274 | |
818 | 1275 | =begin original |
819 | 1276 | |
820 | 1277 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
821 | 1278 | compiler saw no other uses of that namespace before that point. Perhaps |
822 | 1279 | you need to predeclare a package? |
823 | 1280 | |
824 | 1281 | =end original |
825 | 1282 | |
826 | 1283 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
827 | 1284 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
828 | 1285 | 発見できませんでした。 |
829 | 1286 | おそらくパッケージを専攻宣言する必要があるのでは? |
830 | 1287 | |
1288 | =item Bareword filehandle "%s" not allowed under 'no feature "bareword_filehandles"' | |
1289 | ||
1290 | =begin original | |
1291 | ||
1292 | (F) You attempted to use a bareword filehandle with the | |
1293 | C<bareword_filehandles> feature disabled. | |
1294 | ||
1295 | =end original | |
1296 | ||
1297 | (F) C<bareword_filehandles> 機能が無効のときに | |
1298 | 裸の単語のファイルハンドルを使おうとしました。 | |
1299 | ||
1300 | =begin original | |
1301 | ||
1302 | Only the built-in handles C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
1303 | C<ARGVOUT> and C<DATA> can be used with the C<bareword_filehandles> | |
1304 | feature disabled. | |
1305 | ||
1306 | =end original | |
1307 | ||
1308 | C<bareword_filehandles> 機能が無効のときは、 | |
1309 | 組み込みハンドル C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
1310 | C<ARGVOUT>, C<DATA> 飲みが使えます。 | |
1311 | ||
831 | 1312 | =item BEGIN failed--compilation aborted |
832 | 1313 | |
833 | 1314 | =begin original |
834 | 1315 | |
835 | 1316 | (F) An untrapped exception was raised while executing a BEGIN |
836 | 1317 | subroutine. Compilation stops immediately and the interpreter is |
837 | 1318 | exited. |
838 | 1319 | |
839 | 1320 | =end original |
840 | 1321 | |
841 | (F) BEGIN サブルー | |
1322 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 | |
842 | 1323 | コンパイルは即座に停止し、インタプリタは中止します。 |
843 | 1324 | |
844 | 1325 | =item BEGIN not safe after errors--compilation aborted |
845 | 1326 | |
846 | 1327 | =begin original |
847 | 1328 | |
848 | 1329 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
849 | 1330 | implies a C<BEGIN {}>) after one or more compilation errors had already |
850 | 1331 | occurred. Since the intended environment for the C<BEGIN {}> could not |
851 | 1332 | be guaranteed (due to the errors), and since subsequent code likely |
852 | 1333 | depends on its correct operation, Perl just gave up. |
853 | 1334 | |
854 | 1335 | =end original |
855 | 1336 | |
856 | 1337 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
857 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
1338 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 | |
858 | ||
1339 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは | |
859 | ||
1340 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 | |
860 | 引き続くコードは正しい処理に依存していると考えられるので、 | |
861 | Perl は単に諦めました。 | |
862 | 1341 | |
863 | =item \ | |
1342 | =item \%d better written as $%d | |
864 | 1343 | |
865 | 1344 | =begin original |
866 | 1345 | |
867 | 1346 | (W syntax) Outside of patterns, backreferences live on as variables. |
868 | 1347 | The use of backslashes is grandfathered on the right-hand side of a |
869 | 1348 | substitution, but stylistically it's better to use the variable form |
870 | 1349 | because other Perl programmers will expect it, and it works better if |
871 | 1350 | there are more than 9 backreferences. |
872 | 1351 | |
873 | 1352 | =end original |
874 | 1353 | |
875 | 1354 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
876 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
1355 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の | |
877 | ||
1356 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 | |
878 | ||
1357 | 変数形式を使う方が良いでしょう。 | |
879 | 1358 | |
880 | 1359 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
881 | 1360 | |
882 | 1361 | =begin original |
883 | 1362 | |
884 | 1363 | (W portable) The binary number you specified is larger than 2**32-1 |
885 | 1364 | (4294967295) and therefore non-portable between systems. See |
886 | 1365 | L<perlport> for more on portability concerns. |
887 | 1366 | |
888 | 1367 | =end original |
889 | 1368 | |
890 | 1369 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
891 | 1370 | システム間での移植性がありません。 |
892 | 1371 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
893 | 1372 | |
894 | 1373 | =item bind() on closed socket %s |
895 | 1374 | |
896 | 1375 | =begin original |
897 | 1376 | |
898 | 1377 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
899 | 1378 | check the return value of your socket() call? See L<perlfunc/bind>. |
900 | 1379 | |
901 | 1380 | =end original |
902 | 1381 | |
903 | 1382 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
904 | 1383 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
905 | 1384 | L<perlfunc/bind> を参照してください。 |
906 | 1385 | |
1386 | =item binmode() on closed filehandle %s | |
1387 | ||
1388 | =begin original | |
1389 | ||
1390 | (W unopened) You tried binmode() on a filehandle that was never opened. | |
1391 | Check your control flow and number of arguments. | |
1392 | ||
1393 | =end original | |
1394 | ||
1395 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 | |
1396 | 制御フローと引数の数をチェックしてください。 | |
1397 | ||
907 | 1398 | =item Bit vector size > 32 non-portable |
908 | 1399 | |
909 | 1400 | =begin original |
910 | 1401 | |
911 | 1402 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
912 | 1403 | |
913 | 1404 | =end original |
914 | 1405 | |
915 | 1406 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
916 | 1407 | |
917 | =item Bizarre copy of %s | |
1408 | =item Bizarre copy of %s | |
918 | 1409 | |
919 | 1410 | =begin original |
920 | 1411 | |
921 | 1412 | (P) Perl detected an attempt to copy an internal value that is not |
922 | cop | |
1413 | copiable. | |
923 | 1414 | |
924 | 1415 | =end original |
925 | 1416 | |
926 | 1417 | (P) コピーできない内部の値をコピーしようとしました。 |
927 | 1418 | |
928 | =item B | |
1419 | =item Bizarre SvTYPE [%d] | |
929 | 1420 | |
930 | 1421 | =begin original |
931 | 1422 | |
932 | ( | |
1423 | (P) When starting a new thread or returning values from a thread, Perl | |
933 | ||
1424 | encountered an invalid data type. | |
934 | 1425 | |
935 | 1426 | =end original |
936 | 1427 | |
937 | ( | |
1428 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な | |
938 | ||
1429 | データ型に遭遇しました。 | |
939 | もたらします。 | |
940 | 1430 | |
1431 | =item Both or neither range ends should be Unicode in regex; marked by | |
1432 | S<<-- HERE> in m/%s/ | |
1433 | ||
1434 | =begin original | |
1435 | ||
1436 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
1437 | ||
1438 | =end original | |
1439 | ||
1440 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
1441 | ||
1442 | =begin original | |
1443 | ||
1444 | In a bracketed character class in a regular expression pattern, you | |
1445 | had a range which has exactly one end of it specified using C<\N{}>, and | |
1446 | the other end is specified using a non-portable mechanism. Perl treats | |
1447 | the range as a Unicode range, that is, all the characters in it are | |
1448 | considered to be the Unicode characters, and which may be different code | |
1449 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> | |
1450 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it | |
1451 | matches the characters whose code points in Unicode are 6, 7, and 8. | |
1452 | But that C<\x08> might indicate that you meant something different, so | |
1453 | the warning gets raised. | |
1454 | ||
1455 | =end original | |
1456 | ||
1457 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って | |
1458 | 指定し、もう片方は移植性のない方法を使って指定しました。 | |
1459 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は | |
1460 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは | |
1461 | 異なる符号位置になるかもしれません。 | |
1462 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と | |
1463 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 | |
1464 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 | |
1465 | 警告が発生します。 | |
1466 | ||
941 | 1467 | =item Buffer overflow in prime_env_iter: %s |
942 | 1468 | |
943 | 1469 | =begin original |
944 | 1470 | |
945 | 1471 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
946 | 1472 | iterate over %ENV, it encountered a logical name or symbol definition |
947 | 1473 | which was too long, so it was truncated to the string shown. |
948 | 1474 | |
949 | 1475 | =end original |
950 | 1476 | |
951 | (W) VMS | |
1477 | (W internal) VMS に固有の警告です。 | |
952 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
1478 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 | |
953 | ||
1479 | 文字列は表示したように切り詰められました。 | |
954 | 1480 | |
1481 | =item Built-in function '%s' is experimental | |
1482 | ||
1483 | =begin original | |
1484 | ||
1485 | (S experimental::builtin) A call is being made to a function in the | |
1486 | C<builtin::> namespace, which is currently experimental. The existence | |
1487 | or nature of the function may be subject to change in a future version | |
1488 | of Perl. | |
1489 | ||
1490 | =end original | |
1491 | ||
1492 | (S experimental::builtin) A call is being made to a function in the | |
1493 | C<builtin::> namespace, which is currently experimental. The existence | |
1494 | or nature of the function may be subject to change in a future version | |
1495 | of Perl. | |
1496 | (TBT) | |
1497 | ||
1498 | =item builtin::import can only be called at compile time | |
1499 | ||
1500 | =begin original | |
1501 | ||
1502 | (F) The C<import> method of the C<builtin> package was invoked when no code | |
1503 | is currently being compiled. Since this method is used to introduce new | |
1504 | lexical subroutines into the scope currently being compiled, this is not | |
1505 | going to have any effect. | |
1506 | ||
1507 | =end original | |
1508 | ||
1509 | (F) 現在コンパイルされているコードがないときに、 | |
1510 | C<builtin> パッケージの C<import> メソッドが呼び出されました。 | |
1511 | このメソッドは現在コンパイルされているスコープ内に新しい | |
1512 | レキシカルサブルーチンを導入するために使われるので、 | |
1513 | これは何の効果もありません。 | |
1514 | ||
955 | 1515 | =item Callback called exit |
956 | 1516 | |
957 | 1517 | =begin original |
958 | 1518 | |
959 | 1519 | (F) A subroutine invoked from an external package via call_sv() |
960 | 1520 | exited by calling exit. |
961 | 1521 | |
962 | 1522 | =end original |
963 | 1523 | |
964 | (F) 外部パッケージから call_sv() で起動されたサブルー | |
1524 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで | |
965 | ||
1525 | 終了しました。 | |
966 | 1526 | |
967 | 1527 | =item %s() called too early to check prototype |
968 | 1528 | |
969 | 1529 | =begin original |
970 | 1530 | |
971 | 1531 | (W prototype) You've called a function that has a prototype before the |
972 | 1532 | parser saw a definition or declaration for it, and Perl could not check |
973 | 1533 | that the call conforms to the prototype. You need to either add an |
974 | 1534 | early prototype declaration for the subroutine in question, or move the |
975 | 1535 | subroutine definition ahead of the call to get proper prototype |
976 | 1536 | checking. Alternatively, if you are certain that you're calling the |
977 | 1537 | function correctly, you may put an ampersand before the name to avoid |
978 | 1538 | the warning. See L<perlsub>. |
979 | 1539 | |
980 | 1540 | =end original |
981 | 1541 | |
982 | 1542 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
983 | 1543 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
984 | 1544 | 従っているかどうかをチェックできませんでした。 |
985 | 1545 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
986 | 1546 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
987 | 1547 | 移動させる必要があります。 |
988 | 1548 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
989 | 1549 | アンパサンドを付けることで警告を回避できます。 |
990 | 1550 | L<perlsub> を参照してください。 |
991 | 1551 | |
992 | =item | |
1552 | =item Cannot chr %f | |
993 | 1553 | |
994 | 1554 | =begin original |
995 | 1555 | |
996 | (F) You | |
1556 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. | |
997 | you have also specified an explicit size for the string. See | |
998 | L<perlfunc/pack>. | |
999 | 1557 | |
1000 | 1558 | =end original |
1001 | 1559 | |
1002 | (F) | |
1560 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 | |
1003 | ||
1562 | =item Cannot complete in-place edit of %s: %s | |
1563 | ||
1564 | =begin original | |
1565 | ||
1566 | (F) Your perl script appears to have changed directory while | |
1567 | performing an in-place edit of a file specified by a relative path, | |
1568 | and your system doesn't include the directory relative POSIX functions | |
1569 | needed to handle that. | |
1570 | ||
1571 | =end original | |
1572 | ||
1573 | (F) perl スクリプトが、相対パスで指定されたファイルのその場編集を | |
1574 | 実行中にディレクトリを変更し、システムにはこれに対応するために必要な | |
1575 | ディレクトリ相対 POSIX 関数がないようです。 | |
1576 | ||
1577 | =item Cannot compress %f in pack | |
1578 | ||
1579 | =begin original | |
1580 | ||
1581 | (F) You tried compressing an infinity or not-a-number as an unsigned | |
1582 | integer with BER, which makes no sense. | |
1583 | ||
1584 | =end original | |
1585 | ||
1586 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 | |
1587 | ||
1588 | =item Cannot compress integer in pack | |
1589 | ||
1590 | =begin original | |
1591 | ||
1592 | (F) An argument to pack("w",...) was too large to compress. | |
1593 | The BER compressed integer format can only be used with positive | |
1594 | integers, and you attempted to compress a very large number (> 1e308). | |
1595 | See L<perlfunc/pack>. | |
1596 | ||
1597 | =end original | |
1598 | ||
1599 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 | |
1600 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 | |
1601 | (> 1e308) を圧縮しようとしました。 | |
1004 | 1602 | L<perlfunc/pack> を参照してください。 |
1005 | 1603 | |
1604 | =item Cannot compress negative numbers in pack | |
1605 | ||
1606 | =begin original | |
1607 | ||
1608 | (F) An argument to pack("w",...) was negative. The BER compressed integer | |
1609 | format can only be used with positive integers. See L<perlfunc/pack>. | |
1610 | ||
1611 | =end original | |
1612 | ||
1613 | (F) pack("w",...) の引数が負数です。 | |
1614 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 | |
1615 | L<perlfunc/pack> を参照してください。 | |
1616 | ||
1617 | =item Cannot convert a reference to %s to typeglob | |
1618 | ||
1619 | =begin original | |
1620 | ||
1621 | (F) You manipulated Perl's symbol table directly, stored a reference | |
1622 | in it, then tried to access that symbol via conventional Perl syntax. | |
1623 | The access triggers Perl to autovivify that typeglob, but it there is | |
1624 | no legal conversion from that type of reference to a typeglob. | |
1625 | ||
1626 | =end original | |
1627 | ||
1628 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に | |
1629 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって | |
1630 | アクセスしようとしました。 | |
1631 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 | |
1632 | リファレンス型から型グロブへの正当な変換方法はありません。 | |
1633 | ||
1634 | =item Cannot copy to %s | |
1635 | ||
1636 | =begin original | |
1637 | ||
1638 | (P) Perl detected an attempt to copy a value to an internal type that cannot | |
1639 | be directly assigned to. | |
1640 | ||
1641 | =end original | |
1642 | ||
1643 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを | |
1644 | 検出しました。 | |
1645 | ||
1646 | =item Cannot find encoding "%s" | |
1647 | ||
1648 | =begin original | |
1649 | ||
1650 | (S io) You tried to apply an encoding that did not exist to a filehandle, | |
1651 | either with open() or binmode(). | |
1652 | ||
1653 | =end original | |
1654 | ||
1655 | (S io) open() または binmode() のファイルハンドルに存在しない | |
1656 | エンコーディングを適用しようとしました。 | |
1657 | ||
1658 | =item Cannot open %s as a dirhandle: it is already open as a filehandle | |
1659 | ||
1660 | =begin original | |
1661 | ||
1662 | (F) You tried to use opendir() to associate a dirhandle to a symbol (glob | |
1663 | or scalar) that already holds a filehandle. Since this idiom might render | |
1664 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1665 | is a fatal error. | |
1666 | ||
1667 | =end original | |
1668 | ||
1669 | (F) すでにファイルハンドルを保持しているシンボル | |
1670 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
1671 | opendir() を使おうとしました。 | |
1672 | この用法はコードを間違えて解釈する可能性があるので、 | |
1673 | Perl 5.10 で廃止予定になりました。 | |
1674 | Perl 5.28 から、これは致命的エラーです。 | |
1675 | ||
1676 | =item Cannot open %s as a filehandle: it is already open as a dirhandle | |
1677 | ||
1678 | =begin original | |
1679 | ||
1680 | (F) You tried to use open() to associate a filehandle to a symbol (glob | |
1681 | or scalar) that already holds a dirhandle. Since this idiom might render | |
1682 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1683 | is a fatal error. | |
1684 | ||
1685 | =end original | |
1686 | ||
1687 | (F) すでにディレクトリハンドルを保持しているシンボル | |
1688 | (グロブまたはスカラ)にファイルハンドルを関連付けるために | |
1689 | open() を使おうとしました。 | |
1690 | この用法はコードを間違えて解釈する可能性があるので、 | |
1691 | Perl 5.10 で廃止予定になりました。 | |
1692 | Perl 5.28 から、これは致命的エラーです。 | |
1693 | ||
1694 | =item Cannot pack %f with '%c' | |
1695 | ||
1696 | =begin original | |
1697 | ||
1698 | (F) You tried converting an infinity or not-a-number to an integer, | |
1699 | which makes no sense. | |
1700 | ||
1701 | =end original | |
1702 | ||
1703 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 | |
1704 | ||
1705 | =item Cannot printf %f with '%c' | |
1706 | ||
1707 | =begin original | |
1708 | ||
1709 | (F) You tried printing an infinity or not-a-number as a character (%c), | |
1710 | which makes no sense. Maybe you meant '%s', or just stringifying it? | |
1711 | ||
1712 | =end original | |
1713 | ||
1714 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 | |
1715 | おそらく '%s' か、単に文字列化したかったのでは? | |
1716 | ||
1717 | =item Cannot set tied @DB::args | |
1718 | ||
1719 | =begin original | |
1720 | ||
1721 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> | |
1722 | is not supported. (Before this error was added, it used to crash.) | |
1723 | ||
1724 | =end original | |
1725 | ||
1726 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 | |
1727 | C<@DB::args> の tie は非対応です。 | |
1728 | (このエラーが追加する前は、クラッシュしていました。) | |
1729 | ||
1730 | =item Cannot tie unreifiable array | |
1731 | ||
1732 | =begin original | |
1733 | ||
1734 | (P) You somehow managed to call C<tie> on an array that does not | |
1735 | keep a reference count on its arguments and cannot be made to | |
1736 | do so. Such arrays are not even supposed to be accessible to | |
1737 | Perl code, but are only used internally. | |
1738 | ||
1739 | =end original | |
1740 | ||
1741 | (P) 参照カウントを保持していない配列を引数にして C<tie> を | |
1742 | 呼び出そうとしましたがそうできませんでした。 | |
1743 | このような配列は Perl コードからアクセスできると想定してはならず、 | |
1744 | 内部だけで使われます。 | |
1745 | ||
1746 | =item Cannot yet reorder sv_vcatpvfn() arguments from va_list | |
1747 | ||
1748 | =begin original | |
1749 | ||
1750 | (F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a | |
1751 | format string that specifies explicit indexes for some of the elements, and | |
1752 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
1753 | supported. XS authors wanting to do this must instead construct a C array | |
1754 | of C<SV*> scalars containing the arguments. | |
1755 | ||
1756 | =end original | |
1757 | ||
1758 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
1759 | フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、 | |
1760 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
1761 | これは現在のところ対応していません。 | |
1762 | これをしたい XS 作者は代わりに、引数を含む | |
1763 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
1764 | ||
1765 | =item Can only compress unsigned integers in pack | |
1766 | ||
1767 | =begin original | |
1768 | ||
1769 | (F) An argument to pack("w",...) was not an integer. The BER compressed | |
1770 | integer format can only be used with positive integers, and you attempted | |
1771 | to compress something else. See L<perlfunc/pack>. | |
1772 | ||
1773 | =end original | |
1774 | ||
1775 | (F) pack("w",...) の引数が整数ではありません。 | |
1776 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを | |
1777 | 圧縮しようとしました。 | |
1778 | L<perlfunc/pack> を参照してください。 | |
1779 | ||
1780 | =item Can't "%s" out of a "defer" block | |
1781 | ||
1782 | =begin original | |
1783 | ||
1784 | (F) An attempt was made to jump out of the scope of a C<defer> block by using | |
1785 | a control-flow statement such as C<return>, C<goto> or a loop control. This is | |
1786 | not permitted. | |
1787 | ||
1788 | =end original | |
1789 | ||
1790 | (F) C<return>, C<goto> あるいはループ制御のようなフロー制御文を使って | |
1791 | C<defer> ブロックのスコープから飛び出そうとしました。 | |
1792 | これは許されていません。 | |
1793 | ||
1794 | =item Can't "%s" out of a "finally" block | |
1795 | ||
1796 | =begin original | |
1797 | ||
1798 | (F) Similar to above, but involving a C<finally> block at the end of a | |
1799 | C<try>/C<catch> construction rather than a C<defer> block. | |
1800 | ||
1801 | =end original | |
1802 | ||
1803 | (F) 前述と同様ですが、C<defer> ブロックではなく | |
1804 | C<try>/C<catch> 構文の末尾の C<finally> ブロックに関するものです。 | |
1805 | ||
1006 | 1806 | =item Can't bless non-reference value |
1007 | 1807 | |
1008 | 1808 | =begin original |
1009 | 1809 | |
1010 | 1810 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1011 | 1811 | encapsulation of objects. See L<perlobj>. |
1012 | 1812 | |
1013 | 1813 | =end original |
1014 | 1814 | |
1015 | 1815 | (F) ハードリファレンスのみが bless できます。 |
1016 | 1816 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1017 | 1817 | L<perlobj> を参照してください。 |
1018 | 1818 | |
1019 | =item Can't | |
1819 | =item Can't "break" in a loop topicalizer | |
1020 | 1820 | |
1021 | 1821 | =begin original |
1022 | 1822 | |
1023 | (F) You called a | |
1823 | (F) You called C<break>, but you're in a C<foreach> block rather than | |
1024 | ||
1824 | a C<given> block. You probably meant to use C<next> or C<last>. | |
1025 | in it, let alone methods. See L<perlobj>. | |
1026 | 1825 | |
1027 | 1826 | =end original |
1028 | 1827 | |
1029 | (F) | |
1828 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> | |
1030 | ||
1829 | ブロック内でした。 | |
1031 | ||
1830 | おそらく C<next> や C<last> を使いたかったのでしょう。 | |
1032 | L<perlobj> を参照してください。 | |
1033 | 1831 | |
1832 | =item Can't "break" outside a given block | |
1833 | ||
1834 | =begin original | |
1835 | ||
1836 | (F) You called C<break>, but you're not inside a C<given> block. | |
1837 | ||
1838 | =end original | |
1839 | ||
1840 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 | |
1841 | ||
1034 | 1842 | =item Can't call method "%s" on an undefined value |
1035 | 1843 | |
1036 | 1844 | =begin original |
1037 | 1845 | |
1038 | 1846 | (F) You used the syntax of a method call, but the slot filled by the |
1039 | 1847 | object reference or package name contains an undefined value. Something |
1040 | 1848 | like this will reproduce the error: |
1041 | 1849 | |
1042 | 1850 | =end original |
1043 | 1851 | |
1044 | (F) メソッド呼び出しの文法が使われていますが、 | |
1852 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか | |
1045 | ||
1853 | パッケージ名であるべきところが未定義値です。 | |
1046 | 1854 | 以下のように書くとエラーが再現します: |
1047 | 1855 | |
1048 | 1856 | $BADREF = undef; |
1049 | 1857 | process $BADREF 1,2,3; |
1050 | 1858 | $BADREF->process(1,2,3); |
1051 | 1859 | |
1052 | 1860 | =item Can't call method "%s" on unblessed reference |
1053 | 1861 | |
1054 | 1862 | =begin original |
1055 | 1863 | |
1056 | 1864 | (F) A method call must know in what package it's supposed to run. It |
1057 | 1865 | ordinarily finds this out from the object reference you supply, but you |
1058 | 1866 | didn't supply an object reference in this case. A reference isn't an |
1059 | 1867 | object reference until it has been blessed. See L<perlobj>. |
1060 | 1868 | |
1061 | 1869 | =end original |
1062 | 1870 | |
1063 | 1871 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1064 | 1872 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1065 | 1873 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1066 | 1874 | 渡されませんでした。 |
1067 | 1875 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1068 | 1876 | L<perlobj> を参照してください。 |
1069 | 1877 | |
1070 | 1878 | =item Can't call method "%s" without a package or object reference |
1071 | 1879 | |
1072 | 1880 | =begin original |
1073 | 1881 | |
1074 | 1882 | (F) You used the syntax of a method call, but the slot filled by the |
1075 | 1883 | object reference or package name contains an expression that returns a |
1076 | 1884 | defined value which is neither an object reference nor a package name. |
1077 | 1885 | Something like this will reproduce the error: |
1078 | 1886 | |
1079 | 1887 | =end original |
1080 | 1888 | |
1081 | 1889 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1082 | 1890 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1083 | 1891 | パッケージ名も返さない定義された式が書かれています。 |
1084 | ||
1892 | 以下のように書くとエラーが再現します: | |
1085 | 以下のようなものは、エラーとなります: | |
1086 | 1893 | |
1087 | 1894 | $BADREF = 42; |
1088 | 1895 | process $BADREF 1,2,3; |
1089 | 1896 | $BADREF->process(1,2,3); |
1090 | 1897 | |
1091 | =item Can't chdi | |
1898 | =item Can't call mro_isa_changed_in() on anonymous symbol table | |
1092 | 1899 | |
1093 | 1900 | =begin original |
1094 | 1901 | |
1095 | ( | |
1902 | (P) Perl got confused as to whether a hash was a plain hash or a | |
1096 | ||
1903 | symbol table hash when trying to update @ISA caches. | |
1097 | 1904 | |
1098 | 1905 | =end original |
1099 | 1906 | |
1100 | ( | |
1907 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか | |
1101 | ||
1908 | シンボルテーブルハッシュかについて perl は混乱しました。 | |
1102 | おそらく、存在しないのではないでしょうか。 | |
1103 | 1909 | |
1104 | =item Can't c | |
1910 | =item Can't call mro_method_changed_in() on anonymous symbol table | |
1105 | 1911 | |
1106 | 1912 | =begin original |
1107 | 1913 | |
1108 | ( | |
1914 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was | |
1109 | no | |
1915 | not attached to the symbol table. | |
1110 | 1916 | |
1111 | 1917 | =end original |
1112 | 1918 | |
1113 | ( | |
1919 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して | |
1114 | ||
1920 | C<mro_method_changed_in> を呼び出しました。 | |
1115 | 1921 | |
1116 | =item Can't c | |
1922 | =item Can't chdir to %s | |
1117 | 1923 | |
1118 | 1924 | =begin original |
1119 | 1925 | |
1120 | (F) You | |
1926 | (F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory | |
1121 | ||
1927 | that you can chdir to, possibly because it doesn't exist. | |
1122 | only with arrays that have a hash reference at index 0. | |
1123 | 1928 | |
1124 | 1929 | =end original |
1125 | 1930 | |
1126 | (F) | |
1931 | (F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に | |
1127 | ||
1932 | chdir することができません; おそらく、存在しないのではないでしょうか。 | |
1128 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 | |
1129 | 1933 | |
1130 | =item Can't coerce %s to | |
1934 | =item Can't coerce %s to %s in %s | |
1131 | 1935 | |
1132 | 1936 | =begin original |
1133 | 1937 | |
1134 | 1938 | (F) Certain types of SVs, in particular real symbol table entries |
1135 | 1939 | (typeglobs), can't be forced to stop being what they are. So you can't |
1136 | 1940 | say things like: |
1137 | 1941 | |
1138 | 1942 | =end original |
1139 | 1943 | |
1140 | 1944 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1141 | ||
1945 | 一つの型に留めておくことができません。 | |
1142 | 1946 | したがって、以下のようにすることはできません: |
1143 | 1947 | |
1144 | 1948 | *foo += 1; |
1145 | 1949 | |
1146 | 1950 | =begin original |
1147 | 1951 | |
1148 | 1952 | You CAN say |
1149 | 1953 | |
1150 | 1954 | =end original |
1151 | 1955 | |
1152 | 1956 | 以下のようにはできますが: |
1153 | 1957 | |
1154 | 1958 | $foo = *foo; |
1155 | 1959 | $foo += 1; |
1156 | 1960 | |
1157 | 1961 | =begin original |
1158 | 1962 | |
1159 | 1963 | but then $foo no longer contains a glob. |
1160 | 1964 | |
1161 | 1965 | =end original |
1162 | 1966 | |
1163 | 1967 | $foo にはもはやグロブは残っていません。 |
1164 | 1968 | |
1165 | =item Can't co | |
1969 | =item Can't "continue" outside a when block | |
1166 | 1970 | |
1167 | 1971 | =begin original |
1168 | 1972 | |
1169 | (F) | |
1973 | (F) You called C<continue>, but you're not inside a C<when> | |
1170 | ||
1974 | or C<default> block. | |
1171 | 1975 | |
1172 | 1976 | =end original |
1173 | 1977 | |
1174 | (F) | |
1978 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの | |
1175 | ||
1979 | 内側ではありません。 | |
1176 | 1980 | |
1177 | =item Can't c | |
1981 | =item Can't create pipe mailbox | |
1178 | 1982 | |
1179 | 1983 | =begin original |
1180 | 1984 | |
1181 | ( | |
1985 | (P) An error peculiar to VMS. The process is suffering from exhausted | |
1182 | ||
1986 | quotas or other plumbing problems. | |
1183 | 1987 | |
1184 | 1988 | =end original |
1185 | 1989 | |
1186 | ( | |
1990 | (P) VMS に固有のエラーです。 | |
1187 | ||
1991 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 | |
1188 | 1992 | |
1189 | =item Can't cre | |
1993 | =item Can't declare %s in "%s" | |
1190 | 1994 | |
1191 | 1995 | =begin original |
1192 | 1996 | |
1193 | ( | |
1997 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or | |
1194 | ||
1998 | "state" variables. They must have ordinary identifiers as names. | |
1195 | 1999 | |
1196 | 2000 | =end original |
1197 | 2001 | |
1198 | (F) | |
2002 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として | |
1199 | ||
2003 | 宣言できます。 | |
2004 | これらは、名前として通常の識別子を持たなければなりません。 | |
1200 | 2005 | |
1201 | =item Can't de | |
2006 | =item Can't "default" outside a topicalizer | |
1202 | 2007 | |
1203 | 2008 | =begin original |
1204 | 2009 | |
1205 | ( | |
2010 | (F) You have used a C<default> block that is neither inside a | |
1206 | ||
2011 | C<foreach> loop nor a C<given> block. (Note that this error is | |
1207 | ||
2012 | issued on exit from the C<default> block, so you won't get the | |
2013 | error if you use an explicit C<continue>.) | |
1208 | 2014 | |
1209 | 2015 | =end original |
1210 | 2016 | |
1211 | ( | |
2017 | (F) C<foreach> ループや C<given> ブロックの内側でないところで | |
1212 | ク | |
2018 | C<default> ブロックを使いました。 | |
1213 | この | |
2019 | (このエラーは C<default> ブロックから出るときに発生するので、明示的な | |
2020 | C<continue> を使うとエラーは発生しません。) | |
1214 | 2021 | |
1215 | =item Can't decla | |
2022 | =item Can't determine class of operator %s, assuming BASEOP | |
1216 | 2023 | |
1217 | 2024 | =begin original |
1218 | 2025 | |
1219 | ( | |
2026 | (S) This warning indicates something wrong in the internals of perl. | |
1220 | ||
2027 | Perl was trying to find the class (e.g. LISTOP) of a particular OP, | |
2028 | and was unable to do so. This is likely to be due to a bug in the perl | |
2029 | internals, or due to a bug in XS code which manipulates perl optrees. | |
1221 | 2030 | |
1222 | 2031 | =end original |
1223 | 2032 | |
1224 | ( | |
2033 | (S) この警告は、perl の内部で何かがおかしいことを示しています。 | |
1225 | ||
2034 | Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、 | |
1226 | こ | |
2035 | そうすることができませんでした。 | |
2036 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する | |
2037 | XS コードのバグによるものです。 | |
1227 | 2038 | |
1228 | 2039 | =item Can't do inplace edit: %s is not a regular file |
1229 | 2040 | |
1230 | 2041 | =begin original |
1231 | 2042 | |
1232 | 2043 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
1233 | a file in /dev, | |
2044 | a file in /dev, a FIFO or an uneditable directory. The file was ignored. | |
1234 | 2045 | |
1235 | 2046 | =end original |
1236 | 2047 | |
1237 | (S inplace) /dev | |
2048 | (S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して | |
1238 | 使おうとしました。 | |
2049 | B<-i> スイッチを使おうとしました。 | |
1239 | ||
2050 | このファイルは無視されます。 | |
1240 | 2051 | |
1241 | 2052 | =item Can't do inplace edit on %s: %s |
1242 | 2053 | |
1243 | 2054 | =begin original |
1244 | 2055 | |
1245 | 2056 | (S inplace) The creation of the new file failed for the indicated |
1246 | 2057 | reason. |
1247 | 2058 | |
1248 | 2059 | =end original |
1249 | 2060 | |
1250 | 2061 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
1251 | 2062 | |
1252 | =item Can't do inplace edit without backup | |
1253 | ||
1254 | =begin original | |
1255 | ||
1256 | (F) You're on a system such as MS-DOS that gets confused if you try | |
1257 | reading from a deleted (but still opened) file. You have to say | |
1258 | C<-i.bak>, or some such. | |
1259 | ||
1260 | =end original | |
1261 | ||
1262 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると | |
1263 | おかしくなる MS-DOS のようなシステムで実行しています。 | |
1264 | C<-i.bak> のようにバックアップを指定してください。 | |
1265 | ||
1266 | 2063 | =item Can't do inplace edit: %s would not be unique |
1267 | 2064 | |
1268 | 2065 | =begin original |
1269 | 2066 | |
1270 | 2067 | (S inplace) Your filesystem does not support filenames longer than 14 |
1271 | 2068 | characters and Perl was unable to create a unique filename during |
1272 | 2069 | inplace editing with the B<-i> switch. The file was ignored. |
1273 | 2070 | |
1274 | 2071 | =end original |
1275 | 2072 | |
1276 | 2073 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1277 | 2074 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1278 | 2075 | 作成ができませんでした。 |
1279 | 2076 | このファイルは無視されます。 |
1280 | 2077 | |
1281 | =item Can't do | |
2078 | =item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". | |
1282 | 2079 | |
1283 | 2080 | =begin original |
1284 | 2081 | |
1285 | ( | |
2082 | (W locale) You are 1) running under "C<use locale>"; 2) the current | |
1286 | ||
2083 | locale is not a UTF-8 one; 3) you tried to do the designated case-change | |
1287 | ||
2084 | operation on the specified Unicode character; and 4) the result of this | |
2085 | operation would mix Unicode and locale rules, which likely conflict. | |
2086 | Mixing of different rule types is forbidden, so the operation was not | |
2087 | done; instead the result is the indicated value, which is the best | |
2088 | available that uses entirely Unicode rules. That turns out to almost | |
2089 | always be the original character, unchanged. | |
1288 | 2090 | |
1289 | 2091 | =end original |
1290 | 2092 | |
1291 | ( | |
2093 | (W locale) あなたは 1) "C<use locale>" の基で実行していて; | |
1292 | ||
2094 | 2) 現在のロケールは UTF-8 ではなく; | |
1293 | ||
2095 | 3) 特定の Unicode 文字に指定された大文字小文字変換をしようとして; | |
1294 | ||
2096 | 4) この操作の結果、おそらく衝突する、Unicode とロケールの規則を混ぜました。 | |
1295 | ||
2097 | 異なる種類の規則を混ぜるのは禁止されているので、この操作は行われません; | |
2098 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を | |
2099 | 使うという、最も利用可能なものです。 | |
2100 | これは、ほとんど常に、元の文字を変更しないままにします。 | |
1296 | 2101 | |
1297 | =item Can't do setegid! | |
1298 | ||
1299 | 2102 | =begin original |
1300 | 2103 | |
1301 | ||
2104 | It is generally a bad idea to mix non-UTF-8 locales and Unicode, and | |
1302 | sui | |
2105 | this issue is one of the reasons why. This warning is raised when | |
2106 | Unicode rules would normally cause the result of this operation to | |
2107 | contain a character that is in the range specified by the locale, | |
2108 | 0..255, and hence is subject to the locale's rules, not Unicode's. | |
1303 | 2109 | |
1304 | 2110 | =end original |
1305 | 2111 | |
1306 | ||
2112 | 非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、 | |
1307 | ||
2113 | この問題はその理由の一つです。 | |
2114 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を | |
2115 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの | |
2116 | 規則を想定される場合に発生します。 | |
1308 | 2117 | |
1309 | =item Can't do seteuid! | |
1310 | ||
1311 | 2118 | =begin original |
1312 | 2119 | |
1313 | ||
2120 | If you are using locale purely for its characteristics related to things | |
2121 | like its numeric and time formatting (and not C<LC_CTYPE>), consider | |
2122 | using a restricted form of the locale pragma (see L<perllocale/The "use | |
2123 | locale" pragma>) like "S<C<use locale ':not_characters'>>". | |
1314 | 2124 | |
1315 | 2125 | =end original |
1316 | 2126 | |
1317 | ||
2127 | ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに | |
2128 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 | |
2129 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された | |
2130 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを | |
2131 | 検討してください。 | |
1318 | 2132 | |
1319 | =item Can't do setuid | |
1320 | ||
1321 | 2133 | =begin original |
1322 | 2134 | |
1323 | ||
2135 | Note that failed case-changing operations done as a result of | |
1324 | se | |
2136 | case-insensitive C</i> regular expression matching will show up in this | |
1325 | ||
2137 | warning as having the C<fc> operation (as that is what the regular | |
1326 | ||
2138 | expression engine calls behind the scenes.) | |
1327 | file is there, check the execute permissions. If it isn't, ask your | |
1328 | sysadmin why he and/or she removed it. | |
1329 | 2139 | |
1330 | 2140 | =end original |
1331 | 2141 | |
1332 | ||
2142 | 大文字小文字無視 C</i> 正規表現マッチングの結果として | |
1333 | ||
2143 | 大文字小文字変換操作が失敗した場合、この警告は | |
1334 | ||
2144 | C<fc> 操作に対して出力されることに注意してください | |
1335 | ||
2145 | (正規表現エンジンが裏でこれを使っているからです。) | |
1336 | 名前を探します。 | |
1337 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 | |
1338 | 許可されていないようであれば、システム管理者の方に、わけを | |
1339 | 尋ねてみてください。 | |
1340 | 2146 | |
1341 | 2147 | =item Can't do waitpid with flags |
1342 | 2148 | |
1343 | 2149 | =begin original |
1344 | 2150 | |
1345 | 2151 | (F) This machine doesn't have either waitpid() or wait4(), so only |
1346 | 2152 | waitpid() without flags is emulated. |
1347 | 2153 | |
1348 | 2154 | =end original |
1349 | 2155 | |
1350 | 2156 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
1351 | 2157 | フラグの無い waitpid() のみがエミュレート可能です。 |
1352 | 2158 | |
1353 | 2159 | =item Can't emulate -%s on #! line |
1354 | 2160 | |
1355 | 2161 | =begin original |
1356 | 2162 | |
1357 | 2163 | (F) The #! line specifies a switch that doesn't make sense at this |
1358 | 2164 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
1359 | 2165 | line. |
1360 | 2166 | |
1361 | 2167 | =end original |
1362 | 2168 | |
1363 | 2169 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
1364 | 2170 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
1365 | 2171 | |
2172 | =item Can't %s %s-endian %ss on this platform | |
2173 | ||
2174 | =begin original | |
2175 | ||
2176 | (F) Your platform's byte-order is neither big-endian nor little-endian, | |
2177 | or it has a very strange pointer size. Packing and unpacking big- or | |
2178 | little-endian floating point values and pointers may not be possible. | |
2179 | See L<perlfunc/pack>. | |
2180 | ||
2181 | =end original | |
2182 | ||
2183 | (F) プラットフォームのバイト順序がビッグエンディアンでも | |
2184 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 | |
2185 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの | |
2186 | pack や unpack はできません。 | |
2187 | L<perlfunc/pack> を参照してください。 | |
2188 | ||
1366 | 2189 | =item Can't exec "%s": %s |
1367 | 2190 | |
1368 | 2191 | =begin original |
1369 | 2192 | |
1370 | (W exec) A | |
2193 | (W exec) A system(), exec(), or piped open call could not execute the | |
1371 | 2194 | named program for the indicated reason. Typical reasons include: the |
1372 | 2195 | permissions were wrong on the file, the file wasn't found in |
1373 | 2196 | C<$ENV{PATH}>, the executable in question was compiled for another |
1374 | 2197 | architecture, or the #! line in a script points to an interpreter that |
1375 | 2198 | can't be run for similar reasons. (Or maybe your system doesn't support |
1376 | 2199 | #! at all.) |
1377 | 2200 | |
1378 | 2201 | =end original |
1379 | 2202 | |
1380 | 2203 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
1381 | 2204 | 呼び出しの指定されたプログラムが実行できませんでした。 |
1382 | 2205 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
1383 | 2206 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
1384 | 2207 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
1385 | 2208 | インタプリタを指している、というようなものがあります。 |
1386 | 2209 | (あるいは、このシステムで、#! がサポートされていません。) |
1387 | 2210 | |
1388 | 2211 | =item Can't exec %s |
1389 | 2212 | |
1390 | 2213 | =begin original |
1391 | 2214 | |
1392 | 2215 | (F) Perl was trying to execute the indicated program for you because |
1393 | 2216 | that's what the #! line said. If that's not what you wanted, you may |
1394 | 2217 | need to mention "perl" on the #! line somewhere. |
1395 | 2218 | |
1396 | 2219 | =end original |
1397 | 2220 | |
1398 | 2221 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
1399 | 2222 | 実行しようとしました。 |
1400 | 2223 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
1401 | 2224 | |
1402 | 2225 | =item Can't execute %s |
1403 | 2226 | |
1404 | 2227 | =begin original |
1405 | 2228 | |
1406 | 2229 | (F) You used the B<-S> switch, but the copies of the script to execute |
1407 | 2230 | found in the PATH did not have correct permissions. |
1408 | 2231 | |
1409 | 2232 | =end original |
1410 | 2233 | |
1411 | 2234 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
1412 | 2235 | 正しいパーミッションではありませんでした。 |
1413 | 2236 | |
1414 | 2237 | =item Can't find an opnumber for "%s" |
1415 | 2238 | |
1416 | 2239 | =begin original |
1417 | 2240 | |
1418 | 2241 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
1419 | 2242 | is no builtin with the name C<word>. |
1420 | 2243 | |
1421 | 2244 | =end original |
1422 | 2245 | |
1423 | 2246 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
1424 | 2247 | 名前 C<word> は組み込みではありません。 |
1425 | 2248 | |
1426 | 2249 | =item Can't find label %s |
1427 | 2250 | |
1428 | 2251 | =begin original |
1429 | 2252 | |
1430 | 2253 | (F) You said to goto a label that isn't mentioned anywhere that it's |
1431 | 2254 | possible for us to go to. See L<perlfunc/goto>. |
1432 | 2255 | |
1433 | 2256 | =end original |
1434 | 2257 | |
1435 | 2258 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
1436 | 2259 | L<perlfunc/goto> を参照してください。 |
1437 | 2260 | |
1438 | 2261 | =item Can't find %s on PATH |
1439 | 2262 | |
1440 | 2263 | =begin original |
1441 | 2264 | |
1442 | 2265 | (F) You used the B<-S> switch, but the script to execute could not be |
1443 | 2266 | found in the PATH. |
1444 | 2267 | |
1445 | 2268 | =end original |
1446 | 2269 | |
1447 | 2270 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
1448 | 2271 | 見つかりませんでした。 |
1449 | 2272 | |
1450 | 2273 | =item Can't find %s on PATH, '.' not in PATH |
1451 | 2274 | |
1452 | 2275 | =begin original |
1453 | 2276 | |
1454 | 2277 | (F) You used the B<-S> switch, but the script to execute could not be |
1455 | 2278 | found in the PATH, or at least not with the correct permissions. The |
1456 | 2279 | script exists in the current directory, but PATH prohibits running it. |
1457 | 2280 | |
1458 | 2281 | =end original |
1459 | 2282 | |
1460 | 2283 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
1461 | 見つか | |
2284 | 見つからないか、少なくとも適切なパーミッションがありません。 | |
1462 | 2285 | スクリプトはカレントディレクトリにはありますが、PATH に |
1463 | 2286 | カレントディレクトリは含まれていません。 |
1464 | 2287 | |
1465 | 2288 | =item Can't find string terminator %s anywhere before EOF |
1466 | 2289 | |
1467 | 2290 | =begin original |
1468 | 2291 | |
1469 | 2292 | (F) Perl strings can stretch over multiple lines. This message means |
1470 | 2293 | that the closing delimiter was omitted. Because bracketed quotes count |
1471 | 2294 | nesting levels, the following is missing its final parenthesis: |
1472 | 2295 | |
1473 | 2296 | =end original |
1474 | 2297 | |
1475 | 2298 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
1476 | 2299 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
1477 | ||
2300 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが | |
1478 | 2301 | 無いと言われます: |
1479 | 2302 | |
1480 | 2303 | print q(The character '(' starts a side comment.); |
1481 | 2304 | |
1482 | 2305 | =begin original |
1483 | 2306 | |
1484 | If you're getting this error from a here-document, you may have | |
2307 | If you're getting this error from a here-document, you may have | |
1485 | unseen whitespace before or after your closing tag | |
2308 | included unseen whitespace before or after your closing tag or there | |
1486 | ||
2309 | may not be a linebreak after it. A good programmer's editor will have | |
2310 | a way to help you find these characters (or lack of characters). See | |
2311 | L<perlop> for the full details on here-documents. | |
1487 | 2312 | |
1488 | 2313 | =end original |
1489 | 2314 | |
1490 | 2315 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
1491 | 見えない空白を含んでいるかもしれません。 | |
2316 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 | |
1492 | よいプログラマ用エディタには、このような文字を探す | |
2317 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す | |
1493 | あります。 | |
2318 | 助けになる方法があります。 | |
2319 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 | |
1494 | 2320 | |
1495 | =item Can't find | |
2321 | =item Can't find Unicode property definition "%s" | |
1496 | 2322 | |
2323 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
2324 | ||
1497 | 2325 | =begin original |
1498 | 2326 | |
1499 | (F) | |
2327 | (F) The named property which you specified via C<\p> or C<\P> is not one | |
1500 | ||
2328 | known to Perl. Perhaps you misspelled the name? See | |
1501 | ||
2329 | L<perluniprops/Properties accessible through \p{} and \P{}> | |
1502 | ||
2330 | for a complete list of available official | |
2331 | properties. If it is a | |
2332 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
2333 | it must have been defined by the time the regular expression is | |
2334 | matched. | |
1503 | 2335 | |
1504 | 2336 | =end original |
1505 | 2337 | |
1506 | (F) | |
2338 | (F) | |
1507 | C<\p> | |
2339 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
1508 | ||
2340 | おそらく名前をタイプミスしたのでは? | |
1509 | ||
2341 | 公式に利用可能な特性の完全な一覧については | |
2342 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
2343 | 参照してください。 | |
2344 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
2345 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
1510 | 2346 | |
1511 | = | |
2347 | =begin original | |
1512 | 2348 | |
2349 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
2350 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
2351 | until C<\E>). | |
2352 | ||
2353 | =end original | |
2354 | ||
2355 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
2356 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を | |
2357 | エスケープしてください。 | |
2358 | ||
2359 | =item Can't fork: %s | |
2360 | ||
1513 | 2361 | =begin original |
1514 | 2362 | |
1515 | 2363 | (F) A fatal error occurred while trying to fork while opening a |
1516 | 2364 | pipeline. |
1517 | 2365 | |
1518 | 2366 | =end original |
1519 | 2367 | |
1520 | 2368 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
1521 | 2369 | 致命的エラーが発生しました。 |
1522 | 2370 | |
2371 | =item Can't fork, trying again in 5 seconds | |
2372 | ||
2373 | =begin original | |
2374 | ||
2375 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried | |
2376 | after five seconds. | |
2377 | ||
2378 | =end original | |
2379 | ||
2380 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に | |
2381 | 再試行されます。 | |
2382 | ||
1523 | 2383 | =item Can't get filespec - stale stat buffer? |
1524 | 2384 | |
1525 | 2385 | =begin original |
1526 | 2386 | |
1527 | 2387 | (S) A warning peculiar to VMS. This arises because of the difference |
1528 | 2388 | between access checks under VMS and under the Unix model Perl assumes. |
1529 | 2389 | Under VMS, access checks are done by filename, rather than by bits in |
1530 | 2390 | the stat buffer, so that ACLs and other protections can be taken into |
1531 | 2391 | account. Unfortunately, Perl assumes that the stat buffer contains all |
1532 | 2392 | the necessary information, and passes it, instead of the filespec, to |
1533 | the access | |
2393 | the access-checking routine. It will try to retrieve the filespec using | |
1534 | 2394 | the device name and FID present in the stat buffer, but this works only |
1535 | 2395 | if you haven't made a subsequent call to the CRTL stat() routine, |
1536 | 2396 | because the device name is overwritten with each call. If this warning |
1537 | appears, the name lookup failed, and the access | |
2397 | appears, the name lookup failed, and the access-checking routine gave up | |
1538 | and returned FALSE, just to be conservative. (Note: The access | |
2398 | and returned FALSE, just to be conservative. (Note: The access-checking | |
1539 | 2399 | routine knows about the Perl C<stat> operator and file tests, so you |
1540 | 2400 | shouldn't ever see this warning in response to a Perl command; it arises |
1541 | 2401 | only if some internal code takes stat buffers lightly.) |
1542 | 2402 | |
1543 | 2403 | =end original |
1544 | 2404 | |
1545 | (S) VMS | |
2405 | (S) VMS に固有の警告です。 | |
1546 | 2406 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
1547 | 2407 | あることによって起こります。 |
1548 | 2408 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
1549 | 2409 | 行われるので、ACL やその他の保護が考慮されます。 |
1550 | 2410 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
1551 | 2411 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
1552 | 2412 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
1553 | 2413 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
1554 | 2414 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
1555 | 2415 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
1556 | 2416 | 安全のためだけに FALSE を返します。 |
1557 | 2417 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
1558 | 2418 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
1559 | 2419 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
1560 | 2420 | 発生します。) |
1561 | 2421 | |
1562 | 2422 | =item Can't get pipe mailbox device name |
1563 | 2423 | |
1564 | 2424 | =begin original |
1565 | 2425 | |
1566 | 2426 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
1567 | 2427 | pipe, Perl can't retrieve its name for later use. |
1568 | 2428 | |
1569 | 2429 | =end original |
1570 | 2430 | |
1571 | ( | |
2431 | (P) VMS に固有のエラーです。 | |
1572 | 2432 | パイプとして働くメールボックスの作成後、後で使うための名前を |
1573 | 2433 | Perl が取得できませんでした。 |
1574 | 2434 | |
1575 | 2435 | =item Can't get SYSGEN parameter value for MAXBUF |
1576 | 2436 | |
1577 | 2437 | =begin original |
1578 | 2438 | |
1579 | 2439 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
1580 | 2440 | mailbox buffers to be, and didn't get an answer. |
1581 | 2441 | |
1582 | 2442 | =end original |
1583 | 2443 | |
1584 | ( | |
2444 | (P) VMS に固有のエラーです。 | |
1585 | 2445 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
1586 | 2446 | 問い合わせましたが、答えが得られませんでした。 |
1587 | 2447 | |
2448 | =item Can't "goto" into a binary or list expression | |
2449 | ||
2450 | =begin original | |
2451 | ||
2452 | (F) A "goto" statement was executed to jump into the middle of a binary | |
2453 | or list expression. You can't get there from here. The reason for this | |
2454 | restriction is that the interpreter would get confused as to how many | |
2455 | arguments there are, resulting in stack corruption or crashes. This | |
2456 | error occurs in cases such as these: | |
2457 | ||
2458 | =end original | |
2459 | ||
2460 | (F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。 | |
2461 | ここからそこへは行けません。 | |
2462 | この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、 | |
2463 | 結果としてスタックは解約ラッシュを引き起こすからです。 | |
2464 | このエラーは次のような場合に起こります: | |
2465 | ||
2466 | goto F; | |
2467 | print do { F: }; # Can't jump into the arguments to print | |
2468 | ||
2469 | goto G; | |
2470 | $x + do { G: $y }; # How is + supposed to get its first operand? | |
2471 | ||
2472 | =item Can't "goto" into a "defer" block | |
2473 | ||
2474 | =begin original | |
2475 | ||
2476 | (F) A C<goto> statement was executed to jump into the scope of a C<defer> | |
2477 | block. This is not permitted. | |
2478 | ||
2479 | =end original | |
2480 | ||
2481 | (F) C<defer> ブロックの中に飛び込むような C<goto> 文が実行されました。 | |
2482 | これは許されていません。 | |
2483 | ||
2484 | =item Can't "goto" into a "given" block | |
2485 | ||
2486 | =begin original | |
2487 | ||
2488 | (F) A "goto" statement was executed to jump into the middle of a C<given> | |
2489 | block. You can't get there from here. See L<perlfunc/goto>. | |
2490 | ||
2491 | =end original | |
2492 | ||
2493 | (F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。 | |
2494 | ここからそこへは行けません。 | |
2495 | L<perlfunc/goto> を参照してください。 | |
2496 | ||
1588 | 2497 | =item Can't "goto" into the middle of a foreach loop |
1589 | 2498 | |
1590 | 2499 | =begin original |
1591 | 2500 | |
1592 | 2501 | (F) A "goto" statement was executed to jump into the middle of a foreach |
1593 | 2502 | loop. You can't get there from here. See L<perlfunc/goto>. |
1594 | 2503 | |
1595 | 2504 | =end original |
1596 | 2505 | |
1597 | 2506 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
1598 | 2507 | ここからそこへは行けません。 |
1599 | 2508 | L<perlfunc/goto> を参照してください。 |
1600 | 2509 | |
1601 | 2510 | =item Can't "goto" out of a pseudo block |
1602 | 2511 | |
1603 | 2512 | =begin original |
1604 | 2513 | |
1605 | 2514 | (F) A "goto" statement was executed to jump out of what might look like |
1606 | 2515 | a block, except that it isn't a proper block. This usually occurs if |
1607 | 2516 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
1608 | 2517 | See L<perlfunc/goto>. |
1609 | 2518 | |
1610 | 2519 | =end original |
1611 | 2520 | |
1612 | 2521 | (F) "goto" 文でブロックのように見えるけれども、適切な |
1613 | 2522 | ブロックではないところから飛び出そうとしました。 |
1614 | 2523 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
1615 | 2524 | 起きますが、それはできません。 |
1616 | 2525 | L<perlfunc/goto> を参照してください。 |
1617 | 2526 | |
1618 | =item Can't goto subroutine from an eval-s | |
2527 | =item Can't goto subroutine from an eval-%s | |
1619 | 2528 | |
1620 | 2529 | =begin original |
1621 | 2530 | |
1622 | 2531 | (F) The "goto subroutine" call can't be used to jump out of an eval |
1623 | "string" | |
2532 | "string" or block. | |
1624 | probably don't want to.) | |
1625 | 2533 | |
1626 | 2534 | =end original |
1627 | 2535 | |
1628 | (F) "goto subroutine" 呼び出しは eval "string" から | |
2536 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから | |
1629 | できません。 | |
2537 | 飛び出すことはできません。 | |
1630 | (eval {BLOCK} から飛び出すことはできますが、多分そうしたくはないでしょう。) | |
1631 | 2538 | |
2539 | =item Can't goto subroutine from a sort sub (or similar callback) | |
2540 | ||
2541 | =begin original | |
2542 | ||
2543 | (F) The "goto subroutine" call can't be used to jump out of the | |
2544 | comparison sub for a sort(), or from a similar callback (such | |
2545 | as the reduce() function in List::Util). | |
2546 | ||
2547 | =end original | |
2548 | ||
2549 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
2550 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
2551 | 飛び出すことはできません。 | |
2552 | ||
1632 | 2553 | =item Can't goto subroutine outside a subroutine |
1633 | 2554 | |
1634 | 2555 | =begin original |
1635 | 2556 | |
1636 | 2557 | (F) The deeply magical "goto subroutine" call can only replace one |
1637 | 2558 | subroutine call for another. It can't manufacture one out of whole |
1638 | 2559 | cloth. In general you should be calling it out of only an AUTOLOAD |
1639 | 2560 | routine anyway. See L<perlfunc/goto>. |
1640 | 2561 | |
1641 | 2562 | =end original |
1642 | 2563 | |
1643 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルー | |
2564 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン | |
1644 | 2565 | 呼び出しを別のもので置き換えるだけです。 |
1645 | 2566 | 反物の状態から作り上げることはできません。 |
1646 | 2567 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
1647 | 2568 | しておくべきです。 |
1648 | L<perlfunc/goto> | |
2569 | L<perlfunc/goto> を参照してください。 | |
1649 | 2570 | |
1650 | 2571 | =item Can't ignore signal CHLD, forcing to default |
1651 | 2572 | |
1652 | 2573 | =begin original |
1653 | 2574 | |
1654 | 2575 | (W signal) Perl has detected that it is being run with the SIGCHLD |
1655 | 2576 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
1656 | 2577 | signal will interfere with proper determination of exit status of child |
1657 | 2578 | processes, Perl has reset the signal to its default value. This |
1658 | 2579 | situation typically indicates that the parent program under which Perl |
1659 | 2580 | may be running (e.g. cron) is being very careless. |
1660 | 2581 | |
1661 | 2582 | =end original |
1662 | 2583 | |
1663 | 2584 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
1664 | 2585 | 無効化された状態で実行されていることを検出しました。 |
1665 | 2586 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
1666 | 2587 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
1667 | 2588 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
1668 | 2589 | とても不注意であることを示しています。 |
1669 | 2590 | |
2591 | =item Can't kill a non-numeric process ID | |
2592 | ||
2593 | =begin original | |
2594 | ||
2595 | (F) Process identifiers must be (signed) integers. It is a fatal error to | |
2596 | attempt to kill() an undefined, empty-string or otherwise non-numeric | |
2597 | process identifier. | |
2598 | ||
2599 | =end original | |
2600 | ||
2601 | (F) プロセス識別子は(符号付き)整数でなければなりません。 | |
2602 | 未定義値、空文字列、その他の非数値プロセス識別子を使って | |
2603 | kill() しようとすることは致命的エラーです。 | |
2604 | ||
1670 | 2605 | =item Can't "last" outside a loop block |
1671 | 2606 | |
1672 | 2607 | =begin original |
1673 | 2608 | |
1674 | 2609 | (F) A "last" statement was executed to break out of the current block, |
1675 | 2610 | except that there's this itty bitty problem called there isn't a current |
1676 | 2611 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
1677 | 2612 | block, as doesn't a block given to sort(), map() or grep(). You can |
1678 | 2613 | usually double the curlies to get the same effect though, because the |
1679 | 2614 | inner curlies will be considered a block that loops once. See |
1680 | 2615 | L<perlfunc/last>. |
1681 | 2616 | |
1682 | 2617 | =end original |
1683 | 2618 | |
1684 | 2619 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
1685 | 2620 | 残念なことにブロックの中ではありませんでした。 |
1686 | 2621 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
1687 | 2622 | 同様「ループ風」ブロックではないので、注意してください。 |
1688 | ただし、中 | |
2623 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
1689 | みなされますから、同じ効果が得られます。 | |
2624 | ブロックとみなされますから、同じ効果が得られます。 | |
1690 | 2625 | L<perlfunc/last> を参照してください。 |
1691 | 2626 | |
1692 | =item Can't l | |
2627 | =item Can't linearize anonymous symbol table | |
1693 | 2628 | |
1694 | 2629 | =begin original |
1695 | 2630 | |
1696 | (F) | |
2631 | (F) Perl tried to calculate the method resolution order (MRO) of a | |
1697 | ||
2632 | package, but failed because the package stash has no name. | |
1698 | localize a package variable of the same name, qualify it with the | |
1699 | package name. | |
1700 | 2633 | |
1701 | 2634 | =end original |
1702 | 2635 | |
1703 | (F) | |
2636 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 | |
1704 | ||
2637 | パッケージ stash に名前がないので失敗しました。 | |
1705 | これは認められていません。 | |
1706 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
1707 | パッケージ名で修飾してください。 | |
1708 | 2638 | |
1709 | =item Can't lo | |
2639 | =item Can't load '%s' for module %s | |
1710 | 2640 | |
1711 | 2641 | =begin original |
1712 | 2642 | |
1713 | (F) | |
2643 | (F) The module you tried to load failed to load a dynamic extension. | |
1714 | ||
2644 | This may either mean that you upgraded your version of perl to one | |
1715 | ||
2645 | that is incompatible with your old dynamic extensions (which is known | |
1716 | ||
2646 | to happen between major versions of perl), or (more likely) that your | |
2647 | dynamic extension was built against an older version of the library | |
2648 | that is installed on your system. You may need to rebuild your old | |
2649 | dynamic extensions. | |
1717 | 2650 | |
1718 | 2651 | =end original |
1719 | 2652 | |
1720 | (F) | |
2653 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに | |
1721 | ||
2654 | 失敗しました。 | |
1722 | これは | |
2655 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか | |
1723 | ||
2656 | (これは perl のメジャーバージョン間で起きることが知られています)、 | |
2657 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い | |
2658 | バージョンのライブラリに対してビルドされているかです。 | |
2659 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 | |
1724 | 2660 | |
2661 | =item Can't localize lexical variable %s | |
2662 | ||
2663 | =begin original | |
2664 | ||
2665 | (F) You used local on a variable name that was previously declared as a | |
2666 | lexical variable using "my" or "state". This is not allowed. If you | |
2667 | want to localize a package variable of the same name, qualify it with | |
2668 | the package name. | |
2669 | ||
2670 | =end original | |
2671 | ||
2672 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に | |
2673 | 対して local を使いました。 | |
2674 | これは認められていません。 | |
2675 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
2676 | パッケージ名で修飾してください。 | |
2677 | ||
1725 | 2678 | =item Can't localize through a reference |
1726 | 2679 | |
1727 | 2680 | =begin original |
1728 | 2681 | |
1729 | 2682 | (F) You said something like C<local $$ref>, which Perl can't currently |
1730 | 2683 | handle, because when it goes to restore the old value of whatever $ref |
1731 | 2684 | pointed to after the scope of the local() is finished, it can't be sure |
1732 | that $ref will still be a reference. | |
2685 | that $ref will still be a reference. | |
1733 | 2686 | |
1734 | 2687 | =end original |
1735 | 2688 | |
1736 | 2689 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
1737 | 2690 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
1738 | 2691 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
1739 | 2692 | わからないからです。 |
1740 | 2693 | |
1741 | 2694 | =item Can't locate %s |
1742 | 2695 | |
1743 | 2696 | =begin original |
1744 | 2697 | |
1745 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
2698 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found. | |
1746 | ||
2699 | Perl looks for the file in all the locations mentioned in @INC, unless | |
1747 | ||
2700 | the file name included the full path to the file. Perhaps you need | |
1748 | ||
2701 | to set the PERL5LIB or PERL5OPT environment variable to say where the | |
1749 | ||
2702 | extra library is, or maybe the script needs to add the library name | |
1750 | 2703 | to @INC. Or maybe you just misspelled the name of the file. See |
1751 | 2704 | L<perlfunc/require> and L<lib>. |
1752 | 2705 | |
1753 | 2706 | =end original |
1754 | 2707 | |
1755 | 2708 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
1756 | 2709 | 指示されましたが、見つかりませんでした。 |
1757 | 2710 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
1758 | 2711 | 全ての場所を検索します。 |
1759 | 2712 | おそらく、追加ライブラリの場所を示すために、 |
1760 | 2713 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
1761 | 2714 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
1762 | 2715 | ファイル名のスペルミスの可能性もあります。 |
1763 | 2716 | L<perlfunc/require> と L<lib> を参照してください。 |
1764 | 2717 | |
1765 | 2718 | =item Can't locate auto/%s.al in @INC |
1766 | 2719 | |
1767 | 2720 | =begin original |
1768 | 2721 | |
1769 | 2722 | (F) A function (or method) was called in a package which allows |
1770 | 2723 | autoload, but there is no function to autoload. Most probable causes |
1771 | 2724 | are a misprint in a function/method name or a failure to C<AutoSplit> |
1772 | 2725 | the file, say, by doing C<make install>. |
1773 | 2726 | |
1774 | 2727 | =end original |
1775 | 2728 | |
1776 | 2729 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
1777 | 2730 | 呼び出されましたが、オートロードする関数がありませんでした。 |
1778 | 2731 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
1779 | 2732 | することによるファイルの C<AutoSplit> の失敗です。 |
1780 | 2733 | |
2734 | =item Can't locate loadable object for module %s in @INC | |
2735 | ||
2736 | =begin original | |
2737 | ||
2738 | (F) The module you loaded is trying to load an external library, like | |
2739 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was | |
2740 | unable to locate this library. See L<DynaLoader>. | |
2741 | ||
2742 | =end original | |
2743 | ||
2744 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 | |
2745 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この | |
2746 | ライブラリの位置がわかりませんでした。 | |
2747 | L<DynaLoader> を参照してください。 | |
2748 | ||
1781 | 2749 | =item Can't locate object method "%s" via package "%s" |
1782 | 2750 | |
1783 | 2751 | =begin original |
1784 | 2752 | |
1785 | 2753 | (F) You called a method correctly, and it correctly indicated a package |
1786 | 2754 | functioning as a class, but that package doesn't define that particular |
1787 | 2755 | method, nor does any of its base classes. See L<perlobj>. |
1788 | 2756 | |
1789 | 2757 | =end original |
1790 | 2758 | |
1791 | 2759 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
1792 | 2760 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
1793 | 2761 | 該当のメソッドが定義されていません。 |
1794 | 2762 | L<perlobj> を参照してください。 |
1795 | 2763 | |
1796 | =item (perhaps you forgot | |
2764 | =item Can't locate object method "%s" via package "%s" (perhaps you forgot | |
2765 | to load "%s"?) | |
1797 | 2766 | |
1798 | 2767 | =begin original |
1799 | 2768 | |
1800 | (F) | |
2769 | (F) You called a method on a class that did not exist, and the method | |
1801 | ||
2770 | could not be found in UNIVERSAL. This often means that a method | |
1802 | ||
2771 | requires a package that has not been loaded. | |
1803 | 2772 | |
1804 | 2773 | =end original |
1805 | 2774 | |
1806 | (F) | |
2775 | (F) 存在しないクラスメソッドを呼び出し、メソッドは | |
1807 | ||
2776 | UNIVERSAL に見つかりませんでした。 | |
1808 | 2777 | これはしばしばメソッドがまだロードされていないパッケージを |
1809 | 2778 | 要求していることを意味します。 |
1810 | 2779 | |
1811 | 2780 | =item Can't locate package %s for @%s::ISA |
1812 | 2781 | |
1813 | 2782 | =begin original |
1814 | 2783 | |
1815 | 2784 | (W syntax) The @ISA array contained the name of another package that |
1816 | 2785 | doesn't seem to exist. |
1817 | 2786 | |
1818 | 2787 | =end original |
1819 | 2788 | |
1820 | 2789 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
1821 | 2790 | 存在していないようです。 |
1822 | 2791 | |
1823 | =item Can't | |
2792 | =item Can't locate PerlIO%s | |
1824 | 2793 | |
1825 | 2794 | =begin original |
1826 | 2795 | |
2796 | (F) You tried to use in open() a PerlIO layer that does not exist, | |
2797 | e.g. open(FH, ">:nosuchlayer", "somefile"). | |
2798 | ||
2799 | =end original | |
2800 | ||
2801 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 | |
2802 | open() で 存在しない PerlIO 層を使おうとしました。 | |
2803 | ||
2804 | =item Can't make list assignment to %ENV on this system | |
2805 | ||
2806 | =begin original | |
2807 | ||
1827 | 2808 | (F) List assignment to %ENV is not supported on some systems, notably |
1828 | 2809 | VMS. |
1829 | 2810 | |
1830 | 2811 | =end original |
1831 | 2812 | |
1832 | 2813 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
1833 | 2814 | 対応していません。 |
1834 | 2815 | |
2816 | =item Can't make loaded symbols global on this platform while loading %s | |
2817 | ||
2818 | =begin original | |
2819 | ||
2820 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
2821 | that symbols from the stated file are made available globally within the | |
2822 | process, but that functionality is not available on this platform. Whilst | |
2823 | the module likely will still work, this may prevent the perl interpreter | |
2824 | from loading other XS-based extensions which need to link directly to | |
2825 | functions defined in the C or XS code in the stated file. | |
2826 | ||
2827 | =end original | |
2828 | ||
2829 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
2830 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
2831 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
2832 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
2833 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
2834 | エクステンションの読み込みが妨げられるかもしれません。 | |
2835 | ||
1835 | 2836 | =item Can't modify %s in %s |
1836 | 2837 | |
1837 | 2838 | =begin original |
1838 | 2839 | |
1839 | 2840 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
1840 | 2841 | to change it, such as with an auto-increment. |
1841 | 2842 | |
1842 | 2843 | =end original |
1843 | 2844 | |
1844 | 2845 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
1845 | 2846 | |
1846 | =item Can't modify none | |
2847 | =item Can't modify non-lvalue subroutine call of &%s | |
1847 | 2848 | |
2849 | =item Can't modify non-lvalue subroutine call of &%s in %s | |
2850 | ||
1848 | 2851 | =begin original |
1849 | 2852 | |
1850 | ( | |
2853 | (F) Subroutines meant to be used in lvalue context should be declared as | |
1851 | ||
2854 | such. See L<perlsub/"Lvalue subroutines">. | |
1852 | 2855 | |
1853 | 2856 | =end original |
1854 | 2857 | |
1855 | ( | |
2858 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように | |
2859 | 宣言しなければなりません。 | |
2860 | L<perlsub/"Lvalue subroutines"> を参照してください。 | |
1856 | 2861 | |
1857 | =item Can't modify n | |
2862 | =item Can't modify reference to %s in %s assignment | |
1858 | 2863 | |
1859 | 2864 | =begin original |
1860 | 2865 | |
1861 | (F) | |
2866 | (F) Only a limited number of constructs can be used as the argument to a | |
1862 | suc | |
2867 | reference constructor on the left-hand side of an assignment, and what | |
2868 | you used was not one of them. See L<perlref/Assigning to References>. | |
1863 | 2869 | |
1864 | 2870 | =end original |
1865 | 2871 | |
1866 | (F) 左 | |
2872 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は | |
1867 | ||
2873 | 一部に制限されていて、ここで使ったものはその一つではありません。 | |
1868 | L<perl | |
2874 | L<perlref/Assigning to References> を参照してください。 | |
1869 | 2875 | |
2876 | =item Can't modify reference to localized parenthesized array in list | |
2877 | assignment | |
2878 | ||
2879 | =begin original | |
2880 | ||
2881 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as | |
2882 | it is not clear exactly what it should do. If you meant to make @array | |
2883 | refer to some other array, use C<\@array = \@other_array>. If you want to | |
2884 | make the elements of @array aliases of the scalars referenced on the | |
2885 | right-hand side, use C<\(@array) = @scalar_refs>. | |
2886 | ||
2887 | =end original | |
2888 | ||
2889 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; | |
2890 | 正確に何をするべきかが明確ではないからです。 | |
2891 | @array が他の配列を参照するようにすることを意味しているなら、 | |
2892 | C<\@array = \@other_array> を使ってください。 | |
2893 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2894 | C<\(@array) = @scalar_refs> を使ってください。 | |
2895 | ||
2896 | =item Can't modify reference to parenthesized hash in list assignment | |
2897 | ||
2898 | =begin original | |
2899 | ||
2900 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash | |
2901 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to | |
2902 | make the elements of %hash into aliases of the scalars referenced on the | |
2903 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. | |
2904 | ||
2905 | =end original | |
2906 | ||
2907 | (F) C<\(%hash)> への代入は対応していません。 | |
2908 | %hash が他のハッシュを参照するようにすることを意味しているなら、 | |
2909 | C<\%hash = \%other_hash> を使ってください。 | |
2910 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2911 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 | |
2912 | ||
1870 | 2913 | =item Can't msgrcv to read-only var |
1871 | 2914 | |
1872 | 2915 | =begin original |
1873 | 2916 | |
1874 | 2917 | (F) The target of a msgrcv must be modifiable to be used as a receive |
1875 | 2918 | buffer. |
1876 | 2919 | |
1877 | 2920 | =end original |
1878 | 2921 | |
1879 | 2922 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
1880 | 2923 | 変更可能なものでなければなりません。 |
1881 | 2924 | |
1882 | 2925 | =item Can't "next" outside a loop block |
1883 | 2926 | |
1884 | 2927 | =begin original |
1885 | 2928 | |
1886 | 2929 | (F) A "next" statement was executed to reiterate the current block, but |
1887 | 2930 | there isn't a current block. Note that an "if" or "else" block doesn't |
1888 | 2931 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
1889 | 2932 | grep(). You can usually double the curlies to get the same effect |
1890 | 2933 | though, because the inner curlies will be considered a block that loops |
1891 | 2934 | once. See L<perlfunc/next>. |
1892 | 2935 | |
1893 | 2936 | =end original |
1894 | 2937 | |
1895 | 2938 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
1896 | 2939 | ブロックの中ではありませんでした。 |
1897 | 2940 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
1898 | 2941 | 同様「ループ風」ブロックではないので、注意してください。 |
1899 | ただし、中 | |
2942 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
1900 | みなされますから、同じ効果が得られます。 | |
2943 | ブロックとみなされますから、同じ効果が得られます。 | |
1901 | 2944 | L<perlfunc/next> を参照してください。 |
1902 | 2945 | |
1903 | 2946 | =item Can't open %s: %s |
1904 | 2947 | |
1905 | 2948 | =begin original |
1906 | 2949 | |
1907 | 2950 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
1908 | 2951 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
1909 | switches, or explicitly, failed for the indicated reason. Usually | |
2952 | switches, or explicitly, failed for the indicated reason. Usually | |
1910 | is because you don't have read permission for a file which | |
2953 | this is because you don't have read permission for a file which | |
1911 | the command line. | |
2954 | you named on the command line. | |
1912 | 2955 | |
1913 | 2956 | =end original |
1914 | 2957 | |
1915 | 2958 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
1916 | 2959 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
1917 | 2960 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
1918 | 2961 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
1919 | 2962 | |
2963 | =begin original | |
2964 | ||
2965 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or | |
2966 | your operating system's equivalent) could not be opened. | |
2967 | ||
2968 | =end original | |
2969 | ||
2970 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> | |
2971 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 | |
2972 | ||
2973 | =item Can't open a reference | |
2974 | ||
2975 | =begin original | |
2976 | ||
2977 | (W io) You tried to open a scalar reference for reading or writing, | |
2978 | using the 3-arg open() syntax: | |
2979 | ||
2980 | =end original | |
2981 | ||
2982 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは | |
2983 | 書き込みのために開こうとしました: | |
2984 | ||
2985 | open FH, '>', $ref; | |
2986 | ||
2987 | =begin original | |
2988 | ||
2989 | but your version of perl is compiled without perlio, and this form of | |
2990 | open is not supported. | |
2991 | ||
2992 | =end original | |
2993 | ||
2994 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 | |
2995 | この形式の open は対応していません。 | |
2996 | ||
1920 | 2997 | =item Can't open bidirectional pipe |
1921 | 2998 | |
1922 | 2999 | =begin original |
1923 | 3000 | |
1924 | 3001 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
1925 | 3002 | You can try any of several modules in the Perl library to do this, such |
1926 | 3003 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
1927 | 3004 | ">", and then read it in under a different file handle. |
1928 | 3005 | |
1929 | 3006 | =end original |
1930 | 3007 | |
1931 | 3008 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
1932 | 3009 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
1933 | 3010 | モジュールを使うことができます。 |
1934 | 3011 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
1935 | 3012 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
1936 | 3013 | |
1937 | 3014 | =item Can't open error file %s as stderr |
1938 | 3015 | |
1939 | 3016 | =begin original |
1940 | 3017 | |
1941 | 3018 | (F) An error peculiar to VMS. Perl does its own command line |
1942 | 3019 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
1943 | 3020 | the command line for writing. |
1944 | 3021 | |
1945 | 3022 | =end original |
1946 | 3023 | |
1947 | (F) VMSに固有のエラーです。 | |
3024 | (F) VMS に固有のエラーです。 | |
1948 | 3025 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1949 | 3026 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
1950 | 3027 | ファイルを開けませんでした。 |
1951 | 3028 | |
1952 | 3029 | =item Can't open input file %s as stdin |
1953 | 3030 | |
1954 | 3031 | =begin original |
1955 | 3032 | |
1956 | 3033 | (F) An error peculiar to VMS. Perl does its own command line |
1957 | 3034 | redirection, and couldn't open the file specified after '<' on the |
1958 | 3035 | command line for reading. |
1959 | 3036 | |
1960 | 3037 | =end original |
1961 | 3038 | |
1962 | (F) VMSに固有のエラーです。 | |
3039 | (F) VMS に固有のエラーです。 | |
1963 | 3040 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1964 | 3041 | コマンドラインで読み込みのために '<' の後に指定された |
1965 | 3042 | ファイルを開けませんでした。 |
1966 | 3043 | |
1967 | 3044 | =item Can't open output file %s as stdout |
1968 | 3045 | |
1969 | 3046 | =begin original |
1970 | 3047 | |
1971 | 3048 | (F) An error peculiar to VMS. Perl does its own command line |
1972 | 3049 | redirection, and couldn't open the file specified after '>' or '>>' on |
1973 | 3050 | the command line for writing. |
1974 | 3051 | |
1975 | 3052 | =end original |
1976 | 3053 | |
1977 | (F) VMSに固有のエラーです。 | |
3054 | (F) VMS に固有のエラーです。 | |
1978 | 3055 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1979 | 3056 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
1980 | 3057 | ファイルを開けませんでした。 |
1981 | 3058 | |
1982 | 3059 | =item Can't open output pipe (name: %s) |
1983 | 3060 | |
1984 | 3061 | =begin original |
1985 | 3062 | |
1986 | 3063 | (P) An error peculiar to VMS. Perl does its own command line |
1987 | 3064 | redirection, and couldn't open the pipe into which to send data destined |
1988 | 3065 | for stdout. |
1989 | 3066 | |
1990 | 3067 | =end original |
1991 | 3068 | |
1992 | (P) VMSに固有のエラーです。 | |
3069 | (P) VMS に固有のエラーです。 | |
1993 | 3070 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1994 | 3071 | 標準出力としてデータを送るパイプを開けませんでした。 |
1995 | 3072 | |
1996 | 3073 | =item Can't open perl script "%s": %s |
1997 | 3074 | |
1998 | 3075 | =begin original |
1999 | 3076 | |
2000 | 3077 | (F) The script you specified can't be opened for the indicated reason. |
2001 | 3078 | |
2002 | 3079 | =end original |
2003 | 3080 | |
2004 | 3081 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2005 | 3082 | |
3083 | =begin original | |
3084 | ||
3085 | If you're debugging a script that uses #!, and normally relies on the | |
3086 | shell's $PATH search, the -S option causes perl to do that search, so | |
3087 | you don't have to type the path or C<`which $scriptname`>. | |
3088 | ||
3089 | =end original | |
3090 | ||
3091 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に | |
3092 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 | |
3093 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 | |
3094 | ||
2006 | 3095 | =item Can't read CRTL environ |
2007 | 3096 | |
2008 | 3097 | =begin original |
2009 | 3098 | |
2010 | 3099 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2011 | 3100 | from the CRTL's internal environment array and discovered the array was |
2012 | 3101 | missing. You need to figure out where your CRTL misplaced its environ |
2013 | 3102 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2014 | 3103 | searched. |
2015 | 3104 | |
2016 | 3105 | =end original |
2017 | 3106 | |
2018 | (S) VMSに固有の警告です。 | |
3107 | (S) VMS に固有の警告です。 | |
2019 | 3108 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2020 | 3109 | 配列がないことを発見しました。 |
2021 | 3110 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2022 | 3111 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2023 | 3112 | 必要があります。 |
2024 | 3113 | |
2025 | =item Can't rede | |
3114 | =item Can't redeclare "%s" in "%s" | |
2026 | 3115 | |
2027 | 3116 | =begin original |
2028 | 3117 | |
2029 | (F) | |
3118 | (F) A "my", "our" or "state" declaration was found within another declaration, | |
2030 | ||
3119 | such as C<my ($x, my($y), $z)> or C<our (my $x)>. | |
2031 | it was currently active, which is not allowed. If you really want to do | |
2032 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. | |
2033 | 3120 | |
2034 | 3121 | =end original |
2035 | 3122 | |
2036 | (F) | |
3123 | (F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、 | |
2037 | ||
3124 | "my", "our", "state" 宣言が他の宣言の中にありました。 | |
2038 | そのようなソートサブルーチンを現在アクティブな状態の時に | |
2039 | 再定義しようとしましたが、それはできません。 | |
2040 | 本当にそのようなことがしたい場合は、 | |
2041 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 | |
2042 | 3125 | |
2043 | 3126 | =item Can't "redo" outside a loop block |
2044 | 3127 | |
2045 | 3128 | =begin original |
2046 | 3129 | |
2047 | 3130 | (F) A "redo" statement was executed to restart the current block, but |
2048 | 3131 | there isn't a current block. Note that an "if" or "else" block doesn't |
2049 | 3132 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2050 | 3133 | or grep(). You can usually double the curlies to get the same effect |
2051 | 3134 | though, because the inner curlies will be considered a block that |
2052 | 3135 | loops once. See L<perlfunc/redo>. |
2053 | 3136 | |
2054 | 3137 | =end original |
2055 | 3138 | |
2056 | 3139 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2057 | 3140 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2058 | 3141 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2059 | 3142 | 同様「ループ風」ブロックではないので、注意してください。 |
2060 | ただし、中 | |
3143 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
2061 | 3144 | ブロックとみなされますから、同じ効果が得られます。 |
2062 | 3145 | L<perlfunc/redo> を参照してください。 |
2063 | 3146 | |
2064 | =item Can't remove %s: %s, skipping file | |
3147 | =item Can't remove %s: %s, skipping file | |
2065 | 3148 | |
2066 | 3149 | =begin original |
2067 | 3150 | |
2068 | 3151 | (S inplace) You requested an inplace edit without creating a backup |
2069 | 3152 | file. Perl was unable to remove the original file to replace it with |
2070 | 3153 | the modified file. The file was left unmodified. |
2071 | 3154 | |
2072 | 3155 | =end original |
2073 | 3156 | |
2074 | 3157 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2075 | 3158 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2076 | 3159 | できませんでした。 |
2077 | 3160 | ファイルは変更されずに残されます。 |
2078 | 3161 | |
3162 | =item Can't rename in-place work file '%s' to '%s': %s | |
3163 | ||
3164 | =begin original | |
3165 | ||
3166 | (F) When closed implicitly, the temporary file for in-place editing | |
3167 | couldn't be renamed to the original filename. | |
3168 | ||
3169 | =end original | |
3170 | ||
3171 | (F) その場編集のための一時ファイルが暗黙に閉じられたとき、 | |
3172 | 元のファイル名にリネームできませんでした。 | |
3173 | ||
2079 | 3174 | =item Can't rename %s to %s: %s, skipping file |
2080 | 3175 | |
2081 | 3176 | =begin original |
2082 | 3177 | |
2083 | ( | |
3178 | (F) The rename done by the B<-i> switch failed for some reason, | |
2084 | 3179 | probably because you don't have write permission to the directory. |
2085 | 3180 | |
2086 | 3181 | =end original |
2087 | 3182 | |
2088 | ( | |
3183 | (F) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
2089 | うまく行きませんでした。 | |
3184 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 | |
2090 | ディレクトリに書き込み権がないことも考えられます。 | |
2091 | 3185 | |
2092 | 3186 | =item Can't reopen input pipe (name: %s) in binary mode |
2093 | 3187 | |
2094 | 3188 | =begin original |
2095 | 3189 | |
2096 | 3190 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
2097 | 3191 | to reopen it to accept binary data. Alas, it failed. |
2098 | 3192 | |
2099 | 3193 | =end original |
2100 | 3194 | |
2101 | 3195 | (P) VMS に固有のエラーです。 |
2102 | 3196 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
2103 | 3197 | 再オープンしようとしました。 |
2104 | 3198 | 悲しいかな、それは失敗しました。 |
2105 | 3199 | |
2106 | =item Can't res | |
3200 | =item Can't represent character for Ox%X on this platform | |
2107 | 3201 | |
2108 | 3202 | =begin original |
2109 | 3203 | |
2110 | (F | |
3204 | (F) There is a hard limit to how big a character code point can be due | |
2111 | to | |
3205 | to the fundamental properties of UTF-8, especially on EBCDIC | |
2112 | ||
3206 | platforms. The given code point exceeds that. The only work-around is | |
3207 | to not use such a large code point. | |
2113 | 3208 | |
2114 | 3209 | =end original |
2115 | 3210 | |
2116 | (F | |
3211 | (F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります; | |
2117 | ||
3212 | これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。 | |
2118 | ||
3213 | 指定された符号位置はそれを越えています。 | |
2119 | ||
3214 | 唯一の回避策はそのような大きな符号位置を使わないことです。 | |
2120 | 3215 | |
2121 | =item Can't res | |
3216 | =item Can't reset %ENV on this system | |
2122 | 3217 | |
2123 | 3218 | =begin original |
2124 | 3219 | |
2125 | ( | |
3220 | (F) You called C<reset('E')> or similar, which tried to reset | |
2126 | s | |
3221 | all variables in the current package beginning with "E". In | |
3222 | the main package, that includes %ENV. Resetting %ENV is not | |
3223 | supported on some systems, notably VMS. | |
2127 | 3224 | |
2128 | 3225 | =end original |
2129 | 3226 | |
2130 | ( | |
3227 | (F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる | |
2131 | set | |
3228 | 全ての変数を reset しようとしました。 | |
3229 | main パッケージでは、これには %ENV が含まれます。 | |
3230 | %ENV の reset は一部のシステム、特に VMS では対応していません。 | |
2132 | 3231 | |
2133 | =item Can't ret | |
3232 | =item Can't resolve method "%s" overloading "%s" in package "%s" | |
2134 | 3233 | |
2135 | 3234 | =begin original |
2136 | 3235 | |
2137 | (F) | |
3236 | (F)(P) Error resolving overloading specified by a method name (as | |
2138 | ||
3237 | opposed to a subroutine reference): no such method callable via the | |
2139 | is | |
3238 | package. If the method name is C<???>, this is an internal error. | |
2140 | 3239 | |
2141 | 3240 | =end original |
2142 | 3241 | |
2143 | (F) | |
3242 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された | |
2144 | ||
3243 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で | |
2145 | ||
3244 | 呼び出せません。 | |
2146 | ||
3245 | もしメソッド名が C<???> なら、内部エラーです。 | |
2147 | 3246 | |
2148 | =item Can't return %s | |
3247 | =item Can't return %s from lvalue subroutine | |
2149 | 3248 | |
2150 | 3249 | =begin original |
2151 | 3250 | |
2152 | (F) | |
3251 | (F) Perl detected an attempt to return illegal lvalues (such as | |
2153 | ||
3252 | temporary or readonly values) from a subroutine used as an lvalue. This | |
2154 | ||
3253 | is not allowed. | |
2155 | the call to the subroutine, which tell Perl that the call should be in | |
2156 | list context. | |
2157 | 3254 | |
2158 | 3255 | =end original |
2159 | 3256 | |
2160 | (F) 左辺値サブルーチンから | |
3257 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や | |
2161 | ||
3258 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 | |
2162 | ||
3259 | これは認められていません。 | |
2163 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
2164 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
2165 | 3260 | |
2166 | 3261 | =item Can't return outside a subroutine |
2167 | 3262 | |
2168 | 3263 | =begin original |
2169 | 3264 | |
2170 | 3265 | (F) The return statement was executed in mainline code, that is, where |
2171 | 3266 | there was no subroutine call to return out of. See L<perlsub>. |
2172 | 3267 | |
2173 | 3268 | =end original |
2174 | 3269 | |
2175 | (F) return 文が、return で抜けるべきサブルー | |
3270 | (F) return 文が、return で抜けるべきサブルーチンがない、 | |
2176 | 3271 | "main" コードで実行されました。 |
2177 | 3272 | L<perlsub> を参照してください。 |
2178 | 3273 | |
2179 | =item Can't sta | |
3274 | =item Can't return %s to lvalue scalar context | |
2180 | 3275 | |
2181 | 3276 | =begin original |
2182 | 3277 | |
2183 | ( | |
3278 | (F) You tried to return a complete array or hash from an lvalue | |
2184 | o | |
3279 | subroutine, but you called the subroutine in a way that made Perl | |
3280 | think you meant to return only one value. You probably meant to | |
3281 | write parentheses around the call to the subroutine, which tell | |
3282 | Perl that the call should be in list context. | |
2185 | 3283 | |
2186 | 3284 | =end original |
2187 | 3285 | |
2188 | ( | |
3286 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 | |
2189 | ||
3287 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを | |
3288 | 呼び出しました。 | |
3289 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
3290 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
2190 | 3291 | |
2191 | =item Can't swap uid and euid | |
2192 | ||
2193 | =begin original | |
2194 | ||
2195 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
2196 | suidperl. | |
2197 | ||
2198 | =end original | |
2199 | ||
2200 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
2201 | setreuid() 呼び出しが失敗しました。 | |
2202 | ||
2203 | 3292 | =item Can't take log of %g |
2204 | 3293 | |
2205 | 3294 | =begin original |
2206 | 3295 | |
2207 | 3296 | (F) For ordinary real numbers, you can't take the logarithm of a |
2208 | negative number or zero. There's a Math::Complex package that comes | |
3297 | negative number or zero. There's a Math::Complex package that comes | |
2209 | 3298 | standard with Perl, though, if you really want to do that for the |
2210 | 3299 | negative numbers. |
2211 | 3300 | |
2212 | 3301 | =end original |
2213 | 3302 | |
2214 | 3303 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
2215 | 3304 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
2216 | 3305 | Perl 標準になっている Math::Complex パッケージがあります。 |
2217 | 3306 | |
2218 | 3307 | =item Can't take sqrt of %g |
2219 | 3308 | |
2220 | 3309 | =begin original |
2221 | 3310 | |
2222 | 3311 | (F) For ordinary real numbers, you can't take the square root of a |
2223 | 3312 | negative number. There's a Math::Complex package that comes standard |
2224 | 3313 | with Perl, though, if you really want to do that. |
2225 | 3314 | |
2226 | 3315 | =end original |
2227 | 3316 | |
2228 | 3317 | (F) 通常の実数では、負数の平方根をとることはできません。 |
2229 | 3318 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
2230 | 3319 | Perl に標準で用意されています。 |
2231 | 3320 | |
2232 | 3321 | =item Can't undef active subroutine |
2233 | 3322 | |
2234 | 3323 | =begin original |
2235 | 3324 | |
2236 | 3325 | (F) You can't undefine a routine that's currently running. You can, |
2237 | 3326 | however, redefine it while it's running, and you can even undef the |
2238 | 3327 | redefined subroutine while the old routine is running. Go figure. |
2239 | 3328 | |
2240 | 3329 | =end original |
2241 | 3330 | |
2242 | 3331 | (F) 実行中のルーティンを未定義にすることはできません。 |
2243 | 3332 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
2244 | 再定義したサブルー | |
3333 | 再定義したサブルーチンを undef することさえできます。 | |
2245 | 3334 | 驚きです。 |
2246 | 3335 | |
2247 | =item Can't un | |
3336 | =item Can't unweaken a nonreference | |
2248 | 3337 | |
2249 | 3338 | =begin original |
2250 | 3339 | |
2251 | (F) You t | |
3340 | (F) You attempted to unweaken something that was not a reference. Only | |
2252 | ||
3341 | references can be unweakened. | |
2253 | 3342 | |
2254 | 3343 | =end original |
2255 | 3344 | |
2256 | (F) | |
3345 | (F) リファレンスでないものを弱くないようにしようとしました。 | |
2257 | ||
3346 | リファレンスだけが弱くないようにできます。 | |
2258 | 3347 | |
2259 | =item Can't upgrade | |
3348 | =item Can't upgrade %s (%d) to %d | |
2260 | 3349 | |
2261 | 3350 | =begin original |
2262 | 3351 | |
2263 | 3352 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
2264 | 3353 | into a more specialized kind of SV. The top several SV types are so |
2265 | 3354 | specialized, however, that they cannot be interconverted. This message |
2266 | 3355 | indicates that such a conversion was attempted. |
2267 | 3356 | |
2268 | 3357 | =end original |
2269 | 3358 | |
2270 | 3359 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
2271 | 3360 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
2272 | 3361 | 特殊化され過ぎて、内部変換することができません。 |
2273 | 3362 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
2274 | 3363 | |
2275 | =item Can't u | |
3364 | =item Can't use '%c' after -mname | |
2276 | 3365 | |
2277 | 3366 | =begin original |
2278 | 3367 | |
2279 | ( | |
3368 | (F) You tried to call perl with the B<-m> switch, but you put something | |
2280 | ||
3369 | other than "=" after the module name. | |
2281 | calling sv_upgrade. | |
2282 | 3370 | |
2283 | 3371 | =end original |
2284 | 3372 | |
2285 | ( | |
3373 | (F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に | |
2286 | ||
3374 | "=" 以外のものを置きました。 | |
2287 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 | |
2288 | 3375 | |
3376 | =item Can't use a hash as a reference | |
3377 | ||
3378 | =begin original | |
3379 | ||
3380 | (F) You tried to use a hash as a reference, as in | |
3381 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl | |
3382 | <= 5.22.0 used to allow this syntax, but shouldn't | |
3383 | have. This was deprecated in perl 5.6.1. | |
3384 | ||
3385 | =end original | |
3386 | ||
3387 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 | |
3388 | ハッシュをリファレンスとして使おうとしました。 | |
3389 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3390 | そうするべきではありません。 | |
3391 | これは perl 5.6.1 から廃止予定です。 | |
3392 | ||
3393 | =item Can't use an array as a reference | |
3394 | ||
3395 | =begin original | |
3396 | ||
3397 | (F) You tried to use an array as a reference, as in | |
3398 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 | |
3399 | used to allow this syntax, but shouldn't have. This | |
3400 | was deprecated in perl 5.6.1. | |
3401 | ||
3402 | =end original | |
3403 | ||
3404 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 | |
3405 | 配列をリファレンスとして使おうとしました。 | |
3406 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3407 | そうするべきではありません。 | |
3408 | これは perl 5.6.1 から廃止予定です。 | |
3409 | ||
3410 | =item Can't use anonymous symbol table for method lookup | |
3411 | ||
3412 | =begin original | |
3413 | ||
3414 | (F) The internal routine that does method lookup was handed a symbol | |
3415 | table that doesn't have a name. Symbol tables can become anonymous | |
3416 | for example by undefining stashes: C<undef %Some::Package::>. | |
3417 | ||
3418 | =end original | |
3419 | ||
3420 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを | |
3421 | 扱いました。 | |
3422 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の | |
3423 | stash によって無名となります。 | |
3424 | ||
2289 | 3425 | =item Can't use an undefined value as %s reference |
2290 | 3426 | |
2291 | 3427 | =begin original |
2292 | 3428 | |
2293 | 3429 | (F) A value used as either a hard reference or a symbolic reference must |
2294 | 3430 | be a defined value. This helps to delurk some insidious errors. |
2295 | 3431 | |
2296 | 3432 | =end original |
2297 | 3433 | |
2298 | 3434 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
2299 | 3435 | 定義済みの値でなければなりません。 |
2300 | 3436 | 潜伏中のエラーを引きずり出す助けとなります。 |
2301 | 3437 | |
2302 | 3438 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
2303 | 3439 | |
2304 | 3440 | =begin original |
2305 | 3441 | |
2306 | 3442 | (F) Only hard references are allowed by "strict refs". Symbolic |
2307 | 3443 | references are disallowed. See L<perlref>. |
2308 | 3444 | |
2309 | 3445 | =end original |
2310 | 3446 | |
2311 | (F) "strict refs" | |
3447 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 | |
2312 | シンボリックリファレンスは | |
3448 | シンボリックリファレンスは許可されません。 | |
2313 | 3449 | L<perlref> を参照してください。 |
2314 | 3450 | |
2315 | 3451 | =item Can't use %! because Errno.pm is not available |
2316 | 3452 | |
2317 | 3453 | =begin original |
2318 | 3454 | |
2319 | (F) The first time the %! hash is used, perl automatically loads the | |
3455 | (F) The first time the C<%!> hash is used, perl automatically loads the | |
2320 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
3456 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
2321 | 3457 | provide symbolic names for C<$!> errno values. |
2322 | 3458 | |
2323 | 3459 | =end original |
2324 | 3460 | |
2325 | (F) 最初に %! ハッシュが使われるときに、 | |
3461 | (F) 最初に C<%!> ハッシュが使われるときに、 | |
2326 | 3462 | perl は自動的に Errno.pm モジュールを読み込みます。 |
2327 | 3463 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
2328 | 3464 | %! ハッシュと tie されることになります。 |
2329 | 3465 | |
3466 | =item Can't use both '<' and '>' after type '%c' in %s | |
3467 | ||
3468 | =begin original | |
3469 | ||
3470 | (F) A type cannot be forced to have both big-endian and little-endian | |
3471 | byte-order at the same time, so this combination of modifiers is not | |
3472 | allowed. See L<perlfunc/pack>. | |
3473 | ||
3474 | =end original | |
3475 | ||
3476 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に | |
3477 | 強制することはできないので、この修飾子の組み合わせは許可されません。 | |
3478 | L<perlfunc/pack> を参照してください。 | |
3479 | ||
3480 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) | |
3481 | ||
3482 | =begin original | |
3483 | ||
3484 | (F) defined() is not useful on arrays because it | |
3485 | checks for an undefined I<scalar> value. If you want to see if the | |
3486 | array is empty, just use C<if (@array) { # not empty }> for example. | |
3487 | ||
3488 | =end original | |
3489 | ||
3490 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 | |
3491 | 配列が空かどうかを調べたい場合は、例えば単に | |
3492 | C<if (@array) { # not empty }> としてください。 | |
3493 | ||
3494 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) | |
3495 | ||
3496 | =begin original | |
3497 | ||
3498 | (F) C<defined()> is not usually right on hashes. | |
3499 | ||
3500 | =end original | |
3501 | ||
3502 | (F) C<defined()> は普通はハッシュの右側ではありません。 | |
3503 | ||
3504 | =begin original | |
3505 | ||
3506 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
3507 | becomes true in several non-obvious circumstances, including iterators, | |
3508 | weak references, stash names, even remaining true after C<undef %hash>. | |
3509 | These things make C<defined %hash> fairly useless in practice, so it now | |
3510 | generates a fatal error. | |
3511 | ||
3512 | =end original | |
3513 | ||
3514 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
3515 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
3516 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
3517 | これらにより、実践では C<defined %hash> はほとんど使えないので、 | |
3518 | 致命的エラーを生成するようになりました。 | |
3519 | ||
3520 | =begin original | |
3521 | ||
3522 | If a check for non-empty is what you wanted then just put it in boolean | |
3523 | context (see L<perldata/Scalar values>): | |
3524 | ||
3525 | =end original | |
3526 | ||
3527 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
3528 | 置いてください (L<perldata/Scalar values> を参照してください): | |
3529 | ||
3530 | if (%hash) { | |
3531 | # not empty | |
3532 | } | |
3533 | ||
3534 | =begin original | |
3535 | ||
3536 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
3537 | variable exists then that's never really been reliable, and isn't | |
3538 | a good way to enquire about the features of a package, or whether | |
3539 | it's loaded, etc. | |
3540 | ||
3541 | =end original | |
3542 | ||
3543 | パッケージ変数が存在するかどうかを調べるために | |
3544 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
3545 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
3546 | 良い方法ではありません。 | |
3547 | ||
2330 | 3548 | =item Can't use %s for loop variable |
2331 | 3549 | |
2332 | 3550 | =begin original |
2333 | 3551 | |
2334 | ( | |
3552 | (P) The parser got confused when trying to parse a C<foreach> loop. | |
2335 | foreach. | |
2336 | 3553 | |
2337 | 3554 | =end original |
2338 | 3555 | |
2339 | ( | |
3556 | (P) パーサが C<foreach> ループをパースしようとしたときに混乱しました。 | |
2340 | 使用することができます。 | |
2341 | 3557 | |
2342 | =item Can't use global %s in | |
3558 | =item Can't use global %s in %s | |
2343 | 3559 | |
2344 | 3560 | =begin original |
2345 | 3561 | |
2346 | 3562 | (F) You tried to declare a magical variable as a lexical variable. This |
2347 | 3563 | is not allowed, because the magic can be tied to only one location |
2348 | 3564 | (namely the global variable) and it would be incredibly confusing to |
2349 | 3565 | have variables in your program that looked like magical variables but |
2350 | 3566 | weren't. |
2351 | 3567 | |
2352 | 3568 | =end original |
2353 | 3569 | |
2354 | 3570 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
2355 | これが許されていないのは、マジ | |
3571 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) | |
2356 | | |
3572 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども | |
2357 | そうでない | |
3573 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 | |
2358 | 3574 | |
3575 | =item Can't use '%c' in a group with different byte-order in %s | |
3576 | ||
3577 | =begin original | |
3578 | ||
3579 | (F) You attempted to force a different byte-order on a type | |
3580 | that is already inside a group with a byte-order modifier. | |
3581 | For example you cannot force little-endianness on a type that | |
3582 | is inside a big-endian group. | |
3583 | ||
3584 | =end original | |
3585 | ||
3586 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を | |
3587 | 強制しようとしました。 | |
3588 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに | |
3589 | 強制することはできません。 | |
3590 | ||
2359 | 3591 | =item Can't use "my %s" in sort comparison |
2360 | 3592 | |
2361 | 3593 | =begin original |
2362 | 3594 | |
2363 | 3595 | (F) The global variables $a and $b are reserved for sort comparisons. |
2364 | 3596 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
2365 | 3597 | and the variable had earlier been declared as a lexical variable. |
2366 | 3598 | Either qualify the sort variable with the package name, or rename the |
2367 | 3599 | lexical variable. |
2368 | 3600 | |
2369 | 3601 | =end original |
2370 | 3602 | |
2371 | 3603 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
2372 | 3604 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
2373 | 3605 | その前にレキシカル変数として宣言されています。 |
2374 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
3606 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
2375 | 変更してください。 | |
2376 | 3607 | |
2377 | 3608 | =item Can't use %s ref as %s ref |
2378 | 3609 | |
2379 | 3610 | =begin original |
2380 | 3611 | |
2381 | 3612 | (F) You've mixed up your reference types. You have to dereference a |
2382 | 3613 | reference of the type needed. You can use the ref() function to |
2383 | 3614 | test the type of the reference, if need be. |
2384 | 3615 | |
2385 | 3616 | =end original |
2386 | 3617 | |
2387 | 3618 | (F) リファレンス型を混同しています。 |
2388 | 3619 | 必要な型のリファレンスを被参照しなければなりません。 |
2389 | 3620 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
2390 | 3621 | |
2391 | 3622 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
2392 | 3623 | |
3624 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use | |
3625 | ||
2393 | 3626 | =begin original |
2394 | 3627 | |
2395 | (F) | |
3628 | (F) You've told Perl to dereference a string, something which | |
2396 | ||
3629 | C<use strict> blocks to prevent it happening accidentally. See | |
3630 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
3631 | in a double-quoted string immediately before interpolating a variable, | |
3632 | for example in C<"user @$twitter_id">, which says to treat the contents | |
3633 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
3634 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
2397 | 3635 | |
2398 | 3636 | =end original |
2399 | 3637 | |
2400 | (F) | |
3638 | (F) 文字列をデリファレンスするように Perl に指示しましたが、 | |
2401 | ||
3639 | C<use strict> ブロックがこれが偶然起きることを妨げました。 | |
2402 | L<perlref> を参照してください。 | |
3640 | L<perlref/"Symbolic references"> を参照してください。 | |
3641 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
3642 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
3643 | 内容を配列リファレンスとして扱うように指示しています; | |
3644 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
3645 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
2403 | 3646 | |
2404 | 3647 | =item Can't use subscript on %s |
2405 | 3648 | |
2406 | 3649 | =begin original |
2407 | 3650 | |
2408 | 3651 | (F) The compiler tried to interpret a bracketed expression as a |
2409 | 3652 | subscript. But to the left of the brackets was an expression that |
2410 | didn't look like a | |
3653 | didn't look like a hash or array reference, or anything else subscriptable. | |
2411 | 3654 | |
2412 | 3655 | =end original |
2413 | 3656 | |
2414 | 3657 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
2415 | 3658 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
2416 | 3659 | 添字化できるもののようには見えない式です。 |
2417 | 3660 | |
2418 | 3661 | =item Can't use \%c to mean $%c in expression |
2419 | 3662 | |
2420 | 3663 | =begin original |
2421 | 3664 | |
2422 | 3665 | (W syntax) In an ordinary expression, backslash is a unary operator that |
2423 | 3666 | creates a reference to its argument. The use of backslash to indicate a |
2424 | 3667 | backreference to a matched substring is valid only as part of a regular |
2425 | 3668 | expression pattern. Trying to do this in ordinary Perl code produces a |
2426 | 3669 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
2427 | 3670 | instead. |
2428 | 3671 | |
2429 | 3672 | =end original |
2430 | 3673 | |
2431 | 3674 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
2432 | 3675 | 単項演算子です。 |
2433 | 3676 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
2434 | 3677 | 正規表現パターンの一部の場合にのみ有効です。 |
2435 | 3678 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
2436 | 3679 | 表示される値を生成します。 |
2437 | 3680 | 代わりに $1 の形を使ってください。 |
2438 | 3681 | |
2439 | 3682 | =item Can't weaken a nonreference |
2440 | 3683 | |
2441 | 3684 | =begin original |
2442 | 3685 | |
2443 | 3686 | (F) You attempted to weaken something that was not a reference. Only |
2444 | 3687 | references can be weakened. |
2445 | 3688 | |
2446 | 3689 | =end original |
2447 | 3690 | |
2448 | 3691 | (F) リファレンスではない何かを弱めようとしました。 |
2449 | 3692 | リファレンスだけが弱めることができます。 |
2450 | 3693 | |
3694 | =item Can't "when" outside a topicalizer | |
3695 | ||
3696 | =begin original | |
3697 | ||
3698 | (F) You have used a when() block that is neither inside a C<foreach> | |
3699 | loop nor a C<given> block. (Note that this error is issued on exit | |
3700 | from the C<when> block, so you won't get the error if the match fails, | |
3701 | or if you use an explicit C<continue>.) | |
3702 | ||
3703 | =end original | |
3704 | ||
3705 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを | |
3706 | 使いました。 | |
3707 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに | |
3708 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは | |
3709 | 発生しません。) | |
3710 | ||
2451 | 3711 | =item Can't x= to read-only value |
2452 | 3712 | |
2453 | 3713 | =begin original |
2454 | 3714 | |
2455 | 3715 | (F) You tried to repeat a constant value (often the undefined value) |
2456 | 3716 | with an assignment operator, which implies modifying the value itself. |
2457 | 3717 | Perhaps you need to copy the value to a temporary, and repeat that. |
2458 | 3718 | |
2459 | 3719 | =end original |
2460 | 3720 | |
2461 | 3721 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
2462 | 3722 | 代入演算子で繰り返しを行なおうとしました。 |
2463 | 3723 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
2464 | 3724 | |
2465 | =item | |
3725 | =item Character following "\c" must be printable ASCII | |
2466 | 3726 | |
2467 | 3727 | =begin original |
2468 | 3728 | |
2469 | ( | |
3729 | (F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character. | |
2470 | 3730 | |
2471 | 3731 | =end original |
2472 | 3732 | |
2473 | ( | |
3733 | (F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。 | |
2474 | 3734 | |
2475 | | |
3735 | =begin original | |
2476 | 3736 | |
3737 | Note that ASCII characters that don't map to control characters are | |
3738 | discouraged, and will generate the warning (when enabled) | |
3739 | L</""\c%c" is more clearly written simply as "%s"">. | |
3740 | ||
3741 | =end original | |
3742 | ||
3743 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; | |
3744 | そして (有効になっていれば) | |
3745 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 | |
3746 | ||
3747 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
3748 | ||
2477 | 3749 | =begin original |
2478 | 3750 | |
2479 | ||
3751 | (F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You | |
2480 | e | |
3752 | specified something that isn't a legal Unicode property name. Most | |
2481 | ||
3753 | Unicode properties are specified by C<\p{...}>. But if the name is a | |
3754 | single character one, the braces may be omitted. | |
2482 | 3755 | |
2483 | 3756 | =end original |
2484 | 3757 | |
2485 | ||
3758 | (F) (前述の C<%c> は C<p> か C<P> に置き換えられます。) | |
2486 | ||
3759 | 正当な Unicode 特性名ではない何かをしていしました。 | |
2487 | ||
3760 | ほとんどの Unicode 特性は C<\p{...}> として指定されます。 | |
3761 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
2488 | 3762 | |
3763 | =item Character in 'C' format wrapped in pack | |
3764 | ||
3765 | =begin original | |
3766 | ||
3767 | (W pack) You said | |
3768 | ||
3769 | =end original | |
3770 | ||
3771 | (W pack) 以下のように書きましたが: | |
3772 | ||
3773 | pack("C", $x) | |
3774 | ||
3775 | =begin original | |
3776 | ||
3777 | where $x is either less than 0 or more than 255; the C<"C"> format is | |
3778 | only for encoding native operating system characters (ASCII, EBCDIC, | |
3779 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
3780 | ||
3781 | =end original | |
3782 | ||
3783 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは | |
3784 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
3785 | 対応していて、Unicode 文字は対応していません; | |
3786 | それで、Perl は以下のように意味しているかのように振舞います: | |
3787 | ||
3788 | pack("C", $x & 255) | |
3789 | ||
3790 | =begin original | |
3791 | ||
3792 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
3793 | instead. | |
3794 | ||
3795 | =end original | |
3796 | ||
3797 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
3798 | 使ってください。 | |
3799 | ||
3800 | =item Character in 'c' format wrapped in pack | |
3801 | ||
3802 | =begin original | |
3803 | ||
3804 | (W pack) You said | |
3805 | ||
3806 | =end original | |
3807 | ||
3808 | (W pack) 以下のように書きましたが: | |
3809 | ||
3810 | pack("c", $x) | |
3811 | ||
3812 | =begin original | |
3813 | ||
3814 | where $x is either less than -128 or more than 127; the C<"c"> format | |
3815 | is only for encoding native operating system characters (ASCII, EBCDIC, | |
3816 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
3817 | ||
3818 | =end original | |
3819 | ||
3820 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは | |
3821 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
3822 | 対応していて、Unicode 文字は対応していません; | |
3823 | それで、Perl は以下のように意味しているかのように振舞います: | |
3824 | ||
3825 | pack("c", $x & 255); | |
3826 | ||
3827 | =begin original | |
3828 | ||
3829 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
3830 | instead. | |
3831 | ||
3832 | =end original | |
3833 | ||
3834 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
3835 | 使ってください。 | |
3836 | ||
3837 | =item Character in '%c' format wrapped in unpack | |
3838 | ||
3839 | =begin original | |
3840 | ||
3841 | (W unpack) You tried something like | |
3842 | ||
3843 | =end original | |
3844 | ||
3845 | (W unpack) 以下のようなことをしましたが: | |
3846 | ||
3847 | unpack("H", "\x{2a1}") | |
3848 | ||
3849 | =begin original | |
3850 | ||
3851 | where the format expects to process a byte (a character with a value | |
3852 | below 256), but a higher value was provided instead. Perl uses the | |
3853 | value modulus 256 instead, as if you had provided: | |
3854 | ||
3855 | =end original | |
3856 | ||
3857 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 | |
3858 | 文字の中により大きな値のものがあります。 | |
3859 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3860 | 値として使います: | |
3861 | ||
3862 | unpack("H", "\x{a1}") | |
3863 | ||
3864 | =item Character in 'W' format wrapped in pack | |
3865 | ||
3866 | =begin original | |
3867 | ||
3868 | (W pack) You said | |
3869 | ||
3870 | =end original | |
3871 | ||
3872 | (W pack) 以下のように書きましたが: | |
3873 | ||
3874 | pack("U0W", $x) | |
3875 | ||
3876 | =begin original | |
3877 | ||
3878 | where $x is either less than 0 or more than 255. However, C<U0>-mode | |
3879 | expects all values to fall in the interval [0, 255], so Perl behaved | |
3880 | as if you meant: | |
3881 | ||
3882 | =end original | |
3883 | ||
3884 | $x が 0 より小さいか 255 より大きいです。 | |
3885 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
3886 | Perl は以下のように振る舞います: | |
3887 | ||
3888 | pack("U0W", $x & 255) | |
3889 | ||
3890 | =item Character(s) in '%c' format wrapped in pack | |
3891 | ||
3892 | =begin original | |
3893 | ||
3894 | (W pack) You tried something like | |
3895 | ||
3896 | =end original | |
3897 | ||
3898 | (W pack) 以下のようなことをしましたが: | |
3899 | ||
3900 | pack("u", "\x{1f3}b") | |
3901 | ||
3902 | =begin original | |
3903 | ||
3904 | where the format expects to process a sequence of bytes (character with a | |
3905 | value below 256), but some of the characters had a higher value. Perl | |
3906 | uses the character values modulus 256 instead, as if you had provided: | |
3907 | ||
3908 | =end original | |
3909 | ||
3910 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3911 | 文字の中により大きな値のものがあります。 | |
3912 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3913 | 値として使います: | |
3914 | ||
3915 | pack("u", "\x{f3}b") | |
3916 | ||
3917 | =item Character(s) in '%c' format wrapped in unpack | |
3918 | ||
3919 | =begin original | |
3920 | ||
3921 | (W unpack) You tried something like | |
3922 | ||
3923 | =end original | |
3924 | ||
3925 | (W unpack) 以下のようなことをしましたが: | |
3926 | ||
3927 | unpack("s", "\x{1f3}b") | |
3928 | ||
3929 | =begin original | |
3930 | ||
3931 | where the format expects to process a sequence of bytes (character with a | |
3932 | value below 256), but some of the characters had a higher value. Perl | |
3933 | uses the character values modulus 256 instead, as if you had provided: | |
3934 | ||
3935 | =end original | |
3936 | ||
3937 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3938 | 文字の中により大きな値のものがあります。 | |
3939 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3940 | 値として使います: | |
3941 | ||
3942 | unpack("s", "\x{f3}b") | |
3943 | ||
3944 | =item charnames alias definitions may not contain a sequence of multiple | |
3945 | spaces; marked by S<<-- HERE> in %s | |
3946 | ||
3947 | =begin original | |
3948 | ||
3949 | (F) You defined a character name which had multiple space characters | |
3950 | in a row. Change them to single spaces. Usually these names are | |
3951 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3952 | could be defined by a translator installed into C<$^H{charnames}>. See | |
3953 | L<charnames/CUSTOM ALIASES>. | |
3954 | ||
3955 | =end original | |
3956 | ||
3957 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
3958 | 単一のスペースに変更してください。 | |
3959 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3960 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3961 | 定義されているかも知れません。 | |
3962 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3963 | ||
3964 | =item chdir() on unopened filehandle %s | |
3965 | ||
3966 | =begin original | |
3967 | ||
3968 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
3969 | ||
3970 | =end original | |
3971 | ||
3972 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
3973 | ||
3974 | =item "\c%c" is more clearly written simply as "%s" | |
3975 | ||
3976 | =begin original | |
3977 | ||
3978 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify | |
3979 | non-printable characters. You used it for a printable one, which | |
3980 | is better written as simply itself, perhaps preceded by a backslash | |
3981 | for non-word characters. Doing it the way you did is not portable | |
3982 | between ASCII and EBCDIC platforms. | |
3983 | ||
3984 | =end original | |
3985 | ||
3986 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 | |
3987 | これを表示文字に使いました; おそらく(おそらく非単語文字のために | |
3988 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 | |
3989 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 | |
3990 | ||
3991 | =item Cloning substitution context is unimplemented | |
3992 | ||
3993 | =begin original | |
3994 | ||
3995 | (F) Creating a new thread inside the C<s///> operator is not supported. | |
3996 | ||
3997 | =end original | |
3998 | ||
3999 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 | |
4000 | ||
4001 | =item closedir() attempted on invalid dirhandle %s | |
4002 | ||
4003 | =begin original | |
4004 | ||
4005 | (W io) The dirhandle you tried to close is either closed or not really | |
4006 | a dirhandle. Check your control flow. | |
4007 | ||
4008 | =end original | |
4009 | ||
4010 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には | |
4011 | ディレクトリハンドルではありません。 | |
4012 | 制御フローをチェックしてください。 | |
4013 | ||
2489 | 4014 | =item close() on unopened filehandle %s |
2490 | 4015 | |
2491 | 4016 | =begin original |
2492 | 4017 | |
2493 | 4018 | (W unopened) You tried to close a filehandle that was never opened. |
2494 | 4019 | |
2495 | 4020 | =end original |
2496 | 4021 | |
2497 | 4022 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
2498 | 4023 | |
4024 | =item Closure prototype called | |
4025 | ||
4026 | =begin original | |
4027 | ||
4028 | (F) If a closure has attributes, the subroutine passed to an attribute | |
4029 | handler is the prototype that is cloned when a new closure is created. | |
4030 | This subroutine cannot be called. | |
4031 | ||
4032 | =end original | |
4033 | ||
4034 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい | |
4035 | クロージャが作成されたときにクローン化されたプロトタイプです。 | |
4036 | このサブルーチンは呼び出すことができません。 | |
4037 | ||
4038 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
4039 | ||
4040 | =begin original | |
4041 | ||
4042 | (F) The \C character class used to allow a match of single byte | |
4043 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
4044 | it broke encapsulation and its implementation was extremely buggy. | |
4045 | If you really need to process the individual bytes, you probably | |
4046 | want to convert your string to one where each underlying byte is | |
4047 | stored as a character, with utf8::encode(). | |
4048 | ||
4049 | =end original | |
4050 | ||
4051 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
4052 | マッチングできるようにしていましたが、 | |
4053 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
4054 | 本当に個々のバイトを処理する必要があるなら、 | |
4055 | おそらくその文字列を、utf8::encode() を使って、 | |
4056 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
4057 | 良いでしょう。 | |
4058 | ||
4059 | =item Code missing after '/' | |
4060 | ||
4061 | =begin original | |
4062 | ||
4063 | (F) You had a (sub-)template that ends with a '/'. There must be | |
4064 | another template code following the slash. See L<perlfunc/pack>. | |
4065 | ||
4066 | =end original | |
4067 | ||
4068 | (F) テンプレートが '/' で終わっています。 | |
4069 | スラッシュの後には他のテンプレートコードが必須です。 | |
4070 | L<perlfunc/pack> を参照してください。 | |
4071 | ||
4072 | =item Code point 0x%X is not Unicode, and not portable | |
4073 | ||
4074 | =begin original | |
4075 | ||
4076 | (S non_unicode portable) You had a code point that has never been in any | |
4077 | standard, so it is likely that languages other than Perl will NOT | |
4078 | understand it. This code point also will not fit in a 32-bit word on | |
4079 | ASCII platforms and therefore is non-portable between systems. | |
4080 | ||
4081 | =end original | |
4082 | ||
4083 | (S non_unicode portable) どのような標準でもない符号位置を使いました; 従って | |
4084 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
4085 | この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、 | |
4086 | システム間で移植性がありません。 | |
4087 | ||
4088 | =begin original | |
4089 | ||
4090 | At one time, it was legal in some standards to have code points up to | |
4091 | 0x7FFF_FFFF, but not higher, and this code point is higher. | |
4092 | ||
4093 | =end original | |
4094 | ||
4095 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
4096 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
4097 | ||
4098 | =begin original | |
4099 | ||
4100 | Acceptance of these code points is a Perl extension, and you should | |
4101 | expect that nothing other than Perl can handle them; Perl itself on | |
4102 | EBCDIC platforms before v5.24 does not handle them. | |
4103 | ||
4104 | =end original | |
4105 | ||
4106 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
4107 | これらを扱えるかについて何も想定するべきではありません; | |
4108 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
4109 | ||
4110 | =begin original | |
4111 | ||
4112 | Perl also makes no guarantees that the representation of these code | |
4113 | points won't change at some point in the future, say when machines | |
4114 | become available that have larger than a 64-bit word. At that time, | |
4115 | files containing any of these, written by an older Perl might require | |
4116 | conversion before being readable by a newer Perl. | |
4117 | ||
4118 | =end original | |
4119 | ||
4120 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
4121 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
4122 | 保証しません。 | |
4123 | この時点で、より古い Perl で書かれた、このようなものをファイルは、 | |
4124 | より新しい Perl で読み込めるようにする前に変換が必要です。 | |
4125 | ||
4126 | =item Code point 0x%X is not Unicode, may not be portable | |
4127 | ||
4128 | =begin original | |
4129 | ||
4130 | (S non_unicode) You had a code point above the Unicode maximum | |
4131 | of U+10FFFF. | |
4132 | ||
4133 | =end original | |
4134 | ||
4135 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
4136 | ||
4137 | =begin original | |
4138 | ||
4139 | Perl allows strings to contain a superset of Unicode code points, but | |
4140 | these may not be accepted by other languages/systems. Further, even if | |
4141 | these languages/systems accept these large code points, they may have | |
4142 | chosen a different representation for them than the UTF-8-like one that | |
4143 | Perl has, which would mean files are not exchangeable between them and | |
4144 | Perl. | |
4145 | ||
4146 | =end original | |
4147 | ||
4148 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
4149 | これらは他の言語/システムは受け入れないかもしれません。 | |
4150 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
4151 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
4152 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
4153 | 交換できないことを意味します。 | |
4154 | ||
4155 | =begin original | |
4156 | ||
4157 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
4158 | representation in Perl v5.24 than before, so any file containing these | |
4159 | that was written before that version will require conversion before | |
4160 | being readable by a later Perl. | |
4161 | ||
4162 | =end original | |
4163 | ||
4164 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
4165 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
4166 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
4167 | 変換が必要です。 | |
4168 | ||
2499 | 4169 | =item %s: Command not found |
2500 | 4170 | |
2501 | 4171 | =begin original |
2502 | 4172 | |
2503 | (A) You've accidentally run your script through B<csh> | |
4173 | (A) You've accidentally run your script through B<csh> or another shell | |
2504 | Check the #! line, or manually feed your script into | |
4174 | instead of Perl. Check the #! line, or manually feed your script into | |
4175 | Perl yourself. The #! line at the top of your file could look like | |
2505 | 4176 | |
2506 | 4177 | =end original |
2507 | 4178 | |
2508 | (A) スクリプトを perl ではなく B<csh> | |
4179 | (A) スクリプトを perl ではなく B<csh> またはその他のシェルで | |
2509 | ||
4180 | 実行しようとしました。 | |
4181 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
4182 | ファイルの先頭の #! 行は以下のようにします: | |
2510 | 4183 | |
4184 | #!/usr/bin/perl | |
4185 | ||
4186 | =item %s: command not found | |
4187 | ||
4188 | =begin original | |
4189 | ||
4190 | (A) You've accidentally run your script through B<bash> or another shell | |
4191 | instead of Perl. Check the #! line, or manually feed your script into | |
4192 | Perl yourself. The #! line at the top of your file could look like | |
4193 | ||
4194 | =end original | |
4195 | ||
4196 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 | |
4197 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
4198 | ファイルの先頭の #! 行は以下のようにします: | |
4199 | ||
4200 | #!/usr/bin/perl | |
4201 | ||
4202 | =item %s: command not found: %s | |
4203 | ||
4204 | =begin original | |
4205 | ||
4206 | (A) You've accidentally run your script through B<zsh> or another shell | |
4207 | instead of Perl. Check the #! line, or manually feed your script into | |
4208 | Perl yourself. The #! line at the top of your file could look like | |
4209 | ||
4210 | =end original | |
4211 | ||
4212 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 | |
4213 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
4214 | ファイルの先頭の #! 行は以下のようにします: | |
4215 | ||
4216 | #!/usr/bin/perl | |
4217 | ||
2511 | 4218 | =item Compilation failed in require |
2512 | 4219 | |
2513 | 4220 | =begin original |
2514 | 4221 | |
2515 | 4222 | (F) Perl could not compile a file specified in a C<require> statement. |
2516 | 4223 | Perl uses this generic message when none of the errors that it |
2517 | 4224 | encountered were severe enough to halt compilation immediately. |
2518 | 4225 | |
2519 | 4226 | =end original |
2520 | 4227 | |
2521 | 4228 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
2522 | 4229 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
2523 | 4230 | ときに、この一般的なメッセージを使います。 |
2524 | 4231 | |
2525 | 4232 | =item Complex regular subexpression recursion limit (%d) exceeded |
2526 | 4233 | |
2527 | 4234 | =begin original |
2528 | 4235 | |
2529 | 4236 | (W regexp) The regular expression engine uses recursion in complex |
2530 | 4237 | situations where back-tracking is required. Recursion depth is limited |
2531 | 4238 | to 32766, or perhaps less in architectures where the stack cannot grow |
2532 | 4239 | arbitrarily. ("Simple" and "medium" situations are handled without |
2533 | 4240 | recursion and are not subject to a limit.) Try shortening the string |
2534 | 4241 | under examination; looping in Perl code (e.g. with C<while>) rather than |
2535 | 4242 | in the regular expression engine; or rewriting the regular expression so |
2536 | 4243 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
2537 | 4244 | on I<Mastering Regular Expressions>.) |
2538 | 4245 | |
2539 | 4246 | =end original |
2540 | 4247 | |
2541 | 4248 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
2542 | 4249 | 再帰を使用します。 |
2543 | 4250 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
2544 | 4251 | おそらくもっと小さい値に制限されています。 |
2545 | 4252 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
2546 | 4253 | ありません。) |
2547 | 4254 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
2548 | 4255 | (C<while> などの) Perl コードを使ってループするか、 |
2549 | 4256 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
2550 | 4257 | 書き換えてください。 |
2551 | 4258 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
2552 | 4259 | 参照してください。) |
2553 | 4260 | |
2554 | 4261 | =item connect() on closed socket %s |
2555 | 4262 | |
2556 | 4263 | =begin original |
2557 | 4264 | |
2558 | 4265 | (W closed) You tried to do a connect on a closed socket. Did you forget |
2559 | 4266 | to check the return value of your socket() call? See |
2560 | 4267 | L<perlfunc/connect>. |
2561 | 4268 | |
2562 | 4269 | =end original |
2563 | 4270 | |
2564 | 4271 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
2565 | socket() の呼び出し時に、返却値のチェックを忘れた | |
4272 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 | |
2566 | 4273 | L<perlfunc/connect> を参照してください。 |
2567 | 4274 | |
2568 | =item Constant(%s) | |
4275 | =item Constant(%s): Call to &{$^H{%s}} did not return a defined value | |
2569 | 4276 | |
2570 | 4277 | =begin original |
2571 | 4278 | |
2572 | (F) The | |
4279 | (F) The subroutine registered to handle constant overloading | |
2573 | ||
4280 | (see L<overload>) or a custom charnames handler (see | |
2574 | ||
4281 | L<charnames/CUSTOM TRANSLATORS>) returned an undefined value. | |
2575 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and | |
2576 | L<overload>. | |
2577 | 4282 | |
2578 | 4283 | =end original |
2579 | 4284 | |
2580 | (F) | |
4285 | (F) 定数オーバーロード (L<overload> 参照) を扱うために登録された | |
2581 | ||
4286 | サブルーチンや、カスタム文字名ハンドラ | |
2582 | ||
4287 | (L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。 | |
2583 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを | |
2584 | 忘れたのでは? | |
2585 | L<charnames> と L<overload> を参照してください。 | |
2586 | 4288 | |
4289 | =item Constant(%s): $^H{%s} is not defined | |
4290 | ||
4291 | =begin original | |
4292 | ||
4293 | (F) The parser found inconsistencies while attempting to define an | |
4294 | overloaded constant. Perhaps you forgot to load the corresponding | |
4295 | L<overload> pragma? | |
4296 | ||
4297 | =end original | |
4298 | ||
4299 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 | |
4300 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4301 | ||
2587 | 4302 | =item Constant is not %s reference |
2588 | 4303 | |
2589 | 4304 | =begin original |
2590 | 4305 | |
2591 | 4306 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
2592 | 4307 | is being dereferenced, but it amounts to the wrong type of reference. |
2593 | The message indicates the type of reference that was expected. This | |
4308 | The message indicates the type of reference that was expected. This | |
2594 | 4309 | usually indicates a syntax error in dereferencing the constant value. |
2595 | 4310 | See L<perlsub/"Constant Functions"> and L<constant>. |
2596 | 4311 | |
2597 | 4312 | =end original |
2598 | 4313 | |
2599 | 4314 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
2600 | 4315 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
2601 | 4316 | このメッセージは想定されたリファレンスの型を示しています。 |
2602 | 4317 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
2603 | 4318 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
2604 | 4319 | |
4320 | =item Constants from lexical variables potentially modified elsewhere are no longer permitted | |
4321 | ||
4322 | =begin original | |
4323 | ||
4324 | (F) You wrote something like | |
4325 | ||
4326 | =end original | |
4327 | ||
4328 | (F) 次のようなものを書きました: | |
4329 | ||
4330 | my $var; | |
4331 | $sub = sub () { $var }; | |
4332 | ||
4333 | =begin original | |
4334 | ||
4335 | but $var is referenced elsewhere and could be modified after the C<sub> | |
4336 | expression is evaluated. Either it is explicitly modified elsewhere | |
4337 | (C<$var = 3>) or it is passed to a subroutine or to an operator like | |
4338 | C<printf> or C<map>, which may or may not modify the variable. | |
4339 | ||
4340 | =end original | |
4341 | ||
4342 | しかし $var はどこか別の場所へのリファレンスで、 | |
4343 | C<sub> 式が評価された後に変更されるかもしれません。 | |
4344 | どこかで明示的に変更されたり、(C<$var = 3>) 、 | |
4345 | 変数を変更するかどうかわからない、 | |
4346 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 | |
4347 | ||
4348 | =begin original | |
4349 | ||
4350 | Traditionally, Perl has captured the value of the variable at that | |
4351 | point and turned the subroutine into a constant eligible for inlining. | |
4352 | In those cases where the variable can be modified elsewhere, this | |
4353 | breaks the behavior of closures, in which the subroutine captures | |
4354 | the variable itself, rather than its value, so future changes to the | |
4355 | variable are reflected in the subroutine's return value. | |
4356 | ||
4357 | =end original | |
4358 | ||
4359 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 | |
4360 | サブルーチンをインライン化可能な定数に変換します。 | |
4361 | 変数が別の場所で変更可能な場合、 | |
4362 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので | |
4363 | クロージャの振る舞いを壊します; | |
4364 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 | |
4365 | ||
4366 | =begin original | |
4367 | ||
4368 | This usage was deprecated, and as of Perl 5.32 is no longer allowed, | |
4369 | making it possible to change the behavior in the future. | |
4370 | ||
4371 | =end original | |
4372 | ||
4373 | この使用法は廃止予定になり、Perl 5.32 でもはや許されなくなりました; | |
4374 | これにより将来振る舞いを換えることが可能になります。 | |
4375 | ||
4376 | =begin original | |
4377 | ||
4378 | If you intended for the subroutine to be eligible for inlining, then | |
4379 | make sure the variable is not referenced elsewhere, possibly by | |
4380 | copying it: | |
4381 | ||
4382 | =end original | |
4383 | ||
4384 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 | |
4385 | おそらくコピーすることで、他のどこからも参照されないようにしてください: | |
4386 | ||
4387 | my $var2 = $var; | |
4388 | $sub = sub () { $var2 }; | |
4389 | ||
4390 | =begin original | |
4391 | ||
4392 | If you do want this subroutine to be a closure that reflects future | |
4393 | changes to the variable that it closes over, add an explicit C<return>: | |
4394 | ||
4395 | =end original | |
4396 | ||
4397 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる | |
4398 | クロージャにしたいなら、明示的な C<return> を追加してください: | |
4399 | ||
4400 | my $var; | |
4401 | $sub = sub () { return $var }; | |
4402 | ||
2605 | 4403 | =item Constant subroutine %s redefined |
2606 | 4404 | |
2607 | 4405 | =begin original |
2608 | 4406 | |
2609 | ( | |
4407 | (W redefine)(S) You redefined a subroutine which had previously | |
2610 | eligible for inlining. See L<perlsub/"Constant Functions"> | |
4408 | been eligible for inlining. See L<perlsub/"Constant Functions"> | |
2611 | commentary and workarounds. | |
4409 | for commentary and workarounds. | |
2612 | 4410 | |
2613 | 4411 | =end original |
2614 | 4412 | |
2615 | ( | |
4413 | (W redefine)(S) 以前にインライン化できる形であったサブルーチンを | |
2616 | 4414 | 再定義しました。 |
2617 | 4415 | コメントと回避策については L<perlsub/"Constant Functions"> を |
2618 | 4416 | 参照してください。 |
2619 | 4417 | |
2620 | 4418 | =item Constant subroutine %s undefined |
2621 | 4419 | |
2622 | 4420 | =begin original |
2623 | 4421 | |
2624 | 4422 | (W misc) You undefined a subroutine which had previously been eligible |
2625 | 4423 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
2626 | 4424 | workarounds. |
2627 | 4425 | |
2628 | 4426 | =end original |
2629 | 4427 | |
2630 | 4428 | (W misc)以前にインライン化できる形であったサブルーチンを |
2631 | 4429 | 未定義化しました。 |
2632 | 4430 | コメントと回避策については L<perlsub/"Constant Functions"> を |
2633 | 4431 | 参照してください。 |
2634 | 4432 | |
4433 | =item Constant(%s) unknown | |
4434 | ||
4435 | =begin original | |
4436 | ||
4437 | (F) The parser found inconsistencies either while attempting | |
4438 | to define an overloaded constant, or when trying to find the | |
4439 | character name specified in the C<\N{...}> escape. Perhaps you | |
4440 | forgot to load the corresponding L<overload> pragma? | |
4441 | ||
4442 | =end original | |
4443 | ||
4444 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
4445 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
4446 | 発見しました。 | |
4447 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4448 | ||
4449 | =item :const is experimental | |
4450 | ||
4451 | =begin original | |
4452 | ||
4453 | (S experimental::const_attr) The "const" attribute is experimental. | |
4454 | If you want to use the feature, disable the warning with C<no warnings | |
4455 | 'experimental::const_attr'>, but know that in doing so you are taking | |
4456 | the risk that your code may break in a future Perl version. | |
4457 | ||
4458 | =end original | |
4459 | ||
4460 | (S experimental::const_attr) "const" 属性は実験的です。 | |
4461 | この機能を使いたい場合、 | |
4462 | C<no warnings 'experimental::const_attr'> で警告を無効にしてください; | |
4463 | しかし、そうすることであなたのコードが将来の Perl のバージョンで | |
4464 | 壊れるリスクを取ることになります。 | |
4465 | ||
4466 | =item :const is not permitted on named subroutines | |
4467 | ||
4468 | =begin original | |
4469 | ||
4470 | (F) The "const" attribute causes an anonymous subroutine to be run and | |
4471 | its value captured at the time that it is cloned. Named subroutines are | |
4472 | not cloned like this, so the attribute does not make sense on them. | |
4473 | ||
4474 | =end original | |
4475 | ||
4476 | (F) The "const" 属性は、クローンされたときに値を捕捉された | |
4477 | 無名サブルーチンになります。 | |
4478 | 名前付きサブルーチンはこのようにクローンされないので、 | |
4479 | 属性はこれらに関して意味を持ちません。 | |
4480 | ||
2635 | 4481 | =item Copy method did not return a reference |
2636 | 4482 | |
2637 | 4483 | =begin original |
2638 | 4484 | |
2639 | (F) The method which overloads "=" is buggy. See | |
4485 | (F) The method which overloads "=" is buggy. See | |
2640 | 4486 | L<overload/Copy Constructor>. |
2641 | 4487 | |
2642 | 4488 | =end original |
2643 | 4489 | |
2644 | 4490 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
2645 | 4491 | L<overload/Copy Constructor> を参照してください。 |
2646 | 4492 | |
4493 | =item &CORE::%s cannot be called directly | |
4494 | ||
4495 | =begin original | |
4496 | ||
4497 | (F) You tried to call a subroutine in the C<CORE::> namespace | |
4498 | with C<&foo> syntax or through a reference. Some subroutines | |
4499 | in this package cannot yet be called that way, but must be | |
4500 | called as barewords. Something like this will work: | |
4501 | ||
4502 | =end original | |
4503 | ||
4504 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で | |
4505 | 呼び出そうとしました。 | |
4506 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で | |
4507 | 呼び出さなければなりません。 | |
4508 | 以下のようなものは動作します: | |
4509 | ||
4510 | BEGIN { *shove = \&CORE::push; } | |
4511 | shove @array, 1,2,3; # pushes on to @array | |
4512 | ||
2647 | 4513 | =item CORE::%s is not a keyword |
2648 | 4514 | |
2649 | 4515 | =begin original |
2650 | 4516 | |
2651 | 4517 | (F) The CORE:: namespace is reserved for Perl keywords. |
2652 | 4518 | |
2653 | 4519 | =end original |
2654 | 4520 | |
2655 | 4521 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
2656 | 4522 | |
4523 | =item Corrupted regexp opcode %d > %d | |
4524 | ||
4525 | =begin original | |
4526 | ||
4527 | (P) This is either an error in Perl, or, if you're using | |
4528 | one, your L<custom regular expression engine|perlreapi>. If not the | |
4529 | latter, report the problem to L<https://github.com/Perl/perl5/issues>. | |
4530 | ||
4531 | =end original | |
4532 | ||
4533 | (P) これは Perl か、あるいは、使っているなら | |
4534 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
4535 | 後者でなければ、L<https://github.com/Perl/perl5/issues> に | |
4536 | 問題を報告してください。 | |
4537 | ||
2657 | 4538 | =item corrupted regexp pointers |
2658 | 4539 | |
2659 | 4540 | =begin original |
2660 | 4541 | |
2661 | 4542 | (P) The regular expression engine got confused by what the regular |
2662 | 4543 | expression compiler gave it. |
2663 | 4544 | |
2664 | 4545 | =end original |
2665 | 4546 | |
2666 | 4547 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
2667 | 4548 | 処理できなくなりました。 |
2668 | 4549 | |
2669 | 4550 | =item corrupted regexp program |
2670 | 4551 | |
2671 | 4552 | =begin original |
2672 | 4553 | |
2673 | 4554 | (P) The regular expression engine got passed a regexp program without a |
2674 | 4555 | valid magic number. |
2675 | 4556 | |
2676 | 4557 | =end original |
2677 | 4558 | |
2678 | 4559 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
2679 | 4560 | regexp プログラムを渡しました。 |
2680 | 4561 | |
2681 | =item Corrupt malloc ptr 0x% | |
4562 | =item Corrupt malloc ptr 0x%x at 0x%x | |
2682 | 4563 | |
2683 | 4564 | =begin original |
2684 | 4565 | |
2685 | 4566 | (P) The malloc package that comes with Perl had an internal failure. |
2686 | 4567 | |
2687 | 4568 | =end original |
2688 | 4569 | |
2689 | 4570 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
2690 | 4571 | |
2691 | =item C | |
4572 | =item Count after length/code in unpack | |
2692 | 4573 | |
2693 | 4574 | =begin original |
2694 | 4575 | |
2695 | (F) | |
4576 | (F) You had an unpack template indicating a counted-length string, but | |
2696 | ||
4577 | you have also specified an explicit size for the string. See | |
2697 | ||
4578 | L<perlfunc/pack>. | |
2698 | 4579 | |
2699 | 4580 | =end original |
2700 | 4581 | |
2701 | (F) | |
4582 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 | |
2702 | ||
4583 | 文字列の長さも明示的に指定しています。 | |
2703 | ||
4584 | L<perlfunc/pack> を参照してください。 | |
2704 | 4585 | |
2705 | =item | |
4586 | =item Declaring references is experimental | |
2706 | 4587 | |
2707 | 4588 | =begin original |
2708 | 4589 | |
2709 | ( | |
4590 | (S experimental::declared_refs) This warning is emitted if you use | |
2710 | ||
4591 | a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or | |
4592 | C<local>. Simply suppress the warning if you want to use the feature, but | |
4593 | know that in doing so you are taking the risk of using an experimental | |
4594 | feature which may change or be removed in a future Perl version: | |
2711 | 4595 | |
2712 | 4596 | =end original |
2713 | 4597 | |
2714 | ( | |
4598 | (S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で | |
2715 | ファ | |
4599 | リファレンスコンストラクタを使うとこの警告が出力されます。 | |
2716 | ||
4600 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
4601 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
4602 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
4603 | 取っていると言うことを知っておいてください: | |
2717 | 4604 | |
4605 | no warnings "experimental::declared_refs"; | |
4606 | use feature "declared_refs"; | |
4607 | $fooref = my \$foo; | |
4608 | ||
4609 | =for comment | |
4610 | The following are used in lib/diagnostics.t for testing two =items that | |
4611 | share the same description. Changes here need to be propagated to there | |
4612 | ||
4613 | =item Deep recursion on anonymous subroutine | |
4614 | ||
2718 | 4615 | =item Deep recursion on subroutine "%s" |
2719 | 4616 | |
2720 | 4617 | =begin original |
2721 | 4618 | |
2722 | 4619 | (W recursion) This subroutine has called itself (directly or indirectly) |
2723 | 4620 | 100 times more than it has returned. This probably indicates an |
2724 | 4621 | infinite recursion, unless you're writing strange benchmark programs, in |
2725 | 4622 | which case it indicates something else. |
2726 | 4623 | |
2727 | 4624 | =end original |
2728 | 4625 | |
2729 | (W recursion) このサブルー | |
4626 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 | |
2730 | 4627 | return より 100 回多く行ないました。 |
2731 | 4628 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
2732 | 可能性があります。 | |
4629 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 | |
2733 | ベンチマークを書いている場合には、別のことを示しています。 | |
2734 | 4630 | |
2735 | = | |
4631 | =begin original | |
2736 | 4632 | |
4633 | This threshold can be changed from 100, by recompiling the F<perl> binary, | |
4634 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. | |
4635 | ||
4636 | =end original | |
4637 | ||
4638 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に | |
4639 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 | |
4640 | ||
4641 | =item (?(DEFINE)....) does not allow branches in regex; marked by | |
4642 | S<<-- HERE> in m/%s/ | |
4643 | ||
2737 | 4644 | =begin original |
2738 | 4645 | |
2739 | ( | |
4646 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The | |
2740 | ||
4647 | most likely cause of this error is that you left out a parenthesis inside | |
2741 | ||
4648 | of the C<....> part. | |
2742 | 4649 | |
2743 | 4650 | =end original |
2744 | 4651 | |
2745 | ( | |
4652 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 | |
2746 | ||
4653 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを | |
2747 | ||
4654 | そのままにしたことです。 | |
2748 | C<if (@array) { # not empty }> としてください。 | |
2749 | 4655 | |
2750 | = | |
4656 | =begin original | |
2751 | 4657 | |
4658 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
4659 | discovered. | |
4660 | ||
4661 | =end original | |
4662 | ||
4663 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4664 | ||
4665 | =item %s defines neither package nor VERSION--version check failed | |
4666 | ||
2752 | 4667 | =begin original |
2753 | 4668 | |
2754 | ( | |
4669 | (F) You said something like "use Module 42" but in the Module file | |
2755 | ||
4670 | there are neither package declarations nor a C<$VERSION>. | |
2756 | is empty, just use C<if (%hash) { # not empty }> for example. | |
2757 | 4671 | |
2758 | 4672 | =end original |
2759 | 4673 | |
2760 | ( | |
4674 | (F) "use Module 42" のようなことをしましたが、Module ファイルに | |
2761 | ||
4675 | パッケージ定義がないか、C<$VERSION> がありませんでした。 | |
2762 | ハッシュが空かどうかを調べたい場合は、例えば単に | |
2763 | C<if (%hash) { # not empty }> としてください。 | |
2764 | 4676 | |
4677 | =item delete argument is not a HASH or ARRAY element or slice | |
4678 | ||
4679 | =begin original | |
4680 | ||
4681 | (F) The argument to C<delete> must be either a hash or array element, | |
4682 | such as: | |
4683 | ||
4684 | =end original | |
4685 | ||
4686 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: | |
4687 | ||
4688 | $foo{$bar} | |
4689 | $ref->{"susie"}[12] | |
4690 | ||
4691 | =begin original | |
4692 | ||
4693 | or a hash or array slice, such as: | |
4694 | ||
4695 | =end original | |
4696 | ||
4697 | あるいは以下のようにハッシュか配列のスライスか: | |
4698 | ||
4699 | @foo[$bar, $baz, $xyzzy] | |
4700 | $ref->[12]->@{"susie", "queue"} | |
4701 | ||
4702 | =begin original | |
4703 | ||
4704 | or a hash key/value or array index/value slice, such as: | |
4705 | ||
4706 | =end original | |
4707 | ||
4708 | あるいは以下のようにハッシュのキー/値や配列のインデックス/値で | |
4709 | なければなりません: | |
4710 | ||
4711 | %foo[$bar, $baz, $xyzzy] | |
4712 | $ref->[12]->%{"susie", "queue"} | |
4713 | ||
2765 | 4714 | =item Delimiter for here document is too long |
2766 | 4715 | |
2767 | 4716 | =begin original |
2768 | 4717 | |
2769 | 4718 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
2770 | 4719 | long for Perl to handle. You have to be seriously twisted to write code |
2771 | 4720 | that triggers this error. |
2772 | 4721 | |
2773 | 4722 | =end original |
2774 | 4723 | |
2775 | 4724 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
2776 | 4725 | Perl が扱うには長すぎました。 |
2777 | 4726 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
2778 | 4727 | |
4728 | =item DESTROY created new reference to dead object '%s' | |
4729 | ||
4730 | =begin original | |
4731 | ||
4732 | (F) A DESTROY() method created a new reference to the object which is | |
4733 | just being DESTROYed. Perl is confused, and prefers to abort rather | |
4734 | than to create a dangling reference. | |
4735 | ||
4736 | =end original | |
4737 | ||
4738 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの | |
4739 | 新しいリファレンスを作りました。 | |
4740 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 | |
4741 | ||
2779 | 4742 | =item Did not produce a valid header |
2780 | 4743 | |
2781 | 4744 | =begin original |
2782 | 4745 | |
2783 | See Server error. | |
4746 | See L</500 Server error>. | |
2784 | 4747 | |
2785 | 4748 | =end original |
2786 | 4749 | |
2787 | ||
4750 | L</500 Server error> を参照してください。 | |
2788 | 4751 | |
2789 | 4752 | =item %s did not return a true value |
2790 | 4753 | |
2791 | 4754 | =begin original |
2792 | 4755 | |
2793 | 4756 | (F) A required (or used) file must return a true value to indicate that |
2794 | 4757 | it compiled correctly and ran its initialization code correctly. It's |
2795 | 4758 | traditional to end such a file with a "1;", though any true value would |
2796 | 4759 | do. See L<perlfunc/require>. |
2797 | 4760 | |
2798 | 4761 | =end original |
2799 | 4762 | |
2800 | 4763 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
2801 | 4764 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
2802 | 4765 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
2803 | 4766 | 真となる値であれば、何でもかまいません。 |
2804 | 4767 | L<perlfunc/require> を参照してください。 |
2805 | 4768 | |
2806 | 4769 | =item (Did you mean &%s instead?) |
2807 | 4770 | |
2808 | 4771 | =begin original |
2809 | 4772 | |
2810 | (W) You probably referred to an imported subroutine &FOO as $FOO or | |
4773 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or | |
2811 | such. | |
4774 | some such. | |
2812 | 4775 | |
2813 | 4776 | =end original |
2814 | 4777 | |
2815 | おそらく import したサブルーチン &FOO を $FOO として | |
4778 | (W misc) おそらく import したサブルーチン &FOO を $FOO として | |
2816 | 4779 | 参照したようなことでしょう。 |
2817 | 4780 | |
2818 | 4781 | =item (Did you mean "local" instead of "our"?) |
2819 | 4782 | |
2820 | 4783 | =begin original |
2821 | 4784 | |
2822 | (W | |
4785 | (W shadow) Remember that "our" does not localize the declared global | |
2823 | 4786 | variable. You have declared it again in the same lexical scope, which |
2824 | 4787 | seems superfluous. |
2825 | 4788 | |
2826 | 4789 | =end original |
2827 | 4790 | |
2828 | (W | |
4791 | (W shadow) "our" 宣言されたグローバル変数を local 化しないことを | |
2829 | 4792 | 忘れないで下さい。 |
2830 | 4793 | これをもう一度同じレキシカルスコープで宣言していますが、 |
2831 | 4794 | 不必要でしょう。 |
2832 | 4795 | |
2833 | 4796 | =item (Did you mean $ or @ instead of %?) |
2834 | 4797 | |
2835 | 4798 | =begin original |
2836 | 4799 | |
2837 | 4800 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
2838 | 4801 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
2839 | 4802 | carried away. |
2840 | 4803 | |
2841 | 4804 | =end original |
2842 | 4805 | |
2843 | 4806 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
2844 | 4807 | したのでしょう。 |
2845 | 4808 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
2846 | 4809 | |
2847 | 4810 | =item Died |
2848 | 4811 | |
2849 | 4812 | =begin original |
2850 | 4813 | |
2851 | 4814 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
2852 | you called it with no args and | |
4815 | you called it with no args and C<$@> was empty. | |
2853 | 4816 | |
2854 | 4817 | =end original |
2855 | 4818 | |
2856 | 4819 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
2857 | 呼び出して、C<$@> | |
4820 | 呼び出して、C<$@> が空でした。 | |
2858 | 4821 | |
2859 | 4822 | =item Document contains no data |
2860 | 4823 | |
2861 | 4824 | =begin original |
2862 | 4825 | |
2863 | See Server error. | |
4826 | See L</500 Server error>. | |
2864 | 4827 | |
2865 | 4828 | =end original |
2866 | 4829 | |
2867 | ||
4830 | L</500 Server error> を参照してください。 | |
2868 | 4831 | |
2869 | =item | |
4832 | =item %s does not define %s::VERSION--version check failed | |
2870 | 4833 | |
2871 | 4834 | =begin original |
2872 | 4835 | |
4836 | (F) You said something like "use Module 42" but the Module did not | |
4837 | define a C<$VERSION>. | |
4838 | ||
4839 | =end original | |
4840 | ||
4841 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を | |
4842 | 定義していません。 | |
4843 | ||
4844 | =item '/' does not take a repeat count in %s | |
4845 | ||
4846 | =begin original | |
4847 | ||
4848 | (F) You cannot put a repeat count of any kind right after the '/' code. | |
4849 | See L<perlfunc/pack>. | |
4850 | ||
4851 | =end original | |
4852 | ||
4853 | (F) '/' の直後には繰り返し数を指定できません。 | |
4854 | L<perlfunc/pack> を参照してください。 | |
4855 | ||
4856 | =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"? | |
4857 | ||
4858 | =begin original | |
4859 | ||
4860 | (D deprecated) Previously C< do "somefile"; > would search the current | |
4861 | directory for the specified file. Since perl v5.26.0, F<.> has been | |
4862 | removed from C<@INC> by default, so this is no longer true. To search the | |
4863 | current directory (and only the current directory) you can write | |
4864 | C< do "./somefile"; >. | |
4865 | ||
4866 | =end original | |
4867 | ||
4868 | (D deprecated) 以前は、C< do "somefile"; > は指定されたファイルを | |
4869 | カレントディレクトリから探していました。 | |
4870 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 | |
4871 | これはもはや真ではありません。 | |
4872 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 | |
4873 | C< do "./somefile"; > と書けます。 | |
4874 | ||
4875 | =item Don't know how to get file name | |
4876 | ||
4877 | =begin original | |
4878 | ||
4879 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was | |
4880 | somehow called on another platform. This should not happen. | |
4881 | ||
4882 | =end original | |
4883 | ||
4884 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか | |
4885 | 他のプラットフォームで呼び出されました。 | |
4886 | これは起きないはずです。 | |
4887 | ||
4888 | =item Don't know how to handle magic of type \%o | |
4889 | ||
4890 | =begin original | |
4891 | ||
2873 | 4892 | (P) The internal handling of magical variables has been cursed. |
2874 | 4893 | |
2875 | 4894 | =end original |
2876 | 4895 | |
2877 | (P) マジ | |
4896 | (P) マジカル変数の内部処理がおかしくなっています。 | |
2878 | 4897 | |
2879 | =item | |
4898 | =item Downgrading a use VERSION declaration to below v5.11 is deprecated | |
2880 | 4899 | |
2881 | 4900 | =begin original |
2882 | 4901 | |
2883 | ( | |
4902 | (S deprecated) This warning is emitted on a C<use VERSION> statement that | |
4903 | requests a version below v5.11 (when the effects of C<use strict> would be | |
4904 | disabled), after a previous declaration of one having a larger number (which | |
4905 | would have enabled these effects). Because of a change to the way that | |
4906 | C<use VERSION> interacts with the strictness flags, this is no longer | |
4907 | supported. | |
2884 | 4908 | |
2885 | 4909 | =end original |
2886 | 4910 | |
2887 | ( | |
4911 | (S deprecated) This warning is emitted on a C<use VERSION> statement that | |
4912 | requests a version below v5.11 (when the effects of C<use strict> would be | |
4913 | disabled), after a previous declaration of one having a larger number (which | |
4914 | would have enabled these effects). Because of a change to the way that | |
4915 | C<use VERSION> interacts with the strictness flags, this is no longer | |
4916 | supported. | |
4917 | (TBT) | |
2888 | 4918 | |
2889 | 4919 | =item (Do you need to predeclare %s?) |
2890 | 4920 | |
2891 | 4921 | =begin original |
2892 | 4922 | |
2893 | (S) This is an educated guess made in conjunction with the message | |
4923 | (S syntax) This is an educated guess made in conjunction with the message | |
2894 | found where operator expected". It often means a subroutine or module | |
4924 | "%s found where operator expected". It often means a subroutine or module | |
2895 | 4925 | name is being referenced that hasn't been declared yet. This may be |
2896 | 4926 | because of ordering problems in your file, or because of a missing |
2897 | 4927 | "sub", "package", "require", or "use" statement. If you're referencing |
2898 | 4928 | something that isn't defined yet, you don't actually have to define the |
2899 | 4929 | subroutine or package before the current location. You can use an empty |
2900 | 4930 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
2901 | 4931 | |
2902 | 4932 | =end original |
2903 | 4933 | |
2904 | (S) これは "%s found where operator expected" メッセージと共に | |
4934 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
2905 | 4935 | 表示される教育的な推測です。 |
2906 | 4936 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
2907 | 4937 | ことを意味します。 |
2908 | 4938 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
2909 | 4939 | "use" 文がないためであったりします。 |
2910 | 4940 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
2911 | 4941 | サブルーチンやパッケージを定義する必要はありません。 |
2912 | 4942 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
2913 | 4943 | |
4944 | =item dump() must be written as CORE::dump() as of Perl 5.30 | |
4945 | ||
4946 | =begin original | |
4947 | ||
4948 | (F) You used the obsolete C<dump()> built-in function. That was deprecated in | |
4949 | Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format: | |
4950 | C<CORE::dump()>. | |
4951 | ||
4952 | =end original | |
4953 | ||
4954 | (F) 古いものである C<dump()> 組み込み関数を使いました。 | |
4955 | これは Perl 5.8.0 から廃止予定でした。 | |
4956 | Perl 5.30 から、これは C<CORE::dump()> というように完全修飾形式で | |
4957 | 書かなければなりません。 | |
4958 | ||
4959 | =begin original | |
4960 | ||
4961 | See L<perlfunc/dump>. | |
4962 | ||
4963 | =end original | |
4964 | ||
4965 | L<perlfunc/dump> を参照してください。 | |
4966 | ||
4967 | =item dump is not supported | |
4968 | ||
4969 | =begin original | |
4970 | ||
4971 | (F) Your machine doesn't support dump/undump. | |
4972 | ||
4973 | =end original | |
4974 | ||
4975 | (F) このマシンは dump/undump に対応していません。 | |
4976 | ||
2914 | 4977 | =item Duplicate free() ignored |
2915 | 4978 | |
2916 | 4979 | =begin original |
2917 | 4980 | |
2918 | 4981 | (S malloc) An internal routine called free() on something that had |
2919 | 4982 | already been freed. |
2920 | 4983 | |
2921 | 4984 | =end original |
2922 | 4985 | |
2923 | 4986 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
2924 | 4987 | 行なおうとしました。 |
2925 | 4988 | |
4989 | =item Duplicate modifier '%c' after '%c' in %s | |
4990 | ||
4991 | =begin original | |
4992 | ||
4993 | (W unpack) You have applied the same modifier more than once after a | |
4994 | type in a pack template. See L<perlfunc/pack>. | |
4995 | ||
4996 | =end original | |
4997 | ||
4998 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
4999 | L<perlfunc/pack> を参照してください。 | |
5000 | ||
5001 | =item each on anonymous %s will always start from the beginning | |
5002 | ||
5003 | =begin original | |
5004 | ||
5005 | (W syntax) You called L<each|perlfunc/each> on an anonymous hash or | |
5006 | array. Since a new hash or array is created each time, each() will | |
5007 | restart iterating over your hash or array every time. | |
5008 | ||
5009 | =end original | |
5010 | ||
5011 | (W syntax) You called L<each|perlfunc/each> on an anonymous hash or | |
5012 | array. Since a new hash or array is created each time, each() will | |
5013 | restart iterating over your hash or array every time. | |
5014 | (TBT) | |
5015 | ||
2926 | 5016 | =item elseif should be elsif |
2927 | 5017 | |
2928 | 5018 | =begin original |
2929 | 5019 | |
2930 | (S) There is no keyword "elseif" in Perl because Larry thinks | |
5020 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks | |
2931 | Your code will be interpreted as an attempt to call a metho | |
5021 | it's ugly. Your code will be interpreted as an attempt to call a method | |
2932 | "elseif" for the class returned by the following block. This is | |
5022 | named "elseif" for the class returned by the following block. This is | |
2933 | 5023 | unlikely to be what you want. |
2934 | 5024 | |
2935 | 5025 | =end original |
2936 | 5026 | |
2937 | 5027 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
2938 | 5028 | ありません。 |
2939 | 5029 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
2940 | 5030 | 呼び出そうとしていると解釈されます。 |
2941 | 5031 | これは望んでいることではないはずです。 |
2942 | 5032 | |
5033 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ | |
5034 | ||
5035 | =item Empty \%c{} | |
5036 | ||
5037 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
5038 | ||
5039 | =begin original | |
5040 | ||
5041 | (F) You used something like C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, or | |
5042 | C<\x> without specifying anything for it to operate on. | |
5043 | ||
5044 | =end original | |
5045 | ||
5046 | (F) 何を操作するかを指定せずに | |
5047 | C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使いました。 | |
5048 | ||
5049 | =begin original | |
5050 | ||
5051 | Unfortunately, for backwards compatibility reasons, an empty C<\x> is | |
5052 | legal outside S<C<use re 'strict'>> and expands to a NUL character. | |
5053 | ||
5054 | =end original | |
5055 | ||
5056 | 残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の | |
5057 | C<\x> は正当で、一つの NUL 文字に展開されます。 | |
5058 | ||
5059 | =item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/ | |
5060 | ||
5061 | =begin original | |
5062 | ||
5063 | (W regexp) (only under C<S<use re 'strict'>>) | |
5064 | C<(?)> does nothing, so perhaps this is a typo. | |
5065 | ||
5066 | =end original | |
5067 | ||
5068 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
5069 | C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。 | |
5070 | ||
5071 | =item ${^ENCODING} is no longer supported | |
5072 | ||
5073 | =begin original | |
5074 | ||
5075 | (F) The special variable C<${^ENCODING}>, formerly used to implement | |
5076 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. | |
5077 | ||
5078 | =end original | |
5079 | ||
5080 | (F) 以前は C<encoding> プラグマの実装に使われていた | |
5081 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 | |
5082 | ||
5083 | =begin original | |
5084 | ||
5085 | Setting it to anything other than C<undef> is a fatal error as of Perl | |
5086 | 5.28. | |
5087 | ||
5088 | =end original | |
5089 | ||
5090 | これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。 | |
5091 | ||
2943 | 5092 | =item entering effective %s failed |
2944 | 5093 | |
2945 | 5094 | =begin original |
2946 | 5095 | |
2947 | 5096 | (F) While under the C<use filetest> pragma, switching the real and |
2948 | 5097 | effective uids or gids failed. |
2949 | 5098 | |
2950 | 5099 | =end original |
2951 | 5100 | |
2952 | 5101 | (F) C<use filetest> プラグマを使っている間に、 |
2953 | 5102 | 実と実効の UID や GID の切り替えに失敗しました。 |
2954 | 5103 | |
5104 | =item %ENV is aliased to %s | |
5105 | ||
5106 | =begin original | |
5107 | ||
5108 | (F) You're running under taint mode, and the C<%ENV> variable has been | |
5109 | aliased to another hash, so it doesn't reflect anymore the state of the | |
5110 | program's environment. This is potentially insecure. | |
5111 | ||
5112 | =end original | |
5113 | ||
5114 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに | |
5115 | なっているので、これ以上プログラムの環境の状態を反映しません。 | |
5116 | これは潜在的にはセキュアではありません。 | |
5117 | ||
2955 | 5118 | =item Error converting file specification %s |
2956 | 5119 | |
2957 | 5120 | =begin original |
2958 | 5121 | |
2959 | 5122 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
2960 | 5123 | specifications in either VMS or Unix syntax, it converts them to a |
2961 | 5124 | single form when it must operate on them directly. Either you've passed |
2962 | 5125 | an invalid file specification to Perl, or you've found a case the |
2963 | 5126 | conversion routines don't handle. Drat. |
2964 | 5127 | |
2965 | 5128 | =end original |
2966 | 5129 | |
2967 | 5130 | (F) VMS に固有のエラーです。 |
2968 | 5131 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
2969 | 5132 | 直接操作しなければならない場合は変換します。 |
2970 | 5133 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
2971 | 5134 | 発見したかです。 |
2972 | 5135 | ちぇっ。 |
2973 | 5136 | |
2974 | =item | |
5137 | =item Error %s in expansion of %s | |
2975 | 5138 | |
2976 | 5139 | =begin original |
2977 | 5140 | |
5141 | (F) An error was encountered in handling a user-defined property | |
5142 | (L<perlunicode/User-Defined Character Properties>). These are | |
5143 | programmer written subroutines, hence subject to errors that may | |
5144 | prevent them from compiling or running. The calls to these subs are | |
5145 | C<eval>'d, and if there is a failure, this message is raised, using the | |
5146 | contents of C<$@> from the failed C<eval>. | |
5147 | ||
5148 | =end original | |
5149 | ||
5150 | (F) ユーザー定義特性 | |
5151 | (L<perlunicode/User-Defined Character Properties>) の扱いで | |
5152 | エラーに遭遇しました。 | |
5153 | これらはプログラマが書いたサブルーチンなので、 | |
5154 | エラーがコンパイルや実行を阻害することがあります。 | |
5155 | これらのサブルーチンの呼び出しは | |
5156 | C<eval> され、エラーがある場合、失敗した C<eval> からの C<$@> の内容を使って | |
5157 | このメッセージが発生します。 | |
5158 | ||
5159 | =begin original | |
5160 | ||
5161 | Another possibility is that tainted data was encountered somewhere in | |
5162 | the chain of expanding the property. If so, the message wording will | |
5163 | indicate that this is the problem. See L</Insecure user-defined | |
5164 | property %s>. | |
5165 | ||
5166 | =end original | |
5167 | ||
5168 | もう一つの可能性は、特性の展開の鎖のどこかで汚染されたデータに | |
5169 | 遭遇したことです。 | |
5170 | もしそうなら、メッセージはこれが問題であることを示します。 | |
5171 | L</Insecure user-defined property %s> を参照してください。 | |
5172 | ||
5173 | =item Eval-group in insecure regular expression | |
5174 | ||
5175 | =begin original | |
5176 | ||
2978 | 5177 | (F) Perl detected tainted data when trying to compile a regular |
2979 | 5178 | expression that contains the C<(?{ ... })> zero-width assertion, which |
2980 | 5179 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
2981 | 5180 | |
2982 | 5181 | =end original |
2983 | 5182 | |
2984 | 5183 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
2985 | 5184 | したときに、Perl は汚染されたデータを検出しました; |
2986 | 5185 | これは安全ではありません。 |
2987 | 5186 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
2988 | 5187 | |
2989 | =item | |
5188 | =item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/ | |
2990 | 5189 | |
2991 | 5190 | =begin original |
2992 | 5191 | |
2993 | 5192 | (F) Perl tried to compile a regular expression containing the |
2994 | 5193 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
2995 | pattern contains interpolated values. Since that is a security risk, | |
5194 | pattern contains interpolated values. Since that is a security risk, | |
2996 | is not allowed. If you insist, you may still do this by | |
5195 | it is not allowed. If you insist, you may still do this by using the | |
2997 | building the pattern from an | |
5196 | C<re 'eval'> pragma or by explicitly building the pattern from an | |
2998 | that in an eval(). See | |
5197 | interpolated string at run time and using that in an eval(). See | |
5198 | L<perlre/(?{ code })>. | |
2999 | 5199 | |
3000 | 5200 | =end original |
3001 | 5201 | |
3002 | 5202 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
3003 | 5203 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
3004 | 5204 | これはセキュリティ上の危険があるので、許可されていません。 |
3005 | どうしても実行したい場合は、実行時に | |
5205 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に | |
3006 | パターンを作成して、それを eval() の中で使うことで | |
5206 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで | |
5207 | 実行できます。 | |
3007 | 5208 | L<perlre/(?{ code })> を参照してください。 |
3008 | 5209 | |
3009 | =item | |
5210 | =item Eval-group not allowed, use re 'eval' in regex m/%s/ | |
3010 | 5211 | |
3011 | 5212 | =begin original |
3012 | 5213 | |
3013 | 5214 | (F) A regular expression contained the C<(?{ ... })> zero-width |
3014 | 5215 | assertion, but that construct is only allowed when the C<use re 'eval'> |
3015 | 5216 | pragma is in effect. See L<perlre/(?{ code })>. |
3016 | 5217 | |
3017 | 5218 | =end original |
3018 | 5219 | |
3019 | 5220 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
3020 | 5221 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
3021 | 5222 | L<perlre/(?{ code })> を参照してください。 |
3022 | 5223 | |
5224 | =item EVAL without pos change exceeded limit in regex; marked by | |
5225 | S<<-- HERE> in m/%s/ | |
5226 | ||
5227 | =begin original | |
5228 | ||
5229 | (F) You used a pattern that nested too many EVAL calls without consuming | |
5230 | any text. Restructure the pattern so that text is consumed. | |
5231 | ||
5232 | =end original | |
5233 | ||
5234 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる | |
5235 | パターンを使いました。 | |
5236 | テキストを読み込むようにパターンを再構築してください。 | |
5237 | ||
5238 | =begin original | |
5239 | ||
5240 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
5241 | discovered. | |
5242 | ||
5243 | =end original | |
5244 | ||
5245 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
5246 | ||
3023 | 5247 | =item Excessively long <> operator |
3024 | 5248 | |
3025 | 5249 | =begin original |
3026 | 5250 | |
3027 | 5251 | (F) The contents of a <> operator may not exceed the maximum size of a |
3028 | 5252 | Perl identifier. If you're just trying to glob a long list of |
3029 | 5253 | filenames, try using the glob() operator, or put the filenames into a |
3030 | 5254 | variable and glob that. |
3031 | 5255 | |
3032 | 5256 | =end original |
3033 | 5257 | |
3034 | 5258 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
3035 | 5259 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
3036 | 5260 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
3037 | 5261 | |
3038 | =item | |
5262 | =item exec? I'm not *that* kind of operating system | |
3039 | 5263 | |
3040 | 5264 | =begin original |
3041 | 5265 | |
5266 | (F) The C<exec> function is not implemented on some systems, e.g. | |
5267 | Catamount. See L<perlport>. | |
5268 | ||
5269 | =end original | |
5270 | ||
5271 | (F) C<exec> 関数は Catamount のような一部のシステムには実装されていません。 | |
5272 | L<perlport> を参照してください。 | |
5273 | ||
5274 | =item %sExecution of %s aborted due to compilation errors. | |
5275 | ||
5276 | =begin original | |
5277 | ||
3042 | 5278 | (F) The final summary message when a Perl compilation fails. |
3043 | 5279 | |
3044 | 5280 | =end original |
3045 | 5281 | |
3046 | 5282 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
3047 | 5283 | |
5284 | =item exists argument is not a HASH or ARRAY element or a subroutine | |
5285 | ||
5286 | =begin original | |
5287 | ||
5288 | (F) The argument to C<exists> must be a hash or array element or a | |
5289 | subroutine with an ampersand, such as: | |
5290 | ||
5291 | =end original | |
5292 | ||
5293 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 | |
5294 | アンパサンド付きのサブルーチンでなければなりません: | |
5295 | ||
5296 | $foo{$bar} | |
5297 | $ref->{"susie"}[12] | |
5298 | &do_something | |
5299 | ||
5300 | =item exists argument is not a subroutine name | |
5301 | ||
5302 | =begin original | |
5303 | ||
5304 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, | |
5305 | and not a subroutine call. C<exists &sub()> will generate this error. | |
5306 | ||
5307 | =end original | |
5308 | ||
5309 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 | |
5310 | サブルーチン呼び出しではありません。 | |
5311 | C<exists &sub()> はこのエラーを生成します。 | |
5312 | ||
3048 | 5313 | =item Exiting eval via %s |
3049 | 5314 | |
3050 | 5315 | =begin original |
3051 | 5316 | |
3052 | 5317 | (W exiting) You are exiting an eval by unconventional means, such as a |
3053 | 5318 | goto, or a loop control statement. |
3054 | 5319 | |
3055 | 5320 | =end original |
3056 | 5321 | |
3057 | 5322 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
3058 | 5323 | |
3059 | 5324 | =item Exiting format via %s |
3060 | 5325 | |
3061 | 5326 | =begin original |
3062 | 5327 | |
3063 | (W exiting) You are exiting a | |
5328 | (W exiting) You are exiting a format by unconventional means, such as a | |
3064 | 5329 | goto, or a loop control statement. |
3065 | 5330 | |
3066 | 5331 | =end original |
3067 | 5332 | |
3068 | (W exiting) goto やループ制御文といった、異例な形で | |
5333 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを | |
5334 | 終了しました。 | |
3069 | 5335 | |
3070 | 5336 | =item Exiting pseudo-block via %s |
3071 | 5337 | |
3072 | 5338 | =begin original |
3073 | 5339 | |
3074 | 5340 | (W exiting) You are exiting a rather special block construct (like a |
3075 | 5341 | sort block or subroutine) by unconventional means, such as a goto, or a |
3076 | 5342 | loop control statement. See L<perlfunc/sort>. |
3077 | 5343 | |
3078 | 5344 | =end original |
3079 | 5345 | |
3080 | 5346 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
3081 | 5347 | goto やループ制御文といった異例な方法で終了しました。 |
3082 | 5348 | L<perlfunc/sort> を参照してください。 |
3083 | 5349 | |
3084 | 5350 | =item Exiting subroutine via %s |
3085 | 5351 | |
3086 | 5352 | =begin original |
3087 | 5353 | |
3088 | 5354 | (W exiting) You are exiting a subroutine by unconventional means, such |
3089 | 5355 | as a goto, or a loop control statement. |
3090 | 5356 | |
3091 | 5357 | =end original |
3092 | 5358 | |
3093 | (W exiting) goto やループ制御文など、おかしな方法でサブルー | |
5359 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを | |
3094 | 5360 | 抜けました。 |
3095 | 5361 | |
3096 | 5362 | =item Exiting substitution via %s |
3097 | 5363 | |
3098 | 5364 | =begin original |
3099 | 5365 | |
3100 | 5366 | (W exiting) You are exiting a substitution by unconventional means, such |
3101 | 5367 | as a return, a goto, or a loop control statement. |
3102 | 5368 | |
3103 | 5369 | =end original |
3104 | 5370 | |
3105 | 5371 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
3106 | 5372 | 抜けました。 |
3107 | 5373 | |
5374 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ | |
5375 | ||
5376 | =begin original | |
5377 | ||
5378 | (F) You wrote something like | |
5379 | ||
5380 | =end original | |
5381 | ||
5382 | (F) 次のようなものを書きました: | |
5383 | ||
5384 | (?13 | |
5385 | ||
5386 | =begin original | |
5387 | ||
5388 | to denote a capturing group of the form | |
5389 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
5390 | but omitted the C<")">. | |
5391 | ||
5392 | =end original | |
5393 | ||
5394 | to denote a capturing group of the form | |
5395 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
5396 | 捕捉グループを示していますが C<")"> が省略されています。 | |
5397 | ||
5398 | =item Expecting interpolated extended charclass in regex; marked by <-- | |
5399 | HERE in m/%s/ | |
5400 | ||
5401 | =begin original | |
5402 | ||
5403 | (F) It looked like you were attempting to interpolate an | |
5404 | already-compiled extended character class, like so: | |
5405 | ||
5406 | =end original | |
5407 | ||
5408 | (F) 次のように、既にコンパイルされている拡張文字クラスを結合しようと | |
5409 | したように見えます: | |
5410 | ||
5411 | my $thai_or_lao = qr/(?[ \p{Thai} + \p{Lao} ])/; | |
5412 | ... | |
5413 | qr/(?[ \p{Digit} & $thai_or_lao ])/; | |
5414 | ||
5415 | =begin original | |
5416 | ||
5417 | But the marked code isn't syntactically correct to be such an | |
5418 | interpolated class. | |
5419 | ||
5420 | =end original | |
5421 | ||
5422 | しかしマークされたコードは、そのような結合されたクラスとして | |
5423 | 文法的に正しくありません。 | |
5424 | ||
5425 | =item Experimental aliasing via reference not enabled | |
5426 | ||
5427 | =begin original | |
5428 | ||
5429 | (F) To do aliasing via references, you must first enable the feature: | |
5430 | ||
5431 | =end original | |
5432 | ||
5433 | (F) リファレンスによる別名をするためには、最初にこの機能を | |
5434 | 有効にしなければなりません: | |
5435 | ||
5436 | no warnings "experimental::refaliasing"; | |
5437 | use feature "refaliasing"; | |
5438 | \$x = \$y; | |
5439 | ||
5440 | =item Experimental %s on scalar is now forbidden | |
5441 | ||
5442 | =begin original | |
5443 | ||
5444 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
5445 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
5446 | scalar argument. This experiment is considered unsuccessful, and | |
5447 | has been removed. The C<postderef> feature may meet your needs better. | |
5448 | ||
5449 | =end original | |
5450 | ||
5451 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
5452 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
5453 | スカラ引数で呼び出すことができました。 | |
5454 | この実験は失敗と考えられ、削除されました。 | |
5455 | C<postderef> 機能はあなたの要求により良く一致します。 | |
5456 | ||
5457 | =item Experimental subroutine signatures not enabled | |
5458 | ||
5459 | =begin original | |
5460 | ||
5461 | (F) To use subroutine signatures, you must first enable them: | |
5462 | ||
5463 | =end original | |
5464 | ||
5465 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
5466 | ||
5467 | use feature "signatures"; | |
5468 | sub foo ($left, $right) { ... } | |
5469 | ||
3108 | 5470 | =item Explicit blessing to '' (assuming package main) |
3109 | 5471 | |
3110 | 5472 | =begin original |
3111 | 5473 | |
3112 | 5474 | (W misc) You are blessing a reference to a zero length string. This has |
3113 | 5475 | the effect of blessing the reference into the package main. This is |
3114 | 5476 | usually not what you want. Consider providing a default target package, |
3115 | 5477 | e.g. bless($ref, $p || 'MyPackage'); |
3116 | 5478 | |
3117 | 5479 | =end original |
3118 | 5480 | |
3119 | 5481 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
3120 | 5482 | これはリファレンスをパッケージ main に bless する効果があります。 |
3121 | 5483 | これは普通あなたが望んでいることではありません。 |
3122 | 5484 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
3123 | 5485 | パッケージを提供することを考慮してください; |
3124 | 5486 | |
3125 | 5487 | =item %s: Expression syntax |
3126 | 5488 | |
3127 | 5489 | =begin original |
3128 | 5490 | |
3129 | 5491 | (A) You've accidentally run your script through B<csh> instead of Perl. |
3130 | 5492 | Check the #! line, or manually feed your script into Perl yourself. |
3131 | 5493 | |
3132 | 5494 | =end original |
3133 | 5495 | |
3134 | 5496 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
3135 | #! 行を | |
5497 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
3136 | 5498 | |
3137 | 5499 | =item %s failed--call queue aborted |
3138 | 5500 | |
3139 | 5501 | =begin original |
3140 | 5502 | |
3141 | (F) An untrapped exception was raised while executing a CHECK, | |
5503 | (F) An untrapped exception was raised while executing a UNITCHECK, | |
3142 | END subroutine. Processing of the remainder of the | |
5504 | CHECK, INIT, or END subroutine. Processing of the remainder of the | |
3143 | routines has been prematurely ended. | |
5505 | queue of such routines has been prematurely ended. | |
3144 | 5506 | |
3145 | 5507 | =end original |
3146 | 5508 | |
3147 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない | |
5509 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない | |
3148 | 発生しました。 | |
5510 | 例外が発生しました。 | |
3149 | 5511 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
3150 | 5512 | |
3151 | =item | |
5513 | =item Failed to close in-place work file %s: %s | |
3152 | 5514 | |
3153 | 5515 | =begin original |
3154 | 5516 | |
3155 | ( | |
5517 | (F) Closing an output file from in-place editing, as with the C<-i> | |
3156 | c | |
5518 | command-line switch, failed. | |
3157 | "-" in your false range is interpreted as a literal "-". Consider | |
3158 | quoting the "-", "\-". See L<perlre>. | |
3159 | 5519 | |
3160 | 5520 | =end original |
3161 | 5521 | |
3162 | ( | |
5522 | (F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを | |
5523 | 閉じるのに失敗しました。 | |
5524 | ||
5525 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
5526 | ||
5527 | =begin original | |
5528 | ||
5529 | (W regexp)(F) A character class range must start and end at a literal | |
5530 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" | |
5531 | in your false range is interpreted as a literal "-". In a C<(?[...])> | |
5532 | construct, this is an error, rather than a warning. Consider quoting | |
5533 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression | |
5534 | the problem was discovered. See L<perlre>. | |
5535 | ||
5536 | =end original | |
5537 | ||
5538 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
3163 | 5539 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
3164 | 5540 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
5541 | C<(?[...])> 構文では、これは警告ではなくエラーです。 | |
3165 | 5542 | "-" を "\-" とクォートすることを考慮してください。 |
5543 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3166 | 5544 | L<perlre> を参照してください。 |
3167 | 5545 | |
3168 | =item Fatal VMS error at %s, line %d | |
5546 | =item Fatal VMS error (status=%d) at %s, line %d | |
3169 | 5547 | |
3170 | 5548 | =begin original |
3171 | 5549 | |
3172 | 5550 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
3173 | 5551 | system service or RTL routine; Perl's exit status should provide more |
3174 | 5552 | details. The filename in "at %s" and the line number in "line %d" tell |
3175 | 5553 | you which section of the Perl source code is distressed. |
3176 | 5554 | |
3177 | 5555 | =end original |
3178 | 5556 | |
3179 | 5557 | (P) VMS に固有のエラーです。 |
3180 | 5558 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
3181 | 5559 | Perl の終了コードに詳細が示されています。 |
3182 | 5560 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
3183 | 5561 | Perl ソースコードの位置を示しています。 |
3184 | 5562 | |
3185 | 5563 | =item fcntl is not implemented |
3186 | 5564 | |
3187 | 5565 | =begin original |
3188 | 5566 | |
3189 | 5567 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
3190 | 5568 | PDP-11 or something? |
3191 | 5569 | |
3192 | 5570 | =end original |
3193 | 5571 | |
3194 | 5572 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
3195 | 5573 | PDP-11 か何かでしょうか。 |
3196 | 5574 | |
5575 | =item FETCHSIZE returned a negative value | |
5576 | ||
5577 | =begin original | |
5578 | ||
5579 | (F) A tied array claimed to have a negative number of elements, which | |
5580 | is not possible. | |
5581 | ||
5582 | =end original | |
5583 | ||
5584 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 | |
5585 | ||
5586 | =item Field too wide in 'u' format in pack | |
5587 | ||
5588 | =begin original | |
5589 | ||
5590 | (W pack) Each line in an uuencoded string starts with a length indicator | |
5591 | which can't encode values above 63. So there is no point in asking for | |
5592 | a line length bigger than that. Perl will behave as if you specified | |
5593 | C<u63> as the format. | |
5594 | ||
5595 | =end original | |
5596 | ||
5597 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない | |
5598 | 長さ識別子から始まっています。 | |
5599 | それで、これより長い行の長さを問い合わせるところがありません。 | |
5600 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 | |
5601 | ||
3197 | 5602 | =item Filehandle %s opened only for input |
3198 | 5603 | |
3199 | 5604 | =begin original |
3200 | 5605 | |
3201 | (W io) You tried to write on a read-only filehandle. If you intended | |
5606 | (W io) You tried to write on a read-only filehandle. If you intended | |
3202 | to be a read-write filehandle, you needed to open it with "+<" or | |
5607 | it to be a read-write filehandle, you needed to open it with "+<" or | |
3203 | or "+>>" instead of with "<" or nothing. If you intended only to | |
5608 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to | |
3204 | the file, use ">" or ">>". See L<perlfunc/open>. | |
5609 | write the file, use ">" or ">>". See L<perlfunc/open>. | |
3205 | 5610 | |
3206 | 5611 | =end original |
3207 | 5612 | |
3208 | 5613 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
3209 | 5614 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
3210 | 5615 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
3211 | 5616 | open する必要があります。 |
3212 | 5617 | ライトオンリーであれば、">" や ">>" を使ってください。 |
3213 | L<perlfunc/open> | |
5618 | L<perlfunc/open> を参照してください。 | |
3214 | 5619 | |
3215 | 5620 | =item Filehandle %s opened only for output |
3216 | 5621 | |
3217 | 5622 | =begin original |
3218 | 5623 | |
3219 | (W io) You tried to read from a filehandle opened only for writing | |
5624 | (W io) You tried to read from a filehandle opened only for writing, If | |
3220 | 5625 | you intended it to be a read/write filehandle, you needed to open it |
3221 | with "+<" or "+>" or "+>>" instead of with " | |
5626 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to | |
3222 | ||
5627 | read from the file, use "<". See L<perlfunc/open>. Another possibility | |
5628 | is that you attempted to open filedescriptor 0 (also known as STDIN) for | |
5629 | output (maybe you closed STDIN earlier?). | |
3223 | 5630 | |
3224 | 5631 | =end original |
3225 | 5632 | |
3226 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました | |
5633 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; | |
3227 | 読み書きできるファイルハンドルにしたい場合は、 | |
5634 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に | |
3228 | ||
5635 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 | |
3229 | "+<" か "+>" か "+>>" をつける必要があります。 | |
3230 | 5636 | 読み込み専用にしたい場合は、"<" を使ってください。 |
3231 | 5637 | L<perlfunc/open> を参照してください。 |
5638 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を | |
5639 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 | |
3232 | 5640 | |
5641 | =item Filehandle %s reopened as %s only for input | |
5642 | ||
5643 | =begin original | |
5644 | ||
5645 | (W io) You opened for reading a filehandle that got the same filehandle id | |
5646 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR | |
5647 | previously. | |
5648 | ||
5649 | =end original | |
5650 | ||
5651 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の | |
5652 | ファイルハンドルを読み込み用に開こうとしました。 | |
5653 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 | |
5654 | ||
5655 | =item Filehandle STDIN reopened as %s only for output | |
5656 | ||
5657 | =begin original | |
5658 | ||
5659 | (W io) You opened for writing a filehandle that got the same filehandle id | |
5660 | as STDIN. This occurred because you closed STDIN previously. | |
5661 | ||
5662 | =end original | |
5663 | ||
5664 | (W io) STDIN として使われていたのと同じファイルハンドル ID の | |
5665 | ファイルハンドルを書き込み用に開こうとしました。 | |
5666 | これは、以前 STDIN を閉じたときに起きます。 | |
5667 | ||
3233 | 5668 | =item Final $ should be \$ or $name |
3234 | 5669 | |
3235 | 5670 | =begin original |
3236 | 5671 | |
3237 | 5672 | (F) You must now decide whether the final $ in a string was meant to be |
3238 | 5673 | a literal dollar sign, or was meant to introduce a variable name that |
3239 | 5674 | happens to be missing. So you have to put either the backslash or the |
3240 | 5675 | name. |
3241 | 5676 | |
3242 | 5677 | =end original |
3243 | 5678 | |
3244 | 5679 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
3245 | 5680 | 忘れたのかを、はっきりさせなければなりません。 |
3246 | 5681 | バックスラッシュを付けるか、名前を入れてください。 |
3247 | 5682 | |
3248 | =item | |
5683 | =item defer is experimental | |
3249 | 5684 | |
3250 | 5685 | =begin original |
3251 | 5686 | |
3252 | ( | |
5687 | (S experimental::defer) The C<defer> block modifier is experimental. If you | |
3253 | a | |
5688 | want to use the feature, disable the warning with | |
3254 | ||
5689 | C<no warnings 'experimental::defer'>, but know that in doing so you are taking | |
3255 | ||
5690 | the risk that your code may break in a future Perl version. | |
3256 | 5691 | |
3257 | 5692 | =end original |
3258 | 5693 | |
3259 | ( | |
5694 | (S experimental::defer) The C<defer> block modifier is experimental. If you | |
3260 | ||
5695 | want to use the feature, disable the warning with | |
3261 | ||
5696 | C<no warnings 'experimental::defer'>, but know that in doing so you are taking | |
5697 | the risk that your code may break in a future Perl version. | |
5698 | (TBT) | |
3262 | 5699 | |
3263 | 5700 | =item flock() on closed filehandle %s |
3264 | 5701 | |
3265 | 5702 | =begin original |
3266 | 5703 | |
3267 | 5704 | (W closed) The filehandle you're attempting to flock() got itself closed |
3268 | some time before now. Check your | |
5705 | some time before now. Check your control flow. flock() operates on | |
3269 | 5706 | filehandles. Are you attempting to call flock() on a dirhandle by the |
3270 | 5707 | same name? |
3271 | 5708 | |
3272 | 5709 | =end original |
3273 | 5710 | |
3274 | 5711 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
3275 | 5712 | 閉じられています。 |
3276 | ||
5713 | 制御フローをチェックしてください。 | |
3277 | 5714 | flock() はファイルハンドルを操作します。 |
3278 | 5715 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
3279 | 5716 | |
3280 | =item | |
5717 | =item for my (...) is experimental | |
3281 | 5718 | |
3282 | 5719 | =begin original |
3283 | 5720 | |
3284 | ( | |
5721 | (S experimental::for_list) This warning is emitted if you use C<for> to | |
3285 | ||
5722 | iterate multiple values at a time. This syntax is currently experimental | |
3286 | ||
5723 | and its behaviour may change in future releases of Perl. | |
3287 | 5724 | |
3288 | 5725 | =end original |
3289 | 5726 | |
3290 | ||
5727 | この警告は、一度に複数の値を反復する C<for> を使うと発生します。 | |
3291 | ||
5728 | この構文は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
3292 | ||
5729 | 可能性があります。 | |
3293 | L<perlre> を参照してください。 | |
3294 | 5730 | |
3295 | 5731 | =item Format not terminated |
3296 | 5732 | |
3297 | 5733 | =begin original |
3298 | 5734 | |
3299 | 5735 | (F) A format must be terminated by a line with a solitary dot. Perl got |
3300 | 5736 | to the end of your file without finding such a line. |
3301 | 5737 | |
3302 | 5738 | =end original |
3303 | 5739 | |
3304 | 5740 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
3305 | 5741 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
3306 | 5742 | |
3307 | 5743 | =item Format %s redefined |
3308 | 5744 | |
3309 | 5745 | =begin original |
3310 | 5746 | |
3311 | 5747 | (W redefine) You redefined a format. To suppress this warning, say |
3312 | 5748 | |
3313 | 5749 | =end original |
3314 | 5750 | |
3315 | 5751 | (W redefine) フォーマットを再定義しました。 |
3316 | この警告を止めるには以下のようにしてください | |
5752 | この警告を止めるには以下のようにしてください: | |
3317 | 5753 | |
3318 | 5754 | { |
3319 | no warnings; | |
5755 | no warnings 'redefine'; | |
3320 | 5756 | eval "format NAME =..."; |
3321 | 5757 | } |
3322 | 5758 | |
3323 | 5759 | =item Found = in conditional, should be == |
3324 | 5760 | |
3325 | 5761 | =begin original |
3326 | 5762 | |
3327 | 5763 | (W syntax) You said |
3328 | 5764 | |
3329 | 5765 | =end original |
3330 | 5766 | |
3331 | 5767 | (W) 以下のようにしています: |
3332 | 5768 | |
3333 | 5769 | if ($foo = 123) |
3334 | 5770 | |
3335 | 5771 | =begin original |
3336 | 5772 | |
3337 | 5773 | when you meant |
3338 | 5774 | |
3339 | 5775 | =end original |
3340 | 5776 | |
3341 | 以下のようにす | |
5777 | 以下のようにすべきです: | |
3342 | 5778 | |
3343 | 5779 | if ($foo == 123) |
3344 | 5780 | |
3345 | 5781 | =begin original |
3346 | 5782 | |
3347 | 5783 | (or something like that). |
3348 | 5784 | |
3349 | 5785 | =end original |
3350 | 5786 | |
3351 | 5787 | (あるいは似たようなこと)。 |
3352 | 5788 | |
3353 | 5789 | =item %s found where operator expected |
3354 | 5790 | |
3355 | 5791 | =begin original |
3356 | 5792 | |
3357 | (S) The Perl lexer knows whether to expect a term or an operator. | |
5793 | (S syntax) The Perl lexer knows whether to expect a term or an operator. | |
3358 | sees what it knows to be a term when it was expecting to see an | |
5794 | If it sees what it knows to be a term when it was expecting to see an | |
3359 | 5795 | operator, it gives you this warning. Usually it indicates that an |
3360 | 5796 | operator or delimiter was omitted, such as a semicolon. |
3361 | 5797 | |
3362 | 5798 | =end original |
3363 | 5799 | |
3364 | (S) Perl の字句解析部は、次に項が来るか、演算子が来るかを | |
5800 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを | |
5801 | 知っています。 | |
3365 | 5802 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
3366 | 5803 | この警告が出ることになります。 |
3367 | 5804 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
3368 | 5805 | |
3369 | 5806 | =item gdbm store returned %d, errno %d, key "%s" |
3370 | 5807 | |
3371 | 5808 | =begin original |
3372 | 5809 | |
3373 | 5810 | (S) A warning from the GDBM_File extension that a store failed. |
3374 | 5811 | |
3375 | 5812 | =end original |
3376 | 5813 | |
3377 | 5814 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
3378 | 5815 | |
3379 | 5816 | =item gethostent not implemented |
3380 | 5817 | |
3381 | 5818 | =begin original |
3382 | 5819 | |
3383 | 5820 | (F) Your C library apparently doesn't implement gethostent(), probably |
3384 | 5821 | because if it did, it'd feel morally obligated to return every hostname |
3385 | 5822 | on the Internet. |
3386 | 5823 | |
3387 | 5824 | =end original |
3388 | 5825 | |
3389 | (F) C ライブラリに gethostent() が実装されていないようです | |
5826 | (F) C ライブラリに gethostent() が実装されていないようです; | |
3390 | 5827 | おそらく、実装すると Internet 上のすべてのホスト名を |
3391 | 5828 | 返さなければいけないと思っているのでしょう。 |
3392 | 5829 | |
3393 | 5830 | =item get%sname() on closed socket %s |
3394 | 5831 | |
3395 | 5832 | =begin original |
3396 | 5833 | |
3397 | 5834 | (W closed) You tried to get a socket or peer socket name on a closed |
3398 | 5835 | socket. Did you forget to check the return value of your socket() call? |
3399 | 5836 | |
3400 | 5837 | =end original |
3401 | 5838 | |
3402 | 5839 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
3403 | 5840 | しました。 |
3404 | 5841 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
3405 | 5842 | |
3406 | 5843 | =item getpwnam returned invalid UIC %#o for user "%s" |
3407 | 5844 | |
3408 | 5845 | =begin original |
3409 | 5846 | |
3410 | 5847 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
3411 | 5848 | C<getpwnam> operator returned an invalid UIC. |
3412 | 5849 | |
3413 | 5850 | =end original |
3414 | 5851 | |
3415 | 5852 | (S) VMS に固有の警告です。 |
3416 | 5853 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
3417 | 5854 | 不正な UIC が返されました。 |
3418 | 5855 | |
3419 | 5856 | =item getsockopt() on closed socket %s |
3420 | 5857 | |
3421 | 5858 | =begin original |
3422 | 5859 | |
3423 | 5860 | (W closed) You tried to get a socket option on a closed socket. Did you |
3424 | 5861 | forget to check the return value of your socket() call? See |
3425 | 5862 | L<perlfunc/getsockopt>. |
3426 | 5863 | |
3427 | 5864 | =end original |
3428 | 5865 | |
3429 | 5866 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
3430 | 5867 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
3431 | 5868 | L<perlfunc/getsockopt> を参照してください。 |
3432 | 5869 | |
3433 | =item | |
5870 | =item given is experimental | |
3434 | 5871 | |
3435 | 5872 | =begin original |
3436 | 5873 | |
3437 | ( | |
5874 | (S experimental::smartmatch) C<given> depends on smartmatch, which | |
3438 | ||
5875 | is experimental, so its behavior may change or even be removed | |
3439 | ||
5876 | in any future release of perl. See the explanation under | |
3440 | ||
5877 | L<perlsyn/Experimental Details on given and when>. | |
3441 | 5878 | |
3442 | 5879 | =end original |
3443 | 5880 | |
3444 | ( | |
5881 | (S experimental::smartmatch) C<given> はスマートマッチングのに依存していて、 | |
3445 | ||
5882 | これは実験的なので、その振る舞いは将来のリリースの perl で変更されたり | |
3446 | ||
5883 | 削除されたりするかもしれません。 | |
3447 | ||
5884 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
3448 | 5885 | |
5886 | =item Global symbol "%s" requires explicit package name (did you forget to | |
5887 | declare "my %s"?) | |
5888 | ||
5889 | =begin original | |
5890 | ||
5891 | (F) You've said "use strict" or "use strict vars", which indicates | |
5892 | that all variables must either be lexically scoped (using "my" or "state"), | |
5893 | declared beforehand using "our", or explicitly qualified to say | |
5894 | which package the global variable is in (using "::"). | |
5895 | ||
5896 | =end original | |
5897 | ||
5898 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は | |
5899 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に | |
5900 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 | |
5901 | 明示的に修飾しなくてはなりません。 | |
5902 | ||
3449 | 5903 | =item glob failed (%s) |
3450 | 5904 | |
3451 | 5905 | =begin original |
3452 | 5906 | |
3453 | ( | |
5907 | (S glob) Something went wrong with the external program(s) used | |
3454 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a | |
5908 | for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob> | |
3455 | ||
5909 | pattern that caused the external program to fail and exit with a | |
3456 | 5910 | nonzero status. If the message indicates that the abnormal exit |
3457 | resulted in a coredump, this may also mean that your csh (C shell) | |
5911 | resulted in a coredump, this may also mean that your csh (C shell) | |
3458 | broken. If so, you should change all of the csh-related variables | |
5912 | is broken. If so, you should change all of the csh-related variables | |
3459 | config.sh: If you have tcsh, make the variables refer to it as | |
5913 | in config.sh: If you have tcsh, make the variables refer to it as | |
3460 | were csh (e.g. | |
5914 | if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them | |
3461 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
5915 | all empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
3462 | 5916 | think csh is missing. In either case, after editing config.sh, run |
3463 | 5917 | C<./Configure -S> and rebuild Perl. |
3464 | 5918 | |
3465 | 5919 | =end original |
3466 | 5920 | |
3467 | ( | |
5921 | (S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が | |
3468 | 5922 | 発生しました。 |
3469 | 5923 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
3470 | 5924 | C<glob> パターンが渡されたことを意味します。 |
3471 | 5925 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
3472 | 5926 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
3473 | 5927 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
3474 | 5928 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
3475 | 5929 | 参照するように変数を設定します; |
3476 | 5930 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
3477 | 5931 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
3478 | 5932 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
3479 | 5933 | Perl を再ビルドしてください。 |
3480 | 5934 | |
3481 | 5935 | =item Glob not terminated |
3482 | 5936 | |
3483 | 5937 | =begin original |
3484 | 5938 | |
3485 | 5939 | (F) The lexer saw a left angle bracket in a place where it was expecting |
3486 | 5940 | a term, so it's looking for the corresponding right angle bracket, and |
3487 | 5941 | not finding it. Chances are you left some needed parentheses out |
3488 | 5942 | earlier in the line, and you really meant a "less than". |
3489 | 5943 | |
3490 | 5944 | =end original |
3491 | 5945 | |
3492 | (F) 項が必要とされるところで、開き山 | |
5946 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 | |
3493 | 対応する閉じ山 | |
5947 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 | |
3494 | 可能性としては、必要な | |
5948 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を | |
3495 | 5949 | 表したかった場合が考えられます。 |
3496 | 5950 | |
5951 | =item gmtime(%f) failed | |
5952 | ||
5953 | =begin original | |
5954 | ||
5955 | (W overflow) You called C<gmtime> with a number that it could not handle: | |
5956 | too large, too small, or NaN. The returned value is C<undef>. | |
5957 | ||
5958 | =end original | |
5959 | ||
5960 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり | |
5961 | 小さすぎたり NaN だったりです。 | |
5962 | 返り値は C<undef> です。 | |
5963 | ||
5964 | =item gmtime(%f) too large | |
5965 | ||
5966 | =begin original | |
5967 | ||
5968 | (W overflow) You called C<gmtime> with a number that was larger than | |
5969 | it can reliably handle and C<gmtime> probably returned the wrong | |
5970 | date. This warning is also triggered with NaN (the special | |
5971 | not-a-number value). | |
5972 | ||
5973 | =end original | |
5974 | ||
5975 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
5976 | おそらく間違った日付が返されました。 | |
5977 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
5978 | ||
5979 | =item gmtime(%f) too small | |
5980 | ||
5981 | =begin original | |
5982 | ||
5983 | (W overflow) You called C<gmtime> with a number that was smaller than | |
5984 | it can reliably handle and C<gmtime> probably returned the wrong date. | |
5985 | ||
5986 | =end original | |
5987 | ||
5988 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
5989 | おそらく間違った日付が返されました。 | |
5990 | ||
3497 | 5991 | =item Got an error from DosAllocMem |
3498 | 5992 | |
3499 | 5993 | =begin original |
3500 | 5994 | |
3501 | 5995 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
3502 | 5996 | version of Perl, and this should not happen anyway. |
3503 | 5997 | |
3504 | 5998 | =end original |
3505 | 5999 | |
3506 | 6000 | (P) OS/2 に固有のエラーです。 |
3507 | 6001 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
3508 | 6002 | どちらにしてもこのエラーは起きないはずです。 |
3509 | 6003 | |
3510 | 6004 | =item goto must have label |
3511 | 6005 | |
3512 | 6006 | =begin original |
3513 | 6007 | |
3514 | 6008 | (F) Unlike with "next" or "last", you're not allowed to goto an |
3515 | 6009 | unspecified destination. See L<perlfunc/goto>. |
3516 | 6010 | |
3517 | 6011 | =end original |
3518 | 6012 | |
3519 | 6013 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
3520 | 6014 | 指定しなくてはなりません。 |
3521 | 6015 | L<perlfunc/goto> を参照してください。 |
3522 | 6016 | |
3523 | =item | |
6017 | =item Goto undefined subroutine%s | |
3524 | 6018 | |
3525 | 6019 | =begin original |
3526 | 6020 | |
6021 | (F) You tried to call a subroutine with C<goto &sub> syntax, but | |
6022 | the indicated subroutine hasn't been defined, or if it was, it | |
6023 | has since been undefined. | |
6024 | ||
6025 | =end original | |
6026 | ||
6027 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された | |
6028 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 | |
6029 | ||
6030 | =item Group name must start with a non-digit word character in regex; marked by | |
6031 | S<<-- HERE> in m/%s/ | |
6032 | ||
6033 | =begin original | |
6034 | ||
6035 | (F) Group names must follow the rules for perl identifiers, meaning | |
6036 | they must start with a non-digit word character. A common cause of | |
6037 | this error is using (?&0) instead of (?0). See L<perlre>. | |
6038 | ||
6039 | =end original | |
6040 | ||
6041 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
6042 | 始まらなければなりません。 | |
6043 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
6044 | L<perlre> を参照してください。 | |
6045 | ||
6046 | =item ()-group starts with a count | |
6047 | ||
6048 | =begin original | |
6049 | ||
6050 | (F) A ()-group started with a count. A count is supposed to follow | |
6051 | something: a template character or a ()-group. See L<perlfunc/pack>. | |
6052 | ||
6053 | =end original | |
6054 | ||
6055 | (F) () グループが繰り返し数で始まっています。 | |
6056 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 | |
6057 | L<perlfunc/pack> を参照してください。 | |
6058 | ||
6059 | =item %s had compilation errors. | |
6060 | ||
6061 | =begin original | |
6062 | ||
3527 | 6063 | (F) The final summary message when a C<perl -c> fails. |
3528 | 6064 | |
3529 | 6065 | =end original |
3530 | 6066 | |
3531 | 6067 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
3532 | 6068 | |
3533 | 6069 | =item Had to create %s unexpectedly |
3534 | 6070 | |
3535 | 6071 | =begin original |
3536 | 6072 | |
3537 | 6073 | (S internal) A routine asked for a symbol from a symbol table that ought |
3538 | 6074 | to have existed already, but for some reason it didn't, and had to be |
3539 | 6075 | created on an emergency basis to prevent a core dump. |
3540 | 6076 | |
3541 | 6077 | =end original |
3542 | 6078 | |
3543 | 6079 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
3544 | 6080 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
3545 | 6081 | コアダンプを避けるために、緊急に生成しました。 |
3546 | 6082 | |
3547 | =item | |
6083 | =item %s has too many errors | |
3548 | 6084 | |
3549 | 6085 | =begin original |
3550 | 6086 | |
3551 | ( | |
6087 | (F) The parser has given up trying to parse the program after 10 errors. | |
3552 | ||
6088 | Further error messages would likely be uninformative. | |
3553 | 6089 | |
3554 | 6090 | =end original |
3555 | 6091 | |
3556 | ( | |
6092 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 | |
3557 | ||
6093 | それ以上の解析を諦めました。 | |
3558 | ||
6094 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
3559 | 6095 | |
3560 | =item | |
6096 | =item Hexadecimal float: exponent overflow | |
3561 | 6097 | |
3562 | 6098 | =begin original |
3563 | 6099 | |
3564 | ( | |
6100 | (W overflow) The hexadecimal floating point has a larger exponent | |
3565 | ||
6101 | than the floating point supports. | |
3566 | 6102 | |
3567 | 6103 | =end original |
3568 | 6104 | |
3569 | ( | |
6105 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
3570 | ||
6106 | 指数を持っています。 | |
3571 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
3572 | 6107 | |
6108 | =item Hexadecimal float: exponent underflow | |
6109 | ||
6110 | =begin original | |
6111 | ||
6112 | (W overflow) The hexadecimal floating point has a smaller exponent | |
6113 | than the floating point supports. With the IEEE 754 floating point, | |
6114 | this may also mean that the subnormals (formerly known as denormals) | |
6115 | are being used, which may or may not be an error. | |
6116 | ||
6117 | =end original | |
6118 | ||
6119 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
6120 | 指数を持っています。 | |
6121 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; | |
6122 | どちらにしろエラーです。 | |
6123 | ||
6124 | =item Hexadecimal float: internal error (%s) | |
6125 | ||
6126 | =begin original | |
6127 | ||
6128 | (F) Something went horribly bad in hexadecimal float handling. | |
6129 | ||
6130 | =end original | |
6131 | ||
6132 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 | |
6133 | ||
6134 | =item Hexadecimal float: mantissa overflow | |
6135 | ||
6136 | =begin original | |
6137 | ||
6138 | (W overflow) The hexadecimal floating point literal had more bits in | |
6139 | the mantissa (the part between the 0x and the exponent, also known as | |
6140 | the fraction or the significand) than the floating point supports. | |
6141 | ||
6142 | =end original | |
6143 | ||
6144 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に | |
6145 | 浮動小数点数が対応しているよりも多いビット数があります。 | |
6146 | ||
6147 | =item Hexadecimal float: precision loss | |
6148 | ||
6149 | =begin original | |
6150 | ||
6151 | (W overflow) The hexadecimal floating point had internally more | |
6152 | digits than could be output. This can be caused by unsupported | |
6153 | long double formats, or by 64-bit integers not being available | |
6154 | (needed to retrieve the digits under some configurations). | |
6155 | ||
6156 | =end original | |
6157 | ||
6158 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより | |
6159 | 多くの桁数を保持しています。 | |
6160 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) | |
6161 | 利用できない 64 ビット整数によって引き起こされます。 | |
6162 | ||
6163 | =item Hexadecimal float: unsupported long double format | |
6164 | ||
6165 | =begin original | |
6166 | ||
6167 | (F) You have configured Perl to use long doubles but | |
6168 | the internals of the long double format are unknown; | |
6169 | therefore the hexadecimal float output is impossible. | |
6170 | ||
6171 | =end original | |
6172 | ||
6173 | (F) long double を使うように設定された Perl を使っていますが、 | |
6174 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は | |
6175 | 不可能です。 | |
6176 | ||
3573 | 6177 | =item Hexadecimal number > 0xffffffff non-portable |
3574 | 6178 | |
3575 | 6179 | =begin original |
3576 | 6180 | |
3577 | 6181 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
3578 | 6182 | (4294967295) and therefore non-portable between systems. See |
3579 | 6183 | L<perlport> for more on portability concerns. |
3580 | 6184 | |
3581 | 6185 | =end original |
3582 | 6186 | |
3583 | 6187 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
3584 | 6188 | システム間で移植性がありません。 |
3585 | 6189 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
3586 | 6190 | |
3587 | 6191 | =item Identifier too long |
3588 | 6192 | |
3589 | 6193 | =begin original |
3590 | 6194 | |
3591 | 6195 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
3592 | 6196 | about 250 characters for simple names, and somewhat more for compound |
3593 | 6197 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
3594 | 6198 | of Perl are likely to eliminate these arbitrary limitations. |
3595 | 6199 | |
3596 | 6200 | =end original |
3597 | 6201 | |
3598 | 6202 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
3599 | 6203 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
3600 | 6204 | 制限しています。 |
3601 | 6205 | この Perl の制限を越えました。 |
3602 | 6206 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
3603 | 6207 | |
3604 | =item Il | |
6208 | =item Ignoring zero length \N{} in character class in regex; marked by | |
6209 | S<<-- HERE> in m/%s/ | |
3605 | 6210 | |
3606 | 6211 | =begin original |
3607 | 6212 | |
6213 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a | |
6214 | zero-length sequence. When such an escape is used in a character | |
6215 | class its behavior is not well defined. Check that the correct | |
6216 | escape has been used, and the correct charname handler is in scope. | |
6217 | ||
6218 | =end original | |
6219 | ||
6220 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の | |
6221 | シーケンスを返しました。 | |
6222 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 | |
6223 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
6224 | あるかをチェックしてください。 | |
6225 | ||
6226 | =item Illegal %s digit '%c' ignored | |
6227 | ||
6228 | =begin original | |
6229 | ||
6230 | (W digit) Here C<%s> is one of "binary", "octal", or "hex". | |
6231 | You may have tried to use a digit other than one that is legal for the | |
6232 | given type, such as only 0 and 1 for binary. For octals, this is raised | |
6233 | only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and | |
6234 | 'a' - 'f' are legal. | |
6235 | Interpretation of the number stopped just before the offending digit or | |
6236 | character. | |
6237 | ||
6238 | =end original | |
6239 | ||
6240 | (W digit) ここで C<%s> は "binary", "octal", "hex" のうちの一つです。 | |
6241 | 2 進数での 0 と 1 のような、与えられた型で正当でない数字を | |
6242 | 使おうとしたのでしょう。 | |
6243 | 8 進数の場合は、これは不正な文字が '8' または '9' の場合にのみ発生します。 | |
6244 | 16 進数の場合、'A' - 'F' と 'a' - 'f' は正当です。 | |
6245 | 数の解釈は問題のある数値や文字の直前で停止しました。 | |
6246 | ||
6247 | =item Illegal binary digit '%c' | |
6248 | ||
6249 | =begin original | |
6250 | ||
3608 | 6251 | (F) You used a digit other than 0 or 1 in a binary number. |
3609 | 6252 | |
3610 | 6253 | =end original |
3611 | 6254 | |
3612 | 6255 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
3613 | 6256 | |
3614 | =item Illegal | |
6257 | =item Illegal character after '_' in prototype for %s : %s | |
3615 | 6258 | |
3616 | 6259 | =begin original |
3617 | 6260 | |
3618 | (W | |
6261 | (W illegalproto) An illegal character was found in a prototype | |
3619 | ||
6262 | declaration. The '_' in a prototype must be followed by a ';', | |
3620 | ||
6263 | indicating the rest of the parameters are optional, or one of '@' | |
6264 | or '%', since those two will accept 0 or more final parameters. | |
3621 | 6265 | |
3622 | 6266 | =end original |
3623 | 6267 | |
3624 | (W | |
6268 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
3625 | ||
6269 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために | |
6270 | ';' が引き続くか、'@' か '%' の一つでなければなりません; | |
6271 | これら二つは 0 以上の末尾の引数を受け付けるからです。 | |
3626 | 6272 | |
3627 | =item Illegal character % | |
6273 | =item Illegal character \%o (carriage return) | |
3628 | 6274 | |
3629 | 6275 | =begin original |
3630 | 6276 | |
3631 | (F) Perl normally treats carriage returns in the program text as | |
6277 | (F) Perl normally treats carriage returns in the program text as | |
3632 | would any other whitespace, which means you should never see | |
6278 | it would any other whitespace, which means you should never see | |
3633 | when Perl was built using standard options. For some | |
6279 | this error when Perl was built using standard options. For some | |
3634 | version of Perl appears to have been built without | |
6280 | reason, your version of Perl appears to have been built without | |
3635 | to your Perl administrator. | |
6281 | this support. Talk to your Perl administrator. | |
3636 | 6282 | |
3637 | 6283 | =end original |
3638 | 6284 | |
3639 | 6285 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
3640 | 6286 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
3641 | 6287 | 見ることは決してないはずです。 |
3642 | 6288 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
3643 | 6289 | Perl の管理者に問い合わせてください。 |
3644 | 6290 | |
3645 | =item Illegal | |
6291 | =item Illegal character following sigil in a subroutine signature | |
3646 | 6292 | |
3647 | 6293 | =begin original |
3648 | 6294 | |
3649 | (F) | |
6295 | (F) A parameter in a subroutine signature contained an unexpected character | |
3650 | ||
6296 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil | |
3651 | ||
6297 | should be followed by the variable name or C<=> etc. Perhaps you are | |
6298 | trying use a prototype while in the scope of C<use feature 'signatures'>? | |
6299 | For example: | |
3652 | 6300 | |
3653 | 6301 | =end original |
3654 | 6302 | |
3655 | (F) | |
6303 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて | |
3656 | ||
6304 | 想定外の文字がありました。 | |
3657 | ||
6305 | 通常は、印には変数名や C<=> などが引き続くはずです。 | |
6306 | おそらく C<use feature 'signatures'> のスコープ内で | |
6307 | プロトタイプを使おうとしたのでは? | |
6308 | 例えば: | |
3658 | 6309 | |
3659 | ||
6310 | sub foo ($$) {} # legal - a prototype | |
3660 | 6311 | |
6312 | use feature 'signatures; | |
6313 | sub foo ($$) {} # illegal - was expecting a signature | |
6314 | sub foo ($a, $b) | |
6315 | :prototype($$) {} # legal | |
6316 | ||
6317 | =item Illegal character in prototype for %s : %s | |
6318 | ||
3661 | 6319 | =begin original |
3662 | 6320 | |
3663 | (W | |
6321 | (W illegalproto) An illegal character was found in a prototype declaration. | |
3664 | ||
6322 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. | |
3665 | ||
6323 | Perhaps you were trying to write a subroutine signature but didn't enable | |
6324 | that feature first (C<use feature 'signatures'>), so your signature was | |
6325 | instead interpreted as a bad prototype. | |
3666 | 6326 | |
3667 | 6327 | =end original |
3668 | 6328 | |
3669 | (W | |
6329 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
3670 | ||
6330 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 | |
6331 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に | |
6332 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った | |
6333 | プロトタイプとして解釈されたのでしょう。 | |
3671 | 6334 | |
6335 | =item Illegal declaration of anonymous subroutine | |
6336 | ||
6337 | =begin original | |
6338 | ||
6339 | (F) When using the C<sub> keyword to construct an anonymous subroutine, | |
6340 | you must always specify a block of code. See L<perlsub>. | |
6341 | ||
6342 | =end original | |
6343 | ||
6344 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 | |
6345 | 常にコードのブロックを指定しなければなりません。 | |
6346 | L<perlsub> を参照してください。 | |
6347 | ||
6348 | =item Illegal declaration of subroutine %s | |
6349 | ||
6350 | =begin original | |
6351 | ||
6352 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
6353 | ||
6354 | =end original | |
6355 | ||
6356 | (F) サブルーチンが正しく宣言されていません。 | |
6357 | L<perlsub> を参照してください。 | |
6358 | ||
6359 | =item Illegal division by zero | |
6360 | ||
6361 | =begin original | |
6362 | ||
6363 | (F) You tried to divide a number by 0. Either something was wrong in | |
6364 | your logic, or you need to put a conditional in to guard against | |
6365 | meaningless input. | |
6366 | ||
6367 | =end original | |
6368 | ||
6369 | (F) ゼロで割り算をしようとしました。 | |
6370 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが | |
6371 | 必要かのどちらかでしょう。 | |
6372 | ||
3672 | 6373 | =item Illegal modulus zero |
3673 | 6374 | |
3674 | 6375 | =begin original |
3675 | 6376 | |
3676 | 6377 | (F) You tried to divide a number by 0 to get the remainder. Most |
3677 | 6378 | numbers don't take to this kindly. |
3678 | 6379 | |
3679 | 6380 | =end original |
3680 | 6381 | |
3681 | 6382 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
3682 | 6383 | これは、ほとんどの数体系で受け入れられません。 |
3683 | 6384 | |
3684 | 6385 | =item Illegal number of bits in vec |
3685 | 6386 | |
3686 | 6387 | =begin original |
3687 | 6388 | |
3688 | 6389 | (F) The number of bits in vec() (the third argument) must be a power of |
3689 | 6390 | two from 1 to 32 (or 64, if your platform supports that). |
3690 | 6391 | |
3691 | 6392 | =end original |
3692 | 6393 | |
3693 | 6394 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
3694 | 6395 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
3695 | 6396 | |
3696 | =item Illegal octal digit % | |
6397 | =item Illegal octal digit '%c' | |
3697 | 6398 | |
3698 | 6399 | =begin original |
3699 | 6400 | |
3700 | (F) You used an 8 or 9 in a octal number. | |
6401 | (F) You used an 8 or 9 in an octal number. | |
3701 | 6402 | |
3702 | 6403 | =end original |
3703 | 6404 | |
3704 | 6405 | (F) 8 進数で 8 か 9 を使いました。 |
3705 | 6406 | |
3706 | =item Illegal o | |
6407 | =item Illegal operator following parameter in a subroutine signature | |
3707 | 6408 | |
3708 | 6409 | =begin original |
3709 | 6410 | |
3710 | ( | |
6411 | (F) A parameter in a subroutine signature, was followed by something | |
3711 | ||
6412 | other than C<=> introducing a default, C<,> or C<)>. | |
3712 | 6413 | |
3713 | 6414 | =end original |
3714 | 6415 | |
3715 | ( | |
6416 | (F) サブルーチンシグネチャで引数に引き続いて、デフォルトを導入する | |
3716 | ||
6417 | C<=>, C<,>, C<)> 以外のものがありました。 | |
3717 | 6418 | |
3718 | ||
6419 | use feature 'signatures'; | |
6420 | sub foo ($=1) {} # legal | |
6421 | sub foo ($a = 1) {} # legal | |
6422 | sub foo ($a += 1) {} # illegal | |
6423 | sub foo ($a == 1) {} # illegal | |
3719 | 6424 | |
6425 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ | |
6426 | ||
3720 | 6427 | =begin original |
3721 | 6428 | |
6429 | (F) You wrote something like | |
6430 | ||
6431 | =end original | |
6432 | ||
6433 | (F) 次のようなものを書きました: | |
6434 | ||
6435 | (?+foo) | |
6436 | ||
6437 | =begin original | |
6438 | ||
6439 | The C<"+"> is valid only when followed by digits, indicating a | |
6440 | capturing group. See | |
6441 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
6442 | ||
6443 | =end original | |
6444 | ||
6445 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
6446 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
6447 | 参照してください。 | |
6448 | ||
6449 | =item Illegal suidscript | |
6450 | ||
6451 | =begin original | |
6452 | ||
6453 | (F) The script run under suidperl was somehow illegal. | |
6454 | ||
6455 | =end original | |
6456 | ||
6457 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 | |
6458 | ||
6459 | =item Illegal switch in PERL5OPT: -%c | |
6460 | ||
6461 | =begin original | |
6462 | ||
3722 | 6463 | (X) The PERL5OPT environment variable may only be used to set the |
3723 | following switches: B<-[DIMUdmw]>. | |
6464 | following switches: B<-[CDIMUdmtw]>. | |
3724 | 6465 | |
3725 | 6466 | =end original |
3726 | 6467 | |
3727 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmw]> の | |
6468 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。 | |
3728 | オプションだけです。 | |
3729 | 6469 | |
6470 | =item Illegal user-defined property name | |
6471 | ||
6472 | =begin original | |
6473 | ||
6474 | (F) You specified a Unicode-like property name in a regular expression | |
6475 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
6476 | Unicode property, and was likely meant to be a user-defined property | |
6477 | name, but it can't be one of those, as they must begin with either C<In> | |
6478 | or C<Is>. Check the spelling. See also | |
6479 | L</Can't find Unicode property definition "%s">. | |
6480 | ||
6481 | =end original | |
6482 | ||
6483 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
6484 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
6485 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
6486 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
6487 | そうなりません。 | |
6488 | 綴りを確認してください。 | |
6489 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
6490 | ||
3730 | 6491 | =item Ill-formed CRTL environ value "%s" |
3731 | 6492 | |
3732 | 6493 | =begin original |
3733 | 6494 | |
3734 | 6495 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
3735 | 6496 | internal environ array, and encountered an element without the C<=> |
3736 | 6497 | delimiter used to separate keys from values. The element is ignored. |
3737 | 6498 | |
3738 | 6499 | =end original |
3739 | 6500 | |
3740 | (W internal) VMS 固有の警告です。 | |
6501 | (W internal) VMS に固有の警告です。 | |
3741 | 6502 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
3742 | 6503 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
3743 | 6504 | この要素は無視しました。 |
3744 | 6505 | |
3745 | 6506 | =item Ill-formed message in prime_env_iter: |%s| |
3746 | 6507 | |
3747 | 6508 | =begin original |
3748 | 6509 | |
3749 | 6510 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
3750 | 6511 | name or CLI symbol definition when preparing to iterate over %ENV, and |
3751 | 6512 | didn't see the expected delimiter between key and value, so the line was |
3752 | 6513 | ignored. |
3753 | 6514 | |
3754 | 6515 | =end original |
3755 | 6516 | |
3756 | (W internal) VMS 固有の警告です。 | |
6517 | (W internal) VMS に固有の警告です。 | |
3757 | 6518 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
3758 | 6519 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
3759 | 6520 | その行は無視しました。 |
3760 | 6521 | |
3761 | 6522 | =item (in cleanup) %s |
3762 | 6523 | |
3763 | 6524 | =begin original |
3764 | 6525 | |
3765 | 6526 | (W misc) This prefix usually indicates that a DESTROY() method raised |
3766 | 6527 | the indicated exception. Since destructors are usually called by the |
3767 | 6528 | system at arbitrary points during execution, and often a vast number of |
3768 | 6529 | times, the warning is issued only once for any number of failures that |
3769 | 6530 | would otherwise result in the same message being repeated. |
3770 | 6531 | |
3771 | 6532 | =end original |
3772 | 6533 | |
3773 | 6534 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
3774 | 6535 | 発生したことを示しています。 |
3775 | 6536 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
3776 | 6537 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
3777 | 6538 | 何回失敗しても一度だけ発生します。 |
3778 | 6539 | |
3779 | 6540 | =begin original |
3780 | 6541 | |
3781 | 6542 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
3782 | 6543 | also result in this warning. See L<perlcall/G_KEEPERR>. |
3783 | 6544 | |
3784 | 6545 | =end original |
3785 | 6546 | |
3786 | C<G_KEEPERR> フラグを使って | |
6547 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した | |
3787 | 6548 | 場合にもこの警告が出ることがあります。 |
3788 | 6549 | L<perlcall/G_KEEPERR> を参照してください。 |
3789 | 6550 | |
6551 | =item Implicit use of @_ in %s with signatured subroutine is experimental | |
6552 | ||
6553 | =begin original | |
6554 | ||
6555 | (S experimental::args_array_with_signatures) An expression that implicitly | |
6556 | involves the C<@_> arguments array was found in a subroutine that uses a | |
6557 | signature. This is experimental because the interaction between the | |
6558 | arguments array and parameter handling via signatures is not guaranteed | |
6559 | to remain stable in any future version of Perl, and such code should be | |
6560 | avoided. | |
6561 | ||
6562 | =end original | |
6563 | ||
6564 | (S experimental::args_array_with_signatures) An expression that implicitly | |
6565 | involves the C<@_> arguments array was found in a subroutine that uses a | |
6566 | signature. This is experimental because the interaction between the | |
6567 | arguments array and parameter handling via signatures is not guaranteed | |
6568 | to remain stable in any future version of Perl, and such code should be | |
6569 | avoided. | |
6570 | (TBT) | |
6571 | ||
6572 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> | |
6573 | in m/%s/ | |
6574 | ||
6575 | =begin original | |
6576 | ||
6577 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the | |
6578 | expression inside the construct was completely empty, or if there are | |
6579 | too many or few operands for the number of operators. Perl is not smart | |
6580 | enough to give you a more precise indication as to what is wrong. | |
6581 | ||
6582 | =end original | |
6583 | ||
6584 | (F) これは C<(?[ ])> の中の文法エラーです。 | |
6585 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり | |
6586 | 少なすぎたりする場合に起こります。 | |
6587 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 | |
6588 | ||
6589 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
6590 | parent '%s' | |
6591 | ||
6592 | =begin original | |
6593 | ||
6594 | (F) The method resolution order (MRO) of the given class is not | |
6595 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 | |
6596 | documentation in L<mro> for more information. | |
6597 | ||
6598 | =end original | |
6599 | ||
6600 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 | |
6601 | このクラスの C3 MRO を有効にしました。 | |
6602 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 | |
6603 | ||
6604 | =item Indentation on line %d of here-doc doesn't match delimiter | |
6605 | ||
6606 | =begin original | |
6607 | ||
6608 | (F) You have an indented here-document where one or more of its lines | |
6609 | have whitespace at the beginning that does not match the closing | |
6610 | delimiter. | |
6611 | ||
6612 | =end original | |
6613 | ||
6614 | (F) インデントのあるヒヤドキュメントがありますが、 | |
6615 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 | |
6616 | ||
6617 | =begin original | |
6618 | ||
6619 | For example, line 2 below is wrong because it does not have at least | |
6620 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: | |
6621 | ||
6622 | =end original | |
6623 | ||
6624 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の | |
6625 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; | |
6626 | 少なくとも 2 個あるからです: | |
6627 | ||
6628 | if ($something) { | |
6629 | print <<~EOF; | |
6630 | Line 1 | |
6631 | Line 2 not | |
6632 | Line 3 | |
6633 | EOF | |
6634 | } | |
6635 | ||
6636 | =begin original | |
6637 | ||
6638 | Note that tabs and spaces are compared strictly, meaning 1 tab will | |
6639 | not match 8 spaces. | |
6640 | ||
6641 | =end original | |
6642 | ||
6643 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは | |
6644 | マッチングしないことに注意してください。 | |
6645 | ||
6646 | =item Infinite recursion in regex | |
6647 | ||
6648 | =begin original | |
6649 | ||
6650 | (F) You used a pattern that references itself without consuming any input | |
6651 | text. You should check the pattern to ensure that recursive patterns | |
6652 | either consume text or fail. | |
6653 | ||
6654 | =end original | |
6655 | ||
6656 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 | |
6657 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 | |
6658 | パターンをチェックするべきです。 | |
6659 | ||
6660 | =item Infinite recursion in user-defined property | |
6661 | ||
6662 | =begin original | |
6663 | ||
6664 | (F) A user-defined property (L<perlunicode/User-Defined Character | |
6665 | Properties>) can depend on the definitions of other user-defined | |
6666 | properties. If the chain of dependencies leads back to this property, | |
6667 | infinite recursion would occur, were it not for the check that raised | |
6668 | this error. | |
6669 | ||
6670 | =end original | |
6671 | ||
6672 | (F) ユーザー定義特性 (L<perlunicode/User-Defined Character | |
6673 | Properties>) は他のユーザー定義特性の定義に依存できます。 | |
6674 | 依存の鎖がこの特性に戻ってくる場合、無限再帰が起きることになり、 | |
6675 | そうしないためのチェックがこのエラーを起こします。 | |
6676 | ||
6677 | =begin original | |
6678 | ||
6679 | Restructure your property definitions to avoid this. | |
6680 | ||
6681 | =end original | |
6682 | ||
6683 | これを避けるために特性定義を再構成してください。 | |
6684 | ||
6685 | =item Infinite recursion via empty pattern | |
6686 | ||
6687 | =begin original | |
6688 | ||
6689 | (F) You tried to use the empty pattern inside of a regex code block, | |
6690 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
6691 | the same pattern, which is an infinite loop which is broken by | |
6692 | throwing an exception. | |
6693 | ||
6694 | =end original | |
6695 | ||
6696 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
6697 | 空パターンを使いました; | |
6698 | これは同じパターンを再実行することになり、 | |
6699 | 例外が投げられることによって壊れる無限ループになります。 | |
6700 | ||
6701 | =item Initialization of state variables in list currently forbidden | |
6702 | ||
6703 | =begin original | |
6704 | ||
6705 | (F) C<state> only permits initializing a single variable, specified | |
6706 | without parentheses. So C<state $a = 42> and C<state @a = qw(a b c)> are | |
6707 | allowed, but not C<state ($a) = 42> or C<(state $a) = 42>. To initialize | |
6708 | more than one C<state> variable, initialize them one at a time. | |
6709 | ||
6710 | =end original | |
6711 | ||
6712 | (F) C<state> は、かっこなしで指定された単一の変数の初期化のみが | |
6713 | 許されています。 | |
6714 | 従って C<state $a = 42> と C<state @a = qw(a b c)> は許されますが、 | |
6715 | C<state ($a) = 42> や C<(state $a) = 42> は許されません。 | |
6716 | To initialize | |
6717 | more than one | |
6718 | 複数の C<state> 変数を初期化するには、一つずつ初期化してください。 | |
6719 | ||
6720 | =item %%s[%s] in scalar context better written as $%s[%s] | |
6721 | ||
6722 | =begin original | |
6723 | ||
6724 | (W syntax) In scalar context, you've used an array index/value slice | |
6725 | (indicated by %) to select a single element of an array. Generally | |
6726 | it's better to ask for a scalar value (indicated by $). The difference | |
6727 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it | |
6728 | returns and when evaluating its argument, while C<%foo[&bar]> provides | |
6729 | a list context to its subscript, which can do weird things if you're | |
6730 | expecting only one subscript. When called in list context, it also | |
6731 | returns the index (what C<&bar> returns) in addition to the value. | |
6732 | ||
6733 | =end original | |
6734 | ||
6735 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために | |
6736 | (% で示される)配列インデックス/値スライスを使いました。 | |
6737 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6738 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6739 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6740 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6741 | リストコンテキストで呼び出された場合、値に加えてインデックス | |
6742 | (C<&bar> が返すもの) を返します。 | |
6743 | ||
6744 | =item %%s{%s} in scalar context better written as $%s{%s} | |
6745 | ||
6746 | =begin original | |
6747 | ||
6748 | (W syntax) In scalar context, you've used a hash key/value slice | |
6749 | (indicated by %) to select a single element of a hash. Generally it's | |
6750 | better to ask for a scalar value (indicated by $). The difference | |
6751 | is that C<$foo{&bar}> always behaves like a scalar, both in the value | |
6752 | it returns and when evaluating its argument, while C<@foo{&bar}> and | |
6753 | provides a list context to its subscript, which can do weird things | |
6754 | if you're expecting only one subscript. When called in list context, | |
6755 | it also returns the key in addition to the value. | |
6756 | ||
6757 | =end original | |
6758 | ||
6759 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために | |
6760 | (% で示される)ハッシュキー/値スライスを使いました。 | |
6761 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6762 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6763 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6764 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6765 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 | |
6766 | ||
3790 | 6767 | =item Insecure dependency in %s |
3791 | 6768 | |
3792 | 6769 | =begin original |
3793 | 6770 | |
3794 | 6771 | (F) You tried to do something that the tainting mechanism didn't like. |
3795 | 6772 | The tainting mechanism is turned on when you're running setuid or |
3796 | 6773 | setgid, or when you specify B<-T> to turn it on explicitly. The |
3797 | 6774 | tainting mechanism labels all data that's derived directly or indirectly |
3798 | 6775 | from the user, who is considered to be unworthy of your trust. If any |
3799 | 6776 | such data is used in a "dangerous" operation, you get this error. See |
3800 | 6777 | L<perlsec> for more information. |
3801 | 6778 | |
3802 | 6779 | =end original |
3803 | 6780 | |
3804 | 6781 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
3805 | 6782 | 行なおうとしました。 |
3806 | 6783 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
3807 | 6784 | 汚染チェック機構が働きます。 |
3808 | 6785 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
3809 | 6786 | 指定したデータに印を付けます。 |
3810 | 6787 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
3811 | 6788 | 詳しくは、L<perlsec> を参照してください。 |
3812 | 6789 | |
3813 | 6790 | =item Insecure directory in %s |
3814 | 6791 | |
3815 | 6792 | =begin original |
3816 | 6793 | |
3817 | 6794 | (F) You can't use system(), exec(), or a piped open in a setuid or |
3818 | 6795 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
3819 | the world. | |
6796 | the world. Also, the PATH must not contain any relative directory. | |
6797 | See L<perlsec>. | |
3820 | 6798 | |
3821 | 6799 | =end original |
3822 | 6800 | |
3823 | 6801 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
3824 | 6802 | 含まれているとき、system()、exec()、パイプのオープンを |
3825 | 6803 | 行なうことはできません。 |
6804 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 | |
3826 | 6805 | L<perlsec> を参照してください。 |
3827 | 6806 | |
3828 | 6807 | =item Insecure $ENV{%s} while running %s |
3829 | 6808 | |
3830 | 6809 | =begin original |
3831 | 6810 | |
3832 | 6811 | (F) You can't use system(), exec(), or a piped open in a setuid or |
3833 | 6812 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
3834 | C<$ENV{ENV}> | |
6813 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data | |
3835 | potentially supplied) by the user. The script must set | |
6814 | supplied (or potentially supplied) by the user. The script must set | |
3836 | known value, using trustworthy data. See L<perlsec>. | |
6815 | the path to a known value, using trustworthy data. See L<perlsec>. | |
3837 | 6816 | |
3838 | 6817 | =end original |
3839 | 6818 | |
3840 | 6819 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
3841 | C<$ENV{BASH_ENV}> のいずれかがユーザーによって提供された | |
6820 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された | |
3842 | 提供された可能性のある)データの場合、setuid や setgid された | |
6821 | (あるいは提供された可能性のある)データの場合、setuid や setgid された | |
3843 | system(), exec(), パイプされる open を | |
6822 | スクリプトでは system(), exec(), パイプされる open を | |
6823 | 使うことはできません。 | |
3844 | 6824 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
3845 | 6825 | セットしなければなりません。 |
3846 | 6826 | L<perlsec> を参照してください。 |
3847 | 6827 | |
6828 | =item Insecure user-defined property %s | |
6829 | ||
6830 | =begin original | |
6831 | ||
6832 | (F) Perl detected tainted data when trying to compile a regular | |
6833 | expression that contains a call to a user-defined character property | |
6834 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. | |
6835 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. | |
6836 | ||
6837 | =end original | |
6838 | ||
6839 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の | |
6840 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを | |
6841 | 検出しました。 | |
6842 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を | |
6843 | 参照してください。 | |
6844 | ||
6845 | =item Integer overflow in format string for %s | |
6846 | ||
6847 | =begin original | |
6848 | ||
6849 | (F) The indexes and widths specified in the format string of C<printf()> | |
6850 | or C<sprintf()> are too large. The numbers must not overflow the size of | |
6851 | integers for your architecture. | |
6852 | ||
6853 | =end original | |
6854 | ||
6855 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや | |
6856 | 幅が大きすぎます。 | |
6857 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように | |
6858 | しなければなりません。 | |
6859 | ||
3848 | 6860 | =item Integer overflow in %s number |
3849 | 6861 | |
3850 | 6862 | =begin original |
3851 | 6863 | |
3852 | ( | |
6864 | (S overflow) The hexadecimal, octal or binary number you have specified | |
3853 | 6865 | either as a literal or as an argument to hex() or oct() is too big for |
3854 | 6866 | your architecture, and has been converted to a floating point number. |
3855 | 6867 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
3856 | 6868 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
3857 | 6869 | 0b11111111111111111111111111111111 respectively. Note that Perl |
3858 | 6870 | transparently promotes all numbers to a floating point representation |
3859 | 6871 | internally--subject to loss of precision errors in subsequent |
3860 | 6872 | operations. |
3861 | 6873 | |
3862 | 6874 | =end original |
3863 | 6875 | |
3864 | ( | |
6876 | (S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
3865 | 6877 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
3866 | 6878 | 変換されました。 |
3867 | 6879 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
3868 | 6880 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
3869 | 6881 | 0b11111111111111111111111111111111 です。 |
3870 | 6882 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
3871 | 6883 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
3872 | 6884 | |
3873 | =item Inte | |
6885 | =item Integer overflow in srand | |
3874 | 6886 | |
3875 | 6887 | =begin original |
3876 | 6888 | |
6889 | (S overflow) The number you have passed to srand is too big to fit | |
6890 | in your architecture's integer representation. The number has been | |
6891 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
6892 | architectures). This means you may be getting less randomness than | |
6893 | you expect, because different random seeds above the maximum will | |
6894 | return the same sequence of random numbers. | |
6895 | ||
6896 | =end original | |
6897 | ||
6898 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
6899 | 適合させるには大きすぎます。 | |
6900 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
6901 | 置き換えられました。 | |
6902 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
6903 | 想定しているよりもランダム性が低くなることを意味します。 | |
6904 | ||
6905 | =item Integer overflow in version | |
6906 | ||
6907 | =item Integer overflow in version %d | |
6908 | ||
6909 | =begin original | |
6910 | ||
6911 | (W overflow) Some portion of a version initialization is too large for | |
6912 | the size of integers for your architecture. This is not a warning | |
6913 | because there is no rational reason for a version to try and use an | |
6914 | element larger than typically 2**32. This is usually caused by trying | |
6915 | to use some odd mathematical operation as a version, like 100/9. | |
6916 | ||
6917 | =end original | |
6918 | ||
6919 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
6920 | 大きすぎます。 | |
6921 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な | |
6922 | 理由がないので、これは警告ではありません。 | |
6923 | これは普通、100/9 のようなおかしな数値演算をバージョンとして | |
6924 | 使おうとしたことによります。 | |
6925 | ||
6926 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ | |
6927 | ||
6928 | =begin original | |
6929 | ||
3877 | 6930 | (P) Something went badly wrong in the regular expression parser. |
3878 | The << HERE shows in the regular expression | |
6931 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
3879 | 6932 | discovered. |
3880 | 6933 | |
3881 | 6934 | =end original |
3882 | 6935 | |
3883 | 6936 | (P) 正規表現解析部に何か悪いことが起こりました。 |
3884 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
6937 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3885 | 6938 | |
3886 | 6939 | =item Internal inconsistency in tracking vforks |
3887 | 6940 | |
3888 | 6941 | =begin original |
3889 | 6942 | |
3890 | 6943 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
3891 | 6944 | you've called C<fork> and C<exec>, to determine whether the current call |
3892 | 6945 | to C<exec> should affect the current script or a subprocess (see |
3893 | 6946 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
3894 | 6947 | Perl is making a guess and treating this C<exec> as a request to |
3895 | 6948 | terminate the Perl script and execute the specified command. |
3896 | 6949 | |
3897 | 6950 | =end original |
3898 | 6951 | |
3899 | (S) VMS | |
6952 | (S) VMS に固有の警告です。 | |
3900 | 6953 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
3901 | 6954 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
3902 | 6955 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
3903 | 6956 | 参照してください)。 |
3904 | 6957 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
3905 | 6958 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
3906 | 6959 | 仮定して、そのように扱いました。 |
3907 | 6960 | |
3908 | =item | |
6961 | =item internal %<num>p might conflict with future printf extensions | |
3909 | 6962 | |
3910 | 6963 | =begin original |
3911 | 6964 | |
3912 | ( | |
6965 | (S internal) Perl's internal routine that handles C<printf> and C<sprintf> | |
3913 | ||
6966 | formatting follows a slightly different set of rules when called from | |
6967 | C or XS code. Specifically, formats consisting of digits followed | |
6968 | by "p" (e.g., "%7p") are reserved for future use. If you see this | |
6969 | message, then an XS module tried to call that routine with one such | |
6970 | reserved format. | |
3914 | 6971 | |
3915 | 6972 | =end original |
3916 | 6973 | |
6974 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の | |
6975 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に | |
6976 | 従います。 | |
6977 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の | |
6978 | 使用のために予約されています。 | |
6979 | このメッセージが表示された場合、XS モジュールはこのような予約された | |
6980 | フォーマットを使って呼び出そうとしました。 | |
6981 | ||
6982 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ | |
6983 | ||
6984 | =begin original | |
6985 | ||
6986 | (P) Something went badly awry in the regular expression parser. The | |
6987 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
6988 | discovered. | |
6989 | ||
6990 | =end original | |
6991 | ||
3917 | 6992 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
3918 | << | |
6993 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3919 | 6994 | |
3920 | 6995 | =item %s (...) interpreted as function |
3921 | 6996 | |
3922 | 6997 | =begin original |
3923 | 6998 | |
3924 | 6999 | (W syntax) You've run afoul of the rule that says that any list operator |
3925 | 7000 | followed by parentheses turns into a function, with all the list |
3926 | operators arguments found inside the parentheses. See | |
7001 | operators arguments found inside the parentheses. See | |
3927 | 7002 | L<perlop/Terms and List Operators (Leftward)>. |
3928 | 7003 | |
3929 | 7004 | =end original |
3930 | 7005 | |
3931 | (W syntax) リスト演算子の直後に | |
7006 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある | |
3932 | 持つ関数になる、という規則が適用されました。 | |
7007 | リスト演算子引数を持つ関数になる、という規則が適用されました。 | |
3933 | 7008 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
3934 | 7009 | |
7010 | =item In '(?...)', the '(' and '?' must be adjacent in regex; | |
7011 | marked by S<<-- HERE> in m/%s/ | |
7012 | ||
7013 | =begin original | |
7014 | ||
7015 | (F) The two-character sequence C<"(?"> in this context in a regular | |
7016 | expression pattern should be an indivisible token, with nothing | |
7017 | intervening between the C<"("> and the C<"?">, but you separated them | |
7018 | with whitespace. | |
7019 | ||
7020 | =end original | |
7021 | ||
7022 | (F) | |
7023 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
7024 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 | |
7025 | ||
7026 | =item In '(*...)', the '(' and '*' must be adjacent in regex; | |
7027 | marked by S<<-- HERE> in m/%s/ | |
7028 | ||
7029 | =begin original | |
7030 | ||
7031 | (F) The two-character sequence C<"(*"> in this context in a regular | |
7032 | expression pattern should be an indivisible token, with nothing | |
7033 | intervening between the C<"("> and the C<"*">, but you separated them. | |
7034 | Fix the pattern and retry. | |
7035 | ||
7036 | =end original | |
7037 | ||
7038 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
7039 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
7040 | 分割しました。 | |
7041 | パターンを修正して再挑戦してください。 | |
7042 | ||
3935 | 7043 | =item Invalid %s attribute: %s |
3936 | 7044 | |
3937 | 7045 | =begin original |
3938 | 7046 | |
3939 | The indicated attribute for a subroutine or variable was not recognized | |
7047 | (F) The indicated attribute for a subroutine or variable was not recognized | |
3940 | 7048 | by Perl or by a user-supplied handler. See L<attributes>. |
3941 | 7049 | |
3942 | 7050 | =end original |
3943 | 7051 | |
3944 | 示されたサブルーチンや変数の属性は | |
7052 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで | |
3945 | ||
7053 | 認識されませんでした。 | |
3946 | 7054 | L<attributes> を参照してください。 |
3947 | 7055 | |
3948 | 7056 | =item Invalid %s attributes: %s |
3949 | 7057 | |
3950 | 7058 | =begin original |
3951 | 7059 | |
3952 | The indicated attributes for a subroutine or variable were not | |
7060 | (F) The indicated attributes for a subroutine or variable were not | |
3953 | 7061 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
3954 | 7062 | |
3955 | 7063 | =end original |
3956 | 7064 | |
3957 | 示されたサブルーチンや変数の属性は | |
7065 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで | |
3958 | ||
7066 | 認識されませんでした。 | |
3959 | 7067 | L<attributes> を参照してください。 |
3960 | 7068 | |
7069 | =item Invalid character in charnames alias definition; marked by | |
7070 | S<<-- HERE> in '%s | |
7071 | ||
7072 | =begin original | |
7073 | ||
7074 | (F) You tried to create a custom alias for a character name, with | |
7075 | the C<:alias> option to C<use charnames> and the specified character in | |
7076 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
7077 | ||
7078 | =end original | |
7079 | ||
7080 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
7081 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
7082 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7083 | ||
7084 | =item Invalid \0 character in %s for %s: %s\0%s | |
7085 | ||
7086 | =begin original | |
7087 | ||
7088 | (W syscalls) Embedded \0 characters in pathnames or other system call | |
7089 | arguments produce a warning as of 5.20. The parts after the \0 were | |
7090 | formerly ignored by system calls. | |
7091 | ||
7092 | =end original | |
7093 | ||
7094 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は | |
7095 | 5.20 から警告を出力するようになりました。 | |
7096 | 以前は \0 の後の部分はシステムコールによって無視されていました。 | |
7097 | ||
7098 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} | |
7099 | ||
7100 | =begin original | |
7101 | ||
7102 | (F) Only certain characters are valid for character names. The | |
7103 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
7104 | ||
7105 | =end original | |
7106 | ||
7107 | (F) 文字名としては一部の文字のみが正当です。 | |
7108 | 示されたものは違います。 | |
7109 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7110 | ||
3961 | 7111 | =item Invalid conversion in %s: "%s" |
3962 | 7112 | |
3963 | 7113 | =begin original |
3964 | 7114 | |
3965 | 7115 | (W printf) Perl does not understand the given format conversion. See |
3966 | 7116 | L<perlfunc/sprintf>. |
3967 | 7117 | |
3968 | 7118 | =end original |
3969 | 7119 | |
3970 | 7120 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
3971 | 7121 | L<perlfunc/sprintf> を参照してください。 |
3972 | 7122 | |
3973 | =item | |
7123 | =item Invalid escape in the specified encoding in regex; marked by | |
7124 | S<<-- HERE> in m/%s/ | |
3974 | 7125 | |
3975 | 7126 | =begin original |
3976 | 7127 | |
7128 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 | |
7129 | didn't correspond to a single character through the conversion | |
7130 | from the encoding specified by the encoding pragma. | |
7131 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
7132 | instead, except within S<C<(?[ ])>>, where it is a fatal error. | |
7133 | The S<<-- HERE> shows whereabouts in the regular expression the | |
7134 | escape was discovered. | |
7135 | ||
7136 | =end original | |
7137 | ||
7138 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
7139 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 | |
7140 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; | |
7141 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 | |
7142 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
7143 | ||
7144 | =item Invalid hexadecimal number in \N{U+...} | |
7145 | ||
7146 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by | |
7147 | S<<-- HERE> in m/%s/ | |
7148 | ||
7149 | =begin original | |
7150 | ||
7151 | (F) The character constant represented by C<...> is not a valid hexadecimal | |
7152 | number. Either it is empty, or you tried to use a character other than | |
7153 | 0 - 9 or A - F, a - f in a hexadecimal number. | |
7154 | ||
7155 | =end original | |
7156 | ||
7157 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 | |
7158 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
7159 | ||
7160 | =item Invalid module name %s with -%c option: contains single ':' | |
7161 | ||
7162 | =begin original | |
7163 | ||
7164 | (F) The module argument to perl's B<-m> and B<-M> command-line options | |
7165 | cannot contain single colons in the module name, but only in the | |
7166 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but | |
7167 | B<-MFoo:Bar=baz> is not. | |
7168 | ||
7169 | =end original | |
7170 | ||
7171 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 | |
7172 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが | |
7173 | できます。 | |
7174 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は | |
7175 | そうではありません。 | |
7176 | ||
7177 | =item Invalid mro name: '%s' | |
7178 | ||
7179 | =begin original | |
7180 | ||
7181 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, | |
7182 | where C<foo> is not a valid method resolution order (MRO). Currently, | |
7183 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded | |
7184 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. | |
7185 | ||
7186 | =end original | |
7187 | ||
7188 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと | |
7189 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 | |
7190 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として | |
7191 | 有効なものは C<dfs> と C<c3> だけです。 | |
7192 | L<mro> と L<perlmroapi> を参照してください。 | |
7193 | ||
7194 | =item Invalid negative number (%s) in chr | |
7195 | ||
7196 | =begin original | |
7197 | ||
7198 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
7199 | not valid character numbers, so it returns the Unicode replacement | |
7200 | character (U+FFFD). | |
7201 | ||
7202 | =end original | |
7203 | ||
7204 | (W utf8) C<chr> に負数を渡しました。 | |
7205 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
7206 | ||
7207 | =item Invalid number '%s' for -C option. | |
7208 | ||
7209 | =begin original | |
7210 | ||
7211 | (F) You supplied a number to the -C option that either has extra leading | |
7212 | zeroes or overflows perl's unsigned integer representation. | |
7213 | ||
7214 | =end original | |
7215 | ||
7216 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
7217 | オーバーフローするといったような数値を指定しました。 | |
7218 | ||
7219 | =item invalid option -D%c, use -D'' to see choices | |
7220 | ||
7221 | =begin original | |
7222 | ||
7223 | (S debugging) Perl was called with invalid debugger flags. Call perl | |
7224 | with the B<-D> option with no flags to see the list of acceptable values. | |
7225 | See also L<perlrun/-Dletters>. | |
7226 | ||
7227 | =end original | |
7228 | ||
7229 | (F) Perl は不正なデバッガフラグで呼び出されました。 | |
7230 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて | |
7231 | perl を呼び出してください。 | |
7232 | L<< perlrun/B<-D>I<letters> >> も参照してください。 | |
7233 | ||
7234 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ | |
7235 | ||
7236 | =begin original | |
7237 | ||
7238 | (F) The pattern looks like a {min,max} quantifier, but the min or max | |
7239 | could not be parsed as a valid number - either it has leading zeroes, | |
7240 | or it represents too big a number to cope with. The S<<-- HERE> shows | |
7241 | where in the regular expression the problem was discovered. See L<perlre>. | |
7242 | ||
7243 | =end original | |
7244 | ||
7245 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が | |
7246 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 | |
7247 | 数値として扱うには大きすぎます。 | |
7248 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7249 | L<perlre> を参照してください。 | |
7250 | ||
7251 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7252 | ||
7253 | =begin original | |
7254 | ||
3977 | 7255 | (F) The range specified in a character class had a minimum character |
3978 | greater than the maximum character. | |
7256 | greater than the maximum character. One possibility is that you forgot the | |
7257 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only | |
7258 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the | |
7259 | problem was discovered. See L<perlre>. | |
3979 | 7260 | |
3980 | 7261 | =end original |
3981 | 7262 | |
3982 | 7263 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
7264 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を | |
7265 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか | |
7266 | なりません。 | |
7267 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3983 | 7268 | L<perlre> を参照してください。 |
3984 | 7269 | |
7270 | =item Invalid range "%s" in transliteration operator | |
7271 | ||
7272 | =begin original | |
7273 | ||
7274 | (F) The range specified in the tr/// or y/// operator had a minimum | |
7275 | character greater than the maximum character. See L<perlop>. | |
7276 | ||
7277 | =end original | |
7278 | ||
7279 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が | |
7280 | 大きいです。 | |
7281 | L<perlop> を参照してください。 | |
7282 | ||
7283 | =item Invalid reference to group in regex; marked by S<<-- HERE> in m/%s/ | |
7284 | ||
7285 | =begin original | |
7286 | ||
7287 | (F) The capture group you specified can't possibly exist because the | |
7288 | number you used is not within the legal range of possible values for | |
7289 | this machine. | |
7290 | ||
7291 | =end original | |
7292 | ||
7293 | (F) 指定した捕捉グループはおそらく存在できません; | |
7294 | 使われている数字がこの機械で可能な値の範囲の中でないからです。 | |
7295 | ||
3985 | 7296 | =item Invalid separator character %s in attribute list |
3986 | 7297 | |
3987 | 7298 | =begin original |
3988 | 7299 | |
3989 | 7300 | (F) Something other than a colon or whitespace was seen between the |
3990 | 7301 | elements of an attribute list. If the previous attribute had a |
3991 | 7302 | parenthesised parameter list, perhaps that list was terminated too soon. |
3992 | 7303 | See L<attributes>. |
3993 | 7304 | |
3994 | 7305 | =end original |
3995 | 7306 | |
3996 | 7307 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
3997 | 7308 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
3998 | 7309 | 予定より早く終端されています。 |
3999 | 7310 | L<attributes> を参照してください。 |
4000 | 7311 | |
4001 | =item Invalid | |
7312 | =item Invalid separator character %s in PerlIO layer specification %s | |
4002 | 7313 | |
4003 | 7314 | =begin original |
4004 | 7315 | |
4005 | ( | |
7316 | (W layer) When pushing layers onto the Perl I/O system, something other | |
4006 | ||
7317 | than a colon or whitespace was seen between the elements of a layer list. | |
4007 | si | |
7318 | If the previous attribute had a parenthesised parameter list, perhaps that | |
7319 | list was terminated too soon. | |
4008 | 7320 | |
4009 | 7321 | =end original |
4010 | 7322 | |
4011 | ( | |
7323 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に | |
4012 | ||
7324 | コロンと空白以外のものがありました。 | |
4013 | ||
7325 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが | |
4014 | ||
7326 | 予定より早く終端されています。 | |
4015 | 7327 | |
4016 | =item Invalid t | |
7328 | =item Invalid strict version format (%s) | |
4017 | 7329 | |
4018 | 7330 | =begin original |
4019 | 7331 | |
4020 | (F) | |
7332 | (F) A version number did not meet the "strict" criteria for versions. | |
4021 | ||
7333 | A "strict" version number is a positive decimal number (integer or | |
4022 | ||
7334 | decimal-fraction) without exponentiation or else a dotted-decimal | |
7335 | v-string with a leading 'v' character and at least three components. | |
7336 | The parenthesized text indicates which criteria were not met. | |
7337 | See the L<version> module for more details on allowed version formats. | |
7338 | ||
7339 | =end original | |
7340 | ||
7341 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 | |
7342 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 | |
7343 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも | |
7344 | 三つの部分からなるものです。 | |
7345 | かっこで囲まれたテキストは問題の基準を示しています。 | |
7346 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
7347 | L<version> モジュールを参照してください。 | |
7348 | ||
7349 | =item Invalid type '%s' in %s | |
7350 | ||
7351 | =begin original | |
7352 | ||
7353 | (F) The given character is not a valid pack or unpack type. | |
7354 | See L<perlfunc/pack>. | |
7355 | ||
7356 | =end original | |
7357 | ||
7358 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 | |
7359 | L<perlfunc/pack> を参照してください。 | |
7360 | ||
7361 | =begin original | |
7362 | ||
7363 | (W) The given character is not a valid pack or unpack type but used to be | |
4023 | 7364 | silently ignored. |
4024 | 7365 | |
4025 | 7366 | =end original |
4026 | 7367 | |
4027 | ( | |
7368 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に | |
4028 | L<perlfunc/unpack> を参照してください。 | |
4029 | (W unpack) 与えられた文字は有効な unpack の型ではありませんが、暗黙に | |
4030 | 7369 | 無視されました。 |
4031 | 7370 | |
7371 | =item Invalid version format (%s) | |
7372 | ||
7373 | =begin original | |
7374 | ||
7375 | (F) A version number did not meet the "lax" criteria for versions. | |
7376 | A "lax" version number is a positive decimal number (integer or | |
7377 | decimal-fraction) without exponentiation or else a dotted-decimal | |
7378 | v-string. If the v-string has fewer than three components, it | |
7379 | must have a leading 'v' character. Otherwise, the leading 'v' is | |
7380 | optional. Both decimal and dotted-decimal versions may have a | |
7381 | trailing "alpha" component separated by an underscore character | |
7382 | after a fractional or dotted-decimal component. The parenthesized | |
7383 | text indicates which criteria were not met. See the L<version> module | |
7384 | for more details on allowed version formats. | |
7385 | ||
7386 | =end original | |
7387 | ||
7388 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 | |
7389 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 | |
7390 | あるいはどっと付き 10 進 v-文字列です。 | |
7391 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 | |
7392 | さもなければ、先頭の 'v' はオプションです。 | |
7393 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 | |
7394 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 | |
7395 | かっこで囲まれたテキストは問題の基準を示しています。 | |
7396 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
7397 | L<version> モジュールを参照してください。 | |
7398 | ||
7399 | =item Invalid version object | |
7400 | ||
7401 | =begin original | |
7402 | ||
7403 | (F) The internal structure of the version object was invalid. | |
7404 | Perhaps the internals were modified directly in some way or | |
7405 | an arbitrary reference was blessed into the "version" class. | |
7406 | ||
7407 | =end original | |
7408 | ||
7409 | (F) バージョンオブジェクトの内部構造が不正です。 | |
7410 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが | |
7411 | "version" クラスとして bless されました。 | |
7412 | ||
7413 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; | |
7414 | marked by S<<-- HERE> in m/%s/ | |
7415 | ||
7416 | =item Inverting a character class which contains a multi-character | |
7417 | sequence is illegal in regex; marked by <-- HERE in m/%s/ | |
7418 | ||
7419 | =begin original | |
7420 | ||
7421 | (F) You wrote something like | |
7422 | ||
7423 | =end original | |
7424 | ||
7425 | (F) 次のようなものを書きました: | |
7426 | ||
7427 | qr/\P{name=KATAKANA LETTER AINU P}/ | |
7428 | qr/[^\p{name=KATAKANA LETTER AINU P}]/ | |
7429 | ||
7430 | =begin original | |
7431 | ||
7432 | This name actually evaluates to a sequence of two Katakana characters, | |
7433 | not just a single one, and it is illegal to try to take the complement | |
7434 | of a sequence. (Mathematically it would mean any sequence of characters | |
7435 | from 0 to infinity in length that weren't these two in a row, and that | |
7436 | is likely not of any real use.) | |
7437 | ||
7438 | =end original | |
7439 | ||
7440 | この名前は実際には一つではなく二つのカタカナ文字の並びに評価され、 | |
7441 | 並びの反転を取ろうとするのは不正です。 | |
7442 | (数学的には、これはこれら二つが並んでいるもの以外の長さ 0 から無限の | |
7443 | 任意の文字並びを意味しますが、おそらく実際の用途ではないでしょう。) | |
7444 | ||
7445 | =begin original | |
7446 | ||
7447 | (F) The two-character sequence C<"(*"> in this context in a regular | |
7448 | expression pattern should be an indivisible token, with nothing | |
7449 | intervening between the C<"("> and the C<"*">, but you separated them. | |
7450 | ||
7451 | =end original | |
7452 | ||
7453 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
7454 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
7455 | 分割しました。 | |
7456 | ||
4032 | 7457 | =item ioctl is not implemented |
4033 | 7458 | |
4034 | 7459 | =begin original |
4035 | 7460 | |
4036 | 7461 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
4037 | 7462 | strange for a machine that supports C. |
4038 | 7463 | |
4039 | 7464 | =end original |
4040 | 7465 | |
4041 | 7466 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
4042 | 7467 | このマシンでは ioctl() が実装されていないようです。 |
4043 | 7468 | |
4044 | =item | |
7469 | =item ioctl() on unopened %s | |
4045 | 7470 | |
4046 | 7471 | =begin original |
4047 | 7472 | |
4048 | (W | |
7473 | (W unopened) You tried ioctl() on a filehandle that was never opened. | |
4049 | ||
7474 | Check your control flow and number of arguments. | |
4050 | to a subroutine. | |
4051 | 7475 | |
4052 | 7476 | =end original |
4053 | 7477 | |
4054 | (W | |
7478 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 | |
4055 | ||
7479 | 制御フローと引数の数をチェックしてください。 | |
7480 | ||
7481 | =item IO layers (like '%s') unavailable | |
7482 | ||
7483 | =begin original | |
7484 | ||
7485 | (F) Your Perl has not been configured to have PerlIO, and therefore | |
7486 | you cannot use IO layers. To have PerlIO, Perl must be configured | |
7487 | with 'useperlio'. | |
7488 | ||
7489 | =end original | |
7490 | ||
7491 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 | |
7492 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 | |
7493 | ||
7494 | =item IO::Socket::atmark not implemented on this architecture | |
7495 | ||
7496 | =begin original | |
7497 | ||
7498 | (F) Your machine doesn't implement the sockatmark() functionality, | |
7499 | neither as a system call nor an ioctl call (SIOCATMARK). | |
7500 | ||
7501 | =end original | |
7502 | ||
7503 | (F) 実行されているマシンでは、システムコールでも | |
7504 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 | |
7505 | ||
7506 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ | |
7507 | ||
7508 | =begin original | |
7509 | ||
7510 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to | |
7511 | Perl. The current valid ones are given in | |
7512 | L<perlrebackslash/\b{}, \b, \B{}, \B>. | |
7513 | ||
7514 | =end original | |
7515 | ||
7516 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は | |
7517 | Perl が知らないものでした。 | |
7518 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 | |
7519 | ||
7520 | =item %s is forbidden - matches null string many times in regex; marked by S<<-- HERE> in | |
7521 | m/%s/ | |
7522 | ||
7523 | =begin original | |
7524 | ||
7525 | (F) The pattern you've specified might cause the regular expression to | |
7526 | infinite loop so it is forbidden. The S<<-- HERE> | |
7527 | shows whereabouts in the regular expression the problem was discovered. | |
7528 | See L<perlre>. | |
7529 | ||
7530 | =end original | |
7531 | ||
7532 | (F) 指定されたパターンは、正規表現が無限ループを引き起こすかもしれないので、 | |
7533 | 禁止されています。 | |
7534 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7535 | L<perlre> を参照してください。 | |
7536 | ||
7537 | =item %s() isn't allowed on :utf8 handles | |
7538 | ||
7539 | =begin original | |
7540 | ||
7541 | (F) The sysread(), recv(), syswrite() and send() operators are | |
7542 | not allowed on handles that have the C<:utf8> layer, either explicitly, or | |
7543 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
7544 | ||
7545 | =end original | |
7546 | ||
7547 | (F) sysread(), recv(), syswrite() and send() 演算子は、 | |
7548 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
7549 | C<:utf8> 層を持つハンドルに対しては許されません。 | |
7550 | ||
7551 | =begin original | |
7552 | ||
7553 | Previously sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
7554 | ignoring the actual layers. Since sysread() and recv() did no UTF-8 | |
7555 | validation they can end up creating invalidly encoded scalars. | |
7556 | ||
7557 | =end original | |
7558 | ||
7559 | 以前は、sysread() と recv() は現在の所ストリームに対して | |
7560 | C<:utf8> フラグのみを使い、実際の層は無視します。 | |
7561 | sysread() と recv() は UTF-8 の検証を行っていなかったので、 | |
7562 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
7563 | ||
7564 | =begin original | |
7565 | ||
7566 | Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring | |
7567 | any layers. If the flag is set, both wrote the value UTF-8 encoded, even if | |
7568 | the layer is some different encoding, such as the example above. | |
7569 | ||
7570 | =end original | |
7571 | ||
7572 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
7573 | それ以外は全ての層を無視していました。 | |
7574 | フラグがセットされると、例え層が前述の例のように異なった | |
7575 | エンコーディングでも、UTF-8 エンコードされた値を書き込んでいました。 | |
7576 | ||
7577 | =begin original | |
7578 | ||
7579 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
7580 | working only with bytes, but this would result in silently breaking existing | |
7581 | code. | |
7582 | ||
7583 | =end original | |
7584 | ||
7585 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
7586 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
7587 | 壊すことになります。 | |
7588 | ||
7589 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7590 | ||
7591 | =begin original | |
7592 | ||
7593 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
7594 | ||
7595 | =end original | |
7596 | ||
7597 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
7598 | ||
7599 | =begin original | |
7600 | ||
7601 | You specified a character that has the given plainer way of writing it, and | |
7602 | which is also portable to platforms running with different character sets. | |
7603 | ||
7604 | =end original | |
7605 | ||
7606 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される | |
7607 | プラットフォーム間で移植性のある文字を指定しました。 | |
7608 | ||
7609 | =item $* is no longer supported as of Perl 5.30 | |
7610 | ||
7611 | =begin original | |
7612 | ||
7613 | (F) The special variable C<$*>, deprecated in older perls, was removed in | |
7614 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. In | |
7615 | previous versions of perl the use of C<$*> enabled or disabled multi-line | |
7616 | matching within a string. | |
7617 | ||
7618 | =end original | |
7619 | ||
7620 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は、 | |
7621 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
7622 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または | |
7623 | 無効にするために使っていました。 | |
7624 | ||
7625 | =begin original | |
7626 | ||
7627 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp | |
7628 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
7629 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
7630 | then all regular expressions behaved as if they were written using C</m>.) | |
7631 | ||
7632 | =end original | |
7633 | ||
7634 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を | |
7635 | 使うべきです。 | |
7636 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を | |
7637 | 有効にできます。 | |
7638 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は | |
7639 | C</m> を使って書かれたかのように振る舞っていました。) | |
7640 | ||
7641 | =begin original | |
7642 | ||
7643 | Use of this variable will be a fatal error in Perl 5.30. | |
7644 | ||
7645 | =end original | |
7646 | ||
7647 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
7648 | ||
7649 | =item $# is no longer supported as of Perl 5.30 | |
7650 | ||
7651 | =begin original | |
7652 | ||
7653 | (F) The special variable C<$#>, deprecated in older perls, was removed as of | |
7654 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. You | |
7655 | should use the printf/sprintf functions instead. | |
7656 | ||
7657 | =end original | |
7658 | ||
7659 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は、 | |
7660 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
7661 | 代わりに printf/sprintf 関数を使うべきです。 | |
7662 | ||
7663 | =item '%s' is not a code reference | |
7664 | ||
7665 | =begin original | |
7666 | ||
7667 | (W overload) The second (fourth, sixth, ...) argument of | |
7668 | overload::constant needs to be a code reference. Either | |
7669 | an anonymous subroutine, or a reference to a subroutine. | |
7670 | ||
7671 | =end original | |
7672 | ||
7673 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は | |
7674 | コードリファレンスである必要があります。 | |
4056 | 7675 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
4057 | 7676 | |
4058 | =item | |
7677 | =item '%s' is not an overloadable type | |
4059 | 7678 | |
4060 | 7679 | =begin original |
4061 | 7680 | |
4062 | (W) You tried to overload a constant type the overload package is | |
7681 | (W overload) You tried to overload a constant type the overload package is | |
7682 | unaware of. | |
4063 | 7683 | |
4064 | 7684 | =end original |
4065 | 7685 | |
4066 | (W) オーバーロードパッケージが知らない定数型を | |
7686 | (W overload) オーバーロードパッケージが知らない定数型を | |
7687 | オーバーロードしようとしました。 | |
4067 | 7688 | |
4068 | =item | |
7689 | =item '%s' is not recognised as a builtin function | |
4069 | 7690 | |
4070 | 7691 | =begin original |
4071 | 7692 | |
7693 | (F) An attempt was made to C<use> the L<builtin> pragma module to create | |
7694 | a lexical alias for an unknown function name. | |
7695 | ||
7696 | =end original | |
7697 | ||
7698 | (F) 不明な関数名のレキシカルな別名を作るために | |
7699 | L<builtin> プラグマモジュールを C<use> しようとしました。 | |
7700 | ||
7701 | =item -i used with no filenames on the command line, reading from STDIN | |
7702 | ||
7703 | =begin original | |
7704 | ||
7705 | (S inplace) The C<-i> option was passed on the command line, indicating | |
7706 | that the script is intended to edit files in place, but no files were | |
7707 | given. This is usually a mistake, since editing STDIN in place doesn't | |
7708 | make sense, and can be confusing because it can make perl look like | |
7709 | it is hanging when it is really just trying to read from STDIN. You | |
7710 | should either pass a filename to edit, or remove C<-i> from the command | |
7711 | line. See L<perlrun|perlrun/-i[extension]> for more details. | |
7712 | ||
7713 | =end original | |
7714 | ||
7715 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは | |
7716 | スクリプトがファイルをその場で編集することを示していますが、ファイルが | |
7717 | 指定されませんでした。 | |
7718 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
7719 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
7720 | ハングしているように見えることがあるので混乱を引き起こします。 | |
7721 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
7722 | 取り除いてください。 | |
7723 | さらなる詳細については L<perlrun|perlrun/-i[extension]> を参照してください。 | |
7724 | ||
7725 | =item Junk on end of regexp in regex m/%s/ | |
7726 | ||
7727 | =begin original | |
7728 | ||
4072 | 7729 | (P) The regular expression parser is confused. |
4073 | 7730 | |
4074 | 7731 | =end original |
4075 | 7732 | |
4076 | 7733 | (P) 正規表現の構文解析ができなくなりました。 |
4077 | 7734 | |
7735 | =item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/ | |
7736 | ||
7737 | =begin original | |
7738 | ||
7739 | (F) Your regular expression used C<\K> in a lookahead or lookbehind | |
7740 | assertion, which currently isn't permitted. | |
7741 | ||
7742 | =end original | |
7743 | ||
7744 | (F) この正規表現は先読みや後読みの言明の中で C<\K> を使っています; | |
7745 | これは今のところ許されていません。 | |
7746 | ||
7747 | =begin original | |
7748 | ||
7749 | This may change in the future, see L<Support \K in | |
7750 | lookarounds|https://github.com/Perl/perl5/issues/18134>. | |
7751 | ||
7752 | =end original | |
7753 | ||
7754 | これは将来変更されるかもしれません; | |
7755 | L<Support \K in lookarounds|https://github.com/Perl/perl5/issues/18134> を | |
7756 | 参照してください。 | |
7757 | ||
4078 | 7758 | =item Label not found for "last %s" |
4079 | 7759 | |
4080 | 7760 | =begin original |
4081 | 7761 | |
4082 | 7762 | (F) You named a loop to break out of, but you're not currently in a loop |
4083 | 7763 | of that name, not even if you count where you were called from. See |
4084 | 7764 | L<perlfunc/last>. |
4085 | 7765 | |
4086 | 7766 | =end original |
4087 | 7767 | |
4088 | 7768 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
4089 | 7769 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
4090 | 7770 | L<perlfunc/last> を参照してください。 |
4091 | 7771 | |
4092 | 7772 | =item Label not found for "next %s" |
4093 | 7773 | |
4094 | 7774 | =begin original |
4095 | 7775 | |
4096 | 7776 | (F) You named a loop to continue, but you're not currently in a loop of |
4097 | 7777 | that name, not even if you count where you were called from. See |
4098 | 7778 | L<perlfunc/last>. |
4099 | 7779 | |
4100 | 7780 | =end original |
4101 | 7781 | |
4102 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
7782 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に | |
4103 | ||
7783 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4104 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4105 | 7784 | L<perlfunc/last> を参照してください。 |
4106 | 7785 | |
4107 | 7786 | =item Label not found for "redo %s" |
4108 | 7787 | |
4109 | 7788 | =begin original |
4110 | 7789 | |
4111 | 7790 | (F) You named a loop to restart, but you're not currently in a loop of |
4112 | 7791 | that name, not even if you count where you were called from. See |
4113 | 7792 | L<perlfunc/last>. |
4114 | 7793 | |
4115 | 7794 | =end original |
4116 | 7795 | |
4117 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
7796 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に | |
4118 | ||
7797 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4119 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4120 | 7798 | L<perlfunc/last> を参照してください。 |
4121 | 7799 | |
4122 | 7800 | =item leaving effective %s failed |
4123 | 7801 | |
4124 | 7802 | =begin original |
4125 | 7803 | |
4126 | 7804 | (F) While under the C<use filetest> pragma, switching the real and |
4127 | 7805 | effective uids or gids failed. |
4128 | 7806 | |
4129 | 7807 | =end original |
4130 | 7808 | |
4131 | 7809 | (F) C<use filetest> プラグマを使っている間に、 |
4132 | 7810 | 実と実効の UID や GID の切り替えに失敗しました。 |
4133 | 7811 | |
7812 | =item length/code after end of string in unpack | |
7813 | ||
7814 | =begin original | |
7815 | ||
7816 | (F) While unpacking, the string buffer was already used up when an unpack | |
7817 | length/code combination tried to obtain more data. This results in | |
7818 | an undefined value for the length. See L<perlfunc/pack>. | |
7819 | ||
7820 | =end original | |
7821 | ||
7822 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを | |
7823 | unpack するときに文字列バッファが既に使い切っていました。 | |
7824 | これにより、長さが未定義値となります。 | |
7825 | L<perlfunc/pack> を参照してください。 | |
7826 | ||
7827 | =item length() used on %s (did you mean "scalar(%s)"?) | |
7828 | ||
7829 | =begin original | |
7830 | ||
7831 | (W syntax) You used length() on either an array or a hash when you | |
7832 | probably wanted a count of the items. | |
7833 | ||
7834 | =end original | |
7835 | ||
7836 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して | |
7837 | length() を使いました。 | |
7838 | ||
7839 | =begin original | |
7840 | ||
7841 | Array size can be obtained by doing: | |
7842 | ||
7843 | =end original | |
7844 | ||
7845 | 配列の大きさは以下のようにして得られます: | |
7846 | ||
7847 | scalar(@array); | |
7848 | ||
7849 | =begin original | |
7850 | ||
7851 | The number of items in a hash can be obtained by doing: | |
7852 | ||
7853 | =end original | |
7854 | ||
7855 | ハッシュの要素数は以下のようにして得られます: | |
7856 | ||
7857 | scalar(keys %hash); | |
7858 | ||
7859 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input | |
7860 | ||
7861 | =begin original | |
7862 | ||
7863 | (F) An extension is attempting to insert text into the current parse | |
7864 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that | |
7865 | couldn't be part of the current input. This is an inherent pitfall | |
7866 | of the stuffing mechanism, and one of the reasons to avoid it. Where | |
7867 | it is necessary to stuff, stuffing only plain ASCII is recommended. | |
7868 | ||
7869 | =end original | |
7870 | ||
7871 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や | |
7872 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 | |
7873 | 現在の入力の一部となることができない文字を挿入しようとしました。 | |
7874 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 | |
7875 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 | |
7876 | ||
7877 | =item Lexing code internal error (%s) | |
7878 | ||
7879 | =begin original | |
7880 | ||
7881 | (F) Lexing code supplied by an extension violated the lexer's API in a | |
7882 | detectable way. | |
7883 | ||
7884 | =end original | |
7885 | ||
7886 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で | |
7887 | 文法解析器の API に違反しています。 | |
7888 | ||
4134 | 7889 | =item listen() on closed socket %s |
4135 | 7890 | |
4136 | 7891 | =begin original |
4137 | 7892 | |
4138 | 7893 | (W closed) You tried to do a listen on a closed socket. Did you forget |
4139 | 7894 | to check the return value of your socket() call? See |
4140 | 7895 | L<perlfunc/listen>. |
4141 | 7896 | |
4142 | 7897 | =end original |
4143 | 7898 | |
4144 | 7899 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
4145 | 7900 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
4146 | 7901 | L<perlfunc/listen> を参照してください。 |
4147 | 7902 | |
4148 | =item Loo | |
7903 | =item List form of piped open not implemented | |
4149 | 7904 | |
4150 | 7905 | =begin original |
4151 | 7906 | |
4152 | ||
7907 | (F) On some platforms, notably Windows, the three-or-more-arguments | |
4153 | re | |
7908 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. | |
7909 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. | |
4154 | 7910 | |
4155 | 7911 | =end original |
4156 | 7912 | |
4157 | ( | |
7913 | (F) 一部のプラットフォーム、特に Windows では、 | |
7914 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の | |
7915 | C<open> ではパイプに対応していません。 | |
7916 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 | |
4158 | 7917 | |
4159 | =item L | |
7918 | =item Literal vertical space in [] is illegal except under /x in regex; | |
7919 | marked by S<<-- HERE> in m/%s/ | |
4160 | 7920 | |
4161 | 7921 | =begin original |
4162 | 7922 | |
4163 | (F) | |
7923 | (F) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
4164 | values cannot be returned in subroutines used in lvalue context. See | |
4165 | L<perlsub/"Lvalue subroutines">. | |
4166 | 7924 | |
4167 | 7925 | =end original |
4168 | 7926 | |
4169 | (F) | |
7927 | (F) (C<S<use re 'strict'>> の下、または C<(?[...])> の内側のみ) | |
4170 | 配列とハッシュの値を返すことができません。 | |
4171 | L<perlsub/"Lvalue subroutines"> を参照してください。 | |
4172 | 7928 | |
4173 | = | |
7929 | =begin original | |
4174 | 7930 | |
7931 | Likely you forgot the C</x> modifier or there was a typo in the pattern. | |
7932 | For example, did you really mean to match a form-feed? If so, all the | |
7933 | ASCII vertical space control characters are representable by escape | |
7934 | sequences which won't present such a jarring appearance as your pattern | |
7935 | does when displayed. | |
7936 | ||
7937 | =end original | |
7938 | ||
7939 | おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。 | |
7940 | 例えば、本当に改ページとマッチングしたかったのですか? | |
7941 | もしそうなら、全ての ASCII の垂直スペース制御文字は、 | |
7942 | パターンを表示したときに不愉快な形で表現されることのない、 | |
7943 | エスケープシーケンスによって表現できます。 | |
7944 | ||
7945 | \r carriage return | |
7946 | \f form feed | |
7947 | \n line feed | |
7948 | \cK vertical tab | |
7949 | ||
7950 | =item %s: loadable library and perl binaries are mismatched (got %s handshake key %p, needed %p) | |
7951 | ||
4175 | 7952 | =begin original |
4176 | 7953 | |
7954 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the | |
7955 | process that was built against a different build of perl than the | |
7956 | said library was compiled against. Reinstalling the XS module will | |
7957 | likely fix this error. | |
7958 | ||
7959 | =end original | |
7960 | ||
7961 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが | |
7962 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 | |
7963 | XS モジュールを再インストールすることでおそらくこのエラーは | |
7964 | 修正されるでしょう。 | |
7965 | ||
7966 | =item Locale '%s' contains (at least) the following characters which | |
7967 | have unexpected meanings: %s The Perl program will use the expected | |
7968 | meanings | |
7969 | ||
7970 | =begin original | |
7971 | ||
7972 | (W locale) You are using the named UTF-8 locale. UTF-8 locales are | |
7973 | expected to have very particular behavior, which most do. This message | |
7974 | arises when perl found some departures from the expectations, and is | |
7975 | notifying you that the expected behavior overrides these differences. | |
7976 | In some cases the differences are caused by the locale definition being | |
7977 | defective, but the most common causes of this warning are when there are | |
7978 | ambiguities and conflicts in following the Standard, and the locale has | |
7979 | chosen an approach that differs from Perl's. | |
7980 | ||
7981 | =end original | |
7982 | ||
7983 | (W locale) 名前付きの UTF-8 ロケールを使っています。 | |
7984 | UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが | |
7985 | 想定されています。 | |
7986 | このメッセージは、perl がこの想定との違いを発見し、その違いを | |
7987 | 想定される振る舞いで上書きしたことを通知するときに発生します。 | |
7988 | 違いはロケール定義に問題があることによる場合もありますが、 | |
7989 | この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、 | |
7990 | ロケールが Perl のものと異なる手法を選んだときです。 | |
7991 | ||
7992 | =begin original | |
7993 | ||
7994 | One of these is because that, contrary to the claims, Unicode is not | |
7995 | completely locale insensitive. Turkish and some related languages | |
7996 | have two types of C<"I"> characters. One is dotted in both upper- and | |
7997 | lowercase, and the other is dotless in both cases. Unicode allows a | |
7998 | locale to use either the Turkish rules, or the rules used in all other | |
7999 | instances, where there is only one type of C<"I">, which is dotless in | |
8000 | the uppercase, and dotted in the lower. The perl core does not (yet) | |
8001 | handle the Turkish case, and this message warns you of that. Instead, | |
8002 | the L<Unicode::Casing> module allows you to mostly implement the Turkish | |
8003 | casing rules. | |
8004 | ||
8005 | =end original | |
8006 | ||
8007 | その一つは、主張に反して、Unicode が完全にロケールに依存しない | |
8008 | 訳ではないからです。 | |
8009 | トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。 | |
8010 | 一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが | |
8011 | ありません。 | |
8012 | Unicode はロケールがトルコ語の規則と、その他全ての場合に | |
8013 | 使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、 | |
8014 | 小文字にはドットがあるもの、のどちらを使うことも許しています。 | |
8015 | perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを | |
8016 | 警告します。 | |
8017 | 代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ | |
8018 | 実装しています。 | |
8019 | ||
8020 | =begin original | |
8021 | ||
8022 | The other common cause is for the characters | |
8023 | ||
8024 | =end original | |
8025 | ||
8026 | その他のよくある原因は次の文字です: | |
8027 | ||
8028 | $ + < = > ^ ` | ~ | |
8029 | ||
8030 | =begin original | |
8031 | ||
8032 | These are problematic. The C standard says that these should be | |
8033 | considered punctuation in the C locale (and the POSIX standard defers to | |
8034 | the C standard), and Unicode is generally considered a superset of | |
8035 | the C locale. But Unicode has added an extra category, "Symbol", and | |
8036 | classifies these particular characters as being symbols. Most UTF-8 | |
8037 | locales have them treated as punctuation, so that L<ispunct(2)> returns | |
8038 | non-zero for them. But a few locales have it return 0. Perl takes | |
8039 | the first approach, not using C<ispunct()> at all (see L<Note [5] in | |
8040 | perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you | |
8041 | are getting Perl's approach, not the locale's. | |
8042 | ||
8043 | =end original | |
8044 | ||
8045 | これらには問題があります。 | |
8046 | C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて | |
8047 | (そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの | |
8048 | 上位集合と考えられています。 | |
8049 | しかし Unicode は、"Symbol" というカテゴリが追加され、 | |
8050 | これはこれらの文字をシンボルとして分類しています。 | |
8051 | ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、 | |
8052 | L<ispunct(2)> はこれらに対して非 0 を返します。 | |
8053 | しかしいくつかのロケールでは 0 を返します。 | |
8054 | Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in | |
8055 | perlrecharclass|perlrecharclass/[5]> 参照)、 | |
8056 | このメッセージはロケールのものではなく Perl の手法をとったことを | |
8057 | 知らせるために発生します。 | |
8058 | ||
8059 | =item Locale '%s' may not work well.%s | |
8060 | ||
8061 | =begin original | |
8062 | ||
8063 | (W locale) You are using the named locale, which is a non-UTF-8 one, and | |
8064 | which perl has determined is not fully compatible with what it can | |
8065 | handle. The second C<%s> gives a reason. | |
8066 | ||
8067 | =end original | |
8068 | ||
8069 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 | |
8070 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 | |
8071 | 2 番目の C<%s> に理由があります。 | |
8072 | ||
8073 | =begin original | |
8074 | ||
8075 | By far the most common reason is that the locale has characters in it | |
8076 | that are represented by more than one byte. The only such locales that | |
8077 | Perl can handle are the UTF-8 locales. Most likely the specified locale | |
8078 | is a non-UTF-8 one for an East Asian language such as Chinese or | |
8079 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it | |
8080 | may work in Perl. | |
8081 | ||
8082 | =end original | |
8083 | ||
8084 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を | |
8085 | 持っていることです。 | |
8086 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 | |
8087 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の | |
8088 | 非 UTF-8 のものです。 | |
8089 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 | |
8090 | ||
8091 | =begin original | |
8092 | ||
8093 | Some essentially obsolete locales that aren't supersets of ASCII, mainly | |
8094 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have | |
8095 | problems, depending on what portions of the ASCII character set get | |
8096 | changed by the locale and are also used by the program. | |
8097 | The warning message lists the determinable conflicting characters. | |
8098 | ||
8099 | =end original | |
8100 | ||
8101 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような | |
8102 | その他の 7 ビットロケールも問題になり得ます; | |
8103 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで | |
8104 | 使われるかによります。 | |
8105 | 警告メッセージは決定できる衝突している文字を一覧表示します。 | |
8106 | ||
8107 | =begin original | |
8108 | ||
8109 | Note that not all incompatibilities are found. | |
8110 | ||
8111 | =end original | |
8112 | ||
8113 | 全ての非互換性が発見されるわけではないことに注意してください。 | |
8114 | ||
8115 | =begin original | |
8116 | ||
8117 | If this happens to you, there's not much you can do except switch to use a | |
8118 | different locale or use L<Encode> to translate from the locale into | |
8119 | UTF-8; if that's impracticable, you have been warned that some things | |
8120 | may break. | |
8121 | ||
8122 | =end original | |
8123 | ||
8124 | これが起きた場合、異なるロケールを使うように変更するか、 | |
8125 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に | |
8126 | できることはあまりありません; もしそれができないなら、 | |
8127 | あなたは何かが壊れるかもしれないことを警告されました。 | |
8128 | ||
8129 | =begin original | |
8130 | ||
8131 | This message is output once each time a bad locale is switched into | |
8132 | within the scope of C<S<use locale>>, or on the first possibly-affected | |
8133 | operation if the C<S<use locale>> inherits a bad one. It is not raised | |
8134 | for any operations from the L<POSIX> module. | |
8135 | ||
8136 | =end original | |
8137 | ||
8138 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった | |
8139 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は | |
8140 | 最初の影響があるかもしれない操作の時点で出力されます。 | |
8141 | これは L<POSIX> モジュールの操作では発生しません。 | |
8142 | ||
8143 | =item localtime(%f) failed | |
8144 | ||
8145 | =begin original | |
8146 | ||
8147 | (W overflow) You called C<localtime> with a number that it could not handle: | |
8148 | too large, too small, or NaN. The returned value is C<undef>. | |
8149 | ||
8150 | =end original | |
8151 | ||
8152 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり | |
8153 | 小さすぎたり NaN だったりです。 | |
8154 | 返り値は C<undef> です。 | |
8155 | ||
8156 | =item localtime(%f) too large | |
8157 | ||
8158 | =begin original | |
8159 | ||
8160 | (W overflow) You called C<localtime> with a number that was larger | |
8161 | than it can reliably handle and C<localtime> probably returned the | |
8162 | wrong date. This warning is also triggered with NaN (the special | |
8163 | not-a-number value). | |
8164 | ||
8165 | =end original | |
8166 | ||
8167 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので | |
8168 | C<localtime> はおそらく間違った日付を返します。 | |
8169 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
8170 | ||
8171 | =item localtime(%f) too small | |
8172 | ||
8173 | =begin original | |
8174 | ||
8175 | (W overflow) You called C<localtime> with a number that was smaller | |
8176 | than it can reliably handle and C<localtime> probably returned the | |
8177 | wrong date. | |
8178 | ||
8179 | =end original | |
8180 | ||
8181 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので | |
8182 | C<localtime> はおそらく間違った日付を返します。 | |
8183 | ||
8184 | =item Lookbehind longer than %d not implemented in regex m/%s/ | |
8185 | ||
8186 | =begin original | |
8187 | ||
4177 | 8188 | (F) There is currently a limit on the length of string which lookbehind can |
4178 | handle. This restriction may be eased in a future release. | |
8189 | handle. This restriction may be eased in a future release. | |
4179 | the regular expression about where the problem was discovered. | |
4180 | 8190 | |
4181 | 8191 | =end original |
4182 | 8192 | |
4183 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
8193 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
4184 | 8194 | この制限は将来のリリースでは緩和されるでしょう。 |
4185 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
4186 | 8195 | |
8196 | =item Lost precision when %s %f by 1 | |
8197 | ||
8198 | =begin original | |
8199 | ||
8200 | (W imprecision) You attempted to increment or decrement a value by one, | |
8201 | but the result is too large for the underlying floating point | |
8202 | representation to store accurately. Hence, the target of C<++> or C<--> | |
8203 | is increased or decreased by quite different value than one, such as | |
8204 | zero (I<i.e.> the target is unchanged) or two, due to rounding. | |
8205 | Perl issues this | |
8206 | warning because it has already switched from integers to floating point | |
8207 | when values are too large for integers, and now even floating point is | |
8208 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. | |
8209 | ||
8210 | =end original | |
8211 | ||
8212 | (W imprecision) 値を 1 だけインクリメントまたはデクリメントしようとしましたが、 | |
8213 | 結果は基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎます。 | |
8214 | 従って、C<++> や C<--> のターゲットは 1 ではない値増加または減少します; | |
8215 | これは 0 (つまりターゲットは変更されない) であったり、丸めによって 2 で | |
8216 | あったりします。 | |
8217 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に | |
8218 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 | |
8219 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 | |
8220 | ||
8221 | =item lstat() on filehandle%s | |
8222 | ||
8223 | =begin original | |
8224 | ||
8225 | (W io) You tried to do an lstat on a filehandle. What did you mean | |
8226 | by that? lstat() makes sense only on filenames. (Perl did a fstat() | |
8227 | instead on the filehandle.) | |
8228 | ||
8229 | =end original | |
8230 | ||
8231 | (W io) ファイルハンドルに lstat を実行しようとしました。 | |
8232 | これで何をしようとしたのですか? | |
8233 | lstat() はファイル名に対してのみ意味があります。 | |
8234 | (Perl はファイルハンドルには代わりに fstat() を行いました。) | |
8235 | ||
8236 | =item lvalue attribute %s already-defined subroutine | |
8237 | ||
8238 | =begin original | |
8239 | ||
8240 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue | |
8241 | attribute on or off on a Perl subroutine that is already defined | |
8242 | does not always work properly. It may or may not do what you | |
8243 | want, depending on what code is inside the subroutine, with exact | |
8244 | details subject to change between Perl versions. Only do this | |
8245 | if you really know what you are doing. | |
8246 | ||
8247 | =end original | |
8248 | ||
8249 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に | |
8250 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは | |
8251 | 常に適切に動作するわけではありません。 | |
8252 | あなたの望むことが行われるかもしれませんし行われないかもしれません; | |
8253 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は | |
8254 | Perl バージョン間で変更されることがあります。 | |
8255 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 | |
8256 | ||
8257 | =item lvalue attribute ignored after the subroutine has been defined | |
8258 | ||
8259 | =begin original | |
8260 | ||
8261 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl | |
8262 | subroutine an lvalue subroutine after it has been defined is | |
8263 | not permitted. To make the subroutine an lvalue subroutine, | |
8264 | add the lvalue attribute to the definition, or put the C<sub | |
8265 | foo :lvalue;> declaration before the definition. | |
8266 | ||
8267 | =end original | |
8268 | ||
8269 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに | |
8270 | するために C<:lvalue> 宣言文を使うことはできません。 | |
8271 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 | |
8272 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 | |
8273 | ||
8274 | =begin original | |
8275 | ||
8276 | See also L<attributes.pm|attributes>. | |
8277 | ||
8278 | =end original | |
8279 | ||
8280 | L<attributes.pm|attributes> も参照してください。 | |
8281 | ||
8282 | =item Magical list constants are not supported | |
8283 | ||
8284 | =begin original | |
8285 | ||
8286 | (F) You assigned a magical array to a stash element, and then tried | |
8287 | to use the subroutine from the same slot. You are asking Perl to do | |
8288 | something it cannot do, details subject to change between Perl versions. | |
8289 | ||
8290 | =end original | |
8291 | ||
8292 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから | |
8293 | サブルーチンを使おうとしました。 | |
8294 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを | |
8295 | Perl にさせようとしました。 | |
8296 | ||
8297 | =item Malformed integer in [] in pack | |
8298 | ||
8299 | =begin original | |
8300 | ||
8301 | (F) Between the brackets enclosing a numeric repeat count only digits | |
8302 | are permitted. See L<perlfunc/pack>. | |
8303 | ||
8304 | =end original | |
8305 | ||
8306 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
8307 | L<perlfunc/pack> を参照してください。 | |
8308 | ||
8309 | =item Malformed integer in [] in unpack | |
8310 | ||
8311 | =begin original | |
8312 | ||
8313 | (F) Between the brackets enclosing a numeric repeat count only digits | |
8314 | are permitted. See L<perlfunc/pack>. | |
8315 | ||
8316 | =end original | |
8317 | ||
8318 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
8319 | L<perlfunc/pack> を参照してください。 | |
8320 | ||
4187 | 8321 | =item Malformed PERLLIB_PREFIX |
4188 | 8322 | |
4189 | 8323 | =begin original |
4190 | 8324 | |
4191 | 8325 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
4192 | 8326 | |
4193 | 8327 | =end original |
4194 | 8328 | |
4195 | 8329 | (F) OS/2 固有のエラーです。 |
4196 | 8330 | PERLLIB_PREFIX は以下のような形か: |
4197 | 8331 | |
4198 | 8332 | prefix1;prefix2 |
4199 | 8333 | |
4200 | 8334 | =begin original |
4201 | 8335 | |
4202 | 8336 | or |
8337 | prefix1 prefix2 | |
4203 | 8338 | |
4204 | 8339 | =end original |
4205 | 8340 | |
4206 | ||
8341 | または | |
4207 | ||
4208 | 8342 | prefix1 prefix2 |
4209 | 8343 | |
4210 | 8344 | =begin original |
4211 | 8345 | |
4212 | 8346 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
4213 | 8347 | a builtin library search path, prefix2 is substituted. The error may |
4214 | 8348 | appear if components are not found, or are too long. See |
4215 | 8349 | "PERLLIB_PREFIX" in L<perlos2>. |
4216 | 8350 | |
4217 | 8351 | =end original |
4218 | 8352 | |
4219 | 8353 | prefix1 と prefix2 が空でない形である必要があります。 |
4220 | 8354 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
4221 | 8355 | prefix2 は置き換えられます。 |
4222 | 8356 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
4223 | 8357 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
4224 | 8358 | |
4225 | =item Malformed | |
8359 | =item Malformed prototype for %s: %s | |
4226 | 8360 | |
4227 | 8361 | =begin original |
4228 | 8362 | |
4229 | ||
8363 | (F) You tried to use a function with a malformed prototype. The | |
8364 | syntax of function prototypes is given a brief compile-time check for | |
8365 | obvious errors like invalid characters. A more rigorous check is run | |
8366 | when the function is called. | |
8367 | Perhaps the function's author was trying to write a subroutine signature | |
8368 | but didn't enable that feature first (C<use feature 'signatures'>), | |
8369 | so the signature was instead interpreted as a bad prototype. | |
4230 | 8370 | |
4231 | 8371 | =end original |
4232 | 8372 | |
4233 | ||
8373 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 | |
4234 | ||
8374 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては | |
8375 | コンパイル時にチェックされます。 | |
8376 | より厳密なチェックは、関数が呼び出された時に実行されます。 | |
8377 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 | |
8378 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 | |
8379 | シグネチャは間違ったプロトタイプとして解釈されました。 | |
4235 | 8380 | |
8381 | =item Malformed UTF-8 character%s | |
8382 | ||
8383 | =begin original | |
8384 | ||
8385 | (S utf8)(F) Perl detected a string that should be UTF-8, but didn't | |
8386 | comply with UTF-8 encoding rules, or represents a code point whose | |
8387 | ordinal integer value doesn't fit into the word size of the current | |
8388 | platform (overflows). Details as to the exact malformation are given in | |
8389 | the variable, C<%s>, part of the message. | |
8390 | ||
8391 | =end original | |
8392 | ||
8393 | (S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、 | |
8394 | UTF-8 エンコーディング規則に従わない、 | |
8395 | あるいは序数が現在のプラットフォームのワードサイズに収まらない | |
8396 | (オーバーフローする)符号位置を表現する文字列を検出しました。 | |
8397 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 | |
8398 | ||
8399 | =begin original | |
8400 | ||
8401 | One possible cause is that you set the UTF8 flag yourself for data that | |
8402 | you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit | |
8403 | data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
8404 | ||
8405 | =end original | |
8406 | ||
8407 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ | |
8408 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした | |
8409 | ことです。 | |
8410 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 | |
8411 | ||
8412 | =begin original | |
8413 | ||
8414 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte | |
8415 | sequences are handled gracefully, but if you use C<:utf8>, the flag is set | |
8416 | without validating the data, possibly resulting in this error message. | |
8417 | ||
8418 | =end original | |
8419 | ||
8420 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは | |
8421 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 | |
8422 | おそらく結果としてこのエラーメッセージが出力されます。 | |
8423 | ||
8424 | =begin original | |
8425 | ||
8426 | See also L<Encode/"Handling Malformed Data">. | |
8427 | ||
8428 | =end original | |
8429 | ||
8430 | L<Encode/"Handling Malformed Data"> も参照してください。 | |
8431 | ||
8432 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
8433 | ||
8434 | =begin original | |
8435 | ||
8436 | (F) The charnames handler returned malformed UTF-8. | |
8437 | ||
8438 | =end original | |
8439 | ||
8440 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
8441 | ||
8442 | =item Malformed UTF-8 string in "%s" | |
8443 | ||
8444 | =begin original | |
8445 | ||
8446 | (F) This message indicates a bug either in the Perl core or in XS | |
8447 | code. Such code was trying to find out if a character, allegedly | |
8448 | stored internally encoded as UTF-8, was of a given type, such as | |
8449 | being punctuation or a digit. But the character was not encoded | |
8450 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
8451 | by knowledgeable people to determine what the type being checked | |
8452 | against was. | |
8453 | ||
8454 | =end original | |
8455 | ||
8456 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
8457 | 示しています。 | |
8458 | そのコードは、UTF-8 として内部でエンコードされて | |
8459 | 保管されているということになっているある文字が、 | |
8460 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
8461 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
8462 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
8463 | 決めるために使われる文字列で置き換えられます。 | |
8464 | ||
8465 | =begin original | |
8466 | ||
8467 | Passing malformed strings was deprecated in Perl 5.18, and | |
8468 | became fatal in Perl 5.26. | |
8469 | ||
8470 | =end original | |
8471 | ||
8472 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
8473 | Perl 5.26 で致命的エラーになりました。 | |
8474 | ||
8475 | =item Malformed UTF-8 string in '%c' format in unpack | |
8476 | ||
8477 | =begin original | |
8478 | ||
8479 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
8480 | rules and perl was unable to guess how to make more progress. | |
8481 | ||
8482 | =end original | |
8483 | ||
8484 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
8485 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8486 | ||
8487 | =item Malformed UTF-8 string in pack | |
8488 | ||
8489 | =begin original | |
8490 | ||
8491 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
8492 | rules and perl was unable to guess how to make more progress. | |
8493 | ||
8494 | =end original | |
8495 | ||
8496 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
8497 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8498 | ||
8499 | =item Malformed UTF-8 string in unpack | |
8500 | ||
8501 | =begin original | |
8502 | ||
8503 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
8504 | rules and perl was unable to guess how to make more progress. | |
8505 | ||
8506 | =end original | |
8507 | ||
8508 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
8509 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8510 | ||
4236 | 8511 | =item Malformed UTF-16 surrogate |
4237 | 8512 | |
4238 | 8513 | =begin original |
4239 | 8514 | |
4240 | Perl thought it was reading UTF-16 encoded character data but while | |
8515 | (F) Perl thought it was reading UTF-16 encoded character data but while | |
4241 | 8516 | doing it Perl met a malformed Unicode surrogate. |
4242 | 8517 | |
4243 | 8518 | =end original |
4244 | 8519 | |
4245 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
8520 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
4246 | 8521 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
4247 | 8522 | |
4248 | =item | |
8523 | =item Mandatory parameter follows optional parameter | |
4249 | 8524 | |
4250 | 8525 | =begin original |
4251 | 8526 | |
8527 | (F) In a subroutine signature, you wrote something like "$a = undef, | |
8528 | $b", making an earlier parameter optional and a later one mandatory. | |
8529 | Parameters are filled from left to right, so it's impossible for the | |
8530 | caller to omit an earlier one and pass a later one. If you want to act | |
8531 | as if the parameters are filled from right to left, declare the rightmost | |
8532 | optional and then shuffle the parameters around in the subroutine's body. | |
8533 | ||
8534 | =end original | |
8535 | ||
8536 | (F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が | |
8537 | オプションで後の引数が必須のようなものを書きました。 | |
8538 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに | |
8539 | 渡すことは不可能です。 | |
8540 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を | |
8541 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 | |
8542 | ||
8543 | =item Matched non-Unicode code point 0x%X against Unicode property; may | |
8544 | not be portable | |
8545 | ||
8546 | =begin original | |
8547 | ||
8548 | (S non_unicode) Perl allows strings to contain a superset of | |
8549 | Unicode code points; each code point may be as large as what is storable | |
8550 | in a signed integer on your system, but these may not be accepted by | |
8551 | other languages/systems. This message occurs when you matched a string | |
8552 | containing such a code point against a regular expression pattern, and | |
8553 | the code point was matched against a Unicode property, C<\p{...}> or | |
8554 | C<\P{...}>. Unicode properties are only defined on Unicode code points, | |
8555 | so the result of this match is undefined by Unicode, but Perl (starting | |
8556 | in v5.20) treats non-Unicode code points as if they were typical | |
8557 | unassigned Unicode ones, and matched this one accordingly. Whether a | |
8558 | given property matches these code points or not is specified in | |
8559 | L<perluniprops/Properties accessible through \p{} and \P{}>. | |
8560 | ||
8561 | =end original | |
8562 | ||
8563 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を | |
8564 | 含むことができます; それぞれの符号位置はシステムの符号付き整数に | |
8565 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは | |
8566 | 受け付けられないかも知れません。 | |
8567 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで | |
8568 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と | |
8569 | マッチングしたときに発生します。 | |
8570 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 | |
8571 | Unicode によればこのマッチングの結果は未定義ですが、 | |
8572 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て | |
8573 | Unicode 符号位置として扱い、それぞれマッチングします。 | |
8574 | 指定された特性がこれらの符号位置にマッチングするかどうかは | |
8575 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
8576 | 指定されています。 | |
8577 | ||
8578 | =begin original | |
8579 | ||
8580 | This message is suppressed (unless it has been made fatal) if it is | |
8581 | immaterial to the results of the match if the code point is Unicode or | |
8582 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match | |
8583 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, | |
8584 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match | |
8585 | every code point except these 22.) | |
8586 | ||
8587 | =end original | |
8588 | ||
8589 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない | |
8590 | 場合は、(致命的にしていない限り)抑制されます。 | |
8591 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに | |
8592 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 | |
8593 | マッチングしません。 | |
8594 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に | |
8595 | マッチングします。) | |
8596 | ||
8597 | =begin original | |
8598 | ||
8599 | Getting this message indicates that the outcome of the match arguably | |
8600 | should have been the opposite of what actually happened. If you think | |
8601 | that is the case, you may wish to make the C<non_unicode> warnings | |
8602 | category fatal; if you agree with Perl's decision, you may wish to turn | |
8603 | off this category. | |
8604 | ||
8605 | =end original | |
8606 | ||
8607 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と | |
8608 | 逆になっているはずだということを示しています。 | |
8609 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを | |
8610 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを | |
8611 | オフにした方がよいでしょう。 | |
8612 | ||
8613 | =begin original | |
8614 | ||
8615 | See L<perlunicode/Beyond Unicode code points> for more information. | |
8616 | ||
8617 | =end original | |
8618 | ||
8619 | さらなる情報については L<perlunicode/Beyond Unicode code points> を | |
8620 | 参照してください。 | |
8621 | ||
8622 | =item %s matches null string many times in regex; marked by S<<-- HERE> in | |
8623 | m/%s/ | |
8624 | ||
8625 | =begin original | |
8626 | ||
4252 | 8627 | (W regexp) The pattern you've specified would be an infinite loop if the |
4253 | regular expression engine didn't specifically check for that. | |
8628 | regular expression engine didn't specifically check for that. The S<<-- HERE> | |
4254 | ||
8629 | shows whereabouts in the regular expression the problem was discovered. | |
8630 | See L<perlre>. | |
4255 | 8631 | |
4256 | 8632 | =end original |
4257 | 8633 | |
4258 | 8634 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
4259 | 8635 | 行なっていなければ、無限ループに陥るものです。 |
8636 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4260 | 8637 | L<perlre> を参照してください。 |
4261 | 8638 | |
4262 | =item | |
8639 | =item Maximal count of pending signals (%u) exceeded | |
4263 | 8640 | |
4264 | 8641 | =begin original |
4265 | 8642 | |
8643 | (F) Perl aborted due to too high a number of signals pending. This | |
8644 | usually indicates that your operating system tried to deliver signals | |
8645 | too fast (with a very high priority), starving the perl process from | |
8646 | resources it would need to reach a point where it can process signals | |
8647 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
8648 | ||
8649 | =end original | |
8650 | ||
8651 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 | |
8652 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 | |
8653 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な | |
8654 | リソースが不足したことを示しています。 | |
8655 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) | |
8656 | ||
8657 | =item "%s" may clash with future reserved word | |
8658 | ||
8659 | =begin original | |
8660 | ||
8661 | (W) This warning may be due to running a perl5 script through a perl4 | |
8662 | interpreter, especially if the word that is being warned about is | |
8663 | "use" or "my". | |
8664 | ||
8665 | =end original | |
8666 | ||
8667 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした | |
8668 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は | |
8669 | そうです。 | |
8670 | ||
8671 | =item '%' may not be used in pack | |
8672 | ||
8673 | =begin original | |
8674 | ||
4266 | 8675 | (F) You can't pack a string by supplying a checksum, because the |
4267 | 8676 | checksumming process loses information, and you can't go the other way. |
4268 | 8677 | See L<perlfunc/unpack>. |
4269 | 8678 | |
4270 | 8679 | =end original |
4271 | 8680 | |
4272 | (F) チェックサムを指定して pack を行なうことはできません | |
8681 | (F) チェックサムを指定して pack を行なうことはできません; | |
4273 | 8682 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
4274 | 8683 | L<perlfunc/unpack> を参照してください。 |
4275 | 8684 | |
4276 | 8685 | =item Method for operation %s not found in package %s during blessing |
4277 | 8686 | |
4278 | 8687 | =begin original |
4279 | 8688 | |
4280 | 8689 | (F) An attempt was made to specify an entry in an overloading table that |
4281 | 8690 | doesn't resolve to a valid subroutine. See L<overload>. |
4282 | 8691 | |
4283 | 8692 | =end original |
4284 | 8693 | |
4285 | 8694 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
4286 | 8695 | エントリを指定しようとしました。 |
4287 | 8696 | L<overload> を参照してください。 |
4288 | 8697 | |
4289 | 8698 | =item Method %s not permitted |
4290 | 8699 | |
4291 | 8700 | =begin original |
4292 | 8701 | |
4293 | See Server error. | |
8702 | See L</500 Server error>. | |
4294 | 8703 | |
4295 | 8704 | =end original |
4296 | 8705 | |
4297 | ||
8706 | L</500 Server error> を参照してください。 | |
4298 | 8707 | |
4299 | 8708 | =item Might be a runaway multi-line %s string starting on line %d |
4300 | 8709 | |
4301 | 8710 | =begin original |
4302 | 8711 | |
4303 | 8712 | (S) An advisory indicating that the previous error may have been caused |
4304 | 8713 | by a missing delimiter on a string or pattern, because it eventually |
4305 | 8714 | ended earlier on the current line. |
4306 | 8715 | |
4307 | 8716 | =end original |
4308 | 8717 | |
4309 | 8718 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
4310 | 8719 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
4311 | 8720 | 起ったかもしれないことを、補足的に示しています。 |
4312 | 8721 | |
4313 | 8722 | =item Misplaced _ in number |
4314 | 8723 | |
4315 | 8724 | =begin original |
4316 | 8725 | |
4317 | (W syntax) An under | |
8726 | (W syntax) An underscore (underbar) in a numeric constant did not | |
8727 | separate two digits. | |
4318 | 8728 | |
4319 | 8729 | =end original |
4320 | 8730 | |
4321 | (W syntax) | |
8731 | (W syntax) 数値定数の下線が、二つの値を分離していません。 | |
4322 | 8732 | |
4323 | =item Missing | |
8733 | =item Missing argument for %n in %s | |
4324 | 8734 | |
4325 | 8735 | =begin original |
4326 | 8736 | |
8737 | (F) A C<%n> was used in a format string with no corresponding argument for | |
8738 | perl to write the current string length to. | |
8739 | ||
8740 | =end original | |
8741 | ||
8742 | (F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を | |
8743 | 書くための対応する引数がありません。 | |
8744 | ||
8745 | =item Missing argument in %s | |
8746 | ||
8747 | =begin original | |
8748 | ||
8749 | (W missing) You called a function with fewer arguments than other | |
8750 | arguments you supplied indicated would be needed. | |
8751 | ||
8752 | =end original | |
8753 | ||
8754 | (W missing) 他で指定した引数によって必要であると示されているよりも | |
8755 | 少ない引数で関数を呼び出しました。 | |
8756 | ||
8757 | =begin original | |
8758 | ||
8759 | Currently only emitted when a printf-type format required more | |
8760 | arguments than were supplied, but might be used in the future for | |
8761 | other cases where we can statically determine that arguments to | |
8762 | functions are missing, e.g. for the L<perlfunc/pack> function. | |
8763 | ||
8764 | =end original | |
8765 | ||
8766 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を | |
8767 | 要求した場合にのみ発生しますが、 | |
8768 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる | |
8769 | その他の場合に使われるかもしれません。 | |
8770 | ||
8771 | =item Missing argument to -%c | |
8772 | ||
8773 | =begin original | |
8774 | ||
8775 | (F) The argument to the indicated command line switch must follow | |
8776 | immediately after the switch, without intervening spaces. | |
8777 | ||
8778 | =end original | |
8779 | ||
8780 | (F) 示されたコマンドラインスイッチの引数は、 | |
8781 | スイッチの直後にスペースを空けないで書く必要があります。 | |
8782 | ||
8783 | =item Missing braces on \N{} | |
8784 | ||
8785 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
8786 | ||
8787 | =begin original | |
8788 | ||
4327 | 8789 | (F) Wrong syntax of character name literal C<\N{charname}> within |
4328 | double-quotish context. | |
8790 | double-quotish context. This can also happen when there is a space | |
8791 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. | |
8792 | This modifier does not change the requirement that the brace immediately | |
8793 | follow the C<\N>. | |
4329 | 8794 | |
4330 | 8795 | =end original |
4331 | 8796 | |
4332 | 8797 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
4333 | 8798 | 文法が間違っています。 |
8799 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または | |
8800 | コメント)がある場合にも起こります。 | |
8801 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 | |
4334 | 8802 | |
8803 | =item Missing braces on \o{} | |
8804 | ||
8805 | =begin original | |
8806 | ||
8807 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. | |
8808 | ||
8809 | =end original | |
8810 | ||
8811 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が | |
8812 | 引き続かなければなりません。 | |
8813 | ||
4335 | 8814 | =item Missing comma after first argument to %s function |
4336 | 8815 | |
4337 | 8816 | =begin original |
4338 | 8817 | |
4339 | 8818 | (F) While certain functions allow you to specify a filehandle or an |
4340 | 8819 | "indirect object" before the argument list, this ain't one of them. |
4341 | 8820 | |
4342 | 8821 | =end original |
4343 | 8822 | |
4344 | 8823 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
4345 | 8824 | 「間接オブジェクト」をおくことができますが、この関数は、 |
4346 | 8825 | そういったものではありません。 |
4347 | 8826 | |
4348 | 8827 | =item Missing command in piped open |
4349 | 8828 | |
4350 | 8829 | =begin original |
4351 | 8830 | |
4352 | 8831 | (W pipe) You used the C<open(FH, "| command")> or |
4353 | 8832 | C<open(FH, "command |")> construction, but the command was missing or |
4354 | 8833 | blank. |
4355 | 8834 | |
4356 | 8835 | =end original |
4357 | 8836 | |
4358 | 8837 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
4359 | 8838 | 使っていますが、コマンドが指定されていないか空白です。 |
4360 | 8839 | |
4361 | =item Missing name in | |
8840 | =item Missing control char name in \c | |
4362 | 8841 | |
4363 | 8842 | =begin original |
4364 | 8843 | |
4365 | (F) | |
8844 | (F) A double-quoted string ended with "\c", without the required control | |
8845 | character name. | |
8846 | ||
8847 | =end original | |
8848 | ||
8849 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が | |
8850 | 必要です。 | |
8851 | ||
8852 | =item Missing ']' in prototype for %s : %s | |
8853 | ||
8854 | =begin original | |
8855 | ||
8856 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. | |
8857 | ||
8858 | =end original | |
8859 | ||
8860 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で | |
8861 | 閉じられませんでした。 | |
8862 | ||
8863 | =item Missing name in "%s sub" | |
8864 | ||
8865 | =begin original | |
8866 | ||
8867 | (F) The syntax for lexically scoped subroutines requires that | |
4366 | 8868 | they have a name with which they can be found. |
4367 | 8869 | |
4368 | 8870 | =end original |
4369 | 8871 | |
4370 | (F) | |
8872 | (F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。 | |
4371 | 探すことの出来る名前が必要です。 | |
4372 | 8873 | |
4373 | 8874 | =item Missing $ on loop variable |
4374 | 8875 | |
4375 | 8876 | =begin original |
4376 | 8877 | |
4377 | 8878 | (F) Apparently you've been programming in B<csh> too much. Variables |
4378 | 8879 | are always mentioned with the $ in Perl, unlike in the shells, where it |
4379 | 8880 | can vary from one line to the next. |
4380 | 8881 | |
4381 | 8882 | =end original |
4382 | 8883 | |
4383 | 8884 | (F) B<csh> を使いすぎた症状が現れているようです。 |
4384 | Perl では、変数は常に $ を付けて表わされます | |
8885 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは | |
4385 | ||
8886 | 違っています。 | |
4386 | 8887 | |
4387 | 8888 | =item (Missing operator before %s?) |
4388 | 8889 | |
4389 | 8890 | =begin original |
4390 | 8891 | |
4391 | (S) This is an educated guess made in conjunction with the message | |
8892 | (S syntax) This is an educated guess made in conjunction with the message | |
4392 | found where operator expected". Often the missing operator is a comma. | |
8893 | "%s found where operator expected". Often the missing operator is a comma. | |
4393 | 8894 | |
4394 | 8895 | =end original |
4395 | 8896 | |
4396 | (S) "%s found where operator expected" と共に | |
8897 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
4397 | ||
8898 | 表示される教育的な推測です。 | |
8899 | しばしば不足している演算子はカンマです。 | |
4398 | 8900 | |
8901 | =item Missing or undefined argument to %s | |
8902 | ||
8903 | =begin original | |
8904 | ||
8905 | (F) You tried to call require or do with no argument or with an undefined | |
8906 | value as an argument. Require expects either a package name or a | |
8907 | file-specification as an argument; do expects a filename. See | |
8908 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. | |
8909 | ||
8910 | =end original | |
8911 | ||
8912 | (F) 引数なし、または未定義値を引数として require や do を | |
8913 | 呼び出そうとしました。 | |
8914 | require はパッケージ名またはファイル指定を引数として想定します; | |
8915 | do はファイル名を想定します。 | |
8916 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 | |
8917 | ||
8918 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
8919 | ||
8920 | =begin original | |
8921 | ||
8922 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. | |
8923 | ||
8924 | =end original | |
8925 | ||
8926 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが | |
8927 | 抜けています。 | |
8928 | ||
8929 | =item Missing right brace on \N{} | |
8930 | ||
8931 | =item Missing right brace on \N{} or unescaped left brace after \N | |
8932 | ||
8933 | =begin original | |
8934 | ||
8935 | (F) C<\N> has two meanings. | |
8936 | ||
8937 | =end original | |
8938 | ||
8939 | (F) C<\N> には二つの意味があります。 | |
8940 | ||
8941 | =begin original | |
8942 | ||
8943 | The traditional one has it followed by a name enclosed in braces, | |
8944 | meaning the character (or sequence of characters) given by that | |
8945 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
8946 | double-quoted strings and regular expression patterns. In patterns, | |
8947 | it doesn't have the meaning an unescaped C<*> does. | |
8948 | ||
8949 | =end original | |
8950 | ||
8951 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 | |
8952 | (または文字並び)を意味します。 | |
8953 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 | |
8954 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 | |
8955 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 | |
8956 | ||
8957 | =begin original | |
8958 | ||
8959 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) | |
8960 | in patterns, namely to match a non-newline character. (This is short | |
8961 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) | |
8962 | ||
8963 | =end original | |
8964 | ||
8965 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; | |
8966 | 非改行文字にマッチングします。 | |
8967 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって | |
8968 | 影響を受けません。) | |
8969 | ||
8970 | =begin original | |
8971 | ||
8972 | This can lead to some ambiguities. When C<\N> is not followed immediately | |
8973 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces | |
8974 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this | |
8975 | means to match the given quantity of non-newlines (in these examples, | |
8976 | 3; and 5 or more, respectively). In all other case, where there is a | |
8977 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. | |
8978 | ||
8979 | =end original | |
8980 | ||
8981 | これによりいくつかの曖昧さを引き起こします。 | |
8982 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 | |
8983 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に | |
8984 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と | |
8985 | 5 以上) にマッチングするという意味を仮定します。 | |
8986 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が | |
8987 | 求められていると仮定します。 | |
8988 | ||
8989 | =begin original | |
8990 | ||
8991 | However, if there is no matching C<}>, Perl doesn't know if it was | |
8992 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. | |
8993 | If you meant the former, add the right brace; if you meant the latter, | |
8994 | escape the brace with a backslash, like so: C<\N\{> | |
8995 | ||
8996 | =end original | |
8997 | ||
8998 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 | |
8999 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 | |
9000 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を | |
9001 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで | |
9002 | エスケープしてください。 | |
9003 | ||
4399 | 9004 | =item Missing right curly or square bracket |
4400 | 9005 | |
4401 | 9006 | =begin original |
4402 | 9007 | |
4403 | 9008 | (F) The lexer counted more opening curly or square brackets than closing |
4404 | 9009 | ones. As a general rule, you'll find it's missing near the place you |
4405 | 9010 | were last editing. |
4406 | 9011 | |
4407 | 9012 | =end original |
4408 | 9013 | |
4409 | (F) 字句解析部が、閉じ中 | |
9014 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも | |
4410 | 開き中 | |
9015 | 開き中かっこ(大かっこ)を多く発見しました。 | |
4411 | 9016 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
4412 | 9017 | |
4413 | 9018 | =item (Missing semicolon on previous line?) |
4414 | 9019 | |
4415 | 9020 | =begin original |
4416 | 9021 | |
4417 | (S) This is an educated guess made in conjunction with the message | |
9022 | (S syntax) This is an educated guess made in conjunction with the message | |
4418 | found where operator expected". Don't automatically put a semicolon on | |
9023 | "%s found where operator expected". Don't automatically put a semicolon on | |
4419 | 9024 | the previous line just because you saw this message. |
4420 | 9025 | |
4421 | 9026 | =end original |
4422 | 9027 | |
4423 | (S) こ | |
9028 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
4424 | ||
9029 | 表示される教育的な推測です。 | |
4425 | このメッセージが出たからといって、機械的に前の行に | |
9030 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは | |
4426 | ||
9031 | しないでください。 | |
4427 | 9032 | |
4428 | 9033 | =item Modification of a read-only value attempted |
4429 | 9034 | |
4430 | 9035 | =begin original |
4431 | 9036 | |
4432 | 9037 | (F) You tried, directly or indirectly, to change the value of a |
4433 | 9038 | constant. You didn't, of course, try "2 = 1", because the compiler |
4434 | 9039 | catches that. But an easy way to do the same thing is: |
4435 | 9040 | |
4436 | 9041 | =end original |
4437 | 9042 | |
4438 | 9043 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
4439 | 9044 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
4440 | 9045 | したわけではありません。 |
4441 | 9046 | しかし、同じことは以下のようにしても起こります。 |
4442 | 9047 | |
4443 | 9048 | sub mod { $_[0] = 1 } |
4444 | 9049 | mod(2); |
4445 | 9050 | |
4446 | 9051 | =begin original |
4447 | 9052 | |
4448 | 9053 | Another way is to assign to a substr() that's off the end of the string. |
4449 | 9054 | |
4450 | 9055 | =end original |
4451 | 9056 | |
4452 | 9057 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
4453 | 9058 | |
4454 | 9059 | =begin original |
4455 | 9060 | |
4456 | 9061 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
4457 | 9062 | is aliased to a constant in the look I<LIST>: |
4458 | 9063 | |
4459 | 9064 | =end original |
4460 | 9065 | |
4461 | 9066 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
4462 | 9067 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
4463 | 9068 | |
4464 | | |
9069 | $x = 1; | |
4465 | | |
9070 | foreach my $n ($x, 2) { | |
4466 | | |
9071 | $n *= 2; # modifies the $x, but fails on attempt to | |
4467 | | |
9072 | } # modify the 2 | |
4468 | 9073 | |
9074 | =begin original | |
9075 | ||
9076 | L<PerlIO::scalar> will also produce this message as a warning if you | |
9077 | attempt to open a read-only scalar for writing. | |
9078 | ||
9079 | =end original | |
9080 | ||
9081 | L<PerlIO::scalar> も、読み込み専用スカラを書き込みように開こうとしたときに、 | |
9082 | このメッセージを警告として出力します。 | |
9083 | ||
4469 | 9084 | =item Modification of non-creatable array value attempted, %s |
4470 | 9085 | |
4471 | 9086 | =begin original |
4472 | 9087 | |
4473 | 9088 | (F) You tried to make an array value spring into existence, and the |
4474 | 9089 | subscript was probably negative, even counting from end of the array |
4475 | 9090 | backwards. |
4476 | 9091 | |
4477 | 9092 | =end original |
4478 | 9093 | |
4479 | (F) 配列値を存在するようにしようとしました | |
9094 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の | |
4480 | ||
9095 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 | |
4481 | おかしな位置を指しているようです。 | |
4482 | 9096 | |
4483 | 9097 | =item Modification of non-creatable hash value attempted, %s |
4484 | 9098 | |
4485 | 9099 | =begin original |
4486 | 9100 | |
4487 | 9101 | (P) You tried to make a hash value spring into existence, and it |
4488 | 9102 | couldn't be created for some peculiar reason. |
4489 | 9103 | |
4490 | 9104 | =end original |
4491 | 9105 | |
4492 | 9106 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
4493 | 9107 | できませんでした。 |
4494 | 9108 | |
4495 | 9109 | =item Module name must be constant |
4496 | 9110 | |
4497 | 9111 | =begin original |
4498 | 9112 | |
4499 | 9113 | (F) Only a bare module name is allowed as the first argument to a "use". |
4500 | 9114 | |
4501 | 9115 | =end original |
4502 | 9116 | |
4503 | 9117 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
4504 | 9118 | 裸の単語だけです。 |
4505 | 9119 | |
4506 | 9120 | =item Module name required with -%c option |
4507 | 9121 | |
4508 | 9122 | =begin original |
4509 | 9123 | |
4510 | 9124 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
4511 | you omitted the name of the module. Consult | |
9125 | you omitted the name of the module. Consult | |
4512 | about C<-M> and C<-m>. | |
9126 | L<perlrun|perlrun/-m[-]module> for full details about C<-M> and C<-m>. | |
4513 | 9127 | |
4514 | 9128 | =end original |
4515 | 9129 | |
4516 | 9130 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
4517 | 9131 | 指示しますが、モジュール名がありませんでした。 |
4518 | C<-M> と C<-m> に関する完全な詳細については | |
9132 | C<-M> と C<-m> に関する完全な詳細については | |
9133 | L<perlrun|perlrun/-m[-]module> を参照してください。 | |
4519 | 9134 | |
9135 | =item More than one argument to '%s' open | |
9136 | ||
9137 | =begin original | |
9138 | ||
9139 | (F) The C<open> function has been asked to open multiple files. This | |
9140 | can happen if you are trying to open a pipe to a command that takes a | |
9141 | list of arguments, but have forgotten to specify a piped open mode. | |
9142 | See L<perlfunc/open> for details. | |
9143 | ||
9144 | =end original | |
9145 | ||
9146 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 | |
9147 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ | |
9148 | オープンモードを指定するのを忘れた時に起きます。 | |
9149 | 詳細は L<perlfunc/open> を参照してください。 | |
9150 | ||
9151 | =item mprotect for COW string %p %u failed with %d | |
9152 | ||
9153 | =begin original | |
9154 | ||
9155 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9156 | L<perlguts/"Copy on Write">), but a shared string buffer | |
9157 | could not be made read-only. | |
9158 | ||
9159 | =end original | |
9160 | ||
9161 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9162 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 | |
9163 | ||
9164 | =item mprotect for %p %u failed with %d | |
9165 | ||
9166 | =begin original | |
9167 | ||
9168 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), | |
9169 | but an op tree could not be made read-only. | |
9170 | ||
9171 | =end original | |
9172 | ||
9173 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9174 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 | |
9175 | ||
9176 | =item mprotect RW for COW string %p %u failed with %d | |
9177 | ||
9178 | =begin original | |
9179 | ||
9180 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9181 | L<perlguts/"Copy on Write">), but a read-only shared string | |
9182 | buffer could not be made mutable. | |
9183 | ||
9184 | =end original | |
9185 | ||
9186 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9187 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に | |
9188 | できませんでした。 | |
9189 | ||
9190 | =item mprotect RW for %p %u failed with %d | |
9191 | ||
9192 | =begin original | |
9193 | ||
9194 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see | |
9195 | L<perlhacktips>), but a read-only op tree could not be made | |
9196 | mutable before freeing the ops. | |
9197 | ||
9198 | =end original | |
9199 | ||
9200 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9201 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に | |
9202 | ミュータブルにできませんでした。 | |
9203 | ||
4520 | 9204 | =item msg%s not implemented |
4521 | 9205 | |
4522 | 9206 | =begin original |
4523 | 9207 | |
4524 | 9208 | (F) You don't have System V message IPC on your system. |
4525 | 9209 | |
4526 | 9210 | =end original |
4527 | 9211 | |
4528 | 9212 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
4529 | 9213 | |
9214 | =item Multidimensional hash lookup is disabled | |
9215 | ||
9216 | =begin original | |
9217 | ||
9218 | (F) You supplied a list of subscripts to a hash lookup under | |
9219 | C<< no feature "multidimensional"; >>, eg: | |
9220 | ||
9221 | =end original | |
9222 | ||
9223 | (F) You supplied a list of subscripts to a hash lookup under | |
9224 | C<< no feature "multidimensional"; >> の下でハッシュ検索のために | |
9225 | 添え字のリストを指定しました; 例えば: | |
9226 | ||
9227 | $z = $foo{$x, $y}; | |
9228 | ||
9229 | =begin original | |
9230 | ||
9231 | which by default acts like: | |
9232 | ||
9233 | =end original | |
9234 | ||
9235 | これはデフォルトでは次のように振る舞います: | |
9236 | ||
9237 | $z = $foo{join($;, $x, $y)}; | |
9238 | ||
4530 | 9239 | =item Multidimensional syntax %s not supported |
4531 | 9240 | |
4532 | 9241 | =begin original |
4533 | 9242 | |
4534 | 9243 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
4535 | 9244 | They're written like C<$foo[1][2][3]>, as in C. |
4536 | 9245 | |
4537 | 9246 | =end original |
4538 | 9247 | |
4539 | 9248 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
4540 | 9249 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
4541 | 9250 | |
4542 | =item | |
9251 | =item Multiple slurpy parameters not allowed | |
4543 | 9252 | |
4544 | 9253 | =begin original |
4545 | 9254 | |
4546 | (F) | |
9255 | (F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be | |
4547 | ||
9256 | the last parameter, and there must not be more than one of them; for | |
4548 | ||
9257 | example: | |
4549 | 9258 | |
4550 | 9259 | =end original |
4551 | 9260 | |
4552 | (F) | |
9261 | (F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は | |
4553 | ||
9262 | 最後のパラメータでなければならず、複数あってはなりません; 例えば: | |
4554 | L<perlfunc/pack> を参照してください。 | |
4555 | 9263 | |
4556 | ||
9264 | sub foo ($a, @b) {} # legal | |
9265 | sub foo ($a, @b, %) {} # invalid | |
4557 | 9266 | |
9267 | =item '/' must follow a numeric type in unpack | |
9268 | ||
4558 | 9269 | =begin original |
4559 | 9270 | |
4560 | (F) You had an unpack template | |
9271 | (F) You had an unpack template that contained a '/', but this did not | |
4561 | ||
9272 | follow some unpack specification producing a numeric value. | |
4562 | ||
9273 | See L<perlfunc/pack>. | |
4563 | 9274 | |
4564 | 9275 | =end original |
4565 | 9276 | |
4566 | (F) | |
9277 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの | |
4567 | ||
9278 | 数値を生成する unpack 指定に引き続いていません。 | |
4568 | いずれかの後に続かなければなりません。 | |
4569 | 9279 | L<perlfunc/pack> を参照してください。 |
4570 | 9280 | |
4571 | =item | |
9281 | =item %s must not be a named sequence in transliteration operator | |
4572 | 9282 | |
4573 | 9283 | =begin original |
4574 | 9284 | |
4575 | (F) | |
9285 | (F) Transliteration (C<tr///> and C<y///>) transliterates individual | |
4576 | ||
9286 | characters. But a named sequence by definition is more than an | |
9287 | individual character, and hence doing this operation on it doesn't make | |
9288 | sense. | |
4577 | 9289 | |
4578 | 9290 | =end original |
4579 | 9291 | |
4580 | (F) | |
9292 | (F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。 | |
4581 | ||
9293 | しかし、定義による名前付き並びは個々の文字以上のものがあるので、 | |
4582 | ||
9294 | それに対してこの操作をするのは意味がありません。 | |
4583 | 9295 | |
4584 | 9296 | =item "my sub" not yet implemented |
4585 | 9297 | |
4586 | 9298 | =begin original |
4587 | 9299 | |
4588 | 9300 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
4589 | 9301 | that yet. |
4590 | 9302 | |
4591 | 9303 | =end original |
4592 | 9304 | |
4593 | 9305 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
4594 | 9306 | まだ試さないでください。 |
4595 | 9307 | |
9308 | =item "my" subroutine %s can't be in a package | |
9309 | ||
9310 | =begin original | |
9311 | ||
9312 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
9313 | sense to try to declare one with a package qualifier on the front. | |
9314 | ||
9315 | =end original | |
9316 | ||
9317 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
9318 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
9319 | ||
9320 | =item "my %s" used in sort comparison | |
9321 | ||
9322 | =begin original | |
9323 | ||
9324 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
9325 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
9326 | sort comparison block, and the variable had earlier been declared as a | |
9327 | lexical variable. Either qualify the sort variable with the package | |
9328 | name, or rename the lexical variable. | |
9329 | ||
9330 | =end original | |
9331 | ||
9332 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
9333 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
9334 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
9335 | 宣言されています。 | |
9336 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
9337 | ||
4596 | 9338 | =item "my" variable %s can't be in a package |
4597 | 9339 | |
4598 | 9340 | =begin original |
4599 | 9341 | |
4600 | 9342 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
4601 | 9343 | sense to try to declare one with a package qualifier on the front. Use |
4602 | 9344 | local() if you want to localize a package variable. |
4603 | 9345 | |
4604 | 9346 | =end original |
4605 | 9347 | |
4606 | (F) | |
9348 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
4607 | 9349 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
4608 | 9350 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
4609 | 9351 | |
4610 | 9352 | =item Name "%s::%s" used only once: possible typo |
4611 | 9353 | |
4612 | 9354 | =begin original |
4613 | 9355 | |
4614 | (W once) Typographical errors often show up as unique variable | |
9356 | (W once) Typographical errors often show up as unique variable | |
4615 | If you had a good reason for having a unique name, then | |
9357 | names. If you had a good reason for having a unique name, then | |
4616 | again somehow to suppress the message. The C<our> | |
9358 | just mention it again somehow to suppress the message. The C<our> | |
4617 | provided for this purpose. | |
9359 | declaration is also provided for this purpose. | |
4618 | 9360 | |
4619 | 9361 | =end original |
4620 | 9362 | |
4621 | 9363 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
4622 | 9364 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
4623 | 9365 | このメッセージを抑制できます。 |
4624 | C<our> 宣言 | |
9366 | C<our> 宣言もこの目的のために提供されています。 | |
4625 | 9367 | |
9368 | =begin original | |
9369 | ||
9370 | NOTE: This warning detects package symbols that have been used | |
9371 | only once. This means lexical variables will never trigger this | |
9372 | warning. It also means that all of the package variables $c, @c, | |
9373 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or | |
9374 | format) are considered the same; if a program uses $c only once | |
9375 | but also uses any of the others it will not trigger this warning. | |
9376 | Symbols beginning with an underscore and symbols using special | |
9377 | identifiers (q.v. L<perldata>) are exempt from this warning. | |
9378 | ||
9379 | =end original | |
9380 | ||
9381 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 | |
9382 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 | |
9383 | また、パッケージ変数 $c, @c, %c および | |
9384 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は | |
9385 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも | |
9386 | その他のものも使っている場合、この警告は引き起こされません。 | |
9387 | 下線で始まるシンボルと特殊識別子 | |
9388 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 | |
9389 | ||
9390 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ | |
9391 | ||
9392 | =begin original | |
9393 | ||
9394 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
9395 | exactly 3 digits long. This helps catch some ambiguities. If your | |
9396 | constant is too short, add leading zeros, like | |
9397 | ||
9398 | =end original | |
9399 | ||
9400 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
9401 | 必要があります。 | |
9402 | これはある種の曖昧さを捕まえる助けになります。 | |
9403 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
9404 | ||
9405 | (?[ [ \078 ] ]) # Syntax error! | |
9406 | (?[ [ \0078 ] ]) # Works | |
9407 | (?[ [ \007 8 ] ]) # Clearer | |
9408 | ||
9409 | =begin original | |
9410 | ||
9411 | The maximum number this construct can express is C<\777>. If you | |
9412 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant | |
9413 | two separate things, you need to separate them: | |
9414 | ||
9415 | =end original | |
9416 | ||
9417 | この構文が表現できる最大数は C<\777> です。 | |
9418 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
9419 | 使う必要があります。 | |
9420 | 二つの別々のものを意味しているなら、分ける必要があります: | |
9421 | ||
9422 | (?[ [ \7776 ] ]) # Syntax error! | |
9423 | (?[ [ \o{7776} ] ]) # One meaning | |
9424 | (?[ [ \777 6 ] ]) # Another meaning | |
9425 | (?[ [ \777 \006 ] ]) # Still another | |
9426 | ||
9427 | =item Negative '/' count in unpack | |
9428 | ||
9429 | =begin original | |
9430 | ||
9431 | (F) The length count obtained from a length/code unpack operation was | |
9432 | negative. See L<perlfunc/pack>. | |
9433 | ||
9434 | =end original | |
9435 | ||
9436 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 | |
9437 | L<perlfunc/pack> を参照してください。 | |
9438 | ||
4626 | 9439 | =item Negative length |
4627 | 9440 | |
4628 | 9441 | =begin original |
4629 | 9442 | |
4630 | 9443 | (F) You tried to do a read/write/send/recv operation with a buffer |
4631 | 9444 | length that is less than 0. This is difficult to imagine. |
4632 | 9445 | |
4633 | 9446 | =end original |
4634 | 9447 | |
4635 | 9448 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
4636 | 9449 | 行なおうとしました。 |
4637 | ||
9450 | これは想像しにくいことです。 | |
4638 | 9451 | |
4639 | =item Ne | |
9452 | =item Negative offset to vec in lvalue context | |
4640 | 9453 | |
4641 | 9454 | =begin original |
4642 | 9455 | |
4643 | (F) | |
9456 | (F) When C<vec> is called in an lvalue context, the second argument must be | |
4644 | ||
9457 | greater than or equal to zero. | |
4645 | expression about where the problem was discovered. | |
4646 | 9458 | |
4647 | 9459 | =end original |
4648 | 9460 | |
4649 | (F) | |
9461 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 | |
9462 | 二つ目の引数は 0 以上でなければなりません。 | |
9463 | ||
9464 | =item Negative repeat count does nothing | |
9465 | ||
9466 | =begin original | |
9467 | ||
9468 | (W numeric) You tried to execute the | |
9469 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 | |
9470 | times, which doesn't make sense. | |
9471 | ||
9472 | =end original | |
9473 | ||
9474 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
9475 | 0 より小さい回数実行しようとしました; これは無意味です。 | |
9476 | ||
9477 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ | |
9478 | ||
9479 | =begin original | |
9480 | ||
9481 | (F) You can't quantify a quantifier without intervening parentheses. | |
9482 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows | |
9483 | whereabouts in the regular expression the problem was discovered. | |
9484 | ||
9485 | =end original | |
9486 | ||
9487 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 | |
4650 | 9488 | つまり、** や +* や ?* といったものは、正しくありません。 |
4651 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9489 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4652 | 9490 | |
4653 | 9491 | =begin original |
4654 | 9492 | |
4655 | Note | |
9493 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and | |
4656 | 9494 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
4657 | 9495 | |
4658 | 9496 | =end original |
4659 | 9497 | |
4660 | ||
9498 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
4661 | 9499 | 見えますが、そうではありません。 |
4662 | 9500 | L<perlre> を参照してください。 |
4663 | 9501 | |
4664 | 9502 | =item %s never introduced |
4665 | 9503 | |
4666 | 9504 | =begin original |
4667 | 9505 | |
4668 | 9506 | (S internal) The symbol in question was declared but somehow went out of |
4669 | 9507 | scope before it could possibly have been used. |
4670 | 9508 | |
4671 | 9509 | =end original |
4672 | 9510 | |
4673 | 9511 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
4674 | 9512 | 外れてしまいました。 |
4675 | 9513 | |
9514 | =item next::method/next::can/maybe::next::method cannot find enclosing method | |
9515 | ||
9516 | =begin original | |
9517 | ||
9518 | (F) C<next::method> needs to be called within the context of a | |
9519 | real method in a real package, and it could not find such a context. | |
9520 | See L<mro>. | |
9521 | ||
9522 | =end original | |
9523 | ||
9524 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる | |
9525 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 | |
9526 | L<mro> を参照してください。 | |
9527 | ||
9528 | =item \N in a character class must be a named character: \N{...} in regex; | |
9529 | marked by S<<-- HERE> in m/%s/ | |
9530 | ||
9531 | =begin original | |
9532 | ||
9533 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a | |
9534 | bracketed character class, for the same reason that C<.> in a character | |
9535 | class loses its specialness: it matches almost everything, which is | |
9536 | probably not what you want. | |
9537 | ||
9538 | =end original | |
9539 | ||
9540 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは | |
9541 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
9542 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
9543 | ないでしょう。 | |
9544 | ||
9545 | =item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
9546 | ||
9547 | =begin original | |
9548 | ||
9549 | (F) Named Unicode character escapes (C<\N{...}>) may return a | |
9550 | multi-character sequence. Even though a character class is | |
9551 | supposed to match just one character of input, perl will match the | |
9552 | whole thing correctly, except under certain conditions. These currently | |
9553 | are | |
9554 | ||
9555 | =end original | |
9556 | ||
9557 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを | |
9558 | 返すことがあります。 | |
9559 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
9560 | perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。 | |
9561 | それは今のところ: | |
9562 | ||
9563 | =over 4 | |
9564 | ||
9565 | =item When the class is inverted (C<[^...]>) | |
9566 | ||
9567 | (クラスが反転された場合 (C<[^...]>)) | |
9568 | ||
9569 | =begin original | |
9570 | ||
9571 | The mathematically logical behavior for what matches when inverting | |
9572 | is very different from what people expect, so we have decided to | |
9573 | forbid it. | |
9574 | ||
9575 | =end original | |
9576 | ||
9577 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
9578 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
9579 | ||
9580 | =item The escape is the beginning or final end point of a range | |
9581 | ||
9582 | (エスケープが範囲の始点か終点の場合) | |
9583 | ||
9584 | =begin original | |
9585 | ||
9586 | Similarly unclear is what should be generated when the | |
9587 | C<\N{...}> is used as one of the end points of the range, such as in | |
9588 | ||
9589 | =end original | |
9590 | ||
9591 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
9592 | 使われたときに何が生成されるべきかということです: | |
9593 | ||
9594 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
9595 | ||
9596 | =begin original | |
9597 | ||
9598 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
9599 | of code points, so this is made an error. | |
9600 | ||
9601 | =end original | |
9602 | ||
9603 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
9604 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
9605 | ||
9606 | =item In a regex set | |
9607 | ||
9608 | (正規表現集合の中の場合) | |
9609 | ||
9610 | =begin original | |
9611 | ||
9612 | The syntax S<C<(?[ ])>> in a regular expression yields a list of | |
9613 | single code points, none can be a sequence. | |
9614 | ||
9615 | =end original | |
9616 | ||
9617 | 正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、 | |
9618 | 並びにはなりません。 | |
9619 | ||
9620 | =back | |
9621 | ||
4676 | 9622 | =item No %s allowed while running setuid |
4677 | 9623 | |
4678 | 9624 | =begin original |
4679 | 9625 | |
4680 | 9626 | (F) Certain operations are deemed to be too insecure for a setuid or |
4681 | 9627 | setgid script to even be allowed to attempt. Generally speaking there |
4682 | 9628 | will be another way to do what you want that is, if not secure, at least |
4683 | 9629 | securable. See L<perlsec>. |
4684 | 9630 | |
4685 | 9631 | =end original |
4686 | 9632 | |
4687 | 9633 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
4688 | 9634 | やってみることはできても、とても安全なものとは考えられないものです。 |
4689 | 9635 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
4690 | 9636 | L<perlsec> を参照してください。 |
4691 | 9637 | |
4692 | =item No | |
9638 | =item No code specified for -%c | |
4693 | 9639 | |
4694 | 9640 | =begin original |
4695 | 9641 | |
4696 | (F) | |
9642 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If | |
9643 | you want to run an empty program, pass the empty string as a separate | |
9644 | argument or run a program consisting of a single 0 or 1: | |
4697 | 9645 | |
4698 | 9646 | =end original |
4699 | 9647 | |
4700 | (F) | |
9648 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 | |
9649 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の | |
9650 | 0 または 1 からなるプログラムを実行してください: | |
4701 | 9651 | |
9652 | perl -e "" | |
9653 | perl -e0 | |
9654 | perl -e1 | |
9655 | ||
4702 | 9656 | =item No comma allowed after %s |
4703 | 9657 | |
4704 | 9658 | =begin original |
4705 | 9659 | |
4706 | (F) A list operator that has a filehandle or "indirect object" is | |
9660 | (F) A list operator that has a filehandle or "indirect object" is | |
4707 | allowed to have a comma between that and the following arguments. | |
9661 | not allowed to have a comma between that and the following arguments. | |
4708 | 9662 | Otherwise it'd be just another one of the arguments. |
4709 | 9663 | |
4710 | 9664 | =end original |
4711 | 9665 | |
4712 | 9666 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
4713 | 9667 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
4714 | 9668 | そのようにした場合には、引数の一つとなってしまいます。 |
4715 | 9669 | |
4716 | 9670 | =begin original |
4717 | 9671 | |
4718 | One possible cause for this is that you expected to have imported | |
9672 | One possible cause for this is that you expected to have imported | |
4719 | constant to your name space with B<use> or B<import> while no such | |
9673 | a constant to your name space with B<use> or B<import> while no such | |
4720 | importing took place, it may for example be that your operating | |
9674 | importing took place, it may for example be that your operating | |
4721 | does not support that particular constant. Hopefully you did | |
9675 | system does not support that particular constant. Hopefully you did | |
4722 | explicit import list for the constants you expect to see | |
9676 | use an explicit import list for the constants you expect to see; | |
4723 | L<perlfunc/use> and L<perlfunc/import>. While an | |
9677 | please see L<perlfunc/use> and L<perlfunc/import>. While an | |
4724 | would probably have caught this error earlier | |
9678 | explicit import list would probably have caught this error earlier | |
4725 | remedy the fact that your operating system | |
9679 | it naturally does not remedy the fact that your operating system | |
4726 | constant. Maybe you have a typo in | |
9680 | still does not support that constant. Maybe you have a typo in | |
4727 | list of B<use> or B<import> or in th | |
9681 | the constants of the symbol import list of B<use> or B<import> or in the | |
4728 | this error was triggered? | |
9682 | constant name at the line where this error was triggered? | |
4729 | 9683 | |
4730 | 9684 | =end original |
4731 | 9685 | |
4732 | 9686 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
4733 | 9687 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
4734 | 9688 | 場合です; |
4735 | 9689 | 例えば OS が特定の定数に対応していない場合などです。 |
4736 | 9690 | できればインポートしたい定数のリストを明示的に使ってください; |
4737 | 9691 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
4738 | 9692 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
4739 | 9693 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
4740 | 9694 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
4741 | 9695 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
4742 | 9696 | |
4743 | 9697 | =item No command into which to pipe on command line |
4744 | 9698 | |
4745 | 9699 | =begin original |
4746 | 9700 | |
4747 | 9701 | (F) An error peculiar to VMS. Perl handles its own command line |
4748 | 9702 | redirection, and found a '|' at the end of the command line, so it |
4749 | 9703 | doesn't know where you want to pipe the output from this command. |
4750 | 9704 | |
4751 | 9705 | =end original |
4752 | 9706 | |
4753 | (F) VMSに固有のエラーです。 | |
9707 | (F) VMS に固有のエラーです。 | |
4754 | 9708 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
4755 | 9709 | コマンドラインの最後にに '|' を発見しましたが、 |
4756 | 9710 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
4757 | 9711 | |
4758 | 9712 | =item No DB::DB routine defined |
4759 | 9713 | |
4760 | 9714 | =begin original |
4761 | 9715 | |
4762 | 9716 | (F) The currently executing code was compiled with the B<-d> switch, but |
4763 | for some reason the perl5db.pl | |
9717 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> | |
4764 | define a routine to be called at the beginning of ea | |
9718 | module) didn't define a routine to be called at the beginning of each | |
4765 | ||
9719 | statement. | |
4766 | should have blown up the require if it didn't parse right. | |
4767 | 9720 | |
4768 | 9721 | =end original |
4769 | 9722 | |
4770 | 9723 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
4771 | 何らかの理由により、perl5db.pl | |
9724 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) | |
4772 | 呼び出すルーティンを定義していません。 | |
9725 | が各実行文の頭で呼び出すルーティンを定義していません。 | |
4773 | そのファイルは自動的に require されるものであり、正しく解釈できなければ、 | |
4774 | require が失敗するはずですので、これはとても有り得ない状態です。 | |
4775 | 9726 | |
4776 | 9727 | =item No dbm on this machine |
4777 | 9728 | |
4778 | 9729 | =begin original |
4779 | 9730 | |
4780 | 9731 | (P) This is counted as an internal error, because every machine should |
4781 | 9732 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
4782 | 9733 | |
4783 | 9734 | =end original |
4784 | 9735 | |
4785 | (P) これは、内部エラーとして扱われます | |
9736 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 | |
4786 | 9737 | どのマシンでも dbm が使えるはずだからです。 |
4787 | 9738 | L<SDBM_File> を参照してください。 |
4788 | 9739 | |
4789 | =item No DBsub routine | |
9740 | =item No DB::sub routine defined | |
4790 | 9741 | |
4791 | 9742 | =begin original |
4792 | 9743 | |
4793 | (F) The currently executing code was compiled with the B<-d> switch, | |
9744 | (F) The currently executing code was compiled with the B<-d> switch, but | |
4794 | ||
9745 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> | |
4795 | didn't define a DB::sub routine to be called at the beginning | |
9746 | module) didn't define a C<DB::sub> routine to be called at the beginning | |
4796 | ordinary subroutine call. | |
9747 | of each ordinary subroutine call. | |
4797 | 9748 | |
4798 | 9749 | =end original |
4799 | 9750 | |
4800 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 | |
9751 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 | |
4801 | 何らかの理由により、perl5db.pl | |
9752 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が | |
4802 | 各サブルー | |
9753 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを | |
4803 | ||
9754 | 定義していませんでした。 | |
4804 | 9755 | |
9756 | =item No digits found for %s literal | |
9757 | ||
9758 | =begin original | |
9759 | ||
9760 | (F) No hexadecimal digits were found following C<0x> or no binary digits | |
9761 | were found following C<0b>. | |
9762 | ||
9763 | =end original | |
9764 | ||
9765 | (F) C<0x> に 16 進数が引き続かなかったり C<0b> に 2 進数が | |
9766 | 引き続かなかったりしました。 | |
9767 | ||
9768 | =item No directory specified for -I | |
9769 | ||
9770 | =begin original | |
9771 | ||
9772 | (F) The B<-I> command-line switch requires a directory name as part of the | |
9773 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. | |
9774 | ||
9775 | =end original | |
9776 | ||
9777 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が | |
9778 | 必要です。 | |
9779 | 例えば、B<-Ilib> としてください。 | |
9780 | B<-I lib> は動作しません。 | |
9781 | ||
4805 | 9782 | =item No error file after 2> or 2>> on command line |
4806 | 9783 | |
4807 | 9784 | =begin original |
4808 | 9785 | |
4809 | 9786 | (F) An error peculiar to VMS. Perl handles its own command line |
4810 | 9787 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
4811 | 9788 | find the name of the file to which to write data destined for stderr. |
4812 | 9789 | |
4813 | 9790 | =end original |
4814 | 9791 | |
4815 | (F) VMSに固有のエラーです。 | |
9792 | (F) VMS に固有のエラーです。 | |
4816 | 9793 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
4817 | 9794 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
4818 | 9795 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
4819 | 9796 | |
9797 | =item No group ending character '%c' found in template | |
9798 | ||
9799 | =begin original | |
9800 | ||
9801 | (F) A pack or unpack template has an opening '(' or '[' without its | |
9802 | matching counterpart. See L<perlfunc/pack>. | |
9803 | ||
9804 | =end original | |
9805 | ||
9806 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 | |
9807 | 対応する閉じかっこがありません。 | |
9808 | L<perlfunc/pack> を参照してください。 | |
9809 | ||
4820 | 9810 | =item No input file after < on command line |
4821 | 9811 | |
4822 | 9812 | =begin original |
4823 | 9813 | |
4824 | 9814 | (F) An error peculiar to VMS. Perl handles its own command line |
4825 | 9815 | redirection, and found a '<' on the command line, but can't find the |
4826 | 9816 | name of the file from which to read data for stdin. |
4827 | 9817 | |
4828 | 9818 | =end original |
4829 | 9819 | |
4830 | (F) VMS | |
9820 | (F) VMS に固有のエラーです。 | |
4831 | 9821 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
4832 | 9822 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
4833 | 9823 | 見つかりませんでした。 |
4834 | 9824 | |
4835 | =item No | |
9825 | =item No next::method '%s' found for %s | |
4836 | 9826 | |
4837 | 9827 | =begin original |
4838 | 9828 | |
4839 | (F) | |
9829 | (F) C<next::method> found no further instances of this method name | |
4840 | ||
9830 | in the remaining packages of the MRO of this class. If you don't want | |
9831 | it throwing an exception, use C<maybe::next::method> | |
9832 | or C<next::can>. See L<mro>. | |
4841 | 9833 | |
4842 | 9834 | =end original |
4843 | 9835 | |
4844 | (F) | |
9836 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この | |
4845 | ||
9837 | メソッド名のインスタンスがもうありません。 | |
9838 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を | |
9839 | 使ってください。 | |
9840 | L<mro> を参照してください。 | |
4846 | 9841 | |
9842 | =item Non-finite repeat count does nothing | |
9843 | ||
9844 | =begin original | |
9845 | ||
9846 | (W numeric) You tried to execute the | |
9847 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or | |
9848 | C<-Inf>) or C<NaN> times, which doesn't make sense. | |
9849 | ||
9850 | =end original | |
9851 | ||
9852 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
9853 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; | |
9854 | これは意味がありません。 | |
9855 | ||
9856 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ | |
9857 | ||
9858 | =begin original | |
9859 | ||
9860 | (F) In a regular expression, there was a non-hexadecimal character where | |
9861 | a hex one was expected, like | |
9862 | ||
9863 | =end original | |
9864 | ||
9865 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
9866 | ||
9867 | (?[ [ \xDG ] ]) | |
9868 | (?[ [ \x{DEKA} ] ]) | |
9869 | ||
9870 | =item Non-hex character '%c' terminates \x early. Resolved as "%s" | |
9871 | ||
9872 | =begin original | |
9873 | ||
9874 | (W digit) In parsing a hexadecimal numeric constant, a character was | |
9875 | unexpectedly encountered that isn't hexadecimal. The resulting value | |
9876 | is as indicated. | |
9877 | ||
9878 | =end original | |
9879 | ||
9880 | (W digit) 16 進数定数をパースするときに、16 進数でない文字に | |
9881 | 想定外に遭遇しました。 | |
9882 | 結果の値は示している通りになります。 | |
9883 | ||
9884 | =begin original | |
9885 | ||
9886 | Note that, within braces, every character starting with the first | |
9887 | non-hexadecimal up to the ending brace is ignored. | |
9888 | ||
9889 | =end original | |
9890 | ||
9891 | 中かっこの中では、最初に現れた非 16 進数文字から中かっこの終わりまでは | |
9892 | 無視されることに注意してください。 | |
9893 | ||
9894 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ | |
9895 | ||
9896 | =begin original | |
9897 | ||
9898 | (F) In a regular expression, there was a non-octal character where | |
9899 | an octal one was expected, like | |
9900 | ||
9901 | =end original | |
9902 | ||
9903 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
9904 | ||
9905 | (?[ [ \o{1278} ] ]) | |
9906 | ||
9907 | =item Non-octal character '%c' terminates \o early. Resolved as "%s" | |
9908 | ||
9909 | =begin original | |
9910 | ||
9911 | (W digit) In parsing an octal numeric constant, a character was | |
9912 | unexpectedly encountered that isn't octal. The resulting value | |
9913 | is as indicated. | |
9914 | ||
9915 | =end original | |
9916 | ||
9917 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
9918 | 結果の値は示している通りになります。 | |
9919 | ||
9920 | =begin original | |
9921 | ||
9922 | When not using C<\o{...}>, you wrote something like C<\08>, or C<\179> | |
9923 | in a double-quotish string. The resolution is as indicated, with all | |
9924 | but the last digit treated as a single character, specified in octal. | |
9925 | The last digit is the next character in the string. To tell Perl that | |
9926 | this is indeed what you want, you can use the C<\o{ }> syntax, or use | |
9927 | exactly three digits to specify the octal for the character. | |
9928 | ||
9929 | =end original | |
9930 | ||
9931 | When not using | |
9932 | C<\o{...}> を使っていないときに、C<\08> のようなものか、 | |
9933 | あるいはダブルクォート風文字列の中で C<\179> のようなものを書きました。 | |
9934 | 結果は示している通りになり、最後以外の数字は 8 進数で指定された | |
9935 | 単一の文字として扱われます。 | |
9936 | 最後の数字は文字列中の次の文字です。 | |
9937 | これが確かに望んだものであることを Perl に伝えるには、 | |
9938 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
9939 | 正確に 3 文字の数字を使ってください。 | |
9940 | ||
9941 | =begin original | |
9942 | ||
9943 | Note that, within braces, every character starting with the first | |
9944 | non-octal up to the ending brace is ignored. | |
9945 | ||
9946 | =end original | |
9947 | ||
9948 | 中かっこの中では、最初に現れた非 8 進数文字から中かっこの終わりまでは | |
9949 | 無視されることに注意してください。 | |
9950 | ||
4847 | 9951 | =item "no" not allowed in expression |
4848 | 9952 | |
4849 | 9953 | =begin original |
4850 | 9954 | |
4851 | 9955 | (F) The "no" keyword is recognized and executed at compile time, and |
4852 | 9956 | returns no useful value. See L<perlmod>. |
4853 | 9957 | |
4854 | 9958 | =end original |
4855 | 9959 | |
4856 | 9960 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
4857 | 9961 | 意味のある値を返しません。 |
4858 | 9962 | L<perlmod> を参照してください。 |
4859 | 9963 | |
9964 | =item Non-string passed as bitmask | |
9965 | ||
9966 | =begin original | |
9967 | ||
9968 | (W misc) A number has been passed as a bitmask argument to select(). | |
9969 | Use the vec() function to construct the file descriptor bitmasks for | |
9970 | select. See L<perlfunc/select>. | |
9971 | ||
9972 | =end original | |
9973 | ||
9974 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
9975 | select のためのファイル記述子のビットマスクを構成するには、 | |
9976 | vec() 関数を使ってください。 | |
9977 | L<perlfunc/select> を参照してください。 | |
9978 | ||
4860 | 9979 | =item No output file after > on command line |
4861 | 9980 | |
4862 | 9981 | =begin original |
4863 | 9982 | |
4864 | 9983 | (F) An error peculiar to VMS. Perl handles its own command line |
4865 | 9984 | redirection, and found a lone '>' at the end of the command line, so it |
4866 | 9985 | doesn't know where you wanted to redirect stdout. |
4867 | 9986 | |
4868 | 9987 | =end original |
4869 | 9988 | |
4870 | (F) VMS | |
9989 | (F) VMS に固有のエラーです。 | |
4871 | 9990 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
4872 | 9991 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
4873 | 9992 | わかりませんでした。 |
4874 | 9993 | |
4875 | 9994 | =item No output file after > or >> on command line |
4876 | 9995 | |
4877 | 9996 | =begin original |
4878 | 9997 | |
4879 | 9998 | (F) An error peculiar to VMS. Perl handles its own command line |
4880 | 9999 | redirection, and found a '>' or a '>>' on the command line, but can't |
4881 | 10000 | find the name of the file to which to write data destined for stdout. |
4882 | 10001 | |
4883 | 10002 | =end original |
4884 | 10003 | |
4885 | (F) VMS | |
10004 | (F) VMS に固有のエラーです。 | |
4886 | 10005 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
4887 | 10006 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
4888 | 10007 | 見つかりませんでした。 |
4889 | 10008 | |
10009 | =item No package name allowed for subroutine %s in "our" | |
10010 | ||
4890 | 10011 | =item No package name allowed for variable %s in "our" |
4891 | 10012 | |
4892 | 10013 | =begin original |
4893 | 10014 | |
4894 | (F) Fully qualified variable names are not allowed in "our" | |
10015 | (F) Fully qualified subroutine and variable names are not allowed in "our" | |
4895 | declarations, because that doesn't make much sense under existing | |
10016 | declarations, because that doesn't make much sense under existing rules. | |
4896 | ||
10017 | Such syntax is reserved for future extensions. | |
4897 | 10018 | |
4898 | 10019 | =end original |
4899 | 10020 | |
4900 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
10021 | (F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません; | |
4901 | 10022 | なぜなら現在の動作ではほとんど意味がないからです。 |
4902 | 10023 | そのような文法は将来の拡張に予約されています。 |
4903 | 10024 | |
4904 | 10025 | =item No Perl script found in input |
4905 | 10026 | |
4906 | 10027 | =begin original |
4907 | 10028 | |
4908 | 10029 | (F) You called C<perl -x>, but no line was found in the file beginning |
4909 | 10030 | with #! and containing the word "perl". |
4910 | 10031 | |
4911 | 10032 | =end original |
4912 | 10033 | |
4913 | 10034 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
4914 | 10035 | "perl" という語を含む行が見つかりませんでした。 |
4915 | 10036 | |
4916 | 10037 | =item No setregid available |
4917 | 10038 | |
4918 | 10039 | =begin original |
4919 | 10040 | |
4920 | 10041 | (F) Configure didn't find anything resembling the setregid() call for |
4921 | 10042 | your system. |
4922 | 10043 | |
4923 | 10044 | =end original |
4924 | 10045 | |
4925 | 10046 | (F) Configure が、システム上に setregid() のような関数を |
4926 | 10047 | 見つけられませんでした。 |
4927 | 10048 | |
4928 | 10049 | =item No setreuid available |
4929 | 10050 | |
4930 | 10051 | =begin original |
4931 | 10052 | |
4932 | 10053 | (F) Configure didn't find anything resembling the setreuid() call for |
4933 | 10054 | your system. |
4934 | 10055 | |
4935 | 10056 | =end original |
4936 | 10057 | |
4937 | 10058 | (F) Configure が、システム上に setreuid() のような関数を |
4938 | 10059 | 見つけられませんでした。 |
4939 | 10060 | |
4940 | =item No s | |
10061 | =item No such class %s | |
4941 | 10062 | |
4942 | 10063 | =begin original |
4943 | 10064 | |
4944 | (F) | |
10065 | (F) You provided a class qualifier in a "my", "our" or "state" | |
4945 | ||
10066 | declaration, but this class doesn't exist at this point in your program. | |
4946 | 10067 | |
4947 | 10068 | =end original |
4948 | 10069 | |
4949 | (F) | |
10070 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された | |
4950 | ス | |
10071 | クラスは現時点では存在しません。 | |
4951 | 10072 | |
4952 | =item No | |
10073 | =item No such class field "%s" in variable %s of type %s | |
4953 | 10074 | |
4954 | 10075 | =begin original |
4955 | 10076 | |
4956 | (F) | |
10077 | (F) You tried to access a key from a hash through the indicated typed | |
4957 | ||
10078 | variable but that key is not allowed by the package of the same type. | |
10079 | The indicated package has restricted the set of allowed keys using the | |
10080 | L<fields> pragma. | |
4958 | 10081 | |
4959 | 10082 | =end original |
4960 | 10083 | |
4961 | (F) | |
10084 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 | |
4962 | ||
10085 | そのキーは同じ型のパッケージによって許可されていません。 | |
10086 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が | |
10087 | 制限されています。 | |
4963 | 10088 | |
10089 | =item No such hook: %s | |
10090 | ||
10091 | =begin original | |
10092 | ||
10093 | (F) You specified a signal hook that was not recognized by Perl. | |
10094 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. | |
10095 | ||
10096 | =end original | |
10097 | ||
10098 | (F) Perl が認識できないシグナルフックを指定しました。 | |
10099 | 現在のところ、Perl は有効なシグナルフックとして | |
10100 | C<__DIE__> と C<__WARN__> を受け付けます。 | |
10101 | ||
4964 | 10102 | =item No such pipe open |
4965 | 10103 | |
4966 | 10104 | =begin original |
4967 | 10105 | |
4968 | 10106 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
4969 | 10107 | close a pipe which hadn't been opened. This should have been caught |
4970 | 10108 | earlier as an attempt to close an unopened filehandle. |
4971 | 10109 | |
4972 | 10110 | =end original |
4973 | 10111 | |
4974 | (P) VMS | |
10112 | (P) VMS に固有のエラーです。 | |
4975 | 10113 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
4976 | 10114 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
4977 | 10115 | 捕捉されるべきものです。 |
4978 | 10116 | |
4979 | =item No such pseudo-hash field "%s" | |
4980 | ||
4981 | =begin original | |
4982 | ||
4983 | (F) You tried to access an array as a hash, but the field name used is | |
4984 | not defined. The hash at index 0 should map all valid field names to | |
4985 | array indices for that to work. | |
4986 | ||
4987 | =end original | |
4988 | ||
4989 | (F) 配列にハッシュとしてアクセスしようとしましたが、使われたフィールド名は | |
4990 | 未定義です。 | |
4991 | インデックス 0 のハッシュは全ての有効なフィールド名が動作する配列 | |
4992 | インデックスにマッピングされるべきです。 | |
4993 | ||
4994 | =item No such pseudo-hash field "%s" in variable %s of type %s | |
4995 | ||
4996 | =begin original | |
4997 | ||
4998 | (F) You tried to access a field of a typed variable where the type does | |
4999 | not know about the field name. The field names are looked up in the | |
5000 | %FIELDS hash in the type package at compile time. The %FIELDS hash is | |
5001 | %usually set up with the 'fields' pragma. | |
5002 | ||
5003 | =end original | |
5004 | ||
5005 | (F) 型がフィールド名について知らない型付き変数のフィールドに | |
5006 | アクセスしようとしました。 | |
5007 | フィールド名はコンパイル時に型パッケージの %FIELDS ハッシュから | |
5008 | 検索されます。 | |
5009 | %FIELDS ハッシュは通常 'fields' プラグマで設定されます。 | |
5010 | ||
5011 | 10117 | =item No such signal: SIG%s |
5012 | 10118 | |
5013 | 10119 | =begin original |
5014 | 10120 | |
5015 | 10121 | (W signal) You specified a signal name as a subscript to %SIG that was |
5016 | 10122 | not recognized. Say C<kill -l> in your shell to see the valid signal |
5017 | 10123 | names on your system. |
5018 | 10124 | |
5019 | 10125 | =end original |
5020 | 10126 | |
5021 | 10127 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
5022 | 10128 | お使いのシステムで使用可能なシグナル名を調べるには、 |
5023 | 10129 | シェル上で C<kill -l> などとしてください。 |
5024 | 10130 | |
10131 | =item No Unicode property value wildcard matches: | |
10132 | ||
10133 | =begin original | |
10134 | ||
10135 | (W regexp) You specified a wildcard for a Unicode property value, but | |
10136 | there is no property value in the current Unicode release that matches | |
10137 | it. Check your spelling. | |
10138 | ||
10139 | =end original | |
10140 | ||
10141 | (W regexp) Unicode 特性値にワイルドカードを指定しましたが、 | |
10142 | 現在の Unicode リリースにはそれにマッチングする特性値はありません。 | |
10143 | 綴りを確認してください。 | |
10144 | ||
5025 | 10145 | =item Not a CODE reference |
5026 | 10146 | |
5027 | 10147 | =begin original |
5028 | 10148 | |
5029 | 10149 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
5030 | 10150 | subroutine), but found a reference to something else instead. You can |
5031 | 10151 | use the ref() function to find out what kind of ref it really was. See |
5032 | 10152 | also L<perlref>. |
5033 | 10153 | |
5034 | 10154 | =end original |
5035 | 10155 | |
5036 | (F) Perl がコード値 (サブルー | |
10156 | (F) Perl がコード値 (サブルーチン) へのリファレンスを | |
5037 | 10157 | 評価しようとしましたが、別のものへのリファレンスでした。 |
5038 | 10158 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5039 | 10159 | 使うことができます。 |
5040 | 10160 | L<perlref> も参照してください。 |
5041 | 10161 | |
5042 | =item Not a format reference | |
5043 | ||
5044 | =begin original | |
5045 | ||
5046 | (F) I'm not sure how you managed to generate a reference to an anonymous | |
5047 | format, but this indicates you did, and that it didn't exist. | |
5048 | ||
5049 | =end original | |
5050 | ||
5051 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは | |
5052 | わかりませんが、このメッセージは、それが指定されて、 | |
5053 | 存在しなかったことを示します。 | |
5054 | ||
5055 | 10162 | =item Not a GLOB reference |
5056 | 10163 | |
5057 | 10164 | =begin original |
5058 | 10165 | |
5059 | 10166 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
5060 | 10167 | symbol table entry that looks like C<*foo>), but found a reference to |
5061 | 10168 | something else instead. You can use the ref() function to find out what |
5062 | 10169 | kind of ref it really was. See L<perlref>. |
5063 | 10170 | |
5064 | 10171 | =end original |
5065 | 10172 | |
5066 | 10173 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
5067 | 10174 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
5068 | 10175 | 別のものへのリファレンスでした。 |
5069 | 10176 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5070 | 10177 | 使うことができます。 |
5071 | 10178 | L<perlref> を参照してください。 |
5072 | 10179 | |
5073 | 10180 | =item Not a HASH reference |
5074 | 10181 | |
5075 | 10182 | =begin original |
5076 | 10183 | |
5077 | 10184 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
5078 | 10185 | reference to something else instead. You can use the ref() function to |
5079 | 10186 | find out what kind of ref it really was. See L<perlref>. |
5080 | 10187 | |
5081 | 10188 | =end original |
5082 | 10189 | |
5083 | 10190 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
5084 | 10191 | 別のものへのリファレンスでした。 |
5085 | 10192 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5086 | 10193 | 使うことができます。 |
5087 | 10194 | L<perlref> を参照してください。 |
5088 | 10195 | |
10196 | =item '#' not allowed immediately following a sigil in a subroutine signature | |
10197 | ||
10198 | =begin original | |
10199 | ||
10200 | (F) In a subroutine signature definition, a comment following a sigil | |
10201 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in | |
10202 | particular to avoid confusion with the C<$#> variable. For example: | |
10203 | ||
10204 | =end original | |
10205 | ||
10206 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く | |
10207 | コメントは、特に C<$#> 変数との混乱を避けるために、 | |
10208 | 空白やカンマなどで分ける必要があります。 | |
10209 | 例えば: | |
10210 | ||
10211 | # bad | |
10212 | sub f ($# ignore first arg | |
10213 | , $b) {} | |
10214 | # good | |
10215 | sub f ($, # ignore first arg | |
10216 | $b) {} | |
10217 | ||
5089 | 10218 | =item Not an ARRAY reference |
5090 | 10219 | |
5091 | 10220 | =begin original |
5092 | 10221 | |
5093 | 10222 | (F) Perl was trying to evaluate a reference to an array value, but found |
5094 | 10223 | a reference to something else instead. You can use the ref() function |
5095 | 10224 | to find out what kind of ref it really was. See L<perlref>. |
5096 | 10225 | |
5097 | 10226 | =end original |
5098 | 10227 | |
5099 | 10228 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
5100 | 10229 | 別のものへのリファレンスでした。 |
5101 | 10230 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5102 | 10231 | 使うことができます。 |
5103 | 10232 | L<perlref> を参照してください。 |
5104 | 10233 | |
5105 | =item Not a perl script | |
5106 | ||
5107 | =begin original | |
5108 | ||
5109 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
5110 | even on machines that don't support the #! construct. The line must | |
5111 | mention perl. | |
5112 | ||
5113 | =end original | |
5114 | ||
5115 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
5116 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
5117 | この行で指定されるのは、perl でなければなりません。 | |
5118 | ||
5119 | 10234 | =item Not a SCALAR reference |
5120 | 10235 | |
5121 | 10236 | =begin original |
5122 | 10237 | |
5123 | 10238 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
5124 | 10239 | a reference to something else instead. You can use the ref() function |
5125 | 10240 | to find out what kind of ref it really was. See L<perlref>. |
5126 | 10241 | |
5127 | 10242 | =end original |
5128 | 10243 | |
5129 | 10244 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
5130 | 10245 | 別のものへのリファレンスでした。 |
5131 | 10246 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5132 | 10247 | 使うことができます。 |
5133 | 10248 | L<perlref> を参照してください。 |
5134 | 10249 | |
5135 | 10250 | =item Not a subroutine reference |
5136 | 10251 | |
5137 | 10252 | =begin original |
5138 | 10253 | |
5139 | 10254 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
5140 | 10255 | subroutine), but found a reference to something else instead. You can |
5141 | 10256 | use the ref() function to find out what kind of ref it really was. See |
5142 | 10257 | also L<perlref>. |
5143 | 10258 | |
5144 | 10259 | =end original |
5145 | 10260 | |
5146 | (F) Perl がコード値 (サブルー | |
10261 | (F) Perl がコード値 (サブルーチン) へのリファレンスを | |
5147 | 10262 | 評価しようとしましたが、別のものへのリファレンスでした。 |
5148 | 10263 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5149 | 10264 | 使うことができます。 |
5150 | 10265 | L<perlref> も参照してください。 |
5151 | 10266 | |
5152 | 10267 | =item Not a subroutine reference in overload table |
5153 | 10268 | |
5154 | 10269 | =begin original |
5155 | 10270 | |
5156 | 10271 | (F) An attempt was made to specify an entry in an overloading table that |
5157 | 10272 | doesn't somehow point to a valid subroutine. See L<overload>. |
5158 | 10273 | |
5159 | 10274 | =end original |
5160 | 10275 | |
5161 | (F) 多重定義テーブルで、有効なサブルー | |
10276 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを | |
5162 | 10277 | 指定しようとしました。 |
5163 | 10278 | L<overload> を参照してください。 |
5164 | 10279 | |
5165 | 10280 | =item Not enough arguments for %s |
5166 | 10281 | |
5167 | 10282 | =begin original |
5168 | 10283 | |
5169 | 10284 | (F) The function requires more arguments than you specified. |
5170 | 10285 | |
5171 | 10286 | =end original |
5172 | 10287 | |
5173 | 10288 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
5174 | 10289 | |
5175 | 10290 | =item Not enough format arguments |
5176 | 10291 | |
5177 | 10292 | =begin original |
5178 | 10293 | |
5179 | 10294 | (W syntax) A format specified more picture fields than the next line |
5180 | 10295 | supplied. See L<perlform>. |
5181 | 10296 | |
5182 | 10297 | =end original |
5183 | 10298 | |
5184 | 10299 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
5185 | 10300 | ピクチャフィールドがあります。 |
5186 | 10301 | L<perlform> を参照してください。 |
5187 | 10302 | |
5188 | 10303 | =item %s: not found |
5189 | 10304 | |
5190 | 10305 | =begin original |
5191 | 10306 | |
5192 | 10307 | (A) You've accidentally run your script through the Bourne shell instead |
5193 | 10308 | of Perl. Check the #! line, or manually feed your script into Perl |
5194 | 10309 | yourself. |
5195 | 10310 | |
5196 | 10311 | =end original |
5197 | 10312 | |
5198 | (A) スクリプトを | |
10313 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 | |
5199 | #! | |
10314 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
5200 | 10315 | |
5201 | 10316 | =item no UTC offset information; assuming local time is UTC |
5202 | 10317 | |
5203 | 10318 | =begin original |
5204 | 10319 | |
5205 | 10320 | (S) A warning peculiar to VMS. Perl was unable to find the local |
5206 | 10321 | timezone offset, so it's assuming that local system time is equivalent |
5207 | 10322 | to UTC. If it's not, define the logical name |
5208 | 10323 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
5209 | 10324 | need to be added to UTC to get local time. |
5210 | 10325 | |
5211 | 10326 | =end original |
5212 | 10327 | |
5213 | (S) VMS 固有の警告です。 | |
10328 | (S) VMS に固有の警告です。 | |
5214 | 10329 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
5215 | 10330 | ローカルシステムタイムは UTC と等価であると仮定します。 |
5216 | 10331 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
5217 | 10332 | 時刻を得るために加える必要がある秒数を定義してください。 |
5218 | 10333 | |
5219 | =item Null filename used | |
5220 | ||
5221 | =begin original | |
5222 | ||
5223 | (F) You can't require the null filename, especially because on many | |
5224 | machines that means the current directory! See L<perlfunc/require>. | |
5225 | ||
5226 | =end original | |
5227 | ||
5228 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 | |
5229 | 空のファイル名は require できません! | |
5230 | L<perlfunc/require> を参照してください。 | |
5231 | ||
5232 | 10334 | =item NULL OP IN RUN |
5233 | 10335 | |
5234 | 10336 | =begin original |
5235 | 10337 | |
5236 | ( | |
10338 | (S debugging) Some internal routine called run() with a null opcode | |
5237 | 10339 | pointer. |
5238 | 10340 | |
5239 | 10341 | =end original |
5240 | 10342 | |
5241 | ( | |
10343 | (S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を | |
5242 | 10344 | 呼んだものがあります。 |
5243 | 10345 | |
5244 | 10346 | =item Null picture in formline |
5245 | 10347 | |
5246 | 10348 | =begin original |
5247 | 10349 | |
5248 | 10350 | (F) The first argument to formline must be a valid format picture |
5249 | 10351 | specification. It was found to be empty, which probably means you |
5250 | 10352 | supplied it an uninitialized value. See L<perlform>. |
5251 | 10353 | |
5252 | 10354 | =end original |
5253 | 10355 | |
5254 | 10356 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
5255 | 10357 | なりません。 |
5256 | 10358 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
5257 | 10359 | L<perlform> を参照してください。 |
5258 | 10360 | |
5259 | =item N | |
10361 | =item NULL regexp parameter | |
5260 | 10362 | |
5261 | 10363 | =begin original |
5262 | 10364 | |
5263 | (P) | |
10365 | (P) The internal pattern matching routines are out of their gourd. | |
5264 | 10366 | |
5265 | 10367 | =end original |
5266 | 10368 | |
5267 | (P) | |
10369 | (P) 内部パターンマッチルーティンが、狂っています。 | |
5268 | 10370 | |
5269 | =item N | |
10371 | =item Number too long | |
5270 | 10372 | |
5271 | 10373 | =begin original |
5272 | 10374 | |
5273 | ( | |
10375 | (F) Perl limits the representation of decimal numbers in programs to | |
10376 | about 250 characters. You've exceeded that length. Future | |
10377 | versions of Perl are likely to eliminate this arbitrary limitation. In | |
10378 | the meantime, try using scientific notation (e.g. "1e6" instead of | |
10379 | "1_000_000"). | |
5274 | 10380 | |
5275 | 10381 | =end original |
5276 | 10382 | |
5277 | ||
10383 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 | |
10384 | この制限を越えました。 | |
10385 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 | |
10386 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を | |
10387 | 使用してください。 | |
5278 | 10388 | |
5279 | =item N | |
10389 | =item Number with no digits | |
5280 | 10390 | |
5281 | 10391 | =begin original |
5282 | 10392 | |
5283 | ( | |
10393 | (F) Perl was looking for a number but found nothing that looked like | |
10394 | a number. This happens, for example with C<\o{}>, with no number between | |
10395 | the braces. | |
5284 | 10396 | |
5285 | 10397 | =end original |
5286 | 10398 | |
5287 | ( | |
10399 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 | |
10400 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 | |
5288 | 10401 | |
5289 | =item Num | |
10402 | =item Numeric format result too large | |
5290 | 10403 | |
5291 | 10404 | =begin original |
5292 | 10405 | |
5293 | (F) | |
10406 | (F) The length of the result of a numeric format supplied to sprintf() | |
5294 | ||
10407 | or printf() would have been too large for the underlying C function to | |
5295 | ||
10408 | report. This limit is typically 2GB. | |
5296 | the meantime, try using scientific notation (e.g. "1e6" instead of | |
5297 | "1_000_000"). | |
5298 | 10409 | |
5299 | 10410 | =end original |
5300 | 10411 | |
5301 | ||
10412 | (F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、 | |
5302 | ||
10413 | 報告するための基礎となる C 関数にとって大きすぎました。 | |
5303 | ||
10414 | この制限は典型的には 2GB です。 | |
5304 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を | |
5305 | 使用してください。 | |
5306 | 10415 | |
5307 | =item | |
10416 | =item Numeric variables with more than one digit may not start with '0' | |
5308 | 10417 | |
5309 | 10418 | =begin original |
5310 | 10419 | |
5311 | (F) | |
10420 | (F) The only numeric variable which is allowed to start with a 0 is C<$0>, | |
5312 | ||
10421 | and you mentioned a variable that starts with 0 that has more than one | |
5313 | ||
10422 | digit. You probably want to remove the leading 0, or if the intent was | |
10423 | to express a variable name in octal you should convert to decimal. | |
5314 | 10424 | |
5315 | 10425 | =end original |
5316 | 10426 | |
5317 | ||
10427 | (F) 0 で始まることが許されている唯一の数値変数は C<$0> で、 | |
5318 | ||
10428 | 0 で始まり複数桁ある変数に言及しました。 | |
5319 | ||
10429 | おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、 | |
10430 | 10 進数に変換する必要があります。 | |
5320 | 10431 | |
5321 | 10432 | =item Octal number > 037777777777 non-portable |
5322 | 10433 | |
5323 | 10434 | =begin original |
5324 | 10435 | |
5325 | 10436 | (W portable) The octal number you specified is larger than 2**32-1 |
5326 | 10437 | (4294967295) and therefore non-portable between systems. See |
5327 | 10438 | L<perlport> for more on portability concerns. |
5328 | 10439 | |
5329 | 10440 | =end original |
5330 | 10441 | |
5331 | 10442 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
5332 | 10443 | システム間で移植性がありません。 |
5333 | 10444 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
5334 | 10445 | |
10446 | =item Odd name/value argument for subroutine '%s' | |
10447 | ||
5335 | 10448 | =begin original |
5336 | 10449 | |
5337 | ||
10450 | (F) A subroutine using a slurpy hash parameter in its signature | |
10451 | received an odd number of arguments to populate the hash. It requires | |
10452 | the arguments to be paired, with the same number of keys as values. | |
10453 | The caller of the subroutine is presumably at fault. | |
5338 | 10454 | |
5339 | 10455 | =end original |
5340 | 10456 | |
5341 | ||
10457 | (F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、 | |
10458 | ハッシュに展開するために奇数の数の引数を受け取りました。 | |
10459 | 引数は、同じ数のキーと値のペアになっていることが必要です。 | |
10460 | おそらくサブルーチンの呼び出し元が間違っています。 | |
5342 | 10461 | |
10462 | =begin original | |
10463 | ||
10464 | The message attempts to include the name of the called subroutine. If the | |
10465 | subroutine has been aliased, the subroutine's original name will be shown, | |
10466 | regardless of what name the caller used. | |
10467 | ||
10468 | =end original | |
10469 | ||
10470 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
10471 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
10472 | サブルーチンの元の名前が表示されます。 | |
10473 | ||
5343 | 10474 | =item Odd number of arguments for overload::constant |
5344 | 10475 | |
5345 | 10476 | =begin original |
5346 | 10477 | |
5347 | (W) The call to overload::constant contained an odd number of | |
10478 | (W overload) The call to overload::constant contained an odd number of | |
5348 | The arguments should come in pairs. | |
10479 | arguments. The arguments should come in pairs. | |
5349 | 10480 | |
5350 | 10481 | =end original |
5351 | 10482 | |
5352 | (W) 奇数の数の引数で overload::constant を呼び出しました。 | |
10483 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 | |
5353 | 10484 | 引数はペアになっている必要があります。 |
5354 | 10485 | |
10486 | =item Odd number of elements in anonymous hash | |
10487 | ||
10488 | =begin original | |
10489 | ||
10490 | (W misc) You specified an odd number of elements to initialize a hash, | |
10491 | which is odd, because hashes come in key/value pairs. | |
10492 | ||
10493 | =end original | |
10494 | ||
10495 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 | |
10496 | key/value のペアで与えられますから、これは奇妙なことです。 | |
10497 | ||
5355 | 10498 | =item Odd number of elements in hash assignment |
5356 | 10499 | |
5357 | 10500 | =begin original |
5358 | 10501 | |
5359 | 10502 | (W misc) You specified an odd number of elements to initialize a hash, |
5360 | 10503 | which is odd, because hashes come in key/value pairs. |
5361 | 10504 | |
5362 | 10505 | =end original |
5363 | 10506 | |
5364 | (W misc) ハッシュリストへの要素の数が奇数でした | |
10507 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 | |
5365 | ||
10508 | key/value のペアで与えられますから、これは奇妙なことです。 | |
5366 | これは奇妙なことです。 | |
5367 | 10509 | |
5368 | 10510 | =item Offset outside string |
5369 | 10511 | |
5370 | 10512 | =begin original |
5371 | 10513 | |
5372 | (F) You tried to do a read/write/send/recv operation | |
10514 | (F)(W layer) You tried to do a read/write/send/recv/seek operation | |
5373 | pointing outside the buffer. This is difficult to | |
10515 | with an offset pointing outside the buffer. This is difficult to | |
5374 | exception to this | |
10516 | imagine. The sole exceptions to this are that zero padding will | |
5375 | t | |
10517 | take place when going past the end of the string when either | |
10518 | C<sysread()>ing a file, or when seeking past the end of a scalar opened | |
10519 | for I/O (in anticipation of future reads and to imitate the behavior | |
10520 | with real files). | |
5376 | 10521 | |
5377 | 10522 | =end original |
5378 | 10523 | |
5379 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を | |
10524 | (F)(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を | |
5380 | 10525 | しようとしました。 |
5381 | 10526 | これは想像しにくいことです。 |
5382 | 唯一の例外は、 | |
10527 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 | |
5383 | ||
10528 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) | |
10529 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 | |
10530 | 0 でパッディングされたときです。 | |
5384 | 10531 | |
5385 | =item | |
10532 | =item Old package separator used in string | |
5386 | 10533 | |
5387 | 10534 | =begin original |
5388 | 10535 | |
5389 | (W | |
10536 | (W syntax) You used the old package separator, "'", in a variable | |
5390 | ||
10537 | named inside a double-quoted string; e.g., C<"In $name's house">. This | |
10538 | is equivalent to C<"In $name::s house">. If you meant the former, put | |
10539 | a backslash before the apostrophe (C<"In $name\'s house">). | |
5391 | 10540 | |
5392 | 10541 | =end original |
5393 | 10542 | |
5394 | (W | |
10543 | (W syntax) ダブルクォートされた文字列の中の変数名で、 | |
5395 | ||
10544 | C<"In $name's house"> のように、 | |
5396 | ||
10545 | 古いパッケージ区切り文字である "'" を使いました。 | |
5397 | ||
10546 | これは C<"In $name::s house"> と等価です。 | |
10547 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
10548 | (C<"In $name\'s house">)。 | |
5398 | 10549 | |
5399 | =item %s() on unopened %s | |
10550 | =item %s() on unopened %s | |
5400 | 10551 | |
5401 | 10552 | =begin original |
5402 | 10553 | |
5403 | 10554 | (W unopened) An I/O operation was attempted on a filehandle that was |
5404 | 10555 | never initialized. You need to do an open(), a sysopen(), or a socket() |
5405 | 10556 | call, or call a constructor from the FileHandle package. |
5406 | 10557 | |
5407 | 10558 | =end original |
5408 | 10559 | |
5409 | 10560 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
5410 | 10561 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
5411 | 10562 | コンストラクタを呼び出す必要があります。 |
5412 | 10563 | |
10564 | =item -%s on unopened filehandle %s | |
10565 | ||
10566 | =begin original | |
10567 | ||
10568 | (W unopened) You tried to invoke a file test operator on a filehandle | |
10569 | that isn't open. Check your control flow. See also L<perlfunc/-X>. | |
10570 | ||
10571 | =end original | |
10572 | ||
10573 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
10574 | 使おうとしました。 | |
10575 | 制御フローをチェックしてください。 | |
10576 | L<perlfunc/-X> も参照してください。 | |
10577 | ||
5413 | 10578 | =item oops: oopsAV |
5414 | 10579 | |
5415 | 10580 | =begin original |
5416 | 10581 | |
5417 | 10582 | (S internal) An internal warning that the grammar is screwed up. |
5418 | 10583 | |
5419 | 10584 | =end original |
5420 | 10585 | |
5421 | 10586 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
5422 | 10587 | |
5423 | 10588 | =item oops: oopsHV |
5424 | 10589 | |
5425 | 10590 | =begin original |
5426 | 10591 | |
5427 | 10592 | (S internal) An internal warning that the grammar is screwed up. |
5428 | 10593 | |
5429 | 10594 | =end original |
5430 | 10595 | |
5431 | 10596 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
5432 | 10597 | |
5433 | =item Opera | |
10598 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in | |
10599 | m/%s/ | |
5434 | 10600 | |
5435 | 10601 | =begin original |
5436 | 10602 | |
10603 | (F) You wrote something like | |
10604 | ||
10605 | =end original | |
10606 | ||
10607 | (F) 次のようなものを書きました: | |
10608 | ||
10609 | (?[ \p{Digit} \p{Thai} ]) | |
10610 | ||
10611 | =begin original | |
10612 | ||
10613 | There are two operands, but no operator giving how you want to combine | |
10614 | them. | |
10615 | ||
10616 | =end original | |
10617 | ||
10618 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
10619 | 演算子がありません。 | |
10620 | ||
10621 | =item Operation "%s": no method found, %s | |
10622 | ||
10623 | =begin original | |
10624 | ||
5437 | 10625 | (F) An attempt was made to perform an overloaded operation for which no |
5438 | 10626 | handler was defined. While some handlers can be autogenerated in terms |
5439 | 10627 | of other handlers, there is no default handler for any operation, unless |
5440 | C<fallback> overloading key is specified to be true. See L<overload>. | |
10628 | the C<fallback> overloading key is specified to be true. See L<overload>. | |
5441 | 10629 | |
5442 | 10630 | =end original |
5443 | 10631 | |
5444 | 10632 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
5445 | 10633 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
5446 | 10634 | オーバーロードキーが真に指定されていない限り、どの動作にも |
5447 | 10635 | デフォルトのハンドラはありません。 |
5448 | 10636 | L<overload> を参照してください。 |
5449 | 10637 | |
10638 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X | |
10639 | ||
10640 | =begin original | |
10641 | ||
10642 | (S non_unicode) You performed an operation requiring Unicode rules | |
10643 | on a code point that is not in Unicode, so what it should do is not | |
10644 | defined. Perl has chosen to have it do nothing, and warn you. | |
10645 | ||
10646 | =end original | |
10647 | ||
10648 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が | |
10649 | 必要な操作を実行しました; 何をするべきかは未定義です。 | |
10650 | Perl は何もしないことを選択し、警告を出します。 | |
10651 | ||
10652 | =begin original | |
10653 | ||
10654 | If the operation shown is "ToFold", it means that case-insensitive | |
10655 | matching in a regular expression was done on the code point. | |
10656 | ||
10657 | =end original | |
10658 | ||
10659 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
10660 | その符号位置に対して行われたということです。 | |
10661 | ||
10662 | =begin original | |
10663 | ||
10664 | If you know what you are doing you can turn off this warning by | |
10665 | C<no warnings 'non_unicode';>. | |
10666 | ||
10667 | =end original | |
10668 | ||
10669 | 自分で何をしているのかが分かっているなら、 | |
10670 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 | |
10671 | ||
10672 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X | |
10673 | ||
10674 | =begin original | |
10675 | ||
10676 | (S surrogate) You performed an operation requiring Unicode | |
10677 | rules on a Unicode surrogate. Unicode frowns upon the use | |
10678 | of surrogates for anything but storing strings in UTF-16, but | |
10679 | rules are (reluctantly) defined for the surrogates, and | |
10680 | they are to do nothing for this operation. Because the use of | |
10681 | surrogates can be dangerous, Perl warns. | |
10682 | ||
10683 | =end original | |
10684 | ||
10685 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な | |
10686 | 操作を実行しました。 | |
10687 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに | |
10688 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは | |
10689 | この操作に対して何もしないことです。 | |
10690 | サロゲートの使用は危険かも知れないので、Perl は警告します。 | |
10691 | ||
10692 | =begin original | |
10693 | ||
10694 | If the operation shown is "ToFold", it means that case-insensitive | |
10695 | matching in a regular expression was done on the code point. | |
10696 | ||
10697 | =end original | |
10698 | ||
10699 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
10700 | その符号位置に対して行われたということです。 | |
10701 | ||
10702 | =begin original | |
10703 | ||
10704 | If you know what you are doing you can turn off this warning by | |
10705 | C<no warnings 'surrogate';>. | |
10706 | ||
10707 | =end original | |
10708 | ||
10709 | 自分で何をしているのかが分かっているなら、 | |
10710 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
10711 | ||
5450 | 10712 | =item Operator or semicolon missing before %s |
5451 | 10713 | |
5452 | 10714 | =begin original |
5453 | 10715 | |
5454 | 10716 | (S ambiguous) You used a variable or subroutine call where the parser |
5455 | 10717 | was expecting an operator. The parser has assumed you really meant to |
5456 | 10718 | use an operator, but this is highly likely to be incorrect. For |
5457 | 10719 | example, if you say "*foo *foo" it will be interpreted as if you said |
5458 | 10720 | "*foo * 'foo'". |
5459 | 10721 | |
5460 | 10722 | =end original |
5461 | 10723 | |
5462 | 10724 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
5463 | 10725 | 呼び出しが使われました。 |
5464 | 10726 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
5465 | 10727 | これは大抵正しくありません。 |
5466 | 10728 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
5467 | 10729 | |
10730 | =item Optional parameter lacks default expression | |
10731 | ||
10732 | =begin original | |
10733 | ||
10734 | (F) In a subroutine signature, you wrote something like "$a =", making a | |
10735 | named optional parameter without a default value. A nameless optional | |
10736 | parameter is permitted to have no default value, but a named one must | |
10737 | have a specific default. You probably want "$a = undef". | |
10738 | ||
10739 | =end original | |
10740 | ||
10741 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き | |
10742 | オプション引数を書きました。 | |
10743 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 | |
10744 | 名前付きのものはデフォルトを指定しなければなりません。 | |
10745 | おそらく "$a = undef" としたかったのでしょう。 | |
10746 | ||
5468 | 10747 | =item "our" variable %s redeclared |
5469 | 10748 | |
5470 | 10749 | =begin original |
5471 | 10750 | |
5472 | (W | |
10751 | (W shadow) You seem to have already declared the same global once before | |
5473 | 10752 | in the current lexical scope. |
5474 | 10753 | |
5475 | 10754 | =end original |
5476 | 10755 | |
5477 | (W | |
10756 | (W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
5478 | 10757 | 宣言しているようです。 |
5479 | 10758 | |
5480 | 10759 | =item Out of memory! |
5481 | 10760 | |
5482 | 10761 | =begin original |
5483 | 10762 | |
5484 | 10763 | (X) The malloc() function returned 0, indicating there was insufficient |
5485 | 10764 | remaining memory (or virtual memory) to satisfy the request. Perl has |
5486 | 10765 | no option but to exit immediately. |
5487 | 10766 | |
5488 | 10767 | =end original |
5489 | 10768 | |
5490 | 10769 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
5491 | 10770 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
5492 | 10771 | Perl は直ちに終了するしかありませんでした。 |
5493 | 10772 | |
10773 | =begin original | |
10774 | ||
10775 | At least in Unix you may be able to get past this by increasing your | |
10776 | process datasize limits: in csh/tcsh use C<limit> and | |
10777 | C<limit datasize n> (where C<n> is the number of kilobytes) to check | |
10778 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> | |
10779 | and C<ulimit -d n>, respectively. | |
10780 | ||
10781 | =end original | |
10782 | ||
10783 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって | |
10784 | これを回避することが可能です: | |
10785 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには | |
10786 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; | |
10787 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 | |
10788 | ||
10789 | =item Out of memory during %s extend | |
10790 | ||
10791 | =begin original | |
10792 | ||
10793 | (X) An attempt was made to extend an array, a list, or a string beyond | |
10794 | the largest possible memory allocation. | |
10795 | ||
10796 | =end original | |
10797 | ||
10798 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 | |
10799 | ||
5494 | 10800 | =item Out of memory during "large" request for %s |
5495 | 10801 | |
5496 | 10802 | =begin original |
5497 | 10803 | |
5498 | 10804 | (F) The malloc() function returned 0, indicating there was insufficient |
5499 | remaining memory (or virtual memory) to satisfy the request. However, | |
10805 | remaining memory (or virtual memory) to satisfy the request. However, | |
5500 | 10806 | the request was judged large enough (compile-time default is 64K), so a |
5501 | 10807 | possibility to shut down by trapping this error is granted. |
5502 | 10808 | |
5503 | 10809 | =end original |
5504 | 10810 | |
5505 | 10811 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
5506 | 10812 | (または仮想メモリ)が不十分であることを示しています。 |
5507 | 10813 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
5508 | 10814 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
5509 | 10815 | |
5510 | 10816 | =item Out of memory during request for %s |
5511 | 10817 | |
5512 | 10818 | =begin original |
5513 | 10819 | |
5514 | (X | |
10820 | (X)(F) The malloc() function returned 0, indicating there was | |
5515 | 10821 | insufficient remaining memory (or virtual memory) to satisfy the |
5516 | 10822 | request. |
5517 | 10823 | |
5518 | 10824 | =end original |
5519 | 10825 | |
5520 | (X | |
10826 | (X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ | |
5521 | 10827 | (または仮想メモリ)が不十分であることを示しています。 |
5522 | 10828 | |
5523 | 10829 | =begin original |
5524 | 10830 | |
5525 | 10831 | The request was judged to be small, so the possibility to trap it |
5526 | 10832 | depends on the way perl was compiled. By default it is not trappable. |
5527 | 10833 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
5528 | 10834 | emergency pool after die()ing with this message. In this case the error |
5529 | 10835 | is trappable I<once>, and the error message will include the line and file |
5530 | 10836 | where the failed request happened. |
5531 | 10837 | |
5532 | 10838 | =end original |
5533 | 10839 | |
5534 | 10840 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
5535 | 10841 | どのようにコンパイルされたかに依存します。 |
5536 | 10842 | デフォルトではこれはトラップできません。 |
5537 | 10843 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
5538 | 10844 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
5539 | 10845 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
5540 | 10846 | 要求が起きたファイルと行番号を含んでいます。 |
5541 | 10847 | |
5542 | 10848 | =item Out of memory during ridiculously large request |
5543 | 10849 | |
5544 | 10850 | =begin original |
5545 | 10851 | |
5546 | 10852 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
5547 | 10853 | is most likely to be caused by a typo in the Perl program. e.g., |
5548 | 10854 | C<$arr[time]> instead of C<$arr[$time]>. |
5549 | 10855 | |
5550 | 10856 | =end original |
5551 | 10857 | |
5552 | 10858 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
5553 | このエラーはほとんどの場合 | |
10859 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 | |
5554 | C<$arr[time]> の | |
10860 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 | |
5555 | 10861 | |
5556 | 10862 | =item Out of memory for yacc stack |
5557 | 10863 | |
5558 | 10864 | =begin original |
5559 | 10865 | |
5560 | 10866 | (F) The yacc parser wanted to grow its stack so it could continue |
5561 | 10867 | parsing, but realloc() wouldn't give it more memory, virtual or |
5562 | 10868 | otherwise. |
5563 | 10869 | |
5564 | 10870 | =end original |
5565 | 10871 | |
5566 | 10872 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
5567 | 10873 | realloc() が仮想やその他のメモリを確保できませんでした。 |
5568 | 10874 | |
5569 | =item | |
10875 | =item '.' outside of string in pack | |
5570 | 10876 | |
5571 | 10877 | =begin original |
5572 | 10878 | |
5573 | (F) | |
10879 | (F) The argument to a '.' in your template tried to move the working | |
10880 | position to before the start of the packed string being built. | |
10881 | ||
10882 | =end original | |
10883 | ||
10884 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも | |
10885 | 前に作業位置を移動しようとしました。 | |
10886 | ||
10887 | =item '@' outside of string in unpack | |
10888 | ||
10889 | =begin original | |
10890 | ||
10891 | (F) You had a template that specified an absolute position outside | |
5574 | 10892 | the string being unpacked. See L<perlfunc/pack>. |
5575 | 10893 | |
5576 | 10894 | =end original |
5577 | 10895 | |
5578 | 10896 | (F) unpack される文字列の外に絶対位置指定している、 |
5579 | ||
10897 | テンプレートを指定しました。 | |
5580 | 10898 | L<perlfunc/pack> を参照してください。 |
5581 | 10899 | |
10900 | =item '@' outside of string with malformed UTF-8 in unpack | |
10901 | ||
10902 | =begin original | |
10903 | ||
10904 | (F) You had a template that specified an absolute position outside | |
10905 | the string being unpacked. The string being unpacked was also invalid | |
10906 | UTF-8. See L<perlfunc/pack>. | |
10907 | ||
10908 | =end original | |
10909 | ||
10910 | (F) unpack される文字列の外に絶対位置指定している、 | |
10911 | テンプレートを指定しました。 | |
10912 | unpack された文字列は不正な UTF-8 でもあります。 | |
10913 | L<perlfunc/pack> を参照してください。 | |
10914 | ||
10915 | =item overload arg '%s' is invalid | |
10916 | ||
10917 | =begin original | |
10918 | ||
10919 | (W overload) The L<overload> pragma was passed an argument it did not | |
10920 | recognize. Did you mistype an operator? | |
10921 | ||
10922 | =end original | |
10923 | ||
10924 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 | |
10925 | 演算子をタイプミスしましたか? | |
10926 | ||
10927 | =item Overloaded dereference did not return a reference | |
10928 | ||
10929 | =begin original | |
10930 | ||
10931 | (F) An object with an overloaded dereference operator was dereferenced, | |
10932 | but the overloaded operation did not return a reference. See | |
10933 | L<overload>. | |
10934 | ||
10935 | =end original | |
10936 | ||
10937 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが | |
10938 | デリファレンスされましたが、オーバーロード演算がリファレンスを | |
10939 | 返しませんでした。 | |
10940 | L<overload> を参照してください。 | |
10941 | ||
10942 | =item Overloaded qr did not return a REGEXP | |
10943 | ||
10944 | =begin original | |
10945 | ||
10946 | (F) An object with a C<qr> overload was used as part of a match, but the | |
10947 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
10948 | ||
10949 | =end original | |
10950 | ||
10951 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として | |
10952 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を | |
10953 | 返しませんでした。 | |
10954 | L<overload> を参照してください。 | |
10955 | ||
5582 | 10956 | =item %s package attribute may clash with future reserved word: %s |
5583 | 10957 | |
5584 | 10958 | =begin original |
5585 | 10959 | |
5586 | 10960 | (W reserved) A lowercase attribute name was used that had a |
5587 | 10961 | package-specific handler. That name might have a meaning to Perl itself |
5588 | 10962 | some day, even though it doesn't yet. Perhaps you should use a |
5589 | 10963 | mixed-case attribute name, instead. See L<attributes>. |
5590 | 10964 | |
5591 | 10965 | =end original |
5592 | 10966 | |
5593 | 10967 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
5594 | 10968 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
5595 | 10969 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
5596 | 10970 | L<attributes> を参照してください。 |
5597 | 10971 | |
10972 | =item pack/unpack repeat count overflow | |
10973 | ||
10974 | =begin original | |
10975 | ||
10976 | (F) You can't specify a repeat count so large that it overflows your | |
10977 | signed integers. See L<perlfunc/pack>. | |
10978 | ||
10979 | =end original | |
10980 | ||
10981 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
10982 | 値は指定できません。 | |
10983 | L<perlfunc/pack> を参照してください。 | |
10984 | ||
5598 | 10985 | =item page overflow |
5599 | 10986 | |
5600 | 10987 | =begin original |
5601 | 10988 | |
5602 | 10989 | (W io) A single call to write() produced more lines than can fit on a |
5603 | 10990 | page. See L<perlform>. |
5604 | 10991 | |
5605 | 10992 | =end original |
5606 | 10993 | |
5607 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
10994 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が | |
5608 | ||
10995 | できました。 | |
5609 | 10996 | L<perlform> を参照してください。 |
5610 | 10997 | |
5611 | 10998 | =item panic: %s |
5612 | 10999 | |
5613 | 11000 | =begin original |
5614 | 11001 | |
5615 | 11002 | (P) An internal error. |
5616 | 11003 | |
5617 | 11004 | =end original |
5618 | 11005 | |
5619 | 11006 | (P) 内部エラーです。 |
5620 | 11007 | |
5621 | =item panic: | |
11008 | =item panic: attempt to call %s in %s | |
5622 | 11009 | |
5623 | 11010 | =begin original |
5624 | 11011 | |
5625 | (P) | |
11012 | (P) One of the file test operators entered a code branch that calls | |
11013 | an ACL related-function, but that function is not available on this | |
11014 | platform. Earlier checks mean that it should not be possible to | |
11015 | enter this branch on this platform. | |
5626 | 11016 | |
5627 | 11017 | =end original |
5628 | 11018 | |
5629 | (P) | |
11019 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に | |
5630 | ||
11020 | 入りましたが、この関数はこのプラットフォームでは利用できません。 | |
11021 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように | |
11022 | するべきことを意味します。 | |
5631 | 11023 | |
5632 | =item panic: c | |
11024 | =item panic: child pseudo-process was never scheduled | |
5633 | 11025 | |
5634 | 11026 | =begin original |
5635 | 11027 | |
5636 | (P) | |
11028 | (P) A child pseudo-process in the ithreads implementation on Windows | |
11029 | was not scheduled within the time period allowed and therefore was not | |
11030 | able to initialize properly. | |
5637 | 11031 | |
5638 | 11032 | =end original |
5639 | 11033 | |
5640 | (P) | |
11034 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に | |
11035 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
11036 | ||
11037 | =item panic: ck_grep, type=%u | |
11038 | ||
11039 | =begin original | |
11040 | ||
11041 | (P) Failed an internal consistency check trying to compile a grep. | |
11042 | ||
11043 | =end original | |
11044 | ||
11045 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
5641 | 11046 | 引っ掛かりました。 |
5642 | 11047 | |
5643 | =item panic: corrupt saved stack index | |
11048 | =item panic: corrupt saved stack index %ld | |
5644 | 11049 | |
5645 | 11050 | =begin original |
5646 | 11051 | |
5647 | 11052 | (P) The savestack was requested to restore more localized values than |
5648 | 11053 | there are in the savestack. |
5649 | 11054 | |
5650 | 11055 | =end original |
5651 | 11056 | |
5652 | 11057 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
5653 | 11058 | 要求がありました。 |
5654 | 11059 | |
5655 | 11060 | =item panic: del_backref |
5656 | 11061 | |
5657 | 11062 | =begin original |
5658 | 11063 | |
5659 | 11064 | (P) Failed an internal consistency check while trying to reset a weak |
5660 | 11065 | reference. |
5661 | 11066 | |
5662 | 11067 | =end original |
5663 | 11068 | |
5664 | 11069 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
5665 | 11070 | 一貫性チェックに引っ掛かりました。 |
5666 | 11071 | |
5667 | =item panic: d | |
11072 | =item panic: fold_constants JMPENV_PUSH returned %d | |
5668 | 11073 | |
5669 | 11074 | =begin original |
5670 | 11075 | |
5671 | (P) We po | |
11076 | (P) While attempting folding constants an exception other than an C<eval> | |
5672 | i | |
11077 | failure was caught. | |
5673 | 11078 | |
5674 | 11079 | =end original |
5675 | 11080 | |
5676 | (P) eval | |
11081 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 | |
5677 | eval コンテキストでないことがわかりました。 | |
5678 | 11082 | |
5679 | =item panic: p | |
11083 | =item panic: frexp: %f | |
5680 | 11084 | |
5681 | 11085 | =begin original |
5682 | 11086 | |
5683 | (P) The internal pp_match() routine was called with invalid operational | |
5684 | data. | |
5685 | ||
5686 | =end original | |
5687 | ||
5688 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
5689 | 付けて呼ばれました。 | |
5690 | ||
5691 | =item panic: do_subst | |
5692 | ||
5693 | =begin original | |
5694 | ||
5695 | (P) The internal pp_subst() routine was called with invalid operational | |
5696 | data. | |
5697 | ||
5698 | =end original | |
5699 | ||
5700 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを | |
5701 | 付けて呼ばれました。 | |
5702 | ||
5703 | =item panic: do_trans_%s | |
5704 | ||
5705 | =begin original | |
5706 | ||
5707 | (P) The internal do_trans routines were called with invalid operational | |
5708 | data. | |
5709 | ||
5710 | =end original | |
5711 | ||
5712 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを | |
5713 | 付けて呼ばれました。 | |
5714 | ||
5715 | =item panic: frexp | |
5716 | ||
5717 | =begin original | |
5718 | ||
5719 | 11087 | (P) The library function frexp() failed, making printf("%f") impossible. |
5720 | 11088 | |
5721 | 11089 | =end original |
5722 | 11090 | |
5723 | 11091 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
5724 | 11092 | |
5725 | =item panic: goto | |
11093 | =item panic: goto, type=%u, ix=%ld | |
5726 | 11094 | |
5727 | 11095 | =begin original |
5728 | 11096 | |
5729 | 11097 | (P) We popped the context stack to a context with the specified label, |
5730 | 11098 | and then discovered it wasn't a context we know how to do a goto in. |
5731 | 11099 | |
5732 | 11100 | =end original |
5733 | 11101 | |
5734 | 11102 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
5735 | 11103 | ポップしたあと、どのように goto するかがわかっている |
5736 | 11104 | コンテキストでないことがわかりました。 |
5737 | 11105 | |
5738 | =item panic: | |
11106 | =item panic: gp_free failed to free glob pointer | |
5739 | 11107 | |
5740 | 11108 | =begin original |
5741 | 11109 | |
5742 | (P) The | |
11110 | (P) The internal routine used to clear a typeglob's entries tried | |
11111 | repeatedly, but each time something re-created entries in the glob. | |
11112 | Most likely the glob contains an object with a reference back to | |
11113 | the glob and a destructor that adds a new object to the glob. | |
5743 | 11114 | |
5744 | 11115 | =end original |
5745 | 11116 | |
5746 | (P) | |
11117 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 | |
11118 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 | |
11119 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを | |
11120 | 追加するデストラクタを持つオブジェクトが含まれています。 | |
5747 | 11121 | |
5748 | =item panic: INTERPC | |
11122 | =item panic: INTERPCASEMOD, %s | |
5749 | 11123 | |
5750 | 11124 | =begin original |
5751 | 11125 | |
5752 | (P) The lexer got into a bad state | |
11126 | (P) The lexer got into a bad state at a case modifier. | |
5753 | 11127 | |
5754 | 11128 | =end original |
5755 | 11129 | |
5756 | (P) | |
11130 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 | |
5757 | 11131 | |
5758 | =item panic: | |
11132 | =item panic: INTERPCONCAT, %s | |
5759 | 11133 | |
5760 | 11134 | =begin original |
5761 | 11135 | |
5762 | ( | |
11136 | (P) The lexer got into a bad state parsing a string with brackets. | |
5763 | 11137 | |
5764 | 11138 | =end original |
5765 | 11139 | |
5766 | ( | |
11140 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 | |
5767 | 11141 | |
5768 | =item panic: | |
11142 | =item panic: kid popen errno read | |
5769 | 11143 | |
5770 | 11144 | =begin original |
5771 | 11145 | |
5772 | ( | |
11146 | (F) A forked child returned an incomprehensible message about its errno. | |
5773 | it wasn't a block context. | |
5774 | 11147 | |
5775 | 11148 | =end original |
5776 | 11149 | |
5777 | ( | |
11150 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 | |
5778 | block コンテキストでないことがわかりました。 | |
5779 | 11151 | |
5780 | =item panic: leave_scope c | |
11152 | =item panic: leave_scope inconsistency %u | |
5781 | 11153 | |
5782 | 11154 | =begin original |
5783 | 11155 | |
5784 | (P) A writable lexical variable became read-only somehow within the | |
5785 | scope. | |
5786 | ||
5787 | =end original | |
5788 | ||
5789 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で | |
5790 | リードオンリーになりました。 | |
5791 | ||
5792 | =item panic: leave_scope inconsistency | |
5793 | ||
5794 | =begin original | |
5795 | ||
5796 | 11156 | (P) The savestack probably got out of sync. At least, there was an |
5797 | 11157 | invalid enum on the top of it. |
5798 | 11158 | |
5799 | 11159 | =end original |
5800 | 11160 | |
5801 | 11161 | (P) おそらく、セーブスタックの同期がとれていません。 |
5802 | 11162 | 少なくとも、トップに不正な enum がありました。 |
5803 | 11163 | |
5804 | 11164 | =item panic: magic_killbackrefs |
5805 | 11165 | |
5806 | 11166 | =begin original |
5807 | 11167 | |
5808 | 11168 | (P) Failed an internal consistency check while trying to reset all weak |
5809 | 11169 | references to an object. |
5810 | 11170 | |
5811 | 11171 | =end original |
5812 | 11172 | |
5813 | 11173 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
5814 | 11174 | 一貫性チェックに引っ掛かりました。 |
5815 | 11175 | |
5816 | =item panic: malloc | |
11176 | =item panic: malloc, %s | |
5817 | 11177 | |
5818 | 11178 | =begin original |
5819 | 11179 | |
5820 | 11180 | (P) Something requested a negative number of bytes of malloc. |
5821 | 11181 | |
5822 | 11182 | =end original |
5823 | 11183 | |
5824 | 11184 | (P) malloc に負のバイト数で要求が行なわれました。 |
5825 | 11185 | |
5826 | =item panic: map | |
11186 | =item panic: memory wrap | |
5827 | 11187 | |
5828 | 11188 | =begin original |
5829 | 11189 | |
5830 | (P) | |
11190 | (P) Something tried to allocate either more memory than possible or a | |
11191 | negative amount. | |
5831 | 11192 | |
5832 | 11193 | =end original |
5833 | 11194 | |
5834 | (P) | |
11195 | (P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。 | |
5835 | 11196 | |
5836 | =item panic: n | |
11197 | =item panic: newFORLOOP, %s | |
5837 | 11198 | |
5838 | 11199 | =begin original |
5839 | 11200 | |
5840 | (P) | |
11201 | (P) The parser failed an internal consistency check while trying to parse | |
11202 | a C<foreach> loop. | |
5841 | 11203 | |
5842 | 11204 | =end original |
5843 | 11205 | |
5844 | (P) | |
11206 | (P) The parser failed an internal consistency check while trying to parse | |
11207 | a | |
11208 | パーサは、C<foreach> ループをパースしようとするときに、内部の | |
11209 | 一貫性チェックに失敗しました。 | |
5845 | 11210 | |
5846 | =item panic: pad_alloc | |
11211 | =item panic: pad_alloc, %p!=%p | |
5847 | 11212 | |
5848 | 11213 | =begin original |
5849 | 11214 | |
5850 | 11215 | (P) The compiler got confused about which scratch pad it was allocating |
5851 | 11216 | and freeing temporaries and lexicals from. |
5852 | 11217 | |
5853 | 11218 | =end original |
5854 | 11219 | |
5855 | 11220 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5856 | 11221 | スクラッチパッドについて混乱しました。 |
5857 | 11222 | |
5858 | =item panic: pad_free curpad | |
11223 | =item panic: pad_free curpad, %p!=%p | |
5859 | 11224 | |
5860 | 11225 | =begin original |
5861 | 11226 | |
5862 | 11227 | (P) The compiler got confused about which scratch pad it was allocating |
5863 | 11228 | and freeing temporaries and lexicals from. |
5864 | 11229 | |
5865 | 11230 | =end original |
5866 | 11231 | |
5867 | 11232 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5868 | 11233 | スクラッチパッドについて混乱しました。 |
5869 | 11234 | |
5870 | 11235 | =item panic: pad_free po |
5871 | 11236 | |
5872 | 11237 | =begin original |
5873 | 11238 | |
5874 | (P) A | |
11239 | (P) A zero scratch pad offset was detected internally. An attempt was | |
11240 | made to free a target that had not been allocated to begin with. | |
5875 | 11241 | |
5876 | 11242 | =end original |
5877 | 11243 | |
5878 | (P) | |
11244 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
11245 | 始めるために割り当てられていないターゲットを解放しようとしました。 | |
5879 | 11246 | |
5880 | =item panic: pad_reset curpad | |
11247 | =item panic: pad_reset curpad, %p!=%p | |
5881 | 11248 | |
5882 | 11249 | =begin original |
5883 | 11250 | |
5884 | 11251 | (P) The compiler got confused about which scratch pad it was allocating |
5885 | 11252 | and freeing temporaries and lexicals from. |
5886 | 11253 | |
5887 | 11254 | =end original |
5888 | 11255 | |
5889 | 11256 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5890 | 11257 | スクラッチパッドについて混乱しました。 |
5891 | 11258 | |
5892 | 11259 | =item panic: pad_sv po |
5893 | 11260 | |
5894 | 11261 | =begin original |
5895 | 11262 | |
5896 | (P) A | |
11263 | (P) A zero scratch pad offset was detected internally. Most likely | |
11264 | an operator needed a target but that target had not been allocated | |
11265 | for whatever reason. | |
5897 | 11266 | |
5898 | 11267 | =end original |
5899 | 11268 | |
5900 | (P) | |
11269 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
11270 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で | |
11271 | 割り当てられていません。 | |
5901 | 11272 | |
5902 | =item panic: pad_swipe curpad | |
11273 | =item panic: pad_swipe curpad, %p!=%p | |
5903 | 11274 | |
5904 | 11275 | =begin original |
5905 | 11276 | |
5906 | 11277 | (P) The compiler got confused about which scratch pad it was allocating |
5907 | 11278 | and freeing temporaries and lexicals from. |
5908 | 11279 | |
5909 | 11280 | =end original |
5910 | 11281 | |
5911 | 11282 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5912 | 11283 | スクラッチパッドについて混乱しました。 |
5913 | 11284 | |
5914 | 11285 | =item panic: pad_swipe po |
5915 | 11286 | |
5916 | 11287 | =begin original |
5917 | 11288 | |
5918 | 11289 | (P) An invalid scratch pad offset was detected internally. |
5919 | 11290 | |
5920 | 11291 | =end original |
5921 | 11292 | |
5922 | 11293 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
5923 | 11294 | |
5924 | =item panic: pp_iter | |
11295 | =item panic: pp_iter, type=%u | |
5925 | 11296 | |
5926 | 11297 | =begin original |
5927 | 11298 | |
5928 | 11299 | (P) The foreach iterator got called in a non-loop context frame. |
5929 | 11300 | |
5930 | 11301 | =end original |
5931 | 11302 | |
5932 | 11303 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
5933 | 11304 | |
5934 | =item panic: pp_ | |
11305 | =item panic: pp_match%s | |
5935 | 11306 | |
5936 | 11307 | =begin original |
5937 | 11308 | |
5938 | (P) | |
11309 | (P) The internal pp_match() routine was called with invalid operational | |
11310 | data. | |
5939 | 11311 | |
5940 | 11312 | =end original |
5941 | 11313 | |
5942 | (P) | |
11314 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
11315 | 付けて呼ばれました。 | |
5943 | 11316 | |
5944 | =item panic: realloc | |
11317 | =item panic: realloc, %s | |
5945 | 11318 | |
5946 | 11319 | =begin original |
5947 | 11320 | |
5948 | 11321 | (P) Something requested a negative number of bytes of realloc. |
5949 | 11322 | |
5950 | 11323 | =end original |
5951 | 11324 | |
5952 | 11325 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
5953 | 11326 | |
5954 | =item panic: rest | |
11327 | =item panic: reference miscount on nsv in sv_replace() (%d != 1) | |
5955 | 11328 | |
5956 | 11329 | =begin original |
5957 | 11330 | |
11331 | (P) The internal sv_replace() function was handed a new SV with a | |
11332 | reference count other than 1. | |
11333 | ||
11334 | =end original | |
11335 | ||
11336 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を | |
11337 | 扱いました。 | |
11338 | ||
11339 | =item panic: restartop in %s | |
11340 | ||
11341 | =begin original | |
11342 | ||
5958 | 11343 | (P) Some internal routine requested a goto (or something like it), and |
5959 | 11344 | didn't supply the destination. |
5960 | 11345 | |
5961 | 11346 | =end original |
5962 | 11347 | |
5963 | 11348 | (P) 内部ルーティンから goto (または、同じようなもの) が |
5964 | 11349 | 要求されましたが、飛び先が与えれていません。 |
5965 | 11350 | |
5966 | =item panic: return | |
11351 | =item panic: return, type=%u | |
5967 | 11352 | |
5968 | 11353 | =begin original |
5969 | 11354 | |
5970 | 11355 | (P) We popped the context stack to a subroutine or eval context, and |
5971 | 11356 | then discovered it wasn't a subroutine or eval context. |
5972 | 11357 | |
5973 | 11358 | =end original |
5974 | 11359 | |
5975 | (P) サブルー | |
11360 | (P) サブルーチンコンテキストや eval コンテキストへ、 | |
5976 | コンテキストスタックをポップしたあと、サブルー | |
11361 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや | |
5977 | 11362 | eval コンテキストでないことがわかりました。 |
5978 | 11363 | |
5979 | =item panic: scan_num | |
11364 | =item panic: scan_num, %s | |
5980 | 11365 | |
5981 | 11366 | =begin original |
5982 | 11367 | |
5983 | 11368 | (P) scan_num() got called on something that wasn't a number. |
5984 | 11369 | |
5985 | 11370 | =end original |
5986 | 11371 | |
5987 | 11372 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
5988 | 11373 | |
5989 | =item panic: | |
11374 | =item panic: Sequence (?{...}): no code block found in regex m/%s/ | |
5990 | 11375 | |
5991 | 11376 | =begin original |
5992 | 11377 | |
11378 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code | |
11379 | blocks, perl couldn't locate the code block that should have already been | |
11380 | seen and compiled by perl before control passed to the regex compiler. | |
11381 | ||
11382 | =end original | |
11383 | ||
11384 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
11385 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
11386 | コンパイルされているコードブロックを発見できませんでした。 | |
11387 | ||
11388 | =item panic: sv_chop %s | |
11389 | ||
11390 | =begin original | |
11391 | ||
11392 | (P) The sv_chop() routine was passed a position that is not within the | |
11393 | scalar's string buffer. | |
11394 | ||
11395 | =end original | |
11396 | ||
11397 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を | |
11398 | 渡されました。 | |
11399 | ||
11400 | =item panic: sv_insert, midend=%p, bigend=%p | |
11401 | ||
11402 | =begin original | |
11403 | ||
5993 | 11404 | (P) The sv_insert() routine was told to remove more string than there |
5994 | 11405 | was string. |
5995 | 11406 | |
5996 | 11407 | =end original |
5997 | 11408 | |
5998 | 11409 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
5999 | 11410 | 指示されました。 |
6000 | 11411 | |
6001 | 11412 | =item panic: top_env |
6002 | 11413 | |
6003 | 11414 | =begin original |
6004 | 11415 | |
6005 | 11416 | (P) The compiler attempted to do a goto, or something weird like that. |
6006 | 11417 | |
6007 | 11418 | =end original |
6008 | 11419 | |
6009 | 11420 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
6010 | 11421 | |
6011 | =item panic: yy | |
11422 | =item panic: unexpected constant lvalue entersub entry via type/targ %d:%d | |
6012 | 11423 | |
6013 | 11424 | =begin original |
6014 | 11425 | |
6015 | (P) | |
11426 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
11427 | internal consistency check. It encountered a malformed op tree. | |
6016 | 11428 | |
6017 | 11429 | =end original |
6018 | 11430 | |
6019 | (P) | |
11431 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
11432 | 内部一貫性チェックに失敗しました。 | |
11433 | 不正な構文木に遭遇しました。 | |
6020 | 11434 | |
11435 | =item panic: unimplemented op %s (#%d) called | |
11436 | ||
11437 | =begin original | |
11438 | ||
11439 | (P) The compiler is screwed up and attempted to use an op that isn't | |
11440 | permitted at run time. | |
11441 | ||
11442 | =end original | |
11443 | ||
11444 | (P) コンパイラがおかしくなって、実行時に許可されていない op を | |
11445 | しようとしました。 | |
11446 | ||
11447 | =item panic: unknown OA_*: %x | |
11448 | ||
11449 | =begin original | |
11450 | ||
11451 | (P) The internal routine that handles arguments to C<&CORE::foo()> | |
11452 | subroutine calls was unable to determine what type of arguments | |
11453 | were expected. | |
11454 | ||
11455 | =end original | |
11456 | ||
11457 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 | |
11458 | どの種類の引数が想定されているかを決定できませんでした。 | |
11459 | ||
6021 | 11460 | =item panic: utf16_to_utf8: odd bytelen |
6022 | 11461 | |
6023 | 11462 | =begin original |
6024 | 11463 | |
6025 | 11464 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
6026 | to even) byte length. | |
11465 | to even) byte length. | |
6027 | 11466 | |
6028 | 11467 | =end original |
6029 | 11468 | |
6030 | 11469 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
6031 | 11470 | 呼び出そうとしました。 |
6032 | 11471 | |
11472 | =item panic: utf16_to_utf8_reversed: odd bytelen | |
11473 | ||
11474 | =begin original | |
11475 | ||
11476 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed | |
11477 | to even) byte length. | |
11478 | ||
11479 | =end original | |
11480 | ||
11481 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 | |
11482 | ||
11483 | =item panic: yylex, %s | |
11484 | ||
11485 | =begin original | |
11486 | ||
11487 | (P) The lexer got into a bad state while processing a case modifier. | |
11488 | ||
11489 | =end original | |
11490 | ||
11491 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
11492 | ||
6033 | 11493 | =item Parentheses missing around "%s" list |
6034 | 11494 | |
6035 | 11495 | =begin original |
6036 | 11496 | |
6037 | 11497 | (W parenthesis) You said something like |
6038 | 11498 | |
6039 | 11499 | =end original |
6040 | 11500 | |
6041 | 11501 | (W parenthesis) おそらく以下のようにしたのでしょう: |
6042 | 11502 | |
6043 | 11503 | my $foo, $bar = @_; |
6044 | 11504 | |
6045 | 11505 | =begin original |
6046 | 11506 | |
6047 | 11507 | when you meant |
6048 | 11508 | |
6049 | 11509 | =end original |
6050 | 11510 | |
6051 | 11511 | 以下のようにすべきです: |
6052 | 11512 | |
6053 | 11513 | my ($foo, $bar) = @_; |
6054 | 11514 | |
6055 | 11515 | =begin original |
6056 | 11516 | |
6057 | Remember that "my", "our", | |
11517 | Remember that "my", "our", "local" and "state" bind tighter than comma. | |
6058 | 11518 | |
6059 | 11519 | =end original |
6060 | 11520 | |
6061 | "my" | |
11521 | "my", "our", "local", "state" は、コンマよりも強く結合することを | |
11522 | 忘れないでください。 | |
6062 | 11523 | |
6063 | =item P | |
11524 | =item Parsing code internal error (%s) | |
6064 | 11525 | |
6065 | 11526 | =begin original |
6066 | 11527 | |
11528 | (F) Parsing code supplied by an extension violated the parser's API in | |
11529 | a detectable way. | |
11530 | ||
11531 | =end original | |
11532 | ||
11533 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
11534 | パーサの API に違反しています。 | |
11535 | ||
11536 | =item Pattern subroutine nesting without pos change exceeded limit in regex | |
11537 | ||
11538 | =begin original | |
11539 | ||
11540 | (F) You used a pattern that uses too many nested subpattern calls without | |
11541 | consuming any text. Restructure the pattern so text is consumed before | |
11542 | the nesting limit is exceeded. | |
11543 | ||
11544 | =end original | |
11545 | ||
11546 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
11547 | パターンを使いました。 | |
11548 | ネストの制限を越える前にテキストを消費するようにパターンを | |
11549 | 再構成してください。 | |
11550 | ||
11551 | =item C<-p> destination: %s | |
11552 | ||
11553 | =begin original | |
11554 | ||
11555 | (F) An error occurred during the implicit output invoked by the C<-p> | |
11556 | command-line switch. (This output goes to STDOUT unless you've | |
11557 | redirected it with select().) | |
11558 | ||
11559 | =end original | |
11560 | ||
11561 | (F) C<-p> コマンドラインオプションで起動された | |
11562 | 暗黙の出力中にエラーが発生しました。 | |
11563 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
11564 | ||
11565 | =item Perl API version %s of %s does not match %s | |
11566 | ||
11567 | =begin original | |
11568 | ||
11569 | (F) The XS module in question was compiled against a different incompatible | |
11570 | version of Perl than the one that has loaded the XS module. | |
11571 | ||
11572 | =end original | |
11573 | ||
11574 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの | |
11575 | Perl 用にコンパイルされたものです。 | |
11576 | ||
11577 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug | |
11578 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ | |
11579 | ||
11580 | =begin original | |
11581 | ||
11582 | (S regexp) You used a regular expression with case-insensitive matching, | |
11583 | and there is a bug in Perl in which the built-in regular expression | |
11584 | folding rules are not accurate. This may lead to incorrect results. | |
11585 | Please report this as a bug to L<https://github.com/Perl/perl5/issues>. | |
11586 | ||
11587 | =end original | |
11588 | ||
11589 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして | |
11590 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 | |
11591 | これは間違った結果を引き起こします。 | |
11592 | どうか L<https://github.com/Perl/perl5/issues> に | |
11593 | バグとして報告してください。 | |
11594 | ||
11595 | =item Perl_my_%s() not available | |
11596 | ||
11597 | =begin original | |
11598 | ||
11599 | (F) Your platform has very uncommon byte-order and integer size, | |
11600 | so it was not possible to set up some or all fixed-width byte-order | |
11601 | conversion functions. This is only a problem when you're using the | |
11602 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. | |
11603 | ||
11604 | =end original | |
11605 | ||
11606 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを | |
11607 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 | |
11608 | これは (un)pack テンプレートの中で | |
11609 | '<' か '>' の修飾子を使った場合にのみ問題となります。 | |
11610 | L<perlfunc/pack> を参照してください。 | |
11611 | ||
11612 | =item Perl %s required (did you mean %s?)--this is only %s, stopped | |
11613 | ||
11614 | =begin original | |
11615 | ||
11616 | (F) The code you are trying to run has asked for a newer version of | |
11617 | Perl than you are running. Perhaps C<use 5.10> was written instead | |
11618 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is | |
11619 | interpreted as a decimal, with every three digits after the | |
11620 | decimal point representing a part of the version number. So 5.10 | |
11621 | is equivalent to v5.100. | |
11622 | ||
11623 | =end original | |
11624 | ||
11625 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを | |
11626 | 尋ねました。 | |
11627 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と | |
11628 | 書かれているのでしょう。 | |
11629 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の | |
11630 | 部分を表現していると解釈されます。 | |
11631 | それで、5.10 は v5.100 と等価です。 | |
11632 | ||
11633 | =item Perl %s required--this is only %s, stopped | |
11634 | ||
11635 | =begin original | |
11636 | ||
6067 | 11637 | (F) The module in question uses features of a version of Perl more |
6068 | 11638 | recent than the currently running version. How long has it been since |
6069 | 11639 | you upgraded, anyway? See L<perlfunc/require>. |
6070 | 11640 | |
6071 | 11641 | =end original |
6072 | 11642 | |
6073 | 11643 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
6074 | 11644 | 機能を使っています。 |
6075 | 11645 | ところで、いつからアップグレードしていないのですか? |
6076 | 11646 | L<perlfunc/require> を参照してください。 |
6077 | 11647 | |
6078 | 11648 | =item PERL_SH_DIR too long |
6079 | 11649 | |
6080 | 11650 | =begin original |
6081 | 11651 | |
6082 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
11652 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
6083 | 11653 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
6084 | 11654 | |
6085 | 11655 | =end original |
6086 | 11656 | |
6087 | 11657 | (F) OS/2 固有のエラーです。 |
6088 | 11658 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
6089 | 11659 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
6090 | 11660 | |
11661 | =item PERL_SIGNALS illegal: "%s" | |
11662 | ||
11663 | =begin original | |
11664 | ||
11665 | (X) See L<perlrun/PERL_SIGNALS> for legal values. | |
11666 | ||
11667 | =end original | |
11668 | ||
11669 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
11670 | ||
11671 | =item Perls since %s too modern--this is %s, stopped | |
11672 | ||
11673 | =begin original | |
11674 | ||
11675 | (F) The code you are trying to run claims it will not run | |
11676 | on the version of Perl you are using because it is too new. | |
11677 | Maybe the code needs to be updated, or maybe it is simply | |
11678 | wrong and the version check should just be removed. | |
11679 | ||
11680 | =end original | |
11681 | ||
11682 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると | |
11683 | 主張しています。 | |
11684 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に | |
11685 | バージョンチェックを削除するべきかもしれません。 | |
11686 | ||
11687 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
11688 | ||
11689 | =begin original | |
11690 | ||
11691 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
11692 | contained a non hex character. This could mean you are not using the | |
11693 | hash seed you think you are. | |
11694 | ||
11695 | =end original | |
11696 | ||
11697 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
11698 | 非 16 進数文字を含む必要があります。 | |
11699 | これは、考えているようなハッシュの種が使われないことを | |
11700 | 意味しているかもしれません。 | |
11701 | ||
6091 | 11702 | =item perl: warning: Setting locale failed. |
6092 | 11703 | |
6093 | 11704 | =begin original |
6094 | 11705 | |
6095 | 11706 | (S) The whole warning message will look something like: |
6096 | 11707 | |
6097 | 11708 | =end original |
6098 | 11709 | |
6099 | 11710 | (S) 警告全体は以下のような形になります: |
6100 | 11711 | |
6101 | 11712 | perl: warning: Setting locale failed. |
6102 | 11713 | perl: warning: Please check that your locale settings: |
6103 | 11714 | LC_ALL = "En_US", |
6104 | 11715 | LANG = (unset) |
6105 | 11716 | are supported and installed on your system. |
6106 | 11717 | perl: warning: Falling back to the standard locale ("C"). |
6107 | 11718 | |
6108 | 11719 | =begin original |
6109 | 11720 | |
6110 | 11721 | Exactly what were the failed locale settings varies. In the above the |
6111 | 11722 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
6112 | 11723 | This error means that Perl detected that you and/or your operating |
6113 | 11724 | system supplier and/or system administrator have set up the so-called |
6114 | 11725 | locale system but Perl could not use those settings. This was not |
6115 | 11726 | dead serious, fortunately: there is a "default locale" called "C" that |
6116 | Perl can and will use, the script will be run. Before you really | |
11727 | Perl can and will use, and the script will be run. Before you really | |
6117 | the problem, however, you will get the same error message each | |
11728 | fix the problem, however, you will get the same error message each | |
6118 | you run Perl. How to really fix the problem can be found in | |
11729 | time you run Perl. How to really fix the problem can be found in | |
6119 | 11730 | L<perllocale> section B<LOCALE PROBLEMS>. |
6120 | 11731 | |
6121 | 11732 | =end original |
6122 | 11733 | |
6123 | 11734 | 正確にどのロケール設定が失敗したのかは様々です。 |
6124 | 11735 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
6125 | 11736 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
6126 | 11737 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
6127 | 11738 | 検出したことを意味します。 |
6128 | 11739 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
6129 | 11740 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
6130 | 11741 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
6131 | 11742 | メッセージが表示されます。 |
6132 | 11743 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
6133 | 11744 | 章にあります。 |
6134 | 11745 | |
6135 | =item | |
11746 | =item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s' | |
6136 | 11747 | |
6137 | 11748 | =begin original |
6138 | 11749 | |
6139 | ( | |
11750 | (S) Perl was run with the environment variable PERL_PERTURB_KEYS defined | |
11751 | but containing an unexpected value. The legal values of this setting | |
11752 | are as follows. | |
6140 | 11753 | |
6141 | 11754 | =end original |
6142 | 11755 | |
6143 | ( | |
11756 | (S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが | |
6144 | ||
11757 | 想定外の値でした。 | |
11758 | この設定の正当な値は以下のものです。 | |
6145 | 11759 | |
11760 | Numeric | String | Result | |
11761 | --------+---------------+----------------------------------------- | |
11762 | 0 | NO | Disables key traversal randomization | |
11763 | 1 | RANDOM | Enables full key traversal randomization | |
11764 | 2 | DETERMINISTIC | Enables repeatable key traversal | |
11765 | | | randomization | |
11766 | ||
11767 | =begin original | |
11768 | ||
11769 | Both numeric and string values are accepted, but note that string values are | |
11770 | case sensitive. The default for this setting is "RANDOM" or 1. | |
11771 | ||
11772 | =end original | |
11773 | ||
11774 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
11775 | 区別することに注意してください。 | |
11776 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
11777 | ||
6146 | 11778 | =item pid %x not a child |
6147 | 11779 | |
6148 | 11780 | =begin original |
6149 | 11781 | |
6150 | 11782 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
6151 | 11783 | process which isn't a subprocess of the current process. While this is |
6152 | 11784 | fine from VMS' perspective, it's probably not what you intended. |
6153 | 11785 | |
6154 | 11786 | =end original |
6155 | 11787 | |
6156 | (W exec) VMS 固有の警告です。 | |
11788 | (W exec) VMS に固有の警告です。 | |
6157 | 11789 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
6158 | 11790 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
6159 | 11791 | ないでしょう。 |
6160 | 11792 | |
6161 | =item P | |
11793 | =item 'P' must have an explicit size in unpack | |
6162 | 11794 | |
6163 | 11795 | =begin original |
6164 | 11796 | |
6165 | ( | |
11797 | (F) The unpack format P must have an explicit size, not "*". | |
6166 | I<inside> character classes, the [] are part of the construct, for | |
6167 | example: /[012[:alpha:]345]/. Note that [= =] and [. .] are not | |
6168 | currently implemented; they are simply placeholders for future | |
6169 | extensions and will cause fatal errors. | |
6170 | 11798 | |
6171 | 11799 | =end original |
6172 | 11800 | |
6173 | ( | |
11801 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを | |
6174 | ||
11802 | 指定しなければなりません。 | |
6175 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
6176 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
6177 | 生成します。 | |
6178 | 11803 | |
6179 | =item POSIX | |
11804 | =item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/ | |
6180 | 11805 | |
6181 | 11806 | =begin original |
6182 | 11807 | |
6183 | (F | |
11808 | (F) The class in the character class [: :] syntax is unknown. The S<<-- HERE> | |
6184 | ||
11809 | shows whereabouts in the regular expression the problem was discovered. | |
6185 | ||
11810 | Note that the POSIX character classes do B<not> have the C<is> prefix | |
6186 | ||
11811 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, | |
6187 | ||
11812 | not C<isprint>. See L<perlre>. | |
6188 | 11813 | |
6189 | 11814 | =end original |
6190 | 11815 | |
6191 | (F | |
11816 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
6192 | ||
11817 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6193 | ||
11818 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が | |
6194 | ||
11819 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 | |
6195 | ||
11820 | C<isprint> ではありません。 | |
11821 | L<perlre> を参照してください。 | |
6196 | 11822 | |
6197 | =item POSIX | |
11823 | =item POSIX getpgrp can't take an argument | |
6198 | 11824 | |
6199 | 11825 | =begin original |
6200 | 11826 | |
6201 | (F) | |
11827 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
6202 | ||
11828 | the BSD version, which takes a pid. | |
6203 | extensions. If you need to represent those character sequences inside | |
6204 | a regular expression character class, just quote the square brackets | |
6205 | with the backslash: "\[=" and "=\]". | |
6206 | 11829 | |
6207 | 11830 | =end original |
6208 | 11831 | |
6209 | (F) | |
11832 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
6210 | ||
11833 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
6211 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
6212 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
6213 | クォートしてください。 | |
6214 | 11834 | |
6215 | =item POSIX cl | |
11835 | =item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by | |
11836 | S<<-- HERE> in m/%s/ | |
6216 | 11837 | |
6217 | 11838 | =begin original |
6218 | 11839 | |
6219 | ( | |
11840 | (W regexp) Perl thinks that you intended to write a POSIX character | |
6220 | ||
11841 | class, but didn't use enough brackets. These POSIX class constructs [: | |
11842 | :], [= =], and [. .] go I<inside> character classes, the [] are part of | |
11843 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular | |
11844 | expression pattern compiled to is probably not what you were intending. | |
11845 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character | |
11846 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
11847 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
11848 | written C<qr/[[:alpha:]]/>. | |
6221 | 11849 | |
6222 | 11850 | =end original |
6223 | 11851 | |
6224 | ( | |
11852 | (W regexp) Perl は、あなたが POSIX 文字クラスを書くことを意図していると | |
11853 | 考えましたが、大かっこが足りませんでした。 | |
11854 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
11855 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
11856 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
11857 | ないでしょう。 | |
11858 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
11859 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
11860 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
11861 | ||
11862 | =begin original | |
11863 | ||
11864 | Note that [= =] and [. .] are not currently | |
11865 | implemented; they are simply placeholders for future extensions and | |
11866 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular | |
11867 | expression the problem was discovered. See L<perlre>. | |
11868 | ||
11869 | =end original | |
11870 | ||
11871 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
11872 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
11873 | 生成します。 | |
11874 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6225 | 11875 | L<perlre> を参照してください。 |
6226 | 11876 | |
6227 | = | |
11877 | =begin original | |
6228 | 11878 | |
11879 | If the specification of the class was not completely valid, the message | |
11880 | indicates that. | |
11881 | ||
11882 | =end original | |
11883 | ||
11884 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
11885 | ||
11886 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
11887 | S<<-- HERE> in m/%s/ | |
11888 | ||
6229 | 11889 | =begin original |
6230 | 11890 | |
6231 | (F) | |
11891 | (F) Within regular expression character classes ([]) the syntax beginning | |
6232 | th | |
11892 | with "[." and ending with ".]" is reserved for future extensions. If you | |
11893 | need to represent those character sequences inside a regular expression | |
11894 | character class, just quote the square brackets with the backslash: "\[." | |
11895 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
11896 | problem was discovered. See L<perlre>. | |
6233 | 11897 | |
6234 | 11898 | =end original |
6235 | 11899 | |
6236 | (F) | |
11900 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
6237 | ||
11901 | 終わる文法は将来の拡張のために予約されます。 | |
11902 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
11903 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで | |
11904 | クォートしてください。 | |
11905 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11906 | L<perlre> を参照してください。 | |
6238 | 11907 | |
11908 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
11909 | S<<-- HERE> in m/%s/ | |
11910 | ||
11911 | =begin original | |
11912 | ||
11913 | (F) Within regular expression character classes ([]) the syntax beginning | |
11914 | with "[=" and ending with "=]" is reserved for future extensions. If you | |
11915 | need to represent those character sequences inside a regular expression | |
11916 | character class, just quote the square brackets with the backslash: "\[=" | |
11917 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
11918 | problem was discovered. See L<perlre>. | |
11919 | ||
11920 | =end original | |
11921 | ||
11922 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で | |
11923 | 終わる文法は将来の拡張のために予約されます。 | |
11924 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
11925 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
11926 | クォートしてください。 | |
11927 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11928 | L<perlre> を参照してください。 | |
11929 | ||
6239 | 11930 | =item Possible attempt to put comments in qw() list |
6240 | 11931 | |
6241 | 11932 | =begin original |
6242 | 11933 | |
6243 | 11934 | (W qw) qw() lists contain items separated by whitespace; as with literal |
6244 | 11935 | strings, comment characters are not ignored, but are instead treated as |
6245 | 11936 | literal data. (You may have used different delimiters than the |
6246 | 11937 | parentheses shown here; braces are also frequently used.) |
6247 | 11938 | |
6248 | 11939 | =end original |
6249 | 11940 | |
6250 | 11941 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
6251 | 11942 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
6252 | ( | |
11943 | (ここで使われているのと違うデリミタを用いているかもしれません; | |
11944 | 大かっこもよく使われます。) | |
6253 | 11945 | |
6254 | 11946 | =begin original |
6255 | 11947 | |
6256 | 11948 | You probably wrote something like this: |
6257 | 11949 | |
6258 | 11950 | =end original |
6259 | 11951 | |
6260 | 11952 | おそらく以下のように書いたのでしょう: |
6261 | 11953 | |
6262 | 11954 | @list = qw( |
6263 | 11955 | a # a comment |
6264 | 11956 | b # another comment |
6265 | 11957 | ); |
6266 | 11958 | |
6267 | 11959 | =begin original |
6268 | 11960 | |
6269 | 11961 | when you should have written this: |
6270 | 11962 | |
6271 | 11963 | =end original |
6272 | 11964 | |
6273 | 11965 | 以下のように書くべきです: |
6274 | 11966 | |
6275 | 11967 | @list = qw( |
6276 | 11968 | a |
6277 | 11969 | b |
6278 | 11970 | ); |
6279 | 11971 | |
6280 | 11972 | =begin original |
6281 | 11973 | |
6282 | 11974 | If you really want comments, build your list the |
6283 | 11975 | old-fashioned way, with quotes and commas: |
6284 | 11976 | |
6285 | 11977 | =end original |
6286 | 11978 | |
6287 | 11979 | 本当にコメントをつけたいのなら、 |
6288 | 11980 | リストを昔のクォートとカンマの形で書いてください。 |
6289 | 11981 | |
6290 | 11982 | @list = ( |
6291 | 11983 | 'a', # a comment |
6292 | 11984 | 'b', # another comment |
6293 | 11985 | ); |
6294 | 11986 | |
6295 | 11987 | =item Possible attempt to separate words with commas |
6296 | 11988 | |
6297 | 11989 | =begin original |
6298 | 11990 | |
6299 | 11991 | (W qw) qw() lists contain items separated by whitespace; therefore |
6300 | 11992 | commas aren't needed to separate the items. (You may have used |
6301 | 11993 | different delimiters than the parentheses shown here; braces are also |
6302 | 11994 | frequently used.) |
6303 | 11995 | |
6304 | 11996 | =end original |
6305 | 11997 | |
6306 | 11998 | (W qw) qw() リストに空白で分割された項目があります; |
6307 | 11999 | そのため、カンマは項目を分割する必要がありません。 |
6308 | 12000 | (ここで使われているのと違うデリミタを用いているかもしれません; |
6309 | 大 | |
12001 | 大かっこもよく使われます。) | |
6310 | 12002 | |
6311 | 12003 | =begin original |
6312 | 12004 | |
6313 | 12005 | You probably wrote something like this: |
6314 | 12006 | |
6315 | 12007 | =end original |
6316 | 12008 | |
6317 | 12009 | おそらく以下のように書いたのでしょう: |
6318 | 12010 | |
6319 | 12011 | qw! a, b, c !; |
6320 | 12012 | |
6321 | 12013 | =begin original |
6322 | 12014 | |
6323 | 12015 | which puts literal commas into some of the list items. Write it without |
6324 | 12016 | commas if you don't want them to appear in your data: |
6325 | 12017 | |
6326 | 12018 | =end original |
6327 | 12019 | |
6328 | 12020 | リスト要素の中にリテラルのカンマを書いています。 |
6329 | 12021 | データの中にカンマを出したくないなら、カンマなしで書きます: |
6330 | 12022 | |
6331 | 12023 | qw! a b c !; |
6332 | 12024 | |
6333 | 12025 | =item Possible memory corruption: %s overflowed 3rd argument |
6334 | 12026 | |
6335 | 12027 | =begin original |
6336 | 12028 | |
6337 | 12029 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
6338 | 12030 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
6339 | 12031 | end of the buffer just in case. This sentinel byte got clobbered, and |
6340 | 12032 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
6341 | 12033 | |
6342 | 12034 | =end original |
6343 | 12035 | |
6344 | 12036 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
6345 | 12037 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
6346 | 12038 | 最後に目印を付けています。 |
6347 | 12039 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
6348 | 12040 | L<perlfunc/ioctl> を参照してください。 |
6349 | 12041 | |
6350 | =item Possible | |
12042 | =item Possible precedence issue with control flow operator | |
6351 | 12043 | |
6352 | 12044 | =begin original |
6353 | 12045 | |
6354 | (W y | |
12046 | (W syntax) There is a possible problem with the mixing of a control | |
6355 | ||
12047 | flow operator (e.g. C<return>) and a low-precedence operator like | |
12048 | C<or>. Consider: | |
6356 | 12049 | |
6357 | 12050 | =end original |
6358 | 12051 | |
6359 | (W y | |
12052 | (W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような | |
6360 | ||
12053 | 低優先順位演算子を混ぜると問題が起きることがあります。 | |
12054 | 次を考えると: | |
6361 | 12055 | |
6362 | ||
12056 | sub { return $a or $b; } | |
6363 | 12057 | |
6364 | 12058 | =begin original |
6365 | 12059 | |
6366 | ||
12060 | This is parsed as: | |
6367 | 12061 | |
6368 | 12062 | =end original |
6369 | 12063 | |
6370 | ||
12064 | これは次のようにパースされます: | |
6371 | 12065 | |
6372 | sub | |
12066 | sub { (return $a) or $b; } | |
6373 | { | |
6374 | use attrs qw(locked); | |
6375 | } | |
6376 | 12067 | |
6377 | 12068 | =begin original |
6378 | 12069 | |
6379 | ||
12070 | Which is effectively just: | |
6380 | 12071 | |
6381 | 12072 | =end original |
6382 | 12073 | |
6383 | ||
12074 | これは事実上次のものです: | |
6384 | 12075 | |
6385 | sub | |
12076 | sub { return $a; } | |
6386 | { | |
6387 | ... | |
6388 | 12077 | |
6389 | 12078 | =begin original |
6390 | 12079 | |
6391 | ||
12080 | Either use parentheses or the high-precedence variant of the operator. | |
6392 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. | |
6393 | 12081 | |
6394 | 12082 | =end original |
6395 | 12083 | |
6396 | ||
12084 | かっこか、高優先順位版の演算子を使ってください。 | |
6397 | 提供されています。 | |
6398 | L<perlsub/"Subroutine Attributes"> を参照してください。 | |
6399 | 12085 | |
12086 | =begin original | |
12087 | ||
12088 | Note this may be also triggered for constructs like: | |
12089 | ||
12090 | =end original | |
12091 | ||
12092 | これは次のような構文でも引き起こされることに注意してください: | |
12093 | ||
12094 | sub { 1 if die; } | |
12095 | ||
12096 | =item Possible precedence problem on bitwise %s operator | |
12097 | ||
12098 | =begin original | |
12099 | ||
12100 | (W precedence) Your program uses a bitwise logical operator in conjunction | |
12101 | with a numeric comparison operator, like this : | |
12102 | ||
12103 | =end original | |
12104 | ||
12105 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と | |
12106 | 結合して使用しています: | |
12107 | ||
12108 | if ($x & $y == 0) { ... } | |
12109 | ||
12110 | =begin original | |
12111 | ||
12112 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the | |
12113 | higher precedence of C<==>. This is probably not what you want. (If you | |
12114 | really meant to write this, disable the warning, or, better, put the | |
12115 | parentheses explicitly and write C<$x & ($y == 0)>). | |
12116 | ||
12117 | =end original | |
12118 | ||
12119 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と | |
12120 | 等価になります。 | |
12121 | これはおそらく望んでいるものではないでしょう。 | |
12122 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは | |
12123 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 | |
12124 | ||
12125 | =item Possible unintended interpolation of $\ in regex | |
12126 | ||
12127 | =begin original | |
12128 | ||
12129 | (W ambiguous) You said something like C<m/$\/> in a regex. | |
12130 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output | |
12131 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) | |
12132 | followed by the word 'bar'. | |
12133 | ||
12134 | =end original | |
12135 | ||
12136 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 | |
12137 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 | |
12138 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 | |
12139 | 'bar' にマッチングします。 | |
12140 | ||
12141 | =begin original | |
12142 | ||
12143 | If this is what you intended then you can silence the warning by using | |
12144 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). | |
12145 | ||
12146 | =end original | |
12147 | ||
12148 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます | |
12149 | (例えば: C<m/foo${\}s+bar/>)。 | |
12150 | ||
12151 | =begin original | |
12152 | ||
12153 | If instead you intended to match the word 'foo' at the end of the line | |
12154 | followed by whitespace and the word 'bar' on the next line then you can use | |
12155 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). | |
12156 | ||
12157 | =end original | |
12158 | ||
12159 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に | |
12160 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: | |
12161 | C<m/foo$(?)\s+bar/>)。 | |
12162 | ||
12163 | =item Possible unintended interpolation of %s in string | |
12164 | ||
12165 | =begin original | |
12166 | ||
12167 | (W ambiguous) You said something like '@foo' in a double-quoted string | |
12168 | but there was no array C<@foo> in scope at the time. If you wanted a | |
12169 | literal @foo, then write it as \@foo; otherwise find out what happened | |
12170 | to the array you apparently lost track of. | |
12171 | ||
12172 | =end original | |
12173 | ||
12174 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 | |
12175 | 現在のスコープ内に C<@foo> という配列はありません。 | |
12176 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
12177 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
12178 | 調べてください。 | |
12179 | ||
6400 | 12180 | =item Precedence problem: open %s should be open(%s) |
6401 | 12181 | |
6402 | 12182 | =begin original |
6403 | 12183 | |
6404 | 12184 | (S precedence) The old irregular construct |
6405 | 12185 | |
6406 | 12186 | =end original |
6407 | 12187 | |
6408 | 12188 | (S precedence) 古い変則的な構文 |
6409 | 12189 | |
6410 | 12190 | open FOO || die; |
6411 | 12191 | |
6412 | 12192 | =begin original |
6413 | 12193 | |
6414 | 12194 | is now misinterpreted as |
6415 | 12195 | |
6416 | 12196 | =end original |
6417 | 12197 | |
6418 | 12198 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
6419 | 12199 | リスト演算子と解釈されますので、 |
6420 | 12200 | |
6421 | 12201 | open(FOO || die); |
6422 | 12202 | |
6423 | 12203 | =begin original |
6424 | 12204 | |
6425 | 12205 | because of the strict regularization of Perl 5's grammar into unary and |
6426 | 12206 | list operators. (The old open was a little of both.) You must put |
6427 | 12207 | parentheses around the filehandle, or use the new "or" operator instead |
6428 | 12208 | of "||". |
6429 | 12209 | |
6430 | 12210 | =end original |
6431 | 12211 | |
6432 | 12212 | という風に誤った解釈がなされます。 |
6433 | 12213 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
6434 | ファイルハンドルの前後を | |
12214 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに | |
6435 | 12215 | "or" 演算子を使わなくてはなりません。 |
6436 | 12216 | |
6437 | 12217 | =item Premature end of script headers |
6438 | 12218 | |
6439 | 12219 | =begin original |
6440 | 12220 | |
6441 | See Server error. | |
12221 | See L</500 Server error>. | |
6442 | 12222 | |
6443 | 12223 | =end original |
6444 | 12224 | |
6445 | ||
12225 | L</500 Server error> を参照してください。 | |
6446 | 12226 | |
6447 | 12227 | =item printf() on closed filehandle %s |
6448 | 12228 | |
6449 | 12229 | =begin original |
6450 | 12230 | |
6451 | 12231 | (W closed) The filehandle you're writing to got itself closed sometime |
6452 | before now. Check your | |
12232 | before now. Check your control flow. | |
6453 | 12233 | |
6454 | 12234 | =end original |
6455 | 12235 | |
6456 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に | |
12236 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
6457 | ||
12237 | 制御フローをチェックしてください。 | |
6458 | 12238 | |
6459 | 12239 | =item print() on closed filehandle %s |
6460 | 12240 | |
6461 | 12241 | =begin original |
6462 | 12242 | |
6463 | 12243 | (W closed) The filehandle you're printing on got itself closed sometime |
6464 | before now. Check your | |
12244 | before now. Check your control flow. | |
6465 | 12245 | |
6466 | 12246 | =end original |
6467 | 12247 | |
6468 | (W closed) print を行なおうとしたファイルハンドルは、既に | |
12248 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 | |
6469 | ||
12249 | 制御フローをチェックしてください。 | |
6470 | 12250 | |
6471 | 12251 | =item Process terminated by SIG%s |
6472 | 12252 | |
6473 | 12253 | =begin original |
6474 | 12254 | |
6475 | 12255 | (W) This is a standard message issued by OS/2 applications, while *nix |
6476 | 12256 | applications die in silence. It is considered a feature of the OS/2 |
6477 | 12257 | port. One can easily disable this by appropriate sighandlers, see |
6478 | 12258 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
6479 | 12259 | in L<perlos2>. |
6480 | 12260 | |
6481 | 12261 | =end original |
6482 | 12262 | |
6483 | 12263 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
6484 | 12264 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
6485 | 12265 | これは OS/2 版の仕様とみなされています。 |
6486 | 12266 | 適切なシグナルハンドラによって簡単に無効にできます; |
6487 | 12267 | L<perlipc/"Signals"> を参照してください。 |
6488 | 12268 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
6489 | 12269 | |
12270 | =item Prototype after '%c' for %s : %s | |
12271 | ||
12272 | =begin original | |
12273 | ||
12274 | (W illegalproto) A character follows % or @ in a prototype. This is | |
12275 | useless, since % and @ gobble the rest of the subroutine arguments. | |
12276 | ||
12277 | =end original | |
12278 | ||
12279 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 | |
12280 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 | |
12281 | ||
6490 | 12282 | =item Prototype mismatch: %s vs %s |
6491 | 12283 | |
6492 | 12284 | =begin original |
6493 | 12285 | |
6494 | (S | |
12286 | (S prototype) The subroutine being declared or defined had previously been | |
6495 | 12287 | declared or defined with a different function prototype. |
6496 | 12288 | |
6497 | 12289 | =end original |
6498 | 12290 | |
6499 | (S | |
12291 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された | |
6500 | 宣言または定義されました。 | |
12292 | サブルーチンが宣言または定義されました。 | |
6501 | 12293 | |
6502 | =item | |
12294 | =item Prototype not terminated | |
6503 | 12295 | |
6504 | 12296 | =begin original |
6505 | 12297 | |
6506 | (F) | |
12298 | (F) You've omitted the closing parenthesis in a function prototype | |
6507 | ||
12299 | definition. | |
6508 | the problem was discovered. See L<perlre>. | |
6509 | 12300 | |
6510 | 12301 | =end original |
6511 | 12302 | |
12303 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 | |
12304 | ||
12305 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s | |
12306 | ||
12307 | =begin original | |
12308 | ||
12309 | (W prototype) A prototype was declared in both the parentheses after | |
12310 | the sub name and via the prototype attribute. The prototype in | |
12311 | parentheses is useless, since it will be replaced by the prototype | |
12312 | from the attribute before it's ever used. | |
12313 | ||
12314 | =end original | |
12315 | ||
12316 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で | |
12317 | プロトタイプが宣言されました。 | |
12318 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の | |
12319 | プロトタイプは無駄です。 | |
12320 | ||
12321 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ | |
12322 | ||
12323 | =begin original | |
12324 | ||
12325 | (F) You started a regular expression with a quantifier. Backslash it if | |
12326 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular | |
12327 | expression the problem was discovered. See L<perlre>. | |
12328 | ||
12329 | =end original | |
12330 | ||
12331 | (F) 正規表現を量指定子で開始しています。 | |
12332 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
12333 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12334 | L<perlre> を参照してください。 | |
12335 | ||
12336 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ | |
12337 | ||
12338 | =begin original | |
12339 | ||
12340 | (F) There is currently a limit to the size of the min and max values of | |
12341 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular | |
12342 | expression the problem was discovered. See L<perlre>. | |
12343 | ||
12344 | =end original | |
12345 | ||
6512 | 12346 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
6513 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12347 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6514 | 12348 | L<perlre> を参照してください。 |
6515 | 12349 | |
6516 | =item Quantifier | |
12350 | =item Quantifier {n,m} with n > m can't match in regex | |
6517 | 12351 | |
12352 | =item Quantifier {n,m} with n > m can't match in regex; marked by | |
12353 | S<<-- HERE> in m/%s/ | |
12354 | ||
6518 | 12355 | =begin original |
6519 | 12356 | |
12357 | (W regexp) Minima should be less than or equal to maxima. If you really | |
12358 | want your regexp to match something 0 times, just put {0}. | |
12359 | ||
12360 | =end original | |
12361 | ||
12362 | (W regexp) 最小値は最大値以下である必要があります。 | |
12363 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
12364 | ||
12365 | =item Quantifier unexpected on zero-length expression in regex m/%s/ | |
12366 | ||
12367 | =begin original | |
12368 | ||
6520 | 12369 | (W regexp) You applied a regular expression quantifier in a place where |
6521 | 12370 | it makes no sense, such as on a zero-width assertion. Try putting the |
6522 | 12371 | quantifier inside the assertion instead. For example, the way to match |
6523 | 12372 | "abc" provided that it is followed by three repetitions of "xyz" is |
6524 | 12373 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
6525 | 12374 | |
6526 | 12375 | =end original |
6527 | 12376 | |
6528 | 12377 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
6529 | 12378 | 適用しました。 |
6530 | 12379 | 代わりにアサーションの中に量指定子を置いてください。 |
6531 | 12380 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
6532 | 12381 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
6533 | 12382 | |
6534 | 12383 | =item Range iterator outside integer range |
6535 | 12384 | |
6536 | 12385 | =begin original |
6537 | 12386 | |
6538 | 12387 | (F) One (or both) of the numeric arguments to the range operator ".." |
6539 | 12388 | are outside the range which can be represented by integers internally. |
6540 | 12389 | One possible workaround is to force Perl to use magical string increment |
6541 | 12390 | by prepending "0" to your numbers. |
6542 | 12391 | |
6543 | 12392 | =end original |
6544 | 12393 | |
6545 | 12394 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
6546 | 12395 | 表現できる範囲を越えています。 |
6547 | 12396 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
6548 | 12397 | マジカル文字列インクリメントの使用を強制させることです。 |
6549 | 12398 | |
12399 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or | |
12400 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ | |
12401 | ||
12402 | =begin original | |
12403 | ||
12404 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
12405 | ||
12406 | =end original | |
12407 | ||
12408 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
12409 | ||
12410 | =begin original | |
12411 | ||
12412 | Stricter rules help to find typos and other errors. Perhaps you didn't | |
12413 | even intend a range here, if the C<"-"> was meant to be some other | |
12414 | character, or should have been escaped (like C<"\-">). If you did | |
12415 | intend a range, the one that was used is not portable between ASCII and | |
12416 | EBCDIC platforms, and doesn't have an obvious meaning to a casual | |
12417 | reader. | |
12418 | ||
12419 | =end original | |
12420 | ||
12421 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
12422 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の | |
12423 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 | |
12424 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC | |
12425 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な | |
12426 | 意味になります。 | |
12427 | ||
12428 | [3-7] # OK; Obvious and portable | |
12429 | [d-g] # OK; Obvious and portable | |
12430 | [A-Y] # OK; Obvious and portable | |
12431 | [A-z] # WRONG; Not portable; not clear what is meant | |
12432 | [a-Z] # WRONG; Not portable; not clear what is meant | |
12433 | [%-.] # WRONG; Not portable; not clear what is meant | |
12434 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek | |
12435 | ||
12436 | =begin original | |
12437 | ||
12438 | (You can force portability by specifying a Unicode range, which means that | |
12439 | the endpoints are specified by | |
12440 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may | |
12441 | still not be obvious.) | |
12442 | The stricter rules require that ranges that start or stop with an ASCII | |
12443 | character that is not a control have all their endpoints be the literal | |
12444 | character, and not some escape sequence (like C<"\x41">), and the ranges | |
12445 | must be all digits, or all uppercase letters, or all lowercase letters. | |
12446 | ||
12447 | =end original | |
12448 | ||
12449 | (Unicode の範囲を指定することで移植性を共生することができます; | |
12450 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で | |
12451 | 指定するということですが、意味はやはり明確ではないかもしれません。) | |
12452 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 | |
12453 | (C<"\x41"> のような)一部のエスケープシーケンスでない | |
12454 | ASCII 文字で開始および終了することを要求し、 | |
12455 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 | |
12456 | ||
12457 | =item Ranges of digits should be from the same group in regex; marked by | |
12458 | S<<-- HERE> in m/%s/ | |
12459 | ||
12460 | =begin original | |
12461 | ||
12462 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
12463 | ||
12464 | =end original | |
12465 | ||
12466 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
12467 | ||
12468 | =begin original | |
12469 | ||
12470 | Stricter rules help to find typos and other errors. You included a | |
12471 | range, and at least one of the end points is a decimal digit. Under the | |
12472 | stricter rules, when this happens, both end points should be digits in | |
12473 | the same group of 10 consecutive digits. | |
12474 | ||
12475 | =end original | |
12476 | ||
12477 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
12478 | 範囲を含んでいて、少なくとも片方の端は数字です。 | |
12479 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ | |
12480 | グループに属する符号位置である必要があります。 | |
12481 | ||
12482 | =item readdir() attempted on invalid dirhandle %s | |
12483 | ||
12484 | =begin original | |
12485 | ||
12486 | (W io) The dirhandle you're reading from is either closed or not really | |
12487 | a dirhandle. Check your control flow. | |
12488 | ||
12489 | =end original | |
12490 | ||
12491 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 | |
12492 | 実際にはディレクトリハンドルではありません。 | |
12493 | 制御フローをチェックしてください。 | |
12494 | ||
6550 | 12495 | =item readline() on closed filehandle %s |
6551 | 12496 | |
6552 | 12497 | =begin original |
6553 | 12498 | |
6554 | 12499 | (W closed) The filehandle you're reading from got itself closed sometime |
6555 | before now. Check your | |
12500 | before now. Check your control flow. | |
6556 | 12501 | |
6557 | 12502 | =end original |
6558 | 12503 | |
6559 | (W closed) 読み込 | |
12504 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 | |
6560 | ||
12505 | 制御フローをチェックしてください。 | |
6561 | 12506 | |
6562 | =item | |
12507 | =item readline() on unopened filehandle %s | |
6563 | 12508 | |
6564 | 12509 | =begin original |
6565 | 12510 | |
6566 | ( | |
12511 | (W unopened) The filehandle you're reading from was never opened. Check your | |
12512 | control flow. | |
6567 | 12513 | |
6568 | 12514 | =end original |
6569 | 12515 | |
6570 | ( | |
12516 | (W unopened) 読み込もうとしたファイルハンドルは開かれていません。 | |
12517 | 制御フローをチェックしてください。 | |
6571 | 12518 | |
12519 | =item read() on closed filehandle %s | |
12520 | ||
12521 | =begin original | |
12522 | ||
12523 | (W closed) You tried to read from a closed filehandle. | |
12524 | ||
12525 | =end original | |
12526 | ||
12527 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
12528 | ||
12529 | =item read() on unopened filehandle %s | |
12530 | ||
12531 | =begin original | |
12532 | ||
12533 | (W unopened) You tried to read from a filehandle that was never opened. | |
12534 | ||
12535 | =end original | |
12536 | ||
12537 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
12538 | ||
6572 | 12539 | =item realloc() of freed memory ignored |
6573 | 12540 | |
6574 | 12541 | =begin original |
6575 | 12542 | |
6576 | 12543 | (S malloc) An internal routine called realloc() on something that had |
6577 | 12544 | already been freed. |
6578 | 12545 | |
6579 | 12546 | =end original |
6580 | 12547 | |
6581 | 12548 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
6582 | 12549 | 呼び出しました。 |
6583 | 12550 | |
6584 | 12551 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
6585 | 12552 | |
6586 | 12553 | =begin original |
6587 | 12554 | |
6588 | ( | |
12555 | (S debugging) You can't use the B<-D> option unless the code to produce | |
6589 | 12556 | the desired output is compiled into Perl, which entails some overhead, |
6590 | 12557 | which is why it's currently left out of your copy. |
6591 | 12558 | |
6592 | 12559 | =end original |
6593 | 12560 | |
6594 | ( | |
12561 | (S debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
6595 | 組み込まれていなければ、B<-D> スイッチを使うことはできません | |
12562 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; | |
6596 | 12563 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
6597 | 12564 | Perl に組み込んでない理由でしょう。 |
6598 | 12565 | |
12566 | =item Recursive call to Perl_load_module in PerlIO_find_layer | |
12567 | ||
12568 | =begin original | |
12569 | ||
12570 | (P) It is currently not permitted to load modules when creating | |
12571 | a filehandle inside an %INC hook. This can happen with C<open my | |
12572 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try | |
12573 | loading PerlIO::scalar explicitly first. | |
12574 | ||
12575 | =end original | |
12576 | ||
12577 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは | |
12578 | 現在のところ許されていません。 | |
12579 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに | |
12580 | 起こることがあります。 | |
12581 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 | |
12582 | ||
6599 | 12583 | =item Recursive inheritance detected in package '%s' |
6600 | 12584 | |
6601 | 12585 | =begin original |
6602 | 12586 | |
6603 | (F) | |
12587 | (F) While calculating the method resolution order (MRO) of a package, Perl | |
6604 | an | |
12588 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a | |
12589 | crude check that bails out after 100 levels of C<@ISA> depth. | |
6605 | 12590 | |
6606 | 12591 | =end original |
6607 | 12592 | |
6608 | (F) | |
12593 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に | |
6609 | ||
12594 | 無限ループがあると判断しました。 | |
6610 | ||
12595 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 | |
6611 | 12596 | |
6612 | =item Re | |
12597 | =item Redundant argument in %s | |
6613 | 12598 | |
6614 | 12599 | =begin original |
6615 | 12600 | |
6616 | ( | |
12601 | (W redundant) You called a function with more arguments than other | |
6617 | a | |
12602 | arguments you supplied indicated would be needed. Currently only | |
6618 | hierar | |
12603 | emitted when a printf-type format required fewer arguments than were | |
12604 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. | |
6619 | 12605 | |
6620 | 12606 | =end original |
6621 | 12607 | |
6622 | ( | |
12608 | (W redundant) 関数を呼び出すときに、ある引数が示している必要数より | |
6623 | ||
12609 | 多くの引数を指定しました。 | |
6624 | ||
12610 | 現在のところ、printf 型のフォーマットが指定されたものより少ない数の | |
12611 | 引数しか必要としていない場合にのみ発生しますが、将来は | |
12612 | 例えば L<perlfunc/pack> で使われるかもしれません。 | |
6625 | 12613 | |
12614 | =item refcnt_dec: fd %d%s | |
12615 | ||
12616 | =item refcnt: fd %d%s | |
12617 | ||
12618 | =item refcnt_inc: fd %d%s | |
12619 | ||
12620 | =begin original | |
12621 | ||
12622 | (P) Perl's I/O implementation failed an internal consistency check. If | |
12623 | you see this message, something is very wrong. | |
12624 | ||
12625 | =end original | |
12626 | ||
12627 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 | |
12628 | このメッセージを見たなら、何かがすごく悪いです。 | |
12629 | ||
6626 | 12630 | =item Reference found where even-sized list expected |
6627 | 12631 | |
6628 | 12632 | =begin original |
6629 | 12633 | |
6630 | 12634 | (W misc) You gave a single reference where Perl was expecting a list |
6631 | with an even number of elements (for assignment to a hash). This | |
12635 | with an even number of elements (for assignment to a hash). This | |
6632 | means that you used the anon hash constructor when you meant | |
12636 | usually means that you used the anon hash constructor when you meant | |
6633 | parens. In any case, a hash requires key/value B<pairs>. | |
12637 | to use parens. In any case, a hash requires key/value B<pairs>. | |
6634 | 12638 | |
6635 | 12639 | =end original |
6636 | 12640 | |
6637 | 12641 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
6638 | 想定しているところに | |
12642 | 想定しているところに 一つのリファレンスを渡しました。 | |
6639 | 12643 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
6640 | 12644 | 意味します。 |
6641 | 12645 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
6642 | 12646 | |
6643 | 12647 | %hash = { one => 1, two => 2, }; # WRONG |
6644 | 12648 | %hash = [ qw/ an anon array / ]; # WRONG |
6645 | 12649 | %hash = ( one => 1, two => 2, ); # right |
6646 | 12650 | %hash = qw( one 1 two 2 ); # also fine |
6647 | 12651 | |
6648 | 12652 | =item Reference is already weak |
6649 | 12653 | |
6650 | 12654 | =begin original |
6651 | 12655 | |
6652 | 12656 | (W misc) You have attempted to weaken a reference that is already weak. |
6653 | 12657 | Doing so has no effect. |
6654 | 12658 | |
6655 | 12659 | =end original |
6656 | 12660 | |
6657 | 12661 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
6658 | 12662 | そうしても何の効果もありません。 |
6659 | 12663 | |
6660 | =item Reference | |
12664 | =item Reference is not weak | |
6661 | 12665 | |
6662 | 12666 | =begin original |
6663 | 12667 | |
6664 | (W i | |
12668 | (W misc) You have attempted to unweaken a reference that is not weak. | |
6665 | ||
12669 | Doing so has no effect. | |
6666 | 12670 | |
6667 | 12671 | =end original |
6668 | 12672 | |
6669 | (W i | |
12673 | (W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。 | |
6670 | ||
12674 | そうしても何の効果もありません。 | |
6671 | 12675 | |
6672 | =item Reference to | |
12676 | =item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/ | |
6673 | 12677 | |
6674 | 12678 | =begin original |
6675 | 12679 | |
12680 | (F) You used C<\g0> or similar in a regular expression. You may refer | |
12681 | to capturing parentheses only with strictly positive integers | |
12682 | (normal backreferences) or with strictly negative integers (relative | |
12683 | backreferences). Using 0 does not make sense. | |
12684 | ||
12685 | =end original | |
12686 | ||
12687 | (F) 正規表現で C<\g0> のようなものを使いました。 | |
12688 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) | |
12689 | のみです。 | |
12690 | 0 は意味を成しません。 | |
12691 | ||
12692 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in | |
12693 | m/%s/ | |
12694 | ||
12695 | =begin original | |
12696 | ||
6676 | 12697 | (F) You used something like C<\7> in your regular expression, but there are |
6677 | not at least seven sets of capturing parentheses in the expression. If | |
12698 | not at least seven sets of capturing parentheses in the expression. If | |
6678 | wanted to have the character with | |
12699 | you wanted to have the character with ordinal 7 inserted into the regular | |
6679 | prepend | |
12700 | expression, prepend zeroes to make it three digits long: C<\007> | |
6680 | 12701 | |
6681 | 12702 | =end original |
6682 | 12703 | |
6683 | 12704 | 正規表現の中で C<\7> のような記述がありますが、 |
6684 | 正規表現の中に値を捕らえる | |
12705 | 正規表現の中に値を捕らえるかっこが 7 つありません。 | |
6685 | 12706 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
6686 | ゼロをつけて最低 | |
12707 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> | |
6687 | 12708 | |
6688 | 12709 | =begin original |
6689 | 12710 | |
6690 | The << HERE shows in the regular expression | |
12711 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
6691 | 12712 | discovered. |
6692 | 12713 | |
6693 | 12714 | =end original |
6694 | 12715 | |
6695 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12716 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6696 | 12717 | |
12718 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> | |
12719 | in m/%s/ | |
12720 | ||
12721 | =begin original | |
12722 | ||
12723 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular | |
12724 | expression, but there is no corresponding named capturing parentheses | |
12725 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
12726 | spelled correctly both in the backreference and the declaration. | |
12727 | ||
12728 | =end original | |
12729 | ||
12730 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 | |
12731 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが | |
12732 | ありません。 | |
12733 | 前方参照と定義の両方において、名前のスペルが正しいかどうか | |
12734 | チェックしてください。 | |
12735 | ||
12736 | =begin original | |
12737 | ||
12738 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12739 | discovered. | |
12740 | ||
12741 | =end original | |
12742 | ||
12743 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12744 | ||
12745 | =item Reference to nonexistent or unclosed group in regex; marked by | |
12746 | S<<-- HERE> in m/%s/ | |
12747 | ||
12748 | =begin original | |
12749 | ||
12750 | (F) You used something like C<\g{-7}> in your regular expression, but there | |
12751 | are not at least seven sets of closed capturing parentheses in the | |
12752 | expression before where the C<\g{-7}> was located. | |
12753 | ||
12754 | =end original | |
12755 | ||
12756 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の | |
12757 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 | |
12758 | ||
12759 | =begin original | |
12760 | ||
12761 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12762 | discovered. | |
12763 | ||
12764 | =end original | |
12765 | ||
12766 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12767 | ||
6697 | 12768 | =item regexp memory corruption |
6698 | 12769 | |
6699 | 12770 | =begin original |
6700 | 12771 | |
6701 | 12772 | (P) The regular expression engine got confused by what the regular |
6702 | 12773 | expression compiler gave it. |
6703 | 12774 | |
6704 | 12775 | =end original |
6705 | 12776 | |
6706 | 12777 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
6707 | 12778 | 処理できなくなりました。 |
6708 | 12779 | |
6709 | =item Regexp ou | |
12780 | =item Regexp modifier "/%c" may appear a maximum of twice | |
6710 | 12781 | |
12782 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked | |
12783 | by S<<-- HERE> in m/%s/ | |
12784 | ||
6711 | 12785 | =begin original |
6712 | 12786 | |
12787 | (F) The regular expression pattern had too many occurrences | |
12788 | of the specified modifier. Remove the extraneous ones. | |
12789 | ||
12790 | =end original | |
12791 | ||
12792 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12793 | 余分なものを削除してください。 | |
12794 | ||
12795 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- | |
12796 | HERE in m/%s/ | |
12797 | ||
12798 | =begin original | |
12799 | ||
12800 | (F) Turning off the given modifier has the side effect of turning on | |
12801 | another one. Perl currently doesn't allow this. Reword the regular | |
12802 | expression to use the modifier you want to turn on (and place it before | |
12803 | the minus), instead of the one you want to turn off. | |
12804 | ||
12805 | =end original | |
12806 | ||
12807 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという | |
12808 | 副作用があります。 | |
12809 | Perl は現在のところこれを受け入れません。 | |
12810 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの | |
12811 | 前に置く)ように正規表現を書き直してください。 | |
12812 | ||
12813 | =item Regexp modifier "/%c" may not appear twice | |
12814 | ||
12815 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- | |
12816 | HERE in m/%s/ | |
12817 | ||
12818 | =begin original | |
12819 | ||
12820 | (F) The regular expression pattern had too many occurrences | |
12821 | of the specified modifier. Remove the extraneous ones. | |
12822 | ||
12823 | =end original | |
12824 | ||
12825 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12826 | 余分なものを削除してください。 | |
12827 | ||
12828 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive | |
12829 | ||
12830 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; | |
12831 | marked by S<<-- HERE> in m/%s/ | |
12832 | ||
12833 | =begin original | |
12834 | ||
12835 | (F) The regular expression pattern had more than one of these | |
12836 | mutually exclusive modifiers. Retain only the modifier that is | |
12837 | supposed to be there. | |
12838 | ||
12839 | =end original | |
12840 | ||
12841 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
12842 | ここで使うであろう修飾子のみを保持します。 | |
12843 | ||
12844 | =item Regexp out of space in regex m/%s/ | |
12845 | ||
12846 | =begin original | |
12847 | ||
6713 | 12848 | (P) A "can't happen" error, because safemalloc() should have caught it |
6714 | 12849 | earlier. |
6715 | 12850 | |
6716 | 12851 | =end original |
6717 | 12852 | |
6718 | (P) safemalloc() が見つけるはずなので、「起こるはずのないエラー | |
12853 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 | |
6719 | 12854 | |
6720 | =item Repeat | |
12855 | =item Repeated format line will never terminate (~~ and @#) | |
6721 | 12856 | |
6722 | 12857 | =begin original |
6723 | 12858 | |
6724 | (F) You | |
12859 | (F) Your format contains the ~~ repeat-until-blank sequence and a | |
6725 | ||
12860 | numeric field that will never go blank so that the repetition never | |
12861 | terminates. You might use ^# instead. See L<perlform>. | |
6726 | 12862 | |
6727 | 12863 | =end original |
6728 | 12864 | |
6729 | (F) 繰り返し | |
12865 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない | |
6730 | ||
12866 | スウチフィールドが含まれているので、無限ループになります。 | |
6731 | ||
12867 | 代わりに ^# を使うべきでしょう。 | |
12868 | L<perlform> を参照してください。 | |
6732 | 12869 | |
6733 | =item Rep | |
12870 | =item Replacement list is longer than search list | |
6734 | 12871 | |
6735 | 12872 | =begin original |
6736 | 12873 | |
6737 | ( | |
12874 | (W misc) You have used a replacement list that is longer than the | |
6738 | s | |
12875 | search list. So the additional elements in the replacement list | |
12876 | are meaningless. | |
6739 | 12877 | |
6740 | 12878 | =end original |
6741 | 12879 | |
6742 | ( | |
12880 | (W misc) 検索リストよりも長い置換リストを使いました。 | |
6743 | ||
12881 | 長い分の置換リストは無意味です。 | |
6744 | L<perlfunc/unpack> を参照してください。 | |
6745 | 12882 | |
12883 | =item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/ | |
12884 | ||
12885 | =begin original | |
12886 | ||
12887 | (F) You used a construct that needs a colon and pattern argument. | |
12888 | Supply these or check that you are using the right construct. | |
12889 | ||
12890 | =end original | |
12891 | ||
12892 | (F) コロンとパターン引数を必要とする構文を使いました。 | |
12893 | これらを補うか、正しい構文を使っているか確認してください。 | |
12894 | ||
12895 | =item '%s' resolved to '\o{%s}%d' | |
12896 | ||
12897 | =begin original | |
12898 | ||
12899 | As of Perl 5.32, this message is no longer generated. Instead, see | |
12900 | L</Non-octal character '%c' terminates \o early. Resolved as "%s">. | |
12901 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
12902 | double-quotish string. All but the last digit is treated as a single | |
12903 | character, specified in octal. The last digit is the next character in | |
12904 | the string. To tell Perl that this is indeed what you want, you can use | |
12905 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
12906 | for the character. | |
12907 | ||
12908 | =end original | |
12909 | ||
12910 | Perl 5.32 から、もはやこのメッセージは出力されません。 | |
12911 | 代わりに、 | |
12912 | L</Non-octal character '%c' terminates \o early. Resolved as "%s"> | |
12913 | を見てください。 | |
12914 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
12915 | ものを書きました。 | |
12916 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
12917 | 最後の数字は文字列中の次の文字です。 | |
12918 | これが確かに望んだものであることを Perl に伝えるには、 | |
12919 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
12920 | 正確に 3 文字の数字を使ってください。 | |
12921 | ||
6746 | 12922 | =item Reversed %s= operator |
6747 | 12923 | |
6748 | 12924 | =begin original |
6749 | 12925 | |
6750 | 12926 | (W syntax) You wrote your assignment operator backwards. The = must |
6751 | always come | |
12927 | always come last, to avoid ambiguity with subsequent unary operators. | |
6752 | 12928 | |
6753 | 12929 | =end original |
6754 | 12930 | |
6755 | 12931 | (W syntax) 代入演算子を逆順に書いています。 |
6756 | 12932 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
6757 | 12933 | 代入演算子では、等号 = が、最後にこないといけません。 |
6758 | 12934 | |
6759 | =item | |
12935 | =item rewinddir() attempted on invalid dirhandle %s | |
6760 | 12936 | |
6761 | 12937 | =begin original |
6762 | 12938 | |
6763 | ( | |
12939 | (W io) The dirhandle you tried to do a rewinddir() on is either closed | |
6764 | ||
12940 | or not really a dirhandle. Check your control flow. | |
6765 | 199th line. Apparently you didn't arrange for the arguments to exhaust | |
6766 | themselves, either by using ^ instead of @ (for scalar variables), or by | |
6767 | shifting or popping (for array variables). See L<perlform>. | |
6768 | 12941 | |
6769 | 12942 | =end original |
6770 | 12943 | |
6771 | ( | |
12944 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
6772 | ||
12945 | 実際にはディレクトリハンドルではありません。 | |
6773 | ||
12946 | 制御フローをチェックしてください。 | |
6774 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を | |
6775 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 | |
6776 | そうなっていないようです。 | |
6777 | L<perlform> を参照してください。 | |
6778 | 12947 | |
12948 | =item Scalars leaked: %d | |
12949 | ||
12950 | =begin original | |
12951 | ||
12952 | (S internal) Something went wrong in Perl's internal bookkeeping | |
12953 | of scalars: not all scalar variables were deallocated by the time | |
12954 | Perl exited. What this usually indicates is a memory leak, which | |
12955 | is of course bad, especially if the Perl program is intended to be | |
12956 | long-running. | |
12957 | ||
12958 | =end original | |
12959 | ||
12960 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
12961 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
12962 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
12963 | Perl プログラムが長い間動作する場合には特にそうです。 | |
12964 | ||
6779 | 12965 | =item Scalar value @%s[%s] better written as $%s[%s] |
6780 | 12966 | |
6781 | 12967 | =begin original |
6782 | 12968 | |
6783 | 12969 | (W syntax) You've used an array slice (indicated by @) to select a |
6784 | 12970 | single element of an array. Generally it's better to ask for a scalar |
6785 | 12971 | value (indicated by $). The difference is that C<$foo[&bar]> always |
6786 | 12972 | behaves like a scalar, both when assigning to it and when evaluating its |
6787 | 12973 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
6788 | 12974 | and provides a list context to its subscript, which can do weird things |
6789 | 12975 | if you're expecting only one subscript. |
6790 | 12976 | |
6791 | 12977 | =end original |
6792 | 12978 | |
6793 | 12979 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
6794 | 12980 | スライスを用いました。 |
6795 | 一般には | |
12981 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6796 | 12982 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
6797 | 12983 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
6798 | 12984 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
6799 | 添字にもリストコンテキストを与えることになります | |
12985 | 添字にもリストコンテキストを与えることになります; | |
6800 | これは、 | |
12986 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
6801 | 12987 | |
6802 | 12988 | =begin original |
6803 | 12989 | |
6804 | 12990 | On the other hand, if you were actually hoping to treat the array |
6805 | 12991 | element as a list, you need to look into how references work, because |
6806 | 12992 | Perl will not magically convert between scalars and lists for you. See |
6807 | 12993 | L<perlref>. |
6808 | 12994 | |
6809 | 12995 | =end original |
6810 | 12996 | |
6811 | 12997 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
6812 | 12998 | どのように働くかについて詳しく知る必要があります; なぜなら |
6813 | 12999 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
6814 | 13000 | L<perlref> を参照してください。 |
6815 | 13001 | |
6816 | 13002 | =item Scalar value @%s{%s} better written as $%s{%s} |
6817 | 13003 | |
6818 | 13004 | =begin original |
6819 | 13005 | |
6820 | 13006 | (W syntax) You've used a hash slice (indicated by @) to select a single |
6821 | 13007 | element of a hash. Generally it's better to ask for a scalar value |
6822 | 13008 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
6823 | 13009 | like a scalar, both when assigning to it and when evaluating its |
6824 | 13010 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
6825 | 13011 | and provides a list context to its subscript, which can do weird things |
6826 | 13012 | if you're expecting only one subscript. |
6827 | 13013 | |
6828 | 13014 | =end original |
6829 | 13015 | |
6830 | 13016 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
6831 | 13017 | スライスを用いました。 |
6832 | 一般には | |
13018 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6833 | 13019 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
6834 | 13020 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
6835 | 13021 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
6836 | 添字にもリストコンテキストを与えることになります | |
13022 | 添字にもリストコンテキストを与えることになります; | |
6837 | これは、 | |
13023 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
6838 | 13024 | |
6839 | 13025 | =begin original |
6840 | 13026 | |
6841 | 13027 | On the other hand, if you were actually hoping to treat the hash element |
6842 | 13028 | as a list, you need to look into how references work, because Perl will |
6843 | 13029 | not magically convert between scalars and lists for you. See |
6844 | 13030 | L<perlref>. |
6845 | 13031 | |
6846 | 13032 | =end original |
6847 | 13033 | |
6848 | 13034 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
6849 | 13035 | どのように働くかについて詳しく知る必要があります; なぜなら |
6850 | 13036 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
6851 | 13037 | L<perlref> を参照してください。 |
6852 | 13038 | |
6853 | =item Sca | |
13039 | =item Search pattern not terminated | |
6854 | 13040 | |
6855 | 13041 | =begin original |
6856 | 13042 | |
6857 | ( | |
13043 | (F) The lexer couldn't find the final delimiter of a // or m{} | |
6858 | ||
13044 | construct. Remember that bracketing delimiters count nesting level. | |
6859 | ||
13045 | Missing the leading C<$> from a variable C<$m> may cause this error. | |
6860 | especially if the Perl program is intended to be long-running. | |
6861 | 13046 | |
6862 | 13047 | =end original |
6863 | 13048 | |
6864 | ( | |
13049 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 | |
6865 | ||
13050 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
6866 | ||
13051 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 | |
6867 | Perl プログラムが長い間動作する場合には特にそうです。 | |
6868 | 13052 | |
6869 | =item Script is not setuid/setgid in suidperl | |
6870 | ||
6871 | 13053 | =begin original |
6872 | 13054 | |
6873 | ||
13055 | Note that since Perl 5.10.0 a // can also be the I<defined-or> | |
6874 | or s | |
13056 | construct, not just the empty search pattern. Therefore code written | |
13057 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be | |
13058 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. | |
6875 | 13059 | |
6876 | 13060 | =end original |
6877 | 13061 | |
6878 | ||
13062 | Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる | |
6879 | ||
13063 | 空検索パターンではありません。 | |
6880 | ||
13064 | 従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている | |
13065 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして | |
13066 | 誤パースされるかもしれません。 | |
6881 | 13067 | |
6882 | =item | |
13068 | =item seekdir() attempted on invalid dirhandle %s | |
6883 | 13069 | |
6884 | 13070 | =begin original |
6885 | 13071 | |
6886 | ( | |
13072 | (W io) The dirhandle you are doing a seekdir() on is either closed or not | |
6887 | ||
13073 | really a dirhandle. Check your control flow. | |
6888 | Missing the leading C<$> from a variable C<$m> may cause this error. | |
6889 | 13074 | |
6890 | 13075 | =end original |
6891 | 13076 | |
6892 | ( | |
13077 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 | |
6893 | ||
13078 | 実際にはディレクトリハンドルではありません。 | |
6894 | ||
13079 | 制御フローをチェックしてください。 | |
6895 | 13080 | |
6896 | 13081 | =item %sseek() on unopened filehandle |
6897 | 13082 | |
6898 | 13083 | =begin original |
6899 | 13084 | |
6900 | 13085 | (W unopened) You tried to use the seek() or sysseek() function on a |
6901 | 13086 | filehandle that was either never opened or has since been closed. |
6902 | 13087 | |
6903 | 13088 | =end original |
6904 | 13089 | |
6905 | 13090 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
6906 | 13091 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
6907 | 13092 | |
6908 | 13093 | =item select not implemented |
6909 | 13094 | |
6910 | 13095 | =begin original |
6911 | 13096 | |
6912 | 13097 | (F) This machine doesn't implement the select() system call. |
6913 | 13098 | |
6914 | 13099 | =end original |
6915 | 13100 | |
6916 | 13101 | (F) このマシンでは、select() システムコールは実装されていません。 |
6917 | 13102 | |
13103 | =item Self-ties of arrays and hashes are not supported | |
13104 | ||
13105 | =begin original | |
13106 | ||
13107 | (F) Self-ties are of arrays and hashes are not supported in | |
13108 | the current implementation. | |
13109 | ||
13110 | =end original | |
13111 | ||
13112 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 | |
13113 | ||
6918 | 13114 | =item Semicolon seems to be missing |
6919 | 13115 | |
6920 | 13116 | =begin original |
6921 | 13117 | |
6922 | 13118 | (W semicolon) A nearby syntax error was probably caused by a missing |
6923 | 13119 | semicolon, or possibly some other missing operator, such as a comma. |
6924 | 13120 | |
6925 | 13121 | =end original |
6926 | 13122 | |
6927 | 13123 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
6928 | 13124 | 演算子がなかったために起こったものと考えられます。 |
6929 | 13125 | |
6930 | 13126 | =item semi-panic: attempt to dup freed string |
6931 | 13127 | |
6932 | 13128 | =begin original |
6933 | 13129 | |
6934 | 13130 | (S internal) The internal newSVsv() routine was called to duplicate a |
6935 | 13131 | scalar that had previously been marked as free. |
6936 | 13132 | |
6937 | 13133 | =end original |
6938 | 13134 | |
6939 | 13135 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
6940 | 13136 | newSVsv() ルーティンが呼ばれました。 |
6941 | 13137 | |
6942 | 13138 | =item sem%s not implemented |
6943 | 13139 | |
6944 | 13140 | =begin original |
6945 | 13141 | |
6946 | 13142 | (F) You don't have System V semaphore IPC on your system. |
6947 | 13143 | |
6948 | 13144 | =end original |
6949 | 13145 | |
6950 | 13146 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
6951 | 13147 | |
6952 | 13148 | =item send() on closed socket %s |
6953 | 13149 | |
6954 | 13150 | =begin original |
6955 | 13151 | |
6956 | 13152 | (W closed) The socket you're sending to got itself closed sometime |
6957 | before now. Check your | |
13153 | before now. Check your control flow. | |
6958 | 13154 | |
6959 | 13155 | =end original |
6960 | 13156 | |
6961 | (W closed) 送信を行なおうとしたソケットは、既に | |
13157 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 | |
6962 | ||
13158 | 制御フローをチェックしてください。 | |
6963 | 13159 | |
6964 | =item Sequence | |
13160 | =item Sequence "\c{" invalid | |
6965 | 13161 | |
6966 | 13162 | =begin original |
6967 | 13163 | |
6968 | (F) | |
13164 | (F) These three characters may not appear in sequence in a | |
6969 | ||
13165 | double-quotish context. This message is raised only on non-ASCII | |
6970 | ||
13166 | platforms (a different error message is output on ASCII ones). If you | |
13167 | were intending to specify a control character with this sequence, you'll | |
13168 | have to use a different way to specify it. | |
6971 | 13169 | |
6972 | 13170 | =end original |
6973 | 13171 | |
6974 | (F) | |
13172 | (F) これら三つの文字の並びはダブルクォート風のコンテキストでは | |
6975 | ||
13173 | 使えません。 | |
6976 | ||
13174 | このメッセージは非 ASCII プラットフォームでのみ発生します | |
13175 | (ASCII では異なったえらメッセージが出力されます)。 | |
13176 | この並びの制御文字を指定することを意図している場合は、指定するために | |
13177 | 異なる方法を使う必要があります。 | |
6977 | 13178 | |
6978 | =item Sequence (? | |
13179 | =item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/ | |
6979 | 13180 | |
6980 | 13181 | =begin original |
6981 | 13182 | |
6982 | (F) | |
13183 | (F) A regular expression ended with an incomplete extension (?. The | |
6983 | ||
13184 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13185 | discovered. See L<perlre>. | |
6984 | 13186 | |
6985 | 13187 | =end original |
6986 | 13188 | |
6987 | (F) (? | |
13189 | (F) 正規表現が不完全な拡張 (? で終わっています。 | |
6988 | ||
13190 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6989 | 13191 | L<perlre> を参照してください。 |
6990 | 13192 | |
6991 | =item Sequence (?% | |
13193 | =item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in | |
13194 | m/%s/ | |
6992 | 13195 | |
6993 | 13196 | =begin original |
6994 | 13197 | |
6995 | (F) A proposed regular expression extension has the character reserved | |
13198 | (F) A proposed regular expression extension has the character reserved | |
6996 | has not yet been written. The << HERE shows | |
13199 | but has not yet been written. The S<<-- HERE> shows whereabouts in the | |
6997 | ||
13200 | regular expression the problem was discovered. See L<perlre>. | |
6998 | 13201 | |
6999 | 13202 | =end original |
7000 | 13203 | |
7001 | 13204 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
7002 | 13205 | まだ実装されていません。 |
7003 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13206 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7004 | 13207 | L<perlre> を参照してください。 |
7005 | 13208 | |
7006 | =item Sequence (?%s...) not recognized | |
13209 | =item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in | |
13210 | m/%s/ | |
7007 | 13211 | |
7008 | 13212 | =begin original |
7009 | 13213 | |
7010 | 13214 | (F) You used a regular expression extension that doesn't make sense. |
7011 | The << HERE shows in the regular expression | |
13215 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
7012 | ||
13216 | discovered. This may happen when using the C<(?^...)> construct to tell | |
7013 | ||
13217 | Perl to use the default regular expression modifiers, and you | |
13218 | redundantly specify a default modifier. For other | |
13219 | causes, see L<perlre>. | |
7014 | 13220 | |
7015 | 13221 | =end original |
7016 | 13222 | |
7017 | 13223 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
7018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13224 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7019 | ||
13225 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために | |
13226 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 | |
13227 | その他の理由については、L<perlre> を参照してください。 | |
7020 | 13228 | |
7021 | 13229 | =item Sequence (?#... not terminated in regex m/%s/ |
7022 | 13230 | |
7023 | 13231 | =begin original |
7024 | 13232 | |
7025 | 13233 | (F) A regular expression comment must be terminated by a closing |
7026 | parenthesis. Embedded parentheses aren't allowed. See | |
13234 | parenthesis. Embedded parentheses aren't allowed. See | |
13235 | L<perlre>. | |
7027 | 13236 | |
7028 | 13237 | =end original |
7029 | 13238 | |
7030 | (F) 正規表現コメントは | |
13239 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 | |
7031 | ||
13240 | 組み込みのかっこは許可されません。 | |
7032 | 13241 | L<perlre> を参照してください。 |
7033 | 13242 | |
7034 | =item | |
13243 | =item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in | |
13244 | m/%s/ | |
7035 | 13245 | |
7036 | 13246 | =begin original |
7037 | 13247 | |
7038 | ||
13248 | (F) A named reference of the form C<(?&...)> was missing the final | |
13249 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13250 | in the regular expression the problem was discovered. | |
7039 | 13251 | |
7040 | 13252 | =end original |
7041 | 13253 | |
7042 | ||
13254 | (F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが | |
13255 | ありません。 | |
13256 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7043 | 13257 | |
7044 | =item Se | |
13258 | =item Sequence (?%c... not terminated in regex; marked by S<<-- HERE> | |
13259 | in m/%s/ | |
7045 | 13260 | |
7046 | 13261 | =begin original |
7047 | 13262 | |
7048 | ||
13263 | (F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final | |
7049 | ||
13264 | closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the | |
7050 | ||
13265 | regular expression the problem was discovered. | |
7051 | are "500 Server error", "Method (something) not permitted", "Document | |
7052 | contains no data", "Premature end of script headers", and "Did not | |
7053 | produce a valid header". | |
7054 | 13266 | |
7055 | 13267 | =end original |
7056 | 13268 | |
7057 | ||
13269 | (F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の | |
13270 | 最後の閉じクォートまたは山かっこがありません。 | |
13271 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13272 | ||
13273 | =item Sequence (%s... not terminated in regex; marked by S<<-- HERE> | |
13274 | in m/%s/ | |
13275 | ||
13276 | =begin original | |
13277 | ||
13278 | (F) A lookahead assertion C<(?=...)> or C<(?!...)> or lookbehind | |
13279 | assertion C<< (?<=...) >> or C<< (?<!...) >> was missing the final | |
13280 | closing parenthesis. The S<<-- HERE> shows whereabouts in the | |
13281 | regular expression the problem was discovered. | |
13282 | ||
13283 | =end original | |
13284 | ||
13285 | (F) 先読み表明 C<(?=...)> および C<(?!...)> や | |
13286 | 後読み表明 C<< (?<=...) >> および C<< (?<!...) >> は | |
13287 | 最後の閉じかっこがありませんでした。 | |
13288 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13289 | ||
13290 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> | |
13291 | in m/%s/ | |
13292 | ||
13293 | =begin original | |
13294 | ||
13295 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was | |
13296 | missing the final closing quote or angle bracket after the name. The | |
13297 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13298 | discovered. | |
13299 | ||
13300 | =end original | |
13301 | ||
13302 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き | |
13303 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 | |
13304 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13305 | ||
13306 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in | |
13307 | m/%s/ | |
13308 | ||
13309 | =begin original | |
13310 | ||
13311 | (F) There was no matching closing parenthesis for the '('. The | |
13312 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13313 | discovered. | |
13314 | ||
13315 | =end original | |
13316 | ||
13317 | (F) '(' に対応する閉じかっこがありません。 | |
13318 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13319 | ||
13320 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in | |
13321 | m/%s/ | |
13322 | ||
13323 | =begin original | |
13324 | ||
13325 | (F) The regular expression expects a mandatory argument following the escape | |
13326 | sequence and this has been omitted or incorrectly written. | |
13327 | ||
13328 | =end original | |
13329 | ||
13330 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 | |
13331 | それが省略されているか適切に書かれていません。 | |
13332 | ||
13333 | =item Sequence (?{...}) not terminated with ')' | |
13334 | ||
13335 | =begin original | |
13336 | ||
13337 | (F) The end of the perl code contained within the {...} must be | |
13338 | followed immediately by a ')'. | |
13339 | ||
13340 | =end original | |
13341 | ||
13342 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が | |
13343 | 引き続かなければなりません。 | |
13344 | ||
13345 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13346 | ||
13347 | =begin original | |
13348 | ||
13349 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
13350 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13351 | in the regular expression the problem was discovered. | |
13352 | ||
13353 | =end original | |
13354 | ||
13355 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
13356 | ありません。 | |
13357 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13358 | ||
13359 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13360 | ||
13361 | =begin original | |
13362 | ||
13363 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
13364 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
13365 | regular expression the problem was discovered. | |
13366 | ||
13367 | =end original | |
13368 | ||
13369 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
13370 | 最後の閉じ山かっこがありません。 | |
13371 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13372 | ||
13373 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in | |
13374 | m/%s/ | |
13375 | ||
13376 | =begin original | |
13377 | ||
13378 | (F) A named reference of the form C<(?P=...)> was missing the final | |
13379 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13380 | in the regular expression the problem was discovered. | |
13381 | ||
13382 | =end original | |
13383 | ||
13384 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の | |
13385 | 閉じかっこがありません。 | |
13386 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13387 | ||
13388 | =item Sequence (?R) not terminated in regex m/%s/ | |
13389 | ||
13390 | =begin original | |
13391 | ||
13392 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the | |
13393 | final parenthesis. | |
13394 | ||
13395 | =end original | |
13396 | ||
13397 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 | |
13398 | ||
13399 | =item Z<>500 Server error | |
13400 | ||
13401 | =begin original | |
13402 | ||
13403 | (A) This is the error message generally seen in a browser window | |
13404 | when trying to run a CGI program (including SSI) over the web. The | |
13405 | actual error text varies widely from server to server. The most | |
13406 | frequently-seen variants are "500 Server error", "Method (something) | |
13407 | not permitted", "Document contains no data", "Premature end of script | |
13408 | headers", and "Did not produce a valid header". | |
13409 | ||
13410 | =end original | |
13411 | ||
13412 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
7058 | 13413 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
7059 | 13414 | 実際のエラーテキストはサーバーによって大きく異なります。 |
7060 | 13415 | もっともよく見られるものとしては、"500 Server error", |
7061 | 13416 | "Method (something) not permitted", "Document contains no data", |
7062 | 13417 | "Premature end of script headers", "Did not produce a valid header" が |
7063 | 13418 | あります。 |
7064 | 13419 | |
7065 | 13420 | =begin original |
7066 | 13421 | |
7067 | 13422 | B<This is a CGI error, not a Perl error>. |
7068 | 13423 | |
7069 | 13424 | =end original |
7070 | 13425 | |
7071 | 13426 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
7072 | 13427 | |
7073 | 13428 | =begin original |
7074 | 13429 | |
7075 | You need to make sure your script is executable, is accessible by | |
13430 | You need to make sure your script is executable, is accessible by | |
7076 | user CGI is running the script under (which is probably not the | |
13431 | the user CGI is running the script under (which is probably not the | |
7077 | account you tested it under), does not rely on any environment | |
13432 | user account you tested it under), does not rely on any environment | |
7078 | (like PATH) from the user it isn't running under, and isn't | |
13433 | variables (like PATH) from the user it isn't running under, and isn't | |
7079 | location where the CGI server can't find it, basically, more or | |
13434 | in a location where the CGI server can't find it, basically, more or | |
7080 | Please see the following for more information: | |
13435 | less. Please see the following for more information: | |
7081 | 13436 | |
7082 | 13437 | =end original |
7083 | 13438 | |
7084 | 13439 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
7085 | 13440 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
7086 | 13441 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
7087 | 13442 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
7088 | 13443 | さらなる情報については以下を参照してください。 |
7089 | 13444 | |
7090 | http://www.perl. | |
13445 | https://www.perl.org/CGI_MetaFAQ.html | |
7091 | http://www. | |
13446 | http://www.htmlhelp.org/faq/cgifaq.html | |
7092 | | |
13447 | http://www.w3.org/Security/Faq/ | |
7093 | http://hoohoo.ncsa.uiuc.edu/cgi/interface.html | |
7094 | http://www-genome.wi.mit.edu/WWW/faqs/www-security-faq.html | |
7095 | 13448 | |
7096 | 13449 | =begin original |
7097 | 13450 | |
7098 | 13451 | You should also look at L<perlfaq9>. |
7099 | 13452 | |
7100 | 13453 | =end original |
7101 | 13454 | |
7102 | 13455 | L<perlfaq9> も見るべきでしょう。 |
7103 | 13456 | |
7104 | 13457 | =item setegid() not implemented |
7105 | 13458 | |
7106 | 13459 | =begin original |
7107 | 13460 | |
7108 | 13461 | (F) You tried to assign to C<$)>, and your operating system doesn't |
7109 | 13462 | support the setegid() system call (or equivalent), or at least Configure |
7110 | 13463 | didn't think so. |
7111 | 13464 | |
7112 | 13465 | =end original |
7113 | 13466 | |
7114 | 13467 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
7115 | システムコール (または、同等のもの) がサポートされていません | |
13468 | システムコール (または、同等のもの) がサポートされていません; | |
7116 | 13469 | 少なくとも Configure では、そう判断されました。 |
7117 | 13470 | |
7118 | 13471 | =item seteuid() not implemented |
7119 | 13472 | |
7120 | 13473 | =begin original |
7121 | 13474 | |
7122 | 13475 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
7123 | 13476 | support the seteuid() system call (or equivalent), or at least Configure |
7124 | 13477 | didn't think so. |
7125 | 13478 | |
7126 | 13479 | =end original |
7127 | 13480 | |
7128 | 13481 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
7129 | システムコール (または、同等のもの) がサポートされていません | |
13482 | システムコール (または、同等のもの) がサポートされていません; | |
7130 | 13483 | 少なくとも Configure では、そう判断されました。 |
7131 | 13484 | |
7132 | 13485 | =item setpgrp can't take arguments |
7133 | 13486 | |
7134 | 13487 | =begin original |
7135 | 13488 | |
7136 | 13489 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
7137 | 13490 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
7138 | 13491 | group ID. |
7139 | 13492 | |
7140 | 13493 | =end original |
7141 | 13494 | |
7142 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません | |
13495 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; | |
7143 | 13496 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
7144 | 13497 | |
7145 | 13498 | =item setrgid() not implemented |
7146 | 13499 | |
7147 | 13500 | =begin original |
7148 | 13501 | |
7149 | 13502 | (F) You tried to assign to C<$(>, and your operating system doesn't |
7150 | 13503 | support the setrgid() system call (or equivalent), or at least Configure |
7151 | 13504 | didn't think so. |
7152 | 13505 | |
7153 | 13506 | =end original |
7154 | 13507 | |
7155 | 13508 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
7156 | システムコール (または、同等のもの) がサポートされていません | |
13509 | システムコール (または、同等のもの) がサポートされていません; | |
7157 | 13510 | 少なくとも Configure では、そう判断されました。 |
7158 | 13511 | |
7159 | 13512 | =item setruid() not implemented |
7160 | 13513 | |
7161 | 13514 | =begin original |
7162 | 13515 | |
7163 | 13516 | (F) You tried to assign to C<$<>, and your operating system doesn't |
7164 | 13517 | support the setruid() system call (or equivalent), or at least Configure |
7165 | 13518 | didn't think so. |
7166 | 13519 | |
7167 | 13520 | =end original |
7168 | 13521 | |
7169 | 13522 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
7170 | システムコール (または、同等のもの) がサポートされていません | |
13523 | システムコール (または、同等のもの) がサポートされていません; | |
7171 | 13524 | 少なくとも Configure では、そう判断されました。 |
7172 | 13525 | |
7173 | 13526 | =item setsockopt() on closed socket %s |
7174 | 13527 | |
7175 | 13528 | =begin original |
7176 | 13529 | |
7177 | 13530 | (W closed) You tried to set a socket option on a closed socket. Did you |
7178 | 13531 | forget to check the return value of your socket() call? See |
7179 | 13532 | L<perlfunc/setsockopt>. |
7180 | 13533 | |
7181 | 13534 | =end original |
7182 | 13535 | |
7183 | 13536 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
7184 | socket() 呼び出し | |
13537 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? | |
7185 | 13538 | L<perlfunc/setsockopt> を参照してください。 |
7186 | 13539 | |
7187 | =item Set | |
13540 | =item Setting $/ to a reference to %s is forbidden | |
7188 | 13541 | |
7189 | 13542 | =begin original |
7190 | 13543 | |
7191 | (F) | |
13544 | (F) You assigned a reference to a scalar to C<$/> where the referenced item is | |
7192 | ||
13545 | not a positive integer. In older perls this B<appeared> to work the same as | |
13546 | setting it to C<undef> but was in fact internally different, less efficient | |
13547 | and with very bad luck could have resulted in your file being split by a | |
13548 | stringified form of the reference. | |
7193 | 13549 | |
7194 | 13550 | =end original |
7195 | 13551 | |
7196 | (F) | |
13552 | (F) リファレンス先のアイテムが正の整数でないときに、 | |
7197 | ス | |
13553 | C<$/> にスカラへの整数を代入しました。 | |
7198 | ||
13554 | 以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、 | |
13555 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが | |
13556 | このリファレンスの文字列化形式で split されることになっていました。 | |
7199 | 13557 | |
13558 | =begin original | |
13559 | ||
13560 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as | |
13561 | setting C<$/> to undef, with the exception that this warning would be thrown. | |
13562 | ||
13563 | =end original | |
13564 | ||
13565 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては | |
13566 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 | |
13567 | ||
13568 | =begin original | |
13569 | ||
13570 | You are recommended to change your code to set C<$/> to C<undef> explicitly if | |
13571 | you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference | |
13572 | to an integer which isn't positive is a fatal error. | |
13573 | ||
13574 | =end original | |
13575 | ||
13576 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を | |
13577 | 設定するようにコードを変更することを勧めます。 | |
13578 | Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は | |
13579 | 致命的エラーです。 | |
13580 | ||
13581 | =item Setting $/ to %s reference is forbidden | |
13582 | ||
13583 | =begin original | |
13584 | ||
13585 | (F) You tried to assign a reference to a non integer to C<$/>. In older | |
13586 | Perls this would have behaved similarly to setting it to a reference to | |
13587 | a positive integer, where the integer was the address of the reference. | |
13588 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl | |
13589 | to use non-integer refs for more interesting purposes. | |
13590 | ||
13591 | =end original | |
13592 | ||
13593 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 | |
13594 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを | |
13595 | 設定するのと似たように振る舞っていました。 | |
13596 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように | |
13597 | Perl 5.20.0 から、これは致命的エラーになりました。 | |
13598 | ||
7200 | 13599 | =item shm%s not implemented |
7201 | 13600 | |
7202 | 13601 | =begin original |
7203 | 13602 | |
7204 | 13603 | (F) You don't have System V shared memory IPC on your system. |
7205 | 13604 | |
7206 | 13605 | =end original |
7207 | 13606 | |
7208 | 13607 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
7209 | 13608 | |
7210 | =item | |
13609 | =item !=~ should be !~ | |
7211 | 13610 | |
7212 | 13611 | =begin original |
7213 | 13612 | |
7214 | ( | |
13613 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be | |
7215 | ||
13614 | interpreted as the != (numeric not equal) and ~ (1's complement) | |
13615 | operators: probably not what you intended. | |
7216 | 13616 | |
7217 | 13617 | =end original |
7218 | 13618 | |
7219 | ( | |
13619 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 | |
7220 | ||
13620 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: | |
13621 | おそらくあなたの意図していることではないでしょう。 | |
7221 | 13622 | |
7222 | 13623 | =item /%s/ should probably be written as "%s" |
7223 | 13624 | |
7224 | 13625 | =begin original |
7225 | 13626 | |
7226 | 13627 | (W syntax) You have used a pattern where Perl expected to find a string, |
7227 | 13628 | as in the first argument to C<join>. Perl will treat the true or false |
7228 | 13629 | result of matching the pattern against $_ as the string, which is |
7229 | 13630 | probably not what you had in mind. |
7230 | 13631 | |
7231 | 13632 | =end original |
7232 | 13633 | |
7233 | 13634 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
7234 | 13635 | パターンを使いました。 |
7235 | 13636 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
7236 | 13637 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
7237 | 13638 | |
7238 | 13639 | =item shutdown() on closed socket %s |
7239 | 13640 | |
7240 | 13641 | =begin original |
7241 | 13642 | |
7242 | 13643 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
7243 | 13644 | superfluous. |
7244 | 13645 | |
7245 | 13646 | =end original |
7246 | 13647 | |
7247 | 13648 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
7248 | 13649 | 多少、無駄のように思われます。 |
7249 | 13650 | |
7250 | 13651 | =item SIG%s handler "%s" not defined |
7251 | 13652 | |
7252 | 13653 | =begin original |
7253 | 13654 | |
7254 | 13655 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
7255 | 13656 | Perhaps you put it into the wrong package? |
7256 | 13657 | |
7257 | 13658 | =end original |
7258 | 13659 | |
7259 | 13660 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
7260 | 13661 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
7261 | 13662 | |
13663 | =item Slab leaked from cv %p | |
13664 | ||
13665 | =begin original | |
13666 | ||
13667 | (S) If you see this message, then something is seriously wrong with the | |
13668 | internal bookkeeping of op trees. An op tree needed to be freed after | |
13669 | a compilation error, but could not be found, so it was leaked instead. | |
13670 | ||
13671 | =end original | |
13672 | ||
13673 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく | |
13674 | 悪いことになっています。 | |
13675 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 | |
13676 | 見つからないので、リークしています。 | |
13677 | ||
13678 | =item sleep(%u) too large | |
13679 | ||
13680 | =begin original | |
13681 | ||
13682 | (W overflow) You called C<sleep> with a number that was larger than | |
13683 | it can reliably handle and C<sleep> probably slept for less time than | |
13684 | requested. | |
13685 | ||
13686 | =end original | |
13687 | ||
13688 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 | |
13689 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 | |
13690 | ||
13691 | =item Slurpy parameter not last | |
13692 | ||
13693 | =begin original | |
13694 | ||
13695 | (F) In a subroutine signature, you put something after a slurpy (array or | |
13696 | hash) parameter. The slurpy parameter takes all the available arguments, | |
13697 | so there can't be any left to fill later parameters. | |
13698 | ||
13699 | =end original | |
13700 | ||
13701 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に | |
13702 | 何かを起きました。 | |
13703 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに | |
13704 | 対応するものを残しません。 | |
13705 | ||
13706 | =item Smart matching a non-overloaded object breaks encapsulation | |
13707 | ||
13708 | =begin original | |
13709 | ||
13710 | (F) You should not use the C<~~> operator on an object that does not | |
13711 | overload it: Perl refuses to use the object's underlying structure | |
13712 | for the smart match. | |
13713 | ||
13714 | =end original | |
13715 | ||
13716 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を | |
13717 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの | |
13718 | 基礎となる構造を使うことを拒否します。 | |
13719 | ||
13720 | =item Smartmatch is experimental | |
13721 | ||
13722 | =begin original | |
13723 | ||
13724 | (S experimental::smartmatch) This warning is emitted if you | |
13725 | use the smartmatch (C<~~>) operator. This is currently an experimental | |
13726 | feature, and its details are subject to change in future releases of | |
13727 | Perl. Particularly, its current behavior is noticed for being | |
13728 | unnecessarily complex and unintuitive, and is very likely to be | |
13729 | overhauled. | |
13730 | ||
13731 | =end original | |
13732 | ||
13733 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
13734 | 使ったときに出力されます。 | |
13735 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
13736 | 可能性があります。 | |
13737 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に | |
13738 | 見直されます。 | |
13739 | ||
13740 | =item Sorry, hash keys must be smaller than 2**31 bytes | |
13741 | ||
13742 | =begin original | |
13743 | ||
13744 | (F) You tried to create a hash containing a very large key, where "very | |
13745 | large" means that it needs at least 2 gigabytes to store. Unfortunately, | |
13746 | Perl doesn't yet handle such large hash keys. You should | |
13747 | reconsider your design to avoid hashing such a long string directly. | |
13748 | ||
13749 | =end original | |
13750 | ||
13751 | (F) とても大きなキーを含むハッシュを作ろうとしました; | |
13752 | ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。 | |
13753 | 残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。 | |
13754 | そのような長い文字列で直接ハッシュを作るのを避けるように、 | |
13755 | 設計を再考する必要があります。 | |
13756 | ||
7262 | 13757 | =item sort is now a reserved word |
7263 | 13758 | |
7264 | 13759 | =begin original |
7265 | 13760 | |
7266 | 13761 | (F) An ancient error message that almost nobody ever runs into anymore. |
7267 | 13762 | But before sort was a keyword, people sometimes used it as a filehandle. |
7268 | 13763 | |
7269 | 13764 | =end original |
7270 | 13765 | |
7271 | 13766 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
7272 | 13767 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
7273 | 13768 | 使う方がいました。 |
7274 | 13769 | |
7275 | =item So | |
13770 | =item Source filters apply only to byte streams | |
7276 | 13771 | |
7277 | 13772 | =begin original |
7278 | 13773 | |
7279 | (F) | |
13774 | (F) You tried to activate a source filter (usually by loading a | |
7280 | ||
13775 | source filter module) within a string passed to C<eval>. This is | |
7281 | ||
13776 | not permitted under the C<unicode_eval> feature. Consider using | |
13777 | C<evalbytes> instead. See L<feature>. | |
7282 | 13778 | |
7283 | 13779 | =end original |
7284 | 13780 | |
7285 | (F) | |
13781 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを | |
7286 | ||
13782 | 読み込むことで)ソースフィルタを有効にしようとしました。 | |
7287 | ||
13783 | これは C<unicode_eval> 機能が有効の場合は許されていません。 | |
13784 | 代わりに C<evalbytes> を使うことを検討してください。 | |
13785 | L<feature> を参照してください。 | |
7288 | 13786 | |
7289 | =item | |
13787 | =item splice() offset past end of array | |
7290 | 13788 | |
7291 | 13789 | =begin original |
7292 | 13790 | |
7293 | ( | |
13791 | (W misc) You attempted to specify an offset that was past the end of | |
7294 | ||
13792 | the array passed to splice(). Splicing will instead commence at the | |
13793 | end of the array, rather than past it. If this isn't what you want, | |
13794 | try explicitly pre-extending the array by assigning $#array = $offset. | |
13795 | See L<perlfunc/splice>. | |
7295 | 13796 | |
7296 | 13797 | =end original |
7297 | 13798 | |
7298 | ( | |
13799 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 | |
7299 | ||
13800 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 | |
7300 | ||
13801 | これが望んでいることではないなら、$#array = $offset と代入することで | |
13802 | 明示的に事前に配列を拡張してください。 | |
13803 | L<perlfunc/splice> を参照してください。 | |
7301 | 13804 | |
7302 | 13805 | =item Split loop |
7303 | 13806 | |
7304 | 13807 | =begin original |
7305 | 13808 | |
7306 | 13809 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
7307 | 13810 | iterate more times than there are characters of input, which is what |
7308 | happened.) See L<perlfunc/split>. | |
13811 | happened.) See L<perlfunc/split>. | |
7309 | 13812 | |
7310 | 13813 | =end original |
7311 | 13814 | |
7312 | 13815 | (P) split が無限ループに陥りました。 |
7313 | 13816 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
7314 | 13817 | そうなってしまいました。) |
7315 | 13818 | L<perlfunc/split> を参照してください。 |
7316 | 13819 | |
7317 | 13820 | =item Statement unlikely to be reached |
7318 | 13821 | |
7319 | 13822 | =begin original |
7320 | 13823 | |
7321 | 13824 | (W exec) You did an exec() with some statement after it other than a |
7322 | 13825 | die(). This is almost always an error, because exec() never returns |
7323 | 13826 | unless there was a failure. You probably wanted to use system() |
7324 | 13827 | instead, which does return. To suppress this warning, put the exec() in |
7325 | 13828 | a block by itself. |
7326 | 13829 | |
7327 | 13830 | =end original |
7328 | 13831 | |
7329 | 13832 | (W exec) exec() の後に、die() 以外の実行文があります。 |
7330 | 13833 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
7331 | 13834 | ほとんどの場合には誤りでしょう。 |
7332 | 13835 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
7333 | 13836 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
7334 | 13837 | |
13838 | =item "state" subroutine %s can't be in a package | |
13839 | ||
13840 | =begin original | |
13841 | ||
13842 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
13843 | sense to try to declare one with a package qualifier on the front. | |
13844 | ||
13845 | =end original | |
13846 | ||
13847 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
13848 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13849 | ||
13850 | =item "state %s" used in sort comparison | |
13851 | ||
13852 | =begin original | |
13853 | ||
13854 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
13855 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
13856 | sort comparison block, and the variable had earlier been declared as a | |
13857 | lexical variable. Either qualify the sort variable with the package | |
13858 | name, or rename the lexical variable. | |
13859 | ||
13860 | =end original | |
13861 | ||
13862 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
13863 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
13864 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
13865 | 宣言されています。 | |
13866 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
13867 | ||
13868 | =item "state" variable %s can't be in a package | |
13869 | ||
13870 | =begin original | |
13871 | ||
13872 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
13873 | sense to try to declare one with a package qualifier on the front. Use | |
13874 | local() if you want to localize a package variable. | |
13875 | ||
13876 | =end original | |
13877 | ||
13878 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
13879 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13880 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
13881 | ||
7335 | 13882 | =item stat() on unopened filehandle %s |
7336 | 13883 | |
7337 | 13884 | =begin original |
7338 | 13885 | |
7339 | 13886 | (W unopened) You tried to use the stat() function on a filehandle that |
7340 | 13887 | was either never opened or has since been closed. |
7341 | 13888 | |
7342 | 13889 | =end original |
7343 | 13890 | |
7344 | 13891 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
7345 | 13892 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
7346 | 13893 | |
7347 | =item St | |
13894 | =item Strings with code points over 0xFF may not be mapped into in-memory file handles | |
7348 | 13895 | |
7349 | 13896 | =begin original |
7350 | 13897 | |
13898 | (W utf8) You tried to open a reference to a scalar for read or append | |
13899 | where the scalar contained code points over 0xFF. In-memory files | |
13900 | model on-disk files and can only contain bytes. | |
13901 | ||
13902 | =end original | |
13903 | ||
13904 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
13905 | スカラへのリファレンスを開こうとしました。 | |
13906 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
13907 | 使えます。 | |
13908 | ||
13909 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" | |
13910 | ||
13911 | =begin original | |
13912 | ||
7351 | 13913 | (P) Overloading resolution over @ISA tree may be broken by importation |
7352 | 13914 | stubs. Stubs should never be implicitly created, but explicit calls to |
7353 | 13915 | C<can> may break this. |
7354 | 13916 | |
7355 | 13917 | =end original |
7356 | 13918 | |
7357 | 13919 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
7358 | 13920 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
7359 | 13921 | これを破壊することがあります。 |
7360 | 13922 | |
13923 | =item Subroutine attributes must come before the signature | |
13924 | ||
13925 | =begin original | |
13926 | ||
13927 | (F) When subroutine signatures are enabled, any subroutine attributes must | |
13928 | come before the signature. Note that this order was the opposite in | |
13929 | versions 5.22..5.26. So: | |
13930 | ||
13931 | =end original | |
13932 | ||
13933 | (F) サブルーチンシグネチャが有効の場合、サブルーチン属性は | |
13934 | シグネチャの前に来なければなりません。 | |
13935 | この順序はバージョン 5.22..5.26 と反対であることに注意してください。 | |
13936 | 従って: | |
13937 | ||
13938 | sub foo :lvalue ($a, $b) { ... } # 5.20 and 5.28 + | |
13939 | sub foo ($a, $b) :lvalue { ... } # 5.22 .. 5.26 | |
13940 | ||
13941 | =item Subroutine "&%s" is not available | |
13942 | ||
13943 | =begin original | |
13944 | ||
13945 | (W closure) During compilation, an inner named subroutine or eval is | |
13946 | attempting to capture an outer lexical subroutine that is not currently | |
13947 | available. This can happen for one of two reasons. First, the lexical | |
13948 | subroutine may be declared in an outer anonymous subroutine that has | |
13949 | not yet been created. (Remember that named subs are created at compile | |
13950 | time, while anonymous subs are created at run-time.) For example, | |
13951 | ||
13952 | =end original | |
13953 | ||
13954 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
13955 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
13956 | これは二つの理由で起こります。 | |
13957 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
13958 | 宣言されたときです。 | |
13959 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
13960 | 実行時に作成されることを思い出してください。) | |
13961 | 例えば、 | |
13962 | ||
13963 | sub { my sub a {...} sub f { \&a } } | |
13964 | ||
13965 | =begin original | |
13966 | ||
13967 | At the time that f is created, it can't capture the current "a" sub, | |
13968 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
13969 | following won't give a warning since the anonymous subroutine has by now | |
13970 | been created and is live: | |
13971 | ||
13972 | =end original | |
13973 | ||
13974 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
13975 | 無名サブルーチンはまだ作成されていないからです。 | |
13976 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
13977 | 生きているからです: | |
13978 | ||
13979 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
13980 | ||
13981 | =begin original | |
13982 | ||
13983 | The second situation is caused by an eval accessing a lexical subroutine | |
13984 | that has gone out of scope, for example, | |
13985 | ||
13986 | =end original | |
13987 | ||
13988 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに | |
13989 | アクセスすることで起こります; 例えば: | |
13990 | ||
13991 | sub f { | |
13992 | my sub a {...} | |
13993 | sub { eval '\&a' } | |
13994 | } | |
13995 | f()->(); | |
13996 | ||
13997 | =begin original | |
13998 | ||
13999 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
14000 | being executed, so its &a is not available for capture. | |
14001 | ||
14002 | =end original | |
14003 | ||
14004 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
14005 | 実行されていないので、&a は捕捉として利用できません。 | |
14006 | ||
14007 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
14008 | ||
14009 | =begin original | |
14010 | ||
14011 | (W shadow) A "my" or "state" subroutine has been redeclared in the | |
14012 | current scope or statement, effectively eliminating all access to | |
14013 | the previous instance. This is almost always a typographical error. | |
14014 | Note that the earlier subroutine will still exist until the end of | |
14015 | the scope or until all closure references to it are destroyed. | |
14016 | ||
14017 | =end original | |
14018 | ||
14019 | (W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で | |
14020 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
14021 | これはほとんど常にタイプミスです。 | |
14022 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
14023 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
14024 | ||
7361 | 14025 | =item Subroutine %s redefined |
7362 | 14026 | |
7363 | 14027 | =begin original |
7364 | 14028 | |
7365 | 14029 | (W redefine) You redefined a subroutine. To suppress this warning, say |
7366 | 14030 | |
7367 | 14031 | =end original |
7368 | 14032 | |
7369 | (W redefine) サブルー | |
14033 | (W redefine) サブルーチンを再定義しました。 | |
7370 | この警告を止めるには | |
14034 | この警告を止めるには以下のようにしてください: | |
7371 | 14035 | |
7372 | 14036 | { |
7373 | no warnings; | |
14037 | no warnings 'redefine'; | |
7374 | 14038 | eval "sub name { ... }"; |
7375 | 14039 | } |
7376 | 14040 | |
14041 | =item Subroutine "%s" will not stay shared | |
14042 | ||
14043 | =begin original | |
14044 | ||
14045 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" | |
14046 | subroutine defined in an outer named subroutine. | |
14047 | ||
14048 | =end original | |
14049 | ||
14050 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 | |
14051 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 | |
14052 | ||
14053 | =begin original | |
14054 | ||
14055 | When the inner subroutine is called, it will see the value of the outer | |
14056 | subroutine's lexical subroutine as it was before and during the *first* | |
14057 | call to the outer subroutine; in this case, after the first call to the | |
14058 | outer subroutine is complete, the inner and outer subroutines will no | |
14059 | longer share a common value for the lexical subroutine. In other words, | |
14060 | it will no longer be shared. This will especially make a difference | |
14061 | if the lexical subroutines accesses lexical variables declared in its | |
14062 | surrounding scope. | |
14063 | ||
14064 | =end original | |
14065 | ||
14066 | 内側のサブルーチンが呼び出されるとき、 | |
14067 | 外側のサブルーチンのレキシカルサブルーチンの値は、 | |
14068 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; | |
14069 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
14070 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて | |
14071 | 共通の値を共有しません。 | |
14072 | 言い換えると、これはもはや共有されません。 | |
14073 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された | |
14074 | レキシカル変数にアクセスしたときに違いがあります。 | |
14075 | ||
14076 | =begin original | |
14077 | ||
14078 | This problem can usually be solved by making the inner subroutine | |
14079 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that | |
14080 | reference lexical subroutines in outer subroutines are created, they | |
14081 | are automatically rebound to the current values of such lexical subs. | |
14082 | ||
14083 | =end original | |
14084 | ||
14085 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで | |
14086 | 解決します。 | |
14087 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の | |
14088 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に | |
14089 | 自動的に回復します。 | |
14090 | ||
7377 | 14091 | =item Substitution loop |
7378 | 14092 | |
7379 | 14093 | =begin original |
7380 | 14094 | |
7381 | 14095 | (P) The substitution was looping infinitely. (Obviously, a substitution |
7382 | 14096 | shouldn't iterate more times than there are characters of input, which |
7383 | 14097 | is what happened.) See the discussion of substitution in |
7384 | L<perlop/" | |
14098 | L<perlop/"Regexp Quote-Like Operators">. | |
7385 | 14099 | |
7386 | 14100 | =end original |
7387 | 14101 | |
7388 | 14102 | (P) 置換が無限ループに陥りました。 |
7389 | 14103 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
7390 | 14104 | それが起こってしまいました。) |
7391 | L<perlop/"Quote and Quote- | |
14105 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 | |
7392 | 14106 | |
7393 | 14107 | =item Substitution pattern not terminated |
7394 | 14108 | |
7395 | 14109 | =begin original |
7396 | 14110 | |
7397 | (F) The lexer couldn't find the interior delimiter of a s/// or s{}{} | |
14111 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} | |
7398 | 14112 | construct. Remember that bracketing delimiters count nesting level. |
7399 | 14113 | Missing the leading C<$> from variable C<$s> may cause this error. |
7400 | 14114 | |
7401 | 14115 | =end original |
7402 | 14116 | |
7403 | 14117 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
7404 | ||
14118 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
7405 | 14119 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
7406 | 14120 | |
7407 | 14121 | =item Substitution replacement not terminated |
7408 | 14122 | |
7409 | 14123 | =begin original |
7410 | 14124 | |
7411 | (F) The lexer couldn't find the final delimiter of a s/// or s{}{} | |
14125 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} | |
7412 | 14126 | construct. Remember that bracketing delimiters count nesting level. |
7413 | 14127 | Missing the leading C<$> from variable C<$s> may cause this error. |
7414 | 14128 | |
7415 | 14129 | =end original |
7416 | 14130 | |
7417 | 14131 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
7418 | ||
14132 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
7419 | 14133 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
7420 | 14134 | |
7421 | 14135 | =item substr outside of string |
7422 | 14136 | |
7423 | 14137 | =begin original |
7424 | 14138 | |
7425 | (W substr) | |
14139 | (W substr)(F) You tried to reference a substr() that pointed outside of | |
7426 | 14140 | a string. That is, the absolute value of the offset was larger than the |
7427 | 14141 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
7428 | 14142 | substr is used in an lvalue context (as the left hand side of an |
7429 | 14143 | assignment or as a subroutine argument for example). |
7430 | 14144 | |
7431 | 14145 | =end original |
7432 | 14146 | |
7433 | (W substr) | |
14147 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 | |
7434 | 14148 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
7435 | 14149 | L<perlfunc/substr> を参照してください。 |
7436 | 14150 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
7437 | 14151 | 左辺値として使われた場合は致命的となります。 |
7438 | 14152 | |
7439 | =item su | |
14153 | =item sv_upgrade from type %d down to type %d | |
7440 | 14154 | |
7441 | 14155 | =begin original |
7442 | 14156 | |
7443 | ( | |
14157 | (P) Perl tried to force the upgrade of an SV to a type which was actually | |
7444 | ||
14158 | inferior to its current type. | |
7445 | 14159 | |
7446 | 14160 | =end original |
7447 | 14161 | |
7448 | ( | |
14162 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を | |
7449 | ||
14163 | 強制しようとしました。 | |
7450 | 実行されてしまいました。 | |
7451 | 14164 | |
7452 | =item Switch (?(condition)... contains too many branches | |
14165 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
14166 | S<<-- HERE> in m/%s/ | |
7453 | 14167 | |
7454 | 14168 | =begin original |
7455 | 14169 | |
7456 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
14170 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
7457 | branches (the if-clause and the else-clause). If you want one or | |
14171 | two branches (the if-clause and the else-clause). If you want one or | |
7458 | contain alternation, such as using C<this|that|other>, enclose | |
14172 | both to contain alternation, such as using C<this|that|other>, enclose | |
7459 | clustering parentheses: | |
14173 | it in clustering parentheses: | |
7460 | 14174 | |
7461 | 14175 | =end original |
7462 | 14176 | |
7463 | (F) (?(condition)if-clause|else-clause) 構造は最大で | |
14177 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 | |
7464 | 14178 | (if-clause と else-clause) を持つことができます。 |
7465 | 14179 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
7466 | 14180 | |
7467 | 14181 | (?(condition)(?:this|that|other)|else-clause) |
7468 | 14182 | |
7469 | 14183 | =begin original |
7470 | 14184 | |
7471 | The << HERE shows in the regular expression | |
14185 | The S<<-- HERE> shows whereabouts in the regular expression the problem | |
7472 | discovered. See L<perlre>. | |
14186 | was discovered. See L<perlre>. | |
7473 | 14187 | |
7474 | 14188 | =end original |
7475 | 14189 | |
7476 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14190 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7477 | 14191 | L<perlre> を参照してください。 |
7478 | 14192 | |
7479 | =item Switch condition not recognized | |
14193 | =item Switch condition not recognized in regex; marked by S<<-- HERE> in | |
14194 | m/%s/ | |
7480 | 14195 | |
7481 | 14196 | =begin original |
7482 | 14197 | |
7483 | (F) | |
14198 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
7484 | ||
14199 | is not known. The condition must be one of the following: | |
7485 | about where the problem was discovered. See L<perlre>. | |
7486 | 14200 | |
7487 | 14201 | =end original |
7488 | 14202 | |
7489 | (?(...)if-clause|else-clause) 構造の | |
14203 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
7490 | ||
14204 | 条件は以下のいずれかでなければなりません。 | |
14205 | ||
14206 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
14207 | (<NAME>) ('NAME') true if named capture matched | |
14208 | (?=...) (?<=...) true if subpattern matches | |
14209 | (?!...) (?<!...) true if subpattern fails to match | |
14210 | (?{ CODE }) true if code returns a true value | |
14211 | (R) true if evaluating inside recursion | |
14212 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
14213 | (R&NAME) true if directly inside named capture | |
14214 | (DEFINE) always false; for defining named subpatterns | |
14215 | ||
14216 | =begin original | |
14217 | ||
14218 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
14219 | discovered. See L<perlre>. | |
14220 | ||
14221 | =end original | |
14222 | ||
14223 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7491 | 14224 | L<perlre> を参照してください。 |
7492 | 14225 | |
14226 | =item Switch (?(condition)... not terminated in regex; marked by | |
14227 | S<<-- HERE> in m/%s/ | |
14228 | ||
14229 | =begin original | |
14230 | ||
14231 | (F) You omitted to close a (?(condition)...) block somewhere | |
14232 | in the pattern. Add a closing parenthesis in the appropriate | |
14233 | position. See L<perlre>. | |
14234 | ||
14235 | =end original | |
14236 | ||
14237 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 | |
14238 | 適切な位置に閉じかっこを追加してください。 | |
14239 | L<perlre> を参照してください。 | |
14240 | ||
7493 | 14241 | =item switching effective %s is not implemented |
7494 | 14242 | |
7495 | 14243 | =begin original |
7496 | 14244 | |
7497 | 14245 | (F) While under the C<use filetest> pragma, we cannot switch the real |
7498 | 14246 | and effective uids or gids. |
7499 | 14247 | |
7500 | 14248 | =end original |
7501 | 14249 | |
7502 | 14250 | (F) C<use filetest> プラグマを使っている間に、 |
7503 | 14251 | 実と実効の UID や GID の切り替えに失敗しました。 |
7504 | 14252 | |
7505 | 14253 | =item syntax error |
7506 | 14254 | |
7507 | 14255 | =begin original |
7508 | 14256 | |
7509 | 14257 | (F) Probably means you had a syntax error. Common reasons include: |
7510 | 14258 | |
7511 | 14259 | =end original |
7512 | 14260 | |
7513 | 14261 | (F) おそらく、構文エラーが起こっています。 |
7514 | 14262 | よくある原因としては以下のことが考えられます: |
7515 | 14263 | |
7516 | 14264 | =begin original |
7517 | 14265 | |
7518 | 14266 | A keyword is misspelled. |
7519 | 14267 | A semicolon is missing. |
7520 | 14268 | A comma is missing. |
7521 | 14269 | An opening or closing parenthesis is missing. |
7522 | 14270 | An opening or closing brace is missing. |
7523 | 14271 | A closing quote is missing. |
7524 | 14272 | |
7525 | 14273 | =end original |
7526 | 14274 | |
7527 | 14275 | キーワードのスペルミス。 |
7528 | 14276 | セミコロンを忘れた。 |
7529 | 14277 | コンマを忘れた。 |
7530 | 開き | |
14278 | 開きかっこ、閉じかっこを忘れた。 | |
7531 | 開き中 | |
14279 | 開き中かっこ、閉じ中かっこを忘れた。 | |
7532 | 14280 | クォートの閉じ忘れ。 |
7533 | 14281 | |
7534 | 14282 | =begin original |
7535 | 14283 | |
7536 | 14284 | Often there will be another error message associated with the syntax |
7537 | 14285 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
7538 | 14286 | The error message itself often tells you where it was in the line when |
7539 | 14287 | it decided to give up. Sometimes the actual error is several tokens |
7540 | 14288 | before this, because Perl is good at understanding random input. |
7541 | 14289 | Occasionally the line number may be misleading, and once in a blue moon |
7542 | 14290 | the only way to figure out what's triggering the error is to call |
7543 | 14291 | C<perl -c> repeatedly, chopping away half the program each time to see |
7544 | if the error went away. Sort of the cybernetic version of S<20 | |
14292 | if the error went away. Sort of the cybernetic version of S<20 questions>. | |
7545 | questions>. | |
7546 | 14293 | |
7547 | 14294 | =end original |
7548 | 14295 | |
7549 | 14296 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
7550 | 14297 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
7551 | 14298 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
7552 | 14299 | 含まれています。 |
7553 | 14300 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
7554 | 14301 | 在ることもあります。 |
7555 | 14302 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
7556 | 14303 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
7557 | 14304 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
7558 | 14305 | S<頭の体操 20 問>だと思ってください。 |
7559 | 14306 | |
7560 | =item syntax error at line %d: | |
14307 | =item syntax error at line %d: '%s' unexpected | |
7561 | 14308 | |
7562 | 14309 | =begin original |
7563 | 14310 | |
7564 | 14311 | (A) You've accidentally run your script through the Bourne shell instead |
7565 | 14312 | of Perl. Check the #! line, or manually feed your script into Perl |
7566 | 14313 | yourself. |
7567 | 14314 | |
7568 | 14315 | =end original |
7569 | 14316 | |
7570 | 14317 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
7571 | #! 行を | |
14318 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
7572 | 14319 | |
14320 | =item syntax error in file %s at line %d, next 2 tokens "%s" | |
14321 | ||
14322 | =begin original | |
14323 | ||
14324 | (F) This error is likely to occur if you run a perl5 script through | |
14325 | a perl4 interpreter, especially if the next 2 tokens are "use strict" | |
14326 | or "my $var" or "our $var". | |
14327 | ||
14328 | =end original | |
14329 | ||
14330 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに | |
14331 | おきそうなものです; 特に次の二つのトークンが "use strict" か | |
14332 | "my $var" か "our $var" の場合はそうです。 | |
14333 | ||
14334 | =item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/ | |
14335 | ||
14336 | =begin original | |
14337 | ||
14338 | (F) Perl could not figure out what you meant inside this construct; this | |
14339 | notifies you that it is giving up trying. | |
14340 | ||
14341 | =end original | |
14342 | ||
14343 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
14344 | これは試すのを諦めたことを知らせます。 | |
14345 | ||
7573 | 14346 | =item %s syntax OK |
7574 | 14347 | |
7575 | 14348 | =begin original |
7576 | 14349 | |
7577 | 14350 | (F) The final summary message when a C<perl -c> succeeds. |
7578 | 14351 | |
7579 | 14352 | =end original |
7580 | 14353 | |
7581 | 14354 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
7582 | 14355 | |
14356 | =item sysread() on closed filehandle %s | |
14357 | ||
14358 | =begin original | |
14359 | ||
14360 | (W closed) You tried to read from a closed filehandle. | |
14361 | ||
14362 | =end original | |
14363 | ||
14364 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
14365 | ||
14366 | =item sysread() on unopened filehandle %s | |
14367 | ||
14368 | =begin original | |
14369 | ||
14370 | (W unopened) You tried to read from a filehandle that was never opened. | |
14371 | ||
14372 | =end original | |
14373 | ||
14374 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
14375 | ||
7583 | 14376 | =item System V %s is not implemented on this machine |
7584 | 14377 | |
7585 | 14378 | =begin original |
7586 | 14379 | |
7587 | 14380 | (F) You tried to do something with a function beginning with "sem", |
7588 | 14381 | "shm", or "msg" but that System V IPC is not implemented in your |
7589 | 14382 | machine. In some machines the functionality can exist but be |
7590 | 14383 | unconfigured. Consult your system support. |
7591 | 14384 | |
7592 | 14385 | =end original |
7593 | 14386 | |
7594 | 14387 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
7595 | 14388 | あなたのマシンには System V IPC が実装されていません。 |
7596 | 14389 | 機能はあっても設定されていない場合もあります。 |
7597 | 14390 | システムサポートに相談してください。 |
7598 | 14391 | |
7599 | 14392 | =item syswrite() on closed filehandle %s |
7600 | 14393 | |
7601 | 14394 | =begin original |
7602 | 14395 | |
7603 | 14396 | (W closed) The filehandle you're writing to got itself closed sometime |
7604 | before now. Check your | |
14397 | before now. Check your control flow. | |
7605 | 14398 | |
7606 | 14399 | =end original |
7607 | 14400 | |
7608 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
14401 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
7609 | ||
14402 | 制御フローをチェックしてください。 | |
7610 | 論理フローをチェックしてください。 | |
7611 | 14403 | |
7612 | =item Ta | |
14404 | =item C<-T> and C<-B> not implemented on filehandles | |
7613 | 14405 | |
7614 | 14406 | =begin original |
7615 | 14407 | |
7616 | (F) | |
14408 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
7617 | ||
14409 | know about your kind of stdio. You'll have to use a filename instead. | |
7618 | 14410 | |
7619 | 14411 | =end original |
7620 | 14412 | |
7621 | (F) | |
14413 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
7622 | ||
14414 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
14415 | 代わりにファイル名を使わなければなりません。 | |
7623 | 14416 | |
7624 | =item | |
14417 | =item Target of goto is too deeply nested | |
7625 | 14418 | |
7626 | 14419 | =begin original |
7627 | 14420 | |
7628 | ( | |
14421 | (F) You tried to use C<goto> to reach a label that was too deeply nested | |
7629 | ||
14422 | for Perl to reach. Perl is doing you a favor by refusing. | |
7630 | 14423 | |
7631 | 14424 | =end original |
7632 | 14425 | |
7633 | ( | |
14426 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 | |
7634 | ||
14427 | Perl は親切にもこれを拒否します。 | |
7635 | 14428 | |
7636 | =item | |
14429 | =item telldir() attempted on invalid dirhandle %s | |
7637 | 14430 | |
7638 | 14431 | =begin original |
7639 | 14432 | |
7640 | ( | |
14433 | (W io) The dirhandle you tried to telldir() is either closed or not really | |
7641 | a | |
14434 | a dirhandle. Check your control flow. | |
7642 | 14435 | |
7643 | 14436 | =end original |
7644 | 14437 | |
7645 | ( | |
14438 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
7646 | ||
14439 | 実際にはディレクトリハンドルではありません。 | |
14440 | 制御フローをチェックしてください。 | |
7647 | 14441 | |
7648 | | |
14442 | =item tell() on unopened filehandle | |
7649 | $[ = 1; | |
7650 | ... | |
7651 | local $[ = 0; | |
7652 | local $[ = 1; | |
7653 | ... | |
7654 | 14443 | |
7655 | 14444 | =begin original |
7656 | 14445 | |
7657 | ||
14446 | (W unopened) You tried to use the tell() function on a filehandle that | |
7658 | ||
14447 | was either never opened or has since been closed. | |
7659 | 14448 | |
7660 | 14449 | =end original |
7661 | 14450 | |
7662 | ||
14451 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた | |
7663 | ||
14452 | ファイルハンドルに対して、tell() 関数を使おうとしました。 | |
7664 | L<perlvar/$[> を参照してください。 | |
7665 | 14453 | |
7666 | =item The crypt() function is unimplemented due to excessive paranoia | |
14454 | =item The crypt() function is unimplemented due to excessive paranoia. | |
7667 | 14455 | |
7668 | 14456 | =begin original |
7669 | 14457 | |
7670 | 14458 | (F) Configure couldn't find the crypt() function on your machine, |
7671 | 14459 | probably because your vendor didn't supply it, probably because they |
7672 | 14460 | think the U.S. Government thinks it's a secret, or at least that they |
7673 | 14461 | will continue to pretend that it is. And if you quote me on that, I |
7674 | 14462 | will deny it. |
7675 | 14463 | |
7676 | 14464 | =end original |
7677 | 14465 | |
7678 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした | |
14466 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; | |
7679 | 14467 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
7680 | 14468 | アメリカ政府がそれを秘密だとしていると思っているか、 |
7681 | 14469 | 少なくとも思っているというふりをしているのでしょう。 |
7682 | 14470 | 私を引き合いに出したところで、それは否定されることでしょう。 |
7683 | 14471 | |
14472 | =item The experimental declared_refs feature is not enabled | |
14473 | ||
14474 | =begin original | |
14475 | ||
14476 | (F) To declare references to variables, as in C<my \%x>, you must first enable | |
14477 | the feature: | |
14478 | ||
14479 | =end original | |
14480 | ||
14481 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 | |
14482 | 最初にこの機能を有効にしなければなりません: | |
14483 | ||
14484 | no warnings "experimental::declared_refs"; | |
14485 | use feature "declared_refs"; | |
14486 | ||
7684 | 14487 | =item The %s function is unimplemented |
7685 | 14488 | |
7686 | 14489 | =begin original |
7687 | 14490 | |
7688 | The function indicated isn't implemented on this architecture, | |
14491 | (F) The function indicated isn't implemented on this architecture, | |
7689 | to the probings of Configure. | |
14492 | according to the probings of Configure. | |
7690 | 14493 | |
7691 | 14494 | =end original |
7692 | 14495 | |
7693 | 14496 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
7694 | 14497 | 実装されていないようです。 |
7695 | 14498 | |
7696 | =item The | |
14499 | =item The private_use feature is experimental | |
7697 | 14500 | |
7698 | 14501 | =begin original |
7699 | 14502 | |
14503 | (S experimental::private_use) This feature is actually a hook for future | |
14504 | use. | |
14505 | ||
14506 | =end original | |
14507 | ||
14508 | (S experimental::private_use) この機能は実際には将来の使用のための | |
14509 | フックです。 | |
14510 | ||
14511 | =item The stat preceding %s wasn't an lstat | |
14512 | ||
14513 | =begin original | |
14514 | ||
7700 | 14515 | (F) It makes no sense to test the current stat buffer for symbolic |
7701 | 14516 | linkhood if the last stat that wrote to the stat buffer already went |
7702 | 14517 | past the symlink to get to the real file. Use an actual filename |
7703 | 14518 | instead. |
7704 | 14519 | |
7705 | 14520 | =end original |
7706 | 14521 | |
7707 | 14522 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
7708 | 14523 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
7709 | 14524 | stat をカレント stat バッファに対して行なっても意味がありません。 |
7710 | 14525 | 実際のファイル名を使ってください。 |
7711 | 14526 | |
14527 | =item The Unicode property wildcards feature is experimental | |
14528 | ||
14529 | =begin original | |
14530 | ||
14531 | (S experimental::uniprop_wildcards) This feature is experimental | |
14532 | and its behavior may in any future release of perl. See | |
14533 | L<perlunicode/Wildcards in Property Values>. | |
14534 | ||
14535 | =end original | |
14536 | ||
14537 | (S experimental::uniprop_wildcards) この機能は実験的で、 | |
14538 | その振る舞いは将来のリリースの perl で変わるかもしれません。 | |
14539 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
14540 | ||
14541 | =item The 'unique' attribute may only be applied to 'our' variables | |
14542 | ||
14543 | =begin original | |
14544 | ||
14545 | (F) This attribute was never supported on C<my> or C<sub> declarations. | |
14546 | ||
14547 | =end original | |
14548 | ||
14549 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 | |
14550 | ||
7712 | 14551 | =item This Perl can't reset CRTL environ elements (%s) |
7713 | 14552 | |
7714 | 14553 | =item This Perl can't set CRTL environ elements (%s=%s) |
7715 | 14554 | |
7716 | 14555 | =begin original |
7717 | 14556 | |
7718 | 14557 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
7719 | 14558 | element of the CRTL's internal environ array, but your copy of Perl |
7720 | 14559 | wasn't built with a CRTL that contained the setenv() function. You'll |
7721 | 14560 | need to rebuild Perl with a CRTL that does, or redefine |
7722 | 14561 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
7723 | 14562 | target of the change to |
7724 | 14563 | %ENV which produced the warning. |
7725 | 14564 | |
7726 | 14565 | =end original |
7727 | 14566 | |
7728 | (W internal) VMS 固有の警告です。 | |
14567 | (W internal) VMS に固有の警告です。 | |
7729 | 14568 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
7730 | 14569 | setenv() 関数を含んだ CRTL でビルドされていません。 |
7731 | 14570 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
7732 | 14571 | 出力している %ENV を変更するターゲットとならないように |
7733 | 14572 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
7734 | 14573 | |
14574 | =item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set(). | |
14575 | ||
14576 | =begin original | |
14577 | ||
14578 | (F) Something has attempted to use an internal API call which | |
14579 | depends on Perl being compiled with the default support for randomized hash | |
14580 | key traversal, but this Perl has been compiled without it. You should | |
14581 | report this warning to the relevant upstream party, or recompile perl | |
14582 | with default options. | |
14583 | ||
14584 | =end original | |
14585 | ||
14586 | (F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に | |
14587 | 依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで | |
14588 | コンパイルされていました。 | |
14589 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
14590 | 再コンパイルしてください。 | |
14591 | ||
14592 | =item This use of my() in false conditional is no longer allowed | |
14593 | ||
14594 | =begin original | |
14595 | ||
14596 | (F) You used a declaration similar to C<my $x if 0>. There | |
14597 | has been a long-standing bug in Perl that causes a lexical variable | |
14598 | not to be cleared at scope exit when its declaration includes a false | |
14599 | conditional. Some people have exploited this bug to achieve a kind of | |
14600 | static variable. Since we intend to fix this bug, we don't want people | |
14601 | relying on this behavior. You can achieve a similar static effect by | |
14602 | declaring the variable in a separate block outside the function, eg | |
14603 | ||
14604 | =end original | |
14605 | ||
14606 | (F) C<my $x if 0> のような千眼を使いました。 | |
14607 | 宣言が偽の条件のとき、スコープを抜けてもレキシカル変数がクリアされないという | |
14608 | 長年のバグが Perl にはありました。 | |
14609 | 一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。 | |
14610 | 私たちはこのバグを修正したいので、人々にこの振る舞いに | |
14611 | 依存してほしくありません。 | |
14612 | 関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を | |
14613 | 得られます; 例えば: | |
14614 | ||
14615 | sub f { my $x if 0; return $x++ } | |
14616 | ||
14617 | =begin original | |
14618 | ||
14619 | becomes | |
14620 | ||
14621 | =end original | |
14622 | ||
14623 | これは次のようになります: | |
14624 | ||
14625 | { my $x; sub f { return $x++ } } | |
14626 | ||
14627 | =begin original | |
14628 | ||
14629 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
14630 | lexicals that are initialized only once (see L<feature>): | |
14631 | ||
14632 | =end original | |
14633 | ||
14634 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
14635 | 使えます (L<feature> を参照してください): | |
14636 | ||
14637 | sub f { state $x; return $x++ } | |
14638 | ||
14639 | =begin original | |
14640 | ||
14641 | This use of C<my()> in a false conditional was deprecated beginning in | |
14642 | Perl 5.10 and became a fatal error in Perl 5.30. | |
14643 | ||
14644 | =end original | |
14645 | ||
14646 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、 | |
14647 | Perl 5.30 で致命的エラーになりました。 | |
14648 | ||
14649 | =item Timeout waiting for another thread to define \p{%s} | |
14650 | ||
14651 | =begin original | |
14652 | ||
14653 | (F) The first time a user-defined property | |
14654 | (L<perlunicode/User-Defined Character Properties>) is used, its | |
14655 | definition is looked up and converted into an internal form for more | |
14656 | efficient handling in subsequent uses. There could be a race if two or | |
14657 | more threads tried to do this processing nearly simultaneously. | |
14658 | Instead, a critical section is created around this task, locking out all | |
14659 | but one thread from doing it. This message indicates that the thread | |
14660 | that is doing the conversion is taking an unexpectedly long time. The | |
14661 | timeout exists solely to prevent deadlock; it's long enough that the | |
14662 | system was likely thrashing and about to crash. There is no real remedy but | |
14663 | rebooting. | |
14664 | ||
14665 | =end original | |
14666 | ||
14667 | (F) ユーザー定義属性 (L<perlunicode/User-Defined Character Properties>) が | |
14668 | 最初に使われるとき、その定義は検索され、引き続く使用時により効率的に | |
14669 | 扱えるように内部形式に変換されます。 | |
14670 | 複数のスレッドがこれをほぼ同時に実行しようとすると、競合が | |
14671 | 発生することがあります。 | |
14672 | その代わりに、このタスクの周りにクリティカルセクションが作られ、 | |
14673 | 一つのスレッド以外がこれをすることを締め出します。 | |
14674 | このメッセージは、変換を行うスレッドが想定外に長い時間が掛かっていることを | |
14675 | 示しています。 | |
14676 | 時間切れはデッドロックを防ぐためだけに存在しています; | |
14677 | これは十分に長いので、システムはおそらくスラッシングを起こしていて、 | |
14678 | クラッシュ寸前です。 | |
14679 | 再起動以外に実際の解決策はありません。 | |
14680 | ||
7735 | 14681 | =item times not implemented |
7736 | 14682 | |
7737 | 14683 | =begin original |
7738 | 14684 | |
7739 | 14685 | (F) Your version of the C library apparently doesn't do times(). I |
7740 | 14686 | suspect you're not running on Unix. |
7741 | 14687 | |
7742 | 14688 | =end original |
7743 | 14689 | |
7744 | 14690 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
7745 | 14691 | UNIX ではない環境でしょうか。 |
7746 | 14692 | |
14693 | =item "-T" is on the #! line, it must also be used on the command line | |
14694 | ||
14695 | =begin original | |
14696 | ||
14697 | (X) The #! line (or local equivalent) in a Perl script contains | |
14698 | the B<-T> option (or the B<-t> option), but Perl was not invoked with | |
14699 | B<-T> in its command line. This is an error because, by the time | |
14700 | Perl discovers a B<-T> in a script, it's too late to properly taint | |
14701 | everything from the environment. So Perl gives up. | |
14702 | ||
14703 | =end original | |
14704 | ||
14705 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> | |
14706 | オプション (または B<-t> オプション) が含まれていますが、Perl は | |
14707 | コマンドラインで B<-T> 付きで起動されていません。 | |
14708 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを | |
14709 | 汚染チェックするには遅すぎるので、これはエラーになります。 | |
14710 | それで Perl は諦めます。 | |
14711 | ||
14712 | =begin original | |
14713 | ||
14714 | If the Perl script is being executed as a command using the #! | |
14715 | mechanism (or its local equivalent), this error can usually be | |
14716 | fixed by editing the #! line so that the B<-%c> option is a part of | |
14717 | Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. | |
14718 | ||
14719 | =end original | |
14720 | ||
14721 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして | |
14722 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に | |
14723 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 | |
14724 | ||
14725 | =begin original | |
14726 | ||
14727 | If the Perl script is being executed as C<perl scriptname>, then the | |
14728 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. | |
14729 | ||
14730 | =end original | |
14731 | ||
14732 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは | |
14733 | コマンドラインに書かなければなりません: C<perl -%c scriptname> | |
14734 | ||
14735 | =item To%s: illegal mapping '%s' | |
14736 | ||
14737 | =begin original | |
14738 | ||
14739 | (F) You tried to define a customized To-mapping for lc(), lcfirst, | |
14740 | uc(), or ucfirst() (or their string-inlined versions), but you | |
14741 | specified an illegal mapping. | |
14742 | See L<perlunicode/"User-Defined Character Properties">. | |
14743 | ||
14744 | =end original | |
14745 | ||
14746 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の | |
14747 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 | |
14748 | 不正なマッピングを指定しました。 | |
14749 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 | |
14750 | ||
14751 | =item Too deeply nested ()-groups | |
14752 | ||
14753 | =begin original | |
14754 | ||
14755 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
14756 | ||
14757 | =end original | |
14758 | ||
14759 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 | |
14760 | ||
7747 | 14761 | =item Too few args to syscall |
7748 | 14762 | |
7749 | 14763 | =begin original |
7750 | 14764 | |
7751 | 14765 | (F) There has to be at least one argument to syscall() to specify the |
7752 | 14766 | system call to call, silly dilly. |
7753 | 14767 | |
7754 | 14768 | =end original |
7755 | 14769 | |
7756 | 14770 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
7757 | 14771 | 引数が一つ必要です。 |
7758 | 14772 | |
7759 | =item Too | |
14773 | =item Too few arguments for subroutine '%s' (got %d; expected %d) | |
7760 | 14774 | |
7761 | 14775 | =begin original |
7762 | 14776 | |
7763 | ( | |
14777 | (F) A subroutine using a signature fewer arguments than required by the | |
7764 | ||
14778 | signature. The caller of the subroutine is presumably at fault. | |
7765 | This is an error because, by the time Perl discovers a B<-T> in a | |
7766 | script, it's too late to properly taint everything from the environment. | |
7767 | So Perl gives up. | |
7768 | 14779 | |
7769 | 14780 | =end original |
7770 | 14781 | |
7771 | ( | |
14782 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
7772 | ||
14783 | 少ない引数を受け取りました。 | |
7773 | ||
14784 | おそらくサブルーチンの呼び出し元が間違っています。 | |
7774 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを | |
7775 | 汚染チェックするには遅すぎるので、これはエラーになります。 | |
7776 | それで Perl は諦めます。 | |
7777 | 14785 | |
7778 | 14786 | =begin original |
7779 | 14787 | |
7780 | ||
14788 | The message attempts to include the name of the called subroutine. If | |
7781 | ||
14789 | the subroutine has been aliased, the subroutine's original name will be | |
7782 | ||
14790 | shown, regardless of what name the caller used. It will also indicate the | |
7783 | argument | |
14791 | number of arguments given and the number expected. | |
7784 | 14792 | |
7785 | 14793 | =end original |
7786 | 14794 | |
7787 | ||
14795 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
7788 | ||
14796 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
7789 | ||
14797 | サブルーチンの元の名前が表示されます。 | |
14798 | 指定された引数の数と想定された数も示されます。 | |
7790 | 14799 | |
14800 | =item Too few arguments for subroutine '%s' (got %d; expected at least %d) | |
14801 | ||
7791 | 14802 | =begin original |
7792 | 14803 | |
7793 | ||
14804 | Similar to the previous message but for subroutines that accept a variable | |
7794 | ||
14805 | number of arguments. | |
7795 | 14806 | |
7796 | 14807 | =end original |
7797 | 14808 | |
7798 | ||
14809 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
7799 | コマンドラインに書かなければなりません: C<perl -T scriptname> | |
7800 | 14810 | |
7801 | 14811 | =item Too late for "-%s" option |
7802 | 14812 | |
7803 | 14813 | =begin original |
7804 | 14814 | |
7805 | 14815 | (X) The #! line (or local equivalent) in a Perl script contains the |
7806 | B<-M> | |
14816 | B<-M>, B<-m> or B<-C> option. | |
14817 | ||
14818 | =end original | |
14819 | ||
14820 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, | |
14821 | B<-C> オプションが含まれています。 | |
14822 | ||
14823 | =begin original | |
14824 | ||
14825 | In the case of B<-M> and B<-m>, this is an error because those options | |
7807 | 14826 | are not intended for use inside scripts. Use the C<use> pragma instead. |
7808 | 14827 | |
7809 | 14828 | =end original |
7810 | 14829 | |
7811 | ||
14830 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 | |
7812 | B<-m> オプションが含まれています。 | |
7813 | B<-M> と B<-m> のオプションは、スクリプト内部で使うためのものではないので、 | |
7814 | 14831 | これはエラーになります。 |
7815 | 14832 | 代わりに C<use> プラグマを使ってください。 |
7816 | 14833 | |
14834 | =begin original | |
14835 | ||
14836 | The B<-C> option only works if it is specified on the command line as | |
14837 | well (with the same sequence of letters or numbers following). Either | |
14838 | specify this option on the command line, or, if your system supports | |
14839 | it, make your script executable and run it directly instead of passing | |
14840 | it to perl. | |
14841 | ||
14842 | =end original | |
14843 | ||
14844 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) | |
14845 | 指定されたときにのみ動作します。 | |
14846 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 | |
14847 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして | |
14848 | 直接実行してください。 | |
14849 | ||
7817 | 14850 | =item Too late to run %s block |
7818 | 14851 | |
7819 | 14852 | =begin original |
7820 | 14853 | |
7821 | 14854 | (W void) A CHECK or INIT block is being defined during run time proper, |
7822 | 14855 | when the opportunity to run them has already passed. Perhaps you are |
7823 | 14856 | loading a file with C<require> or C<do> when you should be using C<use> |
7824 | 14857 | instead. Or perhaps you should put the C<require> or C<do> inside a |
7825 | 14858 | BEGIN block. |
7826 | 14859 | |
7827 | 14860 | =end original |
7828 | 14861 | |
7829 | 14862 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
7830 | 14863 | 実行時に定義されました。 |
7831 | 14864 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
7832 | 14865 | 読み込んでいます。 |
7833 | 14866 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
7834 | 14867 | 書いたのでしょう。 |
7835 | 14868 | |
7836 | 14869 | =item Too many args to syscall |
7837 | 14870 | |
7838 | 14871 | =begin original |
7839 | 14872 | |
7840 | 14873 | (F) Perl supports a maximum of only 14 args to syscall(). |
7841 | 14874 | |
7842 | 14875 | =end original |
7843 | 14876 | |
7844 | 14877 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
7845 | 14878 | |
7846 | 14879 | =item Too many arguments for %s |
7847 | 14880 | |
7848 | 14881 | =begin original |
7849 | 14882 | |
7850 | 14883 | (F) The function requires fewer arguments than you specified. |
7851 | 14884 | |
7852 | 14885 | =end original |
7853 | 14886 | |
7854 | 14887 | (F) 関数が要求する以上の引数を指定しました。 |
7855 | 14888 | |
14889 | =item Too many arguments for subroutine '%s' (got %d; expected %d) | |
14890 | ||
14891 | =begin original | |
14892 | ||
14893 | (F) A subroutine using a signature received more arguments than permitted | |
14894 | by the signature. The caller of the subroutine is presumably at fault. | |
14895 | ||
14896 | =end original | |
14897 | ||
14898 | (F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも | |
14899 | 多い引数を受け取りました。 | |
14900 | おそらくサブルーチンの呼び出し元が間違っています。 | |
14901 | ||
14902 | =begin original | |
14903 | ||
14904 | The message attempts to include the name of the called subroutine. If the | |
14905 | subroutine has been aliased, the subroutine's original name will be shown, | |
14906 | regardless of what name the caller used. It will also indicate the number | |
14907 | of arguments given and the number expected. | |
14908 | ||
14909 | =end original | |
14910 | ||
14911 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
14912 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
14913 | サブルーチンの元の名前が表示されます。 | |
14914 | 指定された引数の数と想定された数も示されます。 | |
14915 | ||
14916 | =item Too many arguments for subroutine '%s' (got %d; expected at most %d) | |
14917 | ||
14918 | =begin original | |
14919 | ||
14920 | Similar to the previous message but for subroutines that accept a variable | |
14921 | number of arguments. | |
14922 | ||
14923 | =end original | |
14924 | ||
14925 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
14926 | ||
14927 | =item Too many nested open parens in regex; marked by <-- HERE in m/%s/ | |
14928 | ||
14929 | =begin original | |
14930 | ||
14931 | (F) You have exceeded the number of open C<"("> parentheses that haven't | |
14932 | been matched by corresponding closing ones. This limit prevents eating | |
14933 | up too much memory. It is initially set to 1000, but may be changed by | |
14934 | setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may | |
14935 | need to be done in a BEGIN block before the regular expression pattern | |
14936 | is compiled. | |
14937 | ||
14938 | =end original | |
14939 | ||
14940 | (F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。 | |
14941 | この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。 | |
14942 | これは 1000 に初期化されていますが、 | |
14943 | C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。 | |
14944 | これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で | |
14945 | 行われる必要があります。 | |
14946 | ||
7856 | 14947 | =item Too many )'s |
7857 | 14948 | |
7858 | 14949 | =begin original |
7859 | 14950 | |
7860 | 14951 | (A) You've accidentally run your script through B<csh> instead of Perl. |
7861 | 14952 | Check the #! line, or manually feed your script into Perl yourself. |
7862 | 14953 | |
7863 | 14954 | =end original |
7864 | 14955 | |
7865 | 14956 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
7866 | #! 行を | |
14957 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
7867 | 14958 | |
7868 | 14959 | =item Too many ('s |
7869 | 14960 | |
7870 | = | |
14961 | =begin original | |
7871 | 14962 | |
14963 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
14964 | Check the #! line, or manually feed your script into Perl yourself. | |
14965 | ||
14966 | =end original | |
14967 | ||
14968 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
14969 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
14970 | ||
14971 | =item Trailing \ in regex m/%s/ | |
14972 | ||
7872 | 14973 | =begin original |
7873 | 14974 | |
7874 | 14975 | (F) The regular expression ends with an unbackslashed backslash. |
7875 | 14976 | Backslash it. See L<perlre>. |
7876 | 14977 | |
7877 | 14978 | =end original |
7878 | 14979 | |
7879 | 14980 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
7880 | 14981 | 終了しました。バックスラッシュを付けてください。 |
7881 | 14982 | L<perlre> を参照してください。 |
7882 | 14983 | |
7883 | 14984 | =item Transliteration pattern not terminated |
7884 | 14985 | |
7885 | 14986 | =begin original |
7886 | 14987 | |
7887 | 14988 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
7888 | 14989 | or y/// or y[][] construct. Missing the leading C<$> from variables |
7889 | 14990 | C<$tr> or C<$y> may cause this error. |
7890 | 14991 | |
7891 | 14992 | =end original |
7892 | 14993 | |
7893 | (F) tr///, tr[][], y///, y[][] | |
14994 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
7894 | 14995 | 見つかりませんでした。 |
7895 | 14996 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
7896 | 14997 | このエラーが出ることがあります。 |
7897 | 14998 | |
7898 | ||
7899 | 14999 | =item Transliteration replacement not terminated |
7900 | 15000 | |
7901 | 15001 | =begin original |
7902 | 15002 | |
7903 | (F) The lexer couldn't find the final delimiter of a tr/// | |
15003 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], | |
7904 | construct. | |
15004 | y/// or y[][] construct. | |
7905 | 15005 | |
7906 | 15006 | =end original |
7907 | 15007 | |
7908 | (F) tr/// | |
15008 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が | |
15009 | 見つかりませんでした。 | |
7909 | 15010 | |
15011 | =item '%s' trapped by operation mask | |
15012 | ||
15013 | =begin original | |
15014 | ||
15015 | (F) You tried to use an operator from a Safe compartment in which it's | |
15016 | disallowed. See L<Safe>. | |
15017 | ||
15018 | =end original | |
15019 | ||
15020 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 | |
15021 | L<Safe> を参照してください。 | |
15022 | ||
7910 | 15023 | =item truncate not implemented |
7911 | 15024 | |
7912 | 15025 | =begin original |
7913 | 15026 | |
7914 | 15027 | (F) Your machine doesn't implement a file truncation mechanism that |
7915 | 15028 | Configure knows about. |
7916 | 15029 | |
7917 | 15030 | =end original |
7918 | 15031 | |
7919 | 15032 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
7920 | 15033 | 実装されていません。 |
7921 | 15034 | |
7922 | =item | |
15035 | =item try/catch is experimental | |
7923 | 15036 | |
7924 | 15037 | =begin original |
7925 | 15038 | |
7926 | ( | |
15039 | (S experimental::try) This warning is emitted if you use the C<try> and | |
7927 | c | |
15040 | C<catch> syntax. This syntax is currently experimental and its behaviour may | |
7928 | ||
15041 | change in future releases of Perl. | |
7929 | {EXPR} forms as an explicit dereference. See L<perlref>. | |
7930 | 15042 | |
7931 | 15043 | =end original |
7932 | 15044 | |
7933 | ( | |
15045 | (S experimental::try) この警告は、C<try> と C<catch> 構文を使うと発生します。 | |
7934 | ||
15046 | この構文は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
7935 | ||
15047 | 可能性があります。 | |
7936 | 暗黙の被参照は許されませんので、明示的な被参照として、 | |
7937 | {EXPR} 形式を使ってください。 | |
7938 | L<perlref> を参照してください。 | |
7939 | 15048 | |
7940 | =item | |
15049 | =item try/catch/finally is experimental | |
7941 | 15050 | |
7942 | 15051 | =begin original |
7943 | 15052 | |
7944 | ( | |
15053 | (S experimental::try) This warning is emitted if you use the C<try> and | |
7945 | ||
15054 | C<catch> syntax with a C<finally> block. This syntax is currently experimental | |
15055 | and its behaviour may change in future releases of Perl. | |
7946 | 15056 | |
7947 | 15057 | =end original |
7948 | 15058 | |
7949 | ( | |
15059 | (S experimental::try) この警告は、C<try> と C<catch> 構文と | |
7950 | ||
15060 | C<finally> ブロックを使うと発生します。 | |
7951 | ||
15061 | この構文は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
15062 | 可能性があります。 | |
7952 | 15063 | |
7953 | =item | |
15064 | =item Type of arg %d to &CORE::%s must be %s | |
7954 | 15065 | |
7955 | 15066 | =begin original |
7956 | 15067 | |
7957 | (F) | |
15068 | (F) The subroutine in question in the CORE package requires its argument | |
7958 | ||
15069 | to be a hard reference to data of the specified type. Overloading is | |
15070 | ignored, so a reference to an object that is not the specified type, but | |
15071 | nonetheless has overloading to handle it, will still not be accepted. | |
7959 | 15072 | |
7960 | 15073 | =end original |
7961 | 15074 | |
7962 | (F) | |
15075 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの | |
7963 | ||
15076 | ハードリファレンスを要求しています。 | |
15077 | オーバーロードは無視されるので、指定された型ではないけれども、それを | |
15078 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも | |
15079 | 受け付けられません。 | |
7964 | 15080 | |
7965 | =item | |
15081 | =item Type of arg %d to %s must be %s (not %s) | |
7966 | 15082 | |
7967 | 15083 | =begin original |
7968 | 15084 | |
7969 | (F) | |
15085 | (F) This function requires the argument in that position to be of a | |
15086 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be | |
15087 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the | |
15088 | {EXPR} forms as an explicit dereference. See L<perlref>. | |
7970 | 15089 | |
7971 | 15090 | =end original |
7972 | 15091 | |
7973 | (F) | |
15092 | (F) この関数は、その位置に決まった型の引数を必要とします。 | |
15093 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 | |
15094 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 | |
15095 | 暗黙の被参照は許されませんので、明示的な被参照として、 | |
15096 | {EXPR} 形式を使ってください。 | |
15097 | L<perlref> を参照してください。 | |
7974 | 15098 | |
15099 | =item umask not implemented | |
15100 | ||
15101 | =begin original | |
15102 | ||
15103 | (F) Your machine doesn't implement the umask function and you tried to | |
15104 | use it to restrict permissions for yourself (EXPR & 0700). | |
15105 | ||
15106 | =end original | |
15107 | ||
15108 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する | |
15109 | (EXPR & 0700) ためにこれを使おうとしました。 | |
15110 | ||
7975 | 15111 | =item Unbalanced context: %d more PUSHes than POPs |
7976 | 15112 | |
7977 | 15113 | =begin original |
7978 | 15114 | |
7979 | ( | |
15115 | (S internal) The exit code detected an internal inconsistency in how | |
7980 | 15116 | many execution contexts were entered and left. |
7981 | 15117 | |
7982 | 15118 | =end original |
7983 | 15119 | |
7984 | ( | |
15120 | (S internal) いくつの実行コンテキストに入って、出たかということの | |
7985 | 15121 | 内部矛盾が exit コードで発見されました。 |
7986 | 15122 | |
7987 | 15123 | =item Unbalanced saves: %d more saves than restores |
7988 | 15124 | |
7989 | 15125 | =begin original |
7990 | 15126 | |
7991 | ( | |
15127 | (S internal) The exit code detected an internal inconsistency in how | |
7992 | 15128 | many values were temporarily localized. |
7993 | 15129 | |
7994 | 15130 | =end original |
7995 | 15131 | |
7996 | ( | |
15132 | (S internal) いくつの値が、一時的にローカル化されたかということの | |
7997 | 15133 | 内部矛盾が exit コードで発見されました。 |
7998 | 15134 | |
7999 | 15135 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
8000 | 15136 | |
8001 | 15137 | =begin original |
8002 | 15138 | |
8003 | ( | |
15139 | (S internal) The exit code detected an internal inconsistency in how | |
8004 | 15140 | many blocks were entered and left. |
8005 | 15141 | |
8006 | 15142 | =end original |
8007 | 15143 | |
8008 | ( | |
15144 | (S internal) いくつのブロックに入って、出たかということの | |
8009 | 15145 | 内部矛盾が exit コードで発見されました。 |
8010 | 15146 | |
15147 | =item Unbalanced string table refcount: (%d) for "%s" | |
15148 | ||
15149 | =begin original | |
15150 | ||
15151 | (S internal) On exit, Perl found some strings remaining in the shared | |
15152 | string table used for copy on write and for hash keys. The entries | |
15153 | should have been freed, so this indicates a bug somewhere. | |
15154 | ||
15155 | =end original | |
15156 | ||
15157 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
15158 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 | |
15159 | エントリは開放されている必要があるので、これはどこかにバグがあることを | |
15160 | 示しています。 | |
15161 | ||
8011 | 15162 | =item Unbalanced tmps: %d more allocs than frees |
8012 | 15163 | |
8013 | 15164 | =begin original |
8014 | 15165 | |
8015 | ( | |
15166 | (S internal) The exit code detected an internal inconsistency in how | |
8016 | 15167 | many mortal scalars were allocated and freed. |
8017 | 15168 | |
8018 | 15169 | =end original |
8019 | 15170 | |
8020 | ( | |
15171 | (S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
8021 | 15172 | いうことの内部矛盾が exit コードで発見されました。 |
8022 | 15173 | |
8023 | 15174 | =item Undefined format "%s" called |
8024 | 15175 | |
8025 | 15176 | =begin original |
8026 | 15177 | |
8027 | 15178 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
8028 | 15179 | another package? See L<perlform>. |
8029 | 15180 | |
8030 | 15181 | =end original |
8031 | 15182 | |
8032 | (F) | |
15183 | (F) 示されたフォーマットが存在しないようです。 | |
8033 | おそらく | |
15184 | おそらく本当は他のパッケージにあるのでは? | |
8034 | 15185 | L<perlform> を参照してください。 |
8035 | 15186 | |
8036 | 15187 | =item Undefined sort subroutine "%s" called |
8037 | 15188 | |
8038 | 15189 | =begin original |
8039 | 15190 | |
8040 | 15191 | (F) The sort comparison routine specified doesn't seem to exist. |
8041 | 15192 | Perhaps it's in a different package? See L<perlfunc/sort>. |
8042 | 15193 | |
8043 | 15194 | =end original |
8044 | 15195 | |
8045 | 15196 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
8046 | 15197 | おそらく、別のパッケージに存在するのではないでしょうか。 |
8047 | L<perlfunc/sort>を参照してください。 | |
15198 | L<perlfunc/sort> を参照してください。 | |
8048 | 15199 | |
8049 | 15200 | =item Undefined subroutine &%s called |
8050 | 15201 | |
8051 | 15202 | =begin original |
8052 | 15203 | |
8053 | 15204 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
8054 | 15205 | since been undefined. |
8055 | 15206 | |
8056 | 15207 | =end original |
8057 | 15208 | |
8058 | (F) 指定されたサブルー | |
15209 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 | |
8059 | ||
15210 | 既に未定義になっています。 | |
8060 | 15211 | |
8061 | 15212 | =item Undefined subroutine called |
8062 | 15213 | |
8063 | 15214 | =begin original |
8064 | 15215 | |
8065 | 15216 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
8066 | 15217 | or if it was, it has since been undefined. |
8067 | 15218 | |
8068 | 15219 | =end original |
8069 | 15220 | |
8070 | (F) 呼びだそうとしている無名のサブルー | |
15221 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; | |
8071 | 15222 | 定義されていたとしても、既に未定義になっています。 |
8072 | 15223 | |
8073 | 15224 | =item Undefined subroutine in sort |
8074 | 15225 | |
8075 | 15226 | =begin original |
8076 | 15227 | |
8077 | 15228 | (F) The sort comparison routine specified is declared but doesn't seem |
8078 | 15229 | to have been defined yet. See L<perlfunc/sort>. |
8079 | 15230 | |
8080 | 15231 | =end original |
8081 | 15232 | |
8082 | 15233 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
8083 | 15234 | 定義されていないようです。 |
8084 | 15235 | L<perlfunc/sort> を参照してください。 |
8085 | 15236 | |
8086 | 15237 | =item Undefined top format "%s" called |
8087 | 15238 | |
8088 | 15239 | =begin original |
8089 | 15240 | |
8090 | 15241 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
8091 | 15242 | another package? See L<perlform>. |
8092 | 15243 | |
8093 | 15244 | =end original |
8094 | 15245 | |
8095 | 15246 | (F) 示されたフォーマットが存在しないようです。 |
8096 | 15247 | おそらく本当は他のパッケージにあるのでは? |
8097 | 15248 | L<perlform> を参照してください。 |
8098 | 15249 | |
8099 | 15250 | =item Undefined value assigned to typeglob |
8100 | 15251 | |
8101 | 15252 | =begin original |
8102 | 15253 | |
8103 | 15254 | (W misc) An undefined value was assigned to a typeglob, a la |
8104 | 15255 | C<*foo = undef>. This does nothing. It's possible that you really mean |
8105 | 15256 | C<undef *foo>. |
8106 | 15257 | |
8107 | 15258 | =end original |
8108 | 15259 | |
8109 | 15260 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
8110 | 15261 | これは何もしません。 |
8111 | 15262 | 本当は C<undef *foo> としたかったのかもしれません。 |
8112 | 15263 | |
8113 | 15264 | =item %s: Undefined variable |
8114 | 15265 | |
8115 | 15266 | =begin original |
8116 | 15267 | |
8117 | 15268 | (A) You've accidentally run your script through B<csh> instead of Perl. |
8118 | 15269 | Check the #! line, or manually feed your script into Perl yourself. |
8119 | 15270 | |
8120 | 15271 | =end original |
8121 | 15272 | |
8122 | 15273 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
8123 | #! 行を | |
15274 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
8124 | 15275 | |
15276 | =item Unescaped left brace in regex is illegal here in regex; | |
15277 | marked by S<<-- HERE> in m/%s/ | |
15278 | ||
15279 | =begin original | |
15280 | ||
15281 | (F) The simple rule to remember, if you want to | |
15282 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15283 | regular expression pattern, is to escape each literal instance of it in | |
15284 | some way. Generally easiest is to precede it with a backslash, like | |
15285 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
15286 | delimiters are also braces, any matching right brace (C<"}">) should | |
15287 | also be escaped to avoid confusing the parser, for example, | |
15288 | ||
15289 | =end original | |
15290 | ||
15291 | (F) 正規表現中で | |
15292 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15293 | 覚えておくべき単純な規則は、何らかの方法で | |
15294 | それぞれのリテラルな実体をエスケープすることです。 | |
15295 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
15296 | かっこでかこむ (C<"[{]">) ことです。 | |
15297 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
15298 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15299 | ||
15300 | qr{abc\{def\}ghi} | |
15301 | ||
15302 | =begin original | |
15303 | ||
15304 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
15305 | language to be extended in various ways in future releases. To avoid | |
15306 | needlessly breaking existing code, the restriction is not enforced in | |
15307 | contexts where there are unlikely to ever be extensions that could | |
15308 | conflict with the use there of C<"{"> as a literal. Those that are | |
15309 | not potentially ambiguous do not warn; those that are do raise a | |
15310 | non-deprecation warning. | |
15311 | ||
15312 | =end original | |
15313 | ||
15314 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
15315 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15316 | 既存のコードを不必要に壊すことを避けるために、 | |
15317 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
15318 | 制限は強制されません。 | |
15319 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15320 | 廃止予定でない警告が発生します。 | |
15321 | ||
15322 | =begin original | |
15323 | ||
15324 | The contexts where no warnings or errors are raised are: | |
15325 | ||
15326 | =end original | |
15327 | ||
15328 | 警告やエラーが出ない文脈は: | |
15329 | ||
15330 | =over 4 | |
15331 | ||
15332 | =item * | |
15333 | ||
15334 | =begin original | |
15335 | ||
15336 | as the first character in a pattern, or following C<"^"> indicating to | |
15337 | anchor the match to the beginning of a line. | |
15338 | ||
15339 | =end original | |
15340 | ||
15341 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15342 | C<"^"> に引き続いている場合。 | |
15343 | ||
15344 | =item * | |
15345 | ||
15346 | =begin original | |
15347 | ||
15348 | as the first character following a C<"|"> indicating alternation. | |
15349 | ||
15350 | =end original | |
15351 | ||
15352 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15353 | ||
15354 | =item * | |
15355 | ||
15356 | =begin original | |
15357 | ||
15358 | as the first character in a parenthesized grouping like | |
15359 | ||
15360 | =end original | |
15361 | ||
15362 | 次のようなかっこ付きグループの最初の文字の場合: | |
15363 | ||
15364 | /foo({bar)/ | |
15365 | /foo(?:{bar)/ | |
15366 | ||
15367 | =item * | |
15368 | ||
15369 | =begin original | |
15370 | ||
15371 | as the first character following a quantifier | |
15372 | ||
15373 | =end original | |
15374 | ||
15375 | 量指定子に引き続く最初の文字の場合 | |
15376 | ||
15377 | /\s*{/ | |
15378 | ||
15379 | =back | |
15380 | ||
15381 | =for comment | |
15382 | The text of the message above is mostly duplicated below (with changes) | |
15383 | to allow splain (and 'use diagnostics') to work. Since one is fatal, | |
15384 | and one not, they can't be combined as one message. Perhaps perldiag | |
15385 | could be enhanced to handle this case. | |
15386 | ||
15387 | =item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/ | |
15388 | ||
15389 | =begin original | |
15390 | ||
15391 | (W regexp) The simple rule to remember, if you want to | |
15392 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15393 | regular expression pattern, is to escape each literal instance of it in | |
15394 | some way. Generally easiest is to precede it with a backslash, like | |
15395 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
15396 | delimiters are also braces, any matching right brace (C<"}">) should | |
15397 | also be escaped to avoid confusing the parser, for example, | |
15398 | ||
15399 | =end original | |
15400 | ||
15401 | (W regexp) 正規表現中で | |
15402 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15403 | 覚えておくべき単純な規則は、何らかの方法で | |
15404 | それぞれのリテラルな実体をエスケープすることです。 | |
15405 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
15406 | かっこでかこむ (C<"[{]">) ことです。 | |
15407 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
15408 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15409 | ||
15410 | qr{abc\{def\}ghi} | |
15411 | ||
15412 | =begin original | |
15413 | ||
15414 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
15415 | language to be extended in various ways in future releases. To avoid | |
15416 | needlessly breaking existing code, the restriction is not enforced in | |
15417 | contexts where there are unlikely to ever be extensions that could | |
15418 | conflict with the use there of C<"{"> as a literal. Those that are | |
15419 | not potentially ambiguous do not warn; those that are raise this | |
15420 | warning. This makes sure that an inadvertent typo doesn't silently | |
15421 | cause the pattern to compile to something unintended. | |
15422 | ||
15423 | =end original | |
15424 | ||
15425 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
15426 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15427 | 既存のコードを不必要に壊すことを避けるために、 | |
15428 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
15429 | 制限は強制されません。 | |
15430 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15431 | この警告が発生します。 | |
15432 | これは、不注意によるタイプミスによって、パターンが何か想定外のものに | |
15433 | 黙ってコンパイルされないことを確実にします。 | |
15434 | ||
15435 | =begin original | |
15436 | ||
15437 | The contexts where no warnings or errors are raised are: | |
15438 | ||
15439 | =end original | |
15440 | ||
15441 | 警告やエラーが出ない文脈は: | |
15442 | ||
15443 | =over 4 | |
15444 | ||
15445 | =item * | |
15446 | ||
15447 | =begin original | |
15448 | ||
15449 | as the first character in a pattern, or following C<"^"> indicating to | |
15450 | anchor the match to the beginning of a line. | |
15451 | ||
15452 | =end original | |
15453 | ||
15454 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15455 | C<"^"> に引き続いている場合。 | |
15456 | ||
15457 | =item * | |
15458 | ||
15459 | =begin original | |
15460 | ||
15461 | as the first character following a C<"|"> indicating alternation. | |
15462 | ||
15463 | =end original | |
15464 | ||
15465 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15466 | ||
15467 | =item * | |
15468 | ||
15469 | =begin original | |
15470 | ||
15471 | as the first character in a parenthesized grouping like | |
15472 | ||
15473 | =end original | |
15474 | ||
15475 | 次のようなかっこ付きグループの最初の文字の場合: | |
15476 | ||
15477 | /foo({bar)/ | |
15478 | /foo(?:{bar)/ | |
15479 | ||
15480 | =item * | |
15481 | ||
15482 | =begin original | |
15483 | ||
15484 | as the first character following a quantifier | |
15485 | ||
15486 | =end original | |
15487 | ||
15488 | 量指定子に引き続く最初の文字の場合 | |
15489 | ||
15490 | /\s*{/ | |
15491 | ||
15492 | =back | |
15493 | ||
15494 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ | |
15495 | ||
15496 | =begin original | |
15497 | ||
15498 | (W regexp) (only under C<S<use re 'strict'>>) | |
15499 | ||
15500 | =end original | |
15501 | ||
15502 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
15503 | ||
15504 | =begin original | |
15505 | ||
15506 | Within the scope of C<S<use re 'strict'>> in a regular expression | |
15507 | pattern, you included an unescaped C<}> or C<]> which was interpreted | |
15508 | literally. These two characters are sometimes metacharacters, and | |
15509 | sometimes literals, depending on what precedes them in the | |
15510 | pattern. This is unlike the similar C<)> which is always a | |
15511 | metacharacter unless escaped. | |
15512 | ||
15513 | =end original | |
15514 | ||
15515 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 | |
15516 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 | |
15517 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; | |
15518 | パターン中で何が前に置かれるかによります。 | |
15519 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが | |
15520 | 異なります。 | |
15521 | ||
15522 | =begin original | |
15523 | ||
15524 | This action at a distance, perhaps a large distance, can lead to Perl | |
15525 | silently misinterpreting what you meant, so when you specify that you | |
15526 | want extra checking by C<S<use re 'strict'>>, this warning is generated. | |
15527 | If you meant the character as a literal, simply confirm that to Perl by | |
15528 | preceding the character with a backslash, or make it into a bracketed | |
15529 | character class (like C<[}]>). If you meant it as closing a | |
15530 | corresponding C<[> or C<{>, you'll need to look back through the pattern | |
15531 | to find out why that isn't happening. | |
15532 | ||
15533 | =end original | |
15534 | ||
15535 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで | |
15536 | あなたの意図を間違って解釈するかもしれないので、 | |
15537 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 | |
15538 | この警告が出力されます。 | |
15539 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 | |
15540 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に | |
15541 | はっきりさせてください。 | |
15542 | これが対応する C<[> や C<{> を閉じるものなら、 | |
15543 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 | |
15544 | ||
8125 | 15545 | =item unexec of %s into %s failed! |
8126 | 15546 | |
8127 | 15547 | =begin original |
8128 | 15548 | |
8129 | 15549 | (F) The unexec() routine failed for some reason. See your local FSF |
8130 | 15550 | representative, who probably put it there in the first place. |
8131 | 15551 | |
8132 | 15552 | =end original |
8133 | 15553 | |
8134 | 15554 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
8135 | 15555 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
8136 | 15556 | |
8137 | =item Un | |
15557 | =item Unexpected binary operator '%c' with no preceding operand in regex; | |
15558 | marked by S<<-- HERE> in m/%s/ | |
8138 | 15559 | |
8139 | 15560 | =begin original |
8140 | 15561 | |
8141 | (F) | |
15562 | (F) You had something like this: | |
8142 | order. | |
8143 | 15563 | |
8144 | 15564 | =end original |
8145 | 15565 | |
8146 | (F) | |
15566 | (F) 以下のようなものを書きました: | |
8147 | 15567 | |
8148 | ||
15568 | (?[ | \p{Digit} ]) | |
8149 | 15569 | |
8150 | 15570 | =begin original |
8151 | 15571 | |
8152 | ||
15572 | where the C<"|"> is a binary operator with an operand on the right, but | |
8153 | ||
15573 | no operand on the left. | |
8154 | lookaround is true), a (?{...}) construct (the condition is true if the | |
8155 | code evaluates to a true value), or a number (the condition is true if the | |
8156 | set of capturing parentheses named by the number is defined). | |
8157 | 15574 | |
8158 | 15575 | =end original |
8159 | 15576 | |
8160 | ||
15577 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない | |
8161 | ||
15578 | 2 項演算子です。 | |
8162 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
8163 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
8164 | いずれかです。 | |
8165 | 15579 | |
15580 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ | |
15581 | ||
8166 | 15582 | =begin original |
8167 | 15583 | |
8168 | ||
15584 | (F) You had something like this: | |
8169 | discovered. See L<perlre>. | |
8170 | 15585 | |
8171 | 15586 | =end original |
8172 | 15587 | |
8173 | ||
15588 | (F) 以下のようなものを書きました: | |
8174 | L<perlre> を参照してください。 | |
8175 | 15589 | |
15590 | (?[ z ]) | |
15591 | ||
15592 | =begin original | |
15593 | ||
15594 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
15595 | within an inner pair of square brackets, like | |
15596 | ||
15597 | =end original | |
15598 | ||
15599 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
15600 | リテラル文字は許されません | |
15601 | ||
15602 | (?[ [ z ] ]) | |
15603 | ||
15604 | =begin original | |
15605 | ||
15606 | Another possibility is that you forgot a backslash. Perl isn't smart | |
15607 | enough to figure out what you really meant. | |
15608 | ||
15609 | =end original | |
15610 | ||
15611 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
15612 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
15613 | ||
15614 | =item Unexpected exit %u | |
15615 | ||
15616 | =begin original | |
15617 | ||
15618 | (S) exit() was called or the script otherwise finished gracefully when | |
15619 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. | |
15620 | ||
15621 | =end original | |
15622 | ||
15623 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が | |
15624 | 呼び出されたりその他の理由で通常終了しました。 | |
15625 | ||
15626 | =item Unexpected exit failure %d | |
15627 | ||
15628 | =begin original | |
15629 | ||
15630 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in | |
15631 | C<PL_exit_flags>. | |
15632 | ||
15633 | =end original | |
15634 | ||
15635 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに | |
15636 | 捕らえられていない die() が呼び出されました。 | |
15637 | ||
15638 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ | |
15639 | ||
15640 | =begin original | |
15641 | ||
15642 | (F) You had something like this: | |
15643 | ||
15644 | =end original | |
15645 | ||
15646 | (F) 以下のようなものを書きました: | |
15647 | ||
15648 | (?[ ( \p{Digit} + ) ]) | |
15649 | ||
15650 | =begin original | |
15651 | ||
15652 | The C<")"> is out-of-place. Something apparently was supposed to | |
15653 | be combined with the digits, or the C<"+"> shouldn't be there, or | |
15654 | something like that. Perl can't figure out what was intended. | |
15655 | ||
15656 | =end original | |
15657 | ||
15658 | C<")"> の場所がおかしいです。 | |
15659 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
15660 | 似たような何かです。 | |
15661 | Perl は何を意図しているのかが分かりませんでした。 | |
15662 | ||
15663 | =item Unexpected ']' with no following ')' in (?[... in regex; marked by | |
15664 | <-- HERE in m/%s/ | |
15665 | ||
15666 | =begin original | |
15667 | ||
15668 | (F) While parsing an extended character class a ']' character was | |
15669 | encountered at a point in the definition where the only legal use of | |
15670 | ']' is to close the character class definition as part of a '])', you | |
15671 | may have forgotten the close paren, or otherwise confused the parser. | |
15672 | ||
15673 | =end original | |
15674 | ||
15675 | (F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を | |
15676 | 閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました; | |
15677 | 閉じかっこを忘れているか、さもなければパーサが混乱しています。 | |
15678 | ||
15679 | =item Unexpected '(' with no preceding operator in regex; marked by | |
15680 | S<<-- HERE> in m/%s/ | |
15681 | ||
15682 | =begin original | |
15683 | ||
15684 | (F) You had something like this: | |
15685 | ||
15686 | =end original | |
15687 | ||
15688 | (F) 以下のようなものを書きました: | |
15689 | ||
15690 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
15691 | ||
15692 | =begin original | |
15693 | ||
15694 | There should be an operator before the C<"(">, as there's | |
15695 | no indication as to how the digits are to be combined | |
15696 | with the characters in the Lao and Thai scripts. | |
15697 | ||
15698 | =end original | |
15699 | ||
15700 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
15701 | 文字がどのように結びつくかの指示がないからです。 | |
15702 | ||
15703 | =item Unicode non-character U+%X is not recommended for open interchange | |
15704 | ||
15705 | =begin original | |
15706 | ||
15707 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
15708 | defined by the Unicode standard to be non-characters. Those | |
15709 | are legal codepoints, but are reserved for internal use; so, | |
15710 | applications shouldn't attempt to exchange them. An application | |
15711 | may not be expecting any of these characters at all, and receiving | |
15712 | them may lead to bugs. If you know what you are doing you can | |
15713 | turn off this warning by C<no warnings 'nonchar';>. | |
15714 | ||
15715 | =end original | |
15716 | ||
15717 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
15718 | Unicode 標準によって非文字として指定されています。 | |
15719 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 | |
15720 | アプリケーションはこれを交換しようとするべきではありません。 | |
15721 | アプリケーションは、これらの文字を想定するべきではなく、これらを | |
15722 | 受け取るとバグを引き起こすことがあります。 | |
15723 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で | |
15724 | 警告を無効にできます。 | |
15725 | ||
15726 | =begin original | |
15727 | ||
15728 | This is not really a "severe" error, but it is supposed to be | |
15729 | raised by default even if warnings are not enabled, and currently | |
15730 | the only way to do that in Perl is to mark it as serious. | |
15731 | ||
15732 | =end original | |
15733 | ||
15734 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても | |
15735 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは | |
15736 | これを重大なものとして扱うことです。 | |
15737 | ||
15738 | =item Unicode property wildcard not terminated | |
15739 | ||
15740 | =begin original | |
15741 | ||
15742 | (F) A Unicode property wildcard looks like a delimited regular | |
15743 | expression pattern (all within the braces of the enclosing C<\p{...}>. | |
15744 | The closing delimtter to match the opening one was not found. If the | |
15745 | opening one is escaped by preceding it with a backslash, the closing one | |
15746 | must also be so escaped. | |
15747 | ||
15748 | =end original | |
15749 | ||
15750 | (F) Unicode 特性ワイルドカードは区切られた正規表現パターン | |
15751 | (C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。 | |
15752 | 開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。 | |
15753 | 前に逆スラッシュを置くことで開き文字がエスケープされている場合、 | |
15754 | 閉じ文字もエスケープされていなければなりません。 | |
15755 | ||
15756 | =item Unicode string properties are not implemented in (?[...]) in | |
15757 | regex; marked by <-- HERE in m/%s/ | |
15758 | ||
15759 | =begin original | |
15760 | ||
15761 | (F) A Unicode string property is one which expands to a sequence of | |
15762 | multiple characters. An example is C<\p{name=KATAKANA LETTER AINU P}>, | |
15763 | which is comprised of the sequence C<\N{KATAKANA LETTER SMALL H}> | |
15764 | followed by C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}>. | |
15765 | Extended character classes, C<(?[...])> currently cannot handle these. | |
15766 | ||
15767 | =end original | |
15768 | ||
15769 | (F) A Unicode 文字列特性は、複数の文字の並びに拡張するものです。 | |
15770 | 例は C<\p{name=KATAKANA LETTER AINU P}> で、これは | |
15771 | C<\N{KATAKANA LETTER SMALL H}> に | |
15772 | C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}> が引き続く | |
15773 | 並びからなります。 | |
15774 | 拡張文字クラス C<(?[...])> は現在の所これらを扱えません。 | |
15775 | ||
15776 | =item Unicode surrogate U+%X is illegal in UTF-8 | |
15777 | ||
15778 | =begin original | |
15779 | ||
15780 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
15781 | not considered acceptable. These code points, between U+D800 and | |
15782 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
15783 | internally allows all unsigned integer code points (up to the size limit | |
15784 | available on your platform), including surrogates. But these can cause | |
15785 | problems when being input or output, which is likely where this message | |
15786 | came from. If you really really know what you are doing you can turn | |
15787 | off this warning by C<no warnings 'surrogate';>. | |
15788 | ||
15789 | =end original | |
15790 | ||
15791 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
15792 | 使いました。 | |
15793 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
15794 | Unicode によって使われます。 | |
15795 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
15796 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
15797 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
15798 | おそらくこのメッセージが出た場所です。 | |
15799 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
15800 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
15801 | ||
15802 | =item Unknown charname '%s' | |
15803 | ||
15804 | =begin original | |
15805 | ||
15806 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
15807 | spelling. You can say C<use charnames ":loose"> to not have to be | |
15808 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
15809 | names. (Any custom aliases that have been created must be specified | |
15810 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
15811 | also happen if the C<\N{}> is not in the scope of the corresponding | |
15812 | C<S<use charnames>>. | |
15813 | ||
15814 | =end original | |
15815 | ||
15816 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
15817 | 綴りを確認してください。 | |
15818 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
15819 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
15820 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
15821 | 指定されなければなりません。) | |
15822 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
15823 | ないときにも起こることがあります。 | |
15824 | ||
15825 | =item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/ | |
15826 | ||
15827 | =begin original | |
15828 | ||
15829 | (F) The C<(*> was followed by something that the regular expression | |
15830 | compiler does not recognize. Check your spelling. | |
15831 | ||
15832 | =end original | |
15833 | ||
15834 | (F) C<(*> に、何か正規表現コンパイラが理解できないものが | |
15835 | 引き続いていました。 | |
15836 | 綴りを確認してください。 | |
15837 | ||
15838 | =item Unknown error | |
15839 | ||
15840 | =begin original | |
15841 | ||
15842 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable | |
15843 | did not exist, even after an attempt to create it. | |
15844 | ||
15845 | =end original | |
15846 | ||
15847 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が | |
15848 | (たとえ作ろうとした後でも) 存在しませんでした。 | |
15849 | ||
15850 | =item Unknown locale category %d; can't set it to %s | |
15851 | ||
15852 | =begin original | |
15853 | ||
15854 | (W locale) You used a locale category that perl doesn't recognize, so it | |
15855 | cannot carry out your request. Check that you are using a valid | |
15856 | category. If so, see L<perllocale/Multi-threaded> for advice on | |
15857 | reporting this as a bug, and for modifying perl locally to accommodate | |
15858 | your needs. | |
15859 | ||
15860 | =end original | |
15861 | ||
15862 | (W locale) perl が認識できないロケールカテゴリを使ったので、 | |
15863 | 要求を実行することができません。 | |
15864 | 正しいカテゴリを使っているかチェックしてください。 | |
15865 | もしそうなら、これをバグとして報告する助言や、必要性に対応するために | |
15866 | perl をローカルで修正する方法について L<perllocale/Multi-threaded> を | |
15867 | 参照してください。 | |
15868 | ||
8176 | 15869 | =item Unknown open() mode '%s' |
8177 | 15870 | |
8178 | 15871 | =begin original |
8179 | 15872 | |
8180 | 15873 | (F) The second argument of 3-argument open() is not among the list |
8181 | 15874 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
8182 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
15875 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. | |
8183 | 15876 | |
8184 | 15877 | =end original |
8185 | 15878 | |
8186 | 15879 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
8187 | 15880 | どれでもありませんでした: |
8188 | 15881 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
8189 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
15882 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> | |
8190 | 15883 | |
15884 | =item Unknown PerlIO layer "%s" | |
15885 | ||
15886 | =begin original | |
15887 | ||
15888 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O | |
15889 | system. (Layers take care of transforming data between external and | |
15890 | internal representations.) Note that some layers, such as C<mmap>, | |
15891 | are not supported in all environments. If your program didn't | |
15892 | explicitly request the failing operation, it may be the result of the | |
15893 | value of the environment variable PERLIO. | |
15894 | ||
15895 | =end original | |
15896 | ||
15897 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 | |
15898 | (層はデータの外部表現と内部表現の変換を扱います。) | |
15899 | C<mmap> のような層は、全ての環境で対応しているわけではないことに | |
15900 | 注意してください。 | |
15901 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
15902 | 値が原因かもしれません。 | |
15903 | ||
8191 | 15904 | =item Unknown process %x sent message to prime_env_iter: %s |
8192 | 15905 | |
8193 | 15906 | =begin original |
8194 | 15907 | |
8195 | 15908 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
8196 | 15909 | iterating over it, and someone else stuck a message in the stream of |
8197 | 15910 | data Perl expected. Someone's very confused, or perhaps trying to |
8198 | 15911 | subvert Perl's population of %ENV for nefarious purposes. |
8199 | 15912 | |
8200 | 15913 | =end original |
8201 | 15914 | |
8202 | (P) VMS 固有のエラーです。 | |
15915 | (P) VMS に固有のエラーです。 | |
8203 | 15916 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
8204 | 15917 | データストリームの中に誰かがメッセージを差し込みました。 |
8205 | 15918 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
8206 | 15919 | 滅亡させようとしています。 |
8207 | 15920 | |
8208 | =item | |
15921 | =item Unknown regexp modifier "/%s" | |
8209 | 15922 | |
8210 | 15923 | =begin original |
8211 | 15924 | |
8212 | (F) | |
15925 | (F) Alphanumerics immediately following the closing delimiter | |
15926 | of a regular expression pattern are interpreted by Perl as modifier | |
15927 | flags for the regex. One of the ones you specified is invalid. One way | |
15928 | this can happen is if you didn't put in white space between the end of | |
15929 | the regex and a following alphanumeric operator: | |
15930 | ||
15931 | =end original | |
15932 | ||
15933 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
15934 | 修飾子フラグと解釈されます。 | |
15935 | その一つが不正でした。 | |
15936 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
15937 | 空白を置いていない場合です: | |
15938 | ||
15939 | if ($a =~ /foo/and $bar == 3) { ... } | |
15940 | ||
15941 | =begin original | |
15942 | ||
15943 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
15944 | this error. Likely what was meant instead was: | |
15945 | ||
15946 | =end original | |
15947 | ||
15948 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
15949 | おそらくしたかったのは以下のようなことでしょう: | |
15950 | ||
15951 | if ($a =~ /foo/ and $bar == 3) { ... } | |
15952 | ||
15953 | =item Unknown "re" subpragma '%s' (known ones are: %s) | |
15954 | ||
15955 | =begin original | |
15956 | ||
15957 | (W) You tried to use an unknown subpragma of the "re" pragma. | |
15958 | ||
15959 | =end original | |
15960 | ||
15961 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
15962 | ||
15963 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in | |
15964 | m/%s/ | |
15965 | ||
15966 | =begin original | |
15967 | ||
15968 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
15969 | is not known. The condition must be one of the following: | |
15970 | ||
15971 | =end original | |
15972 | ||
15973 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
15974 | 条件は以下のいずれかでなければなりません。 | |
15975 | ||
15976 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
15977 | (<NAME>) ('NAME') true if named capture matched | |
15978 | (?=...) (?<=...) true if subpattern matches | |
15979 | (*pla:...) (*plb:...) true if subpattern matches; also | |
15980 | (*positive_lookahead:...) | |
15981 | (*positive_lookbehind:...) | |
15982 | (*nla:...) (*nlb:...) true if subpattern fails to match; also | |
15983 | (*negative_lookahead:...) | |
15984 | (*negative_lookbehind:...) | |
15985 | (?{ CODE }) true if code returns a true value | |
15986 | (R) true if evaluating inside recursion | |
15987 | (R1) (R2) ... true if directly inside capture group 1, 2, | |
15988 | etc. | |
15989 | (R&NAME) true if directly inside named capture | |
15990 | (DEFINE) always false; for defining named subpatterns | |
15991 | ||
15992 | =begin original | |
15993 | ||
15994 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
15995 | discovered. See L<perlre>. | |
15996 | ||
15997 | =end original | |
15998 | ||
15999 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
16000 | L<perlre> を参照してください。 | |
16001 | ||
16002 | =item Unknown Unicode option letter '%c' | |
16003 | ||
16004 | =begin original | |
16005 | ||
16006 | (F) You specified an unknown Unicode option. See | |
16007 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
16008 | for the list of known options. | |
16009 | ||
16010 | =end original | |
16011 | ||
16012 | (F) 不明な Unicode オプションを指定しました。 | |
16013 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
16014 | C<-C> オプションを参照してください。 | |
16015 | ||
16016 | =item Unknown Unicode option value %d | |
16017 | ||
16018 | =begin original | |
16019 | ||
16020 | (F) You specified an unknown Unicode option. See | |
16021 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
16022 | for the list of known options. | |
16023 | ||
16024 | =end original | |
16025 | ||
16026 | (F) 不明な Unicode オプションを指定しました。 | |
16027 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
16028 | C<-C> オプションを参照してください。 | |
16029 | ||
16030 | =item Unknown user-defined property name \p{%s} | |
16031 | ||
16032 | =begin original | |
16033 | ||
16034 | (F) You specified to use a property within the C<\p{...}> which was a | |
16035 | syntactically valid user-defined property, but no definition was found | |
16036 | for it by the time one was required to proceed. Check your spelling. | |
16037 | See L<perlunicode/User-Defined Character Properties>. | |
16038 | ||
16039 | =end original | |
16040 | ||
16041 | (F) 文法的に正当なユーザー定義特性である C<\p{...}> の中で特性を使うように | |
16042 | 指定しましたが、進行するためにこれが必要な必要な時点までに、 | |
16043 | このための定義が見つかりませんでした。 | |
16044 | 綴りを確認してください。 | |
16045 | L<perlunicode/User-Defined Character Properties> を参照してください。 | |
16046 | ||
16047 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ | |
16048 | ||
16049 | =begin original | |
16050 | ||
16051 | (F) You either made a typo or have incorrectly put a C<*> quantifier | |
16052 | after an open brace in your pattern. Check the pattern and review | |
16053 | L<perlre> for details on legal verb patterns. | |
16054 | ||
16055 | =end original | |
16056 | ||
16057 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に | |
16058 | C<*> 量指定子を書いたかどちらかです。 | |
16059 | パターンをチェックして、有効な動詞パターンの詳細については | |
16060 | L<perlre> を再チェックしてください。 | |
16061 | ||
16062 | =item Unknown warnings category '%s' | |
16063 | ||
16064 | =begin original | |
16065 | ||
16066 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
16067 | category that is unknown to perl at this point. | |
16068 | ||
16069 | =end original | |
16070 | ||
16071 | (F) C<warnings> プラグマによるエラーです。 | |
16072 | 現在のところ perl が知らない警告カテゴリを指定しました。 | |
16073 | ||
16074 | =begin original | |
16075 | ||
16076 | Note that if you want to enable a warnings category registered by a | |
16077 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this | |
16078 | module first. | |
16079 | ||
16080 | =end original | |
16081 | ||
16082 | (C<use warnings 'File::Find'> のように)モジュールによって登録される | |
16083 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が | |
16084 | あることに注意してください。 | |
16085 | ||
16086 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ | |
16087 | ||
16088 | =begin original | |
16089 | ||
16090 | (F) The brackets around a character class must match. If you wish to | |
8213 | 16091 | include a closing bracket in a character class, backslash it or put it |
8214 | first. | |
16092 | first. The S<<-- HERE> shows whereabouts in the regular expression the | |
8215 | ||
16093 | problem was discovered. See L<perlre>. | |
8216 | 16094 | |
8217 | 16095 | =end original |
8218 | 16096 | |
8219 | 16097 | (F) 文字クラスの周りの大かっこが一致していません。 |
8220 | 16098 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
8221 | 16099 | 先頭に置いてください。 |
16100 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8222 | 16101 | L<perlre> を参照してください。 |
8223 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8224 | 16102 | |
8225 | =item | |
16103 | =item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/ | |
8226 | 16104 | |
16105 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ | |
16106 | ||
8227 | 16107 | =begin original |
8228 | 16108 | |
8229 | 16109 | (F) Unbackslashed parentheses must always be balanced in regular |
8230 | expressions. If you're a vi user, the % key is valuable for finding | |
16110 | expressions. If you're a vi user, the % key is valuable for finding | |
8231 | matching parenthesis. | |
16111 | the matching parenthesis. The S<<-- HERE> shows whereabouts in the | |
16112 | regular expression the problem was discovered. See L<perlre>. | |
8232 | 16113 | |
8233 | 16114 | =end original |
8234 | 16115 | |
8235 | 16116 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
8236 | 16117 | 対応していなければなりません。 |
8237 | 16118 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
16119 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8238 | 16120 | L<perlre> を参照してください。 |
8239 | 16121 | |
8240 | 16122 | =item Unmatched right %s bracket |
8241 | 16123 | |
8242 | 16124 | =begin original |
8243 | 16125 | |
8244 | 16126 | (F) The lexer counted more closing curly or square brackets than opening |
8245 | 16127 | ones, so you're probably missing a matching opening bracket. As a |
8246 | 16128 | general rule, you'll find the missing one (so to speak) near the place |
8247 | 16129 | you were last editing. |
8248 | 16130 | |
8249 | 16131 | =end original |
8250 | 16132 | |
8251 | (F) | |
16133 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを | |
8252 | 見つけました。 | |
16134 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 | |
8253 | ||
16135 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した | |
8254 | ||
16136 | 場所の近くにあります。 | |
8255 | または大括弧 (であるはずのもの) があることでしょう。 | |
8256 | 16137 | |
8257 | 16138 | =item Unquoted string "%s" may clash with future reserved word |
8258 | 16139 | |
8259 | 16140 | =begin original |
8260 | 16141 | |
8261 | 16142 | (W reserved) You used a bareword that might someday be claimed as a |
8262 | 16143 | reserved word. It's best to put such a word in quotes, or capitalize it |
8263 | 16144 | somehow, or insert an underbar into it. You might also declare it as a |
8264 | 16145 | subroutine. |
8265 | 16146 | |
8266 | 16147 | =end original |
8267 | 16148 | |
8268 | 16149 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
8269 | 16150 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
8270 | 16151 | いれるかしてください。 |
8271 | その裸の単語は、サブルー | |
16152 | その裸の単語は、サブルーチンとして宣言することも可能です。 | |
8272 | 16153 | |
8273 | =item Unrecognized character %s | |
16154 | =item Unrecognized character %s; marked by S<<-- HERE> after %s near column | |
16155 | %d | |
8274 | 16156 | |
8275 | 16157 | =begin original |
8276 | 16158 | |
8277 | 16159 | (F) The Perl parser has no idea what to do with the specified character |
8278 | in your Perl script (or eval) | |
16160 | in your Perl script (or eval) near the specified column. Perhaps you | |
8279 | script, a binary program, or a directory as | |
16161 | tried to run a compressed script, a binary program, or a directory as | |
16162 | a Perl program. | |
8280 | 16163 | |
8281 | 16164 | =end original |
8282 | 16165 | |
8283 | (F) Perl パーサーは、Perl スクリプト(または eval) で | |
16166 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに | |
8284 | どうすればよいか分かりませんでした。 | |
16167 | 出てきた文字に対してどうすればよいか分かりませんでした。 | |
8285 | 16168 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
8286 | 16169 | Perl プログラムとして実行しようとしたのでしょう。 |
8287 | 16170 | |
8288 | =item | |
16171 | =item Unrecognized escape \%c in character class in regex; marked by | |
16172 | S<<-- HERE> in m/%s/ | |
8289 | 16173 | |
8290 | 16174 | =begin original |
8291 | 16175 | |
16176 | (F) You used a backslash-character combination which is not | |
16177 | recognized by Perl inside character classes. This is a fatal | |
16178 | error when the character class is used within C<(?[ ])>. | |
16179 | ||
16180 | =end original | |
16181 | ||
16182 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
16183 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
16184 | ||
16185 | =item Unrecognized escape \%c in character class passed through in regex; | |
16186 | marked by S<<-- HERE> in m/%s/ | |
16187 | ||
16188 | =begin original | |
16189 | ||
8292 | 16190 | (W regexp) You used a backslash-character combination which is not |
8293 | 16191 | recognized by Perl inside character classes. The character was |
8294 | understood literally. | |
16192 | understood literally, but this may change in a future version of Perl. | |
16193 | The S<<-- HERE> shows whereabouts in the regular expression the | |
16194 | escape was discovered. | |
8295 | 16195 | |
8296 | 16196 | =end original |
8297 | 16197 | |
8298 | 16198 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
8299 | 16199 | 組み合わせを使いました。 |
8300 | 文字はリテラルに理 | |
16200 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
16201 | 変更されるかもしれません。 | |
16202 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
8301 | 16203 | |
8302 | =item Unrecognized escape \ | |
16204 | =item Unrecognized escape \%c passed through | |
8303 | 16205 | |
8304 | 16206 | =begin original |
8305 | 16207 | |
8306 | (W | |
16208 | (W misc) You used a backslash-character combination which is not | |
8307 | recognized by Perl. Th | |
16209 | recognized by Perl. The character was understood literally, but this may | |
8308 | a | |
16210 | change in a future version of Perl. | |
8309 | literally. The << HERE shows in the regular expression about where the escape | |
8310 | was discovered. | |
8311 | 16211 | |
8312 | 16212 | =end original |
8313 | 16213 | |
8314 | (W | |
16214 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが | |
8315 | 16215 | 使われています。 |
8316 | ||
16216 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
8317 | ||
16217 | 変更されるかもしれません。 | |
8318 | この文字はリテラルに処理されます。 | |
8319 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8320 | 16218 | |
8321 | =item Unrecognized escape \ | |
16219 | =item Unrecognized escape \%s passed through in regex; marked by | |
16220 | S<<-- HERE> in m/%s/ | |
8322 | 16221 | |
8323 | 16222 | =begin original |
8324 | 16223 | |
8325 | (W | |
16224 | (W regexp) You used a backslash-character combination which is not | |
8326 | recognized by Perl. | |
16225 | recognized by Perl. The character(s) were understood literally, but | |
16226 | this may change in a future version of Perl. The S<<-- HERE> shows | |
16227 | whereabouts in the regular expression the escape was discovered. | |
8327 | 16228 | |
8328 | 16229 | =end original |
8329 | 16230 | |
8330 | (W | |
16231 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが | |
8331 | 16232 | 使われています。 |
16233 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
16234 | 変更されるかもしれません。 | |
16235 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
8332 | 16236 | |
8333 | 16237 | =item Unrecognized signal name "%s" |
8334 | 16238 | |
8335 | 16239 | =begin original |
8336 | 16240 | |
8337 | 16241 | (F) You specified a signal name to the kill() function that was not |
8338 | 16242 | recognized. Say C<kill -l> in your shell to see the valid signal names |
8339 | 16243 | on your system. |
8340 | 16244 | |
8341 | 16245 | =end original |
8342 | 16246 | |
8343 | 16247 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
8344 | 16248 | お使いのシステムで使用可能なシグナル名を調べるには、 |
8345 | 16249 | シェル上で C<kill -l> などとしてください。 |
8346 | 16250 | |
8347 | 16251 | =item Unrecognized switch: -%s (-h will show valid options) |
8348 | 16252 | |
8349 | 16253 | =begin original |
8350 | 16254 | |
8351 | 16255 | (F) You specified an illegal option to Perl. Don't do that. (If you |
8352 | 16256 | think you didn't do that, check the #! line to see if it's supplying the |
8353 | 16257 | bad switch on your behalf.) |
8354 | 16258 | |
8355 | 16259 | =end original |
8356 | 16260 | |
8357 | 16261 | (F) Perl に間違ったオプションを指定しました。 |
8358 | 16262 | これを行なってはいけません。 |
8359 | 16263 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
8360 | 16264 | スイッチが指定されていないかをチェックしてください。) |
8361 | 16265 | |
8362 | 16266 | =item Unsuccessful %s on filename containing newline |
8363 | 16267 | |
8364 | 16268 | =begin original |
8365 | 16269 | |
8366 | 16270 | (W newline) A file operation was attempted on a filename, and that |
8367 | 16271 | operation failed, PROBABLY because the filename contained a newline, |
8368 | 16272 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
8369 | 16273 | |
8370 | 16274 | =end original |
8371 | 16275 | |
8372 | 16276 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
8373 | 失敗しました | |
16277 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 | |
8374 | 「おそらく」ファイル名に改行文字がついていたからで、 | |
8375 | 16278 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
8376 | 16279 | L<perlfunc/chomp> を参照してください。 |
8377 | 16280 | |
8378 | 16281 | =item Unsupported directory function "%s" called |
8379 | 16282 | |
8380 | 16283 | =begin original |
8381 | 16284 | |
8382 | 16285 | (F) Your machine doesn't support opendir() and readdir(). |
8383 | 16286 | |
8384 | 16287 | =end original |
8385 | 16288 | |
8386 | 16289 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
8387 | 16290 | |
8388 | 16291 | =item Unsupported function %s |
8389 | 16292 | |
8390 | 16293 | =begin original |
8391 | 16294 | |
8392 | 16295 | (F) This machine doesn't implement the indicated function, apparently. |
8393 | 16296 | At least, Configure doesn't think so. |
8394 | 16297 | |
8395 | 16298 | =end original |
8396 | 16299 | |
8397 | 16300 | (F) このマシンでは、表示した関数は実装されていません。 |
8398 | 16301 | 少なくとも、Configure はそう判断しました。 |
8399 | 16302 | |
8400 | 16303 | =item Unsupported function fork |
8401 | 16304 | |
8402 | 16305 | =begin original |
8403 | 16306 | |
8404 | 16307 | (F) Your version of executable does not support forking. |
8405 | 16308 | |
8406 | 16309 | =end original |
8407 | 16310 | |
8408 | 16311 | (F) この実行ファイルは fork に対応していません。 |
8409 | 16312 | |
8410 | 16313 | =begin original |
8411 | 16314 | |
8412 | 16315 | Note that under some systems, like OS/2, there may be different flavors |
8413 | of Perl executables, some of which may support fork, some not. Try | |
16316 | of Perl executables, some of which may support fork, some not. Try | |
8414 | 16317 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
8415 | 16318 | |
8416 | 16319 | =end original |
8417 | 16320 | |
8418 | 16321 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
8419 | 16322 | fork に対応しているものとしていないものがあります。 |
8420 | 16323 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
8421 | 16324 | 変えてみてください。 |
8422 | 16325 | |
8423 | =item Unsupported script encoding | |
16326 | =item Unsupported script encoding %s | |
8424 | 16327 | |
8425 | 16328 | =begin original |
8426 | 16329 | |
8427 | 16330 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
8428 | declares it to be in a Unicode encoding that Perl cannot | |
16331 | declares it to be in a Unicode encoding that Perl cannot read. | |
8429 | 16332 | |
8430 | 16333 | =end original |
8431 | 16334 | |
8432 | 16335 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
8433 | 16336 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
8434 | 16337 | |
8435 | 16338 | =item Unsupported socket function "%s" called |
8436 | 16339 | |
8437 | 16340 | =begin original |
8438 | 16341 | |
8439 | 16342 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
8440 | 16343 | least that's what Configure thought. |
8441 | 16344 | |
8442 | 16345 | =end original |
8443 | 16346 | |
8444 | 16347 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
8445 | 16348 | 少なくとも Configure がそう判断しました。 |
8446 | 16349 | |
16350 | =item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/ | |
16351 | ||
16352 | =begin original | |
16353 | ||
16354 | (F) You used a pattern of the form C<(*...:...)> but did not terminate | |
16355 | the pattern with a C<)>. Fix the pattern and retry. | |
16356 | ||
16357 | =end original | |
16358 | ||
16359 | (F) C<(*...:...)> 形式のパターンを使いましたが、パターンが | |
16360 | C<)> で終端されていません。 | |
16361 | パターンを修正して再挑戦してください。 | |
16362 | ||
8447 | 16363 | =item Unterminated attribute list |
8448 | 16364 | |
8449 | 16365 | =begin original |
8450 | 16366 | |
8451 | 16367 | (F) The lexer found something other than a simple identifier at the |
8452 | 16368 | start of an attribute, and it wasn't a semicolon or the start of a |
8453 | 16369 | block. Perhaps you terminated the parameter list of the previous |
8454 | 16370 | attribute too soon. See L<attributes>. |
8455 | 16371 | |
8456 | 16372 | =end original |
8457 | 16373 | |
8458 | 16374 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
8459 | 16375 | 開始でないものを発見しました。 |
8460 | 16376 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
8461 | 16377 | L<attributes> を参照してください。 |
8462 | 16378 | |
8463 | 16379 | =item Unterminated attribute parameter in attribute list |
8464 | 16380 | |
8465 | 16381 | =begin original |
8466 | 16382 | |
8467 | 16383 | (F) The lexer saw an opening (left) parenthesis character while parsing |
8468 | 16384 | an attribute list, but the matching closing (right) parenthesis |
8469 | 16385 | character was not found. You may need to add (or remove) a backslash |
8470 | 16386 | character to get your parentheses to balance. See L<attributes>. |
8471 | 16387 | |
8472 | 16388 | =end original |
8473 | 16389 | |
8474 | 16390 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
8475 | 16391 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
8476 | 16392 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
8477 | 16393 | 必要があるでしょう。 |
8478 | 16394 | L<attributes> を参照してください。 |
8479 | 16395 | |
8480 | 16396 | =item Unterminated compressed integer |
8481 | 16397 | |
8482 | 16398 | =begin original |
8483 | 16399 | |
8484 | 16400 | (F) An argument to unpack("w",...) was incompatible with the BER |
8485 | 16401 | compressed integer format and could not be converted to an integer. |
8486 | 16402 | See L<perlfunc/pack>. |
8487 | 16403 | |
8488 | 16404 | =end original |
8489 | 16405 | |
8490 | 16406 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
8491 | 16407 | 整数に変換できませんでした。 |
8492 | 16408 | L<perlfunc/pack> を参照してください。 |
8493 | 16409 | |
16410 | =item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/ | |
16411 | ||
16412 | =begin original | |
16413 | ||
16414 | (F) You used a pattern of the form C<(*...)> but did not terminate | |
16415 | the pattern with a C<)>. Fix the pattern and retry. | |
16416 | ||
16417 | =end original | |
16418 | ||
16419 | (F) C<(*...)> 形式のパターンを使いましたが、パターンが | |
16420 | C<)> で終端されていません。 | |
16421 | パターンを修正して再挑戦してください。 | |
16422 | ||
16423 | =item Unterminated delimiter for here document | |
16424 | ||
16425 | =begin original | |
16426 | ||
16427 | (F) This message occurs when a here document label has an initial | |
16428 | quotation mark but the final quotation mark is missing. Perhaps | |
16429 | you wrote: | |
16430 | ||
16431 | =end original | |
16432 | ||
16433 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
16434 | 末尾のクォートがありません。 | |
16435 | おそらく以下のように書いたのでしょう: | |
16436 | ||
16437 | <<"foo | |
16438 | ||
16439 | =begin original | |
16440 | ||
16441 | instead of: | |
16442 | ||
16443 | =end original | |
16444 | ||
16445 | 次のように書いてください: | |
16446 | ||
16447 | <<"foo" | |
16448 | ||
16449 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16450 | ||
16451 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16452 | ||
16453 | =begin original | |
16454 | ||
16455 | (F) In a regular expression, you had a C<\g> that wasn't followed by a | |
16456 | proper group reference. In the case of C<\g{>, the closing brace is | |
16457 | missing; otherwise the C<\g> must be followed by an integer. Fix the | |
16458 | pattern and retry. | |
16459 | ||
16460 | =end original | |
16461 | ||
16462 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 | |
16463 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が | |
16464 | 引き続かなければ鳴りません。 | |
16465 | パターンを修正して再挑戦してください。 | |
16466 | ||
8494 | 16467 | =item Unterminated <> operator |
8495 | 16468 | |
8496 | 16469 | =begin original |
8497 | 16470 | |
8498 | 16471 | (F) The lexer saw a left angle bracket in a place where it was expecting |
8499 | 16472 | a term, so it's looking for the corresponding right angle bracket, and |
8500 | 16473 | not finding it. Chances are you left some needed parentheses out |
8501 | 16474 | earlier in the line, and you really meant a "less than". |
8502 | 16475 | |
8503 | 16476 | =end original |
8504 | 16477 | |
8505 | (F) 項が必要とされるところで、開き山 | |
16478 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 | |
8506 | 対応する閉じ山 | |
16479 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 | |
8507 | 可能性としては、必要な | |
16480 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を | |
8508 | 16481 | 表したかった場合が考えられます。 |
8509 | 16482 | |
16483 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in | |
16484 | m/%s/ | |
16485 | ||
16486 | =begin original | |
16487 | ||
16488 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate | |
16489 | the pattern with a C<)>. Fix the pattern and retry. | |
16490 | ||
16491 | =end original | |
16492 | ||
16493 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で | |
16494 | 終わっていません。 | |
16495 | パターンを修正して再挑戦してください。 | |
16496 | ||
16497 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16498 | ||
16499 | =begin original | |
16500 | ||
16501 | (F) You used a pattern of the form C<(*VERB)> but did not terminate | |
16502 | the pattern with a C<)>. Fix the pattern and retry. | |
16503 | ||
16504 | =end original | |
16505 | ||
16506 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で | |
16507 | 終わっていません。 | |
16508 | パターンを修正して再挑戦してください。 | |
16509 | ||
8510 | 16510 | =item untie attempted while %d inner references still exist |
8511 | 16511 | |
8512 | 16512 | =begin original |
8513 | 16513 | |
8514 | 16514 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
8515 | 16515 | still valid when C<untie> was called. |
8516 | 16516 | |
8517 | 16517 | =end original |
8518 | 16518 | |
8519 | 16519 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
8520 | 16520 | C<untie> が呼び出されたときにまだ有効でした。 |
8521 | 16521 | |
16522 | =item Usage: POSIX::%s(%s) | |
16523 | ||
16524 | =begin original | |
16525 | ||
16526 | (F) You called a POSIX function with incorrect arguments. | |
16527 | See L<POSIX/FUNCTIONS> for more information. | |
16528 | ||
16529 | =end original | |
16530 | ||
16531 | (F) POSIX 関数を間違った引数で呼び出しました。 | |
16532 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 | |
16533 | ||
16534 | =item Usage: Win32::%s(%s) | |
16535 | ||
16536 | =begin original | |
16537 | ||
16538 | (F) You called a Win32 function with incorrect arguments. | |
16539 | See L<Win32> for more information. | |
16540 | ||
16541 | =end original | |
16542 | ||
16543 | (F) Win32 関数を間違った引数で呼び出しました。 | |
16544 | 更なる情報については L<Win32> を参照してください。 | |
16545 | ||
16546 | =item $[ used in %s (did you mean $] ?) | |
16547 | ||
16548 | =begin original | |
16549 | ||
16550 | (W syntax) You used C<$[> in a comparison, such as: | |
16551 | ||
16552 | =end original | |
16553 | ||
16554 | (W syntax) 以下のように、比較で C<$[> を使いました: | |
16555 | ||
16556 | if ($[ > 5.006) { | |
16557 | ... | |
16558 | } | |
16559 | ||
16560 | =begin original | |
16561 | ||
16562 | You probably meant to use C<$]> instead. C<$[> is the base for indexing | |
16563 | arrays. C<$]> is the Perl version number in decimal. | |
16564 | ||
16565 | =end original | |
16566 | ||
16567 | おそらく C<$]> を使いたかったのでしょう。 | |
16568 | C<$[> は配列の基数です。 | |
16569 | C<$]> は Perl のバージョン番号の 10 進数です。 | |
16570 | ||
16571 | =item Use "%s" instead of "%s" | |
16572 | ||
16573 | =begin original | |
16574 | ||
16575 | (F) The second listed construct is no longer legal. Use the first one | |
16576 | instead. | |
16577 | ||
16578 | =end original | |
16579 | ||
16580 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 | |
16581 | 代わりに 1 番目のものを使ってください。 | |
16582 | ||
16583 | =item Useless assignment to a temporary | |
16584 | ||
16585 | =begin original | |
16586 | ||
16587 | (W misc) You assigned to an lvalue subroutine, but what | |
16588 | the subroutine returned was a temporary scalar about to | |
16589 | be discarded, so the assignment had no effect. | |
16590 | ||
16591 | =end original | |
16592 | ||
16593 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは | |
16594 | 捨てられようとする一時的なスカラなので、代入は向こうです。 | |
16595 | ||
16596 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
16597 | S<<-- HERE> in m/%s/ | |
16598 | ||
16599 | =begin original | |
16600 | ||
16601 | (W regexp) You have used an internal modifier such as (?-o) that has no | |
16602 | meaning unless removed from the entire regexp: | |
16603 | ||
16604 | =end original | |
16605 | ||
16606 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ | |
16607 | 意味がありません: | |
16608 | ||
16609 | if ($string =~ /(?-o)$pattern/o) { ... } | |
16610 | ||
16611 | =begin original | |
16612 | ||
16613 | must be written as | |
16614 | ||
16615 | =end original | |
16616 | ||
16617 | これは以下のように書かなければなりません: | |
16618 | ||
16619 | if ($string =~ /$pattern/) { ... } | |
16620 | ||
16621 | =begin original | |
16622 | ||
16623 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
16624 | discovered. See L<perlre>. | |
16625 | ||
16626 | =end original | |
16627 | ||
16628 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
16629 | L<perlre> を参照してください。 | |
16630 | ||
16631 | =item Useless localization of %s | |
16632 | ||
16633 | =begin original | |
16634 | ||
16635 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, | |
16636 | but in fact the local() currently has no effect. This may change at | |
16637 | some point in the future, but in the meantime such code is discouraged. | |
16638 | ||
16639 | =end original | |
16640 | ||
16641 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 | |
16642 | 実際のところ local() は現在のところ何の効果もありません。 | |
16643 | これは将来変更されるかもしれませんが、今のところはこのようなコードは | |
16644 | 勧められません。 | |
16645 | ||
16646 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in | |
16647 | m/%s/ | |
16648 | ||
16649 | =begin original | |
16650 | ||
16651 | (W regexp) You have used an internal modifier such as (?o) that has no | |
16652 | meaning unless applied to the entire regexp: | |
16653 | ||
16654 | =end original | |
16655 | ||
16656 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ | |
16657 | 意味がありません: | |
16658 | ||
16659 | if ($string =~ /(?o)$pattern/) { ... } | |
16660 | ||
16661 | =begin original | |
16662 | ||
16663 | must be written as | |
16664 | ||
16665 | =end original | |
16666 | ||
16667 | これは以下のように書かなければなりません: | |
16668 | ||
16669 | if ($string =~ /$pattern/o) { ... } | |
16670 | ||
16671 | =begin original | |
16672 | ||
16673 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
16674 | discovered. See L<perlre>. | |
16675 | ||
16676 | =end original | |
16677 | ||
16678 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
16679 | L<perlre> を参照してください。 | |
16680 | ||
16681 | =item Useless use of attribute "const" | |
16682 | ||
16683 | =begin original | |
16684 | ||
16685 | (W misc) The C<const> attribute has no effect except | |
16686 | on anonymous closure prototypes. You applied it to | |
16687 | a subroutine via L<attributes.pm|attributes>. This is only useful | |
16688 | inside an attribute handler for an anonymous subroutine. | |
16689 | ||
16690 | =end original | |
16691 | ||
16692 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
16693 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 | |
16694 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 | |
16695 | ||
16696 | =item Useless use of /d modifier in transliteration operator | |
16697 | ||
16698 | =begin original | |
16699 | ||
16700 | (W misc) You have used the /d modifier where the searchlist has the | |
16701 | same length as the replacelist. See L<perlop> for more information | |
16702 | about the /d modifier. | |
16703 | ||
16704 | =end original | |
16705 | ||
16706 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 | |
16707 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 | |
16708 | ||
16709 | =item Useless use of \E | |
16710 | ||
16711 | =begin original | |
16712 | ||
16713 | (W misc) You have a \E in a double-quotish string without a C<\U>, | |
16714 | C<\L> or C<\Q> preceding it. | |
16715 | ||
16716 | =end original | |
16717 | ||
16718 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく | |
16719 | \E を書きました。 | |
16720 | ||
16721 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ | |
16722 | ||
16723 | =begin original | |
16724 | ||
16725 | (W regexp) You specified something like these: | |
16726 | ||
16727 | =end original | |
16728 | ||
16729 | (W regexp) 次のようなものを指定しました: | |
16730 | ||
16731 | qr/a{3}?/ | |
16732 | qr/b{1,1}+/ | |
16733 | ||
16734 | =begin original | |
16735 | ||
16736 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to | |
16737 | match more or fewer when there is a choice, and by specifying to match | |
16738 | exactly a given number, there is no room left for a choice. | |
16739 | ||
16740 | =end original | |
16741 | ||
16742 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に | |
16743 | より多くまたは少なく変更します; | |
16744 | そして指定された数に正確にマッチングすることを指定されているので、 | |
16745 | 選択の余地はありません。 | |
16746 | ||
16747 | =item Useless use of %s in scalar context | |
16748 | ||
16749 | =begin original | |
16750 | ||
16751 | (W scalar) You did something whose only interesting return value is a | |
16752 | list without a side effect in scalar context, which does not accept a | |
16753 | list. | |
16754 | ||
16755 | =end original | |
16756 | ||
16757 | (W scalar) You did something whose only interesting return value is a | |
16758 | list without a side effect in scalar context, which does not accept a | |
16759 | list. | |
16760 | (TBT) | |
16761 | ||
16762 | =begin original | |
16763 | ||
16764 | For example | |
16765 | ||
16766 | =end original | |
16767 | ||
16768 | 例えば: | |
16769 | ||
16770 | my $x = sort @y; | |
16771 | ||
16772 | =begin original | |
16773 | ||
16774 | This is not very useful, and perl currently optimizes this away. | |
16775 | ||
16776 | =end original | |
16777 | ||
16778 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
16779 | ||
8522 | 16780 | =item Useless use of %s in void context |
8523 | 16781 | |
8524 | 16782 | =begin original |
8525 | 16783 | |
8526 | 16784 | (W void) You did something without a side effect in a context that does |
8527 | 16785 | nothing with the return value, such as a statement that doesn't return a |
8528 | 16786 | value from a block, or the left side of a scalar comma operator. Very |
8529 | 16787 | often this points not to stupidity on your part, but a failure of Perl |
8530 | 16788 | to parse your program the way you thought it would. For example, you'd |
8531 | 16789 | get this if you mixed up your C precedence with Python precedence and |
8532 | 16790 | said |
8533 | 16791 | |
8534 | 16792 | =end original |
8535 | 16793 | |
8536 | 16794 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
8537 | 16795 | 返却値の無い文脈で、副作用のないことを行ないました。 |
8538 | 16796 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
8539 | 16797 | 意向を汲み取った解釈ができないことで起こります。 |
8540 | 16798 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
8541 | 16799 | 以下のようにした場合です: |
8542 | 16800 | |
8543 | 16801 | $one, $two = 1, 2; |
8544 | 16802 | |
8545 | 16803 | =begin original |
8546 | 16804 | |
8547 | 16805 | when you meant to say |
8548 | 16806 | |
8549 | 16807 | =end original |
8550 | 16808 | |
8551 | 16809 | 以下のようにするべきです。 |
8552 | 16810 | |
8553 | 16811 | ($one, $two) = (1, 2); |
8554 | 16812 | |
8555 | 16813 | =begin original |
8556 | 16814 | |
8557 | 16815 | Another common error is to use ordinary parentheses to construct a list |
8558 | 16816 | reference when you should be using square or curly brackets, for |
8559 | 16817 | example, if you say |
8560 | 16818 | |
8561 | 16819 | =end original |
8562 | 16820 | |
8563 | その他の良くあるエラーとしては、リストを作るのに中 | |
16821 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを | |
8564 | ||
16822 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた | |
8565 | ||
16823 | 場合です: | |
8566 | 16824 | |
8567 | 16825 | $array = (1,2); |
8568 | 16826 | |
8569 | 16827 | =begin original |
8570 | 16828 | |
8571 | 16829 | when you should have said |
8572 | 16830 | |
8573 | 16831 | =end original |
8574 | 16832 | |
8575 | 16833 | 以下のように書くべきです: |
8576 | 16834 | |
8577 | 16835 | $array = [1,2]; |
8578 | 16836 | |
8579 | 16837 | =begin original |
8580 | 16838 | |
8581 | 16839 | The square brackets explicitly turn a list value into a scalar value, |
8582 | 16840 | while parentheses do not. So when a parenthesized list is evaluated in |
8583 | 16841 | a scalar context, the comma is treated like C's comma operator, which |
8584 | 16842 | throws away the left argument, which is not what you want. See |
8585 | 16843 | L<perlref> for more on this. |
8586 | 16844 | |
8587 | 16845 | =end original |
8588 | 16846 | |
8589 | 16847 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
8590 | 16848 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
8591 | 16849 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
8592 | 16850 | これは望んでいることではないでしょう。 |
8593 | 16851 | これに関するさらなる情報については L<perlref> を参照してください。 |
8594 | 16852 | |
16853 | =begin original | |
16854 | ||
16855 | This warning will not be issued for numerical constants equal to 0 or 1 | |
16856 | since they are often used in statements like | |
16857 | ||
16858 | =end original | |
16859 | ||
16860 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 | |
16861 | しばしば以下のような文で使われるからです: | |
16862 | ||
16863 | 1 while sub_with_side_effects(); | |
16864 | ||
16865 | =begin original | |
16866 | ||
16867 | String constants that would normally evaluate to 0 or 1 are warned | |
16868 | about. | |
16869 | ||
16870 | =end original | |
16871 | ||
16872 | 通常 0 か 1 に評価される文字列定数は警告されます。 | |
16873 | ||
16874 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ | |
16875 | ||
16876 | =begin original | |
16877 | ||
16878 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do | |
16879 | so is futile. | |
16880 | ||
16881 | =end original | |
16882 | ||
16883 | (W regexp) | |
16884 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
16885 | そうしようとしても無効です。 | |
16886 | ||
8595 | 16887 | =item Useless use of "re" pragma |
8596 | 16888 | |
8597 | 16889 | =begin original |
8598 | 16890 | |
8599 | (W) You did C<use re;> without any arguments. | |
16891 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
8600 | 16892 | |
8601 | 16893 | =end original |
8602 | 16894 | |
8603 | 16895 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
8604 | 16896 | |
16897 | =item Useless use of %s with no values | |
16898 | ||
16899 | =begin original | |
16900 | ||
16901 | (W syntax) You used the push() or unshift() function with no arguments | |
16902 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
16903 | usually have any effect on the array, so is completely useless. It's | |
16904 | possible in principle that push(@tied_array) could have some effect | |
16905 | if the array is tied to a class which implements a PUSH method. If so, | |
16906 | you can write it as C<push(@tied_array,())> to avoid this warning. | |
16907 | ||
16908 | =end original | |
16909 | ||
16910 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や | |
16911 | unshift() 関数を、配列以外の引数なしで使いました。 | |
16912 | これは普通は配列に何の影響も与えないので、完全に無意味です。 | |
16913 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては | |
16914 | push(@tied_array) が何らかの効果を持つ可能性はあります。 | |
16915 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を | |
16916 | 回避できます。 | |
16917 | ||
8605 | 16918 | =item "use" not allowed in expression |
8606 | 16919 | |
8607 | 16920 | =begin original |
8608 | 16921 | |
8609 | 16922 | (F) The "use" keyword is recognized and executed at compile time, and |
8610 | 16923 | returns no useful value. See L<perlmod>. |
8611 | 16924 | |
8612 | 16925 | =end original |
8613 | 16926 | |
8614 | 16927 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
8615 | 16928 | 意味のある値を返しません。 |
8616 | 16929 | L<perlmod> を参照してください。 |
8617 | 16930 | |
8618 | =item Use of | |
16931 | =item Use of @_ in %s with signatured subroutine is experimental | |
8619 | 16932 | |
8620 | 16933 | =begin original |
8621 | 16934 | |
8622 | ( | |
16935 | (S experimental::args_array_with_signatures) An expression involving the | |
8623 | ||
16936 | C<@_> arguments array was found in a subroutine that uses a signature. | |
16937 | This is experimental because the interaction between the arguments | |
16938 | array and parameter handling via signatures is not guaranteed to remain | |
16939 | stable in any future version of Perl, and such code should be avoided. | |
8624 | 16940 | |
8625 | 16941 | =end original |
8626 | 16942 | |
8627 | ( | |
16943 | (S experimental::args_array_with_signatures) An expression involving the | |
8628 | ||
16944 | C<@_> arguments array was found in a subroutine that uses a signature. | |
16945 | 引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、 | |
16946 | 将来のバージョンの Perl でも安定なままであることが保証されておらず、 | |
16947 | そのようなコードは避けるべきなため、これは実験的です。 | |
8629 | 16948 | |
8630 | =item Use of | |
16949 | =item Use of bare << to mean <<"" is forbidden | |
8631 | 16950 | |
8632 | 16951 | =begin original |
8633 | 16952 | |
8634 | ( | |
16953 | (F) You are now required to use the explicitly quoted form if you wish | |
8635 | ||
16954 | to use an empty line as the terminator of the here-document. | |
8636 | of a split() explicitly to an array (or list). | |
8637 | 16955 | |
8638 | 16956 | =end original |
8639 | 16957 | |
8640 | ( | |
16958 | (F) ヒアドキュメントの終端子として空行を使いたいときには、明示的に | |
8641 | ||
16959 | クォートされた形を使うことが必要になりました。 | |
8642 | 代入を行なうようにしてください。 | |
8643 | 16960 | |
8644 | = | |
16961 | =begin original | |
8645 | 16962 | |
16963 | Use of a bare terminator was deprecated in Perl 5.000, and is a fatal | |
16964 | error as of Perl 5.28. | |
16965 | ||
16966 | =end original | |
16967 | ||
16968 | 裸の終端子は Perl 5.000 で廃止予定になっていて、 | |
16969 | Perl 5.28 から致命的エラーです。 | |
16970 | ||
16971 | =item Use of /c modifier is meaningless in s/// | |
16972 | ||
8646 | 16973 | =begin original |
8647 | 16974 | |
8648 | ( | |
16975 | (W regexp) You used the /c modifier in a substitution. The /c | |
8649 | ||
16976 | modifier is not presently meaningful in substitutions. | |
8650 | subroutines to be autoloaded were called as plain functions (e.g. | |
8651 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< | |
8652 | $obj->bar() >>). | |
8653 | 16977 | |
8654 | 16978 | =end original |
8655 | 16979 | |
8656 | ( | |
16980 | (W regexp) 置換で /c 修飾子を使いました。 | |
8657 | ||
16981 | /c は置換では現在のところ無意味です。 | |
8658 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
8659 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
8660 | 16982 | |
16983 | =item Use of /c modifier is meaningless without /g | |
16984 | ||
8661 | 16985 | =begin original |
8662 | 16986 | |
8663 | ||
16987 | (W regexp) You used the /c modifier with a regex operand, but didn't | |
8664 | ||
16988 | use the /g modifier. Currently, /c is meaningful only when /g is | |
8665 | ||
16989 | used. (This may change in the future.) | |
8666 | currently issues an optional warning when non-methods use inherited | |
8667 | C<AUTOLOAD>s. | |
8668 | 16990 | |
8669 | 16991 | =end original |
8670 | 16992 | |
8671 | ||
16993 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は | |
8672 | ||
16994 | 使いませんでした。 | |
8673 | ||
16995 | 現在のところ、/c は /g が使われたときにのみ有効です。 | |
8674 | ||
16996 | (これは将来変更されるかもしれません。) | |
8675 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
8676 | 発生させます。 | |
8677 | 16997 | |
16998 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
16999 | ||
17000 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
17001 | in regex; marked by <-- HERE in m/%s/ | |
17002 | ||
8678 | 17003 | =begin original |
8679 | 17004 | |
8680 | ||
17005 | (F) You used a code point that is not allowed, because it is too large. | |
8681 | no | |
17006 | Unicode only allows code points up to 0x10FFFF, but Perl allows much | |
8682 | ||
17007 | larger ones. Earlier versions of Perl allowed code points above IV_MAX | |
8683 | n | |
17008 | (0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms), | |
8684 | ||
17009 | however, this could possibly break the perl interpreter in some constructs, | |
17010 | including causing it to hang in a few cases. | |
8685 | 17011 | |
8686 | 17012 | =end original |
8687 | 17013 | |
8688 | ||
17014 | (F) 大きすぎるので許されない符号位置を使いました。 | |
8689 | ||
17015 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 | |
8690 | ||
17016 | Perl は遙かに大きいものを許します。 | |
8691 | ||
17017 | 以前のバージョンの Perl は | |
17018 | IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは | |
17019 | 0x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、 | |
17020 | これは一部の構文で perl インタプリタを壊すことがあり、 | |
17021 | 場合によってはハングアップすることがありました。 | |
8692 | 17022 | |
8693 | 17023 | =begin original |
8694 | 17024 | |
8695 | I | |
17025 | If your code is to run on various platforms, keep in mind that the upper | |
8696 | ||
17026 | limit depends on the platform. It is much larger on 64-bit word sizes | |
8697 | ||
17027 | than 32-bit ones. | |
8698 | 17028 | |
8699 | 17029 | =end original |
8700 | 17030 | |
8701 | ||
17031 | コードが様々なプラットフォームで実行するためのものなら、 | |
8702 | ||
17032 | 上限がプラットフォームに依存していることを心に留めておいてください。 | |
8703 | ||
17033 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 | |
8704 | 17034 | |
17035 | =begin original | |
17036 | ||
17037 | The use of out of range code points was deprecated in Perl 5.24, and | |
17038 | became a fatal error in Perl 5.28. | |
17039 | ||
17040 | =end original | |
17041 | ||
17042 | 範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、 | |
17043 | Perl 5.28 で致命的エラーになりました。 | |
17044 | ||
17045 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
17046 | ||
17047 | =begin original | |
17048 | ||
17049 | (S internal) The behavior of C<each()> after insertion is undefined; | |
17050 | it may skip items, or visit items more than once. Consider using | |
17051 | C<keys()> instead of C<each()>. | |
17052 | ||
17053 | =end original | |
17054 | ||
17055 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを | |
17056 | 読み飛ばしたり、複数回読んだりします。 | |
17057 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
17058 | ||
17059 | =item Use of := for an empty attribute list is not allowed | |
17060 | ||
17061 | =begin original | |
17062 | ||
17063 | (F) The construction C<my $x := 42> used to parse as equivalent to | |
17064 | C<my $x : = 42> (applying an empty attribute list to C<$x>). | |
17065 | This construct was deprecated in 5.12.0, and has now been made a syntax | |
17066 | error, so C<:=> can be reclaimed as a new operator in the future. | |
17067 | ||
17068 | =end original | |
17069 | ||
17070 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました | |
17071 | (C<$x> に空の属性リストを適用する)。 | |
17072 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 | |
17073 | C<:=> は将来新しい演算子として再利用できます。 | |
17074 | ||
17075 | =begin original | |
17076 | ||
17077 | If you need an empty attribute list, for example in a code generator, add | |
17078 | a space before the C<=>. | |
17079 | ||
17080 | =end original | |
17081 | ||
17082 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に | |
17083 | スペースを加えてください。 | |
17084 | ||
17085 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
17086 | ||
17087 | =begin original | |
17088 | ||
17089 | (W locale) You are matching a regular expression using locale rules, | |
17090 | and the specified construct was encountered. This construct is only | |
17091 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
17092 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
17093 | the results are likely to be wrong. | |
17094 | ||
17095 | =end original | |
17096 | ||
17097 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
17098 | 指定した構文が出現しました。 | |
17099 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
17100 | これは意味がありません。 | |
17101 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
17102 | 結果はおそらく間違ったものです。 | |
17103 | ||
17104 | =item Use of freed value in iteration | |
17105 | ||
17106 | =begin original | |
17107 | ||
17108 | (F) Perhaps you modified the iterated array within the loop? | |
17109 | This error is typically caused by code like the following: | |
17110 | ||
17111 | =end original | |
17112 | ||
17113 | (F) おそらくループの中で反復される配列を変更したのでは? | |
17114 | このエラーは典型的には以下のようなコードで発生します: | |
17115 | ||
17116 | @a = (3,4); | |
17117 | @a = () for (1,2,@a); | |
17118 | ||
17119 | =begin original | |
17120 | ||
17121 | You are not supposed to modify arrays while they are being iterated over. | |
17122 | For speed and efficiency reasons, Perl internally does not do full | |
17123 | reference-counting of iterated items, hence deleting such an item in the | |
17124 | middle of an iteration causes Perl to see a freed value. | |
17125 | ||
17126 | =end original | |
17127 | ||
17128 | 反復中の配列は変更してはいけないことになっています。 | |
17129 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを | |
17130 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は | |
17131 | 解放された値を見ることになります。 | |
17132 | ||
17133 | =item Use of /g modifier is meaningless in split | |
17134 | ||
17135 | =begin original | |
17136 | ||
17137 | (W regexp) You used the /g modifier on the pattern for a C<split> | |
17138 | operator. Since C<split> always tries to match the pattern | |
17139 | repeatedly, the C</g> has no effect. | |
17140 | ||
17141 | =end original | |
17142 | ||
17143 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 | |
17144 | C<split> は常にパターンを繰り返しマッチングしようとするので、 | |
17145 | C</g> は効果がありません。 | |
17146 | ||
17147 | =item Use of "goto" to jump into a construct is deprecated | |
17148 | ||
17149 | =begin original | |
17150 | ||
17151 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
17152 | scope is deprecated and should be avoided. | |
17153 | ||
17154 | =end original | |
17155 | ||
17156 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を | |
17157 | 使うことは廃止予定であり、避けるべきです。 | |
17158 | ||
17159 | =begin original | |
17160 | ||
17161 | This was deprecated in Perl 5.12. | |
17162 | ||
17163 | =end original | |
17164 | ||
17165 | これは Perl 5.12 で廃止予定になりました。 | |
17166 | ||
17167 | =item Use of '%s' in \p{} or \P{} is deprecated because: %s | |
17168 | ||
17169 | =begin original | |
17170 | ||
17171 | (D deprecated) Certain properties are deprecated by Unicode, and may | |
17172 | eventually be removed from the Standard, at which time Perl will follow | |
17173 | along. In the meantime, this message is raised to notify you. | |
17174 | ||
17175 | =end original | |
17176 | ||
17177 | (D deprecated) 一部の特性は Unicode によって廃止予定とされており、 | |
17178 | 最終的に標準から削除されるかもしれません; その時点で Perl も追随します。 | |
17179 | 今のところは、通知のためにこのメッセージが発生します。 | |
17180 | ||
17181 | =item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed | |
17182 | ||
17183 | =begin original | |
17184 | ||
17185 | (F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as | |
17186 | methods (using the C<@ISA> hierarchy), even when the subroutines to be | |
17187 | autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as | |
17188 | methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>). | |
17189 | ||
17190 | =end original | |
17191 | ||
17192 | (F) 偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
17193 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
17194 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
17195 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索していました。 | |
17196 | ||
17197 | =begin original | |
17198 | ||
17199 | This was deprecated in Perl 5.004, and was made fatal in Perl 5.28. | |
17200 | ||
17201 | =end original | |
17202 | ||
17203 | この機能は Perl 5.004 で廃止予定になり、Perl 5.28 で致命的エラーになりました。 | |
17204 | ||
8705 | 17205 | =item Use of %s in printf format not supported |
8706 | 17206 | |
8707 | 17207 | =begin original |
8708 | 17208 | |
8709 | 17209 | (F) You attempted to use a feature of printf that is accessible from |
8710 | 17210 | only C. This usually means there's a better way to do it in Perl. |
8711 | 17211 | |
8712 | 17212 | =end original |
8713 | 17213 | |
8714 | 17214 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
8715 | 17215 | これは普通 Perl で行うより良い方法があります。 |
8716 | 17216 | |
8717 | =item Use of | |
17217 | =item Use of '%s' is deprecated as a string delimiter | |
8718 | 17218 | |
8719 | 17219 | =begin original |
8720 | 17220 | |
8721 | (D deprecated) | |
17221 | (D deprecated) You used the given character as a starting delimiter of a | |
8722 | ||
17222 | string outside the scope of S<C<use feature 'extra_paired_delimiters'>>. | |
8723 | ||
17223 | This character is the mirror image of another Unicode character; within | |
8724 | that | |
17224 | the scope of that feature, the two are considered a pair for delimitting | |
17225 | strings. It is planned to make that feature the default, at which point | |
17226 | this usage would become illegal; hence this warning. | |
8725 | 17227 | |
8726 | 17228 | =end original |
8727 | 17229 | |
8728 | (D) | |
17230 | (D deprecated) You used the given character as a starting delimiter of a | |
8729 | ||
17231 | string outside the scope of S<C<use feature 'extra_paired_delimiters'>>. | |
8730 | ||
17232 | This character is the mirror image of another Unicode character; within | |
8731 | ||
17233 | the scope of that feature, the two are considered a pair for delimitting | |
17234 | strings. It is planned to make that feature the default, at which point | |
17235 | this usage would become illegal; hence this warning. | |
17236 | (TBT) | |
8732 | 17237 | |
8733 | = | |
17238 | =begin original | |
8734 | 17239 | |
17240 | For now, you may live with this warning, or turn it off, but this code | |
17241 | will no longer compile in a future version of Perl. Or you can turn on | |
17242 | S<C<use feature 'extra_paired_delimiters'>> and use the character that | |
17243 | is the mirror image of this one for the closing string delimiter. | |
17244 | ||
17245 | =end original | |
17246 | ||
17247 | For now, you may live with this warning, or turn it off, but this code | |
17248 | will no longer compile in a future version of Perl. Or you can turn on | |
17249 | S<C<use feature 'extra_paired_delimiters'>> and use the character that | |
17250 | is the mirror image of this one for the closing string delimiter. | |
17251 | (TBT) | |
17252 | ||
17253 | =item Use of '%s' is experimental as a string delimiter | |
17254 | ||
8735 | 17255 | =begin original |
8736 | 17256 | |
8737 | ( | |
17257 | (S experimental::extra_paired_delimiters) This warning is emitted if | |
8738 | ||
17258 | you use as a string delimiter one of the non-ASCII mirror image ones | |
8739 | ||
17259 | enabled by S<C<use feature 'extra_paired_delimiters'>>. Simply suppress | |
17260 | the warning if you want to use the feature, but know that in doing so | |
17261 | you are taking the risk of using an experimental feature which may | |
17262 | change or be removed in a future Perl version: | |
8740 | 17263 | |
8741 | 17264 | =end original |
8742 | 17265 | |
8743 | ( | |
17266 | (S experimental::extra_paired_delimiters) This warning is emitted if | |
8744 | ||
17267 | you use as a string delimiter one of the non-ASCII mirror image ones | |
8745 | ||
17268 | enabled by S<C<use feature 'extra_paired_delimiters'>>. | |
17269 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
17270 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
17271 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
17272 | 取っていると言うことを知っておいてください: | |
8746 | 17273 | |
8747 | =item Use of | |
17274 | =item Use of %s is not allowed in Unicode property wildcard | |
17275 | subpatterns in regex; marked by S<<-- HERE> in m/%s/ | |
8748 | 17276 | |
8749 | 17277 | =begin original |
8750 | 17278 | |
8751 | ( | |
17279 | (F) You were using a wildcard subpattern a Unicode property value, and | |
8752 | ||
17280 | the subpattern contained something that is illegal. Not all regular | |
17281 | expression capabilities are legal in such subpatterns, and this is one. | |
17282 | Rewrite your subppattern to not use the offending construct. | |
17283 | See L<perlunicode/Wildcards in Property Values>. | |
8753 | 17284 | |
8754 | 17285 | =end original |
8755 | 17286 | |
8756 | ( | |
17287 | (F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か | |
8757 | もの | |
17288 | 不正なものが含まれていました。 | |
8758 | ||
17289 | このような部分パターンでは全ての正規表現機能が正当というわけではなく、 | |
17290 | これはその一つです。 | |
17291 | 問題となっている構文を使わないように部分パターンを書き換えてください。 | |
17292 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
8759 | 17293 | |
8760 | =item Use of | |
17294 | =item Use of -l on filehandle%s | |
8761 | 17295 | |
8762 | 17296 | =begin original |
8763 | 17297 | |
8764 | ( | |
17298 | (W io) A filehandle represents an opened file, and when you opened the file | |
8765 | ||
17299 | it already went past any symlink you are presumably trying to look for. | |
8766 | e | |
17300 | The operation returned C<undef>. Use a filename instead. | |
8767 | use, or using a different name altogether. The warning can be | |
8768 | suppressed for subroutine names by either adding a C<&> prefix, or using | |
8769 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. | |
8770 | 17301 | |
8771 | 17302 | =end original |
8772 | 17303 | |
8773 | ( | |
17304 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
8774 | ||
17305 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
8775 | ||
17306 | 既に通り過ぎた後です。 | |
8776 | ||
17307 | この操作は C<undef> を返します。 | |
8777 | ||
17308 | 代わりにファイル名を使ってください。 | |
8778 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
8779 | 17309 | |
17310 | =item Use of reference "%s" as array index | |
17311 | ||
17312 | =begin original | |
17313 | ||
17314 | (W misc) You tried to use a reference as an array index; this probably | |
17315 | isn't what you mean, because references in numerical context tend | |
17316 | to be huge numbers, and so usually indicates programmer error. | |
17317 | ||
17318 | =end original | |
17319 | ||
17320 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく | |
17321 | 望んでいることではないでしょう; なぜなら数値コンテキストでの | |
17322 | リファレンスはとても大きな数になることが多いので、普通はプログラマの | |
17323 | ミスを意味しています。 | |
17324 | ||
17325 | =begin original | |
17326 | ||
17327 | If you really do mean it, explicitly numify your reference, like so: | |
17328 | C<$array[0+$ref]>. This warning is not given for overloaded objects, | |
17329 | however, because you can overload the numification and stringification | |
17330 | operators and then you presumably know what you are doing. | |
17331 | ||
17332 | =end original | |
17333 | ||
17334 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に | |
17335 | 数値化してください。 | |
17336 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; | |
17337 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると | |
17338 | 仮定できるからです。 | |
17339 | ||
17340 | =item Use of strings with code points over 0xFF as arguments to %s | |
17341 | operator is not allowed | |
17342 | ||
17343 | =begin original | |
17344 | ||
17345 | (F) You tried to use one of the string bitwise operators (C<&> or C<|> or C<^> or | |
17346 | C<~>) on a string containing a code point over 0xFF. The string bitwise | |
17347 | operators treat their operands as strings of bytes, and values beyond | |
17348 | 0xFF are nonsensical in this context. | |
17349 | ||
17350 | =end original | |
17351 | ||
17352 | (F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを | |
17353 | 0xFF を超える符号位置を含む文字列に使おうとしました。 | |
17354 | ビット単位文字列演算子はオペランドをバイト文字列として扱い、 | |
17355 | 0xFF を超える値はこの文脈では無意味です。 | |
17356 | ||
17357 | =begin original | |
17358 | ||
17359 | Certain instances became fatal in Perl 5.28; others in perl 5.32. | |
17360 | ||
17361 | =end original | |
17362 | ||
17363 | 一部は Perl 5.28 で致命的エラーになりました; 残りは perl 5.32 です。 | |
17364 | ||
17365 | =item Use of strings with code points over 0xFF as arguments to vec is forbidden | |
17366 | ||
17367 | =begin original | |
17368 | ||
17369 | (F) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> | |
17370 | on a string containing a code point over 0xFF, which is nonsensical here. | |
17371 | ||
17372 | =end original | |
17373 | ||
17374 | (F) 0xFF を超える符号位置を含む文字列に対して | |
17375 | L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました; | |
17376 | これはここでは意味がありません。 | |
17377 | ||
17378 | =begin original | |
17379 | ||
17380 | This became fatal in Perl 5.32. | |
17381 | ||
17382 | =end original | |
17383 | ||
17384 | これは Perl 5.32 で致命的エラーになりました。 | |
17385 | ||
17386 | =item Use of tainted arguments in %s is deprecated | |
17387 | ||
17388 | =begin original | |
17389 | ||
17390 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple | |
17391 | arguments and at least one of them is tainted. This used to be allowed | |
17392 | but will become a fatal error in a future version of perl. Untaint your | |
17393 | arguments. See L<perlsec>. | |
17394 | ||
17395 | =end original | |
17396 | ||
17397 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 | |
17398 | そのうち少なくとも一つが汚染されています。 | |
17399 | これは許されていましたが、将来のバージョンの perl では致命的エラーに | |
17400 | なるでしょう。 | |
17401 | 引数を浄化してください。 | |
17402 | L<perlsec> を参照してください。 | |
17403 | ||
17404 | =item Use of unassigned code point or non-standalone grapheme for a | |
17405 | delimiter is not allowed | |
17406 | ||
17407 | =begin original | |
17408 | ||
17409 | (F) | |
17410 | A grapheme is what appears to a native-speaker of a language to be a | |
17411 | character. In Unicode (and hence Perl) a grapheme may actually be | |
17412 | several adjacent characters that together form a complete grapheme. For | |
17413 | example, there can be a base character, like "R" and an accent, like a | |
17414 | circumflex "^", that appear when displayed to be a single character with | |
17415 | the circumflex hovering over the "R". Perl currently allows things like | |
17416 | that circumflex to be delimiters of strings, patterns, I<etc>. When | |
17417 | displayed, the circumflex would look like it belongs to the character | |
17418 | just to the left of it. In order to move the language to be able to | |
17419 | accept graphemes as delimiters, we cannot allow the use of | |
17420 | delimiters which aren't graphemes by themselves. Also, a delimiter must | |
17421 | already be assigned (or known to be never going to be assigned) to try | |
17422 | to future-proof code, for otherwise code that works today would fail to | |
17423 | compile if the currently unassigned delimiter ends up being something | |
17424 | that isn't a stand-alone grapheme. Because Unicode is never going to | |
17425 | assign | |
17426 | L<non-character code points|perlunicode/Noncharacter code points>, nor | |
17427 | L<code points that are above the legal Unicode maximum| | |
17428 | perlunicode/Beyond Unicode code points>, those can be delimiters, and | |
17429 | their use is legal. | |
17430 | ||
17431 | =end original | |
17432 | ||
17433 | (F) | |
17434 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 | |
17435 | Unicode (従って Perl) では、 | |
17436 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する | |
17437 | 文字かもしれません。 | |
17438 | 例えば、"R" のような基底文字と曲折アクセント "^" のような | |
17439 | アクセントかもしれません; これは表示されるときには | |
17440 | "R" の上に曲折アクセントがある単一の文字となります。 | |
17441 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの | |
17442 | 区切り文字にすることを許しています。 | |
17443 | 表示されるとき、曲折アクセントは、 | |
17444 | そのすぐ左にある文字に付属するかのように見えます。 | |
17445 | 言語が書記素を区切り文字として受けいられられるようにするために、 | |
17446 | それ自体が書記素でない区切り文字の使用は認められません。 | |
17447 | また、区切り文字は将来も動作するコードであり続けるために、 | |
17448 | 既に割り当てられている(または決して割り当てられないと分かっている) | |
17449 | ものでなければなりません; | |
17450 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに | |
17451 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 | |
17452 | Unicode は決して | |
17453 | L<非文字符号位置|perlunicode/Noncharacter code points> や | |
17454 | L<正当な Unicode の最大値より大きな符号位置| | |
17455 | perlunicode/Beyond Unicode code points> を割り当てないので、 | |
17456 | これらは区切り文字になることができ、これらの使用は正当です。 | |
17457 | ||
8780 | 17458 | =item Use of uninitialized value%s |
8781 | 17459 | |
8782 | 17460 | =begin original |
8783 | 17461 | |
8784 | 17462 | (W uninitialized) An undefined value was used as if it were already |
8785 | 17463 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
8786 | 17464 | To suppress this warning assign a defined value to your variables. |
8787 | 17465 | |
8788 | 17466 | =end original |
8789 | 17467 | |
8790 | 17468 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
8791 | 17469 | 使用しました。 |
8792 | 17470 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
8793 | 17471 | この警告を止めるには、変数に定義された値を代入してください。 |
8794 | 17472 | |
8795 | 17473 | =begin original |
8796 | 17474 | |
8797 | To help you figure out what was undefined, perl | |
17475 | To help you figure out what was undefined, perl will try to tell you | |
8798 | ||
17476 | the name of the variable (if any) that was undefined. In some cases | |
8799 | ||
17477 | it cannot do this, so it also tells you what operation you used the | |
8800 | ||
17478 | undefined value in. Note, however, that perl optimizes your program | |
8801 | ||
17479 | and the operation displayed in the warning may not necessarily appear | |
8802 | t | |
17480 | literally in your program. For example, C<"that $foo"> is usually | |
8803 | p | |
17481 | optimized into C<"that " . $foo>, and the warning will refer to the | |
17482 | C<concatenation (.)> operator, even though there is no C<.> in | |
17483 | your program. | |
8804 | 17484 | |
8805 | 17485 | =end original |
8806 | 17486 | |
8807 | ||
17487 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である | |
8808 | ||
17488 | 変数名を示します。 | |
8809 | ||
17489 | それができないような場合では、未定義値を使った操作を示します。 | |
8810 | ||
17490 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に | |
8811 | ||
17491 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 | |
8812 | ||
17492 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 | |
8813 | ||
17493 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が | |
17494 | 出ます。 | |
8814 | 17495 | |
17496 | =item "use re 'strict'" is experimental | |
17497 | ||
17498 | =begin original | |
17499 | ||
17500 | (S experimental::re_strict) The things that are different when a regular | |
17501 | expression pattern is compiled under C<'strict'> are subject to change | |
17502 | in future Perl releases in incompatible ways. This means that a pattern | |
17503 | that compiles today may not in a future Perl release. This warning is | |
17504 | to alert you to that risk. | |
17505 | ||
17506 | =end original | |
17507 | ||
17508 | (S experimental::re_strict) 正規表現が C<'strict'> の基で | |
17509 | コンパイルされたときに何が異なるかは、 | |
17510 | 将来の Perl のリリースで互換性のない形で変更される予定です。 | |
17511 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは | |
17512 | 違うかもしれません。 | |
17513 | この警告はそのリスクを知らせるためのものです。 | |
17514 | ||
17515 | =item Use \x{...} for more than two hex characters in regex; marked by | |
17516 | S<<-- HERE> in m/%s/ | |
17517 | ||
17518 | =begin original | |
17519 | ||
17520 | (F) In a regular expression, you said something like | |
17521 | ||
17522 | =end original | |
17523 | ||
17524 | (F) 正規表現で、以下のようなことをしました | |
17525 | ||
17526 | (?[ [ \xBEEF ] ]) | |
17527 | ||
17528 | =begin original | |
17529 | ||
17530 | Perl isn't sure if you meant this | |
17531 | ||
17532 | =end original | |
17533 | ||
17534 | Perl は、これが以下のものを意味しているのか | |
17535 | ||
17536 | (?[ [ \x{BEEF} ] ]) | |
17537 | ||
17538 | =begin original | |
17539 | ||
17540 | or if you meant this | |
17541 | ||
17542 | =end original | |
17543 | ||
17544 | それとも次のものかがわかりません。 | |
17545 | ||
17546 | (?[ [ \x{BE} E F ] ]) | |
17547 | ||
17548 | =begin original | |
17549 | ||
17550 | You need to add either braces or blanks to disambiguate. | |
17551 | ||
17552 | =end original | |
17553 | ||
17554 | 明確にするために大かっこか空白を追加する必要があります。 | |
17555 | ||
17556 | =item Using just the first character returned by \N{} in character class in | |
17557 | regex; marked by S<<-- HERE> in m/%s/ | |
17558 | ||
17559 | =begin original | |
17560 | ||
17561 | (W regexp) Named Unicode character escapes C<(\N{...})> may return | |
17562 | a multi-character sequence. Even though a character class is | |
17563 | supposed to match just one character of input, perl will match | |
17564 | the whole thing correctly, except when the class is inverted | |
17565 | (C<[^...]>), or the escape is the beginning or final end point of | |
17566 | a range. For these, what should happen isn't clear at all. In | |
17567 | these circumstances, Perl discards all but the first character | |
17568 | of the returned sequence, which is not likely what you want. | |
17569 | ||
17570 | =end original | |
17571 | ||
17572 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は | |
17573 | 複数文字並びを返すことがあります。 | |
17574 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
17575 | perl は全体を正しくマッチングします; 但し例外は、 | |
17576 | クラスが反転された場合 (C<[^...]>) と、 | |
17577 | エスケープが範囲の始点か終点の場合です。 | |
17578 | これらの場合、何をするべきかは全く明らかではありません。 | |
17579 | このため、Perl は返された並びの最初以外の文字を捨てます; | |
17580 | おそらくこれはあなたが求めているものではないでしょう。 | |
17581 | ||
17582 | =item Using just the single character results returned by \p{} in | |
17583 | (?[...]) in regex; marked by S<<-- HERE> in m/%s/ | |
17584 | ||
17585 | =begin original | |
17586 | ||
17587 | (W regexp) Extended character classes currently cannot handle operands | |
17588 | that evaluate to more than one character. These are removed from the | |
17589 | results of the expansion of the C<\p{}>. | |
17590 | ||
17591 | =end original | |
17592 | ||
17593 | (W regexp) 拡張文字クラスは、現在の所、複数の文字に評価されるオペランドを | |
17594 | 扱うことは出来ません。 | |
17595 | これらは C<\p{}> の拡張の結果から取り除かれました。 | |
17596 | ||
17597 | =begin original | |
17598 | ||
17599 | This situation can happen, for example, in | |
17600 | ||
17601 | =end original | |
17602 | ||
17603 | この状況は、例えば次の場合に起こります: | |
17604 | ||
17605 | (?[ \p{name=/KATAKANA/} ]) | |
17606 | ||
17607 | =begin original | |
17608 | ||
17609 | "KATAKANA LETTER AINU P" is a legal Unicode name (technically a "named | |
17610 | sequence"), but it is actually two characters. The above expression | |
17611 | with match only the Unicode names containing KATAKANA that represent | |
17612 | single characters. | |
17613 | ||
17614 | =end original | |
17615 | ||
17616 | "KATAKANA LETTER AINU P" は正当な Unicode 名 (技術的には「名前付き並び」)ですが、 | |
17617 | 実際には二つの文字です。 | |
17618 | 前述の式は、単一の文字を表現する KATAKANA を含む Unicode 名のみに | |
17619 | マッチングします。 | |
17620 | ||
17621 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ | |
17622 | ||
17623 | =begin original | |
17624 | ||
17625 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a | |
17626 | portion of a regular expression where the character set modifiers C</a> | |
17627 | or C</aa> are in effect. These two modifiers indicate an ASCII | |
17628 | interpretation, and this doesn't make sense for a Unicode definition. | |
17629 | The generated regular expression will compile so that the boundary uses | |
17630 | all of Unicode. No other portion of the regular expression is affected. | |
17631 | ||
17632 | =end original | |
17633 | ||
17634 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で | |
17635 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 | |
17636 | これら二つの修飾子は ASCII での解釈を示していて、これは | |
17637 | Unicode の定義では意味がありません。 | |
17638 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 | |
17639 | 正規表現のその他の部分は影響を受けません。 | |
17640 | ||
17641 | =item Using !~ with %s doesn't make sense | |
17642 | ||
17643 | =begin original | |
17644 | ||
17645 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is | |
17646 | currently reserved for future use, as the exact behavior has not | |
17647 | been decided. (Simply returning the boolean opposite of the | |
17648 | modified string is usually not particularly useful.) | |
17649 | ||
17650 | =end original | |
17651 | ||
17652 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが | |
17653 | まだ決定されていないので、将来の使用のために予約されています。 | |
17654 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
17655 | 有用ではありません。) | |
17656 | ||
17657 | =item UTF-16 surrogate U+%X | |
17658 | ||
17659 | =begin original | |
17660 | ||
17661 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
17662 | not considered acceptable. These code points, between U+D800 and | |
17663 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
17664 | internally allows all unsigned integer code points (up to the size limit | |
17665 | available on your platform), including surrogates. But these can cause | |
17666 | problems when being input or output, which is likely where this message | |
17667 | came from. If you really really know what you are doing you can turn | |
17668 | off this warning by C<no warnings 'surrogate';>. | |
17669 | ||
17670 | =end original | |
17671 | ||
17672 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
17673 | 使いました。 | |
17674 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
17675 | Unicode によって使われます。 | |
17676 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
17677 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
17678 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
17679 | おそらくこのメッセージが出た場所です。 | |
17680 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
17681 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
17682 | ||
8815 | 17683 | =item Value of %s can be "0"; test with defined() |
8816 | 17684 | |
8817 | 17685 | =begin original |
8818 | 17686 | |
8819 | 17687 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
8820 | 17688 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
8821 | 17689 | can return a value of "0"; that would make the conditional expression |
8822 | 17690 | false, which is probably not what you intended. When using these |
8823 | 17691 | constructs in conditional expressions, test their values with the |
8824 | 17692 | C<defined> operator. |
8825 | 17693 | |
8826 | 17694 | =end original |
8827 | 17695 | |
8828 | 17696 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
8829 | 17697 | 真偽値として使いました。 |
8830 | 17698 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
8831 | 17699 | これはおそらく望んでいることではないでしょう。 |
8832 | 17700 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
8833 | 17701 | テストしてください。 |
8834 | 17702 | |
8835 | 17703 | =item Value of CLI symbol "%s" too long |
8836 | 17704 | |
8837 | 17705 | =begin original |
8838 | 17706 | |
8839 | 17707 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
8840 | 17708 | %ENV element from a CLI symbol table, and found a resultant string |
8841 | 17709 | longer than 1024 characters. The return value has been truncated to |
8842 | 17710 | 1024 characters. |
8843 | 17711 | |
8844 | 17712 | =end original |
8845 | 17713 | |
8846 | (W misc) VMS 固有の警告です。 | |
17714 | (W misc) VMS に固有の警告です。 | |
8847 | 17715 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
8848 | 17716 | 結果の文字列が 1024 文字を越えました。 |
8849 | 17717 | 返り値は 1024 文字に切り詰められます。 |
8850 | 17718 | |
17719 | =item Variable "%s" is not available | |
17720 | ||
17721 | =begin original | |
17722 | ||
17723 | (W closure) During compilation, an inner named subroutine or eval is | |
17724 | attempting to capture an outer lexical that is not currently available. | |
17725 | This can happen for one of two reasons. First, the outer lexical may be | |
17726 | declared in an outer anonymous subroutine that has not yet been created. | |
17727 | (Remember that named subs are created at compile time, while anonymous | |
17728 | subs are created at run-time.) For example, | |
17729 | ||
17730 | =end original | |
17731 | ||
17732 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が | |
17733 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 | |
17734 | これは二つの理由で起こります。 | |
17735 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで | |
17736 | 定義されている場合です。 | |
17737 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
17738 | 実行時に作成されることを思い出してください。) | |
17739 | 例えば、 | |
17740 | ||
17741 | sub { my $a; sub f { $a } } | |
17742 | ||
17743 | =begin original | |
17744 | ||
17745 | At the time that f is created, it can't capture the current value of $a, | |
17746 | since the anonymous subroutine hasn't been created yet. Conversely, | |
17747 | the following won't give a warning since the anonymous subroutine has by | |
17748 | now been created and is live: | |
17749 | ||
17750 | =end original | |
17751 | ||
17752 | f が作成された時点で、$a の現在の値を捕捉できません; | |
17753 | なぜなら無名サブルーチンはまだ作成されていないからです。 | |
17754 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
17755 | 生きているからです: | |
17756 | ||
17757 | sub { my $a; eval 'sub f { $a }' }->(); | |
17758 | ||
17759 | =begin original | |
17760 | ||
17761 | The second situation is caused by an eval accessing a variable that has | |
17762 | gone out of scope, for example, | |
17763 | ||
17764 | =end original | |
17765 | ||
17766 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; | |
17767 | 例えば: | |
17768 | ||
17769 | sub f { | |
17770 | my $a; | |
17771 | sub { eval '$a' } | |
17772 | } | |
17773 | f()->(); | |
17774 | ||
17775 | =begin original | |
17776 | ||
17777 | Here, when the '$a' in the eval is being compiled, f() is not currently | |
17778 | being executed, so its $a is not available for capture. | |
17779 | ||
17780 | =end original | |
17781 | ||
17782 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ | |
17783 | 実行されていないので、この $a は捕捉出来ません。 | |
17784 | ||
8851 | 17785 | =item Variable "%s" is not imported%s |
8852 | 17786 | |
8853 | 17787 | =begin original |
8854 | 17788 | |
8855 | ( | |
17789 | (S misc) With "use strict" in effect, you referred to a global variable | |
8856 | you apparently thought was imported from another module, because | |
17790 | that you apparently thought was imported from another module, because | |
8857 | 17791 | something else of the same name (usually a subroutine) is exported by |
8858 | 17792 | that module. It usually means you put the wrong funny character on the |
8859 | front of your variable. | |
17793 | front of your variable. It is also possible you used an "our" variable | |
17794 | whose scope has ended. | |
8860 | 17795 | |
8861 | 17796 | =end original |
8862 | 17797 | |
8863 | ( | |
17798 | (S misc) "use strict" が有効のときに、見たところ他のモジュールから | |
8864 | 17799 | インポートされたとあなたが考えたグローバル変数を参照しました; |
8865 | 17800 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
8866 | 17801 | エクスポートされています。 |
8867 | 17802 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
17803 | スコープが終わっている "our" 変数を使った可能性もあります。 | |
8868 | 17804 | |
8869 | =item | |
17805 | =item Variable length lookbehind not implemented in regex m/%s/ | |
8870 | 17806 | |
8871 | 17807 | =begin original |
8872 | 17808 | |
8873 | ( | |
17809 | (F) B<This message no longer should be raised as of Perl 5.30.> It is | |
8874 | ||
17810 | retained in this document as a convenience for people using an earlier | |
8875 | ||
17811 | Perl version. | |
8876 | earlier variable will still exist until the end of the scope or until | |
8877 | all closure referents to it are destroyed. | |
8878 | 17812 | |
8879 | 17813 | =end original |
8880 | 17814 | |
8881 | ( | |
17815 | (F) B<このメッセージは Perl 5.30 からもはや発生しません。> | |
8882 | ||
17816 | これはより古いバージョンの Perl を使っている人々が便利なように | |
8883 | こ | |
17817 | この文書に残しています。 | |
8884 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
8885 | 破壊されるまでは存在し続けることに注意してください。 | |
8886 | 17818 | |
8887 | = | |
17819 | =begin original | |
8888 | 17820 | |
17821 | In Perl 5.30 and earlier, lookbehind is allowed | |
17822 | only for subexpressions whose length is fixed and | |
17823 | known at compile time. For positive lookbehind, you can use the C<\K> | |
17824 | regex construct as a way to get the equivalent functionality. See | |
17825 | L<(?<=pattern) and \K in perlre|perlre/\K>. | |
17826 | ||
17827 | =end original | |
17828 | ||
17829 | Perl 5.30 以前では、後方参照は長さが固定で、 | |
17830 | コンパイル時に確定している副式に対してのみ可能です。 | |
17831 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 | |
17832 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 | |
17833 | ||
8889 | 17834 | =begin original |
8890 | 17835 | |
8891 | ||
17836 | Starting in Perl 5.18, there are non-obvious Unicode rules under C</i> | |
8892 | ||
17837 | that can match variably, but which you might not think could. For | |
8893 | a | |
17838 | example, the substring C<"ss"> can match the single character LATIN | |
8894 | ||
17839 | SMALL LETTER SHARP S. Here's a complete list of the current ones | |
17840 | affecting ASCII characters: | |
8895 | 17841 | |
8896 | 17842 | =end original |
8897 | 17843 | |
8898 | ||
17844 | Perl 5.18 から、C</i> の下では、おそらくあなたが考えていないような | |
8899 | ||
17845 | 種類のものにマッチングするという、明確でない Unicode の規則があります。 | |
8900 | ||
17846 | 例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に | |
8901 | ||
17847 | マッチングします。 | |
8902 | ||
17848 | 以下は ASCII 文字に影響を与える現在のものの完全な一覧です: | |
8903 | 17849 | |
8904 | | |
17850 | ASCII | |
17851 | sequence Matches single letter under /i | |
17852 | FF U+FB00 LATIN SMALL LIGATURE FF | |
17853 | FFI U+FB03 LATIN SMALL LIGATURE FFI | |
17854 | FFL U+FB04 LATIN SMALL LIGATURE FFL | |
17855 | FI U+FB01 LATIN SMALL LIGATURE FI | |
17856 | FL U+FB02 LATIN SMALL LIGATURE FL | |
17857 | SS U+00DF LATIN SMALL LETTER SHARP S | |
17858 | U+1E9E LATIN CAPITAL LETTER SHARP S | |
17859 | ST U+FB06 LATIN SMALL LIGATURE ST | |
17860 | U+FB05 LATIN SMALL LIGATURE LONG S T | |
8905 | 17861 | |
8906 | 17862 | =begin original |
8907 | 17863 | |
8908 | ||
17864 | This list is subject to change, but is quite unlikely to. | |
8909 | ||
17865 | Each ASCII sequence can be any combination of upper- and lowercase. | |
8910 | you would expect. But if the anonymous subroutine is called or | |
8911 | referenced when the outermost subroutine is not active, it will see the | |
8912 | value of the shared variable as it was before and during the *first* | |
8913 | call to the outermost subroutine, which is probably not what you want. | |
8914 | 17866 | |
8915 | 17867 | =end original |
8916 | 17868 | |
8917 | ||
17869 | この一覧は変更されるかもしれませんが、かなり起こりにくいです。 | |
8918 | ||
17870 | それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。 | |
8919 | しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり | |
8920 | リファレンスされたりすると、共有された変数の値は一番外側のサブルーチンへの | |
8921 | 最初の呼び出し前および呼び出し中のものになります; | |
8922 | これはおそらく望んでいることではないでしょう。 | |
8923 | 17871 | |
8924 | 17872 | =begin original |
8925 | 17873 | |
8926 | ||
17874 | You can avoid this by using a bracketed character class in the | |
8927 | ||
17875 | lookbehind assertion, like | |
8928 | shared variables in nested anonymous subroutines; a named subroutine in | |
8929 | between interferes with this feature. | |
8930 | 17876 | |
8931 | 17877 | =end original |
8932 | 17878 | |
8933 | ||
17879 | 次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます: | |
8934 | 無名にするのが最良です。 | |
8935 | Perl はネストした無名サブルーチンで変数を共有する機能をサポートしています; | |
8936 | この機能のインターフェースの間の名前付きサブルーチンです。 | |
8937 | 17880 | |
17881 | (?<![sS]t) | |
17882 | (?<![fF]f[iI]) | |
17883 | ||
17884 | =begin original | |
17885 | ||
17886 | This fools Perl into not matching the ligatures. | |
17887 | ||
17888 | =end original | |
17889 | ||
17890 | これは合字にマッチングしないように Perl を騙します。 | |
17891 | ||
17892 | =begin original | |
17893 | ||
17894 | Another option for Perls starting with 5.16, if you only care about | |
17895 | ASCII matches, is to add the C</aa> modifier to the regex. This will | |
17896 | exclude all these non-obvious matches, thus getting rid of this message. | |
17897 | You can also say | |
17898 | ||
17899 | =end original | |
17900 | ||
17901 | Perl v5.16 からのもう一つの選択肢は、 | |
17902 | もし ASCII のマッチングにだけ関心があるのなら、 | |
17903 | 正規表現に C</aa> を追加することです。 | |
17904 | これにより、明確でないマッチングを全て | |
17905 | 除くことができるので、このメッセージを避けられます。 | |
17906 | また、次のようにすることで: | |
17907 | ||
17908 | use if $] ge 5.016, re => '/aa'; | |
17909 | ||
17910 | =begin original | |
17911 | ||
17912 | to apply C</aa> to all regular expressions compiled within its scope. | |
17913 | See L<re>. | |
17914 | ||
17915 | =end original | |
17916 | ||
17917 | スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。 | |
17918 | L<re> を参照してください。 | |
17919 | ||
17920 | =item Variable length positive lookbehind with capturing is experimental in regex m/%s/ | |
17921 | ||
17922 | =begin original | |
17923 | ||
17924 | (W) Variable length positive lookbehind with capturing is not well defined. This | |
17925 | warning alerts you to the fact that you are using a construct which may | |
17926 | change in a future version of perl. See the | |
17927 | L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >> | |
17928 | for details. You may silence this warning with the following: | |
17929 | ||
17930 | =end original | |
17931 | ||
17932 | (W) 捕捉バッファ付きの正の可変長後読みは未定義です。 | |
17933 | この警告は、将来のバージョンの perl で変更されるかも知れない構文を | |
17934 | 使っているという事実を警告します。 | |
17935 | 詳しくは | |
17936 | L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >> | |
17937 | を参照してください。 | |
17938 | 次のようにすることでこの警告を消せます: | |
17939 | ||
17940 | no warnings 'experimental::vlb'; | |
17941 | ||
17942 | =item Variable length negative lookbehind with capturing is experimental in regex m/%s/ | |
17943 | ||
17944 | =begin original | |
17945 | ||
17946 | (W) Variable length negative lookbehind with capturing is not well defined. This | |
17947 | warning alerts you to the fact that you are using a construct which may | |
17948 | change in a future version of perl. See the | |
17949 | L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >> | |
17950 | for details. You may silence this warning with the following: | |
17951 | ||
17952 | =end original | |
17953 | ||
17954 | (W) 捕捉バッファ付きの負の可変長後読みは未定義です。 | |
17955 | この警告は、将来のバージョンの perl で変更されるかも知れない構文を | |
17956 | 使っているという事実を警告します。 | |
17957 | 詳しくは | |
17958 | L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >> | |
17959 | を参照してください。 | |
17960 | 次のようにすることでこの警告を消せます: | |
17961 | ||
17962 | no warnings 'experimental::vlb'; | |
17963 | ||
17964 | =item "%s" variable %s masks earlier declaration in same %s | |
17965 | ||
17966 | =begin original | |
17967 | ||
17968 | (W shadow) A "my", "our" or "state" variable has been redeclared in the | |
17969 | current scope or statement, effectively eliminating all access to the | |
17970 | previous instance. This is almost always a typographical error. Note | |
17971 | that the earlier variable will still exist until the end of the scope | |
17972 | or until all closure references to it are destroyed. | |
17973 | ||
17974 | =end original | |
17975 | ||
17976 | (W shadow) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
17977 | 以前の実体への全てのアクセスができなくなりました。 | |
17978 | これはほとんど常にタイプミスです。 | |
17979 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
17980 | 破壊されるまでは存在し続けることに注意してください。 | |
17981 | ||
8938 | 17982 | =item Variable syntax |
8939 | 17983 | |
8940 | 17984 | =begin original |
8941 | 17985 | |
8942 | 17986 | (A) You've accidentally run your script through B<csh> instead |
8943 | 17987 | of Perl. Check the #! line, or manually feed your script into |
8944 | 17988 | Perl yourself. |
8945 | 17989 | |
8946 | 17990 | =end original |
8947 | 17991 | |
8948 | 17992 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
8949 | #! 行を | |
17993 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
8950 | 17994 | |
8951 | 17995 | =item Variable "%s" will not stay shared |
8952 | 17996 | |
8953 | 17997 | =begin original |
8954 | 17998 | |
8955 | 17999 | (W closure) An inner (nested) I<named> subroutine is referencing a |
8956 | lexical variable defined in an outer subroutine. | |
18000 | lexical variable defined in an outer named subroutine. | |
8957 | 18001 | |
8958 | 18002 | =end original |
8959 | 18003 | |
8960 | 18004 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
8961 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 | |
18005 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 | |
8962 | 18006 | |
8963 | 18007 | =begin original |
8964 | 18008 | |
8965 | When the inner subroutine is called, it will | |
18009 | When the inner subroutine is called, it will see the value of | |
8966 | 18010 | the outer subroutine's variable as it was before and during the *first* |
8967 | 18011 | call to the outer subroutine; in this case, after the first call to the |
8968 | 18012 | outer subroutine is complete, the inner and outer subroutines will no |
8969 | 18013 | longer share a common value for the variable. In other words, the |
8970 | 18014 | variable will no longer be shared. |
8971 | 18015 | |
8972 | 18016 | =end original |
8973 | 18017 | |
8974 | 内側のサブルーチンが呼び出され | |
18018 | 内側のサブルーチンが呼び出されるとき、 | |
8975 | ||
18019 | 外側のサブルーチンの変数の値は、 | |
8976 | ||
18020 | 「最初の」外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
8977 | 外側のサブルーチン | |
18021 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
8978 | ||
18022 | 内側と外側のサブルーチンはこの変数に関して同じ値を共有しなくなります。 | |
18023 | 言い換えると、この変数はもはや共有されません。 | |
8979 | 18024 | |
8980 | 18025 | =begin original |
8981 | 18026 | |
8982 | Furthermore, if the outer subroutine is anonymous and references a | |
8983 | lexical variable outside itself, then the outer and inner subroutines | |
8984 | will I<never> share the given variable. | |
8985 | ||
8986 | =end original | |
8987 | ||
8988 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を | |
8989 | 参照している場合、外側と内側のサブルーチンは与えられた変数は | |
8990 | 共有 I<しません>。 | |
8991 | ||
8992 | =begin original | |
8993 | ||
8994 | 18027 | This problem can usually be solved by making the inner subroutine |
8995 | 18028 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
8996 | reference variables in outer subroutines are c | |
18029 | reference variables in outer subroutines are created, they | |
8997 | 18030 | are automatically rebound to the current values of such variables. |
8998 | 18031 | |
8999 | 18032 | =end original |
9000 | 18033 | |
9001 | 18034 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
9002 | 18035 | 解決します。 |
9003 | 18036 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
9004 | ||
18037 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 | |
9005 | 自動的に回復します。 | |
9006 | 18038 | |
9007 | =item | |
18039 | =item vector argument not supported with alpha versions | |
9008 | 18040 | |
9009 | 18041 | =begin original |
9010 | 18042 | |
9011 | ( | |
18043 | (S printf) The %vd (s)printf format does not support version objects | |
9012 | ||
18044 | with alpha parts. | |
9013 | the problem was discovered. | |
9014 | 18045 | |
9015 | 18046 | =end original |
9016 | 18047 | |
9017 | ( | |
18048 | (S printf) %vd (s)printf フォーマットはアルファ部分のある | |
9018 | ||
18049 | バージョンオブジェクトに対応していません。 | |
9019 | 18050 | |
18051 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
18052 | S<<-- HERE> in m/%s/ | |
18053 | ||
18054 | =begin original | |
18055 | ||
18056 | (F) You used a verb pattern that requires an argument. Supply an | |
18057 | argument or check that you are using the right verb. | |
18058 | ||
18059 | =end original | |
18060 | ||
18061 | (F) 引き数が必要な動詞パターンを使いました。 | |
18062 | 引き数を追加するか、正しい動詞を使ってください。 | |
18063 | ||
18064 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
18065 | S<<-- HERE> in m/%s/ | |
18066 | ||
18067 | =begin original | |
18068 | ||
18069 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
18070 | argument or check that you are using the right verb. | |
18071 | ||
18072 | =end original | |
18073 | ||
18074 | (F) 引き数が認められていない動詞パターンを使いました。 | |
18075 | 引き数を削除するか、正しい動詞を使ってください。 | |
18076 | ||
18077 | =item Version control conflict marker | |
18078 | ||
18079 | =begin original | |
18080 | ||
18081 | (F) The parser found a line starting with C<E<lt><<<<<<>, | |
18082 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a | |
18083 | version control system to mark conflicts after a failed merge operation. | |
18084 | ||
18085 | =end original | |
18086 | ||
18087 | (F) パーサは C<E<lt><<<<<<>, | |
18088 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 | |
18089 | これらはマージ操作に失敗したあと衝突を記録するために | |
18090 | バージョン制御システムによって残されたものかもしれません。 | |
18091 | ||
9020 | 18092 | =item Version number must be a constant number |
9021 | 18093 | |
9022 | 18094 | =begin original |
9023 | 18095 | |
9024 | 18096 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
9025 | 18097 | its equivalent C<BEGIN> block found an internal inconsistency with |
9026 | 18098 | the version number. |
9027 | 18099 | |
9028 | 18100 | =end original |
9029 | 18101 | |
9030 | 18102 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
9031 | 18103 | したときに、バージョン番号について内部の不整合を発見しました。 |
9032 | 18104 | |
18105 | =item Version string '%s' contains invalid data; ignoring: '%s' | |
18106 | ||
18107 | =begin original | |
18108 | ||
18109 | (W misc) The version string contains invalid characters at the end, which | |
18110 | are being ignored. | |
18111 | ||
18112 | =end original | |
18113 | ||
18114 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は | |
18115 | 無視されます。 | |
18116 | ||
9033 | 18117 | =item Warning: something's wrong |
9034 | 18118 | |
9035 | 18119 | =begin original |
9036 | 18120 | |
9037 | 18121 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
9038 | you called it with no args and C<$ | |
18122 | you called it with no args and C<$@> was empty. | |
9039 | 18123 | |
9040 | 18124 | =end original |
9041 | 18125 | |
9042 | 18126 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
9043 | 引数なしで呼び出され、C<$ | |
18127 | 引数なしで呼び出され、C<$@> も空でした。 | |
9044 | 18128 | |
9045 | 18129 | =item Warning: unable to close filehandle %s properly |
9046 | 18130 | |
9047 | 18131 | =begin original |
9048 | 18132 | |
9049 | 18133 | (S) The implicit close() done by an open() got an error indication on |
9050 | 18134 | the close(). This usually indicates your file system ran out of disk |
9051 | 18135 | space. |
9052 | 18136 | |
9053 | 18137 | =end original |
9054 | 18138 | |
9055 | 18139 | (S) open() によって暗黙のうちに行なわれる close() が、 |
9056 | 18140 | close() のエラーとなりました。 |
9057 | 18141 | 通常、ファイルシステムがいっぱいであることを示します。 |
9058 | 18142 | |
18143 | =item Warning: unable to close filehandle properly: %s | |
18144 | ||
18145 | =item Warning: unable to close filehandle %s properly: %s | |
18146 | ||
18147 | =begin original | |
18148 | ||
18149 | (S io) There were errors during the implicit close() done on a filehandle | |
18150 | when its reference count reached zero while it was still open, e.g.: | |
18151 | ||
18152 | =end original | |
18153 | ||
18154 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
18155 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
18156 | 例えば: | |
18157 | ||
18158 | { | |
18159 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
18160 | print $fh $data or die "print: $!"; | |
18161 | } # implicit close here | |
18162 | ||
18163 | =begin original | |
18164 | ||
18165 | Because various errors may only be detected by close() (e.g. buffering could | |
18166 | allow the C<print> in this example to return true even when the disk is full), | |
18167 | it is dangerous to ignore its result. So when it happens implicitly, perl | |
18168 | will signal errors by warning. | |
18169 | ||
18170 | =end original | |
18171 | ||
18172 | 様々なエラーは close() によってのみ検出される | |
18173 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
18174 | 真を返すことが可能です)ので、 | |
18175 | その結果を無視するのは危険です。 | |
18176 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
18177 | ||
18178 | =begin original | |
18179 | ||
18180 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
18181 | above was liable to cause B<silent data loss>. | |
18182 | ||
18183 | =end original | |
18184 | ||
18185 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
18186 | 従って、前述のような一般的な慣用句は | |
18187 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
18188 | ||
9059 | 18189 | =item Warning: Use of "%s" without parentheses is ambiguous |
9060 | 18190 | |
9061 | 18191 | =begin original |
9062 | 18192 | |
9063 | 18193 | (S ambiguous) You wrote a unary operator followed by something that |
9064 | 18194 | looks like a binary operator that could also have been interpreted as a |
9065 | 18195 | term or unary operator. For instance, if you know that the rand |
9066 | 18196 | function has a default argument of 1.0, and you write |
9067 | 18197 | |
9068 | 18198 | =end original |
9069 | 18199 | |
9070 | 18200 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
9071 | 18201 | 二項演算子のようなものが置かれました。 |
9072 | 18202 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
9073 | 18203 | いれば、以下のように書いて: |
9074 | 18204 | |
9075 | 18205 | rand + 5; |
9076 | 18206 | |
9077 | 18207 | =begin original |
9078 | 18208 | |
9079 | 18209 | you may THINK you wrote the same thing as |
9080 | 18210 | |
9081 | 18211 | =end original |
9082 | 18212 | |
9083 | 18213 | 以下の同じことと思うかもしれませんが: |
9084 | 18214 | |
9085 | 18215 | rand() + 5; |
9086 | 18216 | |
9087 | 18217 | =begin original |
9088 | 18218 | |
9089 | 18219 | but in actual fact, you got |
9090 | 18220 | |
9091 | 18221 | =end original |
9092 | 18222 | |
9093 | 18223 | 実際には以下のようになります: |
9094 | 18224 | |
9095 | 18225 | rand(+5); |
9096 | 18226 | |
9097 | 18227 | =begin original |
9098 | 18228 | |
9099 | 18229 | So put in parentheses to say what you really mean. |
9100 | 18230 | |
9101 | 18231 | =end original |
9102 | 18232 | |
9103 | したがって、思うように解釈させるには、 | |
18233 | したがって、思うように解釈させるには、かっこが必要になります。 | |
9104 | 18234 | |
18235 | =item when is experimental | |
18236 | ||
18237 | =begin original | |
18238 | ||
18239 | (S experimental::smartmatch) C<when> depends on smartmatch, which is | |
18240 | experimental. Additionally, it has several special cases that may | |
18241 | not be immediately obvious, and their behavior may change or | |
18242 | even be removed in any future release of perl. See the explanation | |
18243 | under L<perlsyn/Experimental Details on given and when>. | |
18244 | ||
18245 | =end original | |
18246 | ||
18247 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに | |
18248 | 依存しています。 | |
18249 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その | |
18250 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
18251 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
18252 | ||
9105 | 18253 | =item Wide character in %s |
9106 | 18254 | |
9107 | 18255 | =begin original |
9108 | 18256 | |
9109 | ( | |
18257 | (S utf8) Perl met a wide character (ordinal >255) when it wasn't | |
18258 | expecting one. This warning is by default on for I/O (like print). | |
9110 | 18259 | |
9111 | 18260 | =end original |
9112 | 18261 | |
9113 | ( | |
18262 | (S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。 | |
18263 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
9114 | 18264 | |
9115 | = | |
18265 | =begin original | |
9116 | 18266 | |
18267 | If this warning does come from I/O, the easiest | |
18268 | way to quiet it is simply to add the C<:utf8> layer, I<e.g.>, | |
18269 | S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is | |
18270 | to add S<C<no warnings 'utf8';>> but that is often closer to | |
18271 | cheating. In general, you are supposed to explicitly mark the | |
18272 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. | |
18273 | ||
18274 | =end original | |
18275 | ||
18276 | この警告が I/O からのものなら、これを黙らせる最も簡単な方法は、 | |
18277 | S<C<binmode STDOUT, ':utf8'>> のように | |
18278 | 出力に単に C<:utf8> 層を追加することです。 | |
18279 | もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは | |
18280 | しばしばいかさまに近い方法です。 | |
18281 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに | |
18282 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 | |
18283 | ||
9117 | 18284 | =begin original |
9118 | 18285 | |
9119 | ||
18286 | If the warning comes from other than I/O, this diagnostic probably | |
9120 | ||
18287 | indicates that incorrect results are being obtained. You should examine | |
18288 | your code to determine how a wide character is getting to an operation | |
18289 | that doesn't handle them. | |
9121 | 18290 | |
9122 | 18291 | =end original |
9123 | 18292 | |
9124 | ||
18293 | この警告が I/O 以外からのものなら、この診断メッセージは | |
9125 | ||
18294 | おそらく正しくない結果が得られたことを意味しています。 | |
18295 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
18296 | 決定するために、ソースコードを調べる必要があります。 | |
9126 | 18297 | |
9127 | =item | |
18298 | =item Wide character (U+%X) in %s | |
9128 | 18299 | |
9129 | 18300 | =begin original |
9130 | 18301 | |
9131 | ( | |
18302 | (W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8 | |
9132 | ||
18303 | one), a multi-byte character was encountered. Perl considers this | |
18304 | character to be the specified Unicode code point. Combining non-UTF-8 | |
18305 | locales and Unicode is dangerous. Almost certainly some characters | |
18306 | will have two different representations. For example, in the ISO 8859-7 | |
18307 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so | |
18308 | also does 0x393. This will make string comparisons unreliable. | |
9133 | 18309 | |
9134 | 18310 | =end original |
9135 | 18311 | |
9136 | ( | |
18312 | (W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、 | |
9137 | ||
18313 | 複数バイト文字に遭遇しました。 | |
9138 | ||
18314 | Perl はこの文字を指定された Unicode 符号位置として扱います。 | |
18315 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 | |
18316 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 | |
18317 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 | |
18318 | 符号位置 0xC3 は Capital Gamma を表現します。 | |
18319 | しかし 0x393 も同じです。 | |
18320 | これは文字列比較を信頼できないものにします。 | |
9139 | 18321 | |
9140 | = | |
18322 | =begin original | |
9141 | 18323 | |
18324 | You likely need to figure out how this multi-byte character got mixed up | |
18325 | with your single-byte locale (or perhaps you thought you had a UTF-8 | |
18326 | locale, but Perl disagrees). | |
18327 | ||
18328 | =end original | |
18329 | ||
18330 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを | |
18331 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを | |
18332 | 使っていると考えているけれども Perl は同意していないのでしょう)。 | |
18333 | ||
18334 | =item Within []-length '%c' not allowed | |
18335 | ||
9142 | 18336 | =begin original |
9143 | 18337 | |
9144 | (F) | |
18338 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> | |
9145 | ||
18339 | only if C<TEMPLATE> always matches the same amount of packed bytes that | |
18340 | can be determined from the template alone. This is not possible if | |
18341 | it contains any of the codes @, /, U, u, w or a *-length. Redesign | |
18342 | the template. | |
9146 | 18343 | |
9147 | 18344 | =end original |
9148 | 18345 | |
9149 | (F) unpack | |
18346 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に | |
9150 | ||
18347 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する | |
9151 | ||
18348 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 | |
18349 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 | |
18350 | テンプレートを再設計してください。 | |
9152 | 18351 | |
9153 | =item | |
18352 | =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"?) | |
9154 | 18353 | |
9155 | 18354 | =begin original |
9156 | 18355 | |
9157 | ( | |
18356 | (W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded | |
9158 | sup | |
18357 | package name, which can result in perl choosing an unexpected parent | |
18358 | class's method to resolve the method call. If this is deliberate you | |
18359 | can do something like | |
9159 | 18360 | |
9160 | 18361 | =end original |
9161 | 18362 | |
9162 | ( | |
18363 | (W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、 | |
9163 | ||
18364 | 結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを | |
18365 | 選んだ可能性があります。 | |
18366 | これが意図的な場合は、次のようにして: | |
9164 | 18367 | |
9165 | ||
18368 | @Missing::Package::ISA = (); | |
9166 | 18369 | |
9167 | 18370 | =begin original |
9168 | 18371 | |
9169 | ||
18372 | to silence the warnings, otherwise you should correct the package name, or | |
9170 | supported. | |
18373 | ensure that the package is loaded prior to the method call. | |
9171 | 18374 | |
9172 | 18375 | =end original |
9173 | 18376 | |
9174 | ||
18377 | この警告を黙らせられます; さもなければパッケージ名を修正するか、 | |
9175 | ||
18378 | パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。 | |
9176 | 18379 | |
9177 | =item | |
18380 | =item %s() with negative argument | |
9178 | 18381 | |
9179 | 18382 | =begin original |
9180 | 18383 | |
9181 | ( | |
18384 | (S misc) Certain operations make no sense with negative arguments. | |
9182 | ||
18385 | Warning is given and the operation is not done. | |
9183 | Use a filename instead. | |
9184 | 18386 | |
9185 | 18387 | =end original |
9186 | 18388 | |
9187 | ( | |
18389 | (S misc) 一部の操作は負の引数は意味がありません。 | |
9188 | ||
18390 | 警告が出力され、操作は行われません。 | |
9189 | 既に通り過ぎた後です。 | |
9190 | 代わりにファイル名を使ってください。 | |
9191 | 18391 | |
18392 | =item write() on closed filehandle %s | |
18393 | ||
18394 | =begin original | |
18395 | ||
18396 | (W closed) The filehandle you're writing to got itself closed sometime | |
18397 | before now. Check your control flow. | |
18398 | ||
18399 | =end original | |
18400 | ||
18401 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
18402 | 制御フローをチェックしてください。 | |
18403 | ||
18404 | =item %s "\x%X" does not map to Unicode | |
18405 | ||
18406 | =begin original | |
18407 | ||
18408 | (S utf8) When reading in different encodings, Perl tries to | |
18409 | map everything into Unicode characters. The bytes you read | |
18410 | in are not legal in this encoding. For example | |
18411 | ||
18412 | =end original | |
18413 | ||
18414 | (S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に | |
18415 | マッピングしようとします。 | |
18416 | 読み込んだバイトはこのエンコーディングでは不正でした。 | |
18417 | 例えば: | |
18418 | ||
18419 | utf8 "\xE4" does not map to Unicode | |
18420 | ||
18421 | =begin original | |
18422 | ||
18423 | if you try to read in the a-diaereses Latin-1 as UTF-8. | |
18424 | ||
18425 | =end original | |
18426 | ||
18427 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 | |
18428 | ||
18429 | =item 'X' outside of string | |
18430 | ||
18431 | =begin original | |
18432 | ||
18433 | (F) You had a (un)pack template that specified a relative position before | |
18434 | the beginning of the string being (un)packed. See L<perlfunc/pack>. | |
18435 | ||
18436 | =end original | |
18437 | ||
18438 | (F) (un)pack している文字列の最後より後の相対位置を示している | |
18439 | (un)pack テンプレートを指定しました。 | |
18440 | L<perlfunc/pack> を参照してください。 | |
18441 | ||
18442 | =item 'x' outside of string in unpack | |
18443 | ||
18444 | =begin original | |
18445 | ||
18446 | (F) You had a pack template that specified a relative position after | |
18447 | the end of the string being unpacked. See L<perlfunc/pack>. | |
18448 | ||
18449 | =end original | |
18450 | ||
18451 | (F) unpack している文字列の最後より後の相対位置を示している | |
18452 | pack テンプレートを指定しました。 | |
18453 | L<perlfunc/pack> を参照してください。 | |
18454 | ||
9192 | 18455 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
9193 | 18456 | |
9194 | 18457 | =begin original |
9195 | 18458 | |
9196 | 18459 | (F) And you probably never will, because you probably don't have the |
9197 | 18460 | sources to your kernel, and your vendor probably doesn't give a rip |
9198 | about what you want. | |
18461 | about what you want. There is a vulnerability anywhere that you have a | |
9199 | e | |
18462 | set-id script, and to close it you need to remove the set-id bit from | |
18463 | the script that you're attempting to run. To actually run the script | |
18464 | set-id, your best bet is to put a set-id C wrapper around your script. | |
9200 | 18465 | |
9201 | 18466 | =end original |
9202 | 18467 | |
9203 | (F) | |
18468 | (F) そして、そうすることはできないでしょう; カーネルのソースは | |
9204 | ||
18469 | お持ちではないでしょうし、ベンダも欲しいものを提供しては | |
9205 | ||
18470 | くれないでしょうから。 | |
9206 | ||
18471 | set-id スクリプトのあちこちには脆弱性があり、 | |
9207 | ||
18472 | それを閉じるためには実行しようとしているスクリプトから | |
18473 | set-id ビットを削除する必要があります。 | |
18474 | 実際にスクリプトを set-id で実行するために | |
18475 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
9208 | 18476 | |
9209 | 18477 | =item You need to quote "%s" |
9210 | 18478 | |
9211 | 18479 | =begin original |
9212 | 18480 | |
9213 | 18481 | (W syntax) You assigned a bareword as a signal handler name. |
9214 | 18482 | Unfortunately, you already have a subroutine of that name declared, |
9215 | 18483 | which means that Perl 5 will try to call the subroutine when the |
9216 | 18484 | assignment is executed, which is probably not what you want. (If it IS |
9217 | 18485 | what you want, put an & in front.) |
9218 | 18486 | |
9219 | 18487 | =end original |
9220 | 18488 | |
9221 | 18489 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
9222 | 残念ながら、そのサブルー | |
18490 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 | |
9223 | おそらく思惑とは違って、代入の実行時にサブルー | |
18491 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 | |
9224 | (もし、本当にそうしたいのであれば、サブルー | |
18492 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) | |
9225 | 18493 | |
18494 | =item Your random numbers are not that random | |
18495 | ||
18496 | =begin original | |
18497 | ||
18498 | (F) When trying to initialize the random seed for hashes, Perl could | |
18499 | not get any randomness out of your system. This usually indicates | |
18500 | Something Very Wrong. | |
18501 | ||
18502 | =end original | |
18503 | ||
18504 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから | |
18505 | 何の乱数性も得られませんでした。 | |
18506 | これは普通「何かとても具合が悪い」ことを示しています。 | |
18507 | ||
18508 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
18509 | ||
18510 | =begin original | |
18511 | ||
18512 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length | |
18513 | sequence. Such an escape was used in an extended character class, i.e. | |
18514 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
18515 | that the correct escape has been used, and the correct charnames handler | |
18516 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
18517 | expression the problem was discovered. | |
18518 | ||
18519 | =end original | |
18520 | ||
18521 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを | |
18522 | 返すことがあります。 | |
18523 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
18524 | あるいは C<use re 'strict'> の基で使われました; | |
18525 | これは認められていません。 | |
18526 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
18527 | あるかをチェックしてください。 | |
18528 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
18529 | ||
9226 | 18530 | =back |
9227 | 18531 | |
18532 | =head1 SEE ALSO | |
18533 | ||
18534 | L<warnings>, L<diagnostics>. | |
18535 | ||
18536 | =cut | |
18537 | ||
9228 | 18538 | =begin meta |
9229 | 18539 | |
9230 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
18540 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) | |
9231 | Update: Kentaro | |
18541 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) | |
9232 | ||
18542 | Status: in progress | |
9233 | 18543 | |
9234 | 18544 | =end meta |
9235 | ||
9236 | =cut |