perldiag >
5.22.1
との差分
perldiag 5.22.1 と 5.32.0 の差分
1 | 1 | |
2 | 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 | 160 | |
161 | 161 | no warnings "experimental::refaliasing"; |
162 | 162 | use feature "refaliasing"; |
163 | 163 | \$x = \$y; |
164 | 164 | |
165 | 165 | =item Allocation too large: %x |
166 | 166 | |
167 | 167 | =begin original |
168 | 168 | |
169 | 169 | (X) You can't allocate more than 64K on an MS-DOS machine. |
170 | 170 | |
171 | 171 | =end original |
172 | 172 | |
173 | 173 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
174 | 174 | |
175 | 175 | =item '%c' allowed only after types %s in %s |
176 | 176 | |
177 | 177 | =begin original |
178 | 178 | |
179 | 179 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only |
180 | 180 | after certain types. See L<perlfunc/pack>. |
181 | 181 | |
182 | 182 | =end original |
183 | 183 | |
184 | 184 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの |
185 | 185 | 後にのみつけることができます。 |
186 | 186 | L<perlfunc/pack> を参照してください。 |
187 | 187 | |
188 | =item alpha->numify() is lossy | |
189 | ||
190 | =begin original | |
191 | ||
192 | (W numeric) An alpha version can not be numified without losing | |
193 | information. | |
194 | ||
195 | =end original | |
196 | ||
197 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
198 | ||
188 | 199 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
189 | 200 | |
190 | 201 | =begin original |
191 | 202 | |
192 | 203 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
193 | 204 | keyword, and you have used the name without qualification for calling |
194 | 205 | one or the other. Perl decided to call the builtin because the |
195 | 206 | subroutine is not imported. |
196 | 207 | |
197 | 208 | =end original |
198 | 209 | |
199 | 210 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
200 | 211 | どちらかを呼び出すために修飾なしで名前を使っています。 |
201 | 212 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを |
202 | 213 | 呼び出すことにしました。 |
203 | 214 | |
204 | 215 | =begin original |
205 | 216 | |
206 | 217 | To force interpretation as a subroutine call, either put an ampersand |
207 | 218 | before the subroutine name, or qualify the name with its package. |
208 | 219 | Alternatively, you can import the subroutine (or pretend that it's |
209 | 220 | imported with the C<use subs> pragma). |
210 | 221 | |
211 | 222 | =end original |
212 | 223 | |
213 | 224 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の |
214 | 225 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 |
215 | 226 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
216 | 227 | プラグマを使ってインポートされたふりをする)方法もあります。 |
217 | 228 | |
218 | 229 | =begin original |
219 | 230 | |
220 | 231 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
221 | 232 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine |
222 | 233 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
223 | 234 | L<attributes>). |
224 | 235 | |
225 | 236 | =end original |
226 | 237 | |
227 | 238 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
228 | 239 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
229 | 240 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
230 | 241 | 参照してください)として定義してください。 |
231 | 242 | |
232 | 243 | =item Ambiguous range in transliteration operator |
233 | 244 | |
234 | 245 | =begin original |
235 | 246 | |
236 | 247 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at |
237 | 248 | all. To include a C<-> character in a transliteration, put it either |
238 | 249 | first or last. (In the past, C<tr/a-z-0//> was synonymous with |
239 | 250 | C<tr/a-y//>, which was probably not what you would have expected.) |
240 | 251 | |
241 | 252 | =end original |
242 | 253 | |
243 | 254 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 |
244 | 255 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 |
245 | 256 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく |
246 | 257 | 予想していたものと違うでしょう。) |
247 | 258 | |
248 | 259 | =item Ambiguous use of %s resolved as %s |
249 | 260 | |
250 | 261 | =begin original |
251 | 262 | |
252 | 263 | (S ambiguous) You said something that may not be interpreted the way |
253 | 264 | you thought. Normally it's pretty easy to disambiguate it by supplying |
254 | 265 | a missing quote, operator, parenthesis pair or declaration. |
255 | 266 | |
256 | 267 | =end original |
257 | 268 | |
258 | 269 | (S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。 |
259 | 270 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり |
260 | 271 | 簡単にあいまいさを解消できます。 |
261 | 272 | |
262 | 273 | =item Ambiguous use of -%s resolved as -&%s() |
263 | 274 | |
264 | 275 | =begin original |
265 | 276 | |
266 | 277 | (S ambiguous) You wrote something like C<-foo>, which might be the |
267 | 278 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant |
268 | 279 | the string, just write C<"-foo">. If you meant the function call, |
269 | 280 | write C<-foo()>. |
270 | 281 | |
271 | 282 | =end original |
272 | 283 | |
273 | 284 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも |
274 | 285 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 |
275 | 286 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 |
276 | 287 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 |
277 | 288 | |
278 | 289 | =item Ambiguous use of %c resolved as operator %c |
279 | 290 | |
280 | 291 | =begin original |
281 | 292 | |
282 | 293 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, |
283 | 294 | bitwise and, and multiplication) I<and> initial special characters |
284 | 295 | (denoting hashes, subroutines and typeglobs), and you said something |
285 | 296 | like C<*foo * foo> that might be interpreted as either of them. We |
286 | 297 | assumed you meant the infix operator, but please try to make it more |
287 | 298 | clear -- in the example given, you might write C<*foo * foo()> if you |
288 | 299 | really meant to multiply a glob by the result of calling a function. |
289 | 300 | |
290 | 301 | =end original |
291 | 302 | |
292 | 303 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) |
293 | 304 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の |
294 | 305 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが |
295 | 306 | 書かれました。 |
296 | 307 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように |
297 | 308 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の |
298 | 309 | 積を意味しているなら、C<*foo * foo()> と書けます。 |
299 | 310 | |
300 | 311 | =item Ambiguous use of %c{%s} resolved to %c%s |
301 | 312 | |
302 | 313 | =begin original |
303 | 314 | |
304 | 315 | (W ambiguous) You wrote something like C<@{foo}>, which might be |
305 | 316 | asking for the variable C<@foo>, or it might be calling a function |
306 | 317 | named foo, and dereferencing it as an array reference. If you wanted |
307 | 318 | the variable, you can just write C<@foo>. If you wanted to call the |
308 | 319 | function, write C<@{foo()}> ... or you could just not have a variable |
309 | 320 | and a function with the same name, and save yourself a lot of trouble. |
310 | 321 | |
311 | 322 | =end original |
312 | 323 | |
313 | 324 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと |
314 | 325 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 |
315 | 326 | リファレンスとしてデリファレンスするかもしれません。 |
316 | 327 | もし変数がほしいなら、単に C<@foo> と書いてください。 |
317 | 328 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に |
318 | 329 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を |
319 | 330 | 守れます。 |
320 | 331 | |
321 | 332 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] |
322 | 333 | |
323 | 334 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} |
324 | 335 | |
325 | 336 | =begin original |
326 | 337 | |
327 | 338 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents |
328 | 339 | the name of a Perl keyword), which might be looking for element number |
329 | 340 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you |
330 | 341 | might have meant to pass an anonymous arrayref to the function named |
331 | 342 | foo, and then do a scalar deref on the value it returns. If you meant |
332 | 343 | that, write C<${foo([2])}>. |
333 | 344 | |
334 | 345 | =end original |
335 | 346 | |
336 | 347 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の |
337 | 348 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を |
338 | 349 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 |
339 | 350 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ |
340 | 351 | デリファレンスしているのかも知れません。 |
341 | 352 | それを意味しているなら、C<${foo([2])}> と書いてください。 |
342 | 353 | |
343 | 354 | =begin original |
344 | 355 | |
345 | 356 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary |
346 | 357 | to disambiguate between array subscripts and character classes. |
347 | 358 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed |
348 | 359 | by the character class C<[2345]>. If an array subscript is what you |
349 | 360 | want, you can avoid the warning by changing C</${length[2345]}/> to the |
350 | 361 | unsightly C</${\$length[2345]}/>, by renaming your array to something |
351 | 362 | that does not coincide with a built-in keyword, or by simply turning |
352 | 363 | off warnings with C<no warnings 'ambiguous';>. |
353 | 364 | |
354 | 365 | =end original |
355 | 366 | |
356 | 367 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために |
357 | 368 | 必要になります。 |
358 | 369 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が |
359 | 370 | 引き続くと解釈されます。 |
360 | 371 | 配列添え字が求めているものなら、C</${length[2345]}/> を |
361 | 372 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと |
362 | 373 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として |
363 | 374 | 警告をオフにする、のいずれかで警告を回避できます。 |
364 | 375 | |
365 | 376 | =item '|' and '<' may not both be specified on command line |
366 | 377 | |
367 | 378 | =begin original |
368 | 379 | |
369 | 380 | (F) An error peculiar to VMS. Perl does its own command line |
370 | 381 | redirection, and found that STDIN was a pipe, and that you also tried to |
371 | 382 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
372 | 383 | |
373 | 384 | =end original |
374 | 385 | |
375 | 386 | (F) VMS に固有のエラーです。 |
376 | 387 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
377 | 388 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
378 | 389 | しました。 |
379 | 390 | STDIN ストリームは一つだけにしてください; お願いします。 |
380 | 391 | |
381 | 392 | =item '|' and '>' may not both be specified on command line |
382 | 393 | |
383 | 394 | =begin original |
384 | 395 | |
385 | 396 | (F) An error peculiar to VMS. Perl does its own command line |
386 | 397 | redirection, and thinks you tried to redirect stdout both to a file and |
387 | 398 | into a pipe to another command. You need to choose one or the other, |
388 | 399 | though nothing's stopping you from piping into a program or Perl script |
389 | 400 | which 'splits' output into two streams, such as |
390 | 401 | |
391 | 402 | =end original |
392 | 403 | |
393 | 404 | (F) VMS に固有のエラーです。 |
394 | 405 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
395 | 406 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
396 | 407 | 判断しました。 |
397 | 408 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
398 | 409 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
399 | 410 | 何もありません。 |
400 | 411 | |
401 | 412 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
402 | 413 | while (<STDIN>) { |
403 | 414 | print; |
404 | 415 | print OUT; |
405 | 416 | } |
406 | 417 | close OUT; |
407 | 418 | |
408 | 419 | =item Applying %s to %s will act on scalar(%s) |
409 | 420 | |
410 | 421 | =begin original |
411 | 422 | |
412 | 423 | (W misc) The pattern match (C<//>), substitution (C<s///>), and |
413 | 424 | transliteration (C<tr///>) operators work on scalar values. If you apply |
414 | 425 | one of them to an array or a hash, it will convert the array or hash to |
415 | 426 | a scalar value (the length of an array, or the population info of a |
416 | 427 | hash) and then work on that scalar value. This is probably not what |
417 | 428 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
418 | 429 | alternatives. |
419 | 430 | |
420 | 431 | =end original |
421 | 432 | |
422 | 433 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 |
423 | 434 | (C<tr///>) 演算子はスカラ値に対して動作します。 |
424 | 435 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか |
425 | 436 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 |
426 | 437 | これはおそらくしたいこととは違うでしょう。 |
427 | 438 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
428 | 439 | |
429 | 440 | =item Arg too short for msgsnd |
430 | 441 | |
431 | 442 | =begin original |
432 | 443 | |
433 | 444 | (F) msgsnd() requires a string at least as long as sizeof(long). |
434 | 445 | |
435 | 446 | =end original |
436 | 447 | |
437 | 448 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 |
438 | 449 | |
439 | 450 | =item Argument "%s" isn't numeric%s |
440 | 451 | |
441 | 452 | =begin original |
442 | 453 | |
443 | 454 | (W numeric) The indicated string was fed as an argument to an operator |
444 | 455 | that expected a numeric value instead. If you're fortunate the message |
445 | 456 | will identify which operator was so unfortunate. |
446 | 457 | |
447 | 458 | =end original |
448 | 459 | |
449 | 460 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 |
450 | 461 | 与えられました。 |
451 | 462 | 運がよければ、このメッセージによって、どの演算子が問題となったかが |
452 | 463 | わかります。 |
453 | 464 | |
454 | 465 | =begin original |
455 | 466 | |
456 | 467 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the |
457 | 468 | definition of "numeric" is somewhat unusual: the strings themselves |
458 | 469 | (like "Inf") are considered numeric, and anything following them is |
459 | 470 | considered non-numeric. |
460 | 471 | |
461 | 472 | =end original |
462 | 473 | |
463 | 474 | Note that for the |
464 | 475 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し |
465 | 476 | 変わっていることに注意してください: |
466 | 477 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに |
467 | 478 | 何かが引き続いている場合は非数値として扱われます。 |
468 | 479 | |
469 | 480 | =item Argument list not closed for PerlIO layer "%s" |
470 | 481 | |
471 | 482 | =begin original |
472 | 483 | |
473 | 484 | (W layer) When pushing a layer with arguments onto the Perl I/O |
474 | 485 | system you forgot the ) that closes the argument list. (Layers |
475 | 486 | take care of transforming data between external and internal |
476 | 487 | representations.) Perl stopped parsing the layer list at this |
477 | 488 | point and did not attempt to push this layer. If your program |
478 | 489 | didn't explicitly request the failing operation, it may be the |
479 | 490 | result of the value of the environment variable PERLIO. |
480 | 491 | |
481 | 492 | =end original |
482 | 493 | |
483 | 494 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを |
484 | 495 | 閉じる ) を忘れています。 |
485 | 496 | (層はデータの外部表現と内部表現の変換を扱います。) |
486 | 497 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 |
487 | 498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
488 | 499 | 値が原因かもしれません。 |
489 | 500 | |
490 | 501 | =item Argument "%s" treated as 0 in increment (++) |
491 | 502 | |
492 | 503 | =begin original |
493 | 504 | |
494 | 505 | (W numeric) The indicated string was fed as an argument to the C<++> |
495 | 506 | operator which expects either a number or a string matching |
496 | 507 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and |
497 | 508 | Auto-decrement> for details. |
498 | 509 | |
499 | 510 | =end original |
500 | 511 | |
501 | 512 | (W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を |
502 | 513 | 想定しているC<++> 演算子に、示された文字列が指定されました。 |
503 | 514 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 |
504 | 515 | |
516 | =item Array passed to stat will be coerced to a scalar%s | |
517 | ||
518 | =begin original | |
519 | ||
520 | (W syntax) You called stat() on an array, but the array will be | |
521 | coerced to a scalar - the number of elements in the array. | |
522 | ||
523 | =end original | |
524 | ||
525 | (W syntax) 配列に対して stat() が呼び出されましたが、配列は | |
526 | スカラ - 配列の要素数 - に強制されました。 | |
527 | ||
528 | =item A signature parameter must start with '$', '@' or '%' | |
529 | ||
530 | =begin original | |
531 | ||
532 | (F) Each subroutine signature parameter declaration must start with a valid | |
533 | sigil; for example: | |
534 | ||
535 | =end original | |
536 | ||
537 | (F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で | |
538 | 始まらなければなりません; 例えば: | |
539 | ||
540 | sub foo ($a, $, $b = 1, @c) {} | |
541 | ||
542 | =item A slurpy parameter may not have a default value | |
543 | ||
544 | =begin original | |
545 | ||
546 | (F) Only scalar subroutine signature parameters may have a default value; | |
547 | for example: | |
548 | ||
549 | =end original | |
550 | ||
551 | (F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持てます; | |
552 | 例えば: | |
553 | ||
554 | sub foo ($a = 1) {} # legal | |
555 | sub foo (@a = (1)) {} # invalid | |
556 | sub foo (%a = (a => b)) {} # invalid | |
557 | ||
505 | 558 | =item assertion botched: %s |
506 | 559 | |
507 | 560 | =begin original |
508 | 561 | |
509 | 562 | (X) The malloc package that comes with Perl had an internal failure. |
510 | 563 | |
511 | 564 | =end original |
512 | 565 | |
513 | 566 | (X) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
514 | 567 | |
515 | 568 | =item Assertion %s failed: file "%s", line %d |
516 | 569 | |
517 | 570 | =begin original |
518 | 571 | |
519 | 572 | (X) A general assertion failed. The file in question must be examined. |
520 | 573 | |
521 | 574 | =end original |
522 | 575 | |
523 | 576 | (X) 一般的なアサーションが失敗しました。 |
524 | 577 | 問題の file を調べる必要があります。 |
525 | 578 | |
526 | 579 | =item Assigned value is not a reference |
527 | 580 | |
528 | 581 | =begin original |
529 | 582 | |
530 | 583 | (F) You tried to assign something that was not a reference to an lvalue |
531 | 584 | reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use |
532 | 585 | C<\$x = \$y>. |
533 | 586 | |
534 | 587 | =end original |
535 | 588 | |
536 | 589 | (F) リファレンスでないものを左辺値リファレンスに代入しようとしました |
537 | 590 | (例: C<\$x = $y>)。 |
538 | 591 | $x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。 |
539 | 592 | |
540 | 593 | =item Assigned value is not %s reference |
541 | 594 | |
542 | 595 | =begin original |
543 | 596 | |
544 | 597 | (F) You tried to assign a reference to a reference constructor, but the |
545 | 598 | two references were not of the same type. You cannot alias a scalar to |
546 | 599 | an array, or an array to a hash; the two types must match. |
547 | 600 | |
548 | 601 | =end original |
549 | 602 | |
550 | 603 | (F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、 |
551 | 604 | 二つのリファレンスが同じ型ではありません。 |
552 | 605 | スカラから配列への別名や配列からハッシュへの別名はできません; |
553 | 606 | 二つの型は一致していなければなりません。 |
554 | 607 | |
555 | 608 | \$x = \@y; # error |
556 | 609 | \@x = \%y; # error |
557 | 610 | $y = []; |
558 | 611 | \$x = $y; # error; did you mean \$y? |
559 | 612 | |
560 | 613 | =item Assigning non-zero to $[ is no longer possible |
561 | 614 | |
562 | 615 | =begin original |
563 | 616 | |
564 | (F) When the "array_base" feature is disabled | |
617 | (F) When the "array_base" feature is disabled | |
618 | (e.g., and under C<use v5.16;>, and as of Perl 5.30) | |
565 | 619 | the special variable C<$[>, which is deprecated, is now a fixed zero value. |
566 | 620 | |
567 | 621 | =end original |
568 | 622 | |
569 | (F) (C<use v5.16;> のように) "array_base" 機能が | |
623 | (F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が | |
570 | 特殊変数 C<$[> は 0 固定です。 | |
624 | 無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。 | |
571 | 625 | |
572 | 626 | =item Assignment to both a list and a scalar |
573 | 627 | |
574 | 628 | =begin original |
575 | 629 | |
576 | 630 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
577 | 631 | must either both be scalars or both be lists. Otherwise Perl won't |
578 | 632 | know which context to supply to the right side. |
579 | 633 | |
580 | 634 | =end original |
581 | 635 | |
582 | 636 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 |
583 | 637 | ともにスカラか、ともにリストでなければなりません。 |
584 | 638 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
585 | 639 | |
640 | =item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/ | |
641 | ||
642 | =begin original | |
643 | ||
644 | (W regexp) You had something like these: | |
645 | ||
646 | =end original | |
647 | ||
648 | (W regexp) 次のようなことをしました: | |
649 | ||
650 | [[:alnum]] | |
651 | [[:digit:xyz] | |
652 | ||
653 | =begin original | |
654 | ||
655 | They look like they might have been meant to be the POSIX classes | |
656 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
657 | ||
658 | =end original | |
659 | ||
660 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
661 | していたように見えます。 | |
662 | もしそうなら、次のように書くべきです: | |
663 | ||
664 | [[:alnum:]] | |
665 | [[:digit:]xyz] | |
666 | ||
667 | =begin original | |
668 | ||
669 | Since these aren't legal POSIX class specifications, but are legal | |
670 | bracketed character classes, Perl treats them as the latter. In the | |
671 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
672 | C<"m">, C<"n">, and C<"u">. | |
673 | ||
674 | =end original | |
675 | ||
676 | これらは有効な POSIX クラスしようではありませんが、有効な | |
677 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
678 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
679 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
680 | ||
681 | =begin original | |
682 | ||
683 | If these weren't meant to be POSIX classes, this warning message is | |
684 | spurious, and can be suppressed by reordering things, such as | |
685 | ||
686 | =end original | |
687 | ||
688 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
689 | 次のように文字を入れ替えることで抑制できます: | |
690 | ||
691 | [[al:num]] | |
692 | ||
693 | =begin original | |
694 | ||
695 | or | |
696 | ||
697 | =end original | |
698 | ||
699 | または | |
700 | ||
701 | [[:munla]] | |
702 | ||
586 | 703 | =item <> at require-statement should be quotes |
587 | 704 | |
588 | 705 | =begin original |
589 | 706 | |
590 | 707 | (F) You wrote C<< require <file> >> when you should have written |
591 | 708 | C<require 'file'>. |
592 | 709 | |
593 | 710 | =end original |
594 | 711 | |
595 | 712 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と |
596 | 713 | 書いています。 |
597 | 714 | |
598 | 715 | =item Attempt to access disallowed key '%s' in a restricted hash |
599 | 716 | |
600 | 717 | =begin original |
601 | 718 | |
602 | 719 | (F) The failing code has attempted to get or set a key which is not in |
603 | 720 | the current set of allowed keys of a restricted hash. |
604 | 721 | |
605 | 722 | =end original |
606 | 723 | |
607 | 724 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して |
608 | 725 | 取得または設定しようとして失敗しました。 |
609 | 726 | |
610 | 727 | =item Attempt to bless into a freed package |
611 | 728 | |
612 | 729 | =begin original |
613 | 730 | |
614 | 731 | (F) You wrote C<bless $foo> with one argument after somehow causing |
615 | 732 | the current package to be freed. Perl cannot figure out what to |
616 | do, so it throws up i | |
733 | do, so it throws up its hands in despair. | |
617 | 734 | |
618 | 735 | =end original |
619 | 736 | |
620 | 737 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の |
621 | 738 | C<bless $foo> を書きました。 |
622 | 739 | 何がしたいのかが分からないので Perl はお手上げになりました。 |
623 | 740 | |
624 | 741 | =item Attempt to bless into a reference |
625 | 742 | |
626 | 743 | =begin original |
627 | 744 | |
628 | 745 | (F) The CLASSNAME argument to the bless() operator is expected to be |
629 | 746 | the name of the package to bless the resulting object into. You've |
630 | 747 | supplied instead a reference to something: perhaps you wrote |
631 | 748 | |
632 | 749 | =end original |
633 | 750 | |
634 | 751 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する |
635 | 752 | パッケージ名を想定しています。 |
636 | 753 | そこに何かへのリファレンスが与えられました: |
637 | 754 | おそらく以下のようにしたのでしょう: |
638 | 755 | |
639 | 756 | bless $self, $proto; |
640 | 757 | |
641 | 758 | =begin original |
642 | 759 | |
643 | 760 | when you intended |
644 | 761 | |
645 | 762 | =end original |
646 | 763 | |
647 | 764 | 以下を意図していたはずです: |
648 | 765 | |
649 | 766 | bless $self, ref($proto) || $proto; |
650 | 767 | |
651 | 768 | =begin original |
652 | 769 | |
653 | 770 | If you actually want to bless into the stringified version |
654 | 771 | of the reference supplied, you need to stringify it yourself, for |
655 | 772 | example by: |
656 | 773 | |
657 | 774 | =end original |
658 | 775 | |
659 | 776 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 |
660 | 777 | 以下のようにして自分で文字列化する必要があります: |
661 | 778 | |
662 | 779 | bless $self, "$proto"; |
663 | 780 | |
664 | 781 | =item Attempt to clear deleted array |
665 | 782 | |
666 | 783 | =begin original |
667 | 784 | |
668 | 785 | (S debugging) An array was assigned to when it was being freed. |
669 | 786 | Freed values are not supposed to be visible to Perl code. This |
670 | 787 | can also happen if XS code calls C<av_clear> from a custom magic |
671 | 788 | callback on the array. |
672 | 789 | |
673 | 790 | =end original |
674 | 791 | |
675 | 792 | (S debugging) 配列が、解放されるときに代入されました。 |
676 | 793 | 解放された値は Perl コードからは見えないはずです。 |
677 | 794 | これはまた、XS コードが配列のカスタムマジックコールバックから |
678 | 795 | C<av_clear> を呼び出したときにも起こります。 |
679 | 796 | |
680 | 797 | =item Attempt to delete disallowed key '%s' from a restricted hash |
681 | 798 | |
682 | 799 | =begin original |
683 | 800 | |
684 | 801 | (F) The failing code attempted to delete from a restricted hash a key |
685 | 802 | which is not in its key set. |
686 | 803 | |
687 | 804 | =end original |
688 | 805 | |
689 | 806 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 |
690 | 807 | |
691 | 808 | =item Attempt to delete readonly key '%s' from a restricted hash |
692 | 809 | |
693 | 810 | =begin original |
694 | 811 | |
695 | 812 | (F) The failing code attempted to delete a key whose value has been |
696 | 813 | declared readonly from a restricted hash. |
697 | 814 | |
698 | 815 | =end original |
699 | 816 | |
700 | 817 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを |
701 | 818 | 削除しようとしました。 |
702 | 819 | |
703 | 820 | =item Attempt to free non-arena SV: 0x%x |
704 | 821 | |
705 | 822 | =begin original |
706 | 823 | |
707 | 824 | (S internal) All SV objects are supposed to be allocated from arenas |
708 | 825 | that will be garbage collected on exit. An SV was discovered to be |
709 | 826 | outside any of those arenas. |
710 | 827 | |
711 | 828 | =end original |
712 | 829 | |
713 | 830 | (S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが |
714 | 831 | 行なわれるアリーナに割り当てるようになっています。 |
715 | 832 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
716 | 833 | |
717 | 834 | =item Attempt to free nonexistent shared string '%s'%s |
718 | 835 | |
719 | 836 | =begin original |
720 | 837 | |
721 | 838 | (S internal) Perl maintains a reference-counted internal table of |
722 | 839 | strings to optimize the storage and access of hash keys and other |
723 | 840 | strings. This indicates someone tried to decrement the reference count |
724 | 841 | of a string that can no longer be found in the table. |
725 | 842 | |
726 | 843 | =end original |
727 | 844 | |
728 | 845 | (S internal) Perl はストレージおよびハッシュキーとその他の文字列への |
729 | 846 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 |
730 | 847 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを |
731 | 848 | 示します。 |
732 | 849 | |
733 | 850 | =item Attempt to free temp prematurely: SV 0x%x |
734 | 851 | |
735 | 852 | =begin original |
736 | 853 | |
737 | 854 | (S debugging) Mortalized values are supposed to be freed by the |
738 | 855 | free_tmps() routine. This indicates that something else is freeing the |
739 | 856 | SV before the free_tmps() routine gets a chance, which means that the |
740 | 857 | free_tmps() routine will be freeing an unreferenced scalar when it does |
741 | 858 | try to free it. |
742 | 859 | |
743 | 860 | =end original |
744 | 861 | |
745 | 862 | (S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように |
746 | 863 | なっています。 |
747 | 864 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
748 | 865 | 解放しようとしていることを示していて、これは、free_tmps() が |
749 | 866 | 解放しようとしたときには、どこからも参照されていないスカラを |
750 | 867 | 解放することになるということです。 |
751 | 868 | |
752 | 869 | =item Attempt to free unreferenced glob pointers |
753 | 870 | |
754 | 871 | =begin original |
755 | 872 | |
756 | 873 | (S internal) The reference counts got screwed up on symbol aliases. |
757 | 874 | |
758 | 875 | =end original |
759 | 876 | |
760 | 877 | (S internal) シンボルのエイリアスについて、参照カウントの値がおかしな |
761 | 878 | 状態になりました。 |
762 | 879 | |
763 | 880 | =item Attempt to free unreferenced scalar: SV 0x%x |
764 | 881 | |
765 | 882 | =begin original |
766 | 883 | |
767 | 884 | (S internal) Perl went to decrement the reference count of a scalar to |
768 | 885 | see if it would go to 0, and discovered that it had already gone to 0 |
769 | 886 | earlier, and should have been freed, and in fact, probably was freed. |
770 | 887 | This could indicate that SvREFCNT_dec() was called too many times, or |
771 | 888 | that SvREFCNT_inc() was called too few times, or that the SV was |
772 | 889 | mortalized when it shouldn't have been, or that memory has been |
773 | 890 | corrupted. |
774 | 891 | |
775 | 892 | =end original |
776 | 893 | |
777 | 894 | (S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に |
778 | 895 | なるかを見たところ、既に 0 になっていることがわかりました; |
779 | 896 | これは、既に解放されているべきものであり、実際は、おそらく、 |
780 | 897 | 解放されたものでしょう。 |
781 | 898 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
782 | 899 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
783 | 900 | メモリ異常になったことが考えられます。 |
784 | 901 | |
785 | 902 | =item Attempt to pack pointer to temporary value |
786 | 903 | |
787 | 904 | =begin original |
788 | 905 | |
789 | 906 | (W pack) You tried to pass a temporary value (like the result of a |
790 | 907 | function, or a computed expression) to the "p" pack() template. This |
791 | 908 | means the result contains a pointer to a location that could become |
792 | 909 | invalid anytime, even before the end of the current statement. Use |
793 | 910 | literals or global values as arguments to the "p" pack() template to |
794 | 911 | avoid this warning. |
795 | 912 | |
796 | 913 | =end original |
797 | 914 | |
798 | 915 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
799 | 916 | "p" テンプレートに渡そうとしました。 |
800 | 917 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
801 | 918 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか |
802 | 919 | グローバルな値を使ってください。 |
803 | 920 | |
804 | 921 | =item Attempt to reload %s aborted. |
805 | 922 | |
806 | 923 | =begin original |
807 | 924 | |
808 | 925 | (F) You tried to load a file with C<use> or C<require> that failed to |
809 | 926 | compile once already. Perl will not try to compile this file again |
810 | 927 | unless you delete its entry from %INC. See L<perlfunc/require> and |
811 | 928 | L<perlvar/%INC>. |
812 | 929 | |
813 | 930 | =end original |
814 | 931 | |
815 | 932 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で |
816 | 933 | 読み込もうとしました。 |
817 | 934 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを |
818 | 935 | コンパイルしようとはしません。 |
819 | 936 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 |
820 | 937 | |
821 | 938 | =item Attempt to set length of freed array |
822 | 939 | |
823 | 940 | =begin original |
824 | 941 | |
825 | 942 | (W misc) You tried to set the length of an array which has |
826 | 943 | been freed. You can do this by storing a reference to the |
827 | 944 | scalar representing the last index of an array and later |
828 | 945 | assigning through that reference. For example |
829 | 946 | |
830 | 947 | =end original |
831 | 948 | |
832 | 949 | (W misc) 既に解放された配列の長さを設定しようとしました。 |
833 | 950 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 |
834 | 951 | 後でこのリファレンスを通して代入することでこれを行えます。 |
835 | 952 | 例えば: |
836 | 953 | |
837 | 954 | $r = do {my @a; \$#a}; |
838 | 955 | $$r = 503 |
839 | 956 | |
840 | 957 | =item Attempt to use reference as lvalue in substr |
841 | 958 | |
842 | 959 | =begin original |
843 | 960 | |
844 | 961 | (W substr) You supplied a reference as the first argument to substr() |
845 | 962 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
846 | 963 | dereference it first. See L<perlfunc/substr>. |
847 | 964 | |
848 | 965 | =end original |
849 | 966 | |
850 | 967 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
851 | 968 | 渡しました; これはやや奇妙なことです。 |
852 | 969 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
853 | 970 | L<perlfunc/substr> を参照してください。 |
854 | 971 | |
855 | =item Attribute "locked" is deprecated | |
856 | ||
857 | =begin original | |
858 | ||
859 | (D deprecated) You have used the attributes pragma to modify the | |
860 | "locked" attribute on a code reference. The :locked attribute is | |
861 | obsolete, has had no effect since 5005 threads were removed, and | |
862 | will be removed in a future release of Perl 5. | |
863 | ||
864 | =end original | |
865 | ||
866 | (D deprecated) コードリファレンスの "locked" 属性を修正するために | |
867 | attributes プラグマを使いました。 | |
868 | :locked 属性は古いもので、5005 スレッドが削除されてから何の効果もなく、 | |
869 | 将来の Perl 5 のメジャーリリースで削除されます。 | |
870 | ||
871 | 972 | =item Attribute prototype(%s) discards earlier prototype attribute in same sub |
872 | 973 | |
873 | 974 | =begin original |
874 | 975 | |
875 | 976 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for |
876 | 977 | example. Since each sub can only have one prototype, the earlier |
877 | 978 | declaration(s) are discarded while the last one is applied. |
878 | 979 | |
879 | 980 | =end original |
880 | 981 | |
881 | 982 | (W misc) あるサブルーチンが、例えば |
882 | 983 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 |
883 | 984 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に |
884 | 985 | 宣言されたものは破棄され、最後のものが適用されます。 |
885 | 986 | |
886 | =item Attribute "unique" is deprecated | |
887 | ||
888 | =begin original | |
889 | ||
890 | (D deprecated) You have used the attributes pragma to modify | |
891 | the "unique" attribute on an array, hash or scalar reference. | |
892 | The :unique attribute has had no effect since Perl 5.8.8, and | |
893 | will be removed in a future release of Perl 5. | |
894 | ||
895 | =end original | |
896 | ||
897 | (D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を | |
898 | 修正するために attributes プラグマを使いました。 | |
899 | :unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー | |
900 | リリースで削除されます。 | |
901 | ||
902 | 987 | =item av_reify called on tied array |
903 | 988 | |
904 | 989 | =begin original |
905 | 990 | |
906 | 991 | (S debugging) This indicates that something went wrong and Perl got I<very> |
907 | 992 | confused about C<@_> or C<@DB::args> being tied. |
908 | 993 | |
909 | 994 | =end original |
910 | 995 | |
911 | 996 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが |
912 | 997 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 |
913 | 998 | |
914 | 999 | =item Bad arg length for %s, is %u, should be %d |
915 | 1000 | |
916 | 1001 | =begin original |
917 | 1002 | |
918 | 1003 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
919 | 1004 | or shmctl(). In C parlance, the correct sizes are, respectively, |
920 | 1005 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
921 | 1006 | S<sizeof(struct shmid_ds *)>. |
922 | 1007 | |
923 | 1008 | =end original |
924 | 1009 | |
925 | 1010 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
926 | 1011 | 渡してしまいました。 |
927 | 1012 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
928 | 1013 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
929 | 1014 | |
930 | 1015 | =item Bad evalled substitution pattern |
931 | 1016 | |
932 | 1017 | =begin original |
933 | 1018 | |
934 | 1019 | (F) You've used the C</e> switch to evaluate the replacement for a |
935 | 1020 | substitution, but perl found a syntax error in the code to evaluate, |
936 | 1021 | most likely an unexpected right brace '}'. |
937 | 1022 | |
938 | 1023 | =end original |
939 | 1024 | |
940 | 1025 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
941 | 1026 | いますが、評価するコードに文法エラーがありました; |
942 | 1027 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
943 | 1028 | |
944 | 1029 | =item Bad filehandle: %s |
945 | 1030 | |
946 | 1031 | =begin original |
947 | 1032 | |
948 | 1033 | (F) A symbol was passed to something wanting a filehandle, but the |
949 | 1034 | symbol has no filehandle associated with it. Perhaps you didn't do an |
950 | 1035 | open(), or did it in another package. |
951 | 1036 | |
952 | 1037 | =end original |
953 | 1038 | |
954 | 1039 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 |
955 | 1040 | それに伴うファイルハンドルがありません。 |
956 | 1041 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
957 | 1042 | |
958 | 1043 | =item Bad free() ignored |
959 | 1044 | |
960 | 1045 | =begin original |
961 | 1046 | |
962 | 1047 | (S malloc) An internal routine called free() on something that had never |
963 | 1048 | been malloc()ed in the first place. Mandatory, but can be disabled by |
964 | 1049 | setting environment variable C<PERL_BADFREE> to 0. |
965 | 1050 | |
966 | 1051 | =end original |
967 | 1052 | |
968 | 1053 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
969 | 1054 | free() を呼びました。 |
970 | 1055 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
971 | 1056 | |
972 | 1057 | =begin original |
973 | 1058 | |
974 | 1059 | This message can be seen quite often with DB_File on systems with "hard" |
975 | 1060 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> |
976 | 1061 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
977 | 1062 | |
978 | 1063 | =end original |
979 | 1064 | |
980 | 1065 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
981 | 1066 | 行うシステムで DB_File を使うとしばしば表示されます。 |
982 | 1067 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
983 | 1068 | C<Berkeley DB> のバグです。 |
984 | 1069 | |
985 | 1070 | =item Bad hash |
986 | 1071 | |
987 | 1072 | =begin original |
988 | 1073 | |
989 | 1074 | (P) One of the internal hash routines was passed a null HV pointer. |
990 | 1075 | |
991 | 1076 | =end original |
992 | 1077 | |
993 | 1078 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
994 | 1079 | |
995 | 1080 | =item Badly placed ()'s |
996 | 1081 | |
997 | 1082 | =begin original |
998 | 1083 | |
999 | 1084 | (A) You've accidentally run your script through B<csh> instead |
1000 | 1085 | of Perl. Check the #! line, or manually feed your script into |
1001 | 1086 | Perl yourself. |
1002 | 1087 | |
1003 | 1088 | =end original |
1004 | 1089 | |
1005 | 1090 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
1006 | 1091 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
1007 | 1092 | |
1008 | 1093 | =item Bad name after %s |
1009 | 1094 | |
1010 | 1095 | =begin original |
1011 | 1096 | |
1012 | 1097 | (F) You started to name a symbol by using a package prefix, and then |
1013 | 1098 | didn't finish the symbol. In particular, you can't interpolate outside |
1014 | 1099 | of quotes, so |
1015 | 1100 | |
1016 | 1101 | =end original |
1017 | 1102 | |
1018 | 1103 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが |
1019 | 1104 | 終了しませんでした。 |
1020 | 1105 | 特に、クォートの外で、変数展開はできませんから、 |
1021 | 1106 | |
1022 | 1107 | $var = 'myvar'; |
1023 | 1108 | $sym = mypack::$var; |
1024 | 1109 | |
1025 | 1110 | =begin original |
1026 | 1111 | |
1027 | 1112 | is not the same as |
1028 | 1113 | |
1029 | 1114 | =end original |
1030 | 1115 | |
1031 | 1116 | は、以下と同じではありません。 |
1032 | 1117 | |
1033 | 1118 | $var = 'myvar'; |
1034 | 1119 | $sym = "mypack::$var"; |
1035 | 1120 | |
1036 | 1121 | =item Bad plugin affecting keyword '%s' |
1037 | 1122 | |
1038 | 1123 | =begin original |
1039 | 1124 | |
1040 | 1125 | (F) An extension using the keyword plugin mechanism violated the |
1041 | 1126 | plugin API. |
1042 | 1127 | |
1043 | 1128 | =end original |
1044 | 1129 | |
1045 | 1130 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に |
1046 | 1131 | 違反しました。 |
1047 | 1132 | |
1048 | 1133 | =item Bad realloc() ignored |
1049 | 1134 | |
1050 | 1135 | =begin original |
1051 | 1136 | |
1052 | 1137 | (S malloc) An internal routine called realloc() on something that |
1053 | 1138 | had never been malloc()ed in the first place. Mandatory, but can |
1054 | 1139 | be disabled by setting the environment variable C<PERL_BADFREE> to 1. |
1055 | 1140 | |
1056 | 1141 | =end original |
1057 | 1142 | |
1058 | 1143 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
1059 | 1144 | realloc() を呼び出しました。 |
1060 | 1145 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
1061 | 1146 | |
1062 | 1147 | =item Bad symbol for array |
1063 | 1148 | |
1064 | 1149 | =begin original |
1065 | 1150 | |
1066 | 1151 | (P) An internal request asked to add an array entry to something that |
1067 | 1152 | wasn't a symbol table entry. |
1068 | 1153 | |
1069 | 1154 | =end original |
1070 | 1155 | |
1071 | 1156 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
1072 | 1157 | 内部要求があがりました。 |
1073 | 1158 | |
1074 | 1159 | =item Bad symbol for dirhandle |
1075 | 1160 | |
1076 | 1161 | =begin original |
1077 | 1162 | |
1078 | 1163 | (P) An internal request asked to add a dirhandle entry to something |
1079 | 1164 | that wasn't a symbol table entry. |
1080 | 1165 | |
1081 | 1166 | =end original |
1082 | 1167 | |
1083 | 1168 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを |
1084 | 1169 | 登録するような内部要求があがりました。 |
1085 | 1170 | |
1086 | 1171 | =item Bad symbol for filehandle |
1087 | 1172 | |
1088 | 1173 | =begin original |
1089 | 1174 | |
1090 | 1175 | (P) An internal request asked to add a filehandle entry to something |
1091 | 1176 | that wasn't a symbol table entry. |
1092 | 1177 | |
1093 | 1178 | =end original |
1094 | 1179 | |
1095 | 1180 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
1096 | 1181 | 登録するような内部要求があがりました。 |
1097 | 1182 | |
1098 | 1183 | =item Bad symbol for hash |
1099 | 1184 | |
1100 | 1185 | =begin original |
1101 | 1186 | |
1102 | 1187 | (P) An internal request asked to add a hash entry to something that |
1103 | 1188 | wasn't a symbol table entry. |
1104 | 1189 | |
1105 | 1190 | =end original |
1106 | 1191 | |
1107 | 1192 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
1108 | 1193 | 登録するような内部要求があがった。 |
1109 | 1194 | |
1110 | 1195 | =item Bad symbol for scalar |
1111 | 1196 | |
1112 | 1197 | =begin original |
1113 | 1198 | |
1114 | 1199 | (P) An internal request asked to add a scalar entry to something that |
1115 | 1200 | wasn't a symbol table entry. |
1116 | 1201 | |
1117 | 1202 | =end original |
1118 | 1203 | |
1119 | 1204 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを |
1120 | 1205 | 追加するよう要求がありました。 |
1121 | 1206 | |
1122 | 1207 | =item Bareword found in conditional |
1123 | 1208 | |
1124 | 1209 | =begin original |
1125 | 1210 | |
1126 | 1211 | (W bareword) The compiler found a bareword where it expected a |
1127 | 1212 | conditional, which often indicates that an || or && was parsed as part |
1128 | 1213 | of the last argument of the previous construct, for example: |
1129 | 1214 | |
1130 | 1215 | =end original |
1131 | 1216 | |
1132 | 1217 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; |
1133 | 1218 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
1134 | 1219 | パースされたことを意味します; 例えば: |
1135 | 1220 | |
1136 | 1221 | open FOO || die; |
1137 | 1222 | |
1138 | 1223 | =begin original |
1139 | 1224 | |
1140 | 1225 | It may also indicate a misspelled constant that has been interpreted as |
1141 | 1226 | a bareword: |
1142 | 1227 | |
1143 | 1228 | =end original |
1144 | 1229 | |
1145 | 1230 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
1146 | 1231 | 示している場合もあります: |
1147 | 1232 | |
1148 | 1233 | use constant TYPO => 1; |
1149 | 1234 | if (TYOP) { print "foo" } |
1150 | 1235 | |
1151 | 1236 | =begin original |
1152 | 1237 | |
1153 | 1238 | The C<strict> pragma is useful in avoiding such errors. |
1154 | 1239 | |
1155 | 1240 | =end original |
1156 | 1241 | |
1157 | 1242 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
1158 | 1243 | |
1244 | =item Bareword in require contains "%s" | |
1245 | ||
1246 | =item Bareword in require maps to disallowed filename "%s" | |
1247 | ||
1248 | =item Bareword in require maps to empty filename | |
1249 | ||
1250 | =begin original | |
1251 | ||
1252 | (F) The bareword form of require has been invoked with a filename which could | |
1253 | not have been generated by a valid bareword permitted by the parser. You | |
1254 | shouldn't be able to get this error from Perl code, but XS code may throw it | |
1255 | if it passes an invalid module name to C<Perl_load_module>. | |
1256 | ||
1257 | =end original | |
1258 | ||
1259 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって | |
1260 | 生成することができないファイル名で起動されました。 | |
1261 | このエラーを Perl コードから得るようにできるべきではありませんが、 | |
1262 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは | |
1263 | これを投げるかもしれません。 | |
1264 | ||
1265 | =item Bareword in require must not start with a double-colon: "%s" | |
1266 | ||
1267 | =begin original | |
1268 | ||
1269 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a | |
1270 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. | |
1271 | ||
1272 | =end original | |
1273 | ||
1274 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから | |
1275 | 開始することはできません。 | |
1276 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 | |
1277 | ||
1159 | 1278 | =item Bareword "%s" not allowed while "strict subs" in use |
1160 | 1279 | |
1161 | 1280 | =begin original |
1162 | 1281 | |
1163 | 1282 | (F) With "strict subs" in use, a bareword is only allowed as a |
1164 | 1283 | subroutine identifier, in curly brackets or to the left of the "=>" |
1165 | 1284 | symbol. Perhaps you need to predeclare a subroutine? |
1166 | 1285 | |
1167 | 1286 | =end original |
1168 | 1287 | |
1169 | 1288 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 |
1170 | 1289 | シンボル "=>" の左側でのみ許されます。 |
1171 | 1290 | おそらくサブルーチンを先行宣言する必要があるのでは? |
1172 | 1291 | |
1173 | 1292 | =item Bareword "%s" refers to nonexistent package |
1174 | 1293 | |
1175 | 1294 | =begin original |
1176 | 1295 | |
1177 | 1296 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
1178 | 1297 | compiler saw no other uses of that namespace before that point. Perhaps |
1179 | 1298 | you need to predeclare a package? |
1180 | 1299 | |
1181 | 1300 | =end original |
1182 | 1301 | |
1183 | 1302 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
1184 | 1303 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
1185 | 1304 | 発見できませんでした。 |
1186 | 1305 | おそらくパッケージを専攻宣言する必要があるのでは? |
1187 | 1306 | |
1188 | 1307 | =item BEGIN failed--compilation aborted |
1189 | 1308 | |
1190 | 1309 | =begin original |
1191 | 1310 | |
1192 | 1311 | (F) An untrapped exception was raised while executing a BEGIN |
1193 | 1312 | subroutine. Compilation stops immediately and the interpreter is |
1194 | 1313 | exited. |
1195 | 1314 | |
1196 | 1315 | =end original |
1197 | 1316 | |
1198 | 1317 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 |
1199 | 1318 | コンパイルは即座に停止し、インタプリタは中止します。 |
1200 | 1319 | |
1201 | 1320 | =item BEGIN not safe after errors--compilation aborted |
1202 | 1321 | |
1203 | 1322 | =begin original |
1204 | 1323 | |
1205 | 1324 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
1206 | 1325 | implies a C<BEGIN {}>) after one or more compilation errors had already |
1207 | 1326 | occurred. Since the intended environment for the C<BEGIN {}> could not |
1208 | 1327 | be guaranteed (due to the errors), and since subsequent code likely |
1209 | 1328 | depends on its correct operation, Perl just gave up. |
1210 | 1329 | |
1211 | 1330 | =end original |
1212 | 1331 | |
1213 | 1332 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
1214 | 1333 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 |
1215 | 1334 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは |
1216 | 1335 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 |
1217 | 1336 | |
1218 | 1337 | =item \%d better written as $%d |
1219 | 1338 | |
1220 | 1339 | =begin original |
1221 | 1340 | |
1222 | 1341 | (W syntax) Outside of patterns, backreferences live on as variables. |
1223 | 1342 | The use of backslashes is grandfathered on the right-hand side of a |
1224 | 1343 | substitution, but stylistically it's better to use the variable form |
1225 | 1344 | because other Perl programmers will expect it, and it works better if |
1226 | 1345 | there are more than 9 backreferences. |
1227 | 1346 | |
1228 | 1347 | =end original |
1229 | 1348 | |
1230 | 1349 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1231 | 1350 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の |
1232 | 1351 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 |
1233 | 1352 | 変数形式を使う方が良いでしょう。 |
1234 | 1353 | |
1235 | 1354 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1236 | 1355 | |
1237 | 1356 | =begin original |
1238 | 1357 | |
1239 | 1358 | (W portable) The binary number you specified is larger than 2**32-1 |
1240 | 1359 | (4294967295) and therefore non-portable between systems. See |
1241 | 1360 | L<perlport> for more on portability concerns. |
1242 | 1361 | |
1243 | 1362 | =end original |
1244 | 1363 | |
1245 | 1364 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1246 | 1365 | システム間での移植性がありません。 |
1247 | 1366 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1248 | 1367 | |
1249 | 1368 | =item bind() on closed socket %s |
1250 | 1369 | |
1251 | 1370 | =begin original |
1252 | 1371 | |
1253 | 1372 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1254 | 1373 | check the return value of your socket() call? See L<perlfunc/bind>. |
1255 | 1374 | |
1256 | 1375 | =end original |
1257 | 1376 | |
1258 | 1377 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1259 | 1378 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1260 | 1379 | L<perlfunc/bind> を参照してください。 |
1261 | 1380 | |
1262 | 1381 | =item binmode() on closed filehandle %s |
1263 | 1382 | |
1264 | 1383 | =begin original |
1265 | 1384 | |
1266 | 1385 | (W unopened) You tried binmode() on a filehandle that was never opened. |
1267 | 1386 | Check your control flow and number of arguments. |
1268 | 1387 | |
1269 | 1388 | =end original |
1270 | 1389 | |
1271 | 1390 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 |
1272 | 1391 | 制御フローと引数の数をチェックしてください。 |
1273 | 1392 | |
1274 | 1393 | =item Bit vector size > 32 non-portable |
1275 | 1394 | |
1276 | 1395 | =begin original |
1277 | 1396 | |
1278 | 1397 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
1279 | 1398 | |
1280 | 1399 | =end original |
1281 | 1400 | |
1282 | 1401 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
1283 | 1402 | |
1284 | 1403 | =item Bizarre copy of %s |
1285 | 1404 | |
1286 | 1405 | =begin original |
1287 | 1406 | |
1288 | 1407 | (P) Perl detected an attempt to copy an internal value that is not |
1289 | 1408 | copiable. |
1290 | 1409 | |
1291 | 1410 | =end original |
1292 | 1411 | |
1293 | 1412 | (P) コピーできない内部の値をコピーしようとしました。 |
1294 | 1413 | |
1295 | 1414 | =item Bizarre SvTYPE [%d] |
1296 | 1415 | |
1297 | 1416 | =begin original |
1298 | 1417 | |
1299 | 1418 | (P) When starting a new thread or returning values from a thread, Perl |
1300 | 1419 | encountered an invalid data type. |
1301 | 1420 | |
1302 | 1421 | =end original |
1303 | 1422 | |
1304 | 1423 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な |
1305 | 1424 | データ型に遭遇しました。 |
1306 | 1425 | |
1307 | 1426 | =item Both or neither range ends should be Unicode in regex; marked by |
1308 | 1427 | S<<-- HERE> in m/%s/ |
1309 | 1428 | |
1310 | 1429 | =begin original |
1311 | 1430 | |
1312 | 1431 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
1313 | 1432 | |
1314 | 1433 | =end original |
1315 | 1434 | |
1316 | 1435 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) |
1317 | 1436 | |
1318 | 1437 | =begin original |
1319 | 1438 | |
1320 | 1439 | In a bracketed character class in a regular expression pattern, you |
1321 | 1440 | had a range which has exactly one end of it specified using C<\N{}>, and |
1322 | 1441 | the other end is specified using a non-portable mechanism. Perl treats |
1323 | 1442 | the range as a Unicode range, that is, all the characters in it are |
1324 | 1443 | considered to be the Unicode characters, and which may be different code |
1325 | 1444 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> |
1326 | 1445 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it |
1327 | 1446 | matches the characters whose code points in Unicode are 6, 7, and 8. |
1328 | 1447 | But that C<\x08> might indicate that you meant something different, so |
1329 | 1448 | the warning gets raised. |
1330 | 1449 | |
1331 | 1450 | =end original |
1332 | 1451 | |
1333 | 1452 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って |
1334 | 1453 | 指定し、もう片方は移植性のない方法を使って指定しました。 |
1335 | 1454 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は |
1336 | 1455 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは |
1337 | 1456 | 異なる符号位置になるかもしれません。 |
1338 | 1457 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と |
1339 | 1458 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 |
1340 | 1459 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 |
1341 | 1460 | 警告が発生します。 |
1342 | 1461 | |
1343 | 1462 | =item Buffer overflow in prime_env_iter: %s |
1344 | 1463 | |
1345 | 1464 | =begin original |
1346 | 1465 | |
1347 | 1466 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1348 | 1467 | iterate over %ENV, it encountered a logical name or symbol definition |
1349 | 1468 | which was too long, so it was truncated to the string shown. |
1350 | 1469 | |
1351 | 1470 | =end original |
1352 | 1471 | |
1353 | 1472 | (W internal) VMS に固有の警告です。 |
1354 | 1473 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 |
1355 | 1474 | 文字列は表示したように切り詰められました。 |
1356 | 1475 | |
1357 | 1476 | =item Callback called exit |
1358 | 1477 | |
1359 | 1478 | =begin original |
1360 | 1479 | |
1361 | 1480 | (F) A subroutine invoked from an external package via call_sv() |
1362 | 1481 | exited by calling exit. |
1363 | 1482 | |
1364 | 1483 | =end original |
1365 | 1484 | |
1366 | 1485 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで |
1367 | 1486 | 終了しました。 |
1368 | 1487 | |
1369 | 1488 | =item %s() called too early to check prototype |
1370 | 1489 | |
1371 | 1490 | =begin original |
1372 | 1491 | |
1373 | 1492 | (W prototype) You've called a function that has a prototype before the |
1374 | 1493 | parser saw a definition or declaration for it, and Perl could not check |
1375 | 1494 | that the call conforms to the prototype. You need to either add an |
1376 | 1495 | early prototype declaration for the subroutine in question, or move the |
1377 | 1496 | subroutine definition ahead of the call to get proper prototype |
1378 | 1497 | checking. Alternatively, if you are certain that you're calling the |
1379 | 1498 | function correctly, you may put an ampersand before the name to avoid |
1380 | 1499 | the warning. See L<perlsub>. |
1381 | 1500 | |
1382 | 1501 | =end original |
1383 | 1502 | |
1384 | 1503 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1385 | 1504 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1386 | 1505 | 従っているかどうかをチェックできませんでした。 |
1387 | 1506 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1388 | 1507 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1389 | 1508 | 移動させる必要があります。 |
1390 | 1509 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1391 | 1510 | アンパサンドを付けることで警告を回避できます。 |
1392 | 1511 | L<perlsub> を参照してください。 |
1393 | 1512 | |
1394 | =item Ca | |
1513 | =item Cannot chr %f | |
1395 | 1514 | |
1396 | 1515 | =begin original |
1397 | 1516 | |
1398 | ( | |
1517 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. | |
1399 | the function's name in L<POSIX> for details. | |
1400 | 1518 | |
1401 | 1519 | =end original |
1402 | 1520 | |
1403 | ( | |
1521 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 | |
1404 | 詳しくは L<POSIX> の関数名を参照してください。 | |
1405 | 1522 | |
1406 | =item Cannot c | |
1523 | =item Cannot complete in-place edit of %s: %s | |
1407 | 1524 | |
1408 | 1525 | =begin original |
1409 | 1526 | |
1410 | (F) You p | |
1527 | (F) Your perl script appears to have changed directory while | |
1528 | performing an in-place edit of a file specified by a relative path, | |
1529 | and your system doesn't include the directory relative POSIX functions | |
1530 | needed to handle that. | |
1411 | 1531 | |
1412 | 1532 | =end original |
1413 | 1533 | |
1414 | (F) | |
1534 | (F) perl スクリプトが、相対パスで指定されたファイルのその場編集を | |
1535 | 実行中にディレクトリを変更し、システムにはこれに対応するために必要な | |
1536 | ディレクトリ相対 POSIX 関数がないようです。 | |
1415 | 1537 | |
1416 | 1538 | =item Cannot compress %f in pack |
1417 | 1539 | |
1418 | 1540 | =begin original |
1419 | 1541 | |
1420 | 1542 | (F) You tried compressing an infinity or not-a-number as an unsigned |
1421 | 1543 | integer with BER, which makes no sense. |
1422 | 1544 | |
1423 | 1545 | =end original |
1424 | 1546 | |
1425 | 1547 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 |
1426 | 1548 | |
1427 | 1549 | =item Cannot compress integer in pack |
1428 | 1550 | |
1429 | 1551 | =begin original |
1430 | 1552 | |
1431 | 1553 | (F) An argument to pack("w",...) was too large to compress. |
1432 | 1554 | The BER compressed integer format can only be used with positive |
1433 | 1555 | integers, and you attempted to compress a very large number (> 1e308). |
1434 | 1556 | See L<perlfunc/pack>. |
1435 | 1557 | |
1436 | 1558 | =end original |
1437 | 1559 | |
1438 | 1560 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 |
1439 | 1561 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 |
1440 | 1562 | (> 1e308) を圧縮しようとしました。 |
1441 | 1563 | L<perlfunc/pack> を参照してください。 |
1442 | 1564 | |
1443 | 1565 | =item Cannot compress negative numbers in pack |
1444 | 1566 | |
1445 | 1567 | =begin original |
1446 | 1568 | |
1447 | 1569 | (F) An argument to pack("w",...) was negative. The BER compressed integer |
1448 | 1570 | format can only be used with positive integers. See L<perlfunc/pack>. |
1449 | 1571 | |
1450 | 1572 | =end original |
1451 | 1573 | |
1452 | 1574 | (F) pack("w",...) の引数が負数です。 |
1453 | 1575 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 |
1454 | 1576 | L<perlfunc/pack> を参照してください。 |
1455 | 1577 | |
1456 | 1578 | =item Cannot convert a reference to %s to typeglob |
1457 | 1579 | |
1458 | 1580 | =begin original |
1459 | 1581 | |
1460 | 1582 | (F) You manipulated Perl's symbol table directly, stored a reference |
1461 | 1583 | in it, then tried to access that symbol via conventional Perl syntax. |
1462 | 1584 | The access triggers Perl to autovivify that typeglob, but it there is |
1463 | 1585 | no legal conversion from that type of reference to a typeglob. |
1464 | 1586 | |
1465 | 1587 | =end original |
1466 | 1588 | |
1467 | 1589 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に |
1468 | 1590 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって |
1469 | 1591 | アクセスしようとしました。 |
1470 | 1592 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 |
1471 | 1593 | リファレンス型から型グロブへの正当な変換方法はありません。 |
1472 | 1594 | |
1473 | 1595 | =item Cannot copy to %s |
1474 | 1596 | |
1475 | 1597 | =begin original |
1476 | 1598 | |
1477 | 1599 | (P) Perl detected an attempt to copy a value to an internal type that cannot |
1478 | 1600 | be directly assigned to. |
1479 | 1601 | |
1480 | 1602 | =end original |
1481 | 1603 | |
1482 | 1604 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを |
1483 | 1605 | 検出しました。 |
1484 | 1606 | |
1485 | 1607 | =item Cannot find encoding "%s" |
1486 | 1608 | |
1487 | 1609 | =begin original |
1488 | 1610 | |
1489 | 1611 | (S io) You tried to apply an encoding that did not exist to a filehandle, |
1490 | 1612 | either with open() or binmode(). |
1491 | 1613 | |
1492 | 1614 | =end original |
1493 | 1615 | |
1494 | 1616 | (S io) open() または binmode() のファイルハンドルに存在しない |
1495 | 1617 | エンコーディングを適用しようとしました。 |
1496 | 1618 | |
1619 | =item Cannot open %s as a dirhandle: it is already open as a filehandle | |
1620 | ||
1621 | =begin original | |
1622 | ||
1623 | (F) You tried to use opendir() to associate a dirhandle to a symbol (glob | |
1624 | or scalar) that already holds a filehandle. Since this idiom might render | |
1625 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1626 | is a fatal error. | |
1627 | ||
1628 | =end original | |
1629 | ||
1630 | (F) すでにファイルハンドルを保持しているシンボル | |
1631 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
1632 | opendir() を使おうとしました。 | |
1633 | この用法はコードを間違えて解釈する可能性があるので、 | |
1634 | Perl 5.10 で廃止予定になりました。 | |
1635 | Perl 5.28 から、これは致命的エラーです。 | |
1636 | ||
1637 | =item Cannot open %s as a filehandle: it is already open as a dirhandle | |
1638 | ||
1639 | =begin original | |
1640 | ||
1641 | (F) You tried to use open() to associate a filehandle to a symbol (glob | |
1642 | or scalar) that already holds a dirhandle. Since this idiom might render | |
1643 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1644 | is a fatal error. | |
1645 | ||
1646 | =end original | |
1647 | ||
1648 | (F) すでにディレクトリハンドルを保持しているシンボル | |
1649 | (グロブまたはスカラ)にファイルハンドルを関連付けるために | |
1650 | open() を使おうとしました。 | |
1651 | この用法はコードを間違えて解釈する可能性があるので、 | |
1652 | Perl 5.10 で廃止予定になりました。 | |
1653 | Perl 5.28 から、これは致命的エラーです。 | |
1654 | ||
1497 | 1655 | =item Cannot pack %f with '%c' |
1498 | 1656 | |
1499 | 1657 | =begin original |
1500 | 1658 | |
1501 | 1659 | (F) You tried converting an infinity or not-a-number to an integer, |
1502 | 1660 | which makes no sense. |
1503 | 1661 | |
1504 | 1662 | =end original |
1505 | 1663 | |
1506 | 1664 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 |
1507 | 1665 | |
1508 | 1666 | =item Cannot printf %f with '%c' |
1509 | 1667 | |
1510 | 1668 | =begin original |
1511 | 1669 | |
1512 | 1670 | (F) You tried printing an infinity or not-a-number as a character (%c), |
1513 | 1671 | which makes no sense. Maybe you meant '%s', or just stringifying it? |
1514 | 1672 | |
1515 | 1673 | =end original |
1516 | 1674 | |
1517 | 1675 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 |
1518 | 1676 | おそらく '%s' か、単に文字列化したかったのでは? |
1519 | 1677 | |
1520 | 1678 | =item Cannot set tied @DB::args |
1521 | 1679 | |
1522 | 1680 | =begin original |
1523 | 1681 | |
1524 | 1682 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> |
1525 | 1683 | is not supported. (Before this error was added, it used to crash.) |
1526 | 1684 | |
1527 | 1685 | =end original |
1528 | 1686 | |
1529 | 1687 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 |
1530 | 1688 | C<@DB::args> の tie は非対応です。 |
1531 | 1689 | (このエラーが追加する前は、クラッシュしていました。) |
1532 | 1690 | |
1533 | 1691 | =item Cannot tie unreifiable array |
1534 | 1692 | |
1535 | 1693 | =begin original |
1536 | 1694 | |
1537 | 1695 | (P) You somehow managed to call C<tie> on an array that does not |
1538 | 1696 | keep a reference count on its arguments and cannot be made to |
1539 | 1697 | do so. Such arrays are not even supposed to be accessible to |
1540 | 1698 | Perl code, but are only used internally. |
1541 | 1699 | |
1542 | 1700 | =end original |
1543 | 1701 | |
1544 | 1702 | (P) 参照カウントを保持していない配列を引数にして C<tie> を |
1545 | 1703 | 呼び出そうとしましたがそうできませんでした。 |
1546 | 1704 | このような配列は Perl コードからアクセスできると想定してはならず、 |
1547 | 1705 | 内部だけで使われます。 |
1548 | 1706 | |
1707 | =item Cannot yet reorder sv_vcatpvfn() arguments from va_list | |
1708 | ||
1709 | =begin original | |
1710 | ||
1711 | (F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a | |
1712 | format string that specifies explicit indexes for some of the elements, and | |
1713 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
1714 | supported. XS authors wanting to do this must instead construct a C array | |
1715 | of C<SV*> scalars containing the arguments. | |
1716 | ||
1717 | =end original | |
1718 | ||
1719 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
1720 | フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、 | |
1721 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
1722 | これは現在のところ対応していません。 | |
1723 | これをしたい XS 作者は代わりに、引数を含む | |
1724 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
1725 | ||
1549 | 1726 | =item Can only compress unsigned integers in pack |
1550 | 1727 | |
1551 | 1728 | =begin original |
1552 | 1729 | |
1553 | 1730 | (F) An argument to pack("w",...) was not an integer. The BER compressed |
1554 | 1731 | integer format can only be used with positive integers, and you attempted |
1555 | 1732 | to compress something else. See L<perlfunc/pack>. |
1556 | 1733 | |
1557 | 1734 | =end original |
1558 | 1735 | |
1559 | 1736 | (F) pack("w",...) の引数が整数ではありません。 |
1560 | 1737 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを |
1561 | 1738 | 圧縮しようとしました。 |
1562 | 1739 | L<perlfunc/pack> を参照してください。 |
1563 | 1740 | |
1564 | 1741 | =item Can't bless non-reference value |
1565 | 1742 | |
1566 | 1743 | =begin original |
1567 | 1744 | |
1568 | 1745 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1569 | 1746 | encapsulation of objects. See L<perlobj>. |
1570 | 1747 | |
1571 | 1748 | =end original |
1572 | 1749 | |
1573 | 1750 | (F) ハードリファレンスのみが bless できます。 |
1574 | 1751 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1575 | 1752 | L<perlobj> を参照してください。 |
1576 | 1753 | |
1577 | 1754 | =item Can't "break" in a loop topicalizer |
1578 | 1755 | |
1579 | 1756 | =begin original |
1580 | 1757 | |
1581 | 1758 | (F) You called C<break>, but you're in a C<foreach> block rather than |
1582 | 1759 | a C<given> block. You probably meant to use C<next> or C<last>. |
1583 | 1760 | |
1584 | 1761 | =end original |
1585 | 1762 | |
1586 | 1763 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> |
1587 | 1764 | ブロック内でした。 |
1588 | 1765 | おそらく C<next> や C<last> を使いたかったのでしょう。 |
1589 | 1766 | |
1590 | 1767 | =item Can't "break" outside a given block |
1591 | 1768 | |
1592 | 1769 | =begin original |
1593 | 1770 | |
1594 | 1771 | (F) You called C<break>, but you're not inside a C<given> block. |
1595 | 1772 | |
1596 | 1773 | =end original |
1597 | 1774 | |
1598 | 1775 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 |
1599 | 1776 | |
1600 | 1777 | =item Can't call method "%s" on an undefined value |
1601 | 1778 | |
1602 | 1779 | =begin original |
1603 | 1780 | |
1604 | 1781 | (F) You used the syntax of a method call, but the slot filled by the |
1605 | 1782 | object reference or package name contains an undefined value. Something |
1606 | 1783 | like this will reproduce the error: |
1607 | 1784 | |
1608 | 1785 | =end original |
1609 | 1786 | |
1610 | 1787 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか |
1611 | 1788 | パッケージ名であるべきところが未定義値です。 |
1612 | 1789 | 以下のように書くとエラーが再現します: |
1613 | 1790 | |
1614 | 1791 | $BADREF = undef; |
1615 | 1792 | process $BADREF 1,2,3; |
1616 | 1793 | $BADREF->process(1,2,3); |
1617 | 1794 | |
1618 | 1795 | =item Can't call method "%s" on unblessed reference |
1619 | 1796 | |
1620 | 1797 | =begin original |
1621 | 1798 | |
1622 | 1799 | (F) A method call must know in what package it's supposed to run. It |
1623 | 1800 | ordinarily finds this out from the object reference you supply, but you |
1624 | 1801 | didn't supply an object reference in this case. A reference isn't an |
1625 | 1802 | object reference until it has been blessed. See L<perlobj>. |
1626 | 1803 | |
1627 | 1804 | =end original |
1628 | 1805 | |
1629 | 1806 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1630 | 1807 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1631 | 1808 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1632 | 1809 | 渡されませんでした。 |
1633 | 1810 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1634 | 1811 | L<perlobj> を参照してください。 |
1635 | 1812 | |
1636 | 1813 | =item Can't call method "%s" without a package or object reference |
1637 | 1814 | |
1638 | 1815 | =begin original |
1639 | 1816 | |
1640 | 1817 | (F) You used the syntax of a method call, but the slot filled by the |
1641 | 1818 | object reference or package name contains an expression that returns a |
1642 | 1819 | defined value which is neither an object reference nor a package name. |
1643 | 1820 | Something like this will reproduce the error: |
1644 | 1821 | |
1645 | 1822 | =end original |
1646 | 1823 | |
1647 | 1824 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1648 | 1825 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1649 | 1826 | パッケージ名も返さない定義された式が書かれています。 |
1650 | 1827 | 以下のように書くとエラーが再現します: |
1651 | 1828 | |
1652 | 1829 | $BADREF = 42; |
1653 | 1830 | process $BADREF 1,2,3; |
1654 | 1831 | $BADREF->process(1,2,3); |
1655 | 1832 | |
1656 | 1833 | =item Can't call mro_isa_changed_in() on anonymous symbol table |
1657 | 1834 | |
1658 | 1835 | =begin original |
1659 | 1836 | |
1660 | 1837 | (P) Perl got confused as to whether a hash was a plain hash or a |
1661 | 1838 | symbol table hash when trying to update @ISA caches. |
1662 | 1839 | |
1663 | 1840 | =end original |
1664 | 1841 | |
1665 | 1842 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか |
1666 | 1843 | シンボルテーブルハッシュかについて perl は混乱しました。 |
1667 | 1844 | |
1668 | 1845 | =item Can't call mro_method_changed_in() on anonymous symbol table |
1669 | 1846 | |
1670 | 1847 | =begin original |
1671 | 1848 | |
1672 | 1849 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was |
1673 | 1850 | not attached to the symbol table. |
1674 | 1851 | |
1675 | 1852 | =end original |
1676 | 1853 | |
1677 | 1854 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して |
1678 | 1855 | C<mro_method_changed_in> を呼び出しました。 |
1679 | 1856 | |
1680 | 1857 | =item Can't chdir to %s |
1681 | 1858 | |
1682 | 1859 | =begin original |
1683 | 1860 | |
1684 | 1861 | (F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory |
1685 | 1862 | that you can chdir to, possibly because it doesn't exist. |
1686 | 1863 | |
1687 | 1864 | =end original |
1688 | 1865 | |
1689 | 1866 | (F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に |
1690 | 1867 | chdir することができません; おそらく、存在しないのではないでしょうか。 |
1691 | 1868 | |
1692 | 1869 | =item Can't check filesystem of script "%s" for nosuid |
1693 | 1870 | |
1694 | 1871 | =begin original |
1695 | 1872 | |
1696 | 1873 | (P) For some reason you can't check the filesystem of the script for |
1697 | 1874 | nosuid. |
1698 | 1875 | |
1699 | 1876 | =end original |
1700 | 1877 | |
1701 | 1878 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
1702 | 1879 | 調べることができません。 |
1703 | 1880 | |
1704 | 1881 | =item Can't coerce %s to %s in %s |
1705 | 1882 | |
1706 | 1883 | =begin original |
1707 | 1884 | |
1708 | 1885 | (F) Certain types of SVs, in particular real symbol table entries |
1709 | 1886 | (typeglobs), can't be forced to stop being what they are. So you can't |
1710 | 1887 | say things like: |
1711 | 1888 | |
1712 | 1889 | =end original |
1713 | 1890 | |
1714 | 1891 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1715 | 1892 | 一つの型に留めておくことができません。 |
1716 | 1893 | したがって、以下のようにすることはできません: |
1717 | 1894 | |
1718 | 1895 | *foo += 1; |
1719 | 1896 | |
1720 | 1897 | =begin original |
1721 | 1898 | |
1722 | 1899 | You CAN say |
1723 | 1900 | |
1724 | 1901 | =end original |
1725 | 1902 | |
1726 | 1903 | 以下のようにはできますが: |
1727 | 1904 | |
1728 | 1905 | $foo = *foo; |
1729 | 1906 | $foo += 1; |
1730 | 1907 | |
1731 | 1908 | =begin original |
1732 | 1909 | |
1733 | 1910 | but then $foo no longer contains a glob. |
1734 | 1911 | |
1735 | 1912 | =end original |
1736 | 1913 | |
1737 | 1914 | $foo にはもはやグロブは残っていません。 |
1738 | 1915 | |
1739 | 1916 | =item Can't "continue" outside a when block |
1740 | 1917 | |
1741 | 1918 | =begin original |
1742 | 1919 | |
1743 | 1920 | (F) You called C<continue>, but you're not inside a C<when> |
1744 | 1921 | or C<default> block. |
1745 | 1922 | |
1746 | 1923 | =end original |
1747 | 1924 | |
1748 | 1925 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの |
1749 | 1926 | 内側ではありません。 |
1750 | 1927 | |
1751 | 1928 | =item Can't create pipe mailbox |
1752 | 1929 | |
1753 | 1930 | =begin original |
1754 | 1931 | |
1755 | 1932 | (P) An error peculiar to VMS. The process is suffering from exhausted |
1756 | 1933 | quotas or other plumbing problems. |
1757 | 1934 | |
1758 | 1935 | =end original |
1759 | 1936 | |
1760 | 1937 | (P) VMS に固有のエラーです。 |
1761 | 1938 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
1762 | 1939 | |
1763 | 1940 | =item Can't declare %s in "%s" |
1764 | 1941 | |
1765 | 1942 | =begin original |
1766 | 1943 | |
1767 | 1944 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or |
1768 | 1945 | "state" variables. They must have ordinary identifiers as names. |
1769 | 1946 | |
1770 | 1947 | =end original |
1771 | 1948 | |
1772 | 1949 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として |
1773 | 1950 | 宣言できます。 |
1774 | 1951 | これらは、名前として通常の識別子を持たなければなりません。 |
1775 | 1952 | |
1776 | 1953 | =item Can't "default" outside a topicalizer |
1777 | 1954 | |
1778 | 1955 | =begin original |
1779 | 1956 | |
1780 | 1957 | (F) You have used a C<default> block that is neither inside a |
1781 | 1958 | C<foreach> loop nor a C<given> block. (Note that this error is |
1782 | 1959 | issued on exit from the C<default> block, so you won't get the |
1783 | 1960 | error if you use an explicit C<continue>.) |
1784 | 1961 | |
1785 | 1962 | =end original |
1786 | 1963 | |
1787 | 1964 | (F) C<foreach> ループや C<given> ブロックの内側でないところで |
1788 | 1965 | C<default> ブロックを使いました。 |
1789 | 1966 | (このエラーは C<default> ブロックから出るときに発生するので、明示的な |
1790 | 1967 | C<continue> を使うとエラーは発生しません。) |
1791 | 1968 | |
1969 | =item Can't determine class of operator %s, assuming BASEOP | |
1970 | ||
1971 | =begin original | |
1972 | ||
1973 | (S) This warning indicates something wrong in the internals of perl. | |
1974 | Perl was trying to find the class (e.g. LISTOP) of a particular OP, | |
1975 | and was unable to do so. This is likely to be due to a bug in the perl | |
1976 | internals, or due to a bug in XS code which manipulates perl optrees. | |
1977 | ||
1978 | =end original | |
1979 | ||
1980 | (S) この警告は、perl の内部で何かがおかしいことを示しています。 | |
1981 | Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、 | |
1982 | そうすることができませんでした。 | |
1983 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する | |
1984 | XS コードのバグによるものです。 | |
1985 | ||
1792 | 1986 | =item Can't do inplace edit: %s is not a regular file |
1793 | 1987 | |
1794 | 1988 | =begin original |
1795 | 1989 | |
1796 | 1990 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
1797 | 1991 | a file in /dev, a FIFO or an uneditable directory. The file was ignored. |
1798 | 1992 | |
1799 | 1993 | =end original |
1800 | 1994 | |
1801 | 1995 | (S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して |
1802 | 1996 | B<-i> スイッチを使おうとしました。 |
1803 | 1997 | このファイルは無視されます。 |
1804 | 1998 | |
1805 | 1999 | =item Can't do inplace edit on %s: %s |
1806 | 2000 | |
1807 | 2001 | =begin original |
1808 | 2002 | |
1809 | 2003 | (S inplace) The creation of the new file failed for the indicated |
1810 | 2004 | reason. |
1811 | 2005 | |
1812 | 2006 | =end original |
1813 | 2007 | |
1814 | 2008 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
1815 | 2009 | |
1816 | =item Can't do inplace edit without backup | |
1817 | ||
1818 | =begin original | |
1819 | ||
1820 | (F) You're on a system such as MS-DOS that gets confused if you try | |
1821 | reading from a deleted (but still opened) file. You have to say | |
1822 | C<-i.bak>, or some such. | |
1823 | ||
1824 | =end original | |
1825 | ||
1826 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると | |
1827 | おかしくなる MS-DOS のようなシステムで実行しています。 | |
1828 | C<-i.bak> のようにバックアップを指定してください。 | |
1829 | ||
1830 | 2010 | =item Can't do inplace edit: %s would not be unique |
1831 | 2011 | |
1832 | 2012 | =begin original |
1833 | 2013 | |
1834 | 2014 | (S inplace) Your filesystem does not support filenames longer than 14 |
1835 | 2015 | characters and Perl was unable to create a unique filename during |
1836 | 2016 | inplace editing with the B<-i> switch. The file was ignored. |
1837 | 2017 | |
1838 | 2018 | =end original |
1839 | 2019 | |
1840 | 2020 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1841 | 2021 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1842 | 2022 | 作成ができませんでした。 |
1843 | 2023 | このファイルは無視されます。 |
1844 | 2024 | |
1845 | 2025 | =item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". |
1846 | 2026 | |
1847 | 2027 | =begin original |
1848 | 2028 | |
1849 | 2029 | (W locale) You are 1) running under "C<use locale>"; 2) the current |
1850 | 2030 | locale is not a UTF-8 one; 3) you tried to do the designated case-change |
1851 | 2031 | operation on the specified Unicode character; and 4) the result of this |
1852 | 2032 | operation would mix Unicode and locale rules, which likely conflict. |
1853 | 2033 | Mixing of different rule types is forbidden, so the operation was not |
1854 | 2034 | done; instead the result is the indicated value, which is the best |
1855 | 2035 | available that uses entirely Unicode rules. That turns out to almost |
1856 | 2036 | always be the original character, unchanged. |
1857 | 2037 | |
1858 | 2038 | =end original |
1859 | 2039 | |
1860 | 2040 | (W locale) あなたは 1) "C<use locale>" の基で実行していて; |
1861 | 2041 | 2) 現在のロケールは UTF-8 ではなく; |
1862 | 2042 | 3) 特定の Unicode 文字に指定された大文字小文字変換をしようとして; |
1863 | 2043 | 4) この操作の結果、おそらく衝突する、Unicode とロケールの規則を混ぜました。 |
1864 | 2044 | 異なる種類の規則を混ぜるのは禁止されているので、この操作は行われません; |
1865 | 2045 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を |
1866 | 2046 | 使うという、最も利用可能なものです。 |
1867 | 2047 | これは、ほとんど常に、元の文字を変更しないままにします。 |
1868 | 2048 | |
1869 | 2049 | =begin original |
1870 | 2050 | |
1871 | 2051 | It is generally a bad idea to mix non-UTF-8 locales and Unicode, and |
1872 | 2052 | this issue is one of the reasons why. This warning is raised when |
1873 | 2053 | Unicode rules would normally cause the result of this operation to |
1874 | 2054 | contain a character that is in the range specified by the locale, |
1875 | 2055 | 0..255, and hence is subject to the locale's rules, not Unicode's. |
1876 | 2056 | |
1877 | 2057 | =end original |
1878 | 2058 | |
1879 | 2059 | 非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、 |
1880 | 2060 | この問題はその理由の一つです。 |
1881 | 2061 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を |
1882 | 2062 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの |
1883 | 2063 | 規則を想定される場合に発生します。 |
1884 | 2064 | |
1885 | 2065 | =begin original |
1886 | 2066 | |
1887 | 2067 | If you are using locale purely for its characteristics related to things |
1888 | 2068 | like its numeric and time formatting (and not C<LC_CTYPE>), consider |
1889 | 2069 | using a restricted form of the locale pragma (see L<perllocale/The "use |
1890 | 2070 | locale" pragma>) like "S<C<use locale ':not_characters'>>". |
1891 | 2071 | |
1892 | 2072 | =end original |
1893 | 2073 | |
1894 | 2074 | ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに |
1895 | 2075 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 |
1896 | 2076 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された |
1897 | 2077 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを |
1898 | 2078 | 検討してください。 |
1899 | 2079 | |
1900 | 2080 | =begin original |
1901 | 2081 | |
1902 | 2082 | Note that failed case-changing operations done as a result of |
1903 | 2083 | case-insensitive C</i> regular expression matching will show up in this |
1904 | 2084 | warning as having the C<fc> operation (as that is what the regular |
1905 | 2085 | expression engine calls behind the scenes.) |
1906 | 2086 | |
1907 | 2087 | =end original |
1908 | 2088 | |
1909 | 2089 | 大文字小文字無視 C</i> 正規表現マッチングの結果として |
1910 | 2090 | 大文字小文字変換操作が失敗した場合、この警告は |
1911 | 2091 | C<fc> 操作に対して出力されることに注意してください |
1912 | 2092 | (正規表現エンジンが裏でこれを使っているからです)。 |
1913 | 2093 | |
1914 | 2094 | =item Can't do waitpid with flags |
1915 | 2095 | |
1916 | 2096 | =begin original |
1917 | 2097 | |
1918 | 2098 | (F) This machine doesn't have either waitpid() or wait4(), so only |
1919 | 2099 | waitpid() without flags is emulated. |
1920 | 2100 | |
1921 | 2101 | =end original |
1922 | 2102 | |
1923 | 2103 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
1924 | 2104 | フラグの無い waitpid() のみがエミュレート可能です。 |
1925 | 2105 | |
1926 | 2106 | =item Can't emulate -%s on #! line |
1927 | 2107 | |
1928 | 2108 | =begin original |
1929 | 2109 | |
1930 | 2110 | (F) The #! line specifies a switch that doesn't make sense at this |
1931 | 2111 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
1932 | 2112 | line. |
1933 | 2113 | |
1934 | 2114 | =end original |
1935 | 2115 | |
1936 | 2116 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
1937 | 2117 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
1938 | 2118 | |
1939 | 2119 | =item Can't %s %s-endian %ss on this platform |
1940 | 2120 | |
1941 | 2121 | =begin original |
1942 | 2122 | |
1943 | 2123 | (F) Your platform's byte-order is neither big-endian nor little-endian, |
1944 | 2124 | or it has a very strange pointer size. Packing and unpacking big- or |
1945 | 2125 | little-endian floating point values and pointers may not be possible. |
1946 | 2126 | See L<perlfunc/pack>. |
1947 | 2127 | |
1948 | 2128 | =end original |
1949 | 2129 | |
1950 | 2130 | (F) プラットフォームのバイト順序がビッグエンディアンでも |
1951 | 2131 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 |
1952 | 2132 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの |
1953 | 2133 | pack や unpack はできません。 |
1954 | 2134 | L<perlfunc/pack> を参照してください。 |
1955 | 2135 | |
1956 | 2136 | =item Can't exec "%s": %s |
1957 | 2137 | |
1958 | 2138 | =begin original |
1959 | 2139 | |
1960 | 2140 | (W exec) A system(), exec(), or piped open call could not execute the |
1961 | 2141 | named program for the indicated reason. Typical reasons include: the |
1962 | 2142 | permissions were wrong on the file, the file wasn't found in |
1963 | 2143 | C<$ENV{PATH}>, the executable in question was compiled for another |
1964 | 2144 | architecture, or the #! line in a script points to an interpreter that |
1965 | 2145 | can't be run for similar reasons. (Or maybe your system doesn't support |
1966 | 2146 | #! at all.) |
1967 | 2147 | |
1968 | 2148 | =end original |
1969 | 2149 | |
1970 | 2150 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
1971 | 2151 | 呼び出しの指定されたプログラムが実行できませんでした。 |
1972 | 2152 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
1973 | 2153 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
1974 | 2154 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
1975 | 2155 | インタプリタを指している、というようなものがあります。 |
1976 | 2156 | (あるいは、このシステムで、#! がサポートされていません。) |
1977 | 2157 | |
1978 | 2158 | =item Can't exec %s |
1979 | 2159 | |
1980 | 2160 | =begin original |
1981 | 2161 | |
1982 | 2162 | (F) Perl was trying to execute the indicated program for you because |
1983 | 2163 | that's what the #! line said. If that's not what you wanted, you may |
1984 | 2164 | need to mention "perl" on the #! line somewhere. |
1985 | 2165 | |
1986 | 2166 | =end original |
1987 | 2167 | |
1988 | 2168 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
1989 | 2169 | 実行しようとしました。 |
1990 | 2170 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
1991 | 2171 | |
1992 | 2172 | =item Can't execute %s |
1993 | 2173 | |
1994 | 2174 | =begin original |
1995 | 2175 | |
1996 | 2176 | (F) You used the B<-S> switch, but the copies of the script to execute |
1997 | 2177 | found in the PATH did not have correct permissions. |
1998 | 2178 | |
1999 | 2179 | =end original |
2000 | 2180 | |
2001 | 2181 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
2002 | 2182 | 正しいパーミッションではありませんでした。 |
2003 | 2183 | |
2004 | 2184 | =item Can't find an opnumber for "%s" |
2005 | 2185 | |
2006 | 2186 | =begin original |
2007 | 2187 | |
2008 | 2188 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
2009 | 2189 | is no builtin with the name C<word>. |
2010 | 2190 | |
2011 | 2191 | =end original |
2012 | 2192 | |
2013 | 2193 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
2014 | 2194 | 名前 C<word> は組み込みではありません。 |
2015 | 2195 | |
2016 | =item Can't find %s character property "%s" | |
2017 | ||
2018 | =begin original | |
2019 | ||
2020 | (F) You used C<\p{}> or C<\P{}> but the character property by that name | |
2021 | could not be found. Maybe you misspelled the name of the property? | |
2022 | See L<perluniprops/Properties accessible through \p{} and \P{}> | |
2023 | for a complete list of available official properties. | |
2024 | ||
2025 | =end original | |
2026 | ||
2027 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字特性は | |
2028 | 見つかりませんでした。 | |
2029 | おそらくプロパティ名をタイプミスしたのでは? | |
2030 | 公式に利用可能な特性の完全な一覧については | |
2031 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
2032 | 参照してください。 | |
2033 | ||
2034 | 2196 | =item Can't find label %s |
2035 | 2197 | |
2036 | 2198 | =begin original |
2037 | 2199 | |
2038 | 2200 | (F) You said to goto a label that isn't mentioned anywhere that it's |
2039 | 2201 | possible for us to go to. See L<perlfunc/goto>. |
2040 | 2202 | |
2041 | 2203 | =end original |
2042 | 2204 | |
2043 | 2205 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
2044 | 2206 | L<perlfunc/goto> を参照してください。 |
2045 | 2207 | |
2046 | 2208 | =item Can't find %s on PATH |
2047 | 2209 | |
2048 | 2210 | =begin original |
2049 | 2211 | |
2050 | 2212 | (F) You used the B<-S> switch, but the script to execute could not be |
2051 | 2213 | found in the PATH. |
2052 | 2214 | |
2053 | 2215 | =end original |
2054 | 2216 | |
2055 | 2217 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
2056 | 2218 | 見つかりませんでした。 |
2057 | 2219 | |
2058 | 2220 | =item Can't find %s on PATH, '.' not in PATH |
2059 | 2221 | |
2060 | 2222 | =begin original |
2061 | 2223 | |
2062 | 2224 | (F) You used the B<-S> switch, but the script to execute could not be |
2063 | 2225 | found in the PATH, or at least not with the correct permissions. The |
2064 | 2226 | script exists in the current directory, but PATH prohibits running it. |
2065 | 2227 | |
2066 | 2228 | =end original |
2067 | 2229 | |
2068 | 2230 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
2069 | 2231 | 見つからないか、少なくとも適切なパーミッションがありません。 |
2070 | 2232 | スクリプトはカレントディレクトリにはありますが、PATH に |
2071 | 2233 | カレントディレクトリは含まれていません。 |
2072 | 2234 | |
2073 | 2235 | =item Can't find string terminator %s anywhere before EOF |
2074 | 2236 | |
2075 | 2237 | =begin original |
2076 | 2238 | |
2077 | 2239 | (F) Perl strings can stretch over multiple lines. This message means |
2078 | 2240 | that the closing delimiter was omitted. Because bracketed quotes count |
2079 | 2241 | nesting levels, the following is missing its final parenthesis: |
2080 | 2242 | |
2081 | 2243 | =end original |
2082 | 2244 | |
2083 | 2245 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
2084 | 2246 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
2085 | 2247 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが |
2086 | 2248 | 無いと言われます: |
2087 | 2249 | |
2088 | 2250 | print q(The character '(' starts a side comment.); |
2089 | 2251 | |
2090 | 2252 | =begin original |
2091 | 2253 | |
2092 | 2254 | If you're getting this error from a here-document, you may have |
2093 | 2255 | included unseen whitespace before or after your closing tag or there |
2094 | 2256 | may not be a linebreak after it. A good programmer's editor will have |
2095 | 2257 | a way to help you find these characters (or lack of characters). See |
2096 | 2258 | L<perlop> for the full details on here-documents. |
2097 | 2259 | |
2098 | 2260 | =end original |
2099 | 2261 | |
2100 | 2262 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
2101 | 2263 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 |
2102 | 2264 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す |
2103 | 2265 | 助けになる方法があります。 |
2104 | 2266 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 |
2105 | 2267 | |
2106 | 2268 | =item Can't find Unicode property definition "%s" |
2107 | 2269 | |
2270 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
2271 | ||
2108 | 2272 | =begin original |
2109 | 2273 | |
2110 | (F) | |
2274 | (F) The named property which you specified via C<\p> or C<\P> is not one | |
2111 | ||
2275 | known to Perl. Perhaps you misspelled the name? See | |
2112 | letters). If you did mean to use a Unicode property, see | |
2113 | 2276 | L<perluniprops/Properties accessible through \p{} and \P{}> |
2114 | for a complete list of available | |
2277 | for a complete list of available official | |
2115 | ||
2278 | properties. If it is a | |
2116 | ||
2279 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
2117 | until | |
2280 | it must have been defined by the time the regular expression is | |
2281 | matched. | |
2118 | 2282 | |
2119 | 2283 | =end original |
2120 | 2284 | |
2121 | (F) | |
2285 | (F) | |
2122 | ||
2286 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
2123 | ||
2287 | おそらく名前をタイプミスしたのでは? | |
2124 | ||
2288 | 公式に利用可能な特性の完全な一覧については | |
2289 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
2125 | 2290 | 参照してください。 |
2291 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
2292 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
2293 | ||
2294 | =begin original | |
2295 | ||
2296 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
2297 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
2298 | until C<\E>). | |
2299 | ||
2300 | =end original | |
2301 | ||
2126 | 2302 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または |
2127 | 2303 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を |
2128 | 2304 | エスケープしてください。 |
2129 | 2305 | |
2130 | 2306 | =item Can't fork: %s |
2131 | 2307 | |
2132 | 2308 | =begin original |
2133 | 2309 | |
2134 | 2310 | (F) A fatal error occurred while trying to fork while opening a |
2135 | 2311 | pipeline. |
2136 | 2312 | |
2137 | 2313 | =end original |
2138 | 2314 | |
2139 | 2315 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
2140 | 2316 | 致命的エラーが発生しました。 |
2141 | 2317 | |
2142 | 2318 | =item Can't fork, trying again in 5 seconds |
2143 | 2319 | |
2144 | 2320 | =begin original |
2145 | 2321 | |
2146 | 2322 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried |
2147 | 2323 | after five seconds. |
2148 | 2324 | |
2149 | 2325 | =end original |
2150 | 2326 | |
2151 | 2327 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に |
2152 | 2328 | 再試行されます。 |
2153 | 2329 | |
2154 | 2330 | =item Can't get filespec - stale stat buffer? |
2155 | 2331 | |
2156 | 2332 | =begin original |
2157 | 2333 | |
2158 | 2334 | (S) A warning peculiar to VMS. This arises because of the difference |
2159 | 2335 | between access checks under VMS and under the Unix model Perl assumes. |
2160 | 2336 | Under VMS, access checks are done by filename, rather than by bits in |
2161 | 2337 | the stat buffer, so that ACLs and other protections can be taken into |
2162 | 2338 | account. Unfortunately, Perl assumes that the stat buffer contains all |
2163 | 2339 | the necessary information, and passes it, instead of the filespec, to |
2164 | 2340 | the access-checking routine. It will try to retrieve the filespec using |
2165 | 2341 | the device name and FID present in the stat buffer, but this works only |
2166 | 2342 | if you haven't made a subsequent call to the CRTL stat() routine, |
2167 | 2343 | because the device name is overwritten with each call. If this warning |
2168 | 2344 | appears, the name lookup failed, and the access-checking routine gave up |
2169 | 2345 | and returned FALSE, just to be conservative. (Note: The access-checking |
2170 | 2346 | routine knows about the Perl C<stat> operator and file tests, so you |
2171 | 2347 | shouldn't ever see this warning in response to a Perl command; it arises |
2172 | 2348 | only if some internal code takes stat buffers lightly.) |
2173 | 2349 | |
2174 | 2350 | =end original |
2175 | 2351 | |
2176 | 2352 | (S) VMS に固有の警告です。 |
2177 | 2353 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
2178 | 2354 | あることによって起こります。 |
2179 | 2355 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
2180 | 2356 | 行われるので、ACL やその他の保護が考慮されます。 |
2181 | 2357 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
2182 | 2358 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
2183 | 2359 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
2184 | 2360 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
2185 | 2361 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
2186 | 2362 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
2187 | 2363 | 安全のためだけに FALSE を返します。 |
2188 | 2364 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
2189 | 2365 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
2190 | 2366 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
2191 | 2367 | 発生します。) |
2192 | 2368 | |
2193 | 2369 | =item Can't get pipe mailbox device name |
2194 | 2370 | |
2195 | 2371 | =begin original |
2196 | 2372 | |
2197 | 2373 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
2198 | 2374 | pipe, Perl can't retrieve its name for later use. |
2199 | 2375 | |
2200 | 2376 | =end original |
2201 | 2377 | |
2202 | 2378 | (P) VMS に固有のエラーです。 |
2203 | 2379 | パイプとして働くメールボックスの作成後、後で使うための名前を |
2204 | 2380 | Perl が取得できませんでした。 |
2205 | 2381 | |
2206 | 2382 | =item Can't get SYSGEN parameter value for MAXBUF |
2207 | 2383 | |
2208 | 2384 | =begin original |
2209 | 2385 | |
2210 | 2386 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
2211 | 2387 | mailbox buffers to be, and didn't get an answer. |
2212 | 2388 | |
2213 | 2389 | =end original |
2214 | 2390 | |
2215 | 2391 | (P) VMS に固有のエラーです。 |
2216 | 2392 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
2217 | 2393 | 問い合わせましたが、答えが得られませんでした。 |
2218 | 2394 | |
2395 | =item Can't "goto" into a binary or list expression | |
2396 | ||
2397 | =begin original | |
2398 | ||
2399 | (F) A "goto" statement was executed to jump into the middle of a binary | |
2400 | or list expression. You can't get there from here. The reason for this | |
2401 | restriction is that the interpreter would get confused as to how many | |
2402 | arguments there are, resulting in stack corruption or crashes. This | |
2403 | error occurs in cases such as these: | |
2404 | ||
2405 | =end original | |
2406 | ||
2407 | (F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。 | |
2408 | ここからそこへは行けません。 | |
2409 | この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、 | |
2410 | 結果としてスタックは解約ラッシュを引き起こすからです。 | |
2411 | このエラーは次のような場合に起こります: | |
2412 | ||
2413 | goto F; | |
2414 | print do { F: }; # Can't jump into the arguments to print | |
2415 | ||
2416 | goto G; | |
2417 | $x + do { G: $y }; # How is + supposed to get its first operand? | |
2418 | ||
2419 | =item Can't "goto" into a "given" block | |
2420 | ||
2421 | =begin original | |
2422 | ||
2423 | (F) A "goto" statement was executed to jump into the middle of a C<given> | |
2424 | block. You can't get there from here. See L<perlfunc/goto>. | |
2425 | ||
2426 | =end original | |
2427 | ||
2428 | (F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。 | |
2429 | ここからそこへは行けません。 | |
2430 | L<perlfunc/goto> を参照してください。 | |
2431 | ||
2219 | 2432 | =item Can't "goto" into the middle of a foreach loop |
2220 | 2433 | |
2221 | 2434 | =begin original |
2222 | 2435 | |
2223 | 2436 | (F) A "goto" statement was executed to jump into the middle of a foreach |
2224 | 2437 | loop. You can't get there from here. See L<perlfunc/goto>. |
2225 | 2438 | |
2226 | 2439 | =end original |
2227 | 2440 | |
2228 | 2441 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
2229 | 2442 | ここからそこへは行けません。 |
2230 | 2443 | L<perlfunc/goto> を参照してください。 |
2231 | 2444 | |
2232 | 2445 | =item Can't "goto" out of a pseudo block |
2233 | 2446 | |
2234 | 2447 | =begin original |
2235 | 2448 | |
2236 | 2449 | (F) A "goto" statement was executed to jump out of what might look like |
2237 | 2450 | a block, except that it isn't a proper block. This usually occurs if |
2238 | 2451 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
2239 | 2452 | See L<perlfunc/goto>. |
2240 | 2453 | |
2241 | 2454 | =end original |
2242 | 2455 | |
2243 | 2456 | (F) "goto" 文でブロックのように見えるけれども、適切な |
2244 | 2457 | ブロックではないところから飛び出そうとしました。 |
2245 | 2458 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
2246 | 2459 | 起きますが、それはできません。 |
2247 | 2460 | L<perlfunc/goto> を参照してください。 |
2248 | 2461 | |
2249 | 2462 | =item Can't goto subroutine from an eval-%s |
2250 | 2463 | |
2251 | 2464 | =begin original |
2252 | 2465 | |
2253 | 2466 | (F) The "goto subroutine" call can't be used to jump out of an eval |
2254 | 2467 | "string" or block. |
2255 | 2468 | |
2256 | 2469 | =end original |
2257 | 2470 | |
2258 | 2471 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから |
2259 | 2472 | 飛び出すことはできません。 |
2260 | 2473 | |
2261 | 2474 | =item Can't goto subroutine from a sort sub (or similar callback) |
2262 | 2475 | |
2263 | 2476 | =begin original |
2264 | 2477 | |
2265 | 2478 | (F) The "goto subroutine" call can't be used to jump out of the |
2266 | 2479 | comparison sub for a sort(), or from a similar callback (such |
2267 | 2480 | as the reduce() function in List::Util). |
2268 | 2481 | |
2269 | 2482 | =end original |
2270 | 2483 | |
2271 | 2484 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 |
2272 | 2485 | (List::Util の reduce() 関数のような) 似たようなコールバックから |
2273 | 2486 | 飛び出すことはできません。 |
2274 | 2487 | |
2275 | 2488 | =item Can't goto subroutine outside a subroutine |
2276 | 2489 | |
2277 | 2490 | =begin original |
2278 | 2491 | |
2279 | 2492 | (F) The deeply magical "goto subroutine" call can only replace one |
2280 | 2493 | subroutine call for another. It can't manufacture one out of whole |
2281 | 2494 | cloth. In general you should be calling it out of only an AUTOLOAD |
2282 | 2495 | routine anyway. See L<perlfunc/goto>. |
2283 | 2496 | |
2284 | 2497 | =end original |
2285 | 2498 | |
2286 | 2499 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン |
2287 | 2500 | 呼び出しを別のもので置き換えるだけです。 |
2288 | 2501 | 反物の状態から作り上げることはできません。 |
2289 | 2502 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
2290 | 2503 | しておくべきです。 |
2291 | 2504 | L<perlfunc/goto> を参照してください。 |
2292 | 2505 | |
2293 | 2506 | =item Can't ignore signal CHLD, forcing to default |
2294 | 2507 | |
2295 | 2508 | =begin original |
2296 | 2509 | |
2297 | 2510 | (W signal) Perl has detected that it is being run with the SIGCHLD |
2298 | 2511 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
2299 | 2512 | signal will interfere with proper determination of exit status of child |
2300 | 2513 | processes, Perl has reset the signal to its default value. This |
2301 | 2514 | situation typically indicates that the parent program under which Perl |
2302 | 2515 | may be running (e.g. cron) is being very careless. |
2303 | 2516 | |
2304 | 2517 | =end original |
2305 | 2518 | |
2306 | 2519 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
2307 | 2520 | 無効化された状態で実行されていることを検出しました。 |
2308 | 2521 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
2309 | 2522 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
2310 | 2523 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
2311 | 2524 | とても不注意であることを示しています。 |
2312 | 2525 | |
2313 | 2526 | =item Can't kill a non-numeric process ID |
2314 | 2527 | |
2315 | 2528 | =begin original |
2316 | 2529 | |
2317 | 2530 | (F) Process identifiers must be (signed) integers. It is a fatal error to |
2318 | 2531 | attempt to kill() an undefined, empty-string or otherwise non-numeric |
2319 | 2532 | process identifier. |
2320 | 2533 | |
2321 | 2534 | =end original |
2322 | 2535 | |
2323 | 2536 | (F) プロセス識別子は(符号付き)整数でなければなりません。 |
2324 | 2537 | 未定義値、空文字列、その他の非数値プロセス識別子を使って |
2325 | 2538 | kill() しようとすることは致命的エラーです。 |
2326 | 2539 | |
2327 | 2540 | =item Can't "last" outside a loop block |
2328 | 2541 | |
2329 | 2542 | =begin original |
2330 | 2543 | |
2331 | 2544 | (F) A "last" statement was executed to break out of the current block, |
2332 | 2545 | except that there's this itty bitty problem called there isn't a current |
2333 | 2546 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
2334 | 2547 | block, as doesn't a block given to sort(), map() or grep(). You can |
2335 | 2548 | usually double the curlies to get the same effect though, because the |
2336 | 2549 | inner curlies will be considered a block that loops once. See |
2337 | 2550 | L<perlfunc/last>. |
2338 | 2551 | |
2339 | 2552 | =end original |
2340 | 2553 | |
2341 | 2554 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
2342 | 2555 | 残念なことにブロックの中ではありませんでした。 |
2343 | 2556 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2344 | 2557 | 同様「ループ風」ブロックではないので、注意してください。 |
2345 | 2558 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2346 | 2559 | ブロックとみなされますから、同じ効果が得られます。 |
2347 | 2560 | L<perlfunc/last> を参照してください。 |
2348 | 2561 | |
2349 | 2562 | =item Can't linearize anonymous symbol table |
2350 | 2563 | |
2351 | 2564 | =begin original |
2352 | 2565 | |
2353 | 2566 | (F) Perl tried to calculate the method resolution order (MRO) of a |
2354 | 2567 | package, but failed because the package stash has no name. |
2355 | 2568 | |
2356 | 2569 | =end original |
2357 | 2570 | |
2358 | 2571 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 |
2359 | 2572 | パッケージ stash に名前がないので失敗しました。 |
2360 | 2573 | |
2361 | 2574 | =item Can't load '%s' for module %s |
2362 | 2575 | |
2363 | 2576 | =begin original |
2364 | 2577 | |
2365 | 2578 | (F) The module you tried to load failed to load a dynamic extension. |
2366 | 2579 | This may either mean that you upgraded your version of perl to one |
2367 | 2580 | that is incompatible with your old dynamic extensions (which is known |
2368 | 2581 | to happen between major versions of perl), or (more likely) that your |
2369 | 2582 | dynamic extension was built against an older version of the library |
2370 | 2583 | that is installed on your system. You may need to rebuild your old |
2371 | 2584 | dynamic extensions. |
2372 | 2585 | |
2373 | 2586 | =end original |
2374 | 2587 | |
2375 | 2588 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに |
2376 | 2589 | 失敗しました。 |
2377 | 2590 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか |
2378 | 2591 | (これは perl のメジャーバージョン間で起きることが知られています)、 |
2379 | 2592 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い |
2380 | 2593 | バージョンのライブラリに対してビルドされているかです。 |
2381 | 2594 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 |
2382 | 2595 | |
2383 | 2596 | =item Can't localize lexical variable %s |
2384 | 2597 | |
2385 | 2598 | =begin original |
2386 | 2599 | |
2387 | 2600 | (F) You used local on a variable name that was previously declared as a |
2388 | 2601 | lexical variable using "my" or "state". This is not allowed. If you |
2389 | 2602 | want to localize a package variable of the same name, qualify it with |
2390 | 2603 | the package name. |
2391 | 2604 | |
2392 | 2605 | =end original |
2393 | 2606 | |
2394 | 2607 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に |
2395 | 2608 | 対して local を使いました。 |
2396 | 2609 | これは認められていません。 |
2397 | 2610 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
2398 | 2611 | パッケージ名で修飾してください。 |
2399 | 2612 | |
2400 | 2613 | =item Can't localize through a reference |
2401 | 2614 | |
2402 | 2615 | =begin original |
2403 | 2616 | |
2404 | 2617 | (F) You said something like C<local $$ref>, which Perl can't currently |
2405 | 2618 | handle, because when it goes to restore the old value of whatever $ref |
2406 | 2619 | pointed to after the scope of the local() is finished, it can't be sure |
2407 | 2620 | that $ref will still be a reference. |
2408 | 2621 | |
2409 | 2622 | =end original |
2410 | 2623 | |
2411 | 2624 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
2412 | 2625 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
2413 | 2626 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
2414 | 2627 | わからないからです。 |
2415 | 2628 | |
2416 | 2629 | =item Can't locate %s |
2417 | 2630 | |
2418 | 2631 | =begin original |
2419 | 2632 | |
2420 | 2633 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found. |
2421 | 2634 | Perl looks for the file in all the locations mentioned in @INC, unless |
2422 | 2635 | the file name included the full path to the file. Perhaps you need |
2423 | 2636 | to set the PERL5LIB or PERL5OPT environment variable to say where the |
2424 | 2637 | extra library is, or maybe the script needs to add the library name |
2425 | 2638 | to @INC. Or maybe you just misspelled the name of the file. See |
2426 | 2639 | L<perlfunc/require> and L<lib>. |
2427 | 2640 | |
2428 | 2641 | =end original |
2429 | 2642 | |
2430 | 2643 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
2431 | 2644 | 指示されましたが、見つかりませんでした。 |
2432 | 2645 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
2433 | 2646 | 全ての場所を検索します。 |
2434 | 2647 | おそらく、追加ライブラリの場所を示すために、 |
2435 | 2648 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
2436 | 2649 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
2437 | 2650 | ファイル名のスペルミスの可能性もあります。 |
2438 | 2651 | L<perlfunc/require> と L<lib> を参照してください。 |
2439 | 2652 | |
2440 | 2653 | =item Can't locate auto/%s.al in @INC |
2441 | 2654 | |
2442 | 2655 | =begin original |
2443 | 2656 | |
2444 | 2657 | (F) A function (or method) was called in a package which allows |
2445 | 2658 | autoload, but there is no function to autoload. Most probable causes |
2446 | 2659 | are a misprint in a function/method name or a failure to C<AutoSplit> |
2447 | 2660 | the file, say, by doing C<make install>. |
2448 | 2661 | |
2449 | 2662 | =end original |
2450 | 2663 | |
2451 | 2664 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
2452 | 2665 | 呼び出されましたが、オートロードする関数がありませんでした。 |
2453 | 2666 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
2454 | 2667 | することによるファイルの C<AutoSplit> の失敗です。 |
2455 | 2668 | |
2456 | 2669 | =item Can't locate loadable object for module %s in @INC |
2457 | 2670 | |
2458 | 2671 | =begin original |
2459 | 2672 | |
2460 | 2673 | (F) The module you loaded is trying to load an external library, like |
2461 | 2674 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was |
2462 | 2675 | unable to locate this library. See L<DynaLoader>. |
2463 | 2676 | |
2464 | 2677 | =end original |
2465 | 2678 | |
2466 | 2679 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 |
2467 | 2680 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この |
2468 | 2681 | ライブラリの位置がわかりませんでした。 |
2469 | 2682 | L<DynaLoader> を参照してください。 |
2470 | 2683 | |
2471 | 2684 | =item Can't locate object method "%s" via package "%s" |
2472 | 2685 | |
2473 | 2686 | =begin original |
2474 | 2687 | |
2475 | 2688 | (F) You called a method correctly, and it correctly indicated a package |
2476 | 2689 | functioning as a class, but that package doesn't define that particular |
2477 | 2690 | method, nor does any of its base classes. See L<perlobj>. |
2478 | 2691 | |
2479 | 2692 | =end original |
2480 | 2693 | |
2481 | 2694 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2482 | 2695 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2483 | 2696 | 該当のメソッドが定義されていません。 |
2484 | 2697 | L<perlobj> を参照してください。 |
2485 | 2698 | |
2486 | 2699 | =item Can't locate object method "%s" via package "%s" (perhaps you forgot |
2487 | 2700 | to load "%s"?) |
2488 | 2701 | |
2489 | 2702 | =begin original |
2490 | 2703 | |
2491 | 2704 | (F) You called a method on a class that did not exist, and the method |
2492 | 2705 | could not be found in UNIVERSAL. This often means that a method |
2493 | 2706 | requires a package that has not been loaded. |
2494 | 2707 | |
2495 | 2708 | =end original |
2496 | 2709 | |
2497 | 2710 | (F) 存在しないクラスメソッドを呼び出し、メソッドは |
2498 | 2711 | UNIVERSAL に見つかりませんでした。 |
2499 | 2712 | これはしばしばメソッドがまだロードされていないパッケージを |
2500 | 2713 | 要求していることを意味します。 |
2501 | 2714 | |
2502 | 2715 | =item Can't locate package %s for @%s::ISA |
2503 | 2716 | |
2504 | 2717 | =begin original |
2505 | 2718 | |
2506 | 2719 | (W syntax) The @ISA array contained the name of another package that |
2507 | 2720 | doesn't seem to exist. |
2508 | 2721 | |
2509 | 2722 | =end original |
2510 | 2723 | |
2511 | 2724 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
2512 | 2725 | 存在していないようです。 |
2513 | 2726 | |
2514 | 2727 | =item Can't locate PerlIO%s |
2515 | 2728 | |
2516 | 2729 | =begin original |
2517 | 2730 | |
2518 | 2731 | (F) You tried to use in open() a PerlIO layer that does not exist, |
2519 | 2732 | e.g. open(FH, ">:nosuchlayer", "somefile"). |
2520 | 2733 | |
2521 | 2734 | =end original |
2522 | 2735 | |
2523 | 2736 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 |
2524 | 2737 | open() で 存在しない PerlIO 層を使おうとしました。 |
2525 | 2738 | |
2526 | 2739 | =item Can't make list assignment to %ENV on this system |
2527 | 2740 | |
2528 | 2741 | =begin original |
2529 | 2742 | |
2530 | 2743 | (F) List assignment to %ENV is not supported on some systems, notably |
2531 | 2744 | VMS. |
2532 | 2745 | |
2533 | 2746 | =end original |
2534 | 2747 | |
2535 | 2748 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2536 | 2749 | 対応していません。 |
2537 | 2750 | |
2538 | 2751 | =item Can't make loaded symbols global on this platform while loading %s |
2539 | 2752 | |
2540 | 2753 | =begin original |
2541 | 2754 | |
2542 | 2755 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request |
2543 | 2756 | that symbols from the stated file are made available globally within the |
2544 | 2757 | process, but that functionality is not available on this platform. Whilst |
2545 | 2758 | the module likely will still work, this may prevent the perl interpreter |
2546 | 2759 | from loading other XS-based extensions which need to link directly to |
2547 | 2760 | functions defined in the C or XS code in the stated file. |
2548 | 2761 | |
2549 | 2762 | =end original |
2550 | 2763 | |
2551 | 2764 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから |
2552 | 2765 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に |
2553 | 2766 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 |
2554 | 2767 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や |
2555 | 2768 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの |
2556 | 2769 | エクステンションの読み込みが妨げられるかもしれません。 |
2557 | 2770 | |
2558 | 2771 | =item Can't modify %s in %s |
2559 | 2772 | |
2560 | 2773 | =begin original |
2561 | 2774 | |
2562 | 2775 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
2563 | 2776 | to change it, such as with an auto-increment. |
2564 | 2777 | |
2565 | 2778 | =end original |
2566 | 2779 | |
2567 | 2780 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
2568 | 2781 | |
2569 | 2782 | =item Can't modify nonexistent substring |
2570 | 2783 | |
2571 | 2784 | =begin original |
2572 | 2785 | |
2573 | 2786 | (P) The internal routine that does assignment to a substr() was handed |
2574 | 2787 | a NULL. |
2575 | 2788 | |
2576 | 2789 | =end original |
2577 | 2790 | |
2578 | 2791 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
2579 | 2792 | |
2580 | =item Can't modify non-lvalue subroutine call | |
2793 | =item Can't modify non-lvalue subroutine call of &%s | |
2581 | 2794 | |
2795 | =item Can't modify non-lvalue subroutine call of &%s in %s | |
2796 | ||
2582 | 2797 | =begin original |
2583 | 2798 | |
2584 | 2799 | (F) Subroutines meant to be used in lvalue context should be declared as |
2585 | 2800 | such. See L<perlsub/"Lvalue subroutines">. |
2586 | 2801 | |
2587 | 2802 | =end original |
2588 | 2803 | |
2589 | 2804 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2590 | 2805 | 宣言しなければなりません。 |
2591 | 2806 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2592 | 2807 | |
2593 | 2808 | =item Can't modify reference to %s in %s assignment |
2594 | 2809 | |
2595 | 2810 | =begin original |
2596 | 2811 | |
2597 | 2812 | (F) Only a limited number of constructs can be used as the argument to a |
2598 | 2813 | reference constructor on the left-hand side of an assignment, and what |
2599 | 2814 | you used was not one of them. See L<perlref/Assigning to References>. |
2600 | 2815 | |
2601 | 2816 | =end original |
2602 | 2817 | |
2603 | 2818 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は |
2604 | 2819 | 一部に制限されていて、ここで使ったものはその一つではありません。 |
2605 | 2820 | L<perlref/Assigning to References> を参照してください。 |
2606 | 2821 | |
2607 | 2822 | =item Can't modify reference to localized parenthesized array in list |
2608 | 2823 | assignment |
2609 | 2824 | |
2610 | 2825 | =begin original |
2611 | 2826 | |
2612 | 2827 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as |
2613 | 2828 | it is not clear exactly what it should do. If you meant to make @array |
2614 | 2829 | refer to some other array, use C<\@array = \@other_array>. If you want to |
2615 | 2830 | make the elements of @array aliases of the scalars referenced on the |
2616 | 2831 | right-hand side, use C<\(@array) = @scalar_refs>. |
2617 | 2832 | |
2618 | 2833 | =end original |
2619 | 2834 | |
2620 | 2835 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; |
2621 | 2836 | 正確に何をするべきかが明確ではないからです。 |
2622 | 2837 | @array が他の配列を参照するようにすることを意味しているなら、 |
2623 | 2838 | C<\@array = \@other_array> を使ってください。 |
2624 | 2839 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 |
2625 | 2840 | C<\(@array) = @scalar_refs> を使ってください。 |
2626 | 2841 | |
2627 | 2842 | =item Can't modify reference to parenthesized hash in list assignment |
2628 | 2843 | |
2629 | 2844 | =begin original |
2630 | 2845 | |
2631 | 2846 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash |
2632 | 2847 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to |
2633 | 2848 | make the elements of %hash into aliases of the scalars referenced on the |
2634 | 2849 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. |
2635 | 2850 | |
2636 | 2851 | =end original |
2637 | 2852 | |
2638 | 2853 | (F) C<\(%hash)> への代入は対応していません。 |
2639 | 2854 | %hash が他のハッシュを参照するようにすることを意味しているなら、 |
2640 | 2855 | C<\%hash = \%other_hash> を使ってください。 |
2641 | 2856 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 |
2642 | 2857 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 |
2643 | 2858 | |
2644 | 2859 | =item Can't msgrcv to read-only var |
2645 | 2860 | |
2646 | 2861 | =begin original |
2647 | 2862 | |
2648 | 2863 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2649 | 2864 | buffer. |
2650 | 2865 | |
2651 | 2866 | =end original |
2652 | 2867 | |
2653 | 2868 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2654 | 2869 | 変更可能なものでなければなりません。 |
2655 | 2870 | |
2656 | 2871 | =item Can't "next" outside a loop block |
2657 | 2872 | |
2658 | 2873 | =begin original |
2659 | 2874 | |
2660 | 2875 | (F) A "next" statement was executed to reiterate the current block, but |
2661 | 2876 | there isn't a current block. Note that an "if" or "else" block doesn't |
2662 | 2877 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2663 | 2878 | grep(). You can usually double the curlies to get the same effect |
2664 | 2879 | though, because the inner curlies will be considered a block that loops |
2665 | 2880 | once. See L<perlfunc/next>. |
2666 | 2881 | |
2667 | 2882 | =end original |
2668 | 2883 | |
2669 | 2884 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2670 | 2885 | ブロックの中ではありませんでした。 |
2671 | 2886 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2672 | 2887 | 同様「ループ風」ブロックではないので、注意してください。 |
2673 | 2888 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2674 | 2889 | ブロックとみなされますから、同じ効果が得られます。 |
2675 | 2890 | L<perlfunc/next> を参照してください。 |
2676 | 2891 | |
2677 | 2892 | =item Can't open %s: %s |
2678 | 2893 | |
2679 | 2894 | =begin original |
2680 | 2895 | |
2681 | 2896 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2682 | 2897 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2683 | 2898 | switches, or explicitly, failed for the indicated reason. Usually |
2684 | 2899 | this is because you don't have read permission for a file which |
2685 | 2900 | you named on the command line. |
2686 | 2901 | |
2687 | 2902 | =end original |
2688 | 2903 | |
2689 | 2904 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2690 | 2905 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2691 | 2906 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2692 | 2907 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2693 | 2908 | |
2694 | 2909 | =begin original |
2695 | 2910 | |
2696 | 2911 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or |
2697 | 2912 | your operating system's equivalent) could not be opened. |
2698 | 2913 | |
2699 | 2914 | =end original |
2700 | 2915 | |
2701 | 2916 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> |
2702 | 2917 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 |
2703 | 2918 | |
2704 | 2919 | =item Can't open a reference |
2705 | 2920 | |
2706 | 2921 | =begin original |
2707 | 2922 | |
2708 | 2923 | (W io) You tried to open a scalar reference for reading or writing, |
2709 | 2924 | using the 3-arg open() syntax: |
2710 | 2925 | |
2711 | 2926 | =end original |
2712 | 2927 | |
2713 | 2928 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは |
2714 | 2929 | 書き込みのために開こうとしました: |
2715 | 2930 | |
2716 | 2931 | open FH, '>', $ref; |
2717 | 2932 | |
2718 | 2933 | =begin original |
2719 | 2934 | |
2720 | 2935 | but your version of perl is compiled without perlio, and this form of |
2721 | 2936 | open is not supported. |
2722 | 2937 | |
2723 | 2938 | =end original |
2724 | 2939 | |
2725 | 2940 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 |
2726 | 2941 | この形式の open は対応していません。 |
2727 | 2942 | |
2728 | 2943 | =item Can't open bidirectional pipe |
2729 | 2944 | |
2730 | 2945 | =begin original |
2731 | 2946 | |
2732 | 2947 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
2733 | 2948 | You can try any of several modules in the Perl library to do this, such |
2734 | 2949 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
2735 | 2950 | ">", and then read it in under a different file handle. |
2736 | 2951 | |
2737 | 2952 | =end original |
2738 | 2953 | |
2739 | 2954 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
2740 | 2955 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
2741 | 2956 | モジュールを使うことができます。 |
2742 | 2957 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
2743 | 2958 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
2744 | 2959 | |
2745 | 2960 | =item Can't open error file %s as stderr |
2746 | 2961 | |
2747 | 2962 | =begin original |
2748 | 2963 | |
2749 | 2964 | (F) An error peculiar to VMS. Perl does its own command line |
2750 | 2965 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
2751 | 2966 | the command line for writing. |
2752 | 2967 | |
2753 | 2968 | =end original |
2754 | 2969 | |
2755 | 2970 | (F) VMS に固有のエラーです。 |
2756 | 2971 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2757 | 2972 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
2758 | 2973 | ファイルを開けませんでした。 |
2759 | 2974 | |
2760 | 2975 | =item Can't open input file %s as stdin |
2761 | 2976 | |
2762 | 2977 | =begin original |
2763 | 2978 | |
2764 | 2979 | (F) An error peculiar to VMS. Perl does its own command line |
2765 | 2980 | redirection, and couldn't open the file specified after '<' on the |
2766 | 2981 | command line for reading. |
2767 | 2982 | |
2768 | 2983 | =end original |
2769 | 2984 | |
2770 | 2985 | (F) VMS に固有のエラーです。 |
2771 | 2986 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2772 | 2987 | コマンドラインで読み込みのために '<' の後に指定された |
2773 | 2988 | ファイルを開けませんでした。 |
2774 | 2989 | |
2775 | 2990 | =item Can't open output file %s as stdout |
2776 | 2991 | |
2777 | 2992 | =begin original |
2778 | 2993 | |
2779 | 2994 | (F) An error peculiar to VMS. Perl does its own command line |
2780 | 2995 | redirection, and couldn't open the file specified after '>' or '>>' on |
2781 | 2996 | the command line for writing. |
2782 | 2997 | |
2783 | 2998 | =end original |
2784 | 2999 | |
2785 | 3000 | (F) VMS に固有のエラーです。 |
2786 | 3001 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2787 | 3002 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
2788 | 3003 | ファイルを開けませんでした。 |
2789 | 3004 | |
2790 | 3005 | =item Can't open output pipe (name: %s) |
2791 | 3006 | |
2792 | 3007 | =begin original |
2793 | 3008 | |
2794 | 3009 | (P) An error peculiar to VMS. Perl does its own command line |
2795 | 3010 | redirection, and couldn't open the pipe into which to send data destined |
2796 | 3011 | for stdout. |
2797 | 3012 | |
2798 | 3013 | =end original |
2799 | 3014 | |
2800 | 3015 | (P) VMS に固有のエラーです。 |
2801 | 3016 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2802 | 3017 | 標準出力としてデータを送るパイプを開けませんでした。 |
2803 | 3018 | |
2804 | 3019 | =item Can't open perl script "%s": %s |
2805 | 3020 | |
2806 | 3021 | =begin original |
2807 | 3022 | |
2808 | 3023 | (F) The script you specified can't be opened for the indicated reason. |
2809 | 3024 | |
2810 | 3025 | =end original |
2811 | 3026 | |
2812 | 3027 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2813 | 3028 | |
2814 | 3029 | =begin original |
2815 | 3030 | |
2816 | 3031 | If you're debugging a script that uses #!, and normally relies on the |
2817 | 3032 | shell's $PATH search, the -S option causes perl to do that search, so |
2818 | 3033 | you don't have to type the path or C<`which $scriptname`>. |
2819 | 3034 | |
2820 | 3035 | =end original |
2821 | 3036 | |
2822 | 3037 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に |
2823 | 3038 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 |
2824 | 3039 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 |
2825 | 3040 | |
2826 | 3041 | =item Can't read CRTL environ |
2827 | 3042 | |
2828 | 3043 | =begin original |
2829 | 3044 | |
2830 | 3045 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2831 | 3046 | from the CRTL's internal environment array and discovered the array was |
2832 | 3047 | missing. You need to figure out where your CRTL misplaced its environ |
2833 | 3048 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2834 | 3049 | searched. |
2835 | 3050 | |
2836 | 3051 | =end original |
2837 | 3052 | |
2838 | 3053 | (S) VMS に固有の警告です。 |
2839 | 3054 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2840 | 3055 | 配列がないことを発見しました。 |
2841 | 3056 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2842 | 3057 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2843 | 3058 | 必要があります。 |
2844 | 3059 | |
3060 | =item Can't redeclare "%s" in "%s" | |
3061 | ||
3062 | =begin original | |
3063 | ||
3064 | (F) A "my", "our" or "state" declaration was found within another declaration, | |
3065 | such as C<my ($x, my($y), $z)> or C<our (my $x)>. | |
3066 | ||
3067 | =end original | |
3068 | ||
3069 | (F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、 | |
3070 | "my", "our", "state" 宣言が他の宣言の中にありました。 | |
3071 | ||
2845 | 3072 | =item Can't "redo" outside a loop block |
2846 | 3073 | |
2847 | 3074 | =begin original |
2848 | 3075 | |
2849 | 3076 | (F) A "redo" statement was executed to restart the current block, but |
2850 | 3077 | there isn't a current block. Note that an "if" or "else" block doesn't |
2851 | 3078 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2852 | 3079 | or grep(). You can usually double the curlies to get the same effect |
2853 | 3080 | though, because the inner curlies will be considered a block that |
2854 | 3081 | loops once. See L<perlfunc/redo>. |
2855 | 3082 | |
2856 | 3083 | =end original |
2857 | 3084 | |
2858 | 3085 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2859 | 3086 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2860 | 3087 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2861 | 3088 | 同様「ループ風」ブロックではないので、注意してください。 |
2862 | 3089 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2863 | 3090 | ブロックとみなされますから、同じ効果が得られます。 |
2864 | 3091 | L<perlfunc/redo> を参照してください。 |
2865 | 3092 | |
2866 | 3093 | =item Can't remove %s: %s, skipping file |
2867 | 3094 | |
2868 | 3095 | =begin original |
2869 | 3096 | |
2870 | 3097 | (S inplace) You requested an inplace edit without creating a backup |
2871 | 3098 | file. Perl was unable to remove the original file to replace it with |
2872 | 3099 | the modified file. The file was left unmodified. |
2873 | 3100 | |
2874 | 3101 | =end original |
2875 | 3102 | |
2876 | 3103 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2877 | 3104 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2878 | 3105 | できませんでした。 |
2879 | 3106 | ファイルは変更されずに残されます。 |
2880 | 3107 | |
3108 | =item Can't rename in-place work file '%s' to '%s': %s | |
3109 | ||
3110 | =begin original | |
3111 | ||
3112 | (F) When closed implicitly, the temporary file for in-place editing | |
3113 | couldn't be renamed to the original filename. | |
3114 | ||
3115 | =end original | |
3116 | ||
3117 | (F) その場編集のための一時ファイルが暗黙に閉じられたとき、 | |
3118 | 元のファイル名にリネームできませんでした。 | |
3119 | ||
2881 | 3120 | =item Can't rename %s to %s: %s, skipping file |
2882 | 3121 | |
2883 | 3122 | =begin original |
2884 | 3123 | |
2885 | ( | |
3124 | (F) The rename done by the B<-i> switch failed for some reason, | |
2886 | 3125 | probably because you don't have write permission to the directory. |
2887 | 3126 | |
2888 | 3127 | =end original |
2889 | 3128 | |
2890 | ( | |
3129 | (F) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
2891 | 3130 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 |
2892 | 3131 | |
2893 | 3132 | =item Can't reopen input pipe (name: %s) in binary mode |
2894 | 3133 | |
2895 | 3134 | =begin original |
2896 | 3135 | |
2897 | 3136 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
2898 | 3137 | to reopen it to accept binary data. Alas, it failed. |
2899 | 3138 | |
2900 | 3139 | =end original |
2901 | 3140 | |
2902 | 3141 | (P) VMS に固有のエラーです。 |
2903 | 3142 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
2904 | 3143 | 再オープンしようとしました。 |
2905 | 3144 | 悲しいかな、それは失敗しました。 |
2906 | 3145 | |
2907 | 3146 | =item Can't represent character for Ox%X on this platform |
2908 | 3147 | |
2909 | 3148 | =begin original |
2910 | 3149 | |
2911 | 3150 | (F) There is a hard limit to how big a character code point can be due |
2912 | 3151 | to the fundamental properties of UTF-8, especially on EBCDIC |
2913 | 3152 | platforms. The given code point exceeds that. The only work-around is |
2914 | 3153 | to not use such a large code point. |
2915 | 3154 | |
2916 | 3155 | =end original |
2917 | 3156 | |
2918 | 3157 | (F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります; |
2919 | 3158 | これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。 |
2920 | 3159 | 指定された符号位置はそれを越えています。 |
2921 | 3160 | 唯一の回避策はそのような大きな符号位置を使わないことです。 |
2922 | 3161 | |
2923 | 3162 | =item Can't reset %ENV on this system |
2924 | 3163 | |
2925 | 3164 | =begin original |
2926 | 3165 | |
2927 | 3166 | (F) You called C<reset('E')> or similar, which tried to reset |
2928 | 3167 | all variables in the current package beginning with "E". In |
2929 | 3168 | the main package, that includes %ENV. Resetting %ENV is not |
2930 | 3169 | supported on some systems, notably VMS. |
2931 | 3170 | |
2932 | 3171 | =end original |
2933 | 3172 | |
2934 | 3173 | (F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる |
2935 | 3174 | 全ての変数を reset しようとしました。 |
2936 | 3175 | main パッケージでは、これには %ENV が含まれます。 |
2937 | 3176 | %ENV の reset は一部のシステム、特に VMS では対応していません。 |
2938 | 3177 | |
2939 | 3178 | =item Can't resolve method "%s" overloading "%s" in package "%s" |
2940 | 3179 | |
2941 | 3180 | =begin original |
2942 | 3181 | |
2943 | 3182 | (F)(P) Error resolving overloading specified by a method name (as |
2944 | 3183 | opposed to a subroutine reference): no such method callable via the |
2945 | 3184 | package. If the method name is C<???>, this is an internal error. |
2946 | 3185 | |
2947 | 3186 | =end original |
2948 | 3187 | |
2949 | 3188 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された |
2950 | 3189 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
2951 | 3190 | 呼び出せません。 |
2952 | 3191 | もしメソッド名が C<???> なら、内部エラーです。 |
2953 | 3192 | |
2954 | 3193 | =item Can't return %s from lvalue subroutine |
2955 | 3194 | |
2956 | 3195 | =begin original |
2957 | 3196 | |
2958 | 3197 | (F) Perl detected an attempt to return illegal lvalues (such as |
2959 | 3198 | temporary or readonly values) from a subroutine used as an lvalue. This |
2960 | 3199 | is not allowed. |
2961 | 3200 | |
2962 | 3201 | =end original |
2963 | 3202 | |
2964 | 3203 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
2965 | 3204 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 |
2966 | 3205 | これは認められていません。 |
2967 | 3206 | |
2968 | 3207 | =item Can't return outside a subroutine |
2969 | 3208 | |
2970 | 3209 | =begin original |
2971 | 3210 | |
2972 | 3211 | (F) The return statement was executed in mainline code, that is, where |
2973 | 3212 | there was no subroutine call to return out of. See L<perlsub>. |
2974 | 3213 | |
2975 | 3214 | =end original |
2976 | 3215 | |
2977 | 3216 | (F) return 文が、return で抜けるべきサブルーチンがない、 |
2978 | 3217 | "main" コードで実行されました。 |
2979 | 3218 | L<perlsub> を参照してください。 |
2980 | 3219 | |
2981 | 3220 | =item Can't return %s to lvalue scalar context |
2982 | 3221 | |
2983 | 3222 | =begin original |
2984 | 3223 | |
2985 | 3224 | (F) You tried to return a complete array or hash from an lvalue |
2986 | 3225 | subroutine, but you called the subroutine in a way that made Perl |
2987 | 3226 | think you meant to return only one value. You probably meant to |
2988 | 3227 | write parentheses around the call to the subroutine, which tell |
2989 | 3228 | Perl that the call should be in list context. |
2990 | 3229 | |
2991 | 3230 | =end original |
2992 | 3231 | |
2993 | 3232 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
2994 | 3233 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
2995 | 3234 | 呼び出しました。 |
2996 | 3235 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
2997 | 3236 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
2998 | 3237 | |
2999 | 3238 | =item Can't stat script "%s" |
3000 | 3239 | |
3001 | 3240 | =begin original |
3002 | 3241 | |
3003 | 3242 | (P) For some reason you can't fstat() the script even though you have it |
3004 | 3243 | open already. Bizarre. |
3005 | 3244 | |
3006 | 3245 | =end original |
3007 | 3246 | |
3008 | 3247 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が |
3009 | 3248 | 行なえません。困ったもんだ。 |
3010 | 3249 | |
3011 | 3250 | =item Can't take log of %g |
3012 | 3251 | |
3013 | 3252 | =begin original |
3014 | 3253 | |
3015 | 3254 | (F) For ordinary real numbers, you can't take the logarithm of a |
3016 | 3255 | negative number or zero. There's a Math::Complex package that comes |
3017 | 3256 | standard with Perl, though, if you really want to do that for the |
3018 | 3257 | negative numbers. |
3019 | 3258 | |
3020 | 3259 | =end original |
3021 | 3260 | |
3022 | 3261 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
3023 | 3262 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
3024 | 3263 | Perl 標準になっている Math::Complex パッケージがあります。 |
3025 | 3264 | |
3026 | 3265 | =item Can't take sqrt of %g |
3027 | 3266 | |
3028 | 3267 | =begin original |
3029 | 3268 | |
3030 | 3269 | (F) For ordinary real numbers, you can't take the square root of a |
3031 | 3270 | negative number. There's a Math::Complex package that comes standard |
3032 | 3271 | with Perl, though, if you really want to do that. |
3033 | 3272 | |
3034 | 3273 | =end original |
3035 | 3274 | |
3036 | 3275 | (F) 通常の実数では、負数の平方根をとることはできません。 |
3037 | 3276 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
3038 | 3277 | Perl に標準で用意されています。 |
3039 | 3278 | |
3040 | 3279 | =item Can't undef active subroutine |
3041 | 3280 | |
3042 | 3281 | =begin original |
3043 | 3282 | |
3044 | 3283 | (F) You can't undefine a routine that's currently running. You can, |
3045 | 3284 | however, redefine it while it's running, and you can even undef the |
3046 | 3285 | redefined subroutine while the old routine is running. Go figure. |
3047 | 3286 | |
3048 | 3287 | =end original |
3049 | 3288 | |
3050 | 3289 | (F) 実行中のルーティンを未定義にすることはできません。 |
3051 | 3290 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
3052 | 3291 | 再定義したサブルーチンを undef することさえできます。 |
3053 | 3292 | 驚きです。 |
3054 | 3293 | |
3294 | =item Can't unweaken a nonreference | |
3295 | ||
3296 | =begin original | |
3297 | ||
3298 | (F) You attempted to unweaken something that was not a reference. Only | |
3299 | references can be unweakened. | |
3300 | ||
3301 | =end original | |
3302 | ||
3303 | (F) リファレンスでないものを弱くないようにしようとしました。 | |
3304 | リファレンスだけが弱くないようにできます。 | |
3305 | ||
3055 | 3306 | =item Can't upgrade %s (%d) to %d |
3056 | 3307 | |
3057 | 3308 | =begin original |
3058 | 3309 | |
3059 | 3310 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
3060 | 3311 | into a more specialized kind of SV. The top several SV types are so |
3061 | 3312 | specialized, however, that they cannot be interconverted. This message |
3062 | 3313 | indicates that such a conversion was attempted. |
3063 | 3314 | |
3064 | 3315 | =end original |
3065 | 3316 | |
3066 | 3317 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
3067 | 3318 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
3068 | 3319 | 特殊化され過ぎて、内部変換することができません。 |
3069 | 3320 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
3070 | 3321 | |
3071 | 3322 | =item Can't use '%c' after -mname |
3072 | 3323 | |
3073 | 3324 | =begin original |
3074 | 3325 | |
3075 | 3326 | (F) You tried to call perl with the B<-m> switch, but you put something |
3076 | 3327 | other than "=" after the module name. |
3077 | 3328 | |
3078 | 3329 | =end original |
3079 | 3330 | |
3080 | 3331 | (F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に |
3081 | 3332 | "=" 以外のものを置きました。 |
3082 | 3333 | |
3083 | 3334 | =item Can't use a hash as a reference |
3084 | 3335 | |
3085 | 3336 | =begin original |
3086 | 3337 | |
3087 | 3338 | (F) You tried to use a hash as a reference, as in |
3088 | 3339 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl |
3089 | 3340 | <= 5.22.0 used to allow this syntax, but shouldn't |
3090 | 3341 | have. This was deprecated in perl 5.6.1. |
3091 | 3342 | |
3092 | 3343 | =end original |
3093 | 3344 | |
3094 | 3345 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 |
3095 | 3346 | ハッシュをリファレンスとして使おうとしました。 |
3096 | 3347 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 |
3097 | 3348 | そうするべきではありません。 |
3098 | 3349 | これは perl 5.6.1 から廃止予定です。 |
3099 | 3350 | |
3100 | 3351 | =item Can't use an array as a reference |
3101 | 3352 | |
3102 | 3353 | =begin original |
3103 | 3354 | |
3104 | 3355 | (F) You tried to use an array as a reference, as in |
3105 | 3356 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 |
3106 | 3357 | used to allow this syntax, but shouldn't have. This |
3107 | 3358 | was deprecated in perl 5.6.1. |
3108 | 3359 | |
3109 | 3360 | =end original |
3110 | 3361 | |
3111 | 3362 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 |
3112 | 3363 | 配列をリファレンスとして使おうとしました。 |
3113 | 3364 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 |
3114 | 3365 | そうするべきではありません。 |
3115 | 3366 | これは perl 5.6.1 から廃止予定です。 |
3116 | 3367 | |
3117 | 3368 | =item Can't use anonymous symbol table for method lookup |
3118 | 3369 | |
3119 | 3370 | =begin original |
3120 | 3371 | |
3121 | 3372 | (F) The internal routine that does method lookup was handed a symbol |
3122 | 3373 | table that doesn't have a name. Symbol tables can become anonymous |
3123 | 3374 | for example by undefining stashes: C<undef %Some::Package::>. |
3124 | 3375 | |
3125 | 3376 | =end original |
3126 | 3377 | |
3127 | 3378 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを |
3128 | 3379 | 扱いました。 |
3129 | 3380 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の |
3130 | 3381 | stash によって無名となります。 |
3131 | 3382 | |
3132 | 3383 | =item Can't use an undefined value as %s reference |
3133 | 3384 | |
3134 | 3385 | =begin original |
3135 | 3386 | |
3136 | 3387 | (F) A value used as either a hard reference or a symbolic reference must |
3137 | 3388 | be a defined value. This helps to delurk some insidious errors. |
3138 | 3389 | |
3139 | 3390 | =end original |
3140 | 3391 | |
3141 | 3392 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
3142 | 3393 | 定義済みの値でなければなりません。 |
3143 | 3394 | 潜伏中のエラーを引きずり出す助けとなります。 |
3144 | 3395 | |
3145 | 3396 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
3146 | 3397 | |
3147 | 3398 | =begin original |
3148 | 3399 | |
3149 | 3400 | (F) Only hard references are allowed by "strict refs". Symbolic |
3150 | 3401 | references are disallowed. See L<perlref>. |
3151 | 3402 | |
3152 | 3403 | =end original |
3153 | 3404 | |
3154 | 3405 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
3155 | 3406 | シンボリックリファレンスは許可されません。 |
3156 | 3407 | L<perlref> を参照してください。 |
3157 | 3408 | |
3158 | 3409 | =item Can't use %! because Errno.pm is not available |
3159 | 3410 | |
3160 | 3411 | =begin original |
3161 | 3412 | |
3162 | 3413 | (F) The first time the C<%!> hash is used, perl automatically loads the |
3163 | 3414 | Errno.pm module. The Errno module is expected to tie the %! hash to |
3164 | 3415 | provide symbolic names for C<$!> errno values. |
3165 | 3416 | |
3166 | 3417 | =end original |
3167 | 3418 | |
3168 | 3419 | (F) 最初に C<%!> ハッシュが使われるときに、 |
3169 | 3420 | perl は自動的に Errno.pm モジュールを読み込みます。 |
3170 | 3421 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
3171 | 3422 | %! ハッシュと tie されることになります。 |
3172 | 3423 | |
3173 | 3424 | =item Can't use both '<' and '>' after type '%c' in %s |
3174 | 3425 | |
3175 | 3426 | =begin original |
3176 | 3427 | |
3177 | 3428 | (F) A type cannot be forced to have both big-endian and little-endian |
3178 | 3429 | byte-order at the same time, so this combination of modifiers is not |
3179 | 3430 | allowed. See L<perlfunc/pack>. |
3180 | 3431 | |
3181 | 3432 | =end original |
3182 | 3433 | |
3183 | 3434 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に |
3184 | 3435 | 強制することはできないので、この修飾子の組み合わせは許可されません。 |
3185 | 3436 | L<perlfunc/pack> を参照してください。 |
3186 | 3437 | |
3187 | 3438 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) |
3188 | 3439 | |
3189 | 3440 | =begin original |
3190 | 3441 | |
3191 | 3442 | (F) defined() is not useful on arrays because it |
3192 | 3443 | checks for an undefined I<scalar> value. If you want to see if the |
3193 | 3444 | array is empty, just use C<if (@array) { # not empty }> for example. |
3194 | 3445 | |
3195 | 3446 | =end original |
3196 | 3447 | |
3197 | 3448 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 |
3198 | 3449 | 配列が空かどうかを調べたい場合は、例えば単に |
3199 | 3450 | C<if (@array) { # not empty }> としてください。 |
3200 | 3451 | |
3201 | 3452 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) |
3202 | 3453 | |
3203 | 3454 | =begin original |
3204 | 3455 | |
3205 | 3456 | (F) C<defined()> is not usually right on hashes. |
3206 | 3457 | |
3207 | 3458 | =end original |
3208 | 3459 | |
3209 | 3460 | (F) C<defined()> は普通はハッシュの右側ではありません。 |
3210 | 3461 | |
3211 | 3462 | =begin original |
3212 | 3463 | |
3213 | 3464 | Although C<defined %hash> is false on a plain not-yet-used hash, it |
3214 | 3465 | becomes true in several non-obvious circumstances, including iterators, |
3215 | 3466 | weak references, stash names, even remaining true after C<undef %hash>. |
3216 | 3467 | These things make C<defined %hash> fairly useless in practice, so it now |
3217 | 3468 | generates a fatal error. |
3218 | 3469 | |
3219 | 3470 | =end original |
3220 | 3471 | |
3221 | 3472 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 |
3222 | 3473 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 |
3223 | 3474 | stash 名を含み、C<undef %hash> の後でも真になります。 |
3224 | 3475 | これらにより、実践では C<defined %hash> はほとんど使えないので、 |
3225 | 3476 | 致命的エラーを生成するようになりました。 |
3226 | 3477 | |
3227 | 3478 | =begin original |
3228 | 3479 | |
3229 | 3480 | If a check for non-empty is what you wanted then just put it in boolean |
3230 | 3481 | context (see L<perldata/Scalar values>): |
3231 | 3482 | |
3232 | 3483 | =end original |
3233 | 3484 | |
3234 | 3485 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに |
3235 | 3486 | 置いてください (L<perldata/Scalar values> を参照してください): |
3236 | 3487 | |
3237 | 3488 | if (%hash) { |
3238 | 3489 | # not empty |
3239 | 3490 | } |
3240 | 3491 | |
3241 | 3492 | =begin original |
3242 | 3493 | |
3243 | 3494 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package |
3244 | 3495 | variable exists then that's never really been reliable, and isn't |
3245 | 3496 | a good way to enquire about the features of a package, or whether |
3246 | 3497 | it's loaded, etc. |
3247 | 3498 | |
3248 | 3499 | =end original |
3249 | 3500 | |
3250 | 3501 | パッケージ変数が存在するかどうかを調べるために |
3251 | 3502 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が |
3252 | 3503 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる |
3253 | 3504 | 良い方法ではありません。 |
3254 | 3505 | |
3255 | 3506 | =item Can't use %s for loop variable |
3256 | 3507 | |
3257 | 3508 | =begin original |
3258 | 3509 | |
3259 | 3510 | (P) The parser got confused when trying to parse a C<foreach> loop. |
3260 | 3511 | |
3261 | 3512 | =end original |
3262 | 3513 | |
3263 | 3514 | (P) パーサが C<foreach> ループをパースしようとしたときに混乱しました。 |
3264 | 3515 | |
3265 | =item Can't use global %s in | |
3516 | =item Can't use global %s in %s | |
3266 | 3517 | |
3267 | 3518 | =begin original |
3268 | 3519 | |
3269 | 3520 | (F) You tried to declare a magical variable as a lexical variable. This |
3270 | 3521 | is not allowed, because the magic can be tied to only one location |
3271 | 3522 | (namely the global variable) and it would be incredibly confusing to |
3272 | 3523 | have variables in your program that looked like magical variables but |
3273 | 3524 | weren't. |
3274 | 3525 | |
3275 | 3526 | =end original |
3276 | 3527 | |
3277 | 3528 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
3278 | 3529 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) |
3279 | 3530 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども |
3280 | 3531 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 |
3281 | 3532 | |
3282 | 3533 | =item Can't use '%c' in a group with different byte-order in %s |
3283 | 3534 | |
3284 | 3535 | =begin original |
3285 | 3536 | |
3286 | 3537 | (F) You attempted to force a different byte-order on a type |
3287 | 3538 | that is already inside a group with a byte-order modifier. |
3288 | 3539 | For example you cannot force little-endianness on a type that |
3289 | 3540 | is inside a big-endian group. |
3290 | 3541 | |
3291 | 3542 | =end original |
3292 | 3543 | |
3293 | 3544 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を |
3294 | 3545 | 強制しようとしました。 |
3295 | 3546 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに |
3296 | 3547 | 強制することはできません。 |
3297 | 3548 | |
3298 | 3549 | =item Can't use "my %s" in sort comparison |
3299 | 3550 | |
3300 | 3551 | =begin original |
3301 | 3552 | |
3302 | 3553 | (F) The global variables $a and $b are reserved for sort comparisons. |
3303 | 3554 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
3304 | 3555 | and the variable had earlier been declared as a lexical variable. |
3305 | 3556 | Either qualify the sort variable with the package name, or rename the |
3306 | 3557 | lexical variable. |
3307 | 3558 | |
3308 | 3559 | =end original |
3309 | 3560 | |
3310 | 3561 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
3311 | 3562 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
3312 | 3563 | その前にレキシカル変数として宣言されています。 |
3313 | 3564 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 |
3314 | 3565 | |
3315 | 3566 | =item Can't use %s ref as %s ref |
3316 | 3567 | |
3317 | 3568 | =begin original |
3318 | 3569 | |
3319 | 3570 | (F) You've mixed up your reference types. You have to dereference a |
3320 | 3571 | reference of the type needed. You can use the ref() function to |
3321 | 3572 | test the type of the reference, if need be. |
3322 | 3573 | |
3323 | 3574 | =end original |
3324 | 3575 | |
3325 | 3576 | (F) リファレンス型を混同しています。 |
3326 | 3577 | 必要な型のリファレンスを被参照しなければなりません。 |
3327 | 3578 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
3328 | 3579 | |
3329 | 3580 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
3330 | 3581 | |
3331 | 3582 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use |
3332 | 3583 | |
3333 | 3584 | =begin original |
3334 | 3585 | |
3335 | 3586 | (F) You've told Perl to dereference a string, something which |
3336 | 3587 | C<use strict> blocks to prevent it happening accidentally. See |
3337 | 3588 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> |
3338 | 3589 | in a double-quoted string immediately before interpolating a variable, |
3339 | 3590 | for example in C<"user @$twitter_id">, which says to treat the contents |
3340 | 3591 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> |
3341 | 3592 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. |
3342 | 3593 | |
3343 | 3594 | =end original |
3344 | 3595 | |
3345 | 3596 | (F) 文字列をデリファレンスするように Perl に指示しましたが、 |
3346 | 3597 | C<use strict> ブロックがこれが偶然起きることを妨げました。 |
3347 | 3598 | L<perlref/"Symbolic references"> を参照してください。 |
3348 | 3599 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で |
3349 | 3600 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の |
3350 | 3601 | 内容を配列リファレンスとして扱うように指示しています; |
3351 | 3602 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには |
3352 | 3603 | C<\> を使ってください: C<"user \@$twitter_id">。 |
3353 | 3604 | |
3354 | 3605 | =item Can't use subscript on %s |
3355 | 3606 | |
3356 | 3607 | =begin original |
3357 | 3608 | |
3358 | 3609 | (F) The compiler tried to interpret a bracketed expression as a |
3359 | 3610 | subscript. But to the left of the brackets was an expression that |
3360 | 3611 | didn't look like a hash or array reference, or anything else subscriptable. |
3361 | 3612 | |
3362 | 3613 | =end original |
3363 | 3614 | |
3364 | 3615 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
3365 | 3616 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
3366 | 3617 | 添字化できるもののようには見えない式です。 |
3367 | 3618 | |
3368 | 3619 | =item Can't use \%c to mean $%c in expression |
3369 | 3620 | |
3370 | 3621 | =begin original |
3371 | 3622 | |
3372 | 3623 | (W syntax) In an ordinary expression, backslash is a unary operator that |
3373 | 3624 | creates a reference to its argument. The use of backslash to indicate a |
3374 | 3625 | backreference to a matched substring is valid only as part of a regular |
3375 | 3626 | expression pattern. Trying to do this in ordinary Perl code produces a |
3376 | 3627 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
3377 | 3628 | instead. |
3378 | 3629 | |
3379 | 3630 | =end original |
3380 | 3631 | |
3381 | 3632 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
3382 | 3633 | 単項演算子です。 |
3383 | 3634 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
3384 | 3635 | 正規表現パターンの一部の場合にのみ有効です。 |
3385 | 3636 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
3386 | 3637 | 表示される値を生成します。 |
3387 | 3638 | 代わりに $1 の形を使ってください。 |
3388 | 3639 | |
3389 | 3640 | =item Can't weaken a nonreference |
3390 | 3641 | |
3391 | 3642 | =begin original |
3392 | 3643 | |
3393 | 3644 | (F) You attempted to weaken something that was not a reference. Only |
3394 | 3645 | references can be weakened. |
3395 | 3646 | |
3396 | 3647 | =end original |
3397 | 3648 | |
3398 | 3649 | (F) リファレンスではない何かを弱めようとしました。 |
3399 | 3650 | リファレンスだけが弱めることができます。 |
3400 | 3651 | |
3401 | 3652 | =item Can't "when" outside a topicalizer |
3402 | 3653 | |
3403 | 3654 | =begin original |
3404 | 3655 | |
3405 | 3656 | (F) You have used a when() block that is neither inside a C<foreach> |
3406 | 3657 | loop nor a C<given> block. (Note that this error is issued on exit |
3407 | 3658 | from the C<when> block, so you won't get the error if the match fails, |
3408 | 3659 | or if you use an explicit C<continue>.) |
3409 | 3660 | |
3410 | 3661 | =end original |
3411 | 3662 | |
3412 | 3663 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを |
3413 | 3664 | 使いました。 |
3414 | 3665 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに |
3415 | 3666 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは |
3416 | 3667 | 発生しません。) |
3417 | 3668 | |
3418 | 3669 | =item Can't x= to read-only value |
3419 | 3670 | |
3420 | 3671 | =begin original |
3421 | 3672 | |
3422 | 3673 | (F) You tried to repeat a constant value (often the undefined value) |
3423 | 3674 | with an assignment operator, which implies modifying the value itself. |
3424 | 3675 | Perhaps you need to copy the value to a temporary, and repeat that. |
3425 | 3676 | |
3426 | 3677 | =end original |
3427 | 3678 | |
3428 | 3679 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
3429 | 3680 | 代入演算子で繰り返しを行なおうとしました。 |
3430 | 3681 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
3431 | 3682 | |
3432 | 3683 | =item Character following "\c" must be printable ASCII |
3433 | 3684 | |
3434 | 3685 | =begin original |
3435 | 3686 | |
3436 | 3687 | (F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character. |
3437 | 3688 | |
3438 | 3689 | =end original |
3439 | 3690 | |
3440 | 3691 | (F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。 |
3441 | 3692 | |
3442 | 3693 | =begin original |
3443 | 3694 | |
3444 | 3695 | Note that ASCII characters that don't map to control characters are |
3445 | 3696 | discouraged, and will generate the warning (when enabled) |
3446 | 3697 | L</""\c%c" is more clearly written simply as "%s"">. |
3447 | 3698 | |
3448 | 3699 | =end original |
3449 | 3700 | |
3450 | 3701 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; |
3451 | 3702 | そして (有効になっていれば) |
3452 | 3703 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 |
3453 | 3704 | |
3705 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
3706 | ||
3707 | =begin original | |
3708 | ||
3709 | (F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You | |
3710 | specified something that isn't a legal Unicode property name. Most | |
3711 | Unicode properties are specified by C<\p{...}>. But if the name is a | |
3712 | single character one, the braces may be omitted. | |
3713 | ||
3714 | =end original | |
3715 | ||
3716 | (F) (前述の C<%c> は C<p> か C<P> に置き換えられます。) | |
3717 | 正当な Unicode 特性名ではない何かをしていしました。 | |
3718 | ほとんどの Unicode 特性は C<\p{...}> として指定されます。 | |
3719 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
3720 | ||
3454 | 3721 | =item Character in 'C' format wrapped in pack |
3455 | 3722 | |
3456 | 3723 | =begin original |
3457 | 3724 | |
3458 | 3725 | (W pack) You said |
3459 | 3726 | |
3460 | 3727 | =end original |
3461 | 3728 | |
3462 | 3729 | (W pack) 以下のように書きましたが: |
3463 | 3730 | |
3464 | 3731 | pack("C", $x) |
3465 | 3732 | |
3466 | 3733 | =begin original |
3467 | 3734 | |
3468 | 3735 | where $x is either less than 0 or more than 255; the C<"C"> format is |
3469 | 3736 | only for encoding native operating system characters (ASCII, EBCDIC, |
3470 | 3737 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3471 | 3738 | |
3472 | 3739 | =end original |
3473 | 3740 | |
3474 | 3741 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは |
3475 | 3742 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3476 | 3743 | 対応していて、Unicode 文字は対応していません; |
3477 | 3744 | それで、Perl は以下のように意味しているかのように振舞います: |
3478 | 3745 | |
3479 | 3746 | pack("C", $x & 255) |
3480 | 3747 | |
3481 | 3748 | =begin original |
3482 | 3749 | |
3483 | 3750 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3484 | 3751 | instead. |
3485 | 3752 | |
3486 | 3753 | =end original |
3487 | 3754 | |
3488 | 3755 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3489 | 3756 | 使ってください。 |
3490 | 3757 | |
3491 | 3758 | =item Character in 'c' format wrapped in pack |
3492 | 3759 | |
3493 | 3760 | =begin original |
3494 | 3761 | |
3495 | 3762 | (W pack) You said |
3496 | 3763 | |
3497 | 3764 | =end original |
3498 | 3765 | |
3499 | 3766 | (W pack) 以下のように書きましたが: |
3500 | 3767 | |
3501 | 3768 | pack("c", $x) |
3502 | 3769 | |
3503 | 3770 | =begin original |
3504 | 3771 | |
3505 | 3772 | where $x is either less than -128 or more than 127; the C<"c"> format |
3506 | 3773 | is only for encoding native operating system characters (ASCII, EBCDIC, |
3507 | 3774 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3508 | 3775 | |
3509 | 3776 | =end original |
3510 | 3777 | |
3511 | 3778 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは |
3512 | 3779 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3513 | 3780 | 対応していて、Unicode 文字は対応していません; |
3514 | 3781 | それで、Perl は以下のように意味しているかのように振舞います: |
3515 | 3782 | |
3516 | 3783 | pack("c", $x & 255); |
3517 | 3784 | |
3518 | 3785 | =begin original |
3519 | 3786 | |
3520 | 3787 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3521 | 3788 | instead. |
3522 | 3789 | |
3523 | 3790 | =end original |
3524 | 3791 | |
3525 | 3792 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3526 | 3793 | 使ってください。 |
3527 | 3794 | |
3528 | 3795 | =item Character in '%c' format wrapped in unpack |
3529 | 3796 | |
3530 | 3797 | =begin original |
3531 | 3798 | |
3532 | 3799 | (W unpack) You tried something like |
3533 | 3800 | |
3534 | 3801 | =end original |
3535 | 3802 | |
3536 | 3803 | (W unpack) 以下のようなことをしましたが: |
3537 | 3804 | |
3538 | 3805 | unpack("H", "\x{2a1}") |
3539 | 3806 | |
3540 | 3807 | =begin original |
3541 | 3808 | |
3542 | 3809 | where the format expects to process a byte (a character with a value |
3543 | 3810 | below 256), but a higher value was provided instead. Perl uses the |
3544 | 3811 | value modulus 256 instead, as if you had provided: |
3545 | 3812 | |
3546 | 3813 | =end original |
3547 | 3814 | |
3548 | 3815 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 |
3549 | 3816 | 文字の中により大きな値のものがあります。 |
3550 | 3817 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3551 | 3818 | 値として使います: |
3552 | 3819 | |
3553 | 3820 | unpack("H", "\x{a1}") |
3554 | 3821 | |
3555 | 3822 | =item Character in 'W' format wrapped in pack |
3556 | 3823 | |
3557 | 3824 | =begin original |
3558 | 3825 | |
3559 | 3826 | (W pack) You said |
3560 | 3827 | |
3561 | 3828 | =end original |
3562 | 3829 | |
3563 | 3830 | (W pack) 以下のように書きましたが: |
3564 | 3831 | |
3565 | 3832 | pack("U0W", $x) |
3566 | 3833 | |
3567 | 3834 | =begin original |
3568 | 3835 | |
3569 | 3836 | where $x is either less than 0 or more than 255. However, C<U0>-mode |
3570 | 3837 | expects all values to fall in the interval [0, 255], so Perl behaved |
3571 | 3838 | as if you meant: |
3572 | 3839 | |
3573 | 3840 | =end original |
3574 | 3841 | |
3575 | 3842 | $x が 0 より小さいか 255 より大きいです。 |
3576 | 3843 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 |
3577 | 3844 | Perl は以下のように振る舞います: |
3578 | 3845 | |
3579 | 3846 | pack("U0W", $x & 255) |
3580 | 3847 | |
3581 | 3848 | =item Character(s) in '%c' format wrapped in pack |
3582 | 3849 | |
3583 | 3850 | =begin original |
3584 | 3851 | |
3585 | 3852 | (W pack) You tried something like |
3586 | 3853 | |
3587 | 3854 | =end original |
3588 | 3855 | |
3589 | 3856 | (W pack) 以下のようなことをしましたが: |
3590 | 3857 | |
3591 | 3858 | pack("u", "\x{1f3}b") |
3592 | 3859 | |
3593 | 3860 | =begin original |
3594 | 3861 | |
3595 | 3862 | where the format expects to process a sequence of bytes (character with a |
3596 | 3863 | value below 256), but some of the characters had a higher value. Perl |
3597 | 3864 | uses the character values modulus 256 instead, as if you had provided: |
3598 | 3865 | |
3599 | 3866 | =end original |
3600 | 3867 | |
3601 | 3868 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3602 | 3869 | 文字の中により大きな値のものがあります。 |
3603 | 3870 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3604 | 3871 | 値として使います: |
3605 | 3872 | |
3606 | 3873 | pack("u", "\x{f3}b") |
3607 | 3874 | |
3608 | 3875 | =item Character(s) in '%c' format wrapped in unpack |
3609 | 3876 | |
3610 | 3877 | =begin original |
3611 | 3878 | |
3612 | 3879 | (W unpack) You tried something like |
3613 | 3880 | |
3614 | 3881 | =end original |
3615 | 3882 | |
3616 | 3883 | (W unpack) 以下のようなことをしましたが: |
3617 | 3884 | |
3618 | 3885 | unpack("s", "\x{1f3}b") |
3619 | 3886 | |
3620 | 3887 | =begin original |
3621 | 3888 | |
3622 | 3889 | where the format expects to process a sequence of bytes (character with a |
3623 | 3890 | value below 256), but some of the characters had a higher value. Perl |
3624 | 3891 | uses the character values modulus 256 instead, as if you had provided: |
3625 | 3892 | |
3626 | 3893 | =end original |
3627 | 3894 | |
3628 | 3895 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3629 | 3896 | 文字の中により大きな値のものがあります。 |
3630 | 3897 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3631 | 3898 | 値として使います: |
3632 | 3899 | |
3633 | 3900 | unpack("s", "\x{f3}b") |
3634 | 3901 | |
3635 | =item charnames alias definitions may not contain a sequence of multiple | |
3902 | =item charnames alias definitions may not contain a sequence of multiple | |
3903 | spaces; marked by S<<-- HERE> in %s | |
3636 | 3904 | |
3637 | 3905 | =begin original |
3638 | 3906 | |
3639 | 3907 | (F) You defined a character name which had multiple space characters |
3640 | 3908 | in a row. Change them to single spaces. Usually these names are |
3641 | 3909 | defined in the C<:alias> import argument to C<use charnames>, but they |
3642 | 3910 | could be defined by a translator installed into C<$^H{charnames}>. See |
3643 | 3911 | L<charnames/CUSTOM ALIASES>. |
3644 | 3912 | |
3645 | 3913 | =end original |
3646 | 3914 | |
3647 | 3915 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 |
3648 | 3916 | 単一のスペースに変更してください。 |
3649 | 3917 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で |
3650 | 3918 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で |
3651 | 3919 | 定義されているかも知れません。 |
3652 | 3920 | L<charnames/CUSTOM ALIASES> を参照してください。 |
3653 | 3921 | |
3654 | =item charnames alias definitions may not contain trailing white-space | |
3922 | =item charnames alias definitions may not contain trailing white-space; | |
3923 | marked by S<<-- HERE> in %s | |
3655 | 3924 | |
3656 | 3925 | =begin original |
3657 | 3926 | |
3658 | 3927 | (F) You defined a character name which ended in a space |
3659 | 3928 | character. Remove the trailing space(s). Usually these names are |
3660 | 3929 | defined in the C<:alias> import argument to C<use charnames>, but they |
3661 | 3930 | could be defined by a translator installed into C<$^H{charnames}>. |
3662 | 3931 | See L<charnames/CUSTOM ALIASES>. |
3663 | 3932 | |
3664 | 3933 | =end original |
3665 | 3934 | |
3666 | 3935 | (D) スペース文字で終わる文字名を定義しました。 |
3667 | 3936 | 末尾のスペースを取り除いてください。 |
3668 | 3937 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で |
3669 | 3938 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で |
3670 | 3939 | 定義されているかも知れません。 |
3671 | 3940 | L<charnames/CUSTOM ALIASES> を参照してください。 |
3672 | 3941 | |
3673 | =item | |
3942 | =item chdir() on unopened filehandle %s | |
3674 | 3943 | |
3675 | 3944 | =begin original |
3676 | 3945 | |
3677 | ( | |
3946 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
3678 | become a compile-time error in a future release of perl (tentatively | |
3679 | v5.24). This construct allows you to match a single byte of what makes | |
3680 | up a multi-byte single UTF8 character, and breaks encapsulation. It is | |
3681 | currently also very buggy. If you really need to process the individual | |
3682 | bytes, you probably want to convert your string to one where each | |
3683 | underlying byte is stored as a character, with utf8::encode(). | |
3684 | 3947 | |
3685 | 3948 | =end original |
3686 | 3949 | |
3687 | ( | |
3950 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
3688 | perl (暫定的には v5.24) ではコンパイル時エラーになります。 | |
3689 | この構文は、複数バイトの単一 UTF8 文字の単一のバイトに | |
3690 | マッチングできるようにし、カプセル化を壊します。 | |
3691 | これはまた現在のところとてもバグっぽいです。 | |
3692 | 本当に個々のバイトを処理する必要があるなら、 | |
3693 | おそらくその文字列を、utf8::encode() を使って、 | |
3694 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
3695 | 良いでしょう。 | |
3696 | 3951 | |
3697 | 3952 | =item "\c%c" is more clearly written simply as "%s" |
3698 | 3953 | |
3699 | 3954 | =begin original |
3700 | 3955 | |
3701 | 3956 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify |
3702 | 3957 | non-printable characters. You used it for a printable one, which |
3703 | 3958 | is better written as simply itself, perhaps preceded by a backslash |
3704 | 3959 | for non-word characters. Doing it the way you did is not portable |
3705 | 3960 | between ASCII and EBCDIC platforms. |
3706 | 3961 | |
3707 | 3962 | =end original |
3708 | 3963 | |
3709 | 3964 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 |
3710 | 3965 | これを表示文字に使いました; おそらく(おそらく非単語文字のために |
3711 | 3966 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 |
3712 | 3967 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 |
3713 | 3968 | |
3714 | 3969 | =item Cloning substitution context is unimplemented |
3715 | 3970 | |
3716 | 3971 | =begin original |
3717 | 3972 | |
3718 | 3973 | (F) Creating a new thread inside the C<s///> operator is not supported. |
3719 | 3974 | |
3720 | 3975 | =end original |
3721 | 3976 | |
3722 | 3977 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 |
3723 | 3978 | |
3724 | 3979 | =item closedir() attempted on invalid dirhandle %s |
3725 | 3980 | |
3726 | 3981 | =begin original |
3727 | 3982 | |
3728 | 3983 | (W io) The dirhandle you tried to close is either closed or not really |
3729 | 3984 | a dirhandle. Check your control flow. |
3730 | 3985 | |
3731 | 3986 | =end original |
3732 | 3987 | |
3733 | 3988 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には |
3734 | 3989 | ディレクトリハンドルではありません。 |
3735 | 3990 | 制御フローをチェックしてください。 |
3736 | 3991 | |
3737 | 3992 | =item close() on unopened filehandle %s |
3738 | 3993 | |
3739 | 3994 | =begin original |
3740 | 3995 | |
3741 | 3996 | (W unopened) You tried to close a filehandle that was never opened. |
3742 | 3997 | |
3743 | 3998 | =end original |
3744 | 3999 | |
3745 | 4000 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
3746 | 4001 | |
3747 | 4002 | =item Closure prototype called |
3748 | 4003 | |
3749 | 4004 | =begin original |
3750 | 4005 | |
3751 | 4006 | (F) If a closure has attributes, the subroutine passed to an attribute |
3752 | 4007 | handler is the prototype that is cloned when a new closure is created. |
3753 | 4008 | This subroutine cannot be called. |
3754 | 4009 | |
3755 | 4010 | =end original |
3756 | 4011 | |
3757 | 4012 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい |
3758 | 4013 | クロージャが作成されたときにクローン化されたプロトタイプです。 |
3759 | 4014 | このサブルーチンは呼び出すことができません。 |
3760 | 4015 | |
4016 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
4017 | ||
4018 | =begin original | |
4019 | ||
4020 | (F) The \C character class used to allow a match of single byte | |
4021 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
4022 | it broke encapsulation and its implementation was extremely buggy. | |
4023 | If you really need to process the individual bytes, you probably | |
4024 | want to convert your string to one where each underlying byte is | |
4025 | stored as a character, with utf8::encode(). | |
4026 | ||
4027 | =end original | |
4028 | ||
4029 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
4030 | マッチングできるようにしていましたが、 | |
4031 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
4032 | 本当に個々のバイトを処理する必要があるなら、 | |
4033 | おそらくその文字列を、utf8::encode() を使って、 | |
4034 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
4035 | 良いでしょう。 | |
4036 | ||
3761 | 4037 | =item Code missing after '/' |
3762 | 4038 | |
3763 | 4039 | =begin original |
3764 | 4040 | |
3765 | 4041 | (F) You had a (sub-)template that ends with a '/'. There must be |
3766 | 4042 | another template code following the slash. See L<perlfunc/pack>. |
3767 | 4043 | |
3768 | 4044 | =end original |
3769 | 4045 | |
3770 | 4046 | (F) テンプレートが '/' で終わっています。 |
3771 | 4047 | スラッシュの後には他のテンプレートコードが必須です。 |
3772 | 4048 | L<perlfunc/pack> を参照してください。 |
3773 | 4049 | |
4050 | =item Code point 0x%X is not Unicode, and not portable | |
4051 | ||
4052 | =begin original | |
4053 | ||
4054 | (S non_unicode portable) You had a code point that has never been in any | |
4055 | standard, so it is likely that languages other than Perl will NOT | |
4056 | understand it. This code point also will not fit in a 32-bit word on | |
4057 | ASCII platforms and therefore is non-portable between systems. | |
4058 | ||
4059 | ||
4060 | =end original | |
4061 | ||
4062 | (S non_unicode portable) どのような標準でもない符号位置を使いました; 従って | |
4063 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
4064 | この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、 | |
4065 | システム間で移植性がありません。 | |
4066 | ||
4067 | =begin original | |
4068 | ||
4069 | At one time, it was legal in some standards to have code points up to | |
4070 | 0x7FFF_FFFF, but not higher, and this code point is higher. | |
4071 | ||
4072 | =end original | |
4073 | ||
4074 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
4075 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
4076 | ||
4077 | =begin original | |
4078 | ||
4079 | Acceptance of these code points is a Perl extension, and you should | |
4080 | expect that nothing other than Perl can handle them; Perl itself on | |
4081 | EBCDIC platforms before v5.24 does not handle them. | |
4082 | ||
4083 | =end original | |
4084 | ||
4085 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
4086 | これらを扱えるかについて何も想定するべきではありません; | |
4087 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
4088 | ||
4089 | =begin original | |
4090 | ||
4091 | Perl also makes no guarantees that the representation of these code | |
4092 | points won't change at some point in the future, say when machines | |
4093 | become available that have larger than a 64-bit word. At that time, | |
4094 | files containing any of these, written by an older Perl might require | |
4095 | conversion before being readable by a newer Perl. | |
4096 | ||
4097 | =end original | |
4098 | ||
4099 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
4100 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
4101 | 保証しません。 | |
4102 | この時点で、より古い Perl で書かれた、このようなものをファイルは、 | |
4103 | より新しい Perl で読み込めるようにする前に変換が必要です。 | |
4104 | ||
3774 | 4105 | =item Code point 0x%X is not Unicode, may not be portable |
3775 | 4106 | |
3776 | 4107 | =begin original |
3777 | 4108 | |
3778 | 4109 | (S non_unicode) You had a code point above the Unicode maximum |
3779 | 4110 | of U+10FFFF. |
3780 | 4111 | |
3781 | 4112 | =end original |
3782 | 4113 | |
3783 | 4114 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 |
3784 | 4115 | |
3785 | 4116 | =begin original |
3786 | 4117 | |
3787 | Perl allows strings to contain a superset of Unicode code points, u | |
4118 | Perl allows strings to contain a superset of Unicode code points, but | |
3788 | t | |
4119 | these may not be accepted by other languages/systems. Further, even if | |
3789 | ||
4120 | these languages/systems accept these large code points, they may have | |
3790 | ||
4121 | chosen a different representation for them than the UTF-8-like one that | |
3791 | ||
4122 | Perl has, which would mean files are not exchangeable between them and | |
3792 | ||
4123 | Perl. | |
3793 | 4124 | |
3794 | 4125 | =end original |
3795 | 4126 | |
3796 | Perl は Unicode 符号位置の | |
4127 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
3797 | システム | |
4128 | これらは他の言語/システムは受け入れないかもしれません。 | |
3798 | ||
4129 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
3799 | ||
4130 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
3800 | そ | |
4131 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
3801 | ||
4132 | 交換できないことを意味します。 | |
3802 | 4133 | |
4134 | =begin original | |
4135 | ||
4136 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
4137 | representation in Perl v5.24 than before, so any file containing these | |
4138 | that was written before that version will require conversion before | |
4139 | being readable by a later Perl. | |
4140 | ||
4141 | =end original | |
4142 | ||
4143 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
4144 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
4145 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
4146 | 変換が必要です。 | |
4147 | ||
3803 | 4148 | =item %s: Command not found |
3804 | 4149 | |
3805 | 4150 | =begin original |
3806 | 4151 | |
3807 | 4152 | (A) You've accidentally run your script through B<csh> or another shell |
3808 | 4153 | instead of Perl. Check the #! line, or manually feed your script into |
3809 | 4154 | Perl yourself. The #! line at the top of your file could look like |
3810 | 4155 | |
3811 | 4156 | =end original |
3812 | 4157 | |
3813 | 4158 | (A) スクリプトを perl ではなく B<csh> またはその他のシェルで |
3814 | 4159 | 実行しようとしました。 |
3815 | 4160 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
3816 | 4161 | ファイルの先頭の #! 行は以下のようにします |
3817 | 4162 | |
3818 | #!/usr/bin/perl | |
4163 | #!/usr/bin/perl | |
3819 | 4164 | |
4165 | =item %s: command not found | |
4166 | ||
4167 | =begin original | |
4168 | ||
4169 | (A) You've accidentally run your script through B<bash> or another shell | |
4170 | instead of Perl. Check the #! line, or manually feed your script into | |
4171 | Perl yourself. The #! line at the top of your file could look like | |
4172 | ||
4173 | =end original | |
4174 | ||
4175 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 | |
4176 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4177 | ファイルの先頭の #! 行は次のような形です: | |
4178 | ||
4179 | #!/usr/bin/perl | |
4180 | ||
4181 | =item %s: command not found: %s | |
4182 | ||
4183 | =begin original | |
4184 | ||
4185 | (A) You've accidentally run your script through B<zsh> or another shell | |
4186 | instead of Perl. Check the #! line, or manually feed your script into | |
4187 | Perl yourself. The #! line at the top of your file could look like | |
4188 | ||
4189 | =end original | |
4190 | ||
4191 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 | |
4192 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4193 | ファイルの先頭の #! 行は次のような形です: | |
4194 | ||
4195 | #!/usr/bin/perl | |
4196 | ||
3820 | 4197 | =item Compilation failed in require |
3821 | 4198 | |
3822 | 4199 | =begin original |
3823 | 4200 | |
3824 | 4201 | (F) Perl could not compile a file specified in a C<require> statement. |
3825 | 4202 | Perl uses this generic message when none of the errors that it |
3826 | 4203 | encountered were severe enough to halt compilation immediately. |
3827 | 4204 | |
3828 | 4205 | =end original |
3829 | 4206 | |
3830 | 4207 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
3831 | 4208 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
3832 | 4209 | ときに、この一般的なメッセージを使います。 |
3833 | 4210 | |
3834 | 4211 | =item Complex regular subexpression recursion limit (%d) exceeded |
3835 | 4212 | |
3836 | 4213 | =begin original |
3837 | 4214 | |
3838 | 4215 | (W regexp) The regular expression engine uses recursion in complex |
3839 | 4216 | situations where back-tracking is required. Recursion depth is limited |
3840 | 4217 | to 32766, or perhaps less in architectures where the stack cannot grow |
3841 | 4218 | arbitrarily. ("Simple" and "medium" situations are handled without |
3842 | 4219 | recursion and are not subject to a limit.) Try shortening the string |
3843 | 4220 | under examination; looping in Perl code (e.g. with C<while>) rather than |
3844 | 4221 | in the regular expression engine; or rewriting the regular expression so |
3845 | 4222 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
3846 | 4223 | on I<Mastering Regular Expressions>.) |
3847 | 4224 | |
3848 | 4225 | =end original |
3849 | 4226 | |
3850 | 4227 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
3851 | 4228 | 再帰を使用します。 |
3852 | 4229 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
3853 | 4230 | おそらくもっと小さい値に制限されています。 |
3854 | 4231 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
3855 | 4232 | ありません。) |
3856 | 4233 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
3857 | 4234 | (C<while> などの) Perl コードを使ってループするか、 |
3858 | 4235 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
3859 | 4236 | 書き換えてください。 |
3860 | 4237 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
3861 | 4238 | 参照してください。) |
3862 | 4239 | |
3863 | 4240 | =item connect() on closed socket %s |
3864 | 4241 | |
3865 | 4242 | =begin original |
3866 | 4243 | |
3867 | 4244 | (W closed) You tried to do a connect on a closed socket. Did you forget |
3868 | 4245 | to check the return value of your socket() call? See |
3869 | 4246 | L<perlfunc/connect>. |
3870 | 4247 | |
3871 | 4248 | =end original |
3872 | 4249 | |
3873 | 4250 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
3874 | 4251 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
3875 | 4252 | L<perlfunc/connect> を参照してください。 |
3876 | 4253 | |
3877 | 4254 | =item Constant(%s): Call to &{$^H{%s}} did not return a defined value |
3878 | 4255 | |
3879 | 4256 | =begin original |
3880 | 4257 | |
3881 | 4258 | (F) The subroutine registered to handle constant overloading |
3882 | 4259 | (see L<overload>) or a custom charnames handler (see |
3883 | 4260 | L<charnames/CUSTOM TRANSLATORS>) returned an undefined value. |
3884 | 4261 | |
3885 | 4262 | =end original |
3886 | 4263 | |
3887 | 4264 | (F) 定数オーバーロード (L<overload> 参照) を扱うために登録された |
3888 | 4265 | サブルーチンや、カスタム文字名ハンドラ |
3889 | 4266 | (L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。 |
3890 | 4267 | |
3891 | 4268 | =item Constant(%s): $^H{%s} is not defined |
3892 | 4269 | |
3893 | 4270 | =begin original |
3894 | 4271 | |
3895 | 4272 | (F) The parser found inconsistencies while attempting to define an |
3896 | 4273 | overloaded constant. Perhaps you forgot to load the corresponding |
3897 | 4274 | L<overload> pragma? |
3898 | 4275 | |
3899 | 4276 | =end original |
3900 | 4277 | |
3901 | 4278 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 |
3902 | 4279 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? |
3903 | 4280 | |
3904 | 4281 | =item Constant is not %s reference |
3905 | 4282 | |
3906 | 4283 | =begin original |
3907 | 4284 | |
3908 | 4285 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
3909 | 4286 | is being dereferenced, but it amounts to the wrong type of reference. |
3910 | 4287 | The message indicates the type of reference that was expected. This |
3911 | 4288 | usually indicates a syntax error in dereferencing the constant value. |
3912 | 4289 | See L<perlsub/"Constant Functions"> and L<constant>. |
3913 | 4290 | |
3914 | 4291 | =end original |
3915 | 4292 | |
3916 | 4293 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
3917 | 4294 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
3918 | 4295 | このメッセージは想定されたリファレンスの型を示しています。 |
3919 | 4296 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
3920 | 4297 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
3921 | 4298 | |
3922 | =item Constants from lexical variables potentially modified elsewhere are | |
4299 | =item Constants from lexical variables potentially modified elsewhere are no longer permitted | |
3923 | deprecated | |
3924 | 4300 | |
3925 | 4301 | =begin original |
3926 | 4302 | |
3927 | ( | |
4303 | (F) You wrote something like | |
3928 | 4304 | |
3929 | 4305 | =end original |
3930 | 4306 | |
3931 | ( | |
4307 | (F) 次のようなものを書きましたが | |
3932 | 4308 | |
3933 | 4309 | my $var; |
3934 | 4310 | $sub = sub () { $var }; |
3935 | 4311 | |
3936 | 4312 | =begin original |
3937 | 4313 | |
3938 | 4314 | but $var is referenced elsewhere and could be modified after the C<sub> |
3939 | 4315 | expression is evaluated. Either it is explicitly modified elsewhere |
3940 | 4316 | (C<$var = 3>) or it is passed to a subroutine or to an operator like |
3941 | 4317 | C<printf> or C<map>, which may or may not modify the variable. |
3942 | 4318 | |
3943 | 4319 | =end original |
3944 | 4320 | |
3945 | 4321 | $var はどこか別の場所へのリファレンスで、 |
3946 | 4322 | C<sub> 式が評価された後に変更されるかもしれません。 |
3947 | 4323 | どこかで明示的に変更されたり、(C<$var = 3>) 、 |
3948 | 4324 | 変数を変更するかどうかわからない、 |
3949 | 4325 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 |
3950 | 4326 | |
3951 | 4327 | =begin original |
3952 | 4328 | |
3953 | 4329 | Traditionally, Perl has captured the value of the variable at that |
3954 | 4330 | point and turned the subroutine into a constant eligible for inlining. |
3955 | 4331 | In those cases where the variable can be modified elsewhere, this |
3956 | 4332 | breaks the behavior of closures, in which the subroutine captures |
3957 | 4333 | the variable itself, rather than its value, so future changes to the |
3958 | 4334 | variable are reflected in the subroutine's return value. |
3959 | 4335 | |
3960 | 4336 | =end original |
3961 | 4337 | |
3962 | 4338 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 |
3963 | 4339 | サブルーチンをインライン化可能な定数に変換します。 |
3964 | 4340 | 変数が別の場所で変更可能な場合、 |
3965 | 4341 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので |
3966 | 4342 | クロージャの振る舞いを壊します。 |
3967 | 4343 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 |
3968 | 4344 | |
3969 | 4345 | =begin original |
3970 | 4346 | |
3971 | This usage | |
4347 | This usage was deprecated, and as of Perl 5.32 is no longer allowed, | |
3972 | in a | |
4348 | making it possible to change the behavior in the future. | |
3973 | 4349 | |
3974 | 4350 | =end original |
3975 | 4351 | |
3976 | この使用法は廃止予定 | |
4352 | この使用法は廃止予定になり、Perl 5.32 でもはや許されなくなりました。 | |
3977 | ||
4353 | これにより将来振る舞いを換えることが可能になります。 | |
3978 | 4354 | |
3979 | 4355 | =begin original |
3980 | 4356 | |
3981 | 4357 | If you intended for the subroutine to be eligible for inlining, then |
3982 | 4358 | make sure the variable is not referenced elsewhere, possibly by |
3983 | 4359 | copying it: |
3984 | 4360 | |
3985 | 4361 | =end original |
3986 | 4362 | |
3987 | 4363 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 |
3988 | 4364 | おそらくコピーすることで、他のどこからも参照されないようにしてください: |
3989 | 4365 | |
3990 | 4366 | my $var2 = $var; |
3991 | 4367 | $sub = sub () { $var2 }; |
3992 | 4368 | |
3993 | 4369 | =begin original |
3994 | 4370 | |
3995 | 4371 | If you do want this subroutine to be a closure that reflects future |
3996 | 4372 | changes to the variable that it closes over, add an explicit C<return>: |
3997 | 4373 | |
3998 | 4374 | =end original |
3999 | 4375 | |
4000 | 4376 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる |
4001 | 4377 | クロージャにしたいなら、明示的な C<return> を追加してください: |
4002 | 4378 | |
4003 | 4379 | my $var; |
4004 | 4380 | $sub = sub () { return $var }; |
4005 | 4381 | |
4006 | 4382 | =item Constant subroutine %s redefined |
4007 | 4383 | |
4008 | 4384 | =begin original |
4009 | 4385 | |
4010 | 4386 | (W redefine)(S) You redefined a subroutine which had previously |
4011 | 4387 | been eligible for inlining. See L<perlsub/"Constant Functions"> |
4012 | 4388 | for commentary and workarounds. |
4013 | 4389 | |
4014 | 4390 | =end original |
4015 | 4391 | |
4016 | 4392 | (W redefine)(S) 以前にインライン化できる形であったサブルーチンを |
4017 | 4393 | 再定義しました。 |
4018 | 4394 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4019 | 4395 | 参照してください。 |
4020 | 4396 | |
4021 | 4397 | =item Constant subroutine %s undefined |
4022 | 4398 | |
4023 | 4399 | =begin original |
4024 | 4400 | |
4025 | 4401 | (W misc) You undefined a subroutine which had previously been eligible |
4026 | 4402 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
4027 | 4403 | workarounds. |
4028 | 4404 | |
4029 | 4405 | =end original |
4030 | 4406 | |
4031 | 4407 | (W misc)以前にインライン化できる形であったサブルーチンを |
4032 | 4408 | 未定義化しました。 |
4033 | 4409 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4034 | 4410 | 参照してください。 |
4035 | 4411 | |
4036 | 4412 | =item Constant(%s) unknown |
4037 | 4413 | |
4038 | 4414 | =begin original |
4039 | 4415 | |
4040 | 4416 | (F) The parser found inconsistencies either while attempting |
4041 | 4417 | to define an overloaded constant, or when trying to find the |
4042 | 4418 | character name specified in the C<\N{...}> escape. Perhaps you |
4043 | 4419 | forgot to load the corresponding L<overload> pragma? |
4044 | 4420 | |
4045 | 4421 | =end original |
4046 | 4422 | |
4047 | 4423 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 |
4048 | 4424 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を |
4049 | 4425 | 発見しました。 |
4050 | 4426 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? |
4051 | 4427 | |
4052 | 4428 | =item :const is experimental |
4053 | 4429 | |
4054 | 4430 | =begin original |
4055 | 4431 | |
4056 | 4432 | (S experimental::const_attr) The "const" attribute is experimental. |
4057 | 4433 | If you want to use the feature, disable the warning with C<no warnings |
4058 | 4434 | 'experimental::const_attr'>, but know that in doing so you are taking |
4059 | 4435 | the risk that your code may break in a future Perl version. |
4060 | 4436 | |
4061 | 4437 | =end original |
4062 | 4438 | |
4063 | 4439 | (S experimental::const_attr) "const" 属性は実験的です。 |
4064 | 4440 | この機能を使いたい場合、 |
4065 | 4441 | C<no warnings 'experimental::const_attr'> で警告を無効にしてください; |
4066 | 4442 | しかし、そうすることであなたのコードが将来の Perl のバージョンで |
4067 | 4443 | 壊れるリスクを取ることになります。 |
4068 | 4444 | |
4069 | 4445 | =item :const is not permitted on named subroutines |
4070 | 4446 | |
4071 | 4447 | =begin original |
4072 | 4448 | |
4073 | 4449 | (F) The "const" attribute causes an anonymous subroutine to be run and |
4074 | 4450 | its value captured at the time that it is cloned. Named subroutines are |
4075 | 4451 | not cloned like this, so the attribute does not make sense on them. |
4076 | 4452 | |
4077 | 4453 | =end original |
4078 | 4454 | |
4079 | 4455 | (F) The "const" 属性は、クローンされたときに値を捕捉された |
4080 | 4456 | 無名サブルーチンになります。 |
4081 | 4457 | 名前付きサブルーチンはこのようにクローンされないので、 |
4082 | 4458 | 属性はこれらに関して意味を持ちません。 |
4083 | 4459 | |
4084 | 4460 | =item Copy method did not return a reference |
4085 | 4461 | |
4086 | 4462 | =begin original |
4087 | 4463 | |
4088 | 4464 | (F) The method which overloads "=" is buggy. See |
4089 | 4465 | L<overload/Copy Constructor>. |
4090 | 4466 | |
4091 | 4467 | =end original |
4092 | 4468 | |
4093 | 4469 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
4094 | 4470 | L<overload/Copy Constructor> を参照してください。 |
4095 | 4471 | |
4096 | 4472 | =item &CORE::%s cannot be called directly |
4097 | 4473 | |
4098 | 4474 | =begin original |
4099 | 4475 | |
4100 | 4476 | (F) You tried to call a subroutine in the C<CORE::> namespace |
4101 | 4477 | with C<&foo> syntax or through a reference. Some subroutines |
4102 | 4478 | in this package cannot yet be called that way, but must be |
4103 | 4479 | called as barewords. Something like this will work: |
4104 | 4480 | |
4105 | 4481 | =end original |
4106 | 4482 | |
4107 | 4483 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で |
4108 | 4484 | 呼び出そうとしました。 |
4109 | 4485 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で |
4110 | 4486 | 呼び出さなければなりません。 |
4111 | 4487 | 以下のようなものは動作します: |
4112 | 4488 | |
4113 | 4489 | BEGIN { *shove = \&CORE::push; } |
4114 | 4490 | shove @array, 1,2,3; # pushes on to @array |
4115 | 4491 | |
4116 | 4492 | =item CORE::%s is not a keyword |
4117 | 4493 | |
4118 | 4494 | =begin original |
4119 | 4495 | |
4120 | 4496 | (F) The CORE:: namespace is reserved for Perl keywords. |
4121 | 4497 | |
4122 | 4498 | =end original |
4123 | 4499 | |
4124 | 4500 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
4125 | 4501 | |
4126 | 4502 | =item Corrupted regexp opcode %d > %d |
4127 | 4503 | |
4128 | 4504 | =begin original |
4129 | 4505 | |
4130 | 4506 | (P) This is either an error in Perl, or, if you're using |
4131 | 4507 | one, your L<custom regular expression engine|perlreapi>. If not the |
4132 | latter, report the problem t | |
4508 | latter, report the problem to L<https://github.com/Perl/perl5/issues>. | |
4133 | 4509 | |
4134 | 4510 | =end original |
4135 | 4511 | |
4136 | 4512 | (P) これは Perl か、あるいは、使っているなら |
4137 | 4513 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 |
4138 | 後者でなければ、L<perl | |
4514 | 後者でなければ、L<https://github.com/Perl/perl5/issues> に | |
4515 | 問題を報告してください。 | |
4139 | 4516 | |
4140 | 4517 | =item corrupted regexp pointers |
4141 | 4518 | |
4142 | 4519 | =begin original |
4143 | 4520 | |
4144 | 4521 | (P) The regular expression engine got confused by what the regular |
4145 | 4522 | expression compiler gave it. |
4146 | 4523 | |
4147 | 4524 | =end original |
4148 | 4525 | |
4149 | 4526 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
4150 | 4527 | 処理できなくなりました。 |
4151 | 4528 | |
4152 | 4529 | =item corrupted regexp program |
4153 | 4530 | |
4154 | 4531 | =begin original |
4155 | 4532 | |
4156 | 4533 | (P) The regular expression engine got passed a regexp program without a |
4157 | 4534 | valid magic number. |
4158 | 4535 | |
4159 | 4536 | =end original |
4160 | 4537 | |
4161 | 4538 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
4162 | 4539 | regexp プログラムを渡しました。 |
4163 | 4540 | |
4164 | 4541 | =item Corrupt malloc ptr 0x%x at 0x%x |
4165 | 4542 | |
4166 | 4543 | =begin original |
4167 | 4544 | |
4168 | 4545 | (P) The malloc package that comes with Perl had an internal failure. |
4169 | 4546 | |
4170 | 4547 | =end original |
4171 | 4548 | |
4172 | 4549 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
4173 | 4550 | |
4174 | 4551 | =item Count after length/code in unpack |
4175 | 4552 | |
4176 | 4553 | =begin original |
4177 | 4554 | |
4178 | 4555 | (F) You had an unpack template indicating a counted-length string, but |
4179 | 4556 | you have also specified an explicit size for the string. See |
4180 | 4557 | L<perlfunc/pack>. |
4181 | 4558 | |
4182 | 4559 | =end original |
4183 | 4560 | |
4184 | 4561 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 |
4185 | 4562 | 文字列の長さも明示的に指定しています。 |
4186 | 4563 | L<perlfunc/pack> を参照してください。 |
4187 | 4564 | |
4565 | =item Declaring references is experimental | |
4566 | ||
4567 | =begin original | |
4568 | ||
4569 | (S experimental::declared_refs) This warning is emitted if you use | |
4570 | a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or | |
4571 | C<local>. Simply suppress the warning if you want to use the feature, but | |
4572 | know that in doing so you are taking the risk of using an experimental | |
4573 | feature which may change or be removed in a future Perl version: | |
4574 | ||
4575 | =end original | |
4576 | ||
4577 | (S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で | |
4578 | リファレンスコンストラクタを使うとこの警告が出力されます。 | |
4579 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
4580 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
4581 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
4582 | 取っていると言うことを知っておいてください: | |
4583 | ||
4584 | no warnings "experimental::declared_refs"; | |
4585 | use feature "declared_refs"; | |
4586 | $fooref = my \$foo; | |
4587 | ||
4188 | 4588 | =for comment |
4189 | 4589 | The following are used in lib/diagnostics.t for testing two =items that |
4190 | 4590 | share the same description. Changes here need to be propagated to there |
4191 | 4591 | |
4192 | 4592 | =item Deep recursion on anonymous subroutine |
4193 | 4593 | |
4194 | 4594 | =item Deep recursion on subroutine "%s" |
4195 | 4595 | |
4196 | 4596 | =begin original |
4197 | 4597 | |
4198 | 4598 | (W recursion) This subroutine has called itself (directly or indirectly) |
4199 | 4599 | 100 times more than it has returned. This probably indicates an |
4200 | 4600 | infinite recursion, unless you're writing strange benchmark programs, in |
4201 | 4601 | which case it indicates something else. |
4202 | 4602 | |
4203 | 4603 | =end original |
4204 | 4604 | |
4205 | 4605 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 |
4206 | 4606 | return より 100 回多く行ないました。 |
4207 | 4607 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
4208 | 4608 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 |
4209 | 4609 | |
4210 | 4610 | =begin original |
4211 | 4611 | |
4212 | 4612 | This threshold can be changed from 100, by recompiling the F<perl> binary, |
4213 | 4613 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. |
4214 | 4614 | |
4215 | 4615 | =end original |
4216 | 4616 | |
4217 | 4617 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に |
4218 | 4618 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 |
4219 | 4619 | |
4220 | 4620 | =item (?(DEFINE)....) does not allow branches in regex; marked by |
4221 | 4621 | S<<-- HERE> in m/%s/ |
4222 | 4622 | |
4223 | 4623 | =begin original |
4224 | 4624 | |
4225 | 4625 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The |
4226 | 4626 | most likely cause of this error is that you left out a parenthesis inside |
4227 | 4627 | of the C<....> part. |
4228 | 4628 | |
4229 | 4629 | =end original |
4230 | 4630 | |
4231 | 4631 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 |
4232 | 4632 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを |
4233 | 4633 | そのままにしたことです。 |
4234 | 4634 | |
4235 | 4635 | =begin original |
4236 | 4636 | |
4237 | 4637 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
4238 | 4638 | discovered. |
4239 | 4639 | |
4240 | 4640 | =end original |
4241 | 4641 | |
4242 | 4642 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
4243 | 4643 | |
4244 | 4644 | =item %s defines neither package nor VERSION--version check failed |
4245 | 4645 | |
4246 | 4646 | =begin original |
4247 | 4647 | |
4248 | 4648 | (F) You said something like "use Module 42" but in the Module file |
4249 | 4649 | there are neither package declarations nor a C<$VERSION>. |
4250 | 4650 | |
4251 | 4651 | =end original |
4252 | 4652 | |
4253 | 4653 | (F) "use Module 42" のようなことをしましたが、Module ファイルに |
4254 | 4654 | パッケージ定義がないか、C<$VERSION> がありませんでした。 |
4255 | 4655 | |
4256 | =item delete argument is index/value array slice, use array slice | |
4257 | ||
4258 | =begin original | |
4259 | ||
4260 | (F) You used index/value array slice syntax (C<%array[...]>) as | |
4261 | the argument to C<delete>. You probably meant C<@array[...]> with | |
4262 | an @ symbol instead. | |
4263 | ||
4264 | =end original | |
4265 | ||
4266 | (F) インデックス/値配列スライス文法 (C<%array[...]>) を、C<delete> への | |
4267 | 引数として使いました。 | |
4268 | おそらく @ シンボルを使って C<@array[...]> としたかったのでしょう。 | |
4269 | ||
4270 | =item delete argument is key/value hash slice, use hash slice | |
4271 | ||
4272 | =begin original | |
4273 | ||
4274 | (F) You used key/value hash slice syntax (C<%hash{...}>) as the argument to | |
4275 | C<delete>. You probably meant C<@hash{...}> with an @ symbol instead. | |
4276 | ||
4277 | =end original | |
4278 | ||
4279 | (F) キー/値ハッシュスライス文法 (C<%hash{...}>) を、C<delete> への | |
4280 | 引数として使いました。 | |
4281 | おそらく @ シンボルを使って C<@hash{...}> としたかったのでしょう。 | |
4282 | ||
4283 | 4656 | =item delete argument is not a HASH or ARRAY element or slice |
4284 | 4657 | |
4285 | 4658 | =begin original |
4286 | 4659 | |
4287 | 4660 | (F) The argument to C<delete> must be either a hash or array element, |
4288 | 4661 | such as: |
4289 | 4662 | |
4290 | 4663 | =end original |
4291 | 4664 | |
4292 | 4665 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: |
4293 | 4666 | |
4294 | 4667 | $foo{$bar} |
4295 | 4668 | $ref->{"susie"}[12] |
4296 | 4669 | |
4297 | 4670 | =begin original |
4298 | 4671 | |
4299 | 4672 | or a hash or array slice, such as: |
4300 | 4673 | |
4301 | 4674 | =end original |
4302 | 4675 | |
4303 | あるいは以下のようにハッシュか配列のスライス | |
4676 | あるいは以下のようにハッシュか配列のスライスか: | |
4304 | 4677 | |
4305 | 4678 | @foo[$bar, $baz, $xyzzy] |
4306 | 4679 | @{$ref->[12]}{"susie", "queue"} |
4307 | 4680 | |
4681 | =begin original | |
4682 | ||
4683 | or a hash key/value or array index/value slice, such as: | |
4684 | ||
4685 | =end original | |
4686 | ||
4687 | あるいは以下のようにハッシュのキー/値や配列のインデックス/値で | |
4688 | なければなりません: | |
4689 | ||
4690 | %foo[$bar, $baz, $xyzzy] | |
4691 | %{$ref->[12]}{"susie", "queue"} | |
4692 | ||
4308 | 4693 | =item Delimiter for here document is too long |
4309 | 4694 | |
4310 | 4695 | =begin original |
4311 | 4696 | |
4312 | 4697 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
4313 | 4698 | long for Perl to handle. You have to be seriously twisted to write code |
4314 | 4699 | that triggers this error. |
4315 | 4700 | |
4316 | 4701 | =end original |
4317 | 4702 | |
4318 | 4703 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
4319 | 4704 | Perl が扱うには長すぎました。 |
4320 | 4705 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
4321 | 4706 | |
4322 | =item Deprecated use of my() in false conditional | |
4707 | =item Deprecated use of my() in false conditional. This will be a fatal error in Perl 5.30 | |
4323 | 4708 | |
4324 | 4709 | =begin original |
4325 | 4710 | |
4326 | 4711 | (D deprecated) You used a declaration similar to C<my $x if 0>. There |
4327 | 4712 | has been a long-standing bug in Perl that causes a lexical variable |
4328 | 4713 | not to be cleared at scope exit when its declaration includes a false |
4329 | 4714 | conditional. Some people have exploited this bug to achieve a kind of |
4330 | 4715 | static variable. Since we intend to fix this bug, we don't want people |
4331 | 4716 | relying on this behavior. You can achieve a similar static effect by |
4332 | 4717 | declaring the variable in a separate block outside the function, eg |
4333 | 4718 | |
4334 | 4719 | =end original |
4335 | 4720 | |
4336 | 4721 | (D deprecated) C<my $x if 0> のような定義を行いました。 |
4337 | 4722 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が |
4338 | 4723 | クリアされないという、Perl に長い間存在したバグです。 |
4339 | 4724 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 |
4340 | 4725 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して |
4341 | 4726 | ほしくありません。 |
4342 | 4727 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を |
4343 | 4728 | 達成できます; 例えば: |
4344 | 4729 | |
4345 | 4730 | sub f { my $x if 0; return $x++ } |
4346 | 4731 | |
4347 | 4732 | =begin original |
4348 | 4733 | |
4349 | 4734 | becomes |
4350 | 4735 | |
4351 | 4736 | =end original |
4352 | 4737 | |
4353 | 4738 | これは以下のようにします: |
4354 | 4739 | |
4355 | 4740 | { my $x; sub f { return $x++ } } |
4356 | 4741 | |
4357 | 4742 | =begin original |
4358 | 4743 | |
4359 | 4744 | Beginning with perl 5.10.0, you can also use C<state> variables to have |
4360 | 4745 | lexicals that are initialized only once (see L<feature>): |
4361 | 4746 | |
4362 | 4747 | =end original |
4363 | 4748 | |
4364 | 4749 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も |
4365 | 4750 | 使えます (L<feature> を参照してください): |
4366 | 4751 | |
4367 | 4752 | sub f { state $x; return $x++ } |
4368 | 4753 | |
4754 | =begin original | |
4755 | ||
4756 | This use of C<my()> in a false conditional has been deprecated since | |
4757 | Perl 5.10, and it will become a fatal error in Perl 5.30. | |
4758 | ||
4759 | =end original | |
4760 | ||
4761 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定で、 | |
4762 | Perl 5.30 で致命的エラーになる予定です。 | |
4763 | ||
4369 | 4764 | =item DESTROY created new reference to dead object '%s' |
4370 | 4765 | |
4371 | 4766 | =begin original |
4372 | 4767 | |
4373 | 4768 | (F) A DESTROY() method created a new reference to the object which is |
4374 | 4769 | just being DESTROYed. Perl is confused, and prefers to abort rather |
4375 | 4770 | than to create a dangling reference. |
4376 | 4771 | |
4377 | 4772 | =end original |
4378 | 4773 | |
4379 | 4774 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの |
4380 | 4775 | 新しいリファレンスを作りました。 |
4381 | 4776 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 |
4382 | 4777 | |
4383 | 4778 | =item Did not produce a valid header |
4384 | 4779 | |
4385 | 4780 | =begin original |
4386 | 4781 | |
4387 | See Server error. | |
4782 | See L</500 Server error>. | |
4388 | 4783 | |
4389 | 4784 | =end original |
4390 | 4785 | |
4391 | ||
4786 | L</500 Server error> を参照してください。 | |
4392 | 4787 | |
4393 | 4788 | =item %s did not return a true value |
4394 | 4789 | |
4395 | 4790 | =begin original |
4396 | 4791 | |
4397 | 4792 | (F) A required (or used) file must return a true value to indicate that |
4398 | 4793 | it compiled correctly and ran its initialization code correctly. It's |
4399 | 4794 | traditional to end such a file with a "1;", though any true value would |
4400 | 4795 | do. See L<perlfunc/require>. |
4401 | 4796 | |
4402 | 4797 | =end original |
4403 | 4798 | |
4404 | 4799 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
4405 | 4800 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
4406 | 4801 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
4407 | 4802 | 真となる値であれば、何でもかまいません。 |
4408 | 4803 | L<perlfunc/require> を参照してください。 |
4409 | 4804 | |
4410 | 4805 | =item (Did you mean &%s instead?) |
4411 | 4806 | |
4412 | 4807 | =begin original |
4413 | 4808 | |
4414 | 4809 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or |
4415 | 4810 | some such. |
4416 | 4811 | |
4417 | 4812 | =end original |
4418 | 4813 | |
4419 | 4814 | (W misc) おそらく import したサブルーチン &FOO を $FOO として |
4420 | 4815 | 参照したようなことでしょう。 |
4421 | 4816 | |
4422 | 4817 | =item (Did you mean "local" instead of "our"?) |
4423 | 4818 | |
4424 | 4819 | =begin original |
4425 | 4820 | |
4426 | (W | |
4821 | (W shadow) Remember that "our" does not localize the declared global | |
4427 | 4822 | variable. You have declared it again in the same lexical scope, which |
4428 | 4823 | seems superfluous. |
4429 | 4824 | |
4430 | 4825 | =end original |
4431 | 4826 | |
4432 | (W | |
4827 | (W shadow) "our" 宣言されたグローバル変数を local 化しないことを | |
4433 | 4828 | 忘れないで下さい。 |
4434 | 4829 | これをもう一度同じレキシカルスコープで宣言していますが、 |
4435 | 4830 | 不必要でしょう。 |
4436 | 4831 | |
4437 | 4832 | =item (Did you mean $ or @ instead of %?) |
4438 | 4833 | |
4439 | 4834 | =begin original |
4440 | 4835 | |
4441 | 4836 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
4442 | 4837 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
4443 | 4838 | carried away. |
4444 | 4839 | |
4445 | 4840 | =end original |
4446 | 4841 | |
4447 | 4842 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
4448 | 4843 | したのでしょう。 |
4449 | 4844 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
4450 | 4845 | |
4451 | 4846 | =item Died |
4452 | 4847 | |
4453 | 4848 | =begin original |
4454 | 4849 | |
4455 | 4850 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
4456 | 4851 | you called it with no args and C<$@> was empty. |
4457 | 4852 | |
4458 | 4853 | =end original |
4459 | 4854 | |
4460 | 4855 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
4461 | 4856 | 呼び出して、C<$@> が空でした。 |
4462 | 4857 | |
4463 | 4858 | =item Document contains no data |
4464 | 4859 | |
4465 | 4860 | =begin original |
4466 | 4861 | |
4467 | See Server error. | |
4862 | See L</500 Server error>. | |
4468 | 4863 | |
4469 | 4864 | =end original |
4470 | 4865 | |
4471 | ||
4866 | L</500 Server error> を参照してください。 | |
4472 | 4867 | |
4473 | 4868 | =item %s does not define %s::VERSION--version check failed |
4474 | 4869 | |
4475 | 4870 | =begin original |
4476 | 4871 | |
4477 | 4872 | (F) You said something like "use Module 42" but the Module did not |
4478 | 4873 | define a C<$VERSION>. |
4479 | 4874 | |
4480 | 4875 | =end original |
4481 | 4876 | |
4482 | 4877 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を |
4483 | 4878 | 定義していません。 |
4484 | 4879 | |
4485 | 4880 | =item '/' does not take a repeat count |
4486 | 4881 | |
4487 | 4882 | =begin original |
4488 | 4883 | |
4489 | 4884 | (F) You cannot put a repeat count of any kind right after the '/' code. |
4490 | 4885 | See L<perlfunc/pack>. |
4491 | 4886 | |
4492 | 4887 | =end original |
4493 | 4888 | |
4494 | 4889 | (F) '/' の直後には繰り返し数を指定できません。 |
4495 | 4890 | L<perlfunc/pack> を参照してください。 |
4496 | 4891 | |
4892 | =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"? | |
4893 | ||
4894 | =begin original | |
4895 | ||
4896 | (D deprecated) Previously C< do "somefile"; > would search the current | |
4897 | directory for the specified file. Since perl v5.26.0, F<.> has been | |
4898 | removed from C<@INC> by default, so this is no longer true. To search the | |
4899 | current directory (and only the current directory) you can write | |
4900 | C< do "./somefile"; >. | |
4901 | ||
4902 | =end original | |
4903 | ||
4904 | (D deprecated) 以前は、C< do "somefile"; > は指定されたファイルを | |
4905 | カレントディレクトリから探していました。 | |
4906 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 | |
4907 | これはもはや真ではありません。 | |
4908 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 | |
4909 | C< do "./somefile"; > と書けます。 | |
4910 | ||
4497 | 4911 | =item Don't know how to get file name |
4498 | 4912 | |
4499 | 4913 | =begin original |
4500 | 4914 | |
4501 | 4915 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was |
4502 | 4916 | somehow called on another platform. This should not happen. |
4503 | 4917 | |
4504 | 4918 | =end original |
4505 | 4919 | |
4506 | 4920 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか |
4507 | 4921 | 他のプラットフォームで呼び出されました。 |
4508 | 4922 | これは起きないはずです。 |
4509 | 4923 | |
4510 | 4924 | =item Don't know how to handle magic of type \%o |
4511 | 4925 | |
4512 | 4926 | =begin original |
4513 | 4927 | |
4514 | 4928 | (P) The internal handling of magical variables has been cursed. |
4515 | 4929 | |
4516 | 4930 | =end original |
4517 | 4931 | |
4518 | 4932 | (P) マジカル変数の内部処理がおかしくなっています。 |
4519 | 4933 | |
4520 | 4934 | =item do_study: out of memory |
4521 | 4935 | |
4522 | 4936 | =begin original |
4523 | 4937 | |
4524 | 4938 | (P) This should have been caught by safemalloc() instead. |
4525 | 4939 | |
4526 | 4940 | =end original |
4527 | 4941 | |
4528 | 4942 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
4529 | 4943 | |
4530 | 4944 | =item (Do you need to predeclare %s?) |
4531 | 4945 | |
4532 | 4946 | =begin original |
4533 | 4947 | |
4534 | 4948 | (S syntax) This is an educated guess made in conjunction with the message |
4535 | 4949 | "%s found where operator expected". It often means a subroutine or module |
4536 | 4950 | name is being referenced that hasn't been declared yet. This may be |
4537 | 4951 | because of ordering problems in your file, or because of a missing |
4538 | 4952 | "sub", "package", "require", or "use" statement. If you're referencing |
4539 | 4953 | something that isn't defined yet, you don't actually have to define the |
4540 | 4954 | subroutine or package before the current location. You can use an empty |
4541 | 4955 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
4542 | 4956 | |
4543 | 4957 | =end original |
4544 | 4958 | |
4545 | 4959 | (S syntax) これは "%s found where operator expected" メッセージと共に |
4546 | 4960 | 表示される教育的な推測です。 |
4547 | 4961 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
4548 | 4962 | ことを意味します。 |
4549 | 4963 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
4550 | 4964 | "use" 文がないためであったりします。 |
4551 | 4965 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
4552 | 4966 | サブルーチンやパッケージを定義する必要はありません。 |
4553 | 4967 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
4554 | 4968 | |
4555 | =item dump() be | |
4969 | =item dump() must be written as CORE::dump() as of Perl 5.30 | |
4556 | 4970 | |
4557 | 4971 | =begin original |
4558 | 4972 | |
4559 | ( | |
4973 | (F) You used the obsolete C<dump()> built-in function. That was deprecated in | |
4560 | ||
4974 | Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format: | |
4975 | C<CORE::dump()>. | |
4561 | 4976 | |
4562 | 4977 | =end original |
4563 | 4978 | |
4564 | ( | |
4979 | (F) 古いものである C<dump()> 組み込み関数を使いました。 | |
4565 | ||
4980 | これは Perl 5.8.0 から廃止予定でした。 | |
4566 | ||
4981 | Perl 5.30 から、これは C<CORE::dump()> というように完全修飾形式で | |
4982 | 書かなければなりません。 | |
4983 | ||
4984 | =begin original | |
4985 | ||
4986 | See L<perlfunc/dump>. | |
4987 | ||
4988 | =end original | |
4989 | ||
4567 | 4990 | L<perlfunc/dump> を参照してください。 |
4568 | 4991 | |
4569 | 4992 | =item dump is not supported |
4570 | 4993 | |
4571 | 4994 | =begin original |
4572 | 4995 | |
4573 | 4996 | (F) Your machine doesn't support dump/undump. |
4574 | 4997 | |
4575 | 4998 | =end original |
4576 | 4999 | |
4577 | 5000 | (F) このマシンは dump/undump に対応していません。 |
4578 | 5001 | |
4579 | 5002 | =item Duplicate free() ignored |
4580 | 5003 | |
4581 | 5004 | =begin original |
4582 | 5005 | |
4583 | 5006 | (S malloc) An internal routine called free() on something that had |
4584 | 5007 | already been freed. |
4585 | 5008 | |
4586 | 5009 | =end original |
4587 | 5010 | |
4588 | 5011 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
4589 | 5012 | 行なおうとしました。 |
4590 | 5013 | |
4591 | 5014 | =item Duplicate modifier '%c' after '%c' in %s |
4592 | 5015 | |
4593 | 5016 | =begin original |
4594 | 5017 | |
4595 | 5018 | (W unpack) You have applied the same modifier more than once after a |
4596 | 5019 | type in a pack template. See L<perlfunc/pack>. |
4597 | 5020 | |
4598 | 5021 | =end original |
4599 | 5022 | |
4600 | 5023 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 |
4601 | 5024 | L<perlfunc/pack> を参照してください。 |
4602 | 5025 | |
4603 | =item each on reference is experimental | |
4604 | ||
4605 | =begin original | |
4606 | ||
4607 | (S experimental::autoderef) C<each> with a scalar argument is experimental | |
4608 | and may change or be removed in a future Perl version. If you want to | |
4609 | take the risk of using this feature, simply disable this warning: | |
4610 | ||
4611 | =end original | |
4612 | ||
4613 | (S experimental::autoderef) スカラ引数の C<each> は実験的で、将来の | |
4614 | バージョンの Perl で変更されたり削除されたりするかもしれません。 | |
4615 | この機能を使うリスクを取る場合は、単に警告を無効にして下さい: | |
4616 | ||
4617 | no warnings "experimental::autoderef"; | |
4618 | ||
4619 | 5026 | =item elseif should be elsif |
4620 | 5027 | |
4621 | 5028 | =begin original |
4622 | 5029 | |
4623 | 5030 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks |
4624 | 5031 | it's ugly. Your code will be interpreted as an attempt to call a method |
4625 | 5032 | named "elseif" for the class returned by the following block. This is |
4626 | 5033 | unlikely to be what you want. |
4627 | 5034 | |
4628 | 5035 | =end original |
4629 | 5036 | |
4630 | 5037 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
4631 | 5038 | ありません。 |
4632 | 5039 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
4633 | 5040 | 呼び出そうとしていると解釈されます。 |
4634 | 5041 | これは望んでいることではないはずです。 |
4635 | 5042 | |
5043 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ | |
5044 | ||
5045 | =item Empty \%c{} | |
5046 | ||
4636 | 5047 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ |
4637 | 5048 | |
4638 | 5049 | =begin original |
4639 | 5050 | |
4640 | (F) | |
5051 | (F) You used something like C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, or | |
4641 | ||
5052 | C<\x> without specifying anything for it to operate on. | |
4642 | a regular expression without specifying the property name. | |
4643 | 5053 | |
4644 | 5054 | =end original |
4645 | 5055 | |
4646 | (F) | |
5056 | (F) 何を操作するかを指定せずに | |
4647 | ||
5057 | C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使いました。 | |
4648 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
4649 | 5058 | |
5059 | =begin original | |
5060 | ||
5061 | Unfortunately, for backwards compatibility reasons, an empty C<\x> is | |
5062 | legal outside S<C<use re 'strict'>> and expands to a NUL character. | |
5063 | ||
5064 | =end original | |
5065 | ||
5066 | 残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の | |
5067 | C<\x> は正当で、一つの NUL 文字に展開されます。 | |
5068 | ||
5069 | =item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/ | |
5070 | ||
5071 | =begin original | |
5072 | ||
5073 | (W regexp) (only under C<S<use re 'strict'>>) | |
5074 | C<(?)> does nothing, so perhaps this is a typo. | |
5075 | ||
5076 | =end original | |
5077 | ||
5078 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
5079 | C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。 | |
5080 | ||
5081 | =item ${^ENCODING} is no longer supported | |
5082 | ||
5083 | =begin original | |
5084 | ||
5085 | (F) The special variable C<${^ENCODING}>, formerly used to implement | |
5086 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. | |
5087 | ||
5088 | =end original | |
5089 | ||
5090 | (F) 以前は C<encoding> プラグマの実装に使われていた | |
5091 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 | |
5092 | ||
5093 | =begin original | |
5094 | ||
5095 | Setting it to anything other than C<undef> is a fatal error as of Perl | |
5096 | 5.28. | |
5097 | ||
5098 | =end original | |
5099 | ||
5100 | これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。 | |
5101 | ||
4650 | 5102 | =item entering effective %s failed |
4651 | 5103 | |
4652 | 5104 | =begin original |
4653 | 5105 | |
4654 | 5106 | (F) While under the C<use filetest> pragma, switching the real and |
4655 | 5107 | effective uids or gids failed. |
4656 | 5108 | |
4657 | 5109 | =end original |
4658 | 5110 | |
4659 | 5111 | (F) C<use filetest> プラグマを使っている間に、 |
4660 | 5112 | 実と実効の UID や GID の切り替えに失敗しました。 |
4661 | 5113 | |
4662 | 5114 | =item %ENV is aliased to %s |
4663 | 5115 | |
4664 | 5116 | =begin original |
4665 | 5117 | |
4666 | 5118 | (F) You're running under taint mode, and the C<%ENV> variable has been |
4667 | 5119 | aliased to another hash, so it doesn't reflect anymore the state of the |
4668 | 5120 | program's environment. This is potentially insecure. |
4669 | 5121 | |
4670 | 5122 | =end original |
4671 | 5123 | |
4672 | 5124 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに |
4673 | 5125 | なっているので、これ以上プログラムの環境の状態を反映しません。 |
4674 | 5126 | これは潜在的にはセキュアではありません。 |
4675 | 5127 | |
4676 | 5128 | =item Error converting file specification %s |
4677 | 5129 | |
4678 | 5130 | =begin original |
4679 | 5131 | |
4680 | 5132 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
4681 | 5133 | specifications in either VMS or Unix syntax, it converts them to a |
4682 | 5134 | single form when it must operate on them directly. Either you've passed |
4683 | 5135 | an invalid file specification to Perl, or you've found a case the |
4684 | 5136 | conversion routines don't handle. Drat. |
4685 | 5137 | |
4686 | 5138 | =end original |
4687 | 5139 | |
4688 | 5140 | (F) VMS に固有のエラーです。 |
4689 | 5141 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
4690 | 5142 | 直接操作しなければならない場合は変換します。 |
4691 | 5143 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
4692 | 5144 | 発見したかです。 |
4693 | 5145 | ちぇっ。 |
4694 | 5146 | |
4695 | 5147 | =item Eval-group in insecure regular expression |
4696 | 5148 | |
4697 | 5149 | =begin original |
4698 | 5150 | |
4699 | 5151 | (F) Perl detected tainted data when trying to compile a regular |
4700 | 5152 | expression that contains the C<(?{ ... })> zero-width assertion, which |
4701 | 5153 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
4702 | 5154 | |
4703 | 5155 | =end original |
4704 | 5156 | |
4705 | 5157 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
4706 | 5158 | したときに、Perl は汚染されたデータを検出しました; |
4707 | 5159 | これは安全ではありません。 |
4708 | 5160 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
4709 | 5161 | |
4710 | 5162 | =item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/ |
4711 | 5163 | |
4712 | 5164 | =begin original |
4713 | 5165 | |
4714 | 5166 | (F) Perl tried to compile a regular expression containing the |
4715 | 5167 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
4716 | 5168 | pattern contains interpolated values. Since that is a security risk, |
4717 | 5169 | it is not allowed. If you insist, you may still do this by using the |
4718 | 5170 | C<re 'eval'> pragma or by explicitly building the pattern from an |
4719 | 5171 | interpolated string at run time and using that in an eval(). See |
4720 | 5172 | L<perlre/(?{ code })>. |
4721 | 5173 | |
4722 | 5174 | =end original |
4723 | 5175 | |
4724 | 5176 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
4725 | 5177 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
4726 | 5178 | これはセキュリティ上の危険があるので、許可されていません。 |
4727 | 5179 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に |
4728 | 5180 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで |
4729 | 5181 | 実行できます。 |
4730 | 5182 | L<perlre/(?{ code })> を参照してください。 |
4731 | 5183 | |
4732 | 5184 | =item Eval-group not allowed, use re 'eval' in regex m/%s/ |
4733 | 5185 | |
4734 | 5186 | =begin original |
4735 | 5187 | |
4736 | 5188 | (F) A regular expression contained the C<(?{ ... })> zero-width |
4737 | 5189 | assertion, but that construct is only allowed when the C<use re 'eval'> |
4738 | 5190 | pragma is in effect. See L<perlre/(?{ code })>. |
4739 | 5191 | |
4740 | 5192 | =end original |
4741 | 5193 | |
4742 | 5194 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
4743 | 5195 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
4744 | 5196 | L<perlre/(?{ code })> を参照してください。 |
4745 | 5197 | |
4746 | 5198 | =item EVAL without pos change exceeded limit in regex; marked by |
4747 | 5199 | S<<-- HERE> in m/%s/ |
4748 | 5200 | |
4749 | 5201 | =begin original |
4750 | 5202 | |
4751 | 5203 | (F) You used a pattern that nested too many EVAL calls without consuming |
4752 | 5204 | any text. Restructure the pattern so that text is consumed. |
4753 | 5205 | |
4754 | 5206 | =end original |
4755 | 5207 | |
4756 | 5208 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる |
4757 | 5209 | パターンを使いました。 |
4758 | 5210 | テキストを読み込むようにパターンを再構築してください。 |
4759 | 5211 | |
4760 | 5212 | =begin original |
4761 | 5213 | |
4762 | 5214 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
4763 | 5215 | discovered. |
4764 | 5216 | |
4765 | 5217 | =end original |
4766 | 5218 | |
4767 | 5219 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
4768 | 5220 | |
4769 | 5221 | =item Excessively long <> operator |
4770 | 5222 | |
4771 | 5223 | =begin original |
4772 | 5224 | |
4773 | 5225 | (F) The contents of a <> operator may not exceed the maximum size of a |
4774 | 5226 | Perl identifier. If you're just trying to glob a long list of |
4775 | 5227 | filenames, try using the glob() operator, or put the filenames into a |
4776 | 5228 | variable and glob that. |
4777 | 5229 | |
4778 | 5230 | =end original |
4779 | 5231 | |
4780 | 5232 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
4781 | 5233 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
4782 | 5234 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
4783 | 5235 | |
4784 | 5236 | =item exec? I'm not *that* kind of operating system |
4785 | 5237 | |
4786 | 5238 | =begin original |
4787 | 5239 | |
4788 | 5240 | (F) The C<exec> function is not implemented on some systems, e.g., Symbian |
4789 | 5241 | OS. See L<perlport>. |
4790 | 5242 | |
4791 | 5243 | =end original |
4792 | 5244 | |
4793 | 5245 | (F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。 |
4794 | 5246 | L<perlport> を参照してください。 |
4795 | 5247 | |
4796 | =item Execution of %s aborted due to compilation errors. | |
5248 | =item %sExecution of %s aborted due to compilation errors. | |
4797 | 5249 | |
4798 | 5250 | =begin original |
4799 | 5251 | |
4800 | 5252 | (F) The final summary message when a Perl compilation fails. |
4801 | 5253 | |
4802 | 5254 | =end original |
4803 | 5255 | |
4804 | 5256 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
4805 | 5257 | |
4806 | 5258 | =item exists argument is not a HASH or ARRAY element or a subroutine |
4807 | 5259 | |
4808 | 5260 | =begin original |
4809 | 5261 | |
4810 | 5262 | (F) The argument to C<exists> must be a hash or array element or a |
4811 | 5263 | subroutine with an ampersand, such as: |
4812 | 5264 | |
4813 | 5265 | =end original |
4814 | 5266 | |
4815 | 5267 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 |
4816 | 5268 | アンパサンド付きのサブルーチンでなければなりません: |
4817 | 5269 | |
4818 | 5270 | $foo{$bar} |
4819 | 5271 | $ref->{"susie"}[12] |
4820 | 5272 | &do_something |
4821 | 5273 | |
4822 | 5274 | =item exists argument is not a subroutine name |
4823 | 5275 | |
4824 | 5276 | =begin original |
4825 | 5277 | |
4826 | 5278 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, |
4827 | 5279 | and not a subroutine call. C<exists &sub()> will generate this error. |
4828 | 5280 | |
4829 | 5281 | =end original |
4830 | 5282 | |
4831 | 5283 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 |
4832 | 5284 | サブルーチン呼び出しではありません。 |
4833 | 5285 | C<exists &sub()> はこのエラーを生成します。 |
4834 | 5286 | |
4835 | 5287 | =item Exiting eval via %s |
4836 | 5288 | |
4837 | 5289 | =begin original |
4838 | 5290 | |
4839 | 5291 | (W exiting) You are exiting an eval by unconventional means, such as a |
4840 | 5292 | goto, or a loop control statement. |
4841 | 5293 | |
4842 | 5294 | =end original |
4843 | 5295 | |
4844 | 5296 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
4845 | 5297 | |
4846 | 5298 | =item Exiting format via %s |
4847 | 5299 | |
4848 | 5300 | =begin original |
4849 | 5301 | |
4850 | 5302 | (W exiting) You are exiting a format by unconventional means, such as a |
4851 | 5303 | goto, or a loop control statement. |
4852 | 5304 | |
4853 | 5305 | =end original |
4854 | 5306 | |
4855 | 5307 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを |
4856 | 5308 | 終了しました。 |
4857 | 5309 | |
4858 | 5310 | =item Exiting pseudo-block via %s |
4859 | 5311 | |
4860 | 5312 | =begin original |
4861 | 5313 | |
4862 | 5314 | (W exiting) You are exiting a rather special block construct (like a |
4863 | 5315 | sort block or subroutine) by unconventional means, such as a goto, or a |
4864 | 5316 | loop control statement. See L<perlfunc/sort>. |
4865 | 5317 | |
4866 | 5318 | =end original |
4867 | 5319 | |
4868 | 5320 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
4869 | 5321 | goto やループ制御文といった異例な方法で終了しました。 |
4870 | 5322 | L<perlfunc/sort> を参照してください。 |
4871 | 5323 | |
4872 | 5324 | =item Exiting subroutine via %s |
4873 | 5325 | |
4874 | 5326 | =begin original |
4875 | 5327 | |
4876 | 5328 | (W exiting) You are exiting a subroutine by unconventional means, such |
4877 | 5329 | as a goto, or a loop control statement. |
4878 | 5330 | |
4879 | 5331 | =end original |
4880 | 5332 | |
4881 | 5333 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを |
4882 | 5334 | 抜けました。 |
4883 | 5335 | |
4884 | 5336 | =item Exiting substitution via %s |
4885 | 5337 | |
4886 | 5338 | =begin original |
4887 | 5339 | |
4888 | 5340 | (W exiting) You are exiting a substitution by unconventional means, such |
4889 | 5341 | as a return, a goto, or a loop control statement. |
4890 | 5342 | |
4891 | 5343 | =end original |
4892 | 5344 | |
4893 | 5345 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
4894 | 5346 | 抜けました。 |
4895 | 5347 | |
4896 | 5348 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ |
4897 | 5349 | |
4898 | 5350 | =begin original |
4899 | 5351 | |
4900 | 5352 | (F) You wrote something like |
4901 | 5353 | |
4902 | 5354 | =end original |
4903 | 5355 | |
4904 | 5356 | (F) 以下のようなものを書きました |
4905 | 5357 | |
4906 | 5358 | (?13 |
4907 | 5359 | |
4908 | 5360 | =begin original |
4909 | 5361 | |
4910 | 5362 | to denote a capturing group of the form |
4911 | 5363 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, |
4912 | 5364 | but omitted the C<")">. |
4913 | 5365 | |
4914 | 5366 | =end original |
4915 | 5367 | |
4916 | 5368 | to denote a capturing group of the form |
4917 | 5369 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の |
4918 | 5370 | 捕捉グループを示していますが C<")"> が省略されています。 |
4919 | 5371 | |
4920 | =item Expecting | |
5372 | =item Expecting interpolated extended charclass in regex; marked by <-- | |
5373 | HERE in m/%s/ | |
4921 | 5374 | |
4922 | 5375 | =begin original |
4923 | 5376 | |
4924 | (F) | |
5377 | (F) It looked like you were attempting to interpolate an | |
4925 | ||
5378 | already-compiled extended character class, like so: | |
4926 | C<\d>), operators, and parentheses. The one exception is C<(?flags:...)> | |
4927 | containing at least one flag and exactly one C<(?[...])> construct. | |
4928 | This allows a regular expression containing just C<(?[...])> to be | |
4929 | interpolated. If you see this error message, then you probably | |
4930 | have some other C<(?...)> construct inside your character class. See | |
4931 | L<perlrecharclass/Extended Bracketed Character Classes>. | |
4932 | 5379 | |
4933 | 5380 | =end original |
4934 | 5381 | |
4935 | (F) | |
5382 | (F) 次のように、既にコンパイルされている拡張文字クラスを結合しようと | |
4936 | ||
5383 | したように見えます: | |
4937 | 一つの例外は正確に一つだけのフラグと一つだけの C<(?[...])> を含む | |
4938 | C<(?flags:...)> です。 | |
4939 | これにより C<(?[...])> だけを含む正規表現を変数展開できるようになります。 | |
4940 | このエラーメッセージが表示された時は、おそらく文字クラスの中に他の | |
4941 | C<(?...)> 構文が含まれています。 | |
4942 | L<perlrecharclass/Extended Bracketed Character Classes> を参照してください。 | |
4943 | 5384 | |
5385 | my $thai_or_lao = qr/(?[ \p{Thai} + \p{Lao} ])/; | |
5386 | ... | |
5387 | qr/(?[ \p{Digit} & $thai_or_lao ])/; | |
5388 | ||
5389 | =begin original | |
5390 | ||
5391 | But the marked code isn't syntactically correct to be such an | |
5392 | interpolated class. | |
5393 | ||
5394 | =end original | |
5395 | ||
5396 | しかしマークされたコードは、そのような結合されたクラスとして | |
5397 | 文法的に正しくありません。 | |
5398 | ||
4944 | 5399 | =item Experimental aliasing via reference not enabled |
4945 | 5400 | |
4946 | 5401 | =begin original |
4947 | 5402 | |
4948 | 5403 | (F) To do aliasing via references, you must first enable the feature: |
4949 | 5404 | |
4950 | 5405 | =end original |
4951 | 5406 | |
4952 | 5407 | (F) リファレンスによる別名をするためには、最初にこの機能を |
4953 | 5408 | 有効にしなければなりません: |
4954 | 5409 | |
4955 | 5410 | no warnings "experimental::refaliasing"; |
4956 | 5411 | use feature "refaliasing"; |
4957 | 5412 | \$x = \$y; |
4958 | 5413 | |
4959 | =item Experimental s | |
5414 | =item Experimental %s on scalar is now forbidden | |
4960 | 5415 | |
4961 | 5416 | =begin original |
4962 | 5417 | |
4963 | (F) | |
5418 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
5419 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
5420 | scalar argument. This experiment is considered unsuccessful, and | |
5421 | has been removed. The C<postderef> feature may meet your needs better. | |
4964 | 5422 | |
4965 | 5423 | =end original |
4966 | 5424 | |
4967 | (F) | |
5425 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
5426 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
5427 | スカラ引数で呼び出すことができました。 | |
5428 | この実験は失敗と考えられ、削除されました。 | |
5429 | C<postderef> 機能はあなたの要求により良く一致します。 | |
4968 | 5430 | |
4969 | ||
5431 | =item Experimental subroutine signatures not enabled | |
4970 | use feature "signatures"; | |
4971 | sub foo ($left, $right) { ... } | |
4972 | 5432 | |
4973 | =item Experimental "%s" subs not enabled | |
4974 | ||
4975 | 5433 | =begin original |
4976 | 5434 | |
4977 | (F) To use | |
5435 | (F) To use subroutine signatures, you must first enable them: | |
4978 | 5436 | |
4979 | 5437 | =end original |
4980 | 5438 | |
4981 | (F) | |
5439 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
4982 | 5440 | |
4983 | no warnings | |
5441 | no warnings "experimental::signatures"; | |
4984 | use feature | |
5442 | use feature "signatures"; | |
4985 | | |
5443 | sub foo ($left, $right) { ... } | |
4986 | 5444 | |
4987 | 5445 | =item Explicit blessing to '' (assuming package main) |
4988 | 5446 | |
4989 | 5447 | =begin original |
4990 | 5448 | |
4991 | 5449 | (W misc) You are blessing a reference to a zero length string. This has |
4992 | 5450 | the effect of blessing the reference into the package main. This is |
4993 | 5451 | usually not what you want. Consider providing a default target package, |
4994 | 5452 | e.g. bless($ref, $p || 'MyPackage'); |
4995 | 5453 | |
4996 | 5454 | =end original |
4997 | 5455 | |
4998 | 5456 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
4999 | 5457 | これはリファレンスをパッケージ main に bless する効果があります。 |
5000 | 5458 | これは普通あなたが望んでいることではありません。 |
5001 | 5459 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
5002 | 5460 | パッケージを提供することを考慮してください; |
5003 | 5461 | |
5004 | 5462 | =item %s: Expression syntax |
5005 | 5463 | |
5006 | 5464 | =begin original |
5007 | 5465 | |
5008 | 5466 | (A) You've accidentally run your script through B<csh> instead of Perl. |
5009 | 5467 | Check the #! line, or manually feed your script into Perl yourself. |
5010 | 5468 | |
5011 | 5469 | =end original |
5012 | 5470 | |
5013 | 5471 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
5014 | 5472 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
5015 | 5473 | |
5016 | 5474 | =item %s failed--call queue aborted |
5017 | 5475 | |
5018 | 5476 | =begin original |
5019 | 5477 | |
5020 | 5478 | (F) An untrapped exception was raised while executing a UNITCHECK, |
5021 | 5479 | CHECK, INIT, or END subroutine. Processing of the remainder of the |
5022 | 5480 | queue of such routines has been prematurely ended. |
5023 | 5481 | |
5024 | 5482 | =end original |
5025 | 5483 | |
5026 | 5484 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない |
5027 | 5485 | 例外が発生しました。 |
5028 | 5486 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
5029 | 5487 | |
5488 | =item Failed to close in-place work file %s: %s | |
5489 | ||
5490 | =begin original | |
5491 | ||
5492 | (F) Closing an output file from in-place editing, as with the C<-i> | |
5493 | command-line switch, failed. | |
5494 | ||
5495 | =end original | |
5496 | ||
5497 | (F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを | |
5498 | 閉じるのに失敗しました。 | |
5499 | ||
5030 | 5500 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ |
5031 | 5501 | |
5032 | 5502 | =begin original |
5033 | 5503 | |
5034 | 5504 | (W regexp)(F) A character class range must start and end at a literal |
5035 | 5505 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" |
5036 | 5506 | in your false range is interpreted as a literal "-". In a C<(?[...])> |
5037 | 5507 | construct, this is an error, rather than a warning. Consider quoting |
5038 | 5508 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression |
5039 | 5509 | the problem was discovered. See L<perlre>. |
5040 | 5510 | |
5041 | 5511 | =end original |
5042 | 5512 | |
5043 | 5513 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような |
5044 | 5514 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
5045 | 5515 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
5046 | 5516 | C<(?[...])> 構文では、これは警告ではなくエラーです。 |
5047 | 5517 | "-" を "\-" とクォートすることを考慮してください。 |
5048 | 5518 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
5049 | 5519 | L<perlre> を参照してください。 |
5050 | 5520 | |
5051 | 5521 | =item Fatal VMS error (status=%d) at %s, line %d |
5052 | 5522 | |
5053 | 5523 | =begin original |
5054 | 5524 | |
5055 | 5525 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
5056 | 5526 | system service or RTL routine; Perl's exit status should provide more |
5057 | 5527 | details. The filename in "at %s" and the line number in "line %d" tell |
5058 | 5528 | you which section of the Perl source code is distressed. |
5059 | 5529 | |
5060 | 5530 | =end original |
5061 | 5531 | |
5062 | 5532 | (P) VMS に固有のエラーです。 |
5063 | 5533 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
5064 | 5534 | Perl の終了コードに詳細が示されています。 |
5065 | 5535 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
5066 | 5536 | Perl ソースコードの位置を示しています。 |
5067 | 5537 | |
5068 | 5538 | =item fcntl is not implemented |
5069 | 5539 | |
5070 | 5540 | =begin original |
5071 | 5541 | |
5072 | 5542 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
5073 | 5543 | PDP-11 or something? |
5074 | 5544 | |
5075 | 5545 | =end original |
5076 | 5546 | |
5077 | 5547 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
5078 | 5548 | PDP-11 か何かでしょうか。 |
5079 | 5549 | |
5080 | 5550 | =item FETCHSIZE returned a negative value |
5081 | 5551 | |
5082 | 5552 | =begin original |
5083 | 5553 | |
5084 | 5554 | (F) A tied array claimed to have a negative number of elements, which |
5085 | 5555 | is not possible. |
5086 | 5556 | |
5087 | 5557 | =end original |
5088 | 5558 | |
5089 | 5559 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 |
5090 | 5560 | |
5091 | 5561 | =item Field too wide in 'u' format in pack |
5092 | 5562 | |
5093 | 5563 | =begin original |
5094 | 5564 | |
5095 | 5565 | (W pack) Each line in an uuencoded string starts with a length indicator |
5096 | 5566 | which can't encode values above 63. So there is no point in asking for |
5097 | 5567 | a line length bigger than that. Perl will behave as if you specified |
5098 | 5568 | C<u63> as the format. |
5099 | 5569 | |
5100 | 5570 | =end original |
5101 | 5571 | |
5102 | 5572 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない |
5103 | 5573 | 長さ識別子から始まっています。 |
5104 | 5574 | それで、これより長い行の長さを問い合わせるところがありません。 |
5105 | 5575 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 |
5106 | 5576 | |
5577 | =item File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. | |
5578 | ||
5579 | =begin original | |
5580 | ||
5581 | (D deprecated) C<< File::Glob >> has a function called C<< glob >>, which | |
5582 | just calls C<< bsd_glob >>. However, its prototype is different from the | |
5583 | prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should | |
5584 | not be used. | |
5585 | ||
5586 | =end original | |
5587 | ||
5588 | (D deprecated) C<< File::Glob >> は C<< glob >> と呼ばれる関数を持っています; | |
5589 | これは単に C<< bsd_glob >> を呼び出します。 | |
5590 | しかし、そのプロトタイプは C<< CORE::glob >> のプロトタイプと異なるので、 | |
5591 | C<< File::Glob::glob >> は使われるべきではありません。 | |
5592 | ||
5593 | =begin original | |
5594 | ||
5595 | C<< File::Glob::glob() >> was deprecated in perl 5.8.0. A deprecation | |
5596 | message was issued from perl 5.26.0 onwards, and the function will | |
5597 | disappear in perl 5.30.0. | |
5598 | ||
5599 | =end original | |
5600 | ||
5601 | C<< File::Glob::glob() >> は perl 5.8.0 で廃止予定になりました。 | |
5602 | 廃止予定メッセージは perl 5.26.0 以降で出力され、 | |
5603 | この関数は perl 5.30.0 で削除される予定です。 | |
5604 | ||
5605 | =begin original | |
5606 | ||
5607 | Code using C<< File::Glob::glob() >> should call | |
5608 | C<< File::Glob::bsd_glob() >> instead. | |
5609 | ||
5610 | =end original | |
5611 | ||
5612 | C<< File::Glob::glob() >> を使っているコードは、代わりに | |
5613 | C<< File::Glob::bsd_glob() >> を使う必要があります。 | |
5614 | ||
5107 | 5615 | =item Filehandle %s opened only for input |
5108 | 5616 | |
5109 | 5617 | =begin original |
5110 | 5618 | |
5111 | 5619 | (W io) You tried to write on a read-only filehandle. If you intended |
5112 | 5620 | it to be a read-write filehandle, you needed to open it with "+<" or |
5113 | 5621 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to |
5114 | 5622 | write the file, use ">" or ">>". See L<perlfunc/open>. |
5115 | 5623 | |
5116 | 5624 | =end original |
5117 | 5625 | |
5118 | 5626 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
5119 | 5627 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
5120 | 5628 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
5121 | 5629 | open する必要があります。 |
5122 | 5630 | ライトオンリーであれば、">" や ">>" を使ってください。 |
5123 | 5631 | L<perlfunc/open> を参照してください。 |
5124 | 5632 | |
5125 | 5633 | =item Filehandle %s opened only for output |
5126 | 5634 | |
5127 | 5635 | =begin original |
5128 | 5636 | |
5129 | 5637 | (W io) You tried to read from a filehandle opened only for writing, If |
5130 | 5638 | you intended it to be a read/write filehandle, you needed to open it |
5131 | 5639 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to |
5132 | 5640 | read from the file, use "<". See L<perlfunc/open>. Another possibility |
5133 | 5641 | is that you attempted to open filedescriptor 0 (also known as STDIN) for |
5134 | 5642 | output (maybe you closed STDIN earlier?). |
5135 | 5643 | |
5136 | 5644 | =end original |
5137 | 5645 | |
5138 | 5646 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; |
5139 | 5647 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に |
5140 | 5648 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 |
5141 | 5649 | 読み込み専用にしたい場合は、"<" を使ってください。 |
5142 | 5650 | L<perlfunc/open> を参照してください。 |
5143 | 5651 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を |
5144 | 5652 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 |
5145 | 5653 | |
5146 | 5654 | =item Filehandle %s reopened as %s only for input |
5147 | 5655 | |
5148 | 5656 | =begin original |
5149 | 5657 | |
5150 | 5658 | (W io) You opened for reading a filehandle that got the same filehandle id |
5151 | 5659 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR |
5152 | 5660 | previously. |
5153 | 5661 | |
5154 | 5662 | =end original |
5155 | 5663 | |
5156 | 5664 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の |
5157 | 5665 | ファイルハンドルを読み込み用に開こうとしました。 |
5158 | 5666 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 |
5159 | 5667 | |
5160 | 5668 | =item Filehandle STDIN reopened as %s only for output |
5161 | 5669 | |
5162 | 5670 | =begin original |
5163 | 5671 | |
5164 | 5672 | (W io) You opened for writing a filehandle that got the same filehandle id |
5165 | 5673 | as STDIN. This occurred because you closed STDIN previously. |
5166 | 5674 | |
5167 | 5675 | =end original |
5168 | 5676 | |
5169 | 5677 | (W io) STDIN として使われていたのと同じファイルハンドル ID の |
5170 | 5678 | ファイルハンドルを書き込み用に開こうとしました。 |
5171 | 5679 | これは、以前 STDIN を閉じたときに起きます。 |
5172 | 5680 | |
5173 | 5681 | =item Final $ should be \$ or $name |
5174 | 5682 | |
5175 | 5683 | =begin original |
5176 | 5684 | |
5177 | 5685 | (F) You must now decide whether the final $ in a string was meant to be |
5178 | 5686 | a literal dollar sign, or was meant to introduce a variable name that |
5179 | 5687 | happens to be missing. So you have to put either the backslash or the |
5180 | 5688 | name. |
5181 | 5689 | |
5182 | 5690 | =end original |
5183 | 5691 | |
5184 | 5692 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
5185 | 5693 | 忘れたのかを、はっきりさせなければなりません。 |
5186 | 5694 | バックスラッシュを付けるか、名前を入れてください。 |
5187 | 5695 | |
5188 | 5696 | =item flock() on closed filehandle %s |
5189 | 5697 | |
5190 | 5698 | =begin original |
5191 | 5699 | |
5192 | 5700 | (W closed) The filehandle you're attempting to flock() got itself closed |
5193 | 5701 | some time before now. Check your control flow. flock() operates on |
5194 | 5702 | filehandles. Are you attempting to call flock() on a dirhandle by the |
5195 | 5703 | same name? |
5196 | 5704 | |
5197 | 5705 | =end original |
5198 | 5706 | |
5199 | 5707 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
5200 | 5708 | 閉じられています。 |
5201 | 5709 | 制御フローをチェックしてください。 |
5202 | 5710 | flock() はファイルハンドルを操作します。 |
5203 | 5711 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
5204 | 5712 | |
5205 | 5713 | =item Format not terminated |
5206 | 5714 | |
5207 | 5715 | =begin original |
5208 | 5716 | |
5209 | 5717 | (F) A format must be terminated by a line with a solitary dot. Perl got |
5210 | 5718 | to the end of your file without finding such a line. |
5211 | 5719 | |
5212 | 5720 | =end original |
5213 | 5721 | |
5214 | 5722 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
5215 | 5723 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
5216 | 5724 | |
5217 | 5725 | =item Format %s redefined |
5218 | 5726 | |
5219 | 5727 | =begin original |
5220 | 5728 | |
5221 | 5729 | (W redefine) You redefined a format. To suppress this warning, say |
5222 | 5730 | |
5223 | 5731 | =end original |
5224 | 5732 | |
5225 | 5733 | (W redefine) フォーマットを再定義しました。 |
5226 | 5734 | この警告を止めるには以下のようにしてください: |
5227 | 5735 | |
5228 | 5736 | { |
5229 | 5737 | no warnings 'redefine'; |
5230 | 5738 | eval "format NAME =..."; |
5231 | 5739 | } |
5232 | 5740 | |
5233 | 5741 | =item Found = in conditional, should be == |
5234 | 5742 | |
5235 | 5743 | =begin original |
5236 | 5744 | |
5237 | 5745 | (W syntax) You said |
5238 | 5746 | |
5239 | 5747 | =end original |
5240 | 5748 | |
5241 | 5749 | (W) 以下のようにしています: |
5242 | 5750 | |
5243 | 5751 | if ($foo = 123) |
5244 | 5752 | |
5245 | 5753 | =begin original |
5246 | 5754 | |
5247 | 5755 | when you meant |
5248 | 5756 | |
5249 | 5757 | =end original |
5250 | 5758 | |
5251 | 5759 | 以下のようにすべきです: |
5252 | 5760 | |
5253 | 5761 | if ($foo == 123) |
5254 | 5762 | |
5255 | 5763 | =begin original |
5256 | 5764 | |
5257 | 5765 | (or something like that). |
5258 | 5766 | |
5259 | 5767 | =end original |
5260 | 5768 | |
5261 | 5769 | (あるいは似たようなこと)。 |
5262 | 5770 | |
5263 | 5771 | =item %s found where operator expected |
5264 | 5772 | |
5265 | 5773 | =begin original |
5266 | 5774 | |
5267 | 5775 | (S syntax) The Perl lexer knows whether to expect a term or an operator. |
5268 | 5776 | If it sees what it knows to be a term when it was expecting to see an |
5269 | 5777 | operator, it gives you this warning. Usually it indicates that an |
5270 | 5778 | operator or delimiter was omitted, such as a semicolon. |
5271 | 5779 | |
5272 | 5780 | =end original |
5273 | 5781 | |
5274 | 5782 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを |
5275 | 5783 | 知っています。 |
5276 | 5784 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
5277 | 5785 | この警告が出ることになります。 |
5278 | 5786 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
5279 | 5787 | |
5280 | 5788 | =item gdbm store returned %d, errno %d, key "%s" |
5281 | 5789 | |
5282 | 5790 | =begin original |
5283 | 5791 | |
5284 | 5792 | (S) A warning from the GDBM_File extension that a store failed. |
5285 | 5793 | |
5286 | 5794 | =end original |
5287 | 5795 | |
5288 | 5796 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
5289 | 5797 | |
5290 | 5798 | =item gethostent not implemented |
5291 | 5799 | |
5292 | 5800 | =begin original |
5293 | 5801 | |
5294 | 5802 | (F) Your C library apparently doesn't implement gethostent(), probably |
5295 | 5803 | because if it did, it'd feel morally obligated to return every hostname |
5296 | 5804 | on the Internet. |
5297 | 5805 | |
5298 | 5806 | =end original |
5299 | 5807 | |
5300 | 5808 | (F) C ライブラリに gethostent() が実装されていないようです; |
5301 | 5809 | おそらく、実装すると Internet 上のすべてのホスト名を |
5302 | 5810 | 返さなければいけないと思っているのでしょう。 |
5303 | 5811 | |
5304 | 5812 | =item get%sname() on closed socket %s |
5305 | 5813 | |
5306 | 5814 | =begin original |
5307 | 5815 | |
5308 | 5816 | (W closed) You tried to get a socket or peer socket name on a closed |
5309 | 5817 | socket. Did you forget to check the return value of your socket() call? |
5310 | 5818 | |
5311 | 5819 | =end original |
5312 | 5820 | |
5313 | 5821 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
5314 | 5822 | しました。 |
5315 | 5823 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
5316 | 5824 | |
5317 | 5825 | =item getpwnam returned invalid UIC %#o for user "%s" |
5318 | 5826 | |
5319 | 5827 | =begin original |
5320 | 5828 | |
5321 | 5829 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
5322 | 5830 | C<getpwnam> operator returned an invalid UIC. |
5323 | 5831 | |
5324 | 5832 | =end original |
5325 | 5833 | |
5326 | 5834 | (S) VMS に固有の警告です。 |
5327 | 5835 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
5328 | 5836 | 不正な UIC が返されました。 |
5329 | 5837 | |
5330 | 5838 | =item getsockopt() on closed socket %s |
5331 | 5839 | |
5332 | 5840 | =begin original |
5333 | 5841 | |
5334 | 5842 | (W closed) You tried to get a socket option on a closed socket. Did you |
5335 | 5843 | forget to check the return value of your socket() call? See |
5336 | 5844 | L<perlfunc/getsockopt>. |
5337 | 5845 | |
5338 | 5846 | =end original |
5339 | 5847 | |
5340 | 5848 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
5341 | 5849 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
5342 | 5850 | L<perlfunc/getsockopt> を参照してください。 |
5343 | 5851 | |
5344 | 5852 | =item given is experimental |
5345 | 5853 | |
5346 | 5854 | =begin original |
5347 | 5855 | |
5348 | 5856 | (S experimental::smartmatch) C<given> depends on smartmatch, which |
5349 | 5857 | is experimental, so its behavior may change or even be removed |
5350 | 5858 | in any future release of perl. See the explanation under |
5351 | 5859 | L<perlsyn/Experimental Details on given and when>. |
5352 | 5860 | |
5353 | 5861 | =end original |
5354 | 5862 | |
5355 | 5863 | (S experimental::smartmatch) C<given> はスマートマッチングのに依存していて、 |
5356 | 5864 | これは実験的なので、その振る舞いは将来のリリースの perl で変更されたり |
5357 | 5865 | 削除されたりするかもしれません。 |
5358 | 5866 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 |
5359 | 5867 | |
5360 | 5868 | =item Global symbol "%s" requires explicit package name (did you forget to |
5361 | 5869 | declare "my %s"?) |
5362 | 5870 | |
5363 | 5871 | =begin original |
5364 | 5872 | |
5365 | 5873 | (F) You've said "use strict" or "use strict vars", which indicates |
5366 | 5874 | that all variables must either be lexically scoped (using "my" or "state"), |
5367 | 5875 | declared beforehand using "our", or explicitly qualified to say |
5368 | 5876 | which package the global variable is in (using "::"). |
5369 | 5877 | |
5370 | 5878 | =end original |
5371 | 5879 | |
5372 | 5880 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は |
5373 | 5881 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に |
5374 | 5882 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 |
5375 | 5883 | 明示的に修飾しなくてはなりません。 |
5376 | 5884 | |
5377 | 5885 | =item glob failed (%s) |
5378 | 5886 | |
5379 | 5887 | =begin original |
5380 | 5888 | |
5381 | 5889 | (S glob) Something went wrong with the external program(s) used |
5382 | 5890 | for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob> |
5383 | 5891 | pattern that caused the external program to fail and exit with a |
5384 | 5892 | nonzero status. If the message indicates that the abnormal exit |
5385 | 5893 | resulted in a coredump, this may also mean that your csh (C shell) |
5386 | 5894 | is broken. If so, you should change all of the csh-related variables |
5387 | 5895 | in config.sh: If you have tcsh, make the variables refer to it as |
5388 | 5896 | if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them |
5389 | 5897 | all empty (except that C<d_csh> should be C<'undef'>) so that Perl will |
5390 | 5898 | think csh is missing. In either case, after editing config.sh, run |
5391 | 5899 | C<./Configure -S> and rebuild Perl. |
5392 | 5900 | |
5393 | 5901 | =end original |
5394 | 5902 | |
5395 | 5903 | (S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が |
5396 | 5904 | 発生しました。 |
5397 | 5905 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
5398 | 5906 | C<glob> パターンが渡されたことを意味します。 |
5399 | 5907 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
5400 | 5908 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
5401 | 5909 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
5402 | 5910 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
5403 | 5911 | 参照するように変数を設定します; |
5404 | 5912 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
5405 | 5913 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
5406 | 5914 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
5407 | 5915 | Perl を再ビルドしてください。 |
5408 | 5916 | |
5409 | 5917 | =item Glob not terminated |
5410 | 5918 | |
5411 | 5919 | =begin original |
5412 | 5920 | |
5413 | 5921 | (F) The lexer saw a left angle bracket in a place where it was expecting |
5414 | 5922 | a term, so it's looking for the corresponding right angle bracket, and |
5415 | 5923 | not finding it. Chances are you left some needed parentheses out |
5416 | 5924 | earlier in the line, and you really meant a "less than". |
5417 | 5925 | |
5418 | 5926 | =end original |
5419 | 5927 | |
5420 | 5928 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
5421 | 5929 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
5422 | 5930 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
5423 | 5931 | 表したかった場合が考えられます。 |
5424 | 5932 | |
5425 | 5933 | =item gmtime(%f) failed |
5426 | 5934 | |
5427 | 5935 | =begin original |
5428 | 5936 | |
5429 | 5937 | (W overflow) You called C<gmtime> with a number that it could not handle: |
5430 | 5938 | too large, too small, or NaN. The returned value is C<undef>. |
5431 | 5939 | |
5432 | 5940 | =end original |
5433 | 5941 | |
5434 | 5942 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり |
5435 | 5943 | 小さすぎたり NaN だったりです。 |
5436 | 5944 | 返り値は C<undef> です。 |
5437 | 5945 | |
5438 | 5946 | =item gmtime(%f) too large |
5439 | 5947 | |
5440 | 5948 | =begin original |
5441 | 5949 | |
5442 | 5950 | (W overflow) You called C<gmtime> with a number that was larger than |
5443 | 5951 | it can reliably handle and C<gmtime> probably returned the wrong |
5444 | 5952 | date. This warning is also triggered with NaN (the special |
5445 | 5953 | not-a-number value). |
5446 | 5954 | |
5447 | 5955 | =end original |
5448 | 5956 | |
5449 | 5957 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
5450 | 5958 | おそらく間違った日付が返されました。 |
5451 | 5959 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
5452 | 5960 | |
5453 | 5961 | =item gmtime(%f) too small |
5454 | 5962 | |
5455 | 5963 | =begin original |
5456 | 5964 | |
5457 | 5965 | (W overflow) You called C<gmtime> with a number that was smaller than |
5458 | 5966 | it can reliably handle and C<gmtime> probably returned the wrong date. |
5459 | 5967 | |
5460 | 5968 | =end original |
5461 | 5969 | |
5462 | 5970 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
5463 | 5971 | おそらく間違った日付が返されました。 |
5464 | 5972 | |
5465 | 5973 | =item Got an error from DosAllocMem |
5466 | 5974 | |
5467 | 5975 | =begin original |
5468 | 5976 | |
5469 | 5977 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
5470 | 5978 | version of Perl, and this should not happen anyway. |
5471 | 5979 | |
5472 | 5980 | =end original |
5473 | 5981 | |
5474 | 5982 | (P) OS/2 に固有のエラーです。 |
5475 | 5983 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
5476 | 5984 | どちらにしてもこのエラーは起きないはずです。 |
5477 | 5985 | |
5478 | 5986 | =item goto must have label |
5479 | 5987 | |
5480 | 5988 | =begin original |
5481 | 5989 | |
5482 | 5990 | (F) Unlike with "next" or "last", you're not allowed to goto an |
5483 | 5991 | unspecified destination. See L<perlfunc/goto>. |
5484 | 5992 | |
5485 | 5993 | =end original |
5486 | 5994 | |
5487 | 5995 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
5488 | 5996 | 指定しなくてはなりません。 |
5489 | 5997 | L<perlfunc/goto> を参照してください。 |
5490 | 5998 | |
5491 | 5999 | =item Goto undefined subroutine%s |
5492 | 6000 | |
5493 | 6001 | =begin original |
5494 | 6002 | |
5495 | 6003 | (F) You tried to call a subroutine with C<goto &sub> syntax, but |
5496 | 6004 | the indicated subroutine hasn't been defined, or if it was, it |
5497 | 6005 | has since been undefined. |
5498 | 6006 | |
5499 | 6007 | =end original |
5500 | 6008 | |
5501 | 6009 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された |
5502 | 6010 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 |
5503 | 6011 | |
5504 | 6012 | =item Group name must start with a non-digit word character in regex; marked by |
5505 | 6013 | S<<-- HERE> in m/%s/ |
5506 | 6014 | |
5507 | 6015 | =begin original |
5508 | 6016 | |
5509 | 6017 | (F) Group names must follow the rules for perl identifiers, meaning |
5510 | 6018 | they must start with a non-digit word character. A common cause of |
5511 | 6019 | this error is using (?&0) instead of (?0). See L<perlre>. |
5512 | 6020 | |
5513 | 6021 | =end original |
5514 | 6022 | |
5515 | 6023 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で |
5516 | 6024 | 始まらなければなりません。 |
5517 | 6025 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 |
5518 | 6026 | L<perlre> を参照してください。 |
5519 | 6027 | |
5520 | 6028 | =item ()-group starts with a count |
5521 | 6029 | |
5522 | 6030 | =begin original |
5523 | 6031 | |
5524 | 6032 | (F) A ()-group started with a count. A count is supposed to follow |
5525 | 6033 | something: a template character or a ()-group. See L<perlfunc/pack>. |
5526 | 6034 | |
5527 | 6035 | =end original |
5528 | 6036 | |
5529 | 6037 | (F) () グループが繰り返し数で始まっています。 |
5530 | 6038 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 |
5531 | 6039 | L<perlfunc/pack> を参照してください。 |
5532 | 6040 | |
5533 | 6041 | =item %s had compilation errors. |
5534 | 6042 | |
5535 | 6043 | =begin original |
5536 | 6044 | |
5537 | 6045 | (F) The final summary message when a C<perl -c> fails. |
5538 | 6046 | |
5539 | 6047 | =end original |
5540 | 6048 | |
5541 | 6049 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
5542 | 6050 | |
5543 | 6051 | =item Had to create %s unexpectedly |
5544 | 6052 | |
5545 | 6053 | =begin original |
5546 | 6054 | |
5547 | 6055 | (S internal) A routine asked for a symbol from a symbol table that ought |
5548 | 6056 | to have existed already, but for some reason it didn't, and had to be |
5549 | 6057 | created on an emergency basis to prevent a core dump. |
5550 | 6058 | |
5551 | 6059 | =end original |
5552 | 6060 | |
5553 | 6061 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
5554 | 6062 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
5555 | 6063 | コアダンプを避けるために、緊急に生成しました。 |
5556 | 6064 | |
5557 | 6065 | =item %s has too many errors |
5558 | 6066 | |
5559 | 6067 | =begin original |
5560 | 6068 | |
5561 | 6069 | (F) The parser has given up trying to parse the program after 10 errors. |
5562 | 6070 | Further error messages would likely be uninformative. |
5563 | 6071 | |
5564 | 6072 | =end original |
5565 | 6073 | |
5566 | 6074 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 |
5567 | 6075 | それ以上の解析を諦めました。 |
5568 | 6076 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 |
5569 | 6077 | |
5570 | =item Having more than one /%c regexp modifier is deprecated | |
5571 | ||
5572 | =begin original | |
5573 | ||
5574 | (D deprecated, regexp) You used the indicated regular expression pattern | |
5575 | modifier at least twice in a string of modifiers. It is deprecated to | |
5576 | do this with this particular modifier, to allow future extensions to the | |
5577 | Perl language. | |
5578 | ||
5579 | =end original | |
5580 | ||
5581 | (D deprecated, regexp) 文字列修飾子の中で少なくとも 2 回、 | |
5582 | 間接正規表現パターン修飾子を使いました。 | |
5583 | Perl 言語を将来拡張できるように、 | |
5584 | この特定の修飾子を使って行うことは廃止予定です。 | |
5585 | ||
5586 | 6078 | =item Hexadecimal float: exponent overflow |
5587 | 6079 | |
5588 | 6080 | =begin original |
5589 | 6081 | |
5590 | 6082 | (W overflow) The hexadecimal floating point has a larger exponent |
5591 | 6083 | than the floating point supports. |
5592 | 6084 | |
5593 | 6085 | =end original |
5594 | 6086 | |
5595 | 6087 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな |
5596 | 6088 | 指数を持っています。 |
5597 | 6089 | |
5598 | 6090 | =item Hexadecimal float: exponent underflow |
5599 | 6091 | |
5600 | 6092 | =begin original |
5601 | 6093 | |
5602 | 6094 | (W overflow) The hexadecimal floating point has a smaller exponent |
5603 | than the floating point supports. | |
6095 | than the floating point supports. With the IEEE 754 floating point, | |
6096 | this may also mean that the subnormals (formerly known as denormals) | |
6097 | are being used, which may or may not be an error. | |
5604 | 6098 | |
5605 | 6099 | =end original |
5606 | 6100 | |
5607 | 6101 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな |
5608 | 6102 | 指数を持っています。 |
6103 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; | |
6104 | どちらにしろエラーです。 | |
5609 | 6105 | |
5610 | 6106 | =item Hexadecimal float: internal error (%s) |
5611 | 6107 | |
5612 | 6108 | =begin original |
5613 | 6109 | |
5614 | 6110 | (F) Something went horribly bad in hexadecimal float handling. |
5615 | 6111 | |
5616 | 6112 | =end original |
5617 | 6113 | |
5618 | 6114 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 |
5619 | 6115 | |
5620 | 6116 | =item Hexadecimal float: mantissa overflow |
5621 | 6117 | |
5622 | 6118 | =begin original |
5623 | 6119 | |
5624 | 6120 | (W overflow) The hexadecimal floating point literal had more bits in |
5625 | 6121 | the mantissa (the part between the 0x and the exponent, also known as |
5626 | 6122 | the fraction or the significand) than the floating point supports. |
5627 | 6123 | |
5628 | 6124 | =end original |
5629 | 6125 | |
5630 | 6126 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に |
5631 | 6127 | 浮動小数点数が対応しているよりも多いビット数があります。 |
5632 | 6128 | |
5633 | 6129 | =item Hexadecimal float: precision loss |
5634 | 6130 | |
5635 | 6131 | =begin original |
5636 | 6132 | |
5637 | 6133 | (W overflow) The hexadecimal floating point had internally more |
5638 | 6134 | digits than could be output. This can be caused by unsupported |
5639 | 6135 | long double formats, or by 64-bit integers not being available |
5640 | 6136 | (needed to retrieve the digits under some configurations). |
5641 | 6137 | |
5642 | 6138 | =end original |
5643 | 6139 | |
5644 | 6140 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより |
5645 | 6141 | 多くの桁数を保持しています。 |
5646 | 6142 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) |
5647 | 6143 | 利用できない 64 ビット整数によって引き起こされます。 |
5648 | 6144 | |
5649 | 6145 | =item Hexadecimal float: unsupported long double format |
5650 | 6146 | |
5651 | 6147 | =begin original |
5652 | 6148 | |
5653 | 6149 | (F) You have configured Perl to use long doubles but |
5654 | 6150 | the internals of the long double format are unknown; |
5655 | 6151 | therefore the hexadecimal float output is impossible. |
5656 | 6152 | |
5657 | 6153 | =end original |
5658 | 6154 | |
5659 | 6155 | (F) long double を使うように設定された Perl を使っていますが、 |
5660 | 6156 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は |
5661 | 6157 | 不可能です。 |
5662 | 6158 | |
5663 | 6159 | =item Hexadecimal number > 0xffffffff non-portable |
5664 | 6160 | |
5665 | 6161 | =begin original |
5666 | 6162 | |
5667 | 6163 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
5668 | 6164 | (4294967295) and therefore non-portable between systems. See |
5669 | 6165 | L<perlport> for more on portability concerns. |
5670 | 6166 | |
5671 | 6167 | =end original |
5672 | 6168 | |
5673 | 6169 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
5674 | 6170 | システム間で移植性がありません。 |
5675 | 6171 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
5676 | 6172 | |
5677 | 6173 | =item Identifier too long |
5678 | 6174 | |
5679 | 6175 | =begin original |
5680 | 6176 | |
5681 | 6177 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
5682 | 6178 | about 250 characters for simple names, and somewhat more for compound |
5683 | 6179 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
5684 | 6180 | of Perl are likely to eliminate these arbitrary limitations. |
5685 | 6181 | |
5686 | 6182 | =end original |
5687 | 6183 | |
5688 | 6184 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
5689 | 6185 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
5690 | 6186 | 制限しています。 |
5691 | 6187 | この Perl の制限を越えました。 |
5692 | 6188 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
5693 | 6189 | |
5694 | 6190 | =item Ignoring zero length \N{} in character class in regex; marked by |
5695 | 6191 | S<<-- HERE> in m/%s/ |
5696 | 6192 | |
5697 | 6193 | =begin original |
5698 | 6194 | |
5699 | 6195 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a |
5700 | 6196 | zero-length sequence. When such an escape is used in a character |
5701 | 6197 | class its behavior is not well defined. Check that the correct |
5702 | 6198 | escape has been used, and the correct charname handler is in scope. |
5703 | 6199 | |
5704 | 6200 | =end original |
5705 | 6201 | |
5706 | 6202 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の |
5707 | 6203 | シーケンスを返しました。 |
5708 | 6204 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 |
5709 | 6205 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に |
5710 | 6206 | あるかをチェックしてください。 |
5711 | 6207 | |
5712 | =item Illegal | |
6208 | =item Illegal %s digit '%c' ignored | |
5713 | 6209 | |
5714 | 6210 | =begin original |
5715 | 6211 | |
5716 | ( | |
6212 | (W digit) Here C<%s> is one of "binary", "octal", or "hex". | |
6213 | You may have tried to use a digit other than one that is legal for the | |
6214 | given type, such as only 0 and 1 for binary. For octals, this is raised | |
6215 | only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and | |
6216 | 'a' - 'f' are legal. | |
6217 | Interpretation of the number stopped just before the offending digit or | |
6218 | character. | |
5717 | 6219 | |
5718 | 6220 | =end original |
5719 | 6221 | |
5720 | ( | |
6222 | (W digit) ここで C<%s> は "binary", "octal", "hex" のうちの一つです。 | |
6223 | one that is legal for the | |
6224 | given type, such as only 0 and 1 for binary. For octals, this is raised | |
6225 | only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and | |
6226 | 'a' - 'f' are legal. | |
6227 | を使おうとしたのでしょう。 | |
6228 | 数の解釈は問題のある数値や文字の直前で停止しました。 | |
5721 | 6229 | |
5722 | =item Illegal binary digit % | |
6230 | =item Illegal binary digit '%c' | |
5723 | 6231 | |
5724 | 6232 | =begin original |
5725 | 6233 | |
5726 | ( | |
6234 | (F) You used a digit other than 0 or 1 in a binary number. | |
5727 | binary number. Interpretation of the binary number stopped before the | |
5728 | offending digit. | |
5729 | 6235 | |
5730 | 6236 | =end original |
5731 | 6237 | |
5732 | ( | |
6238 | (F) 2 進数として 0 と 1 以外の数値を使っています。 | |
5733 | 2 進数の解釈は問題のある数値の手前で停止しました。 | |
5734 | 6239 | |
5735 | 6240 | =item Illegal character after '_' in prototype for %s : %s |
5736 | 6241 | |
5737 | 6242 | =begin original |
5738 | 6243 | |
5739 | 6244 | (W illegalproto) An illegal character was found in a prototype |
5740 | 6245 | declaration. The '_' in a prototype must be followed by a ';', |
5741 | 6246 | indicating the rest of the parameters are optional, or one of '@' |
5742 | 6247 | or '%', since those two will accept 0 or more final parameters. |
5743 | 6248 | |
5744 | 6249 | =end original |
5745 | 6250 | |
5746 | 6251 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
5747 | 6252 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために |
5748 | 6253 | ';' が引き続くか、'@' か '%' の一つでなければなりません; |
5749 | 6254 | これら二つは 0 以上の末尾の引数を受け付けるからです。 |
5750 | 6255 | |
5751 | 6256 | =item Illegal character \%o (carriage return) |
5752 | 6257 | |
5753 | 6258 | =begin original |
5754 | 6259 | |
5755 | (F) Perl normally treats carriage returns in the program text as | |
6260 | (F) Perl normally treats carriage returns in the program text as | |
5756 | would any other whitespace, which means you should never see | |
6261 | it would any other whitespace, which means you should never see | |
5757 | when Perl was built using standard options. For some | |
6262 | this error when Perl was built using standard options. For some | |
5758 | version of Perl appears to have been built without | |
6263 | reason, your version of Perl appears to have been built without | |
5759 | to your Perl administrator. | |
6264 | this support. Talk to your Perl administrator. | |
5760 | 6265 | |
5761 | 6266 | =end original |
5762 | 6267 | |
5763 | 6268 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
5764 | 6269 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
5765 | 6270 | 見ることは決してないはずです。 |
5766 | 6271 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
5767 | 6272 | Perl の管理者に問い合わせてください。 |
5768 | 6273 | |
6274 | =item Illegal character following sigil in a subroutine signature | |
6275 | ||
6276 | =begin original | |
6277 | ||
6278 | (F) A parameter in a subroutine signature contained an unexpected character | |
6279 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil | |
6280 | should be followed by the variable name or C<=> etc. Perhaps you are | |
6281 | trying use a prototype while in the scope of C<use feature 'signatures'>? | |
6282 | For example: | |
6283 | ||
6284 | =end original | |
6285 | ||
6286 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて | |
6287 | 想定外の文字がありました。 | |
6288 | 通常は、印には変数名や C<=> などが引き続くはずです。 | |
6289 | おそらく C<use feature 'signatures'> のスコープ内で | |
6290 | プロトタイプを使おうとしたのでは? | |
6291 | 例えば: | |
6292 | ||
6293 | sub foo ($$) {} # legal - a prototype | |
6294 | ||
6295 | use feature 'signatures; | |
6296 | sub foo ($$) {} # illegal - was expecting a signature | |
6297 | sub foo ($a, $b) | |
6298 | :prototype($$) {} # legal | |
6299 | ||
5769 | 6300 | =item Illegal character in prototype for %s : %s |
5770 | 6301 | |
5771 | 6302 | =begin original |
5772 | 6303 | |
5773 | 6304 | (W illegalproto) An illegal character was found in a prototype declaration. |
5774 | 6305 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. |
5775 | 6306 | Perhaps you were trying to write a subroutine signature but didn't enable |
5776 | 6307 | that feature first (C<use feature 'signatures'>), so your signature was |
5777 | 6308 | instead interpreted as a bad prototype. |
5778 | 6309 | |
5779 | 6310 | =end original |
5780 | 6311 | |
5781 | 6312 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
5782 | 6313 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 |
5783 | 6314 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に |
5784 | 6315 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った |
5785 | 6316 | プロトタイプとして解釈されたのでしょう。 |
5786 | 6317 | |
5787 | 6318 | =item Illegal declaration of anonymous subroutine |
5788 | 6319 | |
5789 | 6320 | =begin original |
5790 | 6321 | |
5791 | 6322 | (F) When using the C<sub> keyword to construct an anonymous subroutine, |
5792 | 6323 | you must always specify a block of code. See L<perlsub>. |
5793 | 6324 | |
5794 | 6325 | =end original |
5795 | 6326 | |
5796 | 6327 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 |
5797 | 6328 | 常にコードのブロックを指定しなければなりません。 |
5798 | 6329 | L<perlsub> を参照してください。 |
5799 | 6330 | |
5800 | 6331 | =item Illegal declaration of subroutine %s |
5801 | 6332 | |
5802 | 6333 | =begin original |
5803 | 6334 | |
5804 | 6335 | (F) A subroutine was not declared correctly. See L<perlsub>. |
5805 | 6336 | |
5806 | 6337 | =end original |
5807 | 6338 | |
5808 | 6339 | (F) サブルーチンが正しく宣言されていません。 |
5809 | 6340 | L<perlsub> を参照してください。 |
5810 | 6341 | |
5811 | 6342 | =item Illegal division by zero |
5812 | 6343 | |
5813 | 6344 | =begin original |
5814 | 6345 | |
5815 | 6346 | (F) You tried to divide a number by 0. Either something was wrong in |
5816 | 6347 | your logic, or you need to put a conditional in to guard against |
5817 | 6348 | meaningless input. |
5818 | 6349 | |
5819 | 6350 | =end original |
5820 | 6351 | |
5821 | 6352 | (F) ゼロで割り算をしようとしました。 |
5822 | 6353 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
5823 | 6354 | 必要かのどちらかでしょう。 |
5824 | 6355 | |
5825 | =item Illegal hexadecimal digit %s ignored | |
5826 | ||
5827 | =begin original | |
5828 | ||
5829 | (W digit) You may have tried to use a character other than 0 - 9 or | |
5830 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal | |
5831 | number stopped before the illegal character. | |
5832 | ||
5833 | =end original | |
5834 | ||
5835 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
5836 | 16 進数の解釈は不正な文字の手前で停止しました。 | |
5837 | ||
5838 | 6356 | =item Illegal modulus zero |
5839 | 6357 | |
5840 | 6358 | =begin original |
5841 | 6359 | |
5842 | 6360 | (F) You tried to divide a number by 0 to get the remainder. Most |
5843 | 6361 | numbers don't take to this kindly. |
5844 | 6362 | |
5845 | 6363 | =end original |
5846 | 6364 | |
5847 | 6365 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
5848 | 6366 | これは、ほとんどの数体系で受け入れられません。 |
5849 | 6367 | |
5850 | 6368 | =item Illegal number of bits in vec |
5851 | 6369 | |
5852 | 6370 | =begin original |
5853 | 6371 | |
5854 | 6372 | (F) The number of bits in vec() (the third argument) must be a power of |
5855 | 6373 | two from 1 to 32 (or 64, if your platform supports that). |
5856 | 6374 | |
5857 | 6375 | =end original |
5858 | 6376 | |
5859 | 6377 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
5860 | 6378 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
5861 | 6379 | |
5862 | =item Illegal octal digit % | |
6380 | =item Illegal octal digit '%c' | |
5863 | 6381 | |
5864 | 6382 | =begin original |
5865 | 6383 | |
5866 | 6384 | (F) You used an 8 or 9 in an octal number. |
5867 | 6385 | |
5868 | 6386 | =end original |
5869 | 6387 | |
5870 | 6388 | (F) 8 進数で 8 か 9 を使いました。 |
5871 | 6389 | |
5872 | =item Illegal o | |
6390 | =item Illegal operator following parameter in a subroutine signature | |
5873 | 6391 | |
5874 | 6392 | =begin original |
5875 | 6393 | |
5876 | ( | |
6394 | (F) A parameter in a subroutine signature, was followed by something | |
5877 | ||
6395 | other than C<=> introducing a default, C<,> or C<)>. | |
5878 | 6396 | |
5879 | 6397 | =end original |
5880 | 6398 | |
5881 | ( | |
6399 | (F) サブルーチンシグネチャで引数に引き続いて、デフォルトを導入する | |
5882 | ||
6400 | C<=>, C<,>, C<)> 以外のものがありました。 | |
5883 | 6401 | |
6402 | use feature 'signatures'; | |
6403 | sub foo ($=1) {} # legal | |
6404 | sub foo ($a = 1) {} # legal | |
6405 | sub foo ($a += 1) {} # illegal | |
6406 | sub foo ($a == 1) {} # illegal | |
6407 | ||
5884 | 6408 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ |
5885 | 6409 | |
5886 | 6410 | =begin original |
5887 | 6411 | |
5888 | 6412 | (F) You wrote something like |
5889 | 6413 | |
5890 | 6414 | =end original |
5891 | 6415 | |
5892 | 6416 | (F) 以下のようなものを書きました |
5893 | 6417 | |
5894 | 6418 | (?+foo) |
5895 | 6419 | |
5896 | 6420 | =begin original |
5897 | 6421 | |
5898 | 6422 | The C<"+"> is valid only when followed by digits, indicating a |
5899 | 6423 | capturing group. See |
5900 | 6424 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. |
5901 | 6425 | |
5902 | 6426 | =end original |
5903 | 6427 | |
5904 | 6428 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 |
5905 | 6429 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を |
5906 | 6430 | 参照してください。 |
5907 | 6431 | |
5908 | 6432 | =item Illegal suidscript |
5909 | 6433 | |
5910 | 6434 | =begin original |
5911 | 6435 | |
5912 | 6436 | (F) The script run under suidperl was somehow illegal. |
5913 | 6437 | |
5914 | 6438 | =end original |
5915 | 6439 | |
5916 | 6440 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 |
5917 | 6441 | |
5918 | 6442 | =item Illegal switch in PERL5OPT: -%c |
5919 | 6443 | |
5920 | 6444 | =begin original |
5921 | 6445 | |
5922 | 6446 | (X) The PERL5OPT environment variable may only be used to set the |
5923 | 6447 | following switches: B<-[CDIMUdmtw]>. |
5924 | 6448 | |
5925 | 6449 | =end original |
5926 | 6450 | |
5927 | 6451 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。 |
5928 | 6452 | |
6453 | =item Illegal user-defined property name | |
6454 | ||
6455 | =begin original | |
6456 | ||
6457 | (F) You specified a Unicode-like property name in a regular expression | |
6458 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
6459 | Unicode property, and was likely meant to be a user-defined property | |
6460 | name, but it can't be one of those, as they must begin with either C<In> | |
6461 | or C<Is>. Check the spelling. See also | |
6462 | L</Can't find Unicode property definition "%s">. | |
6463 | ||
6464 | =end original | |
6465 | ||
6466 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
6467 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
6468 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
6469 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
6470 | そうなりません。 | |
6471 | スペルを確認してください。 | |
6472 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
6473 | ||
5929 | 6474 | =item Ill-formed CRTL environ value "%s" |
5930 | 6475 | |
5931 | 6476 | =begin original |
5932 | 6477 | |
5933 | 6478 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
5934 | 6479 | internal environ array, and encountered an element without the C<=> |
5935 | 6480 | delimiter used to separate keys from values. The element is ignored. |
5936 | 6481 | |
5937 | 6482 | =end original |
5938 | 6483 | |
5939 | 6484 | (W internal) VMS に固有の警告です。 |
5940 | 6485 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
5941 | 6486 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
5942 | 6487 | この要素は無視しました。 |
5943 | 6488 | |
5944 | 6489 | =item Ill-formed message in prime_env_iter: |%s| |
5945 | 6490 | |
5946 | 6491 | =begin original |
5947 | 6492 | |
5948 | 6493 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
5949 | 6494 | name or CLI symbol definition when preparing to iterate over %ENV, and |
5950 | 6495 | didn't see the expected delimiter between key and value, so the line was |
5951 | 6496 | ignored. |
5952 | 6497 | |
5953 | 6498 | =end original |
5954 | 6499 | |
5955 | 6500 | (W internal) VMS に固有の警告です。 |
5956 | 6501 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
5957 | 6502 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
5958 | 6503 | その行は無視しました。 |
5959 | 6504 | |
5960 | 6505 | =item (in cleanup) %s |
5961 | 6506 | |
5962 | 6507 | =begin original |
5963 | 6508 | |
5964 | 6509 | (W misc) This prefix usually indicates that a DESTROY() method raised |
5965 | 6510 | the indicated exception. Since destructors are usually called by the |
5966 | 6511 | system at arbitrary points during execution, and often a vast number of |
5967 | 6512 | times, the warning is issued only once for any number of failures that |
5968 | 6513 | would otherwise result in the same message being repeated. |
5969 | 6514 | |
5970 | 6515 | =end original |
5971 | 6516 | |
5972 | 6517 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
5973 | 6518 | 発生したことを示しています。 |
5974 | 6519 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
5975 | 6520 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
5976 | 6521 | 何回失敗しても一度だけ発生します。 |
5977 | 6522 | |
5978 | 6523 | =begin original |
5979 | 6524 | |
5980 | 6525 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
5981 | 6526 | also result in this warning. See L<perlcall/G_KEEPERR>. |
5982 | 6527 | |
5983 | 6528 | =end original |
5984 | 6529 | |
5985 | 6530 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した |
5986 | 6531 | 場合にもこの警告が出ることがあります。 |
5987 | 6532 | L<perlcall/G_KEEPERR> を参照してください。 |
5988 | 6533 | |
5989 | 6534 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> |
5990 | 6535 | in m/%s/ |
5991 | 6536 | |
5992 | 6537 | =begin original |
5993 | 6538 | |
5994 | 6539 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the |
5995 | 6540 | expression inside the construct was completely empty, or if there are |
5996 | 6541 | too many or few operands for the number of operators. Perl is not smart |
5997 | 6542 | enough to give you a more precise indication as to what is wrong. |
5998 | 6543 | |
5999 | 6544 | =end original |
6000 | 6545 | |
6001 | 6546 | (F) これは C<(?[ ])> の中の文法エラーです。 |
6002 | 6547 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり |
6003 | 6548 | 少なすぎたりする場合に起こります。 |
6004 | 6549 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 |
6005 | 6550 | |
6006 | 6551 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on |
6007 | 6552 | parent '%s' |
6008 | 6553 | |
6009 | 6554 | =begin original |
6010 | 6555 | |
6011 | 6556 | (F) The method resolution order (MRO) of the given class is not |
6012 | 6557 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 |
6013 | 6558 | documentation in L<mro> for more information. |
6014 | 6559 | |
6015 | 6560 | =end original |
6016 | 6561 | |
6017 | 6562 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 |
6018 | 6563 | このクラスの C3 MRO を有効にしました。 |
6019 | 6564 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 |
6020 | 6565 | |
6021 | =item In | |
6566 | =item Indentation on line %d of here-doc doesn't match delimiter | |
6022 | 6567 | |
6023 | 6568 | =begin original |
6024 | 6569 | |
6025 | (F) | |
6570 | (F) You have an indented here-document where one or more of its lines | |
6026 | ||
6571 | have whitespace at the beginning that does not match the closing | |
6027 | ||
6572 | delimiter. | |
6028 | 6573 | |
6029 | 6574 | =end original |
6030 | 6575 | |
6031 | (F) | |
6576 | (F) インデントのあるヒヤドキュメントがありますが、 | |
6032 | ||
6577 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 | |
6033 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 | |
6034 | UTF-EBCDIC エンコーディングでは、コードポイントは | |
6035 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 | |
6036 | 6578 | |
6579 | =begin original | |
6580 | ||
6581 | For example, line 2 below is wrong because it does not have at least | |
6582 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: | |
6583 | ||
6584 | =end original | |
6585 | ||
6586 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の | |
6587 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; | |
6588 | 少なくとも 2 個あるからです: | |
6589 | ||
6590 | if ($something) { | |
6591 | print <<~EOF; | |
6592 | Line 1 | |
6593 | Line 2 not | |
6594 | Line 3 | |
6595 | EOF | |
6596 | } | |
6597 | ||
6598 | =begin original | |
6599 | ||
6600 | Note that tabs and spaces are compared strictly, meaning 1 tab will | |
6601 | not match 8 spaces. | |
6602 | ||
6603 | =end original | |
6604 | ||
6605 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは | |
6606 | マッチングしないことに注意してください。 | |
6607 | ||
6037 | 6608 | =item Infinite recursion in regex |
6038 | 6609 | |
6039 | 6610 | =begin original |
6040 | 6611 | |
6041 | 6612 | (F) You used a pattern that references itself without consuming any input |
6042 | 6613 | text. You should check the pattern to ensure that recursive patterns |
6043 | 6614 | either consume text or fail. |
6044 | 6615 | |
6045 | 6616 | =end original |
6046 | 6617 | |
6047 | 6618 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 |
6048 | 6619 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 |
6049 | 6620 | パターンをチェックするべきです。 |
6050 | 6621 | |
6051 | =item Ini | |
6622 | =item Infinite recursion via empty pattern | |
6052 | 6623 | |
6053 | 6624 | =begin original |
6054 | 6625 | |
6055 | (F) | |
6626 | (F) You tried to use the empty pattern inside of a regex code block, | |
6056 | in | |
6627 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
6057 | ||
6628 | the same pattern, which is an infinite loop which is broken by | |
6058 | ||
6629 | throwing an exception. | |
6059 | supported in a future perl release. | |
6060 | 6630 | |
6061 | 6631 | =end original |
6062 | 6632 | |
6063 | (F) | |
6633 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
6064 | ||
6634 | 空パターンを使いました; | |
6065 | ||
6635 | これは同じパターンを再実行することになり、 | |
6066 | ||
6636 | 例外が投げられることによって壊れる無限ループになります。 | |
6067 | C<state (@a) = foo()> のような構文は perl の将来のリリースで | |
6068 | 対応されるでしょう。 | |
6069 | 6637 | |
6638 | =item Initialization of state variables in list currently forbidden | |
6639 | ||
6640 | =begin original | |
6641 | ||
6642 | (F) C<state> only permits initializing a single variable, specified | |
6643 | without parentheses. So C<state $a = 42> and C<state @a = qw(a b c)> are | |
6644 | allowed, but not C<state ($a) = 42> or C<(state $a) = 42>. To initialize | |
6645 | more than one C<state> variable, initialize them one at a time. | |
6646 | ||
6647 | =end original | |
6648 | ||
6649 | (F) C<state> は、かっこなしで指定された単一の変数の初期化のみが | |
6650 | 許されています。 | |
6651 | 従って C<state $a = 42> と C<state @a = qw(a b c)> は許されますが、 | |
6652 | C<state ($a) = 42> や C<(state $a) = 42> は許されません。 | |
6653 | To initialize | |
6654 | more than one | |
6655 | 複数の C<state> 変数を初期化するには、一つずつ初期化してください。 | |
6656 | ||
6070 | 6657 | =item %%s[%s] in scalar context better written as $%s[%s] |
6071 | 6658 | |
6072 | 6659 | =begin original |
6073 | 6660 | |
6074 | 6661 | (W syntax) In scalar context, you've used an array index/value slice |
6075 | 6662 | (indicated by %) to select a single element of an array. Generally |
6076 | 6663 | it's better to ask for a scalar value (indicated by $). The difference |
6077 | 6664 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it |
6078 | 6665 | returns and when evaluating its argument, while C<%foo[&bar]> provides |
6079 | 6666 | a list context to its subscript, which can do weird things if you're |
6080 | 6667 | expecting only one subscript. When called in list context, it also |
6081 | 6668 | returns the index (what C<&bar> returns) in addition to the value. |
6082 | 6669 | |
6083 | 6670 | =end original |
6084 | 6671 | |
6085 | 6672 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために |
6086 | 6673 | (% で示される)配列インデックス/値スライスを使いました。 |
6087 | 6674 | 一般的には($ で示される)スカラ値を取得した方がよいです。 |
6088 | 6675 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように |
6089 | 6676 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 |
6090 | 6677 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 |
6091 | 6678 | リストコンテキストで呼び出された場合、値に加えてインデックス |
6092 | 6679 | (C<&bar> が返すもの) を返します。 |
6093 | 6680 | |
6094 | 6681 | =item %%s{%s} in scalar context better written as $%s{%s} |
6095 | 6682 | |
6096 | 6683 | =begin original |
6097 | 6684 | |
6098 | 6685 | (W syntax) In scalar context, you've used a hash key/value slice |
6099 | 6686 | (indicated by %) to select a single element of a hash. Generally it's |
6100 | 6687 | better to ask for a scalar value (indicated by $). The difference |
6101 | 6688 | is that C<$foo{&bar}> always behaves like a scalar, both in the value |
6102 | 6689 | it returns and when evaluating its argument, while C<@foo{&bar}> and |
6103 | 6690 | provides a list context to its subscript, which can do weird things |
6104 | 6691 | if you're expecting only one subscript. When called in list context, |
6105 | 6692 | it also returns the key in addition to the value. |
6106 | 6693 | |
6107 | 6694 | =end original |
6108 | 6695 | |
6109 | 6696 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために |
6110 | 6697 | (% で示される)ハッシュキー/値スライスを使いました。 |
6111 | 6698 | 一般的には($ で示される)スカラ値を取得した方がよいです。 |
6112 | 6699 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように |
6113 | 6700 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 |
6114 | 6701 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 |
6115 | 6702 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 |
6116 | 6703 | |
6117 | 6704 | =item Insecure dependency in %s |
6118 | 6705 | |
6119 | 6706 | =begin original |
6120 | 6707 | |
6121 | 6708 | (F) You tried to do something that the tainting mechanism didn't like. |
6122 | 6709 | The tainting mechanism is turned on when you're running setuid or |
6123 | 6710 | setgid, or when you specify B<-T> to turn it on explicitly. The |
6124 | 6711 | tainting mechanism labels all data that's derived directly or indirectly |
6125 | 6712 | from the user, who is considered to be unworthy of your trust. If any |
6126 | 6713 | such data is used in a "dangerous" operation, you get this error. See |
6127 | 6714 | L<perlsec> for more information. |
6128 | 6715 | |
6129 | 6716 | =end original |
6130 | 6717 | |
6131 | 6718 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
6132 | 6719 | 行なおうとしました。 |
6133 | 6720 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
6134 | 6721 | 汚染チェック機構が働きます。 |
6135 | 6722 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
6136 | 6723 | 指定したデータに印を付けます。 |
6137 | 6724 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
6138 | 6725 | 詳しくは、L<perlsec> を参照してください。 |
6139 | 6726 | |
6140 | 6727 | =item Insecure directory in %s |
6141 | 6728 | |
6142 | 6729 | =begin original |
6143 | 6730 | |
6144 | 6731 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6145 | 6732 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
6146 | 6733 | the world. Also, the PATH must not contain any relative directory. |
6147 | 6734 | See L<perlsec>. |
6148 | 6735 | |
6149 | 6736 | =end original |
6150 | 6737 | |
6151 | 6738 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
6152 | 6739 | 含まれているとき、system()、exec()、パイプのオープンを |
6153 | 6740 | 行なうことはできません。 |
6154 | 6741 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 |
6155 | 6742 | L<perlsec> を参照してください。 |
6156 | 6743 | |
6157 | 6744 | =item Insecure $ENV{%s} while running %s |
6158 | 6745 | |
6159 | 6746 | =begin original |
6160 | 6747 | |
6161 | 6748 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6162 | 6749 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
6163 | 6750 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data |
6164 | 6751 | supplied (or potentially supplied) by the user. The script must set |
6165 | 6752 | the path to a known value, using trustworthy data. See L<perlsec>. |
6166 | 6753 | |
6167 | 6754 | =end original |
6168 | 6755 | |
6169 | 6756 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
6170 | 6757 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された |
6171 | 6758 | (あるいは提供された可能性のある)データの場合、setuid や setgid された |
6172 | 6759 | スクリプトでは system(), exec(), パイプされる open を |
6173 | 6760 | 使うことはできません。 |
6174 | 6761 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
6175 | 6762 | セットしなければなりません。 |
6176 | 6763 | L<perlsec> を参照してください。 |
6177 | 6764 | |
6178 | 6765 | =item Insecure user-defined property %s |
6179 | 6766 | |
6180 | 6767 | =begin original |
6181 | 6768 | |
6182 | 6769 | (F) Perl detected tainted data when trying to compile a regular |
6183 | 6770 | expression that contains a call to a user-defined character property |
6184 | 6771 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. |
6185 | 6772 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. |
6186 | 6773 | |
6187 | 6774 | =end original |
6188 | 6775 | |
6189 | 6776 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の |
6190 | 6777 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを |
6191 | 6778 | 検出しました。 |
6192 | 6779 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を |
6193 | 6780 | 参照してください。 |
6194 | 6781 | |
6195 | 6782 | =item Integer overflow in format string for %s |
6196 | 6783 | |
6197 | 6784 | =begin original |
6198 | 6785 | |
6199 | 6786 | (F) The indexes and widths specified in the format string of C<printf()> |
6200 | 6787 | or C<sprintf()> are too large. The numbers must not overflow the size of |
6201 | 6788 | integers for your architecture. |
6202 | 6789 | |
6203 | 6790 | =end original |
6204 | 6791 | |
6205 | 6792 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや |
6206 | 6793 | 幅が大きすぎます。 |
6207 | 6794 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように |
6208 | 6795 | しなければなりません。 |
6209 | 6796 | |
6210 | 6797 | =item Integer overflow in %s number |
6211 | 6798 | |
6212 | 6799 | =begin original |
6213 | 6800 | |
6214 | 6801 | (S overflow) The hexadecimal, octal or binary number you have specified |
6215 | 6802 | either as a literal or as an argument to hex() or oct() is too big for |
6216 | 6803 | your architecture, and has been converted to a floating point number. |
6217 | 6804 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
6218 | 6805 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
6219 | 6806 | 0b11111111111111111111111111111111 respectively. Note that Perl |
6220 | 6807 | transparently promotes all numbers to a floating point representation |
6221 | 6808 | internally--subject to loss of precision errors in subsequent |
6222 | 6809 | operations. |
6223 | 6810 | |
6224 | 6811 | =end original |
6225 | 6812 | |
6226 | 6813 | (S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 |
6227 | 6814 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
6228 | 6815 | 変換されました。 |
6229 | 6816 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
6230 | 6817 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
6231 | 6818 | 0b11111111111111111111111111111111 です。 |
6232 | 6819 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
6233 | 6820 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
6234 | 6821 | |
6235 | 6822 | =item Integer overflow in srand |
6236 | 6823 | |
6237 | 6824 | =begin original |
6238 | 6825 | |
6239 | 6826 | (S overflow) The number you have passed to srand is too big to fit |
6240 | 6827 | in your architecture's integer representation. The number has been |
6241 | 6828 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit |
6242 | 6829 | architectures). This means you may be getting less randomness than |
6243 | 6830 | you expect, because different random seeds above the maximum will |
6244 | 6831 | return the same sequence of random numbers. |
6245 | 6832 | |
6246 | 6833 | =end original |
6247 | 6834 | |
6248 | 6835 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に |
6249 | 6836 | 適合させるには大きすぎます。 |
6250 | 6837 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に |
6251 | 6838 | 置き換えられました。 |
6252 | 6839 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 |
6253 | 6840 | 想定しているよりもランダム性が低くなることを意味します。 |
6254 | 6841 | |
6255 | 6842 | =item Integer overflow in version |
6256 | 6843 | |
6257 | 6844 | =item Integer overflow in version %d |
6258 | 6845 | |
6259 | 6846 | =begin original |
6260 | 6847 | |
6261 | 6848 | (W overflow) Some portion of a version initialization is too large for |
6262 | 6849 | the size of integers for your architecture. This is not a warning |
6263 | 6850 | because there is no rational reason for a version to try and use an |
6264 | 6851 | element larger than typically 2**32. This is usually caused by trying |
6265 | 6852 | to use some odd mathematical operation as a version, like 100/9. |
6266 | 6853 | |
6267 | 6854 | =end original |
6268 | 6855 | |
6269 | 6856 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより |
6270 | 6857 | 大きすぎます。 |
6271 | 6858 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な |
6272 | 6859 | 理由がないので、これは警告ではありません。 |
6273 | 6860 | これは普通、100/9 のようなおかしな数値演算をバージョンとして |
6274 | 6861 | 使おうとしたことによります。 |
6275 | 6862 | |
6276 | 6863 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ |
6277 | 6864 | |
6278 | 6865 | =begin original |
6279 | 6866 | |
6280 | 6867 | (P) Something went badly wrong in the regular expression parser. |
6281 | 6868 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
6282 | 6869 | discovered. |
6283 | 6870 | |
6284 | 6871 | =end original |
6285 | 6872 | |
6286 | 6873 | (P) 正規表現解析部に何か悪いことが起こりました。 |
6287 | 6874 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
6288 | 6875 | |
6289 | 6876 | =item Internal inconsistency in tracking vforks |
6290 | 6877 | |
6291 | 6878 | =begin original |
6292 | 6879 | |
6293 | 6880 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
6294 | 6881 | you've called C<fork> and C<exec>, to determine whether the current call |
6295 | 6882 | to C<exec> should affect the current script or a subprocess (see |
6296 | 6883 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
6297 | 6884 | Perl is making a guess and treating this C<exec> as a request to |
6298 | 6885 | terminate the Perl script and execute the specified command. |
6299 | 6886 | |
6300 | 6887 | =end original |
6301 | 6888 | |
6302 | 6889 | (S) VMS に固有の警告です。 |
6303 | 6890 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
6304 | 6891 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
6305 | 6892 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
6306 | 6893 | 参照してください)。 |
6307 | 6894 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
6308 | 6895 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
6309 | 6896 | 仮定して、そのように扱いました。 |
6310 | 6897 | |
6311 | 6898 | =item internal %<num>p might conflict with future printf extensions |
6312 | 6899 | |
6313 | 6900 | =begin original |
6314 | 6901 | |
6315 | 6902 | (S internal) Perl's internal routine that handles C<printf> and C<sprintf> |
6316 | 6903 | formatting follows a slightly different set of rules when called from |
6317 | 6904 | C or XS code. Specifically, formats consisting of digits followed |
6318 | 6905 | by "p" (e.g., "%7p") are reserved for future use. If you see this |
6319 | 6906 | message, then an XS module tried to call that routine with one such |
6320 | 6907 | reserved format. |
6321 | 6908 | |
6322 | 6909 | =end original |
6323 | 6910 | |
6324 | 6911 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の |
6325 | 6912 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に |
6326 | 6913 | 従います。 |
6327 | 6914 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の |
6328 | 6915 | 使用のために予約されています。 |
6329 | 6916 | このメッセージが表示された場合、XS モジュールはこのような予約された |
6330 | 6917 | フォーマットを使って呼び出そうとしました。 |
6331 | 6918 | |
6332 | 6919 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ |
6333 | 6920 | |
6334 | 6921 | =begin original |
6335 | 6922 | |
6336 | 6923 | (P) Something went badly awry in the regular expression parser. The |
6337 | 6924 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
6338 | 6925 | discovered. |
6339 | 6926 | |
6340 | 6927 | =end original |
6341 | 6928 | |
6342 | 6929 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
6343 | 6930 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
6344 | 6931 | |
6345 | 6932 | =item %s (...) interpreted as function |
6346 | 6933 | |
6347 | 6934 | =begin original |
6348 | 6935 | |
6349 | 6936 | (W syntax) You've run afoul of the rule that says that any list operator |
6350 | 6937 | followed by parentheses turns into a function, with all the list |
6351 | 6938 | operators arguments found inside the parentheses. See |
6352 | 6939 | L<perlop/Terms and List Operators (Leftward)>. |
6353 | 6940 | |
6354 | 6941 | =end original |
6355 | 6942 | |
6356 | 6943 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある |
6357 | 6944 | リスト演算子引数を持つ関数になる、という規則が適用されました。 |
6358 | 6945 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
6359 | 6946 | |
6360 | 6947 | =item In '(?...)', the '(' and '?' must be adjacent in regex; |
6361 | 6948 | marked by S<<-- HERE> in m/%s/ |
6362 | 6949 | |
6363 | 6950 | =begin original |
6364 | 6951 | |
6365 | 6952 | (F) The two-character sequence C<"(?"> in this context in a regular |
6366 | 6953 | expression pattern should be an indivisible token, with nothing |
6367 | 6954 | intervening between the C<"("> and the C<"?">, but you separated them |
6368 | 6955 | with whitespace. |
6369 | 6956 | |
6370 | 6957 | =end original |
6371 | 6958 | |
6372 | 6959 | (F) |
6373 | 6960 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 |
6374 | 6961 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 |
6375 | 6962 | |
6963 | =item In '(*...)', the '(' and '*' must be adjacent in regex; | |
6964 | marked by S<<-- HERE> in m/%s/ | |
6965 | ||
6966 | =begin original | |
6967 | ||
6968 | (F) The two-character sequence C<"(*"> in this context in a regular | |
6969 | expression pattern should be an indivisible token, with nothing | |
6970 | intervening between the C<"("> and the C<"*">, but you separated them. | |
6971 | Fix the pattern and retry. | |
6972 | ||
6973 | =end original | |
6974 | ||
6975 | (F) 正規表現パターンの中のこの文脈での 2 文字並び C<"(*"> は、 | |
6976 | C<"("> と C<"*"> の間に何も入っていない分割されていないトークンである | |
6977 | 必要があります; しかしこれが分割されています。 | |
6978 | パターンを修正してもう一度試してください。 | |
6979 | ||
6376 | 6980 | =item Invalid %s attribute: %s |
6377 | 6981 | |
6378 | 6982 | =begin original |
6379 | 6983 | |
6380 | 6984 | (F) The indicated attribute for a subroutine or variable was not recognized |
6381 | 6985 | by Perl or by a user-supplied handler. See L<attributes>. |
6382 | 6986 | |
6383 | 6987 | =end original |
6384 | 6988 | |
6385 | 6989 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
6386 | 6990 | 認識されませんでした。 |
6387 | 6991 | L<attributes> を参照してください。 |
6388 | 6992 | |
6389 | 6993 | =item Invalid %s attributes: %s |
6390 | 6994 | |
6391 | 6995 | =begin original |
6392 | 6996 | |
6393 | 6997 | (F) The indicated attributes for a subroutine or variable were not |
6394 | 6998 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
6395 | 6999 | |
6396 | 7000 | =end original |
6397 | 7001 | |
6398 | 7002 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
6399 | 7003 | 認識されませんでした。 |
6400 | 7004 | L<attributes> を参照してください。 |
6401 | 7005 | |
6402 | 7006 | =item Invalid character in charnames alias definition; marked by |
6403 | 7007 | S<<-- HERE> in '%s |
6404 | 7008 | |
6405 | 7009 | =begin original |
6406 | 7010 | |
6407 | 7011 | (F) You tried to create a custom alias for a character name, with |
6408 | 7012 | the C<:alias> option to C<use charnames> and the specified character in |
6409 | 7013 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. |
6410 | 7014 | |
6411 | 7015 | =end original |
6412 | 7016 | |
6413 | 7017 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を |
6414 | 7018 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 |
6415 | 7019 | L<charnames/CUSTOM ALIASES> を参照してください。 |
6416 | 7020 | |
6417 | 7021 | =item Invalid \0 character in %s for %s: %s\0%s |
6418 | 7022 | |
6419 | 7023 | =begin original |
6420 | 7024 | |
6421 | 7025 | (W syscalls) Embedded \0 characters in pathnames or other system call |
6422 | 7026 | arguments produce a warning as of 5.20. The parts after the \0 were |
6423 | 7027 | formerly ignored by system calls. |
6424 | 7028 | |
6425 | 7029 | =end original |
6426 | 7030 | |
6427 | 7031 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は |
6428 | 7032 | 5.20 から警告を出力するようになりました。 |
6429 | 7033 | 以前は \0 の後の部分はシステムコールによって無視されていました。 |
6430 | 7034 | |
6431 | 7035 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} |
6432 | 7036 | |
6433 | 7037 | =begin original |
6434 | 7038 | |
6435 | 7039 | (F) Only certain characters are valid for character names. The |
6436 | 7040 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. |
6437 | 7041 | |
6438 | 7042 | =end original |
6439 | 7043 | |
6440 | 7044 | (F) 文字名としては一部の文字のみが正当です。 |
6441 | 7045 | 示されたものは違います。 |
6442 | 7046 | L<charnames/CUSTOM ALIASES> を参照してください。 |
6443 | 7047 | |
6444 | 7048 | =item Invalid conversion in %s: "%s" |
6445 | 7049 | |
6446 | 7050 | =begin original |
6447 | 7051 | |
6448 | 7052 | (W printf) Perl does not understand the given format conversion. See |
6449 | 7053 | L<perlfunc/sprintf>. |
6450 | 7054 | |
6451 | 7055 | =end original |
6452 | 7056 | |
6453 | 7057 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
6454 | 7058 | L<perlfunc/sprintf> を参照してください。 |
6455 | 7059 | |
6456 | 7060 | =item Invalid escape in the specified encoding in regex; marked by |
6457 | 7061 | S<<-- HERE> in m/%s/ |
6458 | 7062 | |
6459 | 7063 | =begin original |
6460 | 7064 | |
6461 | 7065 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 |
6462 | 7066 | didn't correspond to a single character through the conversion |
6463 | 7067 | from the encoding specified by the encoding pragma. |
6464 | 7068 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) |
6465 | 7069 | instead, except within S<C<(?[ ])>>, where it is a fatal error. |
6466 | 7070 | The S<<-- HERE> shows whereabouts in the regular expression the |
6467 | 7071 | escape was discovered. |
6468 | 7072 | |
6469 | 7073 | =end original |
6470 | 7074 | |
6471 | 7075 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 |
6472 | 7076 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 |
6473 | 7077 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; |
6474 | 7078 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 |
6475 | 7079 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 |
6476 | 7080 | |
6477 | 7081 | =item Invalid hexadecimal number in \N{U+...} |
6478 | 7082 | |
6479 | 7083 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by |
6480 | 7084 | S<<-- HERE> in m/%s/ |
6481 | 7085 | |
6482 | 7086 | =begin original |
6483 | 7087 | |
6484 | 7088 | (F) The character constant represented by C<...> is not a valid hexadecimal |
6485 | 7089 | number. Either it is empty, or you tried to use a character other than |
6486 | 7090 | 0 - 9 or A - F, a - f in a hexadecimal number. |
6487 | 7091 | |
6488 | 7092 | =end original |
6489 | 7093 | |
6490 | 7094 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 |
6491 | 7095 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
6492 | 7096 | |
6493 | 7097 | =item Invalid module name %s with -%c option: contains single ':' |
6494 | 7098 | |
6495 | 7099 | =begin original |
6496 | 7100 | |
6497 | 7101 | (F) The module argument to perl's B<-m> and B<-M> command-line options |
6498 | 7102 | cannot contain single colons in the module name, but only in the |
6499 | 7103 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but |
6500 | 7104 | B<-MFoo:Bar=baz> is not. |
6501 | 7105 | |
6502 | 7106 | =end original |
6503 | 7107 | |
6504 | 7108 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 |
6505 | 7109 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが |
6506 | 7110 | できます。 |
6507 | 7111 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は |
6508 | 7112 | そうではありません。 |
6509 | 7113 | |
6510 | 7114 | =item Invalid mro name: '%s' |
6511 | 7115 | |
6512 | 7116 | =begin original |
6513 | 7117 | |
6514 | 7118 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, |
6515 | 7119 | where C<foo> is not a valid method resolution order (MRO). Currently, |
6516 | 7120 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded |
6517 | 7121 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. |
6518 | 7122 | |
6519 | 7123 | =end original |
6520 | 7124 | |
6521 | 7125 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと |
6522 | 7126 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 |
6523 | 7127 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として |
6524 | 7128 | 有効なものは C<dfs> と C<c3> だけです。 |
6525 | 7129 | L<mro> と L<perlmroapi> を参照してください。 |
6526 | 7130 | |
6527 | 7131 | =item Invalid negative number (%s) in chr |
6528 | 7132 | |
6529 | 7133 | =begin original |
6530 | 7134 | |
6531 | 7135 | (W utf8) You passed a negative number to C<chr>. Negative numbers are |
6532 | 7136 | not valid character numbers, so it returns the Unicode replacement |
6533 | 7137 | character (U+FFFD). |
6534 | 7138 | |
6535 | 7139 | =end original |
6536 | 7140 | |
6537 | 7141 | (W utf8) C<chr> に負数を渡しました。 |
6538 | 7142 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 |
6539 | 7143 | |
7144 | =item Invalid number '%s' for -C option. | |
7145 | ||
7146 | =begin original | |
7147 | ||
7148 | (F) You supplied a number to the -C option that either has extra leading | |
7149 | zeroes or overflows perl's unsigned integer representation. | |
7150 | ||
7151 | =end original | |
7152 | ||
7153 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
7154 | オーバーフローするといったような数値を指定しました。 | |
7155 | ||
6540 | 7156 | =item invalid option -D%c, use -D'' to see choices |
6541 | 7157 | |
6542 | 7158 | =begin original |
6543 | 7159 | |
6544 | 7160 | (S debugging) Perl was called with invalid debugger flags. Call perl |
6545 | 7161 | with the B<-D> option with no flags to see the list of acceptable values. |
6546 | 7162 | See also L<perlrun/-Dletters>. |
6547 | 7163 | |
6548 | 7164 | =end original |
6549 | 7165 | |
6550 | 7166 | (F) Perl は不正なデバッガフラグで呼び出されました。 |
6551 | 7167 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて |
6552 | 7168 | perl を呼び出してください。 |
6553 | 7169 | L<< perlrun/B<-D>I<letters> >> も参照してください。 |
6554 | 7170 | |
6555 | 7171 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ |
6556 | 7172 | |
6557 | 7173 | =begin original |
6558 | 7174 | |
6559 | 7175 | (F) The pattern looks like a {min,max} quantifier, but the min or max |
6560 | 7176 | could not be parsed as a valid number - either it has leading zeroes, |
6561 | 7177 | or it represents too big a number to cope with. The S<<-- HERE> shows |
6562 | 7178 | where in the regular expression the problem was discovered. See L<perlre>. |
6563 | 7179 | |
6564 | 7180 | =end original |
6565 | 7181 | |
6566 | 7182 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が |
6567 | 7183 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 |
6568 | 7184 | 数値として扱うには大きすぎます。 |
6569 | 7185 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
6570 | 7186 | L<perlre> を参照してください。 |
6571 | 7187 | |
6572 | 7188 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ |
6573 | 7189 | |
6574 | 7190 | =begin original |
6575 | 7191 | |
6576 | 7192 | (F) The range specified in a character class had a minimum character |
6577 | 7193 | greater than the maximum character. One possibility is that you forgot the |
6578 | 7194 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only |
6579 | 7195 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the |
6580 | 7196 | problem was discovered. See L<perlre>. |
6581 | 7197 | |
6582 | 7198 | =end original |
6583 | 7199 | |
6584 | 7200 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
6585 | 7201 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を |
6586 | 7202 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか |
6587 | 7203 | なりません。 |
6588 | 7204 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
6589 | 7205 | L<perlre> を参照してください。 |
6590 | 7206 | |
6591 | 7207 | =item Invalid range "%s" in transliteration operator |
6592 | 7208 | |
6593 | 7209 | =begin original |
6594 | 7210 | |
6595 | 7211 | (F) The range specified in the tr/// or y/// operator had a minimum |
6596 | 7212 | character greater than the maximum character. See L<perlop>. |
6597 | 7213 | |
6598 | 7214 | =end original |
6599 | 7215 | |
6600 | 7216 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が |
6601 | 7217 | 大きいです。 |
6602 | 7218 | L<perlop> を参照してください。 |
6603 | 7219 | |
7220 | =item Invalid reference to group in regex; marked by S<<-- HERE> in m/%s/ | |
7221 | ||
7222 | =begin original | |
7223 | ||
7224 | (F) The capture group you specified can't possibly exist because the | |
7225 | number you used is not within the legal range of possible values for | |
7226 | this machine. | |
7227 | ||
7228 | =end original | |
7229 | ||
7230 | (F) 指定した捕捉グループはおそらく存在できません; | |
7231 | 使われている数字がこの機械で可能な値の範囲の中でないからです。 | |
7232 | ||
6604 | 7233 | =item Invalid separator character %s in attribute list |
6605 | 7234 | |
6606 | 7235 | =begin original |
6607 | 7236 | |
6608 | 7237 | (F) Something other than a colon or whitespace was seen between the |
6609 | 7238 | elements of an attribute list. If the previous attribute had a |
6610 | 7239 | parenthesised parameter list, perhaps that list was terminated too soon. |
6611 | 7240 | See L<attributes>. |
6612 | 7241 | |
6613 | 7242 | =end original |
6614 | 7243 | |
6615 | 7244 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
6616 | 7245 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
6617 | 7246 | 予定より早く終端されています。 |
6618 | 7247 | L<attributes> を参照してください。 |
6619 | 7248 | |
6620 | 7249 | =item Invalid separator character %s in PerlIO layer specification %s |
6621 | 7250 | |
6622 | 7251 | =begin original |
6623 | 7252 | |
6624 | 7253 | (W layer) When pushing layers onto the Perl I/O system, something other |
6625 | 7254 | than a colon or whitespace was seen between the elements of a layer list. |
6626 | 7255 | If the previous attribute had a parenthesised parameter list, perhaps that |
6627 | 7256 | list was terminated too soon. |
6628 | 7257 | |
6629 | 7258 | =end original |
6630 | 7259 | |
6631 | 7260 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に |
6632 | 7261 | コロンと空白以外のものがありました。 |
6633 | 7262 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
6634 | 7263 | 予定より早く終端されています。 |
6635 | 7264 | |
6636 | 7265 | =item Invalid strict version format (%s) |
6637 | 7266 | |
6638 | 7267 | =begin original |
6639 | 7268 | |
6640 | 7269 | (F) A version number did not meet the "strict" criteria for versions. |
6641 | 7270 | A "strict" version number is a positive decimal number (integer or |
6642 | 7271 | decimal-fraction) without exponentiation or else a dotted-decimal |
6643 | 7272 | v-string with a leading 'v' character and at least three components. |
6644 | 7273 | The parenthesized text indicates which criteria were not met. |
6645 | 7274 | See the L<version> module for more details on allowed version formats. |
6646 | 7275 | |
6647 | 7276 | =end original |
6648 | 7277 | |
6649 | 7278 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 |
6650 | 7279 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 |
6651 | 7280 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも |
6652 | 7281 | 三つの部分からなるものです。 |
6653 | 7282 | かっこで囲まれたテキストは問題の基準を示しています。 |
6654 | 7283 | 許されるバージョンオブジェクトに関するさらなる詳細については |
6655 | 7284 | L<version> モジュールを参照してください。 |
6656 | 7285 | |
6657 | 7286 | =item Invalid type '%s' in %s |
6658 | 7287 | |
6659 | 7288 | =begin original |
6660 | 7289 | |
6661 | 7290 | (F) The given character is not a valid pack or unpack type. |
6662 | 7291 | See L<perlfunc/pack>. |
6663 | 7292 | |
6664 | 7293 | =end original |
6665 | 7294 | |
6666 | 7295 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 |
6667 | 7296 | L<perlfunc/pack> を参照してください。 |
6668 | 7297 | |
6669 | 7298 | =begin original |
6670 | 7299 | |
6671 | 7300 | (W) The given character is not a valid pack or unpack type but used to be |
6672 | 7301 | silently ignored. |
6673 | 7302 | |
6674 | 7303 | =end original |
6675 | 7304 | |
6676 | 7305 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に |
6677 | 7306 | 無視されました。 |
6678 | 7307 | |
6679 | 7308 | =item Invalid version format (%s) |
6680 | 7309 | |
6681 | 7310 | =begin original |
6682 | 7311 | |
6683 | 7312 | (F) A version number did not meet the "lax" criteria for versions. |
6684 | 7313 | A "lax" version number is a positive decimal number (integer or |
6685 | 7314 | decimal-fraction) without exponentiation or else a dotted-decimal |
6686 | 7315 | v-string. If the v-string has fewer than three components, it |
6687 | 7316 | must have a leading 'v' character. Otherwise, the leading 'v' is |
6688 | 7317 | optional. Both decimal and dotted-decimal versions may have a |
6689 | 7318 | trailing "alpha" component separated by an underscore character |
6690 | 7319 | after a fractional or dotted-decimal component. The parenthesized |
6691 | 7320 | text indicates which criteria were not met. See the L<version> module |
6692 | 7321 | for more details on allowed version formats. |
6693 | 7322 | |
6694 | 7323 | =end original |
6695 | 7324 | |
6696 | 7325 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 |
6697 | 7326 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 |
6698 | 7327 | あるいはどっと付き 10 進 v-文字列です。 |
6699 | 7328 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 |
6700 | 7329 | さもなければ、先頭の 'v' はオプションです。 |
6701 | 7330 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 |
6702 | 7331 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 |
6703 | 7332 | かっこで囲まれたテキストは問題の基準を示しています。 |
6704 | 7333 | 許されるバージョンオブジェクトに関するさらなる詳細については |
6705 | 7334 | L<version> モジュールを参照してください。 |
6706 | 7335 | |
6707 | 7336 | =item Invalid version object |
6708 | 7337 | |
6709 | 7338 | =begin original |
6710 | 7339 | |
6711 | 7340 | (F) The internal structure of the version object was invalid. |
6712 | 7341 | Perhaps the internals were modified directly in some way or |
6713 | 7342 | an arbitrary reference was blessed into the "version" class. |
6714 | 7343 | |
6715 | 7344 | =end original |
6716 | 7345 | |
6717 | 7346 | (F) バージョンオブジェクトの内部構造が不正です。 |
6718 | 7347 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが |
6719 | 7348 | "version" クラスとして bless されました。 |
6720 | 7349 | |
7350 | =item Inverting a character class which contains a multi-character | |
7351 | sequence is illegal in regex; marked by <-- HERE in m/%s/ | |
7352 | ||
7353 | =begin original | |
7354 | ||
7355 | (F) You wrote something like | |
7356 | ||
7357 | =end original | |
7358 | ||
7359 | (F) 次のようなものを書きました: | |
7360 | ||
7361 | qr/\P{name=KATAKANA LETTER AINU P}/ | |
7362 | qr/[^\p{name=KATAKANA LETTER AINU P}]/ | |
7363 | ||
7364 | =begin original | |
7365 | ||
7366 | This name actually evaluates to a sequence of two Katakana characters, | |
7367 | not just a single one, and it is illegal to try to take the complement | |
7368 | of a sequence. (Mathematically it would mean any sequence of characters | |
7369 | from 0 to infinity in length that weren't these two in a row, and that | |
7370 | is likely not of any real use.) | |
7371 | ||
7372 | =end original | |
7373 | ||
7374 | この名前は実際には一つではなく二つのカタカナ文字の並びに評価され、 | |
7375 | 並びの反転を取ろうとするのは不正です。 | |
7376 | (数学的には、これはこれら二つが並んでいるもの以外の長さ 0 から無限の | |
7377 | 任意の文字並びを意味しますが、おそらく実際の用途ではないでしょう。) | |
7378 | ||
6721 | 7379 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; |
6722 | 7380 | marked by S<<-- HERE> in m/%s/ |
6723 | 7381 | |
6724 | 7382 | =begin original |
6725 | 7383 | |
6726 | (F) The two-character sequence C<"(*"> in | |
7384 | (F) The two-character sequence C<"(*"> in this context in a regular | |
6727 | ||
7385 | expression pattern should be an indivisible token, with nothing | |
6728 | in | |
7386 | intervening between the C<"("> and the C<"*">, but you separated them. | |
6729 | and the C<"*">, but you separated them. | |
6730 | 7387 | |
6731 | 7388 | =end original |
6732 | 7389 | |
6733 | 7390 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない |
6734 | 7391 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを |
6735 | 7392 | 分割しました。 |
6736 | 7393 | |
6737 | 7394 | =item ioctl is not implemented |
6738 | 7395 | |
6739 | 7396 | =begin original |
6740 | 7397 | |
6741 | 7398 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
6742 | 7399 | strange for a machine that supports C. |
6743 | 7400 | |
6744 | 7401 | =end original |
6745 | 7402 | |
6746 | 7403 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
6747 | 7404 | このマシンでは ioctl() が実装されていないようです。 |
6748 | 7405 | |
6749 | 7406 | =item ioctl() on unopened %s |
6750 | 7407 | |
6751 | 7408 | =begin original |
6752 | 7409 | |
6753 | 7410 | (W unopened) You tried ioctl() on a filehandle that was never opened. |
6754 | 7411 | Check your control flow and number of arguments. |
6755 | 7412 | |
6756 | 7413 | =end original |
6757 | 7414 | |
6758 | 7415 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 |
6759 | 7416 | 制御フローと引数の数をチェックしてください。 |
6760 | 7417 | |
6761 | 7418 | =item IO layers (like '%s') unavailable |
6762 | 7419 | |
6763 | 7420 | =begin original |
6764 | 7421 | |
6765 | 7422 | (F) Your Perl has not been configured to have PerlIO, and therefore |
6766 | 7423 | you cannot use IO layers. To have PerlIO, Perl must be configured |
6767 | 7424 | with 'useperlio'. |
6768 | 7425 | |
6769 | 7426 | =end original |
6770 | 7427 | |
6771 | 7428 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 |
6772 | 7429 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 |
6773 | 7430 | |
6774 | 7431 | =item IO::Socket::atmark not implemented on this architecture |
6775 | 7432 | |
6776 | 7433 | =begin original |
6777 | 7434 | |
6778 | 7435 | (F) Your machine doesn't implement the sockatmark() functionality, |
6779 | 7436 | neither as a system call nor an ioctl call (SIOCATMARK). |
6780 | 7437 | |
6781 | 7438 | =end original |
6782 | 7439 | |
6783 | 7440 | (F) 実行されているマシンでは、システムコールでも |
6784 | 7441 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 |
6785 | 7442 | |
6786 | 7443 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ |
6787 | 7444 | |
6788 | 7445 | =begin original |
6789 | 7446 | |
6790 | 7447 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to |
6791 | 7448 | Perl. The current valid ones are given in |
6792 | 7449 | L<perlrebackslash/\b{}, \b, \B{}, \B>. |
6793 | 7450 | |
6794 | 7451 | =end original |
6795 | 7452 | |
6796 | 7453 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は |
6797 | 7454 | Perl が知らないものでした。 |
6798 | 7455 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 |
6799 | 7456 | |
7457 | =item %s is forbidden - matches null string many times in regex; marked by S<<-- HERE> in | |
7458 | m/%s/ | |
7459 | ||
7460 | =begin original | |
7461 | ||
7462 | (F) The pattern you've specified might cause the regular expression to | |
7463 | infinite loop so it is forbidden. The S<<-- HERE> | |
7464 | shows whereabouts in the regular expression the problem was discovered. | |
7465 | See L<perlre>. | |
7466 | ||
7467 | =end original | |
7468 | ||
7469 | (F) 指定されたパターンは、正規表現が無限ループを引き起こすかもしれないので、 | |
7470 | 禁止されています。 | |
7471 | S<<-- HERE> は問題が発見された正規表現の位置を示します。 | |
7472 | L<perlre> を参照してください。 | |
7473 | ||
7474 | =item %s() isn't allowed on :utf8 handles | |
7475 | ||
7476 | =begin original | |
7477 | ||
7478 | (F) The sysread(), recv(), syswrite() and send() operators are | |
7479 | not allowed on handles that have the C<:utf8> layer, either explicitly, or | |
7480 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
7481 | ||
7482 | =end original | |
7483 | ||
7484 | (F) sysread(), recv(), syswrite() and send() 演算子は、 | |
7485 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
7486 | C<:utf8> 層を持つハンドルに対しては許されません。 | |
7487 | ||
7488 | =begin original | |
7489 | ||
7490 | Previously sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
7491 | ignoring the actual layers. Since sysread() and recv() did no UTF-8 | |
7492 | validation they can end up creating invalidly encoded scalars. | |
7493 | ||
7494 | =end original | |
7495 | ||
7496 | 以前は、sysread() と recv() は現在の所ストリームに対して | |
7497 | C<:utf8> フラグのみを使い、実際の層は無視します。 | |
7498 | sysread() と recv() は UTF-8 の検証を行っていなかったので、 | |
7499 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
7500 | ||
7501 | =begin original | |
7502 | ||
7503 | Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring | |
7504 | any layers. If the flag is set, both wrote the value UTF-8 encoded, even if | |
7505 | the layer is some different encoding, such as the example above. | |
7506 | ||
7507 | =end original | |
7508 | ||
7509 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
7510 | それ以外は全ての層を無視していました。 | |
7511 | フラグがセットされると、例え層が前述の例のように異なった | |
7512 | エンコーディングでも、UTF-8 エンコードされた値を書き込んでいました。 | |
7513 | ||
7514 | =begin original | |
7515 | ||
7516 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
7517 | working only with bytes, but this would result in silently breaking existing | |
7518 | code. | |
7519 | ||
7520 | =end original | |
7521 | ||
7522 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
7523 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
7524 | 壊すことになります。 | |
7525 | ||
6800 | 7526 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ |
6801 | 7527 | |
6802 | 7528 | =begin original |
6803 | 7529 | |
6804 | 7530 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
6805 | 7531 | |
6806 | 7532 | =end original |
6807 | 7533 | |
6808 | (W regexp) (C<S<use re 'strict'>> の | |
7534 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
6809 | 7535 | |
6810 | 7536 | =begin original |
6811 | 7537 | |
6812 | You specified a character that has the given plainer way of writing it, | |
7538 | You specified a character that has the given plainer way of writing it, and | |
6813 | ||
7539 | which is also portable to platforms running with different character sets. | |
6814 | sets. | |
6815 | 7540 | |
6816 | 7541 | =end original |
6817 | 7542 | |
6818 | 7543 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される |
6819 | 7544 | プラットフォーム間で移植性のある文字を指定しました。 |
6820 | 7545 | |
6821 | =item $* is no longer supported | |
7546 | =item $* is no longer supported as of Perl 5.30 | |
6822 | 7547 | |
6823 | 7548 | =begin original |
6824 | 7549 | |
6825 | ( | |
7550 | (F) The special variable C<$*>, deprecated in older perls, was removed in | |
6826 | ||
7551 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. In | |
6827 | 7552 | previous versions of perl the use of C<$*> enabled or disabled multi-line |
6828 | 7553 | matching within a string. |
6829 | 7554 | |
6830 | 7555 | =end original |
6831 | 7556 | |
6832 | ( | |
7557 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は、 | |
6833 | ||
7558 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
6834 | 7559 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または |
6835 | 7560 | 無効にするために使っていました。 |
6836 | 7561 | |
6837 | 7562 | =begin original |
6838 | 7563 | |
6839 | 7564 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp |
6840 | 7565 | modifiers. You can enable C</m> for a lexical scope (even a whole file) |
6841 | 7566 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value |
6842 | 7567 | then all regular expressions behaved as if they were written using C</m>.) |
6843 | 7568 | |
6844 | 7569 | =end original |
6845 | 7570 | |
6846 | 7571 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を |
6847 | 7572 | 使うべきです。 |
6848 | 7573 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を |
6849 | 7574 | 有効にできます。 |
6850 | 7575 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は |
6851 | 7576 | C</m> を使って書かれたかのように振る舞っていました。) |
6852 | 7577 | |
6853 | = | |
7578 | =begin original | |
6854 | 7579 | |
7580 | Use of this variable will be a fatal error in Perl 5.30. | |
7581 | ||
7582 | =end original | |
7583 | ||
7584 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
7585 | ||
7586 | =item $# is no longer supported as of Perl 5.30 | |
7587 | ||
6855 | 7588 | =begin original |
6856 | 7589 | |
6857 | ( | |
7590 | (F) The special variable C<$#>, deprecated in older perls, was removed as of | |
6858 | ||
7591 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. You | |
6859 | 7592 | should use the printf/sprintf functions instead. |
6860 | 7593 | |
6861 | 7594 | =end original |
6862 | 7595 | |
6863 | ( | |
7596 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は、 | |
6864 | ||
7597 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
6865 | 代わりに printf/sprintf 関数を使うべきです。 | |
6866 | 7598 | |
6867 | 7599 | =item '%s' is not a code reference |
6868 | 7600 | |
6869 | 7601 | =begin original |
6870 | 7602 | |
6871 | 7603 | (W overload) The second (fourth, sixth, ...) argument of |
6872 | 7604 | overload::constant needs to be a code reference. Either |
6873 | 7605 | an anonymous subroutine, or a reference to a subroutine. |
6874 | 7606 | |
6875 | 7607 | =end original |
6876 | 7608 | |
6877 | 7609 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は |
6878 | 7610 | コードリファレンスである必要があります。 |
6879 | 7611 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
6880 | 7612 | |
6881 | 7613 | =item '%s' is not an overloadable type |
6882 | 7614 | |
6883 | 7615 | =begin original |
6884 | 7616 | |
6885 | 7617 | (W overload) You tried to overload a constant type the overload package is |
6886 | 7618 | unaware of. |
6887 | 7619 | |
6888 | 7620 | =end original |
6889 | 7621 | |
6890 | 7622 | (W overload) オーバーロードパッケージが知らない定数型を |
6891 | 7623 | オーバーロードしようとしました。 |
6892 | 7624 | |
7625 | =item isa is experimental | |
7626 | ||
7627 | =begin original | |
7628 | ||
7629 | (S experimental::isa) This warning is emitted if you use the (C<isa>) | |
7630 | operator. This operator is currently experimental and its behaviour may | |
7631 | change in future releases of Perl. | |
7632 | ||
7633 | =end original | |
7634 | ||
7635 | (S experimental::isa) この警告は、(C<isa>) 演算子を使うと発生します。 | |
7636 | この演算子は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
7637 | 可能性があります。 | |
7638 | ||
6893 | 7639 | =item -i used with no filenames on the command line, reading from STDIN |
6894 | 7640 | |
6895 | 7641 | =begin original |
6896 | 7642 | |
6897 | 7643 | (S inplace) The C<-i> option was passed on the command line, indicating |
6898 | 7644 | that the script is intended to edit files in place, but no files were |
6899 | 7645 | given. This is usually a mistake, since editing STDIN in place doesn't |
6900 | 7646 | make sense, and can be confusing because it can make perl look like |
6901 | 7647 | it is hanging when it is really just trying to read from STDIN. You |
6902 | 7648 | should either pass a filename to edit, or remove C<-i> from the command |
6903 | line. See L<perlrun> for more details. | |
7649 | line. See L<perlrun|perlrun/-i[extension]> for more details. | |
6904 | 7650 | |
6905 | 7651 | =end original |
6906 | 7652 | |
6907 | 7653 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは |
6908 | 7654 | スクリプトがファイルをその場で編集することを示していますが、ファイルが |
6909 | 7655 | 指定されませんでした。 |
6910 | 7656 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 |
6911 | 7657 | 本当に単に STDIN から読み込もうとしているだけのときに perl が |
6912 | 7658 | ハングしているように見えることがあるので混乱を引き起こします。 |
6913 | 7659 | 編集するファイル名を指定するか、コマンドラインから C<-i> を |
6914 | 7660 | 取り除いてください。 |
6915 | さらなる詳細については L<perlrun> を参照してください。 | |
7661 | さらなる詳細については L<perlrun|perlrun/-i[extension]> を参照してください。 | |
6916 | 7662 | |
6917 | 7663 | =item Junk on end of regexp in regex m/%s/ |
6918 | 7664 | |
6919 | 7665 | =begin original |
6920 | 7666 | |
6921 | 7667 | (P) The regular expression parser is confused. |
6922 | 7668 | |
6923 | 7669 | =end original |
6924 | 7670 | |
6925 | 7671 | (P) 正規表現の構文解析ができなくなりました。 |
6926 | 7672 | |
6927 | =item | |
7673 | =item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/ | |
6928 | 7674 | |
6929 | 7675 | =begin original |
6930 | 7676 | |
6931 | ( | |
7677 | (F) Your regular expression used C<\K> in a lookhead or lookbehind | |
6932 | an | |
7678 | assertion, which isn't permitted. | |
6933 | take the risk of using this feature, simply disable this warning: | |
6934 | 7679 | |
6935 | 7680 | =end original |
6936 | 7681 | |
6937 | ( | |
7682 | (F) Your regular expression used in a | |
6938 | ||
7683 | この正規表現は先読みや後読みの言明の中で C<\K> を使っています; | |
6939 | こ | |
7684 | これは許されていません。 | |
6940 | 7685 | |
6941 | no warnings "experimental::autoderef"; | |
6942 | ||
6943 | 7686 | =item Label not found for "last %s" |
6944 | 7687 | |
6945 | 7688 | =begin original |
6946 | 7689 | |
6947 | 7690 | (F) You named a loop to break out of, but you're not currently in a loop |
6948 | 7691 | of that name, not even if you count where you were called from. See |
6949 | 7692 | L<perlfunc/last>. |
6950 | 7693 | |
6951 | 7694 | =end original |
6952 | 7695 | |
6953 | 7696 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
6954 | 7697 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
6955 | 7698 | L<perlfunc/last> を参照してください。 |
6956 | 7699 | |
6957 | 7700 | =item Label not found for "next %s" |
6958 | 7701 | |
6959 | 7702 | =begin original |
6960 | 7703 | |
6961 | 7704 | (F) You named a loop to continue, but you're not currently in a loop of |
6962 | 7705 | that name, not even if you count where you were called from. See |
6963 | 7706 | L<perlfunc/last>. |
6964 | 7707 | |
6965 | 7708 | =end original |
6966 | 7709 | |
6967 | 7710 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に |
6968 | 7711 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
6969 | 7712 | L<perlfunc/last> を参照してください。 |
6970 | 7713 | |
6971 | 7714 | =item Label not found for "redo %s" |
6972 | 7715 | |
6973 | 7716 | =begin original |
6974 | 7717 | |
6975 | 7718 | (F) You named a loop to restart, but you're not currently in a loop of |
6976 | 7719 | that name, not even if you count where you were called from. See |
6977 | 7720 | L<perlfunc/last>. |
6978 | 7721 | |
6979 | 7722 | =end original |
6980 | 7723 | |
6981 | 7724 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に |
6982 | 7725 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
6983 | 7726 | L<perlfunc/last> を参照してください。 |
6984 | 7727 | |
6985 | 7728 | =item leaving effective %s failed |
6986 | 7729 | |
6987 | 7730 | =begin original |
6988 | 7731 | |
6989 | 7732 | (F) While under the C<use filetest> pragma, switching the real and |
6990 | 7733 | effective uids or gids failed. |
6991 | 7734 | |
6992 | 7735 | =end original |
6993 | 7736 | |
6994 | 7737 | (F) C<use filetest> プラグマを使っている間に、 |
6995 | 7738 | 実と実効の UID や GID の切り替えに失敗しました。 |
6996 | 7739 | |
6997 | 7740 | =item length/code after end of string in unpack |
6998 | 7741 | |
6999 | 7742 | =begin original |
7000 | 7743 | |
7001 | 7744 | (F) While unpacking, the string buffer was already used up when an unpack |
7002 | 7745 | length/code combination tried to obtain more data. This results in |
7003 | 7746 | an undefined value for the length. See L<perlfunc/pack>. |
7004 | 7747 | |
7005 | 7748 | =end original |
7006 | 7749 | |
7007 | 7750 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを |
7008 | 7751 | unpack するときに文字列バッファが既に使い切っていました。 |
7009 | 7752 | これにより、長さが未定義値となります。 |
7010 | 7753 | L<perlfunc/pack> を参照してください。 |
7011 | 7754 | |
7012 | 7755 | =item length() used on %s (did you mean "scalar(%s)"?) |
7013 | 7756 | |
7014 | 7757 | =begin original |
7015 | 7758 | |
7016 | 7759 | (W syntax) You used length() on either an array or a hash when you |
7017 | 7760 | probably wanted a count of the items. |
7018 | 7761 | |
7019 | 7762 | =end original |
7020 | 7763 | |
7021 | 7764 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して |
7022 | 7765 | length() を使いました。 |
7023 | 7766 | |
7024 | 7767 | =begin original |
7025 | 7768 | |
7026 | 7769 | Array size can be obtained by doing: |
7027 | 7770 | |
7028 | 7771 | =end original |
7029 | 7772 | |
7030 | 7773 | 配列の大きさは以下のようにして得られます: |
7031 | 7774 | |
7032 | 7775 | scalar(@array); |
7033 | 7776 | |
7034 | 7777 | =begin original |
7035 | 7778 | |
7036 | 7779 | The number of items in a hash can be obtained by doing: |
7037 | 7780 | |
7038 | 7781 | =end original |
7039 | 7782 | |
7040 | 7783 | ハッシュの要素数は以下のようにして得られます: |
7041 | 7784 | |
7042 | 7785 | scalar(keys %hash); |
7043 | 7786 | |
7044 | 7787 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input |
7045 | 7788 | |
7046 | 7789 | =begin original |
7047 | 7790 | |
7048 | 7791 | (F) An extension is attempting to insert text into the current parse |
7049 | 7792 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that |
7050 | 7793 | couldn't be part of the current input. This is an inherent pitfall |
7051 | 7794 | of the stuffing mechanism, and one of the reasons to avoid it. Where |
7052 | 7795 | it is necessary to stuff, stuffing only plain ASCII is recommended. |
7053 | 7796 | |
7054 | 7797 | =end original |
7055 | 7798 | |
7056 | 7799 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や |
7057 | 7800 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 |
7058 | 7801 | 現在の入力の一部となることができない文字を挿入しようとしました。 |
7059 | 7802 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 |
7060 | 7803 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 |
7061 | 7804 | |
7062 | 7805 | =item Lexing code internal error (%s) |
7063 | 7806 | |
7064 | 7807 | =begin original |
7065 | 7808 | |
7066 | 7809 | (F) Lexing code supplied by an extension violated the lexer's API in a |
7067 | 7810 | detectable way. |
7068 | 7811 | |
7069 | 7812 | =end original |
7070 | 7813 | |
7071 | 7814 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で |
7072 | 7815 | 文法解析器の API に違反しています。 |
7073 | 7816 | |
7074 | 7817 | =item listen() on closed socket %s |
7075 | 7818 | |
7076 | 7819 | =begin original |
7077 | 7820 | |
7078 | 7821 | (W closed) You tried to do a listen on a closed socket. Did you forget |
7079 | 7822 | to check the return value of your socket() call? See |
7080 | 7823 | L<perlfunc/listen>. |
7081 | 7824 | |
7082 | 7825 | =end original |
7083 | 7826 | |
7084 | 7827 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
7085 | 7828 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
7086 | 7829 | L<perlfunc/listen> を参照してください。 |
7087 | 7830 | |
7088 | 7831 | =item List form of piped open not implemented |
7089 | 7832 | |
7090 | 7833 | =begin original |
7091 | 7834 | |
7092 | 7835 | (F) On some platforms, notably Windows, the three-or-more-arguments |
7093 | 7836 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. |
7094 | 7837 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. |
7095 | 7838 | |
7096 | 7839 | =end original |
7097 | 7840 | |
7098 | 7841 | (F) 一部のプラットフォーム、特に Windows では、 |
7099 | 7842 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の |
7100 | 7843 | C<open> ではパイプに対応していません。 |
7101 | 7844 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 |
7102 | 7845 | |
7846 | =item Literal vertical space in [] is illegal except under /x in regex; | |
7847 | marked by S<<-- HERE> in m/%s/ | |
7848 | ||
7849 | =begin original | |
7850 | ||
7851 | (F) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
7852 | ||
7853 | =end original | |
7854 | ||
7855 | (F) (C<S<use re 'strict'>> の下、または C<(?[...])> の中のみ) | |
7856 | ||
7857 | =begin original | |
7858 | ||
7859 | Likely you forgot the C</x> modifier or there was a typo in the pattern. | |
7860 | For example, did you really mean to match a form-feed? If so, all the | |
7861 | ASCII vertical space control characters are representable by escape | |
7862 | sequences which won't present such a jarring appearance as your pattern | |
7863 | does when displayed. | |
7864 | ||
7865 | =end original | |
7866 | ||
7867 | おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。 | |
7868 | 例えば、本当に改ページとマッチングしたかったのですか? | |
7869 | もしそうなら、全ての ASCII の垂直スペース制御文字は、 | |
7870 | パターンを表示したときに不愉快な形で表現されることのない、 | |
7871 | エスケープシーケンスによって表現できます。 | |
7872 | ||
7873 | \r carriage return | |
7874 | \f form feed | |
7875 | \n line feed | |
7876 | \cK vertical tab | |
7877 | ||
7103 | 7878 | =item %s: loadable library and perl binaries are mismatched (got handshake key %p, needed %p) |
7104 | 7879 | |
7105 | 7880 | =begin original |
7106 | 7881 | |
7107 | 7882 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the |
7108 | 7883 | process that was built against a different build of perl than the |
7109 | 7884 | said library was compiled against. Reinstalling the XS module will |
7110 | 7885 | likely fix this error. |
7111 | 7886 | |
7112 | 7887 | =end original |
7113 | 7888 | |
7114 | 7889 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが |
7115 | 7890 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 |
7116 | 7891 | XS モジュールを再インストールすることでおそらくこのエラーは |
7117 | 7892 | 修正されるでしょう。 |
7118 | 7893 | |
7894 | =item Locale '%s' contains (at least) the following characters which | |
7895 | have unexpected meanings: %s The Perl program will use the expected | |
7896 | meanings | |
7897 | ||
7898 | =begin original | |
7899 | ||
7900 | (W locale) You are using the named UTF-8 locale. UTF-8 locales are | |
7901 | expected to have very particular behavior, which most do. This message | |
7902 | arises when perl found some departures from the expectations, and is | |
7903 | notifying you that the expected behavior overrides these differences. | |
7904 | In some cases the differences are caused by the locale definition being | |
7905 | defective, but the most common causes of this warning are when there are | |
7906 | ambiguities and conflicts in following the Standard, and the locale has | |
7907 | chosen an approach that differs from Perl's. | |
7908 | ||
7909 | =end original | |
7910 | ||
7911 | (W locale) 名前付きの UTF-8 ロケールを使っています。 | |
7912 | UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが | |
7913 | 想定されています。 | |
7914 | このメッセージは、perl がこの想定との違いを発見し、その違いを | |
7915 | 想定される振る舞いで上書きしたことを通知するときに発生します。 | |
7916 | 違いはロケール定義に問題があることによる場合もありますが、 | |
7917 | この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、 | |
7918 | ロケールが Perl のものと異なる手法を選んだときです。 | |
7919 | ||
7920 | =begin original | |
7921 | ||
7922 | One of these is because that, contrary to the claims, Unicode is not | |
7923 | completely locale insensitive. Turkish and some related languages | |
7924 | have two types of C<"I"> characters. One is dotted in both upper- and | |
7925 | lowercase, and the other is dotless in both cases. Unicode allows a | |
7926 | locale to use either the Turkish rules, or the rules used in all other | |
7927 | instances, where there is only one type of C<"I">, which is dotless in | |
7928 | the uppercase, and dotted in the lower. The perl core does not (yet) | |
7929 | handle the Turkish case, and this message warns you of that. Instead, | |
7930 | the L<Unicode::Casing> module allows you to mostly implement the Turkish | |
7931 | casing rules. | |
7932 | ||
7933 | =end original | |
7934 | ||
7935 | その一つは、主張に反して、Unicode が完全にロケールに依存しない | |
7936 | 訳ではないからです。 | |
7937 | トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。 | |
7938 | 一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが | |
7939 | ありません。 | |
7940 | Unicode はロケールがトルコ語の規則と、その他全ての場合に | |
7941 | 使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、 | |
7942 | 小文字にはドットがあるもの、のどちらを使うことも許しています。 | |
7943 | perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを | |
7944 | 警告します。 | |
7945 | 代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ | |
7946 | 実装しています。 | |
7947 | ||
7948 | =begin original | |
7949 | ||
7950 | The other common cause is for the characters | |
7951 | ||
7952 | =end original | |
7953 | ||
7954 | その他のよくある原因は次の文字です: | |
7955 | ||
7956 | $ + < = > ^ ` | ~ | |
7957 | ||
7958 | =begin original | |
7959 | ||
7960 | These are probematic. The C standard says that these should be | |
7961 | considered punctuation in the C locale (and the POSIX standard defers to | |
7962 | the C standard), and Unicode is generally considered a superset of | |
7963 | the C locale. But Unicode has added an extra category, "Symbol", and | |
7964 | classifies these particular characters as being symbols. Most UTF-8 | |
7965 | locales have them treated as punctuation, so that L<ispunct(2)> returns | |
7966 | non-zero for them. But a few locales have it return 0. Perl takes | |
7967 | the first approach, not using C<ispunct()> at all (see L<Note [5] in | |
7968 | perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you | |
7969 | are getting Perl's approach, not the locale's. | |
7970 | ||
7971 | =end original | |
7972 | ||
7973 | これらには問題があります。 | |
7974 | C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて | |
7975 | (そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの | |
7976 | 上位集合と考えられています。 | |
7977 | しかし Unicode は、"Symbol" というカテゴリが追加され、 | |
7978 | これはこれらの文字をシンボルとして分類しています。 | |
7979 | ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、 | |
7980 | L<ispunct(2)> はこれらに対して非 0 を返します。 | |
7981 | しかしいくつかのロケールでは 0 を返します。 | |
7982 | Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in | |
7983 | perlrecharclass|perlrecharclass/[5]> 参照)、 | |
7984 | このメッセージはロケールのものではなく Perl の手法をとったことを | |
7985 | 知らせるために発生します。 | |
7986 | ||
7119 | 7987 | =item Locale '%s' may not work well.%s |
7120 | 7988 | |
7121 | 7989 | =begin original |
7122 | 7990 | |
7123 | 7991 | (W locale) You are using the named locale, which is a non-UTF-8 one, and |
7124 | 7992 | which perl has determined is not fully compatible with what it can |
7125 | 7993 | handle. The second C<%s> gives a reason. |
7126 | 7994 | |
7127 | 7995 | =end original |
7128 | 7996 | |
7129 | 7997 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 |
7130 | 7998 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 |
7131 | 7999 | 2 番目の C<%s> に理由があります。 |
7132 | 8000 | |
7133 | 8001 | =begin original |
7134 | 8002 | |
7135 | 8003 | By far the most common reason is that the locale has characters in it |
7136 | 8004 | that are represented by more than one byte. The only such locales that |
7137 | 8005 | Perl can handle are the UTF-8 locales. Most likely the specified locale |
7138 | 8006 | is a non-UTF-8 one for an East Asian language such as Chinese or |
7139 | 8007 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it |
7140 | 8008 | may work in Perl. |
7141 | 8009 | |
7142 | 8010 | =end original |
7143 | 8011 | |
7144 | 8012 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を |
7145 | 8013 | 持っていることです。 |
7146 | 8014 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 |
7147 | 8015 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の |
7148 | 8016 | 非 UTF-8 のものです。 |
7149 | 8017 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 |
7150 | 8018 | |
7151 | 8019 | =begin original |
7152 | 8020 | |
7153 | 8021 | Some essentially obsolete locales that aren't supersets of ASCII, mainly |
7154 | 8022 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have |
7155 | 8023 | problems, depending on what portions of the ASCII character set get |
7156 | 8024 | changed by the locale and are also used by the program. |
7157 | 8025 | The warning message lists the determinable conflicting characters. |
7158 | 8026 | |
7159 | 8027 | =end original |
7160 | 8028 | |
7161 | 8029 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような |
7162 | 8030 | その他の 7 ビットロケールも問題になり得ます; |
7163 | 8031 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで |
7164 | 8032 | 使われるかによります。 |
7165 | 8033 | 警告メッセージは決定できる衝突している文字を一覧表示します。 |
7166 | 8034 | |
7167 | 8035 | =begin original |
7168 | 8036 | |
7169 | 8037 | Note that not all incompatibilities are found. |
7170 | 8038 | |
7171 | 8039 | =end original |
7172 | 8040 | |
7173 | 8041 | 全ての非互換性が発見されるわけではないことに注意してください。 |
7174 | 8042 | |
7175 | 8043 | =begin original |
7176 | 8044 | |
7177 | 8045 | If this happens to you, there's not much you can do except switch to use a |
7178 | 8046 | different locale or use L<Encode> to translate from the locale into |
7179 | 8047 | UTF-8; if that's impracticable, you have been warned that some things |
7180 | 8048 | may break. |
7181 | 8049 | |
7182 | 8050 | =end original |
7183 | 8051 | |
7184 | 8052 | これが起きた場合、異なるロケールを使うように変更するか、 |
7185 | 8053 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に |
7186 | 8054 | できることはあまりありません; もしそれができないなら、 |
7187 | 8055 | あなたは何かが壊れるかもしれないことを警告されました。 |
7188 | 8056 | |
7189 | 8057 | =begin original |
7190 | 8058 | |
7191 | 8059 | This message is output once each time a bad locale is switched into |
7192 | 8060 | within the scope of C<S<use locale>>, or on the first possibly-affected |
7193 | 8061 | operation if the C<S<use locale>> inherits a bad one. It is not raised |
7194 | 8062 | for any operations from the L<POSIX> module. |
7195 | 8063 | |
7196 | 8064 | =end original |
7197 | 8065 | |
7198 | 8066 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった |
7199 | 8067 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は |
7200 | 8068 | 最初の影響があるかもしれない操作の時点で出力されます。 |
7201 | 8069 | これは L<POSIX> モジュールの操作では発生しません。 |
7202 | 8070 | |
7203 | 8071 | =item localtime(%f) failed |
7204 | 8072 | |
7205 | 8073 | =begin original |
7206 | 8074 | |
7207 | 8075 | (W overflow) You called C<localtime> with a number that it could not handle: |
7208 | 8076 | too large, too small, or NaN. The returned value is C<undef>. |
7209 | 8077 | |
7210 | 8078 | =end original |
7211 | 8079 | |
7212 | 8080 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり |
7213 | 8081 | 小さすぎたり NaN だったりです。 |
7214 | 8082 | 返り値は C<undef> です。 |
7215 | 8083 | |
7216 | 8084 | =item localtime(%f) too large |
7217 | 8085 | |
7218 | 8086 | =begin original |
7219 | 8087 | |
7220 | 8088 | (W overflow) You called C<localtime> with a number that was larger |
7221 | 8089 | than it can reliably handle and C<localtime> probably returned the |
7222 | 8090 | wrong date. This warning is also triggered with NaN (the special |
7223 | 8091 | not-a-number value). |
7224 | 8092 | |
7225 | 8093 | =end original |
7226 | 8094 | |
7227 | 8095 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので |
7228 | 8096 | C<localtime> はおそらく間違った日付を返します。 |
7229 | 8097 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
7230 | 8098 | |
7231 | 8099 | =item localtime(%f) too small |
7232 | 8100 | |
7233 | 8101 | =begin original |
7234 | 8102 | |
7235 | 8103 | (W overflow) You called C<localtime> with a number that was smaller |
7236 | 8104 | than it can reliably handle and C<localtime> probably returned the |
7237 | 8105 | wrong date. |
7238 | 8106 | |
7239 | 8107 | =end original |
7240 | 8108 | |
7241 | 8109 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので |
7242 | 8110 | C<localtime> はおそらく間違った日付を返します。 |
7243 | 8111 | |
7244 | 8112 | =item Lookbehind longer than %d not implemented in regex m/%s/ |
7245 | 8113 | |
7246 | 8114 | =begin original |
7247 | 8115 | |
7248 | 8116 | (F) There is currently a limit on the length of string which lookbehind can |
7249 | 8117 | handle. This restriction may be eased in a future release. |
7250 | 8118 | |
7251 | 8119 | =end original |
7252 | 8120 | |
7253 | 8121 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 |
7254 | 8122 | この制限は将来のリリースでは緩和されるでしょう。 |
7255 | 8123 | |
7256 | 8124 | =item Lost precision when %s %f by 1 |
7257 | 8125 | |
7258 | 8126 | =begin original |
7259 | 8127 | |
7260 | 8128 | (W imprecision) The value you attempted to increment or decrement by one |
7261 | 8129 | is too large for the underlying floating point representation to store |
7262 | 8130 | accurately, hence the target of C<++> or C<--> is unchanged. Perl issues this |
7263 | 8131 | warning because it has already switched from integers to floating point |
7264 | 8132 | when values are too large for integers, and now even floating point is |
7265 | 8133 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. |
7266 | 8134 | |
7267 | 8135 | =end original |
7268 | 8136 | |
7269 | 8137 | (W imprecision) インクリメントまたはデクリメントしようとしている値は、 |
7270 | 8138 | 基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎるので、 |
7271 | 8139 | C<++> や C<--> のターゲットは変更されません。 |
7272 | 8140 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に |
7273 | 8141 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 |
7274 | 8142 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 |
7275 | 8143 | |
7276 | 8144 | =item lstat() on filehandle%s |
7277 | 8145 | |
7278 | 8146 | =begin original |
7279 | 8147 | |
7280 | 8148 | (W io) You tried to do an lstat on a filehandle. What did you mean |
7281 | 8149 | by that? lstat() makes sense only on filenames. (Perl did a fstat() |
7282 | 8150 | instead on the filehandle.) |
7283 | 8151 | |
7284 | 8152 | =end original |
7285 | 8153 | |
7286 | 8154 | (W io) ファイルハンドルに lstat を実行しようとしました。 |
7287 | 8155 | これで何をしようとしたのですか? |
7288 | 8156 | lstat() はファイル名に対してのみ意味があります。 |
7289 | 8157 | (Perl はファイルハンドルには代わりに fstat() を行いました。) |
7290 | 8158 | |
7291 | 8159 | =item lvalue attribute %s already-defined subroutine |
7292 | 8160 | |
7293 | 8161 | =begin original |
7294 | 8162 | |
7295 | 8163 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue |
7296 | 8164 | attribute on or off on a Perl subroutine that is already defined |
7297 | 8165 | does not always work properly. It may or may not do what you |
7298 | 8166 | want, depending on what code is inside the subroutine, with exact |
7299 | 8167 | details subject to change between Perl versions. Only do this |
7300 | 8168 | if you really know what you are doing. |
7301 | 8169 | |
7302 | 8170 | =end original |
7303 | 8171 | |
7304 | 8172 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に |
7305 | 8173 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは |
7306 | 8174 | 常に適切に動作するわけではありません。 |
7307 | 8175 | あなたの望むことが行われるかもしれませんし行われないかもしれません; |
7308 | 8176 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は |
7309 | 8177 | Perl バージョン間で変更されることがあります。 |
7310 | 8178 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 |
7311 | 8179 | |
7312 | 8180 | =item lvalue attribute ignored after the subroutine has been defined |
7313 | 8181 | |
7314 | 8182 | =begin original |
7315 | 8183 | |
7316 | 8184 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl |
7317 | 8185 | subroutine an lvalue subroutine after it has been defined is |
7318 | 8186 | not permitted. To make the subroutine an lvalue subroutine, |
7319 | 8187 | add the lvalue attribute to the definition, or put the C<sub |
7320 | 8188 | foo :lvalue;> declaration before the definition. |
7321 | 8189 | |
7322 | 8190 | =end original |
7323 | 8191 | |
7324 | 8192 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに |
7325 | 8193 | するために C<:lvalue> 宣言文を使うことはできません。 |
7326 | 8194 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 |
7327 | 8195 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 |
7328 | 8196 | |
7329 | 8197 | =begin original |
7330 | 8198 | |
7331 | 8199 | See also L<attributes.pm|attributes>. |
7332 | 8200 | |
7333 | 8201 | =end original |
7334 | 8202 | |
7335 | 8203 | L<attributes.pm|attributes> も参照してください。 |
7336 | 8204 | |
7337 | 8205 | =item Magical list constants are not supported |
7338 | 8206 | |
7339 | 8207 | =begin original |
7340 | 8208 | |
7341 | 8209 | (F) You assigned a magical array to a stash element, and then tried |
7342 | 8210 | to use the subroutine from the same slot. You are asking Perl to do |
7343 | 8211 | something it cannot do, details subject to change between Perl versions. |
7344 | 8212 | |
7345 | 8213 | =end original |
7346 | 8214 | |
7347 | 8215 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから |
7348 | 8216 | サブルーチンを使おうとしました。 |
7349 | 8217 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを |
7350 | 8218 | Perl にさせようとしました。 |
7351 | 8219 | |
7352 | 8220 | =item Malformed integer in [] in pack |
7353 | 8221 | |
7354 | 8222 | =begin original |
7355 | 8223 | |
7356 | 8224 | (F) Between the brackets enclosing a numeric repeat count only digits |
7357 | 8225 | are permitted. See L<perlfunc/pack>. |
7358 | 8226 | |
7359 | 8227 | =end original |
7360 | 8228 | |
7361 | 8229 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
7362 | 8230 | L<perlfunc/pack> を参照してください。 |
7363 | 8231 | |
7364 | 8232 | =item Malformed integer in [] in unpack |
7365 | 8233 | |
7366 | 8234 | =begin original |
7367 | 8235 | |
7368 | 8236 | (F) Between the brackets enclosing a numeric repeat count only digits |
7369 | 8237 | are permitted. See L<perlfunc/pack>. |
7370 | 8238 | |
7371 | 8239 | =end original |
7372 | 8240 | |
7373 | 8241 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
7374 | 8242 | L<perlfunc/pack> を参照してください。 |
7375 | 8243 | |
7376 | 8244 | =item Malformed PERLLIB_PREFIX |
7377 | 8245 | |
7378 | 8246 | =begin original |
7379 | 8247 | |
7380 | 8248 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
7381 | 8249 | |
7382 | 8250 | =end original |
7383 | 8251 | |
7384 | 8252 | (F) OS/2 固有のエラーです。 |
7385 | 8253 | PERLLIB_PREFIX は以下のような形か: |
7386 | 8254 | |
7387 | 8255 | prefix1;prefix2 |
7388 | 8256 | |
7389 | 8257 | =begin original |
7390 | 8258 | |
7391 | 8259 | or |
7392 | 8260 | prefix1 prefix2 |
7393 | 8261 | |
7394 | 8262 | =end original |
7395 | 8263 | |
7396 | 8264 | または |
7397 | 8265 | prefix1 prefix2 |
7398 | 8266 | |
7399 | 8267 | =begin original |
7400 | 8268 | |
7401 | 8269 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
7402 | 8270 | a builtin library search path, prefix2 is substituted. The error may |
7403 | 8271 | appear if components are not found, or are too long. See |
7404 | 8272 | "PERLLIB_PREFIX" in L<perlos2>. |
7405 | 8273 | |
7406 | 8274 | =end original |
7407 | 8275 | |
7408 | 8276 | prefix1 と prefix2 が空でない形である必要があります。 |
7409 | 8277 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
7410 | 8278 | prefix2 は置き換えられます。 |
7411 | 8279 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
7412 | 8280 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
7413 | 8281 | |
7414 | 8282 | =item Malformed prototype for %s: %s |
7415 | 8283 | |
7416 | 8284 | =begin original |
7417 | 8285 | |
7418 | 8286 | (F) You tried to use a function with a malformed prototype. The |
7419 | 8287 | syntax of function prototypes is given a brief compile-time check for |
7420 | 8288 | obvious errors like invalid characters. A more rigorous check is run |
7421 | 8289 | when the function is called. |
7422 | 8290 | Perhaps the function's author was trying to write a subroutine signature |
7423 | 8291 | but didn't enable that feature first (C<use feature 'signatures'>), |
7424 | 8292 | so the signature was instead interpreted as a bad prototype. |
7425 | 8293 | |
7426 | 8294 | =end original |
7427 | 8295 | |
7428 | 8296 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 |
7429 | 8297 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては |
7430 | 8298 | コンパイル時にチェックされます。 |
7431 | 8299 | より厳密なチェックは、関数が呼び出された時に実行されます。 |
7432 | 8300 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 |
7433 | 8301 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 |
7434 | 8302 | シグネチャは間違ったプロトタイプとして解釈されました。 |
7435 | 8303 | |
7436 | =item Malformed UTF-8 character | |
8304 | =item Malformed UTF-8 character%s | |
7437 | 8305 | |
7438 | 8306 | =begin original |
7439 | 8307 | |
7440 | (S utf8)(F) Perl detected a string that | |
8308 | (S utf8)(F) Perl detected a string that should be UTF-8, but didn't | |
7441 | encoding rules, e | |
8309 | comply with UTF-8 encoding rules, or represents a code point whose | |
8310 | ordinal integer value doesn't fit into the word size of the current | |
8311 | platform (overflows). Details as to the exact malformation are given in | |
8312 | the variable, C<%s>, part of the message. | |
7442 | 8313 | |
7443 | 8314 | =end original |
7444 | 8315 | |
7445 | (S utf8)(F) Perl が、UTF | |
8316 | (S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、 | |
7446 | ||
8317 | UTF-8 エンコーディング規則に従わない、 | |
8318 | あるいは序数が現在のプラットフォームのワードサイズに収まらない | |
8319 | (オーバーフローする)符号位置を表現する文字列を検出しました。 | |
8320 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 | |
7447 | 8321 | |
7448 | 8322 | =begin original |
7449 | 8323 | |
7450 | 8324 | One possible cause is that you set the UTF8 flag yourself for data that |
7451 | you thought to be in UTF-8 but it wasn't (it was for example legacy | |
8325 | you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit | |
7452 | ||
8326 | data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
7453 | 8327 | |
7454 | 8328 | =end original |
7455 | 8329 | |
7456 | 8330 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ |
7457 | 8331 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした |
7458 | 8332 | ことです。 |
7459 | これから守るためには、Encode::decode | |
8333 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 | |
7460 | 8334 | |
7461 | 8335 | =begin original |
7462 | 8336 | |
7463 | 8337 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte |
7464 | sequences are handled gracefully, but if you use C<:utf8>, the flag is | |
8338 | sequences are handled gracefully, but if you use C<:utf8>, the flag is set | |
7465 | ||
8339 | without validating the data, possibly resulting in this error message. | |
7466 | message. | |
7467 | 8340 | |
7468 | 8341 | =end original |
7469 | 8342 | |
7470 | 8343 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは |
7471 | 8344 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 |
7472 | 8345 | おそらく結果としてこのエラーメッセージが出力されます。 |
7473 | 8346 | |
7474 | 8347 | =begin original |
7475 | 8348 | |
7476 | 8349 | See also L<Encode/"Handling Malformed Data">. |
7477 | 8350 | |
7478 | 8351 | =end original |
7479 | 8352 | |
7480 | 8353 | L<Encode/"Handling Malformed Data"> も参照してください。 |
7481 | 8354 | |
7482 | =item Malformed UTF-8 | |
8355 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
7483 | 8356 | |
7484 | 8357 | =begin original |
7485 | 8358 | |
7486 | (F) | |
8359 | (F) The charnames handler returned malformed UTF-8. | |
7487 | encoding rules. The message prints out the properly encoded characters | |
7488 | just before the first bad one. If C<utf8> warnings are enabled, a | |
7489 | warning is generated that gives more details about the type of | |
7490 | malformation. | |
7491 | 8360 | |
7492 | 8361 | =end original |
7493 | 8362 | |
7494 | (F) | |
8363 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
7495 | 規則に従っていません。 | |
7496 | このメッセージは最初の間違った文字の直前の正しくエンコードされた文字を | |
7497 | 表示します。 | |
7498 | C<utf8> 警告が有効なら、不正の種類に関するさらなる詳細が出力されます。 | |
7499 | 8364 | |
7500 | =item Malformed UTF-8 | |
8365 | =item Malformed UTF-8 string in "%s" | |
7501 | 8366 | |
7502 | 8367 | =begin original |
7503 | 8368 | |
7504 | (F) Th | |
8369 | (F) This message indicates a bug either in the Perl core or in XS | |
8370 | code. Such code was trying to find out if a character, allegedly | |
8371 | stored internally encoded as UTF-8, was of a given type, such as | |
8372 | being punctuation or a digit. But the character was not encoded | |
8373 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
8374 | by knowledgeable people to determine what the type being checked | |
8375 | against was. | |
7505 | 8376 | |
7506 | 8377 | =end original |
7507 | 8378 | |
7508 | (F) | |
8379 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
8380 | 示しています。 | |
8381 | そのコードは、UTF-8 として内部でエンコードされて | |
8382 | 保管されているということになっているある文字が、 | |
8383 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
8384 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
8385 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
8386 | 決めるために使われる文字列で置き換えられます。 | |
7509 | 8387 | |
8388 | =begin original | |
8389 | ||
8390 | Passing malformed strings was deprecated in Perl 5.18, and | |
8391 | became fatal in Perl 5.26. | |
8392 | ||
8393 | =end original | |
8394 | ||
8395 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
8396 | Perl 5.26 で致命的エラーになりました。 | |
8397 | ||
7510 | 8398 | =item Malformed UTF-8 string in '%c' format in unpack |
7511 | 8399 | |
7512 | 8400 | =begin original |
7513 | 8401 | |
7514 | 8402 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
7515 | 8403 | rules and perl was unable to guess how to make more progress. |
7516 | 8404 | |
7517 | 8405 | =end original |
7518 | 8406 | |
7519 | 8407 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
7520 | 8408 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
7521 | 8409 | |
7522 | 8410 | =item Malformed UTF-8 string in pack |
7523 | 8411 | |
7524 | 8412 | =begin original |
7525 | 8413 | |
7526 | 8414 | (F) You tried to pack something that didn't comply with UTF-8 encoding |
7527 | 8415 | rules and perl was unable to guess how to make more progress. |
7528 | 8416 | |
7529 | 8417 | =end original |
7530 | 8418 | |
7531 | 8419 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 |
7532 | 8420 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
7533 | 8421 | |
7534 | 8422 | =item Malformed UTF-8 string in unpack |
7535 | 8423 | |
7536 | 8424 | =begin original |
7537 | 8425 | |
7538 | 8426 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
7539 | 8427 | rules and perl was unable to guess how to make more progress. |
7540 | 8428 | |
7541 | 8429 | =end original |
7542 | 8430 | |
7543 | 8431 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
7544 | 8432 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
7545 | 8433 | |
7546 | 8434 | =item Malformed UTF-16 surrogate |
7547 | 8435 | |
7548 | 8436 | =begin original |
7549 | 8437 | |
7550 | 8438 | (F) Perl thought it was reading UTF-16 encoded character data but while |
7551 | 8439 | doing it Perl met a malformed Unicode surrogate. |
7552 | 8440 | |
7553 | 8441 | =end original |
7554 | 8442 | |
7555 | 8443 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 |
7556 | 8444 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
7557 | 8445 | |
7558 | 8446 | =item Mandatory parameter follows optional parameter |
7559 | 8447 | |
7560 | 8448 | =begin original |
7561 | 8449 | |
7562 | 8450 | (F) In a subroutine signature, you wrote something like "$a = undef, |
7563 | 8451 | $b", making an earlier parameter optional and a later one mandatory. |
7564 | 8452 | Parameters are filled from left to right, so it's impossible for the |
7565 | 8453 | caller to omit an earlier one and pass a later one. If you want to act |
7566 | 8454 | as if the parameters are filled from right to left, declare the rightmost |
7567 | 8455 | optional and then shuffle the parameters around in the subroutine's body. |
7568 | 8456 | |
7569 | 8457 | =end original |
7570 | 8458 | |
7571 | 8459 | (F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が |
7572 | 8460 | オプションで後の引数が必須のようなものを書きました。 |
7573 | 8461 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに |
7574 | 8462 | 渡すことは不可能です。 |
7575 | 8463 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を |
7576 | 8464 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 |
7577 | 8465 | |
7578 | 8466 | =item Matched non-Unicode code point 0x%X against Unicode property; may |
7579 | 8467 | not be portable |
7580 | 8468 | |
7581 | 8469 | =begin original |
7582 | 8470 | |
7583 | 8471 | (S non_unicode) Perl allows strings to contain a superset of |
7584 | 8472 | Unicode code points; each code point may be as large as what is storable |
7585 | in a | |
8473 | in a signed integer on your system, but these may not be accepted by | |
7586 | 8474 | other languages/systems. This message occurs when you matched a string |
7587 | 8475 | containing such a code point against a regular expression pattern, and |
7588 | 8476 | the code point was matched against a Unicode property, C<\p{...}> or |
7589 | 8477 | C<\P{...}>. Unicode properties are only defined on Unicode code points, |
7590 | 8478 | so the result of this match is undefined by Unicode, but Perl (starting |
7591 | 8479 | in v5.20) treats non-Unicode code points as if they were typical |
7592 | 8480 | unassigned Unicode ones, and matched this one accordingly. Whether a |
7593 | 8481 | given property matches these code points or not is specified in |
7594 | 8482 | L<perluniprops/Properties accessible through \p{} and \P{}>. |
7595 | 8483 | |
7596 | 8484 | =end original |
7597 | 8485 | |
7598 | 8486 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を |
7599 | 含むことができます; それぞれの符号位置はシステムの符号 | |
8487 | 含むことができます; それぞれの符号位置はシステムの符号付き整数に | |
7600 | 8488 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは |
7601 | 8489 | 受け付けられないかも知れません。 |
7602 | 8490 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで |
7603 | 8491 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と |
7604 | 8492 | マッチングしたときに発生します。 |
7605 | 8493 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 |
7606 | 8494 | Unicode によればこのマッチングの結果は未定義ですが、 |
7607 | 8495 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て |
7608 | 8496 | Unicode 符号位置として扱い、それぞれマッチングします。 |
7609 | 8497 | 指定された特性がこれらの符号位置にマッチングするかどうかは |
7610 | 8498 | L<perluniprops/Properties accessible through \p{} and \P{}> で |
7611 | 8499 | 指定されています。 |
7612 | 8500 | |
7613 | 8501 | =begin original |
7614 | 8502 | |
7615 | 8503 | This message is suppressed (unless it has been made fatal) if it is |
7616 | 8504 | immaterial to the results of the match if the code point is Unicode or |
7617 | 8505 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match |
7618 | 8506 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, |
7619 | 8507 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match |
7620 | 8508 | every code point except these 22.) |
7621 | 8509 | |
7622 | 8510 | =end original |
7623 | 8511 | |
7624 | 8512 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない |
7625 | 8513 | 場合は、(致命的にしていない限り)抑制されます。 |
7626 | 8514 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに |
7627 | 8515 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 |
7628 | 8516 | マッチングしません。 |
7629 | 8517 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に |
7630 | 8518 | マッチングします。) |
7631 | 8519 | |
7632 | 8520 | =begin original |
7633 | 8521 | |
7634 | 8522 | Getting this message indicates that the outcome of the match arguably |
7635 | 8523 | should have been the opposite of what actually happened. If you think |
7636 | 8524 | that is the case, you may wish to make the C<non_unicode> warnings |
7637 | 8525 | category fatal; if you agree with Perl's decision, you may wish to turn |
7638 | 8526 | off this category. |
7639 | 8527 | |
7640 | 8528 | =end original |
7641 | 8529 | |
7642 | 8530 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と |
7643 | 8531 | 逆になっているはずだということを示しています。 |
7644 | 8532 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを |
7645 | 8533 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを |
7646 | 8534 | オフにした方がよいでしょう。 |
7647 | 8535 | |
7648 | 8536 | =begin original |
7649 | 8537 | |
7650 | 8538 | See L<perlunicode/Beyond Unicode code points> for more information. |
7651 | 8539 | |
7652 | 8540 | =end original |
7653 | 8541 | |
7654 | 8542 | さらなる情報については L<perlunicode/Beyond Unicode code points> を |
7655 | 8543 | 参照してください。 |
7656 | 8544 | |
7657 | 8545 | =item %s matches null string many times in regex; marked by S<<-- HERE> in |
7658 | 8546 | m/%s/ |
7659 | 8547 | |
7660 | 8548 | =begin original |
7661 | 8549 | |
7662 | 8550 | (W regexp) The pattern you've specified would be an infinite loop if the |
7663 | 8551 | regular expression engine didn't specifically check for that. The S<<-- HERE> |
7664 | 8552 | shows whereabouts in the regular expression the problem was discovered. |
7665 | 8553 | See L<perlre>. |
7666 | 8554 | |
7667 | 8555 | =end original |
7668 | 8556 | |
7669 | 8557 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
7670 | 8558 | 行なっていなければ、無限ループに陥るものです。 |
7671 | 8559 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
7672 | 8560 | L<perlre> を参照してください。 |
7673 | 8561 | |
7674 | 8562 | =item Maximal count of pending signals (%u) exceeded |
7675 | 8563 | |
7676 | 8564 | =begin original |
7677 | 8565 | |
7678 | 8566 | (F) Perl aborted due to too high a number of signals pending. This |
7679 | 8567 | usually indicates that your operating system tried to deliver signals |
7680 | 8568 | too fast (with a very high priority), starving the perl process from |
7681 | 8569 | resources it would need to reach a point where it can process signals |
7682 | 8570 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) |
7683 | 8571 | |
7684 | 8572 | =end original |
7685 | 8573 | |
7686 | 8574 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 |
7687 | 8575 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 |
7688 | 8576 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な |
7689 | 8577 | リソースが不足したことを示しています。 |
7690 | 8578 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) |
7691 | 8579 | |
7692 | 8580 | =item "%s" may clash with future reserved word |
7693 | 8581 | |
7694 | 8582 | =begin original |
7695 | 8583 | |
7696 | 8584 | (W) This warning may be due to running a perl5 script through a perl4 |
7697 | 8585 | interpreter, especially if the word that is being warned about is |
7698 | 8586 | "use" or "my". |
7699 | 8587 | |
7700 | 8588 | =end original |
7701 | 8589 | |
7702 | 8590 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした |
7703 | 8591 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は |
7704 | 8592 | そうです。 |
7705 | 8593 | |
7706 | 8594 | =item '%' may not be used in pack |
7707 | 8595 | |
7708 | 8596 | =begin original |
7709 | 8597 | |
7710 | 8598 | (F) You can't pack a string by supplying a checksum, because the |
7711 | 8599 | checksumming process loses information, and you can't go the other way. |
7712 | 8600 | See L<perlfunc/unpack>. |
7713 | 8601 | |
7714 | 8602 | =end original |
7715 | 8603 | |
7716 | 8604 | (F) チェックサムを指定して pack を行なうことはできません; |
7717 | 8605 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
7718 | 8606 | L<perlfunc/unpack> を参照してください。 |
7719 | 8607 | |
7720 | 8608 | =item Method for operation %s not found in package %s during blessing |
7721 | 8609 | |
7722 | 8610 | =begin original |
7723 | 8611 | |
7724 | 8612 | (F) An attempt was made to specify an entry in an overloading table that |
7725 | 8613 | doesn't resolve to a valid subroutine. See L<overload>. |
7726 | 8614 | |
7727 | 8615 | =end original |
7728 | 8616 | |
7729 | 8617 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
7730 | 8618 | エントリを指定しようとしました。 |
7731 | 8619 | L<overload> を参照してください。 |
7732 | 8620 | |
7733 | 8621 | =item Method %s not permitted |
7734 | 8622 | |
7735 | 8623 | =begin original |
7736 | 8624 | |
7737 | See Server error. | |
8625 | See L</500 Server error>. | |
7738 | 8626 | |
7739 | 8627 | =end original |
7740 | 8628 | |
7741 | ||
8629 | L</500 Server error> を参照してください。 | |
7742 | 8630 | |
7743 | 8631 | =item Might be a runaway multi-line %s string starting on line %d |
7744 | 8632 | |
7745 | 8633 | =begin original |
7746 | 8634 | |
7747 | 8635 | (S) An advisory indicating that the previous error may have been caused |
7748 | 8636 | by a missing delimiter on a string or pattern, because it eventually |
7749 | 8637 | ended earlier on the current line. |
7750 | 8638 | |
7751 | 8639 | =end original |
7752 | 8640 | |
7753 | 8641 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
7754 | 8642 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
7755 | 8643 | 起ったかもしれないことを、補足的に示しています。 |
7756 | 8644 | |
7757 | 8645 | =item Misplaced _ in number |
7758 | 8646 | |
7759 | 8647 | =begin original |
7760 | 8648 | |
7761 | 8649 | (W syntax) An underscore (underbar) in a numeric constant did not |
7762 | 8650 | separate two digits. |
7763 | 8651 | |
7764 | 8652 | =end original |
7765 | 8653 | |
7766 | 8654 | (W syntax) 数値定数の下線が、二つの値を分離していません。 |
7767 | 8655 | |
8656 | =item Missing argument for %n in %s | |
8657 | ||
8658 | =begin original | |
8659 | ||
8660 | (F) A C<%n> was used in a format string with no corresponding argument for | |
8661 | perl to write the current string length to. | |
8662 | ||
8663 | =end original | |
8664 | ||
8665 | (F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を | |
8666 | 書くための対応する引数がありません。 | |
8667 | ||
7768 | 8668 | =item Missing argument in %s |
7769 | 8669 | |
7770 | 8670 | =begin original |
7771 | 8671 | |
7772 | 8672 | (W missing) You called a function with fewer arguments than other |
7773 | 8673 | arguments you supplied indicated would be needed. |
7774 | 8674 | |
7775 | 8675 | =end original |
7776 | 8676 | |
7777 | 8677 | (W missing) 他で指定した引数によって必要であると示されているよりも |
7778 | 8678 | 少ない引数で関数を呼び出しました。 |
7779 | 8679 | |
7780 | 8680 | =begin original |
7781 | 8681 | |
7782 | 8682 | Currently only emitted when a printf-type format required more |
7783 | 8683 | arguments than were supplied, but might be used in the future for |
7784 | 8684 | other cases where we can statically determine that arguments to |
7785 | 8685 | functions are missing, e.g. for the L<perlfunc/pack> function. |
7786 | 8686 | |
7787 | 8687 | =end original |
7788 | 8688 | |
7789 | 8689 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を |
7790 | 8690 | 要求した場合にのみ発生しますが、 |
7791 | 8691 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる |
7792 | 8692 | その他の場合に使われるかもしれません。 |
7793 | 8693 | |
7794 | 8694 | =item Missing argument to -%c |
7795 | 8695 | |
7796 | 8696 | =begin original |
7797 | 8697 | |
7798 | 8698 | (F) The argument to the indicated command line switch must follow |
7799 | 8699 | immediately after the switch, without intervening spaces. |
7800 | 8700 | |
7801 | 8701 | =end original |
7802 | 8702 | |
7803 | 8703 | (F) 示されたコマンドラインスイッチの引数は、 |
7804 | 8704 | スイッチの直後にスペースを空けないで書く必要があります。 |
7805 | 8705 | |
7806 | 8706 | =item Missing braces on \N{} |
7807 | 8707 | |
7808 | 8708 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ |
7809 | 8709 | |
7810 | 8710 | =begin original |
7811 | 8711 | |
7812 | 8712 | (F) Wrong syntax of character name literal C<\N{charname}> within |
7813 | 8713 | double-quotish context. This can also happen when there is a space |
7814 | 8714 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. |
7815 | 8715 | This modifier does not change the requirement that the brace immediately |
7816 | 8716 | follow the C<\N>. |
7817 | 8717 | |
7818 | 8718 | =end original |
7819 | 8719 | |
7820 | 8720 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
7821 | 8721 | 文法が間違っています。 |
7822 | 8722 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または |
7823 | 8723 | コメント)がある場合にも起こります。 |
7824 | 8724 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 |
7825 | 8725 | |
7826 | 8726 | =item Missing braces on \o{} |
7827 | 8727 | |
7828 | 8728 | =begin original |
7829 | 8729 | |
7830 | 8730 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. |
7831 | 8731 | |
7832 | 8732 | =end original |
7833 | 8733 | |
7834 | 8734 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が |
7835 | 8735 | 引き続かなければなりません。 |
7836 | 8736 | |
7837 | 8737 | =item Missing comma after first argument to %s function |
7838 | 8738 | |
7839 | 8739 | =begin original |
7840 | 8740 | |
7841 | 8741 | (F) While certain functions allow you to specify a filehandle or an |
7842 | 8742 | "indirect object" before the argument list, this ain't one of them. |
7843 | 8743 | |
7844 | 8744 | =end original |
7845 | 8745 | |
7846 | 8746 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
7847 | 8747 | 「間接オブジェクト」をおくことができますが、この関数は、 |
7848 | 8748 | そういったものではありません。 |
7849 | 8749 | |
7850 | 8750 | =item Missing command in piped open |
7851 | 8751 | |
7852 | 8752 | =begin original |
7853 | 8753 | |
7854 | 8754 | (W pipe) You used the C<open(FH, "| command")> or |
7855 | 8755 | C<open(FH, "command |")> construction, but the command was missing or |
7856 | 8756 | blank. |
7857 | 8757 | |
7858 | 8758 | =end original |
7859 | 8759 | |
7860 | 8760 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
7861 | 8761 | 使っていますが、コマンドが指定されていないか空白です。 |
7862 | 8762 | |
7863 | 8763 | =item Missing control char name in \c |
7864 | 8764 | |
7865 | 8765 | =begin original |
7866 | 8766 | |
7867 | 8767 | (F) A double-quoted string ended with "\c", without the required control |
7868 | 8768 | character name. |
7869 | 8769 | |
7870 | 8770 | =end original |
7871 | 8771 | |
7872 | 8772 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が |
7873 | 8773 | 必要です。 |
7874 | 8774 | |
7875 | 8775 | =item Missing ']' in prototype for %s : %s |
7876 | 8776 | |
7877 | 8777 | =begin original |
7878 | 8778 | |
7879 | 8779 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. |
7880 | 8780 | |
7881 | 8781 | =end original |
7882 | 8782 | |
7883 | 8783 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で |
7884 | 8784 | 閉じられませんでした。 |
7885 | 8785 | |
7886 | 8786 | =item Missing name in "%s sub" |
7887 | 8787 | |
7888 | 8788 | =begin original |
7889 | 8789 | |
7890 | 8790 | (F) The syntax for lexically scoped subroutines requires that |
7891 | 8791 | they have a name with which they can be found. |
7892 | 8792 | |
7893 | 8793 | =end original |
7894 | 8794 | |
7895 | 8795 | (F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。 |
7896 | 8796 | |
7897 | 8797 | =item Missing $ on loop variable |
7898 | 8798 | |
7899 | 8799 | =begin original |
7900 | 8800 | |
7901 | 8801 | (F) Apparently you've been programming in B<csh> too much. Variables |
7902 | 8802 | are always mentioned with the $ in Perl, unlike in the shells, where it |
7903 | 8803 | can vary from one line to the next. |
7904 | 8804 | |
7905 | 8805 | =end original |
7906 | 8806 | |
7907 | 8807 | (F) B<csh> を使いすぎた症状が現れているようです。 |
7908 | 8808 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは |
7909 | 8809 | 違っています。 |
7910 | 8810 | |
7911 | 8811 | =item (Missing operator before %s?) |
7912 | 8812 | |
7913 | 8813 | =begin original |
7914 | 8814 | |
7915 | 8815 | (S syntax) This is an educated guess made in conjunction with the message |
7916 | 8816 | "%s found where operator expected". Often the missing operator is a comma. |
7917 | 8817 | |
7918 | 8818 | =end original |
7919 | 8819 | |
7920 | 8820 | (S syntax) これは "%s found where operator expected" メッセージと共に |
7921 | 8821 | 表示される教育的な推測です。 |
7922 | 8822 | しばしば不足している演算子はカンマです。 |
7923 | 8823 | |
7924 | =item Missing or undefined argument to | |
8824 | =item Missing or undefined argument to %s | |
7925 | 8825 | |
7926 | 8826 | =begin original |
7927 | 8827 | |
7928 | (F) You tried to call require with no argument or with an undefined | |
8828 | (F) You tried to call require or do with no argument or with an undefined | |
7929 | 8829 | value as an argument. Require expects either a package name or a |
7930 | file-specification as an argument | |
8830 | file-specification as an argument; do expects a filename. See | |
8831 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. | |
7931 | 8832 | |
7932 | 8833 | =end original |
7933 | 8834 | |
7934 | (F) 引数なし、または未定義値を引数として require を | |
8835 | (F) 引数なし、または未定義値を引数として require や do を | |
7935 | ||
8836 | 呼び出そうとしました。 | |
7936 | ||
8837 | require はパッケージ名またはファイル指定を引数として想定します; | |
8838 | do はファイル名を想定します。 | |
8839 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 | |
7937 | 8840 | |
7938 | 8841 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ |
7939 | 8842 | |
7940 | 8843 | =begin original |
7941 | 8844 | |
7942 | 8845 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. |
7943 | 8846 | |
7944 | 8847 | =end original |
7945 | 8848 | |
7946 | 8849 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが |
7947 | 8850 | 抜けています。 |
7948 | 8851 | |
7949 | 8852 | =item Missing right brace on \N{} |
7950 | 8853 | |
7951 | 8854 | =item Missing right brace on \N{} or unescaped left brace after \N |
7952 | 8855 | |
7953 | 8856 | =begin original |
7954 | 8857 | |
7955 | 8858 | (F) C<\N> has two meanings. |
7956 | 8859 | |
7957 | 8860 | =end original |
7958 | 8861 | |
7959 | 8862 | (F) C<\N> には二つの意味があります。 |
7960 | 8863 | |
7961 | 8864 | =begin original |
7962 | 8865 | |
7963 | 8866 | The traditional one has it followed by a name enclosed in braces, |
7964 | 8867 | meaning the character (or sequence of characters) given by that |
7965 | 8868 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both |
7966 | 8869 | double-quoted strings and regular expression patterns. In patterns, |
7967 | 8870 | it doesn't have the meaning an unescaped C<*> does. |
7968 | 8871 | |
7969 | 8872 | =end original |
7970 | 8873 | |
7971 | 8874 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 |
7972 | 8875 | (または文字並び)を意味します。 |
7973 | 8876 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 |
7974 | 8877 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 |
7975 | 8878 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 |
7976 | 8879 | |
7977 | 8880 | =begin original |
7978 | 8881 | |
7979 | 8882 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) |
7980 | 8883 | in patterns, namely to match a non-newline character. (This is short |
7981 | 8884 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) |
7982 | 8885 | |
7983 | 8886 | =end original |
7984 | 8887 | |
7985 | 8888 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; |
7986 | 8889 | 非改行文字にマッチングします。 |
7987 | 8890 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって |
7988 | 8891 | 影響を受けません。) |
7989 | 8892 | |
7990 | 8893 | =begin original |
7991 | 8894 | |
7992 | 8895 | This can lead to some ambiguities. When C<\N> is not followed immediately |
7993 | 8896 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces |
7994 | 8897 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this |
7995 | 8898 | means to match the given quantity of non-newlines (in these examples, |
7996 | 8899 | 3; and 5 or more, respectively). In all other case, where there is a |
7997 | 8900 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. |
7998 | 8901 | |
7999 | 8902 | =end original |
8000 | 8903 | |
8001 | 8904 | これによりいくつかの曖昧さを引き起こします。 |
8002 | 8905 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 |
8003 | 8906 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に |
8004 | 8907 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と |
8005 | 8908 | 5 以上) にマッチングするという意味を仮定します。 |
8006 | 8909 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が |
8007 | 8910 | 求められていると仮定します。 |
8008 | 8911 | |
8009 | 8912 | =begin original |
8010 | 8913 | |
8011 | 8914 | However, if there is no matching C<}>, Perl doesn't know if it was |
8012 | 8915 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. |
8013 | 8916 | If you meant the former, add the right brace; if you meant the latter, |
8014 | 8917 | escape the brace with a backslash, like so: C<\N\{> |
8015 | 8918 | |
8016 | 8919 | =end original |
8017 | 8920 | |
8018 | 8921 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 |
8019 | 8922 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 |
8020 | 8923 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を |
8021 | 8924 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで |
8022 | 8925 | エスケープしてください。 |
8023 | 8926 | |
8024 | 8927 | =item Missing right curly or square bracket |
8025 | 8928 | |
8026 | 8929 | =begin original |
8027 | 8930 | |
8028 | 8931 | (F) The lexer counted more opening curly or square brackets than closing |
8029 | 8932 | ones. As a general rule, you'll find it's missing near the place you |
8030 | 8933 | were last editing. |
8031 | 8934 | |
8032 | 8935 | =end original |
8033 | 8936 | |
8034 | 8937 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも |
8035 | 8938 | 開き中かっこ(大かっこ)を多く発見しました。 |
8036 | 8939 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
8037 | 8940 | |
8038 | 8941 | =item (Missing semicolon on previous line?) |
8039 | 8942 | |
8040 | 8943 | =begin original |
8041 | 8944 | |
8042 | 8945 | (S syntax) This is an educated guess made in conjunction with the message |
8043 | 8946 | "%s found where operator expected". Don't automatically put a semicolon on |
8044 | 8947 | the previous line just because you saw this message. |
8045 | 8948 | |
8046 | 8949 | =end original |
8047 | 8950 | |
8048 | 8951 | (S syntax) これは "%s found where operator expected" メッセージと共に |
8049 | 8952 | 表示される教育的な推測です。 |
8050 | 8953 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは |
8051 | 8954 | しないでください。 |
8052 | 8955 | |
8053 | 8956 | =item Modification of a read-only value attempted |
8054 | 8957 | |
8055 | 8958 | =begin original |
8056 | 8959 | |
8057 | 8960 | (F) You tried, directly or indirectly, to change the value of a |
8058 | 8961 | constant. You didn't, of course, try "2 = 1", because the compiler |
8059 | 8962 | catches that. But an easy way to do the same thing is: |
8060 | 8963 | |
8061 | 8964 | =end original |
8062 | 8965 | |
8063 | 8966 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
8064 | 8967 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
8065 | 8968 | したわけではありません。 |
8066 | 8969 | しかし、同じことは以下のようにしても起こります。 |
8067 | 8970 | |
8068 | 8971 | sub mod { $_[0] = 1 } |
8069 | 8972 | mod(2); |
8070 | 8973 | |
8071 | 8974 | =begin original |
8072 | 8975 | |
8073 | 8976 | Another way is to assign to a substr() that's off the end of the string. |
8074 | 8977 | |
8075 | 8978 | =end original |
8076 | 8979 | |
8077 | 8980 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
8078 | 8981 | |
8079 | 8982 | =begin original |
8080 | 8983 | |
8081 | 8984 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
8082 | 8985 | is aliased to a constant in the look I<LIST>: |
8083 | 8986 | |
8084 | 8987 | =end original |
8085 | 8988 | |
8086 | 8989 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
8087 | 8990 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
8088 | 8991 | |
8089 | 8992 | $x = 1; |
8090 | 8993 | foreach my $n ($x, 2) { |
8091 | 8994 | $n *= 2; # modifies the $x, but fails on attempt to |
8092 | 8995 | } # modify the 2 |
8093 | 8996 | |
8094 | 8997 | =item Modification of non-creatable array value attempted, %s |
8095 | 8998 | |
8096 | 8999 | =begin original |
8097 | 9000 | |
8098 | 9001 | (F) You tried to make an array value spring into existence, and the |
8099 | 9002 | subscript was probably negative, even counting from end of the array |
8100 | 9003 | backwards. |
8101 | 9004 | |
8102 | 9005 | =end original |
8103 | 9006 | |
8104 | 9007 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の |
8105 | 9008 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 |
8106 | 9009 | |
8107 | 9010 | =item Modification of non-creatable hash value attempted, %s |
8108 | 9011 | |
8109 | 9012 | =begin original |
8110 | 9013 | |
8111 | 9014 | (P) You tried to make a hash value spring into existence, and it |
8112 | 9015 | couldn't be created for some peculiar reason. |
8113 | 9016 | |
8114 | 9017 | =end original |
8115 | 9018 | |
8116 | 9019 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
8117 | 9020 | できませんでした。 |
8118 | 9021 | |
8119 | 9022 | =item Module name must be constant |
8120 | 9023 | |
8121 | 9024 | =begin original |
8122 | 9025 | |
8123 | 9026 | (F) Only a bare module name is allowed as the first argument to a "use". |
8124 | 9027 | |
8125 | 9028 | =end original |
8126 | 9029 | |
8127 | 9030 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
8128 | 9031 | 裸の単語だけです。 |
8129 | 9032 | |
8130 | 9033 | =item Module name required with -%c option |
8131 | 9034 | |
8132 | 9035 | =begin original |
8133 | 9036 | |
8134 | 9037 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
8135 | you omitted the name of the module. Consult | |
9038 | you omitted the name of the module. Consult | |
8136 | about C<-M> and C<-m>. | |
9039 | L<perlrun|perlrun/-m[-]module> for full details about C<-M> and C<-m>. | |
8137 | 9040 | |
8138 | 9041 | =end original |
8139 | 9042 | |
8140 | 9043 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
8141 | 9044 | 指示しますが、モジュール名がありませんでした。 |
8142 | C<-M> と C<-m> に関する完全な詳細については | |
9045 | C<-M> と C<-m> に関する完全な詳細については | |
9046 | L<perlrun|perlrun/-m[-]module> を参照してください。 | |
8143 | 9047 | |
8144 | 9048 | =item More than one argument to '%s' open |
8145 | 9049 | |
8146 | 9050 | =begin original |
8147 | 9051 | |
8148 | 9052 | (F) The C<open> function has been asked to open multiple files. This |
8149 | 9053 | can happen if you are trying to open a pipe to a command that takes a |
8150 | 9054 | list of arguments, but have forgotten to specify a piped open mode. |
8151 | 9055 | See L<perlfunc/open> for details. |
8152 | 9056 | |
8153 | 9057 | =end original |
8154 | 9058 | |
8155 | 9059 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 |
8156 | 9060 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ |
8157 | 9061 | オープンモードを指定するのを忘れた時に起きます。 |
8158 | 9062 | 詳細は L<perlfunc/open> を参照してください。 |
8159 | 9063 | |
8160 | 9064 | =item mprotect for COW string %p %u failed with %d |
8161 | 9065 | |
8162 | 9066 | =begin original |
8163 | 9067 | |
8164 | 9068 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see |
8165 | 9069 | L<perlguts/"Copy on Write">), but a shared string buffer |
8166 | 9070 | could not be made read-only. |
8167 | 9071 | |
8168 | 9072 | =end original |
8169 | 9073 | |
8170 | 9074 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で |
8171 | 9075 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 |
8172 | 9076 | |
8173 | 9077 | =item mprotect for %p %u failed with %d |
8174 | 9078 | |
8175 | 9079 | =begin original |
8176 | 9080 | |
8177 | 9081 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), |
8178 | 9082 | but an op tree could not be made read-only. |
8179 | 9083 | |
8180 | 9084 | =end original |
8181 | 9085 | |
8182 | 9086 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で |
8183 | 9087 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 |
8184 | 9088 | |
8185 | 9089 | =item mprotect RW for COW string %p %u failed with %d |
8186 | 9090 | |
8187 | 9091 | =begin original |
8188 | 9092 | |
8189 | 9093 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see |
8190 | 9094 | L<perlguts/"Copy on Write">), but a read-only shared string |
8191 | 9095 | buffer could not be made mutable. |
8192 | 9096 | |
8193 | 9097 | =end original |
8194 | 9098 | |
8195 | 9099 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で |
8196 | 9100 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に |
8197 | 9101 | できませんでした。 |
8198 | 9102 | |
8199 | 9103 | =item mprotect RW for %p %u failed with %d |
8200 | 9104 | |
8201 | 9105 | =begin original |
8202 | 9106 | |
8203 | 9107 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see |
8204 | 9108 | L<perlhacktips>), but a read-only op tree could not be made |
8205 | 9109 | mutable before freeing the ops. |
8206 | 9110 | |
8207 | 9111 | =end original |
8208 | 9112 | |
8209 | 9113 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で |
8210 | 9114 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に |
8211 | 9115 | ミュータブルにできませんでした。 |
8212 | 9116 | |
8213 | 9117 | =item msg%s not implemented |
8214 | 9118 | |
8215 | 9119 | =begin original |
8216 | 9120 | |
8217 | 9121 | (F) You don't have System V message IPC on your system. |
8218 | 9122 | |
8219 | 9123 | =end original |
8220 | 9124 | |
8221 | 9125 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
8222 | 9126 | |
8223 | 9127 | =item Multidimensional syntax %s not supported |
8224 | 9128 | |
8225 | 9129 | =begin original |
8226 | 9130 | |
8227 | 9131 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
8228 | 9132 | They're written like C<$foo[1][2][3]>, as in C. |
8229 | 9133 | |
8230 | 9134 | =end original |
8231 | 9135 | |
8232 | 9136 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
8233 | 9137 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
8234 | 9138 | |
9139 | =item Multiple slurpy parameters not allowed | |
9140 | ||
9141 | =begin original | |
9142 | ||
9143 | (F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be | |
9144 | the last parameter, and there must not be more than one of them; for | |
9145 | example: | |
9146 | ||
9147 | =end original | |
9148 | ||
9149 | (F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は | |
9150 | 最後のパラメータでなければならず、複数あってはなりません; 例えば: | |
9151 | ||
9152 | sub foo ($a, @b) {} # legal | |
9153 | sub foo ($a, @b, %) {} # invalid | |
9154 | ||
8235 | 9155 | =item '/' must follow a numeric type in unpack |
8236 | 9156 | |
8237 | 9157 | =begin original |
8238 | 9158 | |
8239 | 9159 | (F) You had an unpack template that contained a '/', but this did not |
8240 | 9160 | follow some unpack specification producing a numeric value. |
8241 | 9161 | See L<perlfunc/pack>. |
8242 | 9162 | |
8243 | 9163 | =end original |
8244 | 9164 | |
8245 | 9165 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの |
8246 | 9166 | 数値を生成する unpack 指定に引き続いていません。 |
8247 | 9167 | L<perlfunc/pack> を参照してください。 |
8248 | 9168 | |
9169 | =item %s must not be a named sequence in transliteration operator | |
9170 | ||
9171 | =begin original | |
9172 | ||
9173 | (F) Transliteration (C<tr///> and C<y///>) transliterates individual | |
9174 | characters. But a named sequence by definition is more than an | |
9175 | individual character, and hence doing this operation on it doesn't make | |
9176 | sense. | |
9177 | ||
9178 | =end original | |
9179 | ||
9180 | (F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。 | |
9181 | しかし、定義による名前付き並びは個々の文字以上のものがあるので、 | |
9182 | それに対してこの操作をするのは意味がありません。 | |
9183 | ||
8249 | 9184 | =item "my sub" not yet implemented |
8250 | 9185 | |
8251 | 9186 | =begin original |
8252 | 9187 | |
8253 | 9188 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
8254 | 9189 | that yet. |
8255 | 9190 | |
8256 | 9191 | =end original |
8257 | 9192 | |
8258 | 9193 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
8259 | 9194 | まだ試さないでください。 |
8260 | 9195 | |
8261 | 9196 | =item "my" subroutine %s can't be in a package |
8262 | 9197 | |
8263 | 9198 | =begin original |
8264 | 9199 | |
8265 | 9200 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make |
8266 | 9201 | sense to try to declare one with a package qualifier on the front. |
8267 | 9202 | |
8268 | 9203 | =end original |
8269 | 9204 | |
8270 | 9205 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 |
8271 | 9206 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
8272 | 9207 | |
8273 | 9208 | =item "my %s" used in sort comparison |
8274 | 9209 | |
8275 | 9210 | =begin original |
8276 | 9211 | |
8277 | 9212 | (W syntax) The package variables $a and $b are used for sort comparisons. |
8278 | 9213 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a |
8279 | 9214 | sort comparison block, and the variable had earlier been declared as a |
8280 | 9215 | lexical variable. Either qualify the sort variable with the package |
8281 | 9216 | name, or rename the lexical variable. |
8282 | 9217 | |
8283 | 9218 | =end original |
8284 | 9219 | |
8285 | 9220 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 |
8286 | 9221 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の |
8287 | 9222 | オペランドとして使いましたが、この変数はその前にレキシカル変数として |
8288 | 9223 | 宣言されています。 |
8289 | 9224 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 |
8290 | 9225 | |
8291 | 9226 | =item "my" variable %s can't be in a package |
8292 | 9227 | |
8293 | 9228 | =begin original |
8294 | 9229 | |
8295 | 9230 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
8296 | 9231 | sense to try to declare one with a package qualifier on the front. Use |
8297 | 9232 | local() if you want to localize a package variable. |
8298 | 9233 | |
8299 | 9234 | =end original |
8300 | 9235 | |
8301 | (F) | |
9236 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
8302 | 9237 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
8303 | 9238 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
8304 | 9239 | |
8305 | 9240 | =item Name "%s::%s" used only once: possible typo |
8306 | 9241 | |
8307 | 9242 | =begin original |
8308 | 9243 | |
8309 | 9244 | (W once) Typographical errors often show up as unique variable |
8310 | 9245 | names. If you had a good reason for having a unique name, then |
8311 | 9246 | just mention it again somehow to suppress the message. The C<our> |
8312 | 9247 | declaration is also provided for this purpose. |
8313 | 9248 | |
8314 | 9249 | =end original |
8315 | 9250 | |
8316 | 9251 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
8317 | 9252 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
8318 | 9253 | このメッセージを抑制できます。 |
8319 | 9254 | C<our> 宣言もこの目的のために提供されています。 |
8320 | 9255 | |
8321 | 9256 | =begin original |
8322 | 9257 | |
8323 | 9258 | NOTE: This warning detects package symbols that have been used |
8324 | 9259 | only once. This means lexical variables will never trigger this |
8325 | 9260 | warning. It also means that all of the package variables $c, @c, |
8326 | 9261 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or |
8327 | 9262 | format) are considered the same; if a program uses $c only once |
8328 | 9263 | but also uses any of the others it will not trigger this warning. |
8329 | 9264 | Symbols beginning with an underscore and symbols using special |
8330 | 9265 | identifiers (q.v. L<perldata>) are exempt from this warning. |
8331 | 9266 | |
8332 | 9267 | =end original |
8333 | 9268 | |
8334 | 9269 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 |
8335 | 9270 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 |
8336 | 9271 | また、パッケージ変数 $c, @c, %c および |
8337 | 9272 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は |
8338 | 9273 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも |
8339 | 9274 | その他のものも使っている場合、この警告は引き起こされません。 |
8340 | 9275 | 下線で始まるシンボルと特殊識別子 |
8341 | 9276 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 |
8342 | 9277 | |
8343 | 9278 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ |
8344 | 9279 | |
8345 | 9280 | =begin original |
8346 | 9281 | |
8347 | 9282 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be |
8348 | 9283 | exactly 3 digits long. This helps catch some ambiguities. If your |
8349 | 9284 | constant is too short, add leading zeros, like |
8350 | 9285 | |
8351 | 9286 | =end original |
8352 | 9287 | |
8353 | 9288 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である |
8354 | 9289 | 必要があります。 |
8355 | 9290 | これはある種の曖昧さを捕まえる助けになります。 |
8356 | 9291 | 定数が短い場合は、以下のように先頭に 0 を追加してください |
8357 | 9292 | |
8358 | 9293 | (?[ [ \078 ] ]) # Syntax error! |
8359 | 9294 | (?[ [ \0078 ] ]) # Works |
8360 | 9295 | (?[ [ \007 8 ] ]) # Clearer |
8361 | 9296 | |
8362 | 9297 | =begin original |
8363 | 9298 | |
8364 | 9299 | The maximum number this construct can express is C<\777>. If you |
8365 | 9300 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant |
8366 | 9301 | two separate things, you need to separate them: |
8367 | 9302 | |
8368 | 9303 | =end original |
8369 | 9304 | |
8370 | 9305 | この構文が表現できる最大数は C<\777> です。 |
8371 | 9306 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を |
8372 | 9307 | 使う必要があります。 |
8373 | 9308 | 二つの別々のものを意味しているなら、分ける必要があります: |
8374 | 9309 | |
8375 | 9310 | (?[ [ \7776 ] ]) # Syntax error! |
8376 | 9311 | (?[ [ \o{7776} ] ]) # One meaning |
8377 | 9312 | (?[ [ \777 6 ] ]) # Another meaning |
8378 | 9313 | (?[ [ \777 \006 ] ]) # Still another |
8379 | 9314 | |
8380 | 9315 | =item Negative '/' count in unpack |
8381 | 9316 | |
8382 | 9317 | =begin original |
8383 | 9318 | |
8384 | 9319 | (F) The length count obtained from a length/code unpack operation was |
8385 | 9320 | negative. See L<perlfunc/pack>. |
8386 | 9321 | |
8387 | 9322 | =end original |
8388 | 9323 | |
8389 | 9324 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 |
8390 | 9325 | L<perlfunc/pack> を参照してください。 |
8391 | 9326 | |
8392 | 9327 | =item Negative length |
8393 | 9328 | |
8394 | 9329 | =begin original |
8395 | 9330 | |
8396 | 9331 | (F) You tried to do a read/write/send/recv operation with a buffer |
8397 | 9332 | length that is less than 0. This is difficult to imagine. |
8398 | 9333 | |
8399 | 9334 | =end original |
8400 | 9335 | |
8401 | 9336 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
8402 | 9337 | 行なおうとしました。 |
8403 | 9338 | これは想像しにくいことです。 |
8404 | 9339 | |
8405 | 9340 | =item Negative offset to vec in lvalue context |
8406 | 9341 | |
8407 | 9342 | =begin original |
8408 | 9343 | |
8409 | 9344 | (F) When C<vec> is called in an lvalue context, the second argument must be |
8410 | 9345 | greater than or equal to zero. |
8411 | 9346 | |
8412 | 9347 | =end original |
8413 | 9348 | |
8414 | 9349 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 |
8415 | 9350 | 二つ目の引数は 0 以上でなければなりません。 |
8416 | 9351 | |
8417 | 9352 | =item Negative repeat count does nothing |
8418 | 9353 | |
8419 | 9354 | =begin original |
8420 | 9355 | |
8421 | 9356 | (W numeric) You tried to execute the |
8422 | 9357 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 |
8423 | 9358 | times, which doesn't make sense. |
8424 | 9359 | |
8425 | 9360 | =end original |
8426 | 9361 | |
8427 | 9362 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を |
8428 | 9363 | 0 より小さい回数実行しようとしました; これは無意味です。 |
8429 | 9364 | |
8430 | 9365 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ |
8431 | 9366 | |
8432 | 9367 | =begin original |
8433 | 9368 | |
8434 | 9369 | (F) You can't quantify a quantifier without intervening parentheses. |
8435 | 9370 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows |
8436 | 9371 | whereabouts in the regular expression the problem was discovered. |
8437 | 9372 | |
8438 | 9373 | =end original |
8439 | 9374 | |
8440 | 9375 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 |
8441 | 9376 | つまり、** や +* や ?* といったものは、正しくありません。 |
8442 | 9377 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
8443 | 9378 | |
8444 | 9379 | =begin original |
8445 | 9380 | |
8446 | 9381 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and |
8447 | 9382 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
8448 | 9383 | |
8449 | 9384 | =end original |
8450 | 9385 | |
8451 | 9386 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように |
8452 | 9387 | 見えますが、そうではありません。 |
8453 | 9388 | L<perlre> を参照してください。 |
8454 | 9389 | |
8455 | 9390 | =item %s never introduced |
8456 | 9391 | |
8457 | 9392 | =begin original |
8458 | 9393 | |
8459 | 9394 | (S internal) The symbol in question was declared but somehow went out of |
8460 | 9395 | scope before it could possibly have been used. |
8461 | 9396 | |
8462 | 9397 | =end original |
8463 | 9398 | |
8464 | 9399 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
8465 | 9400 | 外れてしまいました。 |
8466 | 9401 | |
8467 | 9402 | =item next::method/next::can/maybe::next::method cannot find enclosing method |
8468 | 9403 | |
8469 | 9404 | =begin original |
8470 | 9405 | |
8471 | 9406 | (F) C<next::method> needs to be called within the context of a |
8472 | 9407 | real method in a real package, and it could not find such a context. |
8473 | 9408 | See L<mro>. |
8474 | 9409 | |
8475 | 9410 | =end original |
8476 | 9411 | |
8477 | 9412 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる |
8478 | 9413 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 |
8479 | 9414 | L<mro> を参照してください。 |
8480 | 9415 | |
8481 | 9416 | =item \N in a character class must be a named character: \N{...} in regex; |
8482 | 9417 | marked by S<<-- HERE> in m/%s/ |
8483 | 9418 | |
8484 | 9419 | =begin original |
8485 | 9420 | |
8486 | 9421 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a |
8487 | 9422 | bracketed character class, for the same reason that C<.> in a character |
8488 | 9423 | class loses its specialness: it matches almost everything, which is |
8489 | 9424 | probably not what you want. |
8490 | 9425 | |
8491 | 9426 | =end original |
8492 | 9427 | |
8493 | 9428 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは |
8494 | 9429 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: |
8495 | 9430 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは |
8496 | 9431 | ないでしょう。 |
8497 | 9432 | |
8498 | =item \N{} | |
9433 | =item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
8499 | 9434 | |
8500 | 9435 | =begin original |
8501 | 9436 | |
8502 | 9437 | (F) Named Unicode character escapes (C<\N{...}>) may return a |
8503 | 9438 | multi-character sequence. Even though a character class is |
8504 | 9439 | supposed to match just one character of input, perl will match the |
8505 | whole thing correctly, except | |
9440 | whole thing correctly, except under certain conditions. These currently | |
8506 | ||
9441 | are | |
8507 | mathematically logical behavior for what matches when inverting | |
8508 | is very different from what people expect, so we have decided to | |
8509 | forbid it. Similarly unclear is what should be generated when the | |
8510 | C<\N{...}> is used as one of the end points of the range, such as in | |
8511 | 9442 | |
8512 | 9443 | =end original |
8513 | 9444 | |
8514 | 9445 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを |
8515 | 9446 | 返すことがあります。 |
8516 | 9447 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 |
8517 | perl は全体を正しくマッチングします; 但し例外 | |
9448 | perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。 | |
8518 | ||
9449 | それは今のところ: | |
8519 | エスケープが範囲の始点か終点の場合です。 | |
8520 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
8521 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
8522 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
8523 | 使われたときに何が生成されるべきかということです: | |
8524 | 9450 | |
8525 | | |
9451 | =over 4 | |
8526 | 9452 | |
8527 | = | |
9453 | =item When the class is inverted (C<[^...]>) | |
8528 | 9454 | |
8529 | ||
9455 | (クラスが反転された場合 (C<[^...]>)) | |
8530 | of code points, so this is made an error. | |
8531 | 9456 | |
8532 | =end original | |
8533 | ||
8534 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
8535 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
8536 | ||
8537 | =item \N{NAME} must be resolved by the lexer in regex; marked by | |
8538 | S<<-- HERE> in m/%s/ | |
8539 | ||
8540 | 9457 | =begin original |
8541 | 9458 | |
8542 | ||
9459 | The mathematically logical behavior for what matches when inverting | |
8543 | se | |
9460 | is very different from what people expect, so we have decided to | |
8544 | ||
9461 | forbid it. | |
8545 | backslash in double-quotish: | |
8546 | 9462 | |
8547 | 9463 | =end original |
8548 | 9464 | |
8549 | ||
9465 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
8550 | ||
9466 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
8551 | これはシングルクォート風コンテキストを使ったり、ダブルクォート風で | |
8552 | 余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで | |
8553 | 起こります: | |
8554 | 9467 | |
8555 | | |
9468 | =item The escape is the beginning or final end point of a range | |
8556 | $re = "\\N{SPACE}"; # Wrong! | |
8557 | /$re/; | |
8558 | 9469 | |
9470 | (エスケープが範囲の始点か終点の場合) | |
9471 | ||
8559 | 9472 | =begin original |
8560 | 9473 | |
8561 | ||
9474 | Similarly unclear is what should be generated when the | |
9475 | C<\N{...}> is used as one of the end points of the range, such as in | |
8562 | 9476 | |
8563 | 9477 | =end original |
8564 | 9478 | |
8565 | ||
9479 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
9480 | 使われたときに何が生成されるべきかということです: | |
8566 | 9481 | |
8567 | | |
9482 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
8568 | /$re/; | |
8569 | 9483 | |
8570 | 9484 | =begin original |
8571 | 9485 | |
8572 | ||
9486 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
8573 | co | |
9487 | of code points, so this is made an error. | |
8574 | 9488 | |
8575 | 9489 | =end original |
8576 | 9490 | |
8577 | ||
9491 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
9492 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
8578 | 9493 | |
8579 | | |
9494 | =item In a regex set | |
8580 | /${re}{SPACE}/; # Wrong! | |
8581 | 9495 | |
8582 | ||
9496 | (正規表現集合の中の場合) | |
8583 | 9497 | |
8584 | It's not a good idea to split a construct in the middle like this, and | |
8585 | it doesn't work here. Instead use the solution above. | |
8586 | ||
8587 | =end original | |
8588 | ||
8589 | このように中間で構造を分割することはよい考えではなく、ここでは動作しません。 | |
8590 | 代わりに上述した解決法を使ってください。 | |
8591 | ||
8592 | 9498 | =begin original |
8593 | 9499 | |
8594 | ||
9500 | The syntax S<C<(?[ ])>> in a regular expression yields a list of | |
8595 | ||
9501 | single code points, none can be a sequence. | |
8596 | 9502 | |
8597 | 9503 | =end original |
8598 | 9504 | |
8599 | ||
9505 | 正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、 | |
8600 | ||
9506 | 並びにはなりません。 | |
8601 | 9507 | |
8602 | ||
9508 | =back | |
8603 | /\N{SPACE}/x; # ok | |
8604 | 9509 | |
8605 | 9510 | =item No %s allowed while running setuid |
8606 | 9511 | |
8607 | 9512 | =begin original |
8608 | 9513 | |
8609 | 9514 | (F) Certain operations are deemed to be too insecure for a setuid or |
8610 | 9515 | setgid script to even be allowed to attempt. Generally speaking there |
8611 | 9516 | will be another way to do what you want that is, if not secure, at least |
8612 | 9517 | securable. See L<perlsec>. |
8613 | 9518 | |
8614 | 9519 | =end original |
8615 | 9520 | |
8616 | 9521 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
8617 | 9522 | やってみることはできても、とても安全なものとは考えられないものです。 |
8618 | 9523 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
8619 | 9524 | L<perlsec> を参照してください。 |
8620 | 9525 | |
8621 | =item NO-BREAK SPACE in a charnames alias definition is deprecated | |
8622 | ||
8623 | =begin original | |
8624 | ||
8625 | (D deprecated) You defined a character name which contained a no-break | |
8626 | space character. Change it to a regular space. Usually these names are | |
8627 | defined in the C<:alias> import argument to C<use charnames>, but they | |
8628 | could be defined by a translator installed into C<$^H{charnames}>. See | |
8629 | L<charnames/CUSTOM ALIASES>. | |
8630 | ||
8631 | =end original | |
8632 | ||
8633 | (D deprecated) 非分割空白文字を含む文字名を定義しました。 | |
8634 | 通常のスペースに変更してください。 | |
8635 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
8636 | 定義されていますが、C<$^H{charnames}> でインストールされた | |
8637 | 変換器で定義されていることもあります。 | |
8638 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
8639 | ||
8640 | 9526 | =item No code specified for -%c |
8641 | 9527 | |
8642 | 9528 | =begin original |
8643 | 9529 | |
8644 | 9530 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If |
8645 | 9531 | you want to run an empty program, pass the empty string as a separate |
8646 | 9532 | argument or run a program consisting of a single 0 or 1: |
8647 | 9533 | |
8648 | 9534 | =end original |
8649 | 9535 | |
8650 | 9536 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 |
8651 | 9537 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の |
8652 | 9538 | 0 または 1 からなるプログラムを実行してください: |
8653 | 9539 | |
8654 | 9540 | perl -e "" |
8655 | 9541 | perl -e0 |
8656 | 9542 | perl -e1 |
8657 | 9543 | |
8658 | 9544 | =item No comma allowed after %s |
8659 | 9545 | |
8660 | 9546 | =begin original |
8661 | 9547 | |
8662 | 9548 | (F) A list operator that has a filehandle or "indirect object" is |
8663 | 9549 | not allowed to have a comma between that and the following arguments. |
8664 | 9550 | Otherwise it'd be just another one of the arguments. |
8665 | 9551 | |
8666 | 9552 | =end original |
8667 | 9553 | |
8668 | 9554 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
8669 | 9555 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
8670 | 9556 | そのようにした場合には、引数の一つとなってしまいます。 |
8671 | 9557 | |
8672 | 9558 | =begin original |
8673 | 9559 | |
8674 | 9560 | One possible cause for this is that you expected to have imported |
8675 | 9561 | a constant to your name space with B<use> or B<import> while no such |
8676 | 9562 | importing took place, it may for example be that your operating |
8677 | 9563 | system does not support that particular constant. Hopefully you did |
8678 | 9564 | use an explicit import list for the constants you expect to see; |
8679 | 9565 | please see L<perlfunc/use> and L<perlfunc/import>. While an |
8680 | 9566 | explicit import list would probably have caught this error earlier |
8681 | 9567 | it naturally does not remedy the fact that your operating system |
8682 | 9568 | still does not support that constant. Maybe you have a typo in |
8683 | 9569 | the constants of the symbol import list of B<use> or B<import> or in the |
8684 | 9570 | constant name at the line where this error was triggered? |
8685 | 9571 | |
8686 | 9572 | =end original |
8687 | 9573 | |
8688 | 9574 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
8689 | 9575 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
8690 | 9576 | 場合です; |
8691 | 9577 | 例えば OS が特定の定数に対応していない場合などです。 |
8692 | 9578 | できればインポートしたい定数のリストを明示的に使ってください; |
8693 | 9579 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
8694 | 9580 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
8695 | 9581 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
8696 | 9582 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
8697 | 9583 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
8698 | 9584 | |
8699 | 9585 | =item No command into which to pipe on command line |
8700 | 9586 | |
8701 | 9587 | =begin original |
8702 | 9588 | |
8703 | 9589 | (F) An error peculiar to VMS. Perl handles its own command line |
8704 | 9590 | redirection, and found a '|' at the end of the command line, so it |
8705 | 9591 | doesn't know where you want to pipe the output from this command. |
8706 | 9592 | |
8707 | 9593 | =end original |
8708 | 9594 | |
8709 | 9595 | (F) VMS に固有のエラーです。 |
8710 | 9596 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
8711 | 9597 | コマンドラインの最後にに '|' を発見しましたが、 |
8712 | 9598 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
8713 | 9599 | |
8714 | 9600 | =item No DB::DB routine defined |
8715 | 9601 | |
8716 | 9602 | =begin original |
8717 | 9603 | |
8718 | 9604 | (F) The currently executing code was compiled with the B<-d> switch, but |
8719 | 9605 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
8720 | 9606 | module) didn't define a routine to be called at the beginning of each |
8721 | 9607 | statement. |
8722 | 9608 | |
8723 | 9609 | =end original |
8724 | 9610 | |
8725 | 9611 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
8726 | 9612 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) |
8727 | 9613 | が各実行文の頭で呼び出すルーティンを定義していません。 |
8728 | 9614 | |
8729 | 9615 | =item No dbm on this machine |
8730 | 9616 | |
8731 | 9617 | =begin original |
8732 | 9618 | |
8733 | 9619 | (P) This is counted as an internal error, because every machine should |
8734 | 9620 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
8735 | 9621 | |
8736 | 9622 | =end original |
8737 | 9623 | |
8738 | 9624 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 |
8739 | 9625 | どのマシンでも dbm が使えるはずだからです。 |
8740 | 9626 | L<SDBM_File> を参照してください。 |
8741 | 9627 | |
8742 | 9628 | =item No DB::sub routine defined |
8743 | 9629 | |
8744 | 9630 | =begin original |
8745 | 9631 | |
8746 | 9632 | (F) The currently executing code was compiled with the B<-d> switch, but |
8747 | 9633 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
8748 | 9634 | module) didn't define a C<DB::sub> routine to be called at the beginning |
8749 | 9635 | of each ordinary subroutine call. |
8750 | 9636 | |
8751 | 9637 | =end original |
8752 | 9638 | |
8753 | 9639 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
8754 | 9640 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が |
8755 | 9641 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを |
8756 | 9642 | 定義していませんでした。 |
8757 | 9643 | |
9644 | =item No digits found for %s literal | |
9645 | ||
9646 | =begin original | |
9647 | ||
9648 | (F) No hexadecimal digits were found following C<0x> or no binary digits | |
9649 | were found following C<0b>. | |
9650 | ||
9651 | =end original | |
9652 | ||
9653 | (F) C<0x> に 16 進数が引き続かなかったり C<0b> に 2 進数が | |
9654 | 引き続かなかったりしました。 | |
9655 | ||
8758 | 9656 | =item No directory specified for -I |
8759 | 9657 | |
8760 | 9658 | =begin original |
8761 | 9659 | |
8762 | 9660 | (F) The B<-I> command-line switch requires a directory name as part of the |
8763 | 9661 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. |
8764 | 9662 | |
8765 | 9663 | =end original |
8766 | 9664 | |
8767 | 9665 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が |
8768 | 9666 | 必要です。 |
8769 | 9667 | 例えば、B<-Ilib> としてください。 |
8770 | 9668 | B<-I lib> は動作しません。 |
8771 | 9669 | |
8772 | 9670 | =item No error file after 2> or 2>> on command line |
8773 | 9671 | |
8774 | 9672 | =begin original |
8775 | 9673 | |
8776 | 9674 | (F) An error peculiar to VMS. Perl handles its own command line |
8777 | 9675 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
8778 | 9676 | find the name of the file to which to write data destined for stderr. |
8779 | 9677 | |
8780 | 9678 | =end original |
8781 | 9679 | |
8782 | 9680 | (F) VMS に固有のエラーです。 |
8783 | 9681 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
8784 | 9682 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
8785 | 9683 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
8786 | 9684 | |
8787 | 9685 | =item No group ending character '%c' found in template |
8788 | 9686 | |
8789 | 9687 | =begin original |
8790 | 9688 | |
8791 | 9689 | (F) A pack or unpack template has an opening '(' or '[' without its |
8792 | 9690 | matching counterpart. See L<perlfunc/pack>. |
8793 | 9691 | |
8794 | 9692 | =end original |
8795 | 9693 | |
8796 | 9694 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 |
8797 | 9695 | 対応する閉じかっこがありません。 |
8798 | 9696 | L<perlfunc/pack> を参照してください。 |
8799 | 9697 | |
8800 | 9698 | =item No input file after < on command line |
8801 | 9699 | |
8802 | 9700 | =begin original |
8803 | 9701 | |
8804 | 9702 | (F) An error peculiar to VMS. Perl handles its own command line |
8805 | 9703 | redirection, and found a '<' on the command line, but can't find the |
8806 | 9704 | name of the file from which to read data for stdin. |
8807 | 9705 | |
8808 | 9706 | =end original |
8809 | 9707 | |
8810 | 9708 | (F) VMS に固有のエラーです。 |
8811 | 9709 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
8812 | 9710 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
8813 | 9711 | 見つかりませんでした。 |
8814 | 9712 | |
8815 | 9713 | =item No next::method '%s' found for %s |
8816 | 9714 | |
8817 | 9715 | =begin original |
8818 | 9716 | |
8819 | 9717 | (F) C<next::method> found no further instances of this method name |
8820 | 9718 | in the remaining packages of the MRO of this class. If you don't want |
8821 | 9719 | it throwing an exception, use C<maybe::next::method> |
8822 | 9720 | or C<next::can>. See L<mro>. |
8823 | 9721 | |
8824 | 9722 | =end original |
8825 | 9723 | |
8826 | 9724 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この |
8827 | 9725 | メソッド名のインスタンスがもうありません。 |
8828 | 9726 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を |
8829 | 9727 | 使ってください。 |
8830 | 9728 | L<mro> を参照してください。 |
8831 | 9729 | |
8832 | 9730 | =item Non-finite repeat count does nothing |
8833 | 9731 | |
8834 | 9732 | =begin original |
8835 | 9733 | |
8836 | 9734 | (W numeric) You tried to execute the |
8837 | 9735 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or |
8838 | 9736 | C<-Inf>) or C<NaN> times, which doesn't make sense. |
8839 | 9737 | |
8840 | 9738 | =end original |
8841 | 9739 | |
8842 | 9740 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を |
8843 | 9741 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; |
8844 | 9742 | これは意味がありません。 |
8845 | 9743 | |
8846 | 9744 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ |
8847 | 9745 | |
8848 | 9746 | =begin original |
8849 | 9747 | |
8850 | 9748 | (F) In a regular expression, there was a non-hexadecimal character where |
8851 | 9749 | a hex one was expected, like |
8852 | 9750 | |
8853 | 9751 | =end original |
8854 | 9752 | |
8855 | 9753 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました |
8856 | 9754 | |
8857 | 9755 | (?[ [ \xDG ] ]) |
8858 | 9756 | (?[ [ \x{DEKA} ] ]) |
8859 | 9757 | |
9758 | =item Non-hex character '%c' terminates \x early. Resolved as "%s" | |
9759 | ||
9760 | =begin original | |
9761 | ||
9762 | (W digit) In parsing a hexadecimal numeric constant, a character was | |
9763 | unexpectedly encountered that isn't hexadecimal. The resulting value | |
9764 | is as indicated. | |
9765 | ||
9766 | =end original | |
9767 | ||
9768 | (W digit) 16 進数定数をパースするときに、16 進数でない文字に | |
9769 | 想定外に遭遇しました。 | |
9770 | 結果の値は示しているとおりになりました。 | |
9771 | ||
9772 | =begin original | |
9773 | ||
9774 | Note that, within braces, every character starting with the first | |
9775 | non-hexadecimal up to the ending brace is ignored. | |
9776 | ||
9777 | =end original | |
9778 | ||
9779 | 中かっこの中では、最初に現れた非 16 進数文字から中かっこの終わりまでは | |
9780 | 無視されることに注意してください。 | |
9781 | ||
8860 | 9782 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ |
8861 | 9783 | |
8862 | 9784 | =begin original |
8863 | 9785 | |
8864 | 9786 | (F) In a regular expression, there was a non-octal character where |
8865 | 9787 | an octal one was expected, like |
8866 | 9788 | |
8867 | 9789 | =end original |
8868 | 9790 | |
8869 | 9791 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました |
8870 | 9792 | |
8871 | 9793 | (?[ [ \o{1278} ] ]) |
8872 | 9794 | |
8873 | =item Non-octal character '%c'. Resolved as "%s" | |
9795 | =item Non-octal character '%c' terminates \o early. Resolved as "%s" | |
8874 | 9796 | |
8875 | 9797 | =begin original |
8876 | 9798 | |
8877 | 9799 | (W digit) In parsing an octal numeric constant, a character was |
8878 | 9800 | unexpectedly encountered that isn't octal. The resulting value |
8879 | 9801 | is as indicated. |
8880 | 9802 | |
8881 | 9803 | =end original |
8882 | 9804 | |
8883 | 9805 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 |
8884 | 結果の値は示 | |
9806 | 結果の値は示している通りになります。 | |
8885 | 9807 | |
9808 | =begin original | |
9809 | ||
9810 | When not using C<\o{...}>, you wrote something like C<\08>, or C<\179> | |
9811 | in a double-quotish string. The resolution is as indicated, with all | |
9812 | but the last digit treated as a single character, specified in octal. | |
9813 | The last digit is the next character in the string. To tell Perl that | |
9814 | this is indeed what you want, you can use the C<\o{ }> syntax, or use | |
9815 | exactly three digits to specify the octal for the character. | |
9816 | ||
9817 | =end original | |
9818 | ||
9819 | When not using | |
9820 | C<\o{...}> を使っていないときに、C<\08> のようなものか、 | |
9821 | あるいはダブルクォート風文字列の中で C<\179> のようなものを書きました。 | |
9822 | 結果は示している通りになり、最後以外の数字は 8 進数で指定された | |
9823 | 単一の文字として扱われます。 | |
9824 | 最後の数字は文字列中の次の文字です。 | |
9825 | これが確かに望んだものであることを Perl に伝えるには、 | |
9826 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
9827 | 正確に 3 文字の数字を使ってください。 | |
9828 | ||
9829 | =begin original | |
9830 | ||
9831 | Note that, within braces, every character starting with the first | |
9832 | non-octal up to the ending brace is ignored. | |
9833 | ||
9834 | =end original | |
9835 | ||
9836 | 中かっこの中では、最初に現れた非 8 進数文字から中かっこの終わりまでは | |
9837 | 無視されることに注意してください。 | |
9838 | ||
8886 | 9839 | =item "no" not allowed in expression |
8887 | 9840 | |
8888 | 9841 | =begin original |
8889 | 9842 | |
8890 | 9843 | (F) The "no" keyword is recognized and executed at compile time, and |
8891 | 9844 | returns no useful value. See L<perlmod>. |
8892 | 9845 | |
8893 | 9846 | =end original |
8894 | 9847 | |
8895 | 9848 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
8896 | 9849 | 意味のある値を返しません。 |
8897 | 9850 | L<perlmod> を参照してください。 |
8898 | 9851 | |
8899 | 9852 | =item Non-string passed as bitmask |
8900 | 9853 | |
8901 | 9854 | =begin original |
8902 | 9855 | |
8903 | 9856 | (W misc) A number has been passed as a bitmask argument to select(). |
8904 | 9857 | Use the vec() function to construct the file descriptor bitmasks for |
8905 | 9858 | select. See L<perlfunc/select>. |
8906 | 9859 | |
8907 | 9860 | =end original |
8908 | 9861 | |
8909 | 9862 | (W misc) select() のビットマスク引数として数値が渡されました。 |
8910 | 9863 | select のためのファイル記述子のビットマスクを構成するには、 |
8911 | 9864 | vec() 関数を使ってください。 |
8912 | 9865 | L<perlfunc/select> を参照してください。 |
8913 | 9866 | |
8914 | 9867 | =item No output file after > on command line |
8915 | 9868 | |
8916 | 9869 | =begin original |
8917 | 9870 | |
8918 | 9871 | (F) An error peculiar to VMS. Perl handles its own command line |
8919 | 9872 | redirection, and found a lone '>' at the end of the command line, so it |
8920 | 9873 | doesn't know where you wanted to redirect stdout. |
8921 | 9874 | |
8922 | 9875 | =end original |
8923 | 9876 | |
8924 | 9877 | (F) VMS に固有のエラーです。 |
8925 | 9878 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
8926 | 9879 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
8927 | 9880 | わかりませんでした。 |
8928 | 9881 | |
8929 | 9882 | =item No output file after > or >> on command line |
8930 | 9883 | |
8931 | 9884 | =begin original |
8932 | 9885 | |
8933 | 9886 | (F) An error peculiar to VMS. Perl handles its own command line |
8934 | 9887 | redirection, and found a '>' or a '>>' on the command line, but can't |
8935 | 9888 | find the name of the file to which to write data destined for stdout. |
8936 | 9889 | |
8937 | 9890 | =end original |
8938 | 9891 | |
8939 | 9892 | (F) VMS に固有のエラーです。 |
8940 | 9893 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
8941 | 9894 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
8942 | 9895 | 見つかりませんでした。 |
8943 | 9896 | |
9897 | =item No package name allowed for subroutine %s in "our" | |
9898 | ||
8944 | 9899 | =item No package name allowed for variable %s in "our" |
8945 | 9900 | |
8946 | 9901 | =begin original |
8947 | 9902 | |
8948 | (F) Fully qualified variable names are not allowed in "our" | |
9903 | (F) Fully qualified subroutine and variable names are not allowed in "our" | |
8949 | declarations, because that doesn't make much sense under existing | |
9904 | declarations, because that doesn't make much sense under existing rules. | |
8950 | ||
9905 | Such syntax is reserved for future extensions. | |
8951 | 9906 | |
8952 | 9907 | =end original |
8953 | 9908 | |
8954 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
9909 | (F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません; | |
8955 | 9910 | なぜなら現在の動作ではほとんど意味がないからです。 |
8956 | 9911 | そのような文法は将来の拡張に予約されています。 |
8957 | 9912 | |
8958 | 9913 | =item No Perl script found in input |
8959 | 9914 | |
8960 | 9915 | =begin original |
8961 | 9916 | |
8962 | 9917 | (F) You called C<perl -x>, but no line was found in the file beginning |
8963 | 9918 | with #! and containing the word "perl". |
8964 | 9919 | |
8965 | 9920 | =end original |
8966 | 9921 | |
8967 | 9922 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
8968 | 9923 | "perl" という語を含む行が見つかりませんでした。 |
8969 | 9924 | |
8970 | 9925 | =item No setregid available |
8971 | 9926 | |
8972 | 9927 | =begin original |
8973 | 9928 | |
8974 | 9929 | (F) Configure didn't find anything resembling the setregid() call for |
8975 | 9930 | your system. |
8976 | 9931 | |
8977 | 9932 | =end original |
8978 | 9933 | |
8979 | 9934 | (F) Configure が、システム上に setregid() のような関数を |
8980 | 9935 | 見つけられませんでした。 |
8981 | 9936 | |
8982 | 9937 | =item No setreuid available |
8983 | 9938 | |
8984 | 9939 | =begin original |
8985 | 9940 | |
8986 | 9941 | (F) Configure didn't find anything resembling the setreuid() call for |
8987 | 9942 | your system. |
8988 | 9943 | |
8989 | 9944 | =end original |
8990 | 9945 | |
8991 | 9946 | (F) Configure が、システム上に setreuid() のような関数を |
8992 | 9947 | 見つけられませんでした。 |
8993 | 9948 | |
8994 | 9949 | =item No such class %s |
8995 | 9950 | |
8996 | 9951 | =begin original |
8997 | 9952 | |
8998 | 9953 | (F) You provided a class qualifier in a "my", "our" or "state" |
8999 | 9954 | declaration, but this class doesn't exist at this point in your program. |
9000 | 9955 | |
9001 | 9956 | =end original |
9002 | 9957 | |
9003 | 9958 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された |
9004 | 9959 | クラスは現時点では存在しません。 |
9005 | 9960 | |
9006 | 9961 | =item No such class field "%s" in variable %s of type %s |
9007 | 9962 | |
9008 | 9963 | =begin original |
9009 | 9964 | |
9010 | 9965 | (F) You tried to access a key from a hash through the indicated typed |
9011 | 9966 | variable but that key is not allowed by the package of the same type. |
9012 | 9967 | The indicated package has restricted the set of allowed keys using the |
9013 | 9968 | L<fields> pragma. |
9014 | 9969 | |
9015 | 9970 | =end original |
9016 | 9971 | |
9017 | 9972 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 |
9018 | 9973 | そのキーは同じ型のパッケージによって許可されていません。 |
9019 | 9974 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が |
9020 | 9975 | 制限されています。 |
9021 | 9976 | |
9022 | 9977 | =item No such hook: %s |
9023 | 9978 | |
9024 | 9979 | =begin original |
9025 | 9980 | |
9026 | 9981 | (F) You specified a signal hook that was not recognized by Perl. |
9027 | 9982 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. |
9028 | 9983 | |
9029 | 9984 | =end original |
9030 | 9985 | |
9031 | 9986 | (F) Perl が認識できないシグナルフックを指定しました。 |
9032 | 9987 | 現在のところ、Perl は有効なシグナルフックとして |
9033 | 9988 | C<__DIE__> と C<__WARN__> を受け付けます。 |
9034 | 9989 | |
9035 | 9990 | =item No such pipe open |
9036 | 9991 | |
9037 | 9992 | =begin original |
9038 | 9993 | |
9039 | 9994 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
9040 | 9995 | close a pipe which hadn't been opened. This should have been caught |
9041 | 9996 | earlier as an attempt to close an unopened filehandle. |
9042 | 9997 | |
9043 | 9998 | =end original |
9044 | 9999 | |
9045 | 10000 | (P) VMS に固有のエラーです。 |
9046 | 10001 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
9047 | 10002 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
9048 | 10003 | 捕捉されるべきものです。 |
9049 | 10004 | |
9050 | 10005 | =item No such signal: SIG%s |
9051 | 10006 | |
9052 | 10007 | =begin original |
9053 | 10008 | |
9054 | 10009 | (W signal) You specified a signal name as a subscript to %SIG that was |
9055 | 10010 | not recognized. Say C<kill -l> in your shell to see the valid signal |
9056 | 10011 | names on your system. |
9057 | 10012 | |
9058 | 10013 | =end original |
9059 | 10014 | |
9060 | 10015 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
9061 | 10016 | お使いのシステムで使用可能なシグナル名を調べるには、 |
9062 | 10017 | シェル上で C<kill -l> などとしてください。 |
9063 | 10018 | |
10019 | =item No Unicode property value wildcard matches: | |
10020 | ||
10021 | =begin original | |
10022 | ||
10023 | (W regexp) You specified a wildcard for a Unicode property value, but | |
10024 | there is no property value in the current Unicode release that matches | |
10025 | it. Check your spelling. | |
10026 | ||
10027 | =end original | |
10028 | ||
10029 | (W regexp) Unicode 特性値にワイルドカードを指定しましたが、 | |
10030 | 現在の Unicode リリースにはそれにマッチングする特性値はありません。 | |
10031 | スペルを確認してください。 | |
10032 | ||
9064 | 10033 | =item Not a CODE reference |
9065 | 10034 | |
9066 | 10035 | =begin original |
9067 | 10036 | |
9068 | 10037 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
9069 | 10038 | subroutine), but found a reference to something else instead. You can |
9070 | 10039 | use the ref() function to find out what kind of ref it really was. See |
9071 | 10040 | also L<perlref>. |
9072 | 10041 | |
9073 | 10042 | =end original |
9074 | 10043 | |
9075 | 10044 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
9076 | 10045 | 評価しようとしましたが、別のものへのリファレンスでした。 |
9077 | 10046 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9078 | 10047 | 使うことができます。 |
9079 | 10048 | L<perlref> も参照してください。 |
9080 | 10049 | |
9081 | 10050 | =item Not a GLOB reference |
9082 | 10051 | |
9083 | 10052 | =begin original |
9084 | 10053 | |
9085 | 10054 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
9086 | 10055 | symbol table entry that looks like C<*foo>), but found a reference to |
9087 | 10056 | something else instead. You can use the ref() function to find out what |
9088 | 10057 | kind of ref it really was. See L<perlref>. |
9089 | 10058 | |
9090 | 10059 | =end original |
9091 | 10060 | |
9092 | 10061 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
9093 | 10062 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
9094 | 10063 | 別のものへのリファレンスでした。 |
9095 | 10064 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9096 | 10065 | 使うことができます。 |
9097 | 10066 | L<perlref> を参照してください。 |
9098 | 10067 | |
9099 | 10068 | =item Not a HASH reference |
9100 | 10069 | |
9101 | 10070 | =begin original |
9102 | 10071 | |
9103 | 10072 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
9104 | 10073 | reference to something else instead. You can use the ref() function to |
9105 | 10074 | find out what kind of ref it really was. See L<perlref>. |
9106 | 10075 | |
9107 | 10076 | =end original |
9108 | 10077 | |
9109 | 10078 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
9110 | 10079 | 別のものへのリファレンスでした。 |
9111 | 10080 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9112 | 10081 | 使うことができます。 |
9113 | 10082 | L<perlref> を参照してください。 |
9114 | 10083 | |
10084 | =item '#' not allowed immediately following a sigil in a subroutine signature | |
10085 | ||
10086 | =begin original | |
10087 | ||
10088 | (F) In a subroutine signature definition, a comment following a sigil | |
10089 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in | |
10090 | particular to avoid confusion with the C<$#> variable. For example: | |
10091 | ||
10092 | =end original | |
10093 | ||
10094 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く | |
10095 | コメントは、特に C<$#> 変数との混乱を避けるために、 | |
10096 | 空白やカンマなどで分ける必要があります; | |
10097 | 例えば: | |
10098 | ||
10099 | # bad | |
10100 | sub f ($# ignore first arg | |
10101 | , $b) {} | |
10102 | # good | |
10103 | sub f ($, # ignore first arg | |
10104 | $b) {} | |
10105 | ||
9115 | 10106 | =item Not an ARRAY reference |
9116 | 10107 | |
9117 | 10108 | =begin original |
9118 | 10109 | |
9119 | 10110 | (F) Perl was trying to evaluate a reference to an array value, but found |
9120 | 10111 | a reference to something else instead. You can use the ref() function |
9121 | 10112 | to find out what kind of ref it really was. See L<perlref>. |
9122 | 10113 | |
9123 | 10114 | =end original |
9124 | 10115 | |
9125 | 10116 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
9126 | 10117 | 別のものへのリファレンスでした。 |
9127 | 10118 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9128 | 10119 | 使うことができます。 |
9129 | 10120 | L<perlref> を参照してください。 |
9130 | 10121 | |
9131 | =item Not an unblessed ARRAY reference | |
9132 | ||
9133 | =begin original | |
9134 | ||
9135 | (F) You passed a reference to a blessed array to C<push>, C<shift> or | |
9136 | another array function. These only accept unblessed array references | |
9137 | or arrays beginning explicitly with C<@>. | |
9138 | ||
9139 | =end original | |
9140 | ||
9141 | (F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを | |
9142 | 渡しました。 | |
9143 | これらは bless されていない配列リファレンスか明示的に C<@> で始まる | |
9144 | 配列のみを受け付けます。 | |
9145 | ||
9146 | 10122 | =item Not a SCALAR reference |
9147 | 10123 | |
9148 | 10124 | =begin original |
9149 | 10125 | |
9150 | 10126 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
9151 | 10127 | a reference to something else instead. You can use the ref() function |
9152 | 10128 | to find out what kind of ref it really was. See L<perlref>. |
9153 | 10129 | |
9154 | 10130 | =end original |
9155 | 10131 | |
9156 | 10132 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
9157 | 10133 | 別のものへのリファレンスでした。 |
9158 | 10134 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9159 | 10135 | 使うことができます。 |
9160 | 10136 | L<perlref> を参照してください。 |
9161 | 10137 | |
9162 | 10138 | =item Not a subroutine reference |
9163 | 10139 | |
9164 | 10140 | =begin original |
9165 | 10141 | |
9166 | 10142 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
9167 | 10143 | subroutine), but found a reference to something else instead. You can |
9168 | 10144 | use the ref() function to find out what kind of ref it really was. See |
9169 | 10145 | also L<perlref>. |
9170 | 10146 | |
9171 | 10147 | =end original |
9172 | 10148 | |
9173 | 10149 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
9174 | 10150 | 評価しようとしましたが、別のものへのリファレンスでした。 |
9175 | 10151 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9176 | 10152 | 使うことができます。 |
9177 | 10153 | L<perlref> も参照してください。 |
9178 | 10154 | |
9179 | 10155 | =item Not a subroutine reference in overload table |
9180 | 10156 | |
9181 | 10157 | =begin original |
9182 | 10158 | |
9183 | 10159 | (F) An attempt was made to specify an entry in an overloading table that |
9184 | 10160 | doesn't somehow point to a valid subroutine. See L<overload>. |
9185 | 10161 | |
9186 | 10162 | =end original |
9187 | 10163 | |
9188 | 10164 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを |
9189 | 10165 | 指定しようとしました。 |
9190 | 10166 | L<overload> を参照してください。 |
9191 | 10167 | |
9192 | 10168 | =item Not enough arguments for %s |
9193 | 10169 | |
9194 | 10170 | =begin original |
9195 | 10171 | |
9196 | 10172 | (F) The function requires more arguments than you specified. |
9197 | 10173 | |
9198 | 10174 | =end original |
9199 | 10175 | |
9200 | 10176 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
9201 | 10177 | |
9202 | 10178 | =item Not enough format arguments |
9203 | 10179 | |
9204 | 10180 | =begin original |
9205 | 10181 | |
9206 | 10182 | (W syntax) A format specified more picture fields than the next line |
9207 | 10183 | supplied. See L<perlform>. |
9208 | 10184 | |
9209 | 10185 | =end original |
9210 | 10186 | |
9211 | 10187 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
9212 | 10188 | ピクチャフィールドがあります。 |
9213 | 10189 | L<perlform> を参照してください。 |
9214 | 10190 | |
9215 | 10191 | =item %s: not found |
9216 | 10192 | |
9217 | 10193 | =begin original |
9218 | 10194 | |
9219 | 10195 | (A) You've accidentally run your script through the Bourne shell instead |
9220 | 10196 | of Perl. Check the #! line, or manually feed your script into Perl |
9221 | 10197 | yourself. |
9222 | 10198 | |
9223 | 10199 | =end original |
9224 | 10200 | |
9225 | 10201 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
9226 | 10202 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
9227 | 10203 | |
9228 | =item (?[...]) not valid in locale in regex; marked by S<<-- HERE> in m/%s/ | |
9229 | ||
9230 | =begin original | |
9231 | ||
9232 | (F) C<(?[...])> cannot be used within the scope of a C<S<use locale>> or with | |
9233 | an C</l> regular expression modifier, as that would require deferring | |
9234 | to run-time the calculation of what it should evaluate to, and it is | |
9235 | regex compile-time only. | |
9236 | ||
9237 | =end original | |
9238 | ||
9239 | (F) C<(?[...])> は C<S<use locale>> のスコープ内や C</l> 正規表現修飾子付きでは | |
9240 | 使えません; これは何を評価するべきかを実行時の計算によりますが、 | |
9241 | これは正規表現のコンパイル時のみだからです。 | |
9242 | ||
9243 | 10204 | =item no UTC offset information; assuming local time is UTC |
9244 | 10205 | |
9245 | 10206 | =begin original |
9246 | 10207 | |
9247 | 10208 | (S) A warning peculiar to VMS. Perl was unable to find the local |
9248 | 10209 | timezone offset, so it's assuming that local system time is equivalent |
9249 | 10210 | to UTC. If it's not, define the logical name |
9250 | 10211 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
9251 | 10212 | need to be added to UTC to get local time. |
9252 | 10213 | |
9253 | 10214 | =end original |
9254 | 10215 | |
9255 | 10216 | (S) VMS に固有の警告です。 |
9256 | 10217 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
9257 | 10218 | ローカルシステムタイムは UTC と等価であると仮定します。 |
9258 | 10219 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
9259 | 10220 | 時刻を得るために加える必要がある秒数を定義してください。 |
9260 | 10221 | |
9261 | 10222 | =item NULL OP IN RUN |
9262 | 10223 | |
9263 | 10224 | =begin original |
9264 | 10225 | |
9265 | 10226 | (S debugging) Some internal routine called run() with a null opcode |
9266 | 10227 | pointer. |
9267 | 10228 | |
9268 | 10229 | =end original |
9269 | 10230 | |
9270 | 10231 | (S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を |
9271 | 10232 | 呼んだものがあります。 |
9272 | 10233 | |
9273 | 10234 | =item Null picture in formline |
9274 | 10235 | |
9275 | 10236 | =begin original |
9276 | 10237 | |
9277 | 10238 | (F) The first argument to formline must be a valid format picture |
9278 | 10239 | specification. It was found to be empty, which probably means you |
9279 | 10240 | supplied it an uninitialized value. See L<perlform>. |
9280 | 10241 | |
9281 | 10242 | =end original |
9282 | 10243 | |
9283 | 10244 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
9284 | 10245 | なりません。 |
9285 | 10246 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
9286 | 10247 | L<perlform> を参照してください。 |
9287 | 10248 | |
9288 | 10249 | =item Null realloc |
9289 | 10250 | |
9290 | 10251 | =begin original |
9291 | 10252 | |
9292 | 10253 | (P) An attempt was made to realloc NULL. |
9293 | 10254 | |
9294 | 10255 | =end original |
9295 | 10256 | |
9296 | 10257 | (P) realloc NULL を行なおうとしました。 |
9297 | 10258 | |
9298 | 10259 | =item NULL regexp argument |
9299 | 10260 | |
9300 | 10261 | =begin original |
9301 | 10262 | |
9302 | 10263 | (P) The internal pattern matching routines blew it big time. |
9303 | 10264 | |
9304 | 10265 | =end original |
9305 | 10266 | |
9306 | 10267 | (P) 内部パターンマッチルーティンが、大当たりです。 |
9307 | 10268 | |
9308 | 10269 | =item NULL regexp parameter |
9309 | 10270 | |
9310 | 10271 | =begin original |
9311 | 10272 | |
9312 | 10273 | (P) The internal pattern matching routines are out of their gourd. |
9313 | 10274 | |
9314 | 10275 | =end original |
9315 | 10276 | |
9316 | 10277 | (P) 内部パターンマッチルーティンが、狂っています。 |
9317 | 10278 | |
9318 | 10279 | =item Number too long |
9319 | 10280 | |
9320 | 10281 | =begin original |
9321 | 10282 | |
9322 | 10283 | (F) Perl limits the representation of decimal numbers in programs to |
9323 | 10284 | about 250 characters. You've exceeded that length. Future |
9324 | 10285 | versions of Perl are likely to eliminate this arbitrary limitation. In |
9325 | 10286 | the meantime, try using scientific notation (e.g. "1e6" instead of |
9326 | 10287 | "1_000_000"). |
9327 | 10288 | |
9328 | 10289 | =end original |
9329 | 10290 | |
9330 | 10291 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 |
9331 | 10292 | この制限を越えました。 |
9332 | 10293 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
9333 | 10294 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
9334 | 10295 | 使用してください。 |
9335 | 10296 | |
9336 | 10297 | =item Number with no digits |
9337 | 10298 | |
9338 | 10299 | =begin original |
9339 | 10300 | |
9340 | 10301 | (F) Perl was looking for a number but found nothing that looked like |
9341 | 10302 | a number. This happens, for example with C<\o{}>, with no number between |
9342 | 10303 | the braces. |
9343 | 10304 | |
9344 | 10305 | =end original |
9345 | 10306 | |
9346 | 10307 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 |
9347 | 10308 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 |
9348 | 10309 | |
10310 | =item Numeric format result too large | |
10311 | ||
10312 | =begin original | |
10313 | ||
10314 | (F) The length of the result of a numeric format supplied to sprintf() | |
10315 | or printf() would have been too large for the underlying C function to | |
10316 | report. This limit is typically 2GB. | |
10317 | ||
10318 | =end original | |
10319 | ||
10320 | (F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、 | |
10321 | 報告するための基礎となる C 関数にとって大きすぎました。 | |
10322 | この制限は典型的には 2GB です。 | |
10323 | ||
10324 | =item Numeric variables with more than one digit may not start with '0' | |
10325 | ||
10326 | =begin original | |
10327 | ||
10328 | (F) The only numeric variable which is allowed to start with a 0 is C<$0>, | |
10329 | and you mentioned a variable that starts with 0 that has more than one | |
10330 | digit. You probably want to remove the leading 0, or if the intent was | |
10331 | to express a variable name in octal you should convert to decimal. | |
10332 | ||
10333 | =end original | |
10334 | ||
10335 | (F) 0 で始まることが許されている唯一の数値変数は C<$0> で、 | |
10336 | 0 で始まり複数桁ある変数に言及しました。 | |
10337 | おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、 | |
10338 | 10 進数に変換する必要があります。 | |
10339 | ||
9349 | 10340 | =item Octal number > 037777777777 non-portable |
9350 | 10341 | |
9351 | 10342 | =begin original |
9352 | 10343 | |
9353 | 10344 | (W portable) The octal number you specified is larger than 2**32-1 |
9354 | 10345 | (4294967295) and therefore non-portable between systems. See |
9355 | 10346 | L<perlport> for more on portability concerns. |
9356 | 10347 | |
9357 | 10348 | =end original |
9358 | 10349 | |
9359 | 10350 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
9360 | 10351 | システム間で移植性がありません。 |
9361 | 10352 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
9362 | 10353 | |
9363 | =item Odd name/value argument for subroutine | |
10354 | =item Odd name/value argument for subroutine '%s' | |
9364 | 10355 | |
9365 | 10356 | =begin original |
9366 | 10357 | |
9367 | 10358 | (F) A subroutine using a slurpy hash parameter in its signature |
9368 | 10359 | received an odd number of arguments to populate the hash. It requires |
9369 | 10360 | the arguments to be paired, with the same number of keys as values. |
9370 | The caller of the subroutine is presumably at fault. | |
10361 | The caller of the subroutine is presumably at fault. | |
9371 | this error will be reported at the location of the subroutine, not that | |
9372 | of the caller. | |
9373 | 10362 | |
9374 | 10363 | =end original |
9375 | 10364 | |
9376 | 10365 | (F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、 |
9377 | 10366 | ハッシュに展開するために奇数の数の引数を受け取りました。 |
9378 | 10367 | 引数は、同じ数のキーと値のペアになっていることが必要です。 |
9379 | 10368 | サブルーチンの呼び出しものがおそらく間違えているのでしょう。 |
9380 | 不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で | |
9381 | 報告されます。 | |
9382 | 10369 | |
10370 | =begin original | |
10371 | ||
10372 | The message attempts to include the name of the called subroutine. If the | |
10373 | subroutine has been aliased, the subroutine's original name will be shown, | |
10374 | regardless of what name the caller used. | |
10375 | ||
10376 | =end original | |
10377 | ||
10378 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
10379 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
10380 | 元の名前が表示されます。 | |
10381 | ||
9383 | 10382 | =item Odd number of arguments for overload::constant |
9384 | 10383 | |
9385 | 10384 | =begin original |
9386 | 10385 | |
9387 | 10386 | (W overload) The call to overload::constant contained an odd number of |
9388 | 10387 | arguments. The arguments should come in pairs. |
9389 | 10388 | |
9390 | 10389 | =end original |
9391 | 10390 | |
9392 | 10391 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 |
9393 | 10392 | 引数はペアになっている必要があります。 |
9394 | 10393 | |
9395 | 10394 | =item Odd number of elements in anonymous hash |
9396 | 10395 | |
9397 | 10396 | =begin original |
9398 | 10397 | |
9399 | 10398 | (W misc) You specified an odd number of elements to initialize a hash, |
9400 | 10399 | which is odd, because hashes come in key/value pairs. |
9401 | 10400 | |
9402 | 10401 | =end original |
9403 | 10402 | |
9404 | 10403 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
9405 | 10404 | key/value のペアで与えられますから、これは奇妙なことです。 |
9406 | 10405 | |
9407 | 10406 | =item Odd number of elements in hash assignment |
9408 | 10407 | |
9409 | 10408 | =begin original |
9410 | 10409 | |
9411 | 10410 | (W misc) You specified an odd number of elements to initialize a hash, |
9412 | 10411 | which is odd, because hashes come in key/value pairs. |
9413 | 10412 | |
9414 | 10413 | =end original |
9415 | 10414 | |
9416 | 10415 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
9417 | 10416 | key/value のペアで与えられますから、これは奇妙なことです。 |
9418 | 10417 | |
9419 | 10418 | =item Offset outside string |
9420 | 10419 | |
9421 | 10420 | =begin original |
9422 | 10421 | |
9423 | 10422 | (F)(W layer) You tried to do a read/write/send/recv/seek operation |
9424 | 10423 | with an offset pointing outside the buffer. This is difficult to |
9425 | 10424 | imagine. The sole exceptions to this are that zero padding will |
9426 | 10425 | take place when going past the end of the string when either |
9427 | 10426 | C<sysread()>ing a file, or when seeking past the end of a scalar opened |
9428 | 10427 | for I/O (in anticipation of future reads and to imitate the behavior |
9429 | 10428 | with real files). |
9430 | 10429 | |
9431 | 10430 | =end original |
9432 | 10431 | |
9433 | 10432 | (F)(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を |
9434 | 10433 | しようとしました。 |
9435 | 10434 | これは想像しにくいことです。 |
9436 | 10435 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 |
9437 | 10436 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) |
9438 | 10437 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 |
9439 | 10438 | 0 でパッディングされたときです。 |
9440 | 10439 | |
10440 | =item Old package separator used in string | |
10441 | ||
10442 | =begin original | |
10443 | ||
10444 | (W syntax) You used the old package separator, "'", in a variable | |
10445 | named inside a double-quoted string; e.g., C<"In $name's house">. This | |
10446 | is equivalent to C<"In $name::s house">. If you meant the former, put | |
10447 | a backslash before the apostrophe (C<"In $name\'s house">). | |
10448 | ||
10449 | =end original | |
10450 | ||
10451 | (W syntax) ダブルクォートされた文字列の中の変数名で、 | |
10452 | C<"In $name's house"> のように、 | |
10453 | 古いパッケージ区切り文字である "'" を使いました。 | |
10454 | これは C<"In $name::s house"> と等価です。 | |
10455 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
10456 | (C<"In $name\'s house">)。 | |
10457 | ||
9441 | 10458 | =item %s() on unopened %s |
9442 | 10459 | |
9443 | 10460 | =begin original |
9444 | 10461 | |
9445 | 10462 | (W unopened) An I/O operation was attempted on a filehandle that was |
9446 | 10463 | never initialized. You need to do an open(), a sysopen(), or a socket() |
9447 | 10464 | call, or call a constructor from the FileHandle package. |
9448 | 10465 | |
9449 | 10466 | =end original |
9450 | 10467 | |
9451 | 10468 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
9452 | 10469 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
9453 | 10470 | コンストラクタを呼び出す必要があります。 |
9454 | 10471 | |
9455 | 10472 | =item -%s on unopened filehandle %s |
9456 | 10473 | |
9457 | 10474 | =begin original |
9458 | 10475 | |
9459 | 10476 | (W unopened) You tried to invoke a file test operator on a filehandle |
9460 | 10477 | that isn't open. Check your control flow. See also L<perlfunc/-X>. |
9461 | 10478 | |
9462 | 10479 | =end original |
9463 | 10480 | |
9464 | 10481 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を |
9465 | 10482 | 使おうとしました。 |
9466 | 10483 | 制御フローをチェックしてください。 |
9467 | 10484 | L<perlfunc/-X> も参照してください。 |
9468 | 10485 | |
9469 | 10486 | =item oops: oopsAV |
9470 | 10487 | |
9471 | 10488 | =begin original |
9472 | 10489 | |
9473 | 10490 | (S internal) An internal warning that the grammar is screwed up. |
9474 | 10491 | |
9475 | 10492 | =end original |
9476 | 10493 | |
9477 | 10494 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
9478 | 10495 | |
9479 | 10496 | =item oops: oopsHV |
9480 | 10497 | |
9481 | 10498 | =begin original |
9482 | 10499 | |
9483 | 10500 | (S internal) An internal warning that the grammar is screwed up. |
9484 | 10501 | |
9485 | 10502 | =end original |
9486 | 10503 | |
9487 | 10504 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
9488 | 10505 | |
9489 | =item Opening dirhandle %s also as a file | |
9490 | ||
9491 | =begin original | |
9492 | ||
9493 | (D io, deprecated) You used open() to associate a filehandle to | |
9494 | a symbol (glob or scalar) that already holds a dirhandle. | |
9495 | Although legal, this idiom might render your code confusing | |
9496 | and is deprecated. | |
9497 | ||
9498 | =end original | |
9499 | ||
9500 | (D io, deprecated) open() で、既にディレクトリハンドルを保持しているシンボル | |
9501 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 | |
9502 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
9503 | あるので非推奨です。 | |
9504 | ||
9505 | =item Opening filehandle %s also as a directory | |
9506 | ||
9507 | =begin original | |
9508 | ||
9509 | (D io, deprecated) You used opendir() to associate a dirhandle to | |
9510 | a symbol (glob or scalar) that already holds a filehandle. | |
9511 | Although legal, this idiom might render your code confusing | |
9512 | and is deprecated. | |
9513 | ||
9514 | =end original | |
9515 | ||
9516 | (D io, deprecated) すでにファイルハンドルを保持しているシンボル | |
9517 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
9518 | opendir() を使いました。 | |
9519 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
9520 | あるので非推奨です。 | |
9521 | ||
9522 | 10506 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in |
9523 | 10507 | m/%s/ |
9524 | 10508 | |
9525 | 10509 | =begin original |
9526 | 10510 | |
9527 | 10511 | (F) You wrote something like |
9528 | 10512 | |
9529 | 10513 | =end original |
9530 | 10514 | |
9531 | 10515 | (F) 以下のようなものを書きました |
9532 | 10516 | |
9533 | 10517 | (?[ \p{Digit} \p{Thai} ]) |
9534 | 10518 | |
9535 | 10519 | =begin original |
9536 | 10520 | |
9537 | 10521 | There are two operands, but no operator giving how you want to combine |
9538 | 10522 | them. |
9539 | 10523 | |
9540 | 10524 | =end original |
9541 | 10525 | |
9542 | 10526 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する |
9543 | 10527 | 演算子がありません。 |
9544 | 10528 | |
9545 | 10529 | =item Operation "%s": no method found, %s |
9546 | 10530 | |
9547 | 10531 | =begin original |
9548 | 10532 | |
9549 | 10533 | (F) An attempt was made to perform an overloaded operation for which no |
9550 | 10534 | handler was defined. While some handlers can be autogenerated in terms |
9551 | 10535 | of other handlers, there is no default handler for any operation, unless |
9552 | 10536 | the C<fallback> overloading key is specified to be true. See L<overload>. |
9553 | 10537 | |
9554 | 10538 | =end original |
9555 | 10539 | |
9556 | 10540 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
9557 | 10541 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
9558 | 10542 | オーバーロードキーが真に指定されていない限り、どの動作にも |
9559 | 10543 | デフォルトのハンドラはありません。 |
9560 | 10544 | L<overload> を参照してください。 |
9561 | 10545 | |
9562 | 10546 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X |
9563 | 10547 | |
9564 | 10548 | =begin original |
9565 | 10549 | |
9566 | 10550 | (S non_unicode) You performed an operation requiring Unicode rules |
9567 | 10551 | on a code point that is not in Unicode, so what it should do is not |
9568 | 10552 | defined. Perl has chosen to have it do nothing, and warn you. |
9569 | 10553 | |
9570 | 10554 | =end original |
9571 | 10555 | |
9572 | 10556 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が |
9573 | 10557 | 必要な操作を実行しました; 何をするべきかは未定義です。 |
9574 | 10558 | Perl は何もしないことを選択し、警告を出します。 |
9575 | 10559 | |
9576 | 10560 | =begin original |
9577 | 10561 | |
9578 | 10562 | If the operation shown is "ToFold", it means that case-insensitive |
9579 | 10563 | matching in a regular expression was done on the code point. |
9580 | 10564 | |
9581 | 10565 | =end original |
9582 | 10566 | |
9583 | 10567 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
9584 | 10568 | その符号位置に対して行われたということです。 |
9585 | 10569 | |
9586 | 10570 | =begin original |
9587 | 10571 | |
9588 | 10572 | If you know what you are doing you can turn off this warning by |
9589 | 10573 | C<no warnings 'non_unicode';>. |
9590 | 10574 | |
9591 | 10575 | =end original |
9592 | 10576 | |
9593 | 10577 | 自分で何をしているのかが分かっているなら、 |
9594 | 10578 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 |
9595 | 10579 | |
9596 | 10580 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X |
9597 | 10581 | |
9598 | 10582 | =begin original |
9599 | 10583 | |
9600 | 10584 | (S surrogate) You performed an operation requiring Unicode |
9601 | 10585 | rules on a Unicode surrogate. Unicode frowns upon the use |
9602 | 10586 | of surrogates for anything but storing strings in UTF-16, but |
9603 | 10587 | rules are (reluctantly) defined for the surrogates, and |
9604 | 10588 | they are to do nothing for this operation. Because the use of |
9605 | 10589 | surrogates can be dangerous, Perl warns. |
9606 | 10590 | |
9607 | 10591 | =end original |
9608 | 10592 | |
9609 | 10593 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な |
9610 | 10594 | 操作を実行しました。 |
9611 | 10595 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに |
9612 | 10596 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは |
9613 | 10597 | この操作に対して何もしないことです。 |
9614 | 10598 | サロゲートの使用は危険かも知れないので、Perl は警告します。 |
9615 | 10599 | |
9616 | 10600 | =begin original |
9617 | 10601 | |
9618 | 10602 | If the operation shown is "ToFold", it means that case-insensitive |
9619 | 10603 | matching in a regular expression was done on the code point. |
9620 | 10604 | |
9621 | 10605 | =end original |
9622 | 10606 | |
9623 | 10607 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
9624 | 10608 | その符号位置に対して行われたということです。 |
9625 | 10609 | |
9626 | 10610 | =begin original |
9627 | 10611 | |
9628 | 10612 | If you know what you are doing you can turn off this warning by |
9629 | 10613 | C<no warnings 'surrogate';>. |
9630 | 10614 | |
9631 | 10615 | =end original |
9632 | 10616 | |
9633 | 10617 | 自分で何をしているのかが分かっているなら、 |
9634 | 10618 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
9635 | 10619 | |
9636 | 10620 | =item Operator or semicolon missing before %s |
9637 | 10621 | |
9638 | 10622 | =begin original |
9639 | 10623 | |
9640 | 10624 | (S ambiguous) You used a variable or subroutine call where the parser |
9641 | 10625 | was expecting an operator. The parser has assumed you really meant to |
9642 | 10626 | use an operator, but this is highly likely to be incorrect. For |
9643 | 10627 | example, if you say "*foo *foo" it will be interpreted as if you said |
9644 | 10628 | "*foo * 'foo'". |
9645 | 10629 | |
9646 | 10630 | =end original |
9647 | 10631 | |
9648 | 10632 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
9649 | 10633 | 呼び出しが使われました。 |
9650 | 10634 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
9651 | 10635 | これは大抵正しくありません。 |
9652 | 10636 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
9653 | 10637 | |
9654 | 10638 | =item Optional parameter lacks default expression |
9655 | 10639 | |
9656 | 10640 | =begin original |
9657 | 10641 | |
9658 | 10642 | (F) In a subroutine signature, you wrote something like "$a =", making a |
9659 | 10643 | named optional parameter without a default value. A nameless optional |
9660 | 10644 | parameter is permitted to have no default value, but a named one must |
9661 | 10645 | have a specific default. You probably want "$a = undef". |
9662 | 10646 | |
9663 | 10647 | =end original |
9664 | 10648 | |
9665 | 10649 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き |
9666 | 10650 | オプション引数を書きました。 |
9667 | 10651 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 |
9668 | 10652 | 名前付きのものはデフォルトを指定しなければなりません。 |
9669 | 10653 | おそらく "$a = undef" としたかったのでしょう。 |
9670 | 10654 | |
9671 | 10655 | =item "our" variable %s redeclared |
9672 | 10656 | |
9673 | 10657 | =begin original |
9674 | 10658 | |
9675 | (W | |
10659 | (W shadow) You seem to have already declared the same global once before | |
9676 | 10660 | in the current lexical scope. |
9677 | 10661 | |
9678 | 10662 | =end original |
9679 | 10663 | |
9680 | (W | |
10664 | (W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
9681 | 10665 | 宣言しているようです。 |
9682 | 10666 | |
9683 | 10667 | =item Out of memory! |
9684 | 10668 | |
9685 | 10669 | =begin original |
9686 | 10670 | |
9687 | 10671 | (X) The malloc() function returned 0, indicating there was insufficient |
9688 | 10672 | remaining memory (or virtual memory) to satisfy the request. Perl has |
9689 | 10673 | no option but to exit immediately. |
9690 | 10674 | |
9691 | 10675 | =end original |
9692 | 10676 | |
9693 | 10677 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
9694 | 10678 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
9695 | 10679 | Perl は直ちに終了するしかありませんでした。 |
9696 | 10680 | |
9697 | 10681 | =begin original |
9698 | 10682 | |
9699 | 10683 | At least in Unix you may be able to get past this by increasing your |
9700 | 10684 | process datasize limits: in csh/tcsh use C<limit> and |
9701 | 10685 | C<limit datasize n> (where C<n> is the number of kilobytes) to check |
9702 | 10686 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> |
9703 | 10687 | and C<ulimit -d n>, respectively. |
9704 | 10688 | |
9705 | 10689 | =end original |
9706 | 10690 | |
9707 | 10691 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって |
9708 | 10692 | これを回避することが可能です: |
9709 | 10693 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには |
9710 | 10694 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; |
9711 | 10695 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 |
9712 | 10696 | |
9713 | 10697 | =item Out of memory during %s extend |
9714 | 10698 | |
9715 | 10699 | =begin original |
9716 | 10700 | |
9717 | 10701 | (X) An attempt was made to extend an array, a list, or a string beyond |
9718 | 10702 | the largest possible memory allocation. |
9719 | 10703 | |
9720 | 10704 | =end original |
9721 | 10705 | |
9722 | 10706 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 |
9723 | 10707 | |
9724 | 10708 | =item Out of memory during "large" request for %s |
9725 | 10709 | |
9726 | 10710 | =begin original |
9727 | 10711 | |
9728 | 10712 | (F) The malloc() function returned 0, indicating there was insufficient |
9729 | 10713 | remaining memory (or virtual memory) to satisfy the request. However, |
9730 | 10714 | the request was judged large enough (compile-time default is 64K), so a |
9731 | 10715 | possibility to shut down by trapping this error is granted. |
9732 | 10716 | |
9733 | 10717 | =end original |
9734 | 10718 | |
9735 | 10719 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
9736 | 10720 | (または仮想メモリ)が不十分であることを示しています。 |
9737 | 10721 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
9738 | 10722 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
9739 | 10723 | |
9740 | 10724 | =item Out of memory during request for %s |
9741 | 10725 | |
9742 | 10726 | =begin original |
9743 | 10727 | |
9744 | 10728 | (X)(F) The malloc() function returned 0, indicating there was |
9745 | 10729 | insufficient remaining memory (or virtual memory) to satisfy the |
9746 | 10730 | request. |
9747 | 10731 | |
9748 | 10732 | =end original |
9749 | 10733 | |
9750 | 10734 | (X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
9751 | 10735 | (または仮想メモリ)が不十分であることを示しています。 |
9752 | 10736 | |
9753 | 10737 | =begin original |
9754 | 10738 | |
9755 | 10739 | The request was judged to be small, so the possibility to trap it |
9756 | 10740 | depends on the way perl was compiled. By default it is not trappable. |
9757 | 10741 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
9758 | 10742 | emergency pool after die()ing with this message. In this case the error |
9759 | 10743 | is trappable I<once>, and the error message will include the line and file |
9760 | 10744 | where the failed request happened. |
9761 | 10745 | |
9762 | 10746 | =end original |
9763 | 10747 | |
9764 | 10748 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
9765 | 10749 | どのようにコンパイルされたかに依存します。 |
9766 | 10750 | デフォルトではこれはトラップできません。 |
9767 | 10751 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
9768 | 10752 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
9769 | 10753 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
9770 | 10754 | 要求が起きたファイルと行番号を含んでいます。 |
9771 | 10755 | |
9772 | 10756 | =item Out of memory during ridiculously large request |
9773 | 10757 | |
9774 | 10758 | =begin original |
9775 | 10759 | |
9776 | 10760 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
9777 | 10761 | is most likely to be caused by a typo in the Perl program. e.g., |
9778 | 10762 | C<$arr[time]> instead of C<$arr[$time]>. |
9779 | 10763 | |
9780 | 10764 | =end original |
9781 | 10765 | |
9782 | 10766 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
9783 | 10767 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 |
9784 | 10768 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 |
9785 | 10769 | |
9786 | 10770 | =item Out of memory for yacc stack |
9787 | 10771 | |
9788 | 10772 | =begin original |
9789 | 10773 | |
9790 | 10774 | (F) The yacc parser wanted to grow its stack so it could continue |
9791 | 10775 | parsing, but realloc() wouldn't give it more memory, virtual or |
9792 | 10776 | otherwise. |
9793 | 10777 | |
9794 | 10778 | =end original |
9795 | 10779 | |
9796 | 10780 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
9797 | 10781 | realloc() が仮想やその他のメモリを確保できませんでした。 |
9798 | 10782 | |
9799 | 10783 | =item '.' outside of string in pack |
9800 | 10784 | |
9801 | 10785 | =begin original |
9802 | 10786 | |
9803 | 10787 | (F) The argument to a '.' in your template tried to move the working |
9804 | 10788 | position to before the start of the packed string being built. |
9805 | 10789 | |
9806 | 10790 | =end original |
9807 | 10791 | |
9808 | 10792 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも |
9809 | 10793 | 前に作業位置を移動しようとしました。 |
9810 | 10794 | |
9811 | 10795 | =item '@' outside of string in unpack |
9812 | 10796 | |
9813 | 10797 | =begin original |
9814 | 10798 | |
9815 | 10799 | (F) You had a template that specified an absolute position outside |
9816 | 10800 | the string being unpacked. See L<perlfunc/pack>. |
9817 | 10801 | |
9818 | 10802 | =end original |
9819 | 10803 | |
9820 | 10804 | (F) unpack される文字列の外に絶対位置指定している、 |
9821 | 10805 | テンプレートを指定しました。 |
9822 | 10806 | L<perlfunc/pack> を参照してください。 |
9823 | 10807 | |
9824 | 10808 | =item '@' outside of string with malformed UTF-8 in unpack |
9825 | 10809 | |
9826 | 10810 | =begin original |
9827 | 10811 | |
9828 | 10812 | (F) You had a template that specified an absolute position outside |
9829 | 10813 | the string being unpacked. The string being unpacked was also invalid |
9830 | 10814 | UTF-8. See L<perlfunc/pack>. |
9831 | 10815 | |
9832 | 10816 | =end original |
9833 | 10817 | |
9834 | 10818 | (F) unpack される文字列の外に絶対位置指定している、 |
9835 | 10819 | テンプレートを指定しました。 |
9836 | 10820 | unpack された文字列は不正な UTF-8 でもあります。 |
9837 | 10821 | L<perlfunc/pack> を参照してください。 |
9838 | 10822 | |
9839 | 10823 | =item overload arg '%s' is invalid |
9840 | 10824 | |
9841 | 10825 | =begin original |
9842 | 10826 | |
9843 | 10827 | (W overload) The L<overload> pragma was passed an argument it did not |
9844 | 10828 | recognize. Did you mistype an operator? |
9845 | 10829 | |
9846 | 10830 | =end original |
9847 | 10831 | |
9848 | 10832 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 |
9849 | 10833 | 演算子をタイプミスしましたか? |
9850 | 10834 | |
9851 | 10835 | =item Overloaded dereference did not return a reference |
9852 | 10836 | |
9853 | 10837 | =begin original |
9854 | 10838 | |
9855 | 10839 | (F) An object with an overloaded dereference operator was dereferenced, |
9856 | 10840 | but the overloaded operation did not return a reference. See |
9857 | 10841 | L<overload>. |
9858 | 10842 | |
9859 | 10843 | =end original |
9860 | 10844 | |
9861 | 10845 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが |
9862 | 10846 | デリファレンスされましたが、オーバーロード演算がリファレンスを |
9863 | 10847 | 返しませんでした。 |
9864 | 10848 | L<overload> を参照してください。 |
9865 | 10849 | |
9866 | 10850 | =item Overloaded qr did not return a REGEXP |
9867 | 10851 | |
9868 | 10852 | =begin original |
9869 | 10853 | |
9870 | 10854 | (F) An object with a C<qr> overload was used as part of a match, but the |
9871 | 10855 | overloaded operation didn't return a compiled regexp. See L<overload>. |
9872 | 10856 | |
9873 | 10857 | =end original |
9874 | 10858 | |
9875 | 10859 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として |
9876 | 10860 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を |
9877 | 10861 | 返しませんでした。 |
9878 | 10862 | L<overload> を参照してください。 |
9879 | 10863 | |
9880 | 10864 | =item %s package attribute may clash with future reserved word: %s |
9881 | 10865 | |
9882 | 10866 | =begin original |
9883 | 10867 | |
9884 | 10868 | (W reserved) A lowercase attribute name was used that had a |
9885 | 10869 | package-specific handler. That name might have a meaning to Perl itself |
9886 | 10870 | some day, even though it doesn't yet. Perhaps you should use a |
9887 | 10871 | mixed-case attribute name, instead. See L<attributes>. |
9888 | 10872 | |
9889 | 10873 | =end original |
9890 | 10874 | |
9891 | 10875 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
9892 | 10876 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
9893 | 10877 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
9894 | 10878 | L<attributes> を参照してください。 |
9895 | 10879 | |
9896 | 10880 | =item pack/unpack repeat count overflow |
9897 | 10881 | |
9898 | 10882 | =begin original |
9899 | 10883 | |
9900 | 10884 | (F) You can't specify a repeat count so large that it overflows your |
9901 | 10885 | signed integers. See L<perlfunc/pack>. |
9902 | 10886 | |
9903 | 10887 | =end original |
9904 | 10888 | |
9905 | 10889 | (F) 繰り返し回数として符号付き整数をオーバーフローするような |
9906 | 10890 | 値は指定できません。 |
9907 | 10891 | L<perlfunc/pack> を参照してください。 |
9908 | 10892 | |
9909 | 10893 | =item page overflow |
9910 | 10894 | |
9911 | 10895 | =begin original |
9912 | 10896 | |
9913 | 10897 | (W io) A single call to write() produced more lines than can fit on a |
9914 | 10898 | page. See L<perlform>. |
9915 | 10899 | |
9916 | 10900 | =end original |
9917 | 10901 | |
9918 | 10902 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が |
9919 | 10903 | できました。 |
9920 | 10904 | L<perlform> を参照してください。 |
9921 | 10905 | |
9922 | 10906 | =item panic: %s |
9923 | 10907 | |
9924 | 10908 | =begin original |
9925 | 10909 | |
9926 | 10910 | (P) An internal error. |
9927 | 10911 | |
9928 | 10912 | =end original |
9929 | 10913 | |
9930 | 10914 | (P) 内部エラーです。 |
9931 | 10915 | |
9932 | 10916 | =item panic: attempt to call %s in %s |
9933 | 10917 | |
9934 | 10918 | =begin original |
9935 | 10919 | |
9936 | 10920 | (P) One of the file test operators entered a code branch that calls |
9937 | 10921 | an ACL related-function, but that function is not available on this |
9938 | 10922 | platform. Earlier checks mean that it should not be possible to |
9939 | 10923 | enter this branch on this platform. |
9940 | 10924 | |
9941 | 10925 | =end original |
9942 | 10926 | |
9943 | 10927 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に |
9944 | 10928 | 入りましたが、この関数はこのプラットフォームでは利用できません。 |
9945 | 10929 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように |
9946 | 10930 | するべきことを意味します。 |
9947 | 10931 | |
9948 | 10932 | =item panic: child pseudo-process was never scheduled |
9949 | 10933 | |
9950 | 10934 | =begin original |
9951 | 10935 | |
9952 | 10936 | (P) A child pseudo-process in the ithreads implementation on Windows |
9953 | 10937 | was not scheduled within the time period allowed and therefore was not |
9954 | 10938 | able to initialize properly. |
9955 | 10939 | |
9956 | 10940 | =end original |
9957 | 10941 | |
9958 | 10942 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に |
9959 | 10943 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 |
9960 | 10944 | |
9961 | 10945 | =item panic: ck_grep, type=%u |
9962 | 10946 | |
9963 | 10947 | =begin original |
9964 | 10948 | |
9965 | 10949 | (P) Failed an internal consistency check trying to compile a grep. |
9966 | 10950 | |
9967 | 10951 | =end original |
9968 | 10952 | |
9969 | 10953 | (P) grep をコンパイルしようとして、内部の一貫性チェックに |
9970 | 10954 | 引っ掛かりました。 |
9971 | 10955 | |
9972 | =item panic: ck_split, type=%u | |
9973 | ||
9974 | =begin original | |
9975 | ||
9976 | (P) Failed an internal consistency check trying to compile a split. | |
9977 | ||
9978 | =end original | |
9979 | ||
9980 | (P) split をコンパイルしようとして、内部の一貫性チェックに | |
9981 | 引っ掛かりました。 | |
9982 | ||
9983 | 10956 | =item panic: corrupt saved stack index %ld |
9984 | 10957 | |
9985 | 10958 | =begin original |
9986 | 10959 | |
9987 | 10960 | (P) The savestack was requested to restore more localized values than |
9988 | 10961 | there are in the savestack. |
9989 | 10962 | |
9990 | 10963 | =end original |
9991 | 10964 | |
9992 | 10965 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
9993 | 10966 | 要求がありました。 |
9994 | 10967 | |
9995 | 10968 | =item panic: del_backref |
9996 | 10969 | |
9997 | 10970 | =begin original |
9998 | 10971 | |
9999 | 10972 | (P) Failed an internal consistency check while trying to reset a weak |
10000 | 10973 | reference. |
10001 | 10974 | |
10002 | 10975 | =end original |
10003 | 10976 | |
10004 | 10977 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
10005 | 10978 | 一貫性チェックに引っ掛かりました。 |
10006 | 10979 | |
10007 | =item panic: die %s | |
10008 | ||
10009 | =begin original | |
10010 | ||
10011 | (P) We popped the context stack to an eval context, and then discovered | |
10012 | it wasn't an eval context. | |
10013 | ||
10014 | =end original | |
10015 | ||
10016 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
10017 | eval コンテキストでないことがわかりました。 | |
10018 | ||
10019 | 10980 | =item panic: do_subst |
10020 | 10981 | |
10021 | 10982 | =begin original |
10022 | 10983 | |
10023 | 10984 | (P) The internal pp_subst() routine was called with invalid operational |
10024 | 10985 | data. |
10025 | 10986 | |
10026 | 10987 | =end original |
10027 | 10988 | |
10028 | 10989 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを |
10029 | 10990 | 付けて呼ばれました。 |
10030 | 10991 | |
10031 | 10992 | =item panic: do_trans_%s |
10032 | 10993 | |
10033 | 10994 | =begin original |
10034 | 10995 | |
10035 | 10996 | (P) The internal do_trans routines were called with invalid operational |
10036 | 10997 | data. |
10037 | 10998 | |
10038 | 10999 | =end original |
10039 | 11000 | |
10040 | 11001 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを |
10041 | 11002 | 付けて呼ばれました。 |
10042 | 11003 | |
10043 | 11004 | =item panic: fold_constants JMPENV_PUSH returned %d |
10044 | 11005 | |
10045 | 11006 | =begin original |
10046 | 11007 | |
10047 | 11008 | (P) While attempting folding constants an exception other than an C<eval> |
10048 | 11009 | failure was caught. |
10049 | 11010 | |
10050 | 11011 | =end original |
10051 | 11012 | |
10052 | 11013 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 |
10053 | 11014 | |
10054 | 11015 | =item panic: frexp: %f |
10055 | 11016 | |
10056 | 11017 | =begin original |
10057 | 11018 | |
10058 | 11019 | (P) The library function frexp() failed, making printf("%f") impossible. |
10059 | 11020 | |
10060 | 11021 | =end original |
10061 | 11022 | |
10062 | 11023 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
10063 | 11024 | |
10064 | 11025 | =item panic: goto, type=%u, ix=%ld |
10065 | 11026 | |
10066 | 11027 | =begin original |
10067 | 11028 | |
10068 | 11029 | (P) We popped the context stack to a context with the specified label, |
10069 | 11030 | and then discovered it wasn't a context we know how to do a goto in. |
10070 | 11031 | |
10071 | 11032 | =end original |
10072 | 11033 | |
10073 | 11034 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
10074 | 11035 | ポップしたあと、どのように goto するかがわかっている |
10075 | 11036 | コンテキストでないことがわかりました。 |
10076 | 11037 | |
10077 | 11038 | =item panic: gp_free failed to free glob pointer |
10078 | 11039 | |
10079 | 11040 | =begin original |
10080 | 11041 | |
10081 | 11042 | (P) The internal routine used to clear a typeglob's entries tried |
10082 | 11043 | repeatedly, but each time something re-created entries in the glob. |
10083 | 11044 | Most likely the glob contains an object with a reference back to |
10084 | 11045 | the glob and a destructor that adds a new object to the glob. |
10085 | 11046 | |
10086 | 11047 | =end original |
10087 | 11048 | |
10088 | 11049 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 |
10089 | 11050 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 |
10090 | 11051 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを |
10091 | 11052 | 追加するデストラクタを持つオブジェクトが含まれています。 |
10092 | 11053 | |
10093 | 11054 | =item panic: INTERPCASEMOD, %s |
10094 | 11055 | |
10095 | 11056 | =begin original |
10096 | 11057 | |
10097 | 11058 | (P) The lexer got into a bad state at a case modifier. |
10098 | 11059 | |
10099 | 11060 | =end original |
10100 | 11061 | |
10101 | 11062 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
10102 | 11063 | |
10103 | 11064 | =item panic: INTERPCONCAT, %s |
10104 | 11065 | |
10105 | 11066 | =begin original |
10106 | 11067 | |
10107 | 11068 | (P) The lexer got into a bad state parsing a string with brackets. |
10108 | 11069 | |
10109 | 11070 | =end original |
10110 | 11071 | |
10111 | 11072 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 |
10112 | 11073 | |
10113 | 11074 | =item panic: kid popen errno read |
10114 | 11075 | |
10115 | 11076 | =begin original |
10116 | 11077 | |
10117 | 11078 | (F) A forked child returned an incomprehensible message about its errno. |
10118 | 11079 | |
10119 | 11080 | =end original |
10120 | 11081 | |
10121 | 11082 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
10122 | 11083 | |
10123 | 11084 | =item panic: last, type=%u |
10124 | 11085 | |
10125 | 11086 | =begin original |
10126 | 11087 | |
10127 | 11088 | (P) We popped the context stack to a block context, and then discovered |
10128 | 11089 | it wasn't a block context. |
10129 | 11090 | |
10130 | 11091 | =end original |
10131 | 11092 | |
10132 | 11093 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
10133 | 11094 | block コンテキストでないことがわかりました。 |
10134 | 11095 | |
10135 | 11096 | =item panic: leave_scope clearsv |
10136 | 11097 | |
10137 | 11098 | =begin original |
10138 | 11099 | |
10139 | 11100 | (P) A writable lexical variable became read-only somehow within the |
10140 | 11101 | scope. |
10141 | 11102 | |
10142 | 11103 | =end original |
10143 | 11104 | |
10144 | 11105 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
10145 | 11106 | リードオンリーになりました。 |
10146 | 11107 | |
10147 | 11108 | =item panic: leave_scope inconsistency %u |
10148 | 11109 | |
10149 | 11110 | =begin original |
10150 | 11111 | |
10151 | 11112 | (P) The savestack probably got out of sync. At least, there was an |
10152 | 11113 | invalid enum on the top of it. |
10153 | 11114 | |
10154 | 11115 | =end original |
10155 | 11116 | |
10156 | 11117 | (P) おそらく、セーブスタックの同期がとれていません。 |
10157 | 11118 | 少なくとも、トップに不正な enum がありました。 |
10158 | 11119 | |
10159 | 11120 | =item panic: magic_killbackrefs |
10160 | 11121 | |
10161 | 11122 | =begin original |
10162 | 11123 | |
10163 | 11124 | (P) Failed an internal consistency check while trying to reset all weak |
10164 | 11125 | references to an object. |
10165 | 11126 | |
10166 | 11127 | =end original |
10167 | 11128 | |
10168 | 11129 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
10169 | 11130 | 一貫性チェックに引っ掛かりました。 |
10170 | 11131 | |
10171 | 11132 | =item panic: malloc, %s |
10172 | 11133 | |
10173 | 11134 | =begin original |
10174 | 11135 | |
10175 | 11136 | (P) Something requested a negative number of bytes of malloc. |
10176 | 11137 | |
10177 | 11138 | =end original |
10178 | 11139 | |
10179 | 11140 | (P) malloc に負のバイト数で要求が行なわれました。 |
10180 | 11141 | |
10181 | 11142 | =item panic: memory wrap |
10182 | 11143 | |
10183 | 11144 | =begin original |
10184 | 11145 | |
10185 | 11146 | (P) Something tried to allocate either more memory than possible or a |
10186 | 11147 | negative amount. |
10187 | 11148 | |
10188 | 11149 | =end original |
10189 | 11150 | |
10190 | 11151 | (P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。 |
10191 | 11152 | |
10192 | 11153 | =item panic: pad_alloc, %p!=%p |
10193 | 11154 | |
10194 | 11155 | =begin original |
10195 | 11156 | |
10196 | 11157 | (P) The compiler got confused about which scratch pad it was allocating |
10197 | 11158 | and freeing temporaries and lexicals from. |
10198 | 11159 | |
10199 | 11160 | =end original |
10200 | 11161 | |
10201 | 11162 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10202 | 11163 | スクラッチパッドについて混乱しました。 |
10203 | 11164 | |
10204 | 11165 | =item panic: pad_free curpad, %p!=%p |
10205 | 11166 | |
10206 | 11167 | =begin original |
10207 | 11168 | |
10208 | 11169 | (P) The compiler got confused about which scratch pad it was allocating |
10209 | 11170 | and freeing temporaries and lexicals from. |
10210 | 11171 | |
10211 | 11172 | =end original |
10212 | 11173 | |
10213 | 11174 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10214 | 11175 | スクラッチパッドについて混乱しました。 |
10215 | 11176 | |
10216 | 11177 | =item panic: pad_free po |
10217 | 11178 | |
10218 | 11179 | =begin original |
10219 | 11180 | |
10220 | 11181 | (P) A zero scratch pad offset was detected internally. An attempt was |
10221 | 11182 | made to free a target that had not been allocated to begin with. |
10222 | 11183 | |
10223 | 11184 | =end original |
10224 | 11185 | |
10225 | 11186 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 |
10226 | 11187 | 始めるために割り当てられていないターゲットを解放しようとしました。 |
10227 | 11188 | |
10228 | 11189 | =item panic: pad_reset curpad, %p!=%p |
10229 | 11190 | |
10230 | 11191 | =begin original |
10231 | 11192 | |
10232 | 11193 | (P) The compiler got confused about which scratch pad it was allocating |
10233 | 11194 | and freeing temporaries and lexicals from. |
10234 | 11195 | |
10235 | 11196 | =end original |
10236 | 11197 | |
10237 | 11198 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10238 | 11199 | スクラッチパッドについて混乱しました。 |
10239 | 11200 | |
10240 | 11201 | =item panic: pad_sv po |
10241 | 11202 | |
10242 | 11203 | =begin original |
10243 | 11204 | |
10244 | 11205 | (P) A zero scratch pad offset was detected internally. Most likely |
10245 | 11206 | an operator needed a target but that target had not been allocated |
10246 | 11207 | for whatever reason. |
10247 | 11208 | |
10248 | 11209 | =end original |
10249 | 11210 | |
10250 | 11211 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 |
10251 | 11212 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で |
10252 | 11213 | 割り当てられていません。 |
10253 | 11214 | |
10254 | 11215 | =item panic: pad_swipe curpad, %p!=%p |
10255 | 11216 | |
10256 | 11217 | =begin original |
10257 | 11218 | |
10258 | 11219 | (P) The compiler got confused about which scratch pad it was allocating |
10259 | 11220 | and freeing temporaries and lexicals from. |
10260 | 11221 | |
10261 | 11222 | =end original |
10262 | 11223 | |
10263 | 11224 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10264 | 11225 | スクラッチパッドについて混乱しました。 |
10265 | 11226 | |
10266 | 11227 | =item panic: pad_swipe po |
10267 | 11228 | |
10268 | 11229 | =begin original |
10269 | 11230 | |
10270 | 11231 | (P) An invalid scratch pad offset was detected internally. |
10271 | 11232 | |
10272 | 11233 | =end original |
10273 | 11234 | |
10274 | 11235 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
10275 | 11236 | |
10276 | 11237 | =item panic: pp_iter, type=%u |
10277 | 11238 | |
10278 | 11239 | =begin original |
10279 | 11240 | |
10280 | 11241 | (P) The foreach iterator got called in a non-loop context frame. |
10281 | 11242 | |
10282 | 11243 | =end original |
10283 | 11244 | |
10284 | 11245 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
10285 | 11246 | |
10286 | 11247 | =item panic: pp_match%s |
10287 | 11248 | |
10288 | 11249 | =begin original |
10289 | 11250 | |
10290 | 11251 | (P) The internal pp_match() routine was called with invalid operational |
10291 | 11252 | data. |
10292 | 11253 | |
10293 | 11254 | =end original |
10294 | 11255 | |
10295 | 11256 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを |
10296 | 11257 | 付けて呼ばれました。 |
10297 | 11258 | |
10298 | =item panic: pp_split, pm=%p, s=%p | |
10299 | ||
10300 | =begin original | |
10301 | ||
10302 | (P) Something terrible went wrong in setting up for the split. | |
10303 | ||
10304 | =end original | |
10305 | ||
10306 | (P) split の準備中に何かまずいことが起こってしまいました。 | |
10307 | ||
10308 | 11259 | =item panic: realloc, %s |
10309 | 11260 | |
10310 | 11261 | =begin original |
10311 | 11262 | |
10312 | 11263 | (P) Something requested a negative number of bytes of realloc. |
10313 | 11264 | |
10314 | 11265 | =end original |
10315 | 11266 | |
10316 | 11267 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
10317 | 11268 | |
10318 | 11269 | =item panic: reference miscount on nsv in sv_replace() (%d != 1) |
10319 | 11270 | |
10320 | 11271 | =begin original |
10321 | 11272 | |
10322 | 11273 | (P) The internal sv_replace() function was handed a new SV with a |
10323 | 11274 | reference count other than 1. |
10324 | 11275 | |
10325 | 11276 | =end original |
10326 | 11277 | |
10327 | 11278 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を |
10328 | 11279 | 扱いました。 |
10329 | 11280 | |
10330 | 11281 | =item panic: restartop in %s |
10331 | 11282 | |
10332 | 11283 | =begin original |
10333 | 11284 | |
10334 | 11285 | (P) Some internal routine requested a goto (or something like it), and |
10335 | 11286 | didn't supply the destination. |
10336 | 11287 | |
10337 | 11288 | =end original |
10338 | 11289 | |
10339 | 11290 | (P) 内部ルーティンから goto (または、同じようなもの) が |
10340 | 11291 | 要求されましたが、飛び先が与えれていません。 |
10341 | 11292 | |
10342 | 11293 | =item panic: return, type=%u |
10343 | 11294 | |
10344 | 11295 | =begin original |
10345 | 11296 | |
10346 | 11297 | (P) We popped the context stack to a subroutine or eval context, and |
10347 | 11298 | then discovered it wasn't a subroutine or eval context. |
10348 | 11299 | |
10349 | 11300 | =end original |
10350 | 11301 | |
10351 | 11302 | (P) サブルーチンコンテキストや eval コンテキストへ、 |
10352 | 11303 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや |
10353 | 11304 | eval コンテキストでないことがわかりました。 |
10354 | 11305 | |
10355 | 11306 | =item panic: scan_num, %s |
10356 | 11307 | |
10357 | 11308 | =begin original |
10358 | 11309 | |
10359 | 11310 | (P) scan_num() got called on something that wasn't a number. |
10360 | 11311 | |
10361 | 11312 | =end original |
10362 | 11313 | |
10363 | 11314 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
10364 | 11315 | |
10365 | 11316 | =item panic: Sequence (?{...}): no code block found in regex m/%s/ |
10366 | 11317 | |
10367 | 11318 | =begin original |
10368 | 11319 | |
10369 | 11320 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code |
10370 | 11321 | blocks, perl couldn't locate the code block that should have already been |
10371 | 11322 | seen and compiled by perl before control passed to the regex compiler. |
10372 | 11323 | |
10373 | 11324 | =end original |
10374 | 11325 | |
10375 | 11326 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 |
10376 | 11327 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって |
10377 | 11328 | コンパイルされているコードブロックを発見できませんでした。 |
10378 | 11329 | |
10379 | 11330 | =item panic: strxfrm() gets absurd - a => %u, ab => %u |
10380 | 11331 | |
10381 | 11332 | =begin original |
10382 | 11333 | |
10383 | 11334 | (P) The interpreter's sanity check of the C function strxfrm() failed. |
10384 | 11335 | In your current locale the returned transformation of the string "ab" |
10385 | 11336 | is shorter than that of the string "a", which makes no sense. |
10386 | 11337 | |
10387 | 11338 | =end original |
10388 | 11339 | |
10389 | 11340 | (P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。 |
10390 | 11341 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の |
10391 | 11342 | 変換で返されたものよりも短いので、おかしいです。 |
10392 | 11343 | |
10393 | 11344 | =item panic: sv_chop %s |
10394 | 11345 | |
10395 | 11346 | =begin original |
10396 | 11347 | |
10397 | 11348 | (P) The sv_chop() routine was passed a position that is not within the |
10398 | 11349 | scalar's string buffer. |
10399 | 11350 | |
10400 | 11351 | =end original |
10401 | 11352 | |
10402 | 11353 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を |
10403 | 11354 | 渡されました。 |
10404 | 11355 | |
10405 | 11356 | =item panic: sv_insert, midend=%p, bigend=%p |
10406 | 11357 | |
10407 | 11358 | =begin original |
10408 | 11359 | |
10409 | 11360 | (P) The sv_insert() routine was told to remove more string than there |
10410 | 11361 | was string. |
10411 | 11362 | |
10412 | 11363 | =end original |
10413 | 11364 | |
10414 | 11365 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
10415 | 11366 | 指示されました。 |
10416 | 11367 | |
10417 | 11368 | =item panic: top_env |
10418 | 11369 | |
10419 | 11370 | =begin original |
10420 | 11371 | |
10421 | 11372 | (P) The compiler attempted to do a goto, or something weird like that. |
10422 | 11373 | |
10423 | 11374 | =end original |
10424 | 11375 | |
10425 | 11376 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
10426 | 11377 | |
10427 | 11378 | =item panic: unimplemented op %s (#%d) called |
10428 | 11379 | |
10429 | 11380 | =begin original |
10430 | 11381 | |
10431 | 11382 | (P) The compiler is screwed up and attempted to use an op that isn't |
10432 | 11383 | permitted at run time. |
10433 | 11384 | |
10434 | 11385 | =end original |
10435 | 11386 | |
10436 | 11387 | (P) コンパイラがおかしくなって、実行時に許可されていない op を |
10437 | 11388 | しようとしました。 |
10438 | 11389 | |
11390 | =item panic: unknown OA_*: %x | |
11391 | ||
11392 | =begin original | |
11393 | ||
11394 | (P) The internal routine that handles arguments to C<&CORE::foo()> | |
11395 | subroutine calls was unable to determine what type of arguments | |
11396 | were expected. | |
11397 | ||
11398 | =end original | |
11399 | ||
11400 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 | |
11401 | どの種類の引数が想定されているかを決定できませんでした。 | |
11402 | ||
10439 | 11403 | =item panic: utf16_to_utf8: odd bytelen |
10440 | 11404 | |
10441 | 11405 | =begin original |
10442 | 11406 | |
10443 | 11407 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
10444 | 11408 | to even) byte length. |
10445 | 11409 | |
10446 | 11410 | =end original |
10447 | 11411 | |
10448 | 11412 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
10449 | 11413 | 呼び出そうとしました。 |
10450 | 11414 | |
10451 | 11415 | =item panic: utf16_to_utf8_reversed: odd bytelen |
10452 | 11416 | |
10453 | 11417 | =begin original |
10454 | 11418 | |
10455 | 11419 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed |
10456 | 11420 | to even) byte length. |
10457 | 11421 | |
10458 | 11422 | =end original |
10459 | 11423 | |
10460 | 11424 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 |
10461 | 11425 | |
10462 | 11426 | =item panic: yylex, %s |
10463 | 11427 | |
10464 | 11428 | =begin original |
10465 | 11429 | |
10466 | 11430 | (P) The lexer got into a bad state while processing a case modifier. |
10467 | 11431 | |
10468 | 11432 | =end original |
10469 | 11433 | |
10470 | 11434 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 |
10471 | 11435 | |
10472 | 11436 | =item Parentheses missing around "%s" list |
10473 | 11437 | |
10474 | 11438 | =begin original |
10475 | 11439 | |
10476 | 11440 | (W parenthesis) You said something like |
10477 | 11441 | |
10478 | 11442 | =end original |
10479 | 11443 | |
10480 | 11444 | (W parenthesis) おそらく以下のようにしたのでしょう: |
10481 | 11445 | |
10482 | 11446 | my $foo, $bar = @_; |
10483 | 11447 | |
10484 | 11448 | =begin original |
10485 | 11449 | |
10486 | 11450 | when you meant |
10487 | 11451 | |
10488 | 11452 | =end original |
10489 | 11453 | |
10490 | 11454 | 以下のようにすべきです: |
10491 | 11455 | |
10492 | 11456 | my ($foo, $bar) = @_; |
10493 | 11457 | |
10494 | 11458 | =begin original |
10495 | 11459 | |
10496 | 11460 | Remember that "my", "our", "local" and "state" bind tighter than comma. |
10497 | 11461 | |
10498 | 11462 | =end original |
10499 | 11463 | |
10500 | 11464 | "my", "our", "local", "state" は、コンマよりも強く結合することを |
10501 | 11465 | 忘れないでください。 |
10502 | 11466 | |
10503 | 11467 | =item Parsing code internal error (%s) |
10504 | 11468 | |
10505 | 11469 | =begin original |
10506 | 11470 | |
10507 | 11471 | (F) Parsing code supplied by an extension violated the parser's API in |
10508 | 11472 | a detectable way. |
10509 | 11473 | |
10510 | 11474 | =end original |
10511 | 11475 | |
10512 | 11476 | (F) エクステンションによって供給されたパースコードが、検出できる形で |
10513 | 11477 | パーサの API に違反しています。 |
10514 | 11478 | |
10515 | =item Passing malformed UTF-8 to "%s" is deprecated | |
10516 | ||
10517 | =begin original | |
10518 | ||
10519 | (D deprecated, utf8) This message indicates a bug either in the Perl | |
10520 | core or in XS code. Such code was trying to find out if a character, | |
10521 | allegedly stored internally encoded as UTF-8, was of a given type, such | |
10522 | as being punctuation or a digit. But the character was not encoded in | |
10523 | legal UTF-8. The C<%s> is replaced by a string that can be used by | |
10524 | knowledgeable people to determine what the type being checked against | |
10525 | was. If C<utf8> warnings are enabled, a further message is raised, | |
10526 | giving details of the malformation. | |
10527 | ||
10528 | =end original | |
10529 | ||
10530 | (D deprecated, utf8) このメッセージは、Perl コアまたは XS コードにバグが | |
10531 | あることを示しています。 | |
10532 | このコードは、内部で UTF-8 にエンコードしているとされている文字が、 | |
10533 | 句読点や数字といった特定の種類かどうかを調べようとしました。 | |
10534 | しかしその文字は正当な UTF-8 としてエンコードされていませんでした。 | |
10535 | C<%s> は、知識のある人々がチェックするべき型を決定するために使われる文字列で | |
10536 | 置き換えられます。 | |
10537 | C<utf8> 警告が有効なら、不正な形の詳細が記されたさらなるメッセージが | |
10538 | 出力されます。 | |
10539 | ||
10540 | 11479 | =item Pattern subroutine nesting without pos change exceeded limit in regex |
10541 | 11480 | |
10542 | 11481 | =begin original |
10543 | 11482 | |
10544 | 11483 | (F) You used a pattern that uses too many nested subpattern calls without |
10545 | 11484 | consuming any text. Restructure the pattern so text is consumed before |
10546 | 11485 | the nesting limit is exceeded. |
10547 | 11486 | |
10548 | 11487 | =end original |
10549 | 11488 | |
10550 | 11489 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う |
10551 | 11490 | パターンを使いました。 |
10552 | 11491 | ネストの制限を越える前にテキストを消費するようにパターンを |
10553 | 11492 | 再構成してください。 |
10554 | 11493 | |
10555 | 11494 | =item C<-p> destination: %s |
10556 | 11495 | |
10557 | 11496 | =begin original |
10558 | 11497 | |
10559 | 11498 | (F) An error occurred during the implicit output invoked by the C<-p> |
10560 | 11499 | command-line switch. (This output goes to STDOUT unless you've |
10561 | 11500 | redirected it with select().) |
10562 | 11501 | |
10563 | 11502 | =end original |
10564 | 11503 | |
10565 | 11504 | (F) C<-p> コマンドラインオプションで起動された |
10566 | 11505 | 暗黙の出力中にエラーが発生しました。 |
10567 | 11506 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) |
10568 | 11507 | |
10569 | 11508 | =item Perl API version %s of %s does not match %s |
10570 | 11509 | |
10571 | 11510 | =begin original |
10572 | 11511 | |
10573 | 11512 | (F) The XS module in question was compiled against a different incompatible |
10574 | 11513 | version of Perl than the one that has loaded the XS module. |
10575 | 11514 | |
10576 | 11515 | =end original |
10577 | 11516 | |
10578 | 11517 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの |
10579 | 11518 | Perl 用にコンパイルされたものです。 |
10580 | 11519 | |
10581 | 11520 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug |
10582 | 11521 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ |
10583 | 11522 | |
10584 | 11523 | =begin original |
10585 | 11524 | |
10586 | 11525 | (S regexp) You used a regular expression with case-insensitive matching, |
10587 | 11526 | and there is a bug in Perl in which the built-in regular expression |
10588 | 11527 | folding rules are not accurate. This may lead to incorrect results. |
10589 | Please report this as a bug | |
11528 | Please report this as a bug to L<https://github.com/Perl/perl5/issues>. | |
10590 | 11529 | |
10591 | 11530 | =end original |
10592 | 11531 | |
10593 | 11532 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして |
10594 | 11533 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 |
10595 | 11534 | これは間違った結果を引き起こします。 |
10596 | どうか L<perl | |
11535 | どうか L<https://github.com/Perl/perl5/issues> に | |
11536 | バグとして報告してください。 | |
10597 | 11537 | |
10598 | 11538 | =item PerlIO layer ':win32' is experimental |
10599 | 11539 | |
10600 | 11540 | =begin original |
10601 | 11541 | |
10602 | 11542 | (S experimental::win32_perlio) The C<:win32> PerlIO layer is |
10603 | 11543 | experimental. If you want to take the risk of using this layer, |
10604 | 11544 | simply disable this warning: |
10605 | 11545 | |
10606 | 11546 | =end original |
10607 | 11547 | |
10608 | 11548 | (S experimental::win32_perlio) C<:win32> PerlIO 層は実験的です。 |
10609 | 11549 | この層を使うリスクを取りたい場合は、単にこの警告を無効にしてください: |
10610 | 11550 | |
10611 | 11551 | no warnings "experimental::win32_perlio"; |
10612 | 11552 | |
10613 | 11553 | =item Perl_my_%s() not available |
10614 | 11554 | |
10615 | 11555 | =begin original |
10616 | 11556 | |
10617 | 11557 | (F) Your platform has very uncommon byte-order and integer size, |
10618 | 11558 | so it was not possible to set up some or all fixed-width byte-order |
10619 | 11559 | conversion functions. This is only a problem when you're using the |
10620 | 11560 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. |
10621 | 11561 | |
10622 | 11562 | =end original |
10623 | 11563 | |
10624 | 11564 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを |
10625 | 11565 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 |
10626 | 11566 | これは (un)pack テンプレートの中で |
10627 | 11567 | '<' か '>' の修飾子を使った場合にのみ問題となります。 |
10628 | 11568 | L<perlfunc/pack> を参照してください。 |
10629 | 11569 | |
10630 | 11570 | =item Perl %s required (did you mean %s?)--this is only %s, stopped |
10631 | 11571 | |
10632 | 11572 | =begin original |
10633 | 11573 | |
10634 | 11574 | (F) The code you are trying to run has asked for a newer version of |
10635 | 11575 | Perl than you are running. Perhaps C<use 5.10> was written instead |
10636 | 11576 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is |
10637 | 11577 | interpreted as a decimal, with every three digits after the |
10638 | 11578 | decimal point representing a part of the version number. So 5.10 |
10639 | 11579 | is equivalent to v5.100. |
10640 | 11580 | |
10641 | 11581 | =end original |
10642 | 11582 | |
10643 | 11583 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを |
10644 | 11584 | 尋ねました。 |
10645 | 11585 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と |
10646 | 11586 | 書かれているのでしょう。 |
10647 | 11587 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の |
10648 | 11588 | 部分を表現していると解釈されます。 |
10649 | 11589 | それで、5.10 は v5.100 と等価です。 |
10650 | 11590 | |
10651 | 11591 | =item Perl %s required--this is only %s, stopped |
10652 | 11592 | |
10653 | 11593 | =begin original |
10654 | 11594 | |
10655 | 11595 | (F) The module in question uses features of a version of Perl more |
10656 | 11596 | recent than the currently running version. How long has it been since |
10657 | 11597 | you upgraded, anyway? See L<perlfunc/require>. |
10658 | 11598 | |
10659 | 11599 | =end original |
10660 | 11600 | |
10661 | 11601 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
10662 | 11602 | 機能を使っています。 |
10663 | 11603 | ところで、いつからアップグレードしていないのですか? |
10664 | 11604 | L<perlfunc/require> を参照してください。 |
10665 | 11605 | |
10666 | 11606 | =item PERL_SH_DIR too long |
10667 | 11607 | |
10668 | 11608 | =begin original |
10669 | 11609 | |
10670 | 11610 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the |
10671 | 11611 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
10672 | 11612 | |
10673 | 11613 | =end original |
10674 | 11614 | |
10675 | 11615 | (F) OS/2 固有のエラーです。 |
10676 | 11616 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
10677 | 11617 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
10678 | 11618 | |
10679 | 11619 | =item PERL_SIGNALS illegal: "%s" |
10680 | 11620 | |
10681 | 11621 | =begin original |
10682 | 11622 | |
10683 | 11623 | (X) See L<perlrun/PERL_SIGNALS> for legal values. |
10684 | 11624 | |
10685 | 11625 | =end original |
10686 | 11626 | |
10687 | 11627 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 |
10688 | 11628 | |
10689 | 11629 | =item Perls since %s too modern--this is %s, stopped |
10690 | 11630 | |
10691 | 11631 | =begin original |
10692 | 11632 | |
10693 | 11633 | (F) The code you are trying to run claims it will not run |
10694 | 11634 | on the version of Perl you are using because it is too new. |
10695 | 11635 | Maybe the code needs to be updated, or maybe it is simply |
10696 | 11636 | wrong and the version check should just be removed. |
10697 | 11637 | |
10698 | 11638 | =end original |
10699 | 11639 | |
10700 | 11640 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると |
10701 | 11641 | 主張しています。 |
10702 | 11642 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に |
10703 | 11643 | バージョンチェックを削除するべきかもしれません。 |
10704 | 11644 | |
10705 | 11645 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set |
10706 | 11646 | |
10707 | 11647 | =begin original |
10708 | 11648 | |
10709 | 11649 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it |
10710 | 11650 | contained a non hex character. This could mean you are not using the |
10711 | 11651 | hash seed you think you are. |
10712 | 11652 | |
10713 | 11653 | =end original |
10714 | 11654 | |
10715 | 11655 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども |
10716 | 11656 | 非 16 進数文字を含む必要があります。 |
10717 | 11657 | これは、考えているようなハッシュの種が使われないことを |
10718 | 11658 | 意味しているかもしれません。 |
10719 | 11659 | |
10720 | 11660 | =item perl: warning: Setting locale failed. |
10721 | 11661 | |
10722 | 11662 | =begin original |
10723 | 11663 | |
10724 | 11664 | (S) The whole warning message will look something like: |
10725 | 11665 | |
10726 | 11666 | =end original |
10727 | 11667 | |
10728 | 11668 | (S) 警告全体は以下のような形になります: |
10729 | 11669 | |
10730 | 11670 | perl: warning: Setting locale failed. |
10731 | 11671 | perl: warning: Please check that your locale settings: |
10732 | 11672 | LC_ALL = "En_US", |
10733 | 11673 | LANG = (unset) |
10734 | 11674 | are supported and installed on your system. |
10735 | 11675 | perl: warning: Falling back to the standard locale ("C"). |
10736 | 11676 | |
10737 | 11677 | =begin original |
10738 | 11678 | |
10739 | 11679 | Exactly what were the failed locale settings varies. In the above the |
10740 | 11680 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
10741 | 11681 | This error means that Perl detected that you and/or your operating |
10742 | 11682 | system supplier and/or system administrator have set up the so-called |
10743 | 11683 | locale system but Perl could not use those settings. This was not |
10744 | 11684 | dead serious, fortunately: there is a "default locale" called "C" that |
10745 | 11685 | Perl can and will use, and the script will be run. Before you really |
10746 | 11686 | fix the problem, however, you will get the same error message each |
10747 | 11687 | time you run Perl. How to really fix the problem can be found in |
10748 | 11688 | L<perllocale> section B<LOCALE PROBLEMS>. |
10749 | 11689 | |
10750 | 11690 | =end original |
10751 | 11691 | |
10752 | 11692 | 正確にどのロケール設定が失敗したのかは様々です。 |
10753 | 11693 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
10754 | 11694 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
10755 | 11695 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
10756 | 11696 | 検出したことを意味します。 |
10757 | 11697 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
10758 | 11698 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
10759 | 11699 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
10760 | 11700 | メッセージが表示されます。 |
10761 | 11701 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
10762 | 11702 | 章にあります。 |
10763 | 11703 | |
10764 | 11704 | =item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s' |
10765 | 11705 | |
10766 | 11706 | =begin original |
10767 | 11707 | |
10768 | 11708 | (S) Perl was run with the environment variable PERL_PERTURB_KEYS defined |
10769 | 11709 | but containing an unexpected value. The legal values of this setting |
10770 | 11710 | are as follows. |
10771 | 11711 | |
10772 | 11712 | =end original |
10773 | 11713 | |
10774 | 11714 | (S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが |
10775 | 11715 | 想定外の値でした。 |
10776 | 11716 | この設定の正当な値は以下のものです。 |
10777 | 11717 | |
10778 | 11718 | Numeric | String | Result |
10779 | 11719 | --------+---------------+----------------------------------------- |
10780 | 11720 | 0 | NO | Disables key traversal randomization |
10781 | 11721 | 1 | RANDOM | Enables full key traversal randomization |
10782 | 11722 | 2 | DETERMINISTIC | Enables repeatable key traversal |
10783 | 11723 | | | randomization |
10784 | 11724 | |
10785 | 11725 | =begin original |
10786 | 11726 | |
10787 | 11727 | Both numeric and string values are accepted, but note that string values are |
10788 | 11728 | case sensitive. The default for this setting is "RANDOM" or 1. |
10789 | 11729 | |
10790 | 11730 | =end original |
10791 | 11731 | |
10792 | 11732 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を |
10793 | 11733 | 区別することに注意してください。 |
10794 | 11734 | この設定のデフォルトは "RANDOM"、つまり 1 です。 |
10795 | 11735 | |
10796 | 11736 | =item pid %x not a child |
10797 | 11737 | |
10798 | 11738 | =begin original |
10799 | 11739 | |
10800 | 11740 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
10801 | 11741 | process which isn't a subprocess of the current process. While this is |
10802 | 11742 | fine from VMS' perspective, it's probably not what you intended. |
10803 | 11743 | |
10804 | 11744 | =end original |
10805 | 11745 | |
10806 | 11746 | (W exec) VMS に固有の警告です。 |
10807 | 11747 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
10808 | 11748 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
10809 | 11749 | ないでしょう。 |
10810 | 11750 | |
10811 | 11751 | =item 'P' must have an explicit size in unpack |
10812 | 11752 | |
10813 | 11753 | =begin original |
10814 | 11754 | |
10815 | 11755 | (F) The unpack format P must have an explicit size, not "*". |
10816 | 11756 | |
10817 | 11757 | =end original |
10818 | 11758 | |
10819 | 11759 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを |
10820 | 11760 | 指定しなければなりません。 |
10821 | 11761 | |
10822 | =item pop on reference is experimental | |
10823 | ||
10824 | =begin original | |
10825 | ||
10826 | (S experimental::autoderef) C<pop> with a scalar argument is experimental | |
10827 | and may change or be removed in a future Perl version. If you want to | |
10828 | take the risk of using this feature, simply disable this warning: | |
10829 | ||
10830 | =end original | |
10831 | ||
10832 | (S experimental::autoderef) スカラ引数の C<pop> は実験的で、将来の | |
10833 | バージョンの Perl で変更されたり削除されたりするかもしれません。 | |
10834 | この機能を使うリスクを取る場合は、単に警告を無効にして下さい: | |
10835 | ||
10836 | no warnings "experimental::autoderef"; | |
10837 | ||
10838 | 11762 | =item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/ |
10839 | 11763 | |
10840 | 11764 | =begin original |
10841 | 11765 | |
10842 | 11766 | (F) The class in the character class [: :] syntax is unknown. The S<<-- HERE> |
10843 | 11767 | shows whereabouts in the regular expression the problem was discovered. |
10844 | 11768 | Note that the POSIX character classes do B<not> have the C<is> prefix |
10845 | 11769 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, |
10846 | 11770 | not C<isprint>. See L<perlre>. |
10847 | 11771 | |
10848 | 11772 | =end original |
10849 | 11773 | |
10850 | 11774 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 |
10851 | 11775 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
10852 | 11776 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が |
10853 | 11777 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 |
10854 | 11778 | C<isprint> ではありません。 |
10855 | 11779 | L<perlre> を参照してください。 |
10856 | 11780 | |
10857 | 11781 | =item POSIX getpgrp can't take an argument |
10858 | 11782 | |
10859 | 11783 | =begin original |
10860 | 11784 | |
10861 | 11785 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike |
10862 | 11786 | the BSD version, which takes a pid. |
10863 | 11787 | |
10864 | 11788 | =end original |
10865 | 11789 | |
10866 | 11790 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの |
10867 | 11791 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 |
10868 | 11792 | |
10869 | =item POSIX syntax [%c %c] belongs inside character classes in regex; marked by | |
11793 | =item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by | |
10870 | 11794 | S<<-- HERE> in m/%s/ |
10871 | 11795 | |
10872 | 11796 | =begin original |
10873 | 11797 | |
10874 | (W regexp) | |
11798 | (W regexp) Perl thinks that you intended to write a POSIX character | |
10875 | ||
11799 | class, but didn't use enough brackets. These POSIX class constructs [: | |
10876 | ||
11800 | :], [= =], and [. .] go I<inside> character classes, the [] are part of | |
11801 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular | |
11802 | expression pattern compiled to is probably not what you were intending. | |
11803 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character | |
11804 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
11805 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
11806 | written C<qr/[[:alpha:]]/>. | |
11807 | ||
11808 | =end original | |
11809 | ||
11810 | (W regexp) Perl は、あなたが POSIX 文字クラスを書くことを意図していると | |
11811 | 考えましたが、大かっこが足りませんでした。 | |
11812 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
11813 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
11814 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
11815 | ないでしょう。 | |
11816 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
11817 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
11818 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
11819 | ||
11820 | =begin original | |
11821 | ||
11822 | Note that [= =] and [. .] are not currently | |
10877 | 11823 | implemented; they are simply placeholders for future extensions and |
10878 | 11824 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular |
10879 | 11825 | expression the problem was discovered. See L<perlre>. |
10880 | 11826 | |
10881 | 11827 | =end original |
10882 | 11828 | |
10883 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], | |
10884 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 | |
10885 | 11829 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
10886 | 11830 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
10887 | 11831 | 生成します。 |
10888 | 11832 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
10889 | 11833 | L<perlre> を参照してください。 |
10890 | 11834 | |
11835 | =begin original | |
11836 | ||
11837 | If the specification of the class was not completely valid, the message | |
11838 | indicates that. | |
11839 | ||
11840 | =end original | |
11841 | ||
11842 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
11843 | ||
10891 | 11844 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by |
10892 | 11845 | S<<-- HERE> in m/%s/ |
10893 | 11846 | |
10894 | 11847 | =begin original |
10895 | 11848 | |
10896 | 11849 | (F) Within regular expression character classes ([]) the syntax beginning |
10897 | 11850 | with "[." and ending with ".]" is reserved for future extensions. If you |
10898 | 11851 | need to represent those character sequences inside a regular expression |
10899 | 11852 | character class, just quote the square brackets with the backslash: "\[." |
10900 | 11853 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the |
10901 | 11854 | problem was discovered. See L<perlre>. |
10902 | 11855 | |
10903 | 11856 | =end original |
10904 | 11857 | |
10905 | 11858 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で |
10906 | 11859 | 終わる文法は将来の拡張のために予約されます。 |
10907 | 11860 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
10908 | 11861 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
10909 | 11862 | クォートしてください。 |
10910 | 11863 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
10911 | 11864 | L<perlre> を参照してください。 |
10912 | 11865 | |
10913 | 11866 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by |
10914 | 11867 | S<<-- HERE> in m/%s/ |
10915 | 11868 | |
10916 | 11869 | =begin original |
10917 | 11870 | |
10918 | 11871 | (F) Within regular expression character classes ([]) the syntax beginning |
10919 | 11872 | with "[=" and ending with "=]" is reserved for future extensions. If you |
10920 | 11873 | need to represent those character sequences inside a regular expression |
10921 | 11874 | character class, just quote the square brackets with the backslash: "\[=" |
10922 | 11875 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the |
10923 | 11876 | problem was discovered. See L<perlre>. |
10924 | 11877 | |
10925 | 11878 | =end original |
10926 | 11879 | |
10927 | 11880 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
10928 | 11881 | 終わる文法は将来の拡張のために予約されます。 |
10929 | 11882 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
10930 | 11883 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
10931 | 11884 | クォートしてください。 |
10932 | 11885 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
10933 | 11886 | L<perlre> を参照してください。 |
10934 | 11887 | |
10935 | 11888 | =item Possible attempt to put comments in qw() list |
10936 | 11889 | |
10937 | 11890 | =begin original |
10938 | 11891 | |
10939 | 11892 | (W qw) qw() lists contain items separated by whitespace; as with literal |
10940 | 11893 | strings, comment characters are not ignored, but are instead treated as |
10941 | 11894 | literal data. (You may have used different delimiters than the |
10942 | 11895 | parentheses shown here; braces are also frequently used.) |
10943 | 11896 | |
10944 | 11897 | =end original |
10945 | 11898 | |
10946 | 11899 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
10947 | 11900 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
10948 | 11901 | (ここで使われているのと違うデリミタを用いているかもしれません; |
10949 | 11902 | 大かっこもよく使われます。) |
10950 | 11903 | |
10951 | 11904 | =begin original |
10952 | 11905 | |
10953 | 11906 | You probably wrote something like this: |
10954 | 11907 | |
10955 | 11908 | =end original |
10956 | 11909 | |
10957 | 11910 | おそらく以下のように書いたのでしょう: |
10958 | 11911 | |
10959 | 11912 | @list = qw( |
10960 | 11913 | a # a comment |
10961 | 11914 | b # another comment |
10962 | 11915 | ); |
10963 | 11916 | |
10964 | 11917 | =begin original |
10965 | 11918 | |
10966 | 11919 | when you should have written this: |
10967 | 11920 | |
10968 | 11921 | =end original |
10969 | 11922 | |
10970 | 11923 | 以下のように書くべきです: |
10971 | 11924 | |
10972 | 11925 | @list = qw( |
10973 | 11926 | a |
10974 | 11927 | b |
10975 | 11928 | ); |
10976 | 11929 | |
10977 | 11930 | =begin original |
10978 | 11931 | |
10979 | 11932 | If you really want comments, build your list the |
10980 | 11933 | old-fashioned way, with quotes and commas: |
10981 | 11934 | |
10982 | 11935 | =end original |
10983 | 11936 | |
10984 | 11937 | 本当にコメントをつけたいのなら、 |
10985 | 11938 | リストを昔のクォートとカンマの形で書いてください。 |
10986 | 11939 | |
10987 | 11940 | @list = ( |
10988 | 11941 | 'a', # a comment |
10989 | 11942 | 'b', # another comment |
10990 | 11943 | ); |
10991 | 11944 | |
10992 | 11945 | =item Possible attempt to separate words with commas |
10993 | 11946 | |
10994 | 11947 | =begin original |
10995 | 11948 | |
10996 | 11949 | (W qw) qw() lists contain items separated by whitespace; therefore |
10997 | 11950 | commas aren't needed to separate the items. (You may have used |
10998 | 11951 | different delimiters than the parentheses shown here; braces are also |
10999 | 11952 | frequently used.) |
11000 | 11953 | |
11001 | 11954 | =end original |
11002 | 11955 | |
11003 | 11956 | (W qw) qw() リストに空白で分割された項目があります; |
11004 | 11957 | そのため、カンマは項目を分割する必要がありません。 |
11005 | 11958 | (ここで使われているのと違うデリミタを用いているかもしれません; |
11006 | 11959 | 大かっこもよく使われます。) |
11007 | 11960 | |
11008 | 11961 | =begin original |
11009 | 11962 | |
11010 | 11963 | You probably wrote something like this: |
11011 | 11964 | |
11012 | 11965 | =end original |
11013 | 11966 | |
11014 | 11967 | おそらく以下のように書いたのでしょう: |
11015 | 11968 | |
11016 | 11969 | qw! a, b, c !; |
11017 | 11970 | |
11018 | 11971 | =begin original |
11019 | 11972 | |
11020 | 11973 | which puts literal commas into some of the list items. Write it without |
11021 | 11974 | commas if you don't want them to appear in your data: |
11022 | 11975 | |
11023 | 11976 | =end original |
11024 | 11977 | |
11025 | 11978 | リスト要素の中にリテラルのカンマを書いています。 |
11026 | 11979 | データの中にカンマを出したくないなら、カンマなしで書きます: |
11027 | 11980 | |
11028 | 11981 | qw! a b c !; |
11029 | 11982 | |
11030 | 11983 | =item Possible memory corruption: %s overflowed 3rd argument |
11031 | 11984 | |
11032 | 11985 | =begin original |
11033 | 11986 | |
11034 | 11987 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
11035 | 11988 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
11036 | 11989 | end of the buffer just in case. This sentinel byte got clobbered, and |
11037 | 11990 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
11038 | 11991 | |
11039 | 11992 | =end original |
11040 | 11993 | |
11041 | 11994 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
11042 | 11995 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
11043 | 11996 | 最後に目印を付けています。 |
11044 | 11997 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
11045 | 11998 | L<perlfunc/ioctl> を参照してください。 |
11046 | 11999 | |
11047 | 12000 | =item Possible precedence issue with control flow operator |
11048 | 12001 | |
11049 | 12002 | =begin original |
11050 | 12003 | |
11051 | 12004 | (W syntax) There is a possible problem with the mixing of a control |
11052 | 12005 | flow operator (e.g. C<return>) and a low-precedence operator like |
11053 | 12006 | C<or>. Consider: |
11054 | 12007 | |
11055 | 12008 | =end original |
11056 | 12009 | |
11057 | 12010 | (W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような |
11058 | 12011 | 低優先順位演算子を混ぜると問題が起きることがあります。 |
11059 | 12012 | 次を考えると: |
11060 | 12013 | |
11061 | 12014 | sub { return $a or $b; } |
11062 | 12015 | |
11063 | 12016 | =begin original |
11064 | 12017 | |
11065 | 12018 | This is parsed as: |
11066 | 12019 | |
11067 | 12020 | =end original |
11068 | 12021 | |
11069 | 12022 | これは次のようにパースされます: |
11070 | 12023 | |
11071 | 12024 | sub { (return $a) or $b; } |
11072 | 12025 | |
11073 | 12026 | =begin original |
11074 | 12027 | |
11075 | 12028 | Which is effectively just: |
11076 | 12029 | |
11077 | 12030 | =end original |
11078 | 12031 | |
11079 | 12032 | これは事実上次のものです: |
11080 | 12033 | |
11081 | 12034 | sub { return $a; } |
11082 | 12035 | |
11083 | 12036 | =begin original |
11084 | 12037 | |
11085 | 12038 | Either use parentheses or the high-precedence variant of the operator. |
11086 | 12039 | |
11087 | 12040 | =end original |
11088 | 12041 | |
11089 | 12042 | かっこか、高優先順位版の演算子を使ってください。 |
11090 | 12043 | |
11091 | 12044 | =begin original |
11092 | 12045 | |
11093 | 12046 | Note this may be also triggered for constructs like: |
11094 | 12047 | |
11095 | 12048 | =end original |
11096 | 12049 | |
11097 | 12050 | これは次のような構文でも引き起こされることに注意してください: |
11098 | 12051 | |
11099 | 12052 | sub { 1 if die; } |
11100 | 12053 | |
11101 | 12054 | =item Possible precedence problem on bitwise %s operator |
11102 | 12055 | |
11103 | 12056 | =begin original |
11104 | 12057 | |
11105 | 12058 | (W precedence) Your program uses a bitwise logical operator in conjunction |
11106 | 12059 | with a numeric comparison operator, like this : |
11107 | 12060 | |
11108 | 12061 | =end original |
11109 | 12062 | |
11110 | 12063 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と |
11111 | 12064 | 結合して使用しています: |
11112 | 12065 | |
11113 | 12066 | if ($x & $y == 0) { ... } |
11114 | 12067 | |
11115 | 12068 | =begin original |
11116 | 12069 | |
11117 | 12070 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the |
11118 | 12071 | higher precedence of C<==>. This is probably not what you want. (If you |
11119 | 12072 | really meant to write this, disable the warning, or, better, put the |
11120 | 12073 | parentheses explicitly and write C<$x & ($y == 0)>). |
11121 | 12074 | |
11122 | 12075 | =end original |
11123 | 12076 | |
11124 | 12077 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と |
11125 | 12078 | 等価になります。 |
11126 | 12079 | これはおそらく望んでいるものではないでしょう。 |
11127 | 12080 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは |
11128 | 12081 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 |
11129 | 12082 | |
11130 | 12083 | =item Possible unintended interpolation of $\ in regex |
11131 | 12084 | |
11132 | 12085 | =begin original |
11133 | 12086 | |
11134 | 12087 | (W ambiguous) You said something like C<m/$\/> in a regex. |
11135 | 12088 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output |
11136 | 12089 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) |
11137 | 12090 | followed by the word 'bar'. |
11138 | 12091 | |
11139 | 12092 | =end original |
11140 | 12093 | |
11141 | 12094 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 |
11142 | 12095 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 |
11143 | 12096 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 |
11144 | 12097 | 'bar' にマッチングします。 |
11145 | 12098 | |
11146 | 12099 | =begin original |
11147 | 12100 | |
11148 | 12101 | If this is what you intended then you can silence the warning by using |
11149 | 12102 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). |
11150 | 12103 | |
11151 | 12104 | =end original |
11152 | 12105 | |
11153 | 12106 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます |
11154 | 12107 | (例えば: C<m/foo${\}s+bar/>)。 |
11155 | 12108 | |
11156 | 12109 | =begin original |
11157 | 12110 | |
11158 | 12111 | If instead you intended to match the word 'foo' at the end of the line |
11159 | 12112 | followed by whitespace and the word 'bar' on the next line then you can use |
11160 | 12113 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). |
11161 | 12114 | |
11162 | 12115 | =end original |
11163 | 12116 | |
11164 | 12117 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に |
11165 | 12118 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: |
11166 | 12119 | C<m/foo$(?)\s+bar/>)。 |
11167 | 12120 | |
11168 | 12121 | =item Possible unintended interpolation of %s in string |
11169 | 12122 | |
11170 | 12123 | =begin original |
11171 | 12124 | |
11172 | 12125 | (W ambiguous) You said something like '@foo' in a double-quoted string |
11173 | 12126 | but there was no array C<@foo> in scope at the time. If you wanted a |
11174 | 12127 | literal @foo, then write it as \@foo; otherwise find out what happened |
11175 | 12128 | to the array you apparently lost track of. |
11176 | 12129 | |
11177 | 12130 | =end original |
11178 | 12131 | |
11179 | 12132 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 |
11180 | 12133 | 現在のスコープ内に C<@foo> という配列はありません。 |
11181 | 12134 | リテラルな @foo を指定したい場合は、\@foo と書いてください; |
11182 | 12135 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを |
11183 | 12136 | 調べてください。 |
11184 | 12137 | |
11185 | =item Postfix dereference is experimental | |
11186 | ||
11187 | =begin original | |
11188 | ||
11189 | (S experimental::postderef) This warning is emitted if you use | |
11190 | the experimental postfix dereference syntax. Simply suppress the | |
11191 | warning if you want to use the feature, but know that in doing | |
11192 | so you are taking the risk of using an experimental feature which | |
11193 | may change or be removed in a future Perl version: | |
11194 | ||
11195 | =end original | |
11196 | ||
11197 | (S experimental::postderef) この警告は、実験的な接尾辞デリファレンス文法を | |
11198 | 使ったときに出力されます。 | |
11199 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
11200 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
11201 | 単に警告を抑制してください: | |
11202 | ||
11203 | no warnings "experimental::postderef"; | |
11204 | use feature "postderef", "postderef_qq"; | |
11205 | $ref->$*; | |
11206 | $aref->@*; | |
11207 | $aref->@[@indices]; | |
11208 | ... etc ... | |
11209 | ||
11210 | 12138 | =item Precedence problem: open %s should be open(%s) |
11211 | 12139 | |
11212 | 12140 | =begin original |
11213 | 12141 | |
11214 | 12142 | (S precedence) The old irregular construct |
11215 | 12143 | |
11216 | 12144 | =end original |
11217 | 12145 | |
11218 | 12146 | (S precedence) 古い変則的な構文 |
11219 | 12147 | |
11220 | 12148 | open FOO || die; |
11221 | 12149 | |
11222 | 12150 | =begin original |
11223 | 12151 | |
11224 | 12152 | is now misinterpreted as |
11225 | 12153 | |
11226 | 12154 | =end original |
11227 | 12155 | |
11228 | 12156 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
11229 | 12157 | リスト演算子と解釈されますので、 |
11230 | 12158 | |
11231 | 12159 | open(FOO || die); |
11232 | 12160 | |
11233 | 12161 | =begin original |
11234 | 12162 | |
11235 | 12163 | because of the strict regularization of Perl 5's grammar into unary and |
11236 | 12164 | list operators. (The old open was a little of both.) You must put |
11237 | 12165 | parentheses around the filehandle, or use the new "or" operator instead |
11238 | 12166 | of "||". |
11239 | 12167 | |
11240 | 12168 | =end original |
11241 | 12169 | |
11242 | 12170 | という風に誤った解釈がなされます。 |
11243 | 12171 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
11244 | 12172 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに |
11245 | 12173 | "or" 演算子を使わなくてはなりません。 |
11246 | 12174 | |
11247 | 12175 | =item Premature end of script headers |
11248 | 12176 | |
11249 | 12177 | =begin original |
11250 | 12178 | |
11251 | See Server error. | |
12179 | See L</500 Server error>. | |
11252 | 12180 | |
11253 | 12181 | =end original |
11254 | 12182 | |
11255 | ||
12183 | L</500 Server error> を参照してください。 | |
11256 | 12184 | |
11257 | 12185 | =item printf() on closed filehandle %s |
11258 | 12186 | |
11259 | 12187 | =begin original |
11260 | 12188 | |
11261 | 12189 | (W closed) The filehandle you're writing to got itself closed sometime |
11262 | 12190 | before now. Check your control flow. |
11263 | 12191 | |
11264 | 12192 | =end original |
11265 | 12193 | |
11266 | 12194 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
11267 | 12195 | 制御フローをチェックしてください。 |
11268 | 12196 | |
11269 | 12197 | =item print() on closed filehandle %s |
11270 | 12198 | |
11271 | 12199 | =begin original |
11272 | 12200 | |
11273 | 12201 | (W closed) The filehandle you're printing on got itself closed sometime |
11274 | 12202 | before now. Check your control flow. |
11275 | 12203 | |
11276 | 12204 | =end original |
11277 | 12205 | |
11278 | 12206 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 |
11279 | 12207 | 制御フローをチェックしてください。 |
11280 | 12208 | |
11281 | 12209 | =item Process terminated by SIG%s |
11282 | 12210 | |
11283 | 12211 | =begin original |
11284 | 12212 | |
11285 | 12213 | (W) This is a standard message issued by OS/2 applications, while *nix |
11286 | 12214 | applications die in silence. It is considered a feature of the OS/2 |
11287 | 12215 | port. One can easily disable this by appropriate sighandlers, see |
11288 | 12216 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
11289 | 12217 | in L<perlos2>. |
11290 | 12218 | |
11291 | 12219 | =end original |
11292 | 12220 | |
11293 | 12221 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
11294 | 12222 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
11295 | 12223 | これは OS/2 版の仕様とみなされています。 |
11296 | 12224 | 適切なシグナルハンドラによって簡単に無効にできます; |
11297 | 12225 | L<perlipc/"Signals"> を参照してください。 |
11298 | 12226 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
11299 | 12227 | |
11300 | =item Property '%s' is unknown in regex; marked by S<<-- HERE> in m/%s/ | |
11301 | ||
11302 | =begin original | |
11303 | ||
11304 | (F) The named property which you specified via C<\p> or C<\P> is not one | |
11305 | known to Perl. Perhaps you misspelled the name? See | |
11306 | L<perluniprops/Properties accessible through \p{} and \P{}> | |
11307 | for a complete list of available official | |
11308 | properties. If it is a L<user-defined property|perlunicode/User-Defined Character Properties> | |
11309 | it must have been defined by the time the regular expression is | |
11310 | compiled. | |
11311 | ||
11312 | =end original | |
11313 | ||
11314 | (F) | |
11315 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
11316 | おそらく名前をタイプミスしたのでは? | |
11317 | 公式に利用可能な特性の完全な一覧については | |
11318 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
11319 | 参照してください。 | |
11320 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
11321 | 場合は、正規表現がコンパイルされる時点で定義されていなければなりません。 | |
11322 | ||
11323 | 12228 | =item Prototype after '%c' for %s : %s |
11324 | 12229 | |
11325 | 12230 | =begin original |
11326 | 12231 | |
11327 | 12232 | (W illegalproto) A character follows % or @ in a prototype. This is |
11328 | 12233 | useless, since % and @ gobble the rest of the subroutine arguments. |
11329 | 12234 | |
11330 | 12235 | =end original |
11331 | 12236 | |
11332 | 12237 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 |
11333 | 12238 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 |
11334 | 12239 | |
11335 | 12240 | =item Prototype mismatch: %s vs %s |
11336 | 12241 | |
11337 | 12242 | =begin original |
11338 | 12243 | |
11339 | 12244 | (S prototype) The subroutine being declared or defined had previously been |
11340 | 12245 | declared or defined with a different function prototype. |
11341 | 12246 | |
11342 | 12247 | =end original |
11343 | 12248 | |
11344 | 12249 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された |
11345 | 12250 | サブルーチンが宣言または定義されました。 |
11346 | 12251 | |
11347 | 12252 | =item Prototype not terminated |
11348 | 12253 | |
11349 | 12254 | =begin original |
11350 | 12255 | |
11351 | 12256 | (F) You've omitted the closing parenthesis in a function prototype |
11352 | 12257 | definition. |
11353 | 12258 | |
11354 | 12259 | =end original |
11355 | 12260 | |
11356 | 12261 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 |
11357 | 12262 | |
11358 | 12263 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s |
11359 | 12264 | |
11360 | 12265 | =begin original |
11361 | 12266 | |
11362 | 12267 | (W prototype) A prototype was declared in both the parentheses after |
11363 | 12268 | the sub name and via the prototype attribute. The prototype in |
11364 | 12269 | parentheses is useless, since it will be replaced by the prototype |
11365 | 12270 | from the attribute before it's ever used. |
11366 | 12271 | |
11367 | 12272 | =end original |
11368 | 12273 | |
11369 | 12274 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で |
11370 | 12275 | プロトタイプが宣言されました。 |
11371 | 12276 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の |
11372 | 12277 | プロトタイプは無駄です。 |
11373 | 12278 | |
11374 | =item push on reference is experimental | |
11375 | ||
11376 | =begin original | |
11377 | ||
11378 | (S experimental::autoderef) C<push> with a scalar argument is experimental | |
11379 | and may change or be removed in a future Perl version. If you want to | |
11380 | take the risk of using this feature, simply disable this warning: | |
11381 | ||
11382 | =end original | |
11383 | ||
11384 | (S experimental::autoderef) スカラ引数の C<push> は実験的で、将来の | |
11385 | バージョンの Perl で変更されたり削除されたりするかもしれません。 | |
11386 | この機能を使うリスクを取る場合は、単に警告を無効にして下さい: | |
11387 | ||
11388 | no warnings "experimental::autoderef"; | |
11389 | ||
11390 | 12279 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ |
11391 | 12280 | |
11392 | 12281 | =begin original |
11393 | 12282 | |
11394 | 12283 | (F) You started a regular expression with a quantifier. Backslash it if |
11395 | 12284 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular |
11396 | 12285 | expression the problem was discovered. See L<perlre>. |
11397 | 12286 | |
11398 | 12287 | =end original |
11399 | 12288 | |
11400 | 12289 | (F) 正規表現を量指定子で開始しています。 |
11401 | 12290 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 |
11402 | 12291 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11403 | 12292 | L<perlre> を参照してください。 |
11404 | 12293 | |
11405 | 12294 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ |
11406 | 12295 | |
11407 | 12296 | =begin original |
11408 | 12297 | |
11409 | 12298 | (F) There is currently a limit to the size of the min and max values of |
11410 | 12299 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular |
11411 | 12300 | expression the problem was discovered. See L<perlre>. |
11412 | 12301 | |
11413 | 12302 | =end original |
11414 | 12303 | |
11415 | 12304 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
11416 | 12305 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11417 | 12306 | L<perlre> を参照してください。 |
11418 | 12307 | |
11419 | 12308 | =item Quantifier {n,m} with n > m can't match in regex |
11420 | 12309 | |
11421 | 12310 | =item Quantifier {n,m} with n > m can't match in regex; marked by |
11422 | 12311 | S<<-- HERE> in m/%s/ |
11423 | 12312 | |
11424 | 12313 | =begin original |
11425 | 12314 | |
11426 | 12315 | (W regexp) Minima should be less than or equal to maxima. If you really |
11427 | 12316 | want your regexp to match something 0 times, just put {0}. |
11428 | 12317 | |
11429 | 12318 | =end original |
11430 | 12319 | |
11431 | 12320 | (W regexp) 最小値は最大値以下である必要があります。 |
11432 | 12321 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 |
11433 | 12322 | |
11434 | 12323 | =item Quantifier unexpected on zero-length expression in regex m/%s/ |
11435 | 12324 | |
11436 | 12325 | =begin original |
11437 | 12326 | |
11438 | 12327 | (W regexp) You applied a regular expression quantifier in a place where |
11439 | 12328 | it makes no sense, such as on a zero-width assertion. Try putting the |
11440 | 12329 | quantifier inside the assertion instead. For example, the way to match |
11441 | 12330 | "abc" provided that it is followed by three repetitions of "xyz" is |
11442 | 12331 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
11443 | 12332 | |
11444 | 12333 | =end original |
11445 | 12334 | |
11446 | 12335 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
11447 | 12336 | 適用しました。 |
11448 | 12337 | 代わりにアサーションの中に量指定子を置いてください。 |
11449 | 12338 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
11450 | 12339 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
11451 | 12340 | |
11452 | 12341 | =item Range iterator outside integer range |
11453 | 12342 | |
11454 | 12343 | =begin original |
11455 | 12344 | |
11456 | 12345 | (F) One (or both) of the numeric arguments to the range operator ".." |
11457 | 12346 | are outside the range which can be represented by integers internally. |
11458 | 12347 | One possible workaround is to force Perl to use magical string increment |
11459 | 12348 | by prepending "0" to your numbers. |
11460 | 12349 | |
11461 | 12350 | =end original |
11462 | 12351 | |
11463 | 12352 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
11464 | 12353 | 表現できる範囲を越えています。 |
11465 | 12354 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
11466 | 12355 | マジカル文字列インクリメントの使用を強制させることです。 |
11467 | 12356 | |
11468 | 12357 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or |
11469 | 12358 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ |
11470 | 12359 | |
11471 | 12360 | =begin original |
11472 | 12361 | |
11473 | 12362 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
11474 | 12363 | |
11475 | 12364 | =end original |
11476 | 12365 | |
11477 | (W regexp) (C<S<use re 'strict'>> の | |
12366 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
11478 | 12367 | |
11479 | 12368 | =begin original |
11480 | 12369 | |
11481 | 12370 | Stricter rules help to find typos and other errors. Perhaps you didn't |
11482 | 12371 | even intend a range here, if the C<"-"> was meant to be some other |
11483 | 12372 | character, or should have been escaped (like C<"\-">). If you did |
11484 | 12373 | intend a range, the one that was used is not portable between ASCII and |
11485 | 12374 | EBCDIC platforms, and doesn't have an obvious meaning to a casual |
11486 | 12375 | reader. |
11487 | 12376 | |
11488 | 12377 | =end original |
11489 | 12378 | |
11490 | 12379 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 |
11491 | 12380 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の |
11492 | 12381 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 |
11493 | 12382 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC |
11494 | 12383 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な |
11495 | 12384 | 意味になります。 |
11496 | 12385 | |
11497 | 12386 | [3-7] # OK; Obvious and portable |
11498 | 12387 | [d-g] # OK; Obvious and portable |
11499 | 12388 | [A-Y] # OK; Obvious and portable |
11500 | 12389 | [A-z] # WRONG; Not portable; not clear what is meant |
11501 | 12390 | [a-Z] # WRONG; Not portable; not clear what is meant |
11502 | 12391 | [%-.] # WRONG; Not portable; not clear what is meant |
11503 | 12392 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek |
11504 | 12393 | |
11505 | 12394 | =begin original |
11506 | 12395 | |
11507 | 12396 | (You can force portability by specifying a Unicode range, which means that |
11508 | 12397 | the endpoints are specified by |
11509 | 12398 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may |
11510 | 12399 | still not be obvious.) |
11511 | 12400 | The stricter rules require that ranges that start or stop with an ASCII |
11512 | 12401 | character that is not a control have all their endpoints be the literal |
11513 | 12402 | character, and not some escape sequence (like C<"\x41">), and the ranges |
11514 | 12403 | must be all digits, or all uppercase letters, or all lowercase letters. |
11515 | 12404 | |
11516 | 12405 | =end original |
11517 | 12406 | |
11518 | 12407 | (Unicode の範囲を指定することで移植性を共生することができます; |
11519 | 12408 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で |
11520 | 12409 | 指定するということですが、意味はやはり明確ではないかもしれません。) |
11521 | 12410 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 |
11522 | 12411 | (C<"\x41"> のような)一部のエスケープシーケンスでない |
11523 | 12412 | ASCII 文字で開始および終了することを要求し、 |
11524 | 12413 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 |
11525 | 12414 | |
11526 | 12415 | =item Ranges of digits should be from the same group in regex; marked by |
11527 | 12416 | S<<-- HERE> in m/%s/ |
11528 | 12417 | |
11529 | 12418 | =begin original |
11530 | 12419 | |
11531 | 12420 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) |
11532 | 12421 | |
11533 | 12422 | =end original |
11534 | 12423 | |
11535 | 12424 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) |
11536 | 12425 | |
11537 | 12426 | =begin original |
11538 | 12427 | |
11539 | 12428 | Stricter rules help to find typos and other errors. You included a |
11540 | 12429 | range, and at least one of the end points is a decimal digit. Under the |
11541 | 12430 | stricter rules, when this happens, both end points should be digits in |
11542 | 12431 | the same group of 10 consecutive digits. |
11543 | 12432 | |
11544 | 12433 | =end original |
11545 | 12434 | |
11546 | 12435 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 |
11547 | 12436 | 範囲を含んでいて、少なくとも片方の端は数字です。 |
11548 | 12437 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ |
11549 | 12438 | グループに属する符号位置である必要があります。 |
11550 | 12439 | |
11551 | 12440 | =item readdir() attempted on invalid dirhandle %s |
11552 | 12441 | |
11553 | 12442 | =begin original |
11554 | 12443 | |
11555 | 12444 | (W io) The dirhandle you're reading from is either closed or not really |
11556 | 12445 | a dirhandle. Check your control flow. |
11557 | 12446 | |
11558 | 12447 | =end original |
11559 | 12448 | |
11560 | 12449 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 |
11561 | 12450 | 実際にはディレクトリハンドルではありません。 |
11562 | 12451 | 制御フローをチェックしてください。 |
11563 | 12452 | |
11564 | 12453 | =item readline() on closed filehandle %s |
11565 | 12454 | |
11566 | 12455 | =begin original |
11567 | 12456 | |
11568 | 12457 | (W closed) The filehandle you're reading from got itself closed sometime |
11569 | 12458 | before now. Check your control flow. |
11570 | 12459 | |
11571 | 12460 | =end original |
11572 | 12461 | |
11573 | 12462 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 |
11574 | 12463 | 制御フローをチェックしてください。 |
11575 | 12464 | |
11576 | 12465 | =item read() on closed filehandle %s |
11577 | 12466 | |
11578 | 12467 | =begin original |
11579 | 12468 | |
11580 | 12469 | (W closed) You tried to read from a closed filehandle. |
11581 | 12470 | |
11582 | 12471 | =end original |
11583 | 12472 | |
11584 | 12473 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
11585 | 12474 | |
11586 | 12475 | =item read() on unopened filehandle %s |
11587 | 12476 | |
11588 | 12477 | =begin original |
11589 | 12478 | |
11590 | 12479 | (W unopened) You tried to read from a filehandle that was never opened. |
11591 | 12480 | |
11592 | 12481 | =end original |
11593 | 12482 | |
11594 | 12483 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
11595 | 12484 | |
11596 | 12485 | =item Reallocation too large: %x |
11597 | 12486 | |
11598 | 12487 | =begin original |
11599 | 12488 | |
11600 | 12489 | (F) You can't allocate more than 64K on an MS-DOS machine. |
11601 | 12490 | |
11602 | 12491 | =end original |
11603 | 12492 | |
11604 | 12493 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
11605 | 12494 | |
11606 | 12495 | =item realloc() of freed memory ignored |
11607 | 12496 | |
11608 | 12497 | =begin original |
11609 | 12498 | |
11610 | 12499 | (S malloc) An internal routine called realloc() on something that had |
11611 | 12500 | already been freed. |
11612 | 12501 | |
11613 | 12502 | =end original |
11614 | 12503 | |
11615 | 12504 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
11616 | 12505 | 呼び出しました。 |
11617 | 12506 | |
11618 | 12507 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
11619 | 12508 | |
11620 | 12509 | =begin original |
11621 | 12510 | |
11622 | 12511 | (S debugging) You can't use the B<-D> option unless the code to produce |
11623 | 12512 | the desired output is compiled into Perl, which entails some overhead, |
11624 | 12513 | which is why it's currently left out of your copy. |
11625 | 12514 | |
11626 | 12515 | =end original |
11627 | 12516 | |
11628 | 12517 | (S debugging) Perl のコンパイル時に、適切な出力ルーティンが |
11629 | 12518 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; |
11630 | 12519 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
11631 | 12520 | Perl に組み込んでない理由でしょう。 |
11632 | 12521 | |
11633 | 12522 | =item Recursive call to Perl_load_module in PerlIO_find_layer |
11634 | 12523 | |
11635 | 12524 | =begin original |
11636 | 12525 | |
11637 | 12526 | (P) It is currently not permitted to load modules when creating |
11638 | 12527 | a filehandle inside an %INC hook. This can happen with C<open my |
11639 | 12528 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try |
11640 | 12529 | loading PerlIO::scalar explicitly first. |
11641 | 12530 | |
11642 | 12531 | =end original |
11643 | 12532 | |
11644 | 12533 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは |
11645 | 12534 | 現在のところ許されていません。 |
11646 | 12535 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに |
11647 | 12536 | 起こることがあります。 |
11648 | 12537 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 |
11649 | 12538 | |
11650 | 12539 | =item Recursive inheritance detected in package '%s' |
11651 | 12540 | |
11652 | 12541 | =begin original |
11653 | 12542 | |
11654 | 12543 | (F) While calculating the method resolution order (MRO) of a package, Perl |
11655 | 12544 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a |
11656 | 12545 | crude check that bails out after 100 levels of C<@ISA> depth. |
11657 | 12546 | |
11658 | 12547 | =end original |
11659 | 12548 | |
11660 | 12549 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に |
11661 | 12550 | 無限ループがあると判断しました。 |
11662 | 12551 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 |
11663 | 12552 | |
11664 | 12553 | =item Redundant argument in %s |
11665 | 12554 | |
11666 | 12555 | =begin original |
11667 | 12556 | |
11668 | 12557 | (W redundant) You called a function with more arguments than other |
11669 | 12558 | arguments you supplied indicated would be needed. Currently only |
11670 | 12559 | emitted when a printf-type format required fewer arguments than were |
11671 | 12560 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. |
11672 | 12561 | |
11673 | 12562 | =end original |
11674 | 12563 | |
11675 | 12564 | (W redundant) 関数を呼び出すときに、ある引数が示している必要数より |
11676 | 12565 | 多くの引数を指定しました。 |
11677 | 12566 | 現在のところ、printf 型のフォーマットが指定されたものより少ない数の |
11678 | 12567 | 引数しか必要としていない場合にのみ発生しますが、将来は |
11679 | 12568 | 例えば L<perlfunc/pack> で使われるかもしれません。 |
11680 | 12569 | |
11681 | 12570 | =item refcnt_dec: fd %d%s |
11682 | 12571 | |
11683 | 12572 | =item refcnt: fd %d%s |
11684 | 12573 | |
11685 | 12574 | =item refcnt_inc: fd %d%s |
11686 | 12575 | |
11687 | 12576 | =begin original |
11688 | 12577 | |
11689 | 12578 | (P) Perl's I/O implementation failed an internal consistency check. If |
11690 | 12579 | you see this message, something is very wrong. |
11691 | 12580 | |
11692 | 12581 | =end original |
11693 | 12582 | |
11694 | 12583 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 |
11695 | 12584 | このメッセージを見たなら、何かがすごく悪いです。 |
11696 | 12585 | |
11697 | 12586 | =item Reference found where even-sized list expected |
11698 | 12587 | |
11699 | 12588 | =begin original |
11700 | 12589 | |
11701 | 12590 | (W misc) You gave a single reference where Perl was expecting a list |
11702 | 12591 | with an even number of elements (for assignment to a hash). This |
11703 | 12592 | usually means that you used the anon hash constructor when you meant |
11704 | 12593 | to use parens. In any case, a hash requires key/value B<pairs>. |
11705 | 12594 | |
11706 | 12595 | =end original |
11707 | 12596 | |
11708 | 12597 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
11709 | 12598 | 想定しているところに 一つのリファレンスを渡しました。 |
11710 | 12599 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
11711 | 12600 | 意味します。 |
11712 | 12601 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
11713 | 12602 | |
11714 | 12603 | %hash = { one => 1, two => 2, }; # WRONG |
11715 | 12604 | %hash = [ qw/ an anon array / ]; # WRONG |
11716 | 12605 | %hash = ( one => 1, two => 2, ); # right |
11717 | 12606 | %hash = qw( one 1 two 2 ); # also fine |
11718 | 12607 | |
11719 | 12608 | =item Reference is already weak |
11720 | 12609 | |
11721 | 12610 | =begin original |
11722 | 12611 | |
11723 | 12612 | (W misc) You have attempted to weaken a reference that is already weak. |
11724 | 12613 | Doing so has no effect. |
11725 | 12614 | |
11726 | 12615 | =end original |
11727 | 12616 | |
11728 | 12617 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
11729 | 12618 | そうしても何の効果もありません。 |
11730 | 12619 | |
12620 | =item Reference is not weak | |
12621 | ||
12622 | =begin original | |
12623 | ||
12624 | (W misc) You have attempted to unweaken a reference that is not weak. | |
12625 | Doing so has no effect. | |
12626 | ||
12627 | =end original | |
12628 | ||
12629 | (W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。 | |
12630 | そうしても何の効果もありません。 | |
12631 | ||
11731 | 12632 | =item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/ |
11732 | 12633 | |
11733 | 12634 | =begin original |
11734 | 12635 | |
11735 | 12636 | (F) You used C<\g0> or similar in a regular expression. You may refer |
11736 | 12637 | to capturing parentheses only with strictly positive integers |
11737 | 12638 | (normal backreferences) or with strictly negative integers (relative |
11738 | 12639 | backreferences). Using 0 does not make sense. |
11739 | 12640 | |
11740 | 12641 | =end original |
11741 | 12642 | |
11742 | 12643 | (F) 正規表現で C<\g0> のようなものを使いました。 |
11743 | 12644 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) |
11744 | 12645 | のみです。 |
11745 | 12646 | 0 は意味を成しません。 |
11746 | 12647 | |
11747 | 12648 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in |
11748 | 12649 | m/%s/ |
11749 | 12650 | |
11750 | 12651 | =begin original |
11751 | 12652 | |
11752 | 12653 | (F) You used something like C<\7> in your regular expression, but there are |
11753 | 12654 | not at least seven sets of capturing parentheses in the expression. If |
11754 | 12655 | you wanted to have the character with ordinal 7 inserted into the regular |
11755 | 12656 | expression, prepend zeroes to make it three digits long: C<\007> |
11756 | 12657 | |
11757 | 12658 | =end original |
11758 | 12659 | |
11759 | 12660 | 正規表現の中で C<\7> のような記述がありますが、 |
11760 | 12661 | 正規表現の中に値を捕らえるかっこが 7 つありません。 |
11761 | 12662 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
11762 | 12663 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> |
11763 | 12664 | |
11764 | 12665 | =begin original |
11765 | 12666 | |
11766 | 12667 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
11767 | 12668 | discovered. |
11768 | 12669 | |
11769 | 12670 | =end original |
11770 | 12671 | |
11771 | 12672 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11772 | 12673 | |
11773 | 12674 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> |
11774 | 12675 | in m/%s/ |
11775 | 12676 | |
11776 | 12677 | =begin original |
11777 | 12678 | |
11778 | 12679 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular |
11779 | 12680 | expression, but there is no corresponding named capturing parentheses |
11780 | 12681 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been |
11781 | 12682 | spelled correctly both in the backreference and the declaration. |
11782 | 12683 | |
11783 | 12684 | =end original |
11784 | 12685 | |
11785 | 12686 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 |
11786 | 12687 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが |
11787 | 12688 | ありません。 |
11788 | 12689 | 前方参照と定義の両方において、名前のスペルが正しいかどうか |
11789 | 12690 | チェックしてください。 |
11790 | 12691 | |
11791 | 12692 | =begin original |
11792 | 12693 | |
11793 | 12694 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
11794 | 12695 | discovered. |
11795 | 12696 | |
11796 | 12697 | =end original |
11797 | 12698 | |
11798 | 12699 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11799 | 12700 | |
11800 | 12701 | =item Reference to nonexistent or unclosed group in regex; marked by |
11801 | 12702 | S<<-- HERE> in m/%s/ |
11802 | 12703 | |
11803 | 12704 | =begin original |
11804 | 12705 | |
11805 | 12706 | (F) You used something like C<\g{-7}> in your regular expression, but there |
11806 | 12707 | are not at least seven sets of closed capturing parentheses in the |
11807 | 12708 | expression before where the C<\g{-7}> was located. |
11808 | 12709 | |
11809 | 12710 | =end original |
11810 | 12711 | |
11811 | 12712 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の |
11812 | 12713 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 |
11813 | 12714 | |
11814 | 12715 | =begin original |
11815 | 12716 | |
11816 | 12717 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
11817 | 12718 | discovered. |
11818 | 12719 | |
11819 | 12720 | =end original |
11820 | 12721 | |
11821 | 12722 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
11822 | 12723 | |
11823 | 12724 | =item regexp memory corruption |
11824 | 12725 | |
11825 | 12726 | =begin original |
11826 | 12727 | |
11827 | 12728 | (P) The regular expression engine got confused by what the regular |
11828 | 12729 | expression compiler gave it. |
11829 | 12730 | |
11830 | 12731 | =end original |
11831 | 12732 | |
11832 | 12733 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
11833 | 12734 | 処理できなくなりました。 |
11834 | 12735 | |
11835 | 12736 | =item Regexp modifier "/%c" may appear a maximum of twice |
11836 | 12737 | |
11837 | 12738 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked |
11838 | 12739 | by S<<-- HERE> in m/%s/ |
11839 | 12740 | |
11840 | 12741 | =begin original |
11841 | 12742 | |
11842 | 12743 | (F) The regular expression pattern had too many occurrences |
11843 | 12744 | of the specified modifier. Remove the extraneous ones. |
11844 | 12745 | |
11845 | 12746 | =end original |
11846 | 12747 | |
11847 | 12748 | (F) 正規表現パターンに指定された修飾子が多すぎます。 |
11848 | 12749 | 余分なものを削除してください。 |
11849 | 12750 | |
11850 | 12751 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- |
11851 | 12752 | HERE in m/%s/ |
11852 | 12753 | |
11853 | 12754 | =begin original |
11854 | 12755 | |
11855 | 12756 | (F) Turning off the given modifier has the side effect of turning on |
11856 | 12757 | another one. Perl currently doesn't allow this. Reword the regular |
11857 | 12758 | expression to use the modifier you want to turn on (and place it before |
11858 | 12759 | the minus), instead of the one you want to turn off. |
11859 | 12760 | |
11860 | 12761 | =end original |
11861 | 12762 | |
11862 | 12763 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという |
11863 | 12764 | 副作用があります。 |
11864 | 12765 | Perl は現在のところこれを受け入れません。 |
11865 | 12766 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの |
11866 | 12767 | 前に置く)ように正規表現を書き直してください。 |
11867 | 12768 | |
11868 | 12769 | =item Regexp modifier "/%c" may not appear twice |
11869 | 12770 | |
11870 | 12771 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- |
11871 | 12772 | HERE in m/%s/ |
11872 | 12773 | |
11873 | 12774 | =begin original |
11874 | 12775 | |
11875 | 12776 | (F) The regular expression pattern had too many occurrences |
11876 | 12777 | of the specified modifier. Remove the extraneous ones. |
11877 | 12778 | |
11878 | 12779 | =end original |
11879 | 12780 | |
11880 | 12781 | (F) 正規表現パターンに指定された修飾子が多すぎます。 |
11881 | 12782 | 余分なものを削除してください。 |
11882 | 12783 | |
11883 | 12784 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive |
11884 | 12785 | |
11885 | 12786 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; |
11886 | 12787 | marked by S<<-- HERE> in m/%s/ |
11887 | 12788 | |
11888 | 12789 | =begin original |
11889 | 12790 | |
11890 | 12791 | (F) The regular expression pattern had more than one of these |
11891 | 12792 | mutually exclusive modifiers. Retain only the modifier that is |
11892 | 12793 | supposed to be there. |
11893 | 12794 | |
11894 | 12795 | =end original |
11895 | 12796 | |
11896 | 12797 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 |
11897 | 12798 | ここで使うであろう修飾子のみを保持します。 |
11898 | 12799 | |
11899 | 12800 | =item Regexp out of space in regex m/%s/ |
11900 | 12801 | |
11901 | 12802 | =begin original |
11902 | 12803 | |
11903 | 12804 | (P) A "can't happen" error, because safemalloc() should have caught it |
11904 | 12805 | earlier. |
11905 | 12806 | |
11906 | 12807 | =end original |
11907 | 12808 | |
11908 | 12809 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 |
11909 | 12810 | |
11910 | 12811 | =item Repeated format line will never terminate (~~ and @#) |
11911 | 12812 | |
11912 | 12813 | =begin original |
11913 | 12814 | |
11914 | 12815 | (F) Your format contains the ~~ repeat-until-blank sequence and a |
11915 | 12816 | numeric field that will never go blank so that the repetition never |
11916 | 12817 | terminates. You might use ^# instead. See L<perlform>. |
11917 | 12818 | |
11918 | 12819 | =end original |
11919 | 12820 | |
11920 | 12821 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない |
11921 | 12822 | スウチフィールドが含まれているので、無限ループになります。 |
11922 | 12823 | 代わりに ^# を使うべきでしょう。 |
11923 | 12824 | L<perlform> を参照してください。 |
11924 | 12825 | |
11925 | 12826 | =item Replacement list is longer than search list |
11926 | 12827 | |
11927 | 12828 | =begin original |
11928 | 12829 | |
11929 | 12830 | (W misc) You have used a replacement list that is longer than the |
11930 | 12831 | search list. So the additional elements in the replacement list |
11931 | 12832 | are meaningless. |
11932 | 12833 | |
11933 | 12834 | =end original |
11934 | 12835 | |
11935 | 12836 | (W misc) 検索リストよりも長い置換リストを使いました。 |
11936 | 12837 | 長い分の置換リストは無意味です。 |
11937 | 12838 | |
12839 | =item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/ | |
12840 | ||
12841 | =begin original | |
12842 | ||
12843 | (F) You used a construct that needs a colon and pattern argument. | |
12844 | Supply these or check that you are using the right construct. | |
12845 | ||
12846 | =end original | |
12847 | ||
12848 | (F) コロンとパターン引数を必要とする構文を使いました。 | |
12849 | これらを補うか、正しい構文を使っているか確認してください。 | |
12850 | ||
11938 | 12851 | =item '%s' resolved to '\o{%s}%d' |
11939 | 12852 | |
11940 | 12853 | =begin original |
11941 | 12854 | |
12855 | As of Perl 5.32, this message is no longer generated. Instead, see | |
12856 | L</Non-octal character '%c' terminates \o early. Resolved as "%s">. | |
11942 | 12857 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a |
11943 | 12858 | double-quotish string. All but the last digit is treated as a single |
11944 | 12859 | character, specified in octal. The last digit is the next character in |
11945 | 12860 | the string. To tell Perl that this is indeed what you want, you can use |
11946 | 12861 | the C<\o{ }> syntax, or use exactly three digits to specify the octal |
11947 | 12862 | for the character. |
11948 | 12863 | |
11949 | 12864 | =end original |
11950 | 12865 | |
12866 | Perl 5.32 から、もはやこのメッセージは出力されません。 | |
12867 | 代わりに、 | |
12868 | L</Non-octal character '%c' terminates \o early. Resolved as "%s"> | |
12869 | を見てください。 | |
11951 | 12870 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような |
11952 | 12871 | ものを書きました。 |
11953 | 12872 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 |
11954 | 12873 | 最後の数字は文字列中の次の文字です。 |
11955 | 12874 | これがまさしく望んでいるものであることを Perl に伝えるには、 |
11956 | 12875 | C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を |
11957 | 12876 | 使ってください。 |
11958 | 12877 | |
11959 | 12878 | =item Reversed %s= operator |
11960 | 12879 | |
11961 | 12880 | =begin original |
11962 | 12881 | |
11963 | 12882 | (W syntax) You wrote your assignment operator backwards. The = must |
11964 | 12883 | always come last, to avoid ambiguity with subsequent unary operators. |
11965 | 12884 | |
11966 | 12885 | =end original |
11967 | 12886 | |
11968 | 12887 | (W syntax) 代入演算子を逆順に書いています。 |
11969 | 12888 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
11970 | 12889 | 代入演算子では、等号 = が、最後にこないといけません。 |
11971 | 12890 | |
11972 | 12891 | =item rewinddir() attempted on invalid dirhandle %s |
11973 | 12892 | |
11974 | 12893 | =begin original |
11975 | 12894 | |
11976 | 12895 | (W io) The dirhandle you tried to do a rewinddir() on is either closed |
11977 | 12896 | or not really a dirhandle. Check your control flow. |
11978 | 12897 | |
11979 | 12898 | =end original |
11980 | 12899 | |
11981 | 12900 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 |
11982 | 12901 | 実際にはディレクトリハンドルではありません。 |
11983 | 12902 | 制御フローをチェックしてください。 |
11984 | 12903 | |
11985 | 12904 | =item Scalars leaked: %d |
11986 | 12905 | |
11987 | 12906 | =begin original |
11988 | 12907 | |
11989 | 12908 | (S internal) Something went wrong in Perl's internal bookkeeping |
11990 | 12909 | of scalars: not all scalar variables were deallocated by the time |
11991 | 12910 | Perl exited. What this usually indicates is a memory leak, which |
11992 | 12911 | is of course bad, especially if the Perl program is intended to be |
11993 | 12912 | long-running. |
11994 | 12913 | |
11995 | 12914 | =end original |
11996 | 12915 | |
11997 | 12916 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: |
11998 | 12917 | Perl 終了時に全てのスカラ変数が解放されませんでした。 |
11999 | 12918 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 |
12000 | 12919 | Perl プログラムが長い間動作する場合には特にそうです。 |
12001 | 12920 | |
12002 | 12921 | =item Scalar value @%s[%s] better written as $%s[%s] |
12003 | 12922 | |
12004 | 12923 | =begin original |
12005 | 12924 | |
12006 | 12925 | (W syntax) You've used an array slice (indicated by @) to select a |
12007 | 12926 | single element of an array. Generally it's better to ask for a scalar |
12008 | 12927 | value (indicated by $). The difference is that C<$foo[&bar]> always |
12009 | 12928 | behaves like a scalar, both when assigning to it and when evaluating its |
12010 | 12929 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
12011 | 12930 | and provides a list context to its subscript, which can do weird things |
12012 | 12931 | if you're expecting only one subscript. |
12013 | 12932 | |
12014 | 12933 | =end original |
12015 | 12934 | |
12016 | 12935 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
12017 | 12936 | スライスを用いました。 |
12018 | 12937 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
12019 | 12938 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
12020 | 12939 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
12021 | 12940 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
12022 | 12941 | 添字にもリストコンテキストを与えることになります; |
12023 | 12942 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
12024 | 12943 | |
12025 | 12944 | =begin original |
12026 | 12945 | |
12027 | 12946 | On the other hand, if you were actually hoping to treat the array |
12028 | 12947 | element as a list, you need to look into how references work, because |
12029 | 12948 | Perl will not magically convert between scalars and lists for you. See |
12030 | 12949 | L<perlref>. |
12031 | 12950 | |
12032 | 12951 | =end original |
12033 | 12952 | |
12034 | 12953 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
12035 | 12954 | どのように働くかについて詳しく知る必要があります; なぜなら |
12036 | 12955 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
12037 | 12956 | L<perlref> を参照してください。 |
12038 | 12957 | |
12039 | 12958 | =item Scalar value @%s{%s} better written as $%s{%s} |
12040 | 12959 | |
12041 | 12960 | =begin original |
12042 | 12961 | |
12043 | 12962 | (W syntax) You've used a hash slice (indicated by @) to select a single |
12044 | 12963 | element of a hash. Generally it's better to ask for a scalar value |
12045 | 12964 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
12046 | 12965 | like a scalar, both when assigning to it and when evaluating its |
12047 | 12966 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
12048 | 12967 | and provides a list context to its subscript, which can do weird things |
12049 | 12968 | if you're expecting only one subscript. |
12050 | 12969 | |
12051 | 12970 | =end original |
12052 | 12971 | |
12053 | 12972 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
12054 | 12973 | スライスを用いました。 |
12055 | 12974 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
12056 | 12975 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
12057 | 12976 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
12058 | 12977 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
12059 | 12978 | 添字にもリストコンテキストを与えることになります; |
12060 | 12979 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
12061 | 12980 | |
12062 | 12981 | =begin original |
12063 | 12982 | |
12064 | 12983 | On the other hand, if you were actually hoping to treat the hash element |
12065 | 12984 | as a list, you need to look into how references work, because Perl will |
12066 | 12985 | not magically convert between scalars and lists for you. See |
12067 | 12986 | L<perlref>. |
12068 | 12987 | |
12069 | 12988 | =end original |
12070 | 12989 | |
12071 | 12990 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
12072 | 12991 | どのように働くかについて詳しく知る必要があります; なぜなら |
12073 | 12992 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
12074 | 12993 | L<perlref> を参照してください。 |
12075 | 12994 | |
12076 | 12995 | =item Search pattern not terminated |
12077 | 12996 | |
12078 | 12997 | =begin original |
12079 | 12998 | |
12080 | 12999 | (F) The lexer couldn't find the final delimiter of a // or m{} |
12081 | 13000 | construct. Remember that bracketing delimiters count nesting level. |
12082 | 13001 | Missing the leading C<$> from a variable C<$m> may cause this error. |
12083 | 13002 | |
12084 | 13003 | =end original |
12085 | 13004 | |
12086 | 13005 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
12087 | 13006 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
12088 | 13007 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
12089 | 13008 | |
12090 | 13009 | =begin original |
12091 | 13010 | |
12092 | 13011 | Note that since Perl 5.10.0 a // can also be the I<defined-or> |
12093 | 13012 | construct, not just the empty search pattern. Therefore code written |
12094 | 13013 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be |
12095 | 13014 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. |
12096 | 13015 | |
12097 | 13016 | =end original |
12098 | 13017 | |
12099 | 13018 | Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる |
12100 | 13019 | 空検索パターンではありません。 |
12101 | 13020 | 従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている |
12102 | 13021 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして |
12103 | 13022 | 誤パースされるかもしれません。 |
12104 | 13023 | |
12105 | 13024 | =item seekdir() attempted on invalid dirhandle %s |
12106 | 13025 | |
12107 | 13026 | =begin original |
12108 | 13027 | |
12109 | 13028 | (W io) The dirhandle you are doing a seekdir() on is either closed or not |
12110 | 13029 | really a dirhandle. Check your control flow. |
12111 | 13030 | |
12112 | 13031 | =end original |
12113 | 13032 | |
12114 | 13033 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 |
12115 | 13034 | 実際にはディレクトリハンドルではありません。 |
12116 | 13035 | 制御フローをチェックしてください。 |
12117 | 13036 | |
12118 | 13037 | =item %sseek() on unopened filehandle |
12119 | 13038 | |
12120 | 13039 | =begin original |
12121 | 13040 | |
12122 | 13041 | (W unopened) You tried to use the seek() or sysseek() function on a |
12123 | 13042 | filehandle that was either never opened or has since been closed. |
12124 | 13043 | |
12125 | 13044 | =end original |
12126 | 13045 | |
12127 | 13046 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
12128 | 13047 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
12129 | 13048 | |
12130 | 13049 | =item select not implemented |
12131 | 13050 | |
12132 | 13051 | =begin original |
12133 | 13052 | |
12134 | 13053 | (F) This machine doesn't implement the select() system call. |
12135 | 13054 | |
12136 | 13055 | =end original |
12137 | 13056 | |
12138 | 13057 | (F) このマシンでは、select() システムコールは実装されていません。 |
12139 | 13058 | |
12140 | 13059 | =item Self-ties of arrays and hashes are not supported |
12141 | 13060 | |
12142 | 13061 | =begin original |
12143 | 13062 | |
12144 | 13063 | (F) Self-ties are of arrays and hashes are not supported in |
12145 | 13064 | the current implementation. |
12146 | 13065 | |
12147 | 13066 | =end original |
12148 | 13067 | |
12149 | 13068 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 |
12150 | 13069 | |
12151 | 13070 | =item Semicolon seems to be missing |
12152 | 13071 | |
12153 | 13072 | =begin original |
12154 | 13073 | |
12155 | 13074 | (W semicolon) A nearby syntax error was probably caused by a missing |
12156 | 13075 | semicolon, or possibly some other missing operator, such as a comma. |
12157 | 13076 | |
12158 | 13077 | =end original |
12159 | 13078 | |
12160 | 13079 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
12161 | 13080 | 演算子がなかったために起こったものと考えられます。 |
12162 | 13081 | |
12163 | 13082 | =item semi-panic: attempt to dup freed string |
12164 | 13083 | |
12165 | 13084 | =begin original |
12166 | 13085 | |
12167 | 13086 | (S internal) The internal newSVsv() routine was called to duplicate a |
12168 | 13087 | scalar that had previously been marked as free. |
12169 | 13088 | |
12170 | 13089 | =end original |
12171 | 13090 | |
12172 | 13091 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
12173 | 13092 | newSVsv() ルーティンが呼ばれました。 |
12174 | 13093 | |
12175 | 13094 | =item sem%s not implemented |
12176 | 13095 | |
12177 | 13096 | =begin original |
12178 | 13097 | |
12179 | 13098 | (F) You don't have System V semaphore IPC on your system. |
12180 | 13099 | |
12181 | 13100 | =end original |
12182 | 13101 | |
12183 | 13102 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
12184 | 13103 | |
12185 | 13104 | =item send() on closed socket %s |
12186 | 13105 | |
12187 | 13106 | =begin original |
12188 | 13107 | |
12189 | 13108 | (W closed) The socket you're sending to got itself closed sometime |
12190 | 13109 | before now. Check your control flow. |
12191 | 13110 | |
12192 | 13111 | =end original |
12193 | 13112 | |
12194 | 13113 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 |
12195 | 13114 | 制御フローをチェックしてください。 |
12196 | 13115 | |
12197 | 13116 | =item Sequence "\c{" invalid |
12198 | 13117 | |
12199 | 13118 | =begin original |
12200 | 13119 | |
12201 | 13120 | (F) These three characters may not appear in sequence in a |
12202 | 13121 | double-quotish context. This message is raised only on non-ASCII |
12203 | 13122 | platforms (a different error message is output on ASCII ones). If you |
12204 | 13123 | were intending to specify a control character with this sequence, you'll |
12205 | 13124 | have to use a different way to specify it. |
12206 | 13125 | |
12207 | 13126 | =end original |
12208 | 13127 | |
12209 | 13128 | (F) これら三つの文字の並びはダブルクォート風のコンテキストでは |
12210 | 13129 | 使えません。 |
12211 | 13130 | このメッセージは非 ASCII プラットフォームでのみ発生します |
12212 | 13131 | (ASCII では異なったえらメッセージが出力されます)。 |
12213 | 13132 | この並びの制御文字を指定することを意図している場合は、指定するために |
12214 | 13133 | 異なる方法を使う必要があります。 |
12215 | 13134 | |
12216 | 13135 | =item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/ |
12217 | 13136 | |
12218 | 13137 | =begin original |
12219 | 13138 | |
12220 | 13139 | (F) A regular expression ended with an incomplete extension (?. The |
12221 | 13140 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
12222 | 13141 | discovered. See L<perlre>. |
12223 | 13142 | |
12224 | 13143 | =end original |
12225 | 13144 | |
12226 | 13145 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
12227 | 13146 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12228 | 13147 | L<perlre> を参照してください。 |
12229 | 13148 | |
12230 | 13149 | =item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in |
12231 | 13150 | m/%s/ |
12232 | 13151 | |
12233 | 13152 | =begin original |
12234 | 13153 | |
12235 | 13154 | (F) A proposed regular expression extension has the character reserved |
12236 | 13155 | but has not yet been written. The S<<-- HERE> shows whereabouts in the |
12237 | 13156 | regular expression the problem was discovered. See L<perlre>. |
12238 | 13157 | |
12239 | 13158 | =end original |
12240 | 13159 | |
12241 | 13160 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
12242 | 13161 | まだ実装されていません。 |
12243 | 13162 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12244 | 13163 | L<perlre> を参照してください。 |
12245 | 13164 | |
12246 | 13165 | =item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in |
12247 | 13166 | m/%s/ |
12248 | 13167 | |
12249 | 13168 | =begin original |
12250 | 13169 | |
12251 | 13170 | (F) You used a regular expression extension that doesn't make sense. |
12252 | 13171 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
12253 | 13172 | discovered. This may happen when using the C<(?^...)> construct to tell |
12254 | 13173 | Perl to use the default regular expression modifiers, and you |
12255 | 13174 | redundantly specify a default modifier. For other |
12256 | 13175 | causes, see L<perlre>. |
12257 | 13176 | |
12258 | 13177 | =end original |
12259 | 13178 | |
12260 | 13179 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
12261 | 13180 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12262 | 13181 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために |
12263 | 13182 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 |
12264 | 13183 | その他の理由については、L<perlre> を参照してください。 |
12265 | 13184 | |
12266 | 13185 | =item Sequence (?#... not terminated in regex m/%s/ |
12267 | 13186 | |
12268 | 13187 | =begin original |
12269 | 13188 | |
12270 | 13189 | (F) A regular expression comment must be terminated by a closing |
12271 | 13190 | parenthesis. Embedded parentheses aren't allowed. See |
12272 | 13191 | L<perlre>. |
12273 | 13192 | |
12274 | 13193 | =end original |
12275 | 13194 | |
12276 | 13195 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 |
12277 | 13196 | 組み込みのかっこは許可されません。 |
12278 | 13197 | L<perlre> を参照してください。 |
12279 | 13198 | |
12280 | 13199 | =item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in |
12281 | 13200 | m/%s/ |
12282 | 13201 | |
12283 | 13202 | =begin original |
12284 | 13203 | |
12285 | 13204 | (F) A named reference of the form C<(?&...)> was missing the final |
12286 | 13205 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts |
12287 | 13206 | in the regular expression the problem was discovered. |
12288 | 13207 | |
12289 | 13208 | =end original |
12290 | 13209 | |
12291 | 13210 | (F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが |
12292 | 13211 | ありません。 |
12293 | 13212 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12294 | 13213 | |
12295 | 13214 | =item Sequence (?%c... not terminated in regex; marked by S<<-- HERE> |
12296 | 13215 | in m/%s/ |
12297 | 13216 | |
12298 | 13217 | =begin original |
12299 | 13218 | |
12300 | 13219 | (F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final |
12301 | 13220 | closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the |
12302 | 13221 | regular expression the problem was discovered. |
12303 | 13222 | |
12304 | 13223 | =end original |
12305 | 13224 | |
12306 | 13225 | (F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の |
12307 | 13226 | 最後の閉じクォートまたは山かっこがありません。 |
12308 | 13227 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12309 | 13228 | |
12310 | 13229 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> |
12311 | 13230 | in m/%s/ |
12312 | 13231 | |
12313 | 13232 | =begin original |
12314 | 13233 | |
12315 | 13234 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was |
12316 | 13235 | missing the final closing quote or angle bracket after the name. The |
12317 | 13236 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
12318 | 13237 | discovered. |
12319 | 13238 | |
12320 | 13239 | =end original |
12321 | 13240 | |
12322 | 13241 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き |
12323 | 13242 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 |
12324 | 13243 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12325 | 13244 | |
12326 | 13245 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in |
12327 | 13246 | m/%s/ |
12328 | 13247 | |
12329 | 13248 | =begin original |
12330 | 13249 | |
12331 | 13250 | (F) There was no matching closing parenthesis for the '('. The |
12332 | 13251 | S<<-- HERE> shows whereabouts in the regular expression the problem was |
12333 | 13252 | discovered. |
12334 | 13253 | |
12335 | 13254 | =end original |
12336 | 13255 | |
12337 | 13256 | (F) '(' に対応する閉じかっこがありません。 |
12338 | 13257 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12339 | 13258 | |
12340 | 13259 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in |
12341 | 13260 | m/%s/ |
12342 | 13261 | |
12343 | 13262 | =begin original |
12344 | 13263 | |
12345 | 13264 | (F) The regular expression expects a mandatory argument following the escape |
12346 | 13265 | sequence and this has been omitted or incorrectly written. |
12347 | 13266 | |
12348 | 13267 | =end original |
12349 | 13268 | |
12350 | 13269 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 |
12351 | 13270 | それが省略されているか適切に書かれていません。 |
12352 | 13271 | |
12353 | 13272 | =item Sequence (?{...}) not terminated with ')' |
12354 | 13273 | |
12355 | 13274 | =begin original |
12356 | 13275 | |
12357 | 13276 | (F) The end of the perl code contained within the {...} must be |
12358 | 13277 | followed immediately by a ')'. |
12359 | 13278 | |
12360 | 13279 | =end original |
12361 | 13280 | |
12362 | 13281 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が |
12363 | 13282 | 引き続かなければなりません。 |
12364 | 13283 | |
13284 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13285 | ||
13286 | =begin original | |
13287 | ||
13288 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
13289 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13290 | in the regular expression the problem was discovered. | |
13291 | ||
13292 | =end original | |
13293 | ||
13294 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
13295 | ありません。 | |
13296 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13297 | ||
13298 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13299 | ||
13300 | =begin original | |
13301 | ||
13302 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
13303 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
13304 | regular expression the problem was discovered. | |
13305 | ||
13306 | =end original | |
13307 | ||
13308 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
13309 | 最後の閉じ山かっこがありません。 | |
13310 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13311 | ||
12365 | 13312 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in |
12366 | 13313 | m/%s/ |
12367 | 13314 | |
12368 | 13315 | =begin original |
12369 | 13316 | |
12370 | 13317 | (F) A named reference of the form C<(?P=...)> was missing the final |
12371 | 13318 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts |
12372 | 13319 | in the regular expression the problem was discovered. |
12373 | 13320 | |
12374 | 13321 | =end original |
12375 | 13322 | |
12376 | 13323 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の |
12377 | 13324 | 閉じかっこがありません。 |
12378 | 13325 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
12379 | 13326 | |
12380 | 13327 | =item Sequence (?R) not terminated in regex m/%s/ |
12381 | 13328 | |
12382 | 13329 | =begin original |
12383 | 13330 | |
12384 | 13331 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the |
12385 | 13332 | final parenthesis. |
12386 | 13333 | |
12387 | 13334 | =end original |
12388 | 13335 | |
12389 | 13336 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 |
12390 | 13337 | |
12391 | =item | |
13338 | =item Z<>500 Server error | |
12392 | 13339 | |
12393 | 13340 | =begin original |
12394 | 13341 | |
12395 | 13342 | (A) This is the error message generally seen in a browser window |
12396 | 13343 | when trying to run a CGI program (including SSI) over the web. The |
12397 | 13344 | actual error text varies widely from server to server. The most |
12398 | 13345 | frequently-seen variants are "500 Server error", "Method (something) |
12399 | 13346 | not permitted", "Document contains no data", "Premature end of script |
12400 | 13347 | headers", and "Did not produce a valid header". |
12401 | 13348 | |
12402 | 13349 | =end original |
12403 | 13350 | |
12404 | 13351 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに |
12405 | 13352 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
12406 | 13353 | 実際のエラーテキストはサーバーによって大きく異なります。 |
12407 | 13354 | もっともよく見られるものとしては、"500 Server error", |
12408 | 13355 | "Method (something) not permitted", "Document contains no data", |
12409 | 13356 | "Premature end of script headers", "Did not produce a valid header" が |
12410 | 13357 | あります。 |
12411 | 13358 | |
12412 | 13359 | =begin original |
12413 | 13360 | |
12414 | 13361 | B<This is a CGI error, not a Perl error>. |
12415 | 13362 | |
12416 | 13363 | =end original |
12417 | 13364 | |
12418 | 13365 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
12419 | 13366 | |
12420 | 13367 | =begin original |
12421 | 13368 | |
12422 | 13369 | You need to make sure your script is executable, is accessible by |
12423 | 13370 | the user CGI is running the script under (which is probably not the |
12424 | 13371 | user account you tested it under), does not rely on any environment |
12425 | 13372 | variables (like PATH) from the user it isn't running under, and isn't |
12426 | 13373 | in a location where the CGI server can't find it, basically, more or |
12427 | 13374 | less. Please see the following for more information: |
12428 | 13375 | |
12429 | 13376 | =end original |
12430 | 13377 | |
12431 | 13378 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
12432 | 13379 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
12433 | 13380 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
12434 | 13381 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
12435 | 13382 | さらなる情報については以下を参照してください。 |
12436 | 13383 | |
12437 | http://www.perl.org/CGI_MetaFAQ.html | |
13384 | https://www.perl.org/CGI_MetaFAQ.html | |
12438 | 13385 | http://www.htmlhelp.org/faq/cgifaq.html |
12439 | 13386 | http://www.w3.org/Security/Faq/ |
12440 | 13387 | |
12441 | 13388 | =begin original |
12442 | 13389 | |
12443 | 13390 | You should also look at L<perlfaq9>. |
12444 | 13391 | |
12445 | 13392 | =end original |
12446 | 13393 | |
12447 | 13394 | L<perlfaq9> も見るべきでしょう。 |
12448 | 13395 | |
12449 | 13396 | =item setegid() not implemented |
12450 | 13397 | |
12451 | 13398 | =begin original |
12452 | 13399 | |
12453 | 13400 | (F) You tried to assign to C<$)>, and your operating system doesn't |
12454 | 13401 | support the setegid() system call (or equivalent), or at least Configure |
12455 | 13402 | didn't think so. |
12456 | 13403 | |
12457 | 13404 | =end original |
12458 | 13405 | |
12459 | 13406 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
12460 | 13407 | システムコール (または、同等のもの) がサポートされていません; |
12461 | 13408 | 少なくとも Configure では、そう判断されました。 |
12462 | 13409 | |
12463 | 13410 | =item seteuid() not implemented |
12464 | 13411 | |
12465 | 13412 | =begin original |
12466 | 13413 | |
12467 | 13414 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
12468 | 13415 | support the seteuid() system call (or equivalent), or at least Configure |
12469 | 13416 | didn't think so. |
12470 | 13417 | |
12471 | 13418 | =end original |
12472 | 13419 | |
12473 | 13420 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
12474 | 13421 | システムコール (または、同等のもの) がサポートされていません; |
12475 | 13422 | 少なくとも Configure では、そう判断されました。 |
12476 | 13423 | |
12477 | 13424 | =item setpgrp can't take arguments |
12478 | 13425 | |
12479 | 13426 | =begin original |
12480 | 13427 | |
12481 | 13428 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
12482 | 13429 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
12483 | 13430 | group ID. |
12484 | 13431 | |
12485 | 13432 | =end original |
12486 | 13433 | |
12487 | 13434 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; |
12488 | 13435 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
12489 | 13436 | |
12490 | 13437 | =item setrgid() not implemented |
12491 | 13438 | |
12492 | 13439 | =begin original |
12493 | 13440 | |
12494 | 13441 | (F) You tried to assign to C<$(>, and your operating system doesn't |
12495 | 13442 | support the setrgid() system call (or equivalent), or at least Configure |
12496 | 13443 | didn't think so. |
12497 | 13444 | |
12498 | 13445 | =end original |
12499 | 13446 | |
12500 | 13447 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
12501 | 13448 | システムコール (または、同等のもの) がサポートされていません; |
12502 | 13449 | 少なくとも Configure では、そう判断されました。 |
12503 | 13450 | |
12504 | 13451 | =item setruid() not implemented |
12505 | 13452 | |
12506 | 13453 | =begin original |
12507 | 13454 | |
12508 | 13455 | (F) You tried to assign to C<$<>, and your operating system doesn't |
12509 | 13456 | support the setruid() system call (or equivalent), or at least Configure |
12510 | 13457 | didn't think so. |
12511 | 13458 | |
12512 | 13459 | =end original |
12513 | 13460 | |
12514 | 13461 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
12515 | 13462 | システムコール (または、同等のもの) がサポートされていません; |
12516 | 13463 | 少なくとも Configure では、そう判断されました。 |
12517 | 13464 | |
12518 | 13465 | =item setsockopt() on closed socket %s |
12519 | 13466 | |
12520 | 13467 | =begin original |
12521 | 13468 | |
12522 | 13469 | (W closed) You tried to set a socket option on a closed socket. Did you |
12523 | 13470 | forget to check the return value of your socket() call? See |
12524 | 13471 | L<perlfunc/setsockopt>. |
12525 | 13472 | |
12526 | 13473 | =end original |
12527 | 13474 | |
12528 | 13475 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
12529 | 13476 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
12530 | 13477 | L<perlfunc/setsockopt> を参照してください。 |
12531 | 13478 | |
12532 | =item Setting $ | |
13479 | =item Setting $/ to a reference to %s is forbidden | |
12533 | 13480 | |
12534 | 13481 | =begin original |
12535 | 13482 | |
12536 | ( | |
13483 | (F) You assigned a reference to a scalar to C<$/> where the referenced item is | |
12537 | ||
13484 | not a positive integer. In older perls this B<appeared> to work the same as | |
13485 | setting it to C<undef> but was in fact internally different, less efficient | |
13486 | and with very bad luck could have resulted in your file being split by a | |
13487 | stringified form of the reference. | |
12538 | 13488 | |
12539 | 13489 | =end original |
12540 | 13490 | |
12541 | ( | |
13491 | (F) リファレンス先のアイテムが正の整数でないときに、 | |
12542 | これは廃止予定です; 詳しくは C<L<perlvar/${^ENCODING}>> を参照してください。 | |
12543 | ||
12544 | =item Setting $/ to a reference to %s as a form of slurp is deprecated, treating as undef | |
12545 | ||
12546 | =begin original | |
12547 | ||
12548 | (D deprecated) You assigned a reference to a scalar to C<$/> where the | |
12549 | referenced item is not a positive integer. In older perls this B<appeared> | |
12550 | to work the same as setting it to C<undef> but was in fact internally | |
12551 | different, less efficient and with very bad luck could have resulted in | |
12552 | your file being split by a stringified form of the reference. | |
12553 | ||
12554 | =end original | |
12555 | ||
12556 | (D deprecated) リファレンス先のアイテムが正の整数でないときに、 | |
12557 | 13492 | C<$/> にスカラへの整数を代入しました。 |
12558 | 13493 | 以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、 |
12559 | 13494 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが |
12560 | 13495 | このリファレンスの文字列化形式で split されることになっていました。 |
12561 | 13496 | |
12562 | 13497 | =begin original |
12563 | 13498 | |
12564 | 13499 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as |
12565 | setting C<$/> to undef, with the exception that this warning would be | |
13500 | setting C<$/> to undef, with the exception that this warning would be thrown. | |
12566 | thrown. | |
12567 | 13501 | |
12568 | 13502 | =end original |
12569 | 13503 | |
12570 | 13504 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては |
12571 | 13505 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 |
12572 | 13506 | |
12573 | 13507 | =begin original |
12574 | 13508 | |
12575 | You are recommended to change your code to set C<$/> to C<undef> explicitly | |
13509 | You are recommended to change your code to set C<$/> to C<undef> explicitly if | |
12576 | ||
13510 | you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference | |
12577 | a | |
13511 | to an integer which isn't positive is a fatal error. | |
12578 | 13512 | |
12579 | 13513 | =end original |
12580 | 13514 | |
12581 | 13515 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を |
12582 | 13516 | 設定するようにコードを変更することを勧めます。 |
12583 | ||
13517 | Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は | |
13518 | 致命的エラーです。 | |
12584 | 13519 | |
12585 | 13520 | =item Setting $/ to %s reference is forbidden |
12586 | 13521 | |
12587 | 13522 | =begin original |
12588 | 13523 | |
12589 | 13524 | (F) You tried to assign a reference to a non integer to C<$/>. In older |
12590 | 13525 | Perls this would have behaved similarly to setting it to a reference to |
12591 | 13526 | a positive integer, where the integer was the address of the reference. |
12592 | 13527 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl |
12593 | 13528 | to use non-integer refs for more interesting purposes. |
12594 | 13529 | |
12595 | 13530 | =end original |
12596 | 13531 | |
12597 | 13532 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 |
12598 | 13533 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを |
12599 | 13534 | 設定するのと似たように振る舞っていました。 |
12600 | 13535 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように |
12601 | 13536 | Perl 5.20.0 から、これは致命的エラーになりました。 |
12602 | 13537 | |
12603 | =item shift on reference is experimental | |
12604 | ||
12605 | =begin original | |
12606 | ||
12607 | (S experimental::autoderef) C<shift> with a scalar argument is experimental | |
12608 | and may change or be removed in a future Perl version. If you want to | |
12609 | take the risk of using this feature, simply disable this warning: | |
12610 | ||
12611 | =end original | |
12612 | ||
12613 | (S experimental::autoderef) スカラ引数の C<shift> は実験的で、将来の | |
12614 | バージョンの Perl で変更されたり削除されたりするかもしれません。 | |
12615 | この機能を使うリスクを取る場合は、単に警告を無効にして下さい: | |
12616 | ||
12617 | no warnings "experimental::autoderef"; | |
12618 | ||
12619 | 13538 | =item shm%s not implemented |
12620 | 13539 | |
12621 | 13540 | =begin original |
12622 | 13541 | |
12623 | 13542 | (F) You don't have System V shared memory IPC on your system. |
12624 | 13543 | |
12625 | 13544 | =end original |
12626 | 13545 | |
12627 | 13546 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
12628 | 13547 | |
12629 | 13548 | =item !=~ should be !~ |
12630 | 13549 | |
12631 | 13550 | =begin original |
12632 | 13551 | |
12633 | 13552 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be |
12634 | 13553 | interpreted as the != (numeric not equal) and ~ (1's complement) |
12635 | 13554 | operators: probably not what you intended. |
12636 | 13555 | |
12637 | 13556 | =end original |
12638 | 13557 | |
12639 | 13558 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 |
12640 | 13559 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: |
12641 | 13560 | おそらくあなたの意図していることではないでしょう。 |
12642 | 13561 | |
12643 | 13562 | =item /%s/ should probably be written as "%s" |
12644 | 13563 | |
12645 | 13564 | =begin original |
12646 | 13565 | |
12647 | 13566 | (W syntax) You have used a pattern where Perl expected to find a string, |
12648 | 13567 | as in the first argument to C<join>. Perl will treat the true or false |
12649 | 13568 | result of matching the pattern against $_ as the string, which is |
12650 | 13569 | probably not what you had in mind. |
12651 | 13570 | |
12652 | 13571 | =end original |
12653 | 13572 | |
12654 | 13573 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
12655 | 13574 | パターンを使いました。 |
12656 | 13575 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
12657 | 13576 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
12658 | 13577 | |
12659 | 13578 | =item shutdown() on closed socket %s |
12660 | 13579 | |
12661 | 13580 | =begin original |
12662 | 13581 | |
12663 | 13582 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
12664 | 13583 | superfluous. |
12665 | 13584 | |
12666 | 13585 | =end original |
12667 | 13586 | |
12668 | 13587 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
12669 | 13588 | 多少、無駄のように思われます。 |
12670 | 13589 | |
12671 | 13590 | =item SIG%s handler "%s" not defined |
12672 | 13591 | |
12673 | 13592 | =begin original |
12674 | 13593 | |
12675 | 13594 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
12676 | 13595 | Perhaps you put it into the wrong package? |
12677 | 13596 | |
12678 | 13597 | =end original |
12679 | 13598 | |
12680 | 13599 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
12681 | 13600 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
12682 | 13601 | |
12683 | 13602 | =item Slab leaked from cv %p |
12684 | 13603 | |
12685 | 13604 | =begin original |
12686 | 13605 | |
12687 | 13606 | (S) If you see this message, then something is seriously wrong with the |
12688 | 13607 | internal bookkeeping of op trees. An op tree needed to be freed after |
12689 | 13608 | a compilation error, but could not be found, so it was leaked instead. |
12690 | 13609 | |
12691 | 13610 | =end original |
12692 | 13611 | |
12693 | 13612 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく |
12694 | 13613 | 悪いことになっています。 |
12695 | 13614 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 |
12696 | 13615 | 見つからないので、リークしています。 |
12697 | 13616 | |
12698 | 13617 | =item sleep(%u) too large |
12699 | 13618 | |
12700 | 13619 | =begin original |
12701 | 13620 | |
12702 | 13621 | (W overflow) You called C<sleep> with a number that was larger than |
12703 | 13622 | it can reliably handle and C<sleep> probably slept for less time than |
12704 | 13623 | requested. |
12705 | 13624 | |
12706 | 13625 | =end original |
12707 | 13626 | |
12708 | 13627 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 |
12709 | 13628 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 |
12710 | 13629 | |
12711 | 13630 | =item Slurpy parameter not last |
12712 | 13631 | |
12713 | 13632 | =begin original |
12714 | 13633 | |
12715 | 13634 | (F) In a subroutine signature, you put something after a slurpy (array or |
12716 | 13635 | hash) parameter. The slurpy parameter takes all the available arguments, |
12717 | 13636 | so there can't be any left to fill later parameters. |
12718 | 13637 | |
12719 | 13638 | =end original |
12720 | 13639 | |
12721 | 13640 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に |
12722 | 13641 | 何かを起きました。 |
12723 | 13642 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに |
12724 | 13643 | 対応するものを残しません。 |
12725 | 13644 | |
12726 | 13645 | =item Smart matching a non-overloaded object breaks encapsulation |
12727 | 13646 | |
12728 | 13647 | =begin original |
12729 | 13648 | |
12730 | 13649 | (F) You should not use the C<~~> operator on an object that does not |
12731 | 13650 | overload it: Perl refuses to use the object's underlying structure |
12732 | 13651 | for the smart match. |
12733 | 13652 | |
12734 | 13653 | =end original |
12735 | 13654 | |
12736 | 13655 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を |
12737 | 13656 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの |
12738 | 13657 | 基礎となる構造を使うことを拒否します。 |
12739 | 13658 | |
12740 | 13659 | =item Smartmatch is experimental |
12741 | 13660 | |
12742 | 13661 | =begin original |
12743 | 13662 | |
12744 | 13663 | (S experimental::smartmatch) This warning is emitted if you |
12745 | 13664 | use the smartmatch (C<~~>) operator. This is currently an experimental |
12746 | 13665 | feature, and its details are subject to change in future releases of |
12747 | 13666 | Perl. Particularly, its current behavior is noticed for being |
12748 | 13667 | unnecessarily complex and unintuitive, and is very likely to be |
12749 | 13668 | overhauled. |
12750 | 13669 | |
12751 | 13670 | =end original |
12752 | 13671 | |
12753 | 13672 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を |
12754 | 13673 | 使ったときに出力されます。 |
12755 | 13674 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される |
12756 | 13675 | 可能性があります。 |
12757 | 13676 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に |
12758 | 13677 | 見直されます。 |
12759 | 13678 | |
12760 | =item | |
13679 | =item Sorry, hash keys must be smaller than 2**31 bytes | |
12761 | 13680 | |
12762 | 13681 | =begin original |
12763 | 13682 | |
12764 | (F) | |
13683 | (F) You tried to create a hash containing a very large key, where "very | |
12765 | ||
13684 | large" means that it needs at least 2 gigabytes to store. Unfortunately, | |
13685 | Perl doesn't yet handle such large hash keys. You should | |
13686 | reconsider your design to avoid hashing such a long string directly. | |
12766 | 13687 | |
12767 | 13688 | =end original |
12768 | 13689 | |
12769 | (F) | |
13690 | (F) とても大きなキーを含むハッシュを作ろうとしました; | |
12770 | ||
13691 | ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。 | |
12771 | ||
13692 | 残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。 | |
13693 | そのような長い文字列で直接ハッシュを作るのを避けるように、 | |
13694 | 設計を再考する必要があります。 | |
12772 | 13695 | |
12773 | =item | |
13696 | =item sort is now a reserved word | |
12774 | 13697 | |
12775 | 13698 | =begin original |
12776 | 13699 | |
12777 | (F) A | |
13700 | (F) An ancient error message that almost nobody ever runs into anymore. | |
12778 | ||
13701 | But before sort was a keyword, people sometimes used it as a filehandle. | |
12779 | 13702 | |
12780 | 13703 | =end original |
12781 | 13704 | |
12782 | (F) | |
13705 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 | |
12783 | ||
13706 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして | |
12784 | ||
13707 | 使う方がいました。 | |
12785 | 13708 | |
12786 | 13709 | =item Source filters apply only to byte streams |
12787 | 13710 | |
12788 | 13711 | =begin original |
12789 | 13712 | |
12790 | 13713 | (F) You tried to activate a source filter (usually by loading a |
12791 | 13714 | source filter module) within a string passed to C<eval>. This is |
12792 | 13715 | not permitted under the C<unicode_eval> feature. Consider using |
12793 | 13716 | C<evalbytes> instead. See L<feature>. |
12794 | 13717 | |
12795 | 13718 | =end original |
12796 | 13719 | |
12797 | 13720 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを |
12798 | 13721 | 読み込むことで)ソースフィルタを有効にしようとしました。 |
12799 | 13722 | これは C<unicode_eval> 機能が有効の場合は許されていません。 |
12800 | 13723 | 代わりに C<evalbytes> を使うことを検討してください。 |
12801 | 13724 | L<feature> を参照してください。 |
12802 | 13725 | |
12803 | 13726 | =item splice() offset past end of array |
12804 | 13727 | |
12805 | 13728 | =begin original |
12806 | 13729 | |
12807 | 13730 | (W misc) You attempted to specify an offset that was past the end of |
12808 | 13731 | the array passed to splice(). Splicing will instead commence at the |
12809 | 13732 | end of the array, rather than past it. If this isn't what you want, |
12810 | 13733 | try explicitly pre-extending the array by assigning $#array = $offset. |
12811 | 13734 | See L<perlfunc/splice>. |
12812 | 13735 | |
12813 | 13736 | =end original |
12814 | 13737 | |
12815 | 13738 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 |
12816 | 13739 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 |
12817 | 13740 | これが望んでいることではないなら、$#array = $offset と代入することで |
12818 | 13741 | 明示的に事前に配列を拡張してください。 |
12819 | 13742 | L<perlfunc/splice> を参照してください。 |
12820 | 13743 | |
12821 | =item splice on reference is experimental | |
12822 | ||
12823 | =begin original | |
12824 | ||
12825 | (S experimental::autoderef) C<splice> with a scalar argument | |
12826 | is experimental and may change or be removed in a future | |
12827 | Perl version. If you want to take the risk of using this | |
12828 | feature, simply disable this warning: | |
12829 | ||
12830 | =end original | |
12831 | ||
12832 | (S experimental::autoderef) スカラ引数の C<splice> は実験的で、将来の | |
12833 | バージョンの Perl で変更されたり削除されたりするかもしれません。 | |
12834 | この機能を使うリスクを取る場合は、単に警告を無効にして下さい: | |
12835 | ||
12836 | no warnings "experimental::autoderef"; | |
12837 | ||
12838 | 13744 | =item Split loop |
12839 | 13745 | |
12840 | 13746 | =begin original |
12841 | 13747 | |
12842 | 13748 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
12843 | 13749 | iterate more times than there are characters of input, which is what |
12844 | 13750 | happened.) See L<perlfunc/split>. |
12845 | 13751 | |
12846 | 13752 | =end original |
12847 | 13753 | |
12848 | 13754 | (P) split が無限ループに陥りました。 |
12849 | 13755 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
12850 | 13756 | そうなってしまいました。) |
12851 | 13757 | L<perlfunc/split> を参照してください。 |
12852 | 13758 | |
12853 | 13759 | =item Statement unlikely to be reached |
12854 | 13760 | |
12855 | 13761 | =begin original |
12856 | 13762 | |
12857 | 13763 | (W exec) You did an exec() with some statement after it other than a |
12858 | 13764 | die(). This is almost always an error, because exec() never returns |
12859 | 13765 | unless there was a failure. You probably wanted to use system() |
12860 | 13766 | instead, which does return. To suppress this warning, put the exec() in |
12861 | 13767 | a block by itself. |
12862 | 13768 | |
12863 | 13769 | =end original |
12864 | 13770 | |
12865 | 13771 | (W exec) exec() の後に、die() 以外の実行文があります。 |
12866 | 13772 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
12867 | 13773 | ほとんどの場合には誤りでしょう。 |
12868 | 13774 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
12869 | 13775 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
12870 | 13776 | |
12871 | 13777 | =item "state" subroutine %s can't be in a package |
12872 | 13778 | |
12873 | 13779 | =begin original |
12874 | 13780 | |
12875 | 13781 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make |
12876 | 13782 | sense to try to declare one with a package qualifier on the front. |
12877 | 13783 | |
12878 | 13784 | =end original |
12879 | 13785 | |
12880 | (F) レキシカルスコープサブルーチンはパッケージ内に | |
13786 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
12881 | 13787 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
12882 | 13788 | |
12883 | 13789 | =item "state %s" used in sort comparison |
12884 | 13790 | |
12885 | 13791 | =begin original |
12886 | 13792 | |
12887 | 13793 | (W syntax) The package variables $a and $b are used for sort comparisons. |
12888 | 13794 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a |
12889 | 13795 | sort comparison block, and the variable had earlier been declared as a |
12890 | 13796 | lexical variable. Either qualify the sort variable with the package |
12891 | 13797 | name, or rename the lexical variable. |
12892 | 13798 | |
12893 | 13799 | =end original |
12894 | 13800 | |
12895 | 13801 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 |
12896 | 13802 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の |
12897 | 13803 | オペランドとして使いましたが、この変数はその前にレキシカル変数として |
12898 | 13804 | 宣言されています。 |
12899 | 13805 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 |
12900 | 13806 | |
12901 | 13807 | =item "state" variable %s can't be in a package |
12902 | 13808 | |
12903 | 13809 | =begin original |
12904 | 13810 | |
12905 | 13811 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
12906 | 13812 | sense to try to declare one with a package qualifier on the front. Use |
12907 | 13813 | local() if you want to localize a package variable. |
12908 | 13814 | |
12909 | 13815 | =end original |
12910 | 13816 | |
12911 | (F) | |
13817 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
12912 | 13818 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
12913 | 13819 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
12914 | 13820 | |
12915 | 13821 | =item stat() on unopened filehandle %s |
12916 | 13822 | |
12917 | 13823 | =begin original |
12918 | 13824 | |
12919 | 13825 | (W unopened) You tried to use the stat() function on a filehandle that |
12920 | 13826 | was either never opened or has since been closed. |
12921 | 13827 | |
12922 | 13828 | =end original |
12923 | 13829 | |
12924 | 13830 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
12925 | 13831 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
12926 | 13832 | |
12927 | 13833 | =item Strings with code points over 0xFF may not be mapped into in-memory file handles |
12928 | 13834 | |
12929 | 13835 | =begin original |
12930 | 13836 | |
12931 | 13837 | (W utf8) You tried to open a reference to a scalar for read or append |
12932 | 13838 | where the scalar contained code points over 0xFF. In-memory files |
12933 | 13839 | model on-disk files and can only contain bytes. |
12934 | 13840 | |
12935 | 13841 | =end original |
12936 | 13842 | |
12937 | 13843 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で |
12938 | 13844 | スカラへのリファレンスを開こうとしました。 |
12939 | 13845 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが |
12940 | 13846 | 使えます。 |
12941 | 13847 | |
12942 | 13848 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" |
12943 | 13849 | |
12944 | 13850 | =begin original |
12945 | 13851 | |
12946 | 13852 | (P) Overloading resolution over @ISA tree may be broken by importation |
12947 | 13853 | stubs. Stubs should never be implicitly created, but explicit calls to |
12948 | 13854 | C<can> may break this. |
12949 | 13855 | |
12950 | 13856 | =end original |
12951 | 13857 | |
12952 | 13858 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
12953 | 13859 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
12954 | 13860 | これを破壊することがあります。 |
12955 | 13861 | |
13862 | =item Subroutine attributes must come before the signature | |
13863 | ||
13864 | =begin original | |
13865 | ||
13866 | (F) When subroutine signatures are enabled, any subroutine attributes must | |
13867 | come before the signature. Note that this order was the opposite in | |
13868 | versions 5.22..5.26. So: | |
13869 | ||
13870 | =end original | |
13871 | ||
13872 | (F) サブルーチンシグネチャが有効の場合、サブルーチン属性は | |
13873 | シグネチャの前に来なければなりません。 | |
13874 | この順序はバージョン 5.22 .. 5.26 と反対であることに注意してください。 | |
13875 | 従って: | |
13876 | ||
13877 | sub foo :lvalue ($a, $b) { ... } # 5.20 and 5.28 + | |
13878 | sub foo ($a, $b) :lvalue { ... } # 5.22 .. 5.26 | |
13879 | ||
12956 | 13880 | =item Subroutine "&%s" is not available |
12957 | 13881 | |
12958 | 13882 | =begin original |
12959 | 13883 | |
12960 | 13884 | (W closure) During compilation, an inner named subroutine or eval is |
12961 | 13885 | attempting to capture an outer lexical subroutine that is not currently |
12962 | 13886 | available. This can happen for one of two reasons. First, the lexical |
12963 | 13887 | subroutine may be declared in an outer anonymous subroutine that has |
12964 | 13888 | not yet been created. (Remember that named subs are created at compile |
12965 | 13889 | time, while anonymous subs are created at run-time.) For example, |
12966 | 13890 | |
12967 | 13891 | =end original |
12968 | 13892 | |
12969 | 13893 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 |
12970 | 13894 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 |
12971 | 13895 | これは二つの理由で起こります。 |
12972 | 13896 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで |
12973 | 13897 | 宣言されたときです。 |
12974 | 13898 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは |
12975 | 13899 | 実行時に作成されることを思い出してください。) |
12976 | 13900 | 例えば、 |
12977 | 13901 | |
12978 | 13902 | sub { my sub a {...} sub f { \&a } } |
12979 | 13903 | |
12980 | 13904 | =begin original |
12981 | 13905 | |
12982 | 13906 | At the time that f is created, it can't capture the current "a" sub, |
12983 | 13907 | since the anonymous subroutine hasn't been created yet. Conversely, the |
12984 | 13908 | following won't give a warning since the anonymous subroutine has by now |
12985 | 13909 | been created and is live: |
12986 | 13910 | |
12987 | 13911 | =end original |
12988 | 13912 | |
12989 | 13913 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら |
12990 | 13914 | 無名サブルーチンはまだ作成されていないからです。 |
12991 | 13915 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて |
12992 | 13916 | 生きているからです: |
12993 | 13917 | |
12994 | 13918 | sub { my sub a {...} eval 'sub f { \&a }' }->(); |
12995 | 13919 | |
12996 | 13920 | =begin original |
12997 | 13921 | |
12998 | 13922 | The second situation is caused by an eval accessing a lexical subroutine |
12999 | 13923 | that has gone out of scope, for example, |
13000 | 13924 | |
13001 | 13925 | =end original |
13002 | 13926 | |
13003 | 13927 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに |
13004 | 13928 | アクセスすることで起こります; 例えば: |
13005 | 13929 | |
13006 | 13930 | sub f { |
13007 | 13931 | my sub a {...} |
13008 | 13932 | sub { eval '\&a' } |
13009 | 13933 | } |
13010 | 13934 | f()->(); |
13011 | 13935 | |
13012 | 13936 | =begin original |
13013 | 13937 | |
13014 | 13938 | Here, when the '\&a' in the eval is being compiled, f() is not currently |
13015 | 13939 | being executed, so its &a is not available for capture. |
13016 | 13940 | |
13017 | 13941 | =end original |
13018 | 13942 | |
13019 | 13943 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では |
13020 | 13944 | 実行されていないので、&a は捕捉として利用できません。 |
13021 | 13945 | |
13022 | 13946 | =item "%s" subroutine &%s masks earlier declaration in same %s |
13023 | 13947 | |
13024 | 13948 | =begin original |
13025 | 13949 | |
13026 | (W | |
13950 | (W shadow) A "my" or "state" subroutine has been redeclared in the | |
13027 | 13951 | current scope or statement, effectively eliminating all access to |
13028 | 13952 | the previous instance. This is almost always a typographical error. |
13029 | 13953 | Note that the earlier subroutine will still exist until the end of |
13030 | 13954 | the scope or until all closure references to it are destroyed. |
13031 | 13955 | |
13032 | 13956 | =end original |
13033 | 13957 | |
13034 | (W | |
13958 | (W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で | |
13035 | 13959 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 |
13036 | 13960 | これはほとんど常にタイプミスです。 |
13037 | 13961 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している |
13038 | 13962 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 |
13039 | 13963 | |
13040 | 13964 | =item Subroutine %s redefined |
13041 | 13965 | |
13042 | 13966 | =begin original |
13043 | 13967 | |
13044 | 13968 | (W redefine) You redefined a subroutine. To suppress this warning, say |
13045 | 13969 | |
13046 | 13970 | =end original |
13047 | 13971 | |
13048 | 13972 | (W redefine) サブルーチンを再定義しました。 |
13049 | 13973 | この警告を止めるには以下のようにしてください: |
13050 | 13974 | |
13051 | 13975 | { |
13052 | 13976 | no warnings 'redefine'; |
13053 | 13977 | eval "sub name { ... }"; |
13054 | 13978 | } |
13055 | 13979 | |
13056 | 13980 | =item Subroutine "%s" will not stay shared |
13057 | 13981 | |
13058 | 13982 | =begin original |
13059 | 13983 | |
13060 | 13984 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" |
13061 | 13985 | subroutine defined in an outer named subroutine. |
13062 | 13986 | |
13063 | 13987 | =end original |
13064 | 13988 | |
13065 | 13989 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 |
13066 | 13990 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 |
13067 | 13991 | |
13068 | 13992 | =begin original |
13069 | 13993 | |
13070 | 13994 | When the inner subroutine is called, it will see the value of the outer |
13071 | 13995 | subroutine's lexical subroutine as it was before and during the *first* |
13072 | 13996 | call to the outer subroutine; in this case, after the first call to the |
13073 | 13997 | outer subroutine is complete, the inner and outer subroutines will no |
13074 | 13998 | longer share a common value for the lexical subroutine. In other words, |
13075 | 13999 | it will no longer be shared. This will especially make a difference |
13076 | 14000 | if the lexical subroutines accesses lexical variables declared in its |
13077 | 14001 | surrounding scope. |
13078 | 14002 | |
13079 | 14003 | =end original |
13080 | 14004 | |
13081 | 14005 | 内側のサブルーチンが呼び出されるとき、 |
13082 | 14006 | 外側のサブルーチンのレキシカルサブルーチンの値は、 |
13083 | 14007 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; |
13084 | 14008 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 |
13085 | 14009 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて |
13086 | 14010 | 共通の値を共有しません。 |
13087 | 14011 | 言い換えると、これはもはや共有されません。 |
13088 | 14012 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された |
13089 | 14013 | レキシカル変数にアクセスしたときに違いがあります。 |
13090 | 14014 | |
13091 | 14015 | =begin original |
13092 | 14016 | |
13093 | 14017 | This problem can usually be solved by making the inner subroutine |
13094 | 14018 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
13095 | 14019 | reference lexical subroutines in outer subroutines are created, they |
13096 | 14020 | are automatically rebound to the current values of such lexical subs. |
13097 | 14021 | |
13098 | 14022 | =end original |
13099 | 14023 | |
13100 | 14024 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
13101 | 14025 | 解決します。 |
13102 | 14026 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の |
13103 | 14027 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に |
13104 | 14028 | 自動的に回復します。 |
13105 | 14029 | |
13106 | 14030 | =item Substitution loop |
13107 | 14031 | |
13108 | 14032 | =begin original |
13109 | 14033 | |
13110 | 14034 | (P) The substitution was looping infinitely. (Obviously, a substitution |
13111 | 14035 | shouldn't iterate more times than there are characters of input, which |
13112 | 14036 | is what happened.) See the discussion of substitution in |
13113 | 14037 | L<perlop/"Regexp Quote-Like Operators">. |
13114 | 14038 | |
13115 | 14039 | =end original |
13116 | 14040 | |
13117 | 14041 | (P) 置換が無限ループに陥りました。 |
13118 | 14042 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
13119 | 14043 | それが起こってしまいました。) |
13120 | 14044 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 |
13121 | 14045 | |
13122 | 14046 | =item Substitution pattern not terminated |
13123 | 14047 | |
13124 | 14048 | =begin original |
13125 | 14049 | |
13126 | 14050 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} |
13127 | 14051 | construct. Remember that bracketing delimiters count nesting level. |
13128 | 14052 | Missing the leading C<$> from variable C<$s> may cause this error. |
13129 | 14053 | |
13130 | 14054 | =end original |
13131 | 14055 | |
13132 | 14056 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
13133 | 14057 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
13134 | 14058 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
13135 | 14059 | |
13136 | 14060 | =item Substitution replacement not terminated |
13137 | 14061 | |
13138 | 14062 | =begin original |
13139 | 14063 | |
13140 | 14064 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} |
13141 | 14065 | construct. Remember that bracketing delimiters count nesting level. |
13142 | 14066 | Missing the leading C<$> from variable C<$s> may cause this error. |
13143 | 14067 | |
13144 | 14068 | =end original |
13145 | 14069 | |
13146 | 14070 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
13147 | 14071 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
13148 | 14072 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
13149 | 14073 | |
13150 | 14074 | =item substr outside of string |
13151 | 14075 | |
13152 | 14076 | =begin original |
13153 | 14077 | |
13154 | 14078 | (W substr)(F) You tried to reference a substr() that pointed outside of |
13155 | 14079 | a string. That is, the absolute value of the offset was larger than the |
13156 | 14080 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
13157 | 14081 | substr is used in an lvalue context (as the left hand side of an |
13158 | 14082 | assignment or as a subroutine argument for example). |
13159 | 14083 | |
13160 | 14084 | =end original |
13161 | 14085 | |
13162 | 14086 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 |
13163 | 14087 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
13164 | 14088 | L<perlfunc/substr> を参照してください。 |
13165 | 14089 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
13166 | 14090 | 左辺値として使われた場合は致命的となります。 |
13167 | 14091 | |
13168 | 14092 | =item sv_upgrade from type %d down to type %d |
13169 | 14093 | |
13170 | 14094 | =begin original |
13171 | 14095 | |
13172 | 14096 | (P) Perl tried to force the upgrade of an SV to a type which was actually |
13173 | 14097 | inferior to its current type. |
13174 | 14098 | |
13175 | 14099 | =end original |
13176 | 14100 | |
13177 | 14101 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を |
13178 | 14102 | 強制しようとしました。 |
13179 | 14103 | |
13180 | =item SWASHNEW didn't return an HV ref | |
13181 | ||
13182 | =begin original | |
13183 | ||
13184 | (P) Something went wrong internally when Perl was trying to look up | |
13185 | Unicode characters. | |
13186 | ||
13187 | =end original | |
13188 | ||
13189 | (P) Perl が Unicode 文字を探そうとしたときに、内部で何かがおかしくなりました。 | |
13190 | ||
13191 | 14104 | =item Switch (?(condition)... contains too many branches in regex; marked by |
13192 | 14105 | S<<-- HERE> in m/%s/ |
13193 | 14106 | |
13194 | 14107 | =begin original |
13195 | 14108 | |
13196 | 14109 | (F) A (?(condition)if-clause|else-clause) construct can have at most |
13197 | 14110 | two branches (the if-clause and the else-clause). If you want one or |
13198 | 14111 | both to contain alternation, such as using C<this|that|other>, enclose |
13199 | 14112 | it in clustering parentheses: |
13200 | 14113 | |
13201 | 14114 | =end original |
13202 | 14115 | |
13203 | 14116 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 |
13204 | 14117 | (if-clause と else-clause) を持つことができます。 |
13205 | 14118 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
13206 | 14119 | |
13207 | 14120 | (?(condition)(?:this|that|other)|else-clause) |
13208 | 14121 | |
13209 | 14122 | =begin original |
13210 | 14123 | |
13211 | 14124 | The S<<-- HERE> shows whereabouts in the regular expression the problem |
13212 | 14125 | was discovered. See L<perlre>. |
13213 | 14126 | |
13214 | 14127 | =end original |
13215 | 14128 | |
13216 | 14129 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13217 | 14130 | L<perlre> を参照してください。 |
13218 | 14131 | |
13219 | 14132 | =item Switch condition not recognized in regex; marked by S<<-- HERE> in |
13220 | 14133 | m/%s/ |
13221 | 14134 | |
13222 | 14135 | =begin original |
13223 | 14136 | |
13224 | 14137 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
13225 | 14138 | is not known. The condition must be one of the following: |
13226 | 14139 | |
13227 | 14140 | =end original |
13228 | 14141 | |
13229 | 14142 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 |
13230 | 14143 | 条件は以下のいずれかでなければなりません。 |
13231 | 14144 | |
13232 | 14145 | (1) (2) ... true if 1st, 2nd, etc., capture matched |
13233 | 14146 | (<NAME>) ('NAME') true if named capture matched |
13234 | 14147 | (?=...) (?<=...) true if subpattern matches |
13235 | 14148 | (?!...) (?<!...) true if subpattern fails to match |
13236 | 14149 | (?{ CODE }) true if code returns a true value |
13237 | 14150 | (R) true if evaluating inside recursion |
13238 | 14151 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. |
13239 | 14152 | (R&NAME) true if directly inside named capture |
13240 | 14153 | (DEFINE) always false; for defining named subpatterns |
13241 | 14154 | |
13242 | 14155 | =begin original |
13243 | 14156 | |
13244 | 14157 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
13245 | 14158 | discovered. See L<perlre>. |
13246 | 14159 | |
13247 | 14160 | =end original |
13248 | 14161 | |
13249 | 14162 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
13250 | 14163 | L<perlre> を参照してください。 |
13251 | 14164 | |
13252 | 14165 | =item Switch (?(condition)... not terminated in regex; marked by |
13253 | 14166 | S<<-- HERE> in m/%s/ |
13254 | 14167 | |
13255 | 14168 | =begin original |
13256 | 14169 | |
13257 | 14170 | (F) You omitted to close a (?(condition)...) block somewhere |
13258 | 14171 | in the pattern. Add a closing parenthesis in the appropriate |
13259 | 14172 | position. See L<perlre>. |
13260 | 14173 | |
13261 | 14174 | =end original |
13262 | 14175 | |
13263 | 14176 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 |
13264 | 14177 | 適切な位置に閉じかっこを追加してください。 |
13265 | 14178 | L<perlre> を参照してください。 |
13266 | 14179 | |
13267 | 14180 | =item switching effective %s is not implemented |
13268 | 14181 | |
13269 | 14182 | =begin original |
13270 | 14183 | |
13271 | 14184 | (F) While under the C<use filetest> pragma, we cannot switch the real |
13272 | 14185 | and effective uids or gids. |
13273 | 14186 | |
13274 | 14187 | =end original |
13275 | 14188 | |
13276 | 14189 | (F) C<use filetest> プラグマを使っている間に、 |
13277 | 14190 | 実と実効の UID や GID の切り替えに失敗しました。 |
13278 | 14191 | |
13279 | 14192 | =item syntax error |
13280 | 14193 | |
13281 | 14194 | =begin original |
13282 | 14195 | |
13283 | 14196 | (F) Probably means you had a syntax error. Common reasons include: |
13284 | 14197 | |
13285 | 14198 | =end original |
13286 | 14199 | |
13287 | 14200 | (F) おそらく、構文エラーが起こっています。 |
13288 | 14201 | よくある原因としては以下のことが考えられます: |
13289 | 14202 | |
13290 | 14203 | =begin original |
13291 | 14204 | |
13292 | 14205 | A keyword is misspelled. |
13293 | 14206 | A semicolon is missing. |
13294 | 14207 | A comma is missing. |
13295 | 14208 | An opening or closing parenthesis is missing. |
13296 | 14209 | An opening or closing brace is missing. |
13297 | 14210 | A closing quote is missing. |
13298 | 14211 | |
13299 | 14212 | =end original |
13300 | 14213 | |
13301 | 14214 | キーワードのスペルミス。 |
13302 | 14215 | セミコロンを忘れた。 |
13303 | 14216 | コンマを忘れた。 |
13304 | 14217 | 開きかっこ、閉じかっこを忘れた。 |
13305 | 14218 | 開き中かっこ、閉じ中かっこを忘れた。 |
13306 | 14219 | クォートの閉じ忘れ。 |
13307 | 14220 | |
13308 | 14221 | =begin original |
13309 | 14222 | |
13310 | 14223 | Often there will be another error message associated with the syntax |
13311 | 14224 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
13312 | 14225 | The error message itself often tells you where it was in the line when |
13313 | 14226 | it decided to give up. Sometimes the actual error is several tokens |
13314 | 14227 | before this, because Perl is good at understanding random input. |
13315 | 14228 | Occasionally the line number may be misleading, and once in a blue moon |
13316 | 14229 | the only way to figure out what's triggering the error is to call |
13317 | 14230 | C<perl -c> repeatedly, chopping away half the program each time to see |
13318 | 14231 | if the error went away. Sort of the cybernetic version of S<20 questions>. |
13319 | 14232 | |
13320 | 14233 | =end original |
13321 | 14234 | |
13322 | 14235 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
13323 | 14236 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
13324 | 14237 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
13325 | 14238 | 含まれています。 |
13326 | 14239 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
13327 | 14240 | 在ることもあります。 |
13328 | 14241 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
13329 | 14242 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
13330 | 14243 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
13331 | 14244 | S<頭の体操 20 問>だと思ってください。 |
13332 | 14245 | |
13333 | 14246 | =item syntax error at line %d: '%s' unexpected |
13334 | 14247 | |
13335 | 14248 | =begin original |
13336 | 14249 | |
13337 | 14250 | (A) You've accidentally run your script through the Bourne shell instead |
13338 | 14251 | of Perl. Check the #! line, or manually feed your script into Perl |
13339 | 14252 | yourself. |
13340 | 14253 | |
13341 | 14254 | =end original |
13342 | 14255 | |
13343 | 14256 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
13344 | 14257 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
13345 | 14258 | |
13346 | 14259 | =item syntax error in file %s at line %d, next 2 tokens "%s" |
13347 | 14260 | |
13348 | 14261 | =begin original |
13349 | 14262 | |
13350 | 14263 | (F) This error is likely to occur if you run a perl5 script through |
13351 | 14264 | a perl4 interpreter, especially if the next 2 tokens are "use strict" |
13352 | 14265 | or "my $var" or "our $var". |
13353 | 14266 | |
13354 | 14267 | =end original |
13355 | 14268 | |
13356 | 14269 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに |
13357 | 14270 | おきそうなものです; 特に次の二つのトークンが "use strict" か |
13358 | 14271 | "my $var" か "our $var" の場合はそうです。 |
13359 | 14272 | |
13360 | =item Syntax error in (?[...]) in regex m/%s/ | |
14273 | =item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/ | |
13361 | 14274 | |
13362 | 14275 | =begin original |
13363 | 14276 | |
13364 | 14277 | (F) Perl could not figure out what you meant inside this construct; this |
13365 | 14278 | notifies you that it is giving up trying. |
13366 | 14279 | |
13367 | 14280 | =end original |
13368 | 14281 | |
13369 | 14282 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; |
13370 | 14283 | これは試すのを諦めたことを知らせます。 |
13371 | 14284 | |
13372 | 14285 | =item %s syntax OK |
13373 | 14286 | |
13374 | 14287 | =begin original |
13375 | 14288 | |
13376 | 14289 | (F) The final summary message when a C<perl -c> succeeds. |
13377 | 14290 | |
13378 | 14291 | =end original |
13379 | 14292 | |
13380 | 14293 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
13381 | 14294 | |
13382 | 14295 | =item sysread() on closed filehandle %s |
13383 | 14296 | |
13384 | 14297 | =begin original |
13385 | 14298 | |
13386 | 14299 | (W closed) You tried to read from a closed filehandle. |
13387 | 14300 | |
13388 | 14301 | =end original |
13389 | 14302 | |
13390 | 14303 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
13391 | 14304 | |
13392 | 14305 | =item sysread() on unopened filehandle %s |
13393 | 14306 | |
13394 | 14307 | =begin original |
13395 | 14308 | |
13396 | 14309 | (W unopened) You tried to read from a filehandle that was never opened. |
13397 | 14310 | |
13398 | 14311 | =end original |
13399 | 14312 | |
13400 | 14313 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
13401 | 14314 | |
13402 | 14315 | =item System V %s is not implemented on this machine |
13403 | 14316 | |
13404 | 14317 | =begin original |
13405 | 14318 | |
13406 | 14319 | (F) You tried to do something with a function beginning with "sem", |
13407 | 14320 | "shm", or "msg" but that System V IPC is not implemented in your |
13408 | 14321 | machine. In some machines the functionality can exist but be |
13409 | 14322 | unconfigured. Consult your system support. |
13410 | 14323 | |
13411 | 14324 | =end original |
13412 | 14325 | |
13413 | 14326 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
13414 | 14327 | あなたのマシンには System V IPC が実装されていません。 |
13415 | 14328 | 機能はあっても設定されていない場合もあります。 |
13416 | 14329 | システムサポートに相談してください。 |
13417 | 14330 | |
13418 | 14331 | =item syswrite() on closed filehandle %s |
13419 | 14332 | |
13420 | 14333 | =begin original |
13421 | 14334 | |
13422 | 14335 | (W closed) The filehandle you're writing to got itself closed sometime |
13423 | 14336 | before now. Check your control flow. |
13424 | 14337 | |
13425 | 14338 | =end original |
13426 | 14339 | |
13427 | 14340 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
13428 | 14341 | 制御フローをチェックしてください。 |
13429 | 14342 | |
13430 | 14343 | =item C<-T> and C<-B> not implemented on filehandles |
13431 | 14344 | |
13432 | 14345 | =begin original |
13433 | 14346 | |
13434 | 14347 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't |
13435 | 14348 | know about your kind of stdio. You'll have to use a filename instead. |
13436 | 14349 | |
13437 | 14350 | =end original |
13438 | 14351 | |
13439 | 14352 | (F) Perl が、お使いの stdio のことをよく知らないとき、 |
13440 | 14353 | ファイルハンドルの stdio バッファを覗くことはできません。 |
13441 | 14354 | 代わりにファイル名を使わなければなりません。 |
13442 | 14355 | |
13443 | 14356 | =item Target of goto is too deeply nested |
13444 | 14357 | |
13445 | 14358 | =begin original |
13446 | 14359 | |
13447 | 14360 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
13448 | 14361 | for Perl to reach. Perl is doing you a favor by refusing. |
13449 | 14362 | |
13450 | 14363 | =end original |
13451 | 14364 | |
13452 | 14365 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
13453 | 14366 | Perl は親切にもこれを拒否します。 |
13454 | 14367 | |
13455 | 14368 | =item telldir() attempted on invalid dirhandle %s |
13456 | 14369 | |
13457 | 14370 | =begin original |
13458 | 14371 | |
13459 | 14372 | (W io) The dirhandle you tried to telldir() is either closed or not really |
13460 | 14373 | a dirhandle. Check your control flow. |
13461 | 14374 | |
13462 | 14375 | =end original |
13463 | 14376 | |
13464 | 14377 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 |
13465 | 14378 | 実際にはディレクトリハンドルではありません。 |
13466 | 14379 | 制御フローをチェックしてください。 |
13467 | 14380 | |
13468 | 14381 | =item tell() on unopened filehandle |
13469 | 14382 | |
13470 | 14383 | =begin original |
13471 | 14384 | |
13472 | 14385 | (W unopened) You tried to use the tell() function on a filehandle that |
13473 | 14386 | was either never opened or has since been closed. |
13474 | 14387 | |
13475 | 14388 | =end original |
13476 | 14389 | |
13477 | 14390 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
13478 | 14391 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
13479 | 14392 | |
13480 | =item That use of $[ is unsupported | |
13481 | ||
13482 | =begin original | |
13483 | ||
13484 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted | |
13485 | as a compiler directive. You may say only one of | |
13486 | ||
13487 | =end original | |
13488 | ||
13489 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 | |
13490 | 使えるのは以下の形だけです: | |
13491 | ||
13492 | $[ = 0; | |
13493 | $[ = 1; | |
13494 | ... | |
13495 | local $[ = 0; | |
13496 | local $[ = 1; | |
13497 | ... | |
13498 | ||
13499 | =begin original | |
13500 | ||
13501 | This is to prevent the problem of one module changing the array base out | |
13502 | from under another module inadvertently. See L<perlvar/$[> and L<arybase>. | |
13503 | ||
13504 | =end original | |
13505 | ||
13506 | これは、一つのモジュールで、他のモジュールが意図しないような、 | |
13507 | 配列のベースを変更する問題を回避するためのものです。 | |
13508 | L<perlvar/$[> と L<arybase> を参照してください。 | |
13509 | ||
13510 | =item The bitwise feature is experimental | |
13511 | ||
13512 | =begin original | |
13513 | ||
13514 | (S experimental::bitwise) This warning is emitted if you use bitwise | |
13515 | operators (C<& | ^ ~ &. |. ^. ~.>) with the "bitwise" feature enabled. | |
13516 | Simply suppress the warning if you want to use the feature, but know | |
13517 | that in doing so you are taking the risk of using an experimental | |
13518 | feature which may change or be removed in a future Perl version: | |
13519 | ||
13520 | =end original | |
13521 | ||
13522 | (S experimental::bitwise) この警告は、"bitwise" 機能が有効のときに | |
13523 | ビット単位演算子 (C<& | ^ ~ &. |. ^. ~.>) を使うときに出力されます。 | |
13524 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
13525 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
13526 | 単に警告を抑制してください: | |
13527 | ||
13528 | no warnings "experimental::bitwise"; | |
13529 | use feature "bitwise"; | |
13530 | $x |.= $y; | |
13531 | ||
13532 | 14393 | =item The crypt() function is unimplemented due to excessive paranoia. |
13533 | 14394 | |
13534 | 14395 | =begin original |
13535 | 14396 | |
13536 | 14397 | (F) Configure couldn't find the crypt() function on your machine, |
13537 | 14398 | probably because your vendor didn't supply it, probably because they |
13538 | 14399 | think the U.S. Government thinks it's a secret, or at least that they |
13539 | 14400 | will continue to pretend that it is. And if you quote me on that, I |
13540 | 14401 | will deny it. |
13541 | 14402 | |
13542 | 14403 | =end original |
13543 | 14404 | |
13544 | 14405 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; |
13545 | 14406 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
13546 | 14407 | アメリカ政府がそれを秘密だとしていると思っているか、 |
13547 | 14408 | 少なくとも思っているというふりをしているのでしょう。 |
13548 | 14409 | 私を引き合いに出したところで、それは否定されることでしょう。 |
13549 | 14410 | |
14411 | =item The experimental declared_refs feature is not enabled | |
14412 | ||
14413 | =begin original | |
14414 | ||
14415 | (F) To declare references to variables, as in C<my \%x>, you must first enable | |
14416 | the feature: | |
14417 | ||
14418 | =end original | |
14419 | ||
14420 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 | |
14421 | 最初にこの機能を有効にしなければなりません: | |
14422 | ||
14423 | no warnings "experimental::declared_refs"; | |
14424 | use feature "declared_refs"; | |
14425 | ||
13550 | 14426 | =item The %s function is unimplemented |
13551 | 14427 | |
13552 | 14428 | =begin original |
13553 | 14429 | |
13554 | 14430 | (F) The function indicated isn't implemented on this architecture, |
13555 | 14431 | according to the probings of Configure. |
13556 | 14432 | |
13557 | 14433 | =end original |
13558 | 14434 | |
13559 | 14435 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
13560 | 14436 | 実装されていないようです。 |
13561 | 14437 | |
13562 | =item The | |
14438 | =item The private_use feature is experimental | |
13563 | 14439 | |
13564 | 14440 | =begin original |
13565 | 14441 | |
13566 | (S experimental:: | |
14442 | (S experimental::private_use) This feature is actually a hook for future | |
13567 | ||
14443 | use. | |
13568 | if you want to use the feature, but know that in doing so you | |
13569 | are taking the risk of using an experimental feature which may | |
13570 | change or be removed in a future Perl version: | |
13571 | 14444 | |
13572 | 14445 | =end original |
13573 | 14446 | |
13574 | (S experimental:: | |
14447 | (S experimental::private_use) この機能は実際には将来の使用のための | |
13575 | ||
14448 | フックです。 | |
13576 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
13577 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
13578 | 単に警告を抑制してください: | |
13579 | 14449 | |
13580 | no warnings "experimental::lexical_subs"; | |
13581 | use feature "lexical_subs"; | |
13582 | my sub foo { ... } | |
13583 | ||
13584 | 14450 | =item The regex_sets feature is experimental |
13585 | 14451 | |
13586 | 14452 | =begin original |
13587 | 14453 | |
13588 | 14454 | (S experimental::regex_sets) This warning is emitted if you |
13589 | 14455 | use the syntax S<C<(?[ ])>> in a regular expression. |
13590 | 14456 | The details of this feature are subject to change. |
13591 | ||
14457 | If you want to use it, but know that in doing so you | |
13592 | 14458 | are taking the risk of using an experimental feature which may |
13593 | 14459 | change in a future Perl version, you can do this to silence the |
13594 | 14460 | warning: |
13595 | 14461 | |
13596 | 14462 | =end original |
13597 | 14463 | |
13598 | 14464 | (S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を |
13599 | 14465 | 使うと出力されます。 |
13600 | 14466 | この機能の詳細は変更されることがあります。 |
13601 | 14467 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで |
13602 | 14468 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 |
13603 | 14469 | 以下のようにして警告を黙らせられます: |
13604 | 14470 | |
13605 | 14471 | no warnings "experimental::regex_sets"; |
13606 | 14472 | |
13607 | 14473 | =item The signatures feature is experimental |
13608 | 14474 | |
13609 | 14475 | =begin original |
13610 | 14476 | |
13611 | 14477 | (S experimental::signatures) This warning is emitted if you unwrap a |
13612 | 14478 | subroutine's arguments using a signature. Simply suppress the warning |
13613 | 14479 | if you want to use the feature, but know that in doing so you are taking |
13614 | 14480 | the risk of using an experimental feature which may change or be removed |
13615 | 14481 | in a future Perl version: |
13616 | 14482 | |
13617 | 14483 | =end original |
13618 | 14484 | |
13619 | 14485 | (S experimental::signatures) この警告は、シグネチャを使ったサブルーチンの |
13620 | 14486 | 引数を展開するときに出力されます。 |
13621 | 14487 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで |
13622 | 14488 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 |
13623 | 14489 | 単に警告を抑制してください: |
13624 | 14490 | |
13625 | 14491 | no warnings "experimental::signatures"; |
13626 | 14492 | use feature "signatures"; |
13627 | 14493 | sub foo ($left, $right) { ... } |
13628 | 14494 | |
13629 | 14495 | =item The stat preceding %s wasn't an lstat |
13630 | 14496 | |
13631 | 14497 | =begin original |
13632 | 14498 | |
13633 | 14499 | (F) It makes no sense to test the current stat buffer for symbolic |
13634 | 14500 | linkhood if the last stat that wrote to the stat buffer already went |
13635 | 14501 | past the symlink to get to the real file. Use an actual filename |
13636 | 14502 | instead. |
13637 | 14503 | |
13638 | 14504 | =end original |
13639 | 14505 | |
13640 | 14506 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
13641 | 14507 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
13642 | 14508 | stat をカレント stat バッファに対して行なっても意味がありません。 |
13643 | 14509 | 実際のファイル名を使ってください。 |
13644 | 14510 | |
14511 | =item The Unicode property wildcards feature is experimental | |
14512 | ||
14513 | =begin original | |
14514 | ||
14515 | (S experimental::uniprop_wildcards) This feature is experimental | |
14516 | and its behavior may in any future release of perl. See | |
14517 | L<perlunicode/Wildcards in Property Values>. | |
14518 | ||
14519 | =end original | |
14520 | ||
14521 | (S experimental::uniprop_wildcards) この機能は実験的で、 | |
14522 | その振る舞いは将来のリリースの perl で変わるかもしれません。 | |
14523 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
14524 | ||
13645 | 14525 | =item The 'unique' attribute may only be applied to 'our' variables |
13646 | 14526 | |
13647 | 14527 | =begin original |
13648 | 14528 | |
13649 | 14529 | (F) This attribute was never supported on C<my> or C<sub> declarations. |
13650 | 14530 | |
13651 | 14531 | =end original |
13652 | 14532 | |
13653 | 14533 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 |
13654 | 14534 | |
13655 | 14535 | =item This Perl can't reset CRTL environ elements (%s) |
13656 | 14536 | |
13657 | 14537 | =item This Perl can't set CRTL environ elements (%s=%s) |
13658 | 14538 | |
13659 | 14539 | =begin original |
13660 | 14540 | |
13661 | 14541 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
13662 | 14542 | element of the CRTL's internal environ array, but your copy of Perl |
13663 | 14543 | wasn't built with a CRTL that contained the setenv() function. You'll |
13664 | 14544 | need to rebuild Perl with a CRTL that does, or redefine |
13665 | 14545 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
13666 | 14546 | target of the change to |
13667 | 14547 | %ENV which produced the warning. |
13668 | 14548 | |
13669 | 14549 | =end original |
13670 | 14550 | |
13671 | 14551 | (W internal) VMS に固有の警告です。 |
13672 | 14552 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
13673 | 14553 | setenv() 関数を含んだ CRTL でビルドされていません。 |
13674 | 14554 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
13675 | 14555 | 出力している %ENV を変更するターゲットとならないように |
13676 | 14556 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
13677 | 14557 | |
13678 | 14558 | =item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set(). |
13679 | 14559 | |
13680 | 14560 | =begin original |
13681 | 14561 | |
13682 | 14562 | (F) Something has attempted to use an internal API call which |
13683 | 14563 | depends on Perl being compiled with the default support for randomized hash |
13684 | 14564 | key traversal, but this Perl has been compiled without it. You should |
13685 | 14565 | report this warning to the relevant upstream party, or recompile perl |
13686 | 14566 | with default options. |
13687 | 14567 | |
13688 | 14568 | =end original |
13689 | 14569 | |
13690 | 14570 | (F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に |
13691 | 14571 | 依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで |
13692 | 14572 | コンパイルされていました。 |
13693 | 14573 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を |
13694 | 14574 | 再コンパイルしてください。 |
13695 | 14575 | |
14576 | =item This use of my() in false conditional is no longer allowed | |
14577 | ||
14578 | =begin original | |
14579 | ||
14580 | (F) You used a declaration similar to C<my $x if 0>. There | |
14581 | has been a long-standing bug in Perl that causes a lexical variable | |
14582 | not to be cleared at scope exit when its declaration includes a false | |
14583 | conditional. Some people have exploited this bug to achieve a kind of | |
14584 | static variable. Since we intend to fix this bug, we don't want people | |
14585 | relying on this behavior. You can achieve a similar static effect by | |
14586 | declaring the variable in a separate block outside the function, eg | |
14587 | ||
14588 | =end original | |
14589 | ||
14590 | (F) C<my $x if 0> のような千眼を使いました。 | |
14591 | 宣言が偽の条件のとき、スコープを抜けてもレキシカル変数がクリアされないという | |
14592 | 長年のバグが Perl にはありました。 | |
14593 | 一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。 | |
14594 | 私たちはこのバグを修正したいので、人々にこの振る舞いに | |
14595 | 依存してほしくありません。 | |
14596 | 関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を | |
14597 | 得られます; 例えば: | |
14598 | ||
14599 | sub f { my $x if 0; return $x++ } | |
14600 | ||
14601 | =begin original | |
14602 | ||
14603 | becomes | |
14604 | ||
14605 | =end original | |
14606 | ||
14607 | これは次のようになります: | |
14608 | ||
14609 | { my $x; sub f { return $x++ } } | |
14610 | ||
14611 | =begin original | |
14612 | ||
14613 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
14614 | lexicals that are initialized only once (see L<feature>): | |
14615 | ||
14616 | =end original | |
14617 | ||
14618 | perl 5.10.0 から、一度だけ初期化されるレキシカル変数のために | |
14619 | C<state> 変数を使うこともできます (L<feature> を参照してください): | |
14620 | ||
14621 | sub f { state $x; return $x++ } | |
14622 | ||
14623 | =begin original | |
14624 | ||
14625 | This use of C<my()> in a false conditional was deprecated beginning in | |
14626 | Perl 5.10 and became a fatal error in Perl 5.30. | |
14627 | ||
14628 | =end original | |
14629 | ||
14630 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、 | |
14631 | Perl 5.30 で致命的エラーになりました。 | |
14632 | ||
13696 | 14633 | =item times not implemented |
13697 | 14634 | |
13698 | 14635 | =begin original |
13699 | 14636 | |
13700 | 14637 | (F) Your version of the C library apparently doesn't do times(). I |
13701 | 14638 | suspect you're not running on Unix. |
13702 | 14639 | |
13703 | 14640 | =end original |
13704 | 14641 | |
13705 | 14642 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
13706 | 14643 | UNIX ではない環境でしょうか。 |
13707 | 14644 | |
13708 | 14645 | =item "-T" is on the #! line, it must also be used on the command line |
13709 | 14646 | |
13710 | 14647 | =begin original |
13711 | 14648 | |
13712 | 14649 | (X) The #! line (or local equivalent) in a Perl script contains |
13713 | 14650 | the B<-T> option (or the B<-t> option), but Perl was not invoked with |
13714 | 14651 | B<-T> in its command line. This is an error because, by the time |
13715 | 14652 | Perl discovers a B<-T> in a script, it's too late to properly taint |
13716 | 14653 | everything from the environment. So Perl gives up. |
13717 | 14654 | |
13718 | 14655 | =end original |
13719 | 14656 | |
13720 | 14657 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
13721 | 14658 | オプション (または B<-t> オプション) が含まれていますが、Perl は |
13722 | 14659 | コマンドラインで B<-T> 付きで起動されていません。 |
13723 | 14660 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
13724 | 14661 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
13725 | 14662 | それで Perl は諦めます。 |
13726 | 14663 | |
13727 | 14664 | =begin original |
13728 | 14665 | |
13729 | 14666 | If the Perl script is being executed as a command using the #! |
13730 | 14667 | mechanism (or its local equivalent), this error can usually be |
13731 | 14668 | fixed by editing the #! line so that the B<-%c> option is a part of |
13732 | 14669 | Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. |
13733 | 14670 | |
13734 | 14671 | =end original |
13735 | 14672 | |
13736 | 14673 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
13737 | 14674 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に |
13738 | 14675 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 |
13739 | 14676 | |
13740 | 14677 | =begin original |
13741 | 14678 | |
13742 | 14679 | If the Perl script is being executed as C<perl scriptname>, then the |
13743 | 14680 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. |
13744 | 14681 | |
13745 | 14682 | =end original |
13746 | 14683 | |
13747 | 14684 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
13748 | 14685 | コマンドラインに書かなければなりません: C<perl -%c scriptname> |
13749 | 14686 | |
13750 | 14687 | =item To%s: illegal mapping '%s' |
13751 | 14688 | |
13752 | 14689 | =begin original |
13753 | 14690 | |
13754 | 14691 | (F) You tried to define a customized To-mapping for lc(), lcfirst, |
13755 | 14692 | uc(), or ucfirst() (or their string-inlined versions), but you |
13756 | 14693 | specified an illegal mapping. |
13757 | 14694 | See L<perlunicode/"User-Defined Character Properties">. |
13758 | 14695 | |
13759 | 14696 | =end original |
13760 | 14697 | |
13761 | 14698 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の |
13762 | 14699 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 |
13763 | 14700 | 不正なマッピングを指定しました。 |
13764 | 14701 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 |
13765 | 14702 | |
13766 | 14703 | =item Too deeply nested ()-groups |
13767 | 14704 | |
13768 | 14705 | =begin original |
13769 | 14706 | |
13770 | 14707 | (F) Your template contains ()-groups with a ridiculously deep nesting level. |
13771 | 14708 | |
13772 | 14709 | =end original |
13773 | 14710 | |
13774 | 14711 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 |
13775 | 14712 | |
13776 | 14713 | =item Too few args to syscall |
13777 | 14714 | |
13778 | 14715 | =begin original |
13779 | 14716 | |
13780 | 14717 | (F) There has to be at least one argument to syscall() to specify the |
13781 | 14718 | system call to call, silly dilly. |
13782 | 14719 | |
13783 | 14720 | =end original |
13784 | 14721 | |
13785 | 14722 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
13786 | 14723 | 引数が一つ必要です。 |
13787 | 14724 | |
13788 | =item Too few arguments for subroutine | |
14725 | =item Too few arguments for subroutine '%s' | |
13789 | 14726 | |
13790 | 14727 | =begin original |
13791 | 14728 | |
13792 | (F) A subroutine using a signature | |
14729 | (F) A subroutine using a signature fewer arguments than required by the | |
13793 | ||
14730 | signature. The caller of the subroutine is presumably at fault. | |
13794 | Inconveniently, this error will be reported at the location of the | |
13795 | subroutine, not that of the caller. | |
13796 | 14731 | |
13797 | 14732 | =end original |
13798 | 14733 | |
13799 | 14734 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも |
13800 | 14735 | 少ない引数を受け取りました。 |
13801 | 14736 | おそらくサブルーチンの呼び出し元が間違っています。 |
13802 | 不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で | |
13803 | 報告されます。 | |
13804 | 14737 | |
14738 | =begin original | |
14739 | ||
14740 | The message attempts to include the name of the called subroutine. If | |
14741 | the subroutine has been aliased, the subroutine's original name will be | |
14742 | shown, regardless of what name the caller used. | |
14743 | ||
14744 | =end original | |
14745 | ||
14746 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
14747 | サブルーチンが別名化されている場合、どの名前で呼びされたかにかかわらず | |
14748 | サブルーチンの元の名前が表示されます。 | |
14749 | ||
13805 | 14750 | =item Too late for "-%s" option |
13806 | 14751 | |
13807 | 14752 | =begin original |
13808 | 14753 | |
13809 | 14754 | (X) The #! line (or local equivalent) in a Perl script contains the |
13810 | 14755 | B<-M>, B<-m> or B<-C> option. |
13811 | 14756 | |
13812 | 14757 | =end original |
13813 | 14758 | |
13814 | 14759 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, |
13815 | 14760 | B<-C> オプションが含まれています。 |
13816 | 14761 | |
13817 | 14762 | =begin original |
13818 | 14763 | |
13819 | 14764 | In the case of B<-M> and B<-m>, this is an error because those options |
13820 | 14765 | are not intended for use inside scripts. Use the C<use> pragma instead. |
13821 | 14766 | |
13822 | 14767 | =end original |
13823 | 14768 | |
13824 | 14769 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 |
13825 | 14770 | これはエラーになります。 |
13826 | 14771 | 代わりに C<use> プラグマを使ってください。 |
13827 | 14772 | |
13828 | 14773 | =begin original |
13829 | 14774 | |
13830 | 14775 | The B<-C> option only works if it is specified on the command line as |
13831 | 14776 | well (with the same sequence of letters or numbers following). Either |
13832 | 14777 | specify this option on the command line, or, if your system supports |
13833 | 14778 | it, make your script executable and run it directly instead of passing |
13834 | 14779 | it to perl. |
13835 | 14780 | |
13836 | 14781 | =end original |
13837 | 14782 | |
13838 | 14783 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) |
13839 | 14784 | 指定されたときにのみ動作します。 |
13840 | 14785 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 |
13841 | 14786 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして |
13842 | 14787 | 直接実行してください。 |
13843 | 14788 | |
13844 | 14789 | =item Too late to run %s block |
13845 | 14790 | |
13846 | 14791 | =begin original |
13847 | 14792 | |
13848 | 14793 | (W void) A CHECK or INIT block is being defined during run time proper, |
13849 | 14794 | when the opportunity to run them has already passed. Perhaps you are |
13850 | 14795 | loading a file with C<require> or C<do> when you should be using C<use> |
13851 | 14796 | instead. Or perhaps you should put the C<require> or C<do> inside a |
13852 | 14797 | BEGIN block. |
13853 | 14798 | |
13854 | 14799 | =end original |
13855 | 14800 | |
13856 | 14801 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
13857 | 14802 | 実行時に定義されました。 |
13858 | 14803 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
13859 | 14804 | 読み込んでいます。 |
13860 | 14805 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
13861 | 14806 | 書いたのでしょう。 |
13862 | 14807 | |
13863 | 14808 | =item Too many args to syscall |
13864 | 14809 | |
13865 | 14810 | =begin original |
13866 | 14811 | |
13867 | 14812 | (F) Perl supports a maximum of only 14 args to syscall(). |
13868 | 14813 | |
13869 | 14814 | =end original |
13870 | 14815 | |
13871 | 14816 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
13872 | 14817 | |
13873 | 14818 | =item Too many arguments for %s |
13874 | 14819 | |
13875 | 14820 | =begin original |
13876 | 14821 | |
13877 | 14822 | (F) The function requires fewer arguments than you specified. |
13878 | 14823 | |
13879 | 14824 | =end original |
13880 | 14825 | |
13881 | 14826 | (F) 関数が要求する以上の引数を指定しました。 |
13882 | 14827 | |
13883 | =item Too many arguments for subroutine | |
14828 | =item Too many arguments for subroutine '%s' | |
13884 | 14829 | |
13885 | 14830 | =begin original |
13886 | 14831 | |
13887 | (F) A subroutine using a signature received more arguments than | |
14832 | (F) A subroutine using a signature received more arguments than permitted | |
13888 | 14833 | by the signature. The caller of the subroutine is presumably at fault. |
13889 | Inconveniently, this error will be reported at the location of the | |
13890 | subroutine, not that of the caller. | |
13891 | 14834 | |
13892 | 14835 | =end original |
13893 | 14836 | |
13894 | (F) シグネチャを使っているサブルーチンが、シグネチャ | |
14837 | (F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも | |
13895 | 14838 | 多い引数を受け取りました。 |
13896 | 14839 | おそらくサブルーチンの呼び出し元が間違っています。 |
13897 | 不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で | |
13898 | 報告されます。 | |
13899 | 14840 | |
14841 | =begin original | |
14842 | ||
14843 | The message attempts to include the name of the called subroutine. If the | |
14844 | subroutine has been aliased, the subroutine's original name will be shown, | |
14845 | regardless of what name the caller used. | |
14846 | ||
14847 | =end original | |
14848 | ||
14849 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
14850 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
14851 | 元の名前が表示されます。 | |
14852 | ||
14853 | =item Too many nested open parens in regex; marked by <-- HERE in m/%s/ | |
14854 | ||
14855 | =begin original | |
14856 | ||
14857 | (F) You have exceeded the number of open C<"("> parentheses that haven't | |
14858 | been matched by corresponding closing ones. This limit prevents eating | |
14859 | up too much memory. It is initially set to 1000, but may be changed by | |
14860 | setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may | |
14861 | need to be done in a BEGIN block before the regular expression pattern | |
14862 | is compiled. | |
14863 | ||
14864 | =end original | |
14865 | ||
14866 | (F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。 | |
14867 | この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。 | |
14868 | これは 1000 に初期化されていますが、 | |
14869 | C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。 | |
14870 | これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で | |
14871 | 行われる必要があります。 | |
14872 | ||
13900 | 14873 | =item Too many )'s |
13901 | 14874 | |
13902 | 14875 | =begin original |
13903 | 14876 | |
13904 | 14877 | (A) You've accidentally run your script through B<csh> instead of Perl. |
13905 | 14878 | Check the #! line, or manually feed your script into Perl yourself. |
13906 | 14879 | |
13907 | 14880 | =end original |
13908 | 14881 | |
13909 | 14882 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
13910 | 14883 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
13911 | 14884 | |
13912 | 14885 | =item Too many ('s |
13913 | 14886 | |
13914 | 14887 | =begin original |
13915 | 14888 | |
13916 | 14889 | (A) You've accidentally run your script through B<csh> instead of Perl. |
13917 | 14890 | Check the #! line, or manually feed your script into Perl yourself. |
13918 | 14891 | |
13919 | 14892 | =end original |
13920 | 14893 | |
13921 | 14894 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
13922 | 14895 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
13923 | 14896 | |
13924 | 14897 | =item Trailing \ in regex m/%s/ |
13925 | 14898 | |
13926 | 14899 | =begin original |
13927 | 14900 | |
13928 | 14901 | (F) The regular expression ends with an unbackslashed backslash. |
13929 | 14902 | Backslash it. See L<perlre>. |
13930 | 14903 | |
13931 | 14904 | =end original |
13932 | 14905 | |
13933 | 14906 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
13934 | 14907 | 終了しました。バックスラッシュを付けてください。 |
13935 | 14908 | L<perlre> を参照してください。 |
13936 | 14909 | |
13937 | 14910 | =item Transliteration pattern not terminated |
13938 | 14911 | |
13939 | 14912 | =begin original |
13940 | 14913 | |
13941 | 14914 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
13942 | 14915 | or y/// or y[][] construct. Missing the leading C<$> from variables |
13943 | 14916 | C<$tr> or C<$y> may cause this error. |
13944 | 14917 | |
13945 | 14918 | =end original |
13946 | 14919 | |
13947 | 14920 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が |
13948 | 14921 | 見つかりませんでした。 |
13949 | 14922 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
13950 | 14923 | このエラーが出ることがあります。 |
13951 | 14924 | |
13952 | 14925 | =item Transliteration replacement not terminated |
13953 | 14926 | |
13954 | 14927 | =begin original |
13955 | 14928 | |
13956 | 14929 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], |
13957 | 14930 | y/// or y[][] construct. |
13958 | 14931 | |
13959 | 14932 | =end original |
13960 | 14933 | |
13961 | 14934 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が |
13962 | 14935 | 見つかりませんでした。 |
13963 | 14936 | |
13964 | 14937 | =item '%s' trapped by operation mask |
13965 | 14938 | |
13966 | 14939 | =begin original |
13967 | 14940 | |
13968 | 14941 | (F) You tried to use an operator from a Safe compartment in which it's |
13969 | 14942 | disallowed. See L<Safe>. |
13970 | 14943 | |
13971 | 14944 | =end original |
13972 | 14945 | |
13973 | 14946 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 |
13974 | 14947 | L<Safe> を参照してください。 |
13975 | 14948 | |
13976 | 14949 | =item truncate not implemented |
13977 | 14950 | |
13978 | 14951 | =begin original |
13979 | 14952 | |
13980 | 14953 | (F) Your machine doesn't implement a file truncation mechanism that |
13981 | 14954 | Configure knows about. |
13982 | 14955 | |
13983 | 14956 | =end original |
13984 | 14957 | |
13985 | 14958 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
13986 | 14959 | 実装されていません。 |
13987 | 14960 | |
13988 | 14961 | =item Type of arg %d to &CORE::%s must be %s |
13989 | 14962 | |
13990 | 14963 | =begin original |
13991 | 14964 | |
13992 | 14965 | (F) The subroutine in question in the CORE package requires its argument |
13993 | 14966 | to be a hard reference to data of the specified type. Overloading is |
13994 | 14967 | ignored, so a reference to an object that is not the specified type, but |
13995 | 14968 | nonetheless has overloading to handle it, will still not be accepted. |
13996 | 14969 | |
13997 | 14970 | =end original |
13998 | 14971 | |
13999 | 14972 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの |
14000 | 14973 | ハードリファレンスを要求しています。 |
14001 | 14974 | オーバーロードは無視されるので、指定された型ではないけれども、それを |
14002 | 14975 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも |
14003 | 14976 | 受け付けられません。 |
14004 | 14977 | |
14005 | 14978 | =item Type of arg %d to %s must be %s (not %s) |
14006 | 14979 | |
14007 | 14980 | =begin original |
14008 | 14981 | |
14009 | 14982 | (F) This function requires the argument in that position to be of a |
14010 | 14983 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
14011 | 14984 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
14012 | 14985 | {EXPR} forms as an explicit dereference. See L<perlref>. |
14013 | 14986 | |
14014 | 14987 | =end original |
14015 | 14988 | |
14016 | 14989 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
14017 | 14990 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 |
14018 | 14991 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 |
14019 | 14992 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
14020 | 14993 | {EXPR} 形式を使ってください。 |
14021 | 14994 | L<perlref> を参照してください。 |
14022 | 14995 | |
14023 | =item Type of argument to %s must be unblessed hashref or arrayref | |
14024 | ||
14025 | =begin original | |
14026 | ||
14027 | (F) You called C<keys>, C<values> or C<each> with a scalar argument that | |
14028 | was not a reference to an unblessed hash or array. | |
14029 | ||
14030 | =end original | |
14031 | ||
14032 | (F) bless されていないハッシュや配列へのリファレンスでないスカラ引数を使って | |
14033 | C<keys>, C<values>, C<each> を呼び出しました。 | |
14034 | ||
14035 | 14996 | =item umask not implemented |
14036 | 14997 | |
14037 | 14998 | =begin original |
14038 | 14999 | |
14039 | 15000 | (F) Your machine doesn't implement the umask function and you tried to |
14040 | 15001 | use it to restrict permissions for yourself (EXPR & 0700). |
14041 | 15002 | |
14042 | 15003 | =end original |
14043 | 15004 | |
14044 | 15005 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
14045 | 15006 | (EXPR & 0700) ためにこれを使おうとしました。 |
14046 | 15007 | |
14047 | 15008 | =item Unbalanced context: %d more PUSHes than POPs |
14048 | 15009 | |
14049 | 15010 | =begin original |
14050 | 15011 | |
14051 | 15012 | (S internal) The exit code detected an internal inconsistency in how |
14052 | 15013 | many execution contexts were entered and left. |
14053 | 15014 | |
14054 | 15015 | =end original |
14055 | 15016 | |
14056 | 15017 | (S internal) いくつの実行コンテキストに入って、出たかということの |
14057 | 15018 | 内部矛盾が exit コードで発見されました。 |
14058 | 15019 | |
14059 | 15020 | =item Unbalanced saves: %d more saves than restores |
14060 | 15021 | |
14061 | 15022 | =begin original |
14062 | 15023 | |
14063 | 15024 | (S internal) The exit code detected an internal inconsistency in how |
14064 | 15025 | many values were temporarily localized. |
14065 | 15026 | |
14066 | 15027 | =end original |
14067 | 15028 | |
14068 | 15029 | (S internal) いくつの値が、一時的にローカル化されたかということの |
14069 | 15030 | 内部矛盾が exit コードで発見されました。 |
14070 | 15031 | |
14071 | 15032 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
14072 | 15033 | |
14073 | 15034 | =begin original |
14074 | 15035 | |
14075 | 15036 | (S internal) The exit code detected an internal inconsistency in how |
14076 | 15037 | many blocks were entered and left. |
14077 | 15038 | |
14078 | 15039 | =end original |
14079 | 15040 | |
14080 | 15041 | (S internal) いくつのブロックに入って、出たかということの |
14081 | 15042 | 内部矛盾が exit コードで発見されました。 |
14082 | 15043 | |
14083 | 15044 | =item Unbalanced string table refcount: (%d) for "%s" |
14084 | 15045 | |
14085 | 15046 | =begin original |
14086 | 15047 | |
14087 | 15048 | (S internal) On exit, Perl found some strings remaining in the shared |
14088 | 15049 | string table used for copy on write and for hash keys. The entries |
14089 | 15050 | should have been freed, so this indicates a bug somewhere. |
14090 | 15051 | |
14091 | 15052 | =end original |
14092 | 15053 | |
14093 | 15054 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための |
14094 | 15055 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 |
14095 | 15056 | エントリは開放されている必要があるので、これはどこかにバグがあることを |
14096 | 15057 | 示しています。 |
14097 | 15058 | |
14098 | 15059 | =item Unbalanced tmps: %d more allocs than frees |
14099 | 15060 | |
14100 | 15061 | =begin original |
14101 | 15062 | |
14102 | 15063 | (S internal) The exit code detected an internal inconsistency in how |
14103 | 15064 | many mortal scalars were allocated and freed. |
14104 | 15065 | |
14105 | 15066 | =end original |
14106 | 15067 | |
14107 | 15068 | (S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと |
14108 | 15069 | いうことの内部矛盾が exit コードで発見されました。 |
14109 | 15070 | |
14110 | 15071 | =item Undefined format "%s" called |
14111 | 15072 | |
14112 | 15073 | =begin original |
14113 | 15074 | |
14114 | 15075 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
14115 | 15076 | another package? See L<perlform>. |
14116 | 15077 | |
14117 | 15078 | =end original |
14118 | 15079 | |
14119 | 15080 | (F) 示されたフォーマットが存在しないようです。 |
14120 | 15081 | おそらく本当は他のパッケージにあるのでは? |
14121 | 15082 | L<perlform> を参照してください。 |
14122 | 15083 | |
14123 | 15084 | =item Undefined sort subroutine "%s" called |
14124 | 15085 | |
14125 | 15086 | =begin original |
14126 | 15087 | |
14127 | 15088 | (F) The sort comparison routine specified doesn't seem to exist. |
14128 | 15089 | Perhaps it's in a different package? See L<perlfunc/sort>. |
14129 | 15090 | |
14130 | 15091 | =end original |
14131 | 15092 | |
14132 | 15093 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
14133 | 15094 | おそらく、別のパッケージに存在するのではないでしょうか。 |
14134 | 15095 | L<perlfunc/sort> を参照してください。 |
14135 | 15096 | |
14136 | 15097 | =item Undefined subroutine &%s called |
14137 | 15098 | |
14138 | 15099 | =begin original |
14139 | 15100 | |
14140 | 15101 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
14141 | 15102 | since been undefined. |
14142 | 15103 | |
14143 | 15104 | =end original |
14144 | 15105 | |
14145 | 15106 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 |
14146 | 15107 | 既に未定義になっています。 |
14147 | 15108 | |
14148 | 15109 | =item Undefined subroutine called |
14149 | 15110 | |
14150 | 15111 | =begin original |
14151 | 15112 | |
14152 | 15113 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
14153 | 15114 | or if it was, it has since been undefined. |
14154 | 15115 | |
14155 | 15116 | =end original |
14156 | 15117 | |
14157 | 15118 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; |
14158 | 15119 | 定義されていたとしても、既に未定義になっています。 |
14159 | 15120 | |
14160 | 15121 | =item Undefined subroutine in sort |
14161 | 15122 | |
14162 | 15123 | =begin original |
14163 | 15124 | |
14164 | 15125 | (F) The sort comparison routine specified is declared but doesn't seem |
14165 | 15126 | to have been defined yet. See L<perlfunc/sort>. |
14166 | 15127 | |
14167 | 15128 | =end original |
14168 | 15129 | |
14169 | 15130 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
14170 | 15131 | 定義されていないようです。 |
14171 | 15132 | L<perlfunc/sort> を参照してください。 |
14172 | 15133 | |
14173 | 15134 | =item Undefined top format "%s" called |
14174 | 15135 | |
14175 | 15136 | =begin original |
14176 | 15137 | |
14177 | 15138 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
14178 | 15139 | another package? See L<perlform>. |
14179 | 15140 | |
14180 | 15141 | =end original |
14181 | 15142 | |
14182 | 15143 | (F) 示されたフォーマットが存在しないようです。 |
14183 | 15144 | おそらく本当は他のパッケージにあるのでは? |
14184 | 15145 | L<perlform> を参照してください。 |
14185 | 15146 | |
14186 | 15147 | =item Undefined value assigned to typeglob |
14187 | 15148 | |
14188 | 15149 | =begin original |
14189 | 15150 | |
14190 | 15151 | (W misc) An undefined value was assigned to a typeglob, a la |
14191 | 15152 | C<*foo = undef>. This does nothing. It's possible that you really mean |
14192 | 15153 | C<undef *foo>. |
14193 | 15154 | |
14194 | 15155 | =end original |
14195 | 15156 | |
14196 | 15157 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
14197 | 15158 | これは何もしません。 |
14198 | 15159 | 本当は C<undef *foo> としたかったのかもしれません。 |
14199 | 15160 | |
14200 | 15161 | =item %s: Undefined variable |
14201 | 15162 | |
14202 | 15163 | =begin original |
14203 | 15164 | |
14204 | 15165 | (A) You've accidentally run your script through B<csh> instead of Perl. |
14205 | 15166 | Check the #! line, or manually feed your script into Perl yourself. |
14206 | 15167 | |
14207 | 15168 | =end original |
14208 | 15169 | |
14209 | 15170 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
14210 | 15171 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
14211 | 15172 | |
14212 | =item Unescaped left brace in regex is | |
15173 | =item Unescaped left brace in regex is illegal here in regex; | |
14213 | 15174 | marked by S<<-- HERE> in m/%s/ |
14214 | 15175 | |
14215 | 15176 | =begin original |
14216 | 15177 | |
14217 | ( | |
15178 | (F) The simple rule to remember, if you want to | |
14218 | ||
15179 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
14219 | ||
15180 | regular expression pattern, is to escape each literal instance of it in | |
14220 | s | |
15181 | some way. Generally easiest is to precede it with a backslash, like | |
14221 | ||
15182 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
14222 | ||
15183 | delimiters are also braces, any matching right brace (C<"}">) should | |
15184 | also be escaped to avoid confusing the parser, for example, | |
14223 | 15185 | |
14224 | 15186 | =end original |
14225 | 15187 | |
14226 | ( | |
15188 | (F) 正規表現中で | |
14227 | ||
15189 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
14228 | ||
15190 | 覚えておくべき単純な規則は、何らかの方法で | |
14229 | ||
15191 | それぞれのリテラルな実体をエスケープすることです。 | |
15192 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
15193 | かっこでかこむ (C<"[{]">) ことです。. | |
14230 | 15194 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ |
14231 | 15195 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: |
14232 | 15196 | |
14233 | | |
15197 | qr{abc\{def\}ghi} | |
14234 | 15198 | |
15199 | =begin original | |
15200 | ||
15201 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
15202 | language to be extended in various ways in future releases. To avoid | |
15203 | needlessly breaking existing code, the restriction is not enforced in | |
15204 | contexts where there are unlikely to ever be extensions that could | |
15205 | conflict with the use there of C<"{"> as a literal. Those that are | |
15206 | not potentially ambiguous do not warn; those that are do raise a | |
15207 | non-deprecation warning. | |
15208 | ||
15209 | =end original | |
15210 | ||
15211 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
15212 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15213 | 既存のコードを不必要に壊すことを避けるために、 | |
15214 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
15215 | 制限は強制されません。 | |
15216 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15217 | 廃止予定でない警告が発生します。 | |
15218 | ||
15219 | =begin original | |
15220 | ||
15221 | The contexts where no warnings or errors are raised are: | |
15222 | ||
15223 | =end original | |
15224 | ||
15225 | 警告やエラーが出ない文脈は: | |
15226 | ||
15227 | =over 4 | |
15228 | ||
15229 | =item * | |
15230 | ||
15231 | =begin original | |
15232 | ||
15233 | as the first character in a pattern, or following C<"^"> indicating to | |
15234 | anchor the match to the beginning of a line. | |
15235 | ||
15236 | =end original | |
15237 | ||
15238 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15239 | C<"^"> に引き続いている場合。 | |
15240 | ||
15241 | =item * | |
15242 | ||
15243 | =begin original | |
15244 | ||
15245 | as the first character following a C<"|"> indicating alternation. | |
15246 | ||
15247 | =end original | |
15248 | ||
15249 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15250 | ||
15251 | =item * | |
15252 | ||
15253 | =begin original | |
15254 | ||
15255 | as the first character in a parenthesized grouping like | |
15256 | ||
15257 | =end original | |
15258 | ||
15259 | 次のようなかっこ付きグループの最初の文字の場合: | |
15260 | ||
15261 | /foo({bar)/ | |
15262 | /foo(?:{bar)/ | |
15263 | ||
15264 | =item * | |
15265 | ||
15266 | =begin original | |
15267 | ||
15268 | as the first character following a quantifier | |
15269 | ||
15270 | =end original | |
15271 | ||
15272 | 量指定子に引き続く最初の文字の場合 | |
15273 | ||
15274 | /\s*{/ | |
15275 | ||
15276 | =back | |
15277 | ||
15278 | =for comment | |
15279 | The text of the message above is mostly duplicated below (with changes) | |
15280 | to allow splain (and 'use diagnostics') to work. Since one is fatal, | |
15281 | and one not, they can't be combined as one message. Perhaps perldiag | |
15282 | could be enhanced to handle this case. | |
15283 | ||
15284 | =item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/ | |
15285 | ||
15286 | =begin original | |
15287 | ||
15288 | (W regexp) The simple rule to remember, if you want to | |
15289 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15290 | regular expression pattern, is to escape each literal instance of it in | |
15291 | some way. Generally easiest is to precede it with a backslash, like | |
15292 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
15293 | delimiters are also braces, any matching right brace (C<"}">) should | |
15294 | also be escaped to avoid confusing the parser, for example, | |
15295 | ||
15296 | =end original | |
15297 | ||
15298 | (W regexp) 正規表現中で | |
15299 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15300 | 覚えておくべき単純な規則は、何らかの方法で | |
15301 | それぞれのリテラルな実体をエスケープすることです。 | |
15302 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
15303 | かっこでかこむ (C<"[{]">) ことです。. | |
15304 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
15305 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15306 | ||
15307 | qr{abc\{def\}ghi} | |
15308 | ||
15309 | =begin original | |
15310 | ||
15311 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
15312 | language to be extended in various ways in future releases. To avoid | |
15313 | needlessly breaking existing code, the restriction is not enforced in | |
15314 | contexts where there are unlikely to ever be extensions that could | |
15315 | conflict with the use there of C<"{"> as a literal. Those that are | |
15316 | not potentially ambiguous do not warn; those that are raise this | |
15317 | warning. This makes sure that an inadvertent typo doesn't silently | |
15318 | cause the pattern to compile to something unintended. | |
15319 | ||
15320 | =end original | |
15321 | ||
15322 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
15323 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15324 | 既存のコードを不必要に壊すことを避けるために、 | |
15325 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
15326 | 制限は強制されません。 | |
15327 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15328 | この警告が発生します。 | |
15329 | これは、不注意によるタイプミスによって、パターンが何か想定外のものに | |
15330 | 黙ってコンパイルされないことを確実にします。 | |
15331 | ||
15332 | =begin original | |
15333 | ||
15334 | The contexts where no warnings or errors are raised are: | |
15335 | ||
15336 | =end original | |
15337 | ||
15338 | 警告やエラーが出ない文脈は: | |
15339 | ||
15340 | =over 4 | |
15341 | ||
15342 | =item * | |
15343 | ||
15344 | =begin original | |
15345 | ||
15346 | as the first character in a pattern, or following C<"^"> indicating to | |
15347 | anchor the match to the beginning of a line. | |
15348 | ||
15349 | =end original | |
15350 | ||
15351 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15352 | C<"^"> に引き続いている場合。 | |
15353 | ||
15354 | =item * | |
15355 | ||
15356 | =begin original | |
15357 | ||
15358 | as the first character following a C<"|"> indicating alternation. | |
15359 | ||
15360 | =end original | |
15361 | ||
15362 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15363 | ||
15364 | =item * | |
15365 | ||
15366 | =begin original | |
15367 | ||
15368 | as the first character in a parenthesized grouping like | |
15369 | ||
15370 | =end original | |
15371 | ||
15372 | 次のようなかっこ付きグループの最初の文字の場合: | |
15373 | ||
15374 | /foo({bar)/ | |
15375 | /foo(?:{bar)/ | |
15376 | ||
15377 | =item * | |
15378 | ||
15379 | =begin original | |
15380 | ||
15381 | as the first character following a quantifier | |
15382 | ||
15383 | =end original | |
15384 | ||
15385 | 量指定子に引き続く最初の文字の場合 | |
15386 | ||
15387 | /\s*{/ | |
15388 | ||
15389 | =back | |
15390 | ||
15391 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ | |
15392 | ||
15393 | =begin original | |
15394 | ||
15395 | (W regexp) (only under C<S<use re 'strict'>>) | |
15396 | ||
15397 | =end original | |
15398 | ||
15399 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
15400 | ||
15401 | =begin original | |
15402 | ||
15403 | Within the scope of C<S<use re 'strict'>> in a regular expression | |
15404 | pattern, you included an unescaped C<}> or C<]> which was interpreted | |
15405 | literally. These two characters are sometimes metacharacters, and | |
15406 | sometimes literals, depending on what precedes them in the | |
15407 | pattern. This is unlike the similar C<)> which is always a | |
15408 | metacharacter unless escaped. | |
15409 | ||
15410 | =end original | |
15411 | ||
15412 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 | |
15413 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 | |
15414 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; | |
15415 | パターン中で何が前に置かれるかによります。 | |
15416 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが | |
15417 | 異なります。 | |
15418 | ||
15419 | =begin original | |
15420 | ||
15421 | This action at a distance, perhaps a large distance, can lead to Perl | |
15422 | silently misinterpreting what you meant, so when you specify that you | |
15423 | want extra checking by C<S<use re 'strict'>>, this warning is generated. | |
15424 | If you meant the character as a literal, simply confirm that to Perl by | |
15425 | preceding the character with a backslash, or make it into a bracketed | |
15426 | character class (like C<[}]>). If you meant it as closing a | |
15427 | corresponding C<[> or C<{>, you'll need to look back through the pattern | |
15428 | to find out why that isn't happening. | |
15429 | ||
15430 | =end original | |
15431 | ||
15432 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで | |
15433 | あなたの意図を間違って解釈するかもしれないので、 | |
15434 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 | |
15435 | この警告が出力されます。 | |
15436 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 | |
15437 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に | |
15438 | はっきりさせてください。 | |
15439 | これが対応する C<[> や C<{> を閉じるものなら、 | |
15440 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 | |
15441 | ||
14235 | 15442 | =item unexec of %s into %s failed! |
14236 | 15443 | |
14237 | 15444 | =begin original |
14238 | 15445 | |
14239 | 15446 | (F) The unexec() routine failed for some reason. See your local FSF |
14240 | 15447 | representative, who probably put it there in the first place. |
14241 | 15448 | |
14242 | 15449 | =end original |
14243 | 15450 | |
14244 | 15451 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
14245 | 15452 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
14246 | 15453 | |
14247 | 15454 | =item Unexpected binary operator '%c' with no preceding operand in regex; |
14248 | 15455 | marked by S<<-- HERE> in m/%s/ |
14249 | 15456 | |
14250 | 15457 | =begin original |
14251 | 15458 | |
14252 | 15459 | (F) You had something like this: |
14253 | 15460 | |
14254 | 15461 | =end original |
14255 | 15462 | |
14256 | 15463 | (F) 以下のようなものを書きました: |
14257 | 15464 | |
14258 | 15465 | (?[ | \p{Digit} ]) |
14259 | 15466 | |
14260 | 15467 | =begin original |
14261 | 15468 | |
14262 | 15469 | where the C<"|"> is a binary operator with an operand on the right, but |
14263 | 15470 | no operand on the left. |
14264 | 15471 | |
14265 | 15472 | =end original |
14266 | 15473 | |
14267 | 15474 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない |
14268 | 15475 | 2 項演算子です。 |
14269 | 15476 | |
14270 | 15477 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ |
14271 | 15478 | |
14272 | 15479 | =begin original |
14273 | 15480 | |
14274 | 15481 | (F) You had something like this: |
14275 | 15482 | |
14276 | 15483 | =end original |
14277 | 15484 | |
14278 | 15485 | (F) 以下のようなものを書きました: |
14279 | 15486 | |
14280 | 15487 | (?[ z ]) |
14281 | 15488 | |
14282 | 15489 | =begin original |
14283 | 15490 | |
14284 | 15491 | Within C<(?[ ])>, no literal characters are allowed unless they are |
14285 | 15492 | within an inner pair of square brackets, like |
14286 | 15493 | |
14287 | 15494 | =end original |
14288 | 15495 | |
14289 | 15496 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り |
14290 | 15497 | リテラル文字は許されません |
14291 | 15498 | |
14292 | 15499 | (?[ [ z ] ]) |
14293 | 15500 | |
14294 | 15501 | =begin original |
14295 | 15502 | |
14296 | 15503 | Another possibility is that you forgot a backslash. Perl isn't smart |
14297 | 15504 | enough to figure out what you really meant. |
14298 | 15505 | |
14299 | 15506 | =end original |
14300 | 15507 | |
14301 | 15508 | もう一つの可能性は、逆スラッシュを忘れたことです。 |
14302 | 15509 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 |
14303 | 15510 | |
14304 | 15511 | =item Unexpected constant lvalue entersub entry via type/targ %d:%d |
14305 | 15512 | |
14306 | 15513 | =begin original |
14307 | 15514 | |
14308 | 15515 | (P) When compiling a subroutine call in lvalue context, Perl failed an |
14309 | 15516 | internal consistency check. It encountered a malformed op tree. |
14310 | 15517 | |
14311 | 15518 | =end original |
14312 | 15519 | |
14313 | 15520 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は |
14314 | 15521 | 内部一貫性チェックに失敗しました。 |
14315 | 15522 | 不正な構文木に遭遇しました。 |
14316 | 15523 | |
14317 | 15524 | =item Unexpected exit %u |
14318 | 15525 | |
14319 | 15526 | =begin original |
14320 | 15527 | |
14321 | 15528 | (S) exit() was called or the script otherwise finished gracefully when |
14322 | 15529 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. |
14323 | 15530 | |
14324 | 15531 | =end original |
14325 | 15532 | |
14326 | 15533 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が |
14327 | 15534 | 呼び出されたりその他の理由で通常終了しました。 |
14328 | 15535 | |
14329 | 15536 | =item Unexpected exit failure %d |
14330 | 15537 | |
14331 | 15538 | =begin original |
14332 | 15539 | |
14333 | 15540 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in |
14334 | 15541 | C<PL_exit_flags>. |
14335 | 15542 | |
14336 | 15543 | =end original |
14337 | 15544 | |
14338 | 15545 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに |
14339 | 15546 | 捕らえられていない die() が呼び出されました。 |
14340 | 15547 | |
14341 | 15548 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ |
14342 | 15549 | |
14343 | 15550 | =begin original |
14344 | 15551 | |
14345 | 15552 | (F) You had something like this: |
14346 | 15553 | |
14347 | 15554 | =end original |
14348 | 15555 | |
14349 | 15556 | (F) 以下のようなものを書きました: |
14350 | 15557 | |
14351 | 15558 | (?[ ( \p{Digit} + ) ]) |
14352 | 15559 | |
14353 | 15560 | =begin original |
14354 | 15561 | |
14355 | 15562 | The C<")"> is out-of-place. Something apparently was supposed to |
14356 | 15563 | be combined with the digits, or the C<"+"> shouldn't be there, or |
14357 | 15564 | something like that. Perl can't figure out what was intended. |
14358 | 15565 | |
14359 | 15566 | =end original |
14360 | 15567 | |
14361 | 15568 | C<")"> の場所がおかしいです。 |
14362 | 15569 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは |
14363 | 15570 | 似たような何かです。 |
14364 | 15571 | Perl は何を意図しているのかが分かりませんでした。 |
14365 | 15572 | |
15573 | =item Unexpected ']' with no following ')' in (?[... in regex; marked by | |
15574 | <-- HERE in m/%s/ | |
15575 | ||
15576 | =begin original | |
15577 | ||
15578 | (F) While parsing an extended character class a ']' character was | |
15579 | encountered at a point in the definition where the only legal use of | |
15580 | ']' is to close the character class definition as part of a '])', you | |
15581 | may have forgotten the close paren, or otherwise confused the parser. | |
15582 | ||
15583 | =end original | |
15584 | ||
15585 | (F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を | |
15586 | 閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました; | |
15587 | 閉じかっこを忘れているか、さもなければパーサが混乱しています。 | |
15588 | ||
14366 | 15589 | =item Unexpected '(' with no preceding operator in regex; marked by |
14367 | 15590 | S<<-- HERE> in m/%s/ |
14368 | 15591 | |
14369 | 15592 | =begin original |
14370 | 15593 | |
14371 | 15594 | (F) You had something like this: |
14372 | 15595 | |
14373 | 15596 | =end original |
14374 | 15597 | |
14375 | 15598 | (F) 以下のようなものを書きました: |
14376 | 15599 | |
14377 | 15600 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) |
14378 | 15601 | |
14379 | 15602 | =begin original |
14380 | 15603 | |
14381 | 15604 | There should be an operator before the C<"(">, as there's |
14382 | 15605 | no indication as to how the digits are to be combined |
14383 | 15606 | with the characters in the Lao and Thai scripts. |
14384 | 15607 | |
14385 | 15608 | =end original |
14386 | 15609 | |
14387 | 15610 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの |
14388 | 15611 | 文字がどのように結びつくかの指示がないからです。 |
14389 | 15612 | |
14390 | =item Unicode non-character U+%X is | |
15613 | =item Unicode non-character U+%X is not recommended for open interchange | |
14391 | 15614 | |
14392 | 15615 | =begin original |
14393 | 15616 | |
14394 | 15617 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are |
14395 | 15618 | defined by the Unicode standard to be non-characters. Those |
14396 | 15619 | are legal codepoints, but are reserved for internal use; so, |
14397 | 15620 | applications shouldn't attempt to exchange them. An application |
14398 | 15621 | may not be expecting any of these characters at all, and receiving |
14399 | 15622 | them may lead to bugs. If you know what you are doing you can |
14400 | 15623 | turn off this warning by C<no warnings 'nonchar';>. |
14401 | 15624 | |
14402 | 15625 | =end original |
14403 | 15626 | |
14404 | 15627 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は |
14405 | 15628 | Unicode 標準によって非文字として指定されています。 |
14406 | 15629 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 |
14407 | 15630 | アプリケーションはこれを交換しようとするべきではありません。 |
14408 | 15631 | アプリケーションは、これらの文字を想定するべきではなく、これらを |
14409 | 15632 | 受け取るとバグを引き起こすことがあります。 |
14410 | 15633 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で |
14411 | 15634 | 警告を無効にできます。 |
14412 | 15635 | |
14413 | 15636 | =begin original |
14414 | 15637 | |
14415 | 15638 | This is not really a "severe" error, but it is supposed to be |
14416 | 15639 | raised by default even if warnings are not enabled, and currently |
14417 | 15640 | the only way to do that in Perl is to mark it as serious. |
14418 | 15641 | |
14419 | 15642 | =end original |
14420 | 15643 | |
14421 | 15644 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても |
14422 | 15645 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは |
14423 | 15646 | これを重大なものとして扱うことです。 |
14424 | 15647 | |
15648 | =item Unicode property wildcard not terminated | |
15649 | ||
15650 | =begin original | |
15651 | ||
15652 | (F) A Unicode property wildcard looks like a delimited regular | |
15653 | expression pattern (all within the braces of the enclosing C<\p{...}>. | |
15654 | The closing delimtter to match the opening one was not found. If the | |
15655 | opening one is escaped by preceding it with a backslash, the closing one | |
15656 | must also be so escaped. | |
15657 | ||
15658 | =end original | |
15659 | ||
15660 | (F) Unicode 特性ワイルドカードは区切られた正規表現パターン | |
15661 | (C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。 | |
15662 | 開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。 | |
15663 | 前に逆スラッシュを置くことで開き文字がエスケープされている場合、 | |
15664 | 閉じ文字もエスケープされていなければなりません。 | |
15665 | ||
15666 | =item Unicode string properties are not implemented in (?[...]) in | |
15667 | regex; marked by <-- HERE in m/%s/ | |
15668 | ||
15669 | =begin original | |
15670 | ||
15671 | (F) A Unicode string property is one which expands to a sequence of | |
15672 | multiple characters. An example is C<\p{name=KATAKANA LETTER AINU P}>, | |
15673 | which is comprised of the sequence C<\N{KATAKANA LETTER SMALL H}> | |
15674 | followed by C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}>. | |
15675 | Extended character classes, C<(?[...])> currently cannot handle these. | |
15676 | ||
15677 | =end original | |
15678 | ||
15679 | (F) A Unicode 文字列特性は、複数の文字の並びに拡張するものです。 | |
15680 | 例は C<\p{name=KATAKANA LETTER AINU P}> で、これは | |
15681 | C<\N{KATAKANA LETTER SMALL H}> に | |
15682 | C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}> が引き続く | |
15683 | 並びからなります。 | |
15684 | 拡張文字クラス C<(?[...])> は現在の所これらを扱えません。 | |
15685 | ||
14425 | 15686 | =item Unicode surrogate U+%X is illegal in UTF-8 |
14426 | 15687 | |
14427 | 15688 | =begin original |
14428 | 15689 | |
14429 | 15690 | (S surrogate) You had a UTF-16 surrogate in a context where they are |
14430 | 15691 | not considered acceptable. These code points, between U+D800 and |
14431 | 15692 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
14432 | 15693 | internally allows all unsigned integer code points (up to the size limit |
14433 | 15694 | available on your platform), including surrogates. But these can cause |
14434 | 15695 | problems when being input or output, which is likely where this message |
14435 | 15696 | came from. If you really really know what you are doing you can turn |
14436 | 15697 | off this warning by C<no warnings 'surrogate';>. |
14437 | 15698 | |
14438 | 15699 | =end original |
14439 | 15700 | |
14440 | 15701 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを |
14441 | 15702 | 使いました。 |
14442 | 15703 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
14443 | 15704 | Unicode によって使われます。 |
14444 | 15705 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
14445 | 15706 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
14446 | 15707 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
14447 | 15708 | おそらくこのメッセージが出た場所です。 |
14448 | 15709 | 自分で何をしているのかが本当に本当に分かっているなら、 |
14449 | 15710 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
14450 | 15711 | |
14451 | 15712 | =item Unknown charname '%s' |
14452 | 15713 | |
14453 | 15714 | =begin original |
14454 | 15715 | |
14455 | 15716 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the |
14456 | 15717 | spelling. You can say C<use charnames ":loose"> to not have to be |
14457 | 15718 | so precise about spaces, hyphens, and capitalization on standard Unicode |
14458 | 15719 | names. (Any custom aliases that have been created must be specified |
14459 | 15720 | exactly, regardless of whether C<:loose> is used or not.) This error may |
14460 | 15721 | also happen if the C<\N{}> is not in the scope of the corresponding |
14461 | 15722 | C<S<use charnames>>. |
14462 | 15723 | |
14463 | 15724 | =end original |
14464 | 15725 | |
14465 | 15726 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 |
14466 | 15727 | 綴りをチェックしてください。 |
14467 | 15728 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 |
14468 | 15729 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 |
14469 | 15730 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に |
14470 | 15731 | 指定されなければなりません。) |
14471 | 15732 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に |
14472 | 15733 | ないときにも起こることがあります。 |
14473 | 15734 | |
15735 | =item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/ | |
15736 | ||
15737 | =begin original | |
15738 | ||
15739 | (F) The C<(*> was followed by something that the regular expression | |
15740 | compiler does not recognize. Check your spelling. | |
15741 | ||
15742 | =end original | |
15743 | ||
15744 | (F) C<(*> に、何か正規表現コンパイラが理解できないものが | |
15745 | 引き続いていました。 | |
15746 | 綴りをチェックしてください。 | |
15747 | ||
14474 | 15748 | =item Unknown error |
14475 | 15749 | |
14476 | 15750 | =begin original |
14477 | 15751 | |
14478 | 15752 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable |
14479 | 15753 | did not exist, even after an attempt to create it. |
14480 | 15754 | |
14481 | 15755 | =end original |
14482 | 15756 | |
14483 | 15757 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が |
14484 | 15758 | (たとえ作ろうとした後でも) 存在しませんでした。 |
14485 | 15759 | |
15760 | =item Unknown locale category %d; can't set it to %s | |
15761 | ||
15762 | =begin original | |
15763 | ||
15764 | (W locale) You used a locale category that perl doesn't recognize, so it | |
15765 | cannot carry out your request. Check that you are using a valid | |
15766 | category. If so, see L<perllocale/Multi-threaded> for advice on | |
15767 | reporting this as a bug, and for modifying perl locally to accommodate | |
15768 | your needs. | |
15769 | ||
15770 | =end original | |
15771 | ||
15772 | (W locale) perl が認識できないロケールカテゴリを使ったので、 | |
15773 | 要求を実行することができません。 | |
15774 | 正しいカテゴリを使っているかチェックしてください。 | |
15775 | もしそうなら、これをバグとして報告する助言や、必要性に対応するために | |
15776 | perl をローカルで修正する方法について L<perllocale/Multi-threaded> を | |
15777 | 参照してください。 | |
15778 | ||
14486 | 15779 | =item Unknown open() mode '%s' |
14487 | 15780 | |
14488 | 15781 | =begin original |
14489 | 15782 | |
14490 | 15783 | (F) The second argument of 3-argument open() is not among the list |
14491 | 15784 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
14492 | 15785 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. |
14493 | 15786 | |
14494 | 15787 | =end original |
14495 | 15788 | |
14496 | 15789 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
14497 | 15790 | どれでもありませんでした: |
14498 | 15791 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
14499 | 15792 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> |
14500 | 15793 | |
14501 | 15794 | =item Unknown PerlIO layer "%s" |
14502 | 15795 | |
14503 | 15796 | =begin original |
14504 | 15797 | |
14505 | 15798 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O |
14506 | 15799 | system. (Layers take care of transforming data between external and |
14507 | 15800 | internal representations.) Note that some layers, such as C<mmap>, |
14508 | 15801 | are not supported in all environments. If your program didn't |
14509 | 15802 | explicitly request the failing operation, it may be the result of the |
14510 | 15803 | value of the environment variable PERLIO. |
14511 | 15804 | |
14512 | 15805 | =end original |
14513 | 15806 | |
14514 | 15807 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 |
14515 | 15808 | (層はデータの外部表現と内部表現の変換を扱います。) |
14516 | 15809 | C<mmap> のような層は、全ての環境で対応しているわけではないことに |
14517 | 15810 | 注意してください。 |
14518 | 15811 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
14519 | 15812 | 値が原因かもしれません。 |
14520 | 15813 | |
14521 | 15814 | =item Unknown process %x sent message to prime_env_iter: %s |
14522 | 15815 | |
14523 | 15816 | =begin original |
14524 | 15817 | |
14525 | 15818 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
14526 | 15819 | iterating over it, and someone else stuck a message in the stream of |
14527 | 15820 | data Perl expected. Someone's very confused, or perhaps trying to |
14528 | 15821 | subvert Perl's population of %ENV for nefarious purposes. |
14529 | 15822 | |
14530 | 15823 | =end original |
14531 | 15824 | |
14532 | 15825 | (P) VMS に固有のエラーです。 |
14533 | 15826 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
14534 | 15827 | データストリームの中に誰かがメッセージを差し込みました。 |
14535 | 15828 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
14536 | 15829 | 滅亡させようとしています。 |
14537 | 15830 | |
14538 | =item Unknown regex modifier "%s" | |
15831 | =item Unknown regexp modifier "/%s" | |
14539 | 15832 | |
14540 | 15833 | =begin original |
14541 | 15834 | |
14542 | 15835 | (F) Alphanumerics immediately following the closing delimiter |
14543 | 15836 | of a regular expression pattern are interpreted by Perl as modifier |
14544 | 15837 | flags for the regex. One of the ones you specified is invalid. One way |
14545 | 15838 | this can happen is if you didn't put in white space between the end of |
14546 | 15839 | the regex and a following alphanumeric operator: |
14547 | 15840 | |
14548 | 15841 | =end original |
14549 | 15842 | |
14550 | 15843 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への |
14551 | 15844 | 修飾子フラグと解釈されます。 |
14552 | 15845 | その一つが不正でした。 |
14553 | 15846 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に |
14554 | 15847 | 空白を置いていない場合です: |
14555 | 15848 | |
14556 | 15849 | if ($a =~ /foo/and $bar == 3) { ... } |
14557 | 15850 | |
14558 | 15851 | =begin original |
14559 | 15852 | |
14560 | 15853 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises |
14561 | 15854 | this error. Likely what was meant instead was: |
14562 | 15855 | |
14563 | 15856 | =end original |
14564 | 15857 | |
14565 | 15858 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 |
14566 | 15859 | おそらくしたかったのは以下のようなことでしょう: |
14567 | 15860 | |
14568 | 15861 | if ($a =~ /foo/ and $bar == 3) { ... } |
14569 | 15862 | |
14570 | 15863 | =item Unknown "re" subpragma '%s' (known ones are: %s) |
14571 | 15864 | |
14572 | 15865 | =begin original |
14573 | 15866 | |
14574 | 15867 | (W) You tried to use an unknown subpragma of the "re" pragma. |
14575 | 15868 | |
14576 | 15869 | =end original |
14577 | 15870 | |
14578 | 15871 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 |
14579 | 15872 | |
14580 | 15873 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in |
14581 | 15874 | m/%s/ |
14582 | 15875 | |
14583 | 15876 | =begin original |
14584 | 15877 | |
14585 | 15878 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
14586 | 15879 | is not known. The condition must be one of the following: |
14587 | 15880 | |
14588 | 15881 | =end original |
14589 | 15882 | |
14590 | 15883 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 |
14591 | 15884 | 条件は以下のいずれかでなければなりません。 |
14592 | 15885 | |
14593 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
15886 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
14594 | (<NAME>) ('NAME') true if named capture matched | |
15887 | (<NAME>) ('NAME') true if named capture matched | |
14595 | (?=...) (?<=...) true if subpattern matches | |
15888 | (?=...) (?<=...) true if subpattern matches | |
14596 | ( | |
15889 | (*pla:...) (*plb:...) true if subpattern matches; also | |
14597 | | |
15890 | (*positive_lookahead:...) | |
14598 | | |
15891 | (*positive_lookbehind:...) | |
14599 | ( | |
15892 | (*nla:...) (*nlb:...) true if subpattern fails to match; also | |
14600 | | |
15893 | (*negative_lookahead:...) | |
14601 | | |
15894 | (*negative_lookbehind:...) | |
15895 | (?{ CODE }) true if code returns a true value | |
15896 | (R) true if evaluating inside recursion | |
15897 | (R1) (R2) ... true if directly inside capture group 1, 2, | |
15898 | etc. | |
15899 | (R&NAME) true if directly inside named capture | |
15900 | (DEFINE) always false; for defining named subpatterns | |
14602 | 15901 | |
14603 | 15902 | =begin original |
14604 | 15903 | |
14605 | 15904 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
14606 | 15905 | discovered. See L<perlre>. |
14607 | 15906 | |
14608 | 15907 | =end original |
14609 | 15908 | |
14610 | 15909 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
14611 | 15910 | L<perlre> を参照してください。 |
14612 | 15911 | |
14613 | 15912 | =item Unknown Unicode option letter '%c' |
14614 | 15913 | |
14615 | 15914 | =begin original |
14616 | 15915 | |
14617 | (F) You specified an unknown Unicode option. See | |
15916 | (F) You specified an unknown Unicode option. See | |
14618 | ||
15917 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
15918 | for the list of known options. | |
14619 | 15919 | |
14620 | 15920 | =end original |
14621 | 15921 | |
14622 | 15922 | (F) 不明な Unicode オプションを指定しました。 |
14623 | オプションの一覧については、L<perlrun | |
15923 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
14624 | 参照してください。 | |
15924 | C<-C> オプションを参照してください。 | |
14625 | 15925 | |
14626 | 15926 | =item Unknown Unicode option value %d |
14627 | 15927 | |
14628 | 15928 | =begin original |
14629 | 15929 | |
14630 | (F) You specified an unknown Unicode option. See | |
15930 | (F) You specified an unknown Unicode option. See | |
14631 | ||
15931 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
15932 | for the list of known options. | |
14632 | 15933 | |
14633 | 15934 | =end original |
14634 | 15935 | |
14635 | 15936 | (F) 不明な Unicode オプションを指定しました。 |
14636 | オプションの一覧については、L<perlrun | |
15937 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
14637 | 参照してください。 | |
15938 | C<-C> オプションを参照してください。 | |
14638 | 15939 | |
14639 | 15940 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ |
14640 | 15941 | |
14641 | 15942 | =begin original |
14642 | 15943 | |
14643 | 15944 | (F) You either made a typo or have incorrectly put a C<*> quantifier |
14644 | 15945 | after an open brace in your pattern. Check the pattern and review |
14645 | 15946 | L<perlre> for details on legal verb patterns. |
14646 | 15947 | |
14647 | 15948 | =end original |
14648 | 15949 | |
14649 | 15950 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に |
14650 | 15951 | C<*> 量指定子を書いたかどちらかです。 |
14651 | 15952 | パターンをチェックして、有効な動詞パターンの詳細については |
14652 | 15953 | L<perlre> を再チェックしてください。 |
14653 | 15954 | |
14654 | 15955 | =item Unknown warnings category '%s' |
14655 | 15956 | |
14656 | 15957 | =begin original |
14657 | 15958 | |
14658 | 15959 | (F) An error issued by the C<warnings> pragma. You specified a warnings |
14659 | 15960 | category that is unknown to perl at this point. |
14660 | 15961 | |
14661 | 15962 | =end original |
14662 | 15963 | |
14663 | 15964 | (F) C<warnings> プラグマによるエラーです。 |
14664 | 15965 | 現在のところ perl が知らない警告カテゴリを指定しました。 |
14665 | 15966 | |
14666 | 15967 | =begin original |
14667 | 15968 | |
14668 | 15969 | Note that if you want to enable a warnings category registered by a |
14669 | 15970 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this |
14670 | 15971 | module first. |
14671 | 15972 | |
14672 | 15973 | =end original |
14673 | 15974 | |
14674 | 15975 | (C<use warnings 'File::Find'> のように)モジュールによって登録される |
14675 | 15976 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が |
14676 | 15977 | あることに注意してください。 |
14677 | 15978 | |
14678 | =item Unmatched '[' in POSIX class in regex; marked by S<<-- HERE> in m/%s/ | |
14679 | ||
14680 | =begin original | |
14681 | ||
14682 | (F) You had something like this: | |
14683 | ||
14684 | =end original | |
14685 | ||
14686 | (F) 以下のようなものを書きました: | |
14687 | ||
14688 | (?[ [:digit: ]) | |
14689 | ||
14690 | =begin original | |
14691 | ||
14692 | That should be written: | |
14693 | ||
14694 | =end original | |
14695 | ||
14696 | 次のように書くべきです: | |
14697 | ||
14698 | (?[ [:digit:] ]) | |
14699 | ||
14700 | =item Unmatched '%c' in POSIX class in regex; marked by S<<-- HERE> in | |
14701 | m/%s/ | |
14702 | ||
14703 | =begin original | |
14704 | ||
14705 | (F) You had something like this: | |
14706 | ||
14707 | =end original | |
14708 | ||
14709 | (F) 以下のようなものを書きました: | |
14710 | ||
14711 | (?[ [:alnum] ]) | |
14712 | ||
14713 | =begin original | |
14714 | ||
14715 | There should be a second C<":">, like this: | |
14716 | ||
14717 | =end original | |
14718 | ||
14719 | 次のように、二つ目の C<":"> が必要です: | |
14720 | ||
14721 | (?[ [:alnum:] ]) | |
14722 | ||
14723 | 15979 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ |
14724 | 15980 | |
14725 | 15981 | =begin original |
14726 | 15982 | |
14727 | 15983 | (F) The brackets around a character class must match. If you wish to |
14728 | 15984 | include a closing bracket in a character class, backslash it or put it |
14729 | 15985 | first. The S<<-- HERE> shows whereabouts in the regular expression the |
14730 | 15986 | problem was discovered. See L<perlre>. |
14731 | 15987 | |
14732 | 15988 | =end original |
14733 | 15989 | |
14734 | 15990 | (F) 文字クラスの周りの大かっこが一致していません。 |
14735 | 15991 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
14736 | 15992 | 先頭に置いてください。 |
14737 | 15993 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
14738 | 15994 | L<perlre> を参照してください。 |
14739 | 15995 | |
14740 | 15996 | =item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/ |
14741 | 15997 | |
14742 | 15998 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ |
14743 | 15999 | |
14744 | 16000 | =begin original |
14745 | 16001 | |
14746 | 16002 | (F) Unbackslashed parentheses must always be balanced in regular |
14747 | 16003 | expressions. If you're a vi user, the % key is valuable for finding |
14748 | 16004 | the matching parenthesis. The S<<-- HERE> shows whereabouts in the |
14749 | 16005 | regular expression the problem was discovered. See L<perlre>. |
14750 | 16006 | |
14751 | 16007 | =end original |
14752 | 16008 | |
14753 | 16009 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
14754 | 16010 | 対応していなければなりません。 |
14755 | 16011 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
14756 | 16012 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
14757 | 16013 | L<perlre> を参照してください。 |
14758 | 16014 | |
14759 | 16015 | =item Unmatched right %s bracket |
14760 | 16016 | |
14761 | 16017 | =begin original |
14762 | 16018 | |
14763 | 16019 | (F) The lexer counted more closing curly or square brackets than opening |
14764 | 16020 | ones, so you're probably missing a matching opening bracket. As a |
14765 | 16021 | general rule, you'll find the missing one (so to speak) near the place |
14766 | 16022 | you were last editing. |
14767 | 16023 | |
14768 | 16024 | =end original |
14769 | 16025 | |
14770 | 16026 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを |
14771 | 16027 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 |
14772 | 16028 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した |
14773 | 16029 | 場所の近くにあります。 |
14774 | 16030 | |
14775 | 16031 | =item Unquoted string "%s" may clash with future reserved word |
14776 | 16032 | |
14777 | 16033 | =begin original |
14778 | 16034 | |
14779 | 16035 | (W reserved) You used a bareword that might someday be claimed as a |
14780 | 16036 | reserved word. It's best to put such a word in quotes, or capitalize it |
14781 | 16037 | somehow, or insert an underbar into it. You might also declare it as a |
14782 | 16038 | subroutine. |
14783 | 16039 | |
14784 | 16040 | =end original |
14785 | 16041 | |
14786 | 16042 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
14787 | 16043 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
14788 | 16044 | いれるかしてください。 |
14789 | 16045 | その裸の単語は、サブルーチンとして宣言することも可能です。 |
14790 | 16046 | |
14791 | 16047 | =item Unrecognized character %s; marked by S<<-- HERE> after %s near column |
14792 | 16048 | %d |
14793 | 16049 | |
14794 | 16050 | =begin original |
14795 | 16051 | |
14796 | 16052 | (F) The Perl parser has no idea what to do with the specified character |
14797 | 16053 | in your Perl script (or eval) near the specified column. Perhaps you |
14798 | 16054 | tried to run a compressed script, a binary program, or a directory as |
14799 | 16055 | a Perl program. |
14800 | 16056 | |
14801 | 16057 | =end original |
14802 | 16058 | |
14803 | 16059 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに |
14804 | 16060 | 出てきた文字に対してどうすればよいか分かりませんでした。 |
14805 | 16061 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
14806 | 16062 | Perl プログラムとして実行しようとしたのでしょう。 |
14807 | 16063 | |
14808 | 16064 | =item Unrecognized escape \%c in character class in regex; marked by |
14809 | 16065 | S<<-- HERE> in m/%s/ |
14810 | 16066 | |
14811 | 16067 | =begin original |
14812 | 16068 | |
14813 | 16069 | (F) You used a backslash-character combination which is not |
14814 | 16070 | recognized by Perl inside character classes. This is a fatal |
14815 | 16071 | error when the character class is used within C<(?[ ])>. |
14816 | 16072 | |
14817 | 16073 | =end original |
14818 | 16074 | |
14819 | 16075 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 |
14820 | 16076 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 |
14821 | 16077 | |
14822 | 16078 | =item Unrecognized escape \%c in character class passed through in regex; |
14823 | 16079 | marked by S<<-- HERE> in m/%s/ |
14824 | 16080 | |
14825 | 16081 | =begin original |
14826 | 16082 | |
14827 | 16083 | (W regexp) You used a backslash-character combination which is not |
14828 | 16084 | recognized by Perl inside character classes. The character was |
14829 | 16085 | understood literally, but this may change in a future version of Perl. |
14830 | 16086 | The S<<-- HERE> shows whereabouts in the regular expression the |
14831 | 16087 | escape was discovered. |
14832 | 16088 | |
14833 | 16089 | =end original |
14834 | 16090 | |
14835 | 16091 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
14836 | 16092 | 組み合わせを使いました。 |
14837 | 16093 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
14838 | 16094 | 変更されるかもしれません。 |
14839 | 16095 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 |
14840 | 16096 | |
14841 | 16097 | =item Unrecognized escape \%c passed through |
14842 | 16098 | |
14843 | 16099 | =begin original |
14844 | 16100 | |
14845 | 16101 | (W misc) You used a backslash-character combination which is not |
14846 | 16102 | recognized by Perl. The character was understood literally, but this may |
14847 | 16103 | change in a future version of Perl. |
14848 | 16104 | |
14849 | 16105 | =end original |
14850 | 16106 | |
14851 | 16107 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが |
14852 | 16108 | 使われています。 |
14853 | 16109 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
14854 | 16110 | 変更されるかもしれません。 |
14855 | 16111 | |
14856 | 16112 | =item Unrecognized escape \%s passed through in regex; marked by |
14857 | 16113 | S<<-- HERE> in m/%s/ |
14858 | 16114 | |
14859 | 16115 | =begin original |
14860 | 16116 | |
14861 | 16117 | (W regexp) You used a backslash-character combination which is not |
14862 | 16118 | recognized by Perl. The character(s) were understood literally, but |
14863 | 16119 | this may change in a future version of Perl. The S<<-- HERE> shows |
14864 | 16120 | whereabouts in the regular expression the escape was discovered. |
14865 | 16121 | |
14866 | 16122 | =end original |
14867 | 16123 | |
14868 | 16124 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが |
14869 | 16125 | 使われています。 |
14870 | 16126 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
14871 | 16127 | 変更されるかもしれません。 |
14872 | 16128 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 |
14873 | 16129 | |
14874 | 16130 | =item Unrecognized signal name "%s" |
14875 | 16131 | |
14876 | 16132 | =begin original |
14877 | 16133 | |
14878 | 16134 | (F) You specified a signal name to the kill() function that was not |
14879 | 16135 | recognized. Say C<kill -l> in your shell to see the valid signal names |
14880 | 16136 | on your system. |
14881 | 16137 | |
14882 | 16138 | =end original |
14883 | 16139 | |
14884 | 16140 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
14885 | 16141 | お使いのシステムで使用可能なシグナル名を調べるには、 |
14886 | 16142 | シェル上で C<kill -l> などとしてください。 |
14887 | 16143 | |
14888 | 16144 | =item Unrecognized switch: -%s (-h will show valid options) |
14889 | 16145 | |
14890 | 16146 | =begin original |
14891 | 16147 | |
14892 | 16148 | (F) You specified an illegal option to Perl. Don't do that. (If you |
14893 | 16149 | think you didn't do that, check the #! line to see if it's supplying the |
14894 | 16150 | bad switch on your behalf.) |
14895 | 16151 | |
14896 | 16152 | =end original |
14897 | 16153 | |
14898 | 16154 | (F) Perl に間違ったオプションを指定しました。 |
14899 | 16155 | これを行なってはいけません。 |
14900 | 16156 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
14901 | 16157 | スイッチが指定されていないかをチェックしてください。) |
14902 | 16158 | |
14903 | =item unshift on reference is experimental | |
14904 | ||
14905 | =begin original | |
14906 | ||
14907 | (S experimental::autoderef) C<unshift> with a scalar argument | |
14908 | is experimental and may change or be removed in a future | |
14909 | Perl version. If you want to take the risk of using this | |
14910 | feature, simply disable this warning: | |
14911 | ||
14912 | =end original | |
14913 | ||
14914 | (S experimental::autoderef) スカラ引数の C<unshift> は実験的で、将来の | |
14915 | バージョンの Perl で変更されたり削除されたりするかもしれません。 | |
14916 | この機能を使うリスクを取る場合は、単に警告を無効にして下さい: | |
14917 | ||
14918 | no warnings "experimental::autoderef"; | |
14919 | ||
14920 | 16159 | =item Unsuccessful %s on filename containing newline |
14921 | 16160 | |
14922 | 16161 | =begin original |
14923 | 16162 | |
14924 | 16163 | (W newline) A file operation was attempted on a filename, and that |
14925 | 16164 | operation failed, PROBABLY because the filename contained a newline, |
14926 | 16165 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
14927 | 16166 | |
14928 | 16167 | =end original |
14929 | 16168 | |
14930 | 16169 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
14931 | 16170 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 |
14932 | 16171 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
14933 | 16172 | L<perlfunc/chomp> を参照してください。 |
14934 | 16173 | |
14935 | 16174 | =item Unsupported directory function "%s" called |
14936 | 16175 | |
14937 | 16176 | =begin original |
14938 | 16177 | |
14939 | 16178 | (F) Your machine doesn't support opendir() and readdir(). |
14940 | 16179 | |
14941 | 16180 | =end original |
14942 | 16181 | |
14943 | 16182 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
14944 | 16183 | |
14945 | 16184 | =item Unsupported function %s |
14946 | 16185 | |
14947 | 16186 | =begin original |
14948 | 16187 | |
14949 | 16188 | (F) This machine doesn't implement the indicated function, apparently. |
14950 | 16189 | At least, Configure doesn't think so. |
14951 | 16190 | |
14952 | 16191 | =end original |
14953 | 16192 | |
14954 | 16193 | (F) このマシンでは、表示した関数は実装されていません。 |
14955 | 16194 | 少なくとも、Configure はそう判断しました。 |
14956 | 16195 | |
14957 | 16196 | =item Unsupported function fork |
14958 | 16197 | |
14959 | 16198 | =begin original |
14960 | 16199 | |
14961 | 16200 | (F) Your version of executable does not support forking. |
14962 | 16201 | |
14963 | 16202 | =end original |
14964 | 16203 | |
14965 | 16204 | (F) この実行ファイルは fork に対応していません。 |
14966 | 16205 | |
14967 | 16206 | =begin original |
14968 | 16207 | |
14969 | 16208 | Note that under some systems, like OS/2, there may be different flavors |
14970 | 16209 | of Perl executables, some of which may support fork, some not. Try |
14971 | 16210 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
14972 | 16211 | |
14973 | 16212 | =end original |
14974 | 16213 | |
14975 | 16214 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
14976 | 16215 | fork に対応しているものとしていないものがあります。 |
14977 | 16216 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
14978 | 16217 | 変えてみてください。 |
14979 | 16218 | |
14980 | 16219 | =item Unsupported script encoding %s |
14981 | 16220 | |
14982 | 16221 | =begin original |
14983 | 16222 | |
14984 | 16223 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
14985 | 16224 | declares it to be in a Unicode encoding that Perl cannot read. |
14986 | 16225 | |
14987 | 16226 | =end original |
14988 | 16227 | |
14989 | 16228 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
14990 | 16229 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
14991 | 16230 | |
14992 | 16231 | =item Unsupported socket function "%s" called |
14993 | 16232 | |
14994 | 16233 | =begin original |
14995 | 16234 | |
14996 | 16235 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
14997 | 16236 | least that's what Configure thought. |
14998 | 16237 | |
14999 | 16238 | =end original |
15000 | 16239 | |
15001 | 16240 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
15002 | 16241 | 少なくとも Configure がそう判断しました。 |
15003 | 16242 | |
16243 | =item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/ | |
16244 | ||
16245 | =begin original | |
16246 | ||
16247 | (F) You used a pattern of the form C<(*...:...)> but did not terminate | |
16248 | the pattern with a C<)>. Fix the pattern and retry. | |
16249 | ||
16250 | =end original | |
16251 | ||
16252 | (F) C<(*...:...)> 形式のパターンを使いましたが、パターンが | |
16253 | C<)> で終端されていません。 | |
16254 | パターンを修正して再挑戦してください。 | |
16255 | ||
15004 | 16256 | =item Unterminated attribute list |
15005 | 16257 | |
15006 | 16258 | =begin original |
15007 | 16259 | |
15008 | 16260 | (F) The lexer found something other than a simple identifier at the |
15009 | 16261 | start of an attribute, and it wasn't a semicolon or the start of a |
15010 | 16262 | block. Perhaps you terminated the parameter list of the previous |
15011 | 16263 | attribute too soon. See L<attributes>. |
15012 | 16264 | |
15013 | 16265 | =end original |
15014 | 16266 | |
15015 | 16267 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
15016 | 16268 | 開始でないものを発見しました。 |
15017 | 16269 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
15018 | 16270 | L<attributes> を参照してください。 |
15019 | 16271 | |
15020 | 16272 | =item Unterminated attribute parameter in attribute list |
15021 | 16273 | |
15022 | 16274 | =begin original |
15023 | 16275 | |
15024 | 16276 | (F) The lexer saw an opening (left) parenthesis character while parsing |
15025 | 16277 | an attribute list, but the matching closing (right) parenthesis |
15026 | 16278 | character was not found. You may need to add (or remove) a backslash |
15027 | 16279 | character to get your parentheses to balance. See L<attributes>. |
15028 | 16280 | |
15029 | 16281 | =end original |
15030 | 16282 | |
15031 | 16283 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
15032 | 16284 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
15033 | 16285 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
15034 | 16286 | 必要があるでしょう。 |
15035 | 16287 | L<attributes> を参照してください。 |
15036 | 16288 | |
15037 | 16289 | =item Unterminated compressed integer |
15038 | 16290 | |
15039 | 16291 | =begin original |
15040 | 16292 | |
15041 | 16293 | (F) An argument to unpack("w",...) was incompatible with the BER |
15042 | 16294 | compressed integer format and could not be converted to an integer. |
15043 | 16295 | See L<perlfunc/pack>. |
15044 | 16296 | |
15045 | 16297 | =end original |
15046 | 16298 | |
15047 | 16299 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
15048 | 16300 | 整数に変換できませんでした。 |
15049 | 16301 | L<perlfunc/pack> を参照してください。 |
15050 | 16302 | |
16303 | =item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/ | |
16304 | ||
16305 | =begin original | |
16306 | ||
16307 | (F) You used a pattern of the form C<(*...)> but did not terminate | |
16308 | the pattern with a C<)>. Fix the pattern and retry. | |
16309 | ||
16310 | =end original | |
16311 | ||
16312 | (F) C<(*...)> 形式のパターンを使いましたが、パターンが | |
16313 | C<)> で終端されていません。 | |
16314 | パターンを修正して再挑戦してください。 | |
16315 | ||
15051 | 16316 | =item Unterminated delimiter for here document |
15052 | 16317 | |
15053 | 16318 | =begin original |
15054 | 16319 | |
15055 | 16320 | (F) This message occurs when a here document label has an initial |
15056 | 16321 | quotation mark but the final quotation mark is missing. Perhaps |
15057 | 16322 | you wrote: |
15058 | 16323 | |
15059 | 16324 | =end original |
15060 | 16325 | |
15061 | 16326 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども |
15062 | 16327 | 末尾のクォートがありません。 |
15063 | 16328 | おそらく以下のように書いたのでしょう: |
15064 | 16329 | |
15065 | 16330 | <<"foo |
15066 | 16331 | |
15067 | 16332 | =begin original |
15068 | 16333 | |
15069 | 16334 | instead of: |
15070 | 16335 | |
15071 | 16336 | =end original |
15072 | 16337 | |
15073 | 16338 | 次のように書いてください: |
15074 | 16339 | |
15075 | 16340 | <<"foo" |
15076 | 16341 | |
15077 | 16342 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ |
15078 | 16343 | |
15079 | 16344 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ |
15080 | 16345 | |
15081 | 16346 | =begin original |
15082 | 16347 | |
15083 | 16348 | (F) In a regular expression, you had a C<\g> that wasn't followed by a |
15084 | 16349 | proper group reference. In the case of C<\g{>, the closing brace is |
15085 | 16350 | missing; otherwise the C<\g> must be followed by an integer. Fix the |
15086 | 16351 | pattern and retry. |
15087 | 16352 | |
15088 | 16353 | =end original |
15089 | 16354 | |
15090 | 16355 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 |
15091 | 16356 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が |
15092 | 16357 | 引き続かなければ鳴りません。 |
15093 | 16358 | パターンを修正して再挑戦してください。 |
15094 | 16359 | |
15095 | 16360 | =item Unterminated <> operator |
15096 | 16361 | |
15097 | 16362 | =begin original |
15098 | 16363 | |
15099 | 16364 | (F) The lexer saw a left angle bracket in a place where it was expecting |
15100 | 16365 | a term, so it's looking for the corresponding right angle bracket, and |
15101 | 16366 | not finding it. Chances are you left some needed parentheses out |
15102 | 16367 | earlier in the line, and you really meant a "less than". |
15103 | 16368 | |
15104 | 16369 | =end original |
15105 | 16370 | |
15106 | 16371 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
15107 | 16372 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
15108 | 16373 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
15109 | 16374 | 表したかった場合が考えられます。 |
15110 | 16375 | |
15111 | 16376 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in |
15112 | 16377 | m/%s/ |
15113 | 16378 | |
15114 | 16379 | =begin original |
15115 | 16380 | |
15116 | 16381 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate |
15117 | 16382 | the pattern with a C<)>. Fix the pattern and retry. |
15118 | 16383 | |
15119 | 16384 | =end original |
15120 | 16385 | |
15121 | 16386 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で |
15122 | 16387 | 終わっていません。 |
15123 | 16388 | パターンを修正して再挑戦してください。 |
15124 | 16389 | |
15125 | 16390 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ |
15126 | 16391 | |
15127 | 16392 | =begin original |
15128 | 16393 | |
15129 | 16394 | (F) You used a pattern of the form C<(*VERB)> but did not terminate |
15130 | 16395 | the pattern with a C<)>. Fix the pattern and retry. |
15131 | 16396 | |
15132 | 16397 | =end original |
15133 | 16398 | |
15134 | 16399 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で |
15135 | 16400 | 終わっていません。 |
15136 | 16401 | パターンを修正して再挑戦してください。 |
15137 | 16402 | |
15138 | 16403 | =item untie attempted while %d inner references still exist |
15139 | 16404 | |
15140 | 16405 | =begin original |
15141 | 16406 | |
15142 | 16407 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
15143 | 16408 | still valid when C<untie> was called. |
15144 | 16409 | |
15145 | 16410 | =end original |
15146 | 16411 | |
15147 | 16412 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
15148 | 16413 | C<untie> が呼び出されたときにまだ有効でした。 |
15149 | 16414 | |
15150 | 16415 | =item Usage: POSIX::%s(%s) |
15151 | 16416 | |
15152 | 16417 | =begin original |
15153 | 16418 | |
15154 | 16419 | (F) You called a POSIX function with incorrect arguments. |
15155 | 16420 | See L<POSIX/FUNCTIONS> for more information. |
15156 | 16421 | |
15157 | 16422 | =end original |
15158 | 16423 | |
15159 | 16424 | (F) POSIX 関数を間違った引数で呼び出しました。 |
15160 | 16425 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 |
15161 | 16426 | |
15162 | 16427 | =item Usage: Win32::%s(%s) |
15163 | 16428 | |
15164 | 16429 | =begin original |
15165 | 16430 | |
15166 | 16431 | (F) You called a Win32 function with incorrect arguments. |
15167 | 16432 | See L<Win32> for more information. |
15168 | 16433 | |
15169 | 16434 | =end original |
15170 | 16435 | |
15171 | 16436 | (F) Win32 関数を間違った引数で呼び出しました。 |
15172 | 16437 | 更なる情報については L<Win32> を参照してください。 |
15173 | 16438 | |
15174 | 16439 | =item $[ used in %s (did you mean $] ?) |
15175 | 16440 | |
15176 | 16441 | =begin original |
15177 | 16442 | |
15178 | 16443 | (W syntax) You used C<$[> in a comparison, such as: |
15179 | 16444 | |
15180 | 16445 | =end original |
15181 | 16446 | |
15182 | 16447 | (W syntax) 以下のように、比較で C<$[> を使いました: |
15183 | 16448 | |
15184 | 16449 | if ($[ > 5.006) { |
15185 | 16450 | ... |
15186 | 16451 | } |
15187 | 16452 | |
15188 | 16453 | =begin original |
15189 | 16454 | |
15190 | 16455 | You probably meant to use C<$]> instead. C<$[> is the base for indexing |
15191 | 16456 | arrays. C<$]> is the Perl version number in decimal. |
15192 | 16457 | |
15193 | 16458 | =end original |
15194 | 16459 | |
15195 | 16460 | おそらく C<$]> を使いたかったのでしょう。 |
15196 | 16461 | C<$[> は配列の基数です。 |
15197 | 16462 | C<$]> は Perl のバージョン番号の 10 進数です。 |
15198 | 16463 | |
15199 | 16464 | =item Use "%s" instead of "%s" |
15200 | 16465 | |
15201 | 16466 | =begin original |
15202 | 16467 | |
15203 | 16468 | (F) The second listed construct is no longer legal. Use the first one |
15204 | 16469 | instead. |
15205 | 16470 | |
15206 | 16471 | =end original |
15207 | 16472 | |
15208 | 16473 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 |
15209 | 16474 | 代わりに 1 番目のものを使ってください。 |
15210 | 16475 | |
15211 | 16476 | =item Useless assignment to a temporary |
15212 | 16477 | |
15213 | 16478 | =begin original |
15214 | 16479 | |
15215 | 16480 | (W misc) You assigned to an lvalue subroutine, but what |
15216 | 16481 | the subroutine returned was a temporary scalar about to |
15217 | 16482 | be discarded, so the assignment had no effect. |
15218 | 16483 | |
15219 | 16484 | =end original |
15220 | 16485 | |
15221 | 16486 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは |
15222 | 16487 | 捨てられようとする一時的なスカラなので、代入は向こうです。 |
15223 | 16488 | |
15224 | 16489 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by |
15225 | 16490 | S<<-- HERE> in m/%s/ |
15226 | 16491 | |
15227 | 16492 | =begin original |
15228 | 16493 | |
15229 | 16494 | (W regexp) You have used an internal modifier such as (?-o) that has no |
15230 | 16495 | meaning unless removed from the entire regexp: |
15231 | 16496 | |
15232 | 16497 | =end original |
15233 | 16498 | |
15234 | 16499 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ |
15235 | 16500 | 意味がありません: |
15236 | 16501 | |
15237 | 16502 | if ($string =~ /(?-o)$pattern/o) { ... } |
15238 | 16503 | |
15239 | 16504 | =begin original |
15240 | 16505 | |
15241 | 16506 | must be written as |
15242 | 16507 | |
15243 | 16508 | =end original |
15244 | 16509 | |
15245 | 16510 | これは以下のように書かなければなりません: |
15246 | 16511 | |
15247 | 16512 | if ($string =~ /$pattern/) { ... } |
15248 | 16513 | |
15249 | 16514 | =begin original |
15250 | 16515 | |
15251 | 16516 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
15252 | 16517 | discovered. See L<perlre>. |
15253 | 16518 | |
15254 | 16519 | =end original |
15255 | 16520 | |
15256 | 16521 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
15257 | 16522 | L<perlre> を参照してください。 |
15258 | 16523 | |
15259 | 16524 | =item Useless localization of %s |
15260 | 16525 | |
15261 | 16526 | =begin original |
15262 | 16527 | |
15263 | 16528 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, |
15264 | 16529 | but in fact the local() currently has no effect. This may change at |
15265 | 16530 | some point in the future, but in the meantime such code is discouraged. |
15266 | 16531 | |
15267 | 16532 | =end original |
15268 | 16533 | |
15269 | 16534 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 |
15270 | 16535 | 実際のところ local() は現在のところ何の効果もありません。 |
15271 | 16536 | これは将来変更されるかもしれませんが、今のところはこのようなコードは |
15272 | 16537 | 勧められません。 |
15273 | 16538 | |
15274 | 16539 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in |
15275 | 16540 | m/%s/ |
15276 | 16541 | |
15277 | 16542 | =begin original |
15278 | 16543 | |
15279 | 16544 | (W regexp) You have used an internal modifier such as (?o) that has no |
15280 | 16545 | meaning unless applied to the entire regexp: |
15281 | 16546 | |
15282 | 16547 | =end original |
15283 | 16548 | |
15284 | 16549 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ |
15285 | 16550 | 意味がありません: |
15286 | 16551 | |
15287 | 16552 | if ($string =~ /(?o)$pattern/) { ... } |
15288 | 16553 | |
15289 | 16554 | =begin original |
15290 | 16555 | |
15291 | 16556 | must be written as |
15292 | 16557 | |
15293 | 16558 | =end original |
15294 | 16559 | |
15295 | 16560 | これは以下のように書かなければなりません: |
15296 | 16561 | |
15297 | 16562 | if ($string =~ /$pattern/o) { ... } |
15298 | 16563 | |
15299 | 16564 | =begin original |
15300 | 16565 | |
15301 | 16566 | The S<<-- HERE> shows whereabouts in the regular expression the problem was |
15302 | 16567 | discovered. See L<perlre>. |
15303 | 16568 | |
15304 | 16569 | =end original |
15305 | 16570 | |
15306 | 16571 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
15307 | 16572 | L<perlre> を参照してください。 |
15308 | 16573 | |
15309 | 16574 | =item Useless use of attribute "const" |
15310 | 16575 | |
15311 | 16576 | =begin original |
15312 | 16577 | |
15313 | (W misc) The | |
16578 | (W misc) The C<const> attribute has no effect except | |
15314 | 16579 | on anonymous closure prototypes. You applied it to |
15315 | 16580 | a subroutine via L<attributes.pm|attributes>. This is only useful |
15316 | 16581 | inside an attribute handler for an anonymous subroutine. |
15317 | 16582 | |
15318 | 16583 | =end original |
15319 | 16584 | |
15320 | (W misc) | |
16585 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
15321 | 16586 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 |
15322 | 16587 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 |
15323 | 16588 | |
15324 | 16589 | =item Useless use of /d modifier in transliteration operator |
15325 | 16590 | |
15326 | 16591 | =begin original |
15327 | 16592 | |
15328 | 16593 | (W misc) You have used the /d modifier where the searchlist has the |
15329 | 16594 | same length as the replacelist. See L<perlop> for more information |
15330 | 16595 | about the /d modifier. |
15331 | 16596 | |
15332 | 16597 | =end original |
15333 | 16598 | |
15334 | 16599 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 |
15335 | 16600 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 |
15336 | 16601 | |
15337 | 16602 | =item Useless use of \E |
15338 | 16603 | |
15339 | 16604 | =begin original |
15340 | 16605 | |
15341 | 16606 | (W misc) You have a \E in a double-quotish string without a C<\U>, |
15342 | 16607 | C<\L> or C<\Q> preceding it. |
15343 | 16608 | |
15344 | 16609 | =end original |
15345 | 16610 | |
15346 | 16611 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく |
15347 | 16612 | \E を書きました。 |
15348 | 16613 | |
15349 | 16614 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ |
15350 | 16615 | |
15351 | 16616 | =begin original |
15352 | 16617 | |
15353 | 16618 | (W regexp) You specified something like these: |
15354 | 16619 | |
15355 | 16620 | =end original |
15356 | 16621 | |
15357 | 16622 | (W regexp) 次のようなものを指定しました: |
15358 | 16623 | |
15359 | 16624 | qr/a{3}?/ |
15360 | 16625 | qr/b{1,1}+/ |
15361 | 16626 | |
15362 | 16627 | =begin original |
15363 | 16628 | |
15364 | 16629 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to |
15365 | 16630 | match more or fewer when there is a choice, and by specifying to match |
15366 | 16631 | exactly a given numer, there is no room left for a choice. |
15367 | 16632 | |
15368 | 16633 | =end original |
15369 | 16634 | |
15370 | 16635 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に |
15371 | 16636 | より多くまたは少なく変更します。 |
15372 | 16637 | そして指定された数に正確にマッチングすることを指定されているので、 |
15373 | 16638 | 選択の余地はありません。 |
15374 | 16639 | |
15375 | 16640 | =item Useless use of %s in void context |
15376 | 16641 | |
15377 | 16642 | =begin original |
15378 | 16643 | |
15379 | 16644 | (W void) You did something without a side effect in a context that does |
15380 | 16645 | nothing with the return value, such as a statement that doesn't return a |
15381 | 16646 | value from a block, or the left side of a scalar comma operator. Very |
15382 | 16647 | often this points not to stupidity on your part, but a failure of Perl |
15383 | 16648 | to parse your program the way you thought it would. For example, you'd |
15384 | 16649 | get this if you mixed up your C precedence with Python precedence and |
15385 | 16650 | said |
15386 | 16651 | |
15387 | 16652 | =end original |
15388 | 16653 | |
15389 | 16654 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
15390 | 16655 | 返却値の無い文脈で、副作用のないことを行ないました。 |
15391 | 16656 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
15392 | 16657 | 意向を汲み取った解釈ができないことで起こります。 |
15393 | 16658 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
15394 | 16659 | 以下のようにした場合です: |
15395 | 16660 | |
15396 | 16661 | $one, $two = 1, 2; |
15397 | 16662 | |
15398 | 16663 | =begin original |
15399 | 16664 | |
15400 | 16665 | when you meant to say |
15401 | 16666 | |
15402 | 16667 | =end original |
15403 | 16668 | |
15404 | 16669 | 以下のようにするべきです。 |
15405 | 16670 | |
15406 | 16671 | ($one, $two) = (1, 2); |
15407 | 16672 | |
15408 | 16673 | =begin original |
15409 | 16674 | |
15410 | 16675 | Another common error is to use ordinary parentheses to construct a list |
15411 | 16676 | reference when you should be using square or curly brackets, for |
15412 | 16677 | example, if you say |
15413 | 16678 | |
15414 | 16679 | =end original |
15415 | 16680 | |
15416 | 16681 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを |
15417 | 16682 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた |
15418 | 16683 | 場合です: |
15419 | 16684 | |
15420 | 16685 | $array = (1,2); |
15421 | 16686 | |
15422 | 16687 | =begin original |
15423 | 16688 | |
15424 | 16689 | when you should have said |
15425 | 16690 | |
15426 | 16691 | =end original |
15427 | 16692 | |
15428 | 16693 | 以下のように書くべきです: |
15429 | 16694 | |
15430 | 16695 | $array = [1,2]; |
15431 | 16696 | |
15432 | 16697 | =begin original |
15433 | 16698 | |
15434 | 16699 | The square brackets explicitly turn a list value into a scalar value, |
15435 | 16700 | while parentheses do not. So when a parenthesized list is evaluated in |
15436 | 16701 | a scalar context, the comma is treated like C's comma operator, which |
15437 | 16702 | throws away the left argument, which is not what you want. See |
15438 | 16703 | L<perlref> for more on this. |
15439 | 16704 | |
15440 | 16705 | =end original |
15441 | 16706 | |
15442 | 16707 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
15443 | 16708 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
15444 | 16709 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
15445 | 16710 | これは望んでいることではないでしょう。 |
15446 | 16711 | これに関するさらなる情報については L<perlref> を参照してください。 |
15447 | 16712 | |
15448 | 16713 | =begin original |
15449 | 16714 | |
15450 | 16715 | This warning will not be issued for numerical constants equal to 0 or 1 |
15451 | 16716 | since they are often used in statements like |
15452 | 16717 | |
15453 | 16718 | =end original |
15454 | 16719 | |
15455 | 16720 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 |
15456 | 16721 | しばしば以下のような文で使われるからです: |
15457 | 16722 | |
15458 | 16723 | 1 while sub_with_side_effects(); |
15459 | 16724 | |
15460 | 16725 | =begin original |
15461 | 16726 | |
15462 | 16727 | String constants that would normally evaluate to 0 or 1 are warned |
15463 | 16728 | about. |
15464 | 16729 | |
15465 | 16730 | =end original |
15466 | 16731 | |
15467 | 16732 | 通常 0 か 1 に評価される文字列定数は警告されます。 |
15468 | 16733 | |
15469 | 16734 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ |
15470 | 16735 | |
15471 | 16736 | =begin original |
15472 | 16737 | |
15473 | 16738 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do |
15474 | 16739 | so is futile. |
15475 | 16740 | |
15476 | 16741 | =end original |
15477 | 16742 | |
15478 | 16743 | (W regexp) |
15479 | 16744 | C<p> 修飾子は、一度設定したものをオフにはできません。 |
15480 | 16745 | そうしようとしても無効です。 |
15481 | 16746 | |
15482 | 16747 | =item Useless use of "re" pragma |
15483 | 16748 | |
15484 | 16749 | =begin original |
15485 | 16750 | |
15486 | 16751 | (W) You did C<use re;> without any arguments. That isn't very useful. |
15487 | 16752 | |
15488 | 16753 | =end original |
15489 | 16754 | |
15490 | 16755 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
15491 | 16756 | |
15492 | 16757 | =item Useless use of sort in scalar context |
15493 | 16758 | |
15494 | 16759 | =begin original |
15495 | 16760 | |
15496 | 16761 | (W void) You used sort in scalar context, as in : |
15497 | 16762 | |
15498 | 16763 | =end original |
15499 | 16764 | |
15500 | 16765 | (W void) こんな風に、ソートをスカラコンテキストで使いました: |
15501 | 16766 | |
15502 | 16767 | my $x = sort @y; |
15503 | 16768 | |
15504 | 16769 | =begin original |
15505 | 16770 | |
15506 | 16771 | This is not very useful, and perl currently optimizes this away. |
15507 | 16772 | |
15508 | 16773 | =end original |
15509 | 16774 | |
15510 | 16775 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 |
15511 | 16776 | |
15512 | 16777 | =item Useless use of %s with no values |
15513 | 16778 | |
15514 | 16779 | =begin original |
15515 | 16780 | |
15516 | 16781 | (W syntax) You used the push() or unshift() function with no arguments |
15517 | 16782 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't |
15518 | 16783 | usually have any effect on the array, so is completely useless. It's |
15519 | 16784 | possible in principle that push(@tied_array) could have some effect |
15520 | 16785 | if the array is tied to a class which implements a PUSH method. If so, |
15521 | 16786 | you can write it as C<push(@tied_array,())> to avoid this warning. |
15522 | 16787 | |
15523 | 16788 | =end original |
15524 | 16789 | |
15525 | 16790 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や |
15526 | 16791 | unshift() 関数を、配列以外の引数なしで使いました。 |
15527 | 16792 | これは普通は配列に何の影響も与えないので、完全に無意味です。 |
15528 | 16793 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては |
15529 | 16794 | push(@tied_array) が何らかの効果を持つ可能性はあります。 |
15530 | 16795 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を |
15531 | 16796 | 回避できます。 |
15532 | 16797 | |
15533 | 16798 | =item "use" not allowed in expression |
15534 | 16799 | |
15535 | 16800 | =begin original |
15536 | 16801 | |
15537 | 16802 | (F) The "use" keyword is recognized and executed at compile time, and |
15538 | 16803 | returns no useful value. See L<perlmod>. |
15539 | 16804 | |
15540 | 16805 | =end original |
15541 | 16806 | |
15542 | 16807 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
15543 | 16808 | 意味のある値を返しません。 |
15544 | 16809 | L<perlmod> を参照してください。 |
15545 | 16810 | |
15546 | =item Use of a | |
16811 | =item Use of bare << to mean <<"" is forbidden | |
15547 | 16812 | |
15548 | 16813 | =begin original |
15549 | 16814 | |
15550 | ( | |
16815 | (F) You are now required to use the explicitly quoted form if you wish | |
15551 | ||
16816 | to use an empty line as the terminator of the here-document. | |
15552 | 16817 | |
15553 | 16818 | =end original |
15554 | 16819 | |
15555 | ( | |
16820 | (F) ヒアドキュメントの終端子として空行を使いたいときには、明示的に | |
15556 | ||
16821 | クォートされた形を使うことが必要になりました。 | |
15557 | 16822 | |
15558 | =item Use of bare << to mean <<"" is deprecated | |
15559 | ||
15560 | 16823 | =begin original |
15561 | 16824 | |
15562 | ||
16825 | Use of a bare terminator was deprecated in Perl 5.000, and is a fatal | |
15563 | ||
16826 | error as of Perl 5.28. | |
15564 | here-document. | |
15565 | 16827 | |
15566 | 16828 | =end original |
15567 | 16829 | |
15568 | ||
16830 | 裸の終端子は Perl 5.000 で廃止予定になっていて、 | |
15569 | ||
16831 | Perl 5.28 から致命的エラーです。 | |
15570 | 16832 | |
15571 | =item Use of \b{} for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
15572 | ||
15573 | =begin original | |
15574 | ||
15575 | (W locale) You are matching a regular expression using locale rules, | |
15576 | and a Unicode boundary is being matched, but the locale is not a Unicode | |
15577 | one. This doesn't make sense. Perl will continue, assuming a Unicode | |
15578 | (UTF-8) locale, but the results could well be wrong except if the locale | |
15579 | happens to be ISO-8859-1 (Latin1) where this message is spurious and can | |
15580 | be ignored. | |
15581 | ||
15582 | =end original | |
15583 | ||
15584 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
15585 | Unicode 境界がマッチングしましたが、 | |
15586 | ロケールは Unicode のものではありませんでした。 | |
15587 | これは意味がありません。 | |
15588 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
15589 | ロケールがたまたま ISO-8859-1 (Latin1) の場合 (このメッセージは誤っていて | |
15590 | 無視できます) を除いて結果は間違ったものになります。 | |
15591 | ||
15592 | =item Use of chdir('') or chdir(undef) as chdir() deprecated | |
15593 | ||
15594 | =begin original | |
15595 | ||
15596 | (D deprecated) chdir() with no arguments is documented to change to | |
15597 | $ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this | |
15598 | behavior, but that has been deprecated. In future versions they | |
15599 | will simply fail. | |
15600 | ||
15601 | =end original | |
15602 | ||
15603 | (D deprecated) 引数なしの chdir() は、$ENV{HOME} か $ENV{LOGDIR} に | |
15604 | 変更すると文書化されています。 | |
15605 | chdir(undef) と chdir('') も同じふるまいをしますが、これは非推奨です。 | |
15606 | 将来のバージョンでは単に失敗するでしょう。 | |
15607 | ||
15608 | =begin original | |
15609 | ||
15610 | Be careful to check that what you pass to chdir() is defined and not | |
15611 | blank, else you might find yourself in your home directory. | |
15612 | ||
15613 | =end original | |
15614 | ||
15615 | chdir() に渡すものが定義されていて、空白ではないことをチェックするように | |
15616 | 注意してください; さもないとホームディレクトリに | |
15617 | 移動してしまうかもしれません。 | |
15618 | ||
15619 | 16833 | =item Use of /c modifier is meaningless in s/// |
15620 | 16834 | |
15621 | 16835 | =begin original |
15622 | 16836 | |
15623 | 16837 | (W regexp) You used the /c modifier in a substitution. The /c |
15624 | 16838 | modifier is not presently meaningful in substitutions. |
15625 | 16839 | |
15626 | 16840 | =end original |
15627 | 16841 | |
15628 | 16842 | (W regexp) 置換で /c 修飾子を使いました。 |
15629 | 16843 | /c は置換では現在のところ無意味です。 |
15630 | 16844 | |
15631 | 16845 | =item Use of /c modifier is meaningless without /g |
15632 | 16846 | |
15633 | 16847 | =begin original |
15634 | 16848 | |
15635 | 16849 | (W regexp) You used the /c modifier with a regex operand, but didn't |
15636 | 16850 | use the /g modifier. Currently, /c is meaningful only when /g is |
15637 | 16851 | used. (This may change in the future.) |
15638 | 16852 | |
15639 | 16853 | =end original |
15640 | 16854 | |
15641 | 16855 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は |
15642 | 16856 | 使いませんでした。 |
15643 | 16857 | 現在のところ、/c は /g が使われたときにのみ有効です。 |
15644 | 16858 | (これは将来変更されるかもしれません。) |
15645 | 16859 | |
15646 | =item Use of co | |
16860 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
15647 | 16861 | |
16862 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
16863 | in regex; marked by <-- HERE in m/%s/ | |
16864 | ||
15648 | 16865 | =begin original |
15649 | 16866 | |
15650 | ( | |
16867 | (F) You used a code point that is not allowed, because it is too large. | |
15651 | ||
16868 | Unicode only allows code points up to 0x10FFFF, but Perl allows much | |
16869 | larger ones. Earlier versions of Perl allowed code points above IV_MAX | |
16870 | (0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms), | |
16871 | however, this could possibly break the perl interpreter in some constructs, | |
16872 | including causing it to hang in a few cases. | |
15652 | 16873 | |
15653 | 16874 | =end original |
15654 | 16875 | |
15655 | ( | |
16876 | (F) 大きすぎるので許されない符号位置を使いました。 | |
15656 | ||
16877 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 | |
16878 | Perl は遙かに大きいものを許します。 | |
16879 | 以前のバージョンの Perl は | |
16880 | IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは | |
16881 | 0x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、 | |
16882 | これは一部の構文で perl インタプリタを壊すことがあり、 | |
16883 | 場合によってはハングアップすることがありました。 | |
15657 | 16884 | |
16885 | =begin original | |
16886 | ||
16887 | If your code is to run on various platforms, keep in mind that the upper | |
16888 | limit depends on the platform. It is much larger on 64-bit word sizes | |
16889 | than 32-bit ones. | |
16890 | ||
16891 | =end original | |
16892 | ||
16893 | コードが様々なプラットフォームで実行するためのものなら、 | |
16894 | 上限がプラットフォームに依存していることを心に留めておいてください。 | |
16895 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 | |
16896 | ||
16897 | =begin original | |
16898 | ||
16899 | The use of out of range code points was deprecated in Perl 5.24, and | |
16900 | became a fatal error in Perl 5.28. | |
16901 | ||
16902 | =end original | |
16903 | ||
16904 | 範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、 | |
16905 | Perl 5.28 で致命的エラーになりました。 | |
16906 | ||
15658 | 16907 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior |
15659 | 16908 | |
15660 | 16909 | =begin original |
15661 | 16910 | |
15662 | 16911 | (S internal) The behavior of C<each()> after insertion is undefined; |
15663 | 16912 | it may skip items, or visit items more than once. Consider using |
15664 | 16913 | C<keys()> instead of C<each()>. |
15665 | 16914 | |
15666 | 16915 | =end original |
15667 | 16916 | |
15668 | 16917 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを |
15669 | 16918 | 読み飛ばしたり、複数回読んだりします。 |
15670 | 16919 | C<each()> の代わりに C<keys()> を使うことを検討してください。 |
15671 | 16920 | |
15672 | 16921 | =item Use of := for an empty attribute list is not allowed |
15673 | 16922 | |
15674 | 16923 | =begin original |
15675 | 16924 | |
15676 | 16925 | (F) The construction C<my $x := 42> used to parse as equivalent to |
15677 | 16926 | C<my $x : = 42> (applying an empty attribute list to C<$x>). |
15678 | 16927 | This construct was deprecated in 5.12.0, and has now been made a syntax |
15679 | 16928 | error, so C<:=> can be reclaimed as a new operator in the future. |
15680 | 16929 | |
15681 | 16930 | =end original |
15682 | 16931 | |
15683 | 16932 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました |
15684 | 16933 | (C<$x> に空の属性リストを適用する)。 |
15685 | 16934 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 |
15686 | 16935 | C<:=> は将来新しい演算子として再利用できます。 |
15687 | 16936 | |
15688 | 16937 | =begin original |
15689 | 16938 | |
15690 | 16939 | If you need an empty attribute list, for example in a code generator, add |
15691 | 16940 | a space before the C<=>. |
15692 | 16941 | |
15693 | 16942 | =end original |
15694 | 16943 | |
15695 | 16944 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に |
15696 | 16945 | スペースを加えてください。 |
15697 | 16946 | |
16947 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
16948 | ||
16949 | =begin original | |
16950 | ||
16951 | (W locale) You are matching a regular expression using locale rules, | |
16952 | and the specified construct was encountered. This construct is only | |
16953 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
16954 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
16955 | the results are likely to be wrong. | |
16956 | ||
16957 | =end original | |
16958 | ||
16959 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
16960 | 指定した構文が出現しました。 | |
16961 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
16962 | これは意味がありません。 | |
16963 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
16964 | 結果はおそらく間違ったものです。 | |
16965 | ||
15698 | 16966 | =item Use of freed value in iteration |
15699 | 16967 | |
15700 | 16968 | =begin original |
15701 | 16969 | |
15702 | 16970 | (F) Perhaps you modified the iterated array within the loop? |
15703 | 16971 | This error is typically caused by code like the following: |
15704 | 16972 | |
15705 | 16973 | =end original |
15706 | 16974 | |
15707 | 16975 | (F) おそらくループの中で反復される配列を変更したのでは? |
15708 | 16976 | このエラーは典型的には以下のようなコードで発生します: |
15709 | 16977 | |
15710 | 16978 | @a = (3,4); |
15711 | 16979 | @a = () for (1,2,@a); |
15712 | 16980 | |
15713 | 16981 | =begin original |
15714 | 16982 | |
15715 | 16983 | You are not supposed to modify arrays while they are being iterated over. |
15716 | 16984 | For speed and efficiency reasons, Perl internally does not do full |
15717 | 16985 | reference-counting of iterated items, hence deleting such an item in the |
15718 | 16986 | middle of an iteration causes Perl to see a freed value. |
15719 | 16987 | |
15720 | 16988 | =end original |
15721 | 16989 | |
15722 | 16990 | 反復中の配列は変更してはいけないことになっています。 |
15723 | 16991 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを |
15724 | 16992 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は |
15725 | 16993 | 解放された値を見ることになります。 |
15726 | 16994 | |
15727 | =item Use of *glob{FILEHANDLE} is deprecated | |
15728 | ||
15729 | =begin original | |
15730 | ||
15731 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form | |
15732 | to access the filehandle slot within a typeglob. | |
15733 | ||
15734 | =end original | |
15735 | ||
15736 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 | |
15737 | より短い *glob{IO} の形を使うことを推奨されています。 | |
15738 | ||
15739 | 16995 | =item Use of /g modifier is meaningless in split |
15740 | 16996 | |
15741 | 16997 | =begin original |
15742 | 16998 | |
15743 | 16999 | (W regexp) You used the /g modifier on the pattern for a C<split> |
15744 | 17000 | operator. Since C<split> always tries to match the pattern |
15745 | 17001 | repeatedly, the C</g> has no effect. |
15746 | 17002 | |
15747 | 17003 | =end original |
15748 | 17004 | |
15749 | 17005 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 |
15750 | 17006 | C<split> は常にパターンを繰り返しマッチングしようとするので、 |
15751 | 17007 | C</g> は効果がありません。 |
15752 | 17008 | |
15753 | 17009 | =item Use of "goto" to jump into a construct is deprecated |
15754 | 17010 | |
15755 | 17011 | =begin original |
15756 | 17012 | |
15757 | 17013 | (D deprecated) Using C<goto> to jump from an outer scope into an inner |
15758 | 17014 | scope is deprecated and should be avoided. |
15759 | 17015 | |
15760 | 17016 | =end original |
15761 | 17017 | |
15762 | 17018 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を |
15763 | 17019 | 使うことは廃止予定であり、避けるべきです。 |
15764 | 17020 | |
15765 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated | |
15766 | ||
15767 | 17021 | =begin original |
15768 | 17022 | |
15769 | ||
17023 | This was deprecated in Perl 5.12. | |
15770 | subroutines are looked up as methods (using the C<@ISA> hierarchy) | |
15771 | even when the subroutines to be autoloaded were called as plain | |
15772 | functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or | |
15773 | C<< $obj->bar() >>). | |
15774 | 17024 | |
15775 | 17025 | =end original |
15776 | 17026 | |
15777 | ||
17027 | これは Perl 5.12 で廃止予定になりました。 | |
15778 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
15779 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
15780 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
15781 | 17028 | |
17029 | =item Use of '%s' in \p{} or \P{} is deprecated because: %s | |
17030 | ||
15782 | 17031 | =begin original |
15783 | 17032 | |
15784 | ||
17033 | (D deprecated) Certain properties are deprecated by Unicode, and may | |
15785 | ||
17034 | eventually be removed from the Standard, at which time Perl will follow | |
15786 | ||
17035 | along. In the meantime, this message is raised to notify you. | |
15787 | currently issues an optional warning when non-methods use inherited | |
15788 | C<AUTOLOAD>s. | |
15789 | 17036 | |
15790 | 17037 | =end original |
15791 | 17038 | |
15792 | ||
17039 | (D deprecated) 一部の特性は Unicode によって廃止予定とされており、 | |
15793 | ||
17040 | 最終的に標準から削除されるかもしれません; その時点で Perl も追随します。 | |
15794 | ||
17041 | 今のところは、通知のためにこのメッセージが発生します。 | |
15795 | それで、暫定的なステップとして、Perl は現在のところは、 | |
15796 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
15797 | 発生させます。 | |
15798 | 17042 | |
17043 | =item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed | |
17044 | ||
15799 | 17045 | =begin original |
15800 | 17046 | |
15801 | ||
17047 | (F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as | |
15802 | ||
17048 | methods (using the C<@ISA> hierarchy), even when the subroutines to be | |
15803 | to | |
17049 | autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as | |
15804 | ||
17050 | methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>). | |
15805 | startup. | |
15806 | 17051 | |
15807 | 17052 | =end original |
15808 | 17053 | |
15809 | ||
17054 | (F) 偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
15810 | ||
17055 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
15811 | ||
17056 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
15812 | ||
17057 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索していました。 | |
15813 | 17058 | |
15814 | 17059 | =begin original |
15815 | 17060 | |
15816 | ||
17061 | This was deprecated in Perl 5.004, and was made fatal in Perl 5.28. | |
15817 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to | |
15818 | C<use AutoLoader 'AUTOLOAD';>. | |
15819 | 17062 | |
15820 | 17063 | =end original |
15821 | 17064 | |
15822 | ||
17065 | この機能は Perl 5.004 で廃止予定になり、Perl 5.28 で致命的エラーになりました。 | |
15823 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を | |
15824 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 | |
15825 | 17066 | |
15826 | 17067 | =item Use of %s in printf format not supported |
15827 | 17068 | |
15828 | 17069 | =begin original |
15829 | 17070 | |
15830 | 17071 | (F) You attempted to use a feature of printf that is accessible from |
15831 | 17072 | only C. This usually means there's a better way to do it in Perl. |
15832 | 17073 | |
15833 | 17074 | =end original |
15834 | 17075 | |
15835 | 17076 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
15836 | 17077 | これは普通 Perl で行うより良い方法があります。 |
15837 | 17078 | |
15838 | =item Use of %s is depreca | |
17079 | =item Use of %s is not allowed in Unicode property wildcard | |
17080 | subpatterns in regex; marked by S<<-- HERE> in m/%s/ | |
15839 | 17081 | |
15840 | 17082 | =begin original |
15841 | 17083 | |
15842 | ( | |
17084 | (F) You were using a wildcard subpattern a Unicode property value, and | |
15843 | ||
17085 | the subpattern contained something that is illegal. Not all regular | |
15844 | ol | |
17086 | expression capabilities are legal in such subpatterns, and this is one. | |
17087 | Rewrite your subppattern to not use the offending construct. | |
17088 | See L<perlunicode/Wildcards in Property Values>. | |
15845 | 17089 | |
15846 | 17090 | =end original |
15847 | 17091 | |
15848 | ( | |
17092 | (F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か | |
15849 | も | |
17093 | 不正なものが含まれていました。 | |
17094 | このような部分パターンでは全ての正規表現機能が正当というわけではなく、 | |
17095 | これはその一つです。 | |
17096 | 問題となっている構文を使わないように部分パターンを書き換えてください。 | |
17097 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
15850 | 17098 | |
15851 | =item Use of literal control characters in variable names is deprecated | |
15852 | ||
15853 | =item Use of literal non-graphic characters in variable names is deprecated | |
15854 | ||
15855 | =begin original | |
15856 | ||
15857 | (D deprecated) Using literal non-graphic (including control) | |
15858 | characters in the source to refer to the ^FOO variables, like C<$^X> and | |
15859 | C<${^GLOBAL_PHASE}> is now deprecated. (We use C<^X> and C<^G> here for | |
15860 | legibility. They actually represent the non-printable control | |
15861 | characters, code points 0x18 and 0x07, respectively; C<^A> would mean | |
15862 | the control character whose code point is 0x01.) This only affects | |
15863 | code like C<$\cT>, where C<\cT> is a control in the source code; C<${"\cT"}> and | |
15864 | C<$^T> remain valid. Things that are non-controls and also not graphic | |
15865 | are NO-BREAK SPACE and SOFT HYPHEN, which were previously only allowed | |
15866 | for historical reasons. | |
15867 | ||
15868 | =end original | |
15869 | ||
15870 | (D deprecated) C<$^X> や C<${^GLOBAL_PHASE}> のような ^FOO 変数を | |
15871 | 参照するためにソース中にリテラルな (制御文字を含む) 非表示文字を使うのは | |
15872 | 廃止予定になりました。 | |
15873 | (ここでは読みやすさのために C<^X> や C<^G> を使っています。 | |
15874 | これらは実際には非表示制御文字の符号位置 | |
15875 | 0x18 と 0x07 です; C<^A> は符号位置 0x01 の制御文字を意味します。) | |
15876 | これは C<$\cT> のようなコードにのみ影響します; | |
15877 | ここで C<\cT> はソースコード中の制御文字です; | |
15878 | C<${"\cT"}> や C<$^T> は正当なままです。 | |
15879 | 非制御文字かつ非表示文字は NO-BREAK SPACE と SOFT HYPHEN です; | |
15880 | これらだけは歴史的な理由で許されていました。 | |
15881 | ||
15882 | 17099 | =item Use of -l on filehandle%s |
15883 | 17100 | |
15884 | 17101 | =begin original |
15885 | 17102 | |
15886 | 17103 | (W io) A filehandle represents an opened file, and when you opened the file |
15887 | 17104 | it already went past any symlink you are presumably trying to look for. |
15888 | 17105 | The operation returned C<undef>. Use a filename instead. |
15889 | 17106 | |
15890 | 17107 | =end original |
15891 | 17108 | |
15892 | 17109 | (F) ファイルはオープンされたファイルを表わすものであり、 |
15893 | 17110 | ファイルをオープンしたときには、探しているシンボリックリンクは、 |
15894 | 17111 | 既に通り過ぎた後です。 |
15895 | 17112 | この操作は C<undef> を返します。 |
15896 | 17113 | 代わりにファイル名を使ってください。 |
15897 | 17114 | |
15898 | =item Use of my $_ is experimental | |
15899 | ||
15900 | =begin original | |
15901 | ||
15902 | (S experimental::lexical_topic) Lexical $_ is an experimental feature and | |
15903 | its behavior may change or even be removed in any future release of perl. | |
15904 | See the explanation under L<perlvar/$_>. | |
15905 | ||
15906 | =end original | |
15907 | ||
15908 | (S experimental::lexical_topic) レキシカルな $_ は実験的機能で、その振る舞いは | |
15909 | 将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
15910 | L<perlvar/$_> の説明を参照してください。 | |
15911 | ||
15912 | =item Use of %s on a handle without * is deprecated | |
15913 | ||
15914 | =begin original | |
15915 | ||
15916 | (D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that scalar | |
15917 | happens to hold a typeglob, which means its filehandle will be tied. If | |
15918 | you mean to tie a handle, use an explicit * as in C<tie *$handle>. | |
15919 | ||
15920 | =end original | |
15921 | ||
15922 | (D deprecated) スカラに対して C<tie>, C<tied>, C<untie> を使いましたが、 | |
15923 | スカラは型グロブを保持していて、そのファイルハンドルが tie されていることを | |
15924 | 意味します。 | |
15925 | ハンドルを tie することを意味しているなら、C<tie *$handle> のように | |
15926 | 明示的に * を使ってください。 | |
15927 | ||
15928 | =begin original | |
15929 | ||
15930 | This was a long-standing bug that was removed in Perl 5.16, as there was | |
15931 | no way to tie the scalar itself when it held a typeglob, and no way to | |
15932 | untie a scalar that had had a typeglob assigned to it. If you see this | |
15933 | message, you must be using an older version. | |
15934 | ||
15935 | =end original | |
15936 | ||
15937 | これは Perl 5.16 で取り除かれた長年残っていたバグで、 | |
15938 | 型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが | |
15939 | 代入されているスカラを untie する方法がないというものでした。 | |
15940 | このメッセージを見たなら、古いバージョンを使わなければなりません。 | |
15941 | ||
15942 | 17115 | =item Use of reference "%s" as array index |
15943 | 17116 | |
15944 | 17117 | =begin original |
15945 | 17118 | |
15946 | 17119 | (W misc) You tried to use a reference as an array index; this probably |
15947 | 17120 | isn't what you mean, because references in numerical context tend |
15948 | 17121 | to be huge numbers, and so usually indicates programmer error. |
15949 | 17122 | |
15950 | 17123 | =end original |
15951 | 17124 | |
15952 | 17125 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく |
15953 | 17126 | 望んでいることではないでしょう; なぜなら数値コンテキストでの |
15954 | 17127 | リファレンスはとても大きな数になることが多いので、普通はプログラマの |
15955 | 17128 | ミスを意味しています。 |
15956 | 17129 | |
15957 | 17130 | =begin original |
15958 | 17131 | |
15959 | 17132 | If you really do mean it, explicitly numify your reference, like so: |
15960 | 17133 | C<$array[0+$ref]>. This warning is not given for overloaded objects, |
15961 | 17134 | however, because you can overload the numification and stringification |
15962 | 17135 | operators and then you presumably know what you are doing. |
15963 | 17136 | |
15964 | 17137 | =end original |
15965 | 17138 | |
15966 | 17139 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に |
15967 | 17140 | 数値化してください。 |
15968 | 17141 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; |
15969 | 17142 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると |
15970 | 17143 | 仮定できるからです。 |
15971 | 17144 | |
15972 | =item Use of st | |
17145 | =item Use of strings with code points over 0xFF as arguments to %s | |
17146 | operator is not allowed | |
15973 | 17147 | |
15974 | 17148 | =begin original |
15975 | 17149 | |
15976 | ( | |
17150 | (F) You tried to use one of the string bitwise operators (C<&> or C<|> or C<^> or | |
15977 | ||
17151 | C<~>) on a string containing a code point over 0xFF. The string bitwise | |
15978 | ||
17152 | operators treat their operands as strings of bytes, and values beyond | |
17153 | 0xFF are nonsensical in this context. | |
15979 | 17154 | |
15980 | 17155 | =end original |
15981 | 17156 | |
15982 | ( | |
17157 | (F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを | |
15983 | ||
17158 | 0xFF を超える符号位置を含む文字列に使おうとしました。 | |
15984 | ||
17159 | ビット単位文字列演算子はオペランドをバイト文字列として扱い、 | |
17160 | 0xFF を超える値はこの文脈では無意味です。 | |
15985 | 17161 | |
17162 | =begin original | |
17163 | ||
17164 | Certain instances became fatal in Perl 5.28; others in perl 5.32. | |
17165 | ||
17166 | =end original | |
17167 | ||
17168 | 一部は Perl 5.28 で致命的エラーになりました; 残りは perl 5.32 です。 | |
17169 | ||
17170 | =item Use of strings with code points over 0xFF as arguments to vec is forbidden | |
17171 | ||
17172 | =begin original | |
17173 | ||
17174 | (F) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> | |
17175 | on a string containing a code point over 0xFF, which is nonsensical here. | |
17176 | ||
17177 | =end original | |
17178 | ||
17179 | (F) 0xFF を超える符号位置を含む文字列に対して | |
17180 | L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました; | |
17181 | これはここでは意味がありません。 | |
17182 | ||
17183 | =begin original | |
17184 | ||
17185 | This became fatal in Perl 5.32. | |
17186 | ||
17187 | =end original | |
17188 | ||
17189 | これは Perl 5.32 で致命的エラーになりました。 | |
17190 | ||
15986 | 17191 | =item Use of tainted arguments in %s is deprecated |
15987 | 17192 | |
15988 | 17193 | =begin original |
15989 | 17194 | |
15990 | 17195 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple |
15991 | 17196 | arguments and at least one of them is tainted. This used to be allowed |
15992 | 17197 | but will become a fatal error in a future version of perl. Untaint your |
15993 | 17198 | arguments. See L<perlsec>. |
15994 | 17199 | |
15995 | 17200 | =end original |
15996 | 17201 | |
15997 | 17202 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 |
15998 | 17203 | そのうち少なくとも一つが汚染されています。 |
15999 | 17204 | これは許されていましたが、将来のバージョンの perl では致命的エラーに |
16000 | 17205 | なるでしょう。 |
16001 | 17206 | 引数を浄化してください。 |
16002 | 17207 | L<perlsec> を参照してください。 |
16003 | 17208 | |
17209 | =item Use of unassigned code point or non-standalone grapheme for a | |
17210 | delimiter is not allowed | |
17211 | ||
17212 | =begin original | |
17213 | ||
17214 | (F) | |
17215 | A grapheme is what appears to a native-speaker of a language to be a | |
17216 | character. In Unicode (and hence Perl) a grapheme may actually be | |
17217 | several adjacent characters that together form a complete grapheme. For | |
17218 | example, there can be a base character, like "R" and an accent, like a | |
17219 | circumflex "^", that appear when displayed to be a single character with | |
17220 | the circumflex hovering over the "R". Perl currently allows things like | |
17221 | that circumflex to be delimiters of strings, patterns, I<etc>. When | |
17222 | displayed, the circumflex would look like it belongs to the character | |
17223 | just to the left of it. In order to move the language to be able to | |
17224 | accept graphemes as delimiters, we cannot allow the use of | |
17225 | delimiters which aren't graphemes by themselves. Also, a delimiter must | |
17226 | already be assigned (or known to be never going to be assigned) to try | |
17227 | to future-proof code, for otherwise code that works today would fail to | |
17228 | compile if the currently unassigned delimiter ends up being something | |
17229 | that isn't a stand-alone grapheme. Because Unicode is never going to | |
17230 | assign | |
17231 | L<non-character code points|perlunicode/Noncharacter code points>, nor | |
17232 | L<code points that are above the legal Unicode maximum| | |
17233 | perlunicode/Beyond Unicode code points>, those can be delimiters, and | |
17234 | their use is legal. | |
17235 | ||
17236 | =end original | |
17237 | ||
17238 | (F) | |
17239 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 | |
17240 | Unicode (従って Perl) では、 | |
17241 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する | |
17242 | 文字かもしれません。 | |
17243 | 例えば、"R" のような基底文字と曲折アクセント "^" のような | |
17244 | アクセントかもしれません; これは表示されるときには | |
17245 | "R" の上に曲折アクセントがある単一の文字となります。 | |
17246 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの | |
17247 | 区切り文字にすることを許しています。 | |
17248 | 表示されるとき、曲折アクセントは、 | |
17249 | そのすぐ左にある文字に付属するかのように見えます。 | |
17250 | 言語が書記素を区切り文字として受けいられられるようにするために、 | |
17251 | それ自体が書記素でない区切り文字の使用は認められません。 | |
17252 | また、区切り文字は将来も動作するコードであり続けるために、 | |
17253 | 既に割り当てられている(または決して割り当てられないと分かっている) | |
17254 | ものでなければなりません; | |
17255 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに | |
17256 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 | |
17257 | Unicode は決して | |
17258 | L<非文字符号位置|perlunicode/Noncharacter code points> や | |
17259 | L<正当な Unicode の最大値より大きな符号位置| | |
17260 | perlunicode/Beyond Unicode code points> を割り当てないので、 | |
17261 | これらは区切り文字になることができ、これらの使用は正当です。 | |
17262 | ||
16004 | 17263 | =item Use of uninitialized value%s |
16005 | 17264 | |
16006 | 17265 | =begin original |
16007 | 17266 | |
16008 | 17267 | (W uninitialized) An undefined value was used as if it were already |
16009 | 17268 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
16010 | 17269 | To suppress this warning assign a defined value to your variables. |
16011 | 17270 | |
16012 | 17271 | =end original |
16013 | 17272 | |
16014 | 17273 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
16015 | 17274 | 使用しました。 |
16016 | 17275 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
16017 | 17276 | この警告を止めるには、変数に定義された値を代入してください。 |
16018 | 17277 | |
16019 | 17278 | =begin original |
16020 | 17279 | |
16021 | 17280 | To help you figure out what was undefined, perl will try to tell you |
16022 | 17281 | the name of the variable (if any) that was undefined. In some cases |
16023 | 17282 | it cannot do this, so it also tells you what operation you used the |
16024 | 17283 | undefined value in. Note, however, that perl optimizes your program |
16025 | 17284 | and the operation displayed in the warning may not necessarily appear |
16026 | 17285 | literally in your program. For example, C<"that $foo"> is usually |
16027 | 17286 | optimized into C<"that " . $foo>, and the warning will refer to the |
16028 | 17287 | C<concatenation (.)> operator, even though there is no C<.> in |
16029 | 17288 | your program. |
16030 | 17289 | |
16031 | 17290 | =end original |
16032 | 17291 | |
16033 | 17292 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である |
16034 | 17293 | 変数名を示します。 |
16035 | 17294 | それができないような場合では、未定義値を使った操作を示します。 |
16036 | 17295 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に |
16037 | 17296 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 |
16038 | 17297 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 |
16039 | 17298 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が |
16040 | 17299 | 出ます。 |
16041 | 17300 | |
16042 | 17301 | =item "use re 'strict'" is experimental |
16043 | 17302 | |
16044 | 17303 | =begin original |
16045 | 17304 | |
16046 | 17305 | (S experimental::re_strict) The things that are different when a regular |
16047 | 17306 | expression pattern is compiled under C<'strict'> are subject to change |
16048 | 17307 | in future Perl releases in incompatible ways. This means that a pattern |
16049 | 17308 | that compiles today may not in a future Perl release. This warning is |
16050 | 17309 | to alert you to that risk. |
16051 | 17310 | |
16052 | 17311 | =end original |
16053 | 17312 | |
16054 | 17313 | (S experimental::re_strict) 正規表現が C<'strict'> の基で |
16055 | 17314 | コンパイルされたときに何が異なるかは、 |
16056 | 17315 | 将来の Perl のリリースで互換性のない形で変更される予定です。 |
16057 | 17316 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは |
16058 | 17317 | 違うかもしれません。 |
16059 | 17318 | この警告はそのリスクを知らせるためのものです。 |
16060 | 17319 | |
16061 | 17320 | =item Use \x{...} for more than two hex characters in regex; marked by |
16062 | 17321 | S<<-- HERE> in m/%s/ |
16063 | 17322 | |
16064 | 17323 | =begin original |
16065 | 17324 | |
16066 | 17325 | (F) In a regular expression, you said something like |
16067 | 17326 | |
16068 | 17327 | =end original |
16069 | 17328 | |
16070 | 17329 | (F) 正規表現で、以下のようなことをしました |
16071 | 17330 | |
16072 | 17331 | (?[ [ \xBEEF ] ]) |
16073 | 17332 | |
16074 | 17333 | =begin original |
16075 | 17334 | |
16076 | 17335 | Perl isn't sure if you meant this |
16077 | 17336 | |
16078 | 17337 | =end original |
16079 | 17338 | |
16080 | 17339 | Perl は、これが以下のものを意味しているのか |
16081 | 17340 | |
16082 | 17341 | (?[ [ \x{BEEF} ] ]) |
16083 | 17342 | |
16084 | 17343 | =begin original |
16085 | 17344 | |
16086 | 17345 | or if you meant this |
16087 | 17346 | |
16088 | 17347 | =end original |
16089 | 17348 | |
16090 | 17349 | それとも次のものかがわかりません。 |
16091 | 17350 | |
16092 | 17351 | (?[ [ \x{BE} E F ] ]) |
16093 | 17352 | |
16094 | 17353 | =begin original |
16095 | 17354 | |
16096 | 17355 | You need to add either braces or blanks to disambiguate. |
16097 | 17356 | |
16098 | 17357 | =end original |
16099 | 17358 | |
16100 | 17359 | 明確にするために大かっこか空白を追加する必要があります。 |
16101 | 17360 | |
16102 | 17361 | =item Using just the first character returned by \N{} in character class in |
16103 | 17362 | regex; marked by S<<-- HERE> in m/%s/ |
16104 | 17363 | |
16105 | 17364 | =begin original |
16106 | 17365 | |
16107 | 17366 | (W regexp) Named Unicode character escapes C<(\N{...})> may return |
16108 | 17367 | a multi-character sequence. Even though a character class is |
16109 | 17368 | supposed to match just one character of input, perl will match |
16110 | 17369 | the whole thing correctly, except when the class is inverted |
16111 | 17370 | (C<[^...]>), or the escape is the beginning or final end point of |
16112 | 17371 | a range. For these, what should happen isn't clear at all. In |
16113 | 17372 | these circumstances, Perl discards all but the first character |
16114 | 17373 | of the returned sequence, which is not likely what you want. |
16115 | 17374 | |
16116 | 17375 | =end original |
16117 | 17376 | |
16118 | 17377 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は |
16119 | 17378 | 複数文字並びを返すことがあります。 |
16120 | 17379 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 |
16121 | 17380 | perl は全体を正しくマッチングします; 但し例外は、 |
16122 | 17381 | クラスが反転された場合 (C<[^...]>) と、 |
16123 | 17382 | エスケープが範囲の始点か終点の場合です。 |
16124 | 17383 | これらの場合、何をするべきかは全く明らかではありません。 |
16125 | 17384 | このため、Perl は返された並びの最初以外の文字を捨てます; |
16126 | 17385 | おそらくこれはあなたが求めているものではないでしょう。 |
16127 | 17386 | |
17387 | =item Using just the single character results returned by \p{} in | |
17388 | (?[...]) in regex; marked by S<<-- HERE> in m/%s/ | |
17389 | ||
17390 | =begin original | |
17391 | ||
17392 | (W regexp) Extended character classes currently cannot handle operands | |
17393 | that evaluate to more than one character. These are removed from the | |
17394 | results of the expansion of the C<\p{}>. | |
17395 | ||
17396 | =end original | |
17397 | ||
17398 | (W regexp) 拡張文字クラスは、現在の所、複数の文字に評価されるオペランドを | |
17399 | 扱うことは出来ません。 | |
17400 | これらは C<\p{}> の拡張の結果から取り除かれました。 | |
17401 | ||
17402 | =begin original | |
17403 | ||
17404 | This situation can happen, for example, in | |
17405 | ||
17406 | =end original | |
17407 | ||
17408 | この状況は、例えば次の場合に起こります: | |
17409 | ||
17410 | (?[ \p{name=/KATAKANA/} ]) | |
17411 | ||
17412 | =begin original | |
17413 | ||
17414 | "KATAKANA LETTER AINU P" is a legal Unicode name (technically a "named | |
17415 | sequence"), but it is actually two characters. The above expression | |
17416 | with match only the Unicode names containing KATAKANA that represent | |
17417 | single characters. | |
17418 | ||
17419 | =end original | |
17420 | ||
17421 | "KATAKANA LETTER AINU P" は正当な Unicode 名 (技術的には「名前付き並び」)ですが、 | |
17422 | 実際には二つの文字です。 | |
17423 | 前述の式は、単一の文字を表現する KATAKANA を含む Unicode 名のみに | |
17424 | マッチングします。 | |
17425 | ||
16128 | 17426 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ |
16129 | 17427 | |
16130 | 17428 | =begin original |
16131 | 17429 | |
16132 | 17430 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a |
16133 | 17431 | portion of a regular expression where the character set modifiers C</a> |
16134 | 17432 | or C</aa> are in effect. These two modifiers indicate an ASCII |
16135 | interpretation, and this doesn't make sense for a Unicode defintion. | |
17433 | interpretation, and this doesn't make sense for a Unicode definition. | |
16136 | 17434 | The generated regular expression will compile so that the boundary uses |
16137 | 17435 | all of Unicode. No other portion of the regular expression is affected. |
16138 | 17436 | |
16139 | 17437 | =end original |
16140 | 17438 | |
16141 | 17439 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で |
16142 | 17440 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 |
16143 | 17441 | これら二つの修飾子は ASCII での解釈を示していて、これは |
16144 | 17442 | Unicode の定義では意味がありません。 |
16145 | 17443 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 |
16146 | 17444 | 正規表現のその他の部分は影響を受けません。 |
16147 | 17445 | |
16148 | 17446 | =item Using !~ with %s doesn't make sense |
16149 | 17447 | |
16150 | 17448 | =begin original |
16151 | 17449 | |
16152 | 17450 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is |
16153 | 17451 | currently reserved for future use, as the exact behavior has not |
16154 | 17452 | been decided. (Simply returning the boolean opposite of the |
16155 | 17453 | modified string is usually not particularly useful.) |
16156 | 17454 | |
16157 | 17455 | =end original |
16158 | 17456 | |
16159 | 17457 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが |
16160 | 17458 | まだ決定されていないので、将来の使用のために予約されています。 |
16161 | 17459 | (単に修正された文字列の真偽値としての逆を返すのは普通特に |
16162 | 17460 | 有用ではありません。) |
16163 | 17461 | |
16164 | 17462 | =item UTF-16 surrogate U+%X |
16165 | 17463 | |
16166 | 17464 | =begin original |
16167 | 17465 | |
16168 | 17466 | (S surrogate) You had a UTF-16 surrogate in a context where they are |
16169 | 17467 | not considered acceptable. These code points, between U+D800 and |
16170 | 17468 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
16171 | 17469 | internally allows all unsigned integer code points (up to the size limit |
16172 | 17470 | available on your platform), including surrogates. But these can cause |
16173 | 17471 | problems when being input or output, which is likely where this message |
16174 | 17472 | came from. If you really really know what you are doing you can turn |
16175 | 17473 | off this warning by C<no warnings 'surrogate';>. |
16176 | 17474 | |
16177 | 17475 | =end original |
16178 | 17476 | |
16179 | 17477 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを |
16180 | 17478 | 使いました。 |
16181 | 17479 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
16182 | 17480 | Unicode によって使われます。 |
16183 | 17481 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
16184 | 17482 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
16185 | 17483 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
16186 | 17484 | おそらくこのメッセージが出た場所です。 |
16187 | 17485 | 自分で何をしているのかが本当に本当に分かっているなら、 |
16188 | 17486 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
16189 | 17487 | |
16190 | 17488 | =item Value of %s can be "0"; test with defined() |
16191 | 17489 | |
16192 | 17490 | =begin original |
16193 | 17491 | |
16194 | 17492 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
16195 | 17493 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
16196 | 17494 | can return a value of "0"; that would make the conditional expression |
16197 | 17495 | false, which is probably not what you intended. When using these |
16198 | 17496 | constructs in conditional expressions, test their values with the |
16199 | 17497 | C<defined> operator. |
16200 | 17498 | |
16201 | 17499 | =end original |
16202 | 17500 | |
16203 | 17501 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
16204 | 17502 | 真偽値として使いました。 |
16205 | 17503 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
16206 | 17504 | これはおそらく望んでいることではないでしょう。 |
16207 | 17505 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
16208 | 17506 | テストしてください。 |
16209 | 17507 | |
16210 | 17508 | =item Value of CLI symbol "%s" too long |
16211 | 17509 | |
16212 | 17510 | =begin original |
16213 | 17511 | |
16214 | 17512 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
16215 | 17513 | %ENV element from a CLI symbol table, and found a resultant string |
16216 | 17514 | longer than 1024 characters. The return value has been truncated to |
16217 | 17515 | 1024 characters. |
16218 | 17516 | |
16219 | 17517 | =end original |
16220 | 17518 | |
16221 | 17519 | (W misc) VMS に固有の警告です。 |
16222 | 17520 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
16223 | 17521 | 結果の文字列が 1024 文字を越えました。 |
16224 | 17522 | 返り値は 1024 文字に切り詰められます。 |
16225 | 17523 | |
16226 | =item values on reference is experimental | |
16227 | ||
16228 | =begin original | |
16229 | ||
16230 | (S experimental::autoderef) C<values> with a scalar argument | |
16231 | is experimental and may change or be removed in a future | |
16232 | Perl version. If you want to take the risk of using this | |
16233 | feature, simply disable this warning: | |
16234 | ||
16235 | =end original | |
16236 | ||
16237 | (S experimental::autoderef) スカラ引数の C<values> は実験的で、将来の | |
16238 | バージョンの Perl で変更されたり削除されたりするかもしれません。 | |
16239 | この機能を使うリスクを取る場合は、単に警告を無効にして下さい: | |
16240 | ||
16241 | no warnings "experimental::autoderef"; | |
16242 | ||
16243 | 17524 | =item Variable "%s" is not available |
16244 | 17525 | |
16245 | 17526 | =begin original |
16246 | 17527 | |
16247 | 17528 | (W closure) During compilation, an inner named subroutine or eval is |
16248 | 17529 | attempting to capture an outer lexical that is not currently available. |
16249 | 17530 | This can happen for one of two reasons. First, the outer lexical may be |
16250 | 17531 | declared in an outer anonymous subroutine that has not yet been created. |
16251 | 17532 | (Remember that named subs are created at compile time, while anonymous |
16252 | 17533 | subs are created at run-time.) For example, |
16253 | 17534 | |
16254 | 17535 | =end original |
16255 | 17536 | |
16256 | 17537 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が |
16257 | 17538 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 |
16258 | 17539 | これは二つの理由で起こります。 |
16259 | 17540 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで |
16260 | 17541 | 定義されている場合です。 |
16261 | 17542 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは |
16262 | 17543 | 実行時に作成されることを思い出してください。) |
16263 | 17544 | 例えば、 |
16264 | 17545 | |
16265 | 17546 | sub { my $a; sub f { $a } } |
16266 | 17547 | |
16267 | 17548 | =begin original |
16268 | 17549 | |
16269 | 17550 | At the time that f is created, it can't capture the current value of $a, |
16270 | 17551 | since the anonymous subroutine hasn't been created yet. Conversely, |
16271 | 17552 | the following won't give a warning since the anonymous subroutine has by |
16272 | 17553 | now been created and is live: |
16273 | 17554 | |
16274 | 17555 | =end original |
16275 | 17556 | |
16276 | 17557 | f が作成された時点で、$a の現在の値を捕捉できません; |
16277 | 17558 | なぜなら無名サブルーチンはまだ作成されていないからです。 |
16278 | 17559 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて |
16279 | 17560 | 生きているからです: |
16280 | 17561 | |
16281 | 17562 | sub { my $a; eval 'sub f { $a }' }->(); |
16282 | 17563 | |
16283 | 17564 | =begin original |
16284 | 17565 | |
16285 | 17566 | The second situation is caused by an eval accessing a variable that has |
16286 | 17567 | gone out of scope, for example, |
16287 | 17568 | |
16288 | 17569 | =end original |
16289 | 17570 | |
16290 | 17571 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; |
16291 | 17572 | 例えば: |
16292 | 17573 | |
16293 | 17574 | sub f { |
16294 | 17575 | my $a; |
16295 | 17576 | sub { eval '$a' } |
16296 | 17577 | } |
16297 | 17578 | f()->(); |
16298 | 17579 | |
16299 | 17580 | =begin original |
16300 | 17581 | |
16301 | 17582 | Here, when the '$a' in the eval is being compiled, f() is not currently |
16302 | 17583 | being executed, so its $a is not available for capture. |
16303 | 17584 | |
16304 | 17585 | =end original |
16305 | 17586 | |
16306 | 17587 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ |
16307 | 17588 | 実行されていないので、この $a は捕捉出来ません。 |
16308 | 17589 | |
16309 | 17590 | =item Variable "%s" is not imported%s |
16310 | 17591 | |
16311 | 17592 | =begin original |
16312 | 17593 | |
16313 | 17594 | (S misc) With "use strict" in effect, you referred to a global variable |
16314 | 17595 | that you apparently thought was imported from another module, because |
16315 | 17596 | something else of the same name (usually a subroutine) is exported by |
16316 | 17597 | that module. It usually means you put the wrong funny character on the |
16317 | 17598 | front of your variable. |
16318 | 17599 | |
16319 | 17600 | =end original |
16320 | 17601 | |
16321 | 17602 | (S misc) "use strict" が有効のときに、見たところ他のモジュールから |
16322 | 17603 | インポートされたとあなたが考えたグローバル変数を参照しました; |
16323 | 17604 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
16324 | 17605 | エクスポートされています。 |
16325 | 17606 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
16326 | 17607 | |
16327 | 17608 | =item Variable length lookbehind not implemented in regex m/%s/ |
16328 | 17609 | |
16329 | 17610 | =begin original |
16330 | 17611 | |
16331 | (F) | |
17612 | (F) B<This message no longer should be raised as of Perl 5.30.> It is | |
17613 | retained in this document as a convenience for people using an earlier | |
17614 | Perl version. | |
17615 | ||
17616 | =end original | |
17617 | ||
17618 | (F) B<このメッセージは Perl 5.30 からもはや発生しません。> | |
17619 | これはより古いバージョンの Perl を使っている人々が便利なように | |
17620 | この文書に残しています。 | |
17621 | ||
17622 | =begin original | |
17623 | ||
17624 | In Perl 5.30 and earlier, lookbehind is allowed | |
17625 | only for subexpressions whose length is fixed and | |
16332 | 17626 | known at compile time. For positive lookbehind, you can use the C<\K> |
16333 | 17627 | regex construct as a way to get the equivalent functionality. See |
16334 | L< | |
17628 | L<(?<=pattern) and \K in perlre|perlre/\K>. | |
16335 | 17629 | |
16336 | 17630 | =end original |
16337 | 17631 | |
16338 | ||
17632 | Perl 5.30 以前では、後方参照は長さが固定で、 | |
16339 | 可能です。 | |
17633 | コンパイル時に確定している副式に対してのみ可能です。 | |
16340 | 17634 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 |
16341 | L< | |
17635 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 | |
16342 | 17636 | |
16343 | 17637 | =begin original |
16344 | 17638 | |
16345 | ||
17639 | Starting in Perl 5.18, there are non-obvious Unicode rules under C</i> | |
16346 | but which you might not think could. For | |
17640 | that can match variably, but which you might not think could. For | |
16347 | can match the single character LATIN | |
17641 | example, the substring C<"ss"> can match the single character LATIN | |
16348 | ||
17642 | SMALL LETTER SHARP S. Here's a complete list of the current ones | |
16349 | ||
17643 | affecting ASCII characters: | |
16350 | Starting in Perl v5.16, if you only care about ASCII matches, adding the | |
16351 | C</aa> modifier to the regex will exclude all these non-obvious matches, | |
16352 | thus getting rid of this message. You can also say C<S<use re qw(/aa)>> | |
16353 | to apply C</aa> to all regular expressions compiled within its scope. | |
16354 | See L<re>. | |
16355 | 17644 | |
16356 | 17645 | =end original |
16357 | 17646 | |
16358 | C</i> の | |
17647 | Perl 5.18 から、C</i> の下では、おそらくあなたが考えていないような | |
16359 | マッチングするという、明確でない Unicode の規則があります。 | |
17648 | 種類のものにマッチングするという、明確でない Unicode の規則があります。 | |
16360 | 17649 | 例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に |
16361 | 17650 | マッチングします。 |
16362 | ASCII 文字 | |
17651 | 以下は ASCII 文字に影響を与える現在のものの完全な一覧です: | |
16363 | ||
16364 | ||
17653 | ASCII | |
16365 | ||
17654 | sequence Matches single letter under /i | |
17655 | FF U+FB00 LATIN SMALL LIGATURE FF | |
17656 | FFI U+FB03 LATIN SMALL LIGATURE FFI | |
17657 | FFL U+FB04 LATIN SMALL LIGATURE FFL | |
17658 | FI U+FB01 LATIN SMALL LIGATURE FI | |
17659 | FL U+FB02 LATIN SMALL LIGATURE FL | |
17660 | SS U+00DF LATIN SMALL LETTER SHARP S | |
17661 | U+1E9E LATIN CAPITAL LETTER SHARP S | |
17662 | ST U+FB06 LATIN SMALL LIGATURE ST | |
17663 | U+FB05 LATIN SMALL LIGATURE LONG S T | |
17664 | ||
17665 | =begin original | |
17666 | ||
17667 | This list is subject to change, but is quite unlikely to. | |
17668 | Each ASCII sequence can be any combination of upper- and lowercase. | |
17669 | ||
17670 | =end original | |
17671 | ||
17672 | この一覧は変更されるかもしれませんが、かなり起こりにくいです。 | |
17673 | それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。 | |
17674 | ||
17675 | =begin original | |
17676 | ||
17677 | You can avoid this by using a bracketed character class in the | |
17678 | lookbehind assertion, like | |
17679 | ||
17680 | =end original | |
17681 | ||
17682 | 次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます: | |
17683 | ||
17684 | (?<![sS]t) | |
17685 | (?<![fF]f[iI]) | |
17686 | ||
17687 | =begin original | |
17688 | ||
17689 | This fools Perl into not matching the ligatures. | |
17690 | ||
17691 | =end original | |
17692 | ||
17693 | これは合字にマッチングしないように Perl を騙します。 | |
17694 | ||
17695 | =begin original | |
17696 | ||
17697 | Another option for Perls starting with 5.16, if you only care about | |
17698 | ASCII matches, is to add the C</aa> modifier to the regex. This will | |
17699 | exclude all these non-obvious matches, thus getting rid of this message. | |
17700 | You can also say | |
17701 | ||
17702 | =end original | |
17703 | ||
17704 | Perl v5.16 からのもう一つの選択肢として、 | |
17705 | もし ASCII のマッチングにだけ関心があるのなら、 | |
16366 | 17706 | 正規表現に C</aa> を追加することでこれらの明確でないマッチングを全て |
16367 | 17707 | 除くことができるので、このメッセージを避けられます。 |
16368 | また、 | |
17708 | また、次のようにすることで: | |
16369 | ||
17710 | use if $] ge 5.016, re => '/aa'; | |
17711 | ||
17712 | =begin original | |
17713 | ||
17714 | to apply C</aa> to all regular expressions compiled within its scope. | |
17715 | See L<re>. | |
17716 | ||
17717 | =end original | |
17718 | ||
17719 | スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。 | |
16370 | 17720 | L<re> を参照してください。 |
16371 | 17721 | |
16372 | 17722 | =item "%s" variable %s masks earlier declaration in same %s |
16373 | 17723 | |
16374 | 17724 | =begin original |
16375 | 17725 | |
16376 | (W | |
17726 | (W shadow) A "my", "our" or "state" variable has been redeclared in the | |
16377 | 17727 | current scope or statement, effectively eliminating all access to the |
16378 | 17728 | previous instance. This is almost always a typographical error. Note |
16379 | 17729 | that the earlier variable will still exist until the end of the scope |
16380 | 17730 | or until all closure references to it are destroyed. |
16381 | 17731 | |
16382 | 17732 | =end original |
16383 | 17733 | |
16384 | (W | |
17734 | (W shadow) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
16385 | 17735 | 以前の実体への全てのアクセスができなくなりました。 |
16386 | 17736 | これはほとんど常にタイプミスです。 |
16387 | 17737 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが |
16388 | 17738 | 破壊されるまでは存在し続けることに注意してください。 |
16389 | 17739 | |
16390 | 17740 | =item Variable syntax |
16391 | 17741 | |
16392 | 17742 | =begin original |
16393 | 17743 | |
16394 | 17744 | (A) You've accidentally run your script through B<csh> instead |
16395 | 17745 | of Perl. Check the #! line, or manually feed your script into |
16396 | 17746 | Perl yourself. |
16397 | 17747 | |
16398 | 17748 | =end original |
16399 | 17749 | |
16400 | 17750 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
16401 | 17751 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
16402 | 17752 | |
16403 | 17753 | =item Variable "%s" will not stay shared |
16404 | 17754 | |
16405 | 17755 | =begin original |
16406 | 17756 | |
16407 | 17757 | (W closure) An inner (nested) I<named> subroutine is referencing a |
16408 | 17758 | lexical variable defined in an outer named subroutine. |
16409 | 17759 | |
16410 | 17760 | =end original |
16411 | 17761 | |
16412 | 17762 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
16413 | 17763 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 |
16414 | 17764 | |
16415 | 17765 | =begin original |
16416 | 17766 | |
16417 | 17767 | When the inner subroutine is called, it will see the value of |
16418 | 17768 | the outer subroutine's variable as it was before and during the *first* |
16419 | 17769 | call to the outer subroutine; in this case, after the first call to the |
16420 | 17770 | outer subroutine is complete, the inner and outer subroutines will no |
16421 | 17771 | longer share a common value for the variable. In other words, the |
16422 | 17772 | variable will no longer be shared. |
16423 | 17773 | |
16424 | 17774 | =end original |
16425 | 17775 | |
16426 | 17776 | 内側のサブルーチンが呼び出されるとき、 |
16427 | 17777 | 外側のサブルーチンの変数の値は、 |
16428 | 17778 | 「最初の」外側のサブルーチンへの呼び出し前および呼び出し中のものになります; |
16429 | 17779 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 |
16430 | 17780 | 内側と外側のサブルーチンはこの変数に関して同じ値を共有しなくなります。 |
16431 | 17781 | 言い換えると、この変数はもはや共有されません。 |
16432 | 17782 | |
16433 | 17783 | =begin original |
16434 | 17784 | |
16435 | 17785 | This problem can usually be solved by making the inner subroutine |
16436 | 17786 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
16437 | 17787 | reference variables in outer subroutines are created, they |
16438 | 17788 | are automatically rebound to the current values of such variables. |
16439 | 17789 | |
16440 | 17790 | =end original |
16441 | 17791 | |
16442 | 17792 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
16443 | 17793 | 解決します。 |
16444 | 17794 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
16445 | 17795 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 |
16446 | 17796 | |
16447 | 17797 | =item vector argument not supported with alpha versions |
16448 | 17798 | |
16449 | 17799 | =begin original |
16450 | 17800 | |
16451 | 17801 | (S printf) The %vd (s)printf format does not support version objects |
16452 | 17802 | with alpha parts. |
16453 | 17803 | |
16454 | 17804 | =end original |
16455 | 17805 | |
16456 | 17806 | (S printf) %vd (s)printf フォーマットはアルファ部分のある |
16457 | 17807 | バージョンオブジェクトに対応していません。 |
16458 | 17808 | |
16459 | 17809 | =item Verb pattern '%s' has a mandatory argument in regex; marked by |
16460 | 17810 | S<<-- HERE> in m/%s/ |
16461 | 17811 | |
16462 | 17812 | =begin original |
16463 | 17813 | |
16464 | 17814 | (F) You used a verb pattern that requires an argument. Supply an |
16465 | 17815 | argument or check that you are using the right verb. |
16466 | 17816 | |
16467 | 17817 | =end original |
16468 | 17818 | |
16469 | 17819 | (F) 引き数が必要な動詞パターンを使いました。 |
16470 | 17820 | 引き数を追加するか、正しい動詞を使ってください。 |
16471 | 17821 | |
16472 | 17822 | =item Verb pattern '%s' may not have an argument in regex; marked by |
16473 | 17823 | S<<-- HERE> in m/%s/ |
16474 | 17824 | |
16475 | 17825 | =begin original |
16476 | 17826 | |
16477 | 17827 | (F) You used a verb pattern that is not allowed an argument. Remove the |
16478 | 17828 | argument or check that you are using the right verb. |
16479 | 17829 | |
16480 | 17830 | =end original |
16481 | 17831 | |
16482 | 17832 | (F) 引き数が認められていない動詞パターンを使いました。 |
16483 | 17833 | 引き数を削除するか、正しい動詞を使ってください。 |
16484 | 17834 | |
17835 | =item Version control conflict marker | |
17836 | ||
17837 | =begin original | |
17838 | ||
17839 | (F) The parser found a line starting with C<E<lt><<<<<<>, | |
17840 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a | |
17841 | version control system to mark conflicts after a failed merge operation. | |
17842 | ||
17843 | =end original | |
17844 | ||
17845 | (F) パーサは C<E<lt><<<<<<>, | |
17846 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 | |
17847 | これらはマージ操作に失敗したあと衝突を記録するために | |
17848 | バージョン制御システムによって残されたものかもしれません。 | |
17849 | ||
16485 | 17850 | =item Version number must be a constant number |
16486 | 17851 | |
16487 | 17852 | =begin original |
16488 | 17853 | |
16489 | 17854 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
16490 | 17855 | its equivalent C<BEGIN> block found an internal inconsistency with |
16491 | 17856 | the version number. |
16492 | 17857 | |
16493 | 17858 | =end original |
16494 | 17859 | |
16495 | 17860 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
16496 | 17861 | したときに、バージョン番号について内部の不整合を発見しました。 |
16497 | 17862 | |
16498 | 17863 | =item Version string '%s' contains invalid data; ignoring: '%s' |
16499 | 17864 | |
16500 | 17865 | =begin original |
16501 | 17866 | |
16502 | 17867 | (W misc) The version string contains invalid characters at the end, which |
16503 | 17868 | are being ignored. |
16504 | 17869 | |
16505 | 17870 | =end original |
16506 | 17871 | |
16507 | 17872 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は |
16508 | 17873 | 無視されます。 |
16509 | 17874 | |
16510 | 17875 | =item Warning: something's wrong |
16511 | 17876 | |
16512 | 17877 | =begin original |
16513 | 17878 | |
16514 | 17879 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
16515 | 17880 | you called it with no args and C<$@> was empty. |
16516 | 17881 | |
16517 | 17882 | =end original |
16518 | 17883 | |
16519 | 17884 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
16520 | 17885 | 引数なしで呼び出され、C<$@> も空でした。 |
16521 | 17886 | |
16522 | 17887 | =item Warning: unable to close filehandle %s properly |
16523 | 17888 | |
16524 | 17889 | =begin original |
16525 | 17890 | |
16526 | 17891 | (S) The implicit close() done by an open() got an error indication on |
16527 | 17892 | the close(). This usually indicates your file system ran out of disk |
16528 | 17893 | space. |
16529 | 17894 | |
16530 | 17895 | =end original |
16531 | 17896 | |
16532 | 17897 | (S) open() によって暗黙のうちに行なわれる close() が、 |
16533 | 17898 | close() のエラーとなりました。 |
16534 | 17899 | 通常、ファイルシステムがいっぱいであることを示します。 |
16535 | 17900 | |
16536 | 17901 | =item Warning: unable to close filehandle properly: %s |
16537 | 17902 | |
16538 | 17903 | =item Warning: unable to close filehandle %s properly: %s |
16539 | 17904 | |
16540 | 17905 | =begin original |
16541 | 17906 | |
16542 | (S io) | |
17907 | (S io) There were errors during the implicit close() done on a filehandle | |
16543 | ||
17908 | when its reference count reached zero while it was still open, e.g.: | |
16544 | 17909 | |
16545 | 17910 | =end original |
16546 | 17911 | |
16547 | (S io) | |
17912 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
16548 | ||
17913 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
17914 | 例えば: | |
16549 | 17915 | |
17916 | { | |
17917 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
17918 | print $fh $data or die "print: $!"; | |
17919 | } # implicit close here | |
17920 | ||
17921 | =begin original | |
17922 | ||
17923 | Because various errors may only be detected by close() (e.g. buffering could | |
17924 | allow the C<print> in this example to return true even when the disk is full), | |
17925 | it is dangerous to ignore its result. So when it happens implicitly, perl | |
17926 | will signal errors by warning. | |
17927 | ||
17928 | =end original | |
17929 | ||
17930 | 様々なエラーは close() によってのみ検出される | |
17931 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
17932 | 真を返すことが可能です)ので、 | |
17933 | その結果を無視するのは危険です。 | |
17934 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
17935 | ||
17936 | =begin original | |
17937 | ||
17938 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
17939 | above was liable to cause B<silent data loss>. | |
17940 | ||
17941 | =end original | |
17942 | ||
17943 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
17944 | 従って、前述のような一般的な慣用句は | |
17945 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
17946 | ||
16550 | 17947 | =item Warning: Use of "%s" without parentheses is ambiguous |
16551 | 17948 | |
16552 | 17949 | =begin original |
16553 | 17950 | |
16554 | 17951 | (S ambiguous) You wrote a unary operator followed by something that |
16555 | 17952 | looks like a binary operator that could also have been interpreted as a |
16556 | 17953 | term or unary operator. For instance, if you know that the rand |
16557 | 17954 | function has a default argument of 1.0, and you write |
16558 | 17955 | |
16559 | 17956 | =end original |
16560 | 17957 | |
16561 | 17958 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
16562 | 17959 | 二項演算子のようなものが置かれました。 |
16563 | 17960 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
16564 | 17961 | いれば、以下のように書いて: |
16565 | 17962 | |
16566 | 17963 | rand + 5; |
16567 | 17964 | |
16568 | 17965 | =begin original |
16569 | 17966 | |
16570 | 17967 | you may THINK you wrote the same thing as |
16571 | 17968 | |
16572 | 17969 | =end original |
16573 | 17970 | |
16574 | 17971 | 以下の同じことと思うかもしれませんが: |
16575 | 17972 | |
16576 | 17973 | rand() + 5; |
16577 | 17974 | |
16578 | 17975 | =begin original |
16579 | 17976 | |
16580 | 17977 | but in actual fact, you got |
16581 | 17978 | |
16582 | 17979 | =end original |
16583 | 17980 | |
16584 | 17981 | 実際には以下のようになります: |
16585 | 17982 | |
16586 | 17983 | rand(+5); |
16587 | 17984 | |
16588 | 17985 | =begin original |
16589 | 17986 | |
16590 | 17987 | So put in parentheses to say what you really mean. |
16591 | 17988 | |
16592 | 17989 | =end original |
16593 | 17990 | |
16594 | 17991 | したがって、思うように解釈させるには、かっこが必要になります。 |
16595 | 17992 | |
16596 | 17993 | =item when is experimental |
16597 | 17994 | |
16598 | 17995 | =begin original |
16599 | 17996 | |
16600 | 17997 | (S experimental::smartmatch) C<when> depends on smartmatch, which is |
16601 | 17998 | experimental. Additionally, it has several special cases that may |
16602 | 17999 | not be immediately obvious, and their behavior may change or |
16603 | 18000 | even be removed in any future release of perl. See the explanation |
16604 | 18001 | under L<perlsyn/Experimental Details on given and when>. |
16605 | 18002 | |
16606 | 18003 | =end original |
16607 | 18004 | |
16608 | 18005 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに |
16609 | 18006 | 依存しています。 |
16610 | 18007 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その |
16611 | 18008 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 |
16612 | 18009 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 |
16613 | 18010 | |
16614 | 18011 | =item Wide character in %s |
16615 | 18012 | |
16616 | 18013 | =begin original |
16617 | 18014 | |
16618 | (S utf8) Perl met a wide character (>255) when it wasn't | |
18015 | (S utf8) Perl met a wide character (ordinal >255) when it wasn't | |
16619 | one. This warning is by default on for I/O (like print). | |
18016 | expecting one. This warning is by default on for I/O (like print). | |
16620 | ||
16621 | ||
18018 | =end original | |
16622 | ||
18020 | (S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。 | |
18021 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
18022 | ||
18023 | =begin original | |
18024 | ||
18025 | If this warning does come from I/O, the easiest | |
18026 | way to quiet it is simply to add the C<:utf8> layer, I<e.g.>, | |
18027 | S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is | |
18028 | to add S<C<no warnings 'utf8';>> but that is often closer to | |
16623 | 18029 | cheating. In general, you are supposed to explicitly mark the |
16624 | 18030 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. |
16625 | 18031 | |
16626 | 18032 | =end original |
16627 | 18033 | |
16628 | ||
18034 | この警告が I/O からのものなら、これを黙らせる最も簡単な方法は、 | |
16629 | ||
18035 | S<C<binmode STDOUT, ':utf8'>> のように | |
16630 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
16631 | 18036 | 出力に単に C<:utf8> 層を追加することです。 |
16632 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
18037 | もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは | |
16633 | 18038 | しばしばいかさまに近い方法です。 |
16634 | 18039 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに |
16635 | 18040 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 |
16636 | 18041 | |
18042 | =begin original | |
18043 | ||
18044 | If the warning comes from other than I/O, this diagnostic probably | |
18045 | indicates that incorrect results are being obtained. You should examine | |
18046 | your code to determine how a wide character is getting to an operation | |
18047 | that doesn't handle them. | |
18048 | ||
18049 | =end original | |
18050 | ||
18051 | この警告が I/O 以外からのものなら、この診断メッセージは | |
18052 | おそらく正しくない結果が得られたことを意味しています。 | |
18053 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
18054 | 決定するために、ソースコードを調べる必要があります。 | |
18055 | ||
16637 | 18056 | =item Wide character (U+%X) in %s |
16638 | 18057 | |
16639 | 18058 | =begin original |
16640 | 18059 | |
16641 | 18060 | (W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8 |
16642 | 18061 | one), a multi-byte character was encountered. Perl considers this |
16643 | 18062 | character to be the specified Unicode code point. Combining non-UTF-8 |
16644 | 18063 | locales and Unicode is dangerous. Almost certainly some characters |
16645 | 18064 | will have two different representations. For example, in the ISO 8859-7 |
16646 | 18065 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so |
16647 | 18066 | also does 0x393. This will make string comparisons unreliable. |
16648 | 18067 | |
16649 | 18068 | =end original |
16650 | 18069 | |
16651 | 18070 | (W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、 |
16652 | 18071 | 複数バイト文字に遭遇しました。 |
16653 | 18072 | Perl はこの文字を指定された Unicode 符号位置として扱います。 |
16654 | 18073 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 |
16655 | 18074 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 |
16656 | 18075 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 |
16657 | 18076 | 符号位置 0xC3 は Capital Gamma を表現します。 |
16658 | 18077 | しかし 0x393 も同じです。 |
16659 | 18078 | これは文字列比較を信頼できないものにします。 |
16660 | 18079 | |
16661 | 18080 | =begin original |
16662 | 18081 | |
16663 | 18082 | You likely need to figure out how this multi-byte character got mixed up |
16664 | 18083 | with your single-byte locale (or perhaps you thought you had a UTF-8 |
16665 | 18084 | locale, but Perl disagrees). |
16666 | 18085 | |
16667 | 18086 | =end original |
16668 | 18087 | |
16669 | 18088 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを |
16670 | 18089 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを |
16671 | 18090 | 使っていると考えているけれども Perl は同意していないのでしょう)。 |
16672 | 18091 | |
16673 | 18092 | =item Within []-length '%c' not allowed |
16674 | 18093 | |
16675 | 18094 | =begin original |
16676 | 18095 | |
16677 | 18096 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> |
16678 | 18097 | only if C<TEMPLATE> always matches the same amount of packed bytes that |
16679 | 18098 | can be determined from the template alone. This is not possible if |
16680 | 18099 | it contains any of the codes @, /, U, u, w or a *-length. Redesign |
16681 | 18100 | the template. |
16682 | 18101 | |
16683 | 18102 | =end original |
16684 | 18103 | |
16685 | 18104 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に |
16686 | 18105 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する |
16687 | 18106 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 |
16688 | 18107 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 |
16689 | 18108 | テンプレートを再設計してください。 |
16690 | 18109 | |
18110 | =item While trying to resolve method call %s->%s() can not locate package "%s" yet it is mentioned in @%s::ISA (perhaps you forgot to load "%s"?) | |
18111 | ||
18112 | =begin original | |
18113 | ||
18114 | (W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded | |
18115 | package name, which can result in perl choosing an unexpected parent | |
18116 | class's method to resolve the method call. If this is deliberate you | |
18117 | can do something like | |
18118 | ||
18119 | =end original | |
18120 | ||
18121 | (W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、 | |
18122 | 結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを | |
18123 | 選んだ可能性があります。 | |
18124 | これが意図的な場合は、次のようにして: | |
18125 | ||
18126 | @Missing::Package::ISA = (); | |
18127 | ||
18128 | =begin original | |
18129 | ||
18130 | to silence the warnings, otherwise you should correct the package name, or | |
18131 | ensure that the package is loaded prior to the method call. | |
18132 | ||
18133 | =end original | |
18134 | ||
18135 | この警告を黙らせられます; さもなければパッケージ名を修正するか、 | |
18136 | パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。 | |
18137 | ||
18138 | =item %s() with negative argument | |
18139 | ||
18140 | =begin original | |
18141 | ||
18142 | (S misc) Certain operations make no sense with negative arguments. | |
18143 | Warning is given and the operation is not done. | |
18144 | ||
18145 | =end original | |
18146 | ||
18147 | (S misc) 一部の操作は負の引数は意味がありません。 | |
18148 | 警告が出力され、操作は行われません。 | |
18149 | ||
16691 | 18150 | =item write() on closed filehandle %s |
16692 | 18151 | |
16693 | 18152 | =begin original |
16694 | 18153 | |
16695 | 18154 | (W closed) The filehandle you're writing to got itself closed sometime |
16696 | 18155 | before now. Check your control flow. |
16697 | 18156 | |
16698 | 18157 | =end original |
16699 | 18158 | |
16700 | 18159 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
16701 | 18160 | 制御フローをチェックしてください。 |
16702 | 18161 | |
16703 | 18162 | =item %s "\x%X" does not map to Unicode |
16704 | 18163 | |
16705 | 18164 | =begin original |
16706 | 18165 | |
16707 | 18166 | (S utf8) When reading in different encodings, Perl tries to |
16708 | 18167 | map everything into Unicode characters. The bytes you read |
16709 | 18168 | in are not legal in this encoding. For example |
16710 | 18169 | |
16711 | 18170 | =end original |
16712 | 18171 | |
16713 | 18172 | (S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に |
16714 | 18173 | マッピングしようとします。 |
16715 | 18174 | 読み込んだバイトはこのエンコーディングでは不正でした。 |
16716 | 18175 | 例えば: |
16717 | 18176 | |
16718 | 18177 | utf8 "\xE4" does not map to Unicode |
16719 | 18178 | |
16720 | 18179 | =begin original |
16721 | 18180 | |
16722 | 18181 | if you try to read in the a-diaereses Latin-1 as UTF-8. |
16723 | 18182 | |
16724 | 18183 | =end original |
16725 | 18184 | |
16726 | 18185 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 |
16727 | 18186 | |
16728 | 18187 | =item 'X' outside of string |
16729 | 18188 | |
16730 | 18189 | =begin original |
16731 | 18190 | |
16732 | 18191 | (F) You had a (un)pack template that specified a relative position before |
16733 | 18192 | the beginning of the string being (un)packed. See L<perlfunc/pack>. |
16734 | 18193 | |
16735 | 18194 | =end original |
16736 | 18195 | |
16737 | 18196 | (F) (un)pack している文字列の最後より後の相対位置を示している |
16738 | 18197 | (un)pack テンプレートを指定しました。 |
16739 | 18198 | L<perlfunc/pack> を参照してください。 |
16740 | 18199 | |
16741 | 18200 | =item 'x' outside of string in unpack |
16742 | 18201 | |
16743 | 18202 | =begin original |
16744 | 18203 | |
16745 | 18204 | (F) You had a pack template that specified a relative position after |
16746 | 18205 | the end of the string being unpacked. See L<perlfunc/pack>. |
16747 | 18206 | |
16748 | 18207 | =end original |
16749 | 18208 | |
16750 | 18209 | (F) unpack している文字列の最後より後の相対位置を示している |
16751 | 18210 | pack テンプレートを指定しました。 |
16752 | 18211 | L<perlfunc/pack> を参照してください。 |
16753 | 18212 | |
16754 | 18213 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
16755 | 18214 | |
16756 | 18215 | =begin original |
16757 | 18216 | |
16758 | 18217 | (F) And you probably never will, because you probably don't have the |
16759 | 18218 | sources to your kernel, and your vendor probably doesn't give a rip |
16760 | about what you want. | |
18219 | about what you want. There is a vulnerability anywhere that you have a | |
16761 | your s | |
18220 | set-id script, and to close it you need to remove the set-id bit from | |
18221 | the script that you're attempting to run. To actually run the script | |
18222 | set-id, your best bet is to put a set-id C wrapper around your script. | |
16762 | 18223 | |
16763 | 18224 | =end original |
16764 | 18225 | |
16765 | 18226 | (F) そして、そうすることはできないでしょう; カーネルのソースは |
16766 | 18227 | お持ちではないでしょうし、ベンダも欲しいものを提供しては |
16767 | 18228 | くれないでしょうから。 |
16768 | ||
18229 | set-id スクリプトのあちこちには脆弱性があり、 | |
18230 | それを閉じるためには実行しようとしているスクリプトから | |
18231 | set-id ビットを削除する必要があります。 | |
18232 | 実際にスクリプトを set-id で実行するために | |
18233 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
16769 | 18234 | |
16770 | 18235 | =item You need to quote "%s" |
16771 | 18236 | |
16772 | 18237 | =begin original |
16773 | 18238 | |
16774 | 18239 | (W syntax) You assigned a bareword as a signal handler name. |
16775 | 18240 | Unfortunately, you already have a subroutine of that name declared, |
16776 | 18241 | which means that Perl 5 will try to call the subroutine when the |
16777 | 18242 | assignment is executed, which is probably not what you want. (If it IS |
16778 | 18243 | what you want, put an & in front.) |
16779 | 18244 | |
16780 | 18245 | =end original |
16781 | 18246 | |
16782 | 18247 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
16783 | 18248 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 |
16784 | 18249 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 |
16785 | 18250 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) |
16786 | 18251 | |
16787 | 18252 | =item Your random numbers are not that random |
16788 | 18253 | |
16789 | 18254 | =begin original |
16790 | 18255 | |
16791 | 18256 | (F) When trying to initialize the random seed for hashes, Perl could |
16792 | 18257 | not get any randomness out of your system. This usually indicates |
16793 | 18258 | Something Very Wrong. |
16794 | 18259 | |
16795 | 18260 | =end original |
16796 | 18261 | |
16797 | 18262 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから |
16798 | 18263 | 何の乱数性も得られませんでした。 |
16799 | 18264 | これは普通「何かとても具合が悪い」ことを示しています。 |
16800 | 18265 | |
16801 | 18266 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ |
16802 | 18267 | |
16803 | 18268 | =begin original |
16804 | 18269 | |
16805 | 18270 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length |
16806 | 18271 | sequence. Such an escape was used in an extended character class, i.e. |
16807 | C<(?[...])>, which is not permitted. Check | |
18272 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
16808 | been used, and the correct charnames handler | |
18273 | that the correct escape has been used, and the correct charnames handler | |
16809 | shows whereabouts in the regular | |
18274 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
18275 | expression the problem was discovered. | |
16810 | 18276 | |
16811 | 18277 | =end original |
16812 | 18278 | |
16813 | 18279 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを |
16814 | 18280 | 返すことがあります。 |
16815 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中 | |
18281 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
18282 | あるいは C<use re 'strict'> の基で使われました; | |
16816 | 18283 | これは認められていません。 |
16817 | 18284 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に |
16818 | 18285 | あるかをチェックしてください。 |
16819 | 18286 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 |
16820 | 18287 | |
16821 | 18288 | =back |
16822 | 18289 | |
16823 | 18290 | =head1 SEE ALSO |
16824 | 18291 | |
16825 | 18292 | L<warnings>, L<diagnostics>. |
16826 | 18293 | |
16827 | 18294 | =cut |
16828 | 18295 | |
16829 | 18296 | =begin meta |
16830 | 18297 | |
16831 | 18298 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) |
16832 | 18299 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) |
16833 | Status: | |
18300 | Status: in progress | |
16834 | 18301 | |
16835 | 18302 | =end meta |