perldiag >
5.36.0
との差分
perldiag 5.36.0 と 5.26.1 の差分
1 | 1 | |
2 | =encoding u | |
2 | =encoding euc-jp | |
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 | 29 | (D) A deprecation (enabled by default). |
30 | 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 | 38 | (W) 警告 (オプション)。 |
39 | 39 | (D) 非推奨 (デフォルトでは有効)。 |
40 | 40 | (S) 重大な警告 (デフォルトでは有効)。 |
41 | 41 | (F) 致命的エラー (トラップ可能)。 |
42 | 42 | (P) 起こるはずのない内部エラー (トラップ可能)。 |
43 | 43 | (X) 重大致命的エラー (トラップ不可能)。 |
44 | 44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの)。 |
45 | 45 | |
46 | 46 | =begin original |
47 | 47 | |
48 | 48 | The majority of messages from the first three classifications above |
49 | 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 | 60 | below. E.g. C<(W closed)> means a warning in the C<closed> category. |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | 64 | メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の |
65 | 65 | 説明で分類文字と共に記されています。 |
66 | 66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 |
67 | 67 | |
68 | 68 | =begin original |
69 | 69 | |
70 | 70 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
71 | 71 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> |
72 | 72 | to a reference to a routine that will be called on each warning instead |
73 | 73 | of printing it. See L<perlvar>. |
74 | 74 | |
75 | 75 | =end original |
76 | 76 | |
77 | 77 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
78 | 78 | 有効になります。 |
79 | 79 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
80 | 80 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
81 | 81 | L<perlvar> を参照してください。 |
82 | 82 | |
83 | 83 | =begin original |
84 | 84 | |
85 | 85 | Severe warnings are always enabled, unless they are explicitly disabled |
86 | 86 | with the C<warnings> pragma or the B<-X> switch. |
87 | 87 | |
88 | 88 | =end original |
89 | 89 | |
90 | 90 | C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、 |
91 | 91 | 厳しい警告は常に有効です。 |
92 | 92 | |
93 | 93 | =begin original |
94 | 94 | |
95 | 95 | Trappable errors may be trapped using the eval operator. See |
96 | 96 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
97 | 97 | disabled or promoted to fatal errors using the C<warnings> pragma. |
98 | 98 | See L<warnings>. |
99 | 99 | |
100 | 100 | =end original |
101 | 101 | |
102 | 102 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
103 | 103 | L<perlfunc/eval> を参照してください。 |
104 | 104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に |
105 | 105 | 無効にしたり致命的エラーに昇格させたりできます。 |
106 | 106 | L<warnings> を参照してください。 |
107 | 107 | |
108 | 108 | =begin original |
109 | 109 | |
110 | 110 | The messages are in alphabetical order, without regard to upper or |
111 | 111 | lower-case. Some of these messages are generic. Spots that vary are |
112 | 112 | denoted with a %s or other printf-style escape. These escapes are |
113 | 113 | ignored by the alphabetical order, as are all characters other than |
114 | 114 | letters. To look up your message, just ignore anything that is not a |
115 | 115 | letter. |
116 | 116 | |
117 | 117 | =end original |
118 | 118 | |
119 | 119 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
120 | 120 | これらの中には一般的なものもあります。 |
121 | 121 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
122 | 122 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
123 | 123 | 無視されています。 |
124 | 124 | メッセージを探すには、英文字以外は無視してください。 |
125 | 125 | |
126 | 126 | =over 4 |
127 | 127 | |
128 | 128 | =item accept() on closed socket %s |
129 | 129 | |
130 | 130 | =begin original |
131 | 131 | |
132 | 132 | (W closed) You tried to do an accept on a closed socket. Did you forget |
133 | 133 | to check the return value of your socket() call? See |
134 | 134 | L<perlfunc/accept>. |
135 | 135 | |
136 | 136 | =end original |
137 | 137 | |
138 | 138 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
139 | 139 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
140 | 140 | L<perlfunc/accept> を参照してください。 |
141 | 141 | |
142 | 142 | =item Aliasing via reference is experimental |
143 | 143 | |
144 | 144 | =begin original |
145 | 145 | |
146 | 146 | (S experimental::refaliasing) This warning is emitted if you use |
147 | 147 | a reference constructor on the left-hand side of an assignment to |
148 | 148 | alias one variable to another. Simply suppress the warning if you |
149 | 149 | want to use the feature, but know that in doing so you are taking |
150 | 150 | the risk of using an experimental feature which may change or be |
151 | 151 | removed in a future Perl version: |
152 | 152 | |
153 | 153 | =end original |
154 | 154 | |
155 | 155 | (S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の |
156 | 156 | 左側でリファレンスコンストラクタを使うと出力されます。 |
157 | この機能を使いたい | |
157 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
158 | ||
158 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
159 | ||
159 | 単に警告を抑制してください: | |
160 | 取っていると言うことを知っておいてください: | |
161 | 160 | |
162 | 161 | no warnings "experimental::refaliasing"; |
163 | 162 | use feature "refaliasing"; |
164 | 163 | \$x = \$y; |
165 | 164 | |
165 | =item Allocation too large: %x | |
166 | ||
167 | =begin original | |
168 | ||
169 | (X) You can't allocate more than 64K on an MS-DOS machine. | |
170 | ||
171 | =end original | |
172 | ||
173 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 | |
174 | ||
166 | 175 | =item '%c' allowed only after types %s in %s |
167 | 176 | |
168 | 177 | =begin original |
169 | 178 | |
170 | 179 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only |
171 | 180 | after certain types. See L<perlfunc/pack>. |
172 | 181 | |
173 | 182 | =end original |
174 | 183 | |
175 | 184 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの |
176 | 185 | 後にのみつけることができます。 |
177 | 186 | L<perlfunc/pack> を参照してください。 |
178 | 187 | |
179 | 188 | =item alpha->numify() is lossy |
180 | 189 | |
181 | 190 | =begin original |
182 | 191 | |
183 | 192 | (W numeric) An alpha version can not be numified without losing |
184 | 193 | information. |
185 | 194 | |
186 | 195 | =end original |
187 | 196 | |
188 | 197 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 |
189 | 198 | |
190 | 199 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
191 | 200 | |
192 | 201 | =begin original |
193 | 202 | |
194 | 203 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
195 | 204 | keyword, and you have used the name without qualification for calling |
196 | 205 | one or the other. Perl decided to call the builtin because the |
197 | 206 | subroutine is not imported. |
198 | 207 | |
199 | 208 | =end original |
200 | 209 | |
201 | 210 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
202 | 211 | どちらかを呼び出すために修飾なしで名前を使っています。 |
203 | 212 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを |
204 | 213 | 呼び出すことにしました。 |
205 | 214 | |
206 | 215 | =begin original |
207 | 216 | |
208 | 217 | To force interpretation as a subroutine call, either put an ampersand |
209 | 218 | before the subroutine name, or qualify the name with its package. |
210 | 219 | Alternatively, you can import the subroutine (or pretend that it's |
211 | 220 | imported with the C<use subs> pragma). |
212 | 221 | |
213 | 222 | =end original |
214 | 223 | |
215 | 224 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の |
216 | 225 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 |
217 | 226 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
218 | 227 | プラグマを使ってインポートされたふりをする)方法もあります。 |
219 | 228 | |
220 | 229 | =begin original |
221 | 230 | |
222 | 231 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
223 | 232 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine |
224 | 233 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
225 | 234 | L<attributes>). |
226 | 235 | |
227 | 236 | =end original |
228 | 237 | |
229 | 238 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
230 | 239 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
231 | 240 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
232 | 241 | 参照してください)として定義してください。 |
233 | 242 | |
234 | 243 | =item Ambiguous range in transliteration operator |
235 | 244 | |
236 | 245 | =begin original |
237 | 246 | |
238 | 247 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at |
239 | 248 | all. To include a C<-> character in a transliteration, put it either |
240 | 249 | first or last. (In the past, C<tr/a-z-0//> was synonymous with |
241 | 250 | C<tr/a-y//>, which was probably not what you would have expected.) |
242 | 251 | |
243 | 252 | =end original |
244 | 253 | |
245 | 254 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 |
246 | 255 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 |
247 | 256 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく |
248 | 257 | 予想していたものと違うでしょう。) |
249 | 258 | |
250 | 259 | =item Ambiguous use of %s resolved as %s |
251 | 260 | |
252 | 261 | =begin original |
253 | 262 | |
254 | 263 | (S ambiguous) You said something that may not be interpreted the way |
255 | 264 | you thought. Normally it's pretty easy to disambiguate it by supplying |
256 | 265 | a missing quote, operator, parenthesis pair or declaration. |
257 | 266 | |
258 | 267 | =end original |
259 | 268 | |
260 | 269 | (S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。 |
261 | 270 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり |
262 | 271 | 簡単にあいまいさを解消できます。 |
263 | 272 | |
264 | 273 | =item Ambiguous use of -%s resolved as -&%s() |
265 | 274 | |
266 | 275 | =begin original |
267 | 276 | |
268 | 277 | (S ambiguous) You wrote something like C<-foo>, which might be the |
269 | 278 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant |
270 | 279 | the string, just write C<"-foo">. If you meant the function call, |
271 | 280 | write C<-foo()>. |
272 | 281 | |
273 | 282 | =end original |
274 | 283 | |
275 | 284 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも |
276 | 285 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 |
277 | 286 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 |
278 | 287 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 |
279 | 288 | |
280 | 289 | =item Ambiguous use of %c resolved as operator %c |
281 | 290 | |
282 | 291 | =begin original |
283 | 292 | |
284 | 293 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, |
285 | 294 | bitwise and, and multiplication) I<and> initial special characters |
286 | 295 | (denoting hashes, subroutines and typeglobs), and you said something |
287 | 296 | like C<*foo * foo> that might be interpreted as either of them. We |
288 | 297 | assumed you meant the infix operator, but please try to make it more |
289 | 298 | clear -- in the example given, you might write C<*foo * foo()> if you |
290 | 299 | really meant to multiply a glob by the result of calling a function. |
291 | 300 | |
292 | 301 | =end original |
293 | 302 | |
294 | 303 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) |
295 | 304 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の |
296 | 305 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが |
297 | 306 | 書かれました。 |
298 | 307 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように |
299 | 308 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の |
300 | 309 | 積を意味しているなら、C<*foo * foo()> と書けます。 |
301 | 310 | |
302 | 311 | =item Ambiguous use of %c{%s} resolved to %c%s |
303 | 312 | |
304 | 313 | =begin original |
305 | 314 | |
306 | 315 | (W ambiguous) You wrote something like C<@{foo}>, which might be |
307 | 316 | asking for the variable C<@foo>, or it might be calling a function |
308 | 317 | named foo, and dereferencing it as an array reference. If you wanted |
309 | 318 | the variable, you can just write C<@foo>. If you wanted to call the |
310 | 319 | function, write C<@{foo()}> ... or you could just not have a variable |
311 | 320 | and a function with the same name, and save yourself a lot of trouble. |
312 | 321 | |
313 | 322 | =end original |
314 | 323 | |
315 | 324 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと |
316 | 325 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 |
317 | 326 | リファレンスとしてデリファレンスするかもしれません。 |
318 | 327 | もし変数がほしいなら、単に C<@foo> と書いてください。 |
319 | 328 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に |
320 | 329 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を |
321 | 330 | 守れます。 |
322 | 331 | |
323 | 332 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] |
324 | 333 | |
325 | 334 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} |
326 | 335 | |
327 | 336 | =begin original |
328 | 337 | |
329 | 338 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents |
330 | 339 | the name of a Perl keyword), which might be looking for element number |
331 | 340 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you |
332 | 341 | might have meant to pass an anonymous arrayref to the function named |
333 | 342 | foo, and then do a scalar deref on the value it returns. If you meant |
334 | 343 | that, write C<${foo([2])}>. |
335 | 344 | |
336 | 345 | =end original |
337 | 346 | |
338 | 347 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の |
339 | 348 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を |
340 | 349 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 |
341 | 350 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ |
342 | 351 | デリファレンスしているのかも知れません。 |
343 | 352 | それを意味しているなら、C<${foo([2])}> と書いてください。 |
344 | 353 | |
345 | 354 | =begin original |
346 | 355 | |
347 | 356 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary |
348 | 357 | to disambiguate between array subscripts and character classes. |
349 | 358 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed |
350 | 359 | by the character class C<[2345]>. If an array subscript is what you |
351 | 360 | want, you can avoid the warning by changing C</${length[2345]}/> to the |
352 | 361 | unsightly C</${\$length[2345]}/>, by renaming your array to something |
353 | 362 | that does not coincide with a built-in keyword, or by simply turning |
354 | 363 | off warnings with C<no warnings 'ambiguous';>. |
355 | 364 | |
356 | 365 | =end original |
357 | 366 | |
358 | 367 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために |
359 | 368 | 必要になります。 |
360 | 369 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が |
361 | 370 | 引き続くと解釈されます。 |
362 | 371 | 配列添え字が求めているものなら、C</${length[2345]}/> を |
363 | 372 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと |
364 | 373 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として |
365 | 374 | 警告をオフにする、のいずれかで警告を回避できます。 |
366 | 375 | |
367 | 376 | =item '|' and '<' may not both be specified on command line |
368 | 377 | |
369 | 378 | =begin original |
370 | 379 | |
371 | 380 | (F) An error peculiar to VMS. Perl does its own command line |
372 | 381 | redirection, and found that STDIN was a pipe, and that you also tried to |
373 | 382 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
374 | 383 | |
375 | 384 | =end original |
376 | 385 | |
377 | 386 | (F) VMS に固有のエラーです。 |
378 | 387 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
379 | 388 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
380 | 389 | しました。 |
381 | 390 | STDIN ストリームは一つだけにしてください; お願いします。 |
382 | 391 | |
383 | 392 | =item '|' and '>' may not both be specified on command line |
384 | 393 | |
385 | 394 | =begin original |
386 | 395 | |
387 | 396 | (F) An error peculiar to VMS. Perl does its own command line |
388 | 397 | redirection, and thinks you tried to redirect stdout both to a file and |
389 | 398 | into a pipe to another command. You need to choose one or the other, |
390 | 399 | though nothing's stopping you from piping into a program or Perl script |
391 | 400 | which 'splits' output into two streams, such as |
392 | 401 | |
393 | 402 | =end original |
394 | 403 | |
395 | 404 | (F) VMS に固有のエラーです。 |
396 | 405 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
397 | 406 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
398 | 407 | 判断しました。 |
399 | 408 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
400 | 409 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
401 | 410 | 何もありません。 |
402 | 411 | |
403 | 412 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
404 | 413 | while (<STDIN>) { |
405 | 414 | print; |
406 | 415 | print OUT; |
407 | 416 | } |
408 | 417 | close OUT; |
409 | 418 | |
410 | 419 | =item Applying %s to %s will act on scalar(%s) |
411 | 420 | |
412 | 421 | =begin original |
413 | 422 | |
414 | 423 | (W misc) The pattern match (C<//>), substitution (C<s///>), and |
415 | 424 | transliteration (C<tr///>) operators work on scalar values. If you apply |
416 | 425 | one of them to an array or a hash, it will convert the array or hash to |
417 | 426 | a scalar value (the length of an array, or the population info of a |
418 | 427 | hash) and then work on that scalar value. This is probably not what |
419 | 428 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
420 | 429 | alternatives. |
421 | 430 | |
422 | 431 | =end original |
423 | 432 | |
424 | 433 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 |
425 | 434 | (C<tr///>) 演算子はスカラ値に対して動作します。 |
426 | 435 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか |
427 | 436 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 |
428 | 437 | これはおそらくしたいこととは違うでしょう。 |
429 | 438 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
430 | 439 | |
431 | 440 | =item Arg too short for msgsnd |
432 | 441 | |
433 | 442 | =begin original |
434 | 443 | |
435 | 444 | (F) msgsnd() requires a string at least as long as sizeof(long). |
436 | 445 | |
437 | 446 | =end original |
438 | 447 | |
439 | 448 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 |
440 | 449 | |
441 | 450 | =item Argument "%s" isn't numeric%s |
442 | 451 | |
443 | 452 | =begin original |
444 | 453 | |
445 | 454 | (W numeric) The indicated string was fed as an argument to an operator |
446 | 455 | that expected a numeric value instead. If you're fortunate the message |
447 | 456 | will identify which operator was so unfortunate. |
448 | 457 | |
449 | 458 | =end original |
450 | 459 | |
451 | 460 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 |
452 | 461 | 与えられました。 |
453 | 462 | 運がよければ、このメッセージによって、どの演算子が問題となったかが |
454 | 463 | わかります。 |
455 | 464 | |
456 | 465 | =begin original |
457 | 466 | |
458 | 467 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the |
459 | 468 | definition of "numeric" is somewhat unusual: the strings themselves |
460 | 469 | (like "Inf") are considered numeric, and anything following them is |
461 | 470 | considered non-numeric. |
462 | 471 | |
463 | 472 | =end original |
464 | 473 | |
465 | 474 | Note that for the |
466 | 475 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し |
467 | 476 | 変わっていることに注意してください: |
468 | 477 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに |
469 | 478 | 何かが引き続いている場合は非数値として扱われます。 |
470 | 479 | |
471 | 480 | =item Argument list not closed for PerlIO layer "%s" |
472 | 481 | |
473 | 482 | =begin original |
474 | 483 | |
475 | 484 | (W layer) When pushing a layer with arguments onto the Perl I/O |
476 | 485 | system you forgot the ) that closes the argument list. (Layers |
477 | 486 | take care of transforming data between external and internal |
478 | 487 | representations.) Perl stopped parsing the layer list at this |
479 | 488 | point and did not attempt to push this layer. If your program |
480 | 489 | didn't explicitly request the failing operation, it may be the |
481 | 490 | result of the value of the environment variable PERLIO. |
482 | 491 | |
483 | 492 | =end original |
484 | 493 | |
485 | 494 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを |
486 | 495 | 閉じる ) を忘れています。 |
487 | 496 | (層はデータの外部表現と内部表現の変換を扱います。) |
488 | 497 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 |
489 | 498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
490 | 499 | 値が原因かもしれません。 |
491 | 500 | |
492 | 501 | =item Argument "%s" treated as 0 in increment (++) |
493 | 502 | |
494 | 503 | =begin original |
495 | 504 | |
496 | 505 | (W numeric) The indicated string was fed as an argument to the C<++> |
497 | 506 | operator which expects either a number or a string matching |
498 | 507 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and |
499 | 508 | Auto-decrement> for details. |
500 | 509 | |
501 | 510 | =end original |
502 | 511 | |
503 | 512 | (W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を |
504 | 513 | 想定しているC<++> 演算子に、示された文字列が指定されました。 |
505 | 514 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 |
506 | 515 | |
507 | 516 | =item Array passed to stat will be coerced to a scalar%s |
508 | 517 | |
509 | 518 | =begin original |
510 | 519 | |
511 | 520 | (W syntax) You called stat() on an array, but the array will be |
512 | 521 | coerced to a scalar - the number of elements in the array. |
513 | 522 | |
514 | 523 | =end original |
515 | 524 | |
516 | 525 | (W syntax) 配列に対して stat() が呼び出されましたが、配列は |
517 | 526 | スカラ - 配列の要素数 - に強制されました。 |
518 | 527 | |
519 | 528 | =item A signature parameter must start with '$', '@' or '%' |
520 | 529 | |
521 | 530 | =begin original |
522 | 531 | |
523 | 532 | (F) Each subroutine signature parameter declaration must start with a valid |
524 | 533 | sigil; for example: |
525 | 534 | |
526 | 535 | =end original |
527 | 536 | |
528 | 537 | (F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で |
529 | 538 | 始まらなければなりません; 例えば: |
530 | 539 | |
531 | 540 | sub foo ($a, $, $b = 1, @c) {} |
532 | 541 | |
533 | 542 | =item A slurpy parameter may not have a default value |
534 | 543 | |
535 | 544 | =begin original |
536 | 545 | |
537 | 546 | (F) Only scalar subroutine signature parameters may have a default value; |
538 | 547 | for example: |
539 | 548 | |
540 | 549 | =end original |
541 | 550 | |
542 | 551 | (F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持てます; |
543 | 552 | 例えば: |
544 | 553 | |
545 | 554 | sub foo ($a = 1) {} # legal |
546 | 555 | sub foo (@a = (1)) {} # invalid |
547 | 556 | sub foo (%a = (a => b)) {} # invalid |
548 | 557 | |
549 | 558 | =item assertion botched: %s |
550 | 559 | |
551 | 560 | =begin original |
552 | 561 | |
553 | 562 | (X) The malloc package that comes with Perl had an internal failure. |
554 | 563 | |
555 | 564 | =end original |
556 | 565 | |
557 | 566 | (X) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
558 | 567 | |
559 | 568 | =item Assertion %s failed: file "%s", line %d |
560 | 569 | |
561 | 570 | =begin original |
562 | 571 | |
563 | 572 | (X) A general assertion failed. The file in question must be examined. |
564 | 573 | |
565 | 574 | =end original |
566 | 575 | |
567 | 576 | (X) 一般的なアサーションが失敗しました。 |
568 | 577 | 問題の file を調べる必要があります。 |
569 | 578 | |
570 | 579 | =item Assigned value is not a reference |
571 | 580 | |
572 | 581 | =begin original |
573 | 582 | |
574 | 583 | (F) You tried to assign something that was not a reference to an lvalue |
575 | 584 | reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use |
576 | 585 | C<\$x = \$y>. |
577 | 586 | |
578 | 587 | =end original |
579 | 588 | |
580 | 589 | (F) リファレンスでないものを左辺値リファレンスに代入しようとしました |
581 | 590 | (例: C<\$x = $y>)。 |
582 | 591 | $x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。 |
583 | 592 | |
584 | 593 | =item Assigned value is not %s reference |
585 | 594 | |
586 | 595 | =begin original |
587 | 596 | |
588 | 597 | (F) You tried to assign a reference to a reference constructor, but the |
589 | 598 | two references were not of the same type. You cannot alias a scalar to |
590 | 599 | an array, or an array to a hash; the two types must match. |
591 | 600 | |
592 | 601 | =end original |
593 | 602 | |
594 | 603 | (F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、 |
595 | 604 | 二つのリファレンスが同じ型ではありません。 |
596 | 605 | スカラから配列への別名や配列からハッシュへの別名はできません; |
597 | 606 | 二つの型は一致していなければなりません。 |
598 | 607 | |
599 | 608 | \$x = \@y; # error |
600 | 609 | \@x = \%y; # error |
601 | 610 | $y = []; |
602 | 611 | \$x = $y; # error; did you mean \$y? |
603 | 612 | |
604 | 613 | =item Assigning non-zero to $[ is no longer possible |
605 | 614 | |
606 | 615 | =begin original |
607 | 616 | |
608 | (F) When the "array_base" feature is disabled | |
617 | (F) When the "array_base" feature is disabled (e.g., under C<use v5.16;>) | |
609 | (e.g., and under C<use v5.16;>, and as of Perl 5.30) | |
610 | 618 | the special variable C<$[>, which is deprecated, is now a fixed zero value. |
611 | 619 | |
612 | 620 | =end original |
613 | 621 | |
614 | (F) (C<use v5.16;> のように | |
622 | (F) (C<use v5.16;> のように) "array_base" 機能が無効の場合、廃止予定である | |
615 | ||
623 | 特殊変数 C<$[> は 0 固定です。 | |
616 | 624 | |
617 | 625 | =item Assignment to both a list and a scalar |
618 | 626 | |
619 | 627 | =begin original |
620 | 628 | |
621 | 629 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
622 | 630 | must either both be scalars or both be lists. Otherwise Perl won't |
623 | 631 | know which context to supply to the right side. |
624 | 632 | |
625 | 633 | =end original |
626 | 634 | |
627 | 635 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 |
628 | 636 | ともにスカラか、ともにリストでなければなりません。 |
629 | 637 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
630 | 638 | |
631 | 639 | =item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/ |
632 | 640 | |
633 | 641 | =begin original |
634 | 642 | |
635 | 643 | (W regexp) You had something like these: |
636 | 644 | |
637 | 645 | =end original |
638 | 646 | |
639 | 647 | (W regexp) 次のようなことをしました: |
640 | 648 | |
641 | 649 | [[:alnum]] |
642 | 650 | [[:digit:xyz] |
643 | 651 | |
644 | 652 | =begin original |
645 | 653 | |
646 | 654 | They look like they might have been meant to be the POSIX classes |
647 | 655 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: |
648 | 656 | |
649 | 657 | =end original |
650 | 658 | |
651 | 659 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと |
652 | 660 | していたように見えます。 |
653 | 661 | もしそうなら、次のように書くべきです: |
654 | 662 | |
655 | 663 | [[:alnum:]] |
656 | 664 | [[:digit:]xyz] |
657 | 665 | |
658 | 666 | =begin original |
659 | 667 | |
660 | 668 | Since these aren't legal POSIX class specifications, but are legal |
661 | 669 | bracketed character classes, Perl treats them as the latter. In the |
662 | 670 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, |
663 | 671 | C<"m">, C<"n">, and C<"u">. |
664 | 672 | |
665 | 673 | =end original |
666 | 674 | |
667 | 675 | これらは有効な POSIX クラスしようではありませんが、有効な |
668 | 676 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 |
669 | 677 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, |
670 | 678 | C<"m">, C<"n">, C<"u"> にマッチングします。 |
671 | 679 | |
672 | 680 | =begin original |
673 | 681 | |
674 | 682 | If these weren't meant to be POSIX classes, this warning message is |
675 | 683 | spurious, and can be suppressed by reordering things, such as |
676 | 684 | |
677 | 685 | =end original |
678 | 686 | |
679 | 687 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 |
680 | 688 | 次のように文字を入れ替えることで抑制できます: |
681 | 689 | |
682 | 690 | [[al:num]] |
683 | 691 | |
684 | 692 | =begin original |
685 | 693 | |
686 | 694 | or |
687 | 695 | |
688 | 696 | =end original |
689 | 697 | |
690 | 698 | または |
691 | 699 | |
692 | 700 | [[:munla]] |
693 | 701 | |
694 | 702 | =item <> at require-statement should be quotes |
695 | 703 | |
696 | 704 | =begin original |
697 | 705 | |
698 | 706 | (F) You wrote C<< require <file> >> when you should have written |
699 | 707 | C<require 'file'>. |
700 | 708 | |
701 | 709 | =end original |
702 | 710 | |
703 | 711 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と |
704 | 712 | 書いています。 |
705 | 713 | |
706 | 714 | =item Attempt to access disallowed key '%s' in a restricted hash |
707 | 715 | |
708 | 716 | =begin original |
709 | 717 | |
710 | 718 | (F) The failing code has attempted to get or set a key which is not in |
711 | 719 | the current set of allowed keys of a restricted hash. |
712 | 720 | |
713 | 721 | =end original |
714 | 722 | |
715 | 723 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して |
716 | 724 | 取得または設定しようとして失敗しました。 |
717 | 725 | |
718 | 726 | =item Attempt to bless into a freed package |
719 | 727 | |
720 | 728 | =begin original |
721 | 729 | |
722 | 730 | (F) You wrote C<bless $foo> with one argument after somehow causing |
723 | 731 | the current package to be freed. Perl cannot figure out what to |
724 | do, so it throws up i | |
732 | do, so it throws up in hands in despair. | |
725 | 733 | |
726 | 734 | =end original |
727 | 735 | |
728 | 736 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の |
729 | 737 | C<bless $foo> を書きました。 |
730 | 738 | 何がしたいのかが分からないので Perl はお手上げになりました。 |
731 | 739 | |
732 | 740 | =item Attempt to bless into a reference |
733 | 741 | |
734 | 742 | =begin original |
735 | 743 | |
736 | 744 | (F) The CLASSNAME argument to the bless() operator is expected to be |
737 | 745 | the name of the package to bless the resulting object into. You've |
738 | 746 | supplied instead a reference to something: perhaps you wrote |
739 | 747 | |
740 | 748 | =end original |
741 | 749 | |
742 | 750 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する |
743 | 751 | パッケージ名を想定しています。 |
744 | 752 | そこに何かへのリファレンスが与えられました: |
745 | 753 | おそらく以下のようにしたのでしょう: |
746 | 754 | |
747 | 755 | bless $self, $proto; |
748 | 756 | |
749 | 757 | =begin original |
750 | 758 | |
751 | 759 | when you intended |
752 | 760 | |
753 | 761 | =end original |
754 | 762 | |
755 | 763 | 以下を意図していたはずです: |
756 | 764 | |
757 | 765 | bless $self, ref($proto) || $proto; |
758 | 766 | |
759 | 767 | =begin original |
760 | 768 | |
761 | 769 | If you actually want to bless into the stringified version |
762 | 770 | of the reference supplied, you need to stringify it yourself, for |
763 | 771 | example by: |
764 | 772 | |
765 | 773 | =end original |
766 | 774 | |
767 | 775 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 |
768 | 776 | 以下のようにして自分で文字列化する必要があります: |
769 | 777 | |
770 | 778 | bless $self, "$proto"; |
771 | 779 | |
772 | 780 | =item Attempt to clear deleted array |
773 | 781 | |
774 | 782 | =begin original |
775 | 783 | |
776 | 784 | (S debugging) An array was assigned to when it was being freed. |
777 | 785 | Freed values are not supposed to be visible to Perl code. This |
778 | 786 | can also happen if XS code calls C<av_clear> from a custom magic |
779 | 787 | callback on the array. |
780 | 788 | |
781 | 789 | =end original |
782 | 790 | |
783 | 791 | (S debugging) 配列が、解放されるときに代入されました。 |
784 | 792 | 解放された値は Perl コードからは見えないはずです。 |
785 | 793 | これはまた、XS コードが配列のカスタムマジックコールバックから |
786 | 794 | C<av_clear> を呼び出したときにも起こります。 |
787 | 795 | |
788 | 796 | =item Attempt to delete disallowed key '%s' from a restricted hash |
789 | 797 | |
790 | 798 | =begin original |
791 | 799 | |
792 | 800 | (F) The failing code attempted to delete from a restricted hash a key |
793 | 801 | which is not in its key set. |
794 | 802 | |
795 | 803 | =end original |
796 | 804 | |
797 | 805 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 |
798 | 806 | |
799 | 807 | =item Attempt to delete readonly key '%s' from a restricted hash |
800 | 808 | |
801 | 809 | =begin original |
802 | 810 | |
803 | 811 | (F) The failing code attempted to delete a key whose value has been |
804 | 812 | declared readonly from a restricted hash. |
805 | 813 | |
806 | 814 | =end original |
807 | 815 | |
808 | 816 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを |
809 | 817 | 削除しようとしました。 |
810 | 818 | |
811 | 819 | =item Attempt to free non-arena SV: 0x%x |
812 | 820 | |
813 | 821 | =begin original |
814 | 822 | |
815 | 823 | (S internal) All SV objects are supposed to be allocated from arenas |
816 | 824 | that will be garbage collected on exit. An SV was discovered to be |
817 | 825 | outside any of those arenas. |
818 | 826 | |
819 | 827 | =end original |
820 | 828 | |
821 | 829 | (S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが |
822 | 830 | 行なわれるアリーナに割り当てるようになっています。 |
823 | 831 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
824 | 832 | |
825 | 833 | =item Attempt to free nonexistent shared string '%s'%s |
826 | 834 | |
827 | 835 | =begin original |
828 | 836 | |
829 | 837 | (S internal) Perl maintains a reference-counted internal table of |
830 | 838 | strings to optimize the storage and access of hash keys and other |
831 | 839 | strings. This indicates someone tried to decrement the reference count |
832 | 840 | of a string that can no longer be found in the table. |
833 | 841 | |
834 | 842 | =end original |
835 | 843 | |
836 | 844 | (S internal) Perl はストレージおよびハッシュキーとその他の文字列への |
837 | 845 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 |
838 | 846 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを |
839 | 847 | 示します。 |
840 | 848 | |
841 | 849 | =item Attempt to free temp prematurely: SV 0x%x |
842 | 850 | |
843 | 851 | =begin original |
844 | 852 | |
845 | 853 | (S debugging) Mortalized values are supposed to be freed by the |
846 | 854 | free_tmps() routine. This indicates that something else is freeing the |
847 | 855 | SV before the free_tmps() routine gets a chance, which means that the |
848 | 856 | free_tmps() routine will be freeing an unreferenced scalar when it does |
849 | 857 | try to free it. |
850 | 858 | |
851 | 859 | =end original |
852 | 860 | |
853 | 861 | (S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように |
854 | 862 | なっています。 |
855 | 863 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
856 | 864 | 解放しようとしていることを示していて、これは、free_tmps() が |
857 | 865 | 解放しようとしたときには、どこからも参照されていないスカラを |
858 | 866 | 解放することになるということです。 |
859 | 867 | |
860 | 868 | =item Attempt to free unreferenced glob pointers |
861 | 869 | |
862 | 870 | =begin original |
863 | 871 | |
864 | 872 | (S internal) The reference counts got screwed up on symbol aliases. |
865 | 873 | |
866 | 874 | =end original |
867 | 875 | |
868 | 876 | (S internal) シンボルのエイリアスについて、参照カウントの値がおかしな |
869 | 877 | 状態になりました。 |
870 | 878 | |
871 | 879 | =item Attempt to free unreferenced scalar: SV 0x%x |
872 | 880 | |
873 | 881 | =begin original |
874 | 882 | |
875 | 883 | (S internal) Perl went to decrement the reference count of a scalar to |
876 | 884 | see if it would go to 0, and discovered that it had already gone to 0 |
877 | 885 | earlier, and should have been freed, and in fact, probably was freed. |
878 | 886 | This could indicate that SvREFCNT_dec() was called too many times, or |
879 | 887 | that SvREFCNT_inc() was called too few times, or that the SV was |
880 | 888 | mortalized when it shouldn't have been, or that memory has been |
881 | 889 | corrupted. |
882 | 890 | |
883 | 891 | =end original |
884 | 892 | |
885 | 893 | (S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に |
886 | 894 | なるかを見たところ、既に 0 になっていることがわかりました; |
887 | 895 | これは、既に解放されているべきものであり、実際は、おそらく、 |
888 | 896 | 解放されたものでしょう。 |
889 | 897 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
890 | 898 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
891 | 899 | メモリ異常になったことが考えられます。 |
892 | 900 | |
893 | 901 | =item Attempt to pack pointer to temporary value |
894 | 902 | |
895 | 903 | =begin original |
896 | 904 | |
897 | 905 | (W pack) You tried to pass a temporary value (like the result of a |
898 | 906 | function, or a computed expression) to the "p" pack() template. This |
899 | 907 | means the result contains a pointer to a location that could become |
900 | 908 | invalid anytime, even before the end of the current statement. Use |
901 | 909 | literals or global values as arguments to the "p" pack() template to |
902 | 910 | avoid this warning. |
903 | 911 | |
904 | 912 | =end original |
905 | 913 | |
906 | 914 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
907 | 915 | "p" テンプレートに渡そうとしました。 |
908 | 916 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
909 | 917 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか |
910 | 918 | グローバルな値を使ってください。 |
911 | 919 | |
912 | 920 | =item Attempt to reload %s aborted. |
913 | 921 | |
914 | 922 | =begin original |
915 | 923 | |
916 | 924 | (F) You tried to load a file with C<use> or C<require> that failed to |
917 | 925 | compile once already. Perl will not try to compile this file again |
918 | 926 | unless you delete its entry from %INC. See L<perlfunc/require> and |
919 | 927 | L<perlvar/%INC>. |
920 | 928 | |
921 | 929 | =end original |
922 | 930 | |
923 | 931 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で |
924 | 932 | 読み込もうとしました。 |
925 | 933 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを |
926 | 934 | コンパイルしようとはしません。 |
927 | 935 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 |
928 | 936 | |
929 | 937 | =item Attempt to set length of freed array |
930 | 938 | |
931 | 939 | =begin original |
932 | 940 | |
933 | 941 | (W misc) You tried to set the length of an array which has |
934 | 942 | been freed. You can do this by storing a reference to the |
935 | 943 | scalar representing the last index of an array and later |
936 | 944 | assigning through that reference. For example |
937 | 945 | |
938 | 946 | =end original |
939 | 947 | |
940 | 948 | (W misc) 既に解放された配列の長さを設定しようとしました。 |
941 | 949 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 |
942 | 950 | 後でこのリファレンスを通して代入することでこれを行えます。 |
943 | 951 | 例えば: |
944 | 952 | |
945 | 953 | $r = do {my @a; \$#a}; |
946 | 954 | $$r = 503 |
947 | 955 | |
948 | 956 | =item Attempt to use reference as lvalue in substr |
949 | 957 | |
950 | 958 | =begin original |
951 | 959 | |
952 | 960 | (W substr) You supplied a reference as the first argument to substr() |
953 | 961 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
954 | 962 | dereference it first. See L<perlfunc/substr>. |
955 | 963 | |
956 | 964 | =end original |
957 | 965 | |
958 | 966 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
959 | 967 | 渡しました; これはやや奇妙なことです。 |
960 | 968 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
961 | 969 | L<perlfunc/substr> を参照してください。 |
962 | 970 | |
971 | =item Attribute "locked" is deprecated, and will disappear in Perl 5.28 | |
972 | ||
973 | =begin original | |
974 | ||
975 | (D deprecated) You have used the attributes pragma to modify the | |
976 | "locked" attribute on a code reference. The :locked attribute is | |
977 | obsolete, has had no effect since 5005 threads were removed, and | |
978 | will be removed in a Perl 5.28. | |
979 | ||
980 | =end original | |
981 | ||
982 | (D deprecated) コードリファレンスの "locked" 属性を修正するために | |
983 | attributes プラグマを使いました。 | |
984 | :locked 属性は古いもので、5005 スレッドが削除されてから何の効果もなく、 | |
985 | Perl 5.28 で削除されます。 | |
986 | ||
963 | 987 | =item Attribute prototype(%s) discards earlier prototype attribute in same sub |
964 | 988 | |
965 | 989 | =begin original |
966 | 990 | |
967 | 991 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for |
968 | 992 | example. Since each sub can only have one prototype, the earlier |
969 | 993 | declaration(s) are discarded while the last one is applied. |
970 | 994 | |
971 | 995 | =end original |
972 | 996 | |
973 | 997 | (W misc) あるサブルーチンが、例えば |
974 | 998 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 |
975 | 999 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に |
976 | 1000 | 宣言されたものは破棄され、最後のものが適用されます。 |
977 | 1001 | |
1002 | =item Attribute "unique" is deprecated, and will disappear in Perl 5.28 | |
1003 | ||
1004 | =begin original | |
1005 | ||
1006 | (D deprecated) You have used the attributes pragma to modify | |
1007 | the "unique" attribute on an array, hash or scalar reference. | |
1008 | The :unique attribute has had no effect since Perl 5.8.8, and | |
1009 | will be removed in a Perl 5.28. | |
1010 | ||
1011 | =end original | |
1012 | ||
1013 | (D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を | |
1014 | 修正するために attributes プラグマを使いました。 | |
1015 | :unique 属性は Perl 5.8.8 から何の効果もなく、Perl 5.28 で削除されます。 | |
1016 | ||
978 | 1017 | =item av_reify called on tied array |
979 | 1018 | |
980 | 1019 | =begin original |
981 | 1020 | |
982 | 1021 | (S debugging) This indicates that something went wrong and Perl got I<very> |
983 | 1022 | confused about C<@_> or C<@DB::args> being tied. |
984 | 1023 | |
985 | 1024 | =end original |
986 | 1025 | |
987 | 1026 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが |
988 | 1027 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 |
989 | 1028 | |
990 | 1029 | =item Bad arg length for %s, is %u, should be %d |
991 | 1030 | |
992 | 1031 | =begin original |
993 | 1032 | |
994 | 1033 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
995 | 1034 | or shmctl(). In C parlance, the correct sizes are, respectively, |
996 | 1035 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
997 | 1036 | S<sizeof(struct shmid_ds *)>. |
998 | 1037 | |
999 | 1038 | =end original |
1000 | 1039 | |
1001 | 1040 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
1002 | 1041 | 渡してしまいました。 |
1003 | 1042 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
1004 | 1043 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
1005 | 1044 | |
1006 | 1045 | =item Bad evalled substitution pattern |
1007 | 1046 | |
1008 | 1047 | =begin original |
1009 | 1048 | |
1010 | 1049 | (F) You've used the C</e> switch to evaluate the replacement for a |
1011 | 1050 | substitution, but perl found a syntax error in the code to evaluate, |
1012 | 1051 | most likely an unexpected right brace '}'. |
1013 | 1052 | |
1014 | 1053 | =end original |
1015 | 1054 | |
1016 | 1055 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
1017 | 1056 | いますが、評価するコードに文法エラーがありました; |
1018 | 1057 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
1019 | 1058 | |
1020 | 1059 | =item Bad filehandle: %s |
1021 | 1060 | |
1022 | 1061 | =begin original |
1023 | 1062 | |
1024 | 1063 | (F) A symbol was passed to something wanting a filehandle, but the |
1025 | 1064 | symbol has no filehandle associated with it. Perhaps you didn't do an |
1026 | 1065 | open(), or did it in another package. |
1027 | 1066 | |
1028 | 1067 | =end original |
1029 | 1068 | |
1030 | 1069 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 |
1031 | 1070 | それに伴うファイルハンドルがありません。 |
1032 | 1071 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
1033 | 1072 | |
1034 | 1073 | =item Bad free() ignored |
1035 | 1074 | |
1036 | 1075 | =begin original |
1037 | 1076 | |
1038 | 1077 | (S malloc) An internal routine called free() on something that had never |
1039 | 1078 | been malloc()ed in the first place. Mandatory, but can be disabled by |
1040 | 1079 | setting environment variable C<PERL_BADFREE> to 0. |
1041 | 1080 | |
1042 | 1081 | =end original |
1043 | 1082 | |
1044 | 1083 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
1045 | 1084 | free() を呼びました。 |
1046 | 1085 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
1047 | 1086 | |
1048 | 1087 | =begin original |
1049 | 1088 | |
1050 | 1089 | This message can be seen quite often with DB_File on systems with "hard" |
1051 | 1090 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> |
1052 | 1091 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
1053 | 1092 | |
1054 | 1093 | =end original |
1055 | 1094 | |
1056 | 1095 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
1057 | 1096 | 行うシステムで DB_File を使うとしばしば表示されます。 |
1058 | 1097 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
1059 | 1098 | C<Berkeley DB> のバグです。 |
1060 | 1099 | |
1100 | =item Bad hash | |
1101 | ||
1102 | =begin original | |
1103 | ||
1104 | (P) One of the internal hash routines was passed a null HV pointer. | |
1105 | ||
1106 | =end original | |
1107 | ||
1108 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 | |
1109 | ||
1061 | 1110 | =item Badly placed ()'s |
1062 | 1111 | |
1063 | 1112 | =begin original |
1064 | 1113 | |
1065 | 1114 | (A) You've accidentally run your script through B<csh> instead |
1066 | 1115 | of Perl. Check the #! line, or manually feed your script into |
1067 | 1116 | Perl yourself. |
1068 | 1117 | |
1069 | 1118 | =end original |
1070 | 1119 | |
1071 | 1120 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
1072 | #! 行を | |
1121 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
1073 | 1122 | |
1074 | 1123 | =item Bad name after %s |
1075 | 1124 | |
1076 | 1125 | =begin original |
1077 | 1126 | |
1078 | 1127 | (F) You started to name a symbol by using a package prefix, and then |
1079 | 1128 | didn't finish the symbol. In particular, you can't interpolate outside |
1080 | 1129 | of quotes, so |
1081 | 1130 | |
1082 | 1131 | =end original |
1083 | 1132 | |
1084 | 1133 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが |
1085 | 1134 | 終了しませんでした。 |
1086 | 1135 | 特に、クォートの外で、変数展開はできませんから、 |
1087 | 1136 | |
1088 | 1137 | $var = 'myvar'; |
1089 | 1138 | $sym = mypack::$var; |
1090 | 1139 | |
1091 | 1140 | =begin original |
1092 | 1141 | |
1093 | 1142 | is not the same as |
1094 | 1143 | |
1095 | 1144 | =end original |
1096 | 1145 | |
1097 | 1146 | は、以下と同じではありません。 |
1098 | 1147 | |
1099 | 1148 | $var = 'myvar'; |
1100 | 1149 | $sym = "mypack::$var"; |
1101 | 1150 | |
1102 | 1151 | =item Bad plugin affecting keyword '%s' |
1103 | 1152 | |
1104 | 1153 | =begin original |
1105 | 1154 | |
1106 | 1155 | (F) An extension using the keyword plugin mechanism violated the |
1107 | 1156 | plugin API. |
1108 | 1157 | |
1109 | 1158 | =end original |
1110 | 1159 | |
1111 | 1160 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に |
1112 | 1161 | 違反しました。 |
1113 | 1162 | |
1114 | 1163 | =item Bad realloc() ignored |
1115 | 1164 | |
1116 | 1165 | =begin original |
1117 | 1166 | |
1118 | 1167 | (S malloc) An internal routine called realloc() on something that |
1119 | 1168 | had never been malloc()ed in the first place. Mandatory, but can |
1120 | 1169 | be disabled by setting the environment variable C<PERL_BADFREE> to 1. |
1121 | 1170 | |
1122 | 1171 | =end original |
1123 | 1172 | |
1124 | 1173 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
1125 | 1174 | realloc() を呼び出しました。 |
1126 | 1175 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
1127 | 1176 | |
1128 | 1177 | =item Bad symbol for array |
1129 | 1178 | |
1130 | 1179 | =begin original |
1131 | 1180 | |
1132 | 1181 | (P) An internal request asked to add an array entry to something that |
1133 | 1182 | wasn't a symbol table entry. |
1134 | 1183 | |
1135 | 1184 | =end original |
1136 | 1185 | |
1137 | 1186 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
1138 | 1187 | 内部要求があがりました。 |
1139 | 1188 | |
1140 | 1189 | =item Bad symbol for dirhandle |
1141 | 1190 | |
1142 | 1191 | =begin original |
1143 | 1192 | |
1144 | 1193 | (P) An internal request asked to add a dirhandle entry to something |
1145 | 1194 | that wasn't a symbol table entry. |
1146 | 1195 | |
1147 | 1196 | =end original |
1148 | 1197 | |
1149 | 1198 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを |
1150 | 1199 | 登録するような内部要求があがりました。 |
1151 | 1200 | |
1152 | 1201 | =item Bad symbol for filehandle |
1153 | 1202 | |
1154 | 1203 | =begin original |
1155 | 1204 | |
1156 | 1205 | (P) An internal request asked to add a filehandle entry to something |
1157 | 1206 | that wasn't a symbol table entry. |
1158 | 1207 | |
1159 | 1208 | =end original |
1160 | 1209 | |
1161 | 1210 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
1162 | 1211 | 登録するような内部要求があがりました。 |
1163 | 1212 | |
1164 | 1213 | =item Bad symbol for hash |
1165 | 1214 | |
1166 | 1215 | =begin original |
1167 | 1216 | |
1168 | 1217 | (P) An internal request asked to add a hash entry to something that |
1169 | 1218 | wasn't a symbol table entry. |
1170 | 1219 | |
1171 | 1220 | =end original |
1172 | 1221 | |
1173 | 1222 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
1174 | 1223 | 登録するような内部要求があがった。 |
1175 | 1224 | |
1176 | 1225 | =item Bad symbol for scalar |
1177 | 1226 | |
1178 | 1227 | =begin original |
1179 | 1228 | |
1180 | 1229 | (P) An internal request asked to add a scalar entry to something that |
1181 | 1230 | wasn't a symbol table entry. |
1182 | 1231 | |
1183 | 1232 | =end original |
1184 | 1233 | |
1185 | 1234 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを |
1186 | 1235 | 追加するよう要求がありました。 |
1187 | 1236 | |
1188 | 1237 | =item Bareword found in conditional |
1189 | 1238 | |
1190 | 1239 | =begin original |
1191 | 1240 | |
1192 | 1241 | (W bareword) The compiler found a bareword where it expected a |
1193 | 1242 | conditional, which often indicates that an || or && was parsed as part |
1194 | 1243 | of the last argument of the previous construct, for example: |
1195 | 1244 | |
1196 | 1245 | =end original |
1197 | 1246 | |
1198 | 1247 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; |
1199 | 1248 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
1200 | 1249 | パースされたことを意味します; 例えば: |
1201 | 1250 | |
1202 | 1251 | open FOO || die; |
1203 | 1252 | |
1204 | 1253 | =begin original |
1205 | 1254 | |
1206 | 1255 | It may also indicate a misspelled constant that has been interpreted as |
1207 | 1256 | a bareword: |
1208 | 1257 | |
1209 | 1258 | =end original |
1210 | 1259 | |
1211 | 1260 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
1212 | 1261 | 示している場合もあります: |
1213 | 1262 | |
1214 | 1263 | use constant TYPO => 1; |
1215 | 1264 | if (TYOP) { print "foo" } |
1216 | 1265 | |
1217 | 1266 | =begin original |
1218 | 1267 | |
1219 | 1268 | The C<strict> pragma is useful in avoiding such errors. |
1220 | 1269 | |
1221 | 1270 | =end original |
1222 | 1271 | |
1223 | 1272 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
1224 | 1273 | |
1225 | 1274 | =item Bareword in require contains "%s" |
1226 | 1275 | |
1227 | 1276 | =item Bareword in require maps to disallowed filename "%s" |
1228 | 1277 | |
1229 | 1278 | =item Bareword in require maps to empty filename |
1230 | 1279 | |
1231 | 1280 | =begin original |
1232 | 1281 | |
1233 | 1282 | (F) The bareword form of require has been invoked with a filename which could |
1234 | 1283 | not have been generated by a valid bareword permitted by the parser. You |
1235 | 1284 | shouldn't be able to get this error from Perl code, but XS code may throw it |
1236 | 1285 | if it passes an invalid module name to C<Perl_load_module>. |
1237 | 1286 | |
1238 | 1287 | =end original |
1239 | 1288 | |
1240 | 1289 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって |
1241 | 1290 | 生成することができないファイル名で起動されました。 |
1242 | 1291 | このエラーを Perl コードから得るようにできるべきではありませんが、 |
1243 | 1292 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは |
1244 | 1293 | これを投げるかもしれません。 |
1245 | 1294 | |
1246 | 1295 | =item Bareword in require must not start with a double-colon: "%s" |
1247 | 1296 | |
1248 | 1297 | =begin original |
1249 | 1298 | |
1250 | 1299 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a |
1251 | 1300 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. |
1252 | 1301 | |
1253 | 1302 | =end original |
1254 | 1303 | |
1255 | 1304 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから |
1256 | 1305 | 開始することはできません。 |
1257 | 1306 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 |
1258 | 1307 | |
1259 | 1308 | =item Bareword "%s" not allowed while "strict subs" in use |
1260 | 1309 | |
1261 | 1310 | =begin original |
1262 | 1311 | |
1263 | 1312 | (F) With "strict subs" in use, a bareword is only allowed as a |
1264 | 1313 | subroutine identifier, in curly brackets or to the left of the "=>" |
1265 | 1314 | symbol. Perhaps you need to predeclare a subroutine? |
1266 | 1315 | |
1267 | 1316 | =end original |
1268 | 1317 | |
1269 | 1318 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 |
1270 | 1319 | シンボル "=>" の左側でのみ許されます。 |
1271 | 1320 | おそらくサブルーチンを先行宣言する必要があるのでは? |
1272 | 1321 | |
1273 | 1322 | =item Bareword "%s" refers to nonexistent package |
1274 | 1323 | |
1275 | 1324 | =begin original |
1276 | 1325 | |
1277 | 1326 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
1278 | 1327 | compiler saw no other uses of that namespace before that point. Perhaps |
1279 | 1328 | you need to predeclare a package? |
1280 | 1329 | |
1281 | 1330 | =end original |
1282 | 1331 | |
1283 | 1332 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
1284 | 1333 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
1285 | 1334 | 発見できませんでした。 |
1286 | 1335 | おそらくパッケージを専攻宣言する必要があるのでは? |
1287 | 1336 | |
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 | ||
1312 | 1337 | =item BEGIN failed--compilation aborted |
1313 | 1338 | |
1314 | 1339 | =begin original |
1315 | 1340 | |
1316 | 1341 | (F) An untrapped exception was raised while executing a BEGIN |
1317 | 1342 | subroutine. Compilation stops immediately and the interpreter is |
1318 | 1343 | exited. |
1319 | 1344 | |
1320 | 1345 | =end original |
1321 | 1346 | |
1322 | 1347 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 |
1323 | 1348 | コンパイルは即座に停止し、インタプリタは中止します。 |
1324 | 1349 | |
1325 | 1350 | =item BEGIN not safe after errors--compilation aborted |
1326 | 1351 | |
1327 | 1352 | =begin original |
1328 | 1353 | |
1329 | 1354 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
1330 | 1355 | implies a C<BEGIN {}>) after one or more compilation errors had already |
1331 | 1356 | occurred. Since the intended environment for the C<BEGIN {}> could not |
1332 | 1357 | be guaranteed (due to the errors), and since subsequent code likely |
1333 | 1358 | depends on its correct operation, Perl just gave up. |
1334 | 1359 | |
1335 | 1360 | =end original |
1336 | 1361 | |
1337 | 1362 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
1338 | 1363 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 |
1339 | 1364 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは |
1340 | 1365 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 |
1341 | 1366 | |
1342 | 1367 | =item \%d better written as $%d |
1343 | 1368 | |
1344 | 1369 | =begin original |
1345 | 1370 | |
1346 | 1371 | (W syntax) Outside of patterns, backreferences live on as variables. |
1347 | 1372 | The use of backslashes is grandfathered on the right-hand side of a |
1348 | 1373 | substitution, but stylistically it's better to use the variable form |
1349 | 1374 | because other Perl programmers will expect it, and it works better if |
1350 | 1375 | there are more than 9 backreferences. |
1351 | 1376 | |
1352 | 1377 | =end original |
1353 | 1378 | |
1354 | 1379 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1355 | 1380 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の |
1356 | 1381 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 |
1357 | 1382 | 変数形式を使う方が良いでしょう。 |
1358 | 1383 | |
1359 | 1384 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1360 | 1385 | |
1361 | 1386 | =begin original |
1362 | 1387 | |
1363 | 1388 | (W portable) The binary number you specified is larger than 2**32-1 |
1364 | 1389 | (4294967295) and therefore non-portable between systems. See |
1365 | 1390 | L<perlport> for more on portability concerns. |
1366 | 1391 | |
1367 | 1392 | =end original |
1368 | 1393 | |
1369 | 1394 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1370 | 1395 | システム間での移植性がありません。 |
1371 | 1396 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1372 | 1397 | |
1373 | 1398 | =item bind() on closed socket %s |
1374 | 1399 | |
1375 | 1400 | =begin original |
1376 | 1401 | |
1377 | 1402 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1378 | 1403 | check the return value of your socket() call? See L<perlfunc/bind>. |
1379 | 1404 | |
1380 | 1405 | =end original |
1381 | 1406 | |
1382 | 1407 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1383 | 1408 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1384 | 1409 | L<perlfunc/bind> を参照してください。 |
1385 | 1410 | |
1386 | 1411 | =item binmode() on closed filehandle %s |
1387 | 1412 | |
1388 | 1413 | =begin original |
1389 | 1414 | |
1390 | 1415 | (W unopened) You tried binmode() on a filehandle that was never opened. |
1391 | 1416 | Check your control flow and number of arguments. |
1392 | 1417 | |
1393 | 1418 | =end original |
1394 | 1419 | |
1395 | 1420 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 |
1396 | 1421 | 制御フローと引数の数をチェックしてください。 |
1397 | 1422 | |
1398 | 1423 | =item Bit vector size > 32 non-portable |
1399 | 1424 | |
1400 | 1425 | =begin original |
1401 | 1426 | |
1402 | 1427 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
1403 | 1428 | |
1404 | 1429 | =end original |
1405 | 1430 | |
1406 | 1431 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
1407 | 1432 | |
1408 | 1433 | =item Bizarre copy of %s |
1409 | 1434 | |
1410 | 1435 | =begin original |
1411 | 1436 | |
1412 | 1437 | (P) Perl detected an attempt to copy an internal value that is not |
1413 | 1438 | copiable. |
1414 | 1439 | |
1415 | 1440 | =end original |
1416 | 1441 | |
1417 | 1442 | (P) コピーできない内部の値をコピーしようとしました。 |
1418 | 1443 | |
1419 | 1444 | =item Bizarre SvTYPE [%d] |
1420 | 1445 | |
1421 | 1446 | =begin original |
1422 | 1447 | |
1423 | 1448 | (P) When starting a new thread or returning values from a thread, Perl |
1424 | 1449 | encountered an invalid data type. |
1425 | 1450 | |
1426 | 1451 | =end original |
1427 | 1452 | |
1428 | 1453 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な |
1429 | 1454 | データ型に遭遇しました。 |
1430 | 1455 | |
1431 | 1456 | =item Both or neither range ends should be Unicode in regex; marked by |
1432 | 1457 | S<<-- HERE> in m/%s/ |
1433 | 1458 | |
1434 | 1459 | =begin original |
1435 | 1460 | |
1436 | 1461 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
1437 | 1462 | |
1438 | 1463 | =end original |
1439 | 1464 | |
1440 | (W regexp) (C<S<use re 'strict'>> の | |
1465 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
1441 | 1466 | |
1442 | 1467 | =begin original |
1443 | 1468 | |
1444 | 1469 | In a bracketed character class in a regular expression pattern, you |
1445 | 1470 | had a range which has exactly one end of it specified using C<\N{}>, and |
1446 | 1471 | the other end is specified using a non-portable mechanism. Perl treats |
1447 | 1472 | the range as a Unicode range, that is, all the characters in it are |
1448 | 1473 | considered to be the Unicode characters, and which may be different code |
1449 | 1474 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> |
1450 | 1475 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it |
1451 | 1476 | matches the characters whose code points in Unicode are 6, 7, and 8. |
1452 | 1477 | But that C<\x08> might indicate that you meant something different, so |
1453 | 1478 | the warning gets raised. |
1454 | 1479 | |
1455 | 1480 | =end original |
1456 | 1481 | |
1457 | 1482 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って |
1458 | 1483 | 指定し、もう片方は移植性のない方法を使って指定しました。 |
1459 | 1484 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は |
1460 | 1485 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは |
1461 | 1486 | 異なる符号位置になるかもしれません。 |
1462 | 1487 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と |
1463 | 1488 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 |
1464 | 1489 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 |
1465 | 1490 | 警告が発生します。 |
1466 | 1491 | |
1467 | 1492 | =item Buffer overflow in prime_env_iter: %s |
1468 | 1493 | |
1469 | 1494 | =begin original |
1470 | 1495 | |
1471 | 1496 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1472 | 1497 | iterate over %ENV, it encountered a logical name or symbol definition |
1473 | 1498 | which was too long, so it was truncated to the string shown. |
1474 | 1499 | |
1475 | 1500 | =end original |
1476 | 1501 | |
1477 | 1502 | (W internal) VMS に固有の警告です。 |
1478 | 1503 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 |
1479 | 1504 | 文字列は表示したように切り詰められました。 |
1480 | 1505 | |
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 | ||
1515 | 1506 | =item Callback called exit |
1516 | 1507 | |
1517 | 1508 | =begin original |
1518 | 1509 | |
1519 | 1510 | (F) A subroutine invoked from an external package via call_sv() |
1520 | 1511 | exited by calling exit. |
1521 | 1512 | |
1522 | 1513 | =end original |
1523 | 1514 | |
1524 | 1515 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで |
1525 | 1516 | 終了しました。 |
1526 | 1517 | |
1527 | 1518 | =item %s() called too early to check prototype |
1528 | 1519 | |
1529 | 1520 | =begin original |
1530 | 1521 | |
1531 | 1522 | (W prototype) You've called a function that has a prototype before the |
1532 | 1523 | parser saw a definition or declaration for it, and Perl could not check |
1533 | 1524 | that the call conforms to the prototype. You need to either add an |
1534 | 1525 | early prototype declaration for the subroutine in question, or move the |
1535 | 1526 | subroutine definition ahead of the call to get proper prototype |
1536 | 1527 | checking. Alternatively, if you are certain that you're calling the |
1537 | 1528 | function correctly, you may put an ampersand before the name to avoid |
1538 | 1529 | the warning. See L<perlsub>. |
1539 | 1530 | |
1540 | 1531 | =end original |
1541 | 1532 | |
1542 | 1533 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1543 | 1534 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1544 | 1535 | 従っているかどうかをチェックできませんでした。 |
1545 | 1536 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1546 | 1537 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1547 | 1538 | 移動させる必要があります。 |
1548 | 1539 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1549 | 1540 | アンパサンドを付けることで警告を回避できます。 |
1550 | 1541 | L<perlsub> を参照してください。 |
1551 | 1542 | |
1552 | 1543 | =item Cannot chr %f |
1553 | 1544 | |
1554 | 1545 | =begin original |
1555 | 1546 | |
1556 | 1547 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. |
1557 | 1548 | |
1558 | 1549 | =end original |
1559 | 1550 | |
1560 | 1551 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 |
1561 | 1552 | |
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 | 1553 | =item Cannot compress %f in pack |
1578 | 1554 | |
1579 | 1555 | =begin original |
1580 | 1556 | |
1581 | 1557 | (F) You tried compressing an infinity or not-a-number as an unsigned |
1582 | 1558 | integer with BER, which makes no sense. |
1583 | 1559 | |
1584 | 1560 | =end original |
1585 | 1561 | |
1586 | 1562 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 |
1587 | 1563 | |
1588 | 1564 | =item Cannot compress integer in pack |
1589 | 1565 | |
1590 | 1566 | =begin original |
1591 | 1567 | |
1592 | 1568 | (F) An argument to pack("w",...) was too large to compress. |
1593 | 1569 | The BER compressed integer format can only be used with positive |
1594 | 1570 | integers, and you attempted to compress a very large number (> 1e308). |
1595 | 1571 | See L<perlfunc/pack>. |
1596 | 1572 | |
1597 | 1573 | =end original |
1598 | 1574 | |
1599 | 1575 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 |
1600 | 1576 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 |
1601 | 1577 | (> 1e308) を圧縮しようとしました。 |
1602 | 1578 | L<perlfunc/pack> を参照してください。 |
1603 | 1579 | |
1604 | 1580 | =item Cannot compress negative numbers in pack |
1605 | 1581 | |
1606 | 1582 | =begin original |
1607 | 1583 | |
1608 | 1584 | (F) An argument to pack("w",...) was negative. The BER compressed integer |
1609 | 1585 | format can only be used with positive integers. See L<perlfunc/pack>. |
1610 | 1586 | |
1611 | 1587 | =end original |
1612 | 1588 | |
1613 | 1589 | (F) pack("w",...) の引数が負数です。 |
1614 | 1590 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 |
1615 | 1591 | L<perlfunc/pack> を参照してください。 |
1616 | 1592 | |
1617 | 1593 | =item Cannot convert a reference to %s to typeglob |
1618 | 1594 | |
1619 | 1595 | =begin original |
1620 | 1596 | |
1621 | 1597 | (F) You manipulated Perl's symbol table directly, stored a reference |
1622 | 1598 | in it, then tried to access that symbol via conventional Perl syntax. |
1623 | 1599 | The access triggers Perl to autovivify that typeglob, but it there is |
1624 | 1600 | no legal conversion from that type of reference to a typeglob. |
1625 | 1601 | |
1626 | 1602 | =end original |
1627 | 1603 | |
1628 | 1604 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に |
1629 | 1605 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって |
1630 | 1606 | アクセスしようとしました。 |
1631 | 1607 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 |
1632 | 1608 | リファレンス型から型グロブへの正当な変換方法はありません。 |
1633 | 1609 | |
1634 | 1610 | =item Cannot copy to %s |
1635 | 1611 | |
1636 | 1612 | =begin original |
1637 | 1613 | |
1638 | 1614 | (P) Perl detected an attempt to copy a value to an internal type that cannot |
1639 | 1615 | be directly assigned to. |
1640 | 1616 | |
1641 | 1617 | =end original |
1642 | 1618 | |
1643 | 1619 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを |
1644 | 1620 | 検出しました。 |
1645 | 1621 | |
1646 | 1622 | =item Cannot find encoding "%s" |
1647 | 1623 | |
1648 | 1624 | =begin original |
1649 | 1625 | |
1650 | 1626 | (S io) You tried to apply an encoding that did not exist to a filehandle, |
1651 | 1627 | either with open() or binmode(). |
1652 | 1628 | |
1653 | 1629 | =end original |
1654 | 1630 | |
1655 | 1631 | (S io) open() または binmode() のファイルハンドルに存在しない |
1656 | 1632 | エンコーディングを適用しようとしました。 |
1657 | 1633 | |
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 | 1634 | =item Cannot pack %f with '%c' |
1695 | 1635 | |
1696 | 1636 | =begin original |
1697 | 1637 | |
1698 | 1638 | (F) You tried converting an infinity or not-a-number to an integer, |
1699 | 1639 | which makes no sense. |
1700 | 1640 | |
1701 | 1641 | =end original |
1702 | 1642 | |
1703 | 1643 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 |
1704 | 1644 | |
1705 | 1645 | =item Cannot printf %f with '%c' |
1706 | 1646 | |
1707 | 1647 | =begin original |
1708 | 1648 | |
1709 | 1649 | (F) You tried printing an infinity or not-a-number as a character (%c), |
1710 | 1650 | which makes no sense. Maybe you meant '%s', or just stringifying it? |
1711 | 1651 | |
1712 | 1652 | =end original |
1713 | 1653 | |
1714 | 1654 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 |
1715 | 1655 | おそらく '%s' か、単に文字列化したかったのでは? |
1716 | 1656 | |
1717 | 1657 | =item Cannot set tied @DB::args |
1718 | 1658 | |
1719 | 1659 | =begin original |
1720 | 1660 | |
1721 | 1661 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> |
1722 | 1662 | is not supported. (Before this error was added, it used to crash.) |
1723 | 1663 | |
1724 | 1664 | =end original |
1725 | 1665 | |
1726 | 1666 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 |
1727 | 1667 | C<@DB::args> の tie は非対応です。 |
1728 | 1668 | (このエラーが追加する前は、クラッシュしていました。) |
1729 | 1669 | |
1730 | 1670 | =item Cannot tie unreifiable array |
1731 | 1671 | |
1732 | 1672 | =begin original |
1733 | 1673 | |
1734 | 1674 | (P) You somehow managed to call C<tie> on an array that does not |
1735 | 1675 | keep a reference count on its arguments and cannot be made to |
1736 | 1676 | do so. Such arrays are not even supposed to be accessible to |
1737 | 1677 | Perl code, but are only used internally. |
1738 | 1678 | |
1739 | 1679 | =end original |
1740 | 1680 | |
1741 | 1681 | (P) 参照カウントを保持していない配列を引数にして C<tie> を |
1742 | 1682 | 呼び出そうとしましたがそうできませんでした。 |
1743 | 1683 | このような配列は Perl コードからアクセスできると想定してはならず、 |
1744 | 1684 | 内部だけで使われます。 |
1745 | 1685 | |
1746 | =item Cannot yet reorder sv_ | |
1686 | =item Cannot yet reorder sv_catpvfn() arguments from va_list | |
1747 | 1687 | |
1748 | 1688 | =begin original |
1749 | 1689 | |
1750 | (F) Some XS code tried to use C<sv_ | |
1690 | (F) Some XS code tried to use C<sv_catpvfn()> or a related function with a | |
1751 | 1691 | format string that specifies explicit indexes for some of the elements, and |
1752 | 1692 | using a C-style variable-argument list (a C<va_list>). This is not currently |
1753 | 1693 | supported. XS authors wanting to do this must instead construct a C array |
1754 | 1694 | of C<SV*> scalars containing the arguments. |
1755 | 1695 | |
1756 | 1696 | =end original |
1757 | 1697 | |
1758 | 1698 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した |
1759 | フォーマット文字列を使って C<sv_ | |
1699 | フォーマット文字列を使って C<sv_catpvfn()> や関連する関数を使おうとして、 | |
1760 | 1700 | C 形式の可変引数リスト (C<va_list>) を使っています。 |
1761 | 1701 | これは現在のところ対応していません。 |
1762 | 1702 | これをしたい XS 作者は代わりに、引数を含む |
1763 | 1703 | C<SV*> スカラの C 配列を構築しなければなりません。 |
1764 | 1704 | |
1765 | 1705 | =item Can only compress unsigned integers in pack |
1766 | 1706 | |
1767 | 1707 | =begin original |
1768 | 1708 | |
1769 | 1709 | (F) An argument to pack("w",...) was not an integer. The BER compressed |
1770 | 1710 | integer format can only be used with positive integers, and you attempted |
1771 | 1711 | to compress something else. See L<perlfunc/pack>. |
1772 | 1712 | |
1773 | 1713 | =end original |
1774 | 1714 | |
1775 | 1715 | (F) pack("w",...) の引数が整数ではありません。 |
1776 | 1716 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを |
1777 | 1717 | 圧縮しようとしました。 |
1778 | 1718 | L<perlfunc/pack> を参照してください。 |
1779 | 1719 | |
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 | ||
1806 | 1720 | =item Can't bless non-reference value |
1807 | 1721 | |
1808 | 1722 | =begin original |
1809 | 1723 | |
1810 | 1724 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1811 | 1725 | encapsulation of objects. See L<perlobj>. |
1812 | 1726 | |
1813 | 1727 | =end original |
1814 | 1728 | |
1815 | 1729 | (F) ハードリファレンスのみが bless できます。 |
1816 | 1730 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1817 | 1731 | L<perlobj> を参照してください。 |
1818 | 1732 | |
1819 | 1733 | =item Can't "break" in a loop topicalizer |
1820 | 1734 | |
1821 | 1735 | =begin original |
1822 | 1736 | |
1823 | 1737 | (F) You called C<break>, but you're in a C<foreach> block rather than |
1824 | 1738 | a C<given> block. You probably meant to use C<next> or C<last>. |
1825 | 1739 | |
1826 | 1740 | =end original |
1827 | 1741 | |
1828 | 1742 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> |
1829 | 1743 | ブロック内でした。 |
1830 | 1744 | おそらく C<next> や C<last> を使いたかったのでしょう。 |
1831 | 1745 | |
1832 | 1746 | =item Can't "break" outside a given block |
1833 | 1747 | |
1834 | 1748 | =begin original |
1835 | 1749 | |
1836 | 1750 | (F) You called C<break>, but you're not inside a C<given> block. |
1837 | 1751 | |
1838 | 1752 | =end original |
1839 | 1753 | |
1840 | 1754 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 |
1841 | 1755 | |
1842 | 1756 | =item Can't call method "%s" on an undefined value |
1843 | 1757 | |
1844 | 1758 | =begin original |
1845 | 1759 | |
1846 | 1760 | (F) You used the syntax of a method call, but the slot filled by the |
1847 | 1761 | object reference or package name contains an undefined value. Something |
1848 | 1762 | like this will reproduce the error: |
1849 | 1763 | |
1850 | 1764 | =end original |
1851 | 1765 | |
1852 | 1766 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか |
1853 | 1767 | パッケージ名であるべきところが未定義値です。 |
1854 | 1768 | 以下のように書くとエラーが再現します: |
1855 | 1769 | |
1856 | 1770 | $BADREF = undef; |
1857 | 1771 | process $BADREF 1,2,3; |
1858 | 1772 | $BADREF->process(1,2,3); |
1859 | 1773 | |
1860 | 1774 | =item Can't call method "%s" on unblessed reference |
1861 | 1775 | |
1862 | 1776 | =begin original |
1863 | 1777 | |
1864 | 1778 | (F) A method call must know in what package it's supposed to run. It |
1865 | 1779 | ordinarily finds this out from the object reference you supply, but you |
1866 | 1780 | didn't supply an object reference in this case. A reference isn't an |
1867 | 1781 | object reference until it has been blessed. See L<perlobj>. |
1868 | 1782 | |
1869 | 1783 | =end original |
1870 | 1784 | |
1871 | 1785 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1872 | 1786 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1873 | 1787 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1874 | 1788 | 渡されませんでした。 |
1875 | 1789 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1876 | 1790 | L<perlobj> を参照してください。 |
1877 | 1791 | |
1878 | 1792 | =item Can't call method "%s" without a package or object reference |
1879 | 1793 | |
1880 | 1794 | =begin original |
1881 | 1795 | |
1882 | 1796 | (F) You used the syntax of a method call, but the slot filled by the |
1883 | 1797 | object reference or package name contains an expression that returns a |
1884 | 1798 | defined value which is neither an object reference nor a package name. |
1885 | 1799 | Something like this will reproduce the error: |
1886 | 1800 | |
1887 | 1801 | =end original |
1888 | 1802 | |
1889 | 1803 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1890 | 1804 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1891 | 1805 | パッケージ名も返さない定義された式が書かれています。 |
1892 | 1806 | 以下のように書くとエラーが再現します: |
1893 | 1807 | |
1894 | 1808 | $BADREF = 42; |
1895 | 1809 | process $BADREF 1,2,3; |
1896 | 1810 | $BADREF->process(1,2,3); |
1897 | 1811 | |
1898 | 1812 | =item Can't call mro_isa_changed_in() on anonymous symbol table |
1899 | 1813 | |
1900 | 1814 | =begin original |
1901 | 1815 | |
1902 | 1816 | (P) Perl got confused as to whether a hash was a plain hash or a |
1903 | 1817 | symbol table hash when trying to update @ISA caches. |
1904 | 1818 | |
1905 | 1819 | =end original |
1906 | 1820 | |
1907 | 1821 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか |
1908 | 1822 | シンボルテーブルハッシュかについて perl は混乱しました。 |
1909 | 1823 | |
1910 | 1824 | =item Can't call mro_method_changed_in() on anonymous symbol table |
1911 | 1825 | |
1912 | 1826 | =begin original |
1913 | 1827 | |
1914 | 1828 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was |
1915 | 1829 | not attached to the symbol table. |
1916 | 1830 | |
1917 | 1831 | =end original |
1918 | 1832 | |
1919 | 1833 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して |
1920 | 1834 | C<mro_method_changed_in> を呼び出しました。 |
1921 | 1835 | |
1922 | 1836 | =item Can't chdir to %s |
1923 | 1837 | |
1924 | 1838 | =begin original |
1925 | 1839 | |
1926 | 1840 | (F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory |
1927 | 1841 | that you can chdir to, possibly because it doesn't exist. |
1928 | 1842 | |
1929 | 1843 | =end original |
1930 | 1844 | |
1931 | 1845 | (F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に |
1932 | 1846 | chdir することができません; おそらく、存在しないのではないでしょうか。 |
1933 | 1847 | |
1848 | =item Can't check filesystem of script "%s" for nosuid | |
1849 | ||
1850 | =begin original | |
1851 | ||
1852 | (P) For some reason you can't check the filesystem of the script for | |
1853 | nosuid. | |
1854 | ||
1855 | =end original | |
1856 | ||
1857 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから | |
1858 | 調べることができません。 | |
1859 | ||
1934 | 1860 | =item Can't coerce %s to %s in %s |
1935 | 1861 | |
1936 | 1862 | =begin original |
1937 | 1863 | |
1938 | 1864 | (F) Certain types of SVs, in particular real symbol table entries |
1939 | 1865 | (typeglobs), can't be forced to stop being what they are. So you can't |
1940 | 1866 | say things like: |
1941 | 1867 | |
1942 | 1868 | =end original |
1943 | 1869 | |
1944 | 1870 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1945 | 1871 | 一つの型に留めておくことができません。 |
1946 | 1872 | したがって、以下のようにすることはできません: |
1947 | 1873 | |
1948 | 1874 | *foo += 1; |
1949 | 1875 | |
1950 | 1876 | =begin original |
1951 | 1877 | |
1952 | 1878 | You CAN say |
1953 | 1879 | |
1954 | 1880 | =end original |
1955 | 1881 | |
1956 | 1882 | 以下のようにはできますが: |
1957 | 1883 | |
1958 | 1884 | $foo = *foo; |
1959 | 1885 | $foo += 1; |
1960 | 1886 | |
1961 | 1887 | =begin original |
1962 | 1888 | |
1963 | 1889 | but then $foo no longer contains a glob. |
1964 | 1890 | |
1965 | 1891 | =end original |
1966 | 1892 | |
1967 | 1893 | $foo にはもはやグロブは残っていません。 |
1968 | 1894 | |
1969 | 1895 | =item Can't "continue" outside a when block |
1970 | 1896 | |
1971 | 1897 | =begin original |
1972 | 1898 | |
1973 | 1899 | (F) You called C<continue>, but you're not inside a C<when> |
1974 | 1900 | or C<default> block. |
1975 | 1901 | |
1976 | 1902 | =end original |
1977 | 1903 | |
1978 | 1904 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの |
1979 | 1905 | 内側ではありません。 |
1980 | 1906 | |
1981 | 1907 | =item Can't create pipe mailbox |
1982 | 1908 | |
1983 | 1909 | =begin original |
1984 | 1910 | |
1985 | 1911 | (P) An error peculiar to VMS. The process is suffering from exhausted |
1986 | 1912 | quotas or other plumbing problems. |
1987 | 1913 | |
1988 | 1914 | =end original |
1989 | 1915 | |
1990 | 1916 | (P) VMS に固有のエラーです。 |
1991 | 1917 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
1992 | 1918 | |
1993 | 1919 | =item Can't declare %s in "%s" |
1994 | 1920 | |
1995 | 1921 | =begin original |
1996 | 1922 | |
1997 | 1923 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or |
1998 | 1924 | "state" variables. They must have ordinary identifiers as names. |
1999 | 1925 | |
2000 | 1926 | =end original |
2001 | 1927 | |
2002 | 1928 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として |
2003 | 1929 | 宣言できます。 |
2004 | 1930 | これらは、名前として通常の識別子を持たなければなりません。 |
2005 | 1931 | |
2006 | 1932 | =item Can't "default" outside a topicalizer |
2007 | 1933 | |
2008 | 1934 | =begin original |
2009 | 1935 | |
2010 | 1936 | (F) You have used a C<default> block that is neither inside a |
2011 | 1937 | C<foreach> loop nor a C<given> block. (Note that this error is |
2012 | 1938 | issued on exit from the C<default> block, so you won't get the |
2013 | 1939 | error if you use an explicit C<continue>.) |
2014 | 1940 | |
2015 | 1941 | =end original |
2016 | 1942 | |
2017 | 1943 | (F) C<foreach> ループや C<given> ブロックの内側でないところで |
2018 | 1944 | C<default> ブロックを使いました。 |
2019 | 1945 | (このエラーは C<default> ブロックから出るときに発生するので、明示的な |
2020 | 1946 | C<continue> を使うとエラーは発生しません。) |
2021 | 1947 | |
2022 | 1948 | =item Can't determine class of operator %s, assuming BASEOP |
2023 | 1949 | |
2024 | 1950 | =begin original |
2025 | 1951 | |
2026 | 1952 | (S) This warning indicates something wrong in the internals of perl. |
2027 | 1953 | Perl was trying to find the class (e.g. LISTOP) of a particular OP, |
2028 | 1954 | and was unable to do so. This is likely to be due to a bug in the perl |
2029 | 1955 | internals, or due to a bug in XS code which manipulates perl optrees. |
2030 | 1956 | |
2031 | 1957 | =end original |
2032 | 1958 | |
2033 | 1959 | (S) この警告は、perl の内部で何かがおかしいことを示しています。 |
2034 | 1960 | Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、 |
2035 | 1961 | そうすることができませんでした。 |
2036 | 1962 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する |
2037 | 1963 | XS コードのバグによるものです。 |
2038 | 1964 | |
2039 | 1965 | =item Can't do inplace edit: %s is not a regular file |
2040 | 1966 | |
2041 | 1967 | =begin original |
2042 | 1968 | |
2043 | 1969 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
2044 | 1970 | a file in /dev, a FIFO or an uneditable directory. The file was ignored. |
2045 | 1971 | |
2046 | 1972 | =end original |
2047 | 1973 | |
2048 | 1974 | (S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して |
2049 | 1975 | B<-i> スイッチを使おうとしました。 |
2050 | 1976 | このファイルは無視されます。 |
2051 | 1977 | |
2052 | 1978 | =item Can't do inplace edit on %s: %s |
2053 | 1979 | |
2054 | 1980 | =begin original |
2055 | 1981 | |
2056 | 1982 | (S inplace) The creation of the new file failed for the indicated |
2057 | 1983 | reason. |
2058 | 1984 | |
2059 | 1985 | =end original |
2060 | 1986 | |
2061 | 1987 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
2062 | 1988 | |
1989 | =item Can't do inplace edit without backup | |
1990 | ||
1991 | =begin original | |
1992 | ||
1993 | (F) You're on a system such as MS-DOS that gets confused if you try | |
1994 | reading from a deleted (but still opened) file. You have to say | |
1995 | C<-i.bak>, or some such. | |
1996 | ||
1997 | =end original | |
1998 | ||
1999 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると | |
2000 | おかしくなる MS-DOS のようなシステムで実行しています。 | |
2001 | C<-i.bak> のようにバックアップを指定してください。 | |
2002 | ||
2063 | 2003 | =item Can't do inplace edit: %s would not be unique |
2064 | 2004 | |
2065 | 2005 | =begin original |
2066 | 2006 | |
2067 | 2007 | (S inplace) Your filesystem does not support filenames longer than 14 |
2068 | 2008 | characters and Perl was unable to create a unique filename during |
2069 | 2009 | inplace editing with the B<-i> switch. The file was ignored. |
2070 | 2010 | |
2071 | 2011 | =end original |
2072 | 2012 | |
2073 | 2013 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
2074 | 2014 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
2075 | 2015 | 作成ができませんでした。 |
2076 | 2016 | このファイルは無視されます。 |
2077 | 2017 | |
2078 | 2018 | =item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". |
2079 | 2019 | |
2080 | 2020 | =begin original |
2081 | 2021 | |
2082 | 2022 | (W locale) You are 1) running under "C<use locale>"; 2) the current |
2083 | 2023 | locale is not a UTF-8 one; 3) you tried to do the designated case-change |
2084 | 2024 | operation on the specified Unicode character; and 4) the result of this |
2085 | 2025 | operation would mix Unicode and locale rules, which likely conflict. |
2086 | 2026 | Mixing of different rule types is forbidden, so the operation was not |
2087 | 2027 | done; instead the result is the indicated value, which is the best |
2088 | 2028 | available that uses entirely Unicode rules. That turns out to almost |
2089 | 2029 | always be the original character, unchanged. |
2090 | 2030 | |
2091 | 2031 | =end original |
2092 | 2032 | |
2093 | 2033 | (W locale) あなたは 1) "C<use locale>" の基で実行していて; |
2094 | 2034 | 2) 現在のロケールは UTF-8 ではなく; |
2095 | 2035 | 3) 特定の Unicode 文字に指定された大文字小文字変換をしようとして; |
2096 | 2036 | 4) この操作の結果、おそらく衝突する、Unicode とロケールの規則を混ぜました。 |
2097 | 2037 | 異なる種類の規則を混ぜるのは禁止されているので、この操作は行われません; |
2098 | 2038 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を |
2099 | 2039 | 使うという、最も利用可能なものです。 |
2100 | 2040 | これは、ほとんど常に、元の文字を変更しないままにします。 |
2101 | 2041 | |
2102 | 2042 | =begin original |
2103 | 2043 | |
2104 | 2044 | It is generally a bad idea to mix non-UTF-8 locales and Unicode, and |
2105 | 2045 | this issue is one of the reasons why. This warning is raised when |
2106 | 2046 | Unicode rules would normally cause the result of this operation to |
2107 | 2047 | contain a character that is in the range specified by the locale, |
2108 | 2048 | 0..255, and hence is subject to the locale's rules, not Unicode's. |
2109 | 2049 | |
2110 | 2050 | =end original |
2111 | 2051 | |
2112 | 2052 | 非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、 |
2113 | 2053 | この問題はその理由の一つです。 |
2114 | 2054 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を |
2115 | 2055 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの |
2116 | 2056 | 規則を想定される場合に発生します。 |
2117 | 2057 | |
2118 | 2058 | =begin original |
2119 | 2059 | |
2120 | 2060 | If you are using locale purely for its characteristics related to things |
2121 | 2061 | like its numeric and time formatting (and not C<LC_CTYPE>), consider |
2122 | 2062 | using a restricted form of the locale pragma (see L<perllocale/The "use |
2123 | 2063 | locale" pragma>) like "S<C<use locale ':not_characters'>>". |
2124 | 2064 | |
2125 | 2065 | =end original |
2126 | 2066 | |
2127 | 2067 | ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに |
2128 | 2068 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 |
2129 | 2069 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された |
2130 | 2070 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを |
2131 | 2071 | 検討してください。 |
2132 | 2072 | |
2133 | 2073 | =begin original |
2134 | 2074 | |
2135 | 2075 | Note that failed case-changing operations done as a result of |
2136 | 2076 | case-insensitive C</i> regular expression matching will show up in this |
2137 | 2077 | warning as having the C<fc> operation (as that is what the regular |
2138 | 2078 | expression engine calls behind the scenes.) |
2139 | 2079 | |
2140 | 2080 | =end original |
2141 | 2081 | |
2142 | 2082 | 大文字小文字無視 C</i> 正規表現マッチングの結果として |
2143 | 2083 | 大文字小文字変換操作が失敗した場合、この警告は |
2144 | 2084 | C<fc> 操作に対して出力されることに注意してください |
2145 | (正規表現エンジンが裏でこれを使っているからです | |
2085 | (正規表現エンジンが裏でこれを使っているからです)。 | |
2146 | 2086 | |
2147 | 2087 | =item Can't do waitpid with flags |
2148 | 2088 | |
2149 | 2089 | =begin original |
2150 | 2090 | |
2151 | 2091 | (F) This machine doesn't have either waitpid() or wait4(), so only |
2152 | 2092 | waitpid() without flags is emulated. |
2153 | 2093 | |
2154 | 2094 | =end original |
2155 | 2095 | |
2156 | 2096 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
2157 | 2097 | フラグの無い waitpid() のみがエミュレート可能です。 |
2158 | 2098 | |
2159 | 2099 | =item Can't emulate -%s on #! line |
2160 | 2100 | |
2161 | 2101 | =begin original |
2162 | 2102 | |
2163 | 2103 | (F) The #! line specifies a switch that doesn't make sense at this |
2164 | 2104 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
2165 | 2105 | line. |
2166 | 2106 | |
2167 | 2107 | =end original |
2168 | 2108 | |
2169 | 2109 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
2170 | 2110 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
2171 | 2111 | |
2172 | 2112 | =item Can't %s %s-endian %ss on this platform |
2173 | 2113 | |
2174 | 2114 | =begin original |
2175 | 2115 | |
2176 | 2116 | (F) Your platform's byte-order is neither big-endian nor little-endian, |
2177 | 2117 | or it has a very strange pointer size. Packing and unpacking big- or |
2178 | 2118 | little-endian floating point values and pointers may not be possible. |
2179 | 2119 | See L<perlfunc/pack>. |
2180 | 2120 | |
2181 | 2121 | =end original |
2182 | 2122 | |
2183 | 2123 | (F) プラットフォームのバイト順序がビッグエンディアンでも |
2184 | 2124 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 |
2185 | 2125 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの |
2186 | 2126 | pack や unpack はできません。 |
2187 | 2127 | L<perlfunc/pack> を参照してください。 |
2188 | 2128 | |
2189 | 2129 | =item Can't exec "%s": %s |
2190 | 2130 | |
2191 | 2131 | =begin original |
2192 | 2132 | |
2193 | 2133 | (W exec) A system(), exec(), or piped open call could not execute the |
2194 | 2134 | named program for the indicated reason. Typical reasons include: the |
2195 | 2135 | permissions were wrong on the file, the file wasn't found in |
2196 | 2136 | C<$ENV{PATH}>, the executable in question was compiled for another |
2197 | 2137 | architecture, or the #! line in a script points to an interpreter that |
2198 | 2138 | can't be run for similar reasons. (Or maybe your system doesn't support |
2199 | 2139 | #! at all.) |
2200 | 2140 | |
2201 | 2141 | =end original |
2202 | 2142 | |
2203 | 2143 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
2204 | 2144 | 呼び出しの指定されたプログラムが実行できませんでした。 |
2205 | 2145 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
2206 | 2146 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
2207 | 2147 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
2208 | 2148 | インタプリタを指している、というようなものがあります。 |
2209 | 2149 | (あるいは、このシステムで、#! がサポートされていません。) |
2210 | 2150 | |
2211 | 2151 | =item Can't exec %s |
2212 | 2152 | |
2213 | 2153 | =begin original |
2214 | 2154 | |
2215 | 2155 | (F) Perl was trying to execute the indicated program for you because |
2216 | 2156 | that's what the #! line said. If that's not what you wanted, you may |
2217 | 2157 | need to mention "perl" on the #! line somewhere. |
2218 | 2158 | |
2219 | 2159 | =end original |
2220 | 2160 | |
2221 | 2161 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
2222 | 2162 | 実行しようとしました。 |
2223 | 2163 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
2224 | 2164 | |
2225 | 2165 | =item Can't execute %s |
2226 | 2166 | |
2227 | 2167 | =begin original |
2228 | 2168 | |
2229 | 2169 | (F) You used the B<-S> switch, but the copies of the script to execute |
2230 | 2170 | found in the PATH did not have correct permissions. |
2231 | 2171 | |
2232 | 2172 | =end original |
2233 | 2173 | |
2234 | 2174 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
2235 | 2175 | 正しいパーミッションではありませんでした。 |
2236 | 2176 | |
2237 | 2177 | =item Can't find an opnumber for "%s" |
2238 | 2178 | |
2239 | 2179 | =begin original |
2240 | 2180 | |
2241 | 2181 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
2242 | 2182 | is no builtin with the name C<word>. |
2243 | 2183 | |
2244 | 2184 | =end original |
2245 | 2185 | |
2246 | 2186 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
2247 | 2187 | 名前 C<word> は組み込みではありません。 |
2248 | 2188 | |
2249 | 2189 | =item Can't find label %s |
2250 | 2190 | |
2251 | 2191 | =begin original |
2252 | 2192 | |
2253 | 2193 | (F) You said to goto a label that isn't mentioned anywhere that it's |
2254 | 2194 | possible for us to go to. See L<perlfunc/goto>. |
2255 | 2195 | |
2256 | 2196 | =end original |
2257 | 2197 | |
2258 | 2198 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
2259 | 2199 | L<perlfunc/goto> を参照してください。 |
2260 | 2200 | |
2261 | 2201 | =item Can't find %s on PATH |
2262 | 2202 | |
2263 | 2203 | =begin original |
2264 | 2204 | |
2265 | 2205 | (F) You used the B<-S> switch, but the script to execute could not be |
2266 | 2206 | found in the PATH. |
2267 | 2207 | |
2268 | 2208 | =end original |
2269 | 2209 | |
2270 | 2210 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
2271 | 2211 | 見つかりませんでした。 |
2272 | 2212 | |
2273 | 2213 | =item Can't find %s on PATH, '.' not in PATH |
2274 | 2214 | |
2275 | 2215 | =begin original |
2276 | 2216 | |
2277 | 2217 | (F) You used the B<-S> switch, but the script to execute could not be |
2278 | 2218 | found in the PATH, or at least not with the correct permissions. The |
2279 | 2219 | script exists in the current directory, but PATH prohibits running it. |
2280 | 2220 | |
2281 | 2221 | =end original |
2282 | 2222 | |
2283 | 2223 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
2284 | 2224 | 見つからないか、少なくとも適切なパーミッションがありません。 |
2285 | 2225 | スクリプトはカレントディレクトリにはありますが、PATH に |
2286 | 2226 | カレントディレクトリは含まれていません。 |
2287 | 2227 | |
2288 | 2228 | =item Can't find string terminator %s anywhere before EOF |
2289 | 2229 | |
2290 | 2230 | =begin original |
2291 | 2231 | |
2292 | 2232 | (F) Perl strings can stretch over multiple lines. This message means |
2293 | 2233 | that the closing delimiter was omitted. Because bracketed quotes count |
2294 | 2234 | nesting levels, the following is missing its final parenthesis: |
2295 | 2235 | |
2296 | 2236 | =end original |
2297 | 2237 | |
2298 | 2238 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
2299 | 2239 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
2300 | 2240 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが |
2301 | 2241 | 無いと言われます: |
2302 | 2242 | |
2303 | 2243 | print q(The character '(' starts a side comment.); |
2304 | 2244 | |
2305 | 2245 | =begin original |
2306 | 2246 | |
2307 | 2247 | If you're getting this error from a here-document, you may have |
2308 | 2248 | included unseen whitespace before or after your closing tag or there |
2309 | 2249 | may not be a linebreak after it. A good programmer's editor will have |
2310 | 2250 | a way to help you find these characters (or lack of characters). See |
2311 | 2251 | L<perlop> for the full details on here-documents. |
2312 | 2252 | |
2313 | 2253 | =end original |
2314 | 2254 | |
2315 | 2255 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
2316 | 2256 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 |
2317 | 2257 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す |
2318 | 2258 | 助けになる方法があります。 |
2319 | 2259 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 |
2320 | 2260 | |
2321 | 2261 | =item Can't find Unicode property definition "%s" |
2322 | 2262 | |
2323 | 2263 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ |
2324 | 2264 | |
2325 | 2265 | =begin original |
2326 | 2266 | |
2327 | 2267 | (F) The named property which you specified via C<\p> or C<\P> is not one |
2328 | 2268 | known to Perl. Perhaps you misspelled the name? See |
2329 | 2269 | L<perluniprops/Properties accessible through \p{} and \P{}> |
2330 | 2270 | for a complete list of available official |
2331 | 2271 | properties. If it is a |
2332 | 2272 | L<user-defined property|perlunicode/User-Defined Character Properties> |
2333 | 2273 | it must have been defined by the time the regular expression is |
2334 | 2274 | matched. |
2335 | 2275 | |
2336 | 2276 | =end original |
2337 | 2277 | |
2338 | 2278 | (F) |
2339 | 2279 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 |
2340 | 2280 | おそらく名前をタイプミスしたのでは? |
2341 | 2281 | 公式に利用可能な特性の完全な一覧については |
2342 | 2282 | L<perluniprops/Properties accessible through \p{} and \P{}> を |
2343 | 2283 | 参照してください。 |
2344 | 2284 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の |
2345 | 2285 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 |
2346 | 2286 | |
2347 | 2287 | =begin original |
2348 | 2288 | |
2349 | 2289 | If you didn't mean to use a Unicode property, escape the C<\p>, either |
2350 | 2290 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or |
2351 | 2291 | until C<\E>). |
2352 | 2292 | |
2353 | 2293 | =end original |
2354 | 2294 | |
2355 | 2295 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または |
2356 | 2296 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を |
2357 | 2297 | エスケープしてください。 |
2358 | 2298 | |
2359 | 2299 | =item Can't fork: %s |
2360 | 2300 | |
2361 | 2301 | =begin original |
2362 | 2302 | |
2363 | 2303 | (F) A fatal error occurred while trying to fork while opening a |
2364 | 2304 | pipeline. |
2365 | 2305 | |
2366 | 2306 | =end original |
2367 | 2307 | |
2368 | 2308 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
2369 | 2309 | 致命的エラーが発生しました。 |
2370 | 2310 | |
2371 | 2311 | =item Can't fork, trying again in 5 seconds |
2372 | 2312 | |
2373 | 2313 | =begin original |
2374 | 2314 | |
2375 | 2315 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried |
2376 | 2316 | after five seconds. |
2377 | 2317 | |
2378 | 2318 | =end original |
2379 | 2319 | |
2380 | 2320 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に |
2381 | 2321 | 再試行されます。 |
2382 | 2322 | |
2383 | 2323 | =item Can't get filespec - stale stat buffer? |
2384 | 2324 | |
2385 | 2325 | =begin original |
2386 | 2326 | |
2387 | 2327 | (S) A warning peculiar to VMS. This arises because of the difference |
2388 | 2328 | between access checks under VMS and under the Unix model Perl assumes. |
2389 | 2329 | Under VMS, access checks are done by filename, rather than by bits in |
2390 | 2330 | the stat buffer, so that ACLs and other protections can be taken into |
2391 | 2331 | account. Unfortunately, Perl assumes that the stat buffer contains all |
2392 | 2332 | the necessary information, and passes it, instead of the filespec, to |
2393 | 2333 | the access-checking routine. It will try to retrieve the filespec using |
2394 | 2334 | the device name and FID present in the stat buffer, but this works only |
2395 | 2335 | if you haven't made a subsequent call to the CRTL stat() routine, |
2396 | 2336 | because the device name is overwritten with each call. If this warning |
2397 | 2337 | appears, the name lookup failed, and the access-checking routine gave up |
2398 | 2338 | and returned FALSE, just to be conservative. (Note: The access-checking |
2399 | 2339 | routine knows about the Perl C<stat> operator and file tests, so you |
2400 | 2340 | shouldn't ever see this warning in response to a Perl command; it arises |
2401 | 2341 | only if some internal code takes stat buffers lightly.) |
2402 | 2342 | |
2403 | 2343 | =end original |
2404 | 2344 | |
2405 | 2345 | (S) VMS に固有の警告です。 |
2406 | 2346 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
2407 | 2347 | あることによって起こります。 |
2408 | 2348 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
2409 | 2349 | 行われるので、ACL やその他の保護が考慮されます。 |
2410 | 2350 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
2411 | 2351 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
2412 | 2352 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
2413 | 2353 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
2414 | 2354 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
2415 | 2355 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
2416 | 2356 | 安全のためだけに FALSE を返します。 |
2417 | 2357 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
2418 | 2358 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
2419 | 2359 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
2420 | 2360 | 発生します。) |
2421 | 2361 | |
2422 | 2362 | =item Can't get pipe mailbox device name |
2423 | 2363 | |
2424 | 2364 | =begin original |
2425 | 2365 | |
2426 | 2366 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
2427 | 2367 | pipe, Perl can't retrieve its name for later use. |
2428 | 2368 | |
2429 | 2369 | =end original |
2430 | 2370 | |
2431 | 2371 | (P) VMS に固有のエラーです。 |
2432 | 2372 | パイプとして働くメールボックスの作成後、後で使うための名前を |
2433 | 2373 | Perl が取得できませんでした。 |
2434 | 2374 | |
2435 | 2375 | =item Can't get SYSGEN parameter value for MAXBUF |
2436 | 2376 | |
2437 | 2377 | =begin original |
2438 | 2378 | |
2439 | 2379 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
2440 | 2380 | mailbox buffers to be, and didn't get an answer. |
2441 | 2381 | |
2442 | 2382 | =end original |
2443 | 2383 | |
2444 | 2384 | (P) VMS に固有のエラーです。 |
2445 | 2385 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
2446 | 2386 | 問い合わせましたが、答えが得られませんでした。 |
2447 | 2387 | |
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 | ||
2497 | 2388 | =item Can't "goto" into the middle of a foreach loop |
2498 | 2389 | |
2499 | 2390 | =begin original |
2500 | 2391 | |
2501 | 2392 | (F) A "goto" statement was executed to jump into the middle of a foreach |
2502 | 2393 | loop. You can't get there from here. See L<perlfunc/goto>. |
2503 | 2394 | |
2504 | 2395 | =end original |
2505 | 2396 | |
2506 | 2397 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
2507 | 2398 | ここからそこへは行けません。 |
2508 | 2399 | L<perlfunc/goto> を参照してください。 |
2509 | 2400 | |
2510 | 2401 | =item Can't "goto" out of a pseudo block |
2511 | 2402 | |
2512 | 2403 | =begin original |
2513 | 2404 | |
2514 | 2405 | (F) A "goto" statement was executed to jump out of what might look like |
2515 | 2406 | a block, except that it isn't a proper block. This usually occurs if |
2516 | 2407 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
2517 | 2408 | See L<perlfunc/goto>. |
2518 | 2409 | |
2519 | 2410 | =end original |
2520 | 2411 | |
2521 | 2412 | (F) "goto" 文でブロックのように見えるけれども、適切な |
2522 | 2413 | ブロックではないところから飛び出そうとしました。 |
2523 | 2414 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
2524 | 2415 | 起きますが、それはできません。 |
2525 | 2416 | L<perlfunc/goto> を参照してください。 |
2526 | 2417 | |
2527 | 2418 | =item Can't goto subroutine from an eval-%s |
2528 | 2419 | |
2529 | 2420 | =begin original |
2530 | 2421 | |
2531 | 2422 | (F) The "goto subroutine" call can't be used to jump out of an eval |
2532 | 2423 | "string" or block. |
2533 | 2424 | |
2534 | 2425 | =end original |
2535 | 2426 | |
2536 | 2427 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから |
2537 | 2428 | 飛び出すことはできません。 |
2538 | 2429 | |
2539 | 2430 | =item Can't goto subroutine from a sort sub (or similar callback) |
2540 | 2431 | |
2541 | 2432 | =begin original |
2542 | 2433 | |
2543 | 2434 | (F) The "goto subroutine" call can't be used to jump out of the |
2544 | 2435 | comparison sub for a sort(), or from a similar callback (such |
2545 | 2436 | as the reduce() function in List::Util). |
2546 | 2437 | |
2547 | 2438 | =end original |
2548 | 2439 | |
2549 | 2440 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 |
2550 | 2441 | (List::Util の reduce() 関数のような) 似たようなコールバックから |
2551 | 2442 | 飛び出すことはできません。 |
2552 | 2443 | |
2553 | 2444 | =item Can't goto subroutine outside a subroutine |
2554 | 2445 | |
2555 | 2446 | =begin original |
2556 | 2447 | |
2557 | 2448 | (F) The deeply magical "goto subroutine" call can only replace one |
2558 | 2449 | subroutine call for another. It can't manufacture one out of whole |
2559 | 2450 | cloth. In general you should be calling it out of only an AUTOLOAD |
2560 | 2451 | routine anyway. See L<perlfunc/goto>. |
2561 | 2452 | |
2562 | 2453 | =end original |
2563 | 2454 | |
2564 | 2455 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン |
2565 | 2456 | 呼び出しを別のもので置き換えるだけです。 |
2566 | 2457 | 反物の状態から作り上げることはできません。 |
2567 | 2458 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
2568 | 2459 | しておくべきです。 |
2569 | 2460 | L<perlfunc/goto> を参照してください。 |
2570 | 2461 | |
2571 | 2462 | =item Can't ignore signal CHLD, forcing to default |
2572 | 2463 | |
2573 | 2464 | =begin original |
2574 | 2465 | |
2575 | 2466 | (W signal) Perl has detected that it is being run with the SIGCHLD |
2576 | 2467 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
2577 | 2468 | signal will interfere with proper determination of exit status of child |
2578 | 2469 | processes, Perl has reset the signal to its default value. This |
2579 | 2470 | situation typically indicates that the parent program under which Perl |
2580 | 2471 | may be running (e.g. cron) is being very careless. |
2581 | 2472 | |
2582 | 2473 | =end original |
2583 | 2474 | |
2584 | 2475 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
2585 | 2476 | 無効化された状態で実行されていることを検出しました。 |
2586 | 2477 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
2587 | 2478 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
2588 | 2479 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
2589 | 2480 | とても不注意であることを示しています。 |
2590 | 2481 | |
2591 | 2482 | =item Can't kill a non-numeric process ID |
2592 | 2483 | |
2593 | 2484 | =begin original |
2594 | 2485 | |
2595 | 2486 | (F) Process identifiers must be (signed) integers. It is a fatal error to |
2596 | 2487 | attempt to kill() an undefined, empty-string or otherwise non-numeric |
2597 | 2488 | process identifier. |
2598 | 2489 | |
2599 | 2490 | =end original |
2600 | 2491 | |
2601 | 2492 | (F) プロセス識別子は(符号付き)整数でなければなりません。 |
2602 | 2493 | 未定義値、空文字列、その他の非数値プロセス識別子を使って |
2603 | 2494 | kill() しようとすることは致命的エラーです。 |
2604 | 2495 | |
2605 | 2496 | =item Can't "last" outside a loop block |
2606 | 2497 | |
2607 | 2498 | =begin original |
2608 | 2499 | |
2609 | 2500 | (F) A "last" statement was executed to break out of the current block, |
2610 | 2501 | except that there's this itty bitty problem called there isn't a current |
2611 | 2502 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
2612 | 2503 | block, as doesn't a block given to sort(), map() or grep(). You can |
2613 | 2504 | usually double the curlies to get the same effect though, because the |
2614 | 2505 | inner curlies will be considered a block that loops once. See |
2615 | 2506 | L<perlfunc/last>. |
2616 | 2507 | |
2617 | 2508 | =end original |
2618 | 2509 | |
2619 | 2510 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
2620 | 2511 | 残念なことにブロックの中ではありませんでした。 |
2621 | 2512 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2622 | 2513 | 同様「ループ風」ブロックではないので、注意してください。 |
2623 | 2514 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2624 | 2515 | ブロックとみなされますから、同じ効果が得られます。 |
2625 | 2516 | L<perlfunc/last> を参照してください。 |
2626 | 2517 | |
2627 | 2518 | =item Can't linearize anonymous symbol table |
2628 | 2519 | |
2629 | 2520 | =begin original |
2630 | 2521 | |
2631 | 2522 | (F) Perl tried to calculate the method resolution order (MRO) of a |
2632 | 2523 | package, but failed because the package stash has no name. |
2633 | 2524 | |
2634 | 2525 | =end original |
2635 | 2526 | |
2636 | 2527 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 |
2637 | 2528 | パッケージ stash に名前がないので失敗しました。 |
2638 | 2529 | |
2639 | 2530 | =item Can't load '%s' for module %s |
2640 | 2531 | |
2641 | 2532 | =begin original |
2642 | 2533 | |
2643 | 2534 | (F) The module you tried to load failed to load a dynamic extension. |
2644 | 2535 | This may either mean that you upgraded your version of perl to one |
2645 | 2536 | that is incompatible with your old dynamic extensions (which is known |
2646 | 2537 | to happen between major versions of perl), or (more likely) that your |
2647 | 2538 | dynamic extension was built against an older version of the library |
2648 | 2539 | that is installed on your system. You may need to rebuild your old |
2649 | 2540 | dynamic extensions. |
2650 | 2541 | |
2651 | 2542 | =end original |
2652 | 2543 | |
2653 | 2544 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに |
2654 | 2545 | 失敗しました。 |
2655 | 2546 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか |
2656 | 2547 | (これは perl のメジャーバージョン間で起きることが知られています)、 |
2657 | 2548 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い |
2658 | 2549 | バージョンのライブラリに対してビルドされているかです。 |
2659 | 2550 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 |
2660 | 2551 | |
2661 | 2552 | =item Can't localize lexical variable %s |
2662 | 2553 | |
2663 | 2554 | =begin original |
2664 | 2555 | |
2665 | 2556 | (F) You used local on a variable name that was previously declared as a |
2666 | 2557 | lexical variable using "my" or "state". This is not allowed. If you |
2667 | 2558 | want to localize a package variable of the same name, qualify it with |
2668 | 2559 | the package name. |
2669 | 2560 | |
2670 | 2561 | =end original |
2671 | 2562 | |
2672 | 2563 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に |
2673 | 2564 | 対して local を使いました。 |
2674 | 2565 | これは認められていません。 |
2675 | 2566 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
2676 | 2567 | パッケージ名で修飾してください。 |
2677 | 2568 | |
2678 | 2569 | =item Can't localize through a reference |
2679 | 2570 | |
2680 | 2571 | =begin original |
2681 | 2572 | |
2682 | 2573 | (F) You said something like C<local $$ref>, which Perl can't currently |
2683 | 2574 | handle, because when it goes to restore the old value of whatever $ref |
2684 | 2575 | pointed to after the scope of the local() is finished, it can't be sure |
2685 | 2576 | that $ref will still be a reference. |
2686 | 2577 | |
2687 | 2578 | =end original |
2688 | 2579 | |
2689 | 2580 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
2690 | 2581 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
2691 | 2582 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
2692 | 2583 | わからないからです。 |
2693 | 2584 | |
2694 | 2585 | =item Can't locate %s |
2695 | 2586 | |
2696 | 2587 | =begin original |
2697 | 2588 | |
2698 | 2589 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found. |
2699 | 2590 | Perl looks for the file in all the locations mentioned in @INC, unless |
2700 | 2591 | the file name included the full path to the file. Perhaps you need |
2701 | 2592 | to set the PERL5LIB or PERL5OPT environment variable to say where the |
2702 | 2593 | extra library is, or maybe the script needs to add the library name |
2703 | 2594 | to @INC. Or maybe you just misspelled the name of the file. See |
2704 | 2595 | L<perlfunc/require> and L<lib>. |
2705 | 2596 | |
2706 | 2597 | =end original |
2707 | 2598 | |
2708 | 2599 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
2709 | 2600 | 指示されましたが、見つかりませんでした。 |
2710 | 2601 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
2711 | 2602 | 全ての場所を検索します。 |
2712 | 2603 | おそらく、追加ライブラリの場所を示すために、 |
2713 | 2604 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
2714 | 2605 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
2715 | 2606 | ファイル名のスペルミスの可能性もあります。 |
2716 | 2607 | L<perlfunc/require> と L<lib> を参照してください。 |
2717 | 2608 | |
2718 | 2609 | =item Can't locate auto/%s.al in @INC |
2719 | 2610 | |
2720 | 2611 | =begin original |
2721 | 2612 | |
2722 | 2613 | (F) A function (or method) was called in a package which allows |
2723 | 2614 | autoload, but there is no function to autoload. Most probable causes |
2724 | 2615 | are a misprint in a function/method name or a failure to C<AutoSplit> |
2725 | 2616 | the file, say, by doing C<make install>. |
2726 | 2617 | |
2727 | 2618 | =end original |
2728 | 2619 | |
2729 | 2620 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
2730 | 2621 | 呼び出されましたが、オートロードする関数がありませんでした。 |
2731 | 2622 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
2732 | 2623 | することによるファイルの C<AutoSplit> の失敗です。 |
2733 | 2624 | |
2734 | 2625 | =item Can't locate loadable object for module %s in @INC |
2735 | 2626 | |
2736 | 2627 | =begin original |
2737 | 2628 | |
2738 | 2629 | (F) The module you loaded is trying to load an external library, like |
2739 | 2630 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was |
2740 | 2631 | unable to locate this library. See L<DynaLoader>. |
2741 | 2632 | |
2742 | 2633 | =end original |
2743 | 2634 | |
2744 | 2635 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 |
2745 | 2636 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この |
2746 | 2637 | ライブラリの位置がわかりませんでした。 |
2747 | 2638 | L<DynaLoader> を参照してください。 |
2748 | 2639 | |
2749 | 2640 | =item Can't locate object method "%s" via package "%s" |
2750 | 2641 | |
2751 | 2642 | =begin original |
2752 | 2643 | |
2753 | 2644 | (F) You called a method correctly, and it correctly indicated a package |
2754 | 2645 | functioning as a class, but that package doesn't define that particular |
2755 | 2646 | method, nor does any of its base classes. See L<perlobj>. |
2756 | 2647 | |
2757 | 2648 | =end original |
2758 | 2649 | |
2759 | 2650 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2760 | 2651 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2761 | 2652 | 該当のメソッドが定義されていません。 |
2762 | 2653 | L<perlobj> を参照してください。 |
2763 | 2654 | |
2764 | 2655 | =item Can't locate object method "%s" via package "%s" (perhaps you forgot |
2765 | 2656 | to load "%s"?) |
2766 | 2657 | |
2767 | 2658 | =begin original |
2768 | 2659 | |
2769 | 2660 | (F) You called a method on a class that did not exist, and the method |
2770 | 2661 | could not be found in UNIVERSAL. This often means that a method |
2771 | 2662 | requires a package that has not been loaded. |
2772 | 2663 | |
2773 | 2664 | =end original |
2774 | 2665 | |
2775 | 2666 | (F) 存在しないクラスメソッドを呼び出し、メソッドは |
2776 | 2667 | UNIVERSAL に見つかりませんでした。 |
2777 | 2668 | これはしばしばメソッドがまだロードされていないパッケージを |
2778 | 2669 | 要求していることを意味します。 |
2779 | 2670 | |
2780 | 2671 | =item Can't locate package %s for @%s::ISA |
2781 | 2672 | |
2782 | 2673 | =begin original |
2783 | 2674 | |
2784 | 2675 | (W syntax) The @ISA array contained the name of another package that |
2785 | 2676 | doesn't seem to exist. |
2786 | 2677 | |
2787 | 2678 | =end original |
2788 | 2679 | |
2789 | 2680 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
2790 | 2681 | 存在していないようです。 |
2791 | 2682 | |
2792 | 2683 | =item Can't locate PerlIO%s |
2793 | 2684 | |
2794 | 2685 | =begin original |
2795 | 2686 | |
2796 | 2687 | (F) You tried to use in open() a PerlIO layer that does not exist, |
2797 | 2688 | e.g. open(FH, ">:nosuchlayer", "somefile"). |
2798 | 2689 | |
2799 | 2690 | =end original |
2800 | 2691 | |
2801 | 2692 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 |
2802 | 2693 | open() で 存在しない PerlIO 層を使おうとしました。 |
2803 | 2694 | |
2804 | 2695 | =item Can't make list assignment to %ENV on this system |
2805 | 2696 | |
2806 | 2697 | =begin original |
2807 | 2698 | |
2808 | 2699 | (F) List assignment to %ENV is not supported on some systems, notably |
2809 | 2700 | VMS. |
2810 | 2701 | |
2811 | 2702 | =end original |
2812 | 2703 | |
2813 | 2704 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2814 | 2705 | 対応していません。 |
2815 | 2706 | |
2816 | 2707 | =item Can't make loaded symbols global on this platform while loading %s |
2817 | 2708 | |
2818 | 2709 | =begin original |
2819 | 2710 | |
2820 | 2711 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request |
2821 | 2712 | that symbols from the stated file are made available globally within the |
2822 | 2713 | process, but that functionality is not available on this platform. Whilst |
2823 | 2714 | the module likely will still work, this may prevent the perl interpreter |
2824 | 2715 | from loading other XS-based extensions which need to link directly to |
2825 | 2716 | functions defined in the C or XS code in the stated file. |
2826 | 2717 | |
2827 | 2718 | =end original |
2828 | 2719 | |
2829 | 2720 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから |
2830 | 2721 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に |
2831 | 2722 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 |
2832 | 2723 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や |
2833 | 2724 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの |
2834 | 2725 | エクステンションの読み込みが妨げられるかもしれません。 |
2835 | 2726 | |
2836 | 2727 | =item Can't modify %s in %s |
2837 | 2728 | |
2838 | 2729 | =begin original |
2839 | 2730 | |
2840 | 2731 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
2841 | 2732 | to change it, such as with an auto-increment. |
2842 | 2733 | |
2843 | 2734 | =end original |
2844 | 2735 | |
2845 | 2736 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
2846 | 2737 | |
2847 | =item Can't modify non | |
2738 | =item Can't modify nonexistent substring | |
2848 | 2739 | |
2849 | = | |
2740 | =begin original | |
2850 | 2741 | |
2742 | (P) The internal routine that does assignment to a substr() was handed | |
2743 | a NULL. | |
2744 | ||
2745 | =end original | |
2746 | ||
2747 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 | |
2748 | ||
2749 | =item Can't modify non-lvalue subroutine call of &%s | |
2750 | ||
2851 | 2751 | =begin original |
2852 | 2752 | |
2853 | 2753 | (F) Subroutines meant to be used in lvalue context should be declared as |
2854 | 2754 | such. See L<perlsub/"Lvalue subroutines">. |
2855 | 2755 | |
2856 | 2756 | =end original |
2857 | 2757 | |
2858 | 2758 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2859 | 2759 | 宣言しなければなりません。 |
2860 | 2760 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2861 | 2761 | |
2862 | 2762 | =item Can't modify reference to %s in %s assignment |
2863 | 2763 | |
2864 | 2764 | =begin original |
2865 | 2765 | |
2866 | 2766 | (F) Only a limited number of constructs can be used as the argument to a |
2867 | 2767 | reference constructor on the left-hand side of an assignment, and what |
2868 | 2768 | you used was not one of them. See L<perlref/Assigning to References>. |
2869 | 2769 | |
2870 | 2770 | =end original |
2871 | 2771 | |
2872 | 2772 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は |
2873 | 2773 | 一部に制限されていて、ここで使ったものはその一つではありません。 |
2874 | 2774 | L<perlref/Assigning to References> を参照してください。 |
2875 | 2775 | |
2876 | 2776 | =item Can't modify reference to localized parenthesized array in list |
2877 | 2777 | assignment |
2878 | 2778 | |
2879 | 2779 | =begin original |
2880 | 2780 | |
2881 | 2781 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as |
2882 | 2782 | it is not clear exactly what it should do. If you meant to make @array |
2883 | 2783 | refer to some other array, use C<\@array = \@other_array>. If you want to |
2884 | 2784 | make the elements of @array aliases of the scalars referenced on the |
2885 | 2785 | right-hand side, use C<\(@array) = @scalar_refs>. |
2886 | 2786 | |
2887 | 2787 | =end original |
2888 | 2788 | |
2889 | 2789 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; |
2890 | 2790 | 正確に何をするべきかが明確ではないからです。 |
2891 | 2791 | @array が他の配列を参照するようにすることを意味しているなら、 |
2892 | 2792 | C<\@array = \@other_array> を使ってください。 |
2893 | 2793 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 |
2894 | 2794 | C<\(@array) = @scalar_refs> を使ってください。 |
2895 | 2795 | |
2896 | 2796 | =item Can't modify reference to parenthesized hash in list assignment |
2897 | 2797 | |
2898 | 2798 | =begin original |
2899 | 2799 | |
2900 | 2800 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash |
2901 | 2801 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to |
2902 | 2802 | make the elements of %hash into aliases of the scalars referenced on the |
2903 | 2803 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. |
2904 | 2804 | |
2905 | 2805 | =end original |
2906 | 2806 | |
2907 | 2807 | (F) C<\(%hash)> への代入は対応していません。 |
2908 | 2808 | %hash が他のハッシュを参照するようにすることを意味しているなら、 |
2909 | 2809 | C<\%hash = \%other_hash> を使ってください。 |
2910 | 2810 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 |
2911 | 2811 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 |
2912 | 2812 | |
2913 | 2813 | =item Can't msgrcv to read-only var |
2914 | 2814 | |
2915 | 2815 | =begin original |
2916 | 2816 | |
2917 | 2817 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2918 | 2818 | buffer. |
2919 | 2819 | |
2920 | 2820 | =end original |
2921 | 2821 | |
2922 | 2822 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2923 | 2823 | 変更可能なものでなければなりません。 |
2924 | 2824 | |
2925 | 2825 | =item Can't "next" outside a loop block |
2926 | 2826 | |
2927 | 2827 | =begin original |
2928 | 2828 | |
2929 | 2829 | (F) A "next" statement was executed to reiterate the current block, but |
2930 | 2830 | there isn't a current block. Note that an "if" or "else" block doesn't |
2931 | 2831 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2932 | 2832 | grep(). You can usually double the curlies to get the same effect |
2933 | 2833 | though, because the inner curlies will be considered a block that loops |
2934 | 2834 | once. See L<perlfunc/next>. |
2935 | 2835 | |
2936 | 2836 | =end original |
2937 | 2837 | |
2938 | 2838 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2939 | 2839 | ブロックの中ではありませんでした。 |
2940 | 2840 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2941 | 2841 | 同様「ループ風」ブロックではないので、注意してください。 |
2942 | 2842 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2943 | 2843 | ブロックとみなされますから、同じ効果が得られます。 |
2944 | 2844 | L<perlfunc/next> を参照してください。 |
2945 | 2845 | |
2946 | 2846 | =item Can't open %s: %s |
2947 | 2847 | |
2948 | 2848 | =begin original |
2949 | 2849 | |
2950 | 2850 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2951 | 2851 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2952 | 2852 | switches, or explicitly, failed for the indicated reason. Usually |
2953 | 2853 | this is because you don't have read permission for a file which |
2954 | 2854 | you named on the command line. |
2955 | 2855 | |
2956 | 2856 | =end original |
2957 | 2857 | |
2958 | 2858 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2959 | 2859 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2960 | 2860 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2961 | 2861 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2962 | 2862 | |
2963 | 2863 | =begin original |
2964 | 2864 | |
2965 | 2865 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or |
2966 | 2866 | your operating system's equivalent) could not be opened. |
2967 | 2867 | |
2968 | 2868 | =end original |
2969 | 2869 | |
2970 | 2870 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> |
2971 | 2871 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 |
2972 | 2872 | |
2973 | 2873 | =item Can't open a reference |
2974 | 2874 | |
2975 | 2875 | =begin original |
2976 | 2876 | |
2977 | 2877 | (W io) You tried to open a scalar reference for reading or writing, |
2978 | 2878 | using the 3-arg open() syntax: |
2979 | 2879 | |
2980 | 2880 | =end original |
2981 | 2881 | |
2982 | 2882 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは |
2983 | 2883 | 書き込みのために開こうとしました: |
2984 | 2884 | |
2985 | 2885 | open FH, '>', $ref; |
2986 | 2886 | |
2987 | 2887 | =begin original |
2988 | 2888 | |
2989 | 2889 | but your version of perl is compiled without perlio, and this form of |
2990 | 2890 | open is not supported. |
2991 | 2891 | |
2992 | 2892 | =end original |
2993 | 2893 | |
2994 | 2894 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 |
2995 | 2895 | この形式の open は対応していません。 |
2996 | 2896 | |
2997 | 2897 | =item Can't open bidirectional pipe |
2998 | 2898 | |
2999 | 2899 | =begin original |
3000 | 2900 | |
3001 | 2901 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
3002 | 2902 | You can try any of several modules in the Perl library to do this, such |
3003 | 2903 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
3004 | 2904 | ">", and then read it in under a different file handle. |
3005 | 2905 | |
3006 | 2906 | =end original |
3007 | 2907 | |
3008 | 2908 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
3009 | 2909 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
3010 | 2910 | モジュールを使うことができます。 |
3011 | 2911 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
3012 | 2912 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
3013 | 2913 | |
3014 | 2914 | =item Can't open error file %s as stderr |
3015 | 2915 | |
3016 | 2916 | =begin original |
3017 | 2917 | |
3018 | 2918 | (F) An error peculiar to VMS. Perl does its own command line |
3019 | 2919 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
3020 | 2920 | the command line for writing. |
3021 | 2921 | |
3022 | 2922 | =end original |
3023 | 2923 | |
3024 | 2924 | (F) VMS に固有のエラーです。 |
3025 | 2925 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
3026 | 2926 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
3027 | 2927 | ファイルを開けませんでした。 |
3028 | 2928 | |
3029 | 2929 | =item Can't open input file %s as stdin |
3030 | 2930 | |
3031 | 2931 | =begin original |
3032 | 2932 | |
3033 | 2933 | (F) An error peculiar to VMS. Perl does its own command line |
3034 | 2934 | redirection, and couldn't open the file specified after '<' on the |
3035 | 2935 | command line for reading. |
3036 | 2936 | |
3037 | 2937 | =end original |
3038 | 2938 | |
3039 | 2939 | (F) VMS に固有のエラーです。 |
3040 | 2940 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
3041 | 2941 | コマンドラインで読み込みのために '<' の後に指定された |
3042 | 2942 | ファイルを開けませんでした。 |
3043 | 2943 | |
3044 | 2944 | =item Can't open output file %s as stdout |
3045 | 2945 | |
3046 | 2946 | =begin original |
3047 | 2947 | |
3048 | 2948 | (F) An error peculiar to VMS. Perl does its own command line |
3049 | 2949 | redirection, and couldn't open the file specified after '>' or '>>' on |
3050 | 2950 | the command line for writing. |
3051 | 2951 | |
3052 | 2952 | =end original |
3053 | 2953 | |
3054 | 2954 | (F) VMS に固有のエラーです。 |
3055 | 2955 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
3056 | 2956 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
3057 | 2957 | ファイルを開けませんでした。 |
3058 | 2958 | |
3059 | 2959 | =item Can't open output pipe (name: %s) |
3060 | 2960 | |
3061 | 2961 | =begin original |
3062 | 2962 | |
3063 | 2963 | (P) An error peculiar to VMS. Perl does its own command line |
3064 | 2964 | redirection, and couldn't open the pipe into which to send data destined |
3065 | 2965 | for stdout. |
3066 | 2966 | |
3067 | 2967 | =end original |
3068 | 2968 | |
3069 | 2969 | (P) VMS に固有のエラーです。 |
3070 | 2970 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
3071 | 2971 | 標準出力としてデータを送るパイプを開けませんでした。 |
3072 | 2972 | |
3073 | 2973 | =item Can't open perl script "%s": %s |
3074 | 2974 | |
3075 | 2975 | =begin original |
3076 | 2976 | |
3077 | 2977 | (F) The script you specified can't be opened for the indicated reason. |
3078 | 2978 | |
3079 | 2979 | =end original |
3080 | 2980 | |
3081 | 2981 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
3082 | 2982 | |
3083 | 2983 | =begin original |
3084 | 2984 | |
3085 | 2985 | If you're debugging a script that uses #!, and normally relies on the |
3086 | 2986 | shell's $PATH search, the -S option causes perl to do that search, so |
3087 | 2987 | you don't have to type the path or C<`which $scriptname`>. |
3088 | 2988 | |
3089 | 2989 | =end original |
3090 | 2990 | |
3091 | 2991 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に |
3092 | 2992 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 |
3093 | 2993 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 |
3094 | 2994 | |
3095 | 2995 | =item Can't read CRTL environ |
3096 | 2996 | |
3097 | 2997 | =begin original |
3098 | 2998 | |
3099 | 2999 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
3100 | 3000 | from the CRTL's internal environment array and discovered the array was |
3101 | 3001 | missing. You need to figure out where your CRTL misplaced its environ |
3102 | 3002 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
3103 | 3003 | searched. |
3104 | 3004 | |
3105 | 3005 | =end original |
3106 | 3006 | |
3107 | 3007 | (S) VMS に固有の警告です。 |
3108 | 3008 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
3109 | 3009 | 配列がないことを発見しました。 |
3110 | 3010 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
3111 | 3011 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
3112 | 3012 | 必要があります。 |
3113 | 3013 | |
3114 | 3014 | =item Can't redeclare "%s" in "%s" |
3115 | 3015 | |
3116 | 3016 | =begin original |
3117 | 3017 | |
3118 | 3018 | (F) A "my", "our" or "state" declaration was found within another declaration, |
3119 | 3019 | such as C<my ($x, my($y), $z)> or C<our (my $x)>. |
3120 | 3020 | |
3121 | 3021 | =end original |
3122 | 3022 | |
3123 | 3023 | (F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、 |
3124 | 3024 | "my", "our", "state" 宣言が他の宣言の中にありました。 |
3125 | 3025 | |
3126 | 3026 | =item Can't "redo" outside a loop block |
3127 | 3027 | |
3128 | 3028 | =begin original |
3129 | 3029 | |
3130 | 3030 | (F) A "redo" statement was executed to restart the current block, but |
3131 | 3031 | there isn't a current block. Note that an "if" or "else" block doesn't |
3132 | 3032 | count as a "loopish" block, as doesn't a block given to sort(), map() |
3133 | 3033 | or grep(). You can usually double the curlies to get the same effect |
3134 | 3034 | though, because the inner curlies will be considered a block that |
3135 | 3035 | loops once. See L<perlfunc/redo>. |
3136 | 3036 | |
3137 | 3037 | =end original |
3138 | 3038 | |
3139 | 3039 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
3140 | 3040 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
3141 | 3041 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
3142 | 3042 | 同様「ループ風」ブロックではないので、注意してください。 |
3143 | 3043 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
3144 | 3044 | ブロックとみなされますから、同じ効果が得られます。 |
3145 | 3045 | L<perlfunc/redo> を参照してください。 |
3146 | 3046 | |
3147 | 3047 | =item Can't remove %s: %s, skipping file |
3148 | 3048 | |
3149 | 3049 | =begin original |
3150 | 3050 | |
3151 | 3051 | (S inplace) You requested an inplace edit without creating a backup |
3152 | 3052 | file. Perl was unable to remove the original file to replace it with |
3153 | 3053 | the modified file. The file was left unmodified. |
3154 | 3054 | |
3155 | 3055 | =end original |
3156 | 3056 | |
3157 | 3057 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
3158 | 3058 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
3159 | 3059 | できませんでした。 |
3160 | 3060 | ファイルは変更されずに残されます。 |
3161 | 3061 | |
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 | ||
3174 | 3062 | =item Can't rename %s to %s: %s, skipping file |
3175 | 3063 | |
3176 | 3064 | =begin original |
3177 | 3065 | |
3178 | ( | |
3066 | (S inplace) The rename done by the B<-i> switch failed for some reason, | |
3179 | 3067 | probably because you don't have write permission to the directory. |
3180 | 3068 | |
3181 | 3069 | =end original |
3182 | 3070 | |
3183 | ( | |
3071 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
3184 | 3072 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 |
3185 | 3073 | |
3186 | 3074 | =item Can't reopen input pipe (name: %s) in binary mode |
3187 | 3075 | |
3188 | 3076 | =begin original |
3189 | 3077 | |
3190 | 3078 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
3191 | 3079 | to reopen it to accept binary data. Alas, it failed. |
3192 | 3080 | |
3193 | 3081 | =end original |
3194 | 3082 | |
3195 | 3083 | (P) VMS に固有のエラーです。 |
3196 | 3084 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
3197 | 3085 | 再オープンしようとしました。 |
3198 | 3086 | 悲しいかな、それは失敗しました。 |
3199 | 3087 | |
3200 | 3088 | =item Can't represent character for Ox%X on this platform |
3201 | 3089 | |
3202 | 3090 | =begin original |
3203 | 3091 | |
3204 | 3092 | (F) There is a hard limit to how big a character code point can be due |
3205 | 3093 | to the fundamental properties of UTF-8, especially on EBCDIC |
3206 | 3094 | platforms. The given code point exceeds that. The only work-around is |
3207 | 3095 | to not use such a large code point. |
3208 | 3096 | |
3209 | 3097 | =end original |
3210 | 3098 | |
3211 | 3099 | (F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります; |
3212 | 3100 | これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。 |
3213 | 3101 | 指定された符号位置はそれを越えています。 |
3214 | 3102 | 唯一の回避策はそのような大きな符号位置を使わないことです。 |
3215 | 3103 | |
3216 | 3104 | =item Can't reset %ENV on this system |
3217 | 3105 | |
3218 | 3106 | =begin original |
3219 | 3107 | |
3220 | 3108 | (F) You called C<reset('E')> or similar, which tried to reset |
3221 | 3109 | all variables in the current package beginning with "E". In |
3222 | 3110 | the main package, that includes %ENV. Resetting %ENV is not |
3223 | 3111 | supported on some systems, notably VMS. |
3224 | 3112 | |
3225 | 3113 | =end original |
3226 | 3114 | |
3227 | 3115 | (F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる |
3228 | 3116 | 全ての変数を reset しようとしました。 |
3229 | 3117 | main パッケージでは、これには %ENV が含まれます。 |
3230 | 3118 | %ENV の reset は一部のシステム、特に VMS では対応していません。 |
3231 | 3119 | |
3232 | 3120 | =item Can't resolve method "%s" overloading "%s" in package "%s" |
3233 | 3121 | |
3234 | 3122 | =begin original |
3235 | 3123 | |
3236 | 3124 | (F)(P) Error resolving overloading specified by a method name (as |
3237 | 3125 | opposed to a subroutine reference): no such method callable via the |
3238 | 3126 | package. If the method name is C<???>, this is an internal error. |
3239 | 3127 | |
3240 | 3128 | =end original |
3241 | 3129 | |
3242 | 3130 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された |
3243 | 3131 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
3244 | 3132 | 呼び出せません。 |
3245 | 3133 | もしメソッド名が C<???> なら、内部エラーです。 |
3246 | 3134 | |
3247 | 3135 | =item Can't return %s from lvalue subroutine |
3248 | 3136 | |
3249 | 3137 | =begin original |
3250 | 3138 | |
3251 | 3139 | (F) Perl detected an attempt to return illegal lvalues (such as |
3252 | 3140 | temporary or readonly values) from a subroutine used as an lvalue. This |
3253 | 3141 | is not allowed. |
3254 | 3142 | |
3255 | 3143 | =end original |
3256 | 3144 | |
3257 | 3145 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
3258 | 3146 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 |
3259 | 3147 | これは認められていません。 |
3260 | 3148 | |
3261 | 3149 | =item Can't return outside a subroutine |
3262 | 3150 | |
3263 | 3151 | =begin original |
3264 | 3152 | |
3265 | 3153 | (F) The return statement was executed in mainline code, that is, where |
3266 | 3154 | there was no subroutine call to return out of. See L<perlsub>. |
3267 | 3155 | |
3268 | 3156 | =end original |
3269 | 3157 | |
3270 | 3158 | (F) return 文が、return で抜けるべきサブルーチンがない、 |
3271 | 3159 | "main" コードで実行されました。 |
3272 | 3160 | L<perlsub> を参照してください。 |
3273 | 3161 | |
3274 | 3162 | =item Can't return %s to lvalue scalar context |
3275 | 3163 | |
3276 | 3164 | =begin original |
3277 | 3165 | |
3278 | 3166 | (F) You tried to return a complete array or hash from an lvalue |
3279 | 3167 | subroutine, but you called the subroutine in a way that made Perl |
3280 | 3168 | think you meant to return only one value. You probably meant to |
3281 | 3169 | write parentheses around the call to the subroutine, which tell |
3282 | 3170 | Perl that the call should be in list context. |
3283 | 3171 | |
3284 | 3172 | =end original |
3285 | 3173 | |
3286 | 3174 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
3287 | 3175 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
3288 | 3176 | 呼び出しました。 |
3289 | 3177 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
3290 | 3178 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
3291 | 3179 | |
3180 | =item Can't stat script "%s" | |
3181 | ||
3182 | =begin original | |
3183 | ||
3184 | (P) For some reason you can't fstat() the script even though you have it | |
3185 | open already. Bizarre. | |
3186 | ||
3187 | =end original | |
3188 | ||
3189 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が | |
3190 | 行なえません。困ったもんだ。 | |
3191 | ||
3292 | 3192 | =item Can't take log of %g |
3293 | 3193 | |
3294 | 3194 | =begin original |
3295 | 3195 | |
3296 | 3196 | (F) For ordinary real numbers, you can't take the logarithm of a |
3297 | 3197 | negative number or zero. There's a Math::Complex package that comes |
3298 | 3198 | standard with Perl, though, if you really want to do that for the |
3299 | 3199 | negative numbers. |
3300 | 3200 | |
3301 | 3201 | =end original |
3302 | 3202 | |
3303 | 3203 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
3304 | 3204 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
3305 | 3205 | Perl 標準になっている Math::Complex パッケージがあります。 |
3306 | 3206 | |
3307 | 3207 | =item Can't take sqrt of %g |
3308 | 3208 | |
3309 | 3209 | =begin original |
3310 | 3210 | |
3311 | 3211 | (F) For ordinary real numbers, you can't take the square root of a |
3312 | 3212 | negative number. There's a Math::Complex package that comes standard |
3313 | 3213 | with Perl, though, if you really want to do that. |
3314 | 3214 | |
3315 | 3215 | =end original |
3316 | 3216 | |
3317 | 3217 | (F) 通常の実数では、負数の平方根をとることはできません。 |
3318 | 3218 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
3319 | 3219 | Perl に標準で用意されています。 |
3320 | 3220 | |
3321 | 3221 | =item Can't undef active subroutine |
3322 | 3222 | |
3323 | 3223 | =begin original |
3324 | 3224 | |
3325 | 3225 | (F) You can't undefine a routine that's currently running. You can, |
3326 | 3226 | however, redefine it while it's running, and you can even undef the |
3327 | 3227 | redefined subroutine while the old routine is running. Go figure. |
3328 | 3228 | |
3329 | 3229 | =end original |
3330 | 3230 | |
3331 | 3231 | (F) 実行中のルーティンを未定義にすることはできません。 |
3332 | 3232 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
3333 | 3233 | 再定義したサブルーチンを undef することさえできます。 |
3334 | 3234 | 驚きです。 |
3335 | 3235 | |
3336 | =item Can't unweaken a nonreference | |
3337 | ||
3338 | =begin original | |
3339 | ||
3340 | (F) You attempted to unweaken something that was not a reference. Only | |
3341 | references can be unweakened. | |
3342 | ||
3343 | =end original | |
3344 | ||
3345 | (F) リファレンスでないものを弱くないようにしようとしました。 | |
3346 | リファレンスだけが弱くないようにできます。 | |
3347 | ||
3348 | 3236 | =item Can't upgrade %s (%d) to %d |
3349 | 3237 | |
3350 | 3238 | =begin original |
3351 | 3239 | |
3352 | 3240 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
3353 | 3241 | into a more specialized kind of SV. The top several SV types are so |
3354 | 3242 | specialized, however, that they cannot be interconverted. This message |
3355 | 3243 | indicates that such a conversion was attempted. |
3356 | 3244 | |
3357 | 3245 | =end original |
3358 | 3246 | |
3359 | 3247 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
3360 | 3248 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
3361 | 3249 | 特殊化され過ぎて、内部変換することができません。 |
3362 | 3250 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
3363 | 3251 | |
3364 | 3252 | =item Can't use '%c' after -mname |
3365 | 3253 | |
3366 | 3254 | =begin original |
3367 | 3255 | |
3368 | 3256 | (F) You tried to call perl with the B<-m> switch, but you put something |
3369 | 3257 | other than "=" after the module name. |
3370 | 3258 | |
3371 | 3259 | =end original |
3372 | 3260 | |
3373 | 3261 | (F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に |
3374 | 3262 | "=" 以外のものを置きました。 |
3375 | 3263 | |
3376 | 3264 | =item Can't use a hash as a reference |
3377 | 3265 | |
3378 | 3266 | =begin original |
3379 | 3267 | |
3380 | 3268 | (F) You tried to use a hash as a reference, as in |
3381 | 3269 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl |
3382 | 3270 | <= 5.22.0 used to allow this syntax, but shouldn't |
3383 | 3271 | have. This was deprecated in perl 5.6.1. |
3384 | 3272 | |
3385 | 3273 | =end original |
3386 | 3274 | |
3387 | 3275 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 |
3388 | 3276 | ハッシュをリファレンスとして使おうとしました。 |
3389 | 3277 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 |
3390 | 3278 | そうするべきではありません。 |
3391 | 3279 | これは perl 5.6.1 から廃止予定です。 |
3392 | 3280 | |
3393 | 3281 | =item Can't use an array as a reference |
3394 | 3282 | |
3395 | 3283 | =begin original |
3396 | 3284 | |
3397 | 3285 | (F) You tried to use an array as a reference, as in |
3398 | 3286 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 |
3399 | 3287 | used to allow this syntax, but shouldn't have. This |
3400 | 3288 | was deprecated in perl 5.6.1. |
3401 | 3289 | |
3402 | 3290 | =end original |
3403 | 3291 | |
3404 | 3292 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 |
3405 | 3293 | 配列をリファレンスとして使おうとしました。 |
3406 | 3294 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 |
3407 | 3295 | そうするべきではありません。 |
3408 | 3296 | これは perl 5.6.1 から廃止予定です。 |
3409 | 3297 | |
3410 | 3298 | =item Can't use anonymous symbol table for method lookup |
3411 | 3299 | |
3412 | 3300 | =begin original |
3413 | 3301 | |
3414 | 3302 | (F) The internal routine that does method lookup was handed a symbol |
3415 | 3303 | table that doesn't have a name. Symbol tables can become anonymous |
3416 | 3304 | for example by undefining stashes: C<undef %Some::Package::>. |
3417 | 3305 | |
3418 | 3306 | =end original |
3419 | 3307 | |
3420 | 3308 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを |
3421 | 3309 | 扱いました。 |
3422 | 3310 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の |
3423 | 3311 | stash によって無名となります。 |
3424 | 3312 | |
3425 | 3313 | =item Can't use an undefined value as %s reference |
3426 | 3314 | |
3427 | 3315 | =begin original |
3428 | 3316 | |
3429 | 3317 | (F) A value used as either a hard reference or a symbolic reference must |
3430 | 3318 | be a defined value. This helps to delurk some insidious errors. |
3431 | 3319 | |
3432 | 3320 | =end original |
3433 | 3321 | |
3434 | 3322 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
3435 | 3323 | 定義済みの値でなければなりません。 |
3436 | 3324 | 潜伏中のエラーを引きずり出す助けとなります。 |
3437 | 3325 | |
3438 | 3326 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
3439 | 3327 | |
3440 | 3328 | =begin original |
3441 | 3329 | |
3442 | 3330 | (F) Only hard references are allowed by "strict refs". Symbolic |
3443 | 3331 | references are disallowed. See L<perlref>. |
3444 | 3332 | |
3445 | 3333 | =end original |
3446 | 3334 | |
3447 | 3335 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
3448 | 3336 | シンボリックリファレンスは許可されません。 |
3449 | 3337 | L<perlref> を参照してください。 |
3450 | 3338 | |
3451 | 3339 | =item Can't use %! because Errno.pm is not available |
3452 | 3340 | |
3453 | 3341 | =begin original |
3454 | 3342 | |
3455 | 3343 | (F) The first time the C<%!> hash is used, perl automatically loads the |
3456 | 3344 | Errno.pm module. The Errno module is expected to tie the %! hash to |
3457 | 3345 | provide symbolic names for C<$!> errno values. |
3458 | 3346 | |
3459 | 3347 | =end original |
3460 | 3348 | |
3461 | 3349 | (F) 最初に C<%!> ハッシュが使われるときに、 |
3462 | 3350 | perl は自動的に Errno.pm モジュールを読み込みます。 |
3463 | 3351 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
3464 | 3352 | %! ハッシュと tie されることになります。 |
3465 | 3353 | |
3466 | 3354 | =item Can't use both '<' and '>' after type '%c' in %s |
3467 | 3355 | |
3468 | 3356 | =begin original |
3469 | 3357 | |
3470 | 3358 | (F) A type cannot be forced to have both big-endian and little-endian |
3471 | 3359 | byte-order at the same time, so this combination of modifiers is not |
3472 | 3360 | allowed. See L<perlfunc/pack>. |
3473 | 3361 | |
3474 | 3362 | =end original |
3475 | 3363 | |
3476 | 3364 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に |
3477 | 3365 | 強制することはできないので、この修飾子の組み合わせは許可されません。 |
3478 | 3366 | L<perlfunc/pack> を参照してください。 |
3479 | 3367 | |
3480 | 3368 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) |
3481 | 3369 | |
3482 | 3370 | =begin original |
3483 | 3371 | |
3484 | 3372 | (F) defined() is not useful on arrays because it |
3485 | 3373 | checks for an undefined I<scalar> value. If you want to see if the |
3486 | 3374 | array is empty, just use C<if (@array) { # not empty }> for example. |
3487 | 3375 | |
3488 | 3376 | =end original |
3489 | 3377 | |
3490 | 3378 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 |
3491 | 3379 | 配列が空かどうかを調べたい場合は、例えば単に |
3492 | 3380 | C<if (@array) { # not empty }> としてください。 |
3493 | 3381 | |
3494 | 3382 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) |
3495 | 3383 | |
3496 | 3384 | =begin original |
3497 | 3385 | |
3498 | 3386 | (F) C<defined()> is not usually right on hashes. |
3499 | 3387 | |
3500 | 3388 | =end original |
3501 | 3389 | |
3502 | 3390 | (F) C<defined()> は普通はハッシュの右側ではありません。 |
3503 | 3391 | |
3504 | 3392 | =begin original |
3505 | 3393 | |
3506 | 3394 | Although C<defined %hash> is false on a plain not-yet-used hash, it |
3507 | 3395 | becomes true in several non-obvious circumstances, including iterators, |
3508 | 3396 | weak references, stash names, even remaining true after C<undef %hash>. |
3509 | 3397 | These things make C<defined %hash> fairly useless in practice, so it now |
3510 | 3398 | generates a fatal error. |
3511 | 3399 | |
3512 | 3400 | =end original |
3513 | 3401 | |
3514 | 3402 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 |
3515 | 3403 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 |
3516 | 3404 | stash 名を含み、C<undef %hash> の後でも真になります。 |
3517 | 3405 | これらにより、実践では C<defined %hash> はほとんど使えないので、 |
3518 | 3406 | 致命的エラーを生成するようになりました。 |
3519 | 3407 | |
3520 | 3408 | =begin original |
3521 | 3409 | |
3522 | 3410 | If a check for non-empty is what you wanted then just put it in boolean |
3523 | 3411 | context (see L<perldata/Scalar values>): |
3524 | 3412 | |
3525 | 3413 | =end original |
3526 | 3414 | |
3527 | 3415 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに |
3528 | 3416 | 置いてください (L<perldata/Scalar values> を参照してください): |
3529 | 3417 | |
3530 | 3418 | if (%hash) { |
3531 | 3419 | # not empty |
3532 | 3420 | } |
3533 | 3421 | |
3534 | 3422 | =begin original |
3535 | 3423 | |
3536 | 3424 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package |
3537 | 3425 | variable exists then that's never really been reliable, and isn't |
3538 | 3426 | a good way to enquire about the features of a package, or whether |
3539 | 3427 | it's loaded, etc. |
3540 | 3428 | |
3541 | 3429 | =end original |
3542 | 3430 | |
3543 | 3431 | パッケージ変数が存在するかどうかを調べるために |
3544 | 3432 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が |
3545 | 3433 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる |
3546 | 3434 | 良い方法ではありません。 |
3547 | 3435 | |
3548 | 3436 | =item Can't use %s for loop variable |
3549 | 3437 | |
3550 | 3438 | =begin original |
3551 | 3439 | |
3552 | 3440 | (P) The parser got confused when trying to parse a C<foreach> loop. |
3553 | 3441 | |
3554 | 3442 | =end original |
3555 | 3443 | |
3556 | 3444 | (P) パーサが C<foreach> ループをパースしようとしたときに混乱しました。 |
3557 | 3445 | |
3558 | =item Can't use global %s in %s | |
3446 | =item Can't use global %s in "%s" | |
3559 | 3447 | |
3560 | 3448 | =begin original |
3561 | 3449 | |
3562 | 3450 | (F) You tried to declare a magical variable as a lexical variable. This |
3563 | 3451 | is not allowed, because the magic can be tied to only one location |
3564 | 3452 | (namely the global variable) and it would be incredibly confusing to |
3565 | 3453 | have variables in your program that looked like magical variables but |
3566 | 3454 | weren't. |
3567 | 3455 | |
3568 | 3456 | =end original |
3569 | 3457 | |
3570 | 3458 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
3571 | 3459 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) |
3572 | 3460 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども |
3573 | 3461 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 |
3574 | 3462 | |
3575 | 3463 | =item Can't use '%c' in a group with different byte-order in %s |
3576 | 3464 | |
3577 | 3465 | =begin original |
3578 | 3466 | |
3579 | 3467 | (F) You attempted to force a different byte-order on a type |
3580 | 3468 | that is already inside a group with a byte-order modifier. |
3581 | 3469 | For example you cannot force little-endianness on a type that |
3582 | 3470 | is inside a big-endian group. |
3583 | 3471 | |
3584 | 3472 | =end original |
3585 | 3473 | |
3586 | 3474 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を |
3587 | 3475 | 強制しようとしました。 |
3588 | 3476 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに |
3589 | 3477 | 強制することはできません。 |
3590 | 3478 | |
3591 | 3479 | =item Can't use "my %s" in sort comparison |
3592 | 3480 | |
3593 | 3481 | =begin original |
3594 | 3482 | |
3595 | 3483 | (F) The global variables $a and $b are reserved for sort comparisons. |
3596 | 3484 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
3597 | 3485 | and the variable had earlier been declared as a lexical variable. |
3598 | 3486 | Either qualify the sort variable with the package name, or rename the |
3599 | 3487 | lexical variable. |
3600 | 3488 | |
3601 | 3489 | =end original |
3602 | 3490 | |
3603 | 3491 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
3604 | 3492 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
3605 | 3493 | その前にレキシカル変数として宣言されています。 |
3606 | 3494 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 |
3607 | 3495 | |
3608 | 3496 | =item Can't use %s ref as %s ref |
3609 | 3497 | |
3610 | 3498 | =begin original |
3611 | 3499 | |
3612 | 3500 | (F) You've mixed up your reference types. You have to dereference a |
3613 | 3501 | reference of the type needed. You can use the ref() function to |
3614 | 3502 | test the type of the reference, if need be. |
3615 | 3503 | |
3616 | 3504 | =end original |
3617 | 3505 | |
3618 | 3506 | (F) リファレンス型を混同しています。 |
3619 | 3507 | 必要な型のリファレンスを被参照しなければなりません。 |
3620 | 3508 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
3621 | 3509 | |
3622 | 3510 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
3623 | 3511 | |
3624 | 3512 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use |
3625 | 3513 | |
3626 | 3514 | =begin original |
3627 | 3515 | |
3628 | 3516 | (F) You've told Perl to dereference a string, something which |
3629 | 3517 | C<use strict> blocks to prevent it happening accidentally. See |
3630 | 3518 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> |
3631 | 3519 | in a double-quoted string immediately before interpolating a variable, |
3632 | 3520 | for example in C<"user @$twitter_id">, which says to treat the contents |
3633 | 3521 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> |
3634 | 3522 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. |
3635 | 3523 | |
3636 | 3524 | =end original |
3637 | 3525 | |
3638 | 3526 | (F) 文字列をデリファレンスするように Perl に指示しましたが、 |
3639 | 3527 | C<use strict> ブロックがこれが偶然起きることを妨げました。 |
3640 | 3528 | L<perlref/"Symbolic references"> を参照してください。 |
3641 | 3529 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で |
3642 | 3530 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の |
3643 | 3531 | 内容を配列リファレンスとして扱うように指示しています; |
3644 | 3532 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには |
3645 | 3533 | C<\> を使ってください: C<"user \@$twitter_id">。 |
3646 | 3534 | |
3647 | 3535 | =item Can't use subscript on %s |
3648 | 3536 | |
3649 | 3537 | =begin original |
3650 | 3538 | |
3651 | 3539 | (F) The compiler tried to interpret a bracketed expression as a |
3652 | 3540 | subscript. But to the left of the brackets was an expression that |
3653 | 3541 | didn't look like a hash or array reference, or anything else subscriptable. |
3654 | 3542 | |
3655 | 3543 | =end original |
3656 | 3544 | |
3657 | 3545 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
3658 | 3546 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
3659 | 3547 | 添字化できるもののようには見えない式です。 |
3660 | 3548 | |
3661 | 3549 | =item Can't use \%c to mean $%c in expression |
3662 | 3550 | |
3663 | 3551 | =begin original |
3664 | 3552 | |
3665 | 3553 | (W syntax) In an ordinary expression, backslash is a unary operator that |
3666 | 3554 | creates a reference to its argument. The use of backslash to indicate a |
3667 | 3555 | backreference to a matched substring is valid only as part of a regular |
3668 | 3556 | expression pattern. Trying to do this in ordinary Perl code produces a |
3669 | 3557 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
3670 | 3558 | instead. |
3671 | 3559 | |
3672 | 3560 | =end original |
3673 | 3561 | |
3674 | 3562 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
3675 | 3563 | 単項演算子です。 |
3676 | 3564 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
3677 | 3565 | 正規表現パターンの一部の場合にのみ有効です。 |
3678 | 3566 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
3679 | 3567 | 表示される値を生成します。 |
3680 | 3568 | 代わりに $1 の形を使ってください。 |
3681 | 3569 | |
3682 | 3570 | =item Can't weaken a nonreference |
3683 | 3571 | |
3684 | 3572 | =begin original |
3685 | 3573 | |
3686 | 3574 | (F) You attempted to weaken something that was not a reference. Only |
3687 | 3575 | references can be weakened. |
3688 | 3576 | |
3689 | 3577 | =end original |
3690 | 3578 | |
3691 | 3579 | (F) リファレンスではない何かを弱めようとしました。 |
3692 | 3580 | リファレンスだけが弱めることができます。 |
3693 | 3581 | |
3694 | 3582 | =item Can't "when" outside a topicalizer |
3695 | 3583 | |
3696 | 3584 | =begin original |
3697 | 3585 | |
3698 | 3586 | (F) You have used a when() block that is neither inside a C<foreach> |
3699 | 3587 | loop nor a C<given> block. (Note that this error is issued on exit |
3700 | 3588 | from the C<when> block, so you won't get the error if the match fails, |
3701 | 3589 | or if you use an explicit C<continue>.) |
3702 | 3590 | |
3703 | 3591 | =end original |
3704 | 3592 | |
3705 | 3593 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを |
3706 | 3594 | 使いました。 |
3707 | 3595 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに |
3708 | 3596 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは |
3709 | 3597 | 発生しません。) |
3710 | 3598 | |
3711 | 3599 | =item Can't x= to read-only value |
3712 | 3600 | |
3713 | 3601 | =begin original |
3714 | 3602 | |
3715 | 3603 | (F) You tried to repeat a constant value (often the undefined value) |
3716 | 3604 | with an assignment operator, which implies modifying the value itself. |
3717 | 3605 | Perhaps you need to copy the value to a temporary, and repeat that. |
3718 | 3606 | |
3719 | 3607 | =end original |
3720 | 3608 | |
3721 | 3609 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
3722 | 3610 | 代入演算子で繰り返しを行なおうとしました。 |
3723 | 3611 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
3724 | 3612 | |
3725 | 3613 | =item Character following "\c" must be printable ASCII |
3726 | 3614 | |
3727 | 3615 | =begin original |
3728 | 3616 | |
3729 | 3617 | (F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character. |
3730 | 3618 | |
3731 | 3619 | =end original |
3732 | 3620 | |
3733 | 3621 | (F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。 |
3734 | 3622 | |
3735 | 3623 | =begin original |
3736 | 3624 | |
3737 | 3625 | Note that ASCII characters that don't map to control characters are |
3738 | 3626 | discouraged, and will generate the warning (when enabled) |
3739 | 3627 | L</""\c%c" is more clearly written simply as "%s"">. |
3740 | 3628 | |
3741 | 3629 | =end original |
3742 | 3630 | |
3743 | 3631 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; |
3744 | 3632 | そして (有効になっていれば) |
3745 | 3633 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 |
3746 | 3634 | |
3747 | 3635 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ |
3748 | 3636 | |
3749 | 3637 | =begin original |
3750 | 3638 | |
3751 | 3639 | (F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You |
3752 | 3640 | specified something that isn't a legal Unicode property name. Most |
3753 | 3641 | Unicode properties are specified by C<\p{...}>. But if the name is a |
3754 | 3642 | single character one, the braces may be omitted. |
3755 | 3643 | |
3756 | 3644 | =end original |
3757 | 3645 | |
3758 | 3646 | (F) (前述の C<%c> は C<p> か C<P> に置き換えられます。) |
3759 | 3647 | 正当な Unicode 特性名ではない何かをしていしました。 |
3760 | 3648 | ほとんどの Unicode 特性は C<\p{...}> として指定されます。 |
3761 | 3649 | しかし、名前が一文字の場合、中かっこは省略できます。 |
3762 | 3650 | |
3763 | 3651 | =item Character in 'C' format wrapped in pack |
3764 | 3652 | |
3765 | 3653 | =begin original |
3766 | 3654 | |
3767 | 3655 | (W pack) You said |
3768 | 3656 | |
3769 | 3657 | =end original |
3770 | 3658 | |
3771 | 3659 | (W pack) 以下のように書きましたが: |
3772 | 3660 | |
3773 | 3661 | pack("C", $x) |
3774 | 3662 | |
3775 | 3663 | =begin original |
3776 | 3664 | |
3777 | 3665 | where $x is either less than 0 or more than 255; the C<"C"> format is |
3778 | 3666 | only for encoding native operating system characters (ASCII, EBCDIC, |
3779 | 3667 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3780 | 3668 | |
3781 | 3669 | =end original |
3782 | 3670 | |
3783 | 3671 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは |
3784 | 3672 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3785 | 3673 | 対応していて、Unicode 文字は対応していません; |
3786 | 3674 | それで、Perl は以下のように意味しているかのように振舞います: |
3787 | 3675 | |
3788 | 3676 | pack("C", $x & 255) |
3789 | 3677 | |
3790 | 3678 | =begin original |
3791 | 3679 | |
3792 | 3680 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3793 | 3681 | instead. |
3794 | 3682 | |
3795 | 3683 | =end original |
3796 | 3684 | |
3797 | 3685 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3798 | 3686 | 使ってください。 |
3799 | 3687 | |
3800 | 3688 | =item Character in 'c' format wrapped in pack |
3801 | 3689 | |
3802 | 3690 | =begin original |
3803 | 3691 | |
3804 | 3692 | (W pack) You said |
3805 | 3693 | |
3806 | 3694 | =end original |
3807 | 3695 | |
3808 | 3696 | (W pack) 以下のように書きましたが: |
3809 | 3697 | |
3810 | 3698 | pack("c", $x) |
3811 | 3699 | |
3812 | 3700 | =begin original |
3813 | 3701 | |
3814 | 3702 | where $x is either less than -128 or more than 127; the C<"c"> format |
3815 | 3703 | is only for encoding native operating system characters (ASCII, EBCDIC, |
3816 | 3704 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3817 | 3705 | |
3818 | 3706 | =end original |
3819 | 3707 | |
3820 | 3708 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは |
3821 | 3709 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3822 | 3710 | 対応していて、Unicode 文字は対応していません; |
3823 | 3711 | それで、Perl は以下のように意味しているかのように振舞います: |
3824 | 3712 | |
3825 | 3713 | pack("c", $x & 255); |
3826 | 3714 | |
3827 | 3715 | =begin original |
3828 | 3716 | |
3829 | 3717 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3830 | 3718 | instead. |
3831 | 3719 | |
3832 | 3720 | =end original |
3833 | 3721 | |
3834 | 3722 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3835 | 3723 | 使ってください。 |
3836 | 3724 | |
3837 | 3725 | =item Character in '%c' format wrapped in unpack |
3838 | 3726 | |
3839 | 3727 | =begin original |
3840 | 3728 | |
3841 | 3729 | (W unpack) You tried something like |
3842 | 3730 | |
3843 | 3731 | =end original |
3844 | 3732 | |
3845 | 3733 | (W unpack) 以下のようなことをしましたが: |
3846 | 3734 | |
3847 | 3735 | unpack("H", "\x{2a1}") |
3848 | 3736 | |
3849 | 3737 | =begin original |
3850 | 3738 | |
3851 | 3739 | where the format expects to process a byte (a character with a value |
3852 | 3740 | below 256), but a higher value was provided instead. Perl uses the |
3853 | 3741 | value modulus 256 instead, as if you had provided: |
3854 | 3742 | |
3855 | 3743 | =end original |
3856 | 3744 | |
3857 | 3745 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 |
3858 | 3746 | 文字の中により大きな値のものがあります。 |
3859 | 3747 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3860 | 3748 | 値として使います: |
3861 | 3749 | |
3862 | 3750 | unpack("H", "\x{a1}") |
3863 | 3751 | |
3864 | 3752 | =item Character in 'W' format wrapped in pack |
3865 | 3753 | |
3866 | 3754 | =begin original |
3867 | 3755 | |
3868 | 3756 | (W pack) You said |
3869 | 3757 | |
3870 | 3758 | =end original |
3871 | 3759 | |
3872 | 3760 | (W pack) 以下のように書きましたが: |
3873 | 3761 | |
3874 | 3762 | pack("U0W", $x) |
3875 | 3763 | |
3876 | 3764 | =begin original |
3877 | 3765 | |
3878 | 3766 | where $x is either less than 0 or more than 255. However, C<U0>-mode |
3879 | 3767 | expects all values to fall in the interval [0, 255], so Perl behaved |
3880 | 3768 | as if you meant: |
3881 | 3769 | |
3882 | 3770 | =end original |
3883 | 3771 | |
3884 | 3772 | $x が 0 より小さいか 255 より大きいです。 |
3885 | 3773 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 |
3886 | 3774 | Perl は以下のように振る舞います: |
3887 | 3775 | |
3888 | 3776 | pack("U0W", $x & 255) |
3889 | 3777 | |
3890 | 3778 | =item Character(s) in '%c' format wrapped in pack |
3891 | 3779 | |
3892 | 3780 | =begin original |
3893 | 3781 | |
3894 | 3782 | (W pack) You tried something like |
3895 | 3783 | |
3896 | 3784 | =end original |
3897 | 3785 | |
3898 | 3786 | (W pack) 以下のようなことをしましたが: |
3899 | 3787 | |
3900 | 3788 | pack("u", "\x{1f3}b") |
3901 | 3789 | |
3902 | 3790 | =begin original |
3903 | 3791 | |
3904 | 3792 | where the format expects to process a sequence of bytes (character with a |
3905 | 3793 | value below 256), but some of the characters had a higher value. Perl |
3906 | 3794 | uses the character values modulus 256 instead, as if you had provided: |
3907 | 3795 | |
3908 | 3796 | =end original |
3909 | 3797 | |
3910 | 3798 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3911 | 3799 | 文字の中により大きな値のものがあります。 |
3912 | 3800 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3913 | 3801 | 値として使います: |
3914 | 3802 | |
3915 | 3803 | pack("u", "\x{f3}b") |
3916 | 3804 | |
3917 | 3805 | =item Character(s) in '%c' format wrapped in unpack |
3918 | 3806 | |
3919 | 3807 | =begin original |
3920 | 3808 | |
3921 | 3809 | (W unpack) You tried something like |
3922 | 3810 | |
3923 | 3811 | =end original |
3924 | 3812 | |
3925 | 3813 | (W unpack) 以下のようなことをしましたが: |
3926 | 3814 | |
3927 | 3815 | unpack("s", "\x{1f3}b") |
3928 | 3816 | |
3929 | 3817 | =begin original |
3930 | 3818 | |
3931 | 3819 | where the format expects to process a sequence of bytes (character with a |
3932 | 3820 | value below 256), but some of the characters had a higher value. Perl |
3933 | 3821 | uses the character values modulus 256 instead, as if you had provided: |
3934 | 3822 | |
3935 | 3823 | =end original |
3936 | 3824 | |
3937 | 3825 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3938 | 3826 | 文字の中により大きな値のものがあります。 |
3939 | 3827 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3940 | 3828 | 値として使います: |
3941 | 3829 | |
3942 | 3830 | unpack("s", "\x{f3}b") |
3943 | 3831 | |
3944 | =item charnames alias definitions may not contain a sequence of multiple | |
3832 | =item charnames alias definitions may not contain a sequence of multiple spaces | |
3945 | spaces; marked by S<<-- HERE> in %s | |
3946 | 3833 | |
3947 | 3834 | =begin original |
3948 | 3835 | |
3949 | 3836 | (F) You defined a character name which had multiple space characters |
3950 | 3837 | in a row. Change them to single spaces. Usually these names are |
3951 | 3838 | defined in the C<:alias> import argument to C<use charnames>, but they |
3952 | 3839 | could be defined by a translator installed into C<$^H{charnames}>. See |
3953 | 3840 | L<charnames/CUSTOM ALIASES>. |
3954 | 3841 | |
3955 | 3842 | =end original |
3956 | 3843 | |
3957 | 3844 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 |
3958 | 3845 | 単一のスペースに変更してください。 |
3959 | 3846 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で |
3960 | 3847 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で |
3961 | 3848 | 定義されているかも知れません。 |
3962 | 3849 | L<charnames/CUSTOM ALIASES> を参照してください。 |
3963 | 3850 | |
3851 | =item charnames alias definitions may not contain trailing white-space | |
3852 | ||
3853 | =begin original | |
3854 | ||
3855 | (F) You defined a character name which ended in a space | |
3856 | character. Remove the trailing space(s). Usually these names are | |
3857 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3858 | could be defined by a translator installed into C<$^H{charnames}>. | |
3859 | See L<charnames/CUSTOM ALIASES>. | |
3860 | ||
3861 | =end original | |
3862 | ||
3863 | (D) スペース文字で終わる文字名を定義しました。 | |
3864 | 末尾のスペースを取り除いてください。 | |
3865 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3866 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3867 | 定義されているかも知れません。 | |
3868 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3869 | ||
3964 | 3870 | =item chdir() on unopened filehandle %s |
3965 | 3871 | |
3966 | 3872 | =begin original |
3967 | 3873 | |
3968 | 3874 | (W unopened) You tried chdir() on a filehandle that was never opened. |
3969 | 3875 | |
3970 | 3876 | =end original |
3971 | 3877 | |
3972 | 3878 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 |
3973 | 3879 | |
3974 | 3880 | =item "\c%c" is more clearly written simply as "%s" |
3975 | 3881 | |
3976 | 3882 | =begin original |
3977 | 3883 | |
3978 | 3884 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify |
3979 | 3885 | non-printable characters. You used it for a printable one, which |
3980 | 3886 | is better written as simply itself, perhaps preceded by a backslash |
3981 | 3887 | for non-word characters. Doing it the way you did is not portable |
3982 | 3888 | between ASCII and EBCDIC platforms. |
3983 | 3889 | |
3984 | 3890 | =end original |
3985 | 3891 | |
3986 | 3892 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 |
3987 | 3893 | これを表示文字に使いました; おそらく(おそらく非単語文字のために |
3988 | 3894 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 |
3989 | 3895 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 |
3990 | 3896 | |
3991 | 3897 | =item Cloning substitution context is unimplemented |
3992 | 3898 | |
3993 | 3899 | =begin original |
3994 | 3900 | |
3995 | 3901 | (F) Creating a new thread inside the C<s///> operator is not supported. |
3996 | 3902 | |
3997 | 3903 | =end original |
3998 | 3904 | |
3999 | 3905 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 |
4000 | 3906 | |
4001 | 3907 | =item closedir() attempted on invalid dirhandle %s |
4002 | 3908 | |
4003 | 3909 | =begin original |
4004 | 3910 | |
4005 | 3911 | (W io) The dirhandle you tried to close is either closed or not really |
4006 | 3912 | a dirhandle. Check your control flow. |
4007 | 3913 | |
4008 | 3914 | =end original |
4009 | 3915 | |
4010 | 3916 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には |
4011 | 3917 | ディレクトリハンドルではありません。 |
4012 | 3918 | 制御フローをチェックしてください。 |
4013 | 3919 | |
4014 | 3920 | =item close() on unopened filehandle %s |
4015 | 3921 | |
4016 | 3922 | =begin original |
4017 | 3923 | |
4018 | 3924 | (W unopened) You tried to close a filehandle that was never opened. |
4019 | 3925 | |
4020 | 3926 | =end original |
4021 | 3927 | |
4022 | 3928 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
4023 | 3929 | |
4024 | 3930 | =item Closure prototype called |
4025 | 3931 | |
4026 | 3932 | =begin original |
4027 | 3933 | |
4028 | 3934 | (F) If a closure has attributes, the subroutine passed to an attribute |
4029 | 3935 | handler is the prototype that is cloned when a new closure is created. |
4030 | 3936 | This subroutine cannot be called. |
4031 | 3937 | |
4032 | 3938 | =end original |
4033 | 3939 | |
4034 | 3940 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい |
4035 | 3941 | クロージャが作成されたときにクローン化されたプロトタイプです。 |
4036 | 3942 | このサブルーチンは呼び出すことができません。 |
4037 | 3943 | |
4038 | 3944 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ |
4039 | 3945 | |
4040 | 3946 | =begin original |
4041 | 3947 | |
4042 | 3948 | (F) The \C character class used to allow a match of single byte |
4043 | 3949 | within a multi-byte utf-8 character, but was removed in v5.24 as |
4044 | 3950 | it broke encapsulation and its implementation was extremely buggy. |
4045 | 3951 | If you really need to process the individual bytes, you probably |
4046 | 3952 | want to convert your string to one where each underlying byte is |
4047 | 3953 | stored as a character, with utf8::encode(). |
4048 | 3954 | |
4049 | 3955 | =end original |
4050 | 3956 | |
4051 | 3957 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに |
4052 | 3958 | マッチングできるようにしていましたが、 |
4053 | 3959 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 |
4054 | 3960 | 本当に個々のバイトを処理する必要があるなら、 |
4055 | 3961 | おそらくその文字列を、utf8::encode() を使って、 |
4056 | 3962 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が |
4057 | 3963 | 良いでしょう。 |
4058 | 3964 | |
4059 | 3965 | =item Code missing after '/' |
4060 | 3966 | |
4061 | 3967 | =begin original |
4062 | 3968 | |
4063 | 3969 | (F) You had a (sub-)template that ends with a '/'. There must be |
4064 | 3970 | another template code following the slash. See L<perlfunc/pack>. |
4065 | 3971 | |
4066 | 3972 | =end original |
4067 | 3973 | |
4068 | 3974 | (F) テンプレートが '/' で終わっています。 |
4069 | 3975 | スラッシュの後には他のテンプレートコードが必須です。 |
4070 | 3976 | L<perlfunc/pack> を参照してください。 |
4071 | 3977 | |
4072 | 3978 | =item Code point 0x%X is not Unicode, and not portable |
4073 | 3979 | |
4074 | 3980 | =begin original |
4075 | 3981 | |
4076 | (S non_unicode | |
3982 | (S non_unicode) You had a code point that has never been in any | |
4077 | 3983 | standard, so it is likely that languages other than Perl will NOT |
4078 | understand it. | |
3984 | understand it. At one time, it was legal in some standards to have code | |
4079 | ||
3985 | points up to 0x7FFF_FFFF, but not higher, and this code point is higher. | |
4080 | 3986 | |
4081 | 3987 | =end original |
4082 | 3988 | |
4083 | (S non_unicode | |
3989 | (S non_unicode) どのような標準でもない符号位置を使いました; 従って | |
4084 | 3990 | これはおそらく 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 | 3991 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 |
4096 | 3992 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 |
4097 | 3993 | |
4098 | 3994 | =begin original |
4099 | 3995 | |
4100 | 3996 | Acceptance of these code points is a Perl extension, and you should |
4101 | 3997 | expect that nothing other than Perl can handle them; Perl itself on |
4102 | 3998 | EBCDIC platforms before v5.24 does not handle them. |
4103 | 3999 | |
4104 | 4000 | =end original |
4105 | 4001 | |
4106 | 4002 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が |
4107 | 4003 | これらを扱えるかについて何も想定するべきではありません; |
4108 | 4004 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 |
4109 | 4005 | |
4110 | 4006 | =begin original |
4111 | 4007 | |
4008 | Code points above 0xFFFF_FFFF require larger than a 32 bit word. | |
4009 | ||
4010 | =end original | |
4011 | ||
4012 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 | |
4013 | ||
4014 | =begin original | |
4015 | ||
4112 | 4016 | Perl also makes no guarantees that the representation of these code |
4113 | 4017 | points won't change at some point in the future, say when machines |
4114 | 4018 | become available that have larger than a 64-bit word. At that time, |
4115 | files | |
4019 | files written by an older Perl would require conversion before being | |
4116 | ||
4020 | readable by a newer Perl. | |
4117 | 4021 | |
4118 | 4022 | =end original |
4119 | 4023 | |
4120 | 4024 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を |
4121 | 4025 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて |
4122 | 4026 | 保証しません。 |
4123 | この時点で、より古い Perl で書かれた | |
4027 | この時点で、より古い Perl で書かれたファイルは、より新しい Perl で | |
4124 | ||
4028 | 読み込めるようにする前に変換が必要です。 | |
4125 | 4029 | |
4126 | 4030 | =item Code point 0x%X is not Unicode, may not be portable |
4127 | 4031 | |
4128 | 4032 | =begin original |
4129 | 4033 | |
4130 | 4034 | (S non_unicode) You had a code point above the Unicode maximum |
4131 | 4035 | of U+10FFFF. |
4132 | 4036 | |
4133 | 4037 | =end original |
4134 | 4038 | |
4135 | 4039 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 |
4136 | 4040 | |
4137 | 4041 | =begin original |
4138 | 4042 | |
4139 | 4043 | Perl allows strings to contain a superset of Unicode code points, but |
4140 | 4044 | these may not be accepted by other languages/systems. Further, even if |
4141 | 4045 | these languages/systems accept these large code points, they may have |
4142 | 4046 | chosen a different representation for them than the UTF-8-like one that |
4143 | 4047 | Perl has, which would mean files are not exchangeable between them and |
4144 | 4048 | Perl. |
4145 | 4049 | |
4146 | 4050 | =end original |
4147 | 4051 | |
4148 | 4052 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 |
4149 | 4053 | これらは他の言語/システムは受け入れないかもしれません。 |
4150 | 4054 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を |
4151 | 4055 | 受け入れたとしても、それらは Perl の UTF-8 風のものと |
4152 | 4056 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが |
4153 | 4057 | 交換できないことを意味します。 |
4154 | 4058 | |
4155 | 4059 | =begin original |
4156 | 4060 | |
4157 | 4061 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different |
4158 | 4062 | representation in Perl v5.24 than before, so any file containing these |
4159 | 4063 | that was written before that version will require conversion before |
4160 | 4064 | being readable by a later Perl. |
4161 | 4065 | |
4162 | 4066 | =end original |
4163 | 4067 | |
4164 | 4068 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は |
4165 | 4069 | 以前と異なった表現となっているので、このバージョンより前に書かれた |
4166 | 4070 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に |
4167 | 4071 | 変換が必要です。 |
4168 | 4072 | |
4169 | 4073 | =item %s: Command not found |
4170 | 4074 | |
4171 | 4075 | =begin original |
4172 | 4076 | |
4173 | 4077 | (A) You've accidentally run your script through B<csh> or another shell |
4174 | 4078 | instead of Perl. Check the #! line, or manually feed your script into |
4175 | 4079 | Perl yourself. The #! line at the top of your file could look like |
4176 | 4080 | |
4177 | 4081 | =end original |
4178 | 4082 | |
4179 | 4083 | (A) スクリプトを perl ではなく B<csh> またはその他のシェルで |
4180 | 4084 | 実行しようとしました。 |
4181 | #! 行を | |
4085 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
4182 | ファイルの先頭の #! 行は以下のようにします | |
4086 | ファイルの先頭の #! 行は以下のようにします | |
4183 | 4087 | |
4184 | 4088 | #!/usr/bin/perl |
4185 | 4089 | |
4186 | 4090 | =item %s: command not found |
4187 | 4091 | |
4188 | 4092 | =begin original |
4189 | 4093 | |
4190 | 4094 | (A) You've accidentally run your script through B<bash> or another shell |
4191 | 4095 | instead of Perl. Check the #! line, or manually feed your script into |
4192 | 4096 | Perl yourself. The #! line at the top of your file could look like |
4193 | 4097 | |
4194 | 4098 | =end original |
4195 | 4099 | |
4196 | 4100 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 |
4197 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
4101 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4198 | ファイルの先頭の #! 行は | |
4102 | ファイルの先頭の #! 行は次のような形です: | |
4199 | 4103 | |
4200 | 4104 | #!/usr/bin/perl |
4201 | 4105 | |
4202 | 4106 | =item %s: command not found: %s |
4203 | 4107 | |
4204 | 4108 | =begin original |
4205 | 4109 | |
4206 | 4110 | (A) You've accidentally run your script through B<zsh> or another shell |
4207 | 4111 | instead of Perl. Check the #! line, or manually feed your script into |
4208 | 4112 | Perl yourself. The #! line at the top of your file could look like |
4209 | 4113 | |
4210 | 4114 | =end original |
4211 | 4115 | |
4212 | 4116 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 |
4213 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
4117 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4214 | ファイルの先頭の #! 行は | |
4118 | ファイルの先頭の #! 行は次のような形です: | |
4215 | 4119 | |
4216 | 4120 | #!/usr/bin/perl |
4217 | 4121 | |
4218 | 4122 | =item Compilation failed in require |
4219 | 4123 | |
4220 | 4124 | =begin original |
4221 | 4125 | |
4222 | 4126 | (F) Perl could not compile a file specified in a C<require> statement. |
4223 | 4127 | Perl uses this generic message when none of the errors that it |
4224 | 4128 | encountered were severe enough to halt compilation immediately. |
4225 | 4129 | |
4226 | 4130 | =end original |
4227 | 4131 | |
4228 | 4132 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
4229 | 4133 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
4230 | 4134 | ときに、この一般的なメッセージを使います。 |
4231 | 4135 | |
4232 | 4136 | =item Complex regular subexpression recursion limit (%d) exceeded |
4233 | 4137 | |
4234 | 4138 | =begin original |
4235 | 4139 | |
4236 | 4140 | (W regexp) The regular expression engine uses recursion in complex |
4237 | 4141 | situations where back-tracking is required. Recursion depth is limited |
4238 | 4142 | to 32766, or perhaps less in architectures where the stack cannot grow |
4239 | 4143 | arbitrarily. ("Simple" and "medium" situations are handled without |
4240 | 4144 | recursion and are not subject to a limit.) Try shortening the string |
4241 | 4145 | under examination; looping in Perl code (e.g. with C<while>) rather than |
4242 | 4146 | in the regular expression engine; or rewriting the regular expression so |
4243 | 4147 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
4244 | 4148 | on I<Mastering Regular Expressions>.) |
4245 | 4149 | |
4246 | 4150 | =end original |
4247 | 4151 | |
4248 | 4152 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
4249 | 4153 | 再帰を使用します。 |
4250 | 4154 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
4251 | 4155 | おそらくもっと小さい値に制限されています。 |
4252 | 4156 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
4253 | 4157 | ありません。) |
4254 | 4158 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
4255 | 4159 | (C<while> などの) Perl コードを使ってループするか、 |
4256 | 4160 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
4257 | 4161 | 書き換えてください。 |
4258 | 4162 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
4259 | 4163 | 参照してください。) |
4260 | 4164 | |
4261 | 4165 | =item connect() on closed socket %s |
4262 | 4166 | |
4263 | 4167 | =begin original |
4264 | 4168 | |
4265 | 4169 | (W closed) You tried to do a connect on a closed socket. Did you forget |
4266 | 4170 | to check the return value of your socket() call? See |
4267 | 4171 | L<perlfunc/connect>. |
4268 | 4172 | |
4269 | 4173 | =end original |
4270 | 4174 | |
4271 | 4175 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
4272 | 4176 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
4273 | 4177 | L<perlfunc/connect> を参照してください。 |
4274 | 4178 | |
4275 | 4179 | =item Constant(%s): Call to &{$^H{%s}} did not return a defined value |
4276 | 4180 | |
4277 | 4181 | =begin original |
4278 | 4182 | |
4279 | 4183 | (F) The subroutine registered to handle constant overloading |
4280 | 4184 | (see L<overload>) or a custom charnames handler (see |
4281 | 4185 | L<charnames/CUSTOM TRANSLATORS>) returned an undefined value. |
4282 | 4186 | |
4283 | 4187 | =end original |
4284 | 4188 | |
4285 | 4189 | (F) 定数オーバーロード (L<overload> 参照) を扱うために登録された |
4286 | 4190 | サブルーチンや、カスタム文字名ハンドラ |
4287 | 4191 | (L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。 |
4288 | 4192 | |
4289 | 4193 | =item Constant(%s): $^H{%s} is not defined |
4290 | 4194 | |
4291 | 4195 | =begin original |
4292 | 4196 | |
4293 | 4197 | (F) The parser found inconsistencies while attempting to define an |
4294 | 4198 | overloaded constant. Perhaps you forgot to load the corresponding |
4295 | 4199 | L<overload> pragma? |
4296 | 4200 | |
4297 | 4201 | =end original |
4298 | 4202 | |
4299 | 4203 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 |
4300 | 4204 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? |
4301 | 4205 | |
4302 | 4206 | =item Constant is not %s reference |
4303 | 4207 | |
4304 | 4208 | =begin original |
4305 | 4209 | |
4306 | 4210 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
4307 | 4211 | is being dereferenced, but it amounts to the wrong type of reference. |
4308 | 4212 | The message indicates the type of reference that was expected. This |
4309 | 4213 | usually indicates a syntax error in dereferencing the constant value. |
4310 | 4214 | See L<perlsub/"Constant Functions"> and L<constant>. |
4311 | 4215 | |
4312 | 4216 | =end original |
4313 | 4217 | |
4314 | 4218 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
4315 | 4219 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
4316 | 4220 | このメッセージは想定されたリファレンスの型を示しています。 |
4317 | 4221 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
4318 | 4222 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
4319 | 4223 | |
4320 | =item Constants from lexical variables potentially modified elsewhere are | |
4224 | =item Constants from lexical variables potentially modified elsewhere are | |
4225 | deprecated. This will not be allowed in Perl 5.32 | |
4321 | 4226 | |
4322 | 4227 | =begin original |
4323 | 4228 | |
4324 | ( | |
4229 | (D deprecated) You wrote something like | |
4325 | 4230 | |
4326 | 4231 | =end original |
4327 | 4232 | |
4328 | ( | |
4233 | (D deprecated) 次のようなものを書きましたが | |
4329 | 4234 | |
4330 | 4235 | my $var; |
4331 | 4236 | $sub = sub () { $var }; |
4332 | 4237 | |
4333 | 4238 | =begin original |
4334 | 4239 | |
4335 | 4240 | but $var is referenced elsewhere and could be modified after the C<sub> |
4336 | 4241 | expression is evaluated. Either it is explicitly modified elsewhere |
4337 | 4242 | (C<$var = 3>) or it is passed to a subroutine or to an operator like |
4338 | 4243 | C<printf> or C<map>, which may or may not modify the variable. |
4339 | 4244 | |
4340 | 4245 | =end original |
4341 | 4246 | |
4342 | ||
4247 | $var はどこか別の場所へのリファレンスで、 | |
4343 | 4248 | C<sub> 式が評価された後に変更されるかもしれません。 |
4344 | 4249 | どこかで明示的に変更されたり、(C<$var = 3>) 、 |
4345 | 4250 | 変数を変更するかどうかわからない、 |
4346 | 4251 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 |
4347 | 4252 | |
4348 | 4253 | =begin original |
4349 | 4254 | |
4350 | 4255 | Traditionally, Perl has captured the value of the variable at that |
4351 | 4256 | point and turned the subroutine into a constant eligible for inlining. |
4352 | 4257 | In those cases where the variable can be modified elsewhere, this |
4353 | 4258 | breaks the behavior of closures, in which the subroutine captures |
4354 | 4259 | the variable itself, rather than its value, so future changes to the |
4355 | 4260 | variable are reflected in the subroutine's return value. |
4356 | 4261 | |
4357 | 4262 | =end original |
4358 | 4263 | |
4359 | 4264 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 |
4360 | 4265 | サブルーチンをインライン化可能な定数に変換します。 |
4361 | 4266 | 変数が別の場所で変更可能な場合、 |
4362 | 4267 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので |
4363 | クロージャの振る舞いを壊します | |
4268 | クロージャの振る舞いを壊します。 | |
4364 | 4269 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 |
4365 | 4270 | |
4366 | 4271 | =begin original |
4367 | 4272 | |
4368 | This usage | |
4273 | This usage is deprecated, and will no longer be allowed in Perl 5.32, | |
4369 | 4274 | making it possible to change the behavior in the future. |
4370 | 4275 | |
4371 | 4276 | =end original |
4372 | 4277 | |
4373 | この使用法は廃止予定 | |
4278 | この使用法は廃止予定ですで、Perl 5.32 でもはや許されなくなります; | |
4374 | 4279 | これにより将来振る舞いを換えることが可能になります。 |
4375 | 4280 | |
4376 | 4281 | =begin original |
4377 | 4282 | |
4378 | 4283 | If you intended for the subroutine to be eligible for inlining, then |
4379 | 4284 | make sure the variable is not referenced elsewhere, possibly by |
4380 | 4285 | copying it: |
4381 | 4286 | |
4382 | 4287 | =end original |
4383 | 4288 | |
4384 | 4289 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 |
4385 | 4290 | おそらくコピーすることで、他のどこからも参照されないようにしてください: |
4386 | 4291 | |
4387 | 4292 | my $var2 = $var; |
4388 | 4293 | $sub = sub () { $var2 }; |
4389 | 4294 | |
4390 | 4295 | =begin original |
4391 | 4296 | |
4392 | 4297 | If you do want this subroutine to be a closure that reflects future |
4393 | 4298 | changes to the variable that it closes over, add an explicit C<return>: |
4394 | 4299 | |
4395 | 4300 | =end original |
4396 | 4301 | |
4397 | 4302 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる |
4398 | 4303 | クロージャにしたいなら、明示的な C<return> を追加してください: |
4399 | 4304 | |
4400 | 4305 | my $var; |
4401 | 4306 | $sub = sub () { return $var }; |
4402 | 4307 | |
4403 | 4308 | =item Constant subroutine %s redefined |
4404 | 4309 | |
4405 | 4310 | =begin original |
4406 | 4311 | |
4407 | 4312 | (W redefine)(S) You redefined a subroutine which had previously |
4408 | 4313 | been eligible for inlining. See L<perlsub/"Constant Functions"> |
4409 | 4314 | for commentary and workarounds. |
4410 | 4315 | |
4411 | 4316 | =end original |
4412 | 4317 | |
4413 | 4318 | (W redefine)(S) 以前にインライン化できる形であったサブルーチンを |
4414 | 4319 | 再定義しました。 |
4415 | 4320 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4416 | 4321 | 参照してください。 |
4417 | 4322 | |
4418 | 4323 | =item Constant subroutine %s undefined |
4419 | 4324 | |
4420 | 4325 | =begin original |
4421 | 4326 | |
4422 | 4327 | (W misc) You undefined a subroutine which had previously been eligible |
4423 | 4328 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
4424 | 4329 | workarounds. |
4425 | 4330 | |
4426 | 4331 | =end original |
4427 | 4332 | |
4428 | 4333 | (W misc)以前にインライン化できる形であったサブルーチンを |
4429 | 4334 | 未定義化しました。 |
4430 | 4335 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4431 | 4336 | 参照してください。 |
4432 | 4337 | |
4433 | 4338 | =item Constant(%s) unknown |
4434 | 4339 | |
4435 | 4340 | =begin original |
4436 | 4341 | |
4437 | 4342 | (F) The parser found inconsistencies either while attempting |
4438 | 4343 | to define an overloaded constant, or when trying to find the |
4439 | 4344 | character name specified in the C<\N{...}> escape. Perhaps you |
4440 | 4345 | forgot to load the corresponding L<overload> pragma? |
4441 | 4346 | |
4442 | 4347 | =end original |
4443 | 4348 | |
4444 | 4349 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 |
4445 | 4350 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を |
4446 | 4351 | 発見しました。 |
4447 | 4352 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? |
4448 | 4353 | |
4449 | 4354 | =item :const is experimental |
4450 | 4355 | |
4451 | 4356 | =begin original |
4452 | 4357 | |
4453 | 4358 | (S experimental::const_attr) The "const" attribute is experimental. |
4454 | 4359 | If you want to use the feature, disable the warning with C<no warnings |
4455 | 4360 | 'experimental::const_attr'>, but know that in doing so you are taking |
4456 | 4361 | the risk that your code may break in a future Perl version. |
4457 | 4362 | |
4458 | 4363 | =end original |
4459 | 4364 | |
4460 | 4365 | (S experimental::const_attr) "const" 属性は実験的です。 |
4461 | 4366 | この機能を使いたい場合、 |
4462 | 4367 | C<no warnings 'experimental::const_attr'> で警告を無効にしてください; |
4463 | 4368 | しかし、そうすることであなたのコードが将来の Perl のバージョンで |
4464 | 4369 | 壊れるリスクを取ることになります。 |
4465 | 4370 | |
4466 | 4371 | =item :const is not permitted on named subroutines |
4467 | 4372 | |
4468 | 4373 | =begin original |
4469 | 4374 | |
4470 | 4375 | (F) The "const" attribute causes an anonymous subroutine to be run and |
4471 | 4376 | its value captured at the time that it is cloned. Named subroutines are |
4472 | 4377 | not cloned like this, so the attribute does not make sense on them. |
4473 | 4378 | |
4474 | 4379 | =end original |
4475 | 4380 | |
4476 | 4381 | (F) The "const" 属性は、クローンされたときに値を捕捉された |
4477 | 4382 | 無名サブルーチンになります。 |
4478 | 4383 | 名前付きサブルーチンはこのようにクローンされないので、 |
4479 | 4384 | 属性はこれらに関して意味を持ちません。 |
4480 | 4385 | |
4481 | 4386 | =item Copy method did not return a reference |
4482 | 4387 | |
4483 | 4388 | =begin original |
4484 | 4389 | |
4485 | 4390 | (F) The method which overloads "=" is buggy. See |
4486 | 4391 | L<overload/Copy Constructor>. |
4487 | 4392 | |
4488 | 4393 | =end original |
4489 | 4394 | |
4490 | 4395 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
4491 | 4396 | L<overload/Copy Constructor> を参照してください。 |
4492 | 4397 | |
4493 | 4398 | =item &CORE::%s cannot be called directly |
4494 | 4399 | |
4495 | 4400 | =begin original |
4496 | 4401 | |
4497 | 4402 | (F) You tried to call a subroutine in the C<CORE::> namespace |
4498 | 4403 | with C<&foo> syntax or through a reference. Some subroutines |
4499 | 4404 | in this package cannot yet be called that way, but must be |
4500 | 4405 | called as barewords. Something like this will work: |
4501 | 4406 | |
4502 | 4407 | =end original |
4503 | 4408 | |
4504 | 4409 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で |
4505 | 4410 | 呼び出そうとしました。 |
4506 | 4411 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で |
4507 | 4412 | 呼び出さなければなりません。 |
4508 | 4413 | 以下のようなものは動作します: |
4509 | 4414 | |
4510 | 4415 | BEGIN { *shove = \&CORE::push; } |
4511 | 4416 | shove @array, 1,2,3; # pushes on to @array |
4512 | 4417 | |
4513 | 4418 | =item CORE::%s is not a keyword |
4514 | 4419 | |
4515 | 4420 | =begin original |
4516 | 4421 | |
4517 | 4422 | (F) The CORE:: namespace is reserved for Perl keywords. |
4518 | 4423 | |
4519 | 4424 | =end original |
4520 | 4425 | |
4521 | 4426 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
4522 | 4427 | |
4523 | 4428 | =item Corrupted regexp opcode %d > %d |
4524 | 4429 | |
4525 | 4430 | =begin original |
4526 | 4431 | |
4527 | 4432 | (P) This is either an error in Perl, or, if you're using |
4528 | 4433 | one, your L<custom regular expression engine|perlreapi>. If not the |
4529 | latter, report the problem to | |
4434 | latter, report the problem through the L<perlbug> utility. | |
4530 | 4435 | |
4531 | 4436 | =end original |
4532 | 4437 | |
4533 | 4438 | (P) これは Perl か、あるいは、使っているなら |
4534 | 4439 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 |
4535 | 後者でなければ、L< | |
4440 | 後者でなければ、L<perlbug> ユーティリティを使って問題を報告してください。 | |
4536 | 問題を報告してください。 | |
4537 | 4441 | |
4538 | 4442 | =item corrupted regexp pointers |
4539 | 4443 | |
4540 | 4444 | =begin original |
4541 | 4445 | |
4542 | 4446 | (P) The regular expression engine got confused by what the regular |
4543 | 4447 | expression compiler gave it. |
4544 | 4448 | |
4545 | 4449 | =end original |
4546 | 4450 | |
4547 | 4451 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
4548 | 4452 | 処理できなくなりました。 |
4549 | 4453 | |
4550 | 4454 | =item corrupted regexp program |
4551 | 4455 | |
4552 | 4456 | =begin original |
4553 | 4457 | |
4554 | 4458 | (P) The regular expression engine got passed a regexp program without a |
4555 | 4459 | valid magic number. |
4556 | 4460 | |
4557 | 4461 | =end original |
4558 | 4462 | |
4559 | 4463 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
4560 | 4464 | regexp プログラムを渡しました。 |
4561 | 4465 | |
4562 | 4466 | =item Corrupt malloc ptr 0x%x at 0x%x |
4563 | 4467 | |
4564 | 4468 | =begin original |
4565 | 4469 | |
4566 | 4470 | (P) The malloc package that comes with Perl had an internal failure. |
4567 | 4471 | |
4568 | 4472 | =end original |
4569 | 4473 | |
4570 | 4474 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
4571 | 4475 | |
4572 | 4476 | =item Count after length/code in unpack |
4573 | 4477 | |
4574 | 4478 | =begin original |
4575 | 4479 | |
4576 | 4480 | (F) You had an unpack template indicating a counted-length string, but |
4577 | 4481 | you have also specified an explicit size for the string. See |
4578 | 4482 | L<perlfunc/pack>. |
4579 | 4483 | |
4580 | 4484 | =end original |
4581 | 4485 | |
4582 | 4486 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 |
4583 | 4487 | 文字列の長さも明示的に指定しています。 |
4584 | 4488 | L<perlfunc/pack> を参照してください。 |
4585 | 4489 | |
4586 | 4490 | =item Declaring references is experimental |
4587 | 4491 | |
4588 | 4492 | =begin original |
4589 | 4493 | |
4590 | 4494 | (S experimental::declared_refs) This warning is emitted if you use |
4591 | 4495 | a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or |
4592 | 4496 | C<local>. Simply suppress the warning if you want to use the feature, but |
4593 | 4497 | know that in doing so you are taking the risk of using an experimental |
4594 | 4498 | feature which may change or be removed in a future Perl version: |
4595 | 4499 | |
4596 | 4500 | =end original |
4597 | 4501 | |
4598 | 4502 | (S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で |
4599 | 4503 | リファレンスコンストラクタを使うとこの警告が出力されます。 |
4600 | 4504 | この機能を使いたい場合は単にこの警告を抑制してください; ただし |
4601 | 4505 | そうすることによってあなたは将来のバージョンの Perl で変更したり |
4602 | 4506 | 削除されたりするかもしれない実験的な機能を使うというリスクを |
4603 | 4507 | 取っていると言うことを知っておいてください: |
4604 | 4508 | |
4605 | 4509 | no warnings "experimental::declared_refs"; |
4606 | 4510 | use feature "declared_refs"; |
4607 | 4511 | $fooref = my \$foo; |
4608 | 4512 | |
4609 | 4513 | =for comment |
4610 | 4514 | The following are used in lib/diagnostics.t for testing two =items that |
4611 | 4515 | share the same description. Changes here need to be propagated to there |
4612 | 4516 | |
4613 | 4517 | =item Deep recursion on anonymous subroutine |
4614 | 4518 | |
4615 | 4519 | =item Deep recursion on subroutine "%s" |
4616 | 4520 | |
4617 | 4521 | =begin original |
4618 | 4522 | |
4619 | 4523 | (W recursion) This subroutine has called itself (directly or indirectly) |
4620 | 4524 | 100 times more than it has returned. This probably indicates an |
4621 | 4525 | infinite recursion, unless you're writing strange benchmark programs, in |
4622 | 4526 | which case it indicates something else. |
4623 | 4527 | |
4624 | 4528 | =end original |
4625 | 4529 | |
4626 | 4530 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 |
4627 | 4531 | return より 100 回多く行ないました。 |
4628 | 4532 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
4629 | 4533 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 |
4630 | 4534 | |
4631 | 4535 | =begin original |
4632 | 4536 | |
4633 | 4537 | This threshold can be changed from 100, by recompiling the F<perl> binary, |
4634 | 4538 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. |
4635 | 4539 | |
4636 | 4540 | =end original |
4637 | 4541 | |
4638 | 4542 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に |
4639 | 4543 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 |
4640 | 4544 | |
4641 | 4545 | =item (?(DEFINE)....) does not allow branches in regex; marked by |
4642 | 4546 | S<<-- HERE> in m/%s/ |
4643 | 4547 | |
4644 | 4548 | =begin original |
4645 | 4549 | |
4646 | 4550 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The |
4647 | 4551 | most likely cause of this error is that you left out a parenthesis inside |
4648 | 4552 | of the C<....> part. |
4649 | 4553 | |
4650 | 4554 | =end original |
4651 | 4555 | |
4652 | 4556 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 |
4653 | 4557 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを |
4654 | 4558 | そのままにしたことです。 |
4655 | 4559 | |
4656 | 4560 | =begin original |
4657 | 4561 | |
4658 | 4562 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
4659 | 4563 | discovered. |
4660 | 4564 | |
4661 | 4565 | =end original |
4662 | 4566 | |
4663 | 4567 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
4664 | 4568 | |
4665 | 4569 | =item %s defines neither package nor VERSION--version check failed |
4666 | 4570 | |
4667 | 4571 | =begin original |
4668 | 4572 | |
4669 | 4573 | (F) You said something like "use Module 42" but in the Module file |
4670 | 4574 | there are neither package declarations nor a C<$VERSION>. |
4671 | 4575 | |
4672 | 4576 | =end original |
4673 | 4577 | |
4674 | 4578 | (F) "use Module 42" のようなことをしましたが、Module ファイルに |
4675 | 4579 | パッケージ定義がないか、C<$VERSION> がありませんでした。 |
4676 | 4580 | |
4581 | =item delete argument is index/value array slice, use array slice | |
4582 | ||
4583 | =begin original | |
4584 | ||
4585 | (F) You used index/value array slice syntax (C<%array[...]>) as | |
4586 | the argument to C<delete>. You probably meant C<@array[...]> with | |
4587 | an @ symbol instead. | |
4588 | ||
4589 | =end original | |
4590 | ||
4591 | (F) インデックス/値配列スライス文法 (C<%array[...]>) を、C<delete> への | |
4592 | 引数として使いました。 | |
4593 | おそらく @ シンボルを使って C<@array[...]> としたかったのでしょう。 | |
4594 | ||
4595 | =item delete argument is key/value hash slice, use hash slice | |
4596 | ||
4597 | =begin original | |
4598 | ||
4599 | (F) You used key/value hash slice syntax (C<%hash{...}>) as the argument to | |
4600 | C<delete>. You probably meant C<@hash{...}> with an @ symbol instead. | |
4601 | ||
4602 | =end original | |
4603 | ||
4604 | (F) キー/値ハッシュスライス文法 (C<%hash{...}>) を、C<delete> への | |
4605 | 引数として使いました。 | |
4606 | おそらく @ シンボルを使って C<@hash{...}> としたかったのでしょう。 | |
4607 | ||
4677 | 4608 | =item delete argument is not a HASH or ARRAY element or slice |
4678 | 4609 | |
4679 | 4610 | =begin original |
4680 | 4611 | |
4681 | 4612 | (F) The argument to C<delete> must be either a hash or array element, |
4682 | 4613 | such as: |
4683 | 4614 | |
4684 | 4615 | =end original |
4685 | 4616 | |
4686 | 4617 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: |
4687 | 4618 | |
4688 | 4619 | $foo{$bar} |
4689 | 4620 | $ref->{"susie"}[12] |
4690 | 4621 | |
4691 | 4622 | =begin original |
4692 | 4623 | |
4693 | 4624 | or a hash or array slice, such as: |
4694 | 4625 | |
4695 | 4626 | =end original |
4696 | 4627 | |
4697 | あるいは以下のようにハッシュか配列のスライス | |
4628 | あるいは以下のようにハッシュか配列のスライスでなければなりません: | |
4698 | 4629 | |
4699 | 4630 | @foo[$bar, $baz, $xyzzy] |
4700 | $ref->[12] | |
4631 | @{$ref->[12]}{"susie", "queue"} | |
4701 | 4632 | |
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 | ||
4714 | 4633 | =item Delimiter for here document is too long |
4715 | 4634 | |
4716 | 4635 | =begin original |
4717 | 4636 | |
4718 | 4637 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
4719 | 4638 | long for Perl to handle. You have to be seriously twisted to write code |
4720 | 4639 | that triggers this error. |
4721 | 4640 | |
4722 | 4641 | =end original |
4723 | 4642 | |
4724 | 4643 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
4725 | 4644 | Perl が扱うには長すぎました。 |
4726 | 4645 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
4727 | 4646 | |
4647 | =item Deprecated use of my() in false conditional. This will be a fatal error in Perl 5.30 | |
4648 | ||
4649 | =begin original | |
4650 | ||
4651 | (D deprecated) You used a declaration similar to C<my $x if 0>. There | |
4652 | has been a long-standing bug in Perl that causes a lexical variable | |
4653 | not to be cleared at scope exit when its declaration includes a false | |
4654 | conditional. Some people have exploited this bug to achieve a kind of | |
4655 | static variable. Since we intend to fix this bug, we don't want people | |
4656 | relying on this behavior. You can achieve a similar static effect by | |
4657 | declaring the variable in a separate block outside the function, eg | |
4658 | ||
4659 | =end original | |
4660 | ||
4661 | (D deprecated) C<my $x if 0> のような定義を行いました。 | |
4662 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が | |
4663 | クリアされないという、Perl に長い間存在したバグです。 | |
4664 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
4665 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
4666 | ほしくありません。 | |
4667 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
4668 | 達成できます; 例えば: | |
4669 | ||
4670 | sub f { my $x if 0; return $x++ } | |
4671 | ||
4672 | =begin original | |
4673 | ||
4674 | becomes | |
4675 | ||
4676 | =end original | |
4677 | ||
4678 | これは以下のようにします: | |
4679 | ||
4680 | { my $x; sub f { return $x++ } } | |
4681 | ||
4682 | =begin original | |
4683 | ||
4684 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
4685 | lexicals that are initialized only once (see L<feature>): | |
4686 | ||
4687 | =end original | |
4688 | ||
4689 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
4690 | 使えます (L<feature> を参照してください): | |
4691 | ||
4692 | sub f { state $x; return $x++ } | |
4693 | ||
4694 | =begin original | |
4695 | ||
4696 | This use of C<my()> in a false conditional has been deprecated since | |
4697 | Perl 5.10, and it will become a fatal error in Perl 5.30. | |
4698 | ||
4699 | =end original | |
4700 | ||
4701 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定で、 | |
4702 | Perl 5.30 で致命的エラーになる予定です。 | |
4703 | ||
4728 | 4704 | =item DESTROY created new reference to dead object '%s' |
4729 | 4705 | |
4730 | 4706 | =begin original |
4731 | 4707 | |
4732 | 4708 | (F) A DESTROY() method created a new reference to the object which is |
4733 | 4709 | just being DESTROYed. Perl is confused, and prefers to abort rather |
4734 | 4710 | than to create a dangling reference. |
4735 | 4711 | |
4736 | 4712 | =end original |
4737 | 4713 | |
4738 | 4714 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの |
4739 | 4715 | 新しいリファレンスを作りました。 |
4740 | 4716 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 |
4741 | 4717 | |
4742 | 4718 | =item Did not produce a valid header |
4743 | 4719 | |
4744 | 4720 | =begin original |
4745 | 4721 | |
4746 | 4722 | See L</500 Server error>. |
4747 | 4723 | |
4748 | 4724 | =end original |
4749 | 4725 | |
4750 | 4726 | L</500 Server error> を参照してください。 |
4751 | 4727 | |
4752 | 4728 | =item %s did not return a true value |
4753 | 4729 | |
4754 | 4730 | =begin original |
4755 | 4731 | |
4756 | 4732 | (F) A required (or used) file must return a true value to indicate that |
4757 | 4733 | it compiled correctly and ran its initialization code correctly. It's |
4758 | 4734 | traditional to end such a file with a "1;", though any true value would |
4759 | 4735 | do. See L<perlfunc/require>. |
4760 | 4736 | |
4761 | 4737 | =end original |
4762 | 4738 | |
4763 | 4739 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
4764 | 4740 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
4765 | 4741 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
4766 | 4742 | 真となる値であれば、何でもかまいません。 |
4767 | 4743 | L<perlfunc/require> を参照してください。 |
4768 | 4744 | |
4769 | 4745 | =item (Did you mean &%s instead?) |
4770 | 4746 | |
4771 | 4747 | =begin original |
4772 | 4748 | |
4773 | 4749 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or |
4774 | 4750 | some such. |
4775 | 4751 | |
4776 | 4752 | =end original |
4777 | 4753 | |
4778 | 4754 | (W misc) おそらく import したサブルーチン &FOO を $FOO として |
4779 | 4755 | 参照したようなことでしょう。 |
4780 | 4756 | |
4781 | 4757 | =item (Did you mean "local" instead of "our"?) |
4782 | 4758 | |
4783 | 4759 | =begin original |
4784 | 4760 | |
4785 | (W s | |
4761 | (W misc) Remember that "our" does not localize the declared global | |
4786 | 4762 | variable. You have declared it again in the same lexical scope, which |
4787 | 4763 | seems superfluous. |
4788 | 4764 | |
4789 | 4765 | =end original |
4790 | 4766 | |
4791 | (W s | |
4767 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを | |
4792 | 4768 | 忘れないで下さい。 |
4793 | 4769 | これをもう一度同じレキシカルスコープで宣言していますが、 |
4794 | 4770 | 不必要でしょう。 |
4795 | 4771 | |
4796 | 4772 | =item (Did you mean $ or @ instead of %?) |
4797 | 4773 | |
4798 | 4774 | =begin original |
4799 | 4775 | |
4800 | 4776 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
4801 | 4777 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
4802 | 4778 | carried away. |
4803 | 4779 | |
4804 | 4780 | =end original |
4805 | 4781 | |
4806 | 4782 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
4807 | 4783 | したのでしょう。 |
4808 | 4784 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
4809 | 4785 | |
4810 | 4786 | =item Died |
4811 | 4787 | |
4812 | 4788 | =begin original |
4813 | 4789 | |
4814 | 4790 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
4815 | 4791 | you called it with no args and C<$@> was empty. |
4816 | 4792 | |
4817 | 4793 | =end original |
4818 | 4794 | |
4819 | 4795 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
4820 | 4796 | 呼び出して、C<$@> が空でした。 |
4821 | 4797 | |
4822 | 4798 | =item Document contains no data |
4823 | 4799 | |
4824 | 4800 | =begin original |
4825 | 4801 | |
4826 | 4802 | See L</500 Server error>. |
4827 | 4803 | |
4828 | 4804 | =end original |
4829 | 4805 | |
4830 | 4806 | L</500 Server error> を参照してください。 |
4831 | 4807 | |
4832 | 4808 | =item %s does not define %s::VERSION--version check failed |
4833 | 4809 | |
4834 | 4810 | =begin original |
4835 | 4811 | |
4836 | 4812 | (F) You said something like "use Module 42" but the Module did not |
4837 | 4813 | define a C<$VERSION>. |
4838 | 4814 | |
4839 | 4815 | =end original |
4840 | 4816 | |
4841 | 4817 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を |
4842 | 4818 | 定義していません。 |
4843 | 4819 | |
4844 | =item '/' does not take a repeat count | |
4820 | =item '/' does not take a repeat count | |
4845 | 4821 | |
4846 | 4822 | =begin original |
4847 | 4823 | |
4848 | 4824 | (F) You cannot put a repeat count of any kind right after the '/' code. |
4849 | 4825 | See L<perlfunc/pack>. |
4850 | 4826 | |
4851 | 4827 | =end original |
4852 | 4828 | |
4853 | 4829 | (F) '/' の直後には繰り返し数を指定できません。 |
4854 | 4830 | L<perlfunc/pack> を参照してください。 |
4855 | 4831 | |
4856 | 4832 | =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"? |
4857 | 4833 | |
4858 | 4834 | =begin original |
4859 | 4835 | |
4860 | 4836 | (D deprecated) Previously C< do "somefile"; > would search the current |
4861 | 4837 | directory for the specified file. Since perl v5.26.0, F<.> has been |
4862 | 4838 | removed from C<@INC> by default, so this is no longer true. To search the |
4863 | 4839 | current directory (and only the current directory) you can write |
4864 | 4840 | C< do "./somefile"; >. |
4865 | 4841 | |
4866 | 4842 | =end original |
4867 | 4843 | |
4868 | 4844 | (D deprecated) 以前は、C< do "somefile"; > は指定されたファイルを |
4869 | 4845 | カレントディレクトリから探していました。 |
4870 | 4846 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 |
4871 | 4847 | これはもはや真ではありません。 |
4872 | 4848 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 |
4873 | 4849 | C< do "./somefile"; > と書けます。 |
4874 | 4850 | |
4875 | 4851 | =item Don't know how to get file name |
4876 | 4852 | |
4877 | 4853 | =begin original |
4878 | 4854 | |
4879 | 4855 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was |
4880 | 4856 | somehow called on another platform. This should not happen. |
4881 | 4857 | |
4882 | 4858 | =end original |
4883 | 4859 | |
4884 | 4860 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか |
4885 | 4861 | 他のプラットフォームで呼び出されました。 |
4886 | 4862 | これは起きないはずです。 |
4887 | 4863 | |
4888 | 4864 | =item Don't know how to handle magic of type \%o |
4889 | 4865 | |
4890 | 4866 | =begin original |
4891 | 4867 | |
4892 | 4868 | (P) The internal handling of magical variables has been cursed. |
4893 | 4869 | |
4894 | 4870 | =end original |
4895 | 4871 | |
4896 | 4872 | (P) マジカル変数の内部処理がおかしくなっています。 |
4897 | 4873 | |
4898 | =item | |
4874 | =item do_study: out of memory | |
4899 | 4875 | |
4900 | 4876 | =begin original |
4901 | 4877 | |
4902 | ( | |
4878 | (P) This should have been caught by safemalloc() instead. | |
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. | |
4908 | 4879 | |
4909 | 4880 | =end original |
4910 | 4881 | |
4911 | ( | |
4882 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 | |
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) | |
4918 | 4883 | |
4919 | 4884 | =item (Do you need to predeclare %s?) |
4920 | 4885 | |
4921 | 4886 | =begin original |
4922 | 4887 | |
4923 | 4888 | (S syntax) This is an educated guess made in conjunction with the message |
4924 | 4889 | "%s found where operator expected". It often means a subroutine or module |
4925 | 4890 | name is being referenced that hasn't been declared yet. This may be |
4926 | 4891 | because of ordering problems in your file, or because of a missing |
4927 | 4892 | "sub", "package", "require", or "use" statement. If you're referencing |
4928 | 4893 | something that isn't defined yet, you don't actually have to define the |
4929 | 4894 | subroutine or package before the current location. You can use an empty |
4930 | 4895 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
4931 | 4896 | |
4932 | 4897 | =end original |
4933 | 4898 | |
4934 | 4899 | (S syntax) これは "%s found where operator expected" メッセージと共に |
4935 | 4900 | 表示される教育的な推測です。 |
4936 | 4901 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
4937 | 4902 | ことを意味します。 |
4938 | 4903 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
4939 | 4904 | "use" 文がないためであったりします。 |
4940 | 4905 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
4941 | 4906 | サブルーチンやパッケージを定義する必要はありません。 |
4942 | 4907 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
4943 | 4908 | |
4944 | =item dump() | |
4909 | =item dump() better written as CORE::dump(). dump() will no longer be available in Perl 5.30 | |
4945 | 4910 | |
4946 | 4911 | =begin original |
4947 | 4912 | |
4948 | ( | |
4913 | (D deprecated, misc) You used the obsolescent C<dump()> built-in function, | |
4949 | ||
4914 | without fully qualifying it as C<CORE::dump()>. Maybe it's a typo. | |
4950 | C<CORE::dump()>. | |
4951 | 4915 | |
4952 | 4916 | =end original |
4953 | 4917 | |
4954 | ( | |
4918 | (D deprecated, misc) 古いものである C<dump()> 組み込み関数を、 | |
4955 | ||
4919 | C<CORE::dump()> というように完全修飾せずに使いました。 | |
4956 | ||
4920 | おそらくこれはタイプミスです。 | |
4957 | 書かなければなりません。 | |
4958 | 4921 | |
4959 | 4922 | =begin original |
4960 | 4923 | |
4924 | Use of a unqualified C<dump()> was deprecated in Perl 5.8.0, and this | |
4925 | will not be available in Perl 5.30. | |
4926 | ||
4927 | =end original | |
4928 | ||
4929 | 修飾されない C<dump()> の使用は Perl 5.8.0 から廃止予定で、 | |
4930 | Perl 5.30 から利用できなくなる予定です。 | |
4931 | ||
4932 | =begin original | |
4933 | ||
4961 | 4934 | See L<perlfunc/dump>. |
4962 | 4935 | |
4963 | 4936 | =end original |
4964 | 4937 | |
4965 | 4938 | L<perlfunc/dump> を参照してください。 |
4966 | 4939 | |
4967 | 4940 | =item dump is not supported |
4968 | 4941 | |
4969 | 4942 | =begin original |
4970 | 4943 | |
4971 | 4944 | (F) Your machine doesn't support dump/undump. |
4972 | 4945 | |
4973 | 4946 | =end original |
4974 | 4947 | |
4975 | 4948 | (F) このマシンは dump/undump に対応していません。 |
4976 | 4949 | |
4977 | 4950 | =item Duplicate free() ignored |
4978 | 4951 | |
4979 | 4952 | =begin original |
4980 | 4953 | |
4981 | 4954 | (S malloc) An internal routine called free() on something that had |
4982 | 4955 | already been freed. |
4983 | 4956 | |
4984 | 4957 | =end original |
4985 | 4958 | |
4986 | 4959 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
4987 | 4960 | 行なおうとしました。 |
4988 | 4961 | |
4989 | 4962 | =item Duplicate modifier '%c' after '%c' in %s |
4990 | 4963 | |
4991 | 4964 | =begin original |
4992 | 4965 | |
4993 | 4966 | (W unpack) You have applied the same modifier more than once after a |
4994 | 4967 | type in a pack template. See L<perlfunc/pack>. |
4995 | 4968 | |
4996 | 4969 | =end original |
4997 | 4970 | |
4998 | 4971 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 |
4999 | 4972 | L<perlfunc/pack> を参照してください。 |
5000 | 4973 | |
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 | ||
5016 | 4974 | =item elseif should be elsif |
5017 | 4975 | |
5018 | 4976 | =begin original |
5019 | 4977 | |
5020 | 4978 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks |
5021 | 4979 | it's ugly. Your code will be interpreted as an attempt to call a method |
5022 | 4980 | named "elseif" for the class returned by the following block. This is |
5023 | 4981 | unlikely to be what you want. |
5024 | 4982 | |
5025 | 4983 | =end original |
5026 | 4984 | |
5027 | 4985 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
5028 | 4986 | ありません。 |
5029 | 4987 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
5030 | 4988 | 呼び出そうとしていると解釈されます。 |
5031 | 4989 | これは望んでいることではないはずです。 |
5032 | 4990 | |
5033 | 4991 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ |
5034 | 4992 | |
5035 | =item Empty \%c{} | |
5036 | ||
5037 | 4993 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ |
5038 | 4994 | |
5039 | 4995 | =begin original |
5040 | 4996 | |
5041 | (F) | |
4997 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as | |
5042 | ||
4998 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in | |
4999 | a regular expression without specifying the property name. | |
5043 | 5000 | |
5044 | 5001 | =end original |
5045 | 5002 | |
5046 | (F) | |
5003 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 | |
5047 | ||
5004 | 名前付き Unicode プロパティを導入するために使われます。 | |
5005 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
5048 | 5006 | |
5049 | = | |
5007 | =item ${^ENCODING} is no longer supported. Its use will be fatal in Perl 5.28 | |
5050 | 5008 | |
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 | 5009 | =begin original |
5062 | 5010 | |
5063 | ( | |
5011 | (D deprecated) The special variable C<${^ENCODING}>, formerly used to implement | |
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 | 5012 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. |
5077 | 5013 | |
5078 | 5014 | =end original |
5079 | 5015 | |
5080 | ( | |
5016 | (D deprecated) 以前は C<encoding> プラグマの実装に使われていた | |
5081 | 5017 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 |
5082 | 5018 | |
5083 | 5019 | =begin original |
5084 | 5020 | |
5085 | Setting | |
5021 | Setting this variable will become a fatal error in Perl 5.28. | |
5086 | 5.28. | |
5087 | 5022 | |
5088 | 5023 | =end original |
5089 | 5024 | |
5090 | こ | |
5025 | この変数への設定は Perl 5.28 に致命的エラーになる予定です。 | |
5091 | 5026 | |
5092 | 5027 | =item entering effective %s failed |
5093 | 5028 | |
5094 | 5029 | =begin original |
5095 | 5030 | |
5096 | 5031 | (F) While under the C<use filetest> pragma, switching the real and |
5097 | 5032 | effective uids or gids failed. |
5098 | 5033 | |
5099 | 5034 | =end original |
5100 | 5035 | |
5101 | 5036 | (F) C<use filetest> プラグマを使っている間に、 |
5102 | 5037 | 実と実効の UID や GID の切り替えに失敗しました。 |
5103 | 5038 | |
5104 | 5039 | =item %ENV is aliased to %s |
5105 | 5040 | |
5106 | 5041 | =begin original |
5107 | 5042 | |
5108 | 5043 | (F) You're running under taint mode, and the C<%ENV> variable has been |
5109 | 5044 | aliased to another hash, so it doesn't reflect anymore the state of the |
5110 | 5045 | program's environment. This is potentially insecure. |
5111 | 5046 | |
5112 | 5047 | =end original |
5113 | 5048 | |
5114 | 5049 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに |
5115 | 5050 | なっているので、これ以上プログラムの環境の状態を反映しません。 |
5116 | 5051 | これは潜在的にはセキュアではありません。 |
5117 | 5052 | |
5118 | 5053 | =item Error converting file specification %s |
5119 | 5054 | |
5120 | 5055 | =begin original |
5121 | 5056 | |
5122 | 5057 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
5123 | 5058 | specifications in either VMS or Unix syntax, it converts them to a |
5124 | 5059 | single form when it must operate on them directly. Either you've passed |
5125 | 5060 | an invalid file specification to Perl, or you've found a case the |
5126 | 5061 | conversion routines don't handle. Drat. |
5127 | 5062 | |
5128 | 5063 | =end original |
5129 | 5064 | |
5130 | 5065 | (F) VMS に固有のエラーです。 |
5131 | 5066 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
5132 | 5067 | 直接操作しなければならない場合は変換します。 |
5133 | 5068 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
5134 | 5069 | 発見したかです。 |
5135 | 5070 | ちぇっ。 |
5136 | 5071 | |
5137 | =item Error %s in expansion of %s | |
5138 | ||
5139 | =begin original | |
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 | 5072 | =item Eval-group in insecure regular expression |
5174 | 5073 | |
5175 | 5074 | =begin original |
5176 | 5075 | |
5177 | 5076 | (F) Perl detected tainted data when trying to compile a regular |
5178 | 5077 | expression that contains the C<(?{ ... })> zero-width assertion, which |
5179 | 5078 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
5180 | 5079 | |
5181 | 5080 | =end original |
5182 | 5081 | |
5183 | 5082 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
5184 | 5083 | したときに、Perl は汚染されたデータを検出しました; |
5185 | 5084 | これは安全ではありません。 |
5186 | 5085 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
5187 | 5086 | |
5188 | 5087 | =item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/ |
5189 | 5088 | |
5190 | 5089 | =begin original |
5191 | 5090 | |
5192 | 5091 | (F) Perl tried to compile a regular expression containing the |
5193 | 5092 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
5194 | 5093 | pattern contains interpolated values. Since that is a security risk, |
5195 | 5094 | it is not allowed. If you insist, you may still do this by using the |
5196 | 5095 | C<re 'eval'> pragma or by explicitly building the pattern from an |
5197 | 5096 | interpolated string at run time and using that in an eval(). See |
5198 | 5097 | L<perlre/(?{ code })>. |
5199 | 5098 | |
5200 | 5099 | =end original |
5201 | 5100 | |
5202 | 5101 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
5203 | 5102 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
5204 | 5103 | これはセキュリティ上の危険があるので、許可されていません。 |
5205 | 5104 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に |
5206 | 5105 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで |
5207 | 5106 | 実行できます。 |
5208 | 5107 | L<perlre/(?{ code })> を参照してください。 |
5209 | 5108 | |
5210 | 5109 | =item Eval-group not allowed, use re 'eval' in regex m/%s/ |
5211 | 5110 | |
5212 | 5111 | =begin original |
5213 | 5112 | |
5214 | 5113 | (F) A regular expression contained the C<(?{ ... })> zero-width |
5215 | 5114 | assertion, but that construct is only allowed when the C<use re 'eval'> |
5216 | 5115 | pragma is in effect. See L<perlre/(?{ code })>. |
5217 | 5116 | |
5218 | 5117 | =end original |
5219 | 5118 | |
5220 | 5119 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
5221 | 5120 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
5222 | 5121 | L<perlre/(?{ code })> を参照してください。 |
5223 | 5122 | |
5224 | 5123 | =item EVAL without pos change exceeded limit in regex; marked by |
5225 | 5124 | S<<-- HERE> in m/%s/ |
5226 | 5125 | |
5227 | 5126 | =begin original |
5228 | 5127 | |
5229 | 5128 | (F) You used a pattern that nested too many EVAL calls without consuming |
5230 | 5129 | any text. Restructure the pattern so that text is consumed. |
5231 | 5130 | |
5232 | 5131 | =end original |
5233 | 5132 | |
5234 | 5133 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる |
5235 | 5134 | パターンを使いました。 |
5236 | 5135 | テキストを読み込むようにパターンを再構築してください。 |
5237 | 5136 | |
5238 | 5137 | =begin original |
5239 | 5138 | |
5240 | 5139 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
5241 | 5140 | discovered. |
5242 | 5141 | |
5243 | 5142 | =end original |
5244 | 5143 | |
5245 | 5144 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
5246 | 5145 | |
5247 | 5146 | =item Excessively long <> operator |
5248 | 5147 | |
5249 | 5148 | =begin original |
5250 | 5149 | |
5251 | 5150 | (F) The contents of a <> operator may not exceed the maximum size of a |
5252 | 5151 | Perl identifier. If you're just trying to glob a long list of |
5253 | 5152 | filenames, try using the glob() operator, or put the filenames into a |
5254 | 5153 | variable and glob that. |
5255 | 5154 | |
5256 | 5155 | =end original |
5257 | 5156 | |
5258 | 5157 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
5259 | 5158 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
5260 | 5159 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
5261 | 5160 | |
5262 | 5161 | =item exec? I'm not *that* kind of operating system |
5263 | 5162 | |
5264 | 5163 | =begin original |
5265 | 5164 | |
5266 | (F) The C<exec> function is not implemented on some systems, e.g. | |
5165 | (F) The C<exec> function is not implemented on some systems, e.g., Symbian | |
5267 | ||
5166 | OS. See L<perlport>. | |
5268 | 5167 | |
5269 | 5168 | =end original |
5270 | 5169 | |
5271 | (F) C<exec> 関数は | |
5170 | (F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。 | |
5272 | 5171 | L<perlport> を参照してください。 |
5273 | 5172 | |
5274 | 5173 | =item %sExecution of %s aborted due to compilation errors. |
5275 | 5174 | |
5276 | 5175 | =begin original |
5277 | 5176 | |
5278 | 5177 | (F) The final summary message when a Perl compilation fails. |
5279 | 5178 | |
5280 | 5179 | =end original |
5281 | 5180 | |
5282 | 5181 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
5283 | 5182 | |
5284 | 5183 | =item exists argument is not a HASH or ARRAY element or a subroutine |
5285 | 5184 | |
5286 | 5185 | =begin original |
5287 | 5186 | |
5288 | 5187 | (F) The argument to C<exists> must be a hash or array element or a |
5289 | 5188 | subroutine with an ampersand, such as: |
5290 | 5189 | |
5291 | 5190 | =end original |
5292 | 5191 | |
5293 | 5192 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 |
5294 | 5193 | アンパサンド付きのサブルーチンでなければなりません: |
5295 | 5194 | |
5296 | 5195 | $foo{$bar} |
5297 | 5196 | $ref->{"susie"}[12] |
5298 | 5197 | &do_something |
5299 | 5198 | |
5300 | 5199 | =item exists argument is not a subroutine name |
5301 | 5200 | |
5302 | 5201 | =begin original |
5303 | 5202 | |
5304 | 5203 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, |
5305 | 5204 | and not a subroutine call. C<exists &sub()> will generate this error. |
5306 | 5205 | |
5307 | 5206 | =end original |
5308 | 5207 | |
5309 | 5208 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 |
5310 | 5209 | サブルーチン呼び出しではありません。 |
5311 | 5210 | C<exists &sub()> はこのエラーを生成します。 |
5312 | 5211 | |
5313 | 5212 | =item Exiting eval via %s |
5314 | 5213 | |
5315 | 5214 | =begin original |
5316 | 5215 | |
5317 | 5216 | (W exiting) You are exiting an eval by unconventional means, such as a |
5318 | 5217 | goto, or a loop control statement. |
5319 | 5218 | |
5320 | 5219 | =end original |
5321 | 5220 | |
5322 | 5221 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
5323 | 5222 | |
5324 | 5223 | =item Exiting format via %s |
5325 | 5224 | |
5326 | 5225 | =begin original |
5327 | 5226 | |
5328 | 5227 | (W exiting) You are exiting a format by unconventional means, such as a |
5329 | 5228 | goto, or a loop control statement. |
5330 | 5229 | |
5331 | 5230 | =end original |
5332 | 5231 | |
5333 | 5232 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを |
5334 | 5233 | 終了しました。 |
5335 | 5234 | |
5336 | 5235 | =item Exiting pseudo-block via %s |
5337 | 5236 | |
5338 | 5237 | =begin original |
5339 | 5238 | |
5340 | 5239 | (W exiting) You are exiting a rather special block construct (like a |
5341 | 5240 | sort block or subroutine) by unconventional means, such as a goto, or a |
5342 | 5241 | loop control statement. See L<perlfunc/sort>. |
5343 | 5242 | |
5344 | 5243 | =end original |
5345 | 5244 | |
5346 | 5245 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
5347 | 5246 | goto やループ制御文といった異例な方法で終了しました。 |
5348 | 5247 | L<perlfunc/sort> を参照してください。 |
5349 | 5248 | |
5350 | 5249 | =item Exiting subroutine via %s |
5351 | 5250 | |
5352 | 5251 | =begin original |
5353 | 5252 | |
5354 | 5253 | (W exiting) You are exiting a subroutine by unconventional means, such |
5355 | 5254 | as a goto, or a loop control statement. |
5356 | 5255 | |
5357 | 5256 | =end original |
5358 | 5257 | |
5359 | 5258 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを |
5360 | 5259 | 抜けました。 |
5361 | 5260 | |
5362 | 5261 | =item Exiting substitution via %s |
5363 | 5262 | |
5364 | 5263 | =begin original |
5365 | 5264 | |
5366 | 5265 | (W exiting) You are exiting a substitution by unconventional means, such |
5367 | 5266 | as a return, a goto, or a loop control statement. |
5368 | 5267 | |
5369 | 5268 | =end original |
5370 | 5269 | |
5371 | 5270 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
5372 | 5271 | 抜けました。 |
5373 | 5272 | |
5374 | 5273 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ |
5375 | 5274 | |
5376 | 5275 | =begin original |
5377 | 5276 | |
5378 | 5277 | (F) You wrote something like |
5379 | 5278 | |
5380 | 5279 | =end original |
5381 | 5280 | |
5382 | (F) | |
5281 | (F) 以下のようなものを書きました | |
5383 | 5282 | |
5384 | 5283 | (?13 |
5385 | 5284 | |
5386 | 5285 | =begin original |
5387 | 5286 | |
5388 | 5287 | to denote a capturing group of the form |
5389 | 5288 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, |
5390 | 5289 | but omitted the C<")">. |
5391 | 5290 | |
5392 | 5291 | =end original |
5393 | 5292 | |
5394 | 5293 | to denote a capturing group of the form |
5395 | 5294 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の |
5396 | 5295 | 捕捉グループを示していますが C<")"> が省略されています。 |
5397 | 5296 | |
5398 | =item Expecting | |
5297 | =item Expecting '(?flags:(?[...' in regex; marked by S<<-- HERE> in m/%s/ | |
5399 | HERE in m/%s/ | |
5400 | 5298 | |
5401 | 5299 | =begin original |
5402 | 5300 | |
5403 | (F) | |
5301 | (F) The C<(?[...])> extended character class regular expression construct | |
5404 | alr | |
5302 | only allows character classes (including character class escapes like | |
5303 | C<\d>), operators, and parentheses. The one exception is C<(?flags:...)> | |
5304 | containing at least one flag and exactly one C<(?[...])> construct. | |
5305 | This allows a regular expression containing just C<(?[...])> to be | |
5306 | interpolated. If you see this error message, then you probably | |
5307 | have some other C<(?...)> construct inside your character class. See | |
5308 | L<perlrecharclass/Extended Bracketed Character Classes>. | |
5405 | 5309 | |
5406 | 5310 | =end original |
5407 | 5311 | |
5408 | (F) | |
5312 | (F) C<(?[...])> 拡張文字クラス正規表現構文には、(C<\d> のような | |
5409 | ||
5313 | 文字クラスエスケープを含む) 文字クラス、演算子、かっこのみが許されます。 | |
5314 | 一つの例外は正確に一つだけのフラグと一つだけの C<(?[...])> を含む | |
5315 | C<(?flags:...)> です。 | |
5316 | これにより C<(?[...])> だけを含む正規表現を変数展開できるようになります。 | |
5317 | このエラーメッセージが表示された時は、おそらく文字クラスの中に他の | |
5318 | C<(?...)> 構文が含まれています。 | |
5319 | L<perlrecharclass/Extended Bracketed Character Classes> を参照してください。 | |
5410 | 5320 | |
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 | 5321 | =item Experimental aliasing via reference not enabled |
5426 | 5322 | |
5427 | 5323 | =begin original |
5428 | 5324 | |
5429 | 5325 | (F) To do aliasing via references, you must first enable the feature: |
5430 | 5326 | |
5431 | 5327 | =end original |
5432 | 5328 | |
5433 | 5329 | (F) リファレンスによる別名をするためには、最初にこの機能を |
5434 | 5330 | 有効にしなければなりません: |
5435 | 5331 | |
5436 | 5332 | no warnings "experimental::refaliasing"; |
5437 | 5333 | use feature "refaliasing"; |
5438 | 5334 | \$x = \$y; |
5439 | 5335 | |
5440 | 5336 | =item Experimental %s on scalar is now forbidden |
5441 | 5337 | |
5442 | 5338 | =begin original |
5443 | 5339 | |
5444 | 5340 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, |
5445 | 5341 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a |
5446 | 5342 | scalar argument. This experiment is considered unsuccessful, and |
5447 | 5343 | has been removed. The C<postderef> feature may meet your needs better. |
5448 | 5344 | |
5449 | 5345 | =end original |
5450 | 5346 | |
5451 | 5347 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, |
5452 | 5348 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を |
5453 | 5349 | スカラ引数で呼び出すことができました。 |
5454 | 5350 | この実験は失敗と考えられ、削除されました。 |
5455 | 5351 | C<postderef> 機能はあなたの要求により良く一致します。 |
5456 | 5352 | |
5457 | 5353 | =item Experimental subroutine signatures not enabled |
5458 | 5354 | |
5459 | 5355 | =begin original |
5460 | 5356 | |
5461 | 5357 | (F) To use subroutine signatures, you must first enable them: |
5462 | 5358 | |
5463 | 5359 | =end original |
5464 | 5360 | |
5465 | 5361 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: |
5466 | 5362 | |
5363 | no warnings "experimental::signatures"; | |
5467 | 5364 | use feature "signatures"; |
5468 | 5365 | sub foo ($left, $right) { ... } |
5469 | 5366 | |
5470 | 5367 | =item Explicit blessing to '' (assuming package main) |
5471 | 5368 | |
5472 | 5369 | =begin original |
5473 | 5370 | |
5474 | 5371 | (W misc) You are blessing a reference to a zero length string. This has |
5475 | 5372 | the effect of blessing the reference into the package main. This is |
5476 | 5373 | usually not what you want. Consider providing a default target package, |
5477 | 5374 | e.g. bless($ref, $p || 'MyPackage'); |
5478 | 5375 | |
5479 | 5376 | =end original |
5480 | 5377 | |
5481 | 5378 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
5482 | 5379 | これはリファレンスをパッケージ main に bless する効果があります。 |
5483 | 5380 | これは普通あなたが望んでいることではありません。 |
5484 | 5381 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
5485 | 5382 | パッケージを提供することを考慮してください; |
5486 | 5383 | |
5487 | 5384 | =item %s: Expression syntax |
5488 | 5385 | |
5489 | 5386 | =begin original |
5490 | 5387 | |
5491 | 5388 | (A) You've accidentally run your script through B<csh> instead of Perl. |
5492 | 5389 | Check the #! line, or manually feed your script into Perl yourself. |
5493 | 5390 | |
5494 | 5391 | =end original |
5495 | 5392 | |
5496 | 5393 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
5497 | #! 行を | |
5394 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
5498 | 5395 | |
5499 | 5396 | =item %s failed--call queue aborted |
5500 | 5397 | |
5501 | 5398 | =begin original |
5502 | 5399 | |
5503 | 5400 | (F) An untrapped exception was raised while executing a UNITCHECK, |
5504 | 5401 | CHECK, INIT, or END subroutine. Processing of the remainder of the |
5505 | 5402 | queue of such routines has been prematurely ended. |
5506 | 5403 | |
5507 | 5404 | =end original |
5508 | 5405 | |
5509 | 5406 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない |
5510 | 5407 | 例外が発生しました。 |
5511 | 5408 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
5512 | 5409 | |
5513 | =item Failed to close in-place | |
5410 | =item Failed to close in-place edit file %s: %s | |
5514 | 5411 | |
5515 | 5412 | =begin original |
5516 | 5413 | |
5517 | 5414 | (F) Closing an output file from in-place editing, as with the C<-i> |
5518 | 5415 | command-line switch, failed. |
5519 | 5416 | |
5520 | 5417 | =end original |
5521 | 5418 | |
5522 | 5419 | (F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを |
5523 | 5420 | 閉じるのに失敗しました。 |
5524 | 5421 | |
5525 | 5422 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ |
5526 | 5423 | |
5527 | 5424 | =begin original |
5528 | 5425 | |
5529 | 5426 | (W regexp)(F) A character class range must start and end at a literal |
5530 | 5427 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" |
5531 | 5428 | in your false range is interpreted as a literal "-". In a C<(?[...])> |
5532 | 5429 | construct, this is an error, rather than a warning. Consider quoting |
5533 | 5430 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression |
5534 | 5431 | the problem was discovered. See L<perlre>. |
5535 | 5432 | |
5536 | 5433 | =end original |
5537 | 5434 | |
5538 | 5435 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような |
5539 | 5436 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
5540 | 5437 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
5541 | 5438 | C<(?[...])> 構文では、これは警告ではなくエラーです。 |
5542 | 5439 | "-" を "\-" とクォートすることを考慮してください。 |
5543 | 5440 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
5544 | 5441 | L<perlre> を参照してください。 |
5545 | 5442 | |
5546 | 5443 | =item Fatal VMS error (status=%d) at %s, line %d |
5547 | 5444 | |
5548 | 5445 | =begin original |
5549 | 5446 | |
5550 | 5447 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
5551 | 5448 | system service or RTL routine; Perl's exit status should provide more |
5552 | 5449 | details. The filename in "at %s" and the line number in "line %d" tell |
5553 | 5450 | you which section of the Perl source code is distressed. |
5554 | 5451 | |
5555 | 5452 | =end original |
5556 | 5453 | |
5557 | 5454 | (P) VMS に固有のエラーです。 |
5558 | 5455 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
5559 | 5456 | Perl の終了コードに詳細が示されています。 |
5560 | 5457 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
5561 | 5458 | Perl ソースコードの位置を示しています。 |
5562 | 5459 | |
5563 | 5460 | =item fcntl is not implemented |
5564 | 5461 | |
5565 | 5462 | =begin original |
5566 | 5463 | |
5567 | 5464 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
5568 | 5465 | PDP-11 or something? |
5569 | 5466 | |
5570 | 5467 | =end original |
5571 | 5468 | |
5572 | 5469 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
5573 | 5470 | PDP-11 か何かでしょうか。 |
5574 | 5471 | |
5575 | 5472 | =item FETCHSIZE returned a negative value |
5576 | 5473 | |
5577 | 5474 | =begin original |
5578 | 5475 | |
5579 | 5476 | (F) A tied array claimed to have a negative number of elements, which |
5580 | 5477 | is not possible. |
5581 | 5478 | |
5582 | 5479 | =end original |
5583 | 5480 | |
5584 | 5481 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 |
5585 | 5482 | |
5586 | 5483 | =item Field too wide in 'u' format in pack |
5587 | 5484 | |
5588 | 5485 | =begin original |
5589 | 5486 | |
5590 | 5487 | (W pack) Each line in an uuencoded string starts with a length indicator |
5591 | 5488 | which can't encode values above 63. So there is no point in asking for |
5592 | 5489 | a line length bigger than that. Perl will behave as if you specified |
5593 | 5490 | C<u63> as the format. |
5594 | 5491 | |
5595 | 5492 | =end original |
5596 | 5493 | |
5597 | 5494 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない |
5598 | 5495 | 長さ識別子から始まっています。 |
5599 | 5496 | それで、これより長い行の長さを問い合わせるところがありません。 |
5600 | 5497 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 |
5601 | 5498 | |
5499 | =item File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. | |
5500 | ||
5501 | =begin original | |
5502 | ||
5503 | (D deprecated) C<< File::Glob >> has a function called C<< glob >>, which | |
5504 | just calls C<< bsd_glob >>. However, its prototype is different from the | |
5505 | prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should | |
5506 | not be used. | |
5507 | ||
5508 | =end original | |
5509 | ||
5510 | (D deprecated) C<< File::Glob >> は C<< glob >> と呼ばれる関数を持っています; | |
5511 | これは単に C<< bsd_glob >> を呼び出します。 | |
5512 | しかし、そのプロトタイプは C<< CORE::glob >> のプロトタイプと異なるので、 | |
5513 | C<< File::Glob::glob >> は使われるべきではありません。 | |
5514 | ||
5515 | =begin original | |
5516 | ||
5517 | C<< File::Glob::glob() >> was deprecated in perl 5.8.0. A deprecation | |
5518 | message was issued from perl 5.26.0 onwards, and the function will | |
5519 | disappear in perl 5.30.0. | |
5520 | ||
5521 | =end original | |
5522 | ||
5523 | C<< File::Glob::glob() >> は perl 5.8.0 で廃止予定になりました。 | |
5524 | 廃止予定メッセージは perl 5.26.0 以降で出力され、 | |
5525 | この関数は perl 5.30.0 で削除される予定です。 | |
5526 | ||
5527 | =begin original | |
5528 | ||
5529 | Code using C<< File::Glob::glob() >> should call | |
5530 | C<< File::Glob::bsd_glob() >> instead. | |
5531 | ||
5532 | =end original | |
5533 | ||
5534 | C<< File::Glob::glob() >> を使っているコードは、代わりに | |
5535 | C<< File::Glob::bsd_glob() >> を使う必要があります。 | |
5536 | ||
5602 | 5537 | =item Filehandle %s opened only for input |
5603 | 5538 | |
5604 | 5539 | =begin original |
5605 | 5540 | |
5606 | 5541 | (W io) You tried to write on a read-only filehandle. If you intended |
5607 | 5542 | it to be a read-write filehandle, you needed to open it with "+<" or |
5608 | 5543 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to |
5609 | 5544 | write the file, use ">" or ">>". See L<perlfunc/open>. |
5610 | 5545 | |
5611 | 5546 | =end original |
5612 | 5547 | |
5613 | 5548 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
5614 | 5549 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
5615 | 5550 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
5616 | 5551 | open する必要があります。 |
5617 | 5552 | ライトオンリーであれば、">" や ">>" を使ってください。 |
5618 | 5553 | L<perlfunc/open> を参照してください。 |
5619 | 5554 | |
5620 | 5555 | =item Filehandle %s opened only for output |
5621 | 5556 | |
5622 | 5557 | =begin original |
5623 | 5558 | |
5624 | 5559 | (W io) You tried to read from a filehandle opened only for writing, If |
5625 | 5560 | you intended it to be a read/write filehandle, you needed to open it |
5626 | 5561 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to |
5627 | 5562 | read from the file, use "<". See L<perlfunc/open>. Another possibility |
5628 | 5563 | is that you attempted to open filedescriptor 0 (also known as STDIN) for |
5629 | 5564 | output (maybe you closed STDIN earlier?). |
5630 | 5565 | |
5631 | 5566 | =end original |
5632 | 5567 | |
5633 | 5568 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; |
5634 | 5569 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に |
5635 | 5570 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 |
5636 | 5571 | 読み込み専用にしたい場合は、"<" を使ってください。 |
5637 | 5572 | L<perlfunc/open> を参照してください。 |
5638 | 5573 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を |
5639 | 5574 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 |
5640 | 5575 | |
5641 | 5576 | =item Filehandle %s reopened as %s only for input |
5642 | 5577 | |
5643 | 5578 | =begin original |
5644 | 5579 | |
5645 | 5580 | (W io) You opened for reading a filehandle that got the same filehandle id |
5646 | 5581 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR |
5647 | 5582 | previously. |
5648 | 5583 | |
5649 | 5584 | =end original |
5650 | 5585 | |
5651 | 5586 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の |
5652 | 5587 | ファイルハンドルを読み込み用に開こうとしました。 |
5653 | 5588 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 |
5654 | 5589 | |
5655 | 5590 | =item Filehandle STDIN reopened as %s only for output |
5656 | 5591 | |
5657 | 5592 | =begin original |
5658 | 5593 | |
5659 | 5594 | (W io) You opened for writing a filehandle that got the same filehandle id |
5660 | 5595 | as STDIN. This occurred because you closed STDIN previously. |
5661 | 5596 | |
5662 | 5597 | =end original |
5663 | 5598 | |
5664 | 5599 | (W io) STDIN として使われていたのと同じファイルハンドル ID の |
5665 | 5600 | ファイルハンドルを書き込み用に開こうとしました。 |
5666 | 5601 | これは、以前 STDIN を閉じたときに起きます。 |
5667 | 5602 | |
5668 | 5603 | =item Final $ should be \$ or $name |
5669 | 5604 | |
5670 | 5605 | =begin original |
5671 | 5606 | |
5672 | 5607 | (F) You must now decide whether the final $ in a string was meant to be |
5673 | 5608 | a literal dollar sign, or was meant to introduce a variable name that |
5674 | 5609 | happens to be missing. So you have to put either the backslash or the |
5675 | 5610 | name. |
5676 | 5611 | |
5677 | 5612 | =end original |
5678 | 5613 | |
5679 | 5614 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
5680 | 5615 | 忘れたのかを、はっきりさせなければなりません。 |
5681 | 5616 | バックスラッシュを付けるか、名前を入れてください。 |
5682 | 5617 | |
5683 | =item defer is experimental | |
5684 | ||
5685 | =begin original | |
5686 | ||
5687 | (S experimental::defer) The C<defer> block modifier is experimental. If you | |
5688 | want to use the feature, disable the warning with | |
5689 | C<no warnings 'experimental::defer'>, but know that in doing so you are taking | |
5690 | the risk that your code may break in a future Perl version. | |
5691 | ||
5692 | =end original | |
5693 | ||
5694 | (S experimental::defer) The C<defer> block modifier is experimental. If you | |
5695 | want to use the feature, disable the warning with | |
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) | |
5699 | ||
5700 | 5618 | =item flock() on closed filehandle %s |
5701 | 5619 | |
5702 | 5620 | =begin original |
5703 | 5621 | |
5704 | 5622 | (W closed) The filehandle you're attempting to flock() got itself closed |
5705 | 5623 | some time before now. Check your control flow. flock() operates on |
5706 | 5624 | filehandles. Are you attempting to call flock() on a dirhandle by the |
5707 | 5625 | same name? |
5708 | 5626 | |
5709 | 5627 | =end original |
5710 | 5628 | |
5711 | 5629 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
5712 | 5630 | 閉じられています。 |
5713 | 5631 | 制御フローをチェックしてください。 |
5714 | 5632 | flock() はファイルハンドルを操作します。 |
5715 | 5633 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
5716 | 5634 | |
5717 | =item for my (...) is experimental | |
5718 | ||
5719 | =begin original | |
5720 | ||
5721 | (S experimental::for_list) This warning is emitted if you use C<for> to | |
5722 | iterate multiple values at a time. This syntax is currently experimental | |
5723 | and its behaviour may change in future releases of Perl. | |
5724 | ||
5725 | =end original | |
5726 | ||
5727 | この警告は、一度に複数の値を反復する C<for> を使うと発生します。 | |
5728 | この構文は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
5729 | 可能性があります。 | |
5730 | ||
5731 | 5635 | =item Format not terminated |
5732 | 5636 | |
5733 | 5637 | =begin original |
5734 | 5638 | |
5735 | 5639 | (F) A format must be terminated by a line with a solitary dot. Perl got |
5736 | 5640 | to the end of your file without finding such a line. |
5737 | 5641 | |
5738 | 5642 | =end original |
5739 | 5643 | |
5740 | 5644 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
5741 | 5645 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
5742 | 5646 | |
5743 | 5647 | =item Format %s redefined |
5744 | 5648 | |
5745 | 5649 | =begin original |
5746 | 5650 | |
5747 | 5651 | (W redefine) You redefined a format. To suppress this warning, say |
5748 | 5652 | |
5749 | 5653 | =end original |
5750 | 5654 | |
5751 | 5655 | (W redefine) フォーマットを再定義しました。 |
5752 | 5656 | この警告を止めるには以下のようにしてください: |
5753 | 5657 | |
5754 | 5658 | { |
5755 | 5659 | no warnings 'redefine'; |
5756 | 5660 | eval "format NAME =..."; |
5757 | 5661 | } |
5758 | 5662 | |
5759 | 5663 | =item Found = in conditional, should be == |
5760 | 5664 | |
5761 | 5665 | =begin original |
5762 | 5666 | |
5763 | 5667 | (W syntax) You said |
5764 | 5668 | |
5765 | 5669 | =end original |
5766 | 5670 | |
5767 | 5671 | (W) 以下のようにしています: |
5768 | 5672 | |
5769 | 5673 | if ($foo = 123) |
5770 | 5674 | |
5771 | 5675 | =begin original |
5772 | 5676 | |
5773 | 5677 | when you meant |
5774 | 5678 | |
5775 | 5679 | =end original |
5776 | 5680 | |
5777 | 5681 | 以下のようにすべきです: |
5778 | 5682 | |
5779 | 5683 | if ($foo == 123) |
5780 | 5684 | |
5781 | 5685 | =begin original |
5782 | 5686 | |
5783 | 5687 | (or something like that). |
5784 | 5688 | |
5785 | 5689 | =end original |
5786 | 5690 | |
5787 | 5691 | (あるいは似たようなこと)。 |
5788 | 5692 | |
5789 | 5693 | =item %s found where operator expected |
5790 | 5694 | |
5791 | 5695 | =begin original |
5792 | 5696 | |
5793 | 5697 | (S syntax) The Perl lexer knows whether to expect a term or an operator. |
5794 | 5698 | If it sees what it knows to be a term when it was expecting to see an |
5795 | 5699 | operator, it gives you this warning. Usually it indicates that an |
5796 | 5700 | operator or delimiter was omitted, such as a semicolon. |
5797 | 5701 | |
5798 | 5702 | =end original |
5799 | 5703 | |
5800 | 5704 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを |
5801 | 5705 | 知っています。 |
5802 | 5706 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
5803 | 5707 | この警告が出ることになります。 |
5804 | 5708 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
5805 | 5709 | |
5806 | 5710 | =item gdbm store returned %d, errno %d, key "%s" |
5807 | 5711 | |
5808 | 5712 | =begin original |
5809 | 5713 | |
5810 | 5714 | (S) A warning from the GDBM_File extension that a store failed. |
5811 | 5715 | |
5812 | 5716 | =end original |
5813 | 5717 | |
5814 | 5718 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
5815 | 5719 | |
5816 | 5720 | =item gethostent not implemented |
5817 | 5721 | |
5818 | 5722 | =begin original |
5819 | 5723 | |
5820 | 5724 | (F) Your C library apparently doesn't implement gethostent(), probably |
5821 | 5725 | because if it did, it'd feel morally obligated to return every hostname |
5822 | 5726 | on the Internet. |
5823 | 5727 | |
5824 | 5728 | =end original |
5825 | 5729 | |
5826 | 5730 | (F) C ライブラリに gethostent() が実装されていないようです; |
5827 | 5731 | おそらく、実装すると Internet 上のすべてのホスト名を |
5828 | 5732 | 返さなければいけないと思っているのでしょう。 |
5829 | 5733 | |
5830 | 5734 | =item get%sname() on closed socket %s |
5831 | 5735 | |
5832 | 5736 | =begin original |
5833 | 5737 | |
5834 | 5738 | (W closed) You tried to get a socket or peer socket name on a closed |
5835 | 5739 | socket. Did you forget to check the return value of your socket() call? |
5836 | 5740 | |
5837 | 5741 | =end original |
5838 | 5742 | |
5839 | 5743 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
5840 | 5744 | しました。 |
5841 | 5745 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
5842 | 5746 | |
5843 | 5747 | =item getpwnam returned invalid UIC %#o for user "%s" |
5844 | 5748 | |
5845 | 5749 | =begin original |
5846 | 5750 | |
5847 | 5751 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
5848 | 5752 | C<getpwnam> operator returned an invalid UIC. |
5849 | 5753 | |
5850 | 5754 | =end original |
5851 | 5755 | |
5852 | 5756 | (S) VMS に固有の警告です。 |
5853 | 5757 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
5854 | 5758 | 不正な UIC が返されました。 |
5855 | 5759 | |
5856 | 5760 | =item getsockopt() on closed socket %s |
5857 | 5761 | |
5858 | 5762 | =begin original |
5859 | 5763 | |
5860 | 5764 | (W closed) You tried to get a socket option on a closed socket. Did you |
5861 | 5765 | forget to check the return value of your socket() call? See |
5862 | 5766 | L<perlfunc/getsockopt>. |
5863 | 5767 | |
5864 | 5768 | =end original |
5865 | 5769 | |
5866 | 5770 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
5867 | 5771 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
5868 | 5772 | L<perlfunc/getsockopt> を参照してください。 |
5869 | 5773 | |
5870 | 5774 | =item given is experimental |
5871 | 5775 | |
5872 | 5776 | =begin original |
5873 | 5777 | |
5874 | 5778 | (S experimental::smartmatch) C<given> depends on smartmatch, which |
5875 | 5779 | is experimental, so its behavior may change or even be removed |
5876 | 5780 | in any future release of perl. See the explanation under |
5877 | 5781 | L<perlsyn/Experimental Details on given and when>. |
5878 | 5782 | |
5879 | 5783 | =end original |
5880 | 5784 | |
5881 | 5785 | (S experimental::smartmatch) C<given> はスマートマッチングのに依存していて、 |
5882 | 5786 | これは実験的なので、その振る舞いは将来のリリースの perl で変更されたり |
5883 | 5787 | 削除されたりするかもしれません。 |
5884 | 5788 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 |
5885 | 5789 | |
5886 | 5790 | =item Global symbol "%s" requires explicit package name (did you forget to |
5887 | 5791 | declare "my %s"?) |
5888 | 5792 | |
5889 | 5793 | =begin original |
5890 | 5794 | |
5891 | 5795 | (F) You've said "use strict" or "use strict vars", which indicates |
5892 | 5796 | that all variables must either be lexically scoped (using "my" or "state"), |
5893 | 5797 | declared beforehand using "our", or explicitly qualified to say |
5894 | 5798 | which package the global variable is in (using "::"). |
5895 | 5799 | |
5896 | 5800 | =end original |
5897 | 5801 | |
5898 | 5802 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は |
5899 | 5803 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に |
5900 | 5804 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 |
5901 | 5805 | 明示的に修飾しなくてはなりません。 |
5902 | 5806 | |
5903 | 5807 | =item glob failed (%s) |
5904 | 5808 | |
5905 | 5809 | =begin original |
5906 | 5810 | |
5907 | 5811 | (S glob) Something went wrong with the external program(s) used |
5908 | 5812 | for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob> |
5909 | 5813 | pattern that caused the external program to fail and exit with a |
5910 | 5814 | nonzero status. If the message indicates that the abnormal exit |
5911 | 5815 | resulted in a coredump, this may also mean that your csh (C shell) |
5912 | 5816 | is broken. If so, you should change all of the csh-related variables |
5913 | 5817 | in config.sh: If you have tcsh, make the variables refer to it as |
5914 | 5818 | if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them |
5915 | 5819 | all empty (except that C<d_csh> should be C<'undef'>) so that Perl will |
5916 | 5820 | think csh is missing. In either case, after editing config.sh, run |
5917 | 5821 | C<./Configure -S> and rebuild Perl. |
5918 | 5822 | |
5919 | 5823 | =end original |
5920 | 5824 | |
5921 | 5825 | (S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が |
5922 | 5826 | 発生しました。 |
5923 | 5827 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
5924 | 5828 | C<glob> パターンが渡されたことを意味します。 |
5925 | 5829 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
5926 | 5830 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
5927 | 5831 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
5928 | 5832 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
5929 | 5833 | 参照するように変数を設定します; |
5930 | 5834 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
5931 | 5835 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
5932 | 5836 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
5933 | 5837 | Perl を再ビルドしてください。 |
5934 | 5838 | |
5935 | 5839 | =item Glob not terminated |
5936 | 5840 | |
5937 | 5841 | =begin original |
5938 | 5842 | |
5939 | 5843 | (F) The lexer saw a left angle bracket in a place where it was expecting |
5940 | 5844 | a term, so it's looking for the corresponding right angle bracket, and |
5941 | 5845 | not finding it. Chances are you left some needed parentheses out |
5942 | 5846 | earlier in the line, and you really meant a "less than". |
5943 | 5847 | |
5944 | 5848 | =end original |
5945 | 5849 | |
5946 | 5850 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
5947 | 5851 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
5948 | 5852 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
5949 | 5853 | 表したかった場合が考えられます。 |
5950 | 5854 | |
5951 | 5855 | =item gmtime(%f) failed |
5952 | 5856 | |
5953 | 5857 | =begin original |
5954 | 5858 | |
5955 | 5859 | (W overflow) You called C<gmtime> with a number that it could not handle: |
5956 | 5860 | too large, too small, or NaN. The returned value is C<undef>. |
5957 | 5861 | |
5958 | 5862 | =end original |
5959 | 5863 | |
5960 | 5864 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり |
5961 | 5865 | 小さすぎたり NaN だったりです。 |
5962 | 5866 | 返り値は C<undef> です。 |
5963 | 5867 | |
5964 | 5868 | =item gmtime(%f) too large |
5965 | 5869 | |
5966 | 5870 | =begin original |
5967 | 5871 | |
5968 | 5872 | (W overflow) You called C<gmtime> with a number that was larger than |
5969 | 5873 | it can reliably handle and C<gmtime> probably returned the wrong |
5970 | 5874 | date. This warning is also triggered with NaN (the special |
5971 | 5875 | not-a-number value). |
5972 | 5876 | |
5973 | 5877 | =end original |
5974 | 5878 | |
5975 | 5879 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
5976 | 5880 | おそらく間違った日付が返されました。 |
5977 | 5881 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
5978 | 5882 | |
5979 | 5883 | =item gmtime(%f) too small |
5980 | 5884 | |
5981 | 5885 | =begin original |
5982 | 5886 | |
5983 | 5887 | (W overflow) You called C<gmtime> with a number that was smaller than |
5984 | 5888 | it can reliably handle and C<gmtime> probably returned the wrong date. |
5985 | 5889 | |
5986 | 5890 | =end original |
5987 | 5891 | |
5988 | 5892 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
5989 | 5893 | おそらく間違った日付が返されました。 |
5990 | 5894 | |
5991 | 5895 | =item Got an error from DosAllocMem |
5992 | 5896 | |
5993 | 5897 | =begin original |
5994 | 5898 | |
5995 | 5899 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
5996 | 5900 | version of Perl, and this should not happen anyway. |
5997 | 5901 | |
5998 | 5902 | =end original |
5999 | 5903 | |
6000 | 5904 | (P) OS/2 に固有のエラーです。 |
6001 | 5905 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
6002 | 5906 | どちらにしてもこのエラーは起きないはずです。 |
6003 | 5907 | |
6004 | 5908 | =item goto must have label |
6005 | 5909 | |
6006 | 5910 | =begin original |
6007 | 5911 | |
6008 | 5912 | (F) Unlike with "next" or "last", you're not allowed to goto an |
6009 | 5913 | unspecified destination. See L<perlfunc/goto>. |
6010 | 5914 | |
6011 | 5915 | =end original |
6012 | 5916 | |
6013 | 5917 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
6014 | 5918 | 指定しなくてはなりません。 |
6015 | 5919 | L<perlfunc/goto> を参照してください。 |
6016 | 5920 | |
6017 | 5921 | =item Goto undefined subroutine%s |
6018 | 5922 | |
6019 | 5923 | =begin original |
6020 | 5924 | |
6021 | 5925 | (F) You tried to call a subroutine with C<goto &sub> syntax, but |
6022 | 5926 | the indicated subroutine hasn't been defined, or if it was, it |
6023 | 5927 | has since been undefined. |
6024 | 5928 | |
6025 | 5929 | =end original |
6026 | 5930 | |
6027 | 5931 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された |
6028 | 5932 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 |
6029 | 5933 | |
6030 | 5934 | =item Group name must start with a non-digit word character in regex; marked by |
6031 | 5935 | S<<-- HERE> in m/%s/ |
6032 | 5936 | |
6033 | 5937 | =begin original |
6034 | 5938 | |
6035 | 5939 | (F) Group names must follow the rules for perl identifiers, meaning |
6036 | 5940 | they must start with a non-digit word character. A common cause of |
6037 | 5941 | this error is using (?&0) instead of (?0). See L<perlre>. |
6038 | 5942 | |
6039 | 5943 | =end original |
6040 | 5944 | |
6041 | 5945 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で |
6042 | 5946 | 始まらなければなりません。 |
6043 | 5947 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 |
6044 | 5948 | L<perlre> を参照してください。 |
6045 | 5949 | |
6046 | 5950 | =item ()-group starts with a count |
6047 | 5951 | |
6048 | 5952 | =begin original |
6049 | 5953 | |
6050 | 5954 | (F) A ()-group started with a count. A count is supposed to follow |
6051 | 5955 | something: a template character or a ()-group. See L<perlfunc/pack>. |
6052 | 5956 | |
6053 | 5957 | =end original |
6054 | 5958 | |
6055 | 5959 | (F) () グループが繰り返し数で始まっています。 |
6056 | 5960 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 |
6057 | 5961 | L<perlfunc/pack> を参照してください。 |
6058 | 5962 | |
6059 | 5963 | =item %s had compilation errors. |
6060 | 5964 | |
6061 | 5965 | =begin original |
6062 | 5966 | |
6063 | 5967 | (F) The final summary message when a C<perl -c> fails. |
6064 | 5968 | |
6065 | 5969 | =end original |
6066 | 5970 | |
6067 | 5971 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
6068 | 5972 | |
6069 | 5973 | =item Had to create %s unexpectedly |
6070 | 5974 | |
6071 | 5975 | =begin original |
6072 | 5976 | |
6073 | 5977 | (S internal) A routine asked for a symbol from a symbol table that ought |
6074 | 5978 | to have existed already, but for some reason it didn't, and had to be |
6075 | 5979 | created on an emergency basis to prevent a core dump. |
6076 | 5980 | |
6077 | 5981 | =end original |
6078 | 5982 | |
6079 | 5983 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
6080 | 5984 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
6081 | 5985 | コアダンプを避けるために、緊急に生成しました。 |
6082 | 5986 | |
6083 | 5987 | =item %s has too many errors |
6084 | 5988 | |
6085 | 5989 | =begin original |
6086 | 5990 | |
6087 | 5991 | (F) The parser has given up trying to parse the program after 10 errors. |
6088 | 5992 | Further error messages would likely be uninformative. |
6089 | 5993 | |
6090 | 5994 | =end original |
6091 | 5995 | |
6092 | 5996 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 |
6093 | 5997 | それ以上の解析を諦めました。 |
6094 | 5998 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 |
6095 | 5999 | |
6096 | 6000 | =item Hexadecimal float: exponent overflow |
6097 | 6001 | |
6098 | 6002 | =begin original |
6099 | 6003 | |
6100 | 6004 | (W overflow) The hexadecimal floating point has a larger exponent |
6101 | 6005 | than the floating point supports. |
6102 | 6006 | |
6103 | 6007 | =end original |
6104 | 6008 | |
6105 | 6009 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな |
6106 | 6010 | 指数を持っています。 |
6107 | 6011 | |
6108 | 6012 | =item Hexadecimal float: exponent underflow |
6109 | 6013 | |
6110 | 6014 | =begin original |
6111 | 6015 | |
6112 | 6016 | (W overflow) The hexadecimal floating point has a smaller exponent |
6113 | 6017 | than the floating point supports. With the IEEE 754 floating point, |
6114 | 6018 | this may also mean that the subnormals (formerly known as denormals) |
6115 | 6019 | are being used, which may or may not be an error. |
6116 | 6020 | |
6117 | 6021 | =end original |
6118 | 6022 | |
6119 | 6023 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな |
6120 | 6024 | 指数を持っています。 |
6121 | 6025 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; |
6122 | 6026 | どちらにしろエラーです。 |
6123 | 6027 | |
6124 | 6028 | =item Hexadecimal float: internal error (%s) |
6125 | 6029 | |
6126 | 6030 | =begin original |
6127 | 6031 | |
6128 | 6032 | (F) Something went horribly bad in hexadecimal float handling. |
6129 | 6033 | |
6130 | 6034 | =end original |
6131 | 6035 | |
6132 | 6036 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 |
6133 | 6037 | |
6134 | 6038 | =item Hexadecimal float: mantissa overflow |
6135 | 6039 | |
6136 | 6040 | =begin original |
6137 | 6041 | |
6138 | 6042 | (W overflow) The hexadecimal floating point literal had more bits in |
6139 | 6043 | the mantissa (the part between the 0x and the exponent, also known as |
6140 | 6044 | the fraction or the significand) than the floating point supports. |
6141 | 6045 | |
6142 | 6046 | =end original |
6143 | 6047 | |
6144 | 6048 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に |
6145 | 6049 | 浮動小数点数が対応しているよりも多いビット数があります。 |
6146 | 6050 | |
6147 | 6051 | =item Hexadecimal float: precision loss |
6148 | 6052 | |
6149 | 6053 | =begin original |
6150 | 6054 | |
6151 | 6055 | (W overflow) The hexadecimal floating point had internally more |
6152 | 6056 | digits than could be output. This can be caused by unsupported |
6153 | 6057 | long double formats, or by 64-bit integers not being available |
6154 | 6058 | (needed to retrieve the digits under some configurations). |
6155 | 6059 | |
6156 | 6060 | =end original |
6157 | 6061 | |
6158 | 6062 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより |
6159 | 6063 | 多くの桁数を保持しています。 |
6160 | 6064 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) |
6161 | 6065 | 利用できない 64 ビット整数によって引き起こされます。 |
6162 | 6066 | |
6163 | 6067 | =item Hexadecimal float: unsupported long double format |
6164 | 6068 | |
6165 | 6069 | =begin original |
6166 | 6070 | |
6167 | 6071 | (F) You have configured Perl to use long doubles but |
6168 | 6072 | the internals of the long double format are unknown; |
6169 | 6073 | therefore the hexadecimal float output is impossible. |
6170 | 6074 | |
6171 | 6075 | =end original |
6172 | 6076 | |
6173 | 6077 | (F) long double を使うように設定された Perl を使っていますが、 |
6174 | 6078 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は |
6175 | 6079 | 不可能です。 |
6176 | 6080 | |
6177 | 6081 | =item Hexadecimal number > 0xffffffff non-portable |
6178 | 6082 | |
6179 | 6083 | =begin original |
6180 | 6084 | |
6181 | 6085 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
6182 | 6086 | (4294967295) and therefore non-portable between systems. See |
6183 | 6087 | L<perlport> for more on portability concerns. |
6184 | 6088 | |
6185 | 6089 | =end original |
6186 | 6090 | |
6187 | 6091 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
6188 | 6092 | システム間で移植性がありません。 |
6189 | 6093 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
6190 | 6094 | |
6191 | 6095 | =item Identifier too long |
6192 | 6096 | |
6193 | 6097 | =begin original |
6194 | 6098 | |
6195 | 6099 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
6196 | 6100 | about 250 characters for simple names, and somewhat more for compound |
6197 | 6101 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
6198 | 6102 | of Perl are likely to eliminate these arbitrary limitations. |
6199 | 6103 | |
6200 | 6104 | =end original |
6201 | 6105 | |
6202 | 6106 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
6203 | 6107 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
6204 | 6108 | 制限しています。 |
6205 | 6109 | この Perl の制限を越えました。 |
6206 | 6110 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
6207 | 6111 | |
6208 | 6112 | =item Ignoring zero length \N{} in character class in regex; marked by |
6209 | 6113 | S<<-- HERE> in m/%s/ |
6210 | 6114 | |
6211 | 6115 | =begin original |
6212 | 6116 | |
6213 | 6117 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a |
6214 | 6118 | zero-length sequence. When such an escape is used in a character |
6215 | 6119 | class its behavior is not well defined. Check that the correct |
6216 | 6120 | escape has been used, and the correct charname handler is in scope. |
6217 | 6121 | |
6218 | 6122 | =end original |
6219 | 6123 | |
6220 | 6124 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の |
6221 | 6125 | シーケンスを返しました。 |
6222 | 6126 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 |
6223 | 6127 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に |
6224 | 6128 | あるかをチェックしてください。 |
6225 | 6129 | |
6226 | =item Illegal | |
6130 | =item Illegal binary digit %s | |
6227 | 6131 | |
6228 | 6132 | =begin original |
6229 | 6133 | |
6230 | ( | |
6134 | (F) You used a digit other than 0 or 1 in a binary number. | |
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 | 6135 | |
6238 | 6136 | =end original |
6239 | 6137 | |
6240 | ( | |
6138 | (F) 2 進数として 0 と 1 以外の数値を使っています。 | |
6241 | 2 進数での 0 と 1 のような、与えられた型で正当でない数字を | |
6242 | 使おうとしたのでしょう。 | |
6243 | 8 進数の場合は、これは不正な文字が '8' または '9' の場合にのみ発生します。 | |
6244 | 16 進数の場合、'A' - 'F' と 'a' - 'f' は正当です。 | |
6245 | 数の解釈は問題のある数値や文字の直前で停止しました。 | |
6246 | 6139 | |
6247 | =item Illegal binary digit | |
6140 | =item Illegal binary digit %s ignored | |
6248 | 6141 | |
6249 | 6142 | =begin original |
6250 | 6143 | |
6251 | ( | |
6144 | (W digit) You may have tried to use a digit other than 0 or 1 in a | |
6145 | binary number. Interpretation of the binary number stopped before the | |
6146 | offending digit. | |
6252 | 6147 | |
6253 | 6148 | =end original |
6254 | 6149 | |
6255 | ( | |
6150 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 | |
6151 | 2 進数の解釈は問題のある数値の手前で停止しました。 | |
6256 | 6152 | |
6257 | 6153 | =item Illegal character after '_' in prototype for %s : %s |
6258 | 6154 | |
6259 | 6155 | =begin original |
6260 | 6156 | |
6261 | 6157 | (W illegalproto) An illegal character was found in a prototype |
6262 | 6158 | declaration. The '_' in a prototype must be followed by a ';', |
6263 | 6159 | indicating the rest of the parameters are optional, or one of '@' |
6264 | 6160 | or '%', since those two will accept 0 or more final parameters. |
6265 | 6161 | |
6266 | 6162 | =end original |
6267 | 6163 | |
6268 | 6164 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
6269 | 6165 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために |
6270 | 6166 | ';' が引き続くか、'@' か '%' の一つでなければなりません; |
6271 | 6167 | これら二つは 0 以上の末尾の引数を受け付けるからです。 |
6272 | 6168 | |
6273 | 6169 | =item Illegal character \%o (carriage return) |
6274 | 6170 | |
6275 | 6171 | =begin original |
6276 | 6172 | |
6277 | 6173 | (F) Perl normally treats carriage returns in the program text as |
6278 | 6174 | it would any other whitespace, which means you should never see |
6279 | 6175 | this error when Perl was built using standard options. For some |
6280 | 6176 | reason, your version of Perl appears to have been built without |
6281 | 6177 | this support. Talk to your Perl administrator. |
6282 | 6178 | |
6283 | 6179 | =end original |
6284 | 6180 | |
6285 | 6181 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
6286 | 6182 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
6287 | 6183 | 見ることは決してないはずです。 |
6288 | 6184 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
6289 | 6185 | Perl の管理者に問い合わせてください。 |
6290 | 6186 | |
6291 | 6187 | =item Illegal character following sigil in a subroutine signature |
6292 | 6188 | |
6293 | 6189 | =begin original |
6294 | 6190 | |
6295 | 6191 | (F) A parameter in a subroutine signature contained an unexpected character |
6296 | 6192 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil |
6297 | 6193 | should be followed by the variable name or C<=> etc. Perhaps you are |
6298 | 6194 | trying use a prototype while in the scope of C<use feature 'signatures'>? |
6299 | 6195 | For example: |
6300 | 6196 | |
6301 | 6197 | =end original |
6302 | 6198 | |
6303 | 6199 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて |
6304 | 6200 | 想定外の文字がありました。 |
6305 | 6201 | 通常は、印には変数名や C<=> などが引き続くはずです。 |
6306 | 6202 | おそらく C<use feature 'signatures'> のスコープ内で |
6307 | 6203 | プロトタイプを使おうとしたのでは? |
6308 | 6204 | 例えば: |
6309 | 6205 | |
6310 | 6206 | sub foo ($$) {} # legal - a prototype |
6311 | 6207 | |
6312 | 6208 | use feature 'signatures; |
6313 | 6209 | sub foo ($$) {} # illegal - was expecting a signature |
6314 | 6210 | sub foo ($a, $b) |
6315 | 6211 | :prototype($$) {} # legal |
6316 | 6212 | |
6317 | 6213 | =item Illegal character in prototype for %s : %s |
6318 | 6214 | |
6319 | 6215 | =begin original |
6320 | 6216 | |
6321 | 6217 | (W illegalproto) An illegal character was found in a prototype declaration. |
6322 | 6218 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. |
6323 | 6219 | Perhaps you were trying to write a subroutine signature but didn't enable |
6324 | 6220 | that feature first (C<use feature 'signatures'>), so your signature was |
6325 | 6221 | instead interpreted as a bad prototype. |
6326 | 6222 | |
6327 | 6223 | =end original |
6328 | 6224 | |
6329 | 6225 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
6330 | 6226 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 |
6331 | 6227 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に |
6332 | 6228 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った |
6333 | 6229 | プロトタイプとして解釈されたのでしょう。 |
6334 | 6230 | |
6335 | 6231 | =item Illegal declaration of anonymous subroutine |
6336 | 6232 | |
6337 | 6233 | =begin original |
6338 | 6234 | |
6339 | 6235 | (F) When using the C<sub> keyword to construct an anonymous subroutine, |
6340 | 6236 | you must always specify a block of code. See L<perlsub>. |
6341 | 6237 | |
6342 | 6238 | =end original |
6343 | 6239 | |
6344 | 6240 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 |
6345 | 6241 | 常にコードのブロックを指定しなければなりません。 |
6346 | 6242 | L<perlsub> を参照してください。 |
6347 | 6243 | |
6348 | 6244 | =item Illegal declaration of subroutine %s |
6349 | 6245 | |
6350 | 6246 | =begin original |
6351 | 6247 | |
6352 | 6248 | (F) A subroutine was not declared correctly. See L<perlsub>. |
6353 | 6249 | |
6354 | 6250 | =end original |
6355 | 6251 | |
6356 | 6252 | (F) サブルーチンが正しく宣言されていません。 |
6357 | 6253 | L<perlsub> を参照してください。 |
6358 | 6254 | |
6359 | 6255 | =item Illegal division by zero |
6360 | 6256 | |
6361 | 6257 | =begin original |
6362 | 6258 | |
6363 | 6259 | (F) You tried to divide a number by 0. Either something was wrong in |
6364 | 6260 | your logic, or you need to put a conditional in to guard against |
6365 | 6261 | meaningless input. |
6366 | 6262 | |
6367 | 6263 | =end original |
6368 | 6264 | |
6369 | 6265 | (F) ゼロで割り算をしようとしました。 |
6370 | 6266 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
6371 | 6267 | 必要かのどちらかでしょう。 |
6372 | 6268 | |
6269 | =item Illegal hexadecimal digit %s ignored | |
6270 | ||
6271 | =begin original | |
6272 | ||
6273 | (W digit) You may have tried to use a character other than 0 - 9 or | |
6274 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal | |
6275 | number stopped before the illegal character. | |
6276 | ||
6277 | =end original | |
6278 | ||
6279 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
6280 | 16 進数の解釈は不正な文字の手前で停止しました。 | |
6281 | ||
6373 | 6282 | =item Illegal modulus zero |
6374 | 6283 | |
6375 | 6284 | =begin original |
6376 | 6285 | |
6377 | 6286 | (F) You tried to divide a number by 0 to get the remainder. Most |
6378 | 6287 | numbers don't take to this kindly. |
6379 | 6288 | |
6380 | 6289 | =end original |
6381 | 6290 | |
6382 | 6291 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
6383 | 6292 | これは、ほとんどの数体系で受け入れられません。 |
6384 | 6293 | |
6385 | 6294 | =item Illegal number of bits in vec |
6386 | 6295 | |
6387 | 6296 | =begin original |
6388 | 6297 | |
6389 | 6298 | (F) The number of bits in vec() (the third argument) must be a power of |
6390 | 6299 | two from 1 to 32 (or 64, if your platform supports that). |
6391 | 6300 | |
6392 | 6301 | =end original |
6393 | 6302 | |
6394 | 6303 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
6395 | 6304 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
6396 | 6305 | |
6397 | =item Illegal octal digit | |
6306 | =item Illegal octal digit %s | |
6398 | 6307 | |
6399 | 6308 | =begin original |
6400 | 6309 | |
6401 | 6310 | (F) You used an 8 or 9 in an octal number. |
6402 | 6311 | |
6403 | 6312 | =end original |
6404 | 6313 | |
6405 | 6314 | (F) 8 進数で 8 か 9 を使いました。 |
6406 | 6315 | |
6407 | =item Illegal o | |
6316 | =item Illegal octal digit %s ignored | |
6408 | 6317 | |
6409 | 6318 | =begin original |
6410 | 6319 | |
6411 | ( | |
6320 | (W digit) You may have tried to use an 8 or 9 in an octal number. | |
6412 | ||
6321 | Interpretation of the octal number stopped before the 8 or 9. | |
6413 | 6322 | |
6414 | 6323 | =end original |
6415 | 6324 | |
6416 | ( | |
6325 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 | |
6417 | ||
6326 | 8 進数の解釈は 8 か 9 の手前で停止しました。 | |
6418 | 6327 | |
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 | |
6424 | ||
6425 | 6328 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ |
6426 | 6329 | |
6427 | 6330 | =begin original |
6428 | 6331 | |
6429 | 6332 | (F) You wrote something like |
6430 | 6333 | |
6431 | 6334 | =end original |
6432 | 6335 | |
6433 | (F) | |
6336 | (F) 以下のようなものを書きました | |
6434 | 6337 | |
6435 | 6338 | (?+foo) |
6436 | 6339 | |
6437 | 6340 | =begin original |
6438 | 6341 | |
6439 | 6342 | The C<"+"> is valid only when followed by digits, indicating a |
6440 | 6343 | capturing group. See |
6441 | 6344 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. |
6442 | 6345 | |
6443 | 6346 | =end original |
6444 | 6347 | |
6445 | 6348 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 |
6446 | 6349 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を |
6447 | 6350 | 参照してください。 |
6448 | 6351 | |
6449 | 6352 | =item Illegal suidscript |
6450 | 6353 | |
6451 | 6354 | =begin original |
6452 | 6355 | |
6453 | 6356 | (F) The script run under suidperl was somehow illegal. |
6454 | 6357 | |
6455 | 6358 | =end original |
6456 | 6359 | |
6457 | 6360 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 |
6458 | 6361 | |
6459 | 6362 | =item Illegal switch in PERL5OPT: -%c |
6460 | 6363 | |
6461 | 6364 | =begin original |
6462 | 6365 | |
6463 | 6366 | (X) The PERL5OPT environment variable may only be used to set the |
6464 | 6367 | following switches: B<-[CDIMUdmtw]>. |
6465 | 6368 | |
6466 | 6369 | =end original |
6467 | 6370 | |
6468 | 6371 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。 |
6469 | 6372 | |
6470 | 6373 | =item Illegal user-defined property name |
6471 | 6374 | |
6472 | 6375 | =begin original |
6473 | 6376 | |
6474 | 6377 | (F) You specified a Unicode-like property name in a regular expression |
6475 | 6378 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official |
6476 | 6379 | Unicode property, and was likely meant to be a user-defined property |
6477 | 6380 | name, but it can't be one of those, as they must begin with either C<In> |
6478 | 6381 | or C<Is>. Check the spelling. See also |
6479 | 6382 | L</Can't find Unicode property definition "%s">. |
6480 | 6383 | |
6481 | 6384 | =end original |
6482 | 6385 | |
6483 | 6386 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が |
6484 | 6387 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 |
6485 | 6388 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 |
6486 | 6389 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 |
6487 | 6390 | そうなりません。 |
6488 | ||
6391 | スペルを確認してください。 | |
6489 | 6392 | L</Can't find Unicode property definition "%s"> も参照してください。 |
6490 | 6393 | |
6491 | 6394 | =item Ill-formed CRTL environ value "%s" |
6492 | 6395 | |
6493 | 6396 | =begin original |
6494 | 6397 | |
6495 | 6398 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
6496 | 6399 | internal environ array, and encountered an element without the C<=> |
6497 | 6400 | delimiter used to separate keys from values. The element is ignored. |
6498 | 6401 | |
6499 | 6402 | =end original |
6500 | 6403 | |
6501 | 6404 | (W internal) VMS に固有の警告です。 |
6502 | 6405 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
6503 | 6406 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
6504 | 6407 | この要素は無視しました。 |
6505 | 6408 | |
6506 | 6409 | =item Ill-formed message in prime_env_iter: |%s| |
6507 | 6410 | |
6508 | 6411 | =begin original |
6509 | 6412 | |
6510 | 6413 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
6511 | 6414 | name or CLI symbol definition when preparing to iterate over %ENV, and |
6512 | 6415 | didn't see the expected delimiter between key and value, so the line was |
6513 | 6416 | ignored. |
6514 | 6417 | |
6515 | 6418 | =end original |
6516 | 6419 | |
6517 | 6420 | (W internal) VMS に固有の警告です。 |
6518 | 6421 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
6519 | 6422 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
6520 | 6423 | その行は無視しました。 |
6521 | 6424 | |
6522 | 6425 | =item (in cleanup) %s |
6523 | 6426 | |
6524 | 6427 | =begin original |
6525 | 6428 | |
6526 | 6429 | (W misc) This prefix usually indicates that a DESTROY() method raised |
6527 | 6430 | the indicated exception. Since destructors are usually called by the |
6528 | 6431 | system at arbitrary points during execution, and often a vast number of |
6529 | 6432 | times, the warning is issued only once for any number of failures that |
6530 | 6433 | would otherwise result in the same message being repeated. |
6531 | 6434 | |
6532 | 6435 | =end original |
6533 | 6436 | |
6534 | 6437 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
6535 | 6438 | 発生したことを示しています。 |
6536 | 6439 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
6537 | 6440 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
6538 | 6441 | 何回失敗しても一度だけ発生します。 |
6539 | 6442 | |
6540 | 6443 | =begin original |
6541 | 6444 | |
6542 | 6445 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
6543 | 6446 | also result in this warning. See L<perlcall/G_KEEPERR>. |
6544 | 6447 | |
6545 | 6448 | =end original |
6546 | 6449 | |
6547 | 6450 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した |
6548 | 6451 | 場合にもこの警告が出ることがあります。 |
6549 | 6452 | L<perlcall/G_KEEPERR> を参照してください。 |
6550 | 6453 | |
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 | 6454 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> |
6573 | 6455 | in m/%s/ |
6574 | 6456 | |
6575 | 6457 | =begin original |
6576 | 6458 | |
6577 | 6459 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the |
6578 | 6460 | expression inside the construct was completely empty, or if there are |
6579 | 6461 | too many or few operands for the number of operators. Perl is not smart |
6580 | 6462 | enough to give you a more precise indication as to what is wrong. |
6581 | 6463 | |
6582 | 6464 | =end original |
6583 | 6465 | |
6584 | 6466 | (F) これは C<(?[ ])> の中の文法エラーです。 |
6585 | 6467 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり |
6586 | 6468 | 少なすぎたりする場合に起こります。 |
6587 | 6469 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 |
6588 | 6470 | |
6589 | 6471 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on |
6590 | 6472 | parent '%s' |
6591 | 6473 | |
6592 | 6474 | =begin original |
6593 | 6475 | |
6594 | 6476 | (F) The method resolution order (MRO) of the given class is not |
6595 | 6477 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 |
6596 | 6478 | documentation in L<mro> for more information. |
6597 | 6479 | |
6598 | 6480 | =end original |
6599 | 6481 | |
6600 | 6482 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 |
6601 | 6483 | このクラスの C3 MRO を有効にしました。 |
6602 | 6484 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 |
6603 | 6485 | |
6604 | 6486 | =item Indentation on line %d of here-doc doesn't match delimiter |
6605 | 6487 | |
6606 | 6488 | =begin original |
6607 | 6489 | |
6608 | 6490 | (F) You have an indented here-document where one or more of its lines |
6609 | 6491 | have whitespace at the beginning that does not match the closing |
6610 | 6492 | delimiter. |
6611 | 6493 | |
6612 | 6494 | =end original |
6613 | 6495 | |
6614 | 6496 | (F) インデントのあるヒヤドキュメントがありますが、 |
6615 | 6497 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 |
6616 | 6498 | |
6617 | 6499 | =begin original |
6618 | 6500 | |
6619 | 6501 | For example, line 2 below is wrong because it does not have at least |
6620 | 6502 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: |
6621 | 6503 | |
6622 | 6504 | =end original |
6623 | 6505 | |
6624 | 6506 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の |
6625 | 6507 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; |
6626 | 6508 | 少なくとも 2 個あるからです: |
6627 | 6509 | |
6628 | 6510 | if ($something) { |
6629 | 6511 | print <<~EOF; |
6630 | 6512 | Line 1 |
6631 | 6513 | Line 2 not |
6632 | 6514 | Line 3 |
6633 | 6515 | EOF |
6634 | 6516 | } |
6635 | 6517 | |
6636 | 6518 | =begin original |
6637 | 6519 | |
6638 | 6520 | Note that tabs and spaces are compared strictly, meaning 1 tab will |
6639 | 6521 | not match 8 spaces. |
6640 | 6522 | |
6641 | 6523 | =end original |
6642 | 6524 | |
6643 | 6525 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは |
6644 | 6526 | マッチングしないことに注意してください。 |
6645 | 6527 | |
6646 | 6528 | =item Infinite recursion in regex |
6647 | 6529 | |
6648 | 6530 | =begin original |
6649 | 6531 | |
6650 | 6532 | (F) You used a pattern that references itself without consuming any input |
6651 | 6533 | text. You should check the pattern to ensure that recursive patterns |
6652 | 6534 | either consume text or fail. |
6653 | 6535 | |
6654 | 6536 | =end original |
6655 | 6537 | |
6656 | 6538 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 |
6657 | 6539 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 |
6658 | 6540 | パターンをチェックするべきです。 |
6659 | 6541 | |
6660 | =item In | |
6542 | =item Initialization of state variables in list context currently forbidden | |
6661 | 6543 | |
6662 | 6544 | =begin original |
6663 | 6545 | |
6664 | (F) | |
6546 | (F) C<state> only permits initializing a single scalar variable, in scalar | |
6665 | ||
6547 | context. So C<state $a = 42> is allowed, but not C<state ($a) = 42>. To apply | |
6666 | ||
6548 | state semantics to a hash or array, store a hash or array reference in a | |
6667 | ||
6549 | scalar variable. | |
6668 | this error. | |
6669 | 6550 | |
6670 | 6551 | =end original |
6671 | 6552 | |
6672 | (F) | |
6553 | (F) C<state> は、スカラコンテキストでの単一のスカラ変数の | |
6673 | ||
6554 | 初期化のみが許されています。 | |
6674 | ||
6555 | 従って C<state $a = 42> は許されますが、C<state ($a) = 42> は許されません。 | |
6675 | ||
6556 | state の意味論をハッシュや配列に適用するには、 | |
6557 | ハッシュや配列のリファレンスをスカラ変数に保管してください。 | |
6676 | 6558 | |
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 | 6559 | =item %%s[%s] in scalar context better written as $%s[%s] |
6721 | 6560 | |
6722 | 6561 | =begin original |
6723 | 6562 | |
6724 | 6563 | (W syntax) In scalar context, you've used an array index/value slice |
6725 | 6564 | (indicated by %) to select a single element of an array. Generally |
6726 | 6565 | it's better to ask for a scalar value (indicated by $). The difference |
6727 | 6566 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it |
6728 | 6567 | returns and when evaluating its argument, while C<%foo[&bar]> provides |
6729 | 6568 | a list context to its subscript, which can do weird things if you're |
6730 | 6569 | expecting only one subscript. When called in list context, it also |
6731 | 6570 | returns the index (what C<&bar> returns) in addition to the value. |
6732 | 6571 | |
6733 | 6572 | =end original |
6734 | 6573 | |
6735 | 6574 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために |
6736 | 6575 | (% で示される)配列インデックス/値スライスを使いました。 |
6737 | 6576 | 一般的には($ で示される)スカラ値を取得した方がよいです。 |
6738 | 6577 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように |
6739 | 6578 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 |
6740 | 6579 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 |
6741 | 6580 | リストコンテキストで呼び出された場合、値に加えてインデックス |
6742 | 6581 | (C<&bar> が返すもの) を返します。 |
6743 | 6582 | |
6744 | 6583 | =item %%s{%s} in scalar context better written as $%s{%s} |
6745 | 6584 | |
6746 | 6585 | =begin original |
6747 | 6586 | |
6748 | 6587 | (W syntax) In scalar context, you've used a hash key/value slice |
6749 | 6588 | (indicated by %) to select a single element of a hash. Generally it's |
6750 | 6589 | better to ask for a scalar value (indicated by $). The difference |
6751 | 6590 | is that C<$foo{&bar}> always behaves like a scalar, both in the value |
6752 | 6591 | it returns and when evaluating its argument, while C<@foo{&bar}> and |
6753 | 6592 | provides a list context to its subscript, which can do weird things |
6754 | 6593 | if you're expecting only one subscript. When called in list context, |
6755 | 6594 | it also returns the key in addition to the value. |
6756 | 6595 | |
6757 | 6596 | =end original |
6758 | 6597 | |
6759 | 6598 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために |
6760 | 6599 | (% で示される)ハッシュキー/値スライスを使いました。 |
6761 | 6600 | 一般的には($ で示される)スカラ値を取得した方がよいです。 |
6762 | 6601 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように |
6763 | 6602 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 |
6764 | 6603 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 |
6765 | 6604 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 |
6766 | 6605 | |
6767 | 6606 | =item Insecure dependency in %s |
6768 | 6607 | |
6769 | 6608 | =begin original |
6770 | 6609 | |
6771 | 6610 | (F) You tried to do something that the tainting mechanism didn't like. |
6772 | 6611 | The tainting mechanism is turned on when you're running setuid or |
6773 | 6612 | setgid, or when you specify B<-T> to turn it on explicitly. The |
6774 | 6613 | tainting mechanism labels all data that's derived directly or indirectly |
6775 | 6614 | from the user, who is considered to be unworthy of your trust. If any |
6776 | 6615 | such data is used in a "dangerous" operation, you get this error. See |
6777 | 6616 | L<perlsec> for more information. |
6778 | 6617 | |
6779 | 6618 | =end original |
6780 | 6619 | |
6781 | 6620 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
6782 | 6621 | 行なおうとしました。 |
6783 | 6622 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
6784 | 6623 | 汚染チェック機構が働きます。 |
6785 | 6624 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
6786 | 6625 | 指定したデータに印を付けます。 |
6787 | 6626 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
6788 | 6627 | 詳しくは、L<perlsec> を参照してください。 |
6789 | 6628 | |
6790 | 6629 | =item Insecure directory in %s |
6791 | 6630 | |
6792 | 6631 | =begin original |
6793 | 6632 | |
6794 | 6633 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6795 | 6634 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
6796 | 6635 | the world. Also, the PATH must not contain any relative directory. |
6797 | 6636 | See L<perlsec>. |
6798 | 6637 | |
6799 | 6638 | =end original |
6800 | 6639 | |
6801 | 6640 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
6802 | 6641 | 含まれているとき、system()、exec()、パイプのオープンを |
6803 | 6642 | 行なうことはできません。 |
6804 | 6643 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 |
6805 | 6644 | L<perlsec> を参照してください。 |
6806 | 6645 | |
6807 | 6646 | =item Insecure $ENV{%s} while running %s |
6808 | 6647 | |
6809 | 6648 | =begin original |
6810 | 6649 | |
6811 | 6650 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6812 | 6651 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
6813 | 6652 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data |
6814 | 6653 | supplied (or potentially supplied) by the user. The script must set |
6815 | 6654 | the path to a known value, using trustworthy data. See L<perlsec>. |
6816 | 6655 | |
6817 | 6656 | =end original |
6818 | 6657 | |
6819 | 6658 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
6820 | 6659 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された |
6821 | 6660 | (あるいは提供された可能性のある)データの場合、setuid や setgid された |
6822 | 6661 | スクリプトでは system(), exec(), パイプされる open を |
6823 | 6662 | 使うことはできません。 |
6824 | 6663 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
6825 | 6664 | セットしなければなりません。 |
6826 | 6665 | L<perlsec> を参照してください。 |
6827 | 6666 | |
6828 | 6667 | =item Insecure user-defined property %s |
6829 | 6668 | |
6830 | 6669 | =begin original |
6831 | 6670 | |
6832 | 6671 | (F) Perl detected tainted data when trying to compile a regular |
6833 | 6672 | expression that contains a call to a user-defined character property |
6834 | 6673 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. |
6835 | 6674 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. |
6836 | 6675 | |
6837 | 6676 | =end original |
6838 | 6677 | |
6839 | 6678 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の |
6840 | 6679 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを |
6841 | 6680 | 検出しました。 |
6842 | 6681 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を |
6843 | 6682 | 参照してください。 |
6844 | 6683 | |
6845 | 6684 | =item Integer overflow in format string for %s |
6846 | 6685 | |
6847 | 6686 | =begin original |
6848 | 6687 | |
6849 | 6688 | (F) The indexes and widths specified in the format string of C<printf()> |
6850 | 6689 | or C<sprintf()> are too large. The numbers must not overflow the size of |
6851 | 6690 | integers for your architecture. |
6852 | 6691 | |
6853 | 6692 | =end original |
6854 | 6693 | |
6855 | 6694 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや |
6856 | 6695 | 幅が大きすぎます。 |
6857 | 6696 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように |
6858 | 6697 | しなければなりません。 |
6859 | 6698 | |
6860 | 6699 | =item Integer overflow in %s number |
6861 | 6700 | |
6862 | 6701 | =begin original |
6863 | 6702 | |
6864 | 6703 | (S overflow) The hexadecimal, octal or binary number you have specified |
6865 | 6704 | either as a literal or as an argument to hex() or oct() is too big for |
6866 | 6705 | your architecture, and has been converted to a floating point number. |
6867 | 6706 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
6868 | 6707 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
6869 | 6708 | 0b11111111111111111111111111111111 respectively. Note that Perl |
6870 | 6709 | transparently promotes all numbers to a floating point representation |
6871 | 6710 | internally--subject to loss of precision errors in subsequent |
6872 | 6711 | operations. |
6873 | 6712 | |
6874 | 6713 | =end original |
6875 | 6714 | |
6876 | 6715 | (S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 |
6877 | 6716 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
6878 | 6717 | 変換されました。 |
6879 | 6718 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
6880 | 6719 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
6881 | 6720 | 0b11111111111111111111111111111111 です。 |
6882 | 6721 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
6883 | 6722 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
6884 | 6723 | |
6885 | 6724 | =item Integer overflow in srand |
6886 | 6725 | |
6887 | 6726 | =begin original |
6888 | 6727 | |
6889 | 6728 | (S overflow) The number you have passed to srand is too big to fit |
6890 | 6729 | in your architecture's integer representation. The number has been |
6891 | 6730 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit |
6892 | 6731 | architectures). This means you may be getting less randomness than |
6893 | 6732 | you expect, because different random seeds above the maximum will |
6894 | 6733 | return the same sequence of random numbers. |
6895 | 6734 | |
6896 | 6735 | =end original |
6897 | 6736 | |
6898 | 6737 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に |
6899 | 6738 | 適合させるには大きすぎます。 |
6900 | 6739 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に |
6901 | 6740 | 置き換えられました。 |
6902 | 6741 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 |
6903 | 6742 | 想定しているよりもランダム性が低くなることを意味します。 |
6904 | 6743 | |
6905 | 6744 | =item Integer overflow in version |
6906 | 6745 | |
6907 | 6746 | =item Integer overflow in version %d |
6908 | 6747 | |
6909 | 6748 | =begin original |
6910 | 6749 | |
6911 | 6750 | (W overflow) Some portion of a version initialization is too large for |
6912 | 6751 | the size of integers for your architecture. This is not a warning |
6913 | 6752 | because there is no rational reason for a version to try and use an |
6914 | 6753 | element larger than typically 2**32. This is usually caused by trying |
6915 | 6754 | to use some odd mathematical operation as a version, like 100/9. |
6916 | 6755 | |
6917 | 6756 | =end original |
6918 | 6757 | |
6919 | 6758 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより |
6920 | 6759 | 大きすぎます。 |
6921 | 6760 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な |
6922 | 6761 | 理由がないので、これは警告ではありません。 |
6923 | 6762 | これは普通、100/9 のようなおかしな数値演算をバージョンとして |
6924 | 6763 | 使おうとしたことによります。 |
6925 | 6764 | |
6926 | 6765 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ |
6927 | 6766 | |
6928 | 6767 | =begin original |
6929 | 6768 | |
6930 | 6769 | (P) Something went badly wrong in the regular expression parser. |
6931 | 6770 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
6932 | 6771 | discovered. |
6933 | 6772 | |
6934 | 6773 | =end original |
6935 | 6774 | |
6936 | 6775 | (P) 正規表現解析部に何か悪いことが起こりました。 |
6937 | 6776 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
6938 | 6777 | |
6939 | 6778 | =item Internal inconsistency in tracking vforks |
6940 | 6779 | |
6941 | 6780 | =begin original |
6942 | 6781 | |
6943 | 6782 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
6944 | 6783 | you've called C<fork> and C<exec>, to determine whether the current call |
6945 | 6784 | to C<exec> should affect the current script or a subprocess (see |
6946 | 6785 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
6947 | 6786 | Perl is making a guess and treating this C<exec> as a request to |
6948 | 6787 | terminate the Perl script and execute the specified command. |
6949 | 6788 | |
6950 | 6789 | =end original |
6951 | 6790 | |
6952 | 6791 | (S) VMS に固有の警告です。 |
6953 | 6792 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
6954 | 6793 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
6955 | 6794 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
6956 | 6795 | 参照してください)。 |
6957 | 6796 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
6958 | 6797 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
6959 | 6798 | 仮定して、そのように扱いました。 |
6960 | 6799 | |
6961 | 6800 | =item internal %<num>p might conflict with future printf extensions |
6962 | 6801 | |
6963 | 6802 | =begin original |
6964 | 6803 | |
6965 | 6804 | (S internal) Perl's internal routine that handles C<printf> and C<sprintf> |
6966 | 6805 | formatting follows a slightly different set of rules when called from |
6967 | 6806 | C or XS code. Specifically, formats consisting of digits followed |
6968 | 6807 | by "p" (e.g., "%7p") are reserved for future use. If you see this |
6969 | 6808 | message, then an XS module tried to call that routine with one such |
6970 | 6809 | reserved format. |
6971 | 6810 | |
6972 | 6811 | =end original |
6973 | 6812 | |
6974 | 6813 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の |
6975 | 6814 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に |
6976 | 6815 | 従います。 |
6977 | 6816 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の |
6978 | 6817 | 使用のために予約されています。 |
6979 | 6818 | このメッセージが表示された場合、XS モジュールはこのような予約された |
6980 | 6819 | フォーマットを使って呼び出そうとしました。 |
6981 | 6820 | |
6982 | 6821 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ |
6983 | 6822 | |
6984 | 6823 | =begin original |
6985 | 6824 | |
6986 | 6825 | (P) Something went badly awry in the regular expression parser. The |
6987 | 6826 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
6988 | 6827 | discovered. |
6989 | 6828 | |
6990 | 6829 | =end original |
6991 | 6830 | |
6992 | 6831 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
6993 | 6832 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
6994 | 6833 | |
6995 | 6834 | =item %s (...) interpreted as function |
6996 | 6835 | |
6997 | 6836 | =begin original |
6998 | 6837 | |
6999 | 6838 | (W syntax) You've run afoul of the rule that says that any list operator |
7000 | 6839 | followed by parentheses turns into a function, with all the list |
7001 | 6840 | operators arguments found inside the parentheses. See |
7002 | 6841 | L<perlop/Terms and List Operators (Leftward)>. |
7003 | 6842 | |
7004 | 6843 | =end original |
7005 | 6844 | |
7006 | 6845 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある |
7007 | 6846 | リスト演算子引数を持つ関数になる、という規則が適用されました。 |
7008 | 6847 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
7009 | 6848 | |
7010 | 6849 | =item In '(?...)', the '(' and '?' must be adjacent in regex; |
7011 | 6850 | marked by S<<-- HERE> in m/%s/ |
7012 | 6851 | |
7013 | 6852 | =begin original |
7014 | 6853 | |
7015 | 6854 | (F) The two-character sequence C<"(?"> in this context in a regular |
7016 | 6855 | expression pattern should be an indivisible token, with nothing |
7017 | 6856 | intervening between the C<"("> and the C<"?">, but you separated them |
7018 | 6857 | with whitespace. |
7019 | 6858 | |
7020 | 6859 | =end original |
7021 | 6860 | |
7022 | 6861 | (F) |
7023 | 6862 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 |
7024 | 6863 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 |
7025 | 6864 | |
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 | ||
7043 | 6865 | =item Invalid %s attribute: %s |
7044 | 6866 | |
7045 | 6867 | =begin original |
7046 | 6868 | |
7047 | 6869 | (F) The indicated attribute for a subroutine or variable was not recognized |
7048 | 6870 | by Perl or by a user-supplied handler. See L<attributes>. |
7049 | 6871 | |
7050 | 6872 | =end original |
7051 | 6873 | |
7052 | 6874 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
7053 | 6875 | 認識されませんでした。 |
7054 | 6876 | L<attributes> を参照してください。 |
7055 | 6877 | |
7056 | 6878 | =item Invalid %s attributes: %s |
7057 | 6879 | |
7058 | 6880 | =begin original |
7059 | 6881 | |
7060 | 6882 | (F) The indicated attributes for a subroutine or variable were not |
7061 | 6883 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
7062 | 6884 | |
7063 | 6885 | =end original |
7064 | 6886 | |
7065 | 6887 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
7066 | 6888 | 認識されませんでした。 |
7067 | 6889 | L<attributes> を参照してください。 |
7068 | 6890 | |
7069 | 6891 | =item Invalid character in charnames alias definition; marked by |
7070 | 6892 | S<<-- HERE> in '%s |
7071 | 6893 | |
7072 | 6894 | =begin original |
7073 | 6895 | |
7074 | 6896 | (F) You tried to create a custom alias for a character name, with |
7075 | 6897 | the C<:alias> option to C<use charnames> and the specified character in |
7076 | 6898 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. |
7077 | 6899 | |
7078 | 6900 | =end original |
7079 | 6901 | |
7080 | 6902 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を |
7081 | 6903 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 |
7082 | 6904 | L<charnames/CUSTOM ALIASES> を参照してください。 |
7083 | 6905 | |
7084 | 6906 | =item Invalid \0 character in %s for %s: %s\0%s |
7085 | 6907 | |
7086 | 6908 | =begin original |
7087 | 6909 | |
7088 | 6910 | (W syscalls) Embedded \0 characters in pathnames or other system call |
7089 | 6911 | arguments produce a warning as of 5.20. The parts after the \0 were |
7090 | 6912 | formerly ignored by system calls. |
7091 | 6913 | |
7092 | 6914 | =end original |
7093 | 6915 | |
7094 | 6916 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は |
7095 | 6917 | 5.20 から警告を出力するようになりました。 |
7096 | 6918 | 以前は \0 の後の部分はシステムコールによって無視されていました。 |
7097 | 6919 | |
7098 | 6920 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} |
7099 | 6921 | |
7100 | 6922 | =begin original |
7101 | 6923 | |
7102 | 6924 | (F) Only certain characters are valid for character names. The |
7103 | 6925 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. |
7104 | 6926 | |
7105 | 6927 | =end original |
7106 | 6928 | |
7107 | 6929 | (F) 文字名としては一部の文字のみが正当です。 |
7108 | 6930 | 示されたものは違います。 |
7109 | 6931 | L<charnames/CUSTOM ALIASES> を参照してください。 |
7110 | 6932 | |
7111 | 6933 | =item Invalid conversion in %s: "%s" |
7112 | 6934 | |
7113 | 6935 | =begin original |
7114 | 6936 | |
7115 | 6937 | (W printf) Perl does not understand the given format conversion. See |
7116 | 6938 | L<perlfunc/sprintf>. |
7117 | 6939 | |
7118 | 6940 | =end original |
7119 | 6941 | |
7120 | 6942 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
7121 | 6943 | L<perlfunc/sprintf> を参照してください。 |
7122 | 6944 | |
7123 | 6945 | =item Invalid escape in the specified encoding in regex; marked by |
7124 | 6946 | S<<-- HERE> in m/%s/ |
7125 | 6947 | |
7126 | 6948 | =begin original |
7127 | 6949 | |
7128 | 6950 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 |
7129 | 6951 | didn't correspond to a single character through the conversion |
7130 | 6952 | from the encoding specified by the encoding pragma. |
7131 | 6953 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) |
7132 | 6954 | instead, except within S<C<(?[ ])>>, where it is a fatal error. |
7133 | 6955 | The S<<-- HERE> shows whereabouts in the regular expression the |
7134 | 6956 | escape was discovered. |
7135 | 6957 | |
7136 | 6958 | =end original |
7137 | 6959 | |
7138 | 6960 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 |
7139 | 6961 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 |
7140 | 6962 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; |
7141 | 6963 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 |
7142 | 6964 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 |
7143 | 6965 | |
7144 | 6966 | =item Invalid hexadecimal number in \N{U+...} |
7145 | 6967 | |
7146 | 6968 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by |
7147 | 6969 | S<<-- HERE> in m/%s/ |
7148 | 6970 | |
7149 | 6971 | =begin original |
7150 | 6972 | |
7151 | 6973 | (F) The character constant represented by C<...> is not a valid hexadecimal |
7152 | 6974 | number. Either it is empty, or you tried to use a character other than |
7153 | 6975 | 0 - 9 or A - F, a - f in a hexadecimal number. |
7154 | 6976 | |
7155 | 6977 | =end original |
7156 | 6978 | |
7157 | 6979 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 |
7158 | 6980 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
7159 | 6981 | |
7160 | 6982 | =item Invalid module name %s with -%c option: contains single ':' |
7161 | 6983 | |
7162 | 6984 | =begin original |
7163 | 6985 | |
7164 | 6986 | (F) The module argument to perl's B<-m> and B<-M> command-line options |
7165 | 6987 | cannot contain single colons in the module name, but only in the |
7166 | 6988 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but |
7167 | 6989 | B<-MFoo:Bar=baz> is not. |
7168 | 6990 | |
7169 | 6991 | =end original |
7170 | 6992 | |
7171 | 6993 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 |
7172 | 6994 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが |
7173 | 6995 | できます。 |
7174 | 6996 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は |
7175 | 6997 | そうではありません。 |
7176 | 6998 | |
7177 | 6999 | =item Invalid mro name: '%s' |
7178 | 7000 | |
7179 | 7001 | =begin original |
7180 | 7002 | |
7181 | 7003 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, |
7182 | 7004 | where C<foo> is not a valid method resolution order (MRO). Currently, |
7183 | 7005 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded |
7184 | 7006 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. |
7185 | 7007 | |
7186 | 7008 | =end original |
7187 | 7009 | |
7188 | 7010 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと |
7189 | 7011 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 |
7190 | 7012 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として |
7191 | 7013 | 有効なものは C<dfs> と C<c3> だけです。 |
7192 | 7014 | L<mro> と L<perlmroapi> を参照してください。 |
7193 | 7015 | |
7194 | 7016 | =item Invalid negative number (%s) in chr |
7195 | 7017 | |
7196 | 7018 | =begin original |
7197 | 7019 | |
7198 | 7020 | (W utf8) You passed a negative number to C<chr>. Negative numbers are |
7199 | 7021 | not valid character numbers, so it returns the Unicode replacement |
7200 | 7022 | character (U+FFFD). |
7201 | 7023 | |
7202 | 7024 | =end original |
7203 | 7025 | |
7204 | 7026 | (W utf8) C<chr> に負数を渡しました。 |
7205 | 7027 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 |
7206 | 7028 | |
7207 | 7029 | =item Invalid number '%s' for -C option. |
7208 | 7030 | |
7209 | 7031 | =begin original |
7210 | 7032 | |
7211 | 7033 | (F) You supplied a number to the -C option that either has extra leading |
7212 | 7034 | zeroes or overflows perl's unsigned integer representation. |
7213 | 7035 | |
7214 | 7036 | =end original |
7215 | 7037 | |
7216 | 7038 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を |
7217 | 7039 | オーバーフローするといったような数値を指定しました。 |
7218 | 7040 | |
7219 | 7041 | =item invalid option -D%c, use -D'' to see choices |
7220 | 7042 | |
7221 | 7043 | =begin original |
7222 | 7044 | |
7223 | 7045 | (S debugging) Perl was called with invalid debugger flags. Call perl |
7224 | 7046 | with the B<-D> option with no flags to see the list of acceptable values. |
7225 | 7047 | See also L<perlrun/-Dletters>. |
7226 | 7048 | |
7227 | 7049 | =end original |
7228 | 7050 | |
7229 | 7051 | (F) Perl は不正なデバッガフラグで呼び出されました。 |
7230 | 7052 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて |
7231 | 7053 | perl を呼び出してください。 |
7232 | 7054 | L<< perlrun/B<-D>I<letters> >> も参照してください。 |
7233 | 7055 | |
7234 | 7056 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ |
7235 | 7057 | |
7236 | 7058 | =begin original |
7237 | 7059 | |
7238 | 7060 | (F) The pattern looks like a {min,max} quantifier, but the min or max |
7239 | 7061 | could not be parsed as a valid number - either it has leading zeroes, |
7240 | 7062 | or it represents too big a number to cope with. The S<<-- HERE> shows |
7241 | 7063 | where in the regular expression the problem was discovered. See L<perlre>. |
7242 | 7064 | |
7243 | 7065 | =end original |
7244 | 7066 | |
7245 | 7067 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が |
7246 | 7068 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 |
7247 | 7069 | 数値として扱うには大きすぎます。 |
7248 | 7070 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
7249 | 7071 | L<perlre> を参照してください。 |
7250 | 7072 | |
7251 | 7073 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ |
7252 | 7074 | |
7253 | 7075 | =begin original |
7254 | 7076 | |
7255 | 7077 | (F) The range specified in a character class had a minimum character |
7256 | 7078 | greater than the maximum character. One possibility is that you forgot the |
7257 | 7079 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only |
7258 | 7080 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the |
7259 | 7081 | problem was discovered. See L<perlre>. |
7260 | 7082 | |
7261 | 7083 | =end original |
7262 | 7084 | |
7263 | 7085 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
7264 | 7086 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を |
7265 | 7087 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか |
7266 | 7088 | なりません。 |
7267 | 7089 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
7268 | 7090 | L<perlre> を参照してください。 |
7269 | 7091 | |
7270 | 7092 | =item Invalid range "%s" in transliteration operator |
7271 | 7093 | |
7272 | 7094 | =begin original |
7273 | 7095 | |
7274 | 7096 | (F) The range specified in the tr/// or y/// operator had a minimum |
7275 | 7097 | character greater than the maximum character. See L<perlop>. |
7276 | 7098 | |
7277 | 7099 | =end original |
7278 | 7100 | |
7279 | 7101 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が |
7280 | 7102 | 大きいです。 |
7281 | 7103 | L<perlop> を参照してください。 |
7282 | 7104 | |
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 | ||
7296 | 7105 | =item Invalid separator character %s in attribute list |
7297 | 7106 | |
7298 | 7107 | =begin original |
7299 | 7108 | |
7300 | 7109 | (F) Something other than a colon or whitespace was seen between the |
7301 | 7110 | elements of an attribute list. If the previous attribute had a |
7302 | 7111 | parenthesised parameter list, perhaps that list was terminated too soon. |
7303 | 7112 | See L<attributes>. |
7304 | 7113 | |
7305 | 7114 | =end original |
7306 | 7115 | |
7307 | 7116 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
7308 | 7117 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
7309 | 7118 | 予定より早く終端されています。 |
7310 | 7119 | L<attributes> を参照してください。 |
7311 | 7120 | |
7312 | 7121 | =item Invalid separator character %s in PerlIO layer specification %s |
7313 | 7122 | |
7314 | 7123 | =begin original |
7315 | 7124 | |
7316 | 7125 | (W layer) When pushing layers onto the Perl I/O system, something other |
7317 | 7126 | than a colon or whitespace was seen between the elements of a layer list. |
7318 | 7127 | If the previous attribute had a parenthesised parameter list, perhaps that |
7319 | 7128 | list was terminated too soon. |
7320 | 7129 | |
7321 | 7130 | =end original |
7322 | 7131 | |
7323 | 7132 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に |
7324 | 7133 | コロンと空白以外のものがありました。 |
7325 | 7134 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
7326 | 7135 | 予定より早く終端されています。 |
7327 | 7136 | |
7328 | 7137 | =item Invalid strict version format (%s) |
7329 | 7138 | |
7330 | 7139 | =begin original |
7331 | 7140 | |
7332 | 7141 | (F) A version number did not meet the "strict" criteria for versions. |
7333 | 7142 | A "strict" version number is a positive decimal number (integer or |
7334 | 7143 | decimal-fraction) without exponentiation or else a dotted-decimal |
7335 | 7144 | v-string with a leading 'v' character and at least three components. |
7336 | 7145 | The parenthesized text indicates which criteria were not met. |
7337 | 7146 | See the L<version> module for more details on allowed version formats. |
7338 | 7147 | |
7339 | 7148 | =end original |
7340 | 7149 | |
7341 | 7150 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 |
7342 | 7151 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 |
7343 | 7152 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも |
7344 | 7153 | 三つの部分からなるものです。 |
7345 | 7154 | かっこで囲まれたテキストは問題の基準を示しています。 |
7346 | 7155 | 許されるバージョンオブジェクトに関するさらなる詳細については |
7347 | 7156 | L<version> モジュールを参照してください。 |
7348 | 7157 | |
7349 | 7158 | =item Invalid type '%s' in %s |
7350 | 7159 | |
7351 | 7160 | =begin original |
7352 | 7161 | |
7353 | 7162 | (F) The given character is not a valid pack or unpack type. |
7354 | 7163 | See L<perlfunc/pack>. |
7355 | 7164 | |
7356 | 7165 | =end original |
7357 | 7166 | |
7358 | 7167 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 |
7359 | 7168 | L<perlfunc/pack> を参照してください。 |
7360 | 7169 | |
7361 | 7170 | =begin original |
7362 | 7171 | |
7363 | 7172 | (W) The given character is not a valid pack or unpack type but used to be |
7364 | 7173 | silently ignored. |
7365 | 7174 | |
7366 | 7175 | =end original |
7367 | 7176 | |
7368 | 7177 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に |
7369 | 7178 | 無視されました。 |
7370 | 7179 | |
7371 | 7180 | =item Invalid version format (%s) |
7372 | 7181 | |
7373 | 7182 | =begin original |
7374 | 7183 | |
7375 | 7184 | (F) A version number did not meet the "lax" criteria for versions. |
7376 | 7185 | A "lax" version number is a positive decimal number (integer or |
7377 | 7186 | decimal-fraction) without exponentiation or else a dotted-decimal |
7378 | 7187 | v-string. If the v-string has fewer than three components, it |
7379 | 7188 | must have a leading 'v' character. Otherwise, the leading 'v' is |
7380 | 7189 | optional. Both decimal and dotted-decimal versions may have a |
7381 | 7190 | trailing "alpha" component separated by an underscore character |
7382 | 7191 | after a fractional or dotted-decimal component. The parenthesized |
7383 | 7192 | text indicates which criteria were not met. See the L<version> module |
7384 | 7193 | for more details on allowed version formats. |
7385 | 7194 | |
7386 | 7195 | =end original |
7387 | 7196 | |
7388 | 7197 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 |
7389 | 7198 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 |
7390 | 7199 | あるいはどっと付き 10 進 v-文字列です。 |
7391 | 7200 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 |
7392 | 7201 | さもなければ、先頭の 'v' はオプションです。 |
7393 | 7202 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 |
7394 | 7203 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 |
7395 | 7204 | かっこで囲まれたテキストは問題の基準を示しています。 |
7396 | 7205 | 許されるバージョンオブジェクトに関するさらなる詳細については |
7397 | 7206 | L<version> モジュールを参照してください。 |
7398 | 7207 | |
7399 | 7208 | =item Invalid version object |
7400 | 7209 | |
7401 | 7210 | =begin original |
7402 | 7211 | |
7403 | 7212 | (F) The internal structure of the version object was invalid. |
7404 | 7213 | Perhaps the internals were modified directly in some way or |
7405 | 7214 | an arbitrary reference was blessed into the "version" class. |
7406 | 7215 | |
7407 | 7216 | =end original |
7408 | 7217 | |
7409 | 7218 | (F) バージョンオブジェクトの内部構造が不正です。 |
7410 | 7219 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが |
7411 | 7220 | "version" クラスとして bless されました。 |
7412 | 7221 | |
7413 | 7222 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; |
7414 | 7223 | marked by S<<-- HERE> in m/%s/ |
7415 | 7224 | |
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 | 7225 | =begin original |
7420 | 7226 | |
7421 | (F) | |
7227 | (F) The two-character sequence C<"(*"> in | |
7228 | this context in a regular expression pattern should be an | |
7229 | indivisible token, with nothing intervening between the C<"("> | |
7230 | and the C<"*">, but you separated them. | |
7422 | 7231 | |
7423 | 7232 | =end original |
7424 | 7233 | |
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 | 7234 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない |
7454 | 7235 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを |
7455 | 7236 | 分割しました。 |
7456 | 7237 | |
7457 | 7238 | =item ioctl is not implemented |
7458 | 7239 | |
7459 | 7240 | =begin original |
7460 | 7241 | |
7461 | 7242 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
7462 | 7243 | strange for a machine that supports C. |
7463 | 7244 | |
7464 | 7245 | =end original |
7465 | 7246 | |
7466 | 7247 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
7467 | 7248 | このマシンでは ioctl() が実装されていないようです。 |
7468 | 7249 | |
7469 | 7250 | =item ioctl() on unopened %s |
7470 | 7251 | |
7471 | 7252 | =begin original |
7472 | 7253 | |
7473 | 7254 | (W unopened) You tried ioctl() on a filehandle that was never opened. |
7474 | 7255 | Check your control flow and number of arguments. |
7475 | 7256 | |
7476 | 7257 | =end original |
7477 | 7258 | |
7478 | 7259 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 |
7479 | 7260 | 制御フローと引数の数をチェックしてください。 |
7480 | 7261 | |
7481 | 7262 | =item IO layers (like '%s') unavailable |
7482 | 7263 | |
7483 | 7264 | =begin original |
7484 | 7265 | |
7485 | 7266 | (F) Your Perl has not been configured to have PerlIO, and therefore |
7486 | 7267 | you cannot use IO layers. To have PerlIO, Perl must be configured |
7487 | 7268 | with 'useperlio'. |
7488 | 7269 | |
7489 | 7270 | =end original |
7490 | 7271 | |
7491 | 7272 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 |
7492 | 7273 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 |
7493 | 7274 | |
7494 | 7275 | =item IO::Socket::atmark not implemented on this architecture |
7495 | 7276 | |
7496 | 7277 | =begin original |
7497 | 7278 | |
7498 | 7279 | (F) Your machine doesn't implement the sockatmark() functionality, |
7499 | 7280 | neither as a system call nor an ioctl call (SIOCATMARK). |
7500 | 7281 | |
7501 | 7282 | =end original |
7502 | 7283 | |
7503 | 7284 | (F) 実行されているマシンでは、システムコールでも |
7504 | 7285 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 |
7505 | 7286 | |
7506 | 7287 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ |
7507 | 7288 | |
7508 | 7289 | =begin original |
7509 | 7290 | |
7510 | 7291 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to |
7511 | 7292 | Perl. The current valid ones are given in |
7512 | 7293 | L<perlrebackslash/\b{}, \b, \B{}, \B>. |
7513 | 7294 | |
7514 | 7295 | =end original |
7515 | 7296 | |
7516 | 7297 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は |
7517 | 7298 | Perl が知らないものでした。 |
7518 | 7299 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 |
7519 | 7300 | |
7520 | =item %s is | |
7301 | =item %s() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 | |
7521 | m/%s/ | |
7522 | 7302 | |
7523 | 7303 | =begin original |
7524 | 7304 | |
7525 | ( | |
7305 | (D deprecated) The sysread(), recv(), syswrite() and send() operators are | |
7526 | ||
7306 | deprecated on handles that have the C<:utf8> layer, either explicitly, or | |
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 | 7307 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. |
7544 | 7308 | |
7545 | 7309 | =end original |
7546 | 7310 | |
7547 | ( | |
7311 | (D deprecated) sysread(), recv(), syswrite() and send() 演算子は、 | |
7548 | 7312 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 |
7549 | C<:utf8> 層を持つハンドルに対しては | |
7313 | C<:utf8> 層を持つハンドルに対しては廃止予定です。 | |
7550 | 7314 | |
7551 | 7315 | =begin original |
7552 | 7316 | |
7553 | ||
7317 | Both sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
7554 | ignoring the actual layers. Since sysread() and recv() d | |
7318 | ignoring the actual layers. Since sysread() and recv() do no UTF-8 | |
7555 | 7319 | validation they can end up creating invalidly encoded scalars. |
7556 | 7320 | |
7557 | 7321 | =end original |
7558 | 7322 | |
7559 | ||
7323 | sysread() と recv() は現在の所ストリームに対して C<:utf8> フラグのみを | |
7560 | ||
7324 | 使い、実際の層は無視します。 | |
7561 | sysread() と recv() は UTF-8 の検証を行 | |
7325 | sysread() と recv() は UTF-8 の検証を行わないので、 | |
7562 | 7326 | 不正にエンコードされたスカラを作ることになる可能性があります。 |
7563 | 7327 | |
7564 | 7328 | =begin original |
7565 | 7329 | |
7566 | Similarly, syswrite() and send() use | |
7330 | Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise ignoring | |
7567 | any layers. If the flag is set, both wr | |
7331 | any layers. If the flag is set, both write the value UTF-8 encoded, even if | |
7568 | 7332 | the layer is some different encoding, such as the example above. |
7569 | 7333 | |
7570 | 7334 | =end original |
7571 | 7335 | |
7572 | 7336 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 |
7573 | それ以外は全ての層を無視し | |
7337 | それ以外は全ての層を無視します。 | |
7574 | 7338 | フラグがセットされると、例え層が前述の例のように異なった |
7575 | エンコーディングでも、UTF-8 エンコードされた値を書き込 | |
7339 | エンコーディングでも、UTF-8 エンコードされた値を書き込みます。 | |
7576 | 7340 | |
7577 | 7341 | =begin original |
7578 | 7342 | |
7579 | 7343 | Ideally, all of these operators would completely ignore the C<:utf8> state, |
7580 | 7344 | working only with bytes, but this would result in silently breaking existing |
7581 | 7345 | code. |
7582 | 7346 | |
7583 | 7347 | =end original |
7584 | 7348 | |
7585 | 7349 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して |
7586 | 7350 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に |
7587 | 7351 | 壊すことになります。 |
7588 | 7352 | |
7353 | =begin original | |
7354 | ||
7355 | In Perl 5.30, it will no longer be possible to use sysread(), recv(), | |
7356 | syswrite() or send() to read or send bytes from/to :utf8 handles. | |
7357 | ||
7358 | =end original | |
7359 | ||
7360 | Perl 5.30 で、:utf8 ハンドルを使って sysread(), recv(), syswrite(), send() で | |
7361 | バイトを読み書きすることはもはやできなくなる予定です。 | |
7362 | ||
7589 | 7363 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ |
7590 | 7364 | |
7591 | 7365 | =begin original |
7592 | 7366 | |
7593 | 7367 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
7594 | 7368 | |
7595 | 7369 | =end original |
7596 | 7370 | |
7597 | (W regexp) (C<S<use re 'strict'>> の | |
7371 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
7598 | 7372 | |
7599 | 7373 | =begin original |
7600 | 7374 | |
7601 | You specified a character that has the given plainer way of writing it, | |
7375 | You specified a character that has the given plainer way of writing it, | |
7602 | which is also portable to platforms running with different character | |
7376 | and which is also portable to platforms running with different character | |
7377 | sets. | |
7603 | 7378 | |
7604 | 7379 | =end original |
7605 | 7380 | |
7606 | 7381 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される |
7607 | 7382 | プラットフォーム間で移植性のある文字を指定しました。 |
7608 | 7383 | |
7609 | =item $* is no longer supported | |
7384 | =item $* is no longer supported. Its use will be fatal in Perl 5.30 | |
7610 | 7385 | |
7611 | 7386 | =begin original |
7612 | 7387 | |
7613 | ( | |
7388 | (D deprecated, syntax) The special variable C<$*>, deprecated in older | |
7614 | 5.10.0 | |
7389 | perls, has been removed as of 5.10.0 and is no longer supported. In | |
7615 | 7390 | previous versions of perl the use of C<$*> enabled or disabled multi-line |
7616 | 7391 | matching within a string. |
7617 | 7392 | |
7618 | 7393 | =end original |
7619 | 7394 | |
7620 | ( | |
7395 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は | |
7621 | もはや対応して | |
7396 | 5.10.0 で削除され、もはや対応していません。 | |
7622 | 7397 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または |
7623 | 7398 | 無効にするために使っていました。 |
7624 | 7399 | |
7625 | 7400 | =begin original |
7626 | 7401 | |
7627 | 7402 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp |
7628 | 7403 | modifiers. You can enable C</m> for a lexical scope (even a whole file) |
7629 | 7404 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value |
7630 | 7405 | then all regular expressions behaved as if they were written using C</m>.) |
7631 | 7406 | |
7632 | 7407 | =end original |
7633 | 7408 | |
7634 | 7409 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を |
7635 | 7410 | 使うべきです。 |
7636 | 7411 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を |
7637 | 7412 | 有効にできます。 |
7638 | 7413 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は |
7639 | 7414 | C</m> を使って書かれたかのように振る舞っていました。) |
7640 | 7415 | |
7641 | 7416 | =begin original |
7642 | 7417 | |
7643 | 7418 | Use of this variable will be a fatal error in Perl 5.30. |
7644 | 7419 | |
7645 | 7420 | =end original |
7646 | 7421 | |
7647 | 7422 | この変数の使用は Perl 5.30 から致命的エラーになります。 |
7648 | 7423 | |
7649 | =item $# is no longer supported | |
7424 | =item $# is no longer supported. Its use will be fatal in Perl 5.30 | |
7650 | 7425 | |
7651 | 7426 | =begin original |
7652 | 7427 | |
7653 | ( | |
7428 | (D deprecated, syntax) The special variable C<$#>, deprecated in older | |
7654 | 5.10.0 | |
7429 | perls, has been removed as of 5.10.0 and is no longer supported. You | |
7655 | 7430 | should use the printf/sprintf functions instead. |
7656 | 7431 | |
7657 | 7432 | =end original |
7658 | 7433 | |
7659 | ( | |
7434 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は | |
7660 | もはや対応して | |
7435 | 5.10.0 で削除され、もはや対応していません。 | |
7661 | 7436 | 代わりに printf/sprintf 関数を使うべきです。 |
7662 | 7437 | |
7438 | =begin original | |
7439 | ||
7440 | Use of this variable will be a fatal error in Perl 5.30. | |
7441 | ||
7442 | =end original | |
7443 | ||
7444 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
7445 | ||
7663 | 7446 | =item '%s' is not a code reference |
7664 | 7447 | |
7665 | 7448 | =begin original |
7666 | 7449 | |
7667 | 7450 | (W overload) The second (fourth, sixth, ...) argument of |
7668 | 7451 | overload::constant needs to be a code reference. Either |
7669 | 7452 | an anonymous subroutine, or a reference to a subroutine. |
7670 | 7453 | |
7671 | 7454 | =end original |
7672 | 7455 | |
7673 | 7456 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は |
7674 | 7457 | コードリファレンスである必要があります。 |
7675 | 7458 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
7676 | 7459 | |
7677 | 7460 | =item '%s' is not an overloadable type |
7678 | 7461 | |
7679 | 7462 | =begin original |
7680 | 7463 | |
7681 | 7464 | (W overload) You tried to overload a constant type the overload package is |
7682 | 7465 | unaware of. |
7683 | 7466 | |
7684 | 7467 | =end original |
7685 | 7468 | |
7686 | 7469 | (W overload) オーバーロードパッケージが知らない定数型を |
7687 | 7470 | オーバーロードしようとしました。 |
7688 | 7471 | |
7689 | =item '%s' is not recognised as a builtin function | |
7690 | ||
7691 | =begin original | |
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 | 7472 | =item -i used with no filenames on the command line, reading from STDIN |
7702 | 7473 | |
7703 | 7474 | =begin original |
7704 | 7475 | |
7705 | 7476 | (S inplace) The C<-i> option was passed on the command line, indicating |
7706 | 7477 | that the script is intended to edit files in place, but no files were |
7707 | 7478 | given. This is usually a mistake, since editing STDIN in place doesn't |
7708 | 7479 | make sense, and can be confusing because it can make perl look like |
7709 | 7480 | it is hanging when it is really just trying to read from STDIN. You |
7710 | 7481 | should either pass a filename to edit, or remove C<-i> from the command |
7711 | line. See L<perlrun | |
7482 | line. See L<perlrun> for more details. | |
7712 | 7483 | |
7713 | 7484 | =end original |
7714 | 7485 | |
7715 | 7486 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは |
7716 | 7487 | スクリプトがファイルをその場で編集することを示していますが、ファイルが |
7717 | 7488 | 指定されませんでした。 |
7718 | 7489 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 |
7719 | 7490 | 本当に単に STDIN から読み込もうとしているだけのときに perl が |
7720 | 7491 | ハングしているように見えることがあるので混乱を引き起こします。 |
7721 | 7492 | 編集するファイル名を指定するか、コマンドラインから C<-i> を |
7722 | 7493 | 取り除いてください。 |
7723 | さらなる詳細については L<perlrun | |
7494 | さらなる詳細については L<perlrun> を参照してください。 | |
7724 | 7495 | |
7725 | 7496 | =item Junk on end of regexp in regex m/%s/ |
7726 | 7497 | |
7727 | 7498 | =begin original |
7728 | 7499 | |
7729 | 7500 | (P) The regular expression parser is confused. |
7730 | 7501 | |
7731 | 7502 | =end original |
7732 | 7503 | |
7733 | 7504 | (P) 正規表現の構文解析ができなくなりました。 |
7734 | 7505 | |
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 | ||
7758 | 7506 | =item Label not found for "last %s" |
7759 | 7507 | |
7760 | 7508 | =begin original |
7761 | 7509 | |
7762 | 7510 | (F) You named a loop to break out of, but you're not currently in a loop |
7763 | 7511 | of that name, not even if you count where you were called from. See |
7764 | 7512 | L<perlfunc/last>. |
7765 | 7513 | |
7766 | 7514 | =end original |
7767 | 7515 | |
7768 | 7516 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
7769 | 7517 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
7770 | 7518 | L<perlfunc/last> を参照してください。 |
7771 | 7519 | |
7772 | 7520 | =item Label not found for "next %s" |
7773 | 7521 | |
7774 | 7522 | =begin original |
7775 | 7523 | |
7776 | 7524 | (F) You named a loop to continue, but you're not currently in a loop of |
7777 | 7525 | that name, not even if you count where you were called from. See |
7778 | 7526 | L<perlfunc/last>. |
7779 | 7527 | |
7780 | 7528 | =end original |
7781 | 7529 | |
7782 | 7530 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に |
7783 | 7531 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
7784 | 7532 | L<perlfunc/last> を参照してください。 |
7785 | 7533 | |
7786 | 7534 | =item Label not found for "redo %s" |
7787 | 7535 | |
7788 | 7536 | =begin original |
7789 | 7537 | |
7790 | 7538 | (F) You named a loop to restart, but you're not currently in a loop of |
7791 | 7539 | that name, not even if you count where you were called from. See |
7792 | 7540 | L<perlfunc/last>. |
7793 | 7541 | |
7794 | 7542 | =end original |
7795 | 7543 | |
7796 | 7544 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に |
7797 | 7545 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
7798 | 7546 | L<perlfunc/last> を参照してください。 |
7799 | 7547 | |
7800 | 7548 | =item leaving effective %s failed |
7801 | 7549 | |
7802 | 7550 | =begin original |
7803 | 7551 | |
7804 | 7552 | (F) While under the C<use filetest> pragma, switching the real and |
7805 | 7553 | effective uids or gids failed. |
7806 | 7554 | |
7807 | 7555 | =end original |
7808 | 7556 | |
7809 | 7557 | (F) C<use filetest> プラグマを使っている間に、 |
7810 | 7558 | 実と実効の UID や GID の切り替えに失敗しました。 |
7811 | 7559 | |
7812 | 7560 | =item length/code after end of string in unpack |
7813 | 7561 | |
7814 | 7562 | =begin original |
7815 | 7563 | |
7816 | 7564 | (F) While unpacking, the string buffer was already used up when an unpack |
7817 | 7565 | length/code combination tried to obtain more data. This results in |
7818 | 7566 | an undefined value for the length. See L<perlfunc/pack>. |
7819 | 7567 | |
7820 | 7568 | =end original |
7821 | 7569 | |
7822 | 7570 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを |
7823 | 7571 | unpack するときに文字列バッファが既に使い切っていました。 |
7824 | 7572 | これにより、長さが未定義値となります。 |
7825 | 7573 | L<perlfunc/pack> を参照してください。 |
7826 | 7574 | |
7827 | 7575 | =item length() used on %s (did you mean "scalar(%s)"?) |
7828 | 7576 | |
7829 | 7577 | =begin original |
7830 | 7578 | |
7831 | 7579 | (W syntax) You used length() on either an array or a hash when you |
7832 | 7580 | probably wanted a count of the items. |
7833 | 7581 | |
7834 | 7582 | =end original |
7835 | 7583 | |
7836 | 7584 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して |
7837 | 7585 | length() を使いました。 |
7838 | 7586 | |
7839 | 7587 | =begin original |
7840 | 7588 | |
7841 | 7589 | Array size can be obtained by doing: |
7842 | 7590 | |
7843 | 7591 | =end original |
7844 | 7592 | |
7845 | 7593 | 配列の大きさは以下のようにして得られます: |
7846 | 7594 | |
7847 | 7595 | scalar(@array); |
7848 | 7596 | |
7849 | 7597 | =begin original |
7850 | 7598 | |
7851 | 7599 | The number of items in a hash can be obtained by doing: |
7852 | 7600 | |
7853 | 7601 | =end original |
7854 | 7602 | |
7855 | 7603 | ハッシュの要素数は以下のようにして得られます: |
7856 | 7604 | |
7857 | 7605 | scalar(keys %hash); |
7858 | 7606 | |
7859 | 7607 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input |
7860 | 7608 | |
7861 | 7609 | =begin original |
7862 | 7610 | |
7863 | 7611 | (F) An extension is attempting to insert text into the current parse |
7864 | 7612 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that |
7865 | 7613 | couldn't be part of the current input. This is an inherent pitfall |
7866 | 7614 | of the stuffing mechanism, and one of the reasons to avoid it. Where |
7867 | 7615 | it is necessary to stuff, stuffing only plain ASCII is recommended. |
7868 | 7616 | |
7869 | 7617 | =end original |
7870 | 7618 | |
7871 | 7619 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や |
7872 | 7620 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 |
7873 | 7621 | 現在の入力の一部となることができない文字を挿入しようとしました。 |
7874 | 7622 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 |
7875 | 7623 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 |
7876 | 7624 | |
7877 | 7625 | =item Lexing code internal error (%s) |
7878 | 7626 | |
7879 | 7627 | =begin original |
7880 | 7628 | |
7881 | 7629 | (F) Lexing code supplied by an extension violated the lexer's API in a |
7882 | 7630 | detectable way. |
7883 | 7631 | |
7884 | 7632 | =end original |
7885 | 7633 | |
7886 | 7634 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で |
7887 | 7635 | 文法解析器の API に違反しています。 |
7888 | 7636 | |
7889 | 7637 | =item listen() on closed socket %s |
7890 | 7638 | |
7891 | 7639 | =begin original |
7892 | 7640 | |
7893 | 7641 | (W closed) You tried to do a listen on a closed socket. Did you forget |
7894 | 7642 | to check the return value of your socket() call? See |
7895 | 7643 | L<perlfunc/listen>. |
7896 | 7644 | |
7897 | 7645 | =end original |
7898 | 7646 | |
7899 | 7647 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
7900 | 7648 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
7901 | 7649 | L<perlfunc/listen> を参照してください。 |
7902 | 7650 | |
7903 | 7651 | =item List form of piped open not implemented |
7904 | 7652 | |
7905 | 7653 | =begin original |
7906 | 7654 | |
7907 | 7655 | (F) On some platforms, notably Windows, the three-or-more-arguments |
7908 | 7656 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. |
7909 | 7657 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. |
7910 | 7658 | |
7911 | 7659 | =end original |
7912 | 7660 | |
7913 | 7661 | (F) 一部のプラットフォーム、特に Windows では、 |
7914 | 7662 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の |
7915 | 7663 | C<open> ではパイプに対応していません。 |
7916 | 7664 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 |
7917 | 7665 | |
7918 | =item | |
7666 | =item %s: loadable library and perl binaries are mismatched (got handshake key %p, needed %p) | |
7919 | marked by S<<-- HERE> in m/%s/ | |
7920 | 7667 | |
7921 | 7668 | =begin original |
7922 | 7669 | |
7923 | (F) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
7924 | ||
7925 | =end original | |
7926 | ||
7927 | (F) (C<S<use re 'strict'>> の下、または C<(?[...])> の内側のみ) | |
7928 | ||
7929 | =begin original | |
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 | ||
7952 | =begin original | |
7953 | ||
7954 | 7670 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the |
7955 | 7671 | process that was built against a different build of perl than the |
7956 | 7672 | said library was compiled against. Reinstalling the XS module will |
7957 | 7673 | likely fix this error. |
7958 | 7674 | |
7959 | 7675 | =end original |
7960 | 7676 | |
7961 | 7677 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが |
7962 | 7678 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 |
7963 | 7679 | XS モジュールを再インストールすることでおそらくこのエラーは |
7964 | 7680 | 修正されるでしょう。 |
7965 | 7681 | |
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 | 7682 | =item Locale '%s' may not work well.%s |
8060 | 7683 | |
8061 | 7684 | =begin original |
8062 | 7685 | |
8063 | 7686 | (W locale) You are using the named locale, which is a non-UTF-8 one, and |
8064 | 7687 | which perl has determined is not fully compatible with what it can |
8065 | 7688 | handle. The second C<%s> gives a reason. |
8066 | 7689 | |
8067 | 7690 | =end original |
8068 | 7691 | |
8069 | 7692 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 |
8070 | 7693 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 |
8071 | 7694 | 2 番目の C<%s> に理由があります。 |
8072 | 7695 | |
8073 | 7696 | =begin original |
8074 | 7697 | |
8075 | 7698 | By far the most common reason is that the locale has characters in it |
8076 | 7699 | that are represented by more than one byte. The only such locales that |
8077 | 7700 | Perl can handle are the UTF-8 locales. Most likely the specified locale |
8078 | 7701 | is a non-UTF-8 one for an East Asian language such as Chinese or |
8079 | 7702 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it |
8080 | 7703 | may work in Perl. |
8081 | 7704 | |
8082 | 7705 | =end original |
8083 | 7706 | |
8084 | 7707 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を |
8085 | 7708 | 持っていることです。 |
8086 | 7709 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 |
8087 | 7710 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の |
8088 | 7711 | 非 UTF-8 のものです。 |
8089 | 7712 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 |
8090 | 7713 | |
8091 | 7714 | =begin original |
8092 | 7715 | |
8093 | 7716 | Some essentially obsolete locales that aren't supersets of ASCII, mainly |
8094 | 7717 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have |
8095 | 7718 | problems, depending on what portions of the ASCII character set get |
8096 | 7719 | changed by the locale and are also used by the program. |
8097 | 7720 | The warning message lists the determinable conflicting characters. |
8098 | 7721 | |
8099 | 7722 | =end original |
8100 | 7723 | |
8101 | 7724 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような |
8102 | 7725 | その他の 7 ビットロケールも問題になり得ます; |
8103 | 7726 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで |
8104 | 7727 | 使われるかによります。 |
8105 | 7728 | 警告メッセージは決定できる衝突している文字を一覧表示します。 |
8106 | 7729 | |
8107 | 7730 | =begin original |
8108 | 7731 | |
8109 | 7732 | Note that not all incompatibilities are found. |
8110 | 7733 | |
8111 | 7734 | =end original |
8112 | 7735 | |
8113 | 7736 | 全ての非互換性が発見されるわけではないことに注意してください。 |
8114 | 7737 | |
8115 | 7738 | =begin original |
8116 | 7739 | |
8117 | 7740 | If this happens to you, there's not much you can do except switch to use a |
8118 | 7741 | different locale or use L<Encode> to translate from the locale into |
8119 | 7742 | UTF-8; if that's impracticable, you have been warned that some things |
8120 | 7743 | may break. |
8121 | 7744 | |
8122 | 7745 | =end original |
8123 | 7746 | |
8124 | 7747 | これが起きた場合、異なるロケールを使うように変更するか、 |
8125 | 7748 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に |
8126 | 7749 | できることはあまりありません; もしそれができないなら、 |
8127 | 7750 | あなたは何かが壊れるかもしれないことを警告されました。 |
8128 | 7751 | |
8129 | 7752 | =begin original |
8130 | 7753 | |
8131 | 7754 | This message is output once each time a bad locale is switched into |
8132 | 7755 | within the scope of C<S<use locale>>, or on the first possibly-affected |
8133 | 7756 | operation if the C<S<use locale>> inherits a bad one. It is not raised |
8134 | 7757 | for any operations from the L<POSIX> module. |
8135 | 7758 | |
8136 | 7759 | =end original |
8137 | 7760 | |
8138 | 7761 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった |
8139 | 7762 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は |
8140 | 7763 | 最初の影響があるかもしれない操作の時点で出力されます。 |
8141 | 7764 | これは L<POSIX> モジュールの操作では発生しません。 |
8142 | 7765 | |
8143 | 7766 | =item localtime(%f) failed |
8144 | 7767 | |
8145 | 7768 | =begin original |
8146 | 7769 | |
8147 | 7770 | (W overflow) You called C<localtime> with a number that it could not handle: |
8148 | 7771 | too large, too small, or NaN. The returned value is C<undef>. |
8149 | 7772 | |
8150 | 7773 | =end original |
8151 | 7774 | |
8152 | 7775 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり |
8153 | 7776 | 小さすぎたり NaN だったりです。 |
8154 | 7777 | 返り値は C<undef> です。 |
8155 | 7778 | |
8156 | 7779 | =item localtime(%f) too large |
8157 | 7780 | |
8158 | 7781 | =begin original |
8159 | 7782 | |
8160 | 7783 | (W overflow) You called C<localtime> with a number that was larger |
8161 | 7784 | than it can reliably handle and C<localtime> probably returned the |
8162 | 7785 | wrong date. This warning is also triggered with NaN (the special |
8163 | 7786 | not-a-number value). |
8164 | 7787 | |
8165 | 7788 | =end original |
8166 | 7789 | |
8167 | 7790 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので |
8168 | 7791 | C<localtime> はおそらく間違った日付を返します。 |
8169 | 7792 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
8170 | 7793 | |
8171 | 7794 | =item localtime(%f) too small |
8172 | 7795 | |
8173 | 7796 | =begin original |
8174 | 7797 | |
8175 | 7798 | (W overflow) You called C<localtime> with a number that was smaller |
8176 | 7799 | than it can reliably handle and C<localtime> probably returned the |
8177 | 7800 | wrong date. |
8178 | 7801 | |
8179 | 7802 | =end original |
8180 | 7803 | |
8181 | 7804 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので |
8182 | 7805 | C<localtime> はおそらく間違った日付を返します。 |
8183 | 7806 | |
8184 | 7807 | =item Lookbehind longer than %d not implemented in regex m/%s/ |
8185 | 7808 | |
8186 | 7809 | =begin original |
8187 | 7810 | |
8188 | 7811 | (F) There is currently a limit on the length of string which lookbehind can |
8189 | 7812 | handle. This restriction may be eased in a future release. |
8190 | 7813 | |
8191 | 7814 | =end original |
8192 | 7815 | |
8193 | 7816 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 |
8194 | 7817 | この制限は将来のリリースでは緩和されるでしょう。 |
8195 | 7818 | |
8196 | 7819 | =item Lost precision when %s %f by 1 |
8197 | 7820 | |
8198 | 7821 | =begin original |
8199 | 7822 | |
8200 | (W imprecision) | |
7823 | (W imprecision) The value you attempted to increment or decrement by one | |
8201 | ||
7824 | is too large for the underlying floating point representation to store | |
8202 | ||
7825 | accurately, hence the target of C<++> or C<--> is unchanged. Perl issues this | |
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 | 7826 | warning because it has already switched from integers to floating point |
8207 | 7827 | when values are too large for integers, and now even floating point is |
8208 | 7828 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. |
8209 | 7829 | |
8210 | 7830 | =end original |
8211 | 7831 | |
8212 | (W imprecision) | |
7832 | (W imprecision) インクリメントまたはデクリメントしようとしている値は、 | |
8213 | ||
7833 | 基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎるので、 | |
8214 | ||
7834 | C<++> や C<--> のターゲットは変更されません。 | |
8215 | これは 0 (つまりターゲットは変更されない) であったり、丸めによって 2 で | |
8216 | あったりします。 | |
8217 | 7835 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に |
8218 | 7836 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 |
8219 | 7837 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 |
8220 | 7838 | |
8221 | 7839 | =item lstat() on filehandle%s |
8222 | 7840 | |
8223 | 7841 | =begin original |
8224 | 7842 | |
8225 | 7843 | (W io) You tried to do an lstat on a filehandle. What did you mean |
8226 | 7844 | by that? lstat() makes sense only on filenames. (Perl did a fstat() |
8227 | 7845 | instead on the filehandle.) |
8228 | 7846 | |
8229 | 7847 | =end original |
8230 | 7848 | |
8231 | 7849 | (W io) ファイルハンドルに lstat を実行しようとしました。 |
8232 | 7850 | これで何をしようとしたのですか? |
8233 | 7851 | lstat() はファイル名に対してのみ意味があります。 |
8234 | 7852 | (Perl はファイルハンドルには代わりに fstat() を行いました。) |
8235 | 7853 | |
8236 | 7854 | =item lvalue attribute %s already-defined subroutine |
8237 | 7855 | |
8238 | 7856 | =begin original |
8239 | 7857 | |
8240 | 7858 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue |
8241 | 7859 | attribute on or off on a Perl subroutine that is already defined |
8242 | 7860 | does not always work properly. It may or may not do what you |
8243 | 7861 | want, depending on what code is inside the subroutine, with exact |
8244 | 7862 | details subject to change between Perl versions. Only do this |
8245 | 7863 | if you really know what you are doing. |
8246 | 7864 | |
8247 | 7865 | =end original |
8248 | 7866 | |
8249 | 7867 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に |
8250 | 7868 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは |
8251 | 7869 | 常に適切に動作するわけではありません。 |
8252 | 7870 | あなたの望むことが行われるかもしれませんし行われないかもしれません; |
8253 | 7871 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は |
8254 | 7872 | Perl バージョン間で変更されることがあります。 |
8255 | 7873 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 |
8256 | 7874 | |
8257 | 7875 | =item lvalue attribute ignored after the subroutine has been defined |
8258 | 7876 | |
8259 | 7877 | =begin original |
8260 | 7878 | |
8261 | 7879 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl |
8262 | 7880 | subroutine an lvalue subroutine after it has been defined is |
8263 | 7881 | not permitted. To make the subroutine an lvalue subroutine, |
8264 | 7882 | add the lvalue attribute to the definition, or put the C<sub |
8265 | 7883 | foo :lvalue;> declaration before the definition. |
8266 | 7884 | |
8267 | 7885 | =end original |
8268 | 7886 | |
8269 | 7887 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに |
8270 | 7888 | するために C<:lvalue> 宣言文を使うことはできません。 |
8271 | 7889 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 |
8272 | 7890 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 |
8273 | 7891 | |
8274 | 7892 | =begin original |
8275 | 7893 | |
8276 | 7894 | See also L<attributes.pm|attributes>. |
8277 | 7895 | |
8278 | 7896 | =end original |
8279 | 7897 | |
8280 | 7898 | L<attributes.pm|attributes> も参照してください。 |
8281 | 7899 | |
8282 | 7900 | =item Magical list constants are not supported |
8283 | 7901 | |
8284 | 7902 | =begin original |
8285 | 7903 | |
8286 | 7904 | (F) You assigned a magical array to a stash element, and then tried |
8287 | 7905 | to use the subroutine from the same slot. You are asking Perl to do |
8288 | 7906 | something it cannot do, details subject to change between Perl versions. |
8289 | 7907 | |
8290 | 7908 | =end original |
8291 | 7909 | |
8292 | 7910 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから |
8293 | 7911 | サブルーチンを使おうとしました。 |
8294 | 7912 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを |
8295 | 7913 | Perl にさせようとしました。 |
8296 | 7914 | |
8297 | 7915 | =item Malformed integer in [] in pack |
8298 | 7916 | |
8299 | 7917 | =begin original |
8300 | 7918 | |
8301 | 7919 | (F) Between the brackets enclosing a numeric repeat count only digits |
8302 | 7920 | are permitted. See L<perlfunc/pack>. |
8303 | 7921 | |
8304 | 7922 | =end original |
8305 | 7923 | |
8306 | 7924 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
8307 | 7925 | L<perlfunc/pack> を参照してください。 |
8308 | 7926 | |
8309 | 7927 | =item Malformed integer in [] in unpack |
8310 | 7928 | |
8311 | 7929 | =begin original |
8312 | 7930 | |
8313 | 7931 | (F) Between the brackets enclosing a numeric repeat count only digits |
8314 | 7932 | are permitted. See L<perlfunc/pack>. |
8315 | 7933 | |
8316 | 7934 | =end original |
8317 | 7935 | |
8318 | 7936 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
8319 | 7937 | L<perlfunc/pack> を参照してください。 |
8320 | 7938 | |
8321 | 7939 | =item Malformed PERLLIB_PREFIX |
8322 | 7940 | |
8323 | 7941 | =begin original |
8324 | 7942 | |
8325 | 7943 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
8326 | 7944 | |
8327 | 7945 | =end original |
8328 | 7946 | |
8329 | 7947 | (F) OS/2 固有のエラーです。 |
8330 | 7948 | PERLLIB_PREFIX は以下のような形か: |
8331 | 7949 | |
8332 | 7950 | prefix1;prefix2 |
8333 | 7951 | |
8334 | 7952 | =begin original |
8335 | 7953 | |
8336 | 7954 | or |
8337 | 7955 | prefix1 prefix2 |
8338 | 7956 | |
8339 | 7957 | =end original |
8340 | 7958 | |
8341 | 7959 | または |
8342 | 7960 | prefix1 prefix2 |
8343 | 7961 | |
8344 | 7962 | =begin original |
8345 | 7963 | |
8346 | 7964 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
8347 | 7965 | a builtin library search path, prefix2 is substituted. The error may |
8348 | 7966 | appear if components are not found, or are too long. See |
8349 | 7967 | "PERLLIB_PREFIX" in L<perlos2>. |
8350 | 7968 | |
8351 | 7969 | =end original |
8352 | 7970 | |
8353 | 7971 | prefix1 と prefix2 が空でない形である必要があります。 |
8354 | 7972 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
8355 | 7973 | prefix2 は置き換えられます。 |
8356 | 7974 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
8357 | 7975 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
8358 | 7976 | |
8359 | 7977 | =item Malformed prototype for %s: %s |
8360 | 7978 | |
8361 | 7979 | =begin original |
8362 | 7980 | |
8363 | 7981 | (F) You tried to use a function with a malformed prototype. The |
8364 | 7982 | syntax of function prototypes is given a brief compile-time check for |
8365 | 7983 | obvious errors like invalid characters. A more rigorous check is run |
8366 | 7984 | when the function is called. |
8367 | 7985 | Perhaps the function's author was trying to write a subroutine signature |
8368 | 7986 | but didn't enable that feature first (C<use feature 'signatures'>), |
8369 | 7987 | so the signature was instead interpreted as a bad prototype. |
8370 | 7988 | |
8371 | 7989 | =end original |
8372 | 7990 | |
8373 | 7991 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 |
8374 | 7992 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては |
8375 | 7993 | コンパイル時にチェックされます。 |
8376 | 7994 | より厳密なチェックは、関数が呼び出された時に実行されます。 |
8377 | 7995 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 |
8378 | 7996 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 |
8379 | 7997 | シグネチャは間違ったプロトタイプとして解釈されました。 |
8380 | 7998 | |
8381 | 7999 | =item Malformed UTF-8 character%s |
8382 | 8000 | |
8383 | 8001 | =begin original |
8384 | 8002 | |
8385 | 8003 | (S utf8)(F) Perl detected a string that should be UTF-8, but didn't |
8386 | 8004 | comply with UTF-8 encoding rules, or represents a code point whose |
8387 | 8005 | ordinal integer value doesn't fit into the word size of the current |
8388 | 8006 | platform (overflows). Details as to the exact malformation are given in |
8389 | 8007 | the variable, C<%s>, part of the message. |
8390 | 8008 | |
8391 | 8009 | =end original |
8392 | 8010 | |
8393 | 8011 | (S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、 |
8394 | 8012 | UTF-8 エンコーディング規則に従わない、 |
8395 | 8013 | あるいは序数が現在のプラットフォームのワードサイズに収まらない |
8396 | 8014 | (オーバーフローする)符号位置を表現する文字列を検出しました。 |
8397 | 8015 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 |
8398 | 8016 | |
8399 | 8017 | =begin original |
8400 | 8018 | |
8401 | 8019 | 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 | |
8020 | you thought to be in UTF-8 but it wasn't (it was for example legacy | |
8403 | data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
8021 | 8-bit data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
8404 | 8022 | |
8405 | 8023 | =end original |
8406 | 8024 | |
8407 | 8025 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ |
8408 | 8026 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした |
8409 | 8027 | ことです。 |
8410 | 8028 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 |
8411 | 8029 | |
8412 | 8030 | =begin original |
8413 | 8031 | |
8414 | 8032 | 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 | |
8033 | sequences are handled gracefully, but if you use C<:utf8>, the flag is | |
8416 | without validating the data, possibly resulting in this error | |
8034 | set without validating the data, possibly resulting in this error | |
8035 | message. | |
8417 | 8036 | |
8418 | 8037 | =end original |
8419 | 8038 | |
8420 | 8039 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは |
8421 | 8040 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 |
8422 | 8041 | おそらく結果としてこのエラーメッセージが出力されます。 |
8423 | 8042 | |
8424 | 8043 | =begin original |
8425 | 8044 | |
8426 | 8045 | See also L<Encode/"Handling Malformed Data">. |
8427 | 8046 | |
8428 | 8047 | =end original |
8429 | 8048 | |
8430 | 8049 | L<Encode/"Handling Malformed Data"> も参照してください。 |
8431 | 8050 | |
8432 | 8051 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' |
8433 | 8052 | |
8434 | 8053 | =begin original |
8435 | 8054 | |
8436 | 8055 | (F) The charnames handler returned malformed UTF-8. |
8437 | 8056 | |
8438 | 8057 | =end original |
8439 | 8058 | |
8440 | 8059 | (F) charnames ハンドラが不正な UTF-8 を返しました。 |
8441 | 8060 | |
8442 | =item Malformed UTF-8 string in | |
8061 | =item Malformed UTF-8 string in '%c' format in unpack | |
8443 | 8062 | |
8444 | 8063 | =begin original |
8445 | 8064 | |
8446 | (F) | |
8065 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
8447 | ||
8066 | rules and perl was unable to guess how to make more progress. | |
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 | 8067 | |
8454 | 8068 | =end original |
8455 | 8069 | |
8456 | (F) | |
8070 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
8457 | ||
8071 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8458 | そのコードは、UTF-8 として内部でエンコードされて | |
8459 | 保管されているということになっているある文字が、 | |
8460 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
8461 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
8462 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
8463 | 決めるために使われる文字列で置き換えられます。 | |
8464 | 8072 | |
8073 | =item Malformed UTF-8 string in pack | |
8074 | ||
8465 | 8075 | =begin original |
8466 | 8076 | |
8467 | ||
8077 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
8468 | ||
8078 | rules and perl was unable to guess how to make more progress. | |
8469 | 8079 | |
8470 | 8080 | =end original |
8471 | 8081 | |
8472 | ||
8082 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
8473 | ||
8083 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8474 | 8084 | |
8475 | =item Malformed UTF-8 string in | |
8085 | =item Malformed UTF-8 string in unpack | |
8476 | 8086 | |
8477 | 8087 | =begin original |
8478 | 8088 | |
8479 | 8089 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
8480 | 8090 | rules and perl was unable to guess how to make more progress. |
8481 | 8091 | |
8482 | 8092 | =end original |
8483 | 8093 | |
8484 | 8094 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
8485 | 8095 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
8486 | 8096 | |
8487 | =item Malformed UTF-8 string in | |
8097 | =item Malformed UTF-8 string in "%s" | |
8488 | 8098 | |
8489 | 8099 | =begin original |
8490 | 8100 | |
8491 | (F) | |
8101 | (F) This message indicates a bug either in the Perl core or in XS | |
8492 | ||
8102 | code. Such code was trying to find out if a character, allegedly | |
8103 | stored internally encoded as UTF-8, was of a given type, such as | |
8104 | being punctuation or a digit. But the character was not encoded | |
8105 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
8106 | by knowledgeable people to determine what the type being checked | |
8107 | against was. | |
8493 | 8108 | |
8494 | 8109 | =end original |
8495 | 8110 | |
8496 | (F) | |
8111 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
8497 | ||
8112 | 示しています。 | |
8113 | そのコードは、UTF-8 として内部でエンコードされて | |
8114 | 保管されているということになっているある文字が、 | |
8115 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
8116 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
8117 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
8118 | 決めるために使われる文字列で置き換えられます。 | |
8498 | 8119 | |
8499 | =item Malformed UTF-8 string in unpack | |
8500 | ||
8501 | 8120 | =begin original |
8502 | 8121 | |
8503 | ||
8122 | Passing malformed strings was deprecated in Perl 5.18, and | |
8504 | ||
8123 | became fatal in Perl 5.26. | |
8505 | 8124 | |
8506 | 8125 | =end original |
8507 | 8126 | |
8508 | ||
8127 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
8509 | ||
8128 | Perl 5.26 で致命的エラーになりました。 | |
8510 | 8129 | |
8511 | 8130 | =item Malformed UTF-16 surrogate |
8512 | 8131 | |
8513 | 8132 | =begin original |
8514 | 8133 | |
8515 | 8134 | (F) Perl thought it was reading UTF-16 encoded character data but while |
8516 | 8135 | doing it Perl met a malformed Unicode surrogate. |
8517 | 8136 | |
8518 | 8137 | =end original |
8519 | 8138 | |
8520 | 8139 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 |
8521 | 8140 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
8522 | 8141 | |
8523 | 8142 | =item Mandatory parameter follows optional parameter |
8524 | 8143 | |
8525 | 8144 | =begin original |
8526 | 8145 | |
8527 | 8146 | (F) In a subroutine signature, you wrote something like "$a = undef, |
8528 | 8147 | $b", making an earlier parameter optional and a later one mandatory. |
8529 | 8148 | Parameters are filled from left to right, so it's impossible for the |
8530 | 8149 | caller to omit an earlier one and pass a later one. If you want to act |
8531 | 8150 | as if the parameters are filled from right to left, declare the rightmost |
8532 | 8151 | optional and then shuffle the parameters around in the subroutine's body. |
8533 | 8152 | |
8534 | 8153 | =end original |
8535 | 8154 | |
8536 | 8155 | (F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が |
8537 | 8156 | オプションで後の引数が必須のようなものを書きました。 |
8538 | 8157 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに |
8539 | 8158 | 渡すことは不可能です。 |
8540 | 8159 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を |
8541 | 8160 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 |
8542 | 8161 | |
8543 | 8162 | =item Matched non-Unicode code point 0x%X against Unicode property; may |
8544 | 8163 | not be portable |
8545 | 8164 | |
8546 | 8165 | =begin original |
8547 | 8166 | |
8548 | 8167 | (S non_unicode) Perl allows strings to contain a superset of |
8549 | 8168 | 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 | |
8169 | in an unsigned integer on your system, but these may not be accepted by | |
8551 | 8170 | other languages/systems. This message occurs when you matched a string |
8552 | 8171 | containing such a code point against a regular expression pattern, and |
8553 | 8172 | the code point was matched against a Unicode property, C<\p{...}> or |
8554 | 8173 | C<\P{...}>. Unicode properties are only defined on Unicode code points, |
8555 | 8174 | so the result of this match is undefined by Unicode, but Perl (starting |
8556 | 8175 | in v5.20) treats non-Unicode code points as if they were typical |
8557 | 8176 | unassigned Unicode ones, and matched this one accordingly. Whether a |
8558 | 8177 | given property matches these code points or not is specified in |
8559 | 8178 | L<perluniprops/Properties accessible through \p{} and \P{}>. |
8560 | 8179 | |
8561 | 8180 | =end original |
8562 | 8181 | |
8563 | 8182 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を |
8564 | 含むことができます; それぞれの符号位置はシステムの符号 | |
8183 | 含むことができます; それぞれの符号位置はシステムの符号なし整数に | |
8565 | 8184 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは |
8566 | 8185 | 受け付けられないかも知れません。 |
8567 | 8186 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで |
8568 | 8187 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と |
8569 | 8188 | マッチングしたときに発生します。 |
8570 | 8189 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 |
8571 | 8190 | Unicode によればこのマッチングの結果は未定義ですが、 |
8572 | 8191 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て |
8573 | 8192 | Unicode 符号位置として扱い、それぞれマッチングします。 |
8574 | 8193 | 指定された特性がこれらの符号位置にマッチングするかどうかは |
8575 | 8194 | L<perluniprops/Properties accessible through \p{} and \P{}> で |
8576 | 8195 | 指定されています。 |
8577 | 8196 | |
8578 | 8197 | =begin original |
8579 | 8198 | |
8580 | 8199 | This message is suppressed (unless it has been made fatal) if it is |
8581 | 8200 | immaterial to the results of the match if the code point is Unicode or |
8582 | 8201 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match |
8583 | 8202 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, |
8584 | 8203 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match |
8585 | 8204 | every code point except these 22.) |
8586 | 8205 | |
8587 | 8206 | =end original |
8588 | 8207 | |
8589 | 8208 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない |
8590 | 8209 | 場合は、(致命的にしていない限り)抑制されます。 |
8591 | 8210 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに |
8592 | 8211 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 |
8593 | 8212 | マッチングしません。 |
8594 | 8213 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に |
8595 | 8214 | マッチングします。) |
8596 | 8215 | |
8597 | 8216 | =begin original |
8598 | 8217 | |
8599 | 8218 | Getting this message indicates that the outcome of the match arguably |
8600 | 8219 | should have been the opposite of what actually happened. If you think |
8601 | 8220 | that is the case, you may wish to make the C<non_unicode> warnings |
8602 | 8221 | category fatal; if you agree with Perl's decision, you may wish to turn |
8603 | 8222 | off this category. |
8604 | 8223 | |
8605 | 8224 | =end original |
8606 | 8225 | |
8607 | 8226 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と |
8608 | 8227 | 逆になっているはずだということを示しています。 |
8609 | 8228 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを |
8610 | 8229 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを |
8611 | 8230 | オフにした方がよいでしょう。 |
8612 | 8231 | |
8613 | 8232 | =begin original |
8614 | 8233 | |
8615 | 8234 | See L<perlunicode/Beyond Unicode code points> for more information. |
8616 | 8235 | |
8617 | 8236 | =end original |
8618 | 8237 | |
8619 | 8238 | さらなる情報については L<perlunicode/Beyond Unicode code points> を |
8620 | 8239 | 参照してください。 |
8621 | 8240 | |
8622 | 8241 | =item %s matches null string many times in regex; marked by S<<-- HERE> in |
8623 | 8242 | m/%s/ |
8624 | 8243 | |
8625 | 8244 | =begin original |
8626 | 8245 | |
8627 | 8246 | (W regexp) The pattern you've specified would be an infinite loop if the |
8628 | 8247 | regular expression engine didn't specifically check for that. The S<<-- HERE> |
8629 | 8248 | shows whereabouts in the regular expression the problem was discovered. |
8630 | 8249 | See L<perlre>. |
8631 | 8250 | |
8632 | 8251 | =end original |
8633 | 8252 | |
8634 | 8253 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
8635 | 8254 | 行なっていなければ、無限ループに陥るものです。 |
8636 | 8255 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
8637 | 8256 | L<perlre> を参照してください。 |
8638 | 8257 | |
8639 | 8258 | =item Maximal count of pending signals (%u) exceeded |
8640 | 8259 | |
8641 | 8260 | =begin original |
8642 | 8261 | |
8643 | 8262 | (F) Perl aborted due to too high a number of signals pending. This |
8644 | 8263 | usually indicates that your operating system tried to deliver signals |
8645 | 8264 | too fast (with a very high priority), starving the perl process from |
8646 | 8265 | resources it would need to reach a point where it can process signals |
8647 | 8266 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) |
8648 | 8267 | |
8649 | 8268 | =end original |
8650 | 8269 | |
8651 | 8270 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 |
8652 | 8271 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 |
8653 | 8272 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な |
8654 | 8273 | リソースが不足したことを示しています。 |
8655 | 8274 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) |
8656 | 8275 | |
8657 | 8276 | =item "%s" may clash with future reserved word |
8658 | 8277 | |
8659 | 8278 | =begin original |
8660 | 8279 | |
8661 | 8280 | (W) This warning may be due to running a perl5 script through a perl4 |
8662 | 8281 | interpreter, especially if the word that is being warned about is |
8663 | 8282 | "use" or "my". |
8664 | 8283 | |
8665 | 8284 | =end original |
8666 | 8285 | |
8667 | 8286 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした |
8668 | 8287 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は |
8669 | 8288 | そうです。 |
8670 | 8289 | |
8671 | 8290 | =item '%' may not be used in pack |
8672 | 8291 | |
8673 | 8292 | =begin original |
8674 | 8293 | |
8675 | 8294 | (F) You can't pack a string by supplying a checksum, because the |
8676 | 8295 | checksumming process loses information, and you can't go the other way. |
8677 | 8296 | See L<perlfunc/unpack>. |
8678 | 8297 | |
8679 | 8298 | =end original |
8680 | 8299 | |
8681 | 8300 | (F) チェックサムを指定して pack を行なうことはできません; |
8682 | 8301 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
8683 | 8302 | L<perlfunc/unpack> を参照してください。 |
8684 | 8303 | |
8685 | 8304 | =item Method for operation %s not found in package %s during blessing |
8686 | 8305 | |
8687 | 8306 | =begin original |
8688 | 8307 | |
8689 | 8308 | (F) An attempt was made to specify an entry in an overloading table that |
8690 | 8309 | doesn't resolve to a valid subroutine. See L<overload>. |
8691 | 8310 | |
8692 | 8311 | =end original |
8693 | 8312 | |
8694 | 8313 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
8695 | 8314 | エントリを指定しようとしました。 |
8696 | 8315 | L<overload> を参照してください。 |
8697 | 8316 | |
8698 | 8317 | =item Method %s not permitted |
8699 | 8318 | |
8700 | 8319 | =begin original |
8701 | 8320 | |
8702 | 8321 | See L</500 Server error>. |
8703 | 8322 | |
8704 | 8323 | =end original |
8705 | 8324 | |
8706 | 8325 | L</500 Server error> を参照してください。 |
8707 | 8326 | |
8708 | 8327 | =item Might be a runaway multi-line %s string starting on line %d |
8709 | 8328 | |
8710 | 8329 | =begin original |
8711 | 8330 | |
8712 | 8331 | (S) An advisory indicating that the previous error may have been caused |
8713 | 8332 | by a missing delimiter on a string or pattern, because it eventually |
8714 | 8333 | ended earlier on the current line. |
8715 | 8334 | |
8716 | 8335 | =end original |
8717 | 8336 | |
8718 | 8337 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
8719 | 8338 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
8720 | 8339 | 起ったかもしれないことを、補足的に示しています。 |
8721 | 8340 | |
8722 | 8341 | =item Misplaced _ in number |
8723 | 8342 | |
8724 | 8343 | =begin original |
8725 | 8344 | |
8726 | 8345 | (W syntax) An underscore (underbar) in a numeric constant did not |
8727 | 8346 | separate two digits. |
8728 | 8347 | |
8729 | 8348 | =end original |
8730 | 8349 | |
8731 | 8350 | (W syntax) 数値定数の下線が、二つの値を分離していません。 |
8732 | 8351 | |
8733 | =item Missing argument for %n in %s | |
8734 | ||
8735 | =begin original | |
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 | 8352 | =item Missing argument in %s |
8746 | 8353 | |
8747 | 8354 | =begin original |
8748 | 8355 | |
8749 | 8356 | (W missing) You called a function with fewer arguments than other |
8750 | 8357 | arguments you supplied indicated would be needed. |
8751 | 8358 | |
8752 | 8359 | =end original |
8753 | 8360 | |
8754 | 8361 | (W missing) 他で指定した引数によって必要であると示されているよりも |
8755 | 8362 | 少ない引数で関数を呼び出しました。 |
8756 | 8363 | |
8757 | 8364 | =begin original |
8758 | 8365 | |
8759 | 8366 | Currently only emitted when a printf-type format required more |
8760 | 8367 | arguments than were supplied, but might be used in the future for |
8761 | 8368 | other cases where we can statically determine that arguments to |
8762 | 8369 | functions are missing, e.g. for the L<perlfunc/pack> function. |
8763 | 8370 | |
8764 | 8371 | =end original |
8765 | 8372 | |
8766 | 8373 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を |
8767 | 8374 | 要求した場合にのみ発生しますが、 |
8768 | 8375 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる |
8769 | 8376 | その他の場合に使われるかもしれません。 |
8770 | 8377 | |
8771 | 8378 | =item Missing argument to -%c |
8772 | 8379 | |
8773 | 8380 | =begin original |
8774 | 8381 | |
8775 | 8382 | (F) The argument to the indicated command line switch must follow |
8776 | 8383 | immediately after the switch, without intervening spaces. |
8777 | 8384 | |
8778 | 8385 | =end original |
8779 | 8386 | |
8780 | 8387 | (F) 示されたコマンドラインスイッチの引数は、 |
8781 | 8388 | スイッチの直後にスペースを空けないで書く必要があります。 |
8782 | 8389 | |
8783 | 8390 | =item Missing braces on \N{} |
8784 | 8391 | |
8785 | 8392 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ |
8786 | 8393 | |
8787 | 8394 | =begin original |
8788 | 8395 | |
8789 | 8396 | (F) Wrong syntax of character name literal C<\N{charname}> within |
8790 | 8397 | double-quotish context. This can also happen when there is a space |
8791 | 8398 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. |
8792 | 8399 | This modifier does not change the requirement that the brace immediately |
8793 | 8400 | follow the C<\N>. |
8794 | 8401 | |
8795 | 8402 | =end original |
8796 | 8403 | |
8797 | 8404 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
8798 | 8405 | 文法が間違っています。 |
8799 | 8406 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または |
8800 | 8407 | コメント)がある場合にも起こります。 |
8801 | 8408 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 |
8802 | 8409 | |
8803 | 8410 | =item Missing braces on \o{} |
8804 | 8411 | |
8805 | 8412 | =begin original |
8806 | 8413 | |
8807 | 8414 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. |
8808 | 8415 | |
8809 | 8416 | =end original |
8810 | 8417 | |
8811 | 8418 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が |
8812 | 8419 | 引き続かなければなりません。 |
8813 | 8420 | |
8814 | 8421 | =item Missing comma after first argument to %s function |
8815 | 8422 | |
8816 | 8423 | =begin original |
8817 | 8424 | |
8818 | 8425 | (F) While certain functions allow you to specify a filehandle or an |
8819 | 8426 | "indirect object" before the argument list, this ain't one of them. |
8820 | 8427 | |
8821 | 8428 | =end original |
8822 | 8429 | |
8823 | 8430 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
8824 | 8431 | 「間接オブジェクト」をおくことができますが、この関数は、 |
8825 | 8432 | そういったものではありません。 |
8826 | 8433 | |
8827 | 8434 | =item Missing command in piped open |
8828 | 8435 | |
8829 | 8436 | =begin original |
8830 | 8437 | |
8831 | 8438 | (W pipe) You used the C<open(FH, "| command")> or |
8832 | 8439 | C<open(FH, "command |")> construction, but the command was missing or |
8833 | 8440 | blank. |
8834 | 8441 | |
8835 | 8442 | =end original |
8836 | 8443 | |
8837 | 8444 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
8838 | 8445 | 使っていますが、コマンドが指定されていないか空白です。 |
8839 | 8446 | |
8840 | 8447 | =item Missing control char name in \c |
8841 | 8448 | |
8842 | 8449 | =begin original |
8843 | 8450 | |
8844 | 8451 | (F) A double-quoted string ended with "\c", without the required control |
8845 | 8452 | character name. |
8846 | 8453 | |
8847 | 8454 | =end original |
8848 | 8455 | |
8849 | 8456 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が |
8850 | 8457 | 必要です。 |
8851 | 8458 | |
8852 | 8459 | =item Missing ']' in prototype for %s : %s |
8853 | 8460 | |
8854 | 8461 | =begin original |
8855 | 8462 | |
8856 | 8463 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. |
8857 | 8464 | |
8858 | 8465 | =end original |
8859 | 8466 | |
8860 | 8467 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で |
8861 | 8468 | 閉じられませんでした。 |
8862 | 8469 | |
8863 | 8470 | =item Missing name in "%s sub" |
8864 | 8471 | |
8865 | 8472 | =begin original |
8866 | 8473 | |
8867 | 8474 | (F) The syntax for lexically scoped subroutines requires that |
8868 | 8475 | they have a name with which they can be found. |
8869 | 8476 | |
8870 | 8477 | =end original |
8871 | 8478 | |
8872 | 8479 | (F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。 |
8873 | 8480 | |
8874 | 8481 | =item Missing $ on loop variable |
8875 | 8482 | |
8876 | 8483 | =begin original |
8877 | 8484 | |
8878 | 8485 | (F) Apparently you've been programming in B<csh> too much. Variables |
8879 | 8486 | are always mentioned with the $ in Perl, unlike in the shells, where it |
8880 | 8487 | can vary from one line to the next. |
8881 | 8488 | |
8882 | 8489 | =end original |
8883 | 8490 | |
8884 | 8491 | (F) B<csh> を使いすぎた症状が現れているようです。 |
8885 | 8492 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは |
8886 | 8493 | 違っています。 |
8887 | 8494 | |
8888 | 8495 | =item (Missing operator before %s?) |
8889 | 8496 | |
8890 | 8497 | =begin original |
8891 | 8498 | |
8892 | 8499 | (S syntax) This is an educated guess made in conjunction with the message |
8893 | 8500 | "%s found where operator expected". Often the missing operator is a comma. |
8894 | 8501 | |
8895 | 8502 | =end original |
8896 | 8503 | |
8897 | 8504 | (S syntax) これは "%s found where operator expected" メッセージと共に |
8898 | 8505 | 表示される教育的な推測です。 |
8899 | 8506 | しばしば不足している演算子はカンマです。 |
8900 | 8507 | |
8901 | 8508 | =item Missing or undefined argument to %s |
8902 | 8509 | |
8903 | 8510 | =begin original |
8904 | 8511 | |
8905 | 8512 | (F) You tried to call require or do with no argument or with an undefined |
8906 | 8513 | value as an argument. Require expects either a package name or a |
8907 | 8514 | file-specification as an argument; do expects a filename. See |
8908 | 8515 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. |
8909 | 8516 | |
8910 | 8517 | =end original |
8911 | 8518 | |
8912 | 8519 | (F) 引数なし、または未定義値を引数として require や do を |
8913 | 8520 | 呼び出そうとしました。 |
8914 | 8521 | require はパッケージ名またはファイル指定を引数として想定します; |
8915 | 8522 | do はファイル名を想定します。 |
8916 | 8523 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 |
8917 | 8524 | |
8918 | 8525 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ |
8919 | 8526 | |
8920 | 8527 | =begin original |
8921 | 8528 | |
8922 | 8529 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. |
8923 | 8530 | |
8924 | 8531 | =end original |
8925 | 8532 | |
8926 | 8533 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが |
8927 | 8534 | 抜けています。 |
8928 | 8535 | |
8929 | 8536 | =item Missing right brace on \N{} |
8930 | 8537 | |
8931 | 8538 | =item Missing right brace on \N{} or unescaped left brace after \N |
8932 | 8539 | |
8933 | 8540 | =begin original |
8934 | 8541 | |
8935 | 8542 | (F) C<\N> has two meanings. |
8936 | 8543 | |
8937 | 8544 | =end original |
8938 | 8545 | |
8939 | 8546 | (F) C<\N> には二つの意味があります。 |
8940 | 8547 | |
8941 | 8548 | =begin original |
8942 | 8549 | |
8943 | 8550 | The traditional one has it followed by a name enclosed in braces, |
8944 | 8551 | meaning the character (or sequence of characters) given by that |
8945 | 8552 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both |
8946 | 8553 | double-quoted strings and regular expression patterns. In patterns, |
8947 | 8554 | it doesn't have the meaning an unescaped C<*> does. |
8948 | 8555 | |
8949 | 8556 | =end original |
8950 | 8557 | |
8951 | 8558 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 |
8952 | 8559 | (または文字並び)を意味します。 |
8953 | 8560 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 |
8954 | 8561 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 |
8955 | 8562 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 |
8956 | 8563 | |
8957 | 8564 | =begin original |
8958 | 8565 | |
8959 | 8566 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) |
8960 | 8567 | in patterns, namely to match a non-newline character. (This is short |
8961 | 8568 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) |
8962 | 8569 | |
8963 | 8570 | =end original |
8964 | 8571 | |
8965 | 8572 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; |
8966 | 8573 | 非改行文字にマッチングします。 |
8967 | 8574 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって |
8968 | 8575 | 影響を受けません。) |
8969 | 8576 | |
8970 | 8577 | =begin original |
8971 | 8578 | |
8972 | 8579 | This can lead to some ambiguities. When C<\N> is not followed immediately |
8973 | 8580 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces |
8974 | 8581 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this |
8975 | 8582 | means to match the given quantity of non-newlines (in these examples, |
8976 | 8583 | 3; and 5 or more, respectively). In all other case, where there is a |
8977 | 8584 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. |
8978 | 8585 | |
8979 | 8586 | =end original |
8980 | 8587 | |
8981 | 8588 | これによりいくつかの曖昧さを引き起こします。 |
8982 | 8589 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 |
8983 | 8590 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に |
8984 | 8591 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と |
8985 | 8592 | 5 以上) にマッチングするという意味を仮定します。 |
8986 | 8593 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が |
8987 | 8594 | 求められていると仮定します。 |
8988 | 8595 | |
8989 | 8596 | =begin original |
8990 | 8597 | |
8991 | 8598 | However, if there is no matching C<}>, Perl doesn't know if it was |
8992 | 8599 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. |
8993 | 8600 | If you meant the former, add the right brace; if you meant the latter, |
8994 | 8601 | escape the brace with a backslash, like so: C<\N\{> |
8995 | 8602 | |
8996 | 8603 | =end original |
8997 | 8604 | |
8998 | 8605 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 |
8999 | 8606 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 |
9000 | 8607 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を |
9001 | 8608 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで |
9002 | 8609 | エスケープしてください。 |
9003 | 8610 | |
9004 | 8611 | =item Missing right curly or square bracket |
9005 | 8612 | |
9006 | 8613 | =begin original |
9007 | 8614 | |
9008 | 8615 | (F) The lexer counted more opening curly or square brackets than closing |
9009 | 8616 | ones. As a general rule, you'll find it's missing near the place you |
9010 | 8617 | were last editing. |
9011 | 8618 | |
9012 | 8619 | =end original |
9013 | 8620 | |
9014 | 8621 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも |
9015 | 8622 | 開き中かっこ(大かっこ)を多く発見しました。 |
9016 | 8623 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
9017 | 8624 | |
9018 | 8625 | =item (Missing semicolon on previous line?) |
9019 | 8626 | |
9020 | 8627 | =begin original |
9021 | 8628 | |
9022 | 8629 | (S syntax) This is an educated guess made in conjunction with the message |
9023 | 8630 | "%s found where operator expected". Don't automatically put a semicolon on |
9024 | 8631 | the previous line just because you saw this message. |
9025 | 8632 | |
9026 | 8633 | =end original |
9027 | 8634 | |
9028 | 8635 | (S syntax) これは "%s found where operator expected" メッセージと共に |
9029 | 8636 | 表示される教育的な推測です。 |
9030 | 8637 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは |
9031 | 8638 | しないでください。 |
9032 | 8639 | |
9033 | 8640 | =item Modification of a read-only value attempted |
9034 | 8641 | |
9035 | 8642 | =begin original |
9036 | 8643 | |
9037 | 8644 | (F) You tried, directly or indirectly, to change the value of a |
9038 | 8645 | constant. You didn't, of course, try "2 = 1", because the compiler |
9039 | 8646 | catches that. But an easy way to do the same thing is: |
9040 | 8647 | |
9041 | 8648 | =end original |
9042 | 8649 | |
9043 | 8650 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
9044 | 8651 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
9045 | 8652 | したわけではありません。 |
9046 | 8653 | しかし、同じことは以下のようにしても起こります。 |
9047 | 8654 | |
9048 | 8655 | sub mod { $_[0] = 1 } |
9049 | 8656 | mod(2); |
9050 | 8657 | |
9051 | 8658 | =begin original |
9052 | 8659 | |
9053 | 8660 | Another way is to assign to a substr() that's off the end of the string. |
9054 | 8661 | |
9055 | 8662 | =end original |
9056 | 8663 | |
9057 | 8664 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
9058 | 8665 | |
9059 | 8666 | =begin original |
9060 | 8667 | |
9061 | 8668 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
9062 | 8669 | is aliased to a constant in the look I<LIST>: |
9063 | 8670 | |
9064 | 8671 | =end original |
9065 | 8672 | |
9066 | 8673 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
9067 | 8674 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
9068 | 8675 | |
9069 | 8676 | $x = 1; |
9070 | 8677 | foreach my $n ($x, 2) { |
9071 | 8678 | $n *= 2; # modifies the $x, but fails on attempt to |
9072 | 8679 | } # modify the 2 |
9073 | 8680 | |
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 | ||
9084 | 8681 | =item Modification of non-creatable array value attempted, %s |
9085 | 8682 | |
9086 | 8683 | =begin original |
9087 | 8684 | |
9088 | 8685 | (F) You tried to make an array value spring into existence, and the |
9089 | 8686 | subscript was probably negative, even counting from end of the array |
9090 | 8687 | backwards. |
9091 | 8688 | |
9092 | 8689 | =end original |
9093 | 8690 | |
9094 | 8691 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の |
9095 | 8692 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 |
9096 | 8693 | |
9097 | 8694 | =item Modification of non-creatable hash value attempted, %s |
9098 | 8695 | |
9099 | 8696 | =begin original |
9100 | 8697 | |
9101 | 8698 | (P) You tried to make a hash value spring into existence, and it |
9102 | 8699 | couldn't be created for some peculiar reason. |
9103 | 8700 | |
9104 | 8701 | =end original |
9105 | 8702 | |
9106 | 8703 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
9107 | 8704 | できませんでした。 |
9108 | 8705 | |
9109 | 8706 | =item Module name must be constant |
9110 | 8707 | |
9111 | 8708 | =begin original |
9112 | 8709 | |
9113 | 8710 | (F) Only a bare module name is allowed as the first argument to a "use". |
9114 | 8711 | |
9115 | 8712 | =end original |
9116 | 8713 | |
9117 | 8714 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
9118 | 8715 | 裸の単語だけです。 |
9119 | 8716 | |
9120 | 8717 | =item Module name required with -%c option |
9121 | 8718 | |
9122 | 8719 | =begin original |
9123 | 8720 | |
9124 | 8721 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
9125 | you omitted the name of the module. Consult | |
8722 | you omitted the name of the module. Consult L<perlrun> for full details | |
9126 | ||
8723 | about C<-M> and C<-m>. | |
9127 | 8724 | |
9128 | 8725 | =end original |
9129 | 8726 | |
9130 | 8727 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
9131 | 8728 | 指示しますが、モジュール名がありませんでした。 |
9132 | C<-M> と C<-m> に関する完全な詳細については | |
8729 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 | |
9133 | L<perlrun|perlrun/-m[-]module> を参照してください。 | |
9134 | 8730 | |
9135 | 8731 | =item More than one argument to '%s' open |
9136 | 8732 | |
9137 | 8733 | =begin original |
9138 | 8734 | |
9139 | 8735 | (F) The C<open> function has been asked to open multiple files. This |
9140 | 8736 | can happen if you are trying to open a pipe to a command that takes a |
9141 | 8737 | list of arguments, but have forgotten to specify a piped open mode. |
9142 | 8738 | See L<perlfunc/open> for details. |
9143 | 8739 | |
9144 | 8740 | =end original |
9145 | 8741 | |
9146 | 8742 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 |
9147 | 8743 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ |
9148 | 8744 | オープンモードを指定するのを忘れた時に起きます。 |
9149 | 8745 | 詳細は L<perlfunc/open> を参照してください。 |
9150 | 8746 | |
9151 | 8747 | =item mprotect for COW string %p %u failed with %d |
9152 | 8748 | |
9153 | 8749 | =begin original |
9154 | 8750 | |
9155 | 8751 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see |
9156 | 8752 | L<perlguts/"Copy on Write">), but a shared string buffer |
9157 | 8753 | could not be made read-only. |
9158 | 8754 | |
9159 | 8755 | =end original |
9160 | 8756 | |
9161 | 8757 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で |
9162 | 8758 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 |
9163 | 8759 | |
9164 | 8760 | =item mprotect for %p %u failed with %d |
9165 | 8761 | |
9166 | 8762 | =begin original |
9167 | 8763 | |
9168 | 8764 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), |
9169 | 8765 | but an op tree could not be made read-only. |
9170 | 8766 | |
9171 | 8767 | =end original |
9172 | 8768 | |
9173 | 8769 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で |
9174 | 8770 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 |
9175 | 8771 | |
9176 | 8772 | =item mprotect RW for COW string %p %u failed with %d |
9177 | 8773 | |
9178 | 8774 | =begin original |
9179 | 8775 | |
9180 | 8776 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see |
9181 | 8777 | L<perlguts/"Copy on Write">), but a read-only shared string |
9182 | 8778 | buffer could not be made mutable. |
9183 | 8779 | |
9184 | 8780 | =end original |
9185 | 8781 | |
9186 | 8782 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で |
9187 | 8783 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に |
9188 | 8784 | できませんでした。 |
9189 | 8785 | |
9190 | 8786 | =item mprotect RW for %p %u failed with %d |
9191 | 8787 | |
9192 | 8788 | =begin original |
9193 | 8789 | |
9194 | 8790 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see |
9195 | 8791 | L<perlhacktips>), but a read-only op tree could not be made |
9196 | 8792 | mutable before freeing the ops. |
9197 | 8793 | |
9198 | 8794 | =end original |
9199 | 8795 | |
9200 | 8796 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で |
9201 | 8797 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に |
9202 | 8798 | ミュータブルにできませんでした。 |
9203 | 8799 | |
9204 | 8800 | =item msg%s not implemented |
9205 | 8801 | |
9206 | 8802 | =begin original |
9207 | 8803 | |
9208 | 8804 | (F) You don't have System V message IPC on your system. |
9209 | 8805 | |
9210 | 8806 | =end original |
9211 | 8807 | |
9212 | 8808 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
9213 | 8809 | |
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 | ||
9239 | 8810 | =item Multidimensional syntax %s not supported |
9240 | 8811 | |
9241 | 8812 | =begin original |
9242 | 8813 | |
9243 | 8814 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
9244 | 8815 | They're written like C<$foo[1][2][3]>, as in C. |
9245 | 8816 | |
9246 | 8817 | =end original |
9247 | 8818 | |
9248 | 8819 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
9249 | 8820 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
9250 | 8821 | |
9251 | 8822 | =item Multiple slurpy parameters not allowed |
9252 | 8823 | |
9253 | 8824 | =begin original |
9254 | 8825 | |
9255 | 8826 | (F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be |
9256 | 8827 | the last parameter, and there must not be more than one of them; for |
9257 | 8828 | example: |
9258 | 8829 | |
9259 | 8830 | =end original |
9260 | 8831 | |
9261 | 8832 | (F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は |
9262 | 8833 | 最後のパラメータでなければならず、複数あってはなりません; 例えば: |
9263 | 8834 | |
9264 | 8835 | sub foo ($a, @b) {} # legal |
9265 | 8836 | sub foo ($a, @b, %) {} # invalid |
9266 | 8837 | |
9267 | 8838 | =item '/' must follow a numeric type in unpack |
9268 | 8839 | |
9269 | 8840 | =begin original |
9270 | 8841 | |
9271 | 8842 | (F) You had an unpack template that contained a '/', but this did not |
9272 | 8843 | follow some unpack specification producing a numeric value. |
9273 | 8844 | See L<perlfunc/pack>. |
9274 | 8845 | |
9275 | 8846 | =end original |
9276 | 8847 | |
9277 | 8848 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの |
9278 | 8849 | 数値を生成する unpack 指定に引き続いていません。 |
9279 | 8850 | L<perlfunc/pack> を参照してください。 |
9280 | 8851 | |
9281 | 8852 | =item %s must not be a named sequence in transliteration operator |
9282 | 8853 | |
9283 | 8854 | =begin original |
9284 | 8855 | |
9285 | 8856 | (F) Transliteration (C<tr///> and C<y///>) transliterates individual |
9286 | 8857 | characters. But a named sequence by definition is more than an |
9287 | individual chara | |
8858 | individual charater, and hence doing this operation on it doesn't make | |
9288 | 8859 | sense. |
9289 | 8860 | |
9290 | 8861 | =end original |
9291 | 8862 | |
9292 | 8863 | (F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。 |
9293 | 8864 | しかし、定義による名前付き並びは個々の文字以上のものがあるので、 |
9294 | 8865 | それに対してこの操作をするのは意味がありません。 |
9295 | 8866 | |
9296 | 8867 | =item "my sub" not yet implemented |
9297 | 8868 | |
9298 | 8869 | =begin original |
9299 | 8870 | |
9300 | 8871 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
9301 | 8872 | that yet. |
9302 | 8873 | |
9303 | 8874 | =end original |
9304 | 8875 | |
9305 | 8876 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
9306 | 8877 | まだ試さないでください。 |
9307 | 8878 | |
9308 | 8879 | =item "my" subroutine %s can't be in a package |
9309 | 8880 | |
9310 | 8881 | =begin original |
9311 | 8882 | |
9312 | 8883 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make |
9313 | 8884 | sense to try to declare one with a package qualifier on the front. |
9314 | 8885 | |
9315 | 8886 | =end original |
9316 | 8887 | |
9317 | 8888 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 |
9318 | 8889 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
9319 | 8890 | |
9320 | 8891 | =item "my %s" used in sort comparison |
9321 | 8892 | |
9322 | 8893 | =begin original |
9323 | 8894 | |
9324 | 8895 | (W syntax) The package variables $a and $b are used for sort comparisons. |
9325 | 8896 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a |
9326 | 8897 | sort comparison block, and the variable had earlier been declared as a |
9327 | 8898 | lexical variable. Either qualify the sort variable with the package |
9328 | 8899 | name, or rename the lexical variable. |
9329 | 8900 | |
9330 | 8901 | =end original |
9331 | 8902 | |
9332 | 8903 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 |
9333 | 8904 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の |
9334 | 8905 | オペランドとして使いましたが、この変数はその前にレキシカル変数として |
9335 | 8906 | 宣言されています。 |
9336 | 8907 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 |
9337 | 8908 | |
9338 | 8909 | =item "my" variable %s can't be in a package |
9339 | 8910 | |
9340 | 8911 | =begin original |
9341 | 8912 | |
9342 | 8913 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
9343 | 8914 | sense to try to declare one with a package qualifier on the front. Use |
9344 | 8915 | local() if you want to localize a package variable. |
9345 | 8916 | |
9346 | 8917 | =end original |
9347 | 8918 | |
9348 | 8919 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 |
9349 | 8920 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
9350 | 8921 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
9351 | 8922 | |
9352 | 8923 | =item Name "%s::%s" used only once: possible typo |
9353 | 8924 | |
9354 | 8925 | =begin original |
9355 | 8926 | |
9356 | 8927 | (W once) Typographical errors often show up as unique variable |
9357 | 8928 | names. If you had a good reason for having a unique name, then |
9358 | 8929 | just mention it again somehow to suppress the message. The C<our> |
9359 | 8930 | declaration is also provided for this purpose. |
9360 | 8931 | |
9361 | 8932 | =end original |
9362 | 8933 | |
9363 | 8934 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
9364 | 8935 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
9365 | 8936 | このメッセージを抑制できます。 |
9366 | 8937 | C<our> 宣言もこの目的のために提供されています。 |
9367 | 8938 | |
9368 | 8939 | =begin original |
9369 | 8940 | |
9370 | 8941 | NOTE: This warning detects package symbols that have been used |
9371 | 8942 | only once. This means lexical variables will never trigger this |
9372 | 8943 | warning. It also means that all of the package variables $c, @c, |
9373 | 8944 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or |
9374 | 8945 | format) are considered the same; if a program uses $c only once |
9375 | 8946 | but also uses any of the others it will not trigger this warning. |
9376 | 8947 | Symbols beginning with an underscore and symbols using special |
9377 | 8948 | identifiers (q.v. L<perldata>) are exempt from this warning. |
9378 | 8949 | |
9379 | 8950 | =end original |
9380 | 8951 | |
9381 | 8952 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 |
9382 | 8953 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 |
9383 | 8954 | また、パッケージ変数 $c, @c, %c および |
9384 | 8955 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は |
9385 | 8956 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも |
9386 | 8957 | その他のものも使っている場合、この警告は引き起こされません。 |
9387 | 8958 | 下線で始まるシンボルと特殊識別子 |
9388 | 8959 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 |
9389 | 8960 | |
9390 | 8961 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ |
9391 | 8962 | |
9392 | 8963 | =begin original |
9393 | 8964 | |
9394 | 8965 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be |
9395 | 8966 | exactly 3 digits long. This helps catch some ambiguities. If your |
9396 | 8967 | constant is too short, add leading zeros, like |
9397 | 8968 | |
9398 | 8969 | =end original |
9399 | 8970 | |
9400 | 8971 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である |
9401 | 8972 | 必要があります。 |
9402 | 8973 | これはある種の曖昧さを捕まえる助けになります。 |
9403 | 8974 | 定数が短い場合は、以下のように先頭に 0 を追加してください |
9404 | 8975 | |
9405 | 8976 | (?[ [ \078 ] ]) # Syntax error! |
9406 | 8977 | (?[ [ \0078 ] ]) # Works |
9407 | 8978 | (?[ [ \007 8 ] ]) # Clearer |
9408 | 8979 | |
9409 | 8980 | =begin original |
9410 | 8981 | |
9411 | 8982 | The maximum number this construct can express is C<\777>. If you |
9412 | 8983 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant |
9413 | 8984 | two separate things, you need to separate them: |
9414 | 8985 | |
9415 | 8986 | =end original |
9416 | 8987 | |
9417 | 8988 | この構文が表現できる最大数は C<\777> です。 |
9418 | 8989 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を |
9419 | 8990 | 使う必要があります。 |
9420 | 8991 | 二つの別々のものを意味しているなら、分ける必要があります: |
9421 | 8992 | |
9422 | 8993 | (?[ [ \7776 ] ]) # Syntax error! |
9423 | 8994 | (?[ [ \o{7776} ] ]) # One meaning |
9424 | 8995 | (?[ [ \777 6 ] ]) # Another meaning |
9425 | 8996 | (?[ [ \777 \006 ] ]) # Still another |
9426 | 8997 | |
9427 | 8998 | =item Negative '/' count in unpack |
9428 | 8999 | |
9429 | 9000 | =begin original |
9430 | 9001 | |
9431 | 9002 | (F) The length count obtained from a length/code unpack operation was |
9432 | 9003 | negative. See L<perlfunc/pack>. |
9433 | 9004 | |
9434 | 9005 | =end original |
9435 | 9006 | |
9436 | 9007 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 |
9437 | 9008 | L<perlfunc/pack> を参照してください。 |
9438 | 9009 | |
9439 | 9010 | =item Negative length |
9440 | 9011 | |
9441 | 9012 | =begin original |
9442 | 9013 | |
9443 | 9014 | (F) You tried to do a read/write/send/recv operation with a buffer |
9444 | 9015 | length that is less than 0. This is difficult to imagine. |
9445 | 9016 | |
9446 | 9017 | =end original |
9447 | 9018 | |
9448 | 9019 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
9449 | 9020 | 行なおうとしました。 |
9450 | 9021 | これは想像しにくいことです。 |
9451 | 9022 | |
9452 | 9023 | =item Negative offset to vec in lvalue context |
9453 | 9024 | |
9454 | 9025 | =begin original |
9455 | 9026 | |
9456 | 9027 | (F) When C<vec> is called in an lvalue context, the second argument must be |
9457 | 9028 | greater than or equal to zero. |
9458 | 9029 | |
9459 | 9030 | =end original |
9460 | 9031 | |
9461 | 9032 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 |
9462 | 9033 | 二つ目の引数は 0 以上でなければなりません。 |
9463 | 9034 | |
9464 | 9035 | =item Negative repeat count does nothing |
9465 | 9036 | |
9466 | 9037 | =begin original |
9467 | 9038 | |
9468 | 9039 | (W numeric) You tried to execute the |
9469 | 9040 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 |
9470 | 9041 | times, which doesn't make sense. |
9471 | 9042 | |
9472 | 9043 | =end original |
9473 | 9044 | |
9474 | 9045 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を |
9475 | 9046 | 0 より小さい回数実行しようとしました; これは無意味です。 |
9476 | 9047 | |
9477 | 9048 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ |
9478 | 9049 | |
9479 | 9050 | =begin original |
9480 | 9051 | |
9481 | 9052 | (F) You can't quantify a quantifier without intervening parentheses. |
9482 | 9053 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows |
9483 | 9054 | whereabouts in the regular expression the problem was discovered. |
9484 | 9055 | |
9485 | 9056 | =end original |
9486 | 9057 | |
9487 | 9058 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 |
9488 | 9059 | つまり、** や +* や ?* といったものは、正しくありません。 |
9489 | 9060 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
9490 | 9061 | |
9491 | 9062 | =begin original |
9492 | 9063 | |
9493 | 9064 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and |
9494 | 9065 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
9495 | 9066 | |
9496 | 9067 | =end original |
9497 | 9068 | |
9498 | 9069 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように |
9499 | 9070 | 見えますが、そうではありません。 |
9500 | 9071 | L<perlre> を参照してください。 |
9501 | 9072 | |
9502 | 9073 | =item %s never introduced |
9503 | 9074 | |
9504 | 9075 | =begin original |
9505 | 9076 | |
9506 | 9077 | (S internal) The symbol in question was declared but somehow went out of |
9507 | 9078 | scope before it could possibly have been used. |
9508 | 9079 | |
9509 | 9080 | =end original |
9510 | 9081 | |
9511 | 9082 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
9512 | 9083 | 外れてしまいました。 |
9513 | 9084 | |
9514 | 9085 | =item next::method/next::can/maybe::next::method cannot find enclosing method |
9515 | 9086 | |
9516 | 9087 | =begin original |
9517 | 9088 | |
9518 | 9089 | (F) C<next::method> needs to be called within the context of a |
9519 | 9090 | real method in a real package, and it could not find such a context. |
9520 | 9091 | See L<mro>. |
9521 | 9092 | |
9522 | 9093 | =end original |
9523 | 9094 | |
9524 | 9095 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる |
9525 | 9096 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 |
9526 | 9097 | L<mro> を参照してください。 |
9527 | 9098 | |
9528 | 9099 | =item \N in a character class must be a named character: \N{...} in regex; |
9529 | 9100 | marked by S<<-- HERE> in m/%s/ |
9530 | 9101 | |
9531 | 9102 | =begin original |
9532 | 9103 | |
9533 | 9104 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a |
9534 | 9105 | bracketed character class, for the same reason that C<.> in a character |
9535 | 9106 | class loses its specialness: it matches almost everything, which is |
9536 | 9107 | probably not what you want. |
9537 | 9108 | |
9538 | 9109 | =end original |
9539 | 9110 | |
9540 | 9111 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは |
9541 | 9112 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: |
9542 | 9113 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは |
9543 | 9114 | ないでしょう。 |
9544 | 9115 | |
9545 | =item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
9116 | =item \N{} in inverted character class or as a range end-point is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
9546 | 9117 | |
9547 | 9118 | =begin original |
9548 | 9119 | |
9549 | 9120 | (F) Named Unicode character escapes (C<\N{...}>) may return a |
9550 | 9121 | multi-character sequence. Even though a character class is |
9551 | 9122 | supposed to match just one character of input, perl will match the |
9552 | whole thing correctly, except | |
9123 | whole thing correctly, except when the class is inverted (C<[^...]>), | |
9553 | are | |
9124 | or the escape is the beginning or final end point of a range. The | |
9125 | mathematically logical behavior for what matches when inverting | |
9126 | is very different from what people expect, so we have decided to | |
9127 | forbid it. Similarly unclear is what should be generated when the | |
9128 | C<\N{...}> is used as one of the end points of the range, such as in | |
9554 | 9129 | |
9555 | 9130 | =end original |
9556 | 9131 | |
9557 | 9132 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを |
9558 | 9133 | 返すことがあります。 |
9559 | 9134 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 |
9560 | perl は全体を正しくマッチングします; 但し | |
9135 | perl は全体を正しくマッチングします; 但し例外は、 | |
9561 | ||
9136 | クラスが反転された場合 (C<[^...]>) と、 | |
9137 | エスケープが範囲の始点か終点の場合です。 | |
9138 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
9139 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
9140 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
9141 | 使われたときに何が生成されるべきかということです: | |
9562 | 9142 | |
9563 | ||
9143 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
9564 | 9144 | |
9565 | = | |
9145 | =begin original | |
9566 | 9146 | |
9567 | ||
9147 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
9148 | of code points, so this is made an error. | |
9568 | 9149 | |
9150 | =end original | |
9151 | ||
9152 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
9153 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
9154 | ||
9155 | =item \N{NAME} must be resolved by the lexer in regex; marked by | |
9156 | S<<-- HERE> in m/%s/ | |
9157 | ||
9569 | 9158 | =begin original |
9570 | 9159 | |
9571 | ||
9160 | (F) When compiling a regex pattern, an unresolved named character or | |
9572 | ||
9161 | sequence was encountered. This can happen in any of several ways that | |
9573 | ||
9162 | bypass the lexer, such as using single-quotish context, or an extra | |
9163 | backslash in double-quotish: | |
9574 | 9164 | |
9575 | 9165 | =end original |
9576 | 9166 | |
9577 | ||
9167 | (F) 正規表現パターンをコンパイルするとき、解決されない名前付き文字や並びに | |
9578 | ||
9168 | 遭遇しました。 | |
9169 | これはシングルクォート風コンテキストを使ったり、ダブルクォート風で | |
9170 | 余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで | |
9171 | 起こります: | |
9579 | 9172 | |
9580 | ||
9173 | $re = '\N{SPACE}'; # Wrong! | |
9174 | $re = "\\N{SPACE}"; # Wrong! | |
9175 | /$re/; | |
9581 | 9176 | |
9582 | (エスケープが範囲の始点か終点の場合) | |
9583 | ||
9584 | 9177 | =begin original |
9585 | 9178 | |
9586 | ||
9179 | Instead, use double-quotes with a single backslash: | |
9587 | C<\N{...}> is used as one of the end points of the range, such as in | |
9588 | 9180 | |
9589 | 9181 | =end original |
9590 | 9182 | |
9591 | ||
9183 | 代わりに、単一のバックスラッシュとダブルクォートを使ってください: | |
9592 | 使われたときに何が生成されるべきかということです: | |
9593 | 9184 | |
9594 | | |
9185 | $re = "\N{SPACE}"; # ok | |
9186 | /$re/; | |
9595 | 9187 | |
9596 | 9188 | =begin original |
9597 | 9189 | |
9598 | ||
9190 | The lexer can be bypassed as well by creating the pattern from smaller | |
9599 | ||
9191 | components: | |
9600 | 9192 | |
9601 | 9193 | =end original |
9602 | 9194 | |
9603 | ||
9195 | 字句解析器はより小さい構造からパターンを作ることによっても回避できます: | |
9604 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
9605 | 9196 | |
9606 | ||
9197 | $re = '\N'; | |
9198 | /${re}{SPACE}/; # Wrong! | |
9607 | 9199 | |
9608 | ||
9200 | =begin original | |
9609 | 9201 | |
9202 | It's not a good idea to split a construct in the middle like this, and | |
9203 | it doesn't work here. Instead use the solution above. | |
9204 | ||
9205 | =end original | |
9206 | ||
9207 | このように中間で構造を分割することはよい考えではなく、ここでは動作しません。 | |
9208 | 代わりに上述した解決法を使ってください。 | |
9209 | ||
9610 | 9210 | =begin original |
9611 | 9211 | |
9612 | ||
9212 | Finally, the message also can happen under the C</x> regex modifier when the | |
9613 | ||
9213 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. | |
9614 | 9214 | |
9615 | 9215 | =end original |
9616 | 9216 | |
9617 | 正規表現の | |
9217 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と | |
9618 | ||
9218 | 空白で区切られているときにもでます; この場合、空白を削除します。 | |
9619 | 9219 | |
9620 | ||
9220 | /\N {SPACE}/x; # Wrong! | |
9221 | /\N{SPACE}/x; # ok | |
9621 | 9222 | |
9622 | 9223 | =item No %s allowed while running setuid |
9623 | 9224 | |
9624 | 9225 | =begin original |
9625 | 9226 | |
9626 | 9227 | (F) Certain operations are deemed to be too insecure for a setuid or |
9627 | 9228 | setgid script to even be allowed to attempt. Generally speaking there |
9628 | 9229 | will be another way to do what you want that is, if not secure, at least |
9629 | 9230 | securable. See L<perlsec>. |
9630 | 9231 | |
9631 | 9232 | =end original |
9632 | 9233 | |
9633 | 9234 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
9634 | 9235 | やってみることはできても、とても安全なものとは考えられないものです。 |
9635 | 9236 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
9636 | 9237 | L<perlsec> を参照してください。 |
9637 | 9238 | |
9638 | 9239 | =item No code specified for -%c |
9639 | 9240 | |
9640 | 9241 | =begin original |
9641 | 9242 | |
9642 | 9243 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If |
9643 | 9244 | you want to run an empty program, pass the empty string as a separate |
9644 | 9245 | argument or run a program consisting of a single 0 or 1: |
9645 | 9246 | |
9646 | 9247 | =end original |
9647 | 9248 | |
9648 | 9249 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 |
9649 | 9250 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の |
9650 | 9251 | 0 または 1 からなるプログラムを実行してください: |
9651 | 9252 | |
9652 | 9253 | perl -e "" |
9653 | 9254 | perl -e0 |
9654 | 9255 | perl -e1 |
9655 | 9256 | |
9656 | 9257 | =item No comma allowed after %s |
9657 | 9258 | |
9658 | 9259 | =begin original |
9659 | 9260 | |
9660 | 9261 | (F) A list operator that has a filehandle or "indirect object" is |
9661 | 9262 | not allowed to have a comma between that and the following arguments. |
9662 | 9263 | Otherwise it'd be just another one of the arguments. |
9663 | 9264 | |
9664 | 9265 | =end original |
9665 | 9266 | |
9666 | 9267 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
9667 | 9268 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
9668 | 9269 | そのようにした場合には、引数の一つとなってしまいます。 |
9669 | 9270 | |
9670 | 9271 | =begin original |
9671 | 9272 | |
9672 | 9273 | One possible cause for this is that you expected to have imported |
9673 | 9274 | a constant to your name space with B<use> or B<import> while no such |
9674 | 9275 | importing took place, it may for example be that your operating |
9675 | 9276 | system does not support that particular constant. Hopefully you did |
9676 | 9277 | use an explicit import list for the constants you expect to see; |
9677 | 9278 | please see L<perlfunc/use> and L<perlfunc/import>. While an |
9678 | 9279 | explicit import list would probably have caught this error earlier |
9679 | 9280 | it naturally does not remedy the fact that your operating system |
9680 | 9281 | still does not support that constant. Maybe you have a typo in |
9681 | 9282 | the constants of the symbol import list of B<use> or B<import> or in the |
9682 | 9283 | constant name at the line where this error was triggered? |
9683 | 9284 | |
9684 | 9285 | =end original |
9685 | 9286 | |
9686 | 9287 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
9687 | 9288 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
9688 | 9289 | 場合です; |
9689 | 9290 | 例えば OS が特定の定数に対応していない場合などです。 |
9690 | 9291 | できればインポートしたい定数のリストを明示的に使ってください; |
9691 | 9292 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
9692 | 9293 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
9693 | 9294 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
9694 | 9295 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
9695 | 9296 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
9696 | 9297 | |
9697 | 9298 | =item No command into which to pipe on command line |
9698 | 9299 | |
9699 | 9300 | =begin original |
9700 | 9301 | |
9701 | 9302 | (F) An error peculiar to VMS. Perl handles its own command line |
9702 | 9303 | redirection, and found a '|' at the end of the command line, so it |
9703 | 9304 | doesn't know where you want to pipe the output from this command. |
9704 | 9305 | |
9705 | 9306 | =end original |
9706 | 9307 | |
9707 | 9308 | (F) VMS に固有のエラーです。 |
9708 | 9309 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
9709 | 9310 | コマンドラインの最後にに '|' を発見しましたが、 |
9710 | 9311 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
9711 | 9312 | |
9712 | 9313 | =item No DB::DB routine defined |
9713 | 9314 | |
9714 | 9315 | =begin original |
9715 | 9316 | |
9716 | 9317 | (F) The currently executing code was compiled with the B<-d> switch, but |
9717 | 9318 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
9718 | 9319 | module) didn't define a routine to be called at the beginning of each |
9719 | 9320 | statement. |
9720 | 9321 | |
9721 | 9322 | =end original |
9722 | 9323 | |
9723 | 9324 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
9724 | 9325 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) |
9725 | 9326 | が各実行文の頭で呼び出すルーティンを定義していません。 |
9726 | 9327 | |
9727 | 9328 | =item No dbm on this machine |
9728 | 9329 | |
9729 | 9330 | =begin original |
9730 | 9331 | |
9731 | 9332 | (P) This is counted as an internal error, because every machine should |
9732 | 9333 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
9733 | 9334 | |
9734 | 9335 | =end original |
9735 | 9336 | |
9736 | 9337 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 |
9737 | 9338 | どのマシンでも dbm が使えるはずだからです。 |
9738 | 9339 | L<SDBM_File> を参照してください。 |
9739 | 9340 | |
9740 | 9341 | =item No DB::sub routine defined |
9741 | 9342 | |
9742 | 9343 | =begin original |
9743 | 9344 | |
9744 | 9345 | (F) The currently executing code was compiled with the B<-d> switch, but |
9745 | 9346 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
9746 | 9347 | module) didn't define a C<DB::sub> routine to be called at the beginning |
9747 | 9348 | of each ordinary subroutine call. |
9748 | 9349 | |
9749 | 9350 | =end original |
9750 | 9351 | |
9751 | 9352 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
9752 | 9353 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が |
9753 | 9354 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを |
9754 | 9355 | 定義していませんでした。 |
9755 | 9356 | |
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 | 9357 | =item No directory specified for -I |
9769 | 9358 | |
9770 | 9359 | =begin original |
9771 | 9360 | |
9772 | 9361 | (F) The B<-I> command-line switch requires a directory name as part of the |
9773 | 9362 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. |
9774 | 9363 | |
9775 | 9364 | =end original |
9776 | 9365 | |
9777 | 9366 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が |
9778 | 9367 | 必要です。 |
9779 | 9368 | 例えば、B<-Ilib> としてください。 |
9780 | 9369 | B<-I lib> は動作しません。 |
9781 | 9370 | |
9782 | 9371 | =item No error file after 2> or 2>> on command line |
9783 | 9372 | |
9784 | 9373 | =begin original |
9785 | 9374 | |
9786 | 9375 | (F) An error peculiar to VMS. Perl handles its own command line |
9787 | 9376 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
9788 | 9377 | find the name of the file to which to write data destined for stderr. |
9789 | 9378 | |
9790 | 9379 | =end original |
9791 | 9380 | |
9792 | 9381 | (F) VMS に固有のエラーです。 |
9793 | 9382 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
9794 | 9383 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
9795 | 9384 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
9796 | 9385 | |
9797 | 9386 | =item No group ending character '%c' found in template |
9798 | 9387 | |
9799 | 9388 | =begin original |
9800 | 9389 | |
9801 | 9390 | (F) A pack or unpack template has an opening '(' or '[' without its |
9802 | 9391 | matching counterpart. See L<perlfunc/pack>. |
9803 | 9392 | |
9804 | 9393 | =end original |
9805 | 9394 | |
9806 | 9395 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 |
9807 | 9396 | 対応する閉じかっこがありません。 |
9808 | 9397 | L<perlfunc/pack> を参照してください。 |
9809 | 9398 | |
9810 | 9399 | =item No input file after < on command line |
9811 | 9400 | |
9812 | 9401 | =begin original |
9813 | 9402 | |
9814 | 9403 | (F) An error peculiar to VMS. Perl handles its own command line |
9815 | 9404 | redirection, and found a '<' on the command line, but can't find the |
9816 | 9405 | name of the file from which to read data for stdin. |
9817 | 9406 | |
9818 | 9407 | =end original |
9819 | 9408 | |
9820 | 9409 | (F) VMS に固有のエラーです。 |
9821 | 9410 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
9822 | 9411 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
9823 | 9412 | 見つかりませんでした。 |
9824 | 9413 | |
9825 | 9414 | =item No next::method '%s' found for %s |
9826 | 9415 | |
9827 | 9416 | =begin original |
9828 | 9417 | |
9829 | 9418 | (F) C<next::method> found no further instances of this method name |
9830 | 9419 | in the remaining packages of the MRO of this class. If you don't want |
9831 | 9420 | it throwing an exception, use C<maybe::next::method> |
9832 | 9421 | or C<next::can>. See L<mro>. |
9833 | 9422 | |
9834 | 9423 | =end original |
9835 | 9424 | |
9836 | 9425 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この |
9837 | 9426 | メソッド名のインスタンスがもうありません。 |
9838 | 9427 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を |
9839 | 9428 | 使ってください。 |
9840 | 9429 | L<mro> を参照してください。 |
9841 | 9430 | |
9842 | 9431 | =item Non-finite repeat count does nothing |
9843 | 9432 | |
9844 | 9433 | =begin original |
9845 | 9434 | |
9846 | 9435 | (W numeric) You tried to execute the |
9847 | 9436 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or |
9848 | 9437 | C<-Inf>) or C<NaN> times, which doesn't make sense. |
9849 | 9438 | |
9850 | 9439 | =end original |
9851 | 9440 | |
9852 | 9441 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を |
9853 | 9442 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; |
9854 | 9443 | これは意味がありません。 |
9855 | 9444 | |
9856 | 9445 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ |
9857 | 9446 | |
9858 | 9447 | =begin original |
9859 | 9448 | |
9860 | 9449 | (F) In a regular expression, there was a non-hexadecimal character where |
9861 | 9450 | a hex one was expected, like |
9862 | 9451 | |
9863 | 9452 | =end original |
9864 | 9453 | |
9865 | 9454 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました |
9866 | 9455 | |
9867 | 9456 | (?[ [ \xDG ] ]) |
9868 | 9457 | (?[ [ \x{DEKA} ] ]) |
9869 | 9458 | |
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 | 9459 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ |
9895 | 9460 | |
9896 | 9461 | =begin original |
9897 | 9462 | |
9898 | 9463 | (F) In a regular expression, there was a non-octal character where |
9899 | 9464 | an octal one was expected, like |
9900 | 9465 | |
9901 | 9466 | =end original |
9902 | 9467 | |
9903 | 9468 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました |
9904 | 9469 | |
9905 | 9470 | (?[ [ \o{1278} ] ]) |
9906 | 9471 | |
9907 | =item Non-octal character '%c' | |
9472 | =item Non-octal character '%c'. Resolved as "%s" | |
9908 | 9473 | |
9909 | 9474 | =begin original |
9910 | 9475 | |
9911 | 9476 | (W digit) In parsing an octal numeric constant, a character was |
9912 | 9477 | unexpectedly encountered that isn't octal. The resulting value |
9913 | 9478 | is as indicated. |
9914 | 9479 | |
9915 | 9480 | =end original |
9916 | 9481 | |
9917 | 9482 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 |
9918 | 結果の値は示 | |
9483 | 結果の値は示された通りになります。 | |
9919 | 9484 | |
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 | ||
9951 | 9485 | =item "no" not allowed in expression |
9952 | 9486 | |
9953 | 9487 | =begin original |
9954 | 9488 | |
9955 | 9489 | (F) The "no" keyword is recognized and executed at compile time, and |
9956 | 9490 | returns no useful value. See L<perlmod>. |
9957 | 9491 | |
9958 | 9492 | =end original |
9959 | 9493 | |
9960 | 9494 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
9961 | 9495 | 意味のある値を返しません。 |
9962 | 9496 | L<perlmod> を参照してください。 |
9963 | 9497 | |
9964 | 9498 | =item Non-string passed as bitmask |
9965 | 9499 | |
9966 | 9500 | =begin original |
9967 | 9501 | |
9968 | 9502 | (W misc) A number has been passed as a bitmask argument to select(). |
9969 | 9503 | Use the vec() function to construct the file descriptor bitmasks for |
9970 | 9504 | select. See L<perlfunc/select>. |
9971 | 9505 | |
9972 | 9506 | =end original |
9973 | 9507 | |
9974 | 9508 | (W misc) select() のビットマスク引数として数値が渡されました。 |
9975 | 9509 | select のためのファイル記述子のビットマスクを構成するには、 |
9976 | 9510 | vec() 関数を使ってください。 |
9977 | 9511 | L<perlfunc/select> を参照してください。 |
9978 | 9512 | |
9979 | 9513 | =item No output file after > on command line |
9980 | 9514 | |
9981 | 9515 | =begin original |
9982 | 9516 | |
9983 | 9517 | (F) An error peculiar to VMS. Perl handles its own command line |
9984 | 9518 | redirection, and found a lone '>' at the end of the command line, so it |
9985 | 9519 | doesn't know where you wanted to redirect stdout. |
9986 | 9520 | |
9987 | 9521 | =end original |
9988 | 9522 | |
9989 | 9523 | (F) VMS に固有のエラーです。 |
9990 | 9524 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
9991 | 9525 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
9992 | 9526 | わかりませんでした。 |
9993 | 9527 | |
9994 | 9528 | =item No output file after > or >> on command line |
9995 | 9529 | |
9996 | 9530 | =begin original |
9997 | 9531 | |
9998 | 9532 | (F) An error peculiar to VMS. Perl handles its own command line |
9999 | 9533 | redirection, and found a '>' or a '>>' on the command line, but can't |
10000 | 9534 | find the name of the file to which to write data destined for stdout. |
10001 | 9535 | |
10002 | 9536 | =end original |
10003 | 9537 | |
10004 | 9538 | (F) VMS に固有のエラーです。 |
10005 | 9539 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
10006 | 9540 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
10007 | 9541 | 見つかりませんでした。 |
10008 | 9542 | |
10009 | =item No package name allowed for subroutine %s in "our" | |
10010 | ||
10011 | 9543 | =item No package name allowed for variable %s in "our" |
10012 | 9544 | |
10013 | 9545 | =begin original |
10014 | 9546 | |
10015 | (F) Fully qualified | |
9547 | (F) Fully qualified variable names are not allowed in "our" | |
10016 | declarations, because that doesn't make much sense under existing | |
9548 | declarations, because that doesn't make much sense under existing | |
10017 | Such syntax is reserved for future extensions. | |
9549 | rules. Such syntax is reserved for future extensions. | |
10018 | 9550 | |
10019 | 9551 | =end original |
10020 | 9552 | |
10021 | (F) 完全修飾 | |
9553 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
10022 | 9554 | なぜなら現在の動作ではほとんど意味がないからです。 |
10023 | 9555 | そのような文法は将来の拡張に予約されています。 |
10024 | 9556 | |
10025 | 9557 | =item No Perl script found in input |
10026 | 9558 | |
10027 | 9559 | =begin original |
10028 | 9560 | |
10029 | 9561 | (F) You called C<perl -x>, but no line was found in the file beginning |
10030 | 9562 | with #! and containing the word "perl". |
10031 | 9563 | |
10032 | 9564 | =end original |
10033 | 9565 | |
10034 | 9566 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
10035 | 9567 | "perl" という語を含む行が見つかりませんでした。 |
10036 | 9568 | |
10037 | 9569 | =item No setregid available |
10038 | 9570 | |
10039 | 9571 | =begin original |
10040 | 9572 | |
10041 | 9573 | (F) Configure didn't find anything resembling the setregid() call for |
10042 | 9574 | your system. |
10043 | 9575 | |
10044 | 9576 | =end original |
10045 | 9577 | |
10046 | 9578 | (F) Configure が、システム上に setregid() のような関数を |
10047 | 9579 | 見つけられませんでした。 |
10048 | 9580 | |
10049 | 9581 | =item No setreuid available |
10050 | 9582 | |
10051 | 9583 | =begin original |
10052 | 9584 | |
10053 | 9585 | (F) Configure didn't find anything resembling the setreuid() call for |
10054 | 9586 | your system. |
10055 | 9587 | |
10056 | 9588 | =end original |
10057 | 9589 | |
10058 | 9590 | (F) Configure が、システム上に setreuid() のような関数を |
10059 | 9591 | 見つけられませんでした。 |
10060 | 9592 | |
10061 | 9593 | =item No such class %s |
10062 | 9594 | |
10063 | 9595 | =begin original |
10064 | 9596 | |
10065 | 9597 | (F) You provided a class qualifier in a "my", "our" or "state" |
10066 | 9598 | declaration, but this class doesn't exist at this point in your program. |
10067 | 9599 | |
10068 | 9600 | =end original |
10069 | 9601 | |
10070 | 9602 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された |
10071 | 9603 | クラスは現時点では存在しません。 |
10072 | 9604 | |
10073 | 9605 | =item No such class field "%s" in variable %s of type %s |
10074 | 9606 | |
10075 | 9607 | =begin original |
10076 | 9608 | |
10077 | 9609 | (F) You tried to access a key from a hash through the indicated typed |
10078 | 9610 | variable but that key is not allowed by the package of the same type. |
10079 | 9611 | The indicated package has restricted the set of allowed keys using the |
10080 | 9612 | L<fields> pragma. |
10081 | 9613 | |
10082 | 9614 | =end original |
10083 | 9615 | |
10084 | 9616 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 |
10085 | 9617 | そのキーは同じ型のパッケージによって許可されていません。 |
10086 | 9618 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が |
10087 | 9619 | 制限されています。 |
10088 | 9620 | |
10089 | 9621 | =item No such hook: %s |
10090 | 9622 | |
10091 | 9623 | =begin original |
10092 | 9624 | |
10093 | 9625 | (F) You specified a signal hook that was not recognized by Perl. |
10094 | 9626 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. |
10095 | 9627 | |
10096 | 9628 | =end original |
10097 | 9629 | |
10098 | 9630 | (F) Perl が認識できないシグナルフックを指定しました。 |
10099 | 9631 | 現在のところ、Perl は有効なシグナルフックとして |
10100 | 9632 | C<__DIE__> と C<__WARN__> を受け付けます。 |
10101 | 9633 | |
10102 | 9634 | =item No such pipe open |
10103 | 9635 | |
10104 | 9636 | =begin original |
10105 | 9637 | |
10106 | 9638 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
10107 | 9639 | close a pipe which hadn't been opened. This should have been caught |
10108 | 9640 | earlier as an attempt to close an unopened filehandle. |
10109 | 9641 | |
10110 | 9642 | =end original |
10111 | 9643 | |
10112 | 9644 | (P) VMS に固有のエラーです。 |
10113 | 9645 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
10114 | 9646 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
10115 | 9647 | 捕捉されるべきものです。 |
10116 | 9648 | |
10117 | 9649 | =item No such signal: SIG%s |
10118 | 9650 | |
10119 | 9651 | =begin original |
10120 | 9652 | |
10121 | 9653 | (W signal) You specified a signal name as a subscript to %SIG that was |
10122 | 9654 | not recognized. Say C<kill -l> in your shell to see the valid signal |
10123 | 9655 | names on your system. |
10124 | 9656 | |
10125 | 9657 | =end original |
10126 | 9658 | |
10127 | 9659 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
10128 | 9660 | お使いのシステムで使用可能なシグナル名を調べるには、 |
10129 | 9661 | シェル上で C<kill -l> などとしてください。 |
10130 | 9662 | |
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 | ||
10145 | 9663 | =item Not a CODE reference |
10146 | 9664 | |
10147 | 9665 | =begin original |
10148 | 9666 | |
10149 | 9667 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
10150 | 9668 | subroutine), but found a reference to something else instead. You can |
10151 | 9669 | use the ref() function to find out what kind of ref it really was. See |
10152 | 9670 | also L<perlref>. |
10153 | 9671 | |
10154 | 9672 | =end original |
10155 | 9673 | |
10156 | 9674 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
10157 | 9675 | 評価しようとしましたが、別のものへのリファレンスでした。 |
10158 | 9676 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10159 | 9677 | 使うことができます。 |
10160 | 9678 | L<perlref> も参照してください。 |
10161 | 9679 | |
10162 | 9680 | =item Not a GLOB reference |
10163 | 9681 | |
10164 | 9682 | =begin original |
10165 | 9683 | |
10166 | 9684 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
10167 | 9685 | symbol table entry that looks like C<*foo>), but found a reference to |
10168 | 9686 | something else instead. You can use the ref() function to find out what |
10169 | 9687 | kind of ref it really was. See L<perlref>. |
10170 | 9688 | |
10171 | 9689 | =end original |
10172 | 9690 | |
10173 | 9691 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
10174 | 9692 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
10175 | 9693 | 別のものへのリファレンスでした。 |
10176 | 9694 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10177 | 9695 | 使うことができます。 |
10178 | 9696 | L<perlref> を参照してください。 |
10179 | 9697 | |
10180 | 9698 | =item Not a HASH reference |
10181 | 9699 | |
10182 | 9700 | =begin original |
10183 | 9701 | |
10184 | 9702 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
10185 | 9703 | reference to something else instead. You can use the ref() function to |
10186 | 9704 | find out what kind of ref it really was. See L<perlref>. |
10187 | 9705 | |
10188 | 9706 | =end original |
10189 | 9707 | |
10190 | 9708 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
10191 | 9709 | 別のものへのリファレンスでした。 |
10192 | 9710 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10193 | 9711 | 使うことができます。 |
10194 | 9712 | L<perlref> を参照してください。 |
10195 | 9713 | |
10196 | 9714 | =item '#' not allowed immediately following a sigil in a subroutine signature |
10197 | 9715 | |
10198 | 9716 | =begin original |
10199 | 9717 | |
10200 | 9718 | (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 | |
9719 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a commma etc., in | |
10202 | 9720 | particular to avoid confusion with the C<$#> variable. For example: |
10203 | 9721 | |
10204 | 9722 | =end original |
10205 | 9723 | |
10206 | 9724 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く |
10207 | 9725 | コメントは、特に C<$#> 変数との混乱を避けるために、 |
10208 | 空白やカンマなどで分ける必要があります | |
9726 | 空白やカンマなどで分ける必要があります; | |
10209 | 9727 | 例えば: |
10210 | 9728 | |
10211 | 9729 | # bad |
10212 | 9730 | sub f ($# ignore first arg |
10213 | 9731 | , $b) {} |
10214 | 9732 | # good |
10215 | 9733 | sub f ($, # ignore first arg |
10216 | 9734 | $b) {} |
10217 | 9735 | |
10218 | 9736 | =item Not an ARRAY reference |
10219 | 9737 | |
10220 | 9738 | =begin original |
10221 | 9739 | |
10222 | 9740 | (F) Perl was trying to evaluate a reference to an array value, but found |
10223 | 9741 | a reference to something else instead. You can use the ref() function |
10224 | 9742 | to find out what kind of ref it really was. See L<perlref>. |
10225 | 9743 | |
10226 | 9744 | =end original |
10227 | 9745 | |
10228 | 9746 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
10229 | 9747 | 別のものへのリファレンスでした。 |
10230 | 9748 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10231 | 9749 | 使うことができます。 |
10232 | 9750 | L<perlref> を参照してください。 |
10233 | 9751 | |
10234 | 9752 | =item Not a SCALAR reference |
10235 | 9753 | |
10236 | 9754 | =begin original |
10237 | 9755 | |
10238 | 9756 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
10239 | 9757 | a reference to something else instead. You can use the ref() function |
10240 | 9758 | to find out what kind of ref it really was. See L<perlref>. |
10241 | 9759 | |
10242 | 9760 | =end original |
10243 | 9761 | |
10244 | 9762 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
10245 | 9763 | 別のものへのリファレンスでした。 |
10246 | 9764 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10247 | 9765 | 使うことができます。 |
10248 | 9766 | L<perlref> を参照してください。 |
10249 | 9767 | |
10250 | 9768 | =item Not a subroutine reference |
10251 | 9769 | |
10252 | 9770 | =begin original |
10253 | 9771 | |
10254 | 9772 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
10255 | 9773 | subroutine), but found a reference to something else instead. You can |
10256 | 9774 | use the ref() function to find out what kind of ref it really was. See |
10257 | 9775 | also L<perlref>. |
10258 | 9776 | |
10259 | 9777 | =end original |
10260 | 9778 | |
10261 | 9779 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
10262 | 9780 | 評価しようとしましたが、別のものへのリファレンスでした。 |
10263 | 9781 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10264 | 9782 | 使うことができます。 |
10265 | 9783 | L<perlref> も参照してください。 |
10266 | 9784 | |
10267 | 9785 | =item Not a subroutine reference in overload table |
10268 | 9786 | |
10269 | 9787 | =begin original |
10270 | 9788 | |
10271 | 9789 | (F) An attempt was made to specify an entry in an overloading table that |
10272 | 9790 | doesn't somehow point to a valid subroutine. See L<overload>. |
10273 | 9791 | |
10274 | 9792 | =end original |
10275 | 9793 | |
10276 | 9794 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを |
10277 | 9795 | 指定しようとしました。 |
10278 | 9796 | L<overload> を参照してください。 |
10279 | 9797 | |
10280 | 9798 | =item Not enough arguments for %s |
10281 | 9799 | |
10282 | 9800 | =begin original |
10283 | 9801 | |
10284 | 9802 | (F) The function requires more arguments than you specified. |
10285 | 9803 | |
10286 | 9804 | =end original |
10287 | 9805 | |
10288 | 9806 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
10289 | 9807 | |
10290 | 9808 | =item Not enough format arguments |
10291 | 9809 | |
10292 | 9810 | =begin original |
10293 | 9811 | |
10294 | 9812 | (W syntax) A format specified more picture fields than the next line |
10295 | 9813 | supplied. See L<perlform>. |
10296 | 9814 | |
10297 | 9815 | =end original |
10298 | 9816 | |
10299 | 9817 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
10300 | 9818 | ピクチャフィールドがあります。 |
10301 | 9819 | L<perlform> を参照してください。 |
10302 | 9820 | |
10303 | 9821 | =item %s: not found |
10304 | 9822 | |
10305 | 9823 | =begin original |
10306 | 9824 | |
10307 | 9825 | (A) You've accidentally run your script through the Bourne shell instead |
10308 | 9826 | of Perl. Check the #! line, or manually feed your script into Perl |
10309 | 9827 | yourself. |
10310 | 9828 | |
10311 | 9829 | =end original |
10312 | 9830 | |
10313 | 9831 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
10314 | #! 行を | |
9832 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
10315 | 9833 | |
9834 | =item (?[...]) not valid in locale in regex; marked by S<<-- HERE> in m/%s/ | |
9835 | ||
9836 | =begin original | |
9837 | ||
9838 | (F) C<(?[...])> cannot be used within the scope of a C<S<use locale>> or with | |
9839 | an C</l> regular expression modifier, as that would require deferring | |
9840 | to run-time the calculation of what it should evaluate to, and it is | |
9841 | regex compile-time only. | |
9842 | ||
9843 | =end original | |
9844 | ||
9845 | (F) C<(?[...])> は C<S<use locale>> のスコープ内や C</l> 正規表現修飾子付きでは | |
9846 | 使えません; これは何を評価するべきかを実行時の計算によりますが、 | |
9847 | これは正規表現のコンパイル時のみだからです。 | |
9848 | ||
10316 | 9849 | =item no UTC offset information; assuming local time is UTC |
10317 | 9850 | |
10318 | 9851 | =begin original |
10319 | 9852 | |
10320 | 9853 | (S) A warning peculiar to VMS. Perl was unable to find the local |
10321 | 9854 | timezone offset, so it's assuming that local system time is equivalent |
10322 | 9855 | to UTC. If it's not, define the logical name |
10323 | 9856 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
10324 | 9857 | need to be added to UTC to get local time. |
10325 | 9858 | |
10326 | 9859 | =end original |
10327 | 9860 | |
10328 | 9861 | (S) VMS に固有の警告です。 |
10329 | 9862 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
10330 | 9863 | ローカルシステムタイムは UTC と等価であると仮定します。 |
10331 | 9864 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
10332 | 9865 | 時刻を得るために加える必要がある秒数を定義してください。 |
10333 | 9866 | |
10334 | 9867 | =item NULL OP IN RUN |
10335 | 9868 | |
10336 | 9869 | =begin original |
10337 | 9870 | |
10338 | 9871 | (S debugging) Some internal routine called run() with a null opcode |
10339 | 9872 | pointer. |
10340 | 9873 | |
10341 | 9874 | =end original |
10342 | 9875 | |
10343 | 9876 | (S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を |
10344 | 9877 | 呼んだものがあります。 |
10345 | 9878 | |
10346 | 9879 | =item Null picture in formline |
10347 | 9880 | |
10348 | 9881 | =begin original |
10349 | 9882 | |
10350 | 9883 | (F) The first argument to formline must be a valid format picture |
10351 | 9884 | specification. It was found to be empty, which probably means you |
10352 | 9885 | supplied it an uninitialized value. See L<perlform>. |
10353 | 9886 | |
10354 | 9887 | =end original |
10355 | 9888 | |
10356 | 9889 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
10357 | 9890 | なりません。 |
10358 | 9891 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
10359 | 9892 | L<perlform> を参照してください。 |
10360 | 9893 | |
9894 | =item Null realloc | |
9895 | ||
9896 | =begin original | |
9897 | ||
9898 | (P) An attempt was made to realloc NULL. | |
9899 | ||
9900 | =end original | |
9901 | ||
9902 | (P) realloc NULL を行なおうとしました。 | |
9903 | ||
9904 | =item NULL regexp argument | |
9905 | ||
9906 | =begin original | |
9907 | ||
9908 | (P) The internal pattern matching routines blew it big time. | |
9909 | ||
9910 | =end original | |
9911 | ||
9912 | (P) 内部パターンマッチルーティンが、大当たりです。 | |
9913 | ||
10361 | 9914 | =item NULL regexp parameter |
10362 | 9915 | |
10363 | 9916 | =begin original |
10364 | 9917 | |
10365 | 9918 | (P) The internal pattern matching routines are out of their gourd. |
10366 | 9919 | |
10367 | 9920 | =end original |
10368 | 9921 | |
10369 | 9922 | (P) 内部パターンマッチルーティンが、狂っています。 |
10370 | 9923 | |
10371 | 9924 | =item Number too long |
10372 | 9925 | |
10373 | 9926 | =begin original |
10374 | 9927 | |
10375 | 9928 | (F) Perl limits the representation of decimal numbers in programs to |
10376 | 9929 | about 250 characters. You've exceeded that length. Future |
10377 | 9930 | versions of Perl are likely to eliminate this arbitrary limitation. In |
10378 | 9931 | the meantime, try using scientific notation (e.g. "1e6" instead of |
10379 | 9932 | "1_000_000"). |
10380 | 9933 | |
10381 | 9934 | =end original |
10382 | 9935 | |
10383 | 9936 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 |
10384 | 9937 | この制限を越えました。 |
10385 | 9938 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
10386 | 9939 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
10387 | 9940 | 使用してください。 |
10388 | 9941 | |
10389 | 9942 | =item Number with no digits |
10390 | 9943 | |
10391 | 9944 | =begin original |
10392 | 9945 | |
10393 | 9946 | (F) Perl was looking for a number but found nothing that looked like |
10394 | 9947 | a number. This happens, for example with C<\o{}>, with no number between |
10395 | 9948 | the braces. |
10396 | 9949 | |
10397 | 9950 | =end original |
10398 | 9951 | |
10399 | 9952 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 |
10400 | 9953 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 |
10401 | 9954 | |
10402 | =item Numeric format result too large | |
10403 | ||
10404 | =begin original | |
10405 | ||
10406 | (F) The length of the result of a numeric format supplied to sprintf() | |
10407 | or printf() would have been too large for the underlying C function to | |
10408 | report. This limit is typically 2GB. | |
10409 | ||
10410 | =end original | |
10411 | ||
10412 | (F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、 | |
10413 | 報告するための基礎となる C 関数にとって大きすぎました。 | |
10414 | この制限は典型的には 2GB です。 | |
10415 | ||
10416 | =item Numeric variables with more than one digit may not start with '0' | |
10417 | ||
10418 | =begin original | |
10419 | ||
10420 | (F) The only numeric variable which is allowed to start with a 0 is C<$0>, | |
10421 | and you mentioned a variable that starts with 0 that has more than one | |
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. | |
10424 | ||
10425 | =end original | |
10426 | ||
10427 | (F) 0 で始まることが許されている唯一の数値変数は C<$0> で、 | |
10428 | 0 で始まり複数桁ある変数に言及しました。 | |
10429 | おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、 | |
10430 | 10 進数に変換する必要があります。 | |
10431 | ||
10432 | 9955 | =item Octal number > 037777777777 non-portable |
10433 | 9956 | |
10434 | 9957 | =begin original |
10435 | 9958 | |
10436 | 9959 | (W portable) The octal number you specified is larger than 2**32-1 |
10437 | 9960 | (4294967295) and therefore non-portable between systems. See |
10438 | 9961 | L<perlport> for more on portability concerns. |
10439 | 9962 | |
10440 | 9963 | =end original |
10441 | 9964 | |
10442 | 9965 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
10443 | 9966 | システム間で移植性がありません。 |
10444 | 9967 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
10445 | 9968 | |
10446 | 9969 | =item Odd name/value argument for subroutine '%s' |
10447 | 9970 | |
10448 | 9971 | =begin original |
10449 | 9972 | |
10450 | 9973 | (F) A subroutine using a slurpy hash parameter in its signature |
10451 | 9974 | received an odd number of arguments to populate the hash. It requires |
10452 | 9975 | the arguments to be paired, with the same number of keys as values. |
10453 | 9976 | The caller of the subroutine is presumably at fault. |
10454 | 9977 | |
10455 | 9978 | =end original |
10456 | 9979 | |
10457 | 9980 | (F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、 |
10458 | 9981 | ハッシュに展開するために奇数の数の引数を受け取りました。 |
10459 | 9982 | 引数は、同じ数のキーと値のペアになっていることが必要です。 |
10460 | ||
9983 | サブルーチンの呼び出しものがおそらく間違えているのでしょう。 | |
10461 | 9984 | |
10462 | 9985 | =begin original |
10463 | 9986 | |
10464 | 9987 | The message attempts to include the name of the called subroutine. If the |
10465 | 9988 | subroutine has been aliased, the subroutine's original name will be shown, |
10466 | 9989 | regardless of what name the caller used. |
10467 | 9990 | |
10468 | 9991 | =end original |
10469 | 9992 | |
10470 | ||
9993 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
10471 | サブルーチン | |
9994 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
10472 | ||
9995 | 元の名前が表示されます。 | |
10473 | 9996 | |
10474 | 9997 | =item Odd number of arguments for overload::constant |
10475 | 9998 | |
10476 | 9999 | =begin original |
10477 | 10000 | |
10478 | 10001 | (W overload) The call to overload::constant contained an odd number of |
10479 | 10002 | arguments. The arguments should come in pairs. |
10480 | 10003 | |
10481 | 10004 | =end original |
10482 | 10005 | |
10483 | 10006 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 |
10484 | 10007 | 引数はペアになっている必要があります。 |
10485 | 10008 | |
10486 | 10009 | =item Odd number of elements in anonymous hash |
10487 | 10010 | |
10488 | 10011 | =begin original |
10489 | 10012 | |
10490 | 10013 | (W misc) You specified an odd number of elements to initialize a hash, |
10491 | 10014 | which is odd, because hashes come in key/value pairs. |
10492 | 10015 | |
10493 | 10016 | =end original |
10494 | 10017 | |
10495 | 10018 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
10496 | 10019 | key/value のペアで与えられますから、これは奇妙なことです。 |
10497 | 10020 | |
10498 | 10021 | =item Odd number of elements in hash assignment |
10499 | 10022 | |
10500 | 10023 | =begin original |
10501 | 10024 | |
10502 | 10025 | (W misc) You specified an odd number of elements to initialize a hash, |
10503 | 10026 | which is odd, because hashes come in key/value pairs. |
10504 | 10027 | |
10505 | 10028 | =end original |
10506 | 10029 | |
10507 | 10030 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
10508 | 10031 | key/value のペアで与えられますから、これは奇妙なことです。 |
10509 | 10032 | |
10510 | 10033 | =item Offset outside string |
10511 | 10034 | |
10512 | 10035 | =begin original |
10513 | 10036 | |
10514 | 10037 | (F)(W layer) You tried to do a read/write/send/recv/seek operation |
10515 | 10038 | with an offset pointing outside the buffer. This is difficult to |
10516 | 10039 | imagine. The sole exceptions to this are that zero padding will |
10517 | 10040 | take place when going past the end of the string when either |
10518 | 10041 | C<sysread()>ing a file, or when seeking past the end of a scalar opened |
10519 | 10042 | for I/O (in anticipation of future reads and to imitate the behavior |
10520 | 10043 | with real files). |
10521 | 10044 | |
10522 | 10045 | =end original |
10523 | 10046 | |
10524 | 10047 | (F)(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を |
10525 | 10048 | しようとしました。 |
10526 | 10049 | これは想像しにくいことです。 |
10527 | 10050 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 |
10528 | 10051 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) |
10529 | 10052 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 |
10530 | 10053 | 0 でパッディングされたときです。 |
10531 | 10054 | |
10532 | =item Old package separator used in string | |
10533 | ||
10534 | =begin original | |
10535 | ||
10536 | (W syntax) You used the old package separator, "'", in a variable | |
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">). | |
10540 | ||
10541 | =end original | |
10542 | ||
10543 | (W syntax) ダブルクォートされた文字列の中の変数名で、 | |
10544 | C<"In $name's house"> のように、 | |
10545 | 古いパッケージ区切り文字である "'" を使いました。 | |
10546 | これは C<"In $name::s house"> と等価です。 | |
10547 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
10548 | (C<"In $name\'s house">)。 | |
10549 | ||
10550 | 10055 | =item %s() on unopened %s |
10551 | 10056 | |
10552 | 10057 | =begin original |
10553 | 10058 | |
10554 | 10059 | (W unopened) An I/O operation was attempted on a filehandle that was |
10555 | 10060 | never initialized. You need to do an open(), a sysopen(), or a socket() |
10556 | 10061 | call, or call a constructor from the FileHandle package. |
10557 | 10062 | |
10558 | 10063 | =end original |
10559 | 10064 | |
10560 | 10065 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
10561 | 10066 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
10562 | 10067 | コンストラクタを呼び出す必要があります。 |
10563 | 10068 | |
10564 | 10069 | =item -%s on unopened filehandle %s |
10565 | 10070 | |
10566 | 10071 | =begin original |
10567 | 10072 | |
10568 | 10073 | (W unopened) You tried to invoke a file test operator on a filehandle |
10569 | 10074 | that isn't open. Check your control flow. See also L<perlfunc/-X>. |
10570 | 10075 | |
10571 | 10076 | =end original |
10572 | 10077 | |
10573 | 10078 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を |
10574 | 10079 | 使おうとしました。 |
10575 | 10080 | 制御フローをチェックしてください。 |
10576 | 10081 | L<perlfunc/-X> も参照してください。 |
10577 | 10082 | |
10578 | 10083 | =item oops: oopsAV |
10579 | 10084 | |
10580 | 10085 | =begin original |
10581 | 10086 | |
10582 | 10087 | (S internal) An internal warning that the grammar is screwed up. |
10583 | 10088 | |
10584 | 10089 | =end original |
10585 | 10090 | |
10586 | 10091 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
10587 | 10092 | |
10588 | 10093 | =item oops: oopsHV |
10589 | 10094 | |
10590 | 10095 | =begin original |
10591 | 10096 | |
10592 | 10097 | (S internal) An internal warning that the grammar is screwed up. |
10593 | 10098 | |
10594 | 10099 | =end original |
10595 | 10100 | |
10596 | 10101 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
10597 | 10102 | |
10103 | =item Opening dirhandle %s also as a file. This will be a fatal error in Perl 5.28 | |
10104 | ||
10105 | =begin original | |
10106 | ||
10107 | (D io, deprecated) You used open() to associate a filehandle to | |
10108 | a symbol (glob or scalar) that already holds a dirhandle. | |
10109 | Although legal, this idiom might render your code confusing | |
10110 | and this was deprecated in Perl 5.10. In Perl 5.28, this | |
10111 | will be a fatal error. | |
10112 | ||
10113 | =end original | |
10114 | ||
10115 | (D io, deprecated) open() で、既にディレクトリハンドルを保持しているシンボル | |
10116 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 | |
10117 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
10118 | あるので、これは Perl 5.10 で廃止予定になりました。 | |
10119 | Perl 5.28 で、これは致命的エラーになる予定です。 | |
10120 | ||
10121 | =item Opening filehandle %s also as a directory. This will be a fatal error in Perl 5.28 | |
10122 | ||
10123 | =begin original | |
10124 | ||
10125 | (D io, deprecated) You used opendir() to associate a dirhandle to | |
10126 | a symbol (glob or scalar) that already holds a filehandle. | |
10127 | Although legal, this idiom might render your code confusing | |
10128 | and this was deprecated in Perl 5.10. In Perl 5.28, this | |
10129 | will be a fatal error. | |
10130 | ||
10131 | =end original | |
10132 | ||
10133 | (D io, deprecated) すでにファイルハンドルを保持しているシンボル | |
10134 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
10135 | opendir() を使いました。 | |
10136 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
10137 | あるので、これは Perl 5.10 で廃止予定になりました。 | |
10138 | Perl 5.28 で、これは致命的エラーになる予定です。 | |
10139 | ||
10598 | 10140 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in |
10599 | 10141 | m/%s/ |
10600 | 10142 | |
10601 | 10143 | =begin original |
10602 | 10144 | |
10603 | 10145 | (F) You wrote something like |
10604 | 10146 | |
10605 | 10147 | =end original |
10606 | 10148 | |
10607 | (F) | |
10149 | (F) 以下のようなものを書きました | |
10608 | 10150 | |
10609 | 10151 | (?[ \p{Digit} \p{Thai} ]) |
10610 | 10152 | |
10611 | 10153 | =begin original |
10612 | 10154 | |
10613 | 10155 | There are two operands, but no operator giving how you want to combine |
10614 | 10156 | them. |
10615 | 10157 | |
10616 | 10158 | =end original |
10617 | 10159 | |
10618 | 10160 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する |
10619 | 10161 | 演算子がありません。 |
10620 | 10162 | |
10621 | 10163 | =item Operation "%s": no method found, %s |
10622 | 10164 | |
10623 | 10165 | =begin original |
10624 | 10166 | |
10625 | 10167 | (F) An attempt was made to perform an overloaded operation for which no |
10626 | 10168 | handler was defined. While some handlers can be autogenerated in terms |
10627 | 10169 | of other handlers, there is no default handler for any operation, unless |
10628 | 10170 | the C<fallback> overloading key is specified to be true. See L<overload>. |
10629 | 10171 | |
10630 | 10172 | =end original |
10631 | 10173 | |
10632 | 10174 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
10633 | 10175 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
10634 | 10176 | オーバーロードキーが真に指定されていない限り、どの動作にも |
10635 | 10177 | デフォルトのハンドラはありません。 |
10636 | 10178 | L<overload> を参照してください。 |
10637 | 10179 | |
10638 | 10180 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X |
10639 | 10181 | |
10640 | 10182 | =begin original |
10641 | 10183 | |
10642 | 10184 | (S non_unicode) You performed an operation requiring Unicode rules |
10643 | 10185 | on a code point that is not in Unicode, so what it should do is not |
10644 | 10186 | defined. Perl has chosen to have it do nothing, and warn you. |
10645 | 10187 | |
10646 | 10188 | =end original |
10647 | 10189 | |
10648 | 10190 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が |
10649 | 10191 | 必要な操作を実行しました; 何をするべきかは未定義です。 |
10650 | 10192 | Perl は何もしないことを選択し、警告を出します。 |
10651 | 10193 | |
10652 | 10194 | =begin original |
10653 | 10195 | |
10654 | 10196 | If the operation shown is "ToFold", it means that case-insensitive |
10655 | 10197 | matching in a regular expression was done on the code point. |
10656 | 10198 | |
10657 | 10199 | =end original |
10658 | 10200 | |
10659 | 10201 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
10660 | 10202 | その符号位置に対して行われたということです。 |
10661 | 10203 | |
10662 | 10204 | =begin original |
10663 | 10205 | |
10664 | 10206 | If you know what you are doing you can turn off this warning by |
10665 | 10207 | C<no warnings 'non_unicode';>. |
10666 | 10208 | |
10667 | 10209 | =end original |
10668 | 10210 | |
10669 | 10211 | 自分で何をしているのかが分かっているなら、 |
10670 | 10212 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 |
10671 | 10213 | |
10672 | 10214 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X |
10673 | 10215 | |
10674 | 10216 | =begin original |
10675 | 10217 | |
10676 | 10218 | (S surrogate) You performed an operation requiring Unicode |
10677 | 10219 | rules on a Unicode surrogate. Unicode frowns upon the use |
10678 | 10220 | of surrogates for anything but storing strings in UTF-16, but |
10679 | 10221 | rules are (reluctantly) defined for the surrogates, and |
10680 | 10222 | they are to do nothing for this operation. Because the use of |
10681 | 10223 | surrogates can be dangerous, Perl warns. |
10682 | 10224 | |
10683 | 10225 | =end original |
10684 | 10226 | |
10685 | 10227 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な |
10686 | 10228 | 操作を実行しました。 |
10687 | 10229 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに |
10688 | 10230 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは |
10689 | 10231 | この操作に対して何もしないことです。 |
10690 | 10232 | サロゲートの使用は危険かも知れないので、Perl は警告します。 |
10691 | 10233 | |
10692 | 10234 | =begin original |
10693 | 10235 | |
10694 | 10236 | If the operation shown is "ToFold", it means that case-insensitive |
10695 | 10237 | matching in a regular expression was done on the code point. |
10696 | 10238 | |
10697 | 10239 | =end original |
10698 | 10240 | |
10699 | 10241 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
10700 | 10242 | その符号位置に対して行われたということです。 |
10701 | 10243 | |
10702 | 10244 | =begin original |
10703 | 10245 | |
10704 | 10246 | If you know what you are doing you can turn off this warning by |
10705 | 10247 | C<no warnings 'surrogate';>. |
10706 | 10248 | |
10707 | 10249 | =end original |
10708 | 10250 | |
10709 | 10251 | 自分で何をしているのかが分かっているなら、 |
10710 | 10252 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
10711 | 10253 | |
10712 | 10254 | =item Operator or semicolon missing before %s |
10713 | 10255 | |
10714 | 10256 | =begin original |
10715 | 10257 | |
10716 | 10258 | (S ambiguous) You used a variable or subroutine call where the parser |
10717 | 10259 | was expecting an operator. The parser has assumed you really meant to |
10718 | 10260 | use an operator, but this is highly likely to be incorrect. For |
10719 | 10261 | example, if you say "*foo *foo" it will be interpreted as if you said |
10720 | 10262 | "*foo * 'foo'". |
10721 | 10263 | |
10722 | 10264 | =end original |
10723 | 10265 | |
10724 | 10266 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
10725 | 10267 | 呼び出しが使われました。 |
10726 | 10268 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
10727 | 10269 | これは大抵正しくありません。 |
10728 | 10270 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
10729 | 10271 | |
10730 | 10272 | =item Optional parameter lacks default expression |
10731 | 10273 | |
10732 | 10274 | =begin original |
10733 | 10275 | |
10734 | 10276 | (F) In a subroutine signature, you wrote something like "$a =", making a |
10735 | 10277 | named optional parameter without a default value. A nameless optional |
10736 | 10278 | parameter is permitted to have no default value, but a named one must |
10737 | 10279 | have a specific default. You probably want "$a = undef". |
10738 | 10280 | |
10739 | 10281 | =end original |
10740 | 10282 | |
10741 | 10283 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き |
10742 | 10284 | オプション引数を書きました。 |
10743 | 10285 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 |
10744 | 10286 | 名前付きのものはデフォルトを指定しなければなりません。 |
10745 | 10287 | おそらく "$a = undef" としたかったのでしょう。 |
10746 | 10288 | |
10747 | 10289 | =item "our" variable %s redeclared |
10748 | 10290 | |
10749 | 10291 | =begin original |
10750 | 10292 | |
10751 | (W s | |
10293 | (W misc) You seem to have already declared the same global once before | |
10752 | 10294 | in the current lexical scope. |
10753 | 10295 | |
10754 | 10296 | =end original |
10755 | 10297 | |
10756 | (W s | |
10298 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
10757 | 10299 | 宣言しているようです。 |
10758 | 10300 | |
10759 | 10301 | =item Out of memory! |
10760 | 10302 | |
10761 | 10303 | =begin original |
10762 | 10304 | |
10763 | 10305 | (X) The malloc() function returned 0, indicating there was insufficient |
10764 | 10306 | remaining memory (or virtual memory) to satisfy the request. Perl has |
10765 | 10307 | no option but to exit immediately. |
10766 | 10308 | |
10767 | 10309 | =end original |
10768 | 10310 | |
10769 | 10311 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
10770 | 10312 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
10771 | 10313 | Perl は直ちに終了するしかありませんでした。 |
10772 | 10314 | |
10773 | 10315 | =begin original |
10774 | 10316 | |
10775 | 10317 | At least in Unix you may be able to get past this by increasing your |
10776 | 10318 | process datasize limits: in csh/tcsh use C<limit> and |
10777 | 10319 | C<limit datasize n> (where C<n> is the number of kilobytes) to check |
10778 | 10320 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> |
10779 | 10321 | and C<ulimit -d n>, respectively. |
10780 | 10322 | |
10781 | 10323 | =end original |
10782 | 10324 | |
10783 | 10325 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって |
10784 | 10326 | これを回避することが可能です: |
10785 | 10327 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには |
10786 | 10328 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; |
10787 | 10329 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 |
10788 | 10330 | |
10789 | 10331 | =item Out of memory during %s extend |
10790 | 10332 | |
10791 | 10333 | =begin original |
10792 | 10334 | |
10793 | 10335 | (X) An attempt was made to extend an array, a list, or a string beyond |
10794 | 10336 | the largest possible memory allocation. |
10795 | 10337 | |
10796 | 10338 | =end original |
10797 | 10339 | |
10798 | 10340 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 |
10799 | 10341 | |
10800 | 10342 | =item Out of memory during "large" request for %s |
10801 | 10343 | |
10802 | 10344 | =begin original |
10803 | 10345 | |
10804 | 10346 | (F) The malloc() function returned 0, indicating there was insufficient |
10805 | 10347 | remaining memory (or virtual memory) to satisfy the request. However, |
10806 | 10348 | the request was judged large enough (compile-time default is 64K), so a |
10807 | 10349 | possibility to shut down by trapping this error is granted. |
10808 | 10350 | |
10809 | 10351 | =end original |
10810 | 10352 | |
10811 | 10353 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
10812 | 10354 | (または仮想メモリ)が不十分であることを示しています。 |
10813 | 10355 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
10814 | 10356 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
10815 | 10357 | |
10816 | 10358 | =item Out of memory during request for %s |
10817 | 10359 | |
10818 | 10360 | =begin original |
10819 | 10361 | |
10820 | 10362 | (X)(F) The malloc() function returned 0, indicating there was |
10821 | 10363 | insufficient remaining memory (or virtual memory) to satisfy the |
10822 | 10364 | request. |
10823 | 10365 | |
10824 | 10366 | =end original |
10825 | 10367 | |
10826 | 10368 | (X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
10827 | 10369 | (または仮想メモリ)が不十分であることを示しています。 |
10828 | 10370 | |
10829 | 10371 | =begin original |
10830 | 10372 | |
10831 | 10373 | The request was judged to be small, so the possibility to trap it |
10832 | 10374 | depends on the way perl was compiled. By default it is not trappable. |
10833 | 10375 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
10834 | 10376 | emergency pool after die()ing with this message. In this case the error |
10835 | 10377 | is trappable I<once>, and the error message will include the line and file |
10836 | 10378 | where the failed request happened. |
10837 | 10379 | |
10838 | 10380 | =end original |
10839 | 10381 | |
10840 | 10382 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
10841 | 10383 | どのようにコンパイルされたかに依存します。 |
10842 | 10384 | デフォルトではこれはトラップできません。 |
10843 | 10385 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
10844 | 10386 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
10845 | 10387 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
10846 | 10388 | 要求が起きたファイルと行番号を含んでいます。 |
10847 | 10389 | |
10848 | 10390 | =item Out of memory during ridiculously large request |
10849 | 10391 | |
10850 | 10392 | =begin original |
10851 | 10393 | |
10852 | 10394 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
10853 | 10395 | is most likely to be caused by a typo in the Perl program. e.g., |
10854 | 10396 | C<$arr[time]> instead of C<$arr[$time]>. |
10855 | 10397 | |
10856 | 10398 | =end original |
10857 | 10399 | |
10858 | 10400 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
10859 | 10401 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 |
10860 | 10402 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 |
10861 | 10403 | |
10862 | 10404 | =item Out of memory for yacc stack |
10863 | 10405 | |
10864 | 10406 | =begin original |
10865 | 10407 | |
10866 | 10408 | (F) The yacc parser wanted to grow its stack so it could continue |
10867 | 10409 | parsing, but realloc() wouldn't give it more memory, virtual or |
10868 | 10410 | otherwise. |
10869 | 10411 | |
10870 | 10412 | =end original |
10871 | 10413 | |
10872 | 10414 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
10873 | 10415 | realloc() が仮想やその他のメモリを確保できませんでした。 |
10874 | 10416 | |
10875 | 10417 | =item '.' outside of string in pack |
10876 | 10418 | |
10877 | 10419 | =begin original |
10878 | 10420 | |
10879 | 10421 | (F) The argument to a '.' in your template tried to move the working |
10880 | 10422 | position to before the start of the packed string being built. |
10881 | 10423 | |
10882 | 10424 | =end original |
10883 | 10425 | |
10884 | 10426 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも |
10885 | 10427 | 前に作業位置を移動しようとしました。 |
10886 | 10428 | |
10887 | 10429 | =item '@' outside of string in unpack |
10888 | 10430 | |
10889 | 10431 | =begin original |
10890 | 10432 | |
10891 | 10433 | (F) You had a template that specified an absolute position outside |
10892 | 10434 | the string being unpacked. See L<perlfunc/pack>. |
10893 | 10435 | |
10894 | 10436 | =end original |
10895 | 10437 | |
10896 | 10438 | (F) unpack される文字列の外に絶対位置指定している、 |
10897 | 10439 | テンプレートを指定しました。 |
10898 | 10440 | L<perlfunc/pack> を参照してください。 |
10899 | 10441 | |
10900 | 10442 | =item '@' outside of string with malformed UTF-8 in unpack |
10901 | 10443 | |
10902 | 10444 | =begin original |
10903 | 10445 | |
10904 | 10446 | (F) You had a template that specified an absolute position outside |
10905 | 10447 | the string being unpacked. The string being unpacked was also invalid |
10906 | 10448 | UTF-8. See L<perlfunc/pack>. |
10907 | 10449 | |
10908 | 10450 | =end original |
10909 | 10451 | |
10910 | 10452 | (F) unpack される文字列の外に絶対位置指定している、 |
10911 | 10453 | テンプレートを指定しました。 |
10912 | 10454 | unpack された文字列は不正な UTF-8 でもあります。 |
10913 | 10455 | L<perlfunc/pack> を参照してください。 |
10914 | 10456 | |
10915 | 10457 | =item overload arg '%s' is invalid |
10916 | 10458 | |
10917 | 10459 | =begin original |
10918 | 10460 | |
10919 | 10461 | (W overload) The L<overload> pragma was passed an argument it did not |
10920 | 10462 | recognize. Did you mistype an operator? |
10921 | 10463 | |
10922 | 10464 | =end original |
10923 | 10465 | |
10924 | 10466 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 |
10925 | 10467 | 演算子をタイプミスしましたか? |
10926 | 10468 | |
10927 | 10469 | =item Overloaded dereference did not return a reference |
10928 | 10470 | |
10929 | 10471 | =begin original |
10930 | 10472 | |
10931 | 10473 | (F) An object with an overloaded dereference operator was dereferenced, |
10932 | 10474 | but the overloaded operation did not return a reference. See |
10933 | 10475 | L<overload>. |
10934 | 10476 | |
10935 | 10477 | =end original |
10936 | 10478 | |
10937 | 10479 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが |
10938 | 10480 | デリファレンスされましたが、オーバーロード演算がリファレンスを |
10939 | 10481 | 返しませんでした。 |
10940 | 10482 | L<overload> を参照してください。 |
10941 | 10483 | |
10942 | 10484 | =item Overloaded qr did not return a REGEXP |
10943 | 10485 | |
10944 | 10486 | =begin original |
10945 | 10487 | |
10946 | 10488 | (F) An object with a C<qr> overload was used as part of a match, but the |
10947 | 10489 | overloaded operation didn't return a compiled regexp. See L<overload>. |
10948 | 10490 | |
10949 | 10491 | =end original |
10950 | 10492 | |
10951 | 10493 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として |
10952 | 10494 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を |
10953 | 10495 | 返しませんでした。 |
10954 | 10496 | L<overload> を参照してください。 |
10955 | 10497 | |
10956 | 10498 | =item %s package attribute may clash with future reserved word: %s |
10957 | 10499 | |
10958 | 10500 | =begin original |
10959 | 10501 | |
10960 | 10502 | (W reserved) A lowercase attribute name was used that had a |
10961 | 10503 | package-specific handler. That name might have a meaning to Perl itself |
10962 | 10504 | some day, even though it doesn't yet. Perhaps you should use a |
10963 | 10505 | mixed-case attribute name, instead. See L<attributes>. |
10964 | 10506 | |
10965 | 10507 | =end original |
10966 | 10508 | |
10967 | 10509 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
10968 | 10510 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
10969 | 10511 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
10970 | 10512 | L<attributes> を参照してください。 |
10971 | 10513 | |
10972 | 10514 | =item pack/unpack repeat count overflow |
10973 | 10515 | |
10974 | 10516 | =begin original |
10975 | 10517 | |
10976 | 10518 | (F) You can't specify a repeat count so large that it overflows your |
10977 | 10519 | signed integers. See L<perlfunc/pack>. |
10978 | 10520 | |
10979 | 10521 | =end original |
10980 | 10522 | |
10981 | 10523 | (F) 繰り返し回数として符号付き整数をオーバーフローするような |
10982 | 10524 | 値は指定できません。 |
10983 | 10525 | L<perlfunc/pack> を参照してください。 |
10984 | 10526 | |
10985 | 10527 | =item page overflow |
10986 | 10528 | |
10987 | 10529 | =begin original |
10988 | 10530 | |
10989 | 10531 | (W io) A single call to write() produced more lines than can fit on a |
10990 | 10532 | page. See L<perlform>. |
10991 | 10533 | |
10992 | 10534 | =end original |
10993 | 10535 | |
10994 | 10536 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が |
10995 | 10537 | できました。 |
10996 | 10538 | L<perlform> を参照してください。 |
10997 | 10539 | |
10998 | 10540 | =item panic: %s |
10999 | 10541 | |
11000 | 10542 | =begin original |
11001 | 10543 | |
11002 | 10544 | (P) An internal error. |
11003 | 10545 | |
11004 | 10546 | =end original |
11005 | 10547 | |
11006 | 10548 | (P) 内部エラーです。 |
11007 | 10549 | |
11008 | 10550 | =item panic: attempt to call %s in %s |
11009 | 10551 | |
11010 | 10552 | =begin original |
11011 | 10553 | |
11012 | 10554 | (P) One of the file test operators entered a code branch that calls |
11013 | 10555 | an ACL related-function, but that function is not available on this |
11014 | 10556 | platform. Earlier checks mean that it should not be possible to |
11015 | 10557 | enter this branch on this platform. |
11016 | 10558 | |
11017 | 10559 | =end original |
11018 | 10560 | |
11019 | 10561 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に |
11020 | 10562 | 入りましたが、この関数はこのプラットフォームでは利用できません。 |
11021 | 10563 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように |
11022 | 10564 | するべきことを意味します。 |
11023 | 10565 | |
11024 | 10566 | =item panic: child pseudo-process was never scheduled |
11025 | 10567 | |
11026 | 10568 | =begin original |
11027 | 10569 | |
11028 | 10570 | (P) A child pseudo-process in the ithreads implementation on Windows |
11029 | 10571 | was not scheduled within the time period allowed and therefore was not |
11030 | 10572 | able to initialize properly. |
11031 | 10573 | |
11032 | 10574 | =end original |
11033 | 10575 | |
11034 | 10576 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に |
11035 | 10577 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 |
11036 | 10578 | |
11037 | 10579 | =item panic: ck_grep, type=%u |
11038 | 10580 | |
11039 | 10581 | =begin original |
11040 | 10582 | |
11041 | 10583 | (P) Failed an internal consistency check trying to compile a grep. |
11042 | 10584 | |
11043 | 10585 | =end original |
11044 | 10586 | |
11045 | 10587 | (P) grep をコンパイルしようとして、内部の一貫性チェックに |
11046 | 10588 | 引っ掛かりました。 |
11047 | 10589 | |
11048 | 10590 | =item panic: corrupt saved stack index %ld |
11049 | 10591 | |
11050 | 10592 | =begin original |
11051 | 10593 | |
11052 | 10594 | (P) The savestack was requested to restore more localized values than |
11053 | 10595 | there are in the savestack. |
11054 | 10596 | |
11055 | 10597 | =end original |
11056 | 10598 | |
11057 | 10599 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
11058 | 10600 | 要求がありました。 |
11059 | 10601 | |
11060 | 10602 | =item panic: del_backref |
11061 | 10603 | |
11062 | 10604 | =begin original |
11063 | 10605 | |
11064 | 10606 | (P) Failed an internal consistency check while trying to reset a weak |
11065 | 10607 | reference. |
11066 | 10608 | |
11067 | 10609 | =end original |
11068 | 10610 | |
11069 | 10611 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
11070 | 10612 | 一貫性チェックに引っ掛かりました。 |
11071 | 10613 | |
10614 | =item panic: do_subst | |
10615 | ||
10616 | =begin original | |
10617 | ||
10618 | (P) The internal pp_subst() routine was called with invalid operational | |
10619 | data. | |
10620 | ||
10621 | =end original | |
10622 | ||
10623 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを | |
10624 | 付けて呼ばれました。 | |
10625 | ||
10626 | =item panic: do_trans_%s | |
10627 | ||
10628 | =begin original | |
10629 | ||
10630 | (P) The internal do_trans routines were called with invalid operational | |
10631 | data. | |
10632 | ||
10633 | =end original | |
10634 | ||
10635 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを | |
10636 | 付けて呼ばれました。 | |
10637 | ||
11072 | 10638 | =item panic: fold_constants JMPENV_PUSH returned %d |
11073 | 10639 | |
11074 | 10640 | =begin original |
11075 | 10641 | |
11076 | 10642 | (P) While attempting folding constants an exception other than an C<eval> |
11077 | 10643 | failure was caught. |
11078 | 10644 | |
11079 | 10645 | =end original |
11080 | 10646 | |
11081 | 10647 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 |
11082 | 10648 | |
11083 | 10649 | =item panic: frexp: %f |
11084 | 10650 | |
11085 | 10651 | =begin original |
11086 | 10652 | |
11087 | 10653 | (P) The library function frexp() failed, making printf("%f") impossible. |
11088 | 10654 | |
11089 | 10655 | =end original |
11090 | 10656 | |
11091 | 10657 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
11092 | 10658 | |
11093 | 10659 | =item panic: goto, type=%u, ix=%ld |
11094 | 10660 | |
11095 | 10661 | =begin original |
11096 | 10662 | |
11097 | 10663 | (P) We popped the context stack to a context with the specified label, |
11098 | 10664 | and then discovered it wasn't a context we know how to do a goto in. |
11099 | 10665 | |
11100 | 10666 | =end original |
11101 | 10667 | |
11102 | 10668 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
11103 | 10669 | ポップしたあと、どのように goto するかがわかっている |
11104 | 10670 | コンテキストでないことがわかりました。 |
11105 | 10671 | |
11106 | 10672 | =item panic: gp_free failed to free glob pointer |
11107 | 10673 | |
11108 | 10674 | =begin original |
11109 | 10675 | |
11110 | 10676 | (P) The internal routine used to clear a typeglob's entries tried |
11111 | 10677 | repeatedly, but each time something re-created entries in the glob. |
11112 | 10678 | Most likely the glob contains an object with a reference back to |
11113 | 10679 | the glob and a destructor that adds a new object to the glob. |
11114 | 10680 | |
11115 | 10681 | =end original |
11116 | 10682 | |
11117 | 10683 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 |
11118 | 10684 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 |
11119 | 10685 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを |
11120 | 10686 | 追加するデストラクタを持つオブジェクトが含まれています。 |
11121 | 10687 | |
11122 | 10688 | =item panic: INTERPCASEMOD, %s |
11123 | 10689 | |
11124 | 10690 | =begin original |
11125 | 10691 | |
11126 | 10692 | (P) The lexer got into a bad state at a case modifier. |
11127 | 10693 | |
11128 | 10694 | =end original |
11129 | 10695 | |
11130 | 10696 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
11131 | 10697 | |
11132 | 10698 | =item panic: INTERPCONCAT, %s |
11133 | 10699 | |
11134 | 10700 | =begin original |
11135 | 10701 | |
11136 | 10702 | (P) The lexer got into a bad state parsing a string with brackets. |
11137 | 10703 | |
11138 | 10704 | =end original |
11139 | 10705 | |
11140 | 10706 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 |
11141 | 10707 | |
11142 | 10708 | =item panic: kid popen errno read |
11143 | 10709 | |
11144 | 10710 | =begin original |
11145 | 10711 | |
11146 | 10712 | (F) A forked child returned an incomprehensible message about its errno. |
11147 | 10713 | |
11148 | 10714 | =end original |
11149 | 10715 | |
11150 | 10716 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
11151 | 10717 | |
10718 | =item panic: last, type=%u | |
10719 | ||
10720 | =begin original | |
10721 | ||
10722 | (P) We popped the context stack to a block context, and then discovered | |
10723 | it wasn't a block context. | |
10724 | ||
10725 | =end original | |
10726 | ||
10727 | (P) block コンテキストへコンテキストスタックをポップしたあと、 | |
10728 | block コンテキストでないことがわかりました。 | |
10729 | ||
10730 | =item panic: leave_scope clearsv | |
10731 | ||
10732 | =begin original | |
10733 | ||
10734 | (P) A writable lexical variable became read-only somehow within the | |
10735 | scope. | |
10736 | ||
10737 | =end original | |
10738 | ||
10739 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で | |
10740 | リードオンリーになりました。 | |
10741 | ||
11152 | 10742 | =item panic: leave_scope inconsistency %u |
11153 | 10743 | |
11154 | 10744 | =begin original |
11155 | 10745 | |
11156 | 10746 | (P) The savestack probably got out of sync. At least, there was an |
11157 | 10747 | invalid enum on the top of it. |
11158 | 10748 | |
11159 | 10749 | =end original |
11160 | 10750 | |
11161 | 10751 | (P) おそらく、セーブスタックの同期がとれていません。 |
11162 | 10752 | 少なくとも、トップに不正な enum がありました。 |
11163 | 10753 | |
11164 | 10754 | =item panic: magic_killbackrefs |
11165 | 10755 | |
11166 | 10756 | =begin original |
11167 | 10757 | |
11168 | 10758 | (P) Failed an internal consistency check while trying to reset all weak |
11169 | 10759 | references to an object. |
11170 | 10760 | |
11171 | 10761 | =end original |
11172 | 10762 | |
11173 | 10763 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
11174 | 10764 | 一貫性チェックに引っ掛かりました。 |
11175 | 10765 | |
11176 | 10766 | =item panic: malloc, %s |
11177 | 10767 | |
11178 | 10768 | =begin original |
11179 | 10769 | |
11180 | 10770 | (P) Something requested a negative number of bytes of malloc. |
11181 | 10771 | |
11182 | 10772 | =end original |
11183 | 10773 | |
11184 | 10774 | (P) malloc に負のバイト数で要求が行なわれました。 |
11185 | 10775 | |
11186 | 10776 | =item panic: memory wrap |
11187 | 10777 | |
11188 | 10778 | =begin original |
11189 | 10779 | |
11190 | 10780 | (P) Something tried to allocate either more memory than possible or a |
11191 | 10781 | negative amount. |
11192 | 10782 | |
11193 | 10783 | =end original |
11194 | 10784 | |
11195 | 10785 | (P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。 |
11196 | 10786 | |
11197 | =item panic: newFORLOOP, %s | |
11198 | ||
11199 | =begin original | |
11200 | ||
11201 | (P) The parser failed an internal consistency check while trying to parse | |
11202 | a C<foreach> loop. | |
11203 | ||
11204 | =end original | |
11205 | ||
11206 | (P) The parser failed an internal consistency check while trying to parse | |
11207 | a | |
11208 | パーサは、C<foreach> ループをパースしようとするときに、内部の | |
11209 | 一貫性チェックに失敗しました。 | |
11210 | ||
11211 | 10787 | =item panic: pad_alloc, %p!=%p |
11212 | 10788 | |
11213 | 10789 | =begin original |
11214 | 10790 | |
11215 | 10791 | (P) The compiler got confused about which scratch pad it was allocating |
11216 | 10792 | and freeing temporaries and lexicals from. |
11217 | 10793 | |
11218 | 10794 | =end original |
11219 | 10795 | |
11220 | 10796 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11221 | 10797 | スクラッチパッドについて混乱しました。 |
11222 | 10798 | |
11223 | 10799 | =item panic: pad_free curpad, %p!=%p |
11224 | 10800 | |
11225 | 10801 | =begin original |
11226 | 10802 | |
11227 | 10803 | (P) The compiler got confused about which scratch pad it was allocating |
11228 | 10804 | and freeing temporaries and lexicals from. |
11229 | 10805 | |
11230 | 10806 | =end original |
11231 | 10807 | |
11232 | 10808 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11233 | 10809 | スクラッチパッドについて混乱しました。 |
11234 | 10810 | |
11235 | 10811 | =item panic: pad_free po |
11236 | 10812 | |
11237 | 10813 | =begin original |
11238 | 10814 | |
11239 | 10815 | (P) A zero scratch pad offset was detected internally. An attempt was |
11240 | 10816 | made to free a target that had not been allocated to begin with. |
11241 | 10817 | |
11242 | 10818 | =end original |
11243 | 10819 | |
11244 | 10820 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 |
11245 | 10821 | 始めるために割り当てられていないターゲットを解放しようとしました。 |
11246 | 10822 | |
11247 | 10823 | =item panic: pad_reset curpad, %p!=%p |
11248 | 10824 | |
11249 | 10825 | =begin original |
11250 | 10826 | |
11251 | 10827 | (P) The compiler got confused about which scratch pad it was allocating |
11252 | 10828 | and freeing temporaries and lexicals from. |
11253 | 10829 | |
11254 | 10830 | =end original |
11255 | 10831 | |
11256 | 10832 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11257 | 10833 | スクラッチパッドについて混乱しました。 |
11258 | 10834 | |
11259 | 10835 | =item panic: pad_sv po |
11260 | 10836 | |
11261 | 10837 | =begin original |
11262 | 10838 | |
11263 | 10839 | (P) A zero scratch pad offset was detected internally. Most likely |
11264 | 10840 | an operator needed a target but that target had not been allocated |
11265 | 10841 | for whatever reason. |
11266 | 10842 | |
11267 | 10843 | =end original |
11268 | 10844 | |
11269 | 10845 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 |
11270 | 10846 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で |
11271 | 10847 | 割り当てられていません。 |
11272 | 10848 | |
11273 | 10849 | =item panic: pad_swipe curpad, %p!=%p |
11274 | 10850 | |
11275 | 10851 | =begin original |
11276 | 10852 | |
11277 | 10853 | (P) The compiler got confused about which scratch pad it was allocating |
11278 | 10854 | and freeing temporaries and lexicals from. |
11279 | 10855 | |
11280 | 10856 | =end original |
11281 | 10857 | |
11282 | 10858 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11283 | 10859 | スクラッチパッドについて混乱しました。 |
11284 | 10860 | |
11285 | 10861 | =item panic: pad_swipe po |
11286 | 10862 | |
11287 | 10863 | =begin original |
11288 | 10864 | |
11289 | 10865 | (P) An invalid scratch pad offset was detected internally. |
11290 | 10866 | |
11291 | 10867 | =end original |
11292 | 10868 | |
11293 | 10869 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
11294 | 10870 | |
11295 | 10871 | =item panic: pp_iter, type=%u |
11296 | 10872 | |
11297 | 10873 | =begin original |
11298 | 10874 | |
11299 | 10875 | (P) The foreach iterator got called in a non-loop context frame. |
11300 | 10876 | |
11301 | 10877 | =end original |
11302 | 10878 | |
11303 | 10879 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
11304 | 10880 | |
11305 | 10881 | =item panic: pp_match%s |
11306 | 10882 | |
11307 | 10883 | =begin original |
11308 | 10884 | |
11309 | 10885 | (P) The internal pp_match() routine was called with invalid operational |
11310 | 10886 | data. |
11311 | 10887 | |
11312 | 10888 | =end original |
11313 | 10889 | |
11314 | 10890 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを |
11315 | 10891 | 付けて呼ばれました。 |
11316 | 10892 | |
11317 | 10893 | =item panic: realloc, %s |
11318 | 10894 | |
11319 | 10895 | =begin original |
11320 | 10896 | |
11321 | 10897 | (P) Something requested a negative number of bytes of realloc. |
11322 | 10898 | |
11323 | 10899 | =end original |
11324 | 10900 | |
11325 | 10901 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
11326 | 10902 | |
11327 | 10903 | =item panic: reference miscount on nsv in sv_replace() (%d != 1) |
11328 | 10904 | |
11329 | 10905 | =begin original |
11330 | 10906 | |
11331 | 10907 | (P) The internal sv_replace() function was handed a new SV with a |
11332 | 10908 | reference count other than 1. |
11333 | 10909 | |
11334 | 10910 | =end original |
11335 | 10911 | |
11336 | 10912 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を |
11337 | 10913 | 扱いました。 |
11338 | 10914 | |
11339 | 10915 | =item panic: restartop in %s |
11340 | 10916 | |
11341 | 10917 | =begin original |
11342 | 10918 | |
11343 | 10919 | (P) Some internal routine requested a goto (or something like it), and |
11344 | 10920 | didn't supply the destination. |
11345 | 10921 | |
11346 | 10922 | =end original |
11347 | 10923 | |
11348 | 10924 | (P) 内部ルーティンから goto (または、同じようなもの) が |
11349 | 10925 | 要求されましたが、飛び先が与えれていません。 |
11350 | 10926 | |
11351 | 10927 | =item panic: return, type=%u |
11352 | 10928 | |
11353 | 10929 | =begin original |
11354 | 10930 | |
11355 | 10931 | (P) We popped the context stack to a subroutine or eval context, and |
11356 | 10932 | then discovered it wasn't a subroutine or eval context. |
11357 | 10933 | |
11358 | 10934 | =end original |
11359 | 10935 | |
11360 | 10936 | (P) サブルーチンコンテキストや eval コンテキストへ、 |
11361 | 10937 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや |
11362 | 10938 | eval コンテキストでないことがわかりました。 |
11363 | 10939 | |
11364 | 10940 | =item panic: scan_num, %s |
11365 | 10941 | |
11366 | 10942 | =begin original |
11367 | 10943 | |
11368 | 10944 | (P) scan_num() got called on something that wasn't a number. |
11369 | 10945 | |
11370 | 10946 | =end original |
11371 | 10947 | |
11372 | 10948 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
11373 | 10949 | |
11374 | 10950 | =item panic: Sequence (?{...}): no code block found in regex m/%s/ |
11375 | 10951 | |
11376 | 10952 | =begin original |
11377 | 10953 | |
11378 | 10954 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code |
11379 | 10955 | blocks, perl couldn't locate the code block that should have already been |
11380 | 10956 | seen and compiled by perl before control passed to the regex compiler. |
11381 | 10957 | |
11382 | 10958 | =end original |
11383 | 10959 | |
11384 | 10960 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 |
11385 | 10961 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって |
11386 | 10962 | コンパイルされているコードブロックを発見できませんでした。 |
11387 | 10963 | |
10964 | =item panic: strxfrm() gets absurd - a => %u, ab => %u | |
10965 | ||
10966 | =begin original | |
10967 | ||
10968 | (P) The interpreter's sanity check of the C function strxfrm() failed. | |
10969 | In your current locale the returned transformation of the string "ab" | |
10970 | is shorter than that of the string "a", which makes no sense. | |
10971 | ||
10972 | =end original | |
10973 | ||
10974 | (P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。 | |
10975 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の | |
10976 | 変換で返されたものよりも短いので、おかしいです。 | |
10977 | ||
11388 | 10978 | =item panic: sv_chop %s |
11389 | 10979 | |
11390 | 10980 | =begin original |
11391 | 10981 | |
11392 | 10982 | (P) The sv_chop() routine was passed a position that is not within the |
11393 | 10983 | scalar's string buffer. |
11394 | 10984 | |
11395 | 10985 | =end original |
11396 | 10986 | |
11397 | 10987 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を |
11398 | 10988 | 渡されました。 |
11399 | 10989 | |
11400 | 10990 | =item panic: sv_insert, midend=%p, bigend=%p |
11401 | 10991 | |
11402 | 10992 | =begin original |
11403 | 10993 | |
11404 | 10994 | (P) The sv_insert() routine was told to remove more string than there |
11405 | 10995 | was string. |
11406 | 10996 | |
11407 | 10997 | =end original |
11408 | 10998 | |
11409 | 10999 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
11410 | 11000 | 指示されました。 |
11411 | 11001 | |
11412 | 11002 | =item panic: top_env |
11413 | 11003 | |
11414 | 11004 | =begin original |
11415 | 11005 | |
11416 | 11006 | (P) The compiler attempted to do a goto, or something weird like that. |
11417 | 11007 | |
11418 | 11008 | =end original |
11419 | 11009 | |
11420 | 11010 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
11421 | 11011 | |
11422 | =item panic: unexpected constant lvalue entersub entry via type/targ %d:%d | |
11423 | ||
11424 | =begin original | |
11425 | ||
11426 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
11427 | internal consistency check. It encountered a malformed op tree. | |
11428 | ||
11429 | =end original | |
11430 | ||
11431 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
11432 | 内部一貫性チェックに失敗しました。 | |
11433 | 不正な構文木に遭遇しました。 | |
11434 | ||
11435 | 11012 | =item panic: unimplemented op %s (#%d) called |
11436 | 11013 | |
11437 | 11014 | =begin original |
11438 | 11015 | |
11439 | 11016 | (P) The compiler is screwed up and attempted to use an op that isn't |
11440 | 11017 | permitted at run time. |
11441 | 11018 | |
11442 | 11019 | =end original |
11443 | 11020 | |
11444 | 11021 | (P) コンパイラがおかしくなって、実行時に許可されていない op を |
11445 | 11022 | しようとしました。 |
11446 | 11023 | |
11447 | 11024 | =item panic: unknown OA_*: %x |
11448 | 11025 | |
11449 | 11026 | =begin original |
11450 | 11027 | |
11451 | 11028 | (P) The internal routine that handles arguments to C<&CORE::foo()> |
11452 | 11029 | subroutine calls was unable to determine what type of arguments |
11453 | 11030 | were expected. |
11454 | 11031 | |
11455 | 11032 | =end original |
11456 | 11033 | |
11457 | 11034 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 |
11458 | 11035 | どの種類の引数が想定されているかを決定できませんでした。 |
11459 | 11036 | |
11460 | 11037 | =item panic: utf16_to_utf8: odd bytelen |
11461 | 11038 | |
11462 | 11039 | =begin original |
11463 | 11040 | |
11464 | 11041 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
11465 | 11042 | to even) byte length. |
11466 | 11043 | |
11467 | 11044 | =end original |
11468 | 11045 | |
11469 | 11046 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
11470 | 11047 | 呼び出そうとしました。 |
11471 | 11048 | |
11472 | 11049 | =item panic: utf16_to_utf8_reversed: odd bytelen |
11473 | 11050 | |
11474 | 11051 | =begin original |
11475 | 11052 | |
11476 | 11053 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed |
11477 | 11054 | to even) byte length. |
11478 | 11055 | |
11479 | 11056 | =end original |
11480 | 11057 | |
11481 | 11058 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 |
11482 | 11059 | |
11483 | 11060 | =item panic: yylex, %s |
11484 | 11061 | |
11485 | 11062 | =begin original |
11486 | 11063 | |
11487 | 11064 | (P) The lexer got into a bad state while processing a case modifier. |
11488 | 11065 | |
11489 | 11066 | =end original |
11490 | 11067 | |
11491 | 11068 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 |
11492 | 11069 | |
11493 | 11070 | =item Parentheses missing around "%s" list |
11494 | 11071 | |
11495 | 11072 | =begin original |
11496 | 11073 | |
11497 | 11074 | (W parenthesis) You said something like |
11498 | 11075 | |
11499 | 11076 | =end original |
11500 | 11077 | |
11501 | 11078 | (W parenthesis) おそらく以下のようにしたのでしょう: |
11502 | 11079 | |
11503 | 11080 | my $foo, $bar = @_; |
11504 | 11081 | |
11505 | 11082 | =begin original |
11506 | 11083 | |
11507 | 11084 | when you meant |
11508 | 11085 | |
11509 | 11086 | =end original |
11510 | 11087 | |
11511 | 11088 | 以下のようにすべきです: |
11512 | 11089 | |
11513 | 11090 | my ($foo, $bar) = @_; |
11514 | 11091 | |
11515 | 11092 | =begin original |
11516 | 11093 | |
11517 | 11094 | Remember that "my", "our", "local" and "state" bind tighter than comma. |
11518 | 11095 | |
11519 | 11096 | =end original |
11520 | 11097 | |
11521 | 11098 | "my", "our", "local", "state" は、コンマよりも強く結合することを |
11522 | 11099 | 忘れないでください。 |
11523 | 11100 | |
11524 | 11101 | =item Parsing code internal error (%s) |
11525 | 11102 | |
11526 | 11103 | =begin original |
11527 | 11104 | |
11528 | 11105 | (F) Parsing code supplied by an extension violated the parser's API in |
11529 | 11106 | a detectable way. |
11530 | 11107 | |
11531 | 11108 | =end original |
11532 | 11109 | |
11533 | 11110 | (F) エクステンションによって供給されたパースコードが、検出できる形で |
11534 | 11111 | パーサの API に違反しています。 |
11535 | 11112 | |
11536 | 11113 | =item Pattern subroutine nesting without pos change exceeded limit in regex |
11537 | 11114 | |
11538 | 11115 | =begin original |
11539 | 11116 | |
11540 | 11117 | (F) You used a pattern that uses too many nested subpattern calls without |
11541 | 11118 | consuming any text. Restructure the pattern so text is consumed before |
11542 | 11119 | the nesting limit is exceeded. |
11543 | 11120 | |
11544 | 11121 | =end original |
11545 | 11122 | |
11546 | 11123 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う |
11547 | 11124 | パターンを使いました。 |
11548 | 11125 | ネストの制限を越える前にテキストを消費するようにパターンを |
11549 | 11126 | 再構成してください。 |
11550 | 11127 | |
11551 | 11128 | =item C<-p> destination: %s |
11552 | 11129 | |
11553 | 11130 | =begin original |
11554 | 11131 | |
11555 | 11132 | (F) An error occurred during the implicit output invoked by the C<-p> |
11556 | 11133 | command-line switch. (This output goes to STDOUT unless you've |
11557 | 11134 | redirected it with select().) |
11558 | 11135 | |
11559 | 11136 | =end original |
11560 | 11137 | |
11561 | 11138 | (F) C<-p> コマンドラインオプションで起動された |
11562 | 11139 | 暗黙の出力中にエラーが発生しました。 |
11563 | 11140 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) |
11564 | 11141 | |
11565 | 11142 | =item Perl API version %s of %s does not match %s |
11566 | 11143 | |
11567 | 11144 | =begin original |
11568 | 11145 | |
11569 | 11146 | (F) The XS module in question was compiled against a different incompatible |
11570 | 11147 | version of Perl than the one that has loaded the XS module. |
11571 | 11148 | |
11572 | 11149 | =end original |
11573 | 11150 | |
11574 | 11151 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの |
11575 | 11152 | Perl 用にコンパイルされたものです。 |
11576 | 11153 | |
11577 | 11154 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug |
11578 | 11155 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ |
11579 | 11156 | |
11580 | 11157 | =begin original |
11581 | 11158 | |
11582 | 11159 | (S regexp) You used a regular expression with case-insensitive matching, |
11583 | 11160 | and there is a bug in Perl in which the built-in regular expression |
11584 | 11161 | folding rules are not accurate. This may lead to incorrect results. |
11585 | Please report this as a bug | |
11162 | Please report this as a bug using the L<perlbug> utility. | |
11586 | 11163 | |
11587 | 11164 | =end original |
11588 | 11165 | |
11589 | 11166 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして |
11590 | 11167 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 |
11591 | 11168 | これは間違った結果を引き起こします。 |
11592 | どうか L< | |
11169 | どうか L<perlbug> ユーティリティを使ってバグとして報告してください。 | |
11593 | バグとして報告してください。 | |
11594 | 11170 | |
11171 | =item PerlIO layer ':win32' is experimental | |
11172 | ||
11173 | =begin original | |
11174 | ||
11175 | (S experimental::win32_perlio) The C<:win32> PerlIO layer is | |
11176 | experimental. If you want to take the risk of using this layer, | |
11177 | simply disable this warning: | |
11178 | ||
11179 | =end original | |
11180 | ||
11181 | (S experimental::win32_perlio) C<:win32> PerlIO 層は実験的です。 | |
11182 | この層を使うリスクを取りたい場合は、単にこの警告を無効にしてください: | |
11183 | ||
11184 | no warnings "experimental::win32_perlio"; | |
11185 | ||
11595 | 11186 | =item Perl_my_%s() not available |
11596 | 11187 | |
11597 | 11188 | =begin original |
11598 | 11189 | |
11599 | 11190 | (F) Your platform has very uncommon byte-order and integer size, |
11600 | 11191 | so it was not possible to set up some or all fixed-width byte-order |
11601 | 11192 | conversion functions. This is only a problem when you're using the |
11602 | 11193 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. |
11603 | 11194 | |
11604 | 11195 | =end original |
11605 | 11196 | |
11606 | 11197 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを |
11607 | 11198 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 |
11608 | 11199 | これは (un)pack テンプレートの中で |
11609 | 11200 | '<' か '>' の修飾子を使った場合にのみ問題となります。 |
11610 | 11201 | L<perlfunc/pack> を参照してください。 |
11611 | 11202 | |
11612 | 11203 | =item Perl %s required (did you mean %s?)--this is only %s, stopped |
11613 | 11204 | |
11614 | 11205 | =begin original |
11615 | 11206 | |
11616 | 11207 | (F) The code you are trying to run has asked for a newer version of |
11617 | 11208 | Perl than you are running. Perhaps C<use 5.10> was written instead |
11618 | 11209 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is |
11619 | 11210 | interpreted as a decimal, with every three digits after the |
11620 | 11211 | decimal point representing a part of the version number. So 5.10 |
11621 | 11212 | is equivalent to v5.100. |
11622 | 11213 | |
11623 | 11214 | =end original |
11624 | 11215 | |
11625 | 11216 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを |
11626 | 11217 | 尋ねました。 |
11627 | 11218 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と |
11628 | 11219 | 書かれているのでしょう。 |
11629 | 11220 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の |
11630 | 11221 | 部分を表現していると解釈されます。 |
11631 | 11222 | それで、5.10 は v5.100 と等価です。 |
11632 | 11223 | |
11633 | 11224 | =item Perl %s required--this is only %s, stopped |
11634 | 11225 | |
11635 | 11226 | =begin original |
11636 | 11227 | |
11637 | 11228 | (F) The module in question uses features of a version of Perl more |
11638 | 11229 | recent than the currently running version. How long has it been since |
11639 | 11230 | you upgraded, anyway? See L<perlfunc/require>. |
11640 | 11231 | |
11641 | 11232 | =end original |
11642 | 11233 | |
11643 | 11234 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
11644 | 11235 | 機能を使っています。 |
11645 | 11236 | ところで、いつからアップグレードしていないのですか? |
11646 | 11237 | L<perlfunc/require> を参照してください。 |
11647 | 11238 | |
11648 | 11239 | =item PERL_SH_DIR too long |
11649 | 11240 | |
11650 | 11241 | =begin original |
11651 | 11242 | |
11652 | 11243 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the |
11653 | 11244 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
11654 | 11245 | |
11655 | 11246 | =end original |
11656 | 11247 | |
11657 | 11248 | (F) OS/2 固有のエラーです。 |
11658 | 11249 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
11659 | 11250 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
11660 | 11251 | |
11661 | 11252 | =item PERL_SIGNALS illegal: "%s" |
11662 | 11253 | |
11663 | 11254 | =begin original |
11664 | 11255 | |
11665 | 11256 | (X) See L<perlrun/PERL_SIGNALS> for legal values. |
11666 | 11257 | |
11667 | 11258 | =end original |
11668 | 11259 | |
11669 | 11260 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 |
11670 | 11261 | |
11671 | 11262 | =item Perls since %s too modern--this is %s, stopped |
11672 | 11263 | |
11673 | 11264 | =begin original |
11674 | 11265 | |
11675 | 11266 | (F) The code you are trying to run claims it will not run |
11676 | 11267 | on the version of Perl you are using because it is too new. |
11677 | 11268 | Maybe the code needs to be updated, or maybe it is simply |
11678 | 11269 | wrong and the version check should just be removed. |
11679 | 11270 | |
11680 | 11271 | =end original |
11681 | 11272 | |
11682 | 11273 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると |
11683 | 11274 | 主張しています。 |
11684 | 11275 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に |
11685 | 11276 | バージョンチェックを削除するべきかもしれません。 |
11686 | 11277 | |
11687 | 11278 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set |
11688 | 11279 | |
11689 | 11280 | =begin original |
11690 | 11281 | |
11691 | 11282 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it |
11692 | 11283 | contained a non hex character. This could mean you are not using the |
11693 | 11284 | hash seed you think you are. |
11694 | 11285 | |
11695 | 11286 | =end original |
11696 | 11287 | |
11697 | 11288 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども |
11698 | 11289 | 非 16 進数文字を含む必要があります。 |
11699 | 11290 | これは、考えているようなハッシュの種が使われないことを |
11700 | 11291 | 意味しているかもしれません。 |
11701 | 11292 | |
11702 | 11293 | =item perl: warning: Setting locale failed. |
11703 | 11294 | |
11704 | 11295 | =begin original |
11705 | 11296 | |
11706 | 11297 | (S) The whole warning message will look something like: |
11707 | 11298 | |
11708 | 11299 | =end original |
11709 | 11300 | |
11710 | 11301 | (S) 警告全体は以下のような形になります: |
11711 | 11302 | |
11712 | 11303 | perl: warning: Setting locale failed. |
11713 | 11304 | perl: warning: Please check that your locale settings: |
11714 | 11305 | LC_ALL = "En_US", |
11715 | 11306 | LANG = (unset) |
11716 | 11307 | are supported and installed on your system. |
11717 | 11308 | perl: warning: Falling back to the standard locale ("C"). |
11718 | 11309 | |
11719 | 11310 | =begin original |
11720 | 11311 | |
11721 | 11312 | Exactly what were the failed locale settings varies. In the above the |
11722 | 11313 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
11723 | 11314 | This error means that Perl detected that you and/or your operating |
11724 | 11315 | system supplier and/or system administrator have set up the so-called |
11725 | 11316 | locale system but Perl could not use those settings. This was not |
11726 | 11317 | dead serious, fortunately: there is a "default locale" called "C" that |
11727 | 11318 | Perl can and will use, and the script will be run. Before you really |
11728 | 11319 | fix the problem, however, you will get the same error message each |
11729 | 11320 | time you run Perl. How to really fix the problem can be found in |
11730 | 11321 | L<perllocale> section B<LOCALE PROBLEMS>. |
11731 | 11322 | |
11732 | 11323 | =end original |
11733 | 11324 | |
11734 | 11325 | 正確にどのロケール設定が失敗したのかは様々です。 |
11735 | 11326 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
11736 | 11327 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
11737 | 11328 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
11738 | 11329 | 検出したことを意味します。 |
11739 | 11330 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
11740 | 11331 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
11741 | 11332 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
11742 | 11333 | メッセージが表示されます。 |
11743 | 11334 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
11744 | 11335 | 章にあります。 |
11745 | 11336 | |
11746 | 11337 | =item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s' |
11747 | 11338 | |
11748 | 11339 | =begin original |
11749 | 11340 | |
11750 | 11341 | (S) Perl was run with the environment variable PERL_PERTURB_KEYS defined |
11751 | 11342 | but containing an unexpected value. The legal values of this setting |
11752 | 11343 | are as follows. |
11753 | 11344 | |
11754 | 11345 | =end original |
11755 | 11346 | |
11756 | 11347 | (S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが |
11757 | 11348 | 想定外の値でした。 |
11758 | 11349 | この設定の正当な値は以下のものです。 |
11759 | 11350 | |
11760 | 11351 | Numeric | String | Result |
11761 | 11352 | --------+---------------+----------------------------------------- |
11762 | 11353 | 0 | NO | Disables key traversal randomization |
11763 | 11354 | 1 | RANDOM | Enables full key traversal randomization |
11764 | 11355 | 2 | DETERMINISTIC | Enables repeatable key traversal |
11765 | 11356 | | | randomization |
11766 | 11357 | |
11767 | 11358 | =begin original |
11768 | 11359 | |
11769 | 11360 | Both numeric and string values are accepted, but note that string values are |
11770 | 11361 | case sensitive. The default for this setting is "RANDOM" or 1. |
11771 | 11362 | |
11772 | 11363 | =end original |
11773 | 11364 | |
11774 | 11365 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を |
11775 | 11366 | 区別することに注意してください。 |
11776 | 11367 | この設定のデフォルトは "RANDOM"、つまり 1 です。 |
11777 | 11368 | |
11778 | 11369 | =item pid %x not a child |
11779 | 11370 | |
11780 | 11371 | =begin original |
11781 | 11372 | |
11782 | 11373 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
11783 | 11374 | process which isn't a subprocess of the current process. While this is |
11784 | 11375 | fine from VMS' perspective, it's probably not what you intended. |
11785 | 11376 | |
11786 | 11377 | =end original |
11787 | 11378 | |
11788 | 11379 | (W exec) VMS に固有の警告です。 |
11789 | 11380 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
11790 | 11381 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
11791 | 11382 | ないでしょう。 |
11792 | 11383 | |
11793 | 11384 | =item 'P' must have an explicit size in unpack |
11794 | 11385 | |
11795 | 11386 | =begin original |
11796 | 11387 | |
11797 | 11388 | (F) The unpack format P must have an explicit size, not "*". |
11798 | 11389 | |
11799 | 11390 | =end original |
11800 | 11391 | |
11801 | 11392 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを |
11802 | 11393 | 指定しなければなりません。 |
11803 | 11394 | |
11804 | 11395 | =item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/ |
11805 | 11396 | |
11806 | 11397 | =begin original |
11807 | 11398 | |
11808 | 11399 | (F) The class in the character class [: :] syntax is unknown. The S<<-- HERE> |
11809 | 11400 | shows whereabouts in the regular expression the problem was discovered. |
11810 | 11401 | Note that the POSIX character classes do B<not> have the C<is> prefix |
11811 | 11402 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, |
11812 | 11403 | not C<isprint>. See L<perlre>. |
11813 | 11404 | |
11814 | 11405 | =end original |
11815 | 11406 | |
11816 | 11407 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 |
11817 | 11408 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11818 | 11409 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が |
11819 | 11410 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 |
11820 | 11411 | C<isprint> ではありません。 |
11821 | 11412 | L<perlre> を参照してください。 |
11822 | 11413 | |
11823 | 11414 | =item POSIX getpgrp can't take an argument |
11824 | 11415 | |
11825 | 11416 | =begin original |
11826 | 11417 | |
11827 | 11418 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike |
11828 | 11419 | the BSD version, which takes a pid. |
11829 | 11420 | |
11830 | 11421 | =end original |
11831 | 11422 | |
11832 | 11423 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの |
11833 | 11424 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 |
11834 | 11425 | |
11835 | 11426 | =item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by |
11836 | 11427 | S<<-- HERE> in m/%s/ |
11837 | 11428 | |
11838 | 11429 | =begin original |
11839 | 11430 | |
11840 | 11431 | (W regexp) Perl thinks that you intended to write a POSIX character |
11841 | 11432 | class, but didn't use enough brackets. These POSIX class constructs [: |
11842 | 11433 | :], [= =], and [. .] go I<inside> character classes, the [] are part of |
11843 | 11434 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular |
11844 | 11435 | expression pattern compiled to is probably not what you were intending. |
11845 | 11436 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character |
11846 | 11437 | class consisting of the four characters C<":">, C<"a">, C<"l">, |
11847 | 11438 | C<"h">, and C<"p">. To specify the POSIX class, it should have been |
11848 | 11439 | written C<qr/[[:alpha:]]/>. |
11849 | 11440 | |
11850 | 11441 | =end original |
11851 | 11442 | |
11852 | 11443 | (W regexp) Perl は、あなたが POSIX 文字クラスを書くことを意図していると |
11853 | 11444 | 考えましたが、大かっこが足りませんでした。 |
11854 | 11445 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 |
11855 | 11446 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 |
11856 | 11447 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは |
11857 | 11448 | ないでしょう。 |
11858 | 11449 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の |
11859 | 11450 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 |
11860 | 11451 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 |
11861 | 11452 | |
11862 | 11453 | =begin original |
11863 | 11454 | |
11864 | 11455 | Note that [= =] and [. .] are not currently |
11865 | 11456 | implemented; they are simply placeholders for future extensions and |
11866 | 11457 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular |
11867 | 11458 | expression the problem was discovered. See L<perlre>. |
11868 | 11459 | |
11869 | 11460 | =end original |
11870 | 11461 | |
11871 | 11462 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
11872 | 11463 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
11873 | 11464 | 生成します。 |
11874 | 11465 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11875 | 11466 | L<perlre> を参照してください。 |
11876 | 11467 | |
11877 | 11468 | =begin original |
11878 | 11469 | |
11879 | 11470 | If the specification of the class was not completely valid, the message |
11880 | 11471 | indicates that. |
11881 | 11472 | |
11882 | 11473 | =end original |
11883 | 11474 | |
11884 | 11475 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 |
11885 | 11476 | |
11886 | 11477 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by |
11887 | 11478 | S<<-- HERE> in m/%s/ |
11888 | 11479 | |
11889 | 11480 | =begin original |
11890 | 11481 | |
11891 | 11482 | (F) Within regular expression character classes ([]) the syntax beginning |
11892 | 11483 | with "[." and ending with ".]" is reserved for future extensions. If you |
11893 | 11484 | need to represent those character sequences inside a regular expression |
11894 | 11485 | character class, just quote the square brackets with the backslash: "\[." |
11895 | 11486 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the |
11896 | 11487 | problem was discovered. See L<perlre>. |
11897 | 11488 | |
11898 | 11489 | =end original |
11899 | 11490 | |
11900 | 11491 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で |
11901 | 11492 | 終わる文法は将来の拡張のために予約されます。 |
11902 | 11493 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
11903 | 11494 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
11904 | 11495 | クォートしてください。 |
11905 | 11496 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11906 | 11497 | L<perlre> を参照してください。 |
11907 | 11498 | |
11908 | 11499 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by |
11909 | 11500 | S<<-- HERE> in m/%s/ |
11910 | 11501 | |
11911 | 11502 | =begin original |
11912 | 11503 | |
11913 | 11504 | (F) Within regular expression character classes ([]) the syntax beginning |
11914 | 11505 | with "[=" and ending with "=]" is reserved for future extensions. If you |
11915 | 11506 | need to represent those character sequences inside a regular expression |
11916 | 11507 | character class, just quote the square brackets with the backslash: "\[=" |
11917 | 11508 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the |
11918 | 11509 | problem was discovered. See L<perlre>. |
11919 | 11510 | |
11920 | 11511 | =end original |
11921 | 11512 | |
11922 | 11513 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
11923 | 11514 | 終わる文法は将来の拡張のために予約されます。 |
11924 | 11515 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
11925 | 11516 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
11926 | 11517 | クォートしてください。 |
11927 | 11518 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11928 | 11519 | L<perlre> を参照してください。 |
11929 | 11520 | |
11930 | 11521 | =item Possible attempt to put comments in qw() list |
11931 | 11522 | |
11932 | 11523 | =begin original |
11933 | 11524 | |
11934 | 11525 | (W qw) qw() lists contain items separated by whitespace; as with literal |
11935 | 11526 | strings, comment characters are not ignored, but are instead treated as |
11936 | 11527 | literal data. (You may have used different delimiters than the |
11937 | 11528 | parentheses shown here; braces are also frequently used.) |
11938 | 11529 | |
11939 | 11530 | =end original |
11940 | 11531 | |
11941 | 11532 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
11942 | 11533 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
11943 | 11534 | (ここで使われているのと違うデリミタを用いているかもしれません; |
11944 | 11535 | 大かっこもよく使われます。) |
11945 | 11536 | |
11946 | 11537 | =begin original |
11947 | 11538 | |
11948 | 11539 | You probably wrote something like this: |
11949 | 11540 | |
11950 | 11541 | =end original |
11951 | 11542 | |
11952 | 11543 | おそらく以下のように書いたのでしょう: |
11953 | 11544 | |
11954 | 11545 | @list = qw( |
11955 | 11546 | a # a comment |
11956 | 11547 | b # another comment |
11957 | 11548 | ); |
11958 | 11549 | |
11959 | 11550 | =begin original |
11960 | 11551 | |
11961 | 11552 | when you should have written this: |
11962 | 11553 | |
11963 | 11554 | =end original |
11964 | 11555 | |
11965 | 11556 | 以下のように書くべきです: |
11966 | 11557 | |
11967 | 11558 | @list = qw( |
11968 | 11559 | a |
11969 | 11560 | b |
11970 | 11561 | ); |
11971 | 11562 | |
11972 | 11563 | =begin original |
11973 | 11564 | |
11974 | 11565 | If you really want comments, build your list the |
11975 | 11566 | old-fashioned way, with quotes and commas: |
11976 | 11567 | |
11977 | 11568 | =end original |
11978 | 11569 | |
11979 | 11570 | 本当にコメントをつけたいのなら、 |
11980 | 11571 | リストを昔のクォートとカンマの形で書いてください。 |
11981 | 11572 | |
11982 | 11573 | @list = ( |
11983 | 11574 | 'a', # a comment |
11984 | 11575 | 'b', # another comment |
11985 | 11576 | ); |
11986 | 11577 | |
11987 | 11578 | =item Possible attempt to separate words with commas |
11988 | 11579 | |
11989 | 11580 | =begin original |
11990 | 11581 | |
11991 | 11582 | (W qw) qw() lists contain items separated by whitespace; therefore |
11992 | 11583 | commas aren't needed to separate the items. (You may have used |
11993 | 11584 | different delimiters than the parentheses shown here; braces are also |
11994 | 11585 | frequently used.) |
11995 | 11586 | |
11996 | 11587 | =end original |
11997 | 11588 | |
11998 | 11589 | (W qw) qw() リストに空白で分割された項目があります; |
11999 | 11590 | そのため、カンマは項目を分割する必要がありません。 |
12000 | 11591 | (ここで使われているのと違うデリミタを用いているかもしれません; |
12001 | 11592 | 大かっこもよく使われます。) |
12002 | 11593 | |
12003 | 11594 | =begin original |
12004 | 11595 | |
12005 | 11596 | You probably wrote something like this: |
12006 | 11597 | |
12007 | 11598 | =end original |
12008 | 11599 | |
12009 | 11600 | おそらく以下のように書いたのでしょう: |
12010 | 11601 | |
12011 | 11602 | qw! a, b, c !; |
12012 | 11603 | |
12013 | 11604 | =begin original |
12014 | 11605 | |
12015 | 11606 | which puts literal commas into some of the list items. Write it without |
12016 | 11607 | commas if you don't want them to appear in your data: |
12017 | 11608 | |
12018 | 11609 | =end original |
12019 | 11610 | |
12020 | 11611 | リスト要素の中にリテラルのカンマを書いています。 |
12021 | 11612 | データの中にカンマを出したくないなら、カンマなしで書きます: |
12022 | 11613 | |
12023 | 11614 | qw! a b c !; |
12024 | 11615 | |
12025 | 11616 | =item Possible memory corruption: %s overflowed 3rd argument |
12026 | 11617 | |
12027 | 11618 | =begin original |
12028 | 11619 | |
12029 | 11620 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
12030 | 11621 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
12031 | 11622 | end of the buffer just in case. This sentinel byte got clobbered, and |
12032 | 11623 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
12033 | 11624 | |
12034 | 11625 | =end original |
12035 | 11626 | |
12036 | 11627 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
12037 | 11628 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
12038 | 11629 | 最後に目印を付けています。 |
12039 | 11630 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
12040 | 11631 | L<perlfunc/ioctl> を参照してください。 |
12041 | 11632 | |
12042 | 11633 | =item Possible precedence issue with control flow operator |
12043 | 11634 | |
12044 | 11635 | =begin original |
12045 | 11636 | |
12046 | 11637 | (W syntax) There is a possible problem with the mixing of a control |
12047 | 11638 | flow operator (e.g. C<return>) and a low-precedence operator like |
12048 | 11639 | C<or>. Consider: |
12049 | 11640 | |
12050 | 11641 | =end original |
12051 | 11642 | |
12052 | 11643 | (W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような |
12053 | 11644 | 低優先順位演算子を混ぜると問題が起きることがあります。 |
12054 | 11645 | 次を考えると: |
12055 | 11646 | |
12056 | 11647 | sub { return $a or $b; } |
12057 | 11648 | |
12058 | 11649 | =begin original |
12059 | 11650 | |
12060 | 11651 | This is parsed as: |
12061 | 11652 | |
12062 | 11653 | =end original |
12063 | 11654 | |
12064 | 11655 | これは次のようにパースされます: |
12065 | 11656 | |
12066 | 11657 | sub { (return $a) or $b; } |
12067 | 11658 | |
12068 | 11659 | =begin original |
12069 | 11660 | |
12070 | 11661 | Which is effectively just: |
12071 | 11662 | |
12072 | 11663 | =end original |
12073 | 11664 | |
12074 | 11665 | これは事実上次のものです: |
12075 | 11666 | |
12076 | 11667 | sub { return $a; } |
12077 | 11668 | |
12078 | 11669 | =begin original |
12079 | 11670 | |
12080 | 11671 | Either use parentheses or the high-precedence variant of the operator. |
12081 | 11672 | |
12082 | 11673 | =end original |
12083 | 11674 | |
12084 | 11675 | かっこか、高優先順位版の演算子を使ってください。 |
12085 | 11676 | |
12086 | 11677 | =begin original |
12087 | 11678 | |
12088 | 11679 | Note this may be also triggered for constructs like: |
12089 | 11680 | |
12090 | 11681 | =end original |
12091 | 11682 | |
12092 | 11683 | これは次のような構文でも引き起こされることに注意してください: |
12093 | 11684 | |
12094 | 11685 | sub { 1 if die; } |
12095 | 11686 | |
12096 | 11687 | =item Possible precedence problem on bitwise %s operator |
12097 | 11688 | |
12098 | 11689 | =begin original |
12099 | 11690 | |
12100 | 11691 | (W precedence) Your program uses a bitwise logical operator in conjunction |
12101 | 11692 | with a numeric comparison operator, like this : |
12102 | 11693 | |
12103 | 11694 | =end original |
12104 | 11695 | |
12105 | 11696 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と |
12106 | 11697 | 結合して使用しています: |
12107 | 11698 | |
12108 | 11699 | if ($x & $y == 0) { ... } |
12109 | 11700 | |
12110 | 11701 | =begin original |
12111 | 11702 | |
12112 | 11703 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the |
12113 | 11704 | higher precedence of C<==>. This is probably not what you want. (If you |
12114 | 11705 | really meant to write this, disable the warning, or, better, put the |
12115 | 11706 | parentheses explicitly and write C<$x & ($y == 0)>). |
12116 | 11707 | |
12117 | 11708 | =end original |
12118 | 11709 | |
12119 | 11710 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と |
12120 | 11711 | 等価になります。 |
12121 | 11712 | これはおそらく望んでいるものではないでしょう。 |
12122 | 11713 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは |
12123 | 11714 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 |
12124 | 11715 | |
12125 | 11716 | =item Possible unintended interpolation of $\ in regex |
12126 | 11717 | |
12127 | 11718 | =begin original |
12128 | 11719 | |
12129 | 11720 | (W ambiguous) You said something like C<m/$\/> in a regex. |
12130 | 11721 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output |
12131 | 11722 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) |
12132 | 11723 | followed by the word 'bar'. |
12133 | 11724 | |
12134 | 11725 | =end original |
12135 | 11726 | |
12136 | 11727 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 |
12137 | 11728 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 |
12138 | 11729 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 |
12139 | 11730 | 'bar' にマッチングします。 |
12140 | 11731 | |
12141 | 11732 | =begin original |
12142 | 11733 | |
12143 | 11734 | If this is what you intended then you can silence the warning by using |
12144 | 11735 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). |
12145 | 11736 | |
12146 | 11737 | =end original |
12147 | 11738 | |
12148 | 11739 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます |
12149 | 11740 | (例えば: C<m/foo${\}s+bar/>)。 |
12150 | 11741 | |
12151 | 11742 | =begin original |
12152 | 11743 | |
12153 | 11744 | If instead you intended to match the word 'foo' at the end of the line |
12154 | 11745 | followed by whitespace and the word 'bar' on the next line then you can use |
12155 | 11746 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). |
12156 | 11747 | |
12157 | 11748 | =end original |
12158 | 11749 | |
12159 | 11750 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に |
12160 | 11751 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: |
12161 | 11752 | C<m/foo$(?)\s+bar/>)。 |
12162 | 11753 | |
12163 | 11754 | =item Possible unintended interpolation of %s in string |
12164 | 11755 | |
12165 | 11756 | =begin original |
12166 | 11757 | |
12167 | 11758 | (W ambiguous) You said something like '@foo' in a double-quoted string |
12168 | 11759 | but there was no array C<@foo> in scope at the time. If you wanted a |
12169 | 11760 | literal @foo, then write it as \@foo; otherwise find out what happened |
12170 | 11761 | to the array you apparently lost track of. |
12171 | 11762 | |
12172 | 11763 | =end original |
12173 | 11764 | |
12174 | 11765 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 |
12175 | 11766 | 現在のスコープ内に C<@foo> という配列はありません。 |
12176 | 11767 | リテラルな @foo を指定したい場合は、\@foo と書いてください; |
12177 | 11768 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを |
12178 | 11769 | 調べてください。 |
12179 | 11770 | |
12180 | 11771 | =item Precedence problem: open %s should be open(%s) |
12181 | 11772 | |
12182 | 11773 | =begin original |
12183 | 11774 | |
12184 | 11775 | (S precedence) The old irregular construct |
12185 | 11776 | |
12186 | 11777 | =end original |
12187 | 11778 | |
12188 | 11779 | (S precedence) 古い変則的な構文 |
12189 | 11780 | |
12190 | 11781 | open FOO || die; |
12191 | 11782 | |
12192 | 11783 | =begin original |
12193 | 11784 | |
12194 | 11785 | is now misinterpreted as |
12195 | 11786 | |
12196 | 11787 | =end original |
12197 | 11788 | |
12198 | 11789 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
12199 | 11790 | リスト演算子と解釈されますので、 |
12200 | 11791 | |
12201 | 11792 | open(FOO || die); |
12202 | 11793 | |
12203 | 11794 | =begin original |
12204 | 11795 | |
12205 | 11796 | because of the strict regularization of Perl 5's grammar into unary and |
12206 | 11797 | list operators. (The old open was a little of both.) You must put |
12207 | 11798 | parentheses around the filehandle, or use the new "or" operator instead |
12208 | 11799 | of "||". |
12209 | 11800 | |
12210 | 11801 | =end original |
12211 | 11802 | |
12212 | 11803 | という風に誤った解釈がなされます。 |
12213 | 11804 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
12214 | 11805 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに |
12215 | 11806 | "or" 演算子を使わなくてはなりません。 |
12216 | 11807 | |
12217 | 11808 | =item Premature end of script headers |
12218 | 11809 | |
12219 | 11810 | =begin original |
12220 | 11811 | |
12221 | 11812 | See L</500 Server error>. |
12222 | 11813 | |
12223 | 11814 | =end original |
12224 | 11815 | |
12225 | 11816 | L</500 Server error> を参照してください。 |
12226 | 11817 | |
12227 | 11818 | =item printf() on closed filehandle %s |
12228 | 11819 | |
12229 | 11820 | =begin original |
12230 | 11821 | |
12231 | 11822 | (W closed) The filehandle you're writing to got itself closed sometime |
12232 | 11823 | before now. Check your control flow. |
12233 | 11824 | |
12234 | 11825 | =end original |
12235 | 11826 | |
12236 | 11827 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
12237 | 11828 | 制御フローをチェックしてください。 |
12238 | 11829 | |
12239 | 11830 | =item print() on closed filehandle %s |
12240 | 11831 | |
12241 | 11832 | =begin original |
12242 | 11833 | |
12243 | 11834 | (W closed) The filehandle you're printing on got itself closed sometime |
12244 | 11835 | before now. Check your control flow. |
12245 | 11836 | |
12246 | 11837 | =end original |
12247 | 11838 | |
12248 | 11839 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 |
12249 | 11840 | 制御フローをチェックしてください。 |
12250 | 11841 | |
12251 | 11842 | =item Process terminated by SIG%s |
12252 | 11843 | |
12253 | 11844 | =begin original |
12254 | 11845 | |
12255 | 11846 | (W) This is a standard message issued by OS/2 applications, while *nix |
12256 | 11847 | applications die in silence. It is considered a feature of the OS/2 |
12257 | 11848 | port. One can easily disable this by appropriate sighandlers, see |
12258 | 11849 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
12259 | 11850 | in L<perlos2>. |
12260 | 11851 | |
12261 | 11852 | =end original |
12262 | 11853 | |
12263 | 11854 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
12264 | 11855 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
12265 | 11856 | これは OS/2 版の仕様とみなされています。 |
12266 | 11857 | 適切なシグナルハンドラによって簡単に無効にできます; |
12267 | 11858 | L<perlipc/"Signals"> を参照してください。 |
12268 | 11859 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
12269 | 11860 | |
12270 | 11861 | =item Prototype after '%c' for %s : %s |
12271 | 11862 | |
12272 | 11863 | =begin original |
12273 | 11864 | |
12274 | 11865 | (W illegalproto) A character follows % or @ in a prototype. This is |
12275 | 11866 | useless, since % and @ gobble the rest of the subroutine arguments. |
12276 | 11867 | |
12277 | 11868 | =end original |
12278 | 11869 | |
12279 | 11870 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 |
12280 | 11871 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 |
12281 | 11872 | |
12282 | 11873 | =item Prototype mismatch: %s vs %s |
12283 | 11874 | |
12284 | 11875 | =begin original |
12285 | 11876 | |
12286 | 11877 | (S prototype) The subroutine being declared or defined had previously been |
12287 | 11878 | declared or defined with a different function prototype. |
12288 | 11879 | |
12289 | 11880 | =end original |
12290 | 11881 | |
12291 | 11882 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された |
12292 | 11883 | サブルーチンが宣言または定義されました。 |
12293 | 11884 | |
12294 | 11885 | =item Prototype not terminated |
12295 | 11886 | |
12296 | 11887 | =begin original |
12297 | 11888 | |
12298 | 11889 | (F) You've omitted the closing parenthesis in a function prototype |
12299 | 11890 | definition. |
12300 | 11891 | |
12301 | 11892 | =end original |
12302 | 11893 | |
12303 | 11894 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 |
12304 | 11895 | |
12305 | 11896 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s |
12306 | 11897 | |
12307 | 11898 | =begin original |
12308 | 11899 | |
12309 | 11900 | (W prototype) A prototype was declared in both the parentheses after |
12310 | 11901 | the sub name and via the prototype attribute. The prototype in |
12311 | 11902 | parentheses is useless, since it will be replaced by the prototype |
12312 | 11903 | from the attribute before it's ever used. |
12313 | 11904 | |
12314 | 11905 | =end original |
12315 | 11906 | |
12316 | 11907 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で |
12317 | 11908 | プロトタイプが宣言されました。 |
12318 | 11909 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の |
12319 | 11910 | プロトタイプは無駄です。 |
12320 | 11911 | |
12321 | 11912 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ |
12322 | 11913 | |
12323 | 11914 | =begin original |
12324 | 11915 | |
12325 | 11916 | (F) You started a regular expression with a quantifier. Backslash it if |
12326 | 11917 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular |
12327 | 11918 | expression the problem was discovered. See L<perlre>. |
12328 | 11919 | |
12329 | 11920 | =end original |
12330 | 11921 | |
12331 | 11922 | (F) 正規表現を量指定子で開始しています。 |
12332 | 11923 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 |
12333 | 11924 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12334 | 11925 | L<perlre> を参照してください。 |
12335 | 11926 | |
12336 | 11927 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ |
12337 | 11928 | |
12338 | 11929 | =begin original |
12339 | 11930 | |
12340 | 11931 | (F) There is currently a limit to the size of the min and max values of |
12341 | 11932 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular |
12342 | 11933 | expression the problem was discovered. See L<perlre>. |
12343 | 11934 | |
12344 | 11935 | =end original |
12345 | 11936 | |
12346 | 11937 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
12347 | 11938 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12348 | 11939 | L<perlre> を参照してください。 |
12349 | 11940 | |
12350 | 11941 | =item Quantifier {n,m} with n > m can't match in regex |
12351 | 11942 | |
12352 | 11943 | =item Quantifier {n,m} with n > m can't match in regex; marked by |
12353 | 11944 | S<<-- HERE> in m/%s/ |
12354 | 11945 | |
12355 | 11946 | =begin original |
12356 | 11947 | |
12357 | 11948 | (W regexp) Minima should be less than or equal to maxima. If you really |
12358 | 11949 | want your regexp to match something 0 times, just put {0}. |
12359 | 11950 | |
12360 | 11951 | =end original |
12361 | 11952 | |
12362 | 11953 | (W regexp) 最小値は最大値以下である必要があります。 |
12363 | 11954 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 |
12364 | 11955 | |
12365 | 11956 | =item Quantifier unexpected on zero-length expression in regex m/%s/ |
12366 | 11957 | |
12367 | 11958 | =begin original |
12368 | 11959 | |
12369 | 11960 | (W regexp) You applied a regular expression quantifier in a place where |
12370 | 11961 | it makes no sense, such as on a zero-width assertion. Try putting the |
12371 | 11962 | quantifier inside the assertion instead. For example, the way to match |
12372 | 11963 | "abc" provided that it is followed by three repetitions of "xyz" is |
12373 | 11964 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
12374 | 11965 | |
12375 | 11966 | =end original |
12376 | 11967 | |
12377 | 11968 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
12378 | 11969 | 適用しました。 |
12379 | 11970 | 代わりにアサーションの中に量指定子を置いてください。 |
12380 | 11971 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
12381 | 11972 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
12382 | 11973 | |
12383 | 11974 | =item Range iterator outside integer range |
12384 | 11975 | |
12385 | 11976 | =begin original |
12386 | 11977 | |
12387 | 11978 | (F) One (or both) of the numeric arguments to the range operator ".." |
12388 | 11979 | are outside the range which can be represented by integers internally. |
12389 | 11980 | One possible workaround is to force Perl to use magical string increment |
12390 | 11981 | by prepending "0" to your numbers. |
12391 | 11982 | |
12392 | 11983 | =end original |
12393 | 11984 | |
12394 | 11985 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
12395 | 11986 | 表現できる範囲を越えています。 |
12396 | 11987 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
12397 | 11988 | マジカル文字列インクリメントの使用を強制させることです。 |
12398 | 11989 | |
12399 | 11990 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or |
12400 | 11991 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ |
12401 | 11992 | |
12402 | 11993 | =begin original |
12403 | 11994 | |
12404 | 11995 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
12405 | 11996 | |
12406 | 11997 | =end original |
12407 | 11998 | |
12408 | (W regexp) (C<S<use re 'strict'>> の | |
11999 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
12409 | 12000 | |
12410 | 12001 | =begin original |
12411 | 12002 | |
12412 | 12003 | Stricter rules help to find typos and other errors. Perhaps you didn't |
12413 | 12004 | even intend a range here, if the C<"-"> was meant to be some other |
12414 | 12005 | character, or should have been escaped (like C<"\-">). If you did |
12415 | 12006 | intend a range, the one that was used is not portable between ASCII and |
12416 | 12007 | EBCDIC platforms, and doesn't have an obvious meaning to a casual |
12417 | 12008 | reader. |
12418 | 12009 | |
12419 | 12010 | =end original |
12420 | 12011 | |
12421 | 12012 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 |
12422 | 12013 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の |
12423 | 12014 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 |
12424 | 12015 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC |
12425 | 12016 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な |
12426 | 12017 | 意味になります。 |
12427 | 12018 | |
12428 | 12019 | [3-7] # OK; Obvious and portable |
12429 | 12020 | [d-g] # OK; Obvious and portable |
12430 | 12021 | [A-Y] # OK; Obvious and portable |
12431 | 12022 | [A-z] # WRONG; Not portable; not clear what is meant |
12432 | 12023 | [a-Z] # WRONG; Not portable; not clear what is meant |
12433 | 12024 | [%-.] # WRONG; Not portable; not clear what is meant |
12434 | 12025 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek |
12435 | 12026 | |
12436 | 12027 | =begin original |
12437 | 12028 | |
12438 | 12029 | (You can force portability by specifying a Unicode range, which means that |
12439 | 12030 | the endpoints are specified by |
12440 | 12031 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may |
12441 | 12032 | still not be obvious.) |
12442 | 12033 | The stricter rules require that ranges that start or stop with an ASCII |
12443 | 12034 | character that is not a control have all their endpoints be the literal |
12444 | 12035 | character, and not some escape sequence (like C<"\x41">), and the ranges |
12445 | 12036 | must be all digits, or all uppercase letters, or all lowercase letters. |
12446 | 12037 | |
12447 | 12038 | =end original |
12448 | 12039 | |
12449 | 12040 | (Unicode の範囲を指定することで移植性を共生することができます; |
12450 | 12041 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で |
12451 | 12042 | 指定するということですが、意味はやはり明確ではないかもしれません。) |
12452 | 12043 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 |
12453 | 12044 | (C<"\x41"> のような)一部のエスケープシーケンスでない |
12454 | 12045 | ASCII 文字で開始および終了することを要求し、 |
12455 | 12046 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 |
12456 | 12047 | |
12457 | 12048 | =item Ranges of digits should be from the same group in regex; marked by |
12458 | 12049 | S<<-- HERE> in m/%s/ |
12459 | 12050 | |
12460 | 12051 | =begin original |
12461 | 12052 | |
12462 | 12053 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
12463 | 12054 | |
12464 | 12055 | =end original |
12465 | 12056 | |
12466 | (W regexp) (C<S<use re 'strict'>> の | |
12057 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
12467 | 12058 | |
12468 | 12059 | =begin original |
12469 | 12060 | |
12470 | 12061 | Stricter rules help to find typos and other errors. You included a |
12471 | 12062 | range, and at least one of the end points is a decimal digit. Under the |
12472 | 12063 | stricter rules, when this happens, both end points should be digits in |
12473 | 12064 | the same group of 10 consecutive digits. |
12474 | 12065 | |
12475 | 12066 | =end original |
12476 | 12067 | |
12477 | 12068 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 |
12478 | 12069 | 範囲を含んでいて、少なくとも片方の端は数字です。 |
12479 | 12070 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ |
12480 | 12071 | グループに属する符号位置である必要があります。 |
12481 | 12072 | |
12482 | 12073 | =item readdir() attempted on invalid dirhandle %s |
12483 | 12074 | |
12484 | 12075 | =begin original |
12485 | 12076 | |
12486 | 12077 | (W io) The dirhandle you're reading from is either closed or not really |
12487 | 12078 | a dirhandle. Check your control flow. |
12488 | 12079 | |
12489 | 12080 | =end original |
12490 | 12081 | |
12491 | 12082 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 |
12492 | 12083 | 実際にはディレクトリハンドルではありません。 |
12493 | 12084 | 制御フローをチェックしてください。 |
12494 | 12085 | |
12495 | 12086 | =item readline() on closed filehandle %s |
12496 | 12087 | |
12497 | 12088 | =begin original |
12498 | 12089 | |
12499 | 12090 | (W closed) The filehandle you're reading from got itself closed sometime |
12500 | 12091 | before now. Check your control flow. |
12501 | 12092 | |
12502 | 12093 | =end original |
12503 | 12094 | |
12504 | 12095 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 |
12505 | 12096 | 制御フローをチェックしてください。 |
12506 | 12097 | |
12507 | =item read | |
12098 | =item read() on closed filehandle %s | |
12508 | 12099 | |
12509 | 12100 | =begin original |
12510 | 12101 | |
12511 | (W | |
12102 | (W closed) You tried to read from a closed filehandle. | |
12512 | control flow. | |
12513 | 12103 | |
12514 | 12104 | =end original |
12515 | 12105 | |
12516 | (W | |
12106 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
12517 | 制御フローをチェックしてください。 | |
12518 | 12107 | |
12519 | =item read() on | |
12108 | =item read() on unopened filehandle %s | |
12520 | 12109 | |
12521 | 12110 | =begin original |
12522 | 12111 | |
12523 | (W | |
12112 | (W unopened) You tried to read from a filehandle that was never opened. | |
12524 | 12113 | |
12525 | 12114 | =end original |
12526 | 12115 | |
12527 | (W | |
12116 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
12528 | 12117 | |
12529 | =item | |
12118 | =item Reallocation too large: %x | |
12530 | 12119 | |
12531 | 12120 | =begin original |
12532 | 12121 | |
12533 | ( | |
12122 | (F) You can't allocate more than 64K on an MS-DOS machine. | |
12534 | 12123 | |
12535 | 12124 | =end original |
12536 | 12125 | |
12537 | ( | |
12126 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 | |
12538 | 12127 | |
12539 | 12128 | =item realloc() of freed memory ignored |
12540 | 12129 | |
12541 | 12130 | =begin original |
12542 | 12131 | |
12543 | 12132 | (S malloc) An internal routine called realloc() on something that had |
12544 | 12133 | already been freed. |
12545 | 12134 | |
12546 | 12135 | =end original |
12547 | 12136 | |
12548 | 12137 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
12549 | 12138 | 呼び出しました。 |
12550 | 12139 | |
12551 | 12140 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
12552 | 12141 | |
12553 | 12142 | =begin original |
12554 | 12143 | |
12555 | 12144 | (S debugging) You can't use the B<-D> option unless the code to produce |
12556 | 12145 | the desired output is compiled into Perl, which entails some overhead, |
12557 | 12146 | which is why it's currently left out of your copy. |
12558 | 12147 | |
12559 | 12148 | =end original |
12560 | 12149 | |
12561 | 12150 | (S debugging) Perl のコンパイル時に、適切な出力ルーティンが |
12562 | 12151 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; |
12563 | 12152 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
12564 | 12153 | Perl に組み込んでない理由でしょう。 |
12565 | 12154 | |
12566 | 12155 | =item Recursive call to Perl_load_module in PerlIO_find_layer |
12567 | 12156 | |
12568 | 12157 | =begin original |
12569 | 12158 | |
12570 | 12159 | (P) It is currently not permitted to load modules when creating |
12571 | 12160 | a filehandle inside an %INC hook. This can happen with C<open my |
12572 | 12161 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try |
12573 | 12162 | loading PerlIO::scalar explicitly first. |
12574 | 12163 | |
12575 | 12164 | =end original |
12576 | 12165 | |
12577 | 12166 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは |
12578 | 12167 | 現在のところ許されていません。 |
12579 | 12168 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに |
12580 | 12169 | 起こることがあります。 |
12581 | 12170 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 |
12582 | 12171 | |
12583 | 12172 | =item Recursive inheritance detected in package '%s' |
12584 | 12173 | |
12585 | 12174 | =begin original |
12586 | 12175 | |
12587 | 12176 | (F) While calculating the method resolution order (MRO) of a package, Perl |
12588 | 12177 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a |
12589 | 12178 | crude check that bails out after 100 levels of C<@ISA> depth. |
12590 | 12179 | |
12591 | 12180 | =end original |
12592 | 12181 | |
12593 | 12182 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に |
12594 | 12183 | 無限ループがあると判断しました。 |
12595 | 12184 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 |
12596 | 12185 | |
12597 | 12186 | =item Redundant argument in %s |
12598 | 12187 | |
12599 | 12188 | =begin original |
12600 | 12189 | |
12601 | 12190 | (W redundant) You called a function with more arguments than other |
12602 | 12191 | arguments you supplied indicated would be needed. Currently only |
12603 | 12192 | emitted when a printf-type format required fewer arguments than were |
12604 | 12193 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. |
12605 | 12194 | |
12606 | 12195 | =end original |
12607 | 12196 | |
12608 | 12197 | (W redundant) 関数を呼び出すときに、ある引数が示している必要数より |
12609 | 12198 | 多くの引数を指定しました。 |
12610 | 12199 | 現在のところ、printf 型のフォーマットが指定されたものより少ない数の |
12611 | 12200 | 引数しか必要としていない場合にのみ発生しますが、将来は |
12612 | 12201 | 例えば L<perlfunc/pack> で使われるかもしれません。 |
12613 | 12202 | |
12614 | 12203 | =item refcnt_dec: fd %d%s |
12615 | 12204 | |
12616 | 12205 | =item refcnt: fd %d%s |
12617 | 12206 | |
12618 | 12207 | =item refcnt_inc: fd %d%s |
12619 | 12208 | |
12620 | 12209 | =begin original |
12621 | 12210 | |
12622 | 12211 | (P) Perl's I/O implementation failed an internal consistency check. If |
12623 | 12212 | you see this message, something is very wrong. |
12624 | 12213 | |
12625 | 12214 | =end original |
12626 | 12215 | |
12627 | 12216 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 |
12628 | 12217 | このメッセージを見たなら、何かがすごく悪いです。 |
12629 | 12218 | |
12630 | 12219 | =item Reference found where even-sized list expected |
12631 | 12220 | |
12632 | 12221 | =begin original |
12633 | 12222 | |
12634 | 12223 | (W misc) You gave a single reference where Perl was expecting a list |
12635 | 12224 | with an even number of elements (for assignment to a hash). This |
12636 | 12225 | usually means that you used the anon hash constructor when you meant |
12637 | 12226 | to use parens. In any case, a hash requires key/value B<pairs>. |
12638 | 12227 | |
12639 | 12228 | =end original |
12640 | 12229 | |
12641 | 12230 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
12642 | 12231 | 想定しているところに 一つのリファレンスを渡しました。 |
12643 | 12232 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
12644 | 12233 | 意味します。 |
12645 | 12234 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
12646 | 12235 | |
12647 | 12236 | %hash = { one => 1, two => 2, }; # WRONG |
12648 | 12237 | %hash = [ qw/ an anon array / ]; # WRONG |
12649 | 12238 | %hash = ( one => 1, two => 2, ); # right |
12650 | 12239 | %hash = qw( one 1 two 2 ); # also fine |
12651 | 12240 | |
12652 | 12241 | =item Reference is already weak |
12653 | 12242 | |
12654 | 12243 | =begin original |
12655 | 12244 | |
12656 | 12245 | (W misc) You have attempted to weaken a reference that is already weak. |
12657 | 12246 | Doing so has no effect. |
12658 | 12247 | |
12659 | 12248 | =end original |
12660 | 12249 | |
12661 | 12250 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
12662 | 12251 | そうしても何の効果もありません。 |
12663 | 12252 | |
12664 | =item Reference is not weak | |
12665 | ||
12666 | =begin original | |
12667 | ||
12668 | (W misc) You have attempted to unweaken a reference that is not weak. | |
12669 | Doing so has no effect. | |
12670 | ||
12671 | =end original | |
12672 | ||
12673 | (W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。 | |
12674 | そうしても何の効果もありません。 | |
12675 | ||
12676 | 12253 | =item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/ |
12677 | 12254 | |
12678 | 12255 | =begin original |
12679 | 12256 | |
12680 | 12257 | (F) You used C<\g0> or similar in a regular expression. You may refer |
12681 | 12258 | to capturing parentheses only with strictly positive integers |
12682 | 12259 | (normal backreferences) or with strictly negative integers (relative |
12683 | 12260 | backreferences). Using 0 does not make sense. |
12684 | 12261 | |
12685 | 12262 | =end original |
12686 | 12263 | |
12687 | 12264 | (F) 正規表現で C<\g0> のようなものを使いました。 |
12688 | 12265 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) |
12689 | 12266 | のみです。 |
12690 | 12267 | 0 は意味を成しません。 |
12691 | 12268 | |
12692 | 12269 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in |
12693 | 12270 | m/%s/ |
12694 | 12271 | |
12695 | 12272 | =begin original |
12696 | 12273 | |
12697 | 12274 | (F) You used something like C<\7> in your regular expression, but there are |
12698 | 12275 | not at least seven sets of capturing parentheses in the expression. If |
12699 | 12276 | you wanted to have the character with ordinal 7 inserted into the regular |
12700 | 12277 | expression, prepend zeroes to make it three digits long: C<\007> |
12701 | 12278 | |
12702 | 12279 | =end original |
12703 | 12280 | |
12704 | 12281 | 正規表現の中で C<\7> のような記述がありますが、 |
12705 | 12282 | 正規表現の中に値を捕らえるかっこが 7 つありません。 |
12706 | 12283 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
12707 | 12284 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> |
12708 | 12285 | |
12709 | 12286 | =begin original |
12710 | 12287 | |
12711 | 12288 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
12712 | 12289 | discovered. |
12713 | 12290 | |
12714 | 12291 | =end original |
12715 | 12292 | |
12716 | 12293 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12717 | 12294 | |
12718 | 12295 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> |
12719 | 12296 | in m/%s/ |
12720 | 12297 | |
12721 | 12298 | =begin original |
12722 | 12299 | |
12723 | 12300 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular |
12724 | 12301 | expression, but there is no corresponding named capturing parentheses |
12725 | 12302 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been |
12726 | 12303 | spelled correctly both in the backreference and the declaration. |
12727 | 12304 | |
12728 | 12305 | =end original |
12729 | 12306 | |
12730 | 12307 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 |
12731 | 12308 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが |
12732 | 12309 | ありません。 |
12733 | 12310 | 前方参照と定義の両方において、名前のスペルが正しいかどうか |
12734 | 12311 | チェックしてください。 |
12735 | 12312 | |
12736 | 12313 | =begin original |
12737 | 12314 | |
12738 | 12315 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
12739 | 12316 | discovered. |
12740 | 12317 | |
12741 | 12318 | =end original |
12742 | 12319 | |
12743 | 12320 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12744 | 12321 | |
12745 | 12322 | =item Reference to nonexistent or unclosed group in regex; marked by |
12746 | 12323 | S<<-- HERE> in m/%s/ |
12747 | 12324 | |
12748 | 12325 | =begin original |
12749 | 12326 | |
12750 | 12327 | (F) You used something like C<\g{-7}> in your regular expression, but there |
12751 | 12328 | are not at least seven sets of closed capturing parentheses in the |
12752 | 12329 | expression before where the C<\g{-7}> was located. |
12753 | 12330 | |
12754 | 12331 | =end original |
12755 | 12332 | |
12756 | 12333 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の |
12757 | 12334 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 |
12758 | 12335 | |
12759 | 12336 | =begin original |
12760 | 12337 | |
12761 | 12338 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
12762 | 12339 | discovered. |
12763 | 12340 | |
12764 | 12341 | =end original |
12765 | 12342 | |
12766 | 12343 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12767 | 12344 | |
12768 | 12345 | =item regexp memory corruption |
12769 | 12346 | |
12770 | 12347 | =begin original |
12771 | 12348 | |
12772 | 12349 | (P) The regular expression engine got confused by what the regular |
12773 | 12350 | expression compiler gave it. |
12774 | 12351 | |
12775 | 12352 | =end original |
12776 | 12353 | |
12777 | 12354 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
12778 | 12355 | 処理できなくなりました。 |
12779 | 12356 | |
12780 | 12357 | =item Regexp modifier "/%c" may appear a maximum of twice |
12781 | 12358 | |
12782 | 12359 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked |
12783 | 12360 | by S<<-- HERE> in m/%s/ |
12784 | 12361 | |
12785 | 12362 | =begin original |
12786 | 12363 | |
12787 | 12364 | (F) The regular expression pattern had too many occurrences |
12788 | 12365 | of the specified modifier. Remove the extraneous ones. |
12789 | 12366 | |
12790 | 12367 | =end original |
12791 | 12368 | |
12792 | 12369 | (F) 正規表現パターンに指定された修飾子が多すぎます。 |
12793 | 12370 | 余分なものを削除してください。 |
12794 | 12371 | |
12795 | 12372 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- |
12796 | 12373 | HERE in m/%s/ |
12797 | 12374 | |
12798 | 12375 | =begin original |
12799 | 12376 | |
12800 | 12377 | (F) Turning off the given modifier has the side effect of turning on |
12801 | 12378 | another one. Perl currently doesn't allow this. Reword the regular |
12802 | 12379 | expression to use the modifier you want to turn on (and place it before |
12803 | 12380 | the minus), instead of the one you want to turn off. |
12804 | 12381 | |
12805 | 12382 | =end original |
12806 | 12383 | |
12807 | 12384 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという |
12808 | 12385 | 副作用があります。 |
12809 | 12386 | Perl は現在のところこれを受け入れません。 |
12810 | 12387 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの |
12811 | 12388 | 前に置く)ように正規表現を書き直してください。 |
12812 | 12389 | |
12813 | 12390 | =item Regexp modifier "/%c" may not appear twice |
12814 | 12391 | |
12815 | 12392 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- |
12816 | 12393 | HERE in m/%s/ |
12817 | 12394 | |
12818 | 12395 | =begin original |
12819 | 12396 | |
12820 | 12397 | (F) The regular expression pattern had too many occurrences |
12821 | 12398 | of the specified modifier. Remove the extraneous ones. |
12822 | 12399 | |
12823 | 12400 | =end original |
12824 | 12401 | |
12825 | 12402 | (F) 正規表現パターンに指定された修飾子が多すぎます。 |
12826 | 12403 | 余分なものを削除してください。 |
12827 | 12404 | |
12828 | 12405 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive |
12829 | 12406 | |
12830 | 12407 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; |
12831 | 12408 | marked by S<<-- HERE> in m/%s/ |
12832 | 12409 | |
12833 | 12410 | =begin original |
12834 | 12411 | |
12835 | 12412 | (F) The regular expression pattern had more than one of these |
12836 | 12413 | mutually exclusive modifiers. Retain only the modifier that is |
12837 | 12414 | supposed to be there. |
12838 | 12415 | |
12839 | 12416 | =end original |
12840 | 12417 | |
12841 | 12418 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 |
12842 | 12419 | ここで使うであろう修飾子のみを保持します。 |
12843 | 12420 | |
12844 | 12421 | =item Regexp out of space in regex m/%s/ |
12845 | 12422 | |
12846 | 12423 | =begin original |
12847 | 12424 | |
12848 | 12425 | (P) A "can't happen" error, because safemalloc() should have caught it |
12849 | 12426 | earlier. |
12850 | 12427 | |
12851 | 12428 | =end original |
12852 | 12429 | |
12853 | 12430 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 |
12854 | 12431 | |
12855 | 12432 | =item Repeated format line will never terminate (~~ and @#) |
12856 | 12433 | |
12857 | 12434 | =begin original |
12858 | 12435 | |
12859 | 12436 | (F) Your format contains the ~~ repeat-until-blank sequence and a |
12860 | 12437 | numeric field that will never go blank so that the repetition never |
12861 | 12438 | terminates. You might use ^# instead. See L<perlform>. |
12862 | 12439 | |
12863 | 12440 | =end original |
12864 | 12441 | |
12865 | 12442 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない |
12866 | 12443 | スウチフィールドが含まれているので、無限ループになります。 |
12867 | 12444 | 代わりに ^# を使うべきでしょう。 |
12868 | 12445 | L<perlform> を参照してください。 |
12869 | 12446 | |
12870 | 12447 | =item Replacement list is longer than search list |
12871 | 12448 | |
12872 | 12449 | =begin original |
12873 | 12450 | |
12874 | 12451 | (W misc) You have used a replacement list that is longer than the |
12875 | 12452 | search list. So the additional elements in the replacement list |
12876 | 12453 | are meaningless. |
12877 | 12454 | |
12878 | 12455 | =end original |
12879 | 12456 | |
12880 | 12457 | (W misc) 検索リストよりも長い置換リストを使いました。 |
12881 | 12458 | 長い分の置換リストは無意味です。 |
12882 | 12459 | |
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 | 12460 | =item '%s' resolved to '\o{%s}%d' |
12896 | 12461 | |
12897 | 12462 | =begin original |
12898 | 12463 | |
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 | 12464 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a |
12902 | 12465 | double-quotish string. All but the last digit is treated as a single |
12903 | 12466 | character, specified in octal. The last digit is the next character in |
12904 | 12467 | the string. To tell Perl that this is indeed what you want, you can use |
12905 | 12468 | the C<\o{ }> syntax, or use exactly three digits to specify the octal |
12906 | 12469 | for the character. |
12907 | 12470 | |
12908 | 12471 | =end original |
12909 | 12472 | |
12910 | Perl 5.32 から、もはやこのメッセージは出力されません。 | |
12911 | 代わりに、 | |
12912 | L</Non-octal character '%c' terminates \o early. Resolved as "%s"> | |
12913 | を見てください。 | |
12914 | 12473 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような |
12915 | 12474 | ものを書きました。 |
12916 | 12475 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 |
12917 | 12476 | 最後の数字は文字列中の次の文字です。 |
12918 | これが | |
12477 | これがまさしく望んでいるものであることを Perl に伝えるには、 | |
12919 | C<\o{ }> 構文を使うか、 | |
12478 | C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を | |
12920 | ||
12479 | 使ってください。 | |
12921 | 12480 | |
12922 | 12481 | =item Reversed %s= operator |
12923 | 12482 | |
12924 | 12483 | =begin original |
12925 | 12484 | |
12926 | 12485 | (W syntax) You wrote your assignment operator backwards. The = must |
12927 | 12486 | always come last, to avoid ambiguity with subsequent unary operators. |
12928 | 12487 | |
12929 | 12488 | =end original |
12930 | 12489 | |
12931 | 12490 | (W syntax) 代入演算子を逆順に書いています。 |
12932 | 12491 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
12933 | 12492 | 代入演算子では、等号 = が、最後にこないといけません。 |
12934 | 12493 | |
12935 | 12494 | =item rewinddir() attempted on invalid dirhandle %s |
12936 | 12495 | |
12937 | 12496 | =begin original |
12938 | 12497 | |
12939 | 12498 | (W io) The dirhandle you tried to do a rewinddir() on is either closed |
12940 | 12499 | or not really a dirhandle. Check your control flow. |
12941 | 12500 | |
12942 | 12501 | =end original |
12943 | 12502 | |
12944 | 12503 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 |
12945 | 12504 | 実際にはディレクトリハンドルではありません。 |
12946 | 12505 | 制御フローをチェックしてください。 |
12947 | 12506 | |
12948 | 12507 | =item Scalars leaked: %d |
12949 | 12508 | |
12950 | 12509 | =begin original |
12951 | 12510 | |
12952 | 12511 | (S internal) Something went wrong in Perl's internal bookkeeping |
12953 | 12512 | of scalars: not all scalar variables were deallocated by the time |
12954 | 12513 | Perl exited. What this usually indicates is a memory leak, which |
12955 | 12514 | is of course bad, especially if the Perl program is intended to be |
12956 | 12515 | long-running. |
12957 | 12516 | |
12958 | 12517 | =end original |
12959 | 12518 | |
12960 | 12519 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: |
12961 | 12520 | Perl 終了時に全てのスカラ変数が解放されませんでした。 |
12962 | 12521 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 |
12963 | 12522 | Perl プログラムが長い間動作する場合には特にそうです。 |
12964 | 12523 | |
12965 | 12524 | =item Scalar value @%s[%s] better written as $%s[%s] |
12966 | 12525 | |
12967 | 12526 | =begin original |
12968 | 12527 | |
12969 | 12528 | (W syntax) You've used an array slice (indicated by @) to select a |
12970 | 12529 | single element of an array. Generally it's better to ask for a scalar |
12971 | 12530 | value (indicated by $). The difference is that C<$foo[&bar]> always |
12972 | 12531 | behaves like a scalar, both when assigning to it and when evaluating its |
12973 | 12532 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
12974 | 12533 | and provides a list context to its subscript, which can do weird things |
12975 | 12534 | if you're expecting only one subscript. |
12976 | 12535 | |
12977 | 12536 | =end original |
12978 | 12537 | |
12979 | 12538 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
12980 | 12539 | スライスを用いました。 |
12981 | 一般 | |
12540 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 | |
12982 | 12541 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
12983 | 12542 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
12984 | 12543 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
12985 | 12544 | 添字にもリストコンテキストを与えることになります; |
12986 | 12545 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
12987 | 12546 | |
12988 | 12547 | =begin original |
12989 | 12548 | |
12990 | 12549 | On the other hand, if you were actually hoping to treat the array |
12991 | 12550 | element as a list, you need to look into how references work, because |
12992 | 12551 | Perl will not magically convert between scalars and lists for you. See |
12993 | 12552 | L<perlref>. |
12994 | 12553 | |
12995 | 12554 | =end original |
12996 | 12555 | |
12997 | 12556 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
12998 | 12557 | どのように働くかについて詳しく知る必要があります; なぜなら |
12999 | 12558 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
13000 | 12559 | L<perlref> を参照してください。 |
13001 | 12560 | |
13002 | 12561 | =item Scalar value @%s{%s} better written as $%s{%s} |
13003 | 12562 | |
13004 | 12563 | =begin original |
13005 | 12564 | |
13006 | 12565 | (W syntax) You've used a hash slice (indicated by @) to select a single |
13007 | 12566 | element of a hash. Generally it's better to ask for a scalar value |
13008 | 12567 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
13009 | 12568 | like a scalar, both when assigning to it and when evaluating its |
13010 | 12569 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
13011 | 12570 | and provides a list context to its subscript, which can do weird things |
13012 | 12571 | if you're expecting only one subscript. |
13013 | 12572 | |
13014 | 12573 | =end original |
13015 | 12574 | |
13016 | 12575 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
13017 | 12576 | スライスを用いました。 |
13018 | 一般 | |
12577 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 | |
13019 | 12578 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
13020 | 12579 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
13021 | 12580 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
13022 | 12581 | 添字にもリストコンテキストを与えることになります; |
13023 | 12582 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
13024 | 12583 | |
13025 | 12584 | =begin original |
13026 | 12585 | |
13027 | 12586 | On the other hand, if you were actually hoping to treat the hash element |
13028 | 12587 | as a list, you need to look into how references work, because Perl will |
13029 | 12588 | not magically convert between scalars and lists for you. See |
13030 | 12589 | L<perlref>. |
13031 | 12590 | |
13032 | 12591 | =end original |
13033 | 12592 | |
13034 | 12593 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
13035 | 12594 | どのように働くかについて詳しく知る必要があります; なぜなら |
13036 | 12595 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
13037 | 12596 | L<perlref> を参照してください。 |
13038 | 12597 | |
13039 | 12598 | =item Search pattern not terminated |
13040 | 12599 | |
13041 | 12600 | =begin original |
13042 | 12601 | |
13043 | 12602 | (F) The lexer couldn't find the final delimiter of a // or m{} |
13044 | 12603 | construct. Remember that bracketing delimiters count nesting level. |
13045 | 12604 | Missing the leading C<$> from a variable C<$m> may cause this error. |
13046 | 12605 | |
13047 | 12606 | =end original |
13048 | 12607 | |
13049 | 12608 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
13050 | 12609 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
13051 | 12610 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
13052 | 12611 | |
13053 | 12612 | =begin original |
13054 | 12613 | |
13055 | 12614 | Note that since Perl 5.10.0 a // can also be the I<defined-or> |
13056 | 12615 | construct, not just the empty search pattern. Therefore code written |
13057 | 12616 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be |
13058 | 12617 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. |
13059 | 12618 | |
13060 | 12619 | =end original |
13061 | 12620 | |
13062 | 12621 | Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる |
13063 | 12622 | 空検索パターンではありません。 |
13064 | 12623 | 従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている |
13065 | 12624 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして |
13066 | 12625 | 誤パースされるかもしれません。 |
13067 | 12626 | |
13068 | 12627 | =item seekdir() attempted on invalid dirhandle %s |
13069 | 12628 | |
13070 | 12629 | =begin original |
13071 | 12630 | |
13072 | 12631 | (W io) The dirhandle you are doing a seekdir() on is either closed or not |
13073 | 12632 | really a dirhandle. Check your control flow. |
13074 | 12633 | |
13075 | 12634 | =end original |
13076 | 12635 | |
13077 | 12636 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 |
13078 | 12637 | 実際にはディレクトリハンドルではありません。 |
13079 | 12638 | 制御フローをチェックしてください。 |
13080 | 12639 | |
13081 | 12640 | =item %sseek() on unopened filehandle |
13082 | 12641 | |
13083 | 12642 | =begin original |
13084 | 12643 | |
13085 | 12644 | (W unopened) You tried to use the seek() or sysseek() function on a |
13086 | 12645 | filehandle that was either never opened or has since been closed. |
13087 | 12646 | |
13088 | 12647 | =end original |
13089 | 12648 | |
13090 | 12649 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
13091 | 12650 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
13092 | 12651 | |
13093 | 12652 | =item select not implemented |
13094 | 12653 | |
13095 | 12654 | =begin original |
13096 | 12655 | |
13097 | 12656 | (F) This machine doesn't implement the select() system call. |
13098 | 12657 | |
13099 | 12658 | =end original |
13100 | 12659 | |
13101 | 12660 | (F) このマシンでは、select() システムコールは実装されていません。 |
13102 | 12661 | |
13103 | 12662 | =item Self-ties of arrays and hashes are not supported |
13104 | 12663 | |
13105 | 12664 | =begin original |
13106 | 12665 | |
13107 | 12666 | (F) Self-ties are of arrays and hashes are not supported in |
13108 | 12667 | the current implementation. |
13109 | 12668 | |
13110 | 12669 | =end original |
13111 | 12670 | |
13112 | 12671 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 |
13113 | 12672 | |
13114 | 12673 | =item Semicolon seems to be missing |
13115 | 12674 | |
13116 | 12675 | =begin original |
13117 | 12676 | |
13118 | 12677 | (W semicolon) A nearby syntax error was probably caused by a missing |
13119 | 12678 | semicolon, or possibly some other missing operator, such as a comma. |
13120 | 12679 | |
13121 | 12680 | =end original |
13122 | 12681 | |
13123 | 12682 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
13124 | 12683 | 演算子がなかったために起こったものと考えられます。 |
13125 | 12684 | |
13126 | 12685 | =item semi-panic: attempt to dup freed string |
13127 | 12686 | |
13128 | 12687 | =begin original |
13129 | 12688 | |
13130 | 12689 | (S internal) The internal newSVsv() routine was called to duplicate a |
13131 | 12690 | scalar that had previously been marked as free. |
13132 | 12691 | |
13133 | 12692 | =end original |
13134 | 12693 | |
13135 | 12694 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
13136 | 12695 | newSVsv() ルーティンが呼ばれました。 |
13137 | 12696 | |
13138 | 12697 | =item sem%s not implemented |
13139 | 12698 | |
13140 | 12699 | =begin original |
13141 | 12700 | |
13142 | 12701 | (F) You don't have System V semaphore IPC on your system. |
13143 | 12702 | |
13144 | 12703 | =end original |
13145 | 12704 | |
13146 | 12705 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
13147 | 12706 | |
13148 | 12707 | =item send() on closed socket %s |
13149 | 12708 | |
13150 | 12709 | =begin original |
13151 | 12710 | |
13152 | 12711 | (W closed) The socket you're sending to got itself closed sometime |
13153 | 12712 | before now. Check your control flow. |
13154 | 12713 | |
13155 | 12714 | =end original |
13156 | 12715 | |
13157 | 12716 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 |
13158 | 12717 | 制御フローをチェックしてください。 |
13159 | 12718 | |
13160 | 12719 | =item Sequence "\c{" invalid |
13161 | 12720 | |
13162 | 12721 | =begin original |
13163 | 12722 | |
13164 | 12723 | (F) These three characters may not appear in sequence in a |
13165 | 12724 | double-quotish context. This message is raised only on non-ASCII |
13166 | 12725 | platforms (a different error message is output on ASCII ones). If you |
13167 | 12726 | were intending to specify a control character with this sequence, you'll |
13168 | 12727 | have to use a different way to specify it. |
13169 | 12728 | |
13170 | 12729 | =end original |
13171 | 12730 | |
13172 | 12731 | (F) これら三つの文字の並びはダブルクォート風のコンテキストでは |
13173 | 12732 | 使えません。 |
13174 | 12733 | このメッセージは非 ASCII プラットフォームでのみ発生します |
13175 | 12734 | (ASCII では異なったえらメッセージが出力されます)。 |
13176 | 12735 | この並びの制御文字を指定することを意図している場合は、指定するために |
13177 | 12736 | 異なる方法を使う必要があります。 |
13178 | 12737 | |
13179 | 12738 | =item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/ |
13180 | 12739 | |
13181 | 12740 | =begin original |
13182 | 12741 | |
13183 | 12742 | (F) A regular expression ended with an incomplete extension (?. The |
13184 | 12743 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
13185 | 12744 | discovered. See L<perlre>. |
13186 | 12745 | |
13187 | 12746 | =end original |
13188 | 12747 | |
13189 | 12748 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
13190 | 12749 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13191 | 12750 | L<perlre> を参照してください。 |
13192 | 12751 | |
13193 | 12752 | =item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in |
13194 | 12753 | m/%s/ |
13195 | 12754 | |
13196 | 12755 | =begin original |
13197 | 12756 | |
13198 | 12757 | (F) A proposed regular expression extension has the character reserved |
13199 | 12758 | but has not yet been written. The S<<-- HERE> shows whereabouts in the |
13200 | 12759 | regular expression the problem was discovered. See L<perlre>. |
13201 | 12760 | |
13202 | 12761 | =end original |
13203 | 12762 | |
13204 | 12763 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
13205 | 12764 | まだ実装されていません。 |
13206 | 12765 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13207 | 12766 | L<perlre> を参照してください。 |
13208 | 12767 | |
13209 | 12768 | =item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in |
13210 | 12769 | m/%s/ |
13211 | 12770 | |
13212 | 12771 | =begin original |
13213 | 12772 | |
13214 | 12773 | (F) You used a regular expression extension that doesn't make sense. |
13215 | 12774 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
13216 | 12775 | discovered. This may happen when using the C<(?^...)> construct to tell |
13217 | 12776 | Perl to use the default regular expression modifiers, and you |
13218 | 12777 | redundantly specify a default modifier. For other |
13219 | 12778 | causes, see L<perlre>. |
13220 | 12779 | |
13221 | 12780 | =end original |
13222 | 12781 | |
13223 | 12782 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
13224 | 12783 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13225 | 12784 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために |
13226 | 12785 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 |
13227 | 12786 | その他の理由については、L<perlre> を参照してください。 |
13228 | 12787 | |
13229 | 12788 | =item Sequence (?#... not terminated in regex m/%s/ |
13230 | 12789 | |
13231 | 12790 | =begin original |
13232 | 12791 | |
13233 | 12792 | (F) A regular expression comment must be terminated by a closing |
13234 | 12793 | parenthesis. Embedded parentheses aren't allowed. See |
13235 | 12794 | L<perlre>. |
13236 | 12795 | |
13237 | 12796 | =end original |
13238 | 12797 | |
13239 | 12798 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 |
13240 | 12799 | 組み込みのかっこは許可されません。 |
13241 | 12800 | L<perlre> を参照してください。 |
13242 | 12801 | |
13243 | 12802 | =item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in |
13244 | 12803 | m/%s/ |
13245 | 12804 | |
13246 | 12805 | =begin original |
13247 | 12806 | |
13248 | 12807 | (F) A named reference of the form C<(?&...)> was missing the final |
13249 | 12808 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts |
13250 | 12809 | in the regular expression the problem was discovered. |
13251 | 12810 | |
13252 | 12811 | =end original |
13253 | 12812 | |
13254 | 12813 | (F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが |
13255 | 12814 | ありません。 |
13256 | 12815 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13257 | 12816 | |
13258 | 12817 | =item Sequence (?%c... not terminated in regex; marked by S<<-- HERE> |
13259 | 12818 | in m/%s/ |
13260 | 12819 | |
13261 | 12820 | =begin original |
13262 | 12821 | |
13263 | 12822 | (F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final |
13264 | 12823 | closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the |
13265 | 12824 | regular expression the problem was discovered. |
13266 | 12825 | |
13267 | 12826 | =end original |
13268 | 12827 | |
13269 | 12828 | (F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の |
13270 | 12829 | 最後の閉じクォートまたは山かっこがありません。 |
13271 | 12830 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13272 | 12831 | |
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 | 12832 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> |
13291 | 12833 | in m/%s/ |
13292 | 12834 | |
13293 | 12835 | =begin original |
13294 | 12836 | |
13295 | 12837 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was |
13296 | 12838 | missing the final closing quote or angle bracket after the name. The |
13297 | 12839 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
13298 | 12840 | discovered. |
13299 | 12841 | |
13300 | 12842 | =end original |
13301 | 12843 | |
13302 | 12844 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き |
13303 | 12845 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 |
13304 | 12846 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13305 | 12847 | |
13306 | 12848 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in |
13307 | 12849 | m/%s/ |
13308 | 12850 | |
13309 | 12851 | =begin original |
13310 | 12852 | |
13311 | 12853 | (F) There was no matching closing parenthesis for the '('. The |
13312 | 12854 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
13313 | 12855 | discovered. |
13314 | 12856 | |
13315 | 12857 | =end original |
13316 | 12858 | |
13317 | 12859 | (F) '(' に対応する閉じかっこがありません。 |
13318 | 12860 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13319 | 12861 | |
13320 | 12862 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in |
13321 | 12863 | m/%s/ |
13322 | 12864 | |
13323 | 12865 | =begin original |
13324 | 12866 | |
13325 | 12867 | (F) The regular expression expects a mandatory argument following the escape |
13326 | 12868 | sequence and this has been omitted or incorrectly written. |
13327 | 12869 | |
13328 | 12870 | =end original |
13329 | 12871 | |
13330 | 12872 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 |
13331 | 12873 | それが省略されているか適切に書かれていません。 |
13332 | 12874 | |
13333 | 12875 | =item Sequence (?{...}) not terminated with ')' |
13334 | 12876 | |
13335 | 12877 | =begin original |
13336 | 12878 | |
13337 | 12879 | (F) The end of the perl code contained within the {...} must be |
13338 | 12880 | followed immediately by a ')'. |
13339 | 12881 | |
13340 | 12882 | =end original |
13341 | 12883 | |
13342 | 12884 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が |
13343 | 12885 | 引き続かなければなりません。 |
13344 | 12886 | |
13345 | 12887 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ |
13346 | 12888 | |
13347 | 12889 | =begin original |
13348 | 12890 | |
13349 | 12891 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final |
13350 | 12892 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts |
13351 | 12893 | in the regular expression the problem was discovered. |
13352 | 12894 | |
13353 | 12895 | =end original |
13354 | 12896 | |
13355 | 12897 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが |
13356 | 12898 | ありません。 |
13357 | 12899 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13358 | 12900 | |
13359 | 12901 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ |
13360 | 12902 | |
13361 | 12903 | =begin original |
13362 | 12904 | |
13363 | 12905 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final |
13364 | 12906 | closing angle bracket. The S<<-- HERE> shows whereabouts in the |
13365 | 12907 | regular expression the problem was discovered. |
13366 | 12908 | |
13367 | 12909 | =end original |
13368 | 12910 | |
13369 | 12911 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 |
13370 | 12912 | 最後の閉じ山かっこがありません。 |
13371 | 12913 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13372 | 12914 | |
13373 | 12915 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in |
13374 | 12916 | m/%s/ |
13375 | 12917 | |
13376 | 12918 | =begin original |
13377 | 12919 | |
13378 | 12920 | (F) A named reference of the form C<(?P=...)> was missing the final |
13379 | 12921 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts |
13380 | 12922 | in the regular expression the problem was discovered. |
13381 | 12923 | |
13382 | 12924 | =end original |
13383 | 12925 | |
13384 | 12926 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の |
13385 | 12927 | 閉じかっこがありません。 |
13386 | 12928 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13387 | 12929 | |
13388 | 12930 | =item Sequence (?R) not terminated in regex m/%s/ |
13389 | 12931 | |
13390 | 12932 | =begin original |
13391 | 12933 | |
13392 | 12934 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the |
13393 | 12935 | final parenthesis. |
13394 | 12936 | |
13395 | 12937 | =end original |
13396 | 12938 | |
13397 | 12939 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 |
13398 | 12940 | |
13399 | 12941 | =item Z<>500 Server error |
13400 | 12942 | |
13401 | 12943 | =begin original |
13402 | 12944 | |
13403 | 12945 | (A) This is the error message generally seen in a browser window |
13404 | 12946 | when trying to run a CGI program (including SSI) over the web. The |
13405 | 12947 | actual error text varies widely from server to server. The most |
13406 | 12948 | frequently-seen variants are "500 Server error", "Method (something) |
13407 | 12949 | not permitted", "Document contains no data", "Premature end of script |
13408 | 12950 | headers", and "Did not produce a valid header". |
13409 | 12951 | |
13410 | 12952 | =end original |
13411 | 12953 | |
13412 | 12954 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに |
13413 | 12955 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
13414 | 12956 | 実際のエラーテキストはサーバーによって大きく異なります。 |
13415 | 12957 | もっともよく見られるものとしては、"500 Server error", |
13416 | 12958 | "Method (something) not permitted", "Document contains no data", |
13417 | 12959 | "Premature end of script headers", "Did not produce a valid header" が |
13418 | 12960 | あります。 |
13419 | 12961 | |
13420 | 12962 | =begin original |
13421 | 12963 | |
13422 | 12964 | B<This is a CGI error, not a Perl error>. |
13423 | 12965 | |
13424 | 12966 | =end original |
13425 | 12967 | |
13426 | 12968 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
13427 | 12969 | |
13428 | 12970 | =begin original |
13429 | 12971 | |
13430 | 12972 | You need to make sure your script is executable, is accessible by |
13431 | 12973 | the user CGI is running the script under (which is probably not the |
13432 | 12974 | user account you tested it under), does not rely on any environment |
13433 | 12975 | variables (like PATH) from the user it isn't running under, and isn't |
13434 | 12976 | in a location where the CGI server can't find it, basically, more or |
13435 | 12977 | less. Please see the following for more information: |
13436 | 12978 | |
13437 | 12979 | =end original |
13438 | 12980 | |
13439 | 12981 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
13440 | 12982 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
13441 | 12983 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
13442 | 12984 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
13443 | 12985 | さらなる情報については以下を参照してください。 |
13444 | 12986 | |
13445 | http | |
12987 | http://www.perl.org/CGI_MetaFAQ.html | |
13446 | 12988 | http://www.htmlhelp.org/faq/cgifaq.html |
13447 | 12989 | http://www.w3.org/Security/Faq/ |
13448 | 12990 | |
13449 | 12991 | =begin original |
13450 | 12992 | |
13451 | 12993 | You should also look at L<perlfaq9>. |
13452 | 12994 | |
13453 | 12995 | =end original |
13454 | 12996 | |
13455 | 12997 | L<perlfaq9> も見るべきでしょう。 |
13456 | 12998 | |
13457 | 12999 | =item setegid() not implemented |
13458 | 13000 | |
13459 | 13001 | =begin original |
13460 | 13002 | |
13461 | 13003 | (F) You tried to assign to C<$)>, and your operating system doesn't |
13462 | 13004 | support the setegid() system call (or equivalent), or at least Configure |
13463 | 13005 | didn't think so. |
13464 | 13006 | |
13465 | 13007 | =end original |
13466 | 13008 | |
13467 | 13009 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
13468 | 13010 | システムコール (または、同等のもの) がサポートされていません; |
13469 | 13011 | 少なくとも Configure では、そう判断されました。 |
13470 | 13012 | |
13471 | 13013 | =item seteuid() not implemented |
13472 | 13014 | |
13473 | 13015 | =begin original |
13474 | 13016 | |
13475 | 13017 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
13476 | 13018 | support the seteuid() system call (or equivalent), or at least Configure |
13477 | 13019 | didn't think so. |
13478 | 13020 | |
13479 | 13021 | =end original |
13480 | 13022 | |
13481 | 13023 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
13482 | 13024 | システムコール (または、同等のもの) がサポートされていません; |
13483 | 13025 | 少なくとも Configure では、そう判断されました。 |
13484 | 13026 | |
13485 | 13027 | =item setpgrp can't take arguments |
13486 | 13028 | |
13487 | 13029 | =begin original |
13488 | 13030 | |
13489 | 13031 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
13490 | 13032 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
13491 | 13033 | group ID. |
13492 | 13034 | |
13493 | 13035 | =end original |
13494 | 13036 | |
13495 | 13037 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; |
13496 | 13038 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
13497 | 13039 | |
13498 | 13040 | =item setrgid() not implemented |
13499 | 13041 | |
13500 | 13042 | =begin original |
13501 | 13043 | |
13502 | 13044 | (F) You tried to assign to C<$(>, and your operating system doesn't |
13503 | 13045 | support the setrgid() system call (or equivalent), or at least Configure |
13504 | 13046 | didn't think so. |
13505 | 13047 | |
13506 | 13048 | =end original |
13507 | 13049 | |
13508 | 13050 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
13509 | 13051 | システムコール (または、同等のもの) がサポートされていません; |
13510 | 13052 | 少なくとも Configure では、そう判断されました。 |
13511 | 13053 | |
13512 | 13054 | =item setruid() not implemented |
13513 | 13055 | |
13514 | 13056 | =begin original |
13515 | 13057 | |
13516 | 13058 | (F) You tried to assign to C<$<>, and your operating system doesn't |
13517 | 13059 | support the setruid() system call (or equivalent), or at least Configure |
13518 | 13060 | didn't think so. |
13519 | 13061 | |
13520 | 13062 | =end original |
13521 | 13063 | |
13522 | 13064 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
13523 | 13065 | システムコール (または、同等のもの) がサポートされていません; |
13524 | 13066 | 少なくとも Configure では、そう判断されました。 |
13525 | 13067 | |
13526 | 13068 | =item setsockopt() on closed socket %s |
13527 | 13069 | |
13528 | 13070 | =begin original |
13529 | 13071 | |
13530 | 13072 | (W closed) You tried to set a socket option on a closed socket. Did you |
13531 | 13073 | forget to check the return value of your socket() call? See |
13532 | 13074 | L<perlfunc/setsockopt>. |
13533 | 13075 | |
13534 | 13076 | =end original |
13535 | 13077 | |
13536 | 13078 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
13537 | 13079 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
13538 | 13080 | L<perlfunc/setsockopt> を参照してください。 |
13539 | 13081 | |
13540 | =item Setting $/ to a reference to %s | |
13082 | =item Setting $/ to a reference to %s as a form of slurp is deprecated, treating as undef. This will be fatal in Perl 5.28 | |
13541 | 13083 | |
13542 | 13084 | =begin original |
13543 | 13085 | |
13544 | ( | |
13086 | (D deprecated) You assigned a reference to a scalar to C<$/> where the | |
13545 | not a positive integer. In older perls this B<appeared> | |
13087 | referenced item is not a positive integer. In older perls this B<appeared> | |
13546 | setting it to C<undef> but was in fact internally | |
13088 | to work the same as setting it to C<undef> but was in fact internally | |
13547 | and with very bad luck could have resulted in | |
13089 | different, less efficient and with very bad luck could have resulted in | |
13548 | stringified form of the reference. | |
13090 | your file being split by a stringified form of the reference. | |
13549 | 13091 | |
13550 | 13092 | =end original |
13551 | 13093 | |
13552 | ( | |
13094 | (D deprecated) リファレンス先のアイテムが正の整数でないときに、 | |
13553 | 13095 | C<$/> にスカラへの整数を代入しました。 |
13554 | 13096 | 以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、 |
13555 | 13097 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが |
13556 | 13098 | このリファレンスの文字列化形式で split されることになっていました。 |
13557 | 13099 | |
13558 | 13100 | =begin original |
13559 | 13101 | |
13560 | 13102 | 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 | |
13103 | setting C<$/> to undef, with the exception that this warning would be | |
13104 | thrown. | |
13562 | 13105 | |
13563 | 13106 | =end original |
13564 | 13107 | |
13565 | 13108 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては |
13566 | 13109 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 |
13567 | 13110 | |
13568 | 13111 | =begin original |
13569 | 13112 | |
13570 | You are recommended to change your code to set C<$/> to C<undef> explicitly | |
13113 | You are recommended to change your code to set C<$/> to C<undef> explicitly | |
13571 | you wish to slurp the file. | |
13114 | if you wish to slurp the file. In Perl 5.28 assigning C<$/> to a | |
13572 | to an integer which isn't positive i | |
13115 | reference to an integer which isn't positive will throw a fatal error. | |
13573 | 13116 | |
13574 | 13117 | =end original |
13575 | 13118 | |
13576 | 13119 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を |
13577 | 13120 | 設定するようにコードを変更することを勧めます。 |
13578 | Perl 5.28 | |
13121 | Perl 5.28 では、C<$/> への正でない整数へのリファレンスの代入は | |
13579 | 致命的エラー | |
13122 | 致命的エラーになります。 | |
13580 | 13123 | |
13581 | 13124 | =item Setting $/ to %s reference is forbidden |
13582 | 13125 | |
13583 | 13126 | =begin original |
13584 | 13127 | |
13585 | 13128 | (F) You tried to assign a reference to a non integer to C<$/>. In older |
13586 | 13129 | Perls this would have behaved similarly to setting it to a reference to |
13587 | 13130 | a positive integer, where the integer was the address of the reference. |
13588 | 13131 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl |
13589 | 13132 | to use non-integer refs for more interesting purposes. |
13590 | 13133 | |
13591 | 13134 | =end original |
13592 | 13135 | |
13593 | 13136 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 |
13594 | 13137 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを |
13595 | 13138 | 設定するのと似たように振る舞っていました。 |
13596 | 13139 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように |
13597 | 13140 | Perl 5.20.0 から、これは致命的エラーになりました。 |
13598 | 13141 | |
13599 | 13142 | =item shm%s not implemented |
13600 | 13143 | |
13601 | 13144 | =begin original |
13602 | 13145 | |
13603 | 13146 | (F) You don't have System V shared memory IPC on your system. |
13604 | 13147 | |
13605 | 13148 | =end original |
13606 | 13149 | |
13607 | 13150 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
13608 | 13151 | |
13609 | 13152 | =item !=~ should be !~ |
13610 | 13153 | |
13611 | 13154 | =begin original |
13612 | 13155 | |
13613 | 13156 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be |
13614 | 13157 | interpreted as the != (numeric not equal) and ~ (1's complement) |
13615 | 13158 | operators: probably not what you intended. |
13616 | 13159 | |
13617 | 13160 | =end original |
13618 | 13161 | |
13619 | 13162 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 |
13620 | 13163 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: |
13621 | 13164 | おそらくあなたの意図していることではないでしょう。 |
13622 | 13165 | |
13623 | 13166 | =item /%s/ should probably be written as "%s" |
13624 | 13167 | |
13625 | 13168 | =begin original |
13626 | 13169 | |
13627 | 13170 | (W syntax) You have used a pattern where Perl expected to find a string, |
13628 | 13171 | as in the first argument to C<join>. Perl will treat the true or false |
13629 | 13172 | result of matching the pattern against $_ as the string, which is |
13630 | 13173 | probably not what you had in mind. |
13631 | 13174 | |
13632 | 13175 | =end original |
13633 | 13176 | |
13634 | 13177 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
13635 | 13178 | パターンを使いました。 |
13636 | 13179 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
13637 | 13180 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
13638 | 13181 | |
13639 | 13182 | =item shutdown() on closed socket %s |
13640 | 13183 | |
13641 | 13184 | =begin original |
13642 | 13185 | |
13643 | 13186 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
13644 | 13187 | superfluous. |
13645 | 13188 | |
13646 | 13189 | =end original |
13647 | 13190 | |
13648 | 13191 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
13649 | 13192 | 多少、無駄のように思われます。 |
13650 | 13193 | |
13651 | 13194 | =item SIG%s handler "%s" not defined |
13652 | 13195 | |
13653 | 13196 | =begin original |
13654 | 13197 | |
13655 | 13198 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
13656 | 13199 | Perhaps you put it into the wrong package? |
13657 | 13200 | |
13658 | 13201 | =end original |
13659 | 13202 | |
13660 | 13203 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
13661 | 13204 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
13662 | 13205 | |
13663 | 13206 | =item Slab leaked from cv %p |
13664 | 13207 | |
13665 | 13208 | =begin original |
13666 | 13209 | |
13667 | 13210 | (S) If you see this message, then something is seriously wrong with the |
13668 | 13211 | internal bookkeeping of op trees. An op tree needed to be freed after |
13669 | 13212 | a compilation error, but could not be found, so it was leaked instead. |
13670 | 13213 | |
13671 | 13214 | =end original |
13672 | 13215 | |
13673 | 13216 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく |
13674 | 13217 | 悪いことになっています。 |
13675 | 13218 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 |
13676 | 13219 | 見つからないので、リークしています。 |
13677 | 13220 | |
13678 | 13221 | =item sleep(%u) too large |
13679 | 13222 | |
13680 | 13223 | =begin original |
13681 | 13224 | |
13682 | 13225 | (W overflow) You called C<sleep> with a number that was larger than |
13683 | 13226 | it can reliably handle and C<sleep> probably slept for less time than |
13684 | 13227 | requested. |
13685 | 13228 | |
13686 | 13229 | =end original |
13687 | 13230 | |
13688 | 13231 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 |
13689 | 13232 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 |
13690 | 13233 | |
13691 | 13234 | =item Slurpy parameter not last |
13692 | 13235 | |
13693 | 13236 | =begin original |
13694 | 13237 | |
13695 | 13238 | (F) In a subroutine signature, you put something after a slurpy (array or |
13696 | 13239 | hash) parameter. The slurpy parameter takes all the available arguments, |
13697 | 13240 | so there can't be any left to fill later parameters. |
13698 | 13241 | |
13699 | 13242 | =end original |
13700 | 13243 | |
13701 | 13244 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に |
13702 | 13245 | 何かを起きました。 |
13703 | 13246 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに |
13704 | 13247 | 対応するものを残しません。 |
13705 | 13248 | |
13706 | 13249 | =item Smart matching a non-overloaded object breaks encapsulation |
13707 | 13250 | |
13708 | 13251 | =begin original |
13709 | 13252 | |
13710 | 13253 | (F) You should not use the C<~~> operator on an object that does not |
13711 | 13254 | overload it: Perl refuses to use the object's underlying structure |
13712 | 13255 | for the smart match. |
13713 | 13256 | |
13714 | 13257 | =end original |
13715 | 13258 | |
13716 | 13259 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を |
13717 | 13260 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの |
13718 | 13261 | 基礎となる構造を使うことを拒否します。 |
13719 | 13262 | |
13720 | 13263 | =item Smartmatch is experimental |
13721 | 13264 | |
13722 | 13265 | =begin original |
13723 | 13266 | |
13724 | 13267 | (S experimental::smartmatch) This warning is emitted if you |
13725 | 13268 | use the smartmatch (C<~~>) operator. This is currently an experimental |
13726 | 13269 | feature, and its details are subject to change in future releases of |
13727 | 13270 | Perl. Particularly, its current behavior is noticed for being |
13728 | 13271 | unnecessarily complex and unintuitive, and is very likely to be |
13729 | 13272 | overhauled. |
13730 | 13273 | |
13731 | 13274 | =end original |
13732 | 13275 | |
13733 | 13276 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を |
13734 | 13277 | 使ったときに出力されます。 |
13735 | 13278 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される |
13736 | 13279 | 可能性があります。 |
13737 | 13280 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に |
13738 | 13281 | 見直されます。 |
13739 | 13282 | |
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 | ||
13757 | 13283 | =item sort is now a reserved word |
13758 | 13284 | |
13759 | 13285 | =begin original |
13760 | 13286 | |
13761 | 13287 | (F) An ancient error message that almost nobody ever runs into anymore. |
13762 | 13288 | But before sort was a keyword, people sometimes used it as a filehandle. |
13763 | 13289 | |
13764 | 13290 | =end original |
13765 | 13291 | |
13766 | 13292 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
13767 | 13293 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
13768 | 13294 | 使う方がいました。 |
13769 | 13295 | |
13770 | 13296 | =item Source filters apply only to byte streams |
13771 | 13297 | |
13772 | 13298 | =begin original |
13773 | 13299 | |
13774 | 13300 | (F) You tried to activate a source filter (usually by loading a |
13775 | 13301 | source filter module) within a string passed to C<eval>. This is |
13776 | 13302 | not permitted under the C<unicode_eval> feature. Consider using |
13777 | 13303 | C<evalbytes> instead. See L<feature>. |
13778 | 13304 | |
13779 | 13305 | =end original |
13780 | 13306 | |
13781 | 13307 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを |
13782 | 13308 | 読み込むことで)ソースフィルタを有効にしようとしました。 |
13783 | 13309 | これは C<unicode_eval> 機能が有効の場合は許されていません。 |
13784 | 13310 | 代わりに C<evalbytes> を使うことを検討してください。 |
13785 | 13311 | L<feature> を参照してください。 |
13786 | 13312 | |
13787 | 13313 | =item splice() offset past end of array |
13788 | 13314 | |
13789 | 13315 | =begin original |
13790 | 13316 | |
13791 | 13317 | (W misc) You attempted to specify an offset that was past the end of |
13792 | 13318 | the array passed to splice(). Splicing will instead commence at the |
13793 | 13319 | end of the array, rather than past it. If this isn't what you want, |
13794 | 13320 | try explicitly pre-extending the array by assigning $#array = $offset. |
13795 | 13321 | See L<perlfunc/splice>. |
13796 | 13322 | |
13797 | 13323 | =end original |
13798 | 13324 | |
13799 | 13325 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 |
13800 | 13326 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 |
13801 | 13327 | これが望んでいることではないなら、$#array = $offset と代入することで |
13802 | 13328 | 明示的に事前に配列を拡張してください。 |
13803 | 13329 | L<perlfunc/splice> を参照してください。 |
13804 | 13330 | |
13805 | 13331 | =item Split loop |
13806 | 13332 | |
13807 | 13333 | =begin original |
13808 | 13334 | |
13809 | 13335 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
13810 | 13336 | iterate more times than there are characters of input, which is what |
13811 | 13337 | happened.) See L<perlfunc/split>. |
13812 | 13338 | |
13813 | 13339 | =end original |
13814 | 13340 | |
13815 | 13341 | (P) split が無限ループに陥りました。 |
13816 | 13342 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
13817 | 13343 | そうなってしまいました。) |
13818 | 13344 | L<perlfunc/split> を参照してください。 |
13819 | 13345 | |
13820 | 13346 | =item Statement unlikely to be reached |
13821 | 13347 | |
13822 | 13348 | =begin original |
13823 | 13349 | |
13824 | 13350 | (W exec) You did an exec() with some statement after it other than a |
13825 | 13351 | die(). This is almost always an error, because exec() never returns |
13826 | 13352 | unless there was a failure. You probably wanted to use system() |
13827 | 13353 | instead, which does return. To suppress this warning, put the exec() in |
13828 | 13354 | a block by itself. |
13829 | 13355 | |
13830 | 13356 | =end original |
13831 | 13357 | |
13832 | 13358 | (W exec) exec() の後に、die() 以外の実行文があります。 |
13833 | 13359 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
13834 | 13360 | ほとんどの場合には誤りでしょう。 |
13835 | 13361 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
13836 | 13362 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
13837 | 13363 | |
13838 | 13364 | =item "state" subroutine %s can't be in a package |
13839 | 13365 | |
13840 | 13366 | =begin original |
13841 | 13367 | |
13842 | 13368 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make |
13843 | 13369 | sense to try to declare one with a package qualifier on the front. |
13844 | 13370 | |
13845 | 13371 | =end original |
13846 | 13372 | |
13847 | 13373 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 |
13848 | 13374 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
13849 | 13375 | |
13850 | 13376 | =item "state %s" used in sort comparison |
13851 | 13377 | |
13852 | 13378 | =begin original |
13853 | 13379 | |
13854 | 13380 | (W syntax) The package variables $a and $b are used for sort comparisons. |
13855 | 13381 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a |
13856 | 13382 | sort comparison block, and the variable had earlier been declared as a |
13857 | 13383 | lexical variable. Either qualify the sort variable with the package |
13858 | 13384 | name, or rename the lexical variable. |
13859 | 13385 | |
13860 | 13386 | =end original |
13861 | 13387 | |
13862 | 13388 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 |
13863 | 13389 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の |
13864 | 13390 | オペランドとして使いましたが、この変数はその前にレキシカル変数として |
13865 | 13391 | 宣言されています。 |
13866 | 13392 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 |
13867 | 13393 | |
13868 | 13394 | =item "state" variable %s can't be in a package |
13869 | 13395 | |
13870 | 13396 | =begin original |
13871 | 13397 | |
13872 | 13398 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
13873 | 13399 | sense to try to declare one with a package qualifier on the front. Use |
13874 | 13400 | local() if you want to localize a package variable. |
13875 | 13401 | |
13876 | 13402 | =end original |
13877 | 13403 | |
13878 | 13404 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 |
13879 | 13405 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
13880 | 13406 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
13881 | 13407 | |
13882 | 13408 | =item stat() on unopened filehandle %s |
13883 | 13409 | |
13884 | 13410 | =begin original |
13885 | 13411 | |
13886 | 13412 | (W unopened) You tried to use the stat() function on a filehandle that |
13887 | 13413 | was either never opened or has since been closed. |
13888 | 13414 | |
13889 | 13415 | =end original |
13890 | 13416 | |
13891 | 13417 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
13892 | 13418 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
13893 | 13419 | |
13894 | 13420 | =item Strings with code points over 0xFF may not be mapped into in-memory file handles |
13895 | 13421 | |
13896 | 13422 | =begin original |
13897 | 13423 | |
13898 | 13424 | (W utf8) You tried to open a reference to a scalar for read or append |
13899 | 13425 | where the scalar contained code points over 0xFF. In-memory files |
13900 | 13426 | model on-disk files and can only contain bytes. |
13901 | 13427 | |
13902 | 13428 | =end original |
13903 | 13429 | |
13904 | 13430 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で |
13905 | 13431 | スカラへのリファレンスを開こうとしました。 |
13906 | 13432 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが |
13907 | 13433 | 使えます。 |
13908 | 13434 | |
13909 | 13435 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" |
13910 | 13436 | |
13911 | 13437 | =begin original |
13912 | 13438 | |
13913 | 13439 | (P) Overloading resolution over @ISA tree may be broken by importation |
13914 | 13440 | stubs. Stubs should never be implicitly created, but explicit calls to |
13915 | 13441 | C<can> may break this. |
13916 | 13442 | |
13917 | 13443 | =end original |
13918 | 13444 | |
13919 | 13445 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
13920 | 13446 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
13921 | 13447 | これを破壊することがあります。 |
13922 | 13448 | |
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 | 13449 | =item Subroutine "&%s" is not available |
13942 | 13450 | |
13943 | 13451 | =begin original |
13944 | 13452 | |
13945 | 13453 | (W closure) During compilation, an inner named subroutine or eval is |
13946 | 13454 | attempting to capture an outer lexical subroutine that is not currently |
13947 | 13455 | available. This can happen for one of two reasons. First, the lexical |
13948 | 13456 | subroutine may be declared in an outer anonymous subroutine that has |
13949 | 13457 | not yet been created. (Remember that named subs are created at compile |
13950 | 13458 | time, while anonymous subs are created at run-time.) For example, |
13951 | 13459 | |
13952 | 13460 | =end original |
13953 | 13461 | |
13954 | 13462 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 |
13955 | 13463 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 |
13956 | 13464 | これは二つの理由で起こります。 |
13957 | 13465 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで |
13958 | 13466 | 宣言されたときです。 |
13959 | 13467 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは |
13960 | 13468 | 実行時に作成されることを思い出してください。) |
13961 | 13469 | 例えば、 |
13962 | 13470 | |
13963 | 13471 | sub { my sub a {...} sub f { \&a } } |
13964 | 13472 | |
13965 | 13473 | =begin original |
13966 | 13474 | |
13967 | 13475 | At the time that f is created, it can't capture the current "a" sub, |
13968 | 13476 | since the anonymous subroutine hasn't been created yet. Conversely, the |
13969 | 13477 | following won't give a warning since the anonymous subroutine has by now |
13970 | 13478 | been created and is live: |
13971 | 13479 | |
13972 | 13480 | =end original |
13973 | 13481 | |
13974 | 13482 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら |
13975 | 13483 | 無名サブルーチンはまだ作成されていないからです。 |
13976 | 13484 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて |
13977 | 13485 | 生きているからです: |
13978 | 13486 | |
13979 | 13487 | sub { my sub a {...} eval 'sub f { \&a }' }->(); |
13980 | 13488 | |
13981 | 13489 | =begin original |
13982 | 13490 | |
13983 | 13491 | The second situation is caused by an eval accessing a lexical subroutine |
13984 | 13492 | that has gone out of scope, for example, |
13985 | 13493 | |
13986 | 13494 | =end original |
13987 | 13495 | |
13988 | 13496 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに |
13989 | 13497 | アクセスすることで起こります; 例えば: |
13990 | 13498 | |
13991 | 13499 | sub f { |
13992 | 13500 | my sub a {...} |
13993 | 13501 | sub { eval '\&a' } |
13994 | 13502 | } |
13995 | 13503 | f()->(); |
13996 | 13504 | |
13997 | 13505 | =begin original |
13998 | 13506 | |
13999 | 13507 | Here, when the '\&a' in the eval is being compiled, f() is not currently |
14000 | 13508 | being executed, so its &a is not available for capture. |
14001 | 13509 | |
14002 | 13510 | =end original |
14003 | 13511 | |
14004 | 13512 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では |
14005 | 13513 | 実行されていないので、&a は捕捉として利用できません。 |
14006 | 13514 | |
14007 | 13515 | =item "%s" subroutine &%s masks earlier declaration in same %s |
14008 | 13516 | |
14009 | 13517 | =begin original |
14010 | 13518 | |
14011 | (W s | |
13519 | (W misc) A "my" or "state" subroutine has been redeclared in the | |
14012 | 13520 | current scope or statement, effectively eliminating all access to |
14013 | 13521 | the previous instance. This is almost always a typographical error. |
14014 | 13522 | Note that the earlier subroutine will still exist until the end of |
14015 | 13523 | the scope or until all closure references to it are destroyed. |
14016 | 13524 | |
14017 | 13525 | =end original |
14018 | 13526 | |
14019 | (W s | |
13527 | (W misc) "my" または "state" サブルーチンは現在のスコープまたは文で | |
14020 | 13528 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 |
14021 | 13529 | これはほとんど常にタイプミスです。 |
14022 | 13530 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している |
14023 | 13531 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 |
14024 | 13532 | |
14025 | 13533 | =item Subroutine %s redefined |
14026 | 13534 | |
14027 | 13535 | =begin original |
14028 | 13536 | |
14029 | 13537 | (W redefine) You redefined a subroutine. To suppress this warning, say |
14030 | 13538 | |
14031 | 13539 | =end original |
14032 | 13540 | |
14033 | 13541 | (W redefine) サブルーチンを再定義しました。 |
14034 | 13542 | この警告を止めるには以下のようにしてください: |
14035 | 13543 | |
14036 | 13544 | { |
14037 | 13545 | no warnings 'redefine'; |
14038 | 13546 | eval "sub name { ... }"; |
14039 | 13547 | } |
14040 | 13548 | |
14041 | 13549 | =item Subroutine "%s" will not stay shared |
14042 | 13550 | |
14043 | 13551 | =begin original |
14044 | 13552 | |
14045 | 13553 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" |
14046 | 13554 | subroutine defined in an outer named subroutine. |
14047 | 13555 | |
14048 | 13556 | =end original |
14049 | 13557 | |
14050 | 13558 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 |
14051 | 13559 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 |
14052 | 13560 | |
14053 | 13561 | =begin original |
14054 | 13562 | |
14055 | 13563 | When the inner subroutine is called, it will see the value of the outer |
14056 | 13564 | subroutine's lexical subroutine as it was before and during the *first* |
14057 | 13565 | call to the outer subroutine; in this case, after the first call to the |
14058 | 13566 | outer subroutine is complete, the inner and outer subroutines will no |
14059 | 13567 | longer share a common value for the lexical subroutine. In other words, |
14060 | 13568 | it will no longer be shared. This will especially make a difference |
14061 | 13569 | if the lexical subroutines accesses lexical variables declared in its |
14062 | 13570 | surrounding scope. |
14063 | 13571 | |
14064 | 13572 | =end original |
14065 | 13573 | |
14066 | 13574 | 内側のサブルーチンが呼び出されるとき、 |
14067 | 13575 | 外側のサブルーチンのレキシカルサブルーチンの値は、 |
14068 | 13576 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; |
14069 | 13577 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 |
14070 | 13578 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて |
14071 | 13579 | 共通の値を共有しません。 |
14072 | 13580 | 言い換えると、これはもはや共有されません。 |
14073 | 13581 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された |
14074 | 13582 | レキシカル変数にアクセスしたときに違いがあります。 |
14075 | 13583 | |
14076 | 13584 | =begin original |
14077 | 13585 | |
14078 | 13586 | This problem can usually be solved by making the inner subroutine |
14079 | 13587 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
14080 | 13588 | reference lexical subroutines in outer subroutines are created, they |
14081 | 13589 | are automatically rebound to the current values of such lexical subs. |
14082 | 13590 | |
14083 | 13591 | =end original |
14084 | 13592 | |
14085 | 13593 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
14086 | 13594 | 解決します。 |
14087 | 13595 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の |
14088 | 13596 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に |
14089 | 13597 | 自動的に回復します。 |
14090 | 13598 | |
14091 | 13599 | =item Substitution loop |
14092 | 13600 | |
14093 | 13601 | =begin original |
14094 | 13602 | |
14095 | 13603 | (P) The substitution was looping infinitely. (Obviously, a substitution |
14096 | 13604 | shouldn't iterate more times than there are characters of input, which |
14097 | 13605 | is what happened.) See the discussion of substitution in |
14098 | 13606 | L<perlop/"Regexp Quote-Like Operators">. |
14099 | 13607 | |
14100 | 13608 | =end original |
14101 | 13609 | |
14102 | 13610 | (P) 置換が無限ループに陥りました。 |
14103 | 13611 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
14104 | 13612 | それが起こってしまいました。) |
14105 | 13613 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 |
14106 | 13614 | |
14107 | 13615 | =item Substitution pattern not terminated |
14108 | 13616 | |
14109 | 13617 | =begin original |
14110 | 13618 | |
14111 | 13619 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} |
14112 | 13620 | construct. Remember that bracketing delimiters count nesting level. |
14113 | 13621 | Missing the leading C<$> from variable C<$s> may cause this error. |
14114 | 13622 | |
14115 | 13623 | =end original |
14116 | 13624 | |
14117 | 13625 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
14118 | 13626 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
14119 | 13627 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
14120 | 13628 | |
14121 | 13629 | =item Substitution replacement not terminated |
14122 | 13630 | |
14123 | 13631 | =begin original |
14124 | 13632 | |
14125 | 13633 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} |
14126 | 13634 | construct. Remember that bracketing delimiters count nesting level. |
14127 | 13635 | Missing the leading C<$> from variable C<$s> may cause this error. |
14128 | 13636 | |
14129 | 13637 | =end original |
14130 | 13638 | |
14131 | 13639 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
14132 | 13640 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
14133 | 13641 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
14134 | 13642 | |
14135 | 13643 | =item substr outside of string |
14136 | 13644 | |
14137 | 13645 | =begin original |
14138 | 13646 | |
14139 | 13647 | (W substr)(F) You tried to reference a substr() that pointed outside of |
14140 | 13648 | a string. That is, the absolute value of the offset was larger than the |
14141 | 13649 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
14142 | 13650 | substr is used in an lvalue context (as the left hand side of an |
14143 | 13651 | assignment or as a subroutine argument for example). |
14144 | 13652 | |
14145 | 13653 | =end original |
14146 | 13654 | |
14147 | 13655 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 |
14148 | 13656 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
14149 | 13657 | L<perlfunc/substr> を参照してください。 |
14150 | 13658 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
14151 | 13659 | 左辺値として使われた場合は致命的となります。 |
14152 | 13660 | |
14153 | 13661 | =item sv_upgrade from type %d down to type %d |
14154 | 13662 | |
14155 | 13663 | =begin original |
14156 | 13664 | |
14157 | 13665 | (P) Perl tried to force the upgrade of an SV to a type which was actually |
14158 | 13666 | inferior to its current type. |
14159 | 13667 | |
14160 | 13668 | =end original |
14161 | 13669 | |
14162 | 13670 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を |
14163 | 13671 | 強制しようとしました。 |
14164 | 13672 | |
13673 | =item SWASHNEW didn't return an HV ref | |
13674 | ||
13675 | =begin original | |
13676 | ||
13677 | (P) Something went wrong internally when Perl was trying to look up | |
13678 | Unicode characters. | |
13679 | ||
13680 | =end original | |
13681 | ||
13682 | (P) Perl が Unicode 文字を探そうとしたときに、内部で何かがおかしくなりました。 | |
13683 | ||
14165 | 13684 | =item Switch (?(condition)... contains too many branches in regex; marked by |
14166 | 13685 | S<<-- HERE> in m/%s/ |
14167 | 13686 | |
14168 | 13687 | =begin original |
14169 | 13688 | |
14170 | 13689 | (F) A (?(condition)if-clause|else-clause) construct can have at most |
14171 | 13690 | two branches (the if-clause and the else-clause). If you want one or |
14172 | 13691 | both to contain alternation, such as using C<this|that|other>, enclose |
14173 | 13692 | it in clustering parentheses: |
14174 | 13693 | |
14175 | 13694 | =end original |
14176 | 13695 | |
14177 | 13696 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 |
14178 | 13697 | (if-clause と else-clause) を持つことができます。 |
14179 | 13698 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
14180 | 13699 | |
14181 | 13700 | (?(condition)(?:this|that|other)|else-clause) |
14182 | 13701 | |
14183 | 13702 | =begin original |
14184 | 13703 | |
14185 | 13704 | The S<<-- HERE> shows whereabouts in the regular expression the problem |
14186 | 13705 | was discovered. See L<perlre>. |
14187 | 13706 | |
14188 | 13707 | =end original |
14189 | 13708 | |
14190 | 13709 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
14191 | 13710 | L<perlre> を参照してください。 |
14192 | 13711 | |
14193 | 13712 | =item Switch condition not recognized in regex; marked by S<<-- HERE> in |
14194 | 13713 | m/%s/ |
14195 | 13714 | |
14196 | 13715 | =begin original |
14197 | 13716 | |
14198 | 13717 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
14199 | 13718 | is not known. The condition must be one of the following: |
14200 | 13719 | |
14201 | 13720 | =end original |
14202 | 13721 | |
14203 | 13722 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 |
14204 | 13723 | 条件は以下のいずれかでなければなりません。 |
14205 | 13724 | |
14206 | 13725 | (1) (2) ... true if 1st, 2nd, etc., capture matched |
14207 | 13726 | (<NAME>) ('NAME') true if named capture matched |
14208 | 13727 | (?=...) (?<=...) true if subpattern matches |
14209 | 13728 | (?!...) (?<!...) true if subpattern fails to match |
14210 | 13729 | (?{ CODE }) true if code returns a true value |
14211 | 13730 | (R) true if evaluating inside recursion |
14212 | 13731 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. |
14213 | 13732 | (R&NAME) true if directly inside named capture |
14214 | 13733 | (DEFINE) always false; for defining named subpatterns |
14215 | 13734 | |
14216 | 13735 | =begin original |
14217 | 13736 | |
14218 | 13737 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
14219 | 13738 | discovered. See L<perlre>. |
14220 | 13739 | |
14221 | 13740 | =end original |
14222 | 13741 | |
14223 | 13742 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
14224 | 13743 | L<perlre> を参照してください。 |
14225 | 13744 | |
14226 | 13745 | =item Switch (?(condition)... not terminated in regex; marked by |
14227 | 13746 | S<<-- HERE> in m/%s/ |
14228 | 13747 | |
14229 | 13748 | =begin original |
14230 | 13749 | |
14231 | 13750 | (F) You omitted to close a (?(condition)...) block somewhere |
14232 | 13751 | in the pattern. Add a closing parenthesis in the appropriate |
14233 | 13752 | position. See L<perlre>. |
14234 | 13753 | |
14235 | 13754 | =end original |
14236 | 13755 | |
14237 | 13756 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 |
14238 | 13757 | 適切な位置に閉じかっこを追加してください。 |
14239 | 13758 | L<perlre> を参照してください。 |
14240 | 13759 | |
14241 | 13760 | =item switching effective %s is not implemented |
14242 | 13761 | |
14243 | 13762 | =begin original |
14244 | 13763 | |
14245 | 13764 | (F) While under the C<use filetest> pragma, we cannot switch the real |
14246 | 13765 | and effective uids or gids. |
14247 | 13766 | |
14248 | 13767 | =end original |
14249 | 13768 | |
14250 | 13769 | (F) C<use filetest> プラグマを使っている間に、 |
14251 | 13770 | 実と実効の UID や GID の切り替えに失敗しました。 |
14252 | 13771 | |
14253 | 13772 | =item syntax error |
14254 | 13773 | |
14255 | 13774 | =begin original |
14256 | 13775 | |
14257 | 13776 | (F) Probably means you had a syntax error. Common reasons include: |
14258 | 13777 | |
14259 | 13778 | =end original |
14260 | 13779 | |
14261 | 13780 | (F) おそらく、構文エラーが起こっています。 |
14262 | 13781 | よくある原因としては以下のことが考えられます: |
14263 | 13782 | |
14264 | 13783 | =begin original |
14265 | 13784 | |
14266 | 13785 | A keyword is misspelled. |
14267 | 13786 | A semicolon is missing. |
14268 | 13787 | A comma is missing. |
14269 | 13788 | An opening or closing parenthesis is missing. |
14270 | 13789 | An opening or closing brace is missing. |
14271 | 13790 | A closing quote is missing. |
14272 | 13791 | |
14273 | 13792 | =end original |
14274 | 13793 | |
14275 | 13794 | キーワードのスペルミス。 |
14276 | 13795 | セミコロンを忘れた。 |
14277 | 13796 | コンマを忘れた。 |
14278 | 13797 | 開きかっこ、閉じかっこを忘れた。 |
14279 | 13798 | 開き中かっこ、閉じ中かっこを忘れた。 |
14280 | 13799 | クォートの閉じ忘れ。 |
14281 | 13800 | |
14282 | 13801 | =begin original |
14283 | 13802 | |
14284 | 13803 | Often there will be another error message associated with the syntax |
14285 | 13804 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
14286 | 13805 | The error message itself often tells you where it was in the line when |
14287 | 13806 | it decided to give up. Sometimes the actual error is several tokens |
14288 | 13807 | before this, because Perl is good at understanding random input. |
14289 | 13808 | Occasionally the line number may be misleading, and once in a blue moon |
14290 | 13809 | the only way to figure out what's triggering the error is to call |
14291 | 13810 | C<perl -c> repeatedly, chopping away half the program each time to see |
14292 | 13811 | if the error went away. Sort of the cybernetic version of S<20 questions>. |
14293 | 13812 | |
14294 | 13813 | =end original |
14295 | 13814 | |
14296 | 13815 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
14297 | 13816 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
14298 | 13817 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
14299 | 13818 | 含まれています。 |
14300 | 13819 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
14301 | 13820 | 在ることもあります。 |
14302 | 13821 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
14303 | 13822 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
14304 | 13823 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
14305 | 13824 | S<頭の体操 20 問>だと思ってください。 |
14306 | 13825 | |
14307 | 13826 | =item syntax error at line %d: '%s' unexpected |
14308 | 13827 | |
14309 | 13828 | =begin original |
14310 | 13829 | |
14311 | 13830 | (A) You've accidentally run your script through the Bourne shell instead |
14312 | 13831 | of Perl. Check the #! line, or manually feed your script into Perl |
14313 | 13832 | yourself. |
14314 | 13833 | |
14315 | 13834 | =end original |
14316 | 13835 | |
14317 | 13836 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
14318 | #! 行を | |
13837 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
14319 | 13838 | |
14320 | 13839 | =item syntax error in file %s at line %d, next 2 tokens "%s" |
14321 | 13840 | |
14322 | 13841 | =begin original |
14323 | 13842 | |
14324 | 13843 | (F) This error is likely to occur if you run a perl5 script through |
14325 | 13844 | a perl4 interpreter, especially if the next 2 tokens are "use strict" |
14326 | 13845 | or "my $var" or "our $var". |
14327 | 13846 | |
14328 | 13847 | =end original |
14329 | 13848 | |
14330 | 13849 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに |
14331 | 13850 | おきそうなものです; 特に次の二つのトークンが "use strict" か |
14332 | 13851 | "my $var" か "our $var" の場合はそうです。 |
14333 | 13852 | |
14334 | =item Syntax error in (?[...]) in regex | |
13853 | =item Syntax error in (?[...]) in regex m/%s/ | |
14335 | 13854 | |
14336 | 13855 | =begin original |
14337 | 13856 | |
14338 | 13857 | (F) Perl could not figure out what you meant inside this construct; this |
14339 | 13858 | notifies you that it is giving up trying. |
14340 | 13859 | |
14341 | 13860 | =end original |
14342 | 13861 | |
14343 | 13862 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; |
14344 | 13863 | これは試すのを諦めたことを知らせます。 |
14345 | 13864 | |
14346 | 13865 | =item %s syntax OK |
14347 | 13866 | |
14348 | 13867 | =begin original |
14349 | 13868 | |
14350 | 13869 | (F) The final summary message when a C<perl -c> succeeds. |
14351 | 13870 | |
14352 | 13871 | =end original |
14353 | 13872 | |
14354 | 13873 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
14355 | 13874 | |
14356 | 13875 | =item sysread() on closed filehandle %s |
14357 | 13876 | |
14358 | 13877 | =begin original |
14359 | 13878 | |
14360 | 13879 | (W closed) You tried to read from a closed filehandle. |
14361 | 13880 | |
14362 | 13881 | =end original |
14363 | 13882 | |
14364 | 13883 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
14365 | 13884 | |
14366 | 13885 | =item sysread() on unopened filehandle %s |
14367 | 13886 | |
14368 | 13887 | =begin original |
14369 | 13888 | |
14370 | 13889 | (W unopened) You tried to read from a filehandle that was never opened. |
14371 | 13890 | |
14372 | 13891 | =end original |
14373 | 13892 | |
14374 | 13893 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
14375 | 13894 | |
14376 | 13895 | =item System V %s is not implemented on this machine |
14377 | 13896 | |
14378 | 13897 | =begin original |
14379 | 13898 | |
14380 | 13899 | (F) You tried to do something with a function beginning with "sem", |
14381 | 13900 | "shm", or "msg" but that System V IPC is not implemented in your |
14382 | 13901 | machine. In some machines the functionality can exist but be |
14383 | 13902 | unconfigured. Consult your system support. |
14384 | 13903 | |
14385 | 13904 | =end original |
14386 | 13905 | |
14387 | 13906 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
14388 | 13907 | あなたのマシンには System V IPC が実装されていません。 |
14389 | 13908 | 機能はあっても設定されていない場合もあります。 |
14390 | 13909 | システムサポートに相談してください。 |
14391 | 13910 | |
14392 | 13911 | =item syswrite() on closed filehandle %s |
14393 | 13912 | |
14394 | 13913 | =begin original |
14395 | 13914 | |
14396 | 13915 | (W closed) The filehandle you're writing to got itself closed sometime |
14397 | 13916 | before now. Check your control flow. |
14398 | 13917 | |
14399 | 13918 | =end original |
14400 | 13919 | |
14401 | 13920 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
14402 | 13921 | 制御フローをチェックしてください。 |
14403 | 13922 | |
14404 | 13923 | =item C<-T> and C<-B> not implemented on filehandles |
14405 | 13924 | |
14406 | 13925 | =begin original |
14407 | 13926 | |
14408 | 13927 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't |
14409 | 13928 | know about your kind of stdio. You'll have to use a filename instead. |
14410 | 13929 | |
14411 | 13930 | =end original |
14412 | 13931 | |
14413 | 13932 | (F) Perl が、お使いの stdio のことをよく知らないとき、 |
14414 | 13933 | ファイルハンドルの stdio バッファを覗くことはできません。 |
14415 | 13934 | 代わりにファイル名を使わなければなりません。 |
14416 | 13935 | |
14417 | 13936 | =item Target of goto is too deeply nested |
14418 | 13937 | |
14419 | 13938 | =begin original |
14420 | 13939 | |
14421 | 13940 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
14422 | 13941 | for Perl to reach. Perl is doing you a favor by refusing. |
14423 | 13942 | |
14424 | 13943 | =end original |
14425 | 13944 | |
14426 | 13945 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
14427 | 13946 | Perl は親切にもこれを拒否します。 |
14428 | 13947 | |
14429 | 13948 | =item telldir() attempted on invalid dirhandle %s |
14430 | 13949 | |
14431 | 13950 | =begin original |
14432 | 13951 | |
14433 | 13952 | (W io) The dirhandle you tried to telldir() is either closed or not really |
14434 | 13953 | a dirhandle. Check your control flow. |
14435 | 13954 | |
14436 | 13955 | =end original |
14437 | 13956 | |
14438 | 13957 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 |
14439 | 13958 | 実際にはディレクトリハンドルではありません。 |
14440 | 13959 | 制御フローをチェックしてください。 |
14441 | 13960 | |
14442 | 13961 | =item tell() on unopened filehandle |
14443 | 13962 | |
14444 | 13963 | =begin original |
14445 | 13964 | |
14446 | 13965 | (W unopened) You tried to use the tell() function on a filehandle that |
14447 | 13966 | was either never opened or has since been closed. |
14448 | 13967 | |
14449 | 13968 | =end original |
14450 | 13969 | |
14451 | 13970 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
14452 | 13971 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
14453 | 13972 | |
13973 | =item That use of $[ is unsupported | |
13974 | ||
13975 | =begin original | |
13976 | ||
13977 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted | |
13978 | as a compiler directive. You may say only one of | |
13979 | ||
13980 | =end original | |
13981 | ||
13982 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 | |
13983 | 使えるのは以下の形だけです: | |
13984 | ||
13985 | $[ = 0; | |
13986 | $[ = 1; | |
13987 | ... | |
13988 | local $[ = 0; | |
13989 | local $[ = 1; | |
13990 | ... | |
13991 | ||
13992 | =begin original | |
13993 | ||
13994 | This is to prevent the problem of one module changing the array base out | |
13995 | from under another module inadvertently. See L<perlvar/$[> and L<arybase>. | |
13996 | ||
13997 | =end original | |
13998 | ||
13999 | これは、一つのモジュールで、他のモジュールが意図しないような、 | |
14000 | 配列のベースを変更する問題を回避するためのものです。 | |
14001 | L<perlvar/$[> と L<arybase> を参照してください。 | |
14002 | ||
14003 | =item The bitwise feature is experimental | |
14004 | ||
14005 | =begin original | |
14006 | ||
14007 | (S experimental::bitwise) This warning is emitted if you use bitwise | |
14008 | operators (C<& | ^ ~ &. |. ^. ~.>) with the "bitwise" feature enabled. | |
14009 | Simply suppress the warning if you want to use the feature, but know | |
14010 | that in doing so you are taking the risk of using an experimental | |
14011 | feature which may change or be removed in a future Perl version: | |
14012 | ||
14013 | =end original | |
14014 | ||
14015 | (S experimental::bitwise) この警告は、"bitwise" 機能が有効のときに | |
14016 | ビット単位演算子 (C<& | ^ ~ &. |. ^. ~.>) を使うときに出力されます。 | |
14017 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
14018 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
14019 | 単に警告を抑制してください: | |
14020 | ||
14021 | no warnings "experimental::bitwise"; | |
14022 | use feature "bitwise"; | |
14023 | $x |.= $y; | |
14024 | ||
14454 | 14025 | =item The crypt() function is unimplemented due to excessive paranoia. |
14455 | 14026 | |
14456 | 14027 | =begin original |
14457 | 14028 | |
14458 | 14029 | (F) Configure couldn't find the crypt() function on your machine, |
14459 | 14030 | probably because your vendor didn't supply it, probably because they |
14460 | 14031 | think the U.S. Government thinks it's a secret, or at least that they |
14461 | 14032 | will continue to pretend that it is. And if you quote me on that, I |
14462 | 14033 | will deny it. |
14463 | 14034 | |
14464 | 14035 | =end original |
14465 | 14036 | |
14466 | 14037 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; |
14467 | 14038 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
14468 | 14039 | アメリカ政府がそれを秘密だとしていると思っているか、 |
14469 | 14040 | 少なくとも思っているというふりをしているのでしょう。 |
14470 | 14041 | 私を引き合いに出したところで、それは否定されることでしょう。 |
14471 | 14042 | |
14472 | 14043 | =item The experimental declared_refs feature is not enabled |
14473 | 14044 | |
14474 | 14045 | =begin original |
14475 | 14046 | |
14476 | 14047 | (F) To declare references to variables, as in C<my \%x>, you must first enable |
14477 | 14048 | the feature: |
14478 | 14049 | |
14479 | 14050 | =end original |
14480 | 14051 | |
14481 | 14052 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 |
14482 | 14053 | 最初にこの機能を有効にしなければなりません: |
14483 | 14054 | |
14484 | 14055 | no warnings "experimental::declared_refs"; |
14485 | 14056 | use feature "declared_refs"; |
14486 | 14057 | |
14487 | 14058 | =item The %s function is unimplemented |
14488 | 14059 | |
14489 | 14060 | =begin original |
14490 | 14061 | |
14491 | 14062 | (F) The function indicated isn't implemented on this architecture, |
14492 | 14063 | according to the probings of Configure. |
14493 | 14064 | |
14494 | 14065 | =end original |
14495 | 14066 | |
14496 | 14067 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
14497 | 14068 | 実装されていないようです。 |
14498 | 14069 | |
14499 | =item The | |
14070 | =item The regex_sets feature is experimental | |
14500 | 14071 | |
14501 | 14072 | =begin original |
14502 | 14073 | |
14503 | (S experimental:: | |
14074 | (S experimental::regex_sets) This warning is emitted if you | |
14504 | use. | |
14075 | use the syntax S<C<(?[ ])>> in a regular expression. | |
14076 | The details of this feature are subject to change. | |
14077 | if you want to use it, but know that in doing so you | |
14078 | are taking the risk of using an experimental feature which may | |
14079 | change in a future Perl version, you can do this to silence the | |
14080 | warning: | |
14505 | 14081 | |
14506 | 14082 | =end original |
14507 | 14083 | |
14508 | (S experimental:: | |
14084 | (S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を | |
14509 | ||
14085 | 使うと出力されます。 | |
14086 | この機能の詳細は変更されることがあります。 | |
14087 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
14088 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
14089 | 以下のようにして警告を黙らせられます: | |
14510 | 14090 | |
14091 | no warnings "experimental::regex_sets"; | |
14092 | ||
14093 | =item The signatures feature is experimental | |
14094 | ||
14095 | =begin original | |
14096 | ||
14097 | (S experimental::signatures) This warning is emitted if you unwrap a | |
14098 | subroutine's arguments using a signature. Simply suppress the warning | |
14099 | if you want to use the feature, but know that in doing so you are taking | |
14100 | the risk of using an experimental feature which may change or be removed | |
14101 | in a future Perl version: | |
14102 | ||
14103 | =end original | |
14104 | ||
14105 | (S experimental::signatures) この警告は、シグネチャを使ったサブルーチンの | |
14106 | 引数を展開するときに出力されます。 | |
14107 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
14108 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
14109 | 単に警告を抑制してください: | |
14110 | ||
14111 | no warnings "experimental::signatures"; | |
14112 | use feature "signatures"; | |
14113 | sub foo ($left, $right) { ... } | |
14114 | ||
14511 | 14115 | =item The stat preceding %s wasn't an lstat |
14512 | 14116 | |
14513 | 14117 | =begin original |
14514 | 14118 | |
14515 | 14119 | (F) It makes no sense to test the current stat buffer for symbolic |
14516 | 14120 | linkhood if the last stat that wrote to the stat buffer already went |
14517 | 14121 | past the symlink to get to the real file. Use an actual filename |
14518 | 14122 | instead. |
14519 | 14123 | |
14520 | 14124 | =end original |
14521 | 14125 | |
14522 | 14126 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
14523 | 14127 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
14524 | 14128 | stat をカレント stat バッファに対して行なっても意味がありません。 |
14525 | 14129 | 実際のファイル名を使ってください。 |
14526 | 14130 | |
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 | 14131 | =item The 'unique' attribute may only be applied to 'our' variables |
14542 | 14132 | |
14543 | 14133 | =begin original |
14544 | 14134 | |
14545 | 14135 | (F) This attribute was never supported on C<my> or C<sub> declarations. |
14546 | 14136 | |
14547 | 14137 | =end original |
14548 | 14138 | |
14549 | 14139 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 |
14550 | 14140 | |
14551 | 14141 | =item This Perl can't reset CRTL environ elements (%s) |
14552 | 14142 | |
14553 | 14143 | =item This Perl can't set CRTL environ elements (%s=%s) |
14554 | 14144 | |
14555 | 14145 | =begin original |
14556 | 14146 | |
14557 | 14147 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
14558 | 14148 | element of the CRTL's internal environ array, but your copy of Perl |
14559 | 14149 | wasn't built with a CRTL that contained the setenv() function. You'll |
14560 | 14150 | need to rebuild Perl with a CRTL that does, or redefine |
14561 | 14151 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
14562 | 14152 | target of the change to |
14563 | 14153 | %ENV which produced the warning. |
14564 | 14154 | |
14565 | 14155 | =end original |
14566 | 14156 | |
14567 | 14157 | (W internal) VMS に固有の警告です。 |
14568 | 14158 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
14569 | 14159 | setenv() 関数を含んだ CRTL でビルドされていません。 |
14570 | 14160 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
14571 | 14161 | 出力している %ENV を変更するターゲットとならないように |
14572 | 14162 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
14573 | 14163 | |
14574 | 14164 | =item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set(). |
14575 | 14165 | |
14576 | 14166 | =begin original |
14577 | 14167 | |
14578 | 14168 | (F) Something has attempted to use an internal API call which |
14579 | 14169 | depends on Perl being compiled with the default support for randomized hash |
14580 | 14170 | key traversal, but this Perl has been compiled without it. You should |
14581 | 14171 | report this warning to the relevant upstream party, or recompile perl |
14582 | 14172 | with default options. |
14583 | 14173 | |
14584 | 14174 | =end original |
14585 | 14175 | |
14586 | 14176 | (F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に |
14587 | 14177 | 依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで |
14588 | 14178 | コンパイルされていました。 |
14589 | 14179 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を |
14590 | 14180 | 再コンパイルしてください。 |
14591 | 14181 | |
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 | ||
14681 | 14182 | =item times not implemented |
14682 | 14183 | |
14683 | 14184 | =begin original |
14684 | 14185 | |
14685 | 14186 | (F) Your version of the C library apparently doesn't do times(). I |
14686 | 14187 | suspect you're not running on Unix. |
14687 | 14188 | |
14688 | 14189 | =end original |
14689 | 14190 | |
14690 | 14191 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
14691 | 14192 | UNIX ではない環境でしょうか。 |
14692 | 14193 | |
14693 | 14194 | =item "-T" is on the #! line, it must also be used on the command line |
14694 | 14195 | |
14695 | 14196 | =begin original |
14696 | 14197 | |
14697 | 14198 | (X) The #! line (or local equivalent) in a Perl script contains |
14698 | 14199 | the B<-T> option (or the B<-t> option), but Perl was not invoked with |
14699 | 14200 | B<-T> in its command line. This is an error because, by the time |
14700 | 14201 | Perl discovers a B<-T> in a script, it's too late to properly taint |
14701 | 14202 | everything from the environment. So Perl gives up. |
14702 | 14203 | |
14703 | 14204 | =end original |
14704 | 14205 | |
14705 | 14206 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
14706 | 14207 | オプション (または B<-t> オプション) が含まれていますが、Perl は |
14707 | 14208 | コマンドラインで B<-T> 付きで起動されていません。 |
14708 | 14209 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
14709 | 14210 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
14710 | 14211 | それで Perl は諦めます。 |
14711 | 14212 | |
14712 | 14213 | =begin original |
14713 | 14214 | |
14714 | 14215 | If the Perl script is being executed as a command using the #! |
14715 | 14216 | mechanism (or its local equivalent), this error can usually be |
14716 | 14217 | fixed by editing the #! line so that the B<-%c> option is a part of |
14717 | 14218 | Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. |
14718 | 14219 | |
14719 | 14220 | =end original |
14720 | 14221 | |
14721 | 14222 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
14722 | 14223 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に |
14723 | 14224 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 |
14724 | 14225 | |
14725 | 14226 | =begin original |
14726 | 14227 | |
14727 | 14228 | If the Perl script is being executed as C<perl scriptname>, then the |
14728 | 14229 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. |
14729 | 14230 | |
14730 | 14231 | =end original |
14731 | 14232 | |
14732 | 14233 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
14733 | 14234 | コマンドラインに書かなければなりません: C<perl -%c scriptname> |
14734 | 14235 | |
14735 | 14236 | =item To%s: illegal mapping '%s' |
14736 | 14237 | |
14737 | 14238 | =begin original |
14738 | 14239 | |
14739 | 14240 | (F) You tried to define a customized To-mapping for lc(), lcfirst, |
14740 | 14241 | uc(), or ucfirst() (or their string-inlined versions), but you |
14741 | 14242 | specified an illegal mapping. |
14742 | 14243 | See L<perlunicode/"User-Defined Character Properties">. |
14743 | 14244 | |
14744 | 14245 | =end original |
14745 | 14246 | |
14746 | 14247 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の |
14747 | 14248 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 |
14748 | 14249 | 不正なマッピングを指定しました。 |
14749 | 14250 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 |
14750 | 14251 | |
14751 | 14252 | =item Too deeply nested ()-groups |
14752 | 14253 | |
14753 | 14254 | =begin original |
14754 | 14255 | |
14755 | 14256 | (F) Your template contains ()-groups with a ridiculously deep nesting level. |
14756 | 14257 | |
14757 | 14258 | =end original |
14758 | 14259 | |
14759 | 14260 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 |
14760 | 14261 | |
14761 | 14262 | =item Too few args to syscall |
14762 | 14263 | |
14763 | 14264 | =begin original |
14764 | 14265 | |
14765 | 14266 | (F) There has to be at least one argument to syscall() to specify the |
14766 | 14267 | system call to call, silly dilly. |
14767 | 14268 | |
14768 | 14269 | =end original |
14769 | 14270 | |
14770 | 14271 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
14771 | 14272 | 引数が一つ必要です。 |
14772 | 14273 | |
14773 | =item Too few arguments for subroutine '%s' | |
14274 | =item Too few arguments for subroutine '%s' | |
14774 | 14275 | |
14775 | 14276 | =begin original |
14776 | 14277 | |
14777 | (F) A subroutine using a signature few | |
14278 | (F) A subroutine using a signature received too few arguments than | |
14778 | signature. The caller of the subroutine is presumably | |
14279 | required by the signature. The caller of the subroutine is presumably | |
14280 | at fault. | |
14779 | 14281 | |
14780 | 14282 | =end original |
14781 | 14283 | |
14782 | 14284 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも |
14783 | 14285 | 少ない引数を受け取りました。 |
14784 | 14286 | おそらくサブルーチンの呼び出し元が間違っています。 |
14785 | 14287 | |
14786 | 14288 | =begin original |
14787 | 14289 | |
14788 | The message attempts to include the name of the called subroutine. | |
14290 | The message attempts to include the name of the called subroutine. If the | |
14789 | ||
14291 | subroutine has been aliased, the subroutine's original name will be shown, | |
14790 | ||
14292 | regardless of what name the caller used. | |
14791 | number of arguments given and the number expected. | |
14792 | 14293 | |
14793 | 14294 | =end original |
14794 | 14295 | |
14795 | 14296 | このメッセージは呼び出されたサブルーチン名を含めようとします。 |
14796 | サブルーチンが別名化されている場合、どの名前で呼びされたかに | |
14297 | サブルーチンが別名化されている場合、どの名前で呼びされたかにかかわらず | |
14797 | 14298 | サブルーチンの元の名前が表示されます。 |
14798 | 指定された引数の数と想定された数も示されます。 | |
14799 | 14299 | |
14800 | =item Too few arguments for subroutine '%s' (got %d; expected at least %d) | |
14801 | ||
14802 | =begin original | |
14803 | ||
14804 | Similar to the previous message but for subroutines that accept a variable | |
14805 | number of arguments. | |
14806 | ||
14807 | =end original | |
14808 | ||
14809 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
14810 | ||
14811 | 14300 | =item Too late for "-%s" option |
14812 | 14301 | |
14813 | 14302 | =begin original |
14814 | 14303 | |
14815 | 14304 | (X) The #! line (or local equivalent) in a Perl script contains the |
14816 | 14305 | B<-M>, B<-m> or B<-C> option. |
14817 | 14306 | |
14818 | 14307 | =end original |
14819 | 14308 | |
14820 | 14309 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, |
14821 | 14310 | B<-C> オプションが含まれています。 |
14822 | 14311 | |
14823 | 14312 | =begin original |
14824 | 14313 | |
14825 | 14314 | In the case of B<-M> and B<-m>, this is an error because those options |
14826 | 14315 | are not intended for use inside scripts. Use the C<use> pragma instead. |
14827 | 14316 | |
14828 | 14317 | =end original |
14829 | 14318 | |
14830 | 14319 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 |
14831 | 14320 | これはエラーになります。 |
14832 | 14321 | 代わりに C<use> プラグマを使ってください。 |
14833 | 14322 | |
14834 | 14323 | =begin original |
14835 | 14324 | |
14836 | 14325 | The B<-C> option only works if it is specified on the command line as |
14837 | 14326 | well (with the same sequence of letters or numbers following). Either |
14838 | 14327 | specify this option on the command line, or, if your system supports |
14839 | 14328 | it, make your script executable and run it directly instead of passing |
14840 | 14329 | it to perl. |
14841 | 14330 | |
14842 | 14331 | =end original |
14843 | 14332 | |
14844 | 14333 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) |
14845 | 14334 | 指定されたときにのみ動作します。 |
14846 | 14335 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 |
14847 | 14336 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして |
14848 | 14337 | 直接実行してください。 |
14849 | 14338 | |
14850 | 14339 | =item Too late to run %s block |
14851 | 14340 | |
14852 | 14341 | =begin original |
14853 | 14342 | |
14854 | 14343 | (W void) A CHECK or INIT block is being defined during run time proper, |
14855 | 14344 | when the opportunity to run them has already passed. Perhaps you are |
14856 | 14345 | loading a file with C<require> or C<do> when you should be using C<use> |
14857 | 14346 | instead. Or perhaps you should put the C<require> or C<do> inside a |
14858 | 14347 | BEGIN block. |
14859 | 14348 | |
14860 | 14349 | =end original |
14861 | 14350 | |
14862 | 14351 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
14863 | 14352 | 実行時に定義されました。 |
14864 | 14353 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
14865 | 14354 | 読み込んでいます。 |
14866 | 14355 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
14867 | 14356 | 書いたのでしょう。 |
14868 | 14357 | |
14869 | 14358 | =item Too many args to syscall |
14870 | 14359 | |
14871 | 14360 | =begin original |
14872 | 14361 | |
14873 | 14362 | (F) Perl supports a maximum of only 14 args to syscall(). |
14874 | 14363 | |
14875 | 14364 | =end original |
14876 | 14365 | |
14877 | 14366 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
14878 | 14367 | |
14879 | 14368 | =item Too many arguments for %s |
14880 | 14369 | |
14881 | 14370 | =begin original |
14882 | 14371 | |
14883 | 14372 | (F) The function requires fewer arguments than you specified. |
14884 | 14373 | |
14885 | 14374 | =end original |
14886 | 14375 | |
14887 | 14376 | (F) 関数が要求する以上の引数を指定しました。 |
14888 | 14377 | |
14889 | =item Too many arguments for subroutine '%s' | |
14378 | =item Too many arguments for subroutine '%s' | |
14890 | 14379 | |
14891 | 14380 | =begin original |
14892 | 14381 | |
14893 | (F) A subroutine using a signature received | |
14382 | (F) A subroutine using a signature received too many arguments than | |
14894 | by the signature. The caller of the subroutine is presumably | |
14383 | required by the signature. The caller of the subroutine is presumably | |
14384 | at fault. | |
14895 | 14385 | |
14896 | 14386 | =end original |
14897 | 14387 | |
14898 | (F) シグネチャを使っているサブルーチンが、シグネチャ | |
14388 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
14899 | 14389 | 多い引数を受け取りました。 |
14900 | 14390 | おそらくサブルーチンの呼び出し元が間違っています。 |
14901 | 14391 | |
14902 | 14392 | =begin original |
14903 | 14393 | |
14904 | 14394 | The message attempts to include the name of the called subroutine. If the |
14905 | 14395 | subroutine has been aliased, the subroutine's original name will be shown, |
14906 | regardless of what name the caller used. | |
14396 | regardless of what name the caller used. | |
14907 | of arguments given and the number expected. | |
14908 | 14397 | |
14909 | 14398 | =end original |
14910 | 14399 | |
14911 | ||
14400 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
14912 | サブルーチン | |
14401 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
14913 | ||
14402 | 元の名前が表示されます。 | |
14914 | 指定された引数の数と想定された数も示されます。 | |
14915 | 14403 | |
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 | ||
14947 | 14404 | =item Too many )'s |
14948 | 14405 | |
14949 | 14406 | =begin original |
14950 | 14407 | |
14951 | 14408 | (A) You've accidentally run your script through B<csh> instead of Perl. |
14952 | 14409 | Check the #! line, or manually feed your script into Perl yourself. |
14953 | 14410 | |
14954 | 14411 | =end original |
14955 | 14412 | |
14956 | 14413 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
14957 | #! 行を | |
14414 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
14958 | 14415 | |
14959 | 14416 | =item Too many ('s |
14960 | 14417 | |
14961 | 14418 | =begin original |
14962 | 14419 | |
14963 | 14420 | (A) You've accidentally run your script through B<csh> instead of Perl. |
14964 | 14421 | Check the #! line, or manually feed your script into Perl yourself. |
14965 | 14422 | |
14966 | 14423 | =end original |
14967 | 14424 | |
14968 | 14425 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
14969 | #! 行を | |
14426 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
14970 | 14427 | |
14971 | 14428 | =item Trailing \ in regex m/%s/ |
14972 | 14429 | |
14973 | 14430 | =begin original |
14974 | 14431 | |
14975 | 14432 | (F) The regular expression ends with an unbackslashed backslash. |
14976 | 14433 | Backslash it. See L<perlre>. |
14977 | 14434 | |
14978 | 14435 | =end original |
14979 | 14436 | |
14980 | 14437 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
14981 | 14438 | 終了しました。バックスラッシュを付けてください。 |
14982 | 14439 | L<perlre> を参照してください。 |
14983 | 14440 | |
14984 | 14441 | =item Transliteration pattern not terminated |
14985 | 14442 | |
14986 | 14443 | =begin original |
14987 | 14444 | |
14988 | 14445 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
14989 | 14446 | or y/// or y[][] construct. Missing the leading C<$> from variables |
14990 | 14447 | C<$tr> or C<$y> may cause this error. |
14991 | 14448 | |
14992 | 14449 | =end original |
14993 | 14450 | |
14994 | 14451 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が |
14995 | 14452 | 見つかりませんでした。 |
14996 | 14453 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
14997 | 14454 | このエラーが出ることがあります。 |
14998 | 14455 | |
14999 | 14456 | =item Transliteration replacement not terminated |
15000 | 14457 | |
15001 | 14458 | =begin original |
15002 | 14459 | |
15003 | 14460 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], |
15004 | 14461 | y/// or y[][] construct. |
15005 | 14462 | |
15006 | 14463 | =end original |
15007 | 14464 | |
15008 | 14465 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が |
15009 | 14466 | 見つかりませんでした。 |
15010 | 14467 | |
15011 | 14468 | =item '%s' trapped by operation mask |
15012 | 14469 | |
15013 | 14470 | =begin original |
15014 | 14471 | |
15015 | 14472 | (F) You tried to use an operator from a Safe compartment in which it's |
15016 | 14473 | disallowed. See L<Safe>. |
15017 | 14474 | |
15018 | 14475 | =end original |
15019 | 14476 | |
15020 | 14477 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 |
15021 | 14478 | L<Safe> を参照してください。 |
15022 | 14479 | |
15023 | 14480 | =item truncate not implemented |
15024 | 14481 | |
15025 | 14482 | =begin original |
15026 | 14483 | |
15027 | 14484 | (F) Your machine doesn't implement a file truncation mechanism that |
15028 | 14485 | Configure knows about. |
15029 | 14486 | |
15030 | 14487 | =end original |
15031 | 14488 | |
15032 | 14489 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
15033 | 14490 | 実装されていません。 |
15034 | 14491 | |
15035 | =item try/catch is experimental | |
15036 | ||
15037 | =begin original | |
15038 | ||
15039 | (S experimental::try) This warning is emitted if you use the C<try> and | |
15040 | C<catch> syntax. This syntax is currently experimental and its behaviour may | |
15041 | change in future releases of Perl. | |
15042 | ||
15043 | =end original | |
15044 | ||
15045 | (S experimental::try) この警告は、C<try> と C<catch> 構文を使うと発生します。 | |
15046 | この構文は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
15047 | 可能性があります。 | |
15048 | ||
15049 | =item try/catch/finally is experimental | |
15050 | ||
15051 | =begin original | |
15052 | ||
15053 | (S experimental::try) This warning is emitted if you use the C<try> and | |
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. | |
15056 | ||
15057 | =end original | |
15058 | ||
15059 | (S experimental::try) この警告は、C<try> と C<catch> 構文と | |
15060 | C<finally> ブロックを使うと発生します。 | |
15061 | この構文は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
15062 | 可能性があります。 | |
15063 | ||
15064 | 14492 | =item Type of arg %d to &CORE::%s must be %s |
15065 | 14493 | |
15066 | 14494 | =begin original |
15067 | 14495 | |
15068 | 14496 | (F) The subroutine in question in the CORE package requires its argument |
15069 | 14497 | to be a hard reference to data of the specified type. Overloading is |
15070 | 14498 | ignored, so a reference to an object that is not the specified type, but |
15071 | 14499 | nonetheless has overloading to handle it, will still not be accepted. |
15072 | 14500 | |
15073 | 14501 | =end original |
15074 | 14502 | |
15075 | 14503 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの |
15076 | 14504 | ハードリファレンスを要求しています。 |
15077 | 14505 | オーバーロードは無視されるので、指定された型ではないけれども、それを |
15078 | 14506 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも |
15079 | 14507 | 受け付けられません。 |
15080 | 14508 | |
15081 | 14509 | =item Type of arg %d to %s must be %s (not %s) |
15082 | 14510 | |
15083 | 14511 | =begin original |
15084 | 14512 | |
15085 | 14513 | (F) This function requires the argument in that position to be of a |
15086 | 14514 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
15087 | 14515 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
15088 | 14516 | {EXPR} forms as an explicit dereference. See L<perlref>. |
15089 | 14517 | |
15090 | 14518 | =end original |
15091 | 14519 | |
15092 | 14520 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
15093 | 14521 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 |
15094 | 14522 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 |
15095 | 14523 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
15096 | 14524 | {EXPR} 形式を使ってください。 |
15097 | 14525 | L<perlref> を参照してください。 |
15098 | 14526 | |
15099 | 14527 | =item umask not implemented |
15100 | 14528 | |
15101 | 14529 | =begin original |
15102 | 14530 | |
15103 | 14531 | (F) Your machine doesn't implement the umask function and you tried to |
15104 | 14532 | use it to restrict permissions for yourself (EXPR & 0700). |
15105 | 14533 | |
15106 | 14534 | =end original |
15107 | 14535 | |
15108 | 14536 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
15109 | 14537 | (EXPR & 0700) ためにこれを使おうとしました。 |
15110 | 14538 | |
15111 | 14539 | =item Unbalanced context: %d more PUSHes than POPs |
15112 | 14540 | |
15113 | 14541 | =begin original |
15114 | 14542 | |
15115 | 14543 | (S internal) The exit code detected an internal inconsistency in how |
15116 | 14544 | many execution contexts were entered and left. |
15117 | 14545 | |
15118 | 14546 | =end original |
15119 | 14547 | |
15120 | 14548 | (S internal) いくつの実行コンテキストに入って、出たかということの |
15121 | 14549 | 内部矛盾が exit コードで発見されました。 |
15122 | 14550 | |
15123 | 14551 | =item Unbalanced saves: %d more saves than restores |
15124 | 14552 | |
15125 | 14553 | =begin original |
15126 | 14554 | |
15127 | 14555 | (S internal) The exit code detected an internal inconsistency in how |
15128 | 14556 | many values were temporarily localized. |
15129 | 14557 | |
15130 | 14558 | =end original |
15131 | 14559 | |
15132 | 14560 | (S internal) いくつの値が、一時的にローカル化されたかということの |
15133 | 14561 | 内部矛盾が exit コードで発見されました。 |
15134 | 14562 | |
15135 | 14563 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
15136 | 14564 | |
15137 | 14565 | =begin original |
15138 | 14566 | |
15139 | 14567 | (S internal) The exit code detected an internal inconsistency in how |
15140 | 14568 | many blocks were entered and left. |
15141 | 14569 | |
15142 | 14570 | =end original |
15143 | 14571 | |
15144 | 14572 | (S internal) いくつのブロックに入って、出たかということの |
15145 | 14573 | 内部矛盾が exit コードで発見されました。 |
15146 | 14574 | |
15147 | 14575 | =item Unbalanced string table refcount: (%d) for "%s" |
15148 | 14576 | |
15149 | 14577 | =begin original |
15150 | 14578 | |
15151 | 14579 | (S internal) On exit, Perl found some strings remaining in the shared |
15152 | 14580 | string table used for copy on write and for hash keys. The entries |
15153 | 14581 | should have been freed, so this indicates a bug somewhere. |
15154 | 14582 | |
15155 | 14583 | =end original |
15156 | 14584 | |
15157 | 14585 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための |
15158 | 14586 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 |
15159 | 14587 | エントリは開放されている必要があるので、これはどこかにバグがあることを |
15160 | 14588 | 示しています。 |
15161 | 14589 | |
15162 | 14590 | =item Unbalanced tmps: %d more allocs than frees |
15163 | 14591 | |
15164 | 14592 | =begin original |
15165 | 14593 | |
15166 | 14594 | (S internal) The exit code detected an internal inconsistency in how |
15167 | 14595 | many mortal scalars were allocated and freed. |
15168 | 14596 | |
15169 | 14597 | =end original |
15170 | 14598 | |
15171 | 14599 | (S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと |
15172 | 14600 | いうことの内部矛盾が exit コードで発見されました。 |
15173 | 14601 | |
15174 | 14602 | =item Undefined format "%s" called |
15175 | 14603 | |
15176 | 14604 | =begin original |
15177 | 14605 | |
15178 | 14606 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
15179 | 14607 | another package? See L<perlform>. |
15180 | 14608 | |
15181 | 14609 | =end original |
15182 | 14610 | |
15183 | 14611 | (F) 示されたフォーマットが存在しないようです。 |
15184 | 14612 | おそらく本当は他のパッケージにあるのでは? |
15185 | 14613 | L<perlform> を参照してください。 |
15186 | 14614 | |
15187 | 14615 | =item Undefined sort subroutine "%s" called |
15188 | 14616 | |
15189 | 14617 | =begin original |
15190 | 14618 | |
15191 | 14619 | (F) The sort comparison routine specified doesn't seem to exist. |
15192 | 14620 | Perhaps it's in a different package? See L<perlfunc/sort>. |
15193 | 14621 | |
15194 | 14622 | =end original |
15195 | 14623 | |
15196 | 14624 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
15197 | 14625 | おそらく、別のパッケージに存在するのではないでしょうか。 |
15198 | 14626 | L<perlfunc/sort> を参照してください。 |
15199 | 14627 | |
15200 | 14628 | =item Undefined subroutine &%s called |
15201 | 14629 | |
15202 | 14630 | =begin original |
15203 | 14631 | |
15204 | 14632 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
15205 | 14633 | since been undefined. |
15206 | 14634 | |
15207 | 14635 | =end original |
15208 | 14636 | |
15209 | 14637 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 |
15210 | 14638 | 既に未定義になっています。 |
15211 | 14639 | |
15212 | 14640 | =item Undefined subroutine called |
15213 | 14641 | |
15214 | 14642 | =begin original |
15215 | 14643 | |
15216 | 14644 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
15217 | 14645 | or if it was, it has since been undefined. |
15218 | 14646 | |
15219 | 14647 | =end original |
15220 | 14648 | |
15221 | 14649 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; |
15222 | 14650 | 定義されていたとしても、既に未定義になっています。 |
15223 | 14651 | |
15224 | 14652 | =item Undefined subroutine in sort |
15225 | 14653 | |
15226 | 14654 | =begin original |
15227 | 14655 | |
15228 | 14656 | (F) The sort comparison routine specified is declared but doesn't seem |
15229 | 14657 | to have been defined yet. See L<perlfunc/sort>. |
15230 | 14658 | |
15231 | 14659 | =end original |
15232 | 14660 | |
15233 | 14661 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
15234 | 14662 | 定義されていないようです。 |
15235 | 14663 | L<perlfunc/sort> を参照してください。 |
15236 | 14664 | |
15237 | 14665 | =item Undefined top format "%s" called |
15238 | 14666 | |
15239 | 14667 | =begin original |
15240 | 14668 | |
15241 | 14669 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
15242 | 14670 | another package? See L<perlform>. |
15243 | 14671 | |
15244 | 14672 | =end original |
15245 | 14673 | |
15246 | 14674 | (F) 示されたフォーマットが存在しないようです。 |
15247 | 14675 | おそらく本当は他のパッケージにあるのでは? |
15248 | 14676 | L<perlform> を参照してください。 |
15249 | 14677 | |
15250 | 14678 | =item Undefined value assigned to typeglob |
15251 | 14679 | |
15252 | 14680 | =begin original |
15253 | 14681 | |
15254 | 14682 | (W misc) An undefined value was assigned to a typeglob, a la |
15255 | 14683 | C<*foo = undef>. This does nothing. It's possible that you really mean |
15256 | 14684 | C<undef *foo>. |
15257 | 14685 | |
15258 | 14686 | =end original |
15259 | 14687 | |
15260 | 14688 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
15261 | 14689 | これは何もしません。 |
15262 | 14690 | 本当は C<undef *foo> としたかったのかもしれません。 |
15263 | 14691 | |
15264 | 14692 | =item %s: Undefined variable |
15265 | 14693 | |
15266 | 14694 | =begin original |
15267 | 14695 | |
15268 | 14696 | (A) You've accidentally run your script through B<csh> instead of Perl. |
15269 | 14697 | Check the #! line, or manually feed your script into Perl yourself. |
15270 | 14698 | |
15271 | 14699 | =end original |
15272 | 14700 | |
15273 | 14701 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
15274 | #! 行を | |
14702 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
15275 | 14703 | |
15276 | =item Unescaped left brace in regex is ille | |
14704 | =item Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by S<<-- HERE> in m/%s/ | |
15277 | marked by S<<-- HERE> in m/%s/ | |
15278 | 14705 | |
15279 | 14706 | =begin original |
15280 | 14707 | |
15281 | ( | |
14708 | (D deprecated, regexp) The simple rule to remember, if you want to | |
15282 | match a literal C< | |
14709 | match a literal C<{> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15283 | 14710 | regular expression pattern, is to escape each literal instance of it in |
15284 | 14711 | some way. Generally easiest is to precede it with a backslash, like |
15285 | C< | |
14712 | C<\{> or enclose it in square brackets (C<[{]>). If the pattern | |
15286 | delimiters are also braces, any matching right brace (C< | |
14713 | delimiters are also braces, any matching right brace (C<}>) should | |
15287 | 14714 | also be escaped to avoid confusing the parser, for example, |
15288 | 14715 | |
15289 | 14716 | =end original |
15290 | 14717 | |
15291 | ( | |
14718 | (D deprecated, regexp) 正規表現中で | |
15292 | リテラルな C< | |
14719 | リテラルな C<{> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15293 | 14720 | 覚えておくべき単純な規則は、何らかの方法で |
15294 | 14721 | それぞれのリテラルな実体をエスケープすることです。 |
15295 | 一般的に一番簡単なのは、C< | |
14722 | 一般的に一番簡単なのは、C<\{> のように逆スラッシュを前置するか、 | |
15296 | かっこでかこむ (C< | |
14723 | かっこでかこむ (C<[{]>) ことです。. | |
15297 | 14724 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ |
15298 | (C< | |
14725 | (C<}>) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15299 | 14726 | |
15300 | 14727 | qr{abc\{def\}ghi} |
15301 | 14728 | |
15302 | 14729 | =begin original |
15303 | 14730 | |
15304 | Forcing literal C< | |
14731 | Forcing literal C<{> characters to be escaped will enable the Perl | |
15305 | 14732 | language to be extended in various ways in future releases. To avoid |
15306 | needlessly breaking existing code, the restriction is not enforced in | |
14733 | needlessly breaking existing code, the restriction is is not enforced in | |
15307 | 14734 | contexts where there are unlikely to ever be extensions that could |
15308 | conflict with the use there of C< | |
14735 | conflict with the use there of C<{> as a literal. | |
15309 | not potentially ambiguous do not warn; those that are do raise a | |
15310 | non-deprecation warning. | |
15311 | 14736 | |
15312 | 14737 | =end original |
15313 | 14738 | |
15314 | リテラルな C< | |
14739 | リテラルな C<{> 文字にエスケープを強制することにより、 | |
15315 | 14740 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 |
15316 | 14741 | 既存のコードを不必要に壊すことを避けるために、 |
15317 | 拡張が C< | |
14742 | 拡張が C<{> をリテラルとして使うことと競合しそうにない文脈では | |
15318 | 14743 | 制限は強制されません。 |
15319 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15320 | 廃止予定でない警告が発生します。 | |
15321 | 14744 | |
15322 | 14745 | =begin original |
15323 | 14746 | |
14747 | In this release of Perl, some literal uses of C<{> are fatal, and some | |
14748 | still just deprecated. This is because of an oversight: some uses of a | |
14749 | literal C<{> that should have raised a deprecation warning starting in | |
14750 | v5.20 did not warn until v5.26. By making the already-warned uses fatal | |
14751 | now, some of the planned extensions can be made to the language sooner. | |
14752 | The cases which are still allowed will be fatal in Perl 5.30. | |
14753 | ||
14754 | =end original | |
14755 | ||
14756 | このリリースの Perl では、C<"{"> のリテラルな使用法の一部は致命的エラーで、 | |
14757 | 一部は単に廃止予定です。 | |
14758 | これは見落としによるものです: v5.20 から廃止予定警告をだすべきだった | |
14759 | リテラルな C<"{"> の使用法の一部は v5.26 まで警告されていませんでした。 | |
14760 | すでに警告されていた使用法を今致命的エラーにすることで、 | |
14761 | 言語に計画されていた拡張の一部をより早く実行できます。 | |
14762 | まだ許されている使用法は Perl 5.30 で致命的エラーになる予定です。 | |
14763 | ||
14764 | =begin original | |
14765 | ||
15324 | 14766 | The contexts where no warnings or errors are raised are: |
15325 | 14767 | |
15326 | 14768 | =end original |
15327 | 14769 | |
15328 | 14770 | 警告やエラーが出ない文脈は: |
15329 | 14771 | |
15330 | 14772 | =over 4 |
15331 | 14773 | |
15332 | 14774 | =item * |
15333 | 14775 | |
15334 | 14776 | =begin original |
15335 | 14777 | |
15336 | as the first character in a pattern, or following C< | |
14778 | as the first character in a pattern, or following C<^> indicating to | |
15337 | 14779 | anchor the match to the beginning of a line. |
15338 | 14780 | |
15339 | 14781 | =end original |
15340 | 14782 | |
15341 | 14783 | パターンの最初の文字、あるいは行頭にマッチングすることを示す |
15342 | 14784 | C<"^"> に引き続いている場合。 |
15343 | 14785 | |
15344 | 14786 | =item * |
15345 | 14787 | |
15346 | 14788 | =begin original |
15347 | 14789 | |
15348 | as the first character following a C< | |
14790 | as the first character following a C<|> indicating alternation. | |
15349 | 14791 | |
15350 | 14792 | =end original |
15351 | 14793 | |
15352 | 14794 | 代替を示す C<"|"> に引き続く最初の文字の場合。 |
15353 | 14795 | |
15354 | 14796 | =item * |
15355 | 14797 | |
15356 | 14798 | =begin original |
15357 | 14799 | |
15358 | 14800 | as the first character in a parenthesized grouping like |
15359 | 14801 | |
15360 | 14802 | =end original |
15361 | 14803 | |
15362 | 14804 | 次のようなかっこ付きグループの最初の文字の場合: |
15363 | 14805 | |
15364 | 14806 | /foo({bar)/ |
15365 | 14807 | /foo(?:{bar)/ |
15366 | 14808 | |
15367 | 14809 | =item * |
15368 | 14810 | |
15369 | 14811 | =begin original |
15370 | 14812 | |
15371 | 14813 | as the first character following a quantifier |
15372 | 14814 | |
15373 | 14815 | =end original |
15374 | 14816 | |
15375 | 14817 | 量指定子に引き続く最初の文字の場合 |
15376 | 14818 | |
15377 | 14819 | /\s*{/ |
15378 | 14820 | |
15379 | 14821 | =back |
15380 | 14822 | |
15381 | 14823 | =for comment |
15382 | The text of the message above is | |
14824 | The text of the message above is duplicated below to allow splain (and | |
15383 | ||
14825 | 'use diagnostics') to work. Since one is fatal, and one not, they can't | |
15384 | ||
14826 | be combined as one message. And since the non-fatal one is temporary, | |
15385 | ||
14827 | there's no real need to enhance perldiag to handle this transient case. | |
15386 | 14828 | |
15387 | =item Unescaped left brace in regex is | |
14829 | =item Unescaped left brace in regex is illegal here in regex; | |
14830 | marked by S<<-- HERE> in m/%s/ | |
15388 | 14831 | |
15389 | 14832 | =begin original |
15390 | 14833 | |
15391 | ( | |
14834 | (F) The simple rule to remember, if you want to | |
15392 | 14835 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a |
15393 | 14836 | regular expression pattern, is to escape each literal instance of it in |
15394 | 14837 | some way. Generally easiest is to precede it with a backslash, like |
15395 | 14838 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern |
15396 | 14839 | delimiters are also braces, any matching right brace (C<"}">) should |
15397 | 14840 | also be escaped to avoid confusing the parser, for example, |
15398 | 14841 | |
15399 | 14842 | =end original |
15400 | 14843 | |
15401 | ( | |
14844 | (F) 正規表現中で | |
15402 | 14845 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに |
15403 | 14846 | 覚えておくべき単純な規則は、何らかの方法で |
15404 | 14847 | それぞれのリテラルな実体をエスケープすることです。 |
15405 | 14848 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 |
15406 | かっこでかこむ (C<"[{]">) ことです。 | |
14849 | かっこでかこむ (C<"[{]">) ことです。. | |
15407 | 14850 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ |
15408 | 14851 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: |
15409 | 14852 | |
15410 | 14853 | qr{abc\{def\}ghi} |
15411 | 14854 | |
15412 | 14855 | =begin original |
15413 | 14856 | |
15414 | Forcing literal C<"{"> characters to be escaped enable | |
14857 | Forcing literal C<"{"> characters to be escaped will enable the Perl | |
15415 | 14858 | language to be extended in various ways in future releases. To avoid |
15416 | needlessly breaking existing code, the restriction is not enforced in | |
14859 | needlessly breaking existing code, the restriction is is not enforced in | |
15417 | 14860 | contexts where there are unlikely to ever be extensions that could |
15418 | conflict with the use there of C<"{"> as a literal. | |
14861 | conflict with the use there of C<"{"> as a literal. | |
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 | 14862 | |
15423 | 14863 | =end original |
15424 | 14864 | |
15425 | 14865 | リテラルな C<"{"> 文字にエスケープを強制することにより、 |
15426 | 14866 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 |
15427 | 14867 | 既存のコードを不必要に壊すことを避けるために、 |
15428 | 14868 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では |
15429 | 14869 | 制限は強制されません。 |
15430 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15431 | この警告が発生します。 | |
15432 | これは、不注意によるタイプミスによって、パターンが何か想定外のものに | |
15433 | 黙ってコンパイルされないことを確実にします。 | |
15434 | 14870 | |
15435 | 14871 | =begin original |
15436 | 14872 | |
14873 | In this release of Perl, some literal uses of C<"{"> are fatal, and some | |
14874 | still just deprecated. This is because of an oversight: some uses of a | |
14875 | literal C<"{"> that should have raised a deprecation warning starting in | |
14876 | v5.20 did not warn until v5.26. By making the already-warned uses fatal | |
14877 | now, some of the planned extensions can be made to the language sooner. | |
14878 | ||
14879 | =end original | |
14880 | ||
14881 | このリリースの Perl では、C<"{"> のリテラルな使用法の一部は致命的エラーで、 | |
14882 | 一部は単に廃止予定です。 | |
14883 | これは見落としによるものです: v5.20 から廃止予定警告をだすべきだった | |
14884 | リテラルな C<"{"> の使用法の一部は v5.26 まで警告されていませんでした。 | |
14885 | すでに警告されていた使用法を今致命的エラーにすることで、 | |
14886 | 言語に計画されていた拡張の一部をより早く実行できます。 | |
14887 | ||
14888 | =begin original | |
14889 | ||
15437 | 14890 | The contexts where no warnings or errors are raised are: |
15438 | 14891 | |
15439 | 14892 | =end original |
15440 | 14893 | |
15441 | 14894 | 警告やエラーが出ない文脈は: |
15442 | 14895 | |
15443 | 14896 | =over 4 |
15444 | 14897 | |
15445 | 14898 | =item * |
15446 | 14899 | |
15447 | 14900 | =begin original |
15448 | 14901 | |
15449 | 14902 | as the first character in a pattern, or following C<"^"> indicating to |
15450 | 14903 | anchor the match to the beginning of a line. |
15451 | 14904 | |
15452 | 14905 | =end original |
15453 | 14906 | |
15454 | 14907 | パターンの最初の文字、あるいは行頭にマッチングすることを示す |
15455 | 14908 | C<"^"> に引き続いている場合。 |
15456 | 14909 | |
15457 | 14910 | =item * |
15458 | 14911 | |
15459 | 14912 | =begin original |
15460 | 14913 | |
15461 | 14914 | as the first character following a C<"|"> indicating alternation. |
15462 | 14915 | |
15463 | 14916 | =end original |
15464 | 14917 | |
15465 | 14918 | 代替を示す C<"|"> に引き続く最初の文字の場合。 |
15466 | 14919 | |
15467 | 14920 | =item * |
15468 | 14921 | |
15469 | 14922 | =begin original |
15470 | 14923 | |
15471 | 14924 | as the first character in a parenthesized grouping like |
15472 | 14925 | |
15473 | 14926 | =end original |
15474 | 14927 | |
15475 | 14928 | 次のようなかっこ付きグループの最初の文字の場合: |
15476 | 14929 | |
15477 | 14930 | /foo({bar)/ |
15478 | 14931 | /foo(?:{bar)/ |
15479 | 14932 | |
15480 | 14933 | =item * |
15481 | 14934 | |
15482 | 14935 | =begin original |
15483 | 14936 | |
15484 | 14937 | as the first character following a quantifier |
15485 | 14938 | |
15486 | 14939 | =end original |
15487 | 14940 | |
15488 | 14941 | 量指定子に引き続く最初の文字の場合 |
15489 | 14942 | |
15490 | 14943 | /\s*{/ |
15491 | 14944 | |
15492 | 14945 | =back |
15493 | 14946 | |
15494 | 14947 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ |
15495 | 14948 | |
15496 | 14949 | =begin original |
15497 | 14950 | |
15498 | 14951 | (W regexp) (only under C<S<use re 'strict'>>) |
15499 | 14952 | |
15500 | 14953 | =end original |
15501 | 14954 | |
15502 | 14955 | (W regexp) (C<S<use re 'strict'>> の下のみ) |
15503 | 14956 | |
15504 | 14957 | =begin original |
15505 | 14958 | |
15506 | 14959 | Within the scope of C<S<use re 'strict'>> in a regular expression |
15507 | 14960 | pattern, you included an unescaped C<}> or C<]> which was interpreted |
15508 | 14961 | literally. These two characters are sometimes metacharacters, and |
15509 | 14962 | sometimes literals, depending on what precedes them in the |
15510 | 14963 | pattern. This is unlike the similar C<)> which is always a |
15511 | 14964 | metacharacter unless escaped. |
15512 | 14965 | |
15513 | 14966 | =end original |
15514 | 14967 | |
15515 | 14968 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 |
15516 | 14969 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 |
15517 | 14970 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; |
15518 | 14971 | パターン中で何が前に置かれるかによります。 |
15519 | 14972 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが |
15520 | 14973 | 異なります。 |
15521 | 14974 | |
15522 | 14975 | =begin original |
15523 | 14976 | |
15524 | 14977 | This action at a distance, perhaps a large distance, can lead to Perl |
15525 | 14978 | silently misinterpreting what you meant, so when you specify that you |
15526 | 14979 | want extra checking by C<S<use re 'strict'>>, this warning is generated. |
15527 | 14980 | If you meant the character as a literal, simply confirm that to Perl by |
15528 | 14981 | preceding the character with a backslash, or make it into a bracketed |
15529 | 14982 | character class (like C<[}]>). If you meant it as closing a |
15530 | 14983 | corresponding C<[> or C<{>, you'll need to look back through the pattern |
15531 | 14984 | to find out why that isn't happening. |
15532 | 14985 | |
15533 | 14986 | =end original |
15534 | 14987 | |
15535 | 14988 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで |
15536 | 14989 | あなたの意図を間違って解釈するかもしれないので、 |
15537 | 14990 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 |
15538 | 14991 | この警告が出力されます。 |
15539 | 14992 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 |
15540 | 14993 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に |
15541 | 14994 | はっきりさせてください。 |
15542 | 14995 | これが対応する C<[> や C<{> を閉じるものなら、 |
15543 | 14996 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 |
15544 | 14997 | |
15545 | 14998 | =item unexec of %s into %s failed! |
15546 | 14999 | |
15547 | 15000 | =begin original |
15548 | 15001 | |
15549 | 15002 | (F) The unexec() routine failed for some reason. See your local FSF |
15550 | 15003 | representative, who probably put it there in the first place. |
15551 | 15004 | |
15552 | 15005 | =end original |
15553 | 15006 | |
15554 | 15007 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
15555 | 15008 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
15556 | 15009 | |
15557 | 15010 | =item Unexpected binary operator '%c' with no preceding operand in regex; |
15558 | 15011 | marked by S<<-- HERE> in m/%s/ |
15559 | 15012 | |
15560 | 15013 | =begin original |
15561 | 15014 | |
15562 | 15015 | (F) You had something like this: |
15563 | 15016 | |
15564 | 15017 | =end original |
15565 | 15018 | |
15566 | 15019 | (F) 以下のようなものを書きました: |
15567 | 15020 | |
15568 | 15021 | (?[ | \p{Digit} ]) |
15569 | 15022 | |
15570 | 15023 | =begin original |
15571 | 15024 | |
15572 | 15025 | where the C<"|"> is a binary operator with an operand on the right, but |
15573 | 15026 | no operand on the left. |
15574 | 15027 | |
15575 | 15028 | =end original |
15576 | 15029 | |
15577 | 15030 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない |
15578 | 15031 | 2 項演算子です。 |
15579 | 15032 | |
15580 | 15033 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ |
15581 | 15034 | |
15582 | 15035 | =begin original |
15583 | 15036 | |
15584 | 15037 | (F) You had something like this: |
15585 | 15038 | |
15586 | 15039 | =end original |
15587 | 15040 | |
15588 | 15041 | (F) 以下のようなものを書きました: |
15589 | 15042 | |
15590 | 15043 | (?[ z ]) |
15591 | 15044 | |
15592 | 15045 | =begin original |
15593 | 15046 | |
15594 | 15047 | Within C<(?[ ])>, no literal characters are allowed unless they are |
15595 | 15048 | within an inner pair of square brackets, like |
15596 | 15049 | |
15597 | 15050 | =end original |
15598 | 15051 | |
15599 | 15052 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り |
15600 | 15053 | リテラル文字は許されません |
15601 | 15054 | |
15602 | 15055 | (?[ [ z ] ]) |
15603 | 15056 | |
15604 | 15057 | =begin original |
15605 | 15058 | |
15606 | 15059 | Another possibility is that you forgot a backslash. Perl isn't smart |
15607 | 15060 | enough to figure out what you really meant. |
15608 | 15061 | |
15609 | 15062 | =end original |
15610 | 15063 | |
15611 | 15064 | もう一つの可能性は、逆スラッシュを忘れたことです。 |
15612 | 15065 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 |
15613 | 15066 | |
15067 | =item Unexpected constant lvalue entersub entry via type/targ %d:%d | |
15068 | ||
15069 | =begin original | |
15070 | ||
15071 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
15072 | internal consistency check. It encountered a malformed op tree. | |
15073 | ||
15074 | =end original | |
15075 | ||
15076 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
15077 | 内部一貫性チェックに失敗しました。 | |
15078 | 不正な構文木に遭遇しました。 | |
15079 | ||
15614 | 15080 | =item Unexpected exit %u |
15615 | 15081 | |
15616 | 15082 | =begin original |
15617 | 15083 | |
15618 | 15084 | (S) exit() was called or the script otherwise finished gracefully when |
15619 | 15085 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. |
15620 | 15086 | |
15621 | 15087 | =end original |
15622 | 15088 | |
15623 | 15089 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が |
15624 | 15090 | 呼び出されたりその他の理由で通常終了しました。 |
15625 | 15091 | |
15626 | 15092 | =item Unexpected exit failure %d |
15627 | 15093 | |
15628 | 15094 | =begin original |
15629 | 15095 | |
15630 | 15096 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in |
15631 | 15097 | C<PL_exit_flags>. |
15632 | 15098 | |
15633 | 15099 | =end original |
15634 | 15100 | |
15635 | 15101 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに |
15636 | 15102 | 捕らえられていない die() が呼び出されました。 |
15637 | 15103 | |
15638 | 15104 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ |
15639 | 15105 | |
15640 | 15106 | =begin original |
15641 | 15107 | |
15642 | 15108 | (F) You had something like this: |
15643 | 15109 | |
15644 | 15110 | =end original |
15645 | 15111 | |
15646 | 15112 | (F) 以下のようなものを書きました: |
15647 | 15113 | |
15648 | 15114 | (?[ ( \p{Digit} + ) ]) |
15649 | 15115 | |
15650 | 15116 | =begin original |
15651 | 15117 | |
15652 | 15118 | The C<")"> is out-of-place. Something apparently was supposed to |
15653 | 15119 | be combined with the digits, or the C<"+"> shouldn't be there, or |
15654 | 15120 | something like that. Perl can't figure out what was intended. |
15655 | 15121 | |
15656 | 15122 | =end original |
15657 | 15123 | |
15658 | 15124 | C<")"> の場所がおかしいです。 |
15659 | 15125 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは |
15660 | 15126 | 似たような何かです。 |
15661 | 15127 | Perl は何を意図しているのかが分かりませんでした。 |
15662 | 15128 | |
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 | 15129 | =item Unexpected '(' with no preceding operator in regex; marked by |
15680 | 15130 | S<<-- HERE> in m/%s/ |
15681 | 15131 | |
15682 | 15132 | =begin original |
15683 | 15133 | |
15684 | 15134 | (F) You had something like this: |
15685 | 15135 | |
15686 | 15136 | =end original |
15687 | 15137 | |
15688 | 15138 | (F) 以下のようなものを書きました: |
15689 | 15139 | |
15690 | 15140 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) |
15691 | 15141 | |
15692 | 15142 | =begin original |
15693 | 15143 | |
15694 | 15144 | There should be an operator before the C<"(">, as there's |
15695 | 15145 | no indication as to how the digits are to be combined |
15696 | 15146 | with the characters in the Lao and Thai scripts. |
15697 | 15147 | |
15698 | 15148 | =end original |
15699 | 15149 | |
15700 | 15150 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの |
15701 | 15151 | 文字がどのように結びつくかの指示がないからです。 |
15702 | 15152 | |
15703 | 15153 | =item Unicode non-character U+%X is not recommended for open interchange |
15704 | 15154 | |
15705 | 15155 | =begin original |
15706 | 15156 | |
15707 | 15157 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are |
15708 | 15158 | defined by the Unicode standard to be non-characters. Those |
15709 | 15159 | are legal codepoints, but are reserved for internal use; so, |
15710 | 15160 | applications shouldn't attempt to exchange them. An application |
15711 | 15161 | may not be expecting any of these characters at all, and receiving |
15712 | 15162 | them may lead to bugs. If you know what you are doing you can |
15713 | 15163 | turn off this warning by C<no warnings 'nonchar';>. |
15714 | 15164 | |
15715 | 15165 | =end original |
15716 | 15166 | |
15717 | 15167 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は |
15718 | 15168 | Unicode 標準によって非文字として指定されています。 |
15719 | 15169 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 |
15720 | 15170 | アプリケーションはこれを交換しようとするべきではありません。 |
15721 | 15171 | アプリケーションは、これらの文字を想定するべきではなく、これらを |
15722 | 15172 | 受け取るとバグを引き起こすことがあります。 |
15723 | 15173 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で |
15724 | 15174 | 警告を無効にできます。 |
15725 | 15175 | |
15726 | 15176 | =begin original |
15727 | 15177 | |
15728 | 15178 | This is not really a "severe" error, but it is supposed to be |
15729 | 15179 | raised by default even if warnings are not enabled, and currently |
15730 | 15180 | the only way to do that in Perl is to mark it as serious. |
15731 | 15181 | |
15732 | 15182 | =end original |
15733 | 15183 | |
15734 | 15184 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても |
15735 | 15185 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは |
15736 | 15186 | これを重大なものとして扱うことです。 |
15737 | 15187 | |
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 | 15188 | =item Unicode surrogate U+%X is illegal in UTF-8 |
15777 | 15189 | |
15778 | 15190 | =begin original |
15779 | 15191 | |
15780 | 15192 | (S surrogate) You had a UTF-16 surrogate in a context where they are |
15781 | 15193 | not considered acceptable. These code points, between U+D800 and |
15782 | 15194 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
15783 | 15195 | internally allows all unsigned integer code points (up to the size limit |
15784 | 15196 | available on your platform), including surrogates. But these can cause |
15785 | 15197 | problems when being input or output, which is likely where this message |
15786 | 15198 | came from. If you really really know what you are doing you can turn |
15787 | 15199 | off this warning by C<no warnings 'surrogate';>. |
15788 | 15200 | |
15789 | 15201 | =end original |
15790 | 15202 | |
15791 | 15203 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを |
15792 | 15204 | 使いました。 |
15793 | 15205 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
15794 | 15206 | Unicode によって使われます。 |
15795 | 15207 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
15796 | 15208 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
15797 | 15209 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
15798 | 15210 | おそらくこのメッセージが出た場所です。 |
15799 | 15211 | 自分で何をしているのかが本当に本当に分かっているなら、 |
15800 | 15212 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
15801 | 15213 | |
15802 | 15214 | =item Unknown charname '%s' |
15803 | 15215 | |
15804 | 15216 | =begin original |
15805 | 15217 | |
15806 | 15218 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the |
15807 | 15219 | spelling. You can say C<use charnames ":loose"> to not have to be |
15808 | 15220 | so precise about spaces, hyphens, and capitalization on standard Unicode |
15809 | 15221 | names. (Any custom aliases that have been created must be specified |
15810 | 15222 | exactly, regardless of whether C<:loose> is used or not.) This error may |
15811 | 15223 | also happen if the C<\N{}> is not in the scope of the corresponding |
15812 | 15224 | C<S<use charnames>>. |
15813 | 15225 | |
15814 | 15226 | =end original |
15815 | 15227 | |
15816 | 15228 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 |
15817 | 綴りを | |
15229 | 綴りをチェックしてください。 | |
15818 | 15230 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 |
15819 | 15231 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 |
15820 | 15232 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に |
15821 | 15233 | 指定されなければなりません。) |
15822 | 15234 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に |
15823 | 15235 | ないときにも起こることがあります。 |
15824 | 15236 | |
15825 | =item Unknown | |
15237 | =item Unknown charname '' is deprecated. Its use will be fatal in Perl 5.28 | |
15826 | 15238 | |
15827 | 15239 | =begin original |
15828 | 15240 | |
15829 | ( | |
15241 | (D deprecated) You had a C<\N{}> with nothing between the braces. This | |
15830 | ||
15242 | usage was deprecated in Perl 5.24, and will be made a syntax error in | |
15243 | in Perl 5.28. | |
15831 | 15244 | |
15832 | 15245 | =end original |
15833 | 15246 | |
15834 | ( | |
15247 | (D deprecated) 中かっこの間に何もない C<\N{}> を使いました。 | |
15835 | ||
15248 | この使い方は Perl 5.24 で廃止予定になり、Perl 5.28 で文法エラーになります。 | |
15836 | 綴りを確認してください。 | |
15837 | 15249 | |
15838 | 15250 | =item Unknown error |
15839 | 15251 | |
15840 | 15252 | =begin original |
15841 | 15253 | |
15842 | 15254 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable |
15843 | 15255 | did not exist, even after an attempt to create it. |
15844 | 15256 | |
15845 | 15257 | =end original |
15846 | 15258 | |
15847 | 15259 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が |
15848 | 15260 | (たとえ作ろうとした後でも) 存在しませんでした。 |
15849 | 15261 | |
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 | ||
15869 | 15262 | =item Unknown open() mode '%s' |
15870 | 15263 | |
15871 | 15264 | =begin original |
15872 | 15265 | |
15873 | 15266 | (F) The second argument of 3-argument open() is not among the list |
15874 | 15267 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
15875 | 15268 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. |
15876 | 15269 | |
15877 | 15270 | =end original |
15878 | 15271 | |
15879 | 15272 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
15880 | 15273 | どれでもありませんでした: |
15881 | 15274 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
15882 | 15275 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> |
15883 | 15276 | |
15884 | 15277 | =item Unknown PerlIO layer "%s" |
15885 | 15278 | |
15886 | 15279 | =begin original |
15887 | 15280 | |
15888 | 15281 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O |
15889 | 15282 | system. (Layers take care of transforming data between external and |
15890 | 15283 | internal representations.) Note that some layers, such as C<mmap>, |
15891 | 15284 | are not supported in all environments. If your program didn't |
15892 | 15285 | explicitly request the failing operation, it may be the result of the |
15893 | 15286 | value of the environment variable PERLIO. |
15894 | 15287 | |
15895 | 15288 | =end original |
15896 | 15289 | |
15897 | 15290 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 |
15898 | 15291 | (層はデータの外部表現と内部表現の変換を扱います。) |
15899 | 15292 | C<mmap> のような層は、全ての環境で対応しているわけではないことに |
15900 | 15293 | 注意してください。 |
15901 | 15294 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
15902 | 15295 | 値が原因かもしれません。 |
15903 | 15296 | |
15904 | 15297 | =item Unknown process %x sent message to prime_env_iter: %s |
15905 | 15298 | |
15906 | 15299 | =begin original |
15907 | 15300 | |
15908 | 15301 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
15909 | 15302 | iterating over it, and someone else stuck a message in the stream of |
15910 | 15303 | data Perl expected. Someone's very confused, or perhaps trying to |
15911 | 15304 | subvert Perl's population of %ENV for nefarious purposes. |
15912 | 15305 | |
15913 | 15306 | =end original |
15914 | 15307 | |
15915 | 15308 | (P) VMS に固有のエラーです。 |
15916 | 15309 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
15917 | 15310 | データストリームの中に誰かがメッセージを差し込みました。 |
15918 | 15311 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
15919 | 15312 | 滅亡させようとしています。 |
15920 | 15313 | |
15921 | =item Unknown regex | |
15314 | =item Unknown regex modifier "%s" | |
15922 | 15315 | |
15923 | 15316 | =begin original |
15924 | 15317 | |
15925 | 15318 | (F) Alphanumerics immediately following the closing delimiter |
15926 | 15319 | of a regular expression pattern are interpreted by Perl as modifier |
15927 | 15320 | flags for the regex. One of the ones you specified is invalid. One way |
15928 | 15321 | this can happen is if you didn't put in white space between the end of |
15929 | 15322 | the regex and a following alphanumeric operator: |
15930 | 15323 | |
15931 | 15324 | =end original |
15932 | 15325 | |
15933 | 15326 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への |
15934 | 15327 | 修飾子フラグと解釈されます。 |
15935 | 15328 | その一つが不正でした。 |
15936 | 15329 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に |
15937 | 15330 | 空白を置いていない場合です: |
15938 | 15331 | |
15939 | 15332 | if ($a =~ /foo/and $bar == 3) { ... } |
15940 | 15333 | |
15941 | 15334 | =begin original |
15942 | 15335 | |
15943 | 15336 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises |
15944 | 15337 | this error. Likely what was meant instead was: |
15945 | 15338 | |
15946 | 15339 | =end original |
15947 | 15340 | |
15948 | 15341 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 |
15949 | 15342 | おそらくしたかったのは以下のようなことでしょう: |
15950 | 15343 | |
15951 | 15344 | if ($a =~ /foo/ and $bar == 3) { ... } |
15952 | 15345 | |
15953 | 15346 | =item Unknown "re" subpragma '%s' (known ones are: %s) |
15954 | 15347 | |
15955 | 15348 | =begin original |
15956 | 15349 | |
15957 | 15350 | (W) You tried to use an unknown subpragma of the "re" pragma. |
15958 | 15351 | |
15959 | 15352 | =end original |
15960 | 15353 | |
15961 | 15354 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 |
15962 | 15355 | |
15963 | 15356 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in |
15964 | 15357 | m/%s/ |
15965 | 15358 | |
15966 | 15359 | =begin original |
15967 | 15360 | |
15968 | 15361 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
15969 | 15362 | is not known. The condition must be one of the following: |
15970 | 15363 | |
15971 | 15364 | =end original |
15972 | 15365 | |
15973 | 15366 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 |
15974 | 15367 | 条件は以下のいずれかでなければなりません。 |
15975 | 15368 | |
15976 | (1) (2) ... | |
15369 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
15977 | (<NAME>) ('NAME') | |
15370 | (<NAME>) ('NAME') true if named capture matched | |
15978 | (?=...) (?<=...) | |
15371 | (?=...) (?<=...) true if subpattern matches | |
15979 | ( | |
15372 | (?!...) (?<!...) true if subpattern fails to match | |
15980 | | |
15373 | (?{ CODE }) true if code returns a true value | |
15981 | | |
15374 | (R) true if evaluating inside recursion | |
15982 | ( | |
15375 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
15983 | | |
15376 | (R&NAME) true if directly inside named capture | |
15984 | | |
15377 | (DEFINE) always false; for defining named subpatterns | |
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 | 15378 | |
15992 | 15379 | =begin original |
15993 | 15380 | |
15994 | 15381 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
15995 | 15382 | discovered. See L<perlre>. |
15996 | 15383 | |
15997 | 15384 | =end original |
15998 | 15385 | |
15999 | 15386 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
16000 | 15387 | L<perlre> を参照してください。 |
16001 | 15388 | |
16002 | 15389 | =item Unknown Unicode option letter '%c' |
16003 | 15390 | |
16004 | 15391 | =begin original |
16005 | 15392 | |
16006 | (F) You specified an unknown Unicode option. See | |
15393 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
16007 | ||
15394 | of the C<-C> switch for the list of known options. | |
16008 | for the list of known options. | |
16009 | 15395 | |
16010 | 15396 | =end original |
16011 | 15397 | |
16012 | 15398 | (F) 不明な Unicode オプションを指定しました。 |
16013 | オプションの一覧については、L<perlrun | |
15399 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
16014 | ||
15400 | 参照してください。 | |
16015 | 15401 | |
16016 | 15402 | =item Unknown Unicode option value %d |
16017 | 15403 | |
16018 | 15404 | =begin original |
16019 | 15405 | |
16020 | (F) You specified an unknown Unicode option. See | |
15406 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
16021 | ||
15407 | of the C<-C> switch for the list of known options. | |
16022 | for the list of known options. | |
16023 | 15408 | |
16024 | 15409 | =end original |
16025 | 15410 | |
16026 | 15411 | (F) 不明な Unicode オプションを指定しました。 |
16027 | オプションの一覧については、L<perlrun | |
15412 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
16028 | ||
15413 | 参照してください。 | |
16029 | 15414 | |
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 | 15415 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ |
16048 | 15416 | |
16049 | 15417 | =begin original |
16050 | 15418 | |
16051 | 15419 | (F) You either made a typo or have incorrectly put a C<*> quantifier |
16052 | 15420 | after an open brace in your pattern. Check the pattern and review |
16053 | 15421 | L<perlre> for details on legal verb patterns. |
16054 | 15422 | |
16055 | 15423 | =end original |
16056 | 15424 | |
16057 | 15425 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に |
16058 | 15426 | C<*> 量指定子を書いたかどちらかです。 |
16059 | 15427 | パターンをチェックして、有効な動詞パターンの詳細については |
16060 | 15428 | L<perlre> を再チェックしてください。 |
16061 | 15429 | |
16062 | 15430 | =item Unknown warnings category '%s' |
16063 | 15431 | |
16064 | 15432 | =begin original |
16065 | 15433 | |
16066 | 15434 | (F) An error issued by the C<warnings> pragma. You specified a warnings |
16067 | 15435 | category that is unknown to perl at this point. |
16068 | 15436 | |
16069 | 15437 | =end original |
16070 | 15438 | |
16071 | 15439 | (F) C<warnings> プラグマによるエラーです。 |
16072 | 15440 | 現在のところ perl が知らない警告カテゴリを指定しました。 |
16073 | 15441 | |
16074 | 15442 | =begin original |
16075 | 15443 | |
16076 | 15444 | Note that if you want to enable a warnings category registered by a |
16077 | 15445 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this |
16078 | 15446 | module first. |
16079 | 15447 | |
16080 | 15448 | =end original |
16081 | 15449 | |
16082 | 15450 | (C<use warnings 'File::Find'> のように)モジュールによって登録される |
16083 | 15451 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が |
16084 | 15452 | あることに注意してください。 |
16085 | 15453 | |
16086 | 15454 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ |
16087 | 15455 | |
16088 | 15456 | =begin original |
16089 | 15457 | |
16090 | 15458 | (F) The brackets around a character class must match. If you wish to |
16091 | 15459 | include a closing bracket in a character class, backslash it or put it |
16092 | 15460 | first. The S<<-- HERE> shows whereabouts in the regular expression the |
16093 | 15461 | problem was discovered. See L<perlre>. |
16094 | 15462 | |
16095 | 15463 | =end original |
16096 | 15464 | |
16097 | 15465 | (F) 文字クラスの周りの大かっこが一致していません。 |
16098 | 15466 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
16099 | 15467 | 先頭に置いてください。 |
16100 | 15468 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
16101 | 15469 | L<perlre> を参照してください。 |
16102 | 15470 | |
16103 | 15471 | =item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/ |
16104 | 15472 | |
16105 | 15473 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ |
16106 | 15474 | |
16107 | 15475 | =begin original |
16108 | 15476 | |
16109 | 15477 | (F) Unbackslashed parentheses must always be balanced in regular |
16110 | 15478 | expressions. If you're a vi user, the % key is valuable for finding |
16111 | 15479 | the matching parenthesis. The S<<-- HERE> shows whereabouts in the |
16112 | 15480 | regular expression the problem was discovered. See L<perlre>. |
16113 | 15481 | |
16114 | 15482 | =end original |
16115 | 15483 | |
16116 | 15484 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
16117 | 15485 | 対応していなければなりません。 |
16118 | 15486 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
16119 | 15487 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
16120 | 15488 | L<perlre> を参照してください。 |
16121 | 15489 | |
16122 | 15490 | =item Unmatched right %s bracket |
16123 | 15491 | |
16124 | 15492 | =begin original |
16125 | 15493 | |
16126 | 15494 | (F) The lexer counted more closing curly or square brackets than opening |
16127 | 15495 | ones, so you're probably missing a matching opening bracket. As a |
16128 | 15496 | general rule, you'll find the missing one (so to speak) near the place |
16129 | 15497 | you were last editing. |
16130 | 15498 | |
16131 | 15499 | =end original |
16132 | 15500 | |
16133 | 15501 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを |
16134 | 15502 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 |
16135 | 15503 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した |
16136 | 15504 | 場所の近くにあります。 |
16137 | 15505 | |
16138 | 15506 | =item Unquoted string "%s" may clash with future reserved word |
16139 | 15507 | |
16140 | 15508 | =begin original |
16141 | 15509 | |
16142 | 15510 | (W reserved) You used a bareword that might someday be claimed as a |
16143 | 15511 | reserved word. It's best to put such a word in quotes, or capitalize it |
16144 | 15512 | somehow, or insert an underbar into it. You might also declare it as a |
16145 | 15513 | subroutine. |
16146 | 15514 | |
16147 | 15515 | =end original |
16148 | 15516 | |
16149 | 15517 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
16150 | 15518 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
16151 | 15519 | いれるかしてください。 |
16152 | 15520 | その裸の単語は、サブルーチンとして宣言することも可能です。 |
16153 | 15521 | |
16154 | 15522 | =item Unrecognized character %s; marked by S<<-- HERE> after %s near column |
16155 | 15523 | %d |
16156 | 15524 | |
16157 | 15525 | =begin original |
16158 | 15526 | |
16159 | 15527 | (F) The Perl parser has no idea what to do with the specified character |
16160 | 15528 | in your Perl script (or eval) near the specified column. Perhaps you |
16161 | 15529 | tried to run a compressed script, a binary program, or a directory as |
16162 | 15530 | a Perl program. |
16163 | 15531 | |
16164 | 15532 | =end original |
16165 | 15533 | |
16166 | 15534 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに |
16167 | 15535 | 出てきた文字に対してどうすればよいか分かりませんでした。 |
16168 | 15536 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
16169 | 15537 | Perl プログラムとして実行しようとしたのでしょう。 |
16170 | 15538 | |
16171 | 15539 | =item Unrecognized escape \%c in character class in regex; marked by |
16172 | 15540 | S<<-- HERE> in m/%s/ |
16173 | 15541 | |
16174 | 15542 | =begin original |
16175 | 15543 | |
16176 | 15544 | (F) You used a backslash-character combination which is not |
16177 | 15545 | recognized by Perl inside character classes. This is a fatal |
16178 | 15546 | error when the character class is used within C<(?[ ])>. |
16179 | 15547 | |
16180 | 15548 | =end original |
16181 | 15549 | |
16182 | 15550 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 |
16183 | 15551 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 |
16184 | 15552 | |
16185 | 15553 | =item Unrecognized escape \%c in character class passed through in regex; |
16186 | 15554 | marked by S<<-- HERE> in m/%s/ |
16187 | 15555 | |
16188 | 15556 | =begin original |
16189 | 15557 | |
16190 | 15558 | (W regexp) You used a backslash-character combination which is not |
16191 | 15559 | recognized by Perl inside character classes. The character was |
16192 | 15560 | understood literally, but this may change in a future version of Perl. |
16193 | 15561 | The S<<-- HERE> shows whereabouts in the regular expression the |
16194 | 15562 | escape was discovered. |
16195 | 15563 | |
16196 | 15564 | =end original |
16197 | 15565 | |
16198 | 15566 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
16199 | 15567 | 組み合わせを使いました。 |
16200 | 15568 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
16201 | 15569 | 変更されるかもしれません。 |
16202 | 15570 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 |
16203 | 15571 | |
16204 | 15572 | =item Unrecognized escape \%c passed through |
16205 | 15573 | |
16206 | 15574 | =begin original |
16207 | 15575 | |
16208 | 15576 | (W misc) You used a backslash-character combination which is not |
16209 | 15577 | recognized by Perl. The character was understood literally, but this may |
16210 | 15578 | change in a future version of Perl. |
16211 | 15579 | |
16212 | 15580 | =end original |
16213 | 15581 | |
16214 | 15582 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが |
16215 | 15583 | 使われています。 |
16216 | 15584 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
16217 | 15585 | 変更されるかもしれません。 |
16218 | 15586 | |
16219 | 15587 | =item Unrecognized escape \%s passed through in regex; marked by |
16220 | 15588 | S<<-- HERE> in m/%s/ |
16221 | 15589 | |
16222 | 15590 | =begin original |
16223 | 15591 | |
16224 | 15592 | (W regexp) You used a backslash-character combination which is not |
16225 | 15593 | recognized by Perl. The character(s) were understood literally, but |
16226 | 15594 | this may change in a future version of Perl. The S<<-- HERE> shows |
16227 | 15595 | whereabouts in the regular expression the escape was discovered. |
16228 | 15596 | |
16229 | 15597 | =end original |
16230 | 15598 | |
16231 | 15599 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが |
16232 | 15600 | 使われています。 |
16233 | 15601 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
16234 | 15602 | 変更されるかもしれません。 |
16235 | 15603 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 |
16236 | 15604 | |
16237 | 15605 | =item Unrecognized signal name "%s" |
16238 | 15606 | |
16239 | 15607 | =begin original |
16240 | 15608 | |
16241 | 15609 | (F) You specified a signal name to the kill() function that was not |
16242 | 15610 | recognized. Say C<kill -l> in your shell to see the valid signal names |
16243 | 15611 | on your system. |
16244 | 15612 | |
16245 | 15613 | =end original |
16246 | 15614 | |
16247 | 15615 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
16248 | 15616 | お使いのシステムで使用可能なシグナル名を調べるには、 |
16249 | 15617 | シェル上で C<kill -l> などとしてください。 |
16250 | 15618 | |
16251 | 15619 | =item Unrecognized switch: -%s (-h will show valid options) |
16252 | 15620 | |
16253 | 15621 | =begin original |
16254 | 15622 | |
16255 | 15623 | (F) You specified an illegal option to Perl. Don't do that. (If you |
16256 | 15624 | think you didn't do that, check the #! line to see if it's supplying the |
16257 | 15625 | bad switch on your behalf.) |
16258 | 15626 | |
16259 | 15627 | =end original |
16260 | 15628 | |
16261 | 15629 | (F) Perl に間違ったオプションを指定しました。 |
16262 | 15630 | これを行なってはいけません。 |
16263 | 15631 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
16264 | 15632 | スイッチが指定されていないかをチェックしてください。) |
16265 | 15633 | |
16266 | 15634 | =item Unsuccessful %s on filename containing newline |
16267 | 15635 | |
16268 | 15636 | =begin original |
16269 | 15637 | |
16270 | 15638 | (W newline) A file operation was attempted on a filename, and that |
16271 | 15639 | operation failed, PROBABLY because the filename contained a newline, |
16272 | 15640 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
16273 | 15641 | |
16274 | 15642 | =end original |
16275 | 15643 | |
16276 | 15644 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
16277 | 15645 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 |
16278 | 15646 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
16279 | 15647 | L<perlfunc/chomp> を参照してください。 |
16280 | 15648 | |
16281 | 15649 | =item Unsupported directory function "%s" called |
16282 | 15650 | |
16283 | 15651 | =begin original |
16284 | 15652 | |
16285 | 15653 | (F) Your machine doesn't support opendir() and readdir(). |
16286 | 15654 | |
16287 | 15655 | =end original |
16288 | 15656 | |
16289 | 15657 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
16290 | 15658 | |
16291 | 15659 | =item Unsupported function %s |
16292 | 15660 | |
16293 | 15661 | =begin original |
16294 | 15662 | |
16295 | 15663 | (F) This machine doesn't implement the indicated function, apparently. |
16296 | 15664 | At least, Configure doesn't think so. |
16297 | 15665 | |
16298 | 15666 | =end original |
16299 | 15667 | |
16300 | 15668 | (F) このマシンでは、表示した関数は実装されていません。 |
16301 | 15669 | 少なくとも、Configure はそう判断しました。 |
16302 | 15670 | |
16303 | 15671 | =item Unsupported function fork |
16304 | 15672 | |
16305 | 15673 | =begin original |
16306 | 15674 | |
16307 | 15675 | (F) Your version of executable does not support forking. |
16308 | 15676 | |
16309 | 15677 | =end original |
16310 | 15678 | |
16311 | 15679 | (F) この実行ファイルは fork に対応していません。 |
16312 | 15680 | |
16313 | 15681 | =begin original |
16314 | 15682 | |
16315 | 15683 | Note that under some systems, like OS/2, there may be different flavors |
16316 | 15684 | of Perl executables, some of which may support fork, some not. Try |
16317 | 15685 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
16318 | 15686 | |
16319 | 15687 | =end original |
16320 | 15688 | |
16321 | 15689 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
16322 | 15690 | fork に対応しているものとしていないものがあります。 |
16323 | 15691 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
16324 | 15692 | 変えてみてください。 |
16325 | 15693 | |
16326 | 15694 | =item Unsupported script encoding %s |
16327 | 15695 | |
16328 | 15696 | =begin original |
16329 | 15697 | |
16330 | 15698 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
16331 | 15699 | declares it to be in a Unicode encoding that Perl cannot read. |
16332 | 15700 | |
16333 | 15701 | =end original |
16334 | 15702 | |
16335 | 15703 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
16336 | 15704 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
16337 | 15705 | |
16338 | 15706 | =item Unsupported socket function "%s" called |
16339 | 15707 | |
16340 | 15708 | =begin original |
16341 | 15709 | |
16342 | 15710 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
16343 | 15711 | least that's what Configure thought. |
16344 | 15712 | |
16345 | 15713 | =end original |
16346 | 15714 | |
16347 | 15715 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
16348 | 15716 | 少なくとも Configure がそう判断しました。 |
16349 | 15717 | |
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 | ||
16363 | 15718 | =item Unterminated attribute list |
16364 | 15719 | |
16365 | 15720 | =begin original |
16366 | 15721 | |
16367 | 15722 | (F) The lexer found something other than a simple identifier at the |
16368 | 15723 | start of an attribute, and it wasn't a semicolon or the start of a |
16369 | 15724 | block. Perhaps you terminated the parameter list of the previous |
16370 | 15725 | attribute too soon. See L<attributes>. |
16371 | 15726 | |
16372 | 15727 | =end original |
16373 | 15728 | |
16374 | 15729 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
16375 | 15730 | 開始でないものを発見しました。 |
16376 | 15731 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
16377 | 15732 | L<attributes> を参照してください。 |
16378 | 15733 | |
16379 | 15734 | =item Unterminated attribute parameter in attribute list |
16380 | 15735 | |
16381 | 15736 | =begin original |
16382 | 15737 | |
16383 | 15738 | (F) The lexer saw an opening (left) parenthesis character while parsing |
16384 | 15739 | an attribute list, but the matching closing (right) parenthesis |
16385 | 15740 | character was not found. You may need to add (or remove) a backslash |
16386 | 15741 | character to get your parentheses to balance. See L<attributes>. |
16387 | 15742 | |
16388 | 15743 | =end original |
16389 | 15744 | |
16390 | 15745 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
16391 | 15746 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
16392 | 15747 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
16393 | 15748 | 必要があるでしょう。 |
16394 | 15749 | L<attributes> を参照してください。 |
16395 | 15750 | |
16396 | 15751 | =item Unterminated compressed integer |
16397 | 15752 | |
16398 | 15753 | =begin original |
16399 | 15754 | |
16400 | 15755 | (F) An argument to unpack("w",...) was incompatible with the BER |
16401 | 15756 | compressed integer format and could not be converted to an integer. |
16402 | 15757 | See L<perlfunc/pack>. |
16403 | 15758 | |
16404 | 15759 | =end original |
16405 | 15760 | |
16406 | 15761 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
16407 | 15762 | 整数に変換できませんでした。 |
16408 | 15763 | L<perlfunc/pack> を参照してください。 |
16409 | 15764 | |
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 | 15765 | =item Unterminated delimiter for here document |
16424 | 15766 | |
16425 | 15767 | =begin original |
16426 | 15768 | |
16427 | 15769 | (F) This message occurs when a here document label has an initial |
16428 | 15770 | quotation mark but the final quotation mark is missing. Perhaps |
16429 | 15771 | you wrote: |
16430 | 15772 | |
16431 | 15773 | =end original |
16432 | 15774 | |
16433 | 15775 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども |
16434 | 15776 | 末尾のクォートがありません。 |
16435 | 15777 | おそらく以下のように書いたのでしょう: |
16436 | 15778 | |
16437 | 15779 | <<"foo |
16438 | 15780 | |
16439 | 15781 | =begin original |
16440 | 15782 | |
16441 | 15783 | instead of: |
16442 | 15784 | |
16443 | 15785 | =end original |
16444 | 15786 | |
16445 | 15787 | 次のように書いてください: |
16446 | 15788 | |
16447 | 15789 | <<"foo" |
16448 | 15790 | |
16449 | 15791 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ |
16450 | 15792 | |
16451 | 15793 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ |
16452 | 15794 | |
16453 | 15795 | =begin original |
16454 | 15796 | |
16455 | 15797 | (F) In a regular expression, you had a C<\g> that wasn't followed by a |
16456 | 15798 | proper group reference. In the case of C<\g{>, the closing brace is |
16457 | 15799 | missing; otherwise the C<\g> must be followed by an integer. Fix the |
16458 | 15800 | pattern and retry. |
16459 | 15801 | |
16460 | 15802 | =end original |
16461 | 15803 | |
16462 | 15804 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 |
16463 | 15805 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が |
16464 | 15806 | 引き続かなければ鳴りません。 |
16465 | 15807 | パターンを修正して再挑戦してください。 |
16466 | 15808 | |
16467 | 15809 | =item Unterminated <> operator |
16468 | 15810 | |
16469 | 15811 | =begin original |
16470 | 15812 | |
16471 | 15813 | (F) The lexer saw a left angle bracket in a place where it was expecting |
16472 | 15814 | a term, so it's looking for the corresponding right angle bracket, and |
16473 | 15815 | not finding it. Chances are you left some needed parentheses out |
16474 | 15816 | earlier in the line, and you really meant a "less than". |
16475 | 15817 | |
16476 | 15818 | =end original |
16477 | 15819 | |
16478 | 15820 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
16479 | 15821 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
16480 | 15822 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
16481 | 15823 | 表したかった場合が考えられます。 |
16482 | 15824 | |
16483 | 15825 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in |
16484 | 15826 | m/%s/ |
16485 | 15827 | |
16486 | 15828 | =begin original |
16487 | 15829 | |
16488 | 15830 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate |
16489 | 15831 | the pattern with a C<)>. Fix the pattern and retry. |
16490 | 15832 | |
16491 | 15833 | =end original |
16492 | 15834 | |
16493 | 15835 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で |
16494 | 15836 | 終わっていません。 |
16495 | 15837 | パターンを修正して再挑戦してください。 |
16496 | 15838 | |
16497 | 15839 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ |
16498 | 15840 | |
16499 | 15841 | =begin original |
16500 | 15842 | |
16501 | 15843 | (F) You used a pattern of the form C<(*VERB)> but did not terminate |
16502 | 15844 | the pattern with a C<)>. Fix the pattern and retry. |
16503 | 15845 | |
16504 | 15846 | =end original |
16505 | 15847 | |
16506 | 15848 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で |
16507 | 15849 | 終わっていません。 |
16508 | 15850 | パターンを修正して再挑戦してください。 |
16509 | 15851 | |
16510 | 15852 | =item untie attempted while %d inner references still exist |
16511 | 15853 | |
16512 | 15854 | =begin original |
16513 | 15855 | |
16514 | 15856 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
16515 | 15857 | still valid when C<untie> was called. |
16516 | 15858 | |
16517 | 15859 | =end original |
16518 | 15860 | |
16519 | 15861 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
16520 | 15862 | C<untie> が呼び出されたときにまだ有効でした。 |
16521 | 15863 | |
16522 | 15864 | =item Usage: POSIX::%s(%s) |
16523 | 15865 | |
16524 | 15866 | =begin original |
16525 | 15867 | |
16526 | 15868 | (F) You called a POSIX function with incorrect arguments. |
16527 | 15869 | See L<POSIX/FUNCTIONS> for more information. |
16528 | 15870 | |
16529 | 15871 | =end original |
16530 | 15872 | |
16531 | 15873 | (F) POSIX 関数を間違った引数で呼び出しました。 |
16532 | 15874 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 |
16533 | 15875 | |
16534 | 15876 | =item Usage: Win32::%s(%s) |
16535 | 15877 | |
16536 | 15878 | =begin original |
16537 | 15879 | |
16538 | 15880 | (F) You called a Win32 function with incorrect arguments. |
16539 | 15881 | See L<Win32> for more information. |
16540 | 15882 | |
16541 | 15883 | =end original |
16542 | 15884 | |
16543 | 15885 | (F) Win32 関数を間違った引数で呼び出しました。 |
16544 | 15886 | 更なる情報については L<Win32> を参照してください。 |
16545 | 15887 | |
16546 | 15888 | =item $[ used in %s (did you mean $] ?) |
16547 | 15889 | |
16548 | 15890 | =begin original |
16549 | 15891 | |
16550 | 15892 | (W syntax) You used C<$[> in a comparison, such as: |
16551 | 15893 | |
16552 | 15894 | =end original |
16553 | 15895 | |
16554 | 15896 | (W syntax) 以下のように、比較で C<$[> を使いました: |
16555 | 15897 | |
16556 | 15898 | if ($[ > 5.006) { |
16557 | 15899 | ... |
16558 | 15900 | } |
16559 | 15901 | |
16560 | 15902 | =begin original |
16561 | 15903 | |
16562 | 15904 | You probably meant to use C<$]> instead. C<$[> is the base for indexing |
16563 | 15905 | arrays. C<$]> is the Perl version number in decimal. |
16564 | 15906 | |
16565 | 15907 | =end original |
16566 | 15908 | |
16567 | 15909 | おそらく C<$]> を使いたかったのでしょう。 |
16568 | 15910 | C<$[> は配列の基数です。 |
16569 | 15911 | C<$]> は Perl のバージョン番号の 10 進数です。 |
16570 | 15912 | |
16571 | 15913 | =item Use "%s" instead of "%s" |
16572 | 15914 | |
16573 | 15915 | =begin original |
16574 | 15916 | |
16575 | 15917 | (F) The second listed construct is no longer legal. Use the first one |
16576 | 15918 | instead. |
16577 | 15919 | |
16578 | 15920 | =end original |
16579 | 15921 | |
16580 | 15922 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 |
16581 | 15923 | 代わりに 1 番目のものを使ってください。 |
16582 | 15924 | |
16583 | 15925 | =item Useless assignment to a temporary |
16584 | 15926 | |
16585 | 15927 | =begin original |
16586 | 15928 | |
16587 | 15929 | (W misc) You assigned to an lvalue subroutine, but what |
16588 | 15930 | the subroutine returned was a temporary scalar about to |
16589 | 15931 | be discarded, so the assignment had no effect. |
16590 | 15932 | |
16591 | 15933 | =end original |
16592 | 15934 | |
16593 | 15935 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは |
16594 | 15936 | 捨てられようとする一時的なスカラなので、代入は向こうです。 |
16595 | 15937 | |
16596 | 15938 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by |
16597 | 15939 | S<<-- HERE> in m/%s/ |
16598 | 15940 | |
16599 | 15941 | =begin original |
16600 | 15942 | |
16601 | 15943 | (W regexp) You have used an internal modifier such as (?-o) that has no |
16602 | 15944 | meaning unless removed from the entire regexp: |
16603 | 15945 | |
16604 | 15946 | =end original |
16605 | 15947 | |
16606 | 15948 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ |
16607 | 15949 | 意味がありません: |
16608 | 15950 | |
16609 | 15951 | if ($string =~ /(?-o)$pattern/o) { ... } |
16610 | 15952 | |
16611 | 15953 | =begin original |
16612 | 15954 | |
16613 | 15955 | must be written as |
16614 | 15956 | |
16615 | 15957 | =end original |
16616 | 15958 | |
16617 | 15959 | これは以下のように書かなければなりません: |
16618 | 15960 | |
16619 | 15961 | if ($string =~ /$pattern/) { ... } |
16620 | 15962 | |
16621 | 15963 | =begin original |
16622 | 15964 | |
16623 | 15965 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
16624 | 15966 | discovered. See L<perlre>. |
16625 | 15967 | |
16626 | 15968 | =end original |
16627 | 15969 | |
16628 | 15970 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
16629 | 15971 | L<perlre> を参照してください。 |
16630 | 15972 | |
16631 | 15973 | =item Useless localization of %s |
16632 | 15974 | |
16633 | 15975 | =begin original |
16634 | 15976 | |
16635 | 15977 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, |
16636 | 15978 | but in fact the local() currently has no effect. This may change at |
16637 | 15979 | some point in the future, but in the meantime such code is discouraged. |
16638 | 15980 | |
16639 | 15981 | =end original |
16640 | 15982 | |
16641 | 15983 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 |
16642 | 15984 | 実際のところ local() は現在のところ何の効果もありません。 |
16643 | 15985 | これは将来変更されるかもしれませんが、今のところはこのようなコードは |
16644 | 15986 | 勧められません。 |
16645 | 15987 | |
16646 | 15988 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in |
16647 | 15989 | m/%s/ |
16648 | 15990 | |
16649 | 15991 | =begin original |
16650 | 15992 | |
16651 | 15993 | (W regexp) You have used an internal modifier such as (?o) that has no |
16652 | 15994 | meaning unless applied to the entire regexp: |
16653 | 15995 | |
16654 | 15996 | =end original |
16655 | 15997 | |
16656 | 15998 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ |
16657 | 15999 | 意味がありません: |
16658 | 16000 | |
16659 | 16001 | if ($string =~ /(?o)$pattern/) { ... } |
16660 | 16002 | |
16661 | 16003 | =begin original |
16662 | 16004 | |
16663 | 16005 | must be written as |
16664 | 16006 | |
16665 | 16007 | =end original |
16666 | 16008 | |
16667 | 16009 | これは以下のように書かなければなりません: |
16668 | 16010 | |
16669 | 16011 | if ($string =~ /$pattern/o) { ... } |
16670 | 16012 | |
16671 | 16013 | =begin original |
16672 | 16014 | |
16673 | 16015 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
16674 | 16016 | discovered. See L<perlre>. |
16675 | 16017 | |
16676 | 16018 | =end original |
16677 | 16019 | |
16678 | 16020 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
16679 | 16021 | L<perlre> を参照してください。 |
16680 | 16022 | |
16681 | 16023 | =item Useless use of attribute "const" |
16682 | 16024 | |
16683 | 16025 | =begin original |
16684 | 16026 | |
16685 | 16027 | (W misc) The C<const> attribute has no effect except |
16686 | 16028 | on anonymous closure prototypes. You applied it to |
16687 | 16029 | a subroutine via L<attributes.pm|attributes>. This is only useful |
16688 | 16030 | inside an attribute handler for an anonymous subroutine. |
16689 | 16031 | |
16690 | 16032 | =end original |
16691 | 16033 | |
16692 | 16034 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 |
16693 | 16035 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 |
16694 | 16036 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 |
16695 | 16037 | |
16696 | 16038 | =item Useless use of /d modifier in transliteration operator |
16697 | 16039 | |
16698 | 16040 | =begin original |
16699 | 16041 | |
16700 | 16042 | (W misc) You have used the /d modifier where the searchlist has the |
16701 | 16043 | same length as the replacelist. See L<perlop> for more information |
16702 | 16044 | about the /d modifier. |
16703 | 16045 | |
16704 | 16046 | =end original |
16705 | 16047 | |
16706 | 16048 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 |
16707 | 16049 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 |
16708 | 16050 | |
16709 | 16051 | =item Useless use of \E |
16710 | 16052 | |
16711 | 16053 | =begin original |
16712 | 16054 | |
16713 | 16055 | (W misc) You have a \E in a double-quotish string without a C<\U>, |
16714 | 16056 | C<\L> or C<\Q> preceding it. |
16715 | 16057 | |
16716 | 16058 | =end original |
16717 | 16059 | |
16718 | 16060 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく |
16719 | 16061 | \E を書きました。 |
16720 | 16062 | |
16721 | 16063 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ |
16722 | 16064 | |
16723 | 16065 | =begin original |
16724 | 16066 | |
16725 | 16067 | (W regexp) You specified something like these: |
16726 | 16068 | |
16727 | 16069 | =end original |
16728 | 16070 | |
16729 | 16071 | (W regexp) 次のようなものを指定しました: |
16730 | 16072 | |
16731 | 16073 | qr/a{3}?/ |
16732 | 16074 | qr/b{1,1}+/ |
16733 | 16075 | |
16734 | 16076 | =begin original |
16735 | 16077 | |
16736 | 16078 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to |
16737 | 16079 | match more or fewer when there is a choice, and by specifying to match |
16738 | exactly a given num | |
16080 | exactly a given numer, there is no room left for a choice. | |
16739 | 16081 | |
16740 | 16082 | =end original |
16741 | 16083 | |
16742 | 16084 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に |
16743 | より多くまたは少なく変更します | |
16085 | より多くまたは少なく変更します。 | |
16744 | 16086 | そして指定された数に正確にマッチングすることを指定されているので、 |
16745 | 16087 | 選択の余地はありません。 |
16746 | 16088 | |
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 | ||
16780 | 16089 | =item Useless use of %s in void context |
16781 | 16090 | |
16782 | 16091 | =begin original |
16783 | 16092 | |
16784 | 16093 | (W void) You did something without a side effect in a context that does |
16785 | 16094 | nothing with the return value, such as a statement that doesn't return a |
16786 | 16095 | value from a block, or the left side of a scalar comma operator. Very |
16787 | 16096 | often this points not to stupidity on your part, but a failure of Perl |
16788 | 16097 | to parse your program the way you thought it would. For example, you'd |
16789 | 16098 | get this if you mixed up your C precedence with Python precedence and |
16790 | 16099 | said |
16791 | 16100 | |
16792 | 16101 | =end original |
16793 | 16102 | |
16794 | 16103 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
16795 | 16104 | 返却値の無い文脈で、副作用のないことを行ないました。 |
16796 | 16105 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
16797 | 16106 | 意向を汲み取った解釈ができないことで起こります。 |
16798 | 16107 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
16799 | 16108 | 以下のようにした場合です: |
16800 | 16109 | |
16801 | 16110 | $one, $two = 1, 2; |
16802 | 16111 | |
16803 | 16112 | =begin original |
16804 | 16113 | |
16805 | 16114 | when you meant to say |
16806 | 16115 | |
16807 | 16116 | =end original |
16808 | 16117 | |
16809 | 16118 | 以下のようにするべきです。 |
16810 | 16119 | |
16811 | 16120 | ($one, $two) = (1, 2); |
16812 | 16121 | |
16813 | 16122 | =begin original |
16814 | 16123 | |
16815 | 16124 | Another common error is to use ordinary parentheses to construct a list |
16816 | 16125 | reference when you should be using square or curly brackets, for |
16817 | 16126 | example, if you say |
16818 | 16127 | |
16819 | 16128 | =end original |
16820 | 16129 | |
16821 | 16130 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを |
16822 | 16131 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた |
16823 | 16132 | 場合です: |
16824 | 16133 | |
16825 | 16134 | $array = (1,2); |
16826 | 16135 | |
16827 | 16136 | =begin original |
16828 | 16137 | |
16829 | 16138 | when you should have said |
16830 | 16139 | |
16831 | 16140 | =end original |
16832 | 16141 | |
16833 | 16142 | 以下のように書くべきです: |
16834 | 16143 | |
16835 | 16144 | $array = [1,2]; |
16836 | 16145 | |
16837 | 16146 | =begin original |
16838 | 16147 | |
16839 | 16148 | The square brackets explicitly turn a list value into a scalar value, |
16840 | 16149 | while parentheses do not. So when a parenthesized list is evaluated in |
16841 | 16150 | a scalar context, the comma is treated like C's comma operator, which |
16842 | 16151 | throws away the left argument, which is not what you want. See |
16843 | 16152 | L<perlref> for more on this. |
16844 | 16153 | |
16845 | 16154 | =end original |
16846 | 16155 | |
16847 | 16156 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
16848 | 16157 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
16849 | 16158 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
16850 | 16159 | これは望んでいることではないでしょう。 |
16851 | 16160 | これに関するさらなる情報については L<perlref> を参照してください。 |
16852 | 16161 | |
16853 | 16162 | =begin original |
16854 | 16163 | |
16855 | 16164 | This warning will not be issued for numerical constants equal to 0 or 1 |
16856 | 16165 | since they are often used in statements like |
16857 | 16166 | |
16858 | 16167 | =end original |
16859 | 16168 | |
16860 | 16169 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 |
16861 | 16170 | しばしば以下のような文で使われるからです: |
16862 | 16171 | |
16863 | 16172 | 1 while sub_with_side_effects(); |
16864 | 16173 | |
16865 | 16174 | =begin original |
16866 | 16175 | |
16867 | 16176 | String constants that would normally evaluate to 0 or 1 are warned |
16868 | 16177 | about. |
16869 | 16178 | |
16870 | 16179 | =end original |
16871 | 16180 | |
16872 | 16181 | 通常 0 か 1 に評価される文字列定数は警告されます。 |
16873 | 16182 | |
16874 | 16183 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ |
16875 | 16184 | |
16876 | 16185 | =begin original |
16877 | 16186 | |
16878 | 16187 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do |
16879 | 16188 | so is futile. |
16880 | 16189 | |
16881 | 16190 | =end original |
16882 | 16191 | |
16883 | 16192 | (W regexp) |
16884 | 16193 | C<p> 修飾子は、一度設定したものをオフにはできません。 |
16885 | 16194 | そうしようとしても無効です。 |
16886 | 16195 | |
16887 | 16196 | =item Useless use of "re" pragma |
16888 | 16197 | |
16889 | 16198 | =begin original |
16890 | 16199 | |
16891 | 16200 | (W) You did C<use re;> without any arguments. That isn't very useful. |
16892 | 16201 | |
16893 | 16202 | =end original |
16894 | 16203 | |
16895 | 16204 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
16896 | 16205 | |
16206 | =item Useless use of sort in scalar context | |
16207 | ||
16208 | =begin original | |
16209 | ||
16210 | (W void) You used sort in scalar context, as in : | |
16211 | ||
16212 | =end original | |
16213 | ||
16214 | (W void) こんな風に、ソートをスカラコンテキストで使いました: | |
16215 | ||
16216 | my $x = sort @y; | |
16217 | ||
16218 | =begin original | |
16219 | ||
16220 | This is not very useful, and perl currently optimizes this away. | |
16221 | ||
16222 | =end original | |
16223 | ||
16224 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
16225 | ||
16897 | 16226 | =item Useless use of %s with no values |
16898 | 16227 | |
16899 | 16228 | =begin original |
16900 | 16229 | |
16901 | 16230 | (W syntax) You used the push() or unshift() function with no arguments |
16902 | 16231 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't |
16903 | 16232 | usually have any effect on the array, so is completely useless. It's |
16904 | 16233 | possible in principle that push(@tied_array) could have some effect |
16905 | 16234 | if the array is tied to a class which implements a PUSH method. If so, |
16906 | 16235 | you can write it as C<push(@tied_array,())> to avoid this warning. |
16907 | 16236 | |
16908 | 16237 | =end original |
16909 | 16238 | |
16910 | 16239 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や |
16911 | 16240 | unshift() 関数を、配列以外の引数なしで使いました。 |
16912 | 16241 | これは普通は配列に何の影響も与えないので、完全に無意味です。 |
16913 | 16242 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては |
16914 | 16243 | push(@tied_array) が何らかの効果を持つ可能性はあります。 |
16915 | 16244 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を |
16916 | 16245 | 回避できます。 |
16917 | 16246 | |
16918 | 16247 | =item "use" not allowed in expression |
16919 | 16248 | |
16920 | 16249 | =begin original |
16921 | 16250 | |
16922 | 16251 | (F) The "use" keyword is recognized and executed at compile time, and |
16923 | 16252 | returns no useful value. See L<perlmod>. |
16924 | 16253 | |
16925 | 16254 | =end original |
16926 | 16255 | |
16927 | 16256 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
16928 | 16257 | 意味のある値を返しません。 |
16929 | 16258 | L<perlmod> を参照してください。 |
16930 | 16259 | |
16931 | =item Use of | |
16260 | =item Use of assignment to $[ is deprecated | |
16932 | 16261 | |
16933 | 16262 | =begin original |
16934 | 16263 | |
16935 | ( | |
16264 | (D deprecated) The C<$[> variable (index of the first element in an array) | |
16936 | ||
16265 | is deprecated. See L<perlvar/"$[">. | |
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. | |
16940 | 16266 | |
16941 | 16267 | =end original |
16942 | 16268 | |
16943 | ( | |
16269 | (D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は廃止予定です。 | |
16944 | ||
16270 | L<perlvar/"$["> を参照してください。 | |
16945 | 引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、 | |
16946 | 将来のバージョンの Perl でも安定なままであることが保証されておらず、 | |
16947 | そのようなコードは避けるべきなため、これは実験的です。 | |
16948 | 16271 | |
16949 | =item Use of bare << to mean <<"" is | |
16272 | =item Use of bare << to mean <<"" is deprecated. Its use will be fatal in Perl 5.28 | |
16950 | 16273 | |
16951 | 16274 | =begin original |
16952 | 16275 | |
16953 | ( | |
16276 | (D deprecated) You are now encouraged to use the explicitly quoted | |
16954 | to use an empty line as the terminator of the | |
16277 | form if you wish to use an empty line as the terminator of the | |
16278 | here-document. | |
16955 | 16279 | |
16956 | 16280 | =end original |
16957 | 16281 | |
16958 | ( | |
16282 | (D deprecated) ヒアドキュメントの終端子として空行を | |
16959 | クォートされた形を使うこと | |
16283 | 使いたいときには、明示的にクォートされた形を使うことを推奨しています。 | |
16960 | 16284 | |
16961 | 16285 | =begin original |
16962 | 16286 | |
16963 | Use of a bare terminator was deprecated in Perl 5.000, and | |
16287 | Use of a bare terminator was deprecated in Perl 5.000, and | |
16964 | error | |
16288 | will be a fatal error in Perl 5.28. | |
16965 | 16289 | |
16966 | 16290 | =end original |
16967 | 16291 | |
16968 | 16292 | 裸の終端子は Perl 5.000 で廃止予定になっていて、 |
16969 | Perl 5.28 | |
16293 | Perl 5.28 で致命的エラーになる予定です。 | |
16970 | 16294 | |
16971 | 16295 | =item Use of /c modifier is meaningless in s/// |
16972 | 16296 | |
16973 | 16297 | =begin original |
16974 | 16298 | |
16975 | 16299 | (W regexp) You used the /c modifier in a substitution. The /c |
16976 | 16300 | modifier is not presently meaningful in substitutions. |
16977 | 16301 | |
16978 | 16302 | =end original |
16979 | 16303 | |
16980 | 16304 | (W regexp) 置換で /c 修飾子を使いました。 |
16981 | 16305 | /c は置換では現在のところ無意味です。 |
16982 | 16306 | |
16983 | 16307 | =item Use of /c modifier is meaningless without /g |
16984 | 16308 | |
16985 | 16309 | =begin original |
16986 | 16310 | |
16987 | 16311 | (W regexp) You used the /c modifier with a regex operand, but didn't |
16988 | 16312 | use the /g modifier. Currently, /c is meaningful only when /g is |
16989 | 16313 | used. (This may change in the future.) |
16990 | 16314 | |
16991 | 16315 | =end original |
16992 | 16316 | |
16993 | 16317 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は |
16994 | 16318 | 使いませんでした。 |
16995 | 16319 | 現在のところ、/c は /g が使われたときにのみ有効です。 |
16996 | 16320 | (これは将来変更されるかもしれません。) |
16997 | 16321 | |
16998 | =item Use of code point 0x%s is | |
16322 | =item Use of code point 0x%s is deprecated; the permissible max is 0x%s. This will be fatal in Perl 5.28 | |
16999 | 16323 | |
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 | ||
17003 | 16324 | =begin original |
17004 | 16325 | |
17005 | ( | |
16326 | (D deprecated) You used a code point that will not be allowed in a | |
17006 | ||
16327 | future perl version, because it is too large. Unicode only allows code | |
17007 | ||
16328 | points up to 0x10FFFF, but Perl allows much larger ones. However, the | |
17008 | ||
16329 | largest possible ones break the perl interpreter in some constructs, | |
17009 | ||
16330 | including causing it to hang in a few cases. The known problem areas | |
17010 | in | |
16331 | are in C<tr///>, regular expression pattern matching using quantifiers, | |
16332 | as quote delimiters in C<qI<X>...I<X>> (where I<X> is the C<chr()> of a large | |
16333 | code point), and as the upper limits in loops. | |
16334 | There may be other breakages as well. If you get this warning, and | |
16335 | things aren't working correctly, you probably have found one of these. | |
17011 | 16336 | |
17012 | 16337 | =end original |
17013 | 16338 | |
17014 | ( | |
16339 | (D deprecated) 大きすぎるので将来の perl のバージョンで許されない | |
16340 | 符号位置を使いました。 | |
17015 | 16341 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 |
17016 | Perl は遙かに大きい | |
16342 | Perl は遙かに大きい物の許します。 | |
17017 | ||
16343 | しかし、可能な最大値は一部の構文で perl インタプリタを壊し、 | |
17018 | ||
16344 | 場合によってはハングアップを引き起こします。 | |
17019 | ||
16345 | 問題があると知られている部分は | |
17020 | ||
16346 | C<tr///>、量指定子を使った正規表現パターンマッチング、 | |
17021 | ||
16347 | C<qI<X>...I<X>> (ここで I<X> は大きな符号位置の C<chr()>) での | |
16348 | クォート区切り文字、そしてループの上限です。 | |
16349 | 他にも壊れる部分があるかもしれません。 | |
16350 | この警告が出て、物事が正しく動作していないなら、 | |
16351 | おそらくこれらのうちの一つがあるでしょう。 | |
17022 | 16352 | |
17023 | 16353 | =begin original |
17024 | 16354 | |
17025 | 16355 | If your code is to run on various platforms, keep in mind that the upper |
17026 | 16356 | limit depends on the platform. It is much larger on 64-bit word sizes |
17027 | 16357 | than 32-bit ones. |
17028 | 16358 | |
17029 | 16359 | =end original |
17030 | 16360 | |
17031 | 16361 | コードが様々なプラットフォームで実行するためのものなら、 |
17032 | 16362 | 上限がプラットフォームに依存していることを心に留めておいてください。 |
17033 | 16363 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 |
17034 | 16364 | |
17035 | 16365 | =begin original |
17036 | 16366 | |
17037 | 16367 | The use of out of range code points was deprecated in Perl 5.24, and |
17038 | b | |
16368 | it will be a fatal error in Perl 5.28. | |
17039 | 16369 | |
17040 | 16370 | =end original |
17041 | 16371 | |
17042 | 16372 | 範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、 |
17043 | Perl 5.28 で致命的エラーにな | |
16373 | Perl 5.28 で致命的エラーになる予定です。 | |
17044 | 16374 | |
16375 | =item Use of comma-less variable list is deprecated. Its use will be fatal in Perl 5.28 | |
16376 | ||
16377 | =begin original | |
16378 | ||
16379 | (D deprecated) The values you give to a format should be | |
16380 | separated by commas, not just aligned on a line. | |
16381 | ||
16382 | =end original | |
16383 | ||
16384 | (D deprecated) フォーマットに与えた値は単に行で | |
16385 | 並べるのではなくて、カンマで区切るべきです。 | |
16386 | ||
16387 | =begin original | |
16388 | ||
16389 | This usage will be fatal in Perl 5.28. | |
16390 | ||
16391 | =end original | |
16392 | ||
16393 | この使用法は Perl 5.28 から致命的エラーになりました。 | |
16394 | ||
17045 | 16395 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior |
17046 | 16396 | |
17047 | 16397 | =begin original |
17048 | 16398 | |
17049 | 16399 | (S internal) The behavior of C<each()> after insertion is undefined; |
17050 | 16400 | it may skip items, or visit items more than once. Consider using |
17051 | 16401 | C<keys()> instead of C<each()>. |
17052 | 16402 | |
17053 | 16403 | =end original |
17054 | 16404 | |
17055 | 16405 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを |
17056 | 16406 | 読み飛ばしたり、複数回読んだりします。 |
17057 | 16407 | C<each()> の代わりに C<keys()> を使うことを検討してください。 |
17058 | 16408 | |
16409 | =item Infinite recursion via empty pattern | |
16410 | ||
16411 | =begin original | |
16412 | ||
16413 | (F) You tried to use the empty pattern inside of a regex code block, | |
16414 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
16415 | the same pattern, which is an infinite loop which is broken by | |
16416 | throwing an exception. | |
16417 | ||
16418 | =end original | |
16419 | ||
16420 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
16421 | 空パターンを使いました; | |
16422 | これは同じパターンを再実行することになり、 | |
16423 | 例外が投げられることによって壊れる無限ループになります。 | |
16424 | ||
17059 | 16425 | =item Use of := for an empty attribute list is not allowed |
17060 | 16426 | |
17061 | 16427 | =begin original |
17062 | 16428 | |
17063 | 16429 | (F) The construction C<my $x := 42> used to parse as equivalent to |
17064 | 16430 | C<my $x : = 42> (applying an empty attribute list to C<$x>). |
17065 | 16431 | This construct was deprecated in 5.12.0, and has now been made a syntax |
17066 | 16432 | error, so C<:=> can be reclaimed as a new operator in the future. |
17067 | 16433 | |
17068 | 16434 | =end original |
17069 | 16435 | |
17070 | 16436 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました |
17071 | 16437 | (C<$x> に空の属性リストを適用する)。 |
17072 | 16438 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 |
17073 | 16439 | C<:=> は将来新しい演算子として再利用できます。 |
17074 | 16440 | |
17075 | 16441 | =begin original |
17076 | 16442 | |
17077 | 16443 | If you need an empty attribute list, for example in a code generator, add |
17078 | 16444 | a space before the C<=>. |
17079 | 16445 | |
17080 | 16446 | =end original |
17081 | 16447 | |
17082 | 16448 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に |
17083 | 16449 | スペースを加えてください。 |
17084 | 16450 | |
17085 | 16451 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale |
17086 | 16452 | |
17087 | 16453 | =begin original |
17088 | 16454 | |
17089 | 16455 | (W locale) You are matching a regular expression using locale rules, |
17090 | 16456 | and the specified construct was encountered. This construct is only |
17091 | 16457 | valid for UTF-8 locales, which the current locale isn't. This doesn't |
17092 | 16458 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but |
17093 | 16459 | the results are likely to be wrong. |
17094 | 16460 | |
17095 | 16461 | =end original |
17096 | 16462 | |
17097 | 16463 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 |
17098 | 16464 | 指定した構文が出現しました。 |
17099 | 16465 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 |
17100 | 16466 | これは意味がありません。 |
17101 | 16467 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 |
17102 | 16468 | 結果はおそらく間違ったものです。 |
17103 | 16469 | |
17104 | 16470 | =item Use of freed value in iteration |
17105 | 16471 | |
17106 | 16472 | =begin original |
17107 | 16473 | |
17108 | 16474 | (F) Perhaps you modified the iterated array within the loop? |
17109 | 16475 | This error is typically caused by code like the following: |
17110 | 16476 | |
17111 | 16477 | =end original |
17112 | 16478 | |
17113 | 16479 | (F) おそらくループの中で反復される配列を変更したのでは? |
17114 | 16480 | このエラーは典型的には以下のようなコードで発生します: |
17115 | 16481 | |
17116 | 16482 | @a = (3,4); |
17117 | 16483 | @a = () for (1,2,@a); |
17118 | 16484 | |
17119 | 16485 | =begin original |
17120 | 16486 | |
17121 | 16487 | You are not supposed to modify arrays while they are being iterated over. |
17122 | 16488 | For speed and efficiency reasons, Perl internally does not do full |
17123 | 16489 | reference-counting of iterated items, hence deleting such an item in the |
17124 | 16490 | middle of an iteration causes Perl to see a freed value. |
17125 | 16491 | |
17126 | 16492 | =end original |
17127 | 16493 | |
17128 | 16494 | 反復中の配列は変更してはいけないことになっています。 |
17129 | 16495 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを |
17130 | 16496 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は |
17131 | 16497 | 解放された値を見ることになります。 |
17132 | 16498 | |
17133 | 16499 | =item Use of /g modifier is meaningless in split |
17134 | 16500 | |
17135 | 16501 | =begin original |
17136 | 16502 | |
17137 | 16503 | (W regexp) You used the /g modifier on the pattern for a C<split> |
17138 | 16504 | operator. Since C<split> always tries to match the pattern |
17139 | 16505 | repeatedly, the C</g> has no effect. |
17140 | 16506 | |
17141 | 16507 | =end original |
17142 | 16508 | |
17143 | 16509 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 |
17144 | 16510 | C<split> は常にパターンを繰り返しマッチングしようとするので、 |
17145 | 16511 | C</g> は効果がありません。 |
17146 | 16512 | |
17147 | 16513 | =item Use of "goto" to jump into a construct is deprecated |
17148 | 16514 | |
17149 | 16515 | =begin original |
17150 | 16516 | |
17151 | 16517 | (D deprecated) Using C<goto> to jump from an outer scope into an inner |
17152 | 16518 | scope is deprecated and should be avoided. |
17153 | 16519 | |
17154 | 16520 | =end original |
17155 | 16521 | |
17156 | 16522 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を |
17157 | 16523 | 使うことは廃止予定であり、避けるべきです。 |
17158 | 16524 | |
17159 | 16525 | =begin original |
17160 | 16526 | |
17161 | 16527 | This was deprecated in Perl 5.12. |
17162 | 16528 | |
17163 | 16529 | =end original |
17164 | 16530 | |
17165 | 16531 | これは Perl 5.12 で廃止予定になりました。 |
17166 | 16532 | |
17167 | =item Use of | |
16533 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated. This will be fatal in Perl 5.28 | |
17168 | 16534 | |
17169 | 16535 | =begin original |
17170 | 16536 | |
17171 | (D deprecated) | |
16537 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> | |
17172 | ||
16538 | subroutines are looked up as methods (using the C<@ISA> hierarchy) | |
17173 | ||
16539 | even when the subroutines to be autoloaded were called as plain | |
16540 | functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or | |
16541 | C<< $obj->bar() >>). | |
17174 | 16542 | |
17175 | 16543 | =end original |
17176 | 16544 | |
17177 | (D deprecated) | |
16545 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
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 | 16546 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や |
17194 | 16547 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として |
17195 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索し | |
16548 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
17196 | 16549 | |
17197 | 16550 | =begin original |
17198 | 16551 | |
17199 | This w | |
16552 | This bug will be rectified in future by using method lookup only for | |
16553 | methods' C<AUTOLOAD>s. However, there is a significant base of existing | |
16554 | code that may be using the old behavior. So, as an interim step, Perl | |
16555 | currently issues an optional warning when non-methods use inherited | |
16556 | C<AUTOLOAD>s. | |
17200 | 16557 | |
17201 | 16558 | =end original |
17202 | 16559 | |
17203 | この | |
16560 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって | |
16561 | 将来修正される予定です。 | |
16562 | しかし、現在のコードの大部分は古い振る舞いを使っています。 | |
16563 | それで、暫定的なステップとして、Perl は現在のところは、 | |
16564 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
16565 | 発生させます。 | |
17204 | 16566 | |
17205 | =item Use of %s in printf format not supported | |
17206 | ||
17207 | 16567 | =begin original |
17208 | 16568 | |
17209 | ||
16569 | The simple rule is: Inheritance will not work when autoloading | |
17210 | on | |
16570 | non-methods. The simple fix for old code is: In any module that used | |
16571 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class | |
16572 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during | |
16573 | startup. | |
17211 | 16574 | |
17212 | 16575 | =end original |
17213 | 16576 | |
17214 | ||
16577 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 | |
17215 | ||
16578 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前の基底クラスから | |
16579 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 | |
16580 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 | |
17216 | 16581 | |
17217 | =item Use of '%s' is deprecated as a string delimiter | |
17218 | ||
17219 | 16582 | =begin original |
17220 | 16583 | |
17221 | ||
16584 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> | |
17222 | ||
16585 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to | |
17223 | ||
16586 | C<use AutoLoader 'AUTOLOAD';>. | |
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. | |
17227 | 16587 | |
17228 | 16588 | =end original |
17229 | 16589 | |
17230 | ||
16590 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 | |
17231 | ||
16591 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を | |
17232 | ||
16592 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 | |
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) | |
17237 | 16593 | |
17238 | 16594 | =begin original |
17239 | 16595 | |
17240 | ||
16596 | This feature was deprecated in Perl 5.004, and will be fatal in Perl 5.28. | |
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 | 16597 | |
17245 | 16598 | =end original |
17246 | 16599 | |
17247 | ||
16600 | この機能は Perl 5.004 で廃止予定になり、Perl 5.28 で致命的エラーになりました。 | |
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 | 16601 | |
17253 | =item Use of | |
16602 | =item Use of %s in printf format not supported | |
17254 | 16603 | |
17255 | 16604 | =begin original |
17256 | 16605 | |
17257 | ( | |
16606 | (F) You attempted to use a feature of printf that is accessible from | |
17258 | ||
16607 | only C. This usually means there's a better way to do it in Perl. | |
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: | |
17263 | 16608 | |
17264 | 16609 | =end original |
17265 | 16610 | |
17266 | ( | |
16611 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 | |
17267 | ||
16612 | これは普通 Perl で行うより良い方法があります。 | |
17268 | enabled by S<C<use feature 'extra_paired_delimiters'>>. | |
17269 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
17270 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
17271 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
17272 | 取っていると言うことを知っておいてください: | |
17273 | 16613 | |
17274 | =item Use of %s is not allowed in Unicode property wildcard | |
17275 | subpatterns in regex; marked by S<<-- HERE> in m/%s/ | |
17276 | ||
17277 | =begin original | |
17278 | ||
17279 | (F) You were using a wildcard subpattern a Unicode property value, and | |
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>. | |
17284 | ||
17285 | =end original | |
17286 | ||
17287 | (F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か | |
17288 | 不正なものが含まれていました。 | |
17289 | このような部分パターンでは全ての正規表現機能が正当というわけではなく、 | |
17290 | これはその一つです。 | |
17291 | 問題となっている構文を使わないように部分パターンを書き換えてください。 | |
17292 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
17293 | ||
17294 | 16614 | =item Use of -l on filehandle%s |
17295 | 16615 | |
17296 | 16616 | =begin original |
17297 | 16617 | |
17298 | 16618 | (W io) A filehandle represents an opened file, and when you opened the file |
17299 | 16619 | it already went past any symlink you are presumably trying to look for. |
17300 | 16620 | The operation returned C<undef>. Use a filename instead. |
17301 | 16621 | |
17302 | 16622 | =end original |
17303 | 16623 | |
17304 | 16624 | (F) ファイルはオープンされたファイルを表わすものであり、 |
17305 | 16625 | ファイルをオープンしたときには、探しているシンボリックリンクは、 |
17306 | 16626 | 既に通り過ぎた後です。 |
17307 | 16627 | この操作は C<undef> を返します。 |
17308 | 16628 | 代わりにファイル名を使ってください。 |
17309 | 16629 | |
17310 | 16630 | =item Use of reference "%s" as array index |
17311 | 16631 | |
17312 | 16632 | =begin original |
17313 | 16633 | |
17314 | 16634 | (W misc) You tried to use a reference as an array index; this probably |
17315 | 16635 | isn't what you mean, because references in numerical context tend |
17316 | 16636 | to be huge numbers, and so usually indicates programmer error. |
17317 | 16637 | |
17318 | 16638 | =end original |
17319 | 16639 | |
17320 | 16640 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく |
17321 | 16641 | 望んでいることではないでしょう; なぜなら数値コンテキストでの |
17322 | 16642 | リファレンスはとても大きな数になることが多いので、普通はプログラマの |
17323 | 16643 | ミスを意味しています。 |
17324 | 16644 | |
17325 | 16645 | =begin original |
17326 | 16646 | |
17327 | 16647 | If you really do mean it, explicitly numify your reference, like so: |
17328 | 16648 | C<$array[0+$ref]>. This warning is not given for overloaded objects, |
17329 | 16649 | however, because you can overload the numification and stringification |
17330 | 16650 | operators and then you presumably know what you are doing. |
17331 | 16651 | |
17332 | 16652 | =end original |
17333 | 16653 | |
17334 | 16654 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に |
17335 | 16655 | 数値化してください。 |
17336 | 16656 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; |
17337 | 16657 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると |
17338 | 16658 | 仮定できるからです。 |
17339 | 16659 | |
17340 | =item Use of st | |
16660 | =item Use of state $_ is experimental | |
17341 | operator is not allowed | |
17342 | 16661 | |
17343 | 16662 | =begin original |
17344 | 16663 | |
17345 | ( | |
16664 | (S experimental::lexical_topic) Lexical $_ is an experimental feature and | |
17346 | ||
16665 | its behavior may change or even be removed in any future release of perl. | |
17347 | ||
16666 | See the explanation under L<perlvar/$_>. | |
17348 | 0xFF are nonsensical in this context. | |
17349 | 16667 | |
17350 | 16668 | =end original |
17351 | 16669 | |
17352 | ( | |
16670 | (S experimental::lexical_topic) レキシカルな $_ は実験的機能で、その振る舞いは | |
17353 | ||
16671 | 将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
17354 | ||
16672 | L<perlvar/$_> の説明を参照してください。 | |
17355 | 0xFF を超える値はこの文脈では無意味です。 | |
17356 | 16673 | |
17357 | = | |
16674 | =item Use of strings with code points over 0xFF as arguments to %s | |
16675 | operator is deprecated. This will be a fatal error in Perl 5.28 | |
17358 | 16676 | |
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 | 16677 | =begin original |
17368 | 16678 | |
17369 | ( | |
16679 | (D deprecated) You tried to use one of the string bitwise operators | |
17370 | on a string containing a code point over | |
16680 | (C<&> or C<|> or C<^> or C<~>) on a string containing a code point over | |
16681 | 0xFF. The string bitwise operators treat their operands as strings of | |
16682 | bytes, and values beyond 0xFF are nonsensical in this context. | |
17371 | 16683 | |
17372 | 16684 | =end original |
17373 | 16685 | |
17374 | ( | |
16686 | (D deprecated) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを | |
17375 | ||
16687 | 0xFF を超える符号位置を含む文字列に使おうとしました。 | |
17376 | ||
16688 | ビット単位文字列演算子はオペランドをバイト文字列として扱い、 | |
16689 | 0xFF を超える値はこの文脈では無意味です。 | |
17377 | 16690 | |
17378 | 16691 | =begin original |
17379 | 16692 | |
17380 | ||
16693 | Such usage will be a fatal error in Perl 5.28. | |
17381 | 16694 | |
17382 | 16695 | =end original |
17383 | 16696 | |
17384 | こ | |
16697 | このような使用法は Perl 5.28 で致命的エラーになりました。 | |
17385 | 16698 | |
17386 | 16699 | =item Use of tainted arguments in %s is deprecated |
17387 | 16700 | |
17388 | 16701 | =begin original |
17389 | 16702 | |
17390 | 16703 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple |
17391 | 16704 | arguments and at least one of them is tainted. This used to be allowed |
17392 | 16705 | but will become a fatal error in a future version of perl. Untaint your |
17393 | 16706 | arguments. See L<perlsec>. |
17394 | 16707 | |
17395 | 16708 | =end original |
17396 | 16709 | |
17397 | 16710 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 |
17398 | 16711 | そのうち少なくとも一つが汚染されています。 |
17399 | 16712 | これは許されていましたが、将来のバージョンの perl では致命的エラーに |
17400 | 16713 | なるでしょう。 |
17401 | 16714 | 引数を浄化してください。 |
17402 | 16715 | L<perlsec> を参照してください。 |
17403 | 16716 | |
17404 | 16717 | =item Use of unassigned code point or non-standalone grapheme for a |
17405 | delimiter i | |
16718 | delimiter will be a fatal error starting in Perl 5.30 | |
17406 | 16719 | |
17407 | 16720 | =begin original |
17408 | 16721 | |
17409 | ( | |
16722 | (D deprecated) | |
17410 | 16723 | A grapheme is what appears to a native-speaker of a language to be a |
17411 | 16724 | character. In Unicode (and hence Perl) a grapheme may actually be |
17412 | 16725 | several adjacent characters that together form a complete grapheme. For |
17413 | 16726 | example, there can be a base character, like "R" and an accent, like a |
17414 | 16727 | circumflex "^", that appear when displayed to be a single character with |
17415 | 16728 | the circumflex hovering over the "R". Perl currently allows things like |
17416 | 16729 | that circumflex to be delimiters of strings, patterns, I<etc>. When |
17417 | 16730 | displayed, the circumflex would look like it belongs to the character |
17418 | 16731 | just to the left of it. In order to move the language to be able to |
17419 | accept graphemes as delimiters, we | |
16732 | accept graphemes as delimiters, we have to deprecate the use of | |
17420 | 16733 | delimiters which aren't graphemes by themselves. Also, a delimiter must |
17421 | 16734 | already be assigned (or known to be never going to be assigned) to try |
17422 | 16735 | to future-proof code, for otherwise code that works today would fail to |
17423 | 16736 | compile if the currently unassigned delimiter ends up being something |
17424 | 16737 | that isn't a stand-alone grapheme. Because Unicode is never going to |
17425 | 16738 | assign |
17426 | 16739 | L<non-character code points|perlunicode/Noncharacter code points>, nor |
17427 | 16740 | L<code points that are above the legal Unicode maximum| |
17428 | 16741 | perlunicode/Beyond Unicode code points>, those can be delimiters, and |
17429 | their use is | |
16742 | their use won't raise this warning. | |
17430 | 16743 | |
17431 | 16744 | =end original |
17432 | 16745 | |
17433 | ( | |
16746 | (D deprecated) | |
17434 | 16747 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 |
17435 | 16748 | Unicode (従って Perl) では、 |
17436 | 16749 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する |
17437 | 16750 | 文字かもしれません。 |
17438 | 16751 | 例えば、"R" のような基底文字と曲折アクセント "^" のような |
17439 | 16752 | アクセントかもしれません; これは表示されるときには |
17440 | 16753 | "R" の上に曲折アクセントがある単一の文字となります。 |
17441 | 16754 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの |
17442 | 16755 | 区切り文字にすることを許しています。 |
17443 | 16756 | 表示されるとき、曲折アクセントは、 |
17444 | 16757 | そのすぐ左にある文字に付属するかのように見えます。 |
17445 | 16758 | 言語が書記素を区切り文字として受けいられられるようにするために、 |
17446 | それ自体が書記素でない区切り文字の使用 | |
16759 | それ自体が書記素でない区切り文字の使用を廃止予定にする必要があります。 | |
17447 | 16760 | また、区切り文字は将来も動作するコードであり続けるために、 |
17448 | 16761 | 既に割り当てられている(または決して割り当てられないと分かっている) |
17449 | 16762 | ものでなければなりません; |
17450 | 16763 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに |
17451 | 16764 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 |
17452 | 16765 | Unicode は決して |
17453 | 16766 | L<非文字符号位置|perlunicode/Noncharacter code points> や |
17454 | 16767 | L<正当な Unicode の最大値より大きな符号位置| |
17455 | 16768 | perlunicode/Beyond Unicode code points> を割り当てないので、 |
17456 | これらは区切り文字になることができ、これらの使用は | |
16769 | これらは区切り文字になることができ、これらの使用は警告を発生させません。 | |
17457 | 16770 | |
17458 | 16771 | =item Use of uninitialized value%s |
17459 | 16772 | |
17460 | 16773 | =begin original |
17461 | 16774 | |
17462 | 16775 | (W uninitialized) An undefined value was used as if it were already |
17463 | 16776 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
17464 | 16777 | To suppress this warning assign a defined value to your variables. |
17465 | 16778 | |
17466 | 16779 | =end original |
17467 | 16780 | |
17468 | 16781 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
17469 | 16782 | 使用しました。 |
17470 | 16783 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
17471 | 16784 | この警告を止めるには、変数に定義された値を代入してください。 |
17472 | 16785 | |
17473 | 16786 | =begin original |
17474 | 16787 | |
17475 | 16788 | To help you figure out what was undefined, perl will try to tell you |
17476 | 16789 | the name of the variable (if any) that was undefined. In some cases |
17477 | 16790 | it cannot do this, so it also tells you what operation you used the |
17478 | 16791 | undefined value in. Note, however, that perl optimizes your program |
17479 | 16792 | and the operation displayed in the warning may not necessarily appear |
17480 | 16793 | literally in your program. For example, C<"that $foo"> is usually |
17481 | 16794 | optimized into C<"that " . $foo>, and the warning will refer to the |
17482 | 16795 | C<concatenation (.)> operator, even though there is no C<.> in |
17483 | 16796 | your program. |
17484 | 16797 | |
17485 | 16798 | =end original |
17486 | 16799 | |
17487 | 16800 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である |
17488 | 16801 | 変数名を示します。 |
17489 | 16802 | それができないような場合では、未定義値を使った操作を示します。 |
17490 | 16803 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に |
17491 | 16804 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 |
17492 | 16805 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 |
17493 | 16806 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が |
17494 | 16807 | 出ます。 |
17495 | 16808 | |
17496 | 16809 | =item "use re 'strict'" is experimental |
17497 | 16810 | |
17498 | 16811 | =begin original |
17499 | 16812 | |
17500 | 16813 | (S experimental::re_strict) The things that are different when a regular |
17501 | 16814 | expression pattern is compiled under C<'strict'> are subject to change |
17502 | 16815 | in future Perl releases in incompatible ways. This means that a pattern |
17503 | 16816 | that compiles today may not in a future Perl release. This warning is |
17504 | 16817 | to alert you to that risk. |
17505 | 16818 | |
17506 | 16819 | =end original |
17507 | 16820 | |
17508 | 16821 | (S experimental::re_strict) 正規表現が C<'strict'> の基で |
17509 | 16822 | コンパイルされたときに何が異なるかは、 |
17510 | 16823 | 将来の Perl のリリースで互換性のない形で変更される予定です。 |
17511 | 16824 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは |
17512 | 16825 | 違うかもしれません。 |
17513 | 16826 | この警告はそのリスクを知らせるためのものです。 |
17514 | 16827 | |
17515 | 16828 | =item Use \x{...} for more than two hex characters in regex; marked by |
17516 | 16829 | S<<-- HERE> in m/%s/ |
17517 | 16830 | |
17518 | 16831 | =begin original |
17519 | 16832 | |
17520 | 16833 | (F) In a regular expression, you said something like |
17521 | 16834 | |
17522 | 16835 | =end original |
17523 | 16836 | |
17524 | 16837 | (F) 正規表現で、以下のようなことをしました |
17525 | 16838 | |
17526 | 16839 | (?[ [ \xBEEF ] ]) |
17527 | 16840 | |
17528 | 16841 | =begin original |
17529 | 16842 | |
17530 | 16843 | Perl isn't sure if you meant this |
17531 | 16844 | |
17532 | 16845 | =end original |
17533 | 16846 | |
17534 | 16847 | Perl は、これが以下のものを意味しているのか |
17535 | 16848 | |
17536 | 16849 | (?[ [ \x{BEEF} ] ]) |
17537 | 16850 | |
17538 | 16851 | =begin original |
17539 | 16852 | |
17540 | 16853 | or if you meant this |
17541 | 16854 | |
17542 | 16855 | =end original |
17543 | 16856 | |
17544 | 16857 | それとも次のものかがわかりません。 |
17545 | 16858 | |
17546 | 16859 | (?[ [ \x{BE} E F ] ]) |
17547 | 16860 | |
17548 | 16861 | =begin original |
17549 | 16862 | |
17550 | 16863 | You need to add either braces or blanks to disambiguate. |
17551 | 16864 | |
17552 | 16865 | =end original |
17553 | 16866 | |
17554 | 16867 | 明確にするために大かっこか空白を追加する必要があります。 |
17555 | 16868 | |
17556 | 16869 | =item Using just the first character returned by \N{} in character class in |
17557 | 16870 | regex; marked by S<<-- HERE> in m/%s/ |
17558 | 16871 | |
17559 | 16872 | =begin original |
17560 | 16873 | |
17561 | 16874 | (W regexp) Named Unicode character escapes C<(\N{...})> may return |
17562 | 16875 | a multi-character sequence. Even though a character class is |
17563 | 16876 | supposed to match just one character of input, perl will match |
17564 | 16877 | the whole thing correctly, except when the class is inverted |
17565 | 16878 | (C<[^...]>), or the escape is the beginning or final end point of |
17566 | 16879 | a range. For these, what should happen isn't clear at all. In |
17567 | 16880 | these circumstances, Perl discards all but the first character |
17568 | 16881 | of the returned sequence, which is not likely what you want. |
17569 | 16882 | |
17570 | 16883 | =end original |
17571 | 16884 | |
17572 | 16885 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は |
17573 | 16886 | 複数文字並びを返すことがあります。 |
17574 | 16887 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 |
17575 | 16888 | perl は全体を正しくマッチングします; 但し例外は、 |
17576 | 16889 | クラスが反転された場合 (C<[^...]>) と、 |
17577 | 16890 | エスケープが範囲の始点か終点の場合です。 |
17578 | 16891 | これらの場合、何をするべきかは全く明らかではありません。 |
17579 | 16892 | このため、Perl は返された並びの最初以外の文字を捨てます; |
17580 | 16893 | おそらくこれはあなたが求めているものではないでしょう。 |
17581 | 16894 | |
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 | 16895 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ |
17622 | 16896 | |
17623 | 16897 | =begin original |
17624 | 16898 | |
17625 | 16899 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a |
17626 | 16900 | portion of a regular expression where the character set modifiers C</a> |
17627 | 16901 | or C</aa> are in effect. These two modifiers indicate an ASCII |
17628 | interpretation, and this doesn't make sense for a Unicode defin | |
16902 | interpretation, and this doesn't make sense for a Unicode defintion. | |
17629 | 16903 | The generated regular expression will compile so that the boundary uses |
17630 | 16904 | all of Unicode. No other portion of the regular expression is affected. |
17631 | 16905 | |
17632 | 16906 | =end original |
17633 | 16907 | |
17634 | 16908 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で |
17635 | 16909 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 |
17636 | 16910 | これら二つの修飾子は ASCII での解釈を示していて、これは |
17637 | 16911 | Unicode の定義では意味がありません。 |
17638 | 16912 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 |
17639 | 16913 | 正規表現のその他の部分は影響を受けません。 |
17640 | 16914 | |
17641 | 16915 | =item Using !~ with %s doesn't make sense |
17642 | 16916 | |
17643 | 16917 | =begin original |
17644 | 16918 | |
17645 | 16919 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is |
17646 | 16920 | currently reserved for future use, as the exact behavior has not |
17647 | 16921 | been decided. (Simply returning the boolean opposite of the |
17648 | 16922 | modified string is usually not particularly useful.) |
17649 | 16923 | |
17650 | 16924 | =end original |
17651 | 16925 | |
17652 | 16926 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが |
17653 | 16927 | まだ決定されていないので、将来の使用のために予約されています。 |
17654 | 16928 | (単に修正された文字列の真偽値としての逆を返すのは普通特に |
17655 | 16929 | 有用ではありません。) |
17656 | 16930 | |
17657 | 16931 | =item UTF-16 surrogate U+%X |
17658 | 16932 | |
17659 | 16933 | =begin original |
17660 | 16934 | |
17661 | 16935 | (S surrogate) You had a UTF-16 surrogate in a context where they are |
17662 | 16936 | not considered acceptable. These code points, between U+D800 and |
17663 | 16937 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
17664 | 16938 | internally allows all unsigned integer code points (up to the size limit |
17665 | 16939 | available on your platform), including surrogates. But these can cause |
17666 | 16940 | problems when being input or output, which is likely where this message |
17667 | 16941 | came from. If you really really know what you are doing you can turn |
17668 | 16942 | off this warning by C<no warnings 'surrogate';>. |
17669 | 16943 | |
17670 | 16944 | =end original |
17671 | 16945 | |
17672 | 16946 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを |
17673 | 16947 | 使いました。 |
17674 | 16948 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
17675 | 16949 | Unicode によって使われます。 |
17676 | 16950 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
17677 | 16951 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
17678 | 16952 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
17679 | 16953 | おそらくこのメッセージが出た場所です。 |
17680 | 16954 | 自分で何をしているのかが本当に本当に分かっているなら、 |
17681 | 16955 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
17682 | 16956 | |
17683 | 16957 | =item Value of %s can be "0"; test with defined() |
17684 | 16958 | |
17685 | 16959 | =begin original |
17686 | 16960 | |
17687 | 16961 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
17688 | 16962 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
17689 | 16963 | can return a value of "0"; that would make the conditional expression |
17690 | 16964 | false, which is probably not what you intended. When using these |
17691 | 16965 | constructs in conditional expressions, test their values with the |
17692 | 16966 | C<defined> operator. |
17693 | 16967 | |
17694 | 16968 | =end original |
17695 | 16969 | |
17696 | 16970 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
17697 | 16971 | 真偽値として使いました。 |
17698 | 16972 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
17699 | 16973 | これはおそらく望んでいることではないでしょう。 |
17700 | 16974 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
17701 | 16975 | テストしてください。 |
17702 | 16976 | |
17703 | 16977 | =item Value of CLI symbol "%s" too long |
17704 | 16978 | |
17705 | 16979 | =begin original |
17706 | 16980 | |
17707 | 16981 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
17708 | 16982 | %ENV element from a CLI symbol table, and found a resultant string |
17709 | 16983 | longer than 1024 characters. The return value has been truncated to |
17710 | 16984 | 1024 characters. |
17711 | 16985 | |
17712 | 16986 | =end original |
17713 | 16987 | |
17714 | 16988 | (W misc) VMS に固有の警告です。 |
17715 | 16989 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
17716 | 16990 | 結果の文字列が 1024 文字を越えました。 |
17717 | 16991 | 返り値は 1024 文字に切り詰められます。 |
17718 | 16992 | |
17719 | 16993 | =item Variable "%s" is not available |
17720 | 16994 | |
17721 | 16995 | =begin original |
17722 | 16996 | |
17723 | 16997 | (W closure) During compilation, an inner named subroutine or eval is |
17724 | 16998 | attempting to capture an outer lexical that is not currently available. |
17725 | 16999 | This can happen for one of two reasons. First, the outer lexical may be |
17726 | 17000 | declared in an outer anonymous subroutine that has not yet been created. |
17727 | 17001 | (Remember that named subs are created at compile time, while anonymous |
17728 | 17002 | subs are created at run-time.) For example, |
17729 | 17003 | |
17730 | 17004 | =end original |
17731 | 17005 | |
17732 | 17006 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が |
17733 | 17007 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 |
17734 | 17008 | これは二つの理由で起こります。 |
17735 | 17009 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで |
17736 | 17010 | 定義されている場合です。 |
17737 | 17011 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは |
17738 | 17012 | 実行時に作成されることを思い出してください。) |
17739 | 17013 | 例えば、 |
17740 | 17014 | |
17741 | 17015 | sub { my $a; sub f { $a } } |
17742 | 17016 | |
17743 | 17017 | =begin original |
17744 | 17018 | |
17745 | 17019 | At the time that f is created, it can't capture the current value of $a, |
17746 | 17020 | since the anonymous subroutine hasn't been created yet. Conversely, |
17747 | 17021 | the following won't give a warning since the anonymous subroutine has by |
17748 | 17022 | now been created and is live: |
17749 | 17023 | |
17750 | 17024 | =end original |
17751 | 17025 | |
17752 | 17026 | f が作成された時点で、$a の現在の値を捕捉できません; |
17753 | 17027 | なぜなら無名サブルーチンはまだ作成されていないからです。 |
17754 | 17028 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて |
17755 | 17029 | 生きているからです: |
17756 | 17030 | |
17757 | 17031 | sub { my $a; eval 'sub f { $a }' }->(); |
17758 | 17032 | |
17759 | 17033 | =begin original |
17760 | 17034 | |
17761 | 17035 | The second situation is caused by an eval accessing a variable that has |
17762 | 17036 | gone out of scope, for example, |
17763 | 17037 | |
17764 | 17038 | =end original |
17765 | 17039 | |
17766 | 17040 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; |
17767 | 17041 | 例えば: |
17768 | 17042 | |
17769 | 17043 | sub f { |
17770 | 17044 | my $a; |
17771 | 17045 | sub { eval '$a' } |
17772 | 17046 | } |
17773 | 17047 | f()->(); |
17774 | 17048 | |
17775 | 17049 | =begin original |
17776 | 17050 | |
17777 | 17051 | Here, when the '$a' in the eval is being compiled, f() is not currently |
17778 | 17052 | being executed, so its $a is not available for capture. |
17779 | 17053 | |
17780 | 17054 | =end original |
17781 | 17055 | |
17782 | 17056 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ |
17783 | 17057 | 実行されていないので、この $a は捕捉出来ません。 |
17784 | 17058 | |
17785 | 17059 | =item Variable "%s" is not imported%s |
17786 | 17060 | |
17787 | 17061 | =begin original |
17788 | 17062 | |
17789 | 17063 | (S misc) With "use strict" in effect, you referred to a global variable |
17790 | 17064 | that you apparently thought was imported from another module, because |
17791 | 17065 | something else of the same name (usually a subroutine) is exported by |
17792 | 17066 | that module. It usually means you put the wrong funny character on the |
17793 | front of your variable. | |
17067 | front of your variable. | |
17794 | whose scope has ended. | |
17795 | 17068 | |
17796 | 17069 | =end original |
17797 | 17070 | |
17798 | 17071 | (S misc) "use strict" が有効のときに、見たところ他のモジュールから |
17799 | 17072 | インポートされたとあなたが考えたグローバル変数を参照しました; |
17800 | 17073 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
17801 | 17074 | エクスポートされています。 |
17802 | 17075 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
17803 | スコープが終わっている "our" 変数を使った可能性もあります。 | |
17804 | 17076 | |
17805 | 17077 | =item Variable length lookbehind not implemented in regex m/%s/ |
17806 | 17078 | |
17807 | 17079 | =begin original |
17808 | 17080 | |
17809 | (F) | |
17081 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
17810 | retained in this document as a convenience for people using an earlier | |
17811 | Perl version. | |
17812 | ||
17813 | =end original | |
17814 | ||
17815 | (F) B<このメッセージは Perl 5.30 からもはや発生しません。> | |
17816 | これはより古いバージョンの Perl を使っている人々が便利なように | |
17817 | この文書に残しています。 | |
17818 | ||
17819 | =begin original | |
17820 | ||
17821 | In Perl 5.30 and earlier, lookbehind is allowed | |
17822 | only for subexpressions whose length is fixed and | |
17823 | 17082 | known at compile time. For positive lookbehind, you can use the C<\K> |
17824 | 17083 | regex construct as a way to get the equivalent functionality. See |
17825 | 17084 | L<(?<=pattern) and \K in perlre|perlre/\K>. |
17826 | 17085 | |
17827 | 17086 | =end original |
17828 | 17087 | |
17829 | ||
17088 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ | |
17830 | ||
17089 | 可能です。 | |
17831 | 17090 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 |
17832 | 17091 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 |
17833 | 17092 | |
17834 | 17093 | =begin original |
17835 | 17094 | |
17836 | ||
17095 | There are non-obvious Unicode rules under C</i> that can match variably, | |
17837 | ||
17096 | but which you might not think could. For example, the substring C<"ss"> | |
17838 | ||
17097 | can match the single character LATIN SMALL LETTER SHARP S. There are | |
17839 | ||
17098 | other sequences of ASCII characters that can match single ligature | |
17840 | a | |
17099 | characters, such as LATIN SMALL LIGATURE FFI matching C<qr/ffi/i>. | |
17100 | Starting in Perl v5.16, if you only care about ASCII matches, adding the | |
17101 | C</aa> modifier to the regex will exclude all these non-obvious matches, | |
17102 | thus getting rid of this message. You can also say C<S<use re qw(/aa)>> | |
17103 | to apply C</aa> to all regular expressions compiled within its scope. | |
17104 | See L<re>. | |
17841 | 17105 | |
17842 | 17106 | =end original |
17843 | 17107 | |
17844 | ||
17108 | C</i> の基では、おそらくあなたが考えていないような種類のものに | |
17845 | ||
17109 | マッチングするという、明確でない Unicode の規則があります。 | |
17846 | 17110 | 例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に |
17847 | 17111 | マッチングします。 |
17848 | ||
17112 | ASCII 文字並びが単一の合字にマッチングするパターンとしては、 | |
17113 | LATIN SMALL LIGATURE FFI が C<qr/ffi/i> にマッチングするといったものが | |
17850 | ||
17114 | あります。 | |
17851 | ||
17115 | Perl v5.16 から、もし ASCII のマッチングにだけ関心があるのなら、 | |
17852 | | |
17116 | 正規表現に C</aa> を追加することでこれらの明確でないマッチングを全て | |
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 | |
17861 | ||
17862 | =begin original | |
17863 | ||
17864 | This list is subject to change, but is quite unlikely to. | |
17865 | Each ASCII sequence can be any combination of upper- and lowercase. | |
17866 | ||
17867 | =end original | |
17868 | ||
17869 | この一覧は変更されるかもしれませんが、かなり起こりにくいです。 | |
17870 | それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。 | |
17871 | ||
17872 | =begin original | |
17873 | ||
17874 | You can avoid this by using a bracketed character class in the | |
17875 | lookbehind assertion, like | |
17876 | ||
17877 | =end original | |
17878 | ||
17879 | 次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます: | |
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 | 17117 | 除くことができるので、このメッセージを避けられます。 |
17906 | また、 | |
17118 | また、C<S<use re qw(/aa)>> とすることで、スコープ内でコンパイルされた全ての | |
17119 | 正規表現に対して C</aa> を適用します。 | |
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 | 17120 | L<re> を参照してください。 |
17919 | 17121 | |
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 | 17122 | =item "%s" variable %s masks earlier declaration in same %s |
17965 | 17123 | |
17966 | 17124 | =begin original |
17967 | 17125 | |
17968 | (W s | |
17126 | (W misc) A "my", "our" or "state" variable has been redeclared in the | |
17969 | 17127 | current scope or statement, effectively eliminating all access to the |
17970 | 17128 | previous instance. This is almost always a typographical error. Note |
17971 | 17129 | that the earlier variable will still exist until the end of the scope |
17972 | 17130 | or until all closure references to it are destroyed. |
17973 | 17131 | |
17974 | 17132 | =end original |
17975 | 17133 | |
17976 | (W s | |
17134 | (W misc) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
17977 | 17135 | 以前の実体への全てのアクセスができなくなりました。 |
17978 | 17136 | これはほとんど常にタイプミスです。 |
17979 | 17137 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが |
17980 | 17138 | 破壊されるまでは存在し続けることに注意してください。 |
17981 | 17139 | |
17982 | 17140 | =item Variable syntax |
17983 | 17141 | |
17984 | 17142 | =begin original |
17985 | 17143 | |
17986 | 17144 | (A) You've accidentally run your script through B<csh> instead |
17987 | 17145 | of Perl. Check the #! line, or manually feed your script into |
17988 | 17146 | Perl yourself. |
17989 | 17147 | |
17990 | 17148 | =end original |
17991 | 17149 | |
17992 | 17150 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
17993 | #! 行を | |
17151 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
17994 | 17152 | |
17995 | 17153 | =item Variable "%s" will not stay shared |
17996 | 17154 | |
17997 | 17155 | =begin original |
17998 | 17156 | |
17999 | 17157 | (W closure) An inner (nested) I<named> subroutine is referencing a |
18000 | 17158 | lexical variable defined in an outer named subroutine. |
18001 | 17159 | |
18002 | 17160 | =end original |
18003 | 17161 | |
18004 | 17162 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
18005 | 17163 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 |
18006 | 17164 | |
18007 | 17165 | =begin original |
18008 | 17166 | |
18009 | 17167 | When the inner subroutine is called, it will see the value of |
18010 | 17168 | the outer subroutine's variable as it was before and during the *first* |
18011 | 17169 | call to the outer subroutine; in this case, after the first call to the |
18012 | 17170 | outer subroutine is complete, the inner and outer subroutines will no |
18013 | 17171 | longer share a common value for the variable. In other words, the |
18014 | 17172 | variable will no longer be shared. |
18015 | 17173 | |
18016 | 17174 | =end original |
18017 | 17175 | |
18018 | 17176 | 内側のサブルーチンが呼び出されるとき、 |
18019 | 17177 | 外側のサブルーチンの変数の値は、 |
18020 | 17178 | 「最初の」外側のサブルーチンへの呼び出し前および呼び出し中のものになります; |
18021 | 17179 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 |
18022 | 17180 | 内側と外側のサブルーチンはこの変数に関して同じ値を共有しなくなります。 |
18023 | 17181 | 言い換えると、この変数はもはや共有されません。 |
18024 | 17182 | |
18025 | 17183 | =begin original |
18026 | 17184 | |
18027 | 17185 | This problem can usually be solved by making the inner subroutine |
18028 | 17186 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
18029 | 17187 | reference variables in outer subroutines are created, they |
18030 | 17188 | are automatically rebound to the current values of such variables. |
18031 | 17189 | |
18032 | 17190 | =end original |
18033 | 17191 | |
18034 | 17192 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
18035 | 17193 | 解決します。 |
18036 | 17194 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
18037 | 17195 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 |
18038 | 17196 | |
18039 | 17197 | =item vector argument not supported with alpha versions |
18040 | 17198 | |
18041 | 17199 | =begin original |
18042 | 17200 | |
18043 | 17201 | (S printf) The %vd (s)printf format does not support version objects |
18044 | 17202 | with alpha parts. |
18045 | 17203 | |
18046 | 17204 | =end original |
18047 | 17205 | |
18048 | 17206 | (S printf) %vd (s)printf フォーマットはアルファ部分のある |
18049 | 17207 | バージョンオブジェクトに対応していません。 |
18050 | 17208 | |
18051 | 17209 | =item Verb pattern '%s' has a mandatory argument in regex; marked by |
18052 | 17210 | S<<-- HERE> in m/%s/ |
18053 | 17211 | |
18054 | 17212 | =begin original |
18055 | 17213 | |
18056 | 17214 | (F) You used a verb pattern that requires an argument. Supply an |
18057 | 17215 | argument or check that you are using the right verb. |
18058 | 17216 | |
18059 | 17217 | =end original |
18060 | 17218 | |
18061 | 17219 | (F) 引き数が必要な動詞パターンを使いました。 |
18062 | 17220 | 引き数を追加するか、正しい動詞を使ってください。 |
18063 | 17221 | |
18064 | 17222 | =item Verb pattern '%s' may not have an argument in regex; marked by |
18065 | 17223 | S<<-- HERE> in m/%s/ |
18066 | 17224 | |
18067 | 17225 | =begin original |
18068 | 17226 | |
18069 | 17227 | (F) You used a verb pattern that is not allowed an argument. Remove the |
18070 | 17228 | argument or check that you are using the right verb. |
18071 | 17229 | |
18072 | 17230 | =end original |
18073 | 17231 | |
18074 | 17232 | (F) 引き数が認められていない動詞パターンを使いました。 |
18075 | 17233 | 引き数を削除するか、正しい動詞を使ってください。 |
18076 | 17234 | |
18077 | 17235 | =item Version control conflict marker |
18078 | 17236 | |
18079 | 17237 | =begin original |
18080 | 17238 | |
18081 | 17239 | (F) The parser found a line starting with C<E<lt><<<<<<>, |
18082 | 17240 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a |
18083 | 17241 | version control system to mark conflicts after a failed merge operation. |
18084 | 17242 | |
18085 | 17243 | =end original |
18086 | 17244 | |
18087 | 17245 | (F) パーサは C<E<lt><<<<<<>, |
18088 | 17246 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 |
18089 | 17247 | これらはマージ操作に失敗したあと衝突を記録するために |
18090 | 17248 | バージョン制御システムによって残されたものかもしれません。 |
18091 | 17249 | |
18092 | 17250 | =item Version number must be a constant number |
18093 | 17251 | |
18094 | 17252 | =begin original |
18095 | 17253 | |
18096 | 17254 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
18097 | 17255 | its equivalent C<BEGIN> block found an internal inconsistency with |
18098 | 17256 | the version number. |
18099 | 17257 | |
18100 | 17258 | =end original |
18101 | 17259 | |
18102 | 17260 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
18103 | 17261 | したときに、バージョン番号について内部の不整合を発見しました。 |
18104 | 17262 | |
18105 | 17263 | =item Version string '%s' contains invalid data; ignoring: '%s' |
18106 | 17264 | |
18107 | 17265 | =begin original |
18108 | 17266 | |
18109 | 17267 | (W misc) The version string contains invalid characters at the end, which |
18110 | 17268 | are being ignored. |
18111 | 17269 | |
18112 | 17270 | =end original |
18113 | 17271 | |
18114 | 17272 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は |
18115 | 17273 | 無視されます。 |
18116 | 17274 | |
18117 | 17275 | =item Warning: something's wrong |
18118 | 17276 | |
18119 | 17277 | =begin original |
18120 | 17278 | |
18121 | 17279 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
18122 | 17280 | you called it with no args and C<$@> was empty. |
18123 | 17281 | |
18124 | 17282 | =end original |
18125 | 17283 | |
18126 | 17284 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
18127 | 17285 | 引数なしで呼び出され、C<$@> も空でした。 |
18128 | 17286 | |
18129 | 17287 | =item Warning: unable to close filehandle %s properly |
18130 | 17288 | |
18131 | 17289 | =begin original |
18132 | 17290 | |
18133 | 17291 | (S) The implicit close() done by an open() got an error indication on |
18134 | 17292 | the close(). This usually indicates your file system ran out of disk |
18135 | 17293 | space. |
18136 | 17294 | |
18137 | 17295 | =end original |
18138 | 17296 | |
18139 | 17297 | (S) open() によって暗黙のうちに行なわれる close() が、 |
18140 | 17298 | close() のエラーとなりました。 |
18141 | 17299 | 通常、ファイルシステムがいっぱいであることを示します。 |
18142 | 17300 | |
18143 | 17301 | =item Warning: unable to close filehandle properly: %s |
18144 | 17302 | |
18145 | 17303 | =item Warning: unable to close filehandle %s properly: %s |
18146 | 17304 | |
18147 | 17305 | =begin original |
18148 | 17306 | |
18149 | 17307 | (S io) There were errors during the implicit close() done on a filehandle |
18150 | 17308 | when its reference count reached zero while it was still open, e.g.: |
18151 | 17309 | |
18152 | 17310 | =end original |
18153 | 17311 | |
18154 | 17312 | (S io) まだ開いているけれども参照カウントがゼロになったときに |
18155 | 17313 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; |
18156 | 17314 | 例えば: |
18157 | 17315 | |
18158 | 17316 | { |
18159 | 17317 | open my $fh, '>', $file or die "open: '$file': $!\n"; |
18160 | 17318 | print $fh $data or die "print: $!"; |
18161 | 17319 | } # implicit close here |
18162 | 17320 | |
18163 | 17321 | =begin original |
18164 | 17322 | |
18165 | 17323 | Because various errors may only be detected by close() (e.g. buffering could |
18166 | 17324 | allow the C<print> in this example to return true even when the disk is full), |
18167 | 17325 | it is dangerous to ignore its result. So when it happens implicitly, perl |
18168 | 17326 | will signal errors by warning. |
18169 | 17327 | |
18170 | 17328 | =end original |
18171 | 17329 | |
18172 | 17330 | 様々なエラーは close() によってのみ検出される |
18173 | 17331 | (バッファリングによって、この例の C<print> はディスクフルの場合でも |
18174 | 17332 | 真を返すことが可能です)ので、 |
18175 | 17333 | その結果を無視するのは危険です。 |
18176 | 17334 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 |
18177 | 17335 | |
18178 | 17336 | =begin original |
18179 | 17337 | |
18180 | 17338 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown |
18181 | 17339 | above was liable to cause B<silent data loss>. |
18182 | 17340 | |
18183 | 17341 | =end original |
18184 | 17342 | |
18185 | 17343 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; |
18186 | 17344 | 従って、前述のような一般的な慣用句は |
18187 | 17345 | B<暗黙なデータの損失> を引き起こすことがありました。 |
18188 | 17346 | |
18189 | 17347 | =item Warning: Use of "%s" without parentheses is ambiguous |
18190 | 17348 | |
18191 | 17349 | =begin original |
18192 | 17350 | |
18193 | 17351 | (S ambiguous) You wrote a unary operator followed by something that |
18194 | 17352 | looks like a binary operator that could also have been interpreted as a |
18195 | 17353 | term or unary operator. For instance, if you know that the rand |
18196 | 17354 | function has a default argument of 1.0, and you write |
18197 | 17355 | |
18198 | 17356 | =end original |
18199 | 17357 | |
18200 | 17358 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
18201 | 17359 | 二項演算子のようなものが置かれました。 |
18202 | 17360 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
18203 | 17361 | いれば、以下のように書いて: |
18204 | 17362 | |
18205 | 17363 | rand + 5; |
18206 | 17364 | |
18207 | 17365 | =begin original |
18208 | 17366 | |
18209 | 17367 | you may THINK you wrote the same thing as |
18210 | 17368 | |
18211 | 17369 | =end original |
18212 | 17370 | |
18213 | 17371 | 以下の同じことと思うかもしれませんが: |
18214 | 17372 | |
18215 | 17373 | rand() + 5; |
18216 | 17374 | |
18217 | 17375 | =begin original |
18218 | 17376 | |
18219 | 17377 | but in actual fact, you got |
18220 | 17378 | |
18221 | 17379 | =end original |
18222 | 17380 | |
18223 | 17381 | 実際には以下のようになります: |
18224 | 17382 | |
18225 | 17383 | rand(+5); |
18226 | 17384 | |
18227 | 17385 | =begin original |
18228 | 17386 | |
18229 | 17387 | So put in parentheses to say what you really mean. |
18230 | 17388 | |
18231 | 17389 | =end original |
18232 | 17390 | |
18233 | 17391 | したがって、思うように解釈させるには、かっこが必要になります。 |
18234 | 17392 | |
18235 | 17393 | =item when is experimental |
18236 | 17394 | |
18237 | 17395 | =begin original |
18238 | 17396 | |
18239 | 17397 | (S experimental::smartmatch) C<when> depends on smartmatch, which is |
18240 | 17398 | experimental. Additionally, it has several special cases that may |
18241 | 17399 | not be immediately obvious, and their behavior may change or |
18242 | 17400 | even be removed in any future release of perl. See the explanation |
18243 | 17401 | under L<perlsyn/Experimental Details on given and when>. |
18244 | 17402 | |
18245 | 17403 | =end original |
18246 | 17404 | |
18247 | 17405 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに |
18248 | 17406 | 依存しています。 |
18249 | 17407 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その |
18250 | 17408 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 |
18251 | 17409 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 |
18252 | 17410 | |
18253 | 17411 | =item Wide character in %s |
18254 | 17412 | |
18255 | 17413 | =begin original |
18256 | 17414 | |
18257 | (S utf8) Perl met a wide character ( | |
17415 | (S utf8) Perl met a wide character (>255) when it wasn't expecting | |
18258 | ||
17416 | one. This warning is by default on for I/O (like print). The easiest | |
17417 | way to quiet this warning is simply to add the C<:utf8> layer to the | |
18260 | ||
17418 | output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the | |
17419 | warning is to add C<no warnings 'utf8';> but that is often closer to | |
18262 | (S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。 | |
18263 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
18264 | ||
18265 | =begin original | |
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 | 17420 | cheating. In general, you are supposed to explicitly mark the |
18272 | 17421 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. |
18273 | 17422 | |
18274 | 17423 | =end original |
18275 | 17424 | |
18276 | ||
17425 | (S utf8) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 | |
18277 | ||
17426 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
17427 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
18278 | 17428 | 出力に単に C<:utf8> 層を追加することです。 |
18279 | もう一つの方法は | |
17429 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
18280 | 17430 | しばしばいかさまに近い方法です。 |
18281 | 17431 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに |
18282 | 17432 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 |
18283 | 17433 | |
18284 | =begin original | |
18285 | ||
18286 | If the warning comes from other than I/O, this diagnostic probably | |
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. | |
18290 | ||
18291 | =end original | |
18292 | ||
18293 | この警告が I/O 以外からのものなら、この診断メッセージは | |
18294 | おそらく正しくない結果が得られたことを意味しています。 | |
18295 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
18296 | 決定するために、ソースコードを調べる必要があります。 | |
18297 | ||
18298 | 17434 | =item Wide character (U+%X) in %s |
18299 | 17435 | |
18300 | 17436 | =begin original |
18301 | 17437 | |
18302 | 17438 | (W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8 |
18303 | 17439 | one), a multi-byte character was encountered. Perl considers this |
18304 | 17440 | character to be the specified Unicode code point. Combining non-UTF-8 |
18305 | 17441 | locales and Unicode is dangerous. Almost certainly some characters |
18306 | 17442 | will have two different representations. For example, in the ISO 8859-7 |
18307 | 17443 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so |
18308 | 17444 | also does 0x393. This will make string comparisons unreliable. |
18309 | 17445 | |
18310 | 17446 | =end original |
18311 | 17447 | |
18312 | 17448 | (W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、 |
18313 | 17449 | 複数バイト文字に遭遇しました。 |
18314 | 17450 | Perl はこの文字を指定された Unicode 符号位置として扱います。 |
18315 | 17451 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 |
18316 | 17452 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 |
18317 | 17453 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 |
18318 | 17454 | 符号位置 0xC3 は Capital Gamma を表現します。 |
18319 | 17455 | しかし 0x393 も同じです。 |
18320 | 17456 | これは文字列比較を信頼できないものにします。 |
18321 | 17457 | |
18322 | 17458 | =begin original |
18323 | 17459 | |
18324 | 17460 | You likely need to figure out how this multi-byte character got mixed up |
18325 | 17461 | with your single-byte locale (or perhaps you thought you had a UTF-8 |
18326 | 17462 | locale, but Perl disagrees). |
18327 | 17463 | |
18328 | 17464 | =end original |
18329 | 17465 | |
18330 | 17466 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを |
18331 | 17467 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを |
18332 | 17468 | 使っていると考えているけれども Perl は同意していないのでしょう)。 |
18333 | 17469 | |
18334 | 17470 | =item Within []-length '%c' not allowed |
18335 | 17471 | |
18336 | 17472 | =begin original |
18337 | 17473 | |
18338 | 17474 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> |
18339 | 17475 | only if C<TEMPLATE> always matches the same amount of packed bytes that |
18340 | 17476 | can be determined from the template alone. This is not possible if |
18341 | 17477 | it contains any of the codes @, /, U, u, w or a *-length. Redesign |
18342 | 17478 | the template. |
18343 | 17479 | |
18344 | 17480 | =end original |
18345 | 17481 | |
18346 | 17482 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に |
18347 | 17483 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する |
18348 | 17484 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 |
18349 | 17485 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 |
18350 | 17486 | テンプレートを再設計してください。 |
18351 | 17487 | |
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"?) | |
18353 | ||
18354 | =begin original | |
18355 | ||
18356 | (W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded | |
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 | |
18360 | ||
18361 | =end original | |
18362 | ||
18363 | (W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、 | |
18364 | 結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを | |
18365 | 選んだ可能性があります。 | |
18366 | これが意図的な場合は、次のようにして: | |
18367 | ||
18368 | @Missing::Package::ISA = (); | |
18369 | ||
18370 | =begin original | |
18371 | ||
18372 | to silence the warnings, otherwise you should correct the package name, or | |
18373 | ensure that the package is loaded prior to the method call. | |
18374 | ||
18375 | =end original | |
18376 | ||
18377 | この警告を黙らせられます; さもなければパッケージ名を修正するか、 | |
18378 | パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。 | |
18379 | ||
18380 | 17488 | =item %s() with negative argument |
18381 | 17489 | |
18382 | 17490 | =begin original |
18383 | 17491 | |
18384 | 17492 | (S misc) Certain operations make no sense with negative arguments. |
18385 | 17493 | Warning is given and the operation is not done. |
18386 | 17494 | |
18387 | 17495 | =end original |
18388 | 17496 | |
18389 | 17497 | (S misc) 一部の操作は負の引数は意味がありません。 |
18390 | 17498 | 警告が出力され、操作は行われません。 |
18391 | 17499 | |
18392 | 17500 | =item write() on closed filehandle %s |
18393 | 17501 | |
18394 | 17502 | =begin original |
18395 | 17503 | |
18396 | 17504 | (W closed) The filehandle you're writing to got itself closed sometime |
18397 | 17505 | before now. Check your control flow. |
18398 | 17506 | |
18399 | 17507 | =end original |
18400 | 17508 | |
18401 | 17509 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
18402 | 17510 | 制御フローをチェックしてください。 |
18403 | 17511 | |
18404 | 17512 | =item %s "\x%X" does not map to Unicode |
18405 | 17513 | |
18406 | 17514 | =begin original |
18407 | 17515 | |
18408 | 17516 | (S utf8) When reading in different encodings, Perl tries to |
18409 | 17517 | map everything into Unicode characters. The bytes you read |
18410 | 17518 | in are not legal in this encoding. For example |
18411 | 17519 | |
18412 | 17520 | =end original |
18413 | 17521 | |
18414 | 17522 | (S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に |
18415 | 17523 | マッピングしようとします。 |
18416 | 17524 | 読み込んだバイトはこのエンコーディングでは不正でした。 |
18417 | 17525 | 例えば: |
18418 | 17526 | |
18419 | 17527 | utf8 "\xE4" does not map to Unicode |
18420 | 17528 | |
18421 | 17529 | =begin original |
18422 | 17530 | |
18423 | 17531 | if you try to read in the a-diaereses Latin-1 as UTF-8. |
18424 | 17532 | |
18425 | 17533 | =end original |
18426 | 17534 | |
18427 | 17535 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 |
18428 | 17536 | |
18429 | 17537 | =item 'X' outside of string |
18430 | 17538 | |
18431 | 17539 | =begin original |
18432 | 17540 | |
18433 | 17541 | (F) You had a (un)pack template that specified a relative position before |
18434 | 17542 | the beginning of the string being (un)packed. See L<perlfunc/pack>. |
18435 | 17543 | |
18436 | 17544 | =end original |
18437 | 17545 | |
18438 | 17546 | (F) (un)pack している文字列の最後より後の相対位置を示している |
18439 | 17547 | (un)pack テンプレートを指定しました。 |
18440 | 17548 | L<perlfunc/pack> を参照してください。 |
18441 | 17549 | |
18442 | 17550 | =item 'x' outside of string in unpack |
18443 | 17551 | |
18444 | 17552 | =begin original |
18445 | 17553 | |
18446 | 17554 | (F) You had a pack template that specified a relative position after |
18447 | 17555 | the end of the string being unpacked. See L<perlfunc/pack>. |
18448 | 17556 | |
18449 | 17557 | =end original |
18450 | 17558 | |
18451 | 17559 | (F) unpack している文字列の最後より後の相対位置を示している |
18452 | 17560 | pack テンプレートを指定しました。 |
18453 | 17561 | L<perlfunc/pack> を参照してください。 |
18454 | 17562 | |
18455 | 17563 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
18456 | 17564 | |
18457 | 17565 | =begin original |
18458 | 17566 | |
18459 | 17567 | (F) And you probably never will, because you probably don't have the |
18460 | 17568 | sources to your kernel, and your vendor probably doesn't give a rip |
18461 | about what you want. | |
17569 | about what you want. Your best bet is to put a setuid C wrapper around | |
18462 | ||
17570 | your script. | |
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. | |
18465 | 17571 | |
18466 | 17572 | =end original |
18467 | 17573 | |
18468 | 17574 | (F) そして、そうすることはできないでしょう; カーネルのソースは |
18469 | 17575 | お持ちではないでしょうし、ベンダも欲しいものを提供しては |
18470 | 17576 | くれないでしょうから。 |
18471 | set | |
17577 | もっとも良いのは、スクリプトに setuid C ラッパーを被せることです。 | |
18472 | それを閉じるためには実行しようとしているスクリプトから | |
18473 | set-id ビットを削除する必要があります。 | |
18474 | 実際にスクリプトを set-id で実行するために | |
18475 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
18476 | 17578 | |
18477 | 17579 | =item You need to quote "%s" |
18478 | 17580 | |
18479 | 17581 | =begin original |
18480 | 17582 | |
18481 | 17583 | (W syntax) You assigned a bareword as a signal handler name. |
18482 | 17584 | Unfortunately, you already have a subroutine of that name declared, |
18483 | 17585 | which means that Perl 5 will try to call the subroutine when the |
18484 | 17586 | assignment is executed, which is probably not what you want. (If it IS |
18485 | 17587 | what you want, put an & in front.) |
18486 | 17588 | |
18487 | 17589 | =end original |
18488 | 17590 | |
18489 | 17591 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
18490 | 17592 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 |
18491 | 17593 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 |
18492 | 17594 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) |
18493 | 17595 | |
18494 | 17596 | =item Your random numbers are not that random |
18495 | 17597 | |
18496 | 17598 | =begin original |
18497 | 17599 | |
18498 | 17600 | (F) When trying to initialize the random seed for hashes, Perl could |
18499 | 17601 | not get any randomness out of your system. This usually indicates |
18500 | 17602 | Something Very Wrong. |
18501 | 17603 | |
18502 | 17604 | =end original |
18503 | 17605 | |
18504 | 17606 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから |
18505 | 17607 | 何の乱数性も得られませんでした。 |
18506 | 17608 | これは普通「何かとても具合が悪い」ことを示しています。 |
18507 | 17609 | |
18508 | 17610 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ |
18509 | 17611 | |
18510 | 17612 | =begin original |
18511 | 17613 | |
18512 | 17614 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length |
18513 | 17615 | sequence. Such an escape was used in an extended character class, i.e. |
18514 | 17616 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check |
18515 | 17617 | that the correct escape has been used, and the correct charnames handler |
18516 | 17618 | is in scope. The S<<-- HERE> shows whereabouts in the regular |
18517 | 17619 | expression the problem was discovered. |
18518 | 17620 | |
18519 | 17621 | =end original |
18520 | 17622 | |
18521 | 17623 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを |
18522 | 17624 | 返すことがあります。 |
18523 | 17625 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 |
18524 | 17626 | あるいは C<use re 'strict'> の基で使われました; |
18525 | 17627 | これは認められていません。 |
18526 | 17628 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に |
18527 | 17629 | あるかをチェックしてください。 |
18528 | 17630 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
18529 | 17631 | |
18530 | 17632 | =back |
18531 | 17633 | |
18532 | 17634 | =head1 SEE ALSO |
18533 | 17635 | |
18534 | 17636 | L<warnings>, L<diagnostics>. |
18535 | 17637 | |
18536 | 17638 | =cut |
18537 | 17639 | |
18538 | 17640 | =begin meta |
18539 | 17641 | |
18540 | 17642 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) |
18541 | 17643 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) |
18542 | Status: | |
17644 | Status: completed | |
18543 | 17645 | |
18544 | 17646 | =end meta |