perldiag >
5.12.1
との差分
perldiag 5.12.1 と 5.6.1 の差分
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 | (D) A deprecation ( | |
29 | (D) A deprecation (optional). | |
30 | (S) A severe warning ( | |
30 | (S) A severe warning (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 | (D) 非推奨 ( | |
39 | (D) 非推奨 (オプション) | |
40 | (S) 重大な警告 (デフォルト | |
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 | (W, D & S) can be controlled using the C<warnings> pragma. | |
49 | (W, D & S) can be controlled using the C<warnings> pragma. | |
50 | 50 | |
51 | 51 | =end original |
52 | 52 | |
53 | 53 | 上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は |
54 | 54 | C<warings> プラグマで制御できます。 |
55 | 55 | |
56 | 56 | =begin original |
57 | 57 | |
58 | 58 | If a message can be controlled by the C<warnings> pragma, its warning |
59 | 59 | category is included with the classification letter in the description |
60 | 60 | below. |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
65 | 説明で分類文字と共に記されています。 | |
65 | 警告カテゴリは以下の説明で分類文字と共に記されています。 | |
66 | 66 | |
67 | 67 | =begin original |
68 | 68 | |
69 | 69 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
70 | 70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> |
71 | 71 | to a reference to a routine that will be called on each warning instead |
72 | 72 | of printing it. See L<perlvar>. |
73 | 73 | |
74 | 74 | =end original |
75 | 75 | |
76 | 76 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
77 | 77 | 有効になります。 |
78 | 78 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
79 | 79 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
80 | 80 | L<perlvar> を参照してください。 |
81 | 81 | |
82 | 82 | =begin original |
83 | 83 | |
84 | ||
84 | Default warnings are always enabled unless they are explicitly disabled | |
85 | 85 | with the C<warnings> pragma or the B<-X> switch. |
86 | 86 | |
87 | 87 | =end original |
88 | 88 | |
89 | C<warnings> プラグマか B<-X> オプションで明示的に | |
89 | デフォルトでは C<warnings> プラグマか B<-X> オプションで明示的に | |
90 | ||
90 | 無効にされない限り、警告は常に有効です。 | |
91 | 91 | |
92 | 92 | =begin original |
93 | 93 | |
94 | 94 | Trappable errors may be trapped using the eval operator. See |
95 | 95 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
96 | 96 | disabled or promoted to fatal errors using the C<warnings> pragma. |
97 | 97 | See L<warnings>. |
98 | 98 | |
99 | 99 | =end original |
100 | 100 | |
101 | 101 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
102 | 102 | L<perlfunc/eval> を参照してください。 |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
104 | 無効にしたり致命的エラーに昇格させたりできます。 | |
104 | 選択的に無効にしたり致命的エラーに昇格させたりできます。 | |
105 | 105 | L<warnings> を参照してください。 |
106 | 106 | |
107 | 107 | =begin original |
108 | 108 | |
109 | 109 | The messages are in alphabetical order, without regard to upper or |
110 | 110 | lower-case. Some of these messages are generic. Spots that vary are |
111 | 111 | denoted with a %s or other printf-style escape. These escapes are |
112 | 112 | ignored by the alphabetical order, as are all characters other than |
113 | 113 | letters. To look up your message, just ignore anything that is not a |
114 | 114 | letter. |
115 | 115 | |
116 | 116 | =end original |
117 | 117 | |
118 | 118 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
119 | 119 | これらの中には一般的なものもあります。 |
120 | 120 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
121 | 121 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
122 | 122 | 無視されています。 |
123 | 123 | メッセージを探すには、英文字以外は無視してください。 |
124 | 124 | |
125 | 125 | =over 4 |
126 | 126 | |
127 | 127 | =item accept() on closed socket %s |
128 | 128 | |
129 | 129 | =begin original |
130 | 130 | |
131 | 131 | (W closed) You tried to do an accept on a closed socket. Did you forget |
132 | 132 | to check the return value of your socket() call? See |
133 | 133 | L<perlfunc/accept>. |
134 | 134 | |
135 | 135 | =end original |
136 | 136 | |
137 | 137 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
138 | 138 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
139 | 139 | L<perlfunc/accept> を参照してください。 |
140 | 140 | |
141 | 141 | =item Allocation too large: %lx |
142 | 142 | |
143 | 143 | =begin original |
144 | 144 | |
145 | 145 | (X) You can't allocate more than 64K on an MS-DOS machine. |
146 | 146 | |
147 | 147 | =end original |
148 | 148 | |
149 | 149 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
150 | 150 | |
151 | =item ' | |
151 | =item '!' allowed only after types %s | |
152 | 152 | |
153 | 153 | =begin original |
154 | 154 | |
155 | (F) The | |
155 | (F) The '!' is allowed in pack() and unpack() only after certain types. | |
156 | ||
156 | See L<perlfunc/pack>. | |
157 | 157 | |
158 | 158 | =end original |
159 | 159 | |
160 | (F) pack() や unpack() での '!' | |
160 | (F) pack() や unpack() での '!' は特定のタイプの後にのみ | |
161 | ||
161 | つけることができます。 | |
162 | 162 | L<perlfunc/pack> を参照してください。 |
163 | 163 | |
164 | 164 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
165 | 165 | |
166 | 166 | =begin original |
167 | 167 | |
168 | 168 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
169 | 169 | keyword, and you have used the name without qualification for calling |
170 | 170 | one or the other. Perl decided to call the builtin because the |
171 | 171 | subroutine is not imported. |
172 | 172 | |
173 | 173 | =end original |
174 | 174 | |
175 | 175 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
176 | 176 | どちらかを呼び出すために修飾なしで名前を使っています。 |
177 | Perl は、サブルーチンがインポートされたものではないので、 | |
177 | Perl は、サブルーチンがインポートされたものではないので、 | |
178 | 呼び出すことにしました。 | |
178 | 組み込みのものを呼び出すことにしました。 | |
179 | 179 | |
180 | 180 | =begin original |
181 | 181 | |
182 | 182 | To force interpretation as a subroutine call, either put an ampersand |
183 | 183 | before the subroutine name, or qualify the name with its package. |
184 | 184 | Alternatively, you can import the subroutine (or pretend that it's |
185 | 185 | imported with the C<use subs> pragma). |
186 | 186 | |
187 | 187 | =end original |
188 | 188 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
190 | 前にアンパサンドをつけるか、名前をパッケージ名で | |
190 | サブルーチン名の前にアンパサンドをつけるか、名前をパッケージ名で | |
191 | 修飾してください。 | |
191 | 192 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
192 | 193 | プラグマを使ってインポートされたふりをする)方法もあります。 |
193 | 194 | |
194 | 195 | =begin original |
195 | 196 | |
196 | 197 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
197 | on the operator (e.g. C<CORE::log($x)>) or declar | |
198 | on the operator (e.g. C<CORE::log($x)>) or by declaring the subroutine | |
198 | 199 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
199 | 200 | L<attributes>). |
200 | 201 | |
201 | 202 | =end original |
202 | 203 | |
203 | 204 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
204 | 205 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
205 | 206 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
206 | 207 | 参照してください)として定義してください。 |
207 | 208 | |
208 | =item Ambiguous range in transliteration operator | |
209 | ||
210 | =begin original | |
211 | ||
212 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at | |
213 | all. To include a C<-> character in a transliteration, put it either | |
214 | first or last. (In the past, C<tr/a-z-0//> was synonymous with | |
215 | C<tr/a-y//>, which was probably not what you would have expected.) | |
216 | ||
217 | =end original | |
218 | ||
219 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 | |
220 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 | |
221 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく | |
222 | 予想していたものと違うでしょう。) | |
223 | ||
224 | 209 | =item Ambiguous use of %s resolved as %s |
225 | 210 | |
226 | 211 | =begin original |
227 | 212 | |
228 | 213 | (W ambiguous)(S) You said something that may not be interpreted the way |
229 | 214 | you thought. Normally it's pretty easy to disambiguate it by supplying |
230 | 215 | a missing quote, operator, parenthesis pair or declaration. |
231 | 216 | |
232 | 217 | =end original |
233 | 218 | |
234 | 219 | (W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが |
235 | 220 | ありました。 |
236 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することで | |
221 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することで | |
237 | 簡単にあいまいさを解消できます。 | |
222 | かなり簡単にあいまいさを解消できます。 | |
238 | 223 | |
239 | 224 | =item '|' and '<' may not both be specified on command line |
240 | 225 | |
241 | 226 | =begin original |
242 | 227 | |
243 | 228 | (F) An error peculiar to VMS. Perl does its own command line |
244 | 229 | redirection, and found that STDIN was a pipe, and that you also tried to |
245 | 230 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
246 | 231 | |
247 | 232 | =end original |
248 | 233 | |
249 | (F) VMS | |
234 | (F) VMS 特有のエラーです。 | |
250 | 235 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
251 | 236 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
252 | 237 | しました。 |
253 | STDIN ストリームは一つだけにしてください | |
238 | STDIN ストリームは一つだけにしてください。 | |
239 | お願いします。 | |
254 | 240 | |
255 | 241 | =item '|' and '>' may not both be specified on command line |
256 | 242 | |
257 | 243 | =begin original |
258 | 244 | |
259 | 245 | (F) An error peculiar to VMS. Perl does its own command line |
260 | 246 | redirection, and thinks you tried to redirect stdout both to a file and |
261 | 247 | into a pipe to another command. You need to choose one or the other, |
262 | 248 | though nothing's stopping you from piping into a program or Perl script |
263 | 249 | which 'splits' output into two streams, such as |
264 | 250 | |
265 | 251 | =end original |
266 | 252 | |
267 | (F) VMS | |
253 | (F) VMS 特有のエラーです。 | |
268 | 254 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
269 | 255 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
270 | 256 | 判断しました。 |
271 | 257 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
272 | 258 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
273 | 259 | 何もありません。 |
274 | 260 | |
275 | 261 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
276 | 262 | while (<STDIN>) { |
277 | 263 | print; |
278 | 264 | print OUT; |
279 | 265 | } |
280 | 266 | close OUT; |
281 | 267 | |
282 | 268 | =item Applying %s to %s will act on scalar(%s) |
283 | 269 | |
284 | 270 | =begin original |
285 | 271 | |
286 | (W misc) The pattern match ( | |
272 | (W misc) The pattern match (//), substitution (s///), and | |
287 | transliteration ( | |
273 | transliteration (tr///) operators work on scalar values. If you apply | |
288 | 274 | one of them to an array or a hash, it will convert the array or hash to |
289 | a scalar value | |
275 | a scalar value -- the length of an array, or the population info of a | |
290 | hash | |
276 | hash -- and then work on that scalar value. This is probably not what | |
291 | 277 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
292 | 278 | alternatives. |
293 | 279 | |
294 | 280 | =end original |
295 | 281 | |
296 | (W misc) パターンマッチ ( | |
282 | (W misc) パターンマッチ (//), 置換 (s///), 文字置換 | |
297 | ( | |
283 | (tr///) 演算子はスカラ値に対して動作します。 | |
298 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 | |
284 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 -- | |
299 | ハッシュの大きさの情報 | |
285 | 配列の長さかハッシュの大きさの情報 -- に変換し、そのスカラ値に対して | |
286 | 動作します。 | |
300 | 287 | これはおそらくしたいこととは違うでしょう。 |
301 | 288 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
302 | 289 | |
303 | 290 | =item Args must match #! line |
304 | 291 | |
305 | 292 | =begin original |
306 | 293 | |
307 | 294 | (F) The setuid emulator requires that the arguments Perl was invoked |
308 | 295 | with match the arguments specified on the #! line. Since some systems |
309 | 296 | impose a one-argument limit on the #! line, try combining switches; |
310 | 297 | for example, turn C<-w -U> into C<-wU>. |
311 | 298 | |
312 | 299 | =end original |
313 | 300 | |
314 | (F) setuid エミュレータでは、Perl を起動したときの引数と、 | |
301 | (F) setuid エミュレータでは、Perl を起動したときの引数と、 | |
315 | 指定された引数はマッチすることが要求されます。 | |
302 | #! の行で指定された引数はマッチすることが要求されます。 | |
316 | #! 行の 1 引数制限があるシステムがあるので、 | |
303 | #! 行の 1 引数制限があるシステムがあるので、 | |
317 | 試してみてください; | |
304 | 組み合わせスイッチを試してみてください; | |
318 | 305 | 例えば、C<-w -U> を C<-wU> にしてください。 |
319 | 306 | |
320 | 307 | =item Arg too short for msgsnd |
321 | 308 | |
322 | 309 | =begin original |
323 | 310 | |
324 | 311 | (F) msgsnd() requires a string at least as long as sizeof(long). |
325 | 312 | |
326 | 313 | =end original |
327 | 314 | |
328 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の | |
315 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の | |
316 | 長さが必要です。 | |
329 | 317 | |
330 | =item %s argument is not a HASH or ARRAY element | |
318 | =item %s argument is not a HASH or ARRAY element | |
331 | 319 | |
332 | 320 | =begin original |
333 | 321 | |
334 | (F) The argument to exists() must be a hash or array element | |
322 | (F) The argument to exists() must be a hash or array element, such as: | |
335 | subroutine with an ampersand, such as: | |
336 | 323 | |
337 | 324 | =end original |
338 | 325 | |
339 | (F) exists() の引数は | |
326 | (F) exists() の引数は、 | |
340 | ||
327 | 以下のようなハッシュの要素でなければなりません。 | |
341 | 328 | |
342 | 329 | $foo{$bar} |
343 | 330 | $ref->{"susie"}[12] |
344 | &do_something | |
345 | 331 | |
346 | 332 | =item %s argument is not a HASH or ARRAY element or slice |
347 | 333 | |
348 | 334 | =begin original |
349 | 335 | |
350 | 336 | (F) The argument to delete() must be either a hash or array element, |
351 | 337 | such as: |
352 | 338 | |
353 | 339 | =end original |
354 | 340 | |
355 | 341 | (F) delete() の引数は以下のようにハッシュか配列の要素であるか: |
356 | 342 | |
357 | 343 | $foo{$bar} |
358 | 344 | $ref->{"susie"}[12] |
359 | 345 | |
360 | 346 | =begin original |
361 | 347 | |
362 | 348 | or a hash or array slice, such as: |
363 | 349 | |
364 | 350 | =end original |
365 | 351 | |
366 | 352 | あるいは以下のようにハッシュか配列のスライスでなければなりません: |
367 | 353 | |
368 | 354 | @foo[$bar, $baz, $xyzzy] |
369 | 355 | @{$ref->[12]}{"susie", "queue"} |
370 | 356 | |
371 | 357 | =item %s argument is not a subroutine name |
372 | 358 | |
373 | 359 | =begin original |
374 | 360 | |
375 | 361 | (F) The argument to exists() for C<exists &sub> must be a subroutine |
376 | 362 | name, and not a subroutine call. C<exists &sub()> will generate this |
377 | 363 | error. |
378 | 364 | |
379 | 365 | =end original |
380 | 366 | |
381 | 367 | (F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、 |
382 | 368 | サブルーチン名でなければなりません。 |
383 | 369 | C<exists &sub()> とするとこのエラーが生成されます。 |
384 | 370 | |
385 | 371 | =item Argument "%s" isn't numeric%s |
386 | 372 | |
387 | 373 | =begin original |
388 | 374 | |
389 | 375 | (W numeric) The indicated string was fed as an argument to an operator |
390 | 376 | that expected a numeric value instead. If you're fortunate the message |
391 | 377 | will identify which operator was so unfortunate. |
392 | 378 | |
393 | 379 | =end original |
394 | 380 | |
395 | 381 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 |
396 | 382 | 与えられました。 |
397 | 運がよければ、このメッセージによって、どの演算子が | |
383 | 運がよければ、このメッセージによって、どの演算子が | |
398 | わかります。 | |
384 | 問題となったかがわかります。 | |
399 | 385 | |
400 | =item Argument list not closed for PerlIO layer "%s" | |
401 | ||
402 | =begin original | |
403 | ||
404 | (W layer) When pushing a layer with arguments onto the Perl I/O system you | |
405 | forgot the ) that closes the argument list. (Layers take care of transforming | |
406 | data between external and internal representations.) Perl stopped parsing | |
407 | the layer list at this point and did not attempt to push this layer. | |
408 | If your program didn't explicitly request the failing operation, it may be | |
409 | the result of the value of the environment variable PERLIO. | |
410 | ||
411 | =end original | |
412 | ||
413 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを | |
414 | 閉じる ) を忘れています。 | |
415 | (層はデータの外部表現と内部表現の変換を扱います。) | |
416 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
417 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
418 | 値が原因かもしれません。 | |
419 | ||
420 | 386 | =item Array @%s missing the @ in argument %d of %s() |
421 | 387 | |
422 | 388 | =begin original |
423 | 389 | |
424 | 390 | (D deprecated) Really old Perl let you omit the @ on array names in some |
425 | 391 | spots. This is now heavily deprecated. |
426 | 392 | |
427 | 393 | =end original |
428 | 394 | |
429 | 395 | (D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を |
430 | 396 | 省略できました。 |
431 | こ | |
397 | この省略は、止めてください。 | |
432 | 398 | |
433 | 399 | =item assertion botched: %s |
434 | 400 | |
435 | 401 | =begin original |
436 | 402 | |
437 | 403 | (P) The malloc package that comes with Perl had an internal failure. |
438 | 404 | |
439 | 405 | =end original |
440 | 406 | |
441 | 407 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
442 | 408 | |
443 | 409 | =item Assertion failed: file "%s" |
444 | 410 | |
445 | 411 | =begin original |
446 | 412 | |
447 | 413 | (P) A general assertion failed. The file in question must be examined. |
448 | 414 | |
449 | 415 | =end original |
450 | 416 | |
451 | 417 | (P) 一般的なアサーションが失敗しました。 |
452 | 418 | 問題の file を調べる必要があります。 |
453 | 419 | |
454 | 420 | =item Assignment to both a list and a scalar |
455 | 421 | |
456 | 422 | =begin original |
457 | 423 | |
458 | 424 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
459 | 425 | must either both be scalars or both be lists. Otherwise Perl won't |
460 | 426 | know which context to supply to the right side. |
461 | 427 | |
462 | 428 | =end original |
463 | 429 | |
464 | (F) 条件演算子へ代入を行なう場合には、 | |
430 | (F) 条件演算子へ代入を行なう場合には、2 つめの引数と、3 つめの引数は、 | |
465 | 431 | ともにスカラか、ともにリストでなければなりません。 |
466 | 432 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
467 | 433 | |
468 | =item | |
434 | =item Negative offset to vec in lvalue context | |
469 | 435 | |
470 | 436 | =begin original |
471 | 437 | |
472 | ( | |
438 | (F) When vec is called in an lvalue context, the second argument must be | |
473 | ||
439 | greater than or equal to zero. | |
474 | Usually it's a good idea to first collect the return values of the | |
475 | created threads by joining them, and only then exit from the main | |
476 | thread. See L<threads>. | |
477 | 440 | |
478 | 441 | =end original |
479 | 442 | |
480 | ( | |
443 | (F) 左辺値コンテキストで vec が呼び出されたとき、 | |
481 | ||
444 | 二つ目の引数は 0 以上でなければなりません。 | |
482 | 終了しました。 | |
483 | 普通は、作成したスレッドに join することで返り値を集めて、それから | |
484 | メインスレッドから終了するのがよい考えです。 | |
485 | L<threads> を参照してください。 | |
486 | 445 | |
487 | =item Attempt to access disallowed key '%s' in a restricted hash | |
488 | ||
489 | =begin original | |
490 | ||
491 | (F) The failing code has attempted to get or set a key which is not in | |
492 | the current set of allowed keys of a restricted hash. | |
493 | ||
494 | =end original | |
495 | ||
496 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して | |
497 | 取得または設定しようとして失敗しました。 | |
498 | ||
499 | =item Attempt to bless into a reference | |
500 | ||
501 | =begin original | |
502 | ||
503 | (F) The CLASSNAME argument to the bless() operator is expected to be | |
504 | the name of the package to bless the resulting object into. You've | |
505 | supplied instead a reference to something: perhaps you wrote | |
506 | ||
507 | =end original | |
508 | ||
509 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する | |
510 | パッケージ名を想定しています。 | |
511 | そこに何かへのリファレンスが与えられました: | |
512 | おそらく以下のようにしたのでしょう: | |
513 | ||
514 | bless $self, $proto; | |
515 | ||
516 | =begin original | |
517 | ||
518 | when you intended | |
519 | ||
520 | =end original | |
521 | ||
522 | 以下を意図していたはずです: | |
523 | ||
524 | bless $self, ref($proto) || $proto; | |
525 | ||
526 | =begin original | |
527 | ||
528 | If you actually want to bless into the stringified version | |
529 | of the reference supplied, you need to stringify it yourself, for | |
530 | example by: | |
531 | ||
532 | =end original | |
533 | ||
534 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 | |
535 | 以下のようにして自分で文字列化する必要があります: | |
536 | ||
537 | bless $self, "$proto"; | |
538 | ||
539 | =item Attempt to delete disallowed key '%s' from a restricted hash | |
540 | ||
541 | =begin original | |
542 | ||
543 | (F) The failing code attempted to delete from a restricted hash a key | |
544 | which is not in its key set. | |
545 | ||
546 | =end original | |
547 | ||
548 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 | |
549 | ||
550 | =item Attempt to delete readonly key '%s' from a restricted hash | |
551 | ||
552 | =begin original | |
553 | ||
554 | (F) The failing code attempted to delete a key whose value has been | |
555 | declared readonly from a restricted hash. | |
556 | ||
557 | =end original | |
558 | ||
559 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを | |
560 | 削除しようとしました。 | |
561 | ||
562 | 446 | =item Attempt to free non-arena SV: 0x%lx |
563 | 447 | |
564 | 448 | =begin original |
565 | 449 | |
566 | 450 | (P internal) All SV objects are supposed to be allocated from arenas |
567 | 451 | that will be garbage collected on exit. An SV was discovered to be |
568 | 452 | outside any of those arenas. |
569 | 453 | |
570 | 454 | =end original |
571 | 455 | |
572 | 456 | (P internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが |
573 | 457 | 行なわれるアリーナに割り当てるようになっています。 |
574 | 458 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
575 | 459 | |
576 | 460 | =item Attempt to free nonexistent shared string |
577 | 461 | |
578 | 462 | =begin original |
579 | 463 | |
580 | 464 | (P internal) Perl maintains a reference counted internal table of |
581 | 465 | strings to optimize the storage and access of hash keys and other |
582 | 466 | strings. This indicates someone tried to decrement the reference count |
583 | 467 | of a string that can no longer be found in the table. |
584 | 468 | |
585 | 469 | =end original |
586 | 470 | |
587 | (P internal) Perl はストレージおよびハッシュキーとその他の | |
471 | (P internal) Perl はストレージおよびハッシュキーとその他の | |
588 | アクセスを最適化するために、文字列の参照数テーブルを | |
472 | 文字列へのアクセスを最適化するために、文字列の参照数テーブルを | |
589 | ||
473 | 管理しています。 | |
590 | ||
474 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうと | |
475 | したことを示します。 | |
591 | 476 | |
592 | 477 | =item Attempt to free temp prematurely |
593 | 478 | |
594 | 479 | =begin original |
595 | 480 | |
596 | 481 | (W debugging) Mortalized values are supposed to be freed by the |
597 | 482 | free_tmps() routine. This indicates that something else is freeing the |
598 | 483 | SV before the free_tmps() routine gets a chance, which means that the |
599 | 484 | free_tmps() routine will be freeing an unreferenced scalar when it does |
600 | 485 | try to free it. |
601 | 486 | |
602 | 487 | =end original |
603 | 488 | |
604 | 489 | (W debugging) 消滅する値は、free_tmps() ルーティンで解放されるように |
605 | 490 | なっています。 |
606 | 491 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
607 | 492 | 解放しようとしていることを示していて、これは、free_tmps() が |
608 | 493 | 解放しようとしたときには、どこからも参照されていないスカラを |
609 | 494 | 解放することになるということです。 |
610 | 495 | |
611 | 496 | =item Attempt to free unreferenced glob pointers |
612 | 497 | |
613 | 498 | =begin original |
614 | 499 | |
615 | 500 | (P internal) The reference counts got screwed up on symbol aliases. |
616 | 501 | |
617 | 502 | =end original |
618 | 503 | |
619 | 504 | (P internal) シンボルのエイリアスについて、参照カウントの値がおかしな |
620 | 505 | 状態になりました。 |
621 | 506 | |
622 | 507 | =item Attempt to free unreferenced scalar |
623 | 508 | |
624 | 509 | =begin original |
625 | 510 | |
626 | 511 | (W internal) Perl went to decrement the reference count of a scalar to |
627 | 512 | see if it would go to 0, and discovered that it had already gone to 0 |
628 | 513 | earlier, and should have been freed, and in fact, probably was freed. |
629 | 514 | This could indicate that SvREFCNT_dec() was called too many times, or |
630 | 515 | that SvREFCNT_inc() was called too few times, or that the SV was |
631 | 516 | mortalized when it shouldn't have been, or that memory has been |
632 | 517 | corrupted. |
633 | 518 | |
634 | 519 | =end original |
635 | 520 | |
636 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
521 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
637 | 見たところ、既に 0 になっていることがわかりました | |
522 | なるかを見たところ、既に 0 になっていることがわかりました。 | |
638 | 523 | これは、既に解放されているべきものであり、実際は、おそらく、 |
639 | 524 | 解放されたものでしょう。 |
640 | 525 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
641 | 526 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
642 | 527 | メモリ異常になったことが考えられます。 |
643 | 528 | |
644 | 529 | =item Attempt to join self |
645 | 530 | |
646 | 531 | =begin original |
647 | 532 | |
648 | 533 | (F) You tried to join a thread from within itself, which is an |
649 | 534 | impossible task. You may be joining the wrong thread, or you may need |
650 | 535 | to move the join() to some other thread. |
651 | 536 | |
652 | 537 | =end original |
653 | 538 | |
654 | (F) スレッドをそれ自身の中から join しようとしました | |
539 | (F) スレッドをそれ自身の中から join しようとしました。 | |
655 | 動作です。 | |
540 | これは不可能な動作です。 | |
656 | 間違ったスレッドに join しようとしているか、 | |
541 | 間違ったスレッドに join しようとしているか、 | |
657 | スレッドに移動させる必要があります。 | |
542 | あるいは join() を他のスレッドに移動させる必要があります。 | |
658 | 543 | |
659 | 544 | =item Attempt to pack pointer to temporary value |
660 | 545 | |
661 | 546 | =begin original |
662 | 547 | |
663 | 548 | (W pack) You tried to pass a temporary value (like the result of a |
664 | 549 | function, or a computed expression) to the "p" pack() template. This |
665 | 550 | means the result contains a pointer to a location that could become |
666 | 551 | invalid anytime, even before the end of the current statement. Use |
667 | 552 | literals or global values as arguments to the "p" pack() template to |
668 | 553 | avoid this warning. |
669 | 554 | |
670 | 555 | =end original |
671 | 556 | |
672 | 557 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
673 | 558 | "p" テンプレートに渡そうとしました。 |
674 | 559 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
675 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
560 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
676 | グローバルな値を使ってください。 | |
561 | リテラルかグローバルな値を使ってください。 | |
677 | 562 | |
678 | =item Attempt to reload %s aborted. | |
679 | ||
680 | =begin original | |
681 | ||
682 | (F) You tried to load a file with C<use> or C<require> that failed to | |
683 | compile once already. Perl will not try to compile this file again | |
684 | unless you delete its entry from %INC. See L<perlfunc/require> and | |
685 | L<perlvar/%INC>. | |
686 | ||
687 | =end original | |
688 | ||
689 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で | |
690 | 読み込もうとしました。 | |
691 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを | |
692 | コンパイルしようとはしません。 | |
693 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 | |
694 | ||
695 | =item Attempt to set length of freed array | |
696 | ||
697 | =begin original | |
698 | ||
699 | (W) You tried to set the length of an array which has been freed. You | |
700 | can do this by storing a reference to the scalar representing the last index | |
701 | of an array and later assigning through that reference. For example | |
702 | ||
703 | =end original | |
704 | ||
705 | (W) 既に解放された配列の長さを設定しようとしました。 | |
706 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 | |
707 | 後でこのリファレンスを通して代入することでこれを行えます。 | |
708 | 例えば: | |
709 | ||
710 | $r = do {my @a; \$#a}; | |
711 | $$r = 503 | |
712 | ||
713 | 563 | =item Attempt to use reference as lvalue in substr |
714 | 564 | |
715 | 565 | =begin original |
716 | 566 | |
717 | 567 | (W substr) You supplied a reference as the first argument to substr() |
718 | 568 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
719 | 569 | dereference it first. See L<perlfunc/substr>. |
720 | 570 | |
721 | 571 | =end original |
722 | 572 | |
723 | 573 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
724 | 574 | 渡しました; これはやや奇妙なことです。 |
725 | 575 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
726 | 576 | L<perlfunc/substr> を参照してください。 |
727 | 577 | |
728 | =item Attribute "locked" is deprecated | |
729 | ||
730 | =begin original | |
731 | ||
732 | (D deprecated) You have used the attributes pragam to modify the "locked" | |
733 | attribute on a code reference. The :locked attribute is obsolete, has had no | |
734 | effect since 5005 threads were removed, and will be removed in the next major | |
735 | release of Perl 5. | |
736 | ||
737 | =end original | |
738 | ||
739 | (D deprecated) コードリファレンスの "locked" 属性を修正するために | |
740 | attributes プラグマを使いました。 | |
741 | :locked 属性は古いもので、5005 スレッドが削除されてから何の効果もなく、 | |
742 | 次の Perl 5 のメジャーリリースで削除されます。 | |
743 | ||
744 | =item Attribute "unique" is deprecated | |
745 | ||
746 | =begin original | |
747 | ||
748 | (D deprecated) You have used the attributes pragam to modify the "unique" | |
749 | attribute on an array, hash or scalar reference. The :unique attribute has | |
750 | had no effect since Perl 5.8.8, and will be removed in the next major | |
751 | release of Perl 5. | |
752 | ||
753 | =end original | |
754 | ||
755 | (D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を | |
756 | 修正するために attributes プラグマを使いました。 | |
757 | :unique 属性は Perl 5.8.8 から何の効果もなく、次の Perl 5 のメジャー | |
758 | リリースで削除されます。 | |
759 | ||
760 | 578 | =item Bad arg length for %s, is %d, should be %d |
761 | 579 | |
762 | 580 | =begin original |
763 | 581 | |
764 | 582 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
765 | 583 | or shmctl(). In C parlance, the correct sizes are, respectively, |
766 | 584 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
767 | 585 | S<sizeof(struct shmid_ds *)>. |
768 | 586 | |
769 | 587 | =end original |
770 | 588 | |
771 | 589 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
772 | 590 | 渡してしまいました。 |
773 | 591 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
774 | 592 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
775 | 593 | |
776 | 594 | =item Bad evalled substitution pattern |
777 | 595 | |
778 | 596 | =begin original |
779 | 597 | |
780 | (F) You've used the | |
598 | (F) You've used the /e switch to evaluate the replacement for a | |
781 | 599 | substitution, but perl found a syntax error in the code to evaluate, |
782 | 600 | most likely an unexpected right brace '}'. |
783 | 601 | |
784 | 602 | =end original |
785 | 603 | |
786 | 604 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
787 | 605 | いますが、評価するコードに文法エラーがありました; |
788 | 606 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
789 | 607 | |
790 | 608 | =item Bad filehandle: %s |
791 | 609 | |
792 | 610 | =begin original |
793 | 611 | |
794 | 612 | (F) A symbol was passed to something wanting a filehandle, but the |
795 | 613 | symbol has no filehandle associated with it. Perhaps you didn't do an |
796 | 614 | open(), or did it in another package. |
797 | 615 | |
798 | 616 | =end original |
799 | 617 | |
800 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
618 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
801 | それに伴うファイルハンドルがありません。 | |
619 | そのシンボルは、それに伴うファイルハンドルがありません。 | |
802 | 620 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
803 | 621 | |
804 | 622 | =item Bad free() ignored |
805 | 623 | |
806 | 624 | =begin original |
807 | 625 | |
808 | 626 | (S malloc) An internal routine called free() on something that had never |
809 | 627 | been malloc()ed in the first place. Mandatory, but can be disabled by |
810 | 628 | setting environment variable C<PERL_BADFREE> to 0. |
811 | 629 | |
812 | 630 | =end original |
813 | 631 | |
814 | 632 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
815 | 633 | free() を呼びました。 |
816 | 634 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
817 | 635 | |
818 | 636 | =begin original |
819 | 637 | |
820 | 638 | This message can be seen quite often with DB_File on systems with "hard" |
821 | 639 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> |
822 | 640 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
823 | 641 | |
824 | 642 | =end original |
825 | 643 | |
826 | 644 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
827 | 645 | 行うシステムで DB_File を使うとしばしば表示されます。 |
828 | 646 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
829 | 647 | C<Berkeley DB> のバグです。 |
830 | 648 | |
831 | 649 | =item Bad hash |
832 | 650 | |
833 | 651 | =begin original |
834 | 652 | |
835 | 653 | (P) One of the internal hash routines was passed a null HV pointer. |
836 | 654 | |
837 | 655 | =end original |
838 | 656 | |
839 | 657 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
840 | 658 | |
659 | =item Bad index while coercing array into hash | |
660 | ||
661 | =begin original | |
662 | ||
663 | (F) The index looked up in the hash found as the 0'th element of a | |
664 | pseudo-hash is not legal. Index values must be at 1 or greater. | |
665 | See L<perlref>. | |
666 | ||
667 | =end original | |
668 | ||
669 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の | |
670 | インデックス検索は不正です。 | |
671 | インデックスの値は 1 以上でなければなりません。 | |
672 | L<perlref> を参照してください。 | |
673 | ||
841 | 674 | =item Badly placed ()'s |
842 | 675 | |
843 | 676 | =begin original |
844 | 677 | |
845 | 678 | (A) You've accidentally run your script through B<csh> instead |
846 | 679 | of Perl. Check the #! line, or manually feed your script into |
847 | 680 | Perl yourself. |
848 | 681 | |
849 | 682 | =end original |
850 | 683 | |
851 | 684 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
852 | 685 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
853 | 686 | |
854 | 687 | =item Bad name after %s:: |
855 | 688 | |
856 | 689 | =begin original |
857 | 690 | |
858 | 691 | (F) You started to name a symbol by using a package prefix, and then |
859 | 692 | didn't finish the symbol. In particular, you can't interpolate outside |
860 | 693 | of quotes, so |
861 | 694 | |
862 | 695 | =end original |
863 | 696 | |
864 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
697 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
865 | 終了しませんでした。 | |
698 | そのシンボルが終了しませんでした。 | |
866 | 699 | 特に、クォートの外で、変数展開はできませんから、 |
867 | 700 | |
868 | 701 | $var = 'myvar'; |
869 | 702 | $sym = mypack::$var; |
870 | 703 | |
871 | 704 | =begin original |
872 | 705 | |
873 | 706 | is not the same as |
874 | 707 | |
875 | 708 | =end original |
876 | 709 | |
877 | 710 | は、以下と同じではありません。 |
878 | 711 | |
879 | 712 | $var = 'myvar'; |
880 | 713 | $sym = "mypack::$var"; |
881 | 714 | |
882 | =item Bad plugin affecting keyword '%s' | |
883 | ||
884 | =begin original | |
885 | ||
886 | (F) An extension using the keyword plugin mechanism violated the | |
887 | plugin API. | |
888 | ||
889 | =end original | |
890 | ||
891 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に | |
892 | 違反しました。 | |
893 | ||
894 | 715 | =item Bad realloc() ignored |
895 | 716 | |
896 | 717 | =begin original |
897 | 718 | |
898 | 719 | (S malloc) An internal routine called realloc() on something that had |
899 | 720 | never been malloc()ed in the first place. Mandatory, but can be disabled |
900 | 721 | by setting environment variable C<PERL_BADFREE> to 1. |
901 | 722 | |
902 | 723 | =end original |
903 | 724 | |
904 | 725 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
905 | 726 | realloc() を呼び出しました。 |
906 | 727 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
907 | 728 | |
908 | 729 | =item Bad symbol for array |
909 | 730 | |
910 | 731 | =begin original |
911 | 732 | |
912 | 733 | (P) An internal request asked to add an array entry to something that |
913 | 734 | wasn't a symbol table entry. |
914 | 735 | |
915 | 736 | =end original |
916 | 737 | |
917 | 738 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
918 | 739 | 内部要求があがりました。 |
919 | 740 | |
920 | =item Bad symbol for dirhandle | |
921 | ||
922 | =begin original | |
923 | ||
924 | (P) An internal request asked to add a dirhandle entry to something | |
925 | that wasn't a symbol table entry. | |
926 | ||
927 | =end original | |
928 | ||
929 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
930 | 登録するような内部要求があがりました。 | |
931 | ||
932 | 741 | =item Bad symbol for filehandle |
933 | 742 | |
934 | 743 | =begin original |
935 | 744 | |
936 | 745 | (P) An internal request asked to add a filehandle entry to something |
937 | 746 | that wasn't a symbol table entry. |
938 | 747 | |
939 | 748 | =end original |
940 | 749 | |
941 | 750 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
942 | 751 | 登録するような内部要求があがりました。 |
943 | 752 | |
944 | 753 | =item Bad symbol for hash |
945 | 754 | |
946 | 755 | =begin original |
947 | 756 | |
948 | 757 | (P) An internal request asked to add a hash entry to something that |
949 | 758 | wasn't a symbol table entry. |
950 | 759 | |
951 | 760 | =end original |
952 | 761 | |
953 | 762 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
954 | 763 | 登録するような内部要求があがった。 |
955 | 764 | |
956 | 765 | =item Bareword found in conditional |
957 | 766 | |
958 | 767 | =begin original |
959 | 768 | |
960 | 769 | (W bareword) The compiler found a bareword where it expected a |
961 | 770 | conditional, which often indicates that an || or && was parsed as part |
962 | 771 | of the last argument of the previous construct, for example: |
963 | 772 | |
964 | 773 | =end original |
965 | 774 | |
966 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました | |
775 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました。 | |
967 | 776 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
968 | 777 | パースされたことを意味します; 例えば: |
969 | 778 | |
970 | 779 | open FOO || die; |
971 | 780 | |
972 | 781 | =begin original |
973 | 782 | |
974 | 783 | It may also indicate a misspelled constant that has been interpreted as |
975 | 784 | a bareword: |
976 | 785 | |
977 | 786 | =end original |
978 | 787 | |
979 | 788 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
980 | 789 | 示している場合もあります: |
981 | 790 | |
982 | 791 | use constant TYPO => 1; |
983 | 792 | if (TYOP) { print "foo" } |
984 | 793 | |
985 | 794 | =begin original |
986 | 795 | |
987 | 796 | The C<strict> pragma is useful in avoiding such errors. |
988 | 797 | |
989 | 798 | =end original |
990 | 799 | |
991 | 800 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
992 | 801 | |
993 | 802 | =item Bareword "%s" not allowed while "strict subs" in use |
994 | 803 | |
995 | 804 | =begin original |
996 | 805 | |
997 | 806 | (F) With "strict subs" in use, a bareword is only allowed as a |
998 | 807 | subroutine identifier, in curly brackets or to the left of the "=>" |
999 | 808 | symbol. Perhaps you need to predeclare a subroutine? |
1000 | 809 | |
1001 | 810 | =end original |
1002 | 811 | |
1003 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
812 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
1004 | シンボル "=>" の左側でのみ許されます。 | |
813 | 中かっこの中、シンボル "=>" の左側でのみ許されます。 | |
1005 | 814 | おそらくサブルーチンを先行宣言する必要があるのでは? |
1006 | 815 | |
1007 | 816 | =item Bareword "%s" refers to nonexistent package |
1008 | 817 | |
1009 | 818 | =begin original |
1010 | 819 | |
1011 | 820 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
1012 | 821 | compiler saw no other uses of that namespace before that point. Perhaps |
1013 | 822 | you need to predeclare a package? |
1014 | 823 | |
1015 | 824 | =end original |
1016 | 825 | |
1017 | 826 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
1018 | 827 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
1019 | 828 | 発見できませんでした。 |
1020 | 829 | おそらくパッケージを専攻宣言する必要があるのでは? |
1021 | 830 | |
1022 | 831 | =item BEGIN failed--compilation aborted |
1023 | 832 | |
1024 | 833 | =begin original |
1025 | 834 | |
1026 | 835 | (F) An untrapped exception was raised while executing a BEGIN |
1027 | 836 | subroutine. Compilation stops immediately and the interpreter is |
1028 | 837 | exited. |
1029 | 838 | |
1030 | 839 | =end original |
1031 | 840 | |
1032 | (F) BEGIN サブルー | |
841 | (F) BEGIN サブルーティンの実行中にトラップ不可能な例外が発生しました。 | |
1033 | 842 | コンパイルは即座に停止し、インタプリタは中止します。 |
1034 | 843 | |
1035 | 844 | =item BEGIN not safe after errors--compilation aborted |
1036 | 845 | |
1037 | 846 | =begin original |
1038 | 847 | |
1039 | 848 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
1040 | 849 | implies a C<BEGIN {}>) after one or more compilation errors had already |
1041 | 850 | occurred. Since the intended environment for the C<BEGIN {}> could not |
1042 | 851 | be guaranteed (due to the errors), and since subsequent code likely |
1043 | 852 | depends on its correct operation, Perl just gave up. |
1044 | 853 | |
1045 | 854 | =end original |
1046 | 855 | |
1047 | 856 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
1048 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
857 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
1049 | ||
858 | 発見しました。 | |
1050 | ||
859 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、 | |
860 | 引き続くコードは正しい処理に依存していると考えられるので、 | |
861 | Perl は単に諦めました。 | |
1051 | 862 | |
1052 | 863 | =item \1 better written as $1 |
1053 | 864 | |
1054 | 865 | =begin original |
1055 | 866 | |
1056 | 867 | (W syntax) Outside of patterns, backreferences live on as variables. |
1057 | 868 | The use of backslashes is grandfathered on the right-hand side of a |
1058 | 869 | substitution, but stylistically it's better to use the variable form |
1059 | 870 | because other Perl programmers will expect it, and it works better if |
1060 | 871 | there are more than 9 backreferences. |
1061 | 872 | |
1062 | 873 | =end original |
1063 | 874 | |
1064 | 875 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1065 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
876 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
1066 | Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
877 | 他の Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
1067 | 変数形式を使う方が良いでしょう。 | |
878 | うまく動作する、変数形式を使う方が良いでしょう。 | |
1068 | 879 | |
1069 | 880 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1070 | 881 | |
1071 | 882 | =begin original |
1072 | 883 | |
1073 | 884 | (W portable) The binary number you specified is larger than 2**32-1 |
1074 | 885 | (4294967295) and therefore non-portable between systems. See |
1075 | 886 | L<perlport> for more on portability concerns. |
1076 | 887 | |
1077 | 888 | =end original |
1078 | 889 | |
1079 | 890 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1080 | 891 | システム間での移植性がありません。 |
1081 | 892 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1082 | 893 | |
1083 | 894 | =item bind() on closed socket %s |
1084 | 895 | |
1085 | 896 | =begin original |
1086 | 897 | |
1087 | 898 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1088 | 899 | check the return value of your socket() call? See L<perlfunc/bind>. |
1089 | 900 | |
1090 | 901 | =end original |
1091 | 902 | |
1092 | 903 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1093 | 904 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1094 | 905 | L<perlfunc/bind> を参照してください。 |
1095 | 906 | |
1096 | =item binmode() on closed filehandle %s | |
1097 | ||
1098 | =begin original | |
1099 | ||
1100 | (W unopened) You tried binmode() on a filehandle that was never opened. | |
1101 | Check you control flow and number of arguments. | |
1102 | ||
1103 | =end original | |
1104 | ||
1105 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 | |
1106 | 制御フローと引数の数をチェックしてください。 | |
1107 | ||
1108 | 907 | =item Bit vector size > 32 non-portable |
1109 | 908 | |
1110 | 909 | =begin original |
1111 | 910 | |
1112 | 911 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
1113 | 912 | |
1114 | 913 | =end original |
1115 | 914 | |
1116 | 915 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
1117 | 916 | |
1118 | 917 | =item Bizarre copy of %s in %s |
1119 | 918 | |
1120 | 919 | =begin original |
1121 | 920 | |
1122 | 921 | (P) Perl detected an attempt to copy an internal value that is not |
1123 | 922 | copyable. |
1124 | 923 | |
1125 | 924 | =end original |
1126 | 925 | |
1127 | 926 | (P) コピーできない内部の値をコピーしようとしました。 |
1128 | 927 | |
928 | =item B<-P> not allowed for setuid/setgid script | |
929 | ||
930 | =begin original | |
931 | ||
932 | (F) The script would have to be opened by the C preprocessor by name, | |
933 | which provides a race condition that breaks security. | |
934 | ||
935 | =end original | |
936 | ||
937 | (F) C プリプロセッサがスクリプトをオープンするときには、 | |
938 | 名前でオープンしなければいけませんが、これは、安全性を損なう競合条件を | |
939 | もたらします。 | |
940 | ||
1129 | 941 | =item Buffer overflow in prime_env_iter: %s |
1130 | 942 | |
1131 | 943 | =begin original |
1132 | 944 | |
1133 | 945 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1134 | 946 | iterate over %ENV, it encountered a logical name or symbol definition |
1135 | 947 | which was too long, so it was truncated to the string shown. |
1136 | 948 | |
1137 | 949 | =end original |
1138 | 950 | |
1139 | (W | |
951 | (W) VMS 特有の警告です。 | |
1140 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
952 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
1141 | 文字列は表示したように切り詰められました。 | |
953 | 遭遇したので、文字列は表示したように切り詰められました。 | |
1142 | 954 | |
1143 | 955 | =item Callback called exit |
1144 | 956 | |
1145 | 957 | =begin original |
1146 | 958 | |
1147 | 959 | (F) A subroutine invoked from an external package via call_sv() |
1148 | 960 | exited by calling exit. |
1149 | 961 | |
1150 | 962 | =end original |
1151 | 963 | |
1152 | (F) 外部パッケージから call_sv() で起動されたサブルー | |
964 | (F) 外部パッケージから call_sv() で起動されたサブルーティンが exit を | |
1153 | 終了しました。 | |
965 | 呼んで終了しました。 | |
1154 | 966 | |
1155 | 967 | =item %s() called too early to check prototype |
1156 | 968 | |
1157 | 969 | =begin original |
1158 | 970 | |
1159 | 971 | (W prototype) You've called a function that has a prototype before the |
1160 | 972 | parser saw a definition or declaration for it, and Perl could not check |
1161 | 973 | that the call conforms to the prototype. You need to either add an |
1162 | 974 | early prototype declaration for the subroutine in question, or move the |
1163 | 975 | subroutine definition ahead of the call to get proper prototype |
1164 | 976 | checking. Alternatively, if you are certain that you're calling the |
1165 | 977 | function correctly, you may put an ampersand before the name to avoid |
1166 | 978 | the warning. See L<perlsub>. |
1167 | 979 | |
1168 | 980 | =end original |
1169 | 981 | |
1170 | 982 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1171 | 983 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1172 | 984 | 従っているかどうかをチェックできませんでした。 |
1173 | 985 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1174 | 986 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1175 | 987 | 移動させる必要があります。 |
1176 | 988 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1177 | 989 | アンパサンドを付けることで警告を回避できます。 |
1178 | 990 | L<perlsub> を参照してください。 |
1179 | 991 | |
1180 | =item | |
992 | =item / cannot take a count | |
1181 | 993 | |
1182 | 994 | =begin original |
1183 | 995 | |
1184 | (F) | |
996 | (F) You had an unpack template indicating a counted-length string, but | |
1185 | ||
997 | you have also specified an explicit size for the string. See | |
1186 | ||
998 | L<perlfunc/pack>. | |
1187 | See L<perlfunc/pack>. | |
1188 | 999 | |
1189 | 1000 | =end original |
1190 | 1001 | |
1191 | (F) pack | |
1002 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 | |
1192 | ||
1003 | 文字列の長さも明示的に指定しています。 | |
1193 | (> 1e308) を圧縮しようとしました。 | |
1194 | 1004 | L<perlfunc/pack> を参照してください。 |
1195 | 1005 | |
1196 | =item Cannot compress negative numbers in pack | |
1197 | ||
1198 | =begin original | |
1199 | ||
1200 | (F) An argument to pack("w",...) was negative. The BER compressed integer | |
1201 | format can only be used with positive integers. See L<perlfunc/pack>. | |
1202 | ||
1203 | =end original | |
1204 | ||
1205 | (F) pack("w",...) の引数が負数です。 | |
1206 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 | |
1207 | L<perlfunc/pack> を参照してください。 | |
1208 | ||
1209 | =item Cannot convert a reference to %s to typeglob | |
1210 | ||
1211 | =begin original | |
1212 | ||
1213 | (F) You manipulated Perl's symbol table directly, stored a reference in it, | |
1214 | then tried to access that symbol via conventional Perl syntax. The access | |
1215 | triggers Perl to autovivify that typeglob, but it there is no legal conversion | |
1216 | from that type of reference to a typeglob. | |
1217 | ||
1218 | =end original | |
1219 | ||
1220 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に | |
1221 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって | |
1222 | アクセスしようとしました。 | |
1223 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 | |
1224 | リファレンス型から型グロブへの正当な変換方法はありません。 | |
1225 | ||
1226 | =item Cannot copy to %s in %s | |
1227 | ||
1228 | =begin original | |
1229 | ||
1230 | (P) Perl detected an attempt to copy a value to an internal type that cannot | |
1231 | be directly assigned not. | |
1232 | ||
1233 | =end original | |
1234 | ||
1235 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを | |
1236 | 検出しました。 | |
1237 | ||
1238 | =item Cannot find encoding "%s" | |
1239 | ||
1240 | =begin original | |
1241 | ||
1242 | (S io) You tried to apply an encoding that did not exist to a filehandle, | |
1243 | either with open() or binmode(). | |
1244 | ||
1245 | =end original | |
1246 | ||
1247 | (S io) open() または binmode() のファイルハンドルに存在しない | |
1248 | エンコーディングを適用しようとしました。 | |
1249 | ||
1250 | =item Can only compress unsigned integers in pack | |
1251 | ||
1252 | =begin original | |
1253 | ||
1254 | (F) An argument to pack("w",...) was not an integer. The BER compressed | |
1255 | integer format can only be used with positive integers, and you attempted | |
1256 | to compress something else. See L<perlfunc/pack>. | |
1257 | ||
1258 | =end original | |
1259 | ||
1260 | (F) pack("w",...) の引数が整数ではありません。 | |
1261 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを | |
1262 | 圧縮しようとしました。 | |
1263 | L<perlfunc/pack> を参照してください。 | |
1264 | ||
1265 | 1006 | =item Can't bless non-reference value |
1266 | 1007 | |
1267 | 1008 | =begin original |
1268 | 1009 | |
1269 | 1010 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1270 | 1011 | encapsulation of objects. See L<perlobj>. |
1271 | 1012 | |
1272 | 1013 | =end original |
1273 | 1014 | |
1274 | 1015 | (F) ハードリファレンスのみが bless できます。 |
1275 | 1016 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1276 | 1017 | L<perlobj> を参照してください。 |
1277 | 1018 | |
1278 | =item Can't "break" in a loop topicalizer | |
1279 | ||
1280 | =begin original | |
1281 | ||
1282 | (F) You called C<break>, but you're in a C<foreach> block rather than | |
1283 | a C<given> block. You probably meant to use C<next> or C<last>. | |
1284 | ||
1285 | =end original | |
1286 | ||
1287 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> | |
1288 | ブロック内でした。 | |
1289 | おそらく C<next> や C<last> を使いたかったのでしょう。 | |
1290 | ||
1291 | =item Can't "break" outside a given block | |
1292 | ||
1293 | =begin original | |
1294 | ||
1295 | (F) You called C<break>, but you're not inside a C<given> block. | |
1296 | ||
1297 | =end original | |
1298 | ||
1299 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 | |
1300 | ||
1301 | 1019 | =item Can't call method "%s" in empty package "%s" |
1302 | 1020 | |
1303 | 1021 | =begin original |
1304 | 1022 | |
1305 | 1023 | (F) You called a method correctly, and it correctly indicated a package |
1306 | 1024 | functioning as a class, but that package doesn't have ANYTHING defined |
1307 | 1025 | in it, let alone methods. See L<perlobj>. |
1308 | 1026 | |
1309 | 1027 | =end original |
1310 | 1028 | |
1311 | 1029 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
1312 | 1030 | 正しく示していますが、そのパッケージには、何も定義されておらず、 |
1313 | 1031 | メソッドだけになっています。 |
1314 | 1032 | L<perlobj> を参照してください。 |
1315 | 1033 | |
1316 | 1034 | =item Can't call method "%s" on an undefined value |
1317 | 1035 | |
1318 | 1036 | =begin original |
1319 | 1037 | |
1320 | 1038 | (F) You used the syntax of a method call, but the slot filled by the |
1321 | 1039 | object reference or package name contains an undefined value. Something |
1322 | 1040 | like this will reproduce the error: |
1323 | 1041 | |
1324 | 1042 | =end original |
1325 | 1043 | |
1326 | (F) メソッド呼び出しの文法が使われていますが、 | |
1044 | (F) メソッド呼び出しの文法が使われていますが、 | |
1327 | パッケージ名であるべきところが未定義値です。 | |
1045 | オブジェクトリファレンスかパッケージ名であるべきところが未定義値です。 | |
1328 | 1046 | 以下のように書くとエラーが再現します: |
1329 | 1047 | |
1330 | 1048 | $BADREF = undef; |
1331 | 1049 | process $BADREF 1,2,3; |
1332 | 1050 | $BADREF->process(1,2,3); |
1333 | 1051 | |
1334 | 1052 | =item Can't call method "%s" on unblessed reference |
1335 | 1053 | |
1336 | 1054 | =begin original |
1337 | 1055 | |
1338 | 1056 | (F) A method call must know in what package it's supposed to run. It |
1339 | 1057 | ordinarily finds this out from the object reference you supply, but you |
1340 | 1058 | didn't supply an object reference in this case. A reference isn't an |
1341 | 1059 | object reference until it has been blessed. See L<perlobj>. |
1342 | 1060 | |
1343 | 1061 | =end original |
1344 | 1062 | |
1345 | 1063 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1346 | 1064 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1347 | 1065 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1348 | 1066 | 渡されませんでした。 |
1349 | 1067 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1350 | 1068 | L<perlobj> を参照してください。 |
1351 | 1069 | |
1352 | 1070 | =item Can't call method "%s" without a package or object reference |
1353 | 1071 | |
1354 | 1072 | =begin original |
1355 | 1073 | |
1356 | 1074 | (F) You used the syntax of a method call, but the slot filled by the |
1357 | 1075 | object reference or package name contains an expression that returns a |
1358 | 1076 | defined value which is neither an object reference nor a package name. |
1359 | 1077 | Something like this will reproduce the error: |
1360 | 1078 | |
1361 | 1079 | =end original |
1362 | 1080 | |
1363 | 1081 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1364 | 1082 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1365 | 1083 | パッケージ名も返さない定義された式が書かれています。 |
1366 | ||
1084 | (おそらく、何も書いてないかもしれません。) | |
1085 | 以下のようなものは、エラーとなります: | |
1367 | 1086 | |
1368 | 1087 | $BADREF = 42; |
1369 | 1088 | process $BADREF 1,2,3; |
1370 | 1089 | $BADREF->process(1,2,3); |
1371 | 1090 | |
1372 | 1091 | =item Can't chdir to %s |
1373 | 1092 | |
1374 | 1093 | =begin original |
1375 | 1094 | |
1376 | 1095 | (F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory |
1377 | 1096 | that you can chdir to, possibly because it doesn't exist. |
1378 | 1097 | |
1379 | 1098 | =end original |
1380 | 1099 | |
1381 | (F) C<perl -x/foo/bar> のようにして起動しましたが、 | |
1100 | (F) C<perl -x/foo/bar> のようにして起動したましたが、 | |
1382 | chdir することができません | |
1101 | C</foo/bar> にchdir することができません。 | |
1102 | おそらく、存在しないのではないでしょうか。 | |
1383 | 1103 | |
1384 | 1104 | =item Can't check filesystem of script "%s" for nosuid |
1385 | 1105 | |
1386 | 1106 | =begin original |
1387 | 1107 | |
1388 | 1108 | (P) For some reason you can't check the filesystem of the script for |
1389 | 1109 | nosuid. |
1390 | 1110 | |
1391 | 1111 | =end original |
1392 | 1112 | |
1393 | 1113 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
1394 | 1114 | 調べることができません。 |
1395 | 1115 | |
1396 | 1116 | =item Can't coerce array into hash |
1397 | 1117 | |
1398 | 1118 | =begin original |
1399 | 1119 | |
1400 | 1120 | (F) You used an array where a hash was expected, but the array has no |
1401 | 1121 | information on how to map from keys to array indices. You can do that |
1402 | 1122 | only with arrays that have a hash reference at index 0. |
1403 | 1123 | |
1404 | 1124 | =end original |
1405 | 1125 | |
1406 | (F) ハッシュが想定される場所で配列を使っていますが、 | |
1126 | (F) ハッシュが想定される場所で配列を使っていますが、 | |
1407 | 添え字に変換するための情報がありません。 | |
1127 | この配列にはキーから添え字に変換するための情報がありません。 | |
1408 | 1128 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 |
1409 | 1129 | |
1410 | 1130 | =item Can't coerce %s to integer in %s |
1411 | 1131 | |
1412 | 1132 | =begin original |
1413 | 1133 | |
1414 | 1134 | (F) Certain types of SVs, in particular real symbol table entries |
1415 | 1135 | (typeglobs), can't be forced to stop being what they are. So you can't |
1416 | 1136 | say things like: |
1417 | 1137 | |
1418 | 1138 | =end original |
1419 | 1139 | |
1420 | 1140 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1421 | ||
1141 | 1 つの型に留めておくことができません。 | |
1422 | 1142 | したがって、以下のようにすることはできません: |
1423 | 1143 | |
1424 | 1144 | *foo += 1; |
1425 | 1145 | |
1426 | 1146 | =begin original |
1427 | 1147 | |
1428 | 1148 | You CAN say |
1429 | 1149 | |
1430 | 1150 | =end original |
1431 | 1151 | |
1432 | 1152 | 以下のようにはできますが: |
1433 | 1153 | |
1434 | 1154 | $foo = *foo; |
1435 | 1155 | $foo += 1; |
1436 | 1156 | |
1437 | 1157 | =begin original |
1438 | 1158 | |
1439 | 1159 | but then $foo no longer contains a glob. |
1440 | 1160 | |
1441 | 1161 | =end original |
1442 | 1162 | |
1443 | 1163 | $foo にはもはやグロブは残っていません。 |
1444 | 1164 | |
1445 | 1165 | =item Can't coerce %s to number in %s |
1446 | 1166 | |
1447 | 1167 | =begin original |
1448 | 1168 | |
1449 | 1169 | (F) Certain types of SVs, in particular real symbol table entries |
1450 | 1170 | (typeglobs), can't be forced to stop being what they are. |
1451 | 1171 | |
1452 | 1172 | =end original |
1453 | 1173 | |
1454 | 1174 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1455 | ||
1175 | 1 つの型に留めておくことができません。 | |
1456 | 1176 | |
1457 | 1177 | =item Can't coerce %s to string in %s |
1458 | 1178 | |
1459 | 1179 | =begin original |
1460 | 1180 | |
1461 | 1181 | (F) Certain types of SVs, in particular real symbol table entries |
1462 | 1182 | (typeglobs), can't be forced to stop being what they are. |
1463 | 1183 | |
1464 | 1184 | =end original |
1465 | 1185 | |
1466 | 1186 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1467 | ||
1187 | 1 つの型に留めておくことができません。 | |
1468 | 1188 | |
1469 | =item Can't "continue" outside a when block | |
1470 | ||
1471 | =begin original | |
1472 | ||
1473 | (F) You called C<continue>, but you're not inside a C<when> | |
1474 | or C<default> block. | |
1475 | ||
1476 | =end original | |
1477 | ||
1478 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの | |
1479 | 内側ではありません。 | |
1480 | ||
1481 | 1189 | =item Can't create pipe mailbox |
1482 | 1190 | |
1483 | 1191 | =begin original |
1484 | 1192 | |
1485 | 1193 | (P) An error peculiar to VMS. The process is suffering from exhausted |
1486 | 1194 | quotas or other plumbing problems. |
1487 | 1195 | |
1488 | 1196 | =end original |
1489 | 1197 | |
1490 | ( | |
1198 | (F) VMS 特有のエラーです。 | |
1491 | 1199 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
1492 | 1200 | |
1493 | 1201 | =item Can't declare class for non-scalar %s in "%s" |
1494 | 1202 | |
1495 | 1203 | =begin original |
1496 | 1204 | |
1497 | ( | |
1205 | (S) Currently, only scalar variables can declared with a specific class | |
1498 | ||
1206 | qualifier in a "my" or "our" declaration. The semantics may be extended | |
1499 | ||
1207 | for other types of variables in future. | |
1500 | 1208 | |
1501 | 1209 | =end original |
1502 | 1210 | |
1503 | ( | |
1211 | (S) 現在のところ、スカラ変数のみが "my" や "our" 定義の中で特定の | |
1504 | 1212 | クラス修飾子と共に定義できます。 |
1505 | 1213 | この動作は将来には他の種類の変数に拡張されるでしょう。 |
1506 | 1214 | |
1507 | 1215 | =item Can't declare %s in "%s" |
1508 | 1216 | |
1509 | 1217 | =begin original |
1510 | 1218 | |
1511 | (F) Only scalar, array, and hash variables may be declared as "my" | |
1219 | (F) Only scalar, array, and hash variables may be declared as "my" or | |
1512 | " | |
1220 | "our" variables. They must have ordinary identifiers as names. | |
1513 | 1221 | |
1514 | 1222 | =end original |
1515 | 1223 | |
1516 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my" | |
1224 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my" や "our" 変数として | |
1517 | 1225 | 宣言できます。 |
1518 | 1226 | これらは、名前として通常の識別子を持たなければなりません。 |
1519 | 1227 | |
1520 | 1228 | =item Can't do inplace edit: %s is not a regular file |
1521 | 1229 | |
1522 | 1230 | =begin original |
1523 | 1231 | |
1524 | 1232 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
1525 | 1233 | a file in /dev, or a FIFO. The file was ignored. |
1526 | 1234 | |
1527 | 1235 | =end original |
1528 | 1236 | |
1529 | 1237 | (S inplace) /dev や FIFO のような、特殊ファイルに対して、B<-i> スイッチを |
1530 | 1238 | 使おうとしました。 |
1531 | ||
1239 | そのファイルは、無視されました。 | |
1532 | 1240 | |
1533 | 1241 | =item Can't do inplace edit on %s: %s |
1534 | 1242 | |
1535 | 1243 | =begin original |
1536 | 1244 | |
1537 | 1245 | (S inplace) The creation of the new file failed for the indicated |
1538 | 1246 | reason. |
1539 | 1247 | |
1540 | 1248 | =end original |
1541 | 1249 | |
1542 | 1250 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
1543 | 1251 | |
1544 | 1252 | =item Can't do inplace edit without backup |
1545 | 1253 | |
1546 | 1254 | =begin original |
1547 | 1255 | |
1548 | 1256 | (F) You're on a system such as MS-DOS that gets confused if you try |
1549 | 1257 | reading from a deleted (but still opened) file. You have to say |
1550 | 1258 | C<-i.bak>, or some such. |
1551 | 1259 | |
1552 | 1260 | =end original |
1553 | 1261 | |
1554 | 1262 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると |
1555 | 1263 | おかしくなる MS-DOS のようなシステムで実行しています。 |
1556 | 1264 | C<-i.bak> のようにバックアップを指定してください。 |
1557 | 1265 | |
1558 | 1266 | =item Can't do inplace edit: %s would not be unique |
1559 | 1267 | |
1560 | 1268 | =begin original |
1561 | 1269 | |
1562 | 1270 | (S inplace) Your filesystem does not support filenames longer than 14 |
1563 | 1271 | characters and Perl was unable to create a unique filename during |
1564 | 1272 | inplace editing with the B<-i> switch. The file was ignored. |
1565 | 1273 | |
1566 | 1274 | =end original |
1567 | 1275 | |
1568 | 1276 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1569 | 1277 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1570 | 1278 | 作成ができませんでした。 |
1571 | 1279 | このファイルは無視されます。 |
1572 | 1280 | |
1573 | =item Can't do {n,m} with n > m | |
1281 | =item Can't do {n,m} with n > m before << HERE in regex m/%s/ | |
1574 | 1282 | |
1575 | 1283 | =begin original |
1576 | 1284 | |
1577 | 1285 | (F) Minima must be less than or equal to maxima. If you really want your |
1578 | regexp to match something 0 times, just put {0}. The < | |
1286 | regexp to match something 0 times, just put {0}. The << HERE shows in the | |
1579 | 1287 | regular expression about where the problem was discovered. See L<perlre>. |
1580 | 1288 | |
1581 | 1289 | =end original |
1582 | 1290 | |
1583 | 1291 | (F) 最小値は最大値以下でなければなりません。 |
1584 | 1292 | もし、本当に正規表現が 0 回繰り返したものにマッチさせたいなら、単に |
1585 | 1293 | {0} としてください。 |
1586 | < | |
1294 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
1587 | 1295 | L<perlre> を参照してください。 |
1588 | 1296 | |
1297 | =item Can't do setegid! | |
1298 | ||
1299 | =begin original | |
1300 | ||
1301 | (P) The setegid() call failed for some reason in the setuid emulator of | |
1302 | suidperl. | |
1303 | ||
1304 | =end original | |
1305 | ||
1306 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
1307 | setegid() 呼び出しが失敗しました。 | |
1308 | ||
1309 | =item Can't do seteuid! | |
1310 | ||
1311 | =begin original | |
1312 | ||
1313 | (P) The setuid emulator of suidperl failed for some reason. | |
1314 | ||
1315 | =end original | |
1316 | ||
1317 | (P) suidperl の setuid エミュレータが何らかの理由によって失敗しました。 | |
1318 | ||
1319 | =item Can't do setuid | |
1320 | ||
1321 | =begin original | |
1322 | ||
1323 | (F) This typically means that ordinary perl tried to exec suidperl to do | |
1324 | setuid emulation, but couldn't exec it. It looks for a name of the form | |
1325 | sperl5.000 in the same directory that the perl executable resides under | |
1326 | the name perl5.000, typically /usr/local/bin on Unix machines. If the | |
1327 | file is there, check the execute permissions. If it isn't, ask your | |
1328 | sysadmin why he and/or she removed it. | |
1329 | ||
1330 | =end original | |
1331 | ||
1332 | (F) このエラーは、通常、普通の perl が setuid エミュレーションのために | |
1333 | suidperl を実行しようとしましたが、実行できなかったことを意味します。 | |
1334 | 特に UNIX マシンの /usr/local/bin などでは、perl の実行ファイルが、 | |
1335 | perl5.000 という名前のときには、同じディレクトリで sperl5.000 という形式の | |
1336 | 名前を探します。 | |
1337 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 | |
1338 | 許可されていないようであれば、システム管理者の方に、わけを | |
1339 | 尋ねてみてください。 | |
1340 | ||
1589 | 1341 | =item Can't do waitpid with flags |
1590 | 1342 | |
1591 | 1343 | =begin original |
1592 | 1344 | |
1593 | 1345 | (F) This machine doesn't have either waitpid() or wait4(), so only |
1594 | 1346 | waitpid() without flags is emulated. |
1595 | 1347 | |
1596 | 1348 | =end original |
1597 | 1349 | |
1598 | 1350 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
1599 | 1351 | フラグの無い waitpid() のみがエミュレート可能です。 |
1600 | 1352 | |
1601 | 1353 | =item Can't emulate -%s on #! line |
1602 | 1354 | |
1603 | 1355 | =begin original |
1604 | 1356 | |
1605 | 1357 | (F) The #! line specifies a switch that doesn't make sense at this |
1606 | 1358 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
1607 | 1359 | line. |
1608 | 1360 | |
1609 | 1361 | =end original |
1610 | 1362 | |
1611 | 1363 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
1612 | 1364 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
1613 | 1365 | |
1614 | =item Can't %s %s-endian %ss on this platform | |
1615 | ||
1616 | =begin original | |
1617 | ||
1618 | (F) Your platform's byte-order is neither big-endian nor little-endian, | |
1619 | or it has a very strange pointer size. Packing and unpacking big- or | |
1620 | little-endian floating point values and pointers may not be possible. | |
1621 | See L<perlfunc/pack>. | |
1622 | ||
1623 | =end original | |
1624 | ||
1625 | (F) プラットフォームのバイト順序がビッグエンディアンでも | |
1626 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 | |
1627 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの | |
1628 | pack や unpack はできません。 | |
1629 | L<perlfunc/pack> を参照してください。 | |
1630 | ||
1631 | 1366 | =item Can't exec "%s": %s |
1632 | 1367 | |
1633 | 1368 | =begin original |
1634 | 1369 | |
1635 | (W exec) A system(), exec(), or piped open call could not execute the | |
1370 | (W exec) An system(), exec(), or piped open call could not execute the | |
1636 | 1371 | named program for the indicated reason. Typical reasons include: the |
1637 | 1372 | permissions were wrong on the file, the file wasn't found in |
1638 | 1373 | C<$ENV{PATH}>, the executable in question was compiled for another |
1639 | 1374 | architecture, or the #! line in a script points to an interpreter that |
1640 | 1375 | can't be run for similar reasons. (Or maybe your system doesn't support |
1641 | 1376 | #! at all.) |
1642 | 1377 | |
1643 | 1378 | =end original |
1644 | 1379 | |
1645 | 1380 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
1646 | 1381 | 呼び出しの指定されたプログラムが実行できませんでした。 |
1647 | 1382 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
1648 | 1383 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
1649 | 1384 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
1650 | 1385 | インタプリタを指している、というようなものがあります。 |
1651 | 1386 | (あるいは、このシステムで、#! がサポートされていません。) |
1652 | 1387 | |
1653 | 1388 | =item Can't exec %s |
1654 | 1389 | |
1655 | 1390 | =begin original |
1656 | 1391 | |
1657 | 1392 | (F) Perl was trying to execute the indicated program for you because |
1658 | 1393 | that's what the #! line said. If that's not what you wanted, you may |
1659 | 1394 | need to mention "perl" on the #! line somewhere. |
1660 | 1395 | |
1661 | 1396 | =end original |
1662 | 1397 | |
1663 | 1398 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
1664 | 1399 | 実行しようとしました。 |
1665 | 1400 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
1666 | 1401 | |
1667 | 1402 | =item Can't execute %s |
1668 | 1403 | |
1669 | 1404 | =begin original |
1670 | 1405 | |
1671 | 1406 | (F) You used the B<-S> switch, but the copies of the script to execute |
1672 | 1407 | found in the PATH did not have correct permissions. |
1673 | 1408 | |
1674 | 1409 | =end original |
1675 | 1410 | |
1676 | 1411 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
1677 | 1412 | 正しいパーミッションではありませんでした。 |
1678 | 1413 | |
1679 | 1414 | =item Can't find an opnumber for "%s" |
1680 | 1415 | |
1681 | 1416 | =begin original |
1682 | 1417 | |
1683 | 1418 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
1684 | 1419 | is no builtin with the name C<word>. |
1685 | 1420 | |
1686 | 1421 | =end original |
1687 | 1422 | |
1688 | 1423 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
1689 | 1424 | 名前 C<word> は組み込みではありません。 |
1690 | 1425 | |
1691 | =item Can't find %s character property "%s" | |
1692 | ||
1693 | =begin original | |
1694 | ||
1695 | (F) You used C<\p{}> or C<\P{}> but the character property by that name | |
1696 | could not be found. Maybe you misspelled the name of the property? | |
1697 | See L<perluniprops/Properties accessible through \p{} and \P{}> | |
1698 | for a complete list of available properties. | |
1699 | ||
1700 | =end original | |
1701 | ||
1702 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字プロパティは | |
1703 | 見つかりませんでした。 | |
1704 | おそらくプロパティ名をタイプミスしたのでは? | |
1705 | 利用可能なプロパティの完全なリストは | |
1706 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
1707 | 参照してください。 | |
1708 | ||
1709 | 1426 | =item Can't find label %s |
1710 | 1427 | |
1711 | 1428 | =begin original |
1712 | 1429 | |
1713 | 1430 | (F) You said to goto a label that isn't mentioned anywhere that it's |
1714 | 1431 | possible for us to go to. See L<perlfunc/goto>. |
1715 | 1432 | |
1716 | 1433 | =end original |
1717 | 1434 | |
1718 | 1435 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
1719 | 1436 | L<perlfunc/goto> を参照してください。 |
1720 | 1437 | |
1721 | 1438 | =item Can't find %s on PATH |
1722 | 1439 | |
1723 | 1440 | =begin original |
1724 | 1441 | |
1725 | 1442 | (F) You used the B<-S> switch, but the script to execute could not be |
1726 | 1443 | found in the PATH. |
1727 | 1444 | |
1728 | 1445 | =end original |
1729 | 1446 | |
1730 | 1447 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
1731 | 1448 | 見つかりませんでした。 |
1732 | 1449 | |
1733 | 1450 | =item Can't find %s on PATH, '.' not in PATH |
1734 | 1451 | |
1735 | 1452 | =begin original |
1736 | 1453 | |
1737 | 1454 | (F) You used the B<-S> switch, but the script to execute could not be |
1738 | 1455 | found in the PATH, or at least not with the correct permissions. The |
1739 | 1456 | script exists in the current directory, but PATH prohibits running it. |
1740 | 1457 | |
1741 | 1458 | =end original |
1742 | 1459 | |
1743 | 1460 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
1744 | 見つか | |
1461 | 見つかりません。あるいは少なくとも適切なパーミッションがありません。 | |
1745 | 1462 | スクリプトはカレントディレクトリにはありますが、PATH に |
1746 | 1463 | カレントディレクトリは含まれていません。 |
1747 | 1464 | |
1748 | 1465 | =item Can't find string terminator %s anywhere before EOF |
1749 | 1466 | |
1750 | 1467 | =begin original |
1751 | 1468 | |
1752 | 1469 | (F) Perl strings can stretch over multiple lines. This message means |
1753 | 1470 | that the closing delimiter was omitted. Because bracketed quotes count |
1754 | 1471 | nesting levels, the following is missing its final parenthesis: |
1755 | 1472 | |
1756 | 1473 | =end original |
1757 | 1474 | |
1758 | 1475 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
1759 | 1476 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
1760 | ||
1477 | 括弧類の区切り文字では、ネストを数えるので、以下では、最後の括弧が | |
1761 | 1478 | 無いと言われます: |
1762 | 1479 | |
1763 | 1480 | print q(The character '(' starts a side comment.); |
1764 | 1481 | |
1765 | 1482 | =begin original |
1766 | 1483 | |
1767 | 1484 | If you're getting this error from a here-document, you may have included |
1768 | 1485 | unseen whitespace before or after your closing tag. A good programmer's |
1769 | 1486 | editor will have a way to help you find these characters. |
1770 | 1487 | |
1771 | 1488 | =end original |
1772 | 1489 | |
1773 | 1490 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
1774 | 1491 | 見えない空白を含んでいるかもしれません。 |
1775 | 1492 | よいプログラマ用エディタには、このような文字を探す助けになる方法が |
1776 | 1493 | あります。 |
1777 | 1494 | |
1778 | =item Can't find | |
1495 | =item Can't find %s property definition %s | |
1779 | 1496 | |
1780 | 1497 | =begin original |
1781 | 1498 | |
1782 | (F) You may have tried to use C<\p> which means a Unicode property | |
1499 | (F) You may have tried to use C<\p> which means a Unicode property for | |
1783 | example | |
1500 | example \p{Lu} is all uppercase letters. Escape the C<\p>, either | |
1784 | ||
1501 | C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
1785 | L<perluniprops/Properties accessible through \p{} and \P{}> | |
1786 | for a complete list of available properties. | |
1787 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
1788 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
1789 | 1502 | possible C<\E>). |
1790 | 1503 | |
1791 | 1504 | =end original |
1792 | 1505 | |
1793 | (F) | |
1506 | (F) 例えば \p{Lu} が全て大文字、のように、Unicode プロパティを意味する | |
1794 | ||
1507 | C<\p> を使おうとしました。 | |
1795 | ||
1508 | C<\\p> (単に C<\p>) または C<\Q\p> (C<\E> までの残りの文字列) を使って | |
1796 | ||
1509 | C<\p> をエスケープしてください。 | |
1797 | 参照してください。 | |
1798 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
1799 | C<\Q\p> (C<\E> までの残りの文字列) を使って C<\p> を | |
1800 | エスケープしてください。 | |
1801 | 1510 | |
1802 | =item Can't fork | |
1511 | =item Can't fork | |
1803 | 1512 | |
1804 | 1513 | =begin original |
1805 | 1514 | |
1806 | 1515 | (F) A fatal error occurred while trying to fork while opening a |
1807 | 1516 | pipeline. |
1808 | 1517 | |
1809 | 1518 | =end original |
1810 | 1519 | |
1811 | 1520 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
1812 | 1521 | 致命的エラーが発生しました。 |
1813 | 1522 | |
1814 | =item Can't fork, trying again in 5 seconds | |
1815 | ||
1816 | =begin original | |
1817 | ||
1818 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried | |
1819 | after five seconds. | |
1820 | ||
1821 | =end original | |
1822 | ||
1823 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に | |
1824 | 再試行されます。 | |
1825 | ||
1826 | 1523 | =item Can't get filespec - stale stat buffer? |
1827 | 1524 | |
1828 | 1525 | =begin original |
1829 | 1526 | |
1830 | 1527 | (S) A warning peculiar to VMS. This arises because of the difference |
1831 | 1528 | between access checks under VMS and under the Unix model Perl assumes. |
1832 | 1529 | Under VMS, access checks are done by filename, rather than by bits in |
1833 | 1530 | the stat buffer, so that ACLs and other protections can be taken into |
1834 | 1531 | account. Unfortunately, Perl assumes that the stat buffer contains all |
1835 | 1532 | the necessary information, and passes it, instead of the filespec, to |
1836 | 1533 | the access checking routine. It will try to retrieve the filespec using |
1837 | 1534 | the device name and FID present in the stat buffer, but this works only |
1838 | 1535 | if you haven't made a subsequent call to the CRTL stat() routine, |
1839 | 1536 | because the device name is overwritten with each call. If this warning |
1840 | 1537 | appears, the name lookup failed, and the access checking routine gave up |
1841 | 1538 | and returned FALSE, just to be conservative. (Note: The access checking |
1842 | 1539 | routine knows about the Perl C<stat> operator and file tests, so you |
1843 | 1540 | shouldn't ever see this warning in response to a Perl command; it arises |
1844 | 1541 | only if some internal code takes stat buffers lightly.) |
1845 | 1542 | |
1846 | 1543 | =end original |
1847 | 1544 | |
1848 | (S) VMS | |
1545 | (S) VMS 特有の警告です。 | |
1849 | 1546 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
1850 | 1547 | あることによって起こります。 |
1851 | 1548 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
1852 | 1549 | 行われるので、ACL やその他の保護が考慮されます。 |
1853 | 1550 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
1854 | 1551 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
1855 | 1552 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
1856 | 1553 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
1857 | 1554 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
1858 | 1555 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
1859 | 1556 | 安全のためだけに FALSE を返します。 |
1860 | 1557 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
1861 | 1558 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
1862 | 1559 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
1863 | 1560 | 発生します。) |
1864 | 1561 | |
1865 | 1562 | =item Can't get pipe mailbox device name |
1866 | 1563 | |
1867 | 1564 | =begin original |
1868 | 1565 | |
1869 | 1566 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
1870 | 1567 | pipe, Perl can't retrieve its name for later use. |
1871 | 1568 | |
1872 | 1569 | =end original |
1873 | 1570 | |
1874 | ( | |
1571 | (F) VMS 特有のエラーです。 | |
1875 | 1572 | パイプとして働くメールボックスの作成後、後で使うための名前を |
1876 | 1573 | Perl が取得できませんでした。 |
1877 | 1574 | |
1878 | 1575 | =item Can't get SYSGEN parameter value for MAXBUF |
1879 | 1576 | |
1880 | 1577 | =begin original |
1881 | 1578 | |
1882 | 1579 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
1883 | 1580 | mailbox buffers to be, and didn't get an answer. |
1884 | 1581 | |
1885 | 1582 | =end original |
1886 | 1583 | |
1887 | ( | |
1584 | (F) VMS 特有のエラーです。 | |
1888 | 1585 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
1889 | 1586 | 問い合わせましたが、答えが得られませんでした。 |
1890 | 1587 | |
1891 | 1588 | =item Can't "goto" into the middle of a foreach loop |
1892 | 1589 | |
1893 | 1590 | =begin original |
1894 | 1591 | |
1895 | 1592 | (F) A "goto" statement was executed to jump into the middle of a foreach |
1896 | 1593 | loop. You can't get there from here. See L<perlfunc/goto>. |
1897 | 1594 | |
1898 | 1595 | =end original |
1899 | 1596 | |
1900 | 1597 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
1901 | 1598 | ここからそこへは行けません。 |
1902 | 1599 | L<perlfunc/goto> を参照してください。 |
1903 | 1600 | |
1904 | 1601 | =item Can't "goto" out of a pseudo block |
1905 | 1602 | |
1906 | 1603 | =begin original |
1907 | 1604 | |
1908 | 1605 | (F) A "goto" statement was executed to jump out of what might look like |
1909 | 1606 | a block, except that it isn't a proper block. This usually occurs if |
1910 | 1607 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
1911 | 1608 | See L<perlfunc/goto>. |
1912 | 1609 | |
1913 | 1610 | =end original |
1914 | 1611 | |
1915 | 1612 | (F) "goto" 文でブロックのように見えるけれども、適切な |
1916 | 1613 | ブロックではないところから飛び出そうとしました。 |
1917 | 1614 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
1918 | 1615 | 起きますが、それはできません。 |
1919 | 1616 | L<perlfunc/goto> を参照してください。 |
1920 | 1617 | |
1921 | =item Can't goto subroutine from a s | |
1618 | =item Can't goto subroutine from an eval-string | |
1922 | 1619 | |
1923 | 1620 | =begin original |
1924 | 1621 | |
1925 | (F) The "goto subroutine" call can't be used to jump out of the | |
1926 | comparison sub for a sort(), or from a similar callback (such | |
1927 | as the reduce() function in List::Util). | |
1928 | ||
1929 | =end original | |
1930 | ||
1931 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
1932 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
1933 | 飛び出すことはできません。 | |
1934 | ||
1935 | =item Can't goto subroutine from an eval-%s | |
1936 | ||
1937 | =begin original | |
1938 | ||
1939 | 1622 | (F) The "goto subroutine" call can't be used to jump out of an eval |
1940 | "string" o | |
1623 | "string". (You can use it to jump out of an eval {BLOCK}, but you | |
1624 | probably don't want to.) | |
1941 | 1625 | |
1942 | 1626 | =end original |
1943 | 1627 | |
1944 | (F) "goto subroutine" 呼び出しは eval "string" | |
1628 | (F) "goto subroutine" 呼び出しは eval "string" から飛び出すことは | |
1945 | ||
1629 | できません。 | |
1630 | (eval {BLOCK} から飛び出すことはできますが、多分そうしたくはないでしょう。) | |
1946 | 1631 | |
1947 | 1632 | =item Can't goto subroutine outside a subroutine |
1948 | 1633 | |
1949 | 1634 | =begin original |
1950 | 1635 | |
1951 | 1636 | (F) The deeply magical "goto subroutine" call can only replace one |
1952 | 1637 | subroutine call for another. It can't manufacture one out of whole |
1953 | 1638 | cloth. In general you should be calling it out of only an AUTOLOAD |
1954 | 1639 | routine anyway. See L<perlfunc/goto>. |
1955 | 1640 | |
1956 | 1641 | =end original |
1957 | 1642 | |
1958 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルー | |
1643 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーティン | |
1959 | 1644 | 呼び出しを別のもので置き換えるだけです。 |
1960 | 1645 | 反物の状態から作り上げることはできません。 |
1961 | 1646 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
1962 | 1647 | しておくべきです。 |
1963 | L<perlfunc/goto> を参照してください。 | |
1648 | L<perlfunc/goto> の項を参照してください。 | |
1964 | 1649 | |
1965 | 1650 | =item Can't ignore signal CHLD, forcing to default |
1966 | 1651 | |
1967 | 1652 | =begin original |
1968 | 1653 | |
1969 | 1654 | (W signal) Perl has detected that it is being run with the SIGCHLD |
1970 | 1655 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
1971 | 1656 | signal will interfere with proper determination of exit status of child |
1972 | 1657 | processes, Perl has reset the signal to its default value. This |
1973 | 1658 | situation typically indicates that the parent program under which Perl |
1974 | 1659 | may be running (e.g. cron) is being very careless. |
1975 | 1660 | |
1976 | 1661 | =end original |
1977 | 1662 | |
1978 | 1663 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
1979 | 1664 | 無効化された状態で実行されていることを検出しました。 |
1980 | 1665 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
1981 | 1666 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
1982 | 1667 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
1983 | 1668 | とても不注意であることを示しています。 |
1984 | 1669 | |
1985 | =item Can't kill a non-numeric process ID | |
1986 | ||
1987 | =begin original | |
1988 | ||
1989 | (F) Process identifiers must be (signed) integers. It is a fatal error to | |
1990 | attempt to kill() an undefined, empty-string or otherwise non-numeric | |
1991 | process identifier. | |
1992 | ||
1993 | =end original | |
1994 | ||
1995 | (F) プロセス識別子は(符号付き)整数でなければなりません。 | |
1996 | 未定義値、空文字列、その他の非数値プロセス識別子を使って | |
1997 | kill() しようとすることは致命的エラーです。 | |
1998 | ||
1999 | 1670 | =item Can't "last" outside a loop block |
2000 | 1671 | |
2001 | 1672 | =begin original |
2002 | 1673 | |
2003 | 1674 | (F) A "last" statement was executed to break out of the current block, |
2004 | 1675 | except that there's this itty bitty problem called there isn't a current |
2005 | 1676 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
2006 | 1677 | block, as doesn't a block given to sort(), map() or grep(). You can |
2007 | 1678 | usually double the curlies to get the same effect though, because the |
2008 | 1679 | inner curlies will be considered a block that loops once. See |
2009 | 1680 | L<perlfunc/last>. |
2010 | 1681 | |
2011 | 1682 | =end original |
2012 | 1683 | |
2013 | 1684 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
2014 | 1685 | 残念なことにブロックの中ではありませんでした。 |
2015 | 1686 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2016 | 1687 | 同様「ループ風」ブロックではないので、注意してください。 |
2017 | ただし、中 | |
1688 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
2018 | ||
1689 | みなされますから、同じ効果が得られます。 | |
2019 | 1690 | L<perlfunc/last> を参照してください。 |
2020 | 1691 | |
2021 | =item Can't linearize anonymous symbol table | |
2022 | ||
2023 | =begin original | |
2024 | ||
2025 | (F) Perl tried to calculate the method resolution order (MRO) of a | |
2026 | package, but failed because the package stash has no name. | |
2027 | ||
2028 | =end original | |
2029 | ||
2030 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 | |
2031 | パッケージ stash に名前がないので失敗しました。 | |
2032 | ||
2033 | =item Can't load '%s' for module %s | |
2034 | ||
2035 | =begin original | |
2036 | ||
2037 | (F) The module you tried to load failed to load a dynamic extension. This | |
2038 | may either mean that you upgraded your version of perl to one that is | |
2039 | incompatible with your old dynamic extensions (which is known to happen | |
2040 | between major versions of perl), or (more likely) that your dynamic | |
2041 | extension was built against an older version of the library that is | |
2042 | installed on your system. You may need to rebuild your old dynamic | |
2043 | extensions. | |
2044 | ||
2045 | =end original | |
2046 | ||
2047 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに | |
2048 | 失敗しました。 | |
2049 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか | |
2050 | (これは perl のメジャーバージョン間で起きることが知られています)、 | |
2051 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い | |
2052 | バージョンのライブラリに対してビルドされているかです。 | |
2053 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 | |
2054 | ||
2055 | 1692 | =item Can't localize lexical variable %s |
2056 | 1693 | |
2057 | 1694 | =begin original |
2058 | 1695 | |
2059 | 1696 | (F) You used local on a variable name that was previously declared as a |
2060 | lexical variable using "my" | |
1697 | lexical variable using "my". This is not allowed. If you want to | |
2061 | 1698 | localize a package variable of the same name, qualify it with the |
2062 | 1699 | package name. |
2063 | 1700 | |
2064 | 1701 | =end original |
2065 | 1702 | |
2066 | (F) 以前に "my" | |
1703 | (F) 以前に "my" を使ってレキシカル変数として宣言された変数名に対して | |
2067 | ||
1704 | local を使いました。 | |
2068 | 1705 | これは認められていません。 |
2069 | 1706 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
2070 | 1707 | パッケージ名で修飾してください。 |
2071 | 1708 | |
1709 | =item Can't localize pseudo-hash element | |
1710 | ||
1711 | =begin original | |
1712 | ||
1713 | (F) You said something like C<< local $ar->{'key'} >>, where $ar is a | |
1714 | reference to a pseudo-hash. That hasn't been implemented yet, but you | |
1715 | can get a similar effect by localizing the corresponding array element | |
1716 | directly -- C<< local $ar->[$ar->[0]{'key'}] >>. | |
1717 | ||
1718 | =end original | |
1719 | ||
1720 | (F) $ar が擬似ハッシュへのリファレンスのとき、C<< local $ar->{'key'} >> の | |
1721 | ようなことをしました。 | |
1722 | これはまだ実装されていませんが、対応する配列要素を直接ローカル化することで | |
1723 | 似たような効果が得られます -- C<< local $ar->[$ar->[0]{'key'}] >>。 | |
1724 | ||
2072 | 1725 | =item Can't localize through a reference |
2073 | 1726 | |
2074 | 1727 | =begin original |
2075 | 1728 | |
2076 | 1729 | (F) You said something like C<local $$ref>, which Perl can't currently |
2077 | 1730 | handle, because when it goes to restore the old value of whatever $ref |
2078 | 1731 | pointed to after the scope of the local() is finished, it can't be sure |
2079 | that $ref will still be a reference. | |
1732 | that $ref will still be a reference. | |
2080 | 1733 | |
2081 | 1734 | =end original |
2082 | 1735 | |
2083 | 1736 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
2084 | 1737 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
2085 | 1738 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
2086 | 1739 | わからないからです。 |
2087 | 1740 | |
2088 | 1741 | =item Can't locate %s |
2089 | 1742 | |
2090 | 1743 | =begin original |
2091 | 1744 | |
2092 | 1745 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be |
2093 | 1746 | found. Perl looks for the file in all the locations mentioned in @INC, |
2094 | 1747 | unless the file name included the full path to the file. Perhaps you |
2095 | 1748 | need to set the PERL5LIB or PERL5OPT environment variable to say where |
2096 | 1749 | the extra library is, or maybe the script needs to add the library name |
2097 | 1750 | to @INC. Or maybe you just misspelled the name of the file. See |
2098 | 1751 | L<perlfunc/require> and L<lib>. |
2099 | 1752 | |
2100 | 1753 | =end original |
2101 | 1754 | |
2102 | 1755 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
2103 | 1756 | 指示されましたが、見つかりませんでした。 |
2104 | 1757 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
2105 | 1758 | 全ての場所を検索します。 |
2106 | 1759 | おそらく、追加ライブラリの場所を示すために、 |
2107 | 1760 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
2108 | 1761 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
2109 | 1762 | ファイル名のスペルミスの可能性もあります。 |
2110 | 1763 | L<perlfunc/require> と L<lib> を参照してください。 |
2111 | 1764 | |
2112 | 1765 | =item Can't locate auto/%s.al in @INC |
2113 | 1766 | |
2114 | 1767 | =begin original |
2115 | 1768 | |
2116 | 1769 | (F) A function (or method) was called in a package which allows |
2117 | 1770 | autoload, but there is no function to autoload. Most probable causes |
2118 | 1771 | are a misprint in a function/method name or a failure to C<AutoSplit> |
2119 | 1772 | the file, say, by doing C<make install>. |
2120 | 1773 | |
2121 | 1774 | =end original |
2122 | 1775 | |
2123 | 1776 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
2124 | 1777 | 呼び出されましたが、オートロードする関数がありませんでした。 |
2125 | 1778 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
2126 | 1779 | することによるファイルの C<AutoSplit> の失敗です。 |
2127 | 1780 | |
2128 | =item Can't locate loadable object for module %s in @INC | |
2129 | ||
2130 | =begin original | |
2131 | ||
2132 | (F) The module you loaded is trying to load an external library, like | |
2133 | for example, C<foo.so> or C<bar.dll>, but the L<DynaLoader> module was | |
2134 | unable to locate this library. See L<DynaLoader>. | |
2135 | ||
2136 | =end original | |
2137 | ||
2138 | (F) 読み込まれたモジュールは C<foo.so> や C<bar.dll> のような外部 | |
2139 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この | |
2140 | ライブラリの位置がわかりませんでした。 | |
2141 | L<DynaLoader> を参照してください。 | |
2142 | ||
2143 | 1781 | =item Can't locate object method "%s" via package "%s" |
2144 | 1782 | |
2145 | 1783 | =begin original |
2146 | 1784 | |
2147 | 1785 | (F) You called a method correctly, and it correctly indicated a package |
2148 | 1786 | functioning as a class, but that package doesn't define that particular |
2149 | 1787 | method, nor does any of its base classes. See L<perlobj>. |
2150 | 1788 | |
2151 | 1789 | =end original |
2152 | 1790 | |
2153 | 1791 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2154 | 1792 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2155 | 1793 | 該当のメソッドが定義されていません。 |
2156 | 1794 | L<perlobj> を参照してください。 |
2157 | 1795 | |
2158 | =item | |
1796 | =item (perhaps you forgot to load "%s"?) | |
2159 | 1797 | |
2160 | 1798 | =begin original |
2161 | 1799 | |
2162 | ( | |
1800 | (F) This is an educated guess made in conjunction with the message | |
2163 | ||
1801 | "Can't locate object method \"%s\" via package \"%s\"". It often means | |
1802 | that a method requires a package that has not been loaded. | |
2164 | 1803 | |
2165 | 1804 | =end original |
2166 | 1805 | |
2167 | ( | |
1806 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の | |
2168 | ||
1807 | メッセージと共に出る教育的な推測です。 | |
1808 | これはしばしばメソッドがまだロードされていないパッケージを | |
1809 | 要求していることを意味します。 | |
2169 | 1810 | |
2170 | =item Can't locate | |
1811 | =item Can't locate package %s for @%s::ISA | |
2171 | 1812 | |
2172 | 1813 | =begin original |
2173 | 1814 | |
2174 | ( | |
1815 | (W syntax) The @ISA array contained the name of another package that | |
2175 | ||
1816 | doesn't seem to exist. | |
2176 | 1817 | |
2177 | 1818 | =end original |
2178 | 1819 | |
2179 | ( | |
1820 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 | |
2180 | ||
1821 | 存在していないようです。 | |
2181 | 1822 | |
2182 | 1823 | =item Can't make list assignment to \%ENV on this system |
2183 | 1824 | |
2184 | 1825 | =begin original |
2185 | 1826 | |
2186 | 1827 | (F) List assignment to %ENV is not supported on some systems, notably |
2187 | 1828 | VMS. |
2188 | 1829 | |
2189 | 1830 | =end original |
2190 | 1831 | |
2191 | 1832 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2192 | 1833 | 対応していません。 |
2193 | 1834 | |
2194 | 1835 | =item Can't modify %s in %s |
2195 | 1836 | |
2196 | 1837 | =begin original |
2197 | 1838 | |
2198 | 1839 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
2199 | 1840 | to change it, such as with an auto-increment. |
2200 | 1841 | |
2201 | 1842 | =end original |
2202 | 1843 | |
2203 | 1844 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
2204 | 1845 | |
2205 | 1846 | =item Can't modify nonexistent substring |
2206 | 1847 | |
2207 | 1848 | =begin original |
2208 | 1849 | |
2209 | 1850 | (P) The internal routine that does assignment to a substr() was handed |
2210 | 1851 | a NULL. |
2211 | 1852 | |
2212 | 1853 | =end original |
2213 | 1854 | |
2214 | 1855 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
2215 | 1856 | |
2216 | 1857 | =item Can't modify non-lvalue subroutine call |
2217 | 1858 | |
2218 | 1859 | =begin original |
2219 | 1860 | |
2220 | 1861 | (F) Subroutines meant to be used in lvalue context should be declared as |
2221 | 1862 | such, see L<perlsub/"Lvalue subroutines">. |
2222 | 1863 | |
2223 | 1864 | =end original |
2224 | 1865 | |
2225 | 1866 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2226 | 1867 | 宣言しなければなりません; |
2227 | 1868 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2228 | 1869 | |
2229 | 1870 | =item Can't msgrcv to read-only var |
2230 | 1871 | |
2231 | 1872 | =begin original |
2232 | 1873 | |
2233 | 1874 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2234 | 1875 | buffer. |
2235 | 1876 | |
2236 | 1877 | =end original |
2237 | 1878 | |
2238 | 1879 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2239 | 1880 | 変更可能なものでなければなりません。 |
2240 | 1881 | |
2241 | 1882 | =item Can't "next" outside a loop block |
2242 | 1883 | |
2243 | 1884 | =begin original |
2244 | 1885 | |
2245 | 1886 | (F) A "next" statement was executed to reiterate the current block, but |
2246 | 1887 | there isn't a current block. Note that an "if" or "else" block doesn't |
2247 | 1888 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2248 | 1889 | grep(). You can usually double the curlies to get the same effect |
2249 | 1890 | though, because the inner curlies will be considered a block that loops |
2250 | 1891 | once. See L<perlfunc/next>. |
2251 | 1892 | |
2252 | 1893 | =end original |
2253 | 1894 | |
2254 | 1895 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2255 | 1896 | ブロックの中ではありませんでした。 |
2256 | 1897 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2257 | 1898 | 同様「ループ風」ブロックではないので、注意してください。 |
2258 | ただし、中 | |
1899 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
2259 | ||
1900 | みなされますから、同じ効果が得られます。 | |
2260 | 1901 | L<perlfunc/next> を参照してください。 |
2261 | 1902 | |
2262 | 1903 | =item Can't open %s: %s |
2263 | 1904 | |
2264 | 1905 | =begin original |
2265 | 1906 | |
2266 | 1907 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2267 | 1908 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2268 | 1909 | switches, or explicitly, failed for the indicated reason. Usually this |
2269 | 1910 | is because you don't have read permission for a file which you named on |
2270 | 1911 | the command line. |
2271 | 1912 | |
2272 | 1913 | =end original |
2273 | 1914 | |
2274 | 1915 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2275 | 1916 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2276 | 1917 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2277 | 1918 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2278 | 1919 | |
2279 | =item Can't open a reference | |
2280 | ||
2281 | =begin original | |
2282 | ||
2283 | (W io) You tried to open a scalar reference for reading or writing, | |
2284 | using the 3-arg open() syntax : | |
2285 | ||
2286 | =end original | |
2287 | ||
2288 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは | |
2289 | 書き込みのために開こうとしました: | |
2290 | ||
2291 | open FH, '>', $ref; | |
2292 | ||
2293 | =begin original | |
2294 | ||
2295 | but your version of perl is compiled without perlio, and this form of | |
2296 | open is not supported. | |
2297 | ||
2298 | =end original | |
2299 | ||
2300 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 | |
2301 | この形式の open は対応していません。 | |
2302 | ||
2303 | 1920 | =item Can't open bidirectional pipe |
2304 | 1921 | |
2305 | 1922 | =begin original |
2306 | 1923 | |
2307 | 1924 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
2308 | 1925 | You can try any of several modules in the Perl library to do this, such |
2309 | 1926 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
2310 | 1927 | ">", and then read it in under a different file handle. |
2311 | 1928 | |
2312 | 1929 | =end original |
2313 | 1930 | |
2314 | 1931 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
2315 | 1932 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
2316 | 1933 | モジュールを使うことができます。 |
2317 | 1934 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
2318 | 1935 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
2319 | 1936 | |
2320 | 1937 | =item Can't open error file %s as stderr |
2321 | 1938 | |
2322 | 1939 | =begin original |
2323 | 1940 | |
2324 | 1941 | (F) An error peculiar to VMS. Perl does its own command line |
2325 | 1942 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
2326 | 1943 | the command line for writing. |
2327 | 1944 | |
2328 | 1945 | =end original |
2329 | 1946 | |
2330 | (F) VMS | |
1947 | (F) VMSに固有のエラーです。 | |
2331 | 1948 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2332 | 1949 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
2333 | 1950 | ファイルを開けませんでした。 |
2334 | 1951 | |
2335 | 1952 | =item Can't open input file %s as stdin |
2336 | 1953 | |
2337 | 1954 | =begin original |
2338 | 1955 | |
2339 | 1956 | (F) An error peculiar to VMS. Perl does its own command line |
2340 | 1957 | redirection, and couldn't open the file specified after '<' on the |
2341 | 1958 | command line for reading. |
2342 | 1959 | |
2343 | 1960 | =end original |
2344 | 1961 | |
2345 | (F) VMS | |
1962 | (F) VMSに固有のエラーです。 | |
2346 | 1963 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2347 | 1964 | コマンドラインで読み込みのために '<' の後に指定された |
2348 | 1965 | ファイルを開けませんでした。 |
2349 | 1966 | |
2350 | 1967 | =item Can't open output file %s as stdout |
2351 | 1968 | |
2352 | 1969 | =begin original |
2353 | 1970 | |
2354 | 1971 | (F) An error peculiar to VMS. Perl does its own command line |
2355 | 1972 | redirection, and couldn't open the file specified after '>' or '>>' on |
2356 | 1973 | the command line for writing. |
2357 | 1974 | |
2358 | 1975 | =end original |
2359 | 1976 | |
2360 | (F) VMS | |
1977 | (F) VMSに固有のエラーです。 | |
2361 | 1978 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2362 | 1979 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
2363 | 1980 | ファイルを開けませんでした。 |
2364 | 1981 | |
2365 | 1982 | =item Can't open output pipe (name: %s) |
2366 | 1983 | |
2367 | 1984 | =begin original |
2368 | 1985 | |
2369 | 1986 | (P) An error peculiar to VMS. Perl does its own command line |
2370 | 1987 | redirection, and couldn't open the pipe into which to send data destined |
2371 | 1988 | for stdout. |
2372 | 1989 | |
2373 | 1990 | =end original |
2374 | 1991 | |
2375 | (P) VMS | |
1992 | (P) VMSに固有のエラーです。 | |
2376 | 1993 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2377 | 1994 | 標準出力としてデータを送るパイプを開けませんでした。 |
2378 | 1995 | |
2379 | =item Can't open perl script%s | |
1996 | =item Can't open perl script "%s": %s | |
2380 | 1997 | |
2381 | 1998 | =begin original |
2382 | 1999 | |
2383 | 2000 | (F) The script you specified can't be opened for the indicated reason. |
2384 | 2001 | |
2385 | 2002 | =end original |
2386 | 2003 | |
2387 | 2004 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2388 | 2005 | |
2389 | =begin original | |
2390 | ||
2391 | If you're debugging a script that uses #!, and normally relies on the | |
2392 | shell's $PATH search, the -S option causes perl to do that search, so | |
2393 | you don't have to type the path or C<`which $scriptname`>. | |
2394 | ||
2395 | =end original | |
2396 | ||
2397 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に | |
2398 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 | |
2399 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 | |
2400 | ||
2401 | 2006 | =item Can't read CRTL environ |
2402 | 2007 | |
2403 | 2008 | =begin original |
2404 | 2009 | |
2405 | 2010 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2406 | 2011 | from the CRTL's internal environment array and discovered the array was |
2407 | 2012 | missing. You need to figure out where your CRTL misplaced its environ |
2408 | 2013 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2409 | 2014 | searched. |
2410 | 2015 | |
2411 | 2016 | =end original |
2412 | 2017 | |
2413 | (S) VMS | |
2018 | (S) VMSに固有の警告です。 | |
2414 | 2019 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2415 | 2020 | 配列がないことを発見しました。 |
2416 | 2021 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2417 | 2022 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2418 | 2023 | 必要があります。 |
2419 | 2024 | |
2025 | =item Can't redefine active sort subroutine %s | |
2026 | ||
2027 | =begin original | |
2028 | ||
2029 | (F) Perl optimizes the internal handling of sort subroutines and keeps | |
2030 | pointers into them. You tried to redefine one such sort subroutine when | |
2031 | it was currently active, which is not allowed. If you really want to do | |
2032 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. | |
2033 | ||
2034 | =end original | |
2035 | ||
2036 | (F) Perl はソートサブルーチンの内部操作を最適化して、 | |
2037 | そこへのポインタを保持しています。 | |
2038 | そのようなソートサブルーチンを現在アクティブな状態の時に | |
2039 | 再定義しようとしましたが、それはできません。 | |
2040 | 本当にそのようなことがしたい場合は、 | |
2041 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 | |
2042 | ||
2420 | 2043 | =item Can't "redo" outside a loop block |
2421 | 2044 | |
2422 | 2045 | =begin original |
2423 | 2046 | |
2424 | 2047 | (F) A "redo" statement was executed to restart the current block, but |
2425 | 2048 | there isn't a current block. Note that an "if" or "else" block doesn't |
2426 | 2049 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2427 | 2050 | or grep(). You can usually double the curlies to get the same effect |
2428 | 2051 | though, because the inner curlies will be considered a block that |
2429 | 2052 | loops once. See L<perlfunc/redo>. |
2430 | 2053 | |
2431 | 2054 | =end original |
2432 | 2055 | |
2433 | 2056 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2434 | 2057 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2435 | 2058 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2436 | 2059 | 同様「ループ風」ブロックではないので、注意してください。 |
2437 | ただし、中 | |
2060 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループする | |
2438 | 2061 | ブロックとみなされますから、同じ効果が得られます。 |
2439 | 2062 | L<perlfunc/redo> を参照してください。 |
2440 | 2063 | |
2441 | =item Can't remove %s: %s, skipping file | |
2064 | =item Can't remove %s: %s, skipping file | |
2442 | 2065 | |
2443 | 2066 | =begin original |
2444 | 2067 | |
2445 | 2068 | (S inplace) You requested an inplace edit without creating a backup |
2446 | 2069 | file. Perl was unable to remove the original file to replace it with |
2447 | 2070 | the modified file. The file was left unmodified. |
2448 | 2071 | |
2449 | 2072 | =end original |
2450 | 2073 | |
2451 | 2074 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2452 | 2075 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2453 | 2076 | できませんでした。 |
2454 | 2077 | ファイルは変更されずに残されます。 |
2455 | 2078 | |
2456 | 2079 | =item Can't rename %s to %s: %s, skipping file |
2457 | 2080 | |
2458 | 2081 | =begin original |
2459 | 2082 | |
2460 | 2083 | (S inplace) The rename done by the B<-i> switch failed for some reason, |
2461 | 2084 | probably because you don't have write permission to the directory. |
2462 | 2085 | |
2463 | 2086 | =end original |
2464 | 2087 | |
2465 | 2088 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 |
2466 | うまく行きませんでした | |
2089 | うまく行きませんでした。 | |
2090 | ディレクトリに書き込み権がないことも考えられます。 | |
2467 | 2091 | |
2468 | 2092 | =item Can't reopen input pipe (name: %s) in binary mode |
2469 | 2093 | |
2470 | 2094 | =begin original |
2471 | 2095 | |
2472 | 2096 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
2473 | 2097 | to reopen it to accept binary data. Alas, it failed. |
2474 | 2098 | |
2475 | 2099 | =end original |
2476 | 2100 | |
2477 | 2101 | (P) VMS に固有のエラーです。 |
2478 | 2102 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
2479 | 2103 | 再オープンしようとしました。 |
2480 | 2104 | 悲しいかな、それは失敗しました。 |
2481 | 2105 | |
2482 | =item Can't resolve method | |
2106 | =item Can't resolve method `%s' overloading `%s' in package `%s' | |
2483 | 2107 | |
2484 | 2108 | =begin original |
2485 | 2109 | |
2486 | 2110 | (F|P) Error resolving overloading specified by a method name (as opposed |
2487 | 2111 | to a subroutine reference): no such method callable via the package. If |
2488 | 2112 | method name is C<???>, this is an internal error. |
2489 | 2113 | |
2490 | 2114 | =end original |
2491 | 2115 | |
2492 | 2116 | (F|P) (サブルーチンのリファレンスではなく)メソッド名で指定された |
2493 | 2117 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
2494 | 2118 | 呼び出せません。 |
2495 | 2119 | もしメソッド名が C<???> なら、内部エラーです。 |
2496 | 2120 | |
2497 | =item Can't re | |
2121 | =item Can't reswap uid and euid | |
2498 | 2122 | |
2499 | 2123 | =begin original |
2500 | 2124 | |
2501 | ( | |
2125 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
2502 | ||
2126 | suidperl. | |
2503 | is not allowed. | |
2504 | 2127 | |
2505 | 2128 | =end original |
2506 | 2129 | |
2507 | ( | |
2130 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
2508 | ||
2131 | setreuid() 呼び出しが失敗しました。 | |
2509 | これは認められていません。 | |
2510 | 2132 | |
2511 | =item Can't return | |
2133 | =item Can't return %s from lvalue subroutine | |
2512 | 2134 | |
2513 | 2135 | =begin original |
2514 | 2136 | |
2515 | (F) | |
2137 | (F) Perl detected an attempt to return illegal lvalues (such as | |
2516 | t | |
2138 | temporary or readonly values) from a subroutine used as an lvalue. This | |
2139 | is not allowed. | |
2517 | 2140 | |
2518 | 2141 | =end original |
2519 | 2142 | |
2520 | (F) | |
2143 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や | |
2521 | ||
2144 | 読み込み専用のような)不正な左辺値が返されようとしているのを | |
2522 | ||
2145 | 検出しました。 | |
2146 | これはできません。 | |
2523 | 2147 | |
2524 | 2148 | =item Can't return %s to lvalue scalar context |
2525 | 2149 | |
2526 | 2150 | =begin original |
2527 | 2151 | |
2528 | 2152 | (F) You tried to return a complete array or hash from an lvalue subroutine, |
2529 | 2153 | but you called the subroutine in a way that made Perl think you meant |
2530 | 2154 | to return only one value. You probably meant to write parentheses around |
2531 | 2155 | the call to the subroutine, which tell Perl that the call should be in |
2532 | 2156 | list context. |
2533 | 2157 | |
2534 | 2158 | =end original |
2535 | 2159 | |
2536 | 2160 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
2537 | 2161 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
2538 | 2162 | 呼び出しました。 |
2539 | 2163 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
2540 | 2164 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
2541 | 2165 | |
2166 | =item Can't return outside a subroutine | |
2167 | ||
2168 | =begin original | |
2169 | ||
2170 | (F) The return statement was executed in mainline code, that is, where | |
2171 | there was no subroutine call to return out of. See L<perlsub>. | |
2172 | ||
2173 | =end original | |
2174 | ||
2175 | (F) return 文が、return で抜けるべきサブルーティンがない、 | |
2176 | "main" コードで実行されました。 | |
2177 | L<perlsub> を参照してください。 | |
2178 | ||
2542 | 2179 | =item Can't stat script "%s" |
2543 | 2180 | |
2544 | 2181 | =begin original |
2545 | 2182 | |
2546 | 2183 | (P) For some reason you can't fstat() the script even though you have it |
2547 | 2184 | open already. Bizarre. |
2548 | 2185 | |
2549 | 2186 | =end original |
2550 | 2187 | |
2551 | 2188 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が |
2552 | 2189 | 行なえません。困ったもんだ。 |
2553 | 2190 | |
2191 | =item Can't swap uid and euid | |
2192 | ||
2193 | =begin original | |
2194 | ||
2195 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
2196 | suidperl. | |
2197 | ||
2198 | =end original | |
2199 | ||
2200 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
2201 | setreuid() 呼び出しが失敗しました。 | |
2202 | ||
2554 | 2203 | =item Can't take log of %g |
2555 | 2204 | |
2556 | 2205 | =begin original |
2557 | 2206 | |
2558 | 2207 | (F) For ordinary real numbers, you can't take the logarithm of a |
2559 | 2208 | negative number or zero. There's a Math::Complex package that comes |
2560 | 2209 | standard with Perl, though, if you really want to do that for the |
2561 | 2210 | negative numbers. |
2562 | 2211 | |
2563 | 2212 | =end original |
2564 | 2213 | |
2565 | 2214 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
2566 | 2215 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
2567 | 2216 | Perl 標準になっている Math::Complex パッケージがあります。 |
2568 | 2217 | |
2569 | 2218 | =item Can't take sqrt of %g |
2570 | 2219 | |
2571 | 2220 | =begin original |
2572 | 2221 | |
2573 | 2222 | (F) For ordinary real numbers, you can't take the square root of a |
2574 | 2223 | negative number. There's a Math::Complex package that comes standard |
2575 | 2224 | with Perl, though, if you really want to do that. |
2576 | 2225 | |
2577 | 2226 | =end original |
2578 | 2227 | |
2579 | 2228 | (F) 通常の実数では、負数の平方根をとることはできません。 |
2580 | 2229 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
2581 | 2230 | Perl に標準で用意されています。 |
2582 | 2231 | |
2583 | 2232 | =item Can't undef active subroutine |
2584 | 2233 | |
2585 | 2234 | =begin original |
2586 | 2235 | |
2587 | 2236 | (F) You can't undefine a routine that's currently running. You can, |
2588 | 2237 | however, redefine it while it's running, and you can even undef the |
2589 | 2238 | redefined subroutine while the old routine is running. Go figure. |
2590 | 2239 | |
2591 | 2240 | =end original |
2592 | 2241 | |
2593 | 2242 | (F) 実行中のルーティンを未定義にすることはできません。 |
2594 | 2243 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
2595 | 再定義したサブルー | |
2244 | 再定義したサブルーティンを undef することさえできます。 | |
2596 | 2245 | 驚きです。 |
2597 | 2246 | |
2598 | 2247 | =item Can't unshift |
2599 | 2248 | |
2600 | 2249 | =begin original |
2601 | 2250 | |
2602 | 2251 | (F) You tried to unshift an "unreal" array that can't be unshifted, such |
2603 | 2252 | as the main Perl stack. |
2604 | 2253 | |
2605 | 2254 | =end original |
2606 | 2255 | |
2607 | 2256 | (F) Perl のメインスタックのように、unshift することのできない |
2608 | 2257 | 「実在しない」配列に対して、unshift を行なおうとしました。 |
2609 | 2258 | |
2610 | =item Can't upgrade | |
2259 | =item Can't upgrade that kind of scalar | |
2611 | 2260 | |
2612 | 2261 | =begin original |
2613 | 2262 | |
2614 | 2263 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
2615 | 2264 | into a more specialized kind of SV. The top several SV types are so |
2616 | 2265 | specialized, however, that they cannot be interconverted. This message |
2617 | 2266 | indicates that such a conversion was attempted. |
2618 | 2267 | |
2619 | 2268 | =end original |
2620 | 2269 | |
2621 | 2270 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
2622 | 2271 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
2623 | 2272 | 特殊化され過ぎて、内部変換することができません。 |
2624 | 2273 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
2625 | 2274 | |
2626 | =item Can't u | |
2275 | =item Can't upgrade to undef | |
2627 | 2276 | |
2628 | 2277 | =begin original |
2629 | 2278 | |
2630 | ( | |
2279 | (P) The undefined SV is the bottom of the totem pole, in the scheme of | |
2631 | ||
2280 | upgradability. Upgrading to undef indicates an error in the code | |
2632 | ||
2281 | calling sv_upgrade. | |
2633 | 2282 | |
2634 | 2283 | =end original |
2635 | 2284 | |
2636 | ( | |
2285 | (P) 未定義 SV は、upgrade の仕組みにおいて、階層構造の最下位に | |
2637 | ||
2286 | 位置するものです。 | |
2638 | ||
2287 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 | |
2639 | stash によって無名となります。 | |
2640 | 2288 | |
2641 | 2289 | =item Can't use an undefined value as %s reference |
2642 | 2290 | |
2643 | 2291 | =begin original |
2644 | 2292 | |
2645 | 2293 | (F) A value used as either a hard reference or a symbolic reference must |
2646 | 2294 | be a defined value. This helps to delurk some insidious errors. |
2647 | 2295 | |
2648 | 2296 | =end original |
2649 | 2297 | |
2650 | 2298 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
2651 | 2299 | 定義済みの値でなければなりません。 |
2652 | 2300 | 潜伏中のエラーを引きずり出す助けとなります。 |
2653 | 2301 | |
2654 | 2302 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
2655 | 2303 | |
2656 | 2304 | =begin original |
2657 | 2305 | |
2658 | 2306 | (F) Only hard references are allowed by "strict refs". Symbolic |
2659 | 2307 | references are disallowed. See L<perlref>. |
2660 | 2308 | |
2661 | 2309 | =end original |
2662 | 2310 | |
2663 | (F) "strict refs" | |
2311 | (F) "strict refs" では、ハードリファレンスだけが許されます。 | |
2664 | シンボリックリファレンスは許 | |
2312 | シンボリックリファレンスは、許されていません。 | |
2665 | 2313 | L<perlref> を参照してください。 |
2666 | 2314 | |
2667 | 2315 | =item Can't use %! because Errno.pm is not available |
2668 | 2316 | |
2669 | 2317 | =begin original |
2670 | 2318 | |
2671 | 2319 | (F) The first time the %! hash is used, perl automatically loads the |
2672 | 2320 | Errno.pm module. The Errno module is expected to tie the %! hash to |
2673 | 2321 | provide symbolic names for C<$!> errno values. |
2674 | 2322 | |
2675 | 2323 | =end original |
2676 | 2324 | |
2677 | 2325 | (F) 最初に %! ハッシュが使われるときに、 |
2678 | 2326 | perl は自動的に Errno.pm モジュールを読み込みます。 |
2679 | 2327 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
2680 | 2328 | %! ハッシュと tie されることになります。 |
2681 | 2329 | |
2682 | =item Can't use both '<' and '>' after type '%c' in %s | |
2683 | ||
2684 | =begin original | |
2685 | ||
2686 | (F) A type cannot be forced to have both big-endian and little-endian | |
2687 | byte-order at the same time, so this combination of modifiers is not | |
2688 | allowed. See L<perlfunc/pack>. | |
2689 | ||
2690 | =end original | |
2691 | ||
2692 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に | |
2693 | 強制することはできないので、この修飾子の組み合わせは許可されません。 | |
2694 | L<perlfunc/pack> を参照してください。 | |
2695 | ||
2696 | 2330 | =item Can't use %s for loop variable |
2697 | 2331 | |
2698 | 2332 | =begin original |
2699 | 2333 | |
2700 | 2334 | (F) Only a simple scalar variable may be used as a loop variable on a |
2701 | 2335 | foreach. |
2702 | 2336 | |
2703 | 2337 | =end original |
2704 | 2338 | |
2705 | 2339 | (F) 単純スカラ変数だけが、foreach のループ変数として |
2706 | 2340 | 使用することができます。 |
2707 | 2341 | |
2708 | =item Can't use global %s in " | |
2342 | =item Can't use global %s in "my" | |
2709 | 2343 | |
2710 | 2344 | =begin original |
2711 | 2345 | |
2712 | 2346 | (F) You tried to declare a magical variable as a lexical variable. This |
2713 | 2347 | is not allowed, because the magic can be tied to only one location |
2714 | 2348 | (namely the global variable) and it would be incredibly confusing to |
2715 | 2349 | have variables in your program that looked like magical variables but |
2716 | 2350 | weren't. |
2717 | 2351 | |
2718 | 2352 | =end original |
2719 | 2353 | |
2720 | 2354 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
2721 | これが許されていないのは、マジ | |
2355 | これが許されていないのは、マジック変数は 1 か所だけにおくことができる | |
2722 | ||
2356 | (つまりグローバル変数) からであり、マジカル変数に見えながら、 | |
2723 | そうで | |
2357 | そうでないものがプログラム中に現われると混乱の元となるためです。 | |
2724 | 2358 | |
2725 | =item Can't use '%c' in a group with different byte-order in %s | |
2726 | ||
2727 | =begin original | |
2728 | ||
2729 | (F) You attempted to force a different byte-order on a type | |
2730 | that is already inside a group with a byte-order modifier. | |
2731 | For example you cannot force little-endianness on a type that | |
2732 | is inside a big-endian group. | |
2733 | ||
2734 | =end original | |
2735 | ||
2736 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を | |
2737 | 強制しようとしました。 | |
2738 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに | |
2739 | 強制することはできません。 | |
2740 | ||
2741 | 2359 | =item Can't use "my %s" in sort comparison |
2742 | 2360 | |
2743 | 2361 | =begin original |
2744 | 2362 | |
2745 | 2363 | (F) The global variables $a and $b are reserved for sort comparisons. |
2746 | 2364 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
2747 | 2365 | and the variable had earlier been declared as a lexical variable. |
2748 | 2366 | Either qualify the sort variable with the package name, or rename the |
2749 | 2367 | lexical variable. |
2750 | 2368 | |
2751 | 2369 | =end original |
2752 | 2370 | |
2753 | 2371 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
2754 | 2372 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
2755 | 2373 | その前にレキシカル変数として宣言されています。 |
2756 | 2374 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を |
2757 | 2375 | 変更してください。 |
2758 | 2376 | |
2759 | 2377 | =item Can't use %s ref as %s ref |
2760 | 2378 | |
2761 | 2379 | =begin original |
2762 | 2380 | |
2763 | 2381 | (F) You've mixed up your reference types. You have to dereference a |
2764 | 2382 | reference of the type needed. You can use the ref() function to |
2765 | 2383 | test the type of the reference, if need be. |
2766 | 2384 | |
2767 | 2385 | =end original |
2768 | 2386 | |
2769 | 2387 | (F) リファレンス型を混同しています。 |
2770 | 2388 | 必要な型のリファレンスを被参照しなければなりません。 |
2771 | 2389 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
2772 | 2390 | |
2773 | 2391 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
2774 | 2392 | |
2775 | 2393 | =begin original |
2776 | 2394 | |
2777 | 2395 | (F) Only hard references are allowed by "strict refs". Symbolic |
2778 | 2396 | references are disallowed. See L<perlref>. |
2779 | 2397 | |
2780 | 2398 | =end original |
2781 | 2399 | |
2782 | 2400 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
2783 | 2401 | シンボリックリファレンスは許可されません。 |
2784 | 2402 | L<perlref> を参照してください。 |
2785 | 2403 | |
2786 | 2404 | =item Can't use subscript on %s |
2787 | 2405 | |
2788 | 2406 | =begin original |
2789 | 2407 | |
2790 | 2408 | (F) The compiler tried to interpret a bracketed expression as a |
2791 | 2409 | subscript. But to the left of the brackets was an expression that |
2792 | didn't look like a | |
2410 | didn't look like an array reference, or anything else subscriptable. | |
2793 | 2411 | |
2794 | 2412 | =end original |
2795 | 2413 | |
2796 | 2414 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
2797 | 2415 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
2798 | 2416 | 添字化できるもののようには見えない式です。 |
2799 | 2417 | |
2800 | 2418 | =item Can't use \%c to mean $%c in expression |
2801 | 2419 | |
2802 | 2420 | =begin original |
2803 | 2421 | |
2804 | 2422 | (W syntax) In an ordinary expression, backslash is a unary operator that |
2805 | 2423 | creates a reference to its argument. The use of backslash to indicate a |
2806 | 2424 | backreference to a matched substring is valid only as part of a regular |
2807 | 2425 | expression pattern. Trying to do this in ordinary Perl code produces a |
2808 | 2426 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
2809 | 2427 | instead. |
2810 | 2428 | |
2811 | 2429 | =end original |
2812 | 2430 | |
2813 | 2431 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
2814 | 2432 | 単項演算子です。 |
2815 | 2433 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
2816 | 2434 | 正規表現パターンの一部の場合にのみ有効です。 |
2817 | 2435 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
2818 | 2436 | 表示される値を生成します。 |
2819 | 2437 | 代わりに $1 の形を使ってください。 |
2820 | 2438 | |
2821 | =item Can't use "when" outside a topicalizer | |
2822 | ||
2823 | =begin original | |
2824 | ||
2825 | (F) You have used a when() block that is neither inside a C<foreach> | |
2826 | loop nor a C<given> block. (Note that this error is issued on exit | |
2827 | from the C<when> block, so you won't get the error if the match fails, | |
2828 | or if you use an explicit C<continue>.) | |
2829 | ||
2830 | =end original | |
2831 | ||
2832 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを | |
2833 | 使いました。 | |
2834 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに | |
2835 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは | |
2836 | 発生しません。) | |
2837 | ||
2838 | 2439 | =item Can't weaken a nonreference |
2839 | 2440 | |
2840 | 2441 | =begin original |
2841 | 2442 | |
2842 | 2443 | (F) You attempted to weaken something that was not a reference. Only |
2843 | 2444 | references can be weakened. |
2844 | 2445 | |
2845 | 2446 | =end original |
2846 | 2447 | |
2847 | 2448 | (F) リファレンスではない何かを弱めようとしました。 |
2848 | 2449 | リファレンスだけが弱めることができます。 |
2849 | 2450 | |
2850 | 2451 | =item Can't x= to read-only value |
2851 | 2452 | |
2852 | 2453 | =begin original |
2853 | 2454 | |
2854 | 2455 | (F) You tried to repeat a constant value (often the undefined value) |
2855 | 2456 | with an assignment operator, which implies modifying the value itself. |
2856 | 2457 | Perhaps you need to copy the value to a temporary, and repeat that. |
2857 | 2458 | |
2858 | 2459 | =end original |
2859 | 2460 | |
2860 | 2461 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
2861 | 2462 | 代入演算子で繰り返しを行なおうとしました。 |
2862 | 2463 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
2863 | 2464 | |
2864 | =item | |
2465 | =item chmod() mode argument is missing initial 0 | |
2865 | 2466 | |
2866 | 2467 | =begin original |
2867 | 2468 | |
2868 | (W | |
2469 | (W chmod) A novice will sometimes say | |
2869 | 2470 | |
2870 | 2471 | =end original |
2871 | 2472 | |
2872 | (W | |
2473 | (W chmod) 初心者は以下のように書くことがあります: | |
2873 | 2474 | |
2874 | | |
2475 | chmod 777, $filename | |
2875 | 2476 | |
2876 | 2477 | =begin original |
2877 | 2478 | |
2878 | ||
2479 | not realizing that 777 will be interpreted as a decimal number, | |
2879 | ||
2480 | equivalent to 01411. Octal constants are introduced with a leading 0 in | |
2880 | ||
2481 | Perl, as in C. | |
2881 | 2482 | |
2882 | 2483 | =end original |
2883 | 2484 | |
2884 | ||
2485 | というふうに、777 が 01411 に等しい 10 進数であることに気付かないで | |
2885 | ||
2486 | 使うことがあります。 | |
2886 | ||
2487 | Perl では、8 進数の定数は、C と同じように、先頭に 0 を付けて表わします。 | |
2887 | それで、Perl は以下のように意味しているかのように振舞います: | |
2888 | 2488 | |
2889 | pack("C", $x & 255) | |
2890 | ||
2891 | =begin original | |
2892 | ||
2893 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
2894 | instead. | |
2895 | ||
2896 | =end original | |
2897 | ||
2898 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
2899 | 使ってください。 | |
2900 | ||
2901 | =item Character in 'W' format wrapped in pack | |
2902 | ||
2903 | =begin original | |
2904 | ||
2905 | (W pack) You said | |
2906 | ||
2907 | =end original | |
2908 | ||
2909 | (W pack) 以下のように書きましたが: | |
2910 | ||
2911 | pack("U0W", $x) | |
2912 | ||
2913 | =begin original | |
2914 | ||
2915 | where $x is either less than 0 or more than 255. However, C<U0>-mode expects | |
2916 | all values to fall in the interval [0, 255], so Perl behaved as if you | |
2917 | meant: | |
2918 | ||
2919 | =end original | |
2920 | ||
2921 | $x が 0 より小さいか 255 より大きいです。 | |
2922 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
2923 | Perl は以下のように振る舞います: | |
2924 | ||
2925 | pack("U0W", $x & 255) | |
2926 | ||
2927 | =item Character in 'c' format wrapped in pack | |
2928 | ||
2929 | =begin original | |
2930 | ||
2931 | (W pack) You said | |
2932 | ||
2933 | =end original | |
2934 | ||
2935 | (W pack) 以下のように書きましたが: | |
2936 | ||
2937 | pack("c", $x) | |
2938 | ||
2939 | =begin original | |
2940 | ||
2941 | where $x is either less than -128 or more than 127; the C<"c"> format | |
2942 | is only for encoding native operating system characters (ASCII, EBCDIC, | |
2943 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
2944 | ||
2945 | =end original | |
2946 | ||
2947 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは | |
2948 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
2949 | 対応していて、Unicode 文字は対応していません; | |
2950 | それで、Perl は以下のように意味しているかのように振舞います: | |
2951 | ||
2952 | pack("c", $x & 255); | |
2953 | ||
2954 | =begin original | |
2955 | ||
2956 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
2957 | instead. | |
2958 | ||
2959 | =end original | |
2960 | ||
2961 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
2962 | 使ってください。 | |
2963 | ||
2964 | =item Character in '%c' format wrapped in unpack | |
2965 | ||
2966 | =begin original | |
2967 | ||
2968 | (W unpack) You tried something like | |
2969 | ||
2970 | =end original | |
2971 | ||
2972 | (W unpack) 以下のようなことをしましたが: | |
2973 | ||
2974 | unpack("H", "\x{2a1}") | |
2975 | ||
2976 | =begin original | |
2977 | ||
2978 | where the format expects to process a byte (a character with a value | |
2979 | below 256), but a higher value was provided instead. Perl uses the value | |
2980 | modulus 256 instead, as if you had provided: | |
2981 | ||
2982 | =end original | |
2983 | ||
2984 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 | |
2985 | 文字の中により大きな値のものがあります。 | |
2986 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
2987 | 値として使います: | |
2988 | ||
2989 | unpack("H", "\x{a1}") | |
2990 | ||
2991 | =item Character(s) in '%c' format wrapped in pack | |
2992 | ||
2993 | =begin original | |
2994 | ||
2995 | (W pack) You tried something like | |
2996 | ||
2997 | =end original | |
2998 | ||
2999 | (W pack) 以下のようなことをしましたが: | |
3000 | ||
3001 | pack("u", "\x{1f3}b") | |
3002 | ||
3003 | =begin original | |
3004 | ||
3005 | where the format expects to process a sequence of bytes (character with a | |
3006 | value below 256), but some of the characters had a higher value. Perl | |
3007 | uses the character values modulus 256 instead, as if you had provided: | |
3008 | ||
3009 | =end original | |
3010 | ||
3011 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3012 | 文字の中により大きな値のものがあります。 | |
3013 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3014 | 値として使います: | |
3015 | ||
3016 | pack("u", "\x{f3}b") | |
3017 | ||
3018 | =item Character(s) in '%c' format wrapped in unpack | |
3019 | ||
3020 | =begin original | |
3021 | ||
3022 | (W unpack) You tried something like | |
3023 | ||
3024 | =end original | |
3025 | ||
3026 | (W unpack) 以下のようなことをしましたが: | |
3027 | ||
3028 | unpack("s", "\x{1f3}b") | |
3029 | ||
3030 | =begin original | |
3031 | ||
3032 | where the format expects to process a sequence of bytes (character with a | |
3033 | value below 256), but some of the characters had a higher value. Perl | |
3034 | uses the character values modulus 256 instead, as if you had provided: | |
3035 | ||
3036 | =end original | |
3037 | ||
3038 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3039 | 文字の中により大きな値のものがあります。 | |
3040 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3041 | 値として使います: | |
3042 | ||
3043 | unpack("s", "\x{f3}b") | |
3044 | ||
3045 | 2489 | =item close() on unopened filehandle %s |
3046 | 2490 | |
3047 | 2491 | =begin original |
3048 | 2492 | |
3049 | 2493 | (W unopened) You tried to close a filehandle that was never opened. |
3050 | 2494 | |
3051 | 2495 | =end original |
3052 | 2496 | |
3053 | 2497 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
3054 | 2498 | |
3055 | =item closedir() attempted on invalid dirhandle %s | |
3056 | ||
3057 | =begin original | |
3058 | ||
3059 | (W io) The dirhandle you tried to close is either closed or not really | |
3060 | a dirhandle. Check your control flow. | |
3061 | ||
3062 | =end original | |
3063 | ||
3064 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には | |
3065 | ディレクトリハンドルではありません。 | |
3066 | 制御フローをチェックしてください。 | |
3067 | ||
3068 | =item Code missing after '/' | |
3069 | ||
3070 | =begin original | |
3071 | ||
3072 | (F) You had a (sub-)template that ends with a '/'. There must be another | |
3073 | template code following the slash. See L<perlfunc/pack>. | |
3074 | ||
3075 | =end original | |
3076 | ||
3077 | (F) テンプレートが '/' で終わっています。 | |
3078 | スラッシュの後には他のテンプレートコードが必須です。 | |
3079 | L<perlfunc/pack> を参照してください。 | |
3080 | ||
3081 | 2499 | =item %s: Command not found |
3082 | 2500 | |
3083 | 2501 | =begin original |
3084 | 2502 | |
3085 | 2503 | (A) You've accidentally run your script through B<csh> instead of Perl. |
3086 | 2504 | Check the #! line, or manually feed your script into Perl yourself. |
3087 | 2505 | |
3088 | 2506 | =end original |
3089 | 2507 | |
3090 | 2508 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
3091 | 2509 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
3092 | 2510 | |
3093 | 2511 | =item Compilation failed in require |
3094 | 2512 | |
3095 | 2513 | =begin original |
3096 | 2514 | |
3097 | 2515 | (F) Perl could not compile a file specified in a C<require> statement. |
3098 | 2516 | Perl uses this generic message when none of the errors that it |
3099 | 2517 | encountered were severe enough to halt compilation immediately. |
3100 | 2518 | |
3101 | 2519 | =end original |
3102 | 2520 | |
3103 | 2521 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
3104 | 2522 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
3105 | 2523 | ときに、この一般的なメッセージを使います。 |
3106 | 2524 | |
3107 | 2525 | =item Complex regular subexpression recursion limit (%d) exceeded |
3108 | 2526 | |
3109 | 2527 | =begin original |
3110 | 2528 | |
3111 | 2529 | (W regexp) The regular expression engine uses recursion in complex |
3112 | 2530 | situations where back-tracking is required. Recursion depth is limited |
3113 | 2531 | to 32766, or perhaps less in architectures where the stack cannot grow |
3114 | 2532 | arbitrarily. ("Simple" and "medium" situations are handled without |
3115 | 2533 | recursion and are not subject to a limit.) Try shortening the string |
3116 | 2534 | under examination; looping in Perl code (e.g. with C<while>) rather than |
3117 | 2535 | in the regular expression engine; or rewriting the regular expression so |
3118 | 2536 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
3119 | 2537 | on I<Mastering Regular Expressions>.) |
3120 | 2538 | |
3121 | 2539 | =end original |
3122 | 2540 | |
3123 | 2541 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
3124 | 2542 | 再帰を使用します。 |
3125 | 2543 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
3126 | 2544 | おそらくもっと小さい値に制限されています。 |
3127 | 2545 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
3128 | 2546 | ありません。) |
3129 | 2547 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
3130 | 2548 | (C<while> などの) Perl コードを使ってループするか、 |
3131 | 2549 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
3132 | 2550 | 書き換えてください。 |
3133 | 2551 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
3134 | 2552 | 参照してください。) |
3135 | 2553 | |
3136 | =item cond_broadcast() called on unlocked variable | |
3137 | ||
3138 | =begin original | |
3139 | ||
3140 | (W threads) Within a thread-enabled program, you tried to call | |
3141 | cond_broadcast() on a variable which wasn't locked. The cond_broadcast() | |
3142 | function is used to wake up another thread that is waiting in a | |
3143 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
3144 | has a chance to enter the wait, it is usual for the signaling thread to | |
3145 | first wait for a lock on variable. This lock attempt will only succeed | |
3146 | after the other thread has entered cond_wait() and thus relinquished the | |
3147 | lock. | |
3148 | ||
3149 | =end original | |
3150 | ||
3151 | (W threads) スレッドが有効になっているプログラムで、ロックされていない | |
3152 | 変数に対して cond_broadcast() を呼び出そうとしました。 | |
3153 | cond_broadcast() 関数は cond_wait() で待ち状態になっている他のスレッドを | |
3154 | 起こすために使います。 | |
3155 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
3156 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
3157 | 入るのが普通です。 | |
3158 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
3159 | 手放した場合にのみ成功します。 | |
3160 | ||
3161 | =item cond_signal() called on unlocked variable | |
3162 | ||
3163 | =begin original | |
3164 | ||
3165 | (W threads) Within a thread-enabled program, you tried to call | |
3166 | cond_signal() on a variable which wasn't locked. The cond_signal() | |
3167 | function is used to wake up another thread that is waiting in a | |
3168 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
3169 | has a chance to enter the wait, it is usual for the signaling thread to | |
3170 | first wait for a lock on variable. This lock attempt will only succeed | |
3171 | after the other thread has entered cond_wait() and thus relinquished the | |
3172 | lock. | |
3173 | ||
3174 | =end original | |
3175 | ||
3176 | (W threads) スレッドが有効になっているプログラムで、ロックされていない | |
3177 | 変数に対して cond_signal() を呼び出そうとしました。 | |
3178 | cond_signal() 関数は cond_wait() で待ち状態になっている他のスレッドを | |
3179 | 起こすために使います。 | |
3180 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
3181 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
3182 | 入るのが普通です。 | |
3183 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
3184 | 手放した場合にのみ成功します。 | |
3185 | ||
3186 | 2554 | =item connect() on closed socket %s |
3187 | 2555 | |
3188 | 2556 | =begin original |
3189 | 2557 | |
3190 | 2558 | (W closed) You tried to do a connect on a closed socket. Did you forget |
3191 | 2559 | to check the return value of your socket() call? See |
3192 | 2560 | L<perlfunc/connect>. |
3193 | 2561 | |
3194 | 2562 | =end original |
3195 | 2563 | |
3196 | 2564 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
3197 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 | |
2565 | socket() の呼び出し時に、返却値のチェックを忘れたたのではありませんか。 | |
3198 | 2566 | L<perlfunc/connect> を参照してください。 |
3199 | 2567 | |
3200 | 2568 | =item Constant(%s)%s: %s |
3201 | 2569 | |
3202 | 2570 | =begin original |
3203 | 2571 | |
3204 | 2572 | (F) The parser found inconsistencies either while attempting to define |
3205 | 2573 | an overloaded constant, or when trying to find the character name |
3206 | 2574 | specified in the C<\N{...}> escape. Perhaps you forgot to load the |
3207 | 2575 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and |
3208 | 2576 | L<overload>. |
3209 | 2577 | |
3210 | 2578 | =end original |
3211 | 2579 | |
3212 | 2580 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 |
3213 | C<\N{...}> エスケープで指定された文字名 | |
2581 | C<\N{...}> エスケープで指定された文字名を探そうとしたときに | |
3214 | 発見しました。 | |
2582 | 非一貫性を発見しました。 | |
3215 | 2583 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを |
3216 | 2584 | 忘れたのでは? |
3217 | 2585 | L<charnames> と L<overload> を参照してください。 |
3218 | 2586 | |
3219 | =item Constant(%s)%s: %s in regex; marked by <-- HERE in m/%s/ | |
3220 | ||
3221 | =begin original | |
3222 | ||
3223 | (F) The parser found inconsistencies while attempting to find | |
3224 | the character name specified in the C<\N{...}> escape. Perhaps you | |
3225 | forgot to load the corresponding C<charnames> pragma? | |
3226 | See L<charnames>. | |
3227 | ||
3228 | =end original | |
3229 | ||
3230 | (F) パーサが、C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
3231 | 発見しました。 | |
3232 | おそらく対応する C<charnames> プラグマの読み込みを忘れたのでは? | |
3233 | L<charnames> を参照してください。 | |
3234 | ||
3235 | 2587 | =item Constant is not %s reference |
3236 | 2588 | |
3237 | 2589 | =begin original |
3238 | 2590 | |
3239 | 2591 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
3240 | 2592 | is being dereferenced, but it amounts to the wrong type of reference. |
3241 | 2593 | The message indicates the type of reference that was expected. This |
3242 | 2594 | usually indicates a syntax error in dereferencing the constant value. |
3243 | 2595 | See L<perlsub/"Constant Functions"> and L<constant>. |
3244 | 2596 | |
3245 | 2597 | =end original |
3246 | 2598 | |
3247 | 2599 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
3248 | 2600 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
3249 | 2601 | このメッセージは想定されたリファレンスの型を示しています。 |
3250 | 2602 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
3251 | 2603 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
3252 | 2604 | |
3253 | 2605 | =item Constant subroutine %s redefined |
3254 | 2606 | |
3255 | 2607 | =begin original |
3256 | 2608 | |
3257 | (S) You redefined a subroutine which had previously been | |
2609 | (S|W redefine) You redefined a subroutine which had previously been | |
3258 | 2610 | eligible for inlining. See L<perlsub/"Constant Functions"> for |
3259 | 2611 | commentary and workarounds. |
3260 | 2612 | |
3261 | 2613 | =end original |
3262 | 2614 | |
3263 | (S) 以前にインライン化できる形であったサブルーチンを | |
2615 | (S|W redefine) 以前にインライン化できる形であったサブルーチンを | |
3264 | 2616 | 再定義しました。 |
3265 | 2617 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3266 | 2618 | 参照してください。 |
3267 | 2619 | |
3268 | 2620 | =item Constant subroutine %s undefined |
3269 | 2621 | |
3270 | 2622 | =begin original |
3271 | 2623 | |
3272 | 2624 | (W misc) You undefined a subroutine which had previously been eligible |
3273 | 2625 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
3274 | 2626 | workarounds. |
3275 | 2627 | |
3276 | 2628 | =end original |
3277 | 2629 | |
3278 | 2630 | (W misc)以前にインライン化できる形であったサブルーチンを |
3279 | 2631 | 未定義化しました。 |
3280 | 2632 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3281 | 2633 | 参照してください。 |
3282 | 2634 | |
3283 | 2635 | =item Copy method did not return a reference |
3284 | 2636 | |
3285 | 2637 | =begin original |
3286 | 2638 | |
3287 | (F) The method which overloads "=" is buggy. See | |
2639 | (F) The method which overloads "=" is buggy. See | |
3288 | 2640 | L<overload/Copy Constructor>. |
3289 | 2641 | |
3290 | 2642 | =end original |
3291 | 2643 | |
3292 | 2644 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
3293 | 2645 | L<overload/Copy Constructor> を参照してください。 |
3294 | 2646 | |
3295 | 2647 | =item CORE::%s is not a keyword |
3296 | 2648 | |
3297 | 2649 | =begin original |
3298 | 2650 | |
3299 | 2651 | (F) The CORE:: namespace is reserved for Perl keywords. |
3300 | 2652 | |
3301 | 2653 | =end original |
3302 | 2654 | |
3303 | 2655 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
3304 | 2656 | |
3305 | 2657 | =item corrupted regexp pointers |
3306 | 2658 | |
3307 | 2659 | =begin original |
3308 | 2660 | |
3309 | 2661 | (P) The regular expression engine got confused by what the regular |
3310 | 2662 | expression compiler gave it. |
3311 | 2663 | |
3312 | 2664 | =end original |
3313 | 2665 | |
3314 | 2666 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
3315 | 2667 | 処理できなくなりました。 |
3316 | 2668 | |
3317 | 2669 | =item corrupted regexp program |
3318 | 2670 | |
3319 | 2671 | =begin original |
3320 | 2672 | |
3321 | 2673 | (P) The regular expression engine got passed a regexp program without a |
3322 | 2674 | valid magic number. |
3323 | 2675 | |
3324 | 2676 | =end original |
3325 | 2677 | |
3326 | 2678 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
3327 | 2679 | regexp プログラムを渡しました。 |
3328 | 2680 | |
3329 | 2681 | =item Corrupt malloc ptr 0x%lx at 0x%lx |
3330 | 2682 | |
3331 | 2683 | =begin original |
3332 | 2684 | |
3333 | 2685 | (P) The malloc package that comes with Perl had an internal failure. |
3334 | 2686 | |
3335 | 2687 | =end original |
3336 | 2688 | |
3337 | 2689 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
3338 | 2690 | |
3339 | =item C | |
2691 | =item C<-p> destination: %s | |
3340 | 2692 | |
3341 | 2693 | =begin original |
3342 | 2694 | |
3343 | (F) | |
2695 | (F) An error occurred during the implicit output invoked by the C<-p> | |
3344 | ||
2696 | command-line switch. (This output goes to STDOUT unless you've | |
3345 | ||
2697 | redirected it with select().) | |
3346 | 2698 | |
3347 | 2699 | =end original |
3348 | 2700 | |
3349 | (F) | |
2701 | (F) C<-p> コマンドラインオプションで起動された | |
3350 | ||
2702 | 暗黙の出力中にエラーが発生しました。 | |
3351 | ||
2703 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
3352 | 2704 | |
2705 | =item C<-T> and C<-B> not implemented on filehandles | |
2706 | ||
2707 | =begin original | |
2708 | ||
2709 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
2710 | know about your kind of stdio. You'll have to use a filename instead. | |
2711 | ||
2712 | =end original | |
2713 | ||
2714 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
2715 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
2716 | 代わりにファイル名を使わなければなりません。 | |
2717 | ||
3353 | 2718 | =item Deep recursion on subroutine "%s" |
3354 | 2719 | |
3355 | 2720 | =begin original |
3356 | 2721 | |
3357 | 2722 | (W recursion) This subroutine has called itself (directly or indirectly) |
3358 | 2723 | 100 times more than it has returned. This probably indicates an |
3359 | 2724 | infinite recursion, unless you're writing strange benchmark programs, in |
3360 | 2725 | which case it indicates something else. |
3361 | 2726 | |
3362 | 2727 | =end original |
3363 | 2728 | |
3364 | (W recursion) このサブルー | |
2729 | (W recursion) このサブルーティンは、(直接、間接に) 自分自身の呼び出しを、 | |
3365 | 2730 | return より 100 回多く行ないました。 |
3366 | 2731 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
3367 | 可能性があります | |
2732 | 可能性があります。 | |
2733 | ベンチマークを書いている場合には、別のことを示しています。 | |
3368 | 2734 | |
3369 | =begin original | |
3370 | ||
3371 | This threshold can be changed from 100, by recompiling the F<perl> binary, | |
3372 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. | |
3373 | ||
3374 | =end original | |
3375 | ||
3376 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に | |
3377 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 | |
3378 | ||
3379 | 2735 | =item defined(@array) is deprecated |
3380 | 2736 | |
3381 | 2737 | =begin original |
3382 | 2738 | |
3383 | 2739 | (D deprecated) defined() is not usually useful on arrays because it |
3384 | 2740 | checks for an undefined I<scalar> value. If you want to see if the |
3385 | array is empty, just use C<if (@array) { # not empty }> for example. | |
2741 | array is empty, just use C<if (@array) { # not empty }> for example. | |
3386 | 2742 | |
3387 | 2743 | =end original |
3388 | 2744 | |
3389 | 2745 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に |
3390 | 2746 | 使っても普通は無意味です。 |
3391 | 2747 | 配列が空かどうかを調べたい場合は、例えば単に |
3392 | 2748 | C<if (@array) { # not empty }> としてください。 |
3393 | 2749 | |
3394 | 2750 | =item defined(%hash) is deprecated |
3395 | 2751 | |
3396 | 2752 | =begin original |
3397 | 2753 | |
3398 | 2754 | (D deprecated) defined() is not usually useful on hashes because it |
3399 | 2755 | checks for an undefined I<scalar> value. If you want to see if the hash |
3400 | is empty, just use C<if (%hash) { # not empty }> for example. | |
2756 | is empty, just use C<if (%hash) { # not empty }> for example. | |
3401 | 2757 | |
3402 | 2758 | =end original |
3403 | 2759 | |
3404 | 2760 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに |
3405 | 2761 | 使っても普通は無意味です。 |
3406 | 2762 | ハッシュが空かどうかを調べたい場合は、例えば単に |
3407 | 2763 | C<if (%hash) { # not empty }> としてください。 |
3408 | 2764 | |
3409 | =item %s defines neither package nor VERSION--version check failed | |
3410 | ||
3411 | =begin original | |
3412 | ||
3413 | (F) You said something like "use Module 42" but in the Module file | |
3414 | there are neither package declarations nor a C<$VERSION>. | |
3415 | ||
3416 | =end original | |
3417 | ||
3418 | (F) "use Module 42" のようなことをしましたが、Module ファイルに | |
3419 | パッケージ定義がないか、C<$VERSION> がありませんでした。 | |
3420 | ||
3421 | 2765 | =item Delimiter for here document is too long |
3422 | 2766 | |
3423 | 2767 | =begin original |
3424 | 2768 | |
3425 | 2769 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
3426 | 2770 | long for Perl to handle. You have to be seriously twisted to write code |
3427 | 2771 | that triggers this error. |
3428 | 2772 | |
3429 | 2773 | =end original |
3430 | 2774 | |
3431 | 2775 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
3432 | 2776 | Perl が扱うには長すぎました。 |
3433 | 2777 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
3434 | 2778 | |
3435 | =item Deprecated character(s) in \\N{...} starting at '%s' | |
3436 | ||
3437 | =begin original | |
3438 | ||
3439 | (D deprecated) Just about anything is legal for the C<...> in C<\N{...}>. | |
3440 | But starting in 5.12, non-reasonable ones that don't look like names are | |
3441 | deprecated. A reasonable name begins with an alphabetic character and | |
3442 | continues with any combination of alphanumerics, dashes, spaces, parentheses or | |
3443 | colons. | |
3444 | ||
3445 | =end original | |
3446 | ||
3447 | (D deprecated) C<\N{...}> の C<...> は何でも正当です。 | |
3448 | しかし 5.12 から、名前のように見えない正当でないものは廃止予定です。 | |
3449 | 正当な名前は英字で始まって英数字、ダッシュ、空白、かっこ、コロンが | |
3450 | 引き続くものです。 | |
3451 | ||
3452 | =item Deprecated use of my() in false conditional | |
3453 | ||
3454 | =begin original | |
3455 | ||
3456 | (D deprecated) You used a declaration similar to C<my $x if 0>. | |
3457 | There has been a long-standing bug in Perl that causes a lexical variable | |
3458 | not to be cleared at scope exit when its declaration includes a false | |
3459 | conditional. Some people have exploited this bug to achieve a kind of | |
3460 | static variable. Since we intend to fix this bug, we don't want people | |
3461 | relying on this behavior. You can achieve a similar static effect by | |
3462 | declaring the variable in a separate block outside the function, eg | |
3463 | ||
3464 | =end original | |
3465 | ||
3466 | (D deprecated) C<my $x if 0> のような定義を行いました。 | |
3467 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が | |
3468 | クリアされないという、Perl に長い間存在したバグです。 | |
3469 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
3470 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
3471 | ほしくありません。 | |
3472 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
3473 | 達成できます; 例えば: | |
3474 | ||
3475 | sub f { my $x if 0; return $x++ } | |
3476 | ||
3477 | =begin original | |
3478 | ||
3479 | becomes | |
3480 | ||
3481 | =end original | |
3482 | ||
3483 | これは以下のようにします: | |
3484 | ||
3485 | { my $x; sub f { return $x++ } } | |
3486 | ||
3487 | =begin original | |
3488 | ||
3489 | Beginning with perl 5.9.4, you can also use C<state> variables to | |
3490 | have lexicals that are initialized only once (see L<feature>): | |
3491 | ||
3492 | =end original | |
3493 | ||
3494 | perl 5.9.4 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
3495 | 使えます (L<feature> を参照してください): | |
3496 | ||
3497 | sub f { state $x; return $x++ } | |
3498 | ||
3499 | =item DESTROY created new reference to dead object '%s' | |
3500 | ||
3501 | =begin original | |
3502 | ||
3503 | (F) A DESTROY() method created a new reference to the object which is | |
3504 | just being DESTROYed. Perl is confused, and prefers to abort rather than | |
3505 | to create a dangling reference. | |
3506 | ||
3507 | =end original | |
3508 | ||
3509 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの | |
3510 | 新しいリファレンスを作りました。 | |
3511 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 | |
3512 | ||
3513 | 2779 | =item Did not produce a valid header |
3514 | 2780 | |
3515 | 2781 | =begin original |
3516 | 2782 | |
3517 | 2783 | See Server error. |
3518 | 2784 | |
3519 | 2785 | =end original |
3520 | 2786 | |
3521 | 2787 | "Server error" を参照してください。 |
3522 | 2788 | |
3523 | 2789 | =item %s did not return a true value |
3524 | 2790 | |
3525 | 2791 | =begin original |
3526 | 2792 | |
3527 | 2793 | (F) A required (or used) file must return a true value to indicate that |
3528 | 2794 | it compiled correctly and ran its initialization code correctly. It's |
3529 | 2795 | traditional to end such a file with a "1;", though any true value would |
3530 | 2796 | do. See L<perlfunc/require>. |
3531 | 2797 | |
3532 | 2798 | =end original |
3533 | 2799 | |
3534 | 2800 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
3535 | 2801 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
3536 | 2802 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
3537 | 2803 | 真となる値であれば、何でもかまいません。 |
3538 | 2804 | L<perlfunc/require> を参照してください。 |
3539 | 2805 | |
3540 | 2806 | =item (Did you mean &%s instead?) |
3541 | 2807 | |
3542 | 2808 | =begin original |
3543 | 2809 | |
3544 | 2810 | (W) You probably referred to an imported subroutine &FOO as $FOO or some |
3545 | 2811 | such. |
3546 | 2812 | |
3547 | 2813 | =end original |
3548 | 2814 | |
3549 | 2815 | おそらく import したサブルーチン &FOO を $FOO として |
3550 | 2816 | 参照したようなことでしょう。 |
3551 | 2817 | |
3552 | 2818 | =item (Did you mean "local" instead of "our"?) |
3553 | 2819 | |
3554 | 2820 | =begin original |
3555 | 2821 | |
3556 | 2822 | (W misc) Remember that "our" does not localize the declared global |
3557 | 2823 | variable. You have declared it again in the same lexical scope, which |
3558 | 2824 | seems superfluous. |
3559 | 2825 | |
3560 | 2826 | =end original |
3561 | 2827 | |
3562 | 2828 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを |
3563 | 2829 | 忘れないで下さい。 |
3564 | 2830 | これをもう一度同じレキシカルスコープで宣言していますが、 |
3565 | 2831 | 不必要でしょう。 |
3566 | 2832 | |
3567 | 2833 | =item (Did you mean $ or @ instead of %?) |
3568 | 2834 | |
3569 | 2835 | =begin original |
3570 | 2836 | |
3571 | 2837 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
3572 | 2838 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
3573 | 2839 | carried away. |
3574 | 2840 | |
3575 | 2841 | =end original |
3576 | 2842 | |
3577 | 2843 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
3578 | 2844 | したのでしょう。 |
3579 | 2845 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
3580 | 2846 | |
3581 | 2847 | =item Died |
3582 | 2848 | |
3583 | 2849 | =begin original |
3584 | 2850 | |
3585 | 2851 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
3586 | 2852 | you called it with no args and both C<$@> and C<$_> were empty. |
3587 | 2853 | |
3588 | 2854 | =end original |
3589 | 2855 | |
3590 | 2856 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
3591 | 2857 | 呼び出して、C<$@> と C<$_> が空でした。 |
3592 | 2858 | |
3593 | 2859 | =item Document contains no data |
3594 | 2860 | |
3595 | 2861 | =begin original |
3596 | 2862 | |
3597 | 2863 | See Server error. |
3598 | 2864 | |
3599 | 2865 | =end original |
3600 | 2866 | |
3601 | 2867 | "Server error" を参照してください。 |
3602 | 2868 | |
3603 | =item %s does not define %s::VERSION--version check failed | |
3604 | ||
3605 | =begin original | |
3606 | ||
3607 | (F) You said something like "use Module 42" but the Module did not | |
3608 | define a C<$VERSION.> | |
3609 | ||
3610 | =end original | |
3611 | ||
3612 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を | |
3613 | 定義していません。 | |
3614 | ||
3615 | =item '/' does not take a repeat count | |
3616 | ||
3617 | =begin original | |
3618 | ||
3619 | (F) You cannot put a repeat count of any kind right after the '/' code. | |
3620 | See L<perlfunc/pack>. | |
3621 | ||
3622 | =end original | |
3623 | ||
3624 | (F) '/' の直後には繰り返し数を指定できません。 | |
3625 | L<perlfunc/pack> を参照してください。 | |
3626 | ||
3627 | 2869 | =item Don't know how to handle magic of type '%s' |
3628 | 2870 | |
3629 | 2871 | =begin original |
3630 | 2872 | |
3631 | 2873 | (P) The internal handling of magical variables has been cursed. |
3632 | 2874 | |
3633 | 2875 | =end original |
3634 | 2876 | |
3635 | (P) マジ | |
2877 | (P) マジック変数の内部処理がおかしくなっています。 | |
3636 | 2878 | |
3637 | 2879 | =item do_study: out of memory |
3638 | 2880 | |
3639 | 2881 | =begin original |
3640 | 2882 | |
3641 | 2883 | (P) This should have been caught by safemalloc() instead. |
3642 | 2884 | |
3643 | 2885 | =end original |
3644 | 2886 | |
3645 | 2887 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
3646 | 2888 | |
3647 | 2889 | =item (Do you need to predeclare %s?) |
3648 | 2890 | |
3649 | 2891 | =begin original |
3650 | 2892 | |
3651 | (S | |
2893 | (S) This is an educated guess made in conjunction with the message "%s | |
3652 | ||
2894 | found where operator expected". It often means a subroutine or module | |
3653 | 2895 | name is being referenced that hasn't been declared yet. This may be |
3654 | 2896 | because of ordering problems in your file, or because of a missing |
3655 | 2897 | "sub", "package", "require", or "use" statement. If you're referencing |
3656 | 2898 | something that isn't defined yet, you don't actually have to define the |
3657 | 2899 | subroutine or package before the current location. You can use an empty |
3658 | 2900 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
3659 | 2901 | |
3660 | 2902 | =end original |
3661 | 2903 | |
3662 | (S | |
2904 | (S) これは "%s found where operator expected" メッセージと共に | |
3663 | 2905 | 表示される教育的な推測です。 |
3664 | 2906 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
3665 | 2907 | ことを意味します。 |
3666 | 2908 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
3667 | 2909 | "use" 文がないためであったりします。 |
3668 | 2910 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
3669 | 2911 | サブルーチンやパッケージを定義する必要はありません。 |
3670 | 2912 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
3671 | 2913 | |
3672 | =item dump() better written as CORE::dump() | |
3673 | ||
3674 | =begin original | |
3675 | ||
3676 | (W misc) You used the obsolescent C<dump()> built-in function, without fully | |
3677 | qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>. | |
3678 | ||
3679 | =end original | |
3680 | ||
3681 | (W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と | |
3682 | いうように完全修飾せずに使いました。 | |
3683 | おそらくこれはタイプミスです。 | |
3684 | L<perlfunc/dump> を参照してください。 | |
3685 | ||
3686 | =item dump is not supported | |
3687 | ||
3688 | =begin original | |
3689 | ||
3690 | (F) Your machine doesn't support dump/undump. | |
3691 | ||
3692 | =end original | |
3693 | ||
3694 | (F) このマシンは dump/undump に対応していません。 | |
3695 | ||
3696 | 2914 | =item Duplicate free() ignored |
3697 | 2915 | |
3698 | 2916 | =begin original |
3699 | 2917 | |
3700 | 2918 | (S malloc) An internal routine called free() on something that had |
3701 | 2919 | already been freed. |
3702 | 2920 | |
3703 | 2921 | =end original |
3704 | 2922 | |
3705 | 2923 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
3706 | 2924 | 行なおうとしました。 |
3707 | 2925 | |
3708 | =item Duplicate modifier '%c' after '%c' in %s | |
3709 | ||
3710 | =begin original | |
3711 | ||
3712 | (W) You have applied the same modifier more than once after a type | |
3713 | in a pack template. See L<perlfunc/pack>. | |
3714 | ||
3715 | =end original | |
3716 | ||
3717 | (W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
3718 | L<perlfunc/pack> を参照してください。 | |
3719 | ||
3720 | 2926 | =item elseif should be elsif |
3721 | 2927 | |
3722 | 2928 | =begin original |
3723 | 2929 | |
3724 | (S | |
2930 | (S) There is no keyword "elseif" in Perl because Larry thinks it's ugly. | |
3725 | ||
2931 | Your code will be interpreted as an attempt to call a method named | |
3726 | 2932 | "elseif" for the class returned by the following block. This is |
3727 | 2933 | unlikely to be what you want. |
3728 | 2934 | |
3729 | 2935 | =end original |
3730 | 2936 | |
3731 | 2937 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
3732 | 2938 | ありません。 |
3733 | 2939 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
3734 | 2940 | 呼び出そうとしていると解釈されます。 |
3735 | 2941 | これは望んでいることではないはずです。 |
3736 | 2942 | |
3737 | =item Empty %s | |
3738 | ||
3739 | =begin original | |
3740 | ||
3741 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as | |
3742 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in | |
3743 | a regular expression without specifying the property name. | |
3744 | ||
3745 | =end original | |
3746 | ||
3747 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 | |
3748 | 名前付き Unicode プロパティを導入するために使われます。 | |
3749 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
3750 | ||
3751 | 2943 | =item entering effective %s failed |
3752 | 2944 | |
3753 | 2945 | =begin original |
3754 | 2946 | |
3755 | 2947 | (F) While under the C<use filetest> pragma, switching the real and |
3756 | 2948 | effective uids or gids failed. |
3757 | 2949 | |
3758 | 2950 | =end original |
3759 | 2951 | |
3760 | 2952 | (F) C<use filetest> プラグマを使っている間に、 |
3761 | 2953 | 実と実効の UID や GID の切り替えに失敗しました。 |
3762 | 2954 | |
3763 | =item %ENV is aliased to %s | |
3764 | ||
3765 | =begin original | |
3766 | ||
3767 | (F) You're running under taint mode, and the C<%ENV> variable has been | |
3768 | aliased to another hash, so it doesn't reflect anymore the state of the | |
3769 | program's environment. This is potentially insecure. | |
3770 | ||
3771 | =end original | |
3772 | ||
3773 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに | |
3774 | なっているので、これ以上プログラムの環境の状態を反映しません。 | |
3775 | これは潜在的にはセキュアではありません。 | |
3776 | ||
3777 | 2955 | =item Error converting file specification %s |
3778 | 2956 | |
3779 | 2957 | =begin original |
3780 | 2958 | |
3781 | 2959 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
3782 | 2960 | specifications in either VMS or Unix syntax, it converts them to a |
3783 | 2961 | single form when it must operate on them directly. Either you've passed |
3784 | 2962 | an invalid file specification to Perl, or you've found a case the |
3785 | 2963 | conversion routines don't handle. Drat. |
3786 | 2964 | |
3787 | 2965 | =end original |
3788 | 2966 | |
3789 | 2967 | (F) VMS に固有のエラーです。 |
3790 | 2968 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
3791 | 2969 | 直接操作しなければならない場合は変換します。 |
3792 | 2970 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
3793 | 2971 | 発見したかです。 |
3794 | 2972 | ちぇっ。 |
3795 | 2973 | |
3796 | 2974 | =item %s: Eval-group in insecure regular expression |
3797 | 2975 | |
3798 | 2976 | =begin original |
3799 | 2977 | |
3800 | 2978 | (F) Perl detected tainted data when trying to compile a regular |
3801 | 2979 | expression that contains the C<(?{ ... })> zero-width assertion, which |
3802 | 2980 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
3803 | 2981 | |
3804 | 2982 | =end original |
3805 | 2983 | |
3806 | 2984 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
3807 | 2985 | したときに、Perl は汚染されたデータを検出しました; |
3808 | 2986 | これは安全ではありません。 |
3809 | 2987 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
3810 | 2988 | |
3811 | =item %s: Eval-group not allowed at runtime | |
2989 | =item %s: Eval-group not allowed at run time | |
3812 | 2990 | |
3813 | 2991 | =begin original |
3814 | 2992 | |
3815 | 2993 | (F) Perl tried to compile a regular expression containing the |
3816 | 2994 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
3817 | 2995 | pattern contains interpolated values. Since that is a security risk, it |
3818 | 2996 | is not allowed. If you insist, you may still do this by explicitly |
3819 | 2997 | building the pattern from an interpolated string at run time and using |
3820 | 2998 | that in an eval(). See L<perlre/(?{ code })>. |
3821 | 2999 | |
3822 | 3000 | =end original |
3823 | 3001 | |
3824 | 3002 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
3825 | 3003 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
3826 | 3004 | これはセキュリティ上の危険があるので、許可されていません。 |
3827 | 3005 | どうしても実行したい場合は、実行時に変数展開された文字列から |
3828 | 3006 | パターンを作成して、それを eval() の中で使うことで実行できます。 |
3829 | 3007 | L<perlre/(?{ code })> を参照してください。 |
3830 | 3008 | |
3831 | 3009 | =item %s: Eval-group not allowed, use re 'eval' |
3832 | 3010 | |
3833 | 3011 | =begin original |
3834 | 3012 | |
3835 | 3013 | (F) A regular expression contained the C<(?{ ... })> zero-width |
3836 | 3014 | assertion, but that construct is only allowed when the C<use re 'eval'> |
3837 | 3015 | pragma is in effect. See L<perlre/(?{ code })>. |
3838 | 3016 | |
3839 | 3017 | =end original |
3840 | 3018 | |
3841 | 3019 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
3842 | 3020 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
3843 | 3021 | L<perlre/(?{ code })> を参照してください。 |
3844 | 3022 | |
3845 | =item EVAL without pos change exceeded limit in regex; marked by <-- HERE in m/%s/ | |
3846 | ||
3847 | =begin original | |
3848 | ||
3849 | (F) You used a pattern that nested too many EVAL calls without consuming | |
3850 | any text. Restructure the pattern so that text is consumed. | |
3851 | ||
3852 | =end original | |
3853 | ||
3854 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる | |
3855 | パターンを使いました。 | |
3856 | テキストを読み込むようにパターンを再構築してください。 | |
3857 | ||
3858 | =begin original | |
3859 | ||
3860 | The <-- HERE shows in the regular expression about where the problem was | |
3861 | discovered. | |
3862 | ||
3863 | =end original | |
3864 | ||
3865 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
3866 | ||
3867 | 3023 | =item Excessively long <> operator |
3868 | 3024 | |
3869 | 3025 | =begin original |
3870 | 3026 | |
3871 | 3027 | (F) The contents of a <> operator may not exceed the maximum size of a |
3872 | 3028 | Perl identifier. If you're just trying to glob a long list of |
3873 | 3029 | filenames, try using the glob() operator, or put the filenames into a |
3874 | 3030 | variable and glob that. |
3875 | 3031 | |
3876 | 3032 | =end original |
3877 | 3033 | |
3878 | 3034 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
3879 | 3035 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
3880 | 3036 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
3881 | 3037 | |
3882 | =item | |
3038 | =item Execution of %s aborted due to compilation errors | |
3883 | 3039 | |
3884 | 3040 | =begin original |
3885 | 3041 | |
3886 | (F) The C<exec> function is not implemented in MacPerl. See L<perlport>. | |
3887 | ||
3888 | =end original | |
3889 | ||
3890 | (F) C<exec> 関数は MacPerl には実装されていません。 | |
3891 | L<perlport> を参照してください。 | |
3892 | ||
3893 | =item Execution of %s aborted due to compilation errors. | |
3894 | ||
3895 | =begin original | |
3896 | ||
3897 | 3042 | (F) The final summary message when a Perl compilation fails. |
3898 | 3043 | |
3899 | 3044 | =end original |
3900 | 3045 | |
3901 | 3046 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
3902 | 3047 | |
3903 | 3048 | =item Exiting eval via %s |
3904 | 3049 | |
3905 | 3050 | =begin original |
3906 | 3051 | |
3907 | 3052 | (W exiting) You are exiting an eval by unconventional means, such as a |
3908 | 3053 | goto, or a loop control statement. |
3909 | 3054 | |
3910 | 3055 | =end original |
3911 | 3056 | |
3912 | 3057 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
3913 | 3058 | |
3914 | 3059 | =item Exiting format via %s |
3915 | 3060 | |
3916 | 3061 | =begin original |
3917 | 3062 | |
3918 | (W exiting) You are exiting a | |
3063 | (W exiting) You are exiting an eval by unconventional means, such as a | |
3919 | 3064 | goto, or a loop control statement. |
3920 | 3065 | |
3921 | 3066 | =end original |
3922 | 3067 | |
3923 | (W exiting) goto やループ制御文といった、異例な形で | |
3068 | (W exiting) goto やループ制御文といった、異例な形で eval を終了しました。 | |
3924 | 終了しました。 | |
3925 | 3069 | |
3926 | 3070 | =item Exiting pseudo-block via %s |
3927 | 3071 | |
3928 | 3072 | =begin original |
3929 | 3073 | |
3930 | 3074 | (W exiting) You are exiting a rather special block construct (like a |
3931 | 3075 | sort block or subroutine) by unconventional means, such as a goto, or a |
3932 | 3076 | loop control statement. See L<perlfunc/sort>. |
3933 | 3077 | |
3934 | 3078 | =end original |
3935 | 3079 | |
3936 | 3080 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
3937 | 3081 | goto やループ制御文といった異例な方法で終了しました。 |
3938 | 3082 | L<perlfunc/sort> を参照してください。 |
3939 | 3083 | |
3940 | 3084 | =item Exiting subroutine via %s |
3941 | 3085 | |
3942 | 3086 | =begin original |
3943 | 3087 | |
3944 | 3088 | (W exiting) You are exiting a subroutine by unconventional means, such |
3945 | 3089 | as a goto, or a loop control statement. |
3946 | 3090 | |
3947 | 3091 | =end original |
3948 | 3092 | |
3949 | (W exiting) goto やループ制御文など、おかしな方法でサブルー | |
3093 | (W exiting) goto やループ制御文など、おかしな方法でサブルーティンを | |
3950 | 3094 | 抜けました。 |
3951 | 3095 | |
3952 | 3096 | =item Exiting substitution via %s |
3953 | 3097 | |
3954 | 3098 | =begin original |
3955 | 3099 | |
3956 | 3100 | (W exiting) You are exiting a substitution by unconventional means, such |
3957 | 3101 | as a return, a goto, or a loop control statement. |
3958 | 3102 | |
3959 | 3103 | =end original |
3960 | 3104 | |
3961 | 3105 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
3962 | 3106 | 抜けました。 |
3963 | 3107 | |
3964 | 3108 | =item Explicit blessing to '' (assuming package main) |
3965 | 3109 | |
3966 | 3110 | =begin original |
3967 | 3111 | |
3968 | 3112 | (W misc) You are blessing a reference to a zero length string. This has |
3969 | 3113 | the effect of blessing the reference into the package main. This is |
3970 | 3114 | usually not what you want. Consider providing a default target package, |
3971 | 3115 | e.g. bless($ref, $p || 'MyPackage'); |
3972 | 3116 | |
3973 | 3117 | =end original |
3974 | 3118 | |
3975 | 3119 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
3976 | 3120 | これはリファレンスをパッケージ main に bless する効果があります。 |
3977 | 3121 | これは普通あなたが望んでいることではありません。 |
3978 | 3122 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
3979 | 3123 | パッケージを提供することを考慮してください; |
3980 | 3124 | |
3981 | 3125 | =item %s: Expression syntax |
3982 | 3126 | |
3983 | 3127 | =begin original |
3984 | 3128 | |
3985 | 3129 | (A) You've accidentally run your script through B<csh> instead of Perl. |
3986 | 3130 | Check the #! line, or manually feed your script into Perl yourself. |
3987 | 3131 | |
3988 | 3132 | =end original |
3989 | 3133 | |
3990 | 3134 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
3991 | 3135 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
3992 | 3136 | |
3993 | 3137 | =item %s failed--call queue aborted |
3994 | 3138 | |
3995 | 3139 | =begin original |
3996 | 3140 | |
3997 | (F) An untrapped exception was raised while executing a | |
3141 | (F) An untrapped exception was raised while executing a CHECK, INIT, or | |
3998 | ||
3142 | END subroutine. Processing of the remainder of the queue of such | |
3999 | ||
3143 | routines has been prematurely ended. | |
4000 | 3144 | |
4001 | 3145 | =end original |
4002 | 3146 | |
4003 | (F) | |
3147 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない例外が | |
4004 | ||
3148 | 発生しました。 | |
4005 | 3149 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
4006 | 3150 | |
4007 | =item | |
3151 | =item false [] range "%s" in regexp | |
4008 | 3152 | |
4009 | 3153 | =begin original |
4010 | 3154 | |
4011 | 3155 | (W regexp) A character class range must start and end at a literal |
4012 | character, not another character class like C<\d> or C<[:alpha:]>. The | |
3156 | character, not another character class like C<\d> or C<[:alpha:]>. The | |
4013 | in your false range is interpreted as a literal "-". Consider | |
3157 | "-" in your false range is interpreted as a literal "-". Consider | |
4014 | "-", "\-". | |
3158 | quoting the "-", "\-". See L<perlre>. | |
4015 | problem was discovered. See L<perlre>. | |
4016 | 3159 | |
4017 | 3160 | =end original |
4018 | 3161 | |
4019 | 3162 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような |
4020 | 3163 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
4021 | 3164 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
4022 | 3165 | "-" を "\-" とクォートすることを考慮してください。 |
4023 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
4024 | 3166 | L<perlre> を参照してください。 |
4025 | 3167 | |
4026 | 3168 | =item Fatal VMS error at %s, line %d |
4027 | 3169 | |
4028 | 3170 | =begin original |
4029 | 3171 | |
4030 | 3172 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
4031 | 3173 | system service or RTL routine; Perl's exit status should provide more |
4032 | 3174 | details. The filename in "at %s" and the line number in "line %d" tell |
4033 | 3175 | you which section of the Perl source code is distressed. |
4034 | 3176 | |
4035 | 3177 | =end original |
4036 | 3178 | |
4037 | 3179 | (P) VMS に固有のエラーです。 |
4038 | 3180 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
4039 | 3181 | Perl の終了コードに詳細が示されています。 |
4040 | 3182 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
4041 | 3183 | Perl ソースコードの位置を示しています。 |
4042 | 3184 | |
4043 | 3185 | =item fcntl is not implemented |
4044 | 3186 | |
4045 | 3187 | =begin original |
4046 | 3188 | |
4047 | 3189 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
4048 | 3190 | PDP-11 or something? |
4049 | 3191 | |
4050 | 3192 | =end original |
4051 | 3193 | |
4052 | 3194 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
4053 | 3195 | PDP-11 か何かでしょうか。 |
4054 | 3196 | |
4055 | =item FETCHSIZE returned a negative value | |
4056 | ||
4057 | =begin original | |
4058 | ||
4059 | (F) A tied array claimed to have a negative number of elements, which | |
4060 | is not possible. | |
4061 | ||
4062 | =end original | |
4063 | ||
4064 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 | |
4065 | ||
4066 | =item Field too wide in 'u' format in pack | |
4067 | ||
4068 | =begin original | |
4069 | ||
4070 | (W pack) Each line in an uuencoded string start with a length indicator | |
4071 | which can't encode values above 63. So there is no point in asking for | |
4072 | a line length bigger than that. Perl will behave as if you specified | |
4073 | C<u63> as format. | |
4074 | ||
4075 | =end original | |
4076 | ||
4077 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない | |
4078 | 長さ識別子から始まっています。 | |
4079 | それで、これより長い行の長さを問い合わせるところがありません。 | |
4080 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 | |
4081 | ||
4082 | 3197 | =item Filehandle %s opened only for input |
4083 | 3198 | |
4084 | 3199 | =begin original |
4085 | 3200 | |
4086 | (W io) You tried to write on a read-only filehandle. If you intended | |
3201 | (W io) You tried to write on a read-only filehandle. If you intended it | |
4087 | ||
3202 | to be a read-write filehandle, you needed to open it with "+<" or "+>" | |
4088 | ||
3203 | or "+>>" instead of with "<" or nothing. If you intended only to write | |
4089 | ||
3204 | the file, use ">" or ">>". See L<perlfunc/open>. | |
4090 | 3205 | |
4091 | 3206 | =end original |
4092 | 3207 | |
4093 | 3208 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
4094 | 3209 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
4095 | 3210 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
4096 | 3211 | open する必要があります。 |
4097 | 3212 | ライトオンリーであれば、">" や ">>" を使ってください。 |
4098 | L<perlfunc/open> を参照してください。 | |
3213 | L<perlfunc/open> の項を参照してください。 | |
4099 | 3214 | |
4100 | 3215 | =item Filehandle %s opened only for output |
4101 | 3216 | |
4102 | 3217 | =begin original |
4103 | 3218 | |
4104 | (W io) You tried to read from a filehandle opened only for writing | |
3219 | (W io) You tried to read from a filehandle opened only for writing. If | |
4105 | 3220 | you intended it to be a read/write filehandle, you needed to open it |
4106 | 3221 | with "+<" or "+>" or "+>>" instead of with "<" or nothing. If you |
4107 | 3222 | intended only to read from the file, use "<". See L<perlfunc/open>. |
4108 | Another possibility is that you attempted to open filedescriptor 0 | |
4109 | (also known as STDIN) for output (maybe you closed STDIN earlier?). | |
4110 | 3223 | |
4111 | 3224 | =end original |
4112 | 3225 | |
4113 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました | |
3226 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました。 | |
4114 | 読み書きできるファイルハンドルにしたい場合は、 | |
3227 | 読み書きできるファイルハンドルにしたい場合は、 | |
4115 | 何もなしではなく、 | |
3228 | ファイルのオープン時に "<" や何もなしではなく、 | |
3229 | "+<" か "+>" か "+>>" をつける必要があります。 | |
4116 | 3230 | 読み込み専用にしたい場合は、"<" を使ってください。 |
4117 | 3231 | L<perlfunc/open> を参照してください。 |
4118 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を | |
4119 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 | |
4120 | 3232 | |
4121 | =item Fi | |
3233 | =item Final $ should be \$ or $name | |
4122 | 3234 | |
4123 | 3235 | =begin original |
4124 | 3236 | |
4125 | ( | |
3237 | (F) You must now decide whether the final $ in a string was meant to be | |
4126 | a | |
3238 | a literal dollar sign, or was meant to introduce a variable name that | |
4127 | p | |
3239 | happens to be missing. So you have to put either the backslash or the | |
3240 | name. | |
4128 | 3241 | |
4129 | 3242 | =end original |
4130 | 3243 | |
4131 | ( | |
3244 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして | |
4132 | ||
3245 | 忘れたのかを、はっきりさせなければなりません。 | |
4133 | ||
3246 | バックスラッシュを付けるか、名前を入れてください。 | |
4134 | 3247 | |
4135 | =item Fi | |
3248 | =item Final @ should be \@ or @name | |
4136 | 3249 | |
4137 | 3250 | =begin original |
4138 | 3251 | |
4139 | ( | |
3252 | (F) You must now decide whether the final @ in a string was meant to be | |
4140 | a | |
3253 | a literal "at" sign, or was meant to introduce a variable name that | |
4141 | ||
4142 | =end original | |
4143 | ||
4144 | (W io) STDIN として使われていたのと同じファイルハンドル ID の | |
4145 | ファイルハンドルを書き込み用に開こうとしました。 | |
4146 | これは、以前 STDIN を閉じたときに起きます。 | |
4147 | ||
4148 | =item Final $ should be \$ or $name | |
4149 | ||
4150 | =begin original | |
4151 | ||
4152 | (F) You must now decide whether the final $ in a string was meant to be | |
4153 | a literal dollar sign, or was meant to introduce a variable name that | |
4154 | 3254 | happens to be missing. So you have to put either the backslash or the |
4155 | 3255 | name. |
4156 | 3256 | |
4157 | 3257 | =end original |
4158 | 3258 | |
4159 | (F) 文字列の最後の | |
3259 | (F) 文字列の最後の @ が、リテラルのアットマークなのか、変数名を | |
4160 | 忘れたのかを、はっきりさせなければなりません。 | |
3260 | 入れようとして忘れたのかを、はっきりさせなければなりません。 | |
4161 | 3261 | バックスラッシュを付けるか、名前を入れてください。 |
4162 | 3262 | |
4163 | 3263 | =item flock() on closed filehandle %s |
4164 | 3264 | |
4165 | 3265 | =begin original |
4166 | 3266 | |
4167 | 3267 | (W closed) The filehandle you're attempting to flock() got itself closed |
4168 | some time before now. Check your | |
3268 | some time before now. Check your logic flow. flock() operates on | |
4169 | 3269 | filehandles. Are you attempting to call flock() on a dirhandle by the |
4170 | 3270 | same name? |
4171 | 3271 | |
4172 | 3272 | =end original |
4173 | 3273 | |
4174 | 3274 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
4175 | 3275 | 閉じられています。 |
4176 | ||
3276 | 論理フローをチェックしてください。 | |
4177 | 3277 | flock() はファイルハンドルを操作します。 |
4178 | 3278 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
4179 | 3279 | |
3280 | =item Quantifier follows nothing before << HERE in regex m/%s/ | |
3281 | ||
3282 | =begin original | |
3283 | ||
3284 | (F) You started a regular expression with a quantifier. Backslash it if you | |
3285 | meant it literally. The << HERE shows in the regular expression about where the | |
3286 | problem was discovered. See L<perlre>. | |
3287 | ||
3288 | =end original | |
3289 | ||
3290 | (F) 正規表現を量指定子で開始しています。 | |
3291 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
3292 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
3293 | L<perlre> を参照してください。 | |
3294 | ||
4180 | 3295 | =item Format not terminated |
4181 | 3296 | |
4182 | 3297 | =begin original |
4183 | 3298 | |
4184 | 3299 | (F) A format must be terminated by a line with a solitary dot. Perl got |
4185 | 3300 | to the end of your file without finding such a line. |
4186 | 3301 | |
4187 | 3302 | =end original |
4188 | 3303 | |
4189 | 3304 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
4190 | 3305 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
4191 | 3306 | |
4192 | 3307 | =item Format %s redefined |
4193 | 3308 | |
4194 | 3309 | =begin original |
4195 | 3310 | |
4196 | 3311 | (W redefine) You redefined a format. To suppress this warning, say |
4197 | 3312 | |
4198 | 3313 | =end original |
4199 | 3314 | |
4200 | 3315 | (W redefine) フォーマットを再定義しました。 |
4201 | この警告を止めるには以下のようにしてください | |
3316 | この警告を止めるには以下のようにしてください。 | |
4202 | 3317 | |
4203 | 3318 | { |
4204 | no warnings | |
3319 | no warnings; | |
4205 | 3320 | eval "format NAME =..."; |
4206 | 3321 | } |
4207 | 3322 | |
4208 | 3323 | =item Found = in conditional, should be == |
4209 | 3324 | |
4210 | 3325 | =begin original |
4211 | 3326 | |
4212 | 3327 | (W syntax) You said |
4213 | 3328 | |
4214 | 3329 | =end original |
4215 | 3330 | |
4216 | 3331 | (W) 以下のようにしています: |
4217 | 3332 | |
4218 | 3333 | if ($foo = 123) |
4219 | 3334 | |
4220 | 3335 | =begin original |
4221 | 3336 | |
4222 | 3337 | when you meant |
4223 | 3338 | |
4224 | 3339 | =end original |
4225 | 3340 | |
4226 | 以下のようにすべきで | |
3341 | 以下のようにするべきところでしょう: | |
4227 | 3342 | |
4228 | 3343 | if ($foo == 123) |
4229 | 3344 | |
4230 | 3345 | =begin original |
4231 | 3346 | |
4232 | 3347 | (or something like that). |
4233 | 3348 | |
4234 | 3349 | =end original |
4235 | 3350 | |
4236 | 3351 | (あるいは似たようなこと)。 |
4237 | 3352 | |
4238 | 3353 | =item %s found where operator expected |
4239 | 3354 | |
4240 | 3355 | =begin original |
4241 | 3356 | |
4242 | (S | |
3357 | (S) The Perl lexer knows whether to expect a term or an operator. If it | |
4243 | ||
3358 | sees what it knows to be a term when it was expecting to see an | |
4244 | 3359 | operator, it gives you this warning. Usually it indicates that an |
4245 | 3360 | operator or delimiter was omitted, such as a semicolon. |
4246 | 3361 | |
4247 | 3362 | =end original |
4248 | 3363 | |
4249 | (S | |
3364 | (S) Perl の字句解析部は、次に項が来るか、演算子が来るかを知っています。 | |
4250 | 知っています。 | |
4251 | 3365 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
4252 | 3366 | この警告が出ることになります。 |
4253 | 3367 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
4254 | 3368 | |
4255 | 3369 | =item gdbm store returned %d, errno %d, key "%s" |
4256 | 3370 | |
4257 | 3371 | =begin original |
4258 | 3372 | |
4259 | 3373 | (S) A warning from the GDBM_File extension that a store failed. |
4260 | 3374 | |
4261 | 3375 | =end original |
4262 | 3376 | |
4263 | 3377 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
4264 | 3378 | |
4265 | 3379 | =item gethostent not implemented |
4266 | 3380 | |
4267 | 3381 | =begin original |
4268 | 3382 | |
4269 | 3383 | (F) Your C library apparently doesn't implement gethostent(), probably |
4270 | 3384 | because if it did, it'd feel morally obligated to return every hostname |
4271 | 3385 | on the Internet. |
4272 | 3386 | |
4273 | 3387 | =end original |
4274 | 3388 | |
4275 | (F) C ライブラリに gethostent() が実装されていないようです | |
3389 | (F) C ライブラリに gethostent() が実装されていないようです。 | |
4276 | 3390 | おそらく、実装すると Internet 上のすべてのホスト名を |
4277 | 3391 | 返さなければいけないと思っているのでしょう。 |
4278 | 3392 | |
4279 | 3393 | =item get%sname() on closed socket %s |
4280 | 3394 | |
4281 | 3395 | =begin original |
4282 | 3396 | |
4283 | 3397 | (W closed) You tried to get a socket or peer socket name on a closed |
4284 | 3398 | socket. Did you forget to check the return value of your socket() call? |
4285 | 3399 | |
4286 | 3400 | =end original |
4287 | 3401 | |
4288 | 3402 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
4289 | 3403 | しました。 |
4290 | 3404 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
4291 | 3405 | |
4292 | 3406 | =item getpwnam returned invalid UIC %#o for user "%s" |
4293 | 3407 | |
4294 | 3408 | =begin original |
4295 | 3409 | |
4296 | 3410 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
4297 | 3411 | C<getpwnam> operator returned an invalid UIC. |
4298 | 3412 | |
4299 | 3413 | =end original |
4300 | 3414 | |
4301 | 3415 | (S) VMS に固有の警告です。 |
4302 | 3416 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
4303 | 3417 | 不正な UIC が返されました。 |
4304 | 3418 | |
4305 | 3419 | =item getsockopt() on closed socket %s |
4306 | 3420 | |
4307 | 3421 | =begin original |
4308 | 3422 | |
4309 | 3423 | (W closed) You tried to get a socket option on a closed socket. Did you |
4310 | 3424 | forget to check the return value of your socket() call? See |
4311 | 3425 | L<perlfunc/getsockopt>. |
4312 | 3426 | |
4313 | 3427 | =end original |
4314 | 3428 | |
4315 | 3429 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
4316 | 3430 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
4317 | 3431 | L<perlfunc/getsockopt> を参照してください。 |
4318 | 3432 | |
4319 | 3433 | =item Global symbol "%s" requires explicit package name |
4320 | 3434 | |
4321 | 3435 | =begin original |
4322 | 3436 | |
4323 | (F) You've said "use strict | |
3437 | (F) You've said "use strict vars", which indicates that all variables | |
4324 | ||
3438 | must either be lexically scoped (using "my"), declared beforehand using | |
4325 | ||
3439 | "our", or explicitly qualified to say which package the global variable | |
4326 | ||
3440 | is in (using "::"). | |
4327 | 3441 | |
4328 | 3442 | =end original |
4329 | 3443 | |
4330 | (F) "use strict | |
3444 | (F) "use strict vars" が指定されていますので、すべての変数は、 | |
4331 | ("my" | |
3445 | ("my" を使った) 字句スコープの変数か、"our" を使って事前に宣言するか、 | |
4332 | ||
3446 | グローバル変数がどのパッケージのものかを ("::" を使って)、明示的に | |
4333 | ||
3447 | 修飾しなくてはなりません。 | |
4334 | 3448 | |
4335 | 3449 | =item glob failed (%s) |
4336 | 3450 | |
4337 | 3451 | =begin original |
4338 | 3452 | |
4339 | 3453 | (W glob) Something went wrong with the external program(s) used for |
4340 | 3454 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a |
4341 | 3455 | C<glob> pattern that caused the external program to fail and exit with a |
4342 | 3456 | nonzero status. If the message indicates that the abnormal exit |
4343 | 3457 | resulted in a coredump, this may also mean that your csh (C shell) is |
4344 | 3458 | broken. If so, you should change all of the csh-related variables in |
4345 | 3459 | config.sh: If you have tcsh, make the variables refer to it as if it |
4346 | 3460 | were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them all |
4347 | 3461 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will |
4348 | 3462 | think csh is missing. In either case, after editing config.sh, run |
4349 | 3463 | C<./Configure -S> and rebuild Perl. |
4350 | 3464 | |
4351 | 3465 | =end original |
4352 | 3466 | |
4353 | 3467 | (W glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が |
4354 | 3468 | 発生しました。 |
4355 | 3469 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
4356 | 3470 | C<glob> パターンが渡されたことを意味します。 |
4357 | 3471 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
4358 | 3472 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
4359 | 3473 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
4360 | 3474 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
4361 | 3475 | 参照するように変数を設定します; |
4362 | 3476 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
4363 | 3477 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
4364 | 3478 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
4365 | 3479 | Perl を再ビルドしてください。 |
4366 | 3480 | |
4367 | 3481 | =item Glob not terminated |
4368 | 3482 | |
4369 | 3483 | =begin original |
4370 | 3484 | |
4371 | 3485 | (F) The lexer saw a left angle bracket in a place where it was expecting |
4372 | 3486 | a term, so it's looking for the corresponding right angle bracket, and |
4373 | 3487 | not finding it. Chances are you left some needed parentheses out |
4374 | 3488 | earlier in the line, and you really meant a "less than". |
4375 | 3489 | |
4376 | 3490 | =end original |
4377 | 3491 | |
4378 | (F) 項が必要とされるところで、開き山 | |
3492 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
4379 | 対応する閉じ山 | |
3493 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
4380 | 可能性としては、必要な | |
3494 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
4381 | 3495 | 表したかった場合が考えられます。 |
4382 | 3496 | |
4383 | =item gmtime(%.0f) too large | |
4384 | ||
4385 | =begin original | |
4386 | ||
4387 | (W overflow) You called C<gmtime> with an number that was larger than | |
4388 | it can reliably handle and C<gmtime> probably returned the wrong | |
4389 | date. This warning is also triggered with nan (the special | |
4390 | not-a-number value). | |
4391 | ||
4392 | =end original | |
4393 | ||
4394 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
4395 | おそらく間違った日付が返されました。 | |
4396 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
4397 | ||
4398 | =item gmtime(%.0f) too small | |
4399 | ||
4400 | =begin original | |
4401 | ||
4402 | (W overflow) You called C<gmtime> with an number that was smaller than | |
4403 | it can reliably handle and C<gmtime> probably returned the wrong | |
4404 | date. This warning is also triggered with nan (the special | |
4405 | not-a-number value). | |
4406 | ||
4407 | =end original | |
4408 | ||
4409 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
4410 | おそらく間違った日付が返されました。 | |
4411 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
4412 | ||
4413 | 3497 | =item Got an error from DosAllocMem |
4414 | 3498 | |
4415 | 3499 | =begin original |
4416 | 3500 | |
4417 | 3501 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
4418 | 3502 | version of Perl, and this should not happen anyway. |
4419 | 3503 | |
4420 | 3504 | =end original |
4421 | 3505 | |
4422 | 3506 | (P) OS/2 に固有のエラーです。 |
4423 | 3507 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
4424 | 3508 | どちらにしてもこのエラーは起きないはずです。 |
4425 | 3509 | |
4426 | 3510 | =item goto must have label |
4427 | 3511 | |
4428 | 3512 | =begin original |
4429 | 3513 | |
4430 | 3514 | (F) Unlike with "next" or "last", you're not allowed to goto an |
4431 | 3515 | unspecified destination. See L<perlfunc/goto>. |
4432 | 3516 | |
4433 | 3517 | =end original |
4434 | 3518 | |
4435 | 3519 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
4436 | 3520 | 指定しなくてはなりません。 |
4437 | 3521 | L<perlfunc/goto> を参照してください。 |
4438 | 3522 | |
4439 | =item | |
3523 | =item %s had compilation errors | |
4440 | 3524 | |
4441 | 3525 | =begin original |
4442 | 3526 | |
4443 | (F) A ()-group started with a count. A count is | |
4444 | supposed to follow something: a template character or a ()-group. | |
4445 | See L<perlfunc/pack>. | |
4446 | ||
4447 | =end original | |
4448 | ||
4449 | (F) () グループが繰り返し数で始まっています。 | |
4450 | 繰り返し数は、テンプレート文字か () グループの後に続くことを | |
4451 | 想定しています。 | |
4452 | L<perlfunc/pack> を参照してください。 | |
4453 | ||
4454 | =item %s had compilation errors. | |
4455 | ||
4456 | =begin original | |
4457 | ||
4458 | 3527 | (F) The final summary message when a C<perl -c> fails. |
4459 | 3528 | |
4460 | 3529 | =end original |
4461 | 3530 | |
4462 | 3531 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
4463 | 3532 | |
4464 | 3533 | =item Had to create %s unexpectedly |
4465 | 3534 | |
4466 | 3535 | =begin original |
4467 | 3536 | |
4468 | 3537 | (S internal) A routine asked for a symbol from a symbol table that ought |
4469 | 3538 | to have existed already, but for some reason it didn't, and had to be |
4470 | 3539 | created on an emergency basis to prevent a core dump. |
4471 | 3540 | |
4472 | 3541 | =end original |
4473 | 3542 | |
4474 | 3543 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
4475 | 3544 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
4476 | 3545 | コアダンプを避けるために、緊急に生成しました。 |
4477 | 3546 | |
4478 | 3547 | =item Hash %%s missing the % in argument %d of %s() |
4479 | 3548 | |
4480 | 3549 | =begin original |
4481 | 3550 | |
4482 | 3551 | (D deprecated) Really old Perl let you omit the % on hash names in some |
4483 | 3552 | spots. This is now heavily deprecated. |
4484 | 3553 | |
4485 | 3554 | =end original |
4486 | 3555 | |
4487 | 3556 | (D deprecated) 本当に古い Perl では、ハッシュ名の % を省略できる場所が |
4488 | 3557 | ありました。 |
4489 | ||
3558 | 省略はしないようにしてください。 | |
4490 | 3559 | |
4491 | 3560 | =item %s has too many errors |
4492 | 3561 | |
4493 | 3562 | =begin original |
4494 | 3563 | |
4495 | 3564 | (F) The parser has given up trying to parse the program after 10 errors. |
4496 | 3565 | Further error messages would likely be uninformative. |
4497 | 3566 | |
4498 | 3567 | =end original |
4499 | 3568 | |
4500 | 3569 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 |
4501 | 3570 | それ以上の解析を諦めました。 |
4502 | 3571 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 |
4503 | 3572 | |
4504 | 3573 | =item Hexadecimal number > 0xffffffff non-portable |
4505 | 3574 | |
4506 | 3575 | =begin original |
4507 | 3576 | |
4508 | 3577 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
4509 | 3578 | (4294967295) and therefore non-portable between systems. See |
4510 | 3579 | L<perlport> for more on portability concerns. |
4511 | 3580 | |
4512 | 3581 | =end original |
4513 | 3582 | |
4514 | 3583 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
4515 | 3584 | システム間で移植性がありません。 |
4516 | 3585 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
4517 | 3586 | |
4518 | 3587 | =item Identifier too long |
4519 | 3588 | |
4520 | 3589 | =begin original |
4521 | 3590 | |
4522 | 3591 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
4523 | 3592 | about 250 characters for simple names, and somewhat more for compound |
4524 | 3593 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
4525 | 3594 | of Perl are likely to eliminate these arbitrary limitations. |
4526 | 3595 | |
4527 | 3596 | =end original |
4528 | 3597 | |
4529 | 3598 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
4530 | 3599 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
4531 | 3600 | 制限しています。 |
4532 | 3601 | この Perl の制限を越えました。 |
4533 | 3602 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
4534 | 3603 | |
4535 | =item Ignoring zero length \N{} in character class | |
4536 | ||
4537 | =begin original | |
4538 | ||
4539 | (W) Named Unicode character escapes (\N{...}) may return a | |
4540 | zero length sequence. When such an escape is used in a character class | |
4541 | its behaviour is not well defined. Check that the correct escape has | |
4542 | been used, and the correct charname handler is in scope. | |
4543 | ||
4544 | =end original | |
4545 | ||
4546 | (W) 名前付き Unicode 文字エスケープ (\N{...}) が長さ 0 の | |
4547 | シーケンスを返しました。 | |
4548 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 | |
4549 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
4550 | あるかをチェックしてください。 | |
4551 | ||
4552 | 3604 | =item Illegal binary digit %s |
4553 | 3605 | |
4554 | 3606 | =begin original |
4555 | 3607 | |
4556 | 3608 | (F) You used a digit other than 0 or 1 in a binary number. |
4557 | 3609 | |
4558 | 3610 | =end original |
4559 | 3611 | |
4560 | 3612 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
4561 | 3613 | |
4562 | 3614 | =item Illegal binary digit %s ignored |
4563 | 3615 | |
4564 | 3616 | =begin original |
4565 | 3617 | |
4566 | 3618 | (W digit) You may have tried to use a digit other than 0 or 1 in a |
4567 | 3619 | binary number. Interpretation of the binary number stopped before the |
4568 | 3620 | offending digit. |
4569 | 3621 | |
4570 | 3622 | =end original |
4571 | 3623 | |
4572 | 3624 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 |
4573 | 3625 | 2 進数の解釈は問題のある数値の手前で停止しました。 |
4574 | 3626 | |
4575 | 3627 | =item Illegal character %s (carriage return) |
4576 | 3628 | |
4577 | 3629 | =begin original |
4578 | 3630 | |
4579 | 3631 | (F) Perl normally treats carriage returns in the program text as it |
4580 | 3632 | would any other whitespace, which means you should never see this error |
4581 | 3633 | when Perl was built using standard options. For some reason, your |
4582 | 3634 | version of Perl appears to have been built without this support. Talk |
4583 | 3635 | to your Perl administrator. |
4584 | 3636 | |
4585 | 3637 | =end original |
4586 | 3638 | |
4587 | 3639 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
4588 | 3640 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
4589 | 3641 | 見ることは決してないはずです。 |
4590 | 3642 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
4591 | 3643 | Perl の管理者に問い合わせてください。 |
4592 | 3644 | |
4593 | =item Illegal character in prototype for %s : %s | |
4594 | ||
4595 | =begin original | |
4596 | ||
4597 | (W illegalproto) An illegal character was found in a prototype declaration. | |
4598 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, and \. | |
4599 | ||
4600 | =end original | |
4601 | ||
4602 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
4603 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \ です。 | |
4604 | ||
4605 | =item Illegal declaration of anonymous subroutine | |
4606 | ||
4607 | =begin original | |
4608 | ||
4609 | (F) When using the C<sub> keyword to construct an anonymous subroutine, | |
4610 | you must always specify a block of code. See L<perlsub>. | |
4611 | ||
4612 | =end original | |
4613 | ||
4614 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 | |
4615 | 常にコードのブロックを指定しなければなりません。 | |
4616 | L<perlsub> を参照してください。 | |
4617 | ||
4618 | =item Illegal declaration of subroutine %s | |
4619 | ||
4620 | =begin original | |
4621 | ||
4622 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
4623 | ||
4624 | =end original | |
4625 | ||
4626 | (F) サブルーチンが正しく宣言されていません。 | |
4627 | L<perlsub> を参照してください。 | |
4628 | ||
4629 | 3645 | =item Illegal division by zero |
4630 | 3646 | |
4631 | 3647 | =begin original |
4632 | 3648 | |
4633 | 3649 | (F) You tried to divide a number by 0. Either something was wrong in |
4634 | 3650 | your logic, or you need to put a conditional in to guard against |
4635 | 3651 | meaningless input. |
4636 | 3652 | |
4637 | 3653 | =end original |
4638 | 3654 | |
4639 | 3655 | (F) ゼロで割り算をしようとしました。 |
4640 | 3656 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
4641 | 3657 | 必要かのどちらかでしょう。 |
4642 | 3658 | |
4643 | 3659 | =item Illegal hexadecimal digit %s ignored |
4644 | 3660 | |
4645 | 3661 | =begin original |
4646 | 3662 | |
4647 | 3663 | (W digit) You may have tried to use a character other than 0 - 9 or |
4648 | 3664 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal |
4649 | 3665 | number stopped before the illegal character. |
4650 | 3666 | |
4651 | 3667 | =end original |
4652 | 3668 | |
4653 | 3669 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
4654 | 3670 | 16 進数の解釈は不正な文字の手前で停止しました。 |
4655 | 3671 | |
4656 | 3672 | =item Illegal modulus zero |
4657 | 3673 | |
4658 | 3674 | =begin original |
4659 | 3675 | |
4660 | 3676 | (F) You tried to divide a number by 0 to get the remainder. Most |
4661 | 3677 | numbers don't take to this kindly. |
4662 | 3678 | |
4663 | 3679 | =end original |
4664 | 3680 | |
4665 | 3681 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
4666 | 3682 | これは、ほとんどの数体系で受け入れられません。 |
4667 | 3683 | |
4668 | 3684 | =item Illegal number of bits in vec |
4669 | 3685 | |
4670 | 3686 | =begin original |
4671 | 3687 | |
4672 | 3688 | (F) The number of bits in vec() (the third argument) must be a power of |
4673 | 3689 | two from 1 to 32 (or 64, if your platform supports that). |
4674 | 3690 | |
4675 | 3691 | =end original |
4676 | 3692 | |
4677 | 3693 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
4678 | 3694 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
4679 | 3695 | |
4680 | 3696 | =item Illegal octal digit %s |
4681 | 3697 | |
4682 | 3698 | =begin original |
4683 | 3699 | |
4684 | (F) You used an 8 or 9 in a | |
3700 | (F) You used an 8 or 9 in a octal number. | |
4685 | 3701 | |
4686 | 3702 | =end original |
4687 | 3703 | |
4688 | 3704 | (F) 8 進数で 8 か 9 を使いました。 |
4689 | 3705 | |
4690 | 3706 | =item Illegal octal digit %s ignored |
4691 | 3707 | |
4692 | 3708 | =begin original |
4693 | 3709 | |
4694 | (W digit) You may have tried to use an 8 or 9 in a | |
3710 | (W digit) You may have tried to use an 8 or 9 in a octal number. | |
4695 | 3711 | Interpretation of the octal number stopped before the 8 or 9. |
4696 | 3712 | |
4697 | 3713 | =end original |
4698 | 3714 | |
4699 | 3715 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 |
4700 | 3716 | 8 進数の解釈は 8 か 9 の手前で停止しました。 |
4701 | 3717 | |
4702 | =item Illegal switch in PERL5OPT: | |
3718 | =item Illegal switch in PERL5OPT: %s | |
4703 | 3719 | |
4704 | 3720 | =begin original |
4705 | 3721 | |
4706 | 3722 | (X) The PERL5OPT environment variable may only be used to set the |
4707 | following switches: B<-[ | |
3723 | following switches: B<-[DIMUdmw]>. | |
4708 | 3724 | |
4709 | 3725 | =end original |
4710 | 3726 | |
4711 | (X) PERL5OPT 環境変数で設定できるのは B<-[ | |
3727 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmw]> の | |
4712 | 3728 | オプションだけです。 |
4713 | 3729 | |
4714 | 3730 | =item Ill-formed CRTL environ value "%s" |
4715 | 3731 | |
4716 | 3732 | =begin original |
4717 | 3733 | |
4718 | 3734 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
4719 | 3735 | internal environ array, and encountered an element without the C<=> |
4720 | 3736 | delimiter used to separate keys from values. The element is ignored. |
4721 | 3737 | |
4722 | 3738 | =end original |
4723 | 3739 | |
4724 | (W internal) VMS | |
3740 | (W internal) VMS 固有の警告です。 | |
4725 | 3741 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
4726 | 3742 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
4727 | 3743 | この要素は無視しました。 |
4728 | 3744 | |
4729 | 3745 | =item Ill-formed message in prime_env_iter: |%s| |
4730 | 3746 | |
4731 | 3747 | =begin original |
4732 | 3748 | |
4733 | 3749 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
4734 | 3750 | name or CLI symbol definition when preparing to iterate over %ENV, and |
4735 | 3751 | didn't see the expected delimiter between key and value, so the line was |
4736 | 3752 | ignored. |
4737 | 3753 | |
4738 | 3754 | =end original |
4739 | 3755 | |
4740 | (W internal) VMS | |
3756 | (W internal) VMS 固有の警告です。 | |
4741 | 3757 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
4742 | 3758 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
4743 | 3759 | その行は無視しました。 |
4744 | 3760 | |
4745 | 3761 | =item (in cleanup) %s |
4746 | 3762 | |
4747 | 3763 | =begin original |
4748 | 3764 | |
4749 | 3765 | (W misc) This prefix usually indicates that a DESTROY() method raised |
4750 | 3766 | the indicated exception. Since destructors are usually called by the |
4751 | 3767 | system at arbitrary points during execution, and often a vast number of |
4752 | 3768 | times, the warning is issued only once for any number of failures that |
4753 | 3769 | would otherwise result in the same message being repeated. |
4754 | 3770 | |
4755 | 3771 | =end original |
4756 | 3772 | |
4757 | 3773 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
4758 | 3774 | 発生したことを示しています。 |
4759 | 3775 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
4760 | 3776 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
4761 | 3777 | 何回失敗しても一度だけ発生します。 |
4762 | 3778 | |
4763 | 3779 | =begin original |
4764 | 3780 | |
4765 | 3781 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
4766 | 3782 | also result in this warning. See L<perlcall/G_KEEPERR>. |
4767 | 3783 | |
4768 | 3784 | =end original |
4769 | 3785 | |
4770 | C<G_KEEPERR> フラグを使って | |
3786 | C<G_KEEPERR> フラグを使ってディスパッチしたユーザーコールバックに失敗した | |
4771 | 3787 | 場合にもこの警告が出ることがあります。 |
4772 | 3788 | L<perlcall/G_KEEPERR> を参照してください。 |
4773 | 3789 | |
4774 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on parent '%s' | |
4775 | ||
4776 | =begin original | |
4777 | ||
4778 | (F) The method resolution order (MRO) of the given class is not | |
4779 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 | |
4780 | documentation in L<mro> for more information. | |
4781 | ||
4782 | =end original | |
4783 | ||
4784 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 | |
4785 | このクラスの C3 MRO を有効にしました。 | |
4786 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 | |
4787 | ||
4788 | =item In EBCDIC the v-string components cannot exceed 2147483647 | |
4789 | ||
4790 | =begin original | |
4791 | ||
4792 | (F) An error peculiar to EBCDIC. Internally, v-strings are stored as | |
4793 | Unicode code points, and encoded in EBCDIC as UTF-EBCDIC. The UTF-EBCDIC | |
4794 | encoding is limited to code points no larger than 2147483647 (0x7FFFFFFF). | |
4795 | ||
4796 | =end original | |
4797 | ||
4798 | (F) EBCDIC 特有のエラーです。 | |
4799 | 内部的に、v 文字列は Unicode 文字ポイントとして保管されていて、 | |
4800 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 | |
4801 | UTF-EBCDIC エンコーディングでは、コードポイントは | |
4802 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 | |
4803 | ||
4804 | =item Infinite recursion in regex; marked by <-- HERE in m/%s/ | |
4805 | ||
4806 | =begin original | |
4807 | ||
4808 | (F) You used a pattern that references itself without consuming any input | |
4809 | text. You should check the pattern to ensure that recursive patterns | |
4810 | either consume text or fail. | |
4811 | ||
4812 | =end original | |
4813 | ||
4814 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 | |
4815 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 | |
4816 | パターンをチェックするべきです。 | |
4817 | ||
4818 | =begin original | |
4819 | ||
4820 | The <-- HERE shows in the regular expression about where the problem was | |
4821 | discovered. | |
4822 | ||
4823 | =end original | |
4824 | ||
4825 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
4826 | ||
4827 | =item Initialization of state variables in list context currently forbidden | |
4828 | ||
4829 | =begin original | |
4830 | ||
4831 | (F) Currently the implementation of "state" only permits the initialization | |
4832 | of scalar variables in scalar context. Re-write C<state ($a) = 42> as | |
4833 | C<state $a = 42> to change from list to scalar context. Constructions such | |
4834 | as C<state (@a) = foo()> will be supported in a future perl release. | |
4835 | ||
4836 | =end original | |
4837 | ||
4838 | (F) 現在のところ、"state" の実装は、スカラコンテキストでのスカラ変数の | |
4839 | 初期化のみが許されています。 | |
4840 | C<state ($a) = 42> を C<state $a = 42> のように、リストコンテキストから | |
4841 | スカラコンテキストに書き換えてください。 | |
4842 | C<state (@a) = foo()> のような構文は perl の将来のリリースで | |
4843 | 対応されるでしょう。 | |
4844 | ||
4845 | 3790 | =item Insecure dependency in %s |
4846 | 3791 | |
4847 | 3792 | =begin original |
4848 | 3793 | |
4849 | 3794 | (F) You tried to do something that the tainting mechanism didn't like. |
4850 | 3795 | The tainting mechanism is turned on when you're running setuid or |
4851 | 3796 | setgid, or when you specify B<-T> to turn it on explicitly. The |
4852 | 3797 | tainting mechanism labels all data that's derived directly or indirectly |
4853 | 3798 | from the user, who is considered to be unworthy of your trust. If any |
4854 | 3799 | such data is used in a "dangerous" operation, you get this error. See |
4855 | 3800 | L<perlsec> for more information. |
4856 | 3801 | |
4857 | 3802 | =end original |
4858 | 3803 | |
4859 | 3804 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
4860 | 3805 | 行なおうとしました。 |
4861 | 3806 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
4862 | 3807 | 汚染チェック機構が働きます。 |
4863 | 3808 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
4864 | 3809 | 指定したデータに印を付けます。 |
4865 | 3810 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
4866 | 3811 | 詳しくは、L<perlsec> を参照してください。 |
4867 | 3812 | |
4868 | 3813 | =item Insecure directory in %s |
4869 | 3814 | |
4870 | 3815 | =begin original |
4871 | 3816 | |
4872 | 3817 | (F) You can't use system(), exec(), or a piped open in a setuid or |
4873 | 3818 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
4874 | the world. | |
3819 | the world. See L<perlsec>. | |
4875 | See L<perlsec>. | |
4876 | 3820 | |
4877 | 3821 | =end original |
4878 | 3822 | |
4879 | 3823 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
4880 | 3824 | 含まれているとき、system()、exec()、パイプのオープンを |
4881 | 3825 | 行なうことはできません。 |
4882 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 | |
4883 | 3826 | L<perlsec> を参照してください。 |
4884 | 3827 | |
4885 | 3828 | =item Insecure $ENV{%s} while running %s |
4886 | 3829 | |
4887 | 3830 | =begin original |
4888 | 3831 | |
4889 | 3832 | (F) You can't use system(), exec(), or a piped open in a setuid or |
4890 | 3833 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
4891 | C<$ENV{ENV}> | |
3834 | C<$ENV{ENV}> or C<$ENV{BASH_ENV}> are derived from data supplied (or | |
4892 | ||
3835 | potentially supplied) by the user. The script must set the path to a | |
4893 | ||
3836 | known value, using trustworthy data. See L<perlsec>. | |
4894 | 3837 | |
4895 | 3838 | =end original |
4896 | 3839 | |
4897 | 3840 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
4898 | C<$ENV{BASH_ENV}> | |
3841 | C<$ENV{BASH_ENV}> のいずれかがユーザーによって提供された(あるいは | |
4899 | ||
3842 | 提供された可能性のある)データの場合、setuid や setgid されたスクリプトでは | |
4900 | ||
3843 | system(), exec(), パイプされる open を使うことはできません。 | |
4901 | 使うことはできません。 | |
4902 | 3844 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
4903 | 3845 | セットしなければなりません。 |
4904 | 3846 | L<perlsec> を参照してください。 |
4905 | 3847 | |
4906 | 3848 | =item Integer overflow in %s number |
4907 | 3849 | |
4908 | 3850 | =begin original |
4909 | 3851 | |
4910 | 3852 | (W overflow) The hexadecimal, octal or binary number you have specified |
4911 | 3853 | either as a literal or as an argument to hex() or oct() is too big for |
4912 | 3854 | your architecture, and has been converted to a floating point number. |
4913 | 3855 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
4914 | 3856 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
4915 | 3857 | 0b11111111111111111111111111111111 respectively. Note that Perl |
4916 | 3858 | transparently promotes all numbers to a floating point representation |
4917 | 3859 | internally--subject to loss of precision errors in subsequent |
4918 | 3860 | operations. |
4919 | 3861 | |
4920 | 3862 | =end original |
4921 | 3863 | |
4922 | 3864 | (W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 |
4923 | 3865 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
4924 | 3866 | 変換されました。 |
4925 | 3867 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
4926 | 3868 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
4927 | 3869 | 0b11111111111111111111111111111111 です。 |
4928 | 3870 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
4929 | 3871 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
4930 | 3872 | |
4931 | =item Inte | |
3873 | =item Internal disaster before << HERE in regex m/%s/ | |
4932 | 3874 | |
4933 | 3875 | =begin original |
4934 | 3876 | |
4935 | (F) The indexes and widths specified in the format string of C<printf()> | |
4936 | or C<sprintf()> are too large. The numbers must not overflow the size of | |
4937 | integers for your architecture. | |
4938 | ||
4939 | =end original | |
4940 | ||
4941 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや | |
4942 | 幅が大きすぎます。 | |
4943 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように | |
4944 | しなければなりません。 | |
4945 | ||
4946 | =item Integer overflow in version | |
4947 | ||
4948 | =begin original | |
4949 | ||
4950 | (F) Some portion of a version initialization is too large for the | |
4951 | size of integers for your architecture. This is not a warning | |
4952 | because there is no rational reason for a version to try and use a | |
4953 | element larger than typically 2**32. This is usually caused by | |
4954 | trying to use some odd mathematical operation as a version, like | |
4955 | 100/9. | |
4956 | ||
4957 | =end original | |
4958 | ||
4959 | (F) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
4960 | 大きすぎます。 | |
4961 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な | |
4962 | 理由がないので、これは警告ではありません。 | |
4963 | これは普通、100/9 のようなおかしな数値演算をバージョンとして | |
4964 | 使おうとしたことによります。 | |
4965 | ||
4966 | =item Internal disaster in regex; marked by <-- HERE in m/%s/ | |
4967 | ||
4968 | =begin original | |
4969 | ||
4970 | 3877 | (P) Something went badly wrong in the regular expression parser. |
4971 | The < | |
3878 | The << HERE shows in the regular expression about where the problem was | |
4972 | 3879 | discovered. |
4973 | 3880 | |
4974 | 3881 | =end original |
4975 | 3882 | |
4976 | 3883 | (P) 正規表現解析部に何か悪いことが起こりました。 |
4977 | < | |
3884 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
4978 | 3885 | |
4979 | 3886 | =item Internal inconsistency in tracking vforks |
4980 | 3887 | |
4981 | 3888 | =begin original |
4982 | 3889 | |
4983 | 3890 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
4984 | 3891 | you've called C<fork> and C<exec>, to determine whether the current call |
4985 | 3892 | to C<exec> should affect the current script or a subprocess (see |
4986 | 3893 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
4987 | 3894 | Perl is making a guess and treating this C<exec> as a request to |
4988 | 3895 | terminate the Perl script and execute the specified command. |
4989 | 3896 | |
4990 | 3897 | =end original |
4991 | 3898 | |
4992 | (S) VMS | |
3899 | (S) VMS 特有の警告です。 | |
4993 | 3900 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
4994 | 3901 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
4995 | 3902 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
4996 | 3903 | 参照してください)。 |
4997 | 3904 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
4998 | 3905 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
4999 | 3906 | 仮定して、そのように扱いました。 |
5000 | 3907 | |
5001 | =item Internal urp | |
3908 | =item Internal urp before << HERE in regex m/%s/ | |
5002 | 3909 | |
5003 | 3910 | =begin original |
5004 | 3911 | |
5005 | (P) Something went badly awry in the regular expression parser. The | |
3912 | (P) Something went badly awry in the regular expression parser. The <<<HERE | |
5006 | ||
3913 | shows in the regular expression about where the problem was discovered. | |
5007 | discovered. | |
5008 | 3914 | |
5009 | 3915 | =end original |
5010 | 3916 | |
5011 | 3917 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
5012 | < | |
3918 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5013 | 3919 | |
5014 | 3920 | =item %s (...) interpreted as function |
5015 | 3921 | |
5016 | 3922 | =begin original |
5017 | 3923 | |
5018 | 3924 | (W syntax) You've run afoul of the rule that says that any list operator |
5019 | 3925 | followed by parentheses turns into a function, with all the list |
5020 | operators arguments found inside the parentheses. See | |
3926 | operators arguments found inside the parentheses. See | |
5021 | 3927 | L<perlop/Terms and List Operators (Leftward)>. |
5022 | 3928 | |
5023 | 3929 | =end original |
5024 | 3930 | |
5025 | (W syntax) リスト演算子の直後に | |
3931 | (W syntax) リスト演算子の直後に括弧を置くと、括弧内にあるリスト演算子引数を | |
5026 | 3932 | 持つ関数になる、という規則が適用されました。 |
5027 | 3933 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
5028 | 3934 | |
5029 | 3935 | =item Invalid %s attribute: %s |
5030 | 3936 | |
5031 | 3937 | =begin original |
5032 | 3938 | |
5033 | 3939 | The indicated attribute for a subroutine or variable was not recognized |
5034 | 3940 | by Perl or by a user-supplied handler. See L<attributes>. |
5035 | 3941 | |
5036 | 3942 | =end original |
5037 | 3943 | |
5038 | 3944 | 示されたサブルーチンや変数の属性は |
5039 | 3945 | Perl やユーザー提供のハンドラで認識されませんでした。 |
5040 | 3946 | L<attributes> を参照してください。 |
5041 | 3947 | |
5042 | 3948 | =item Invalid %s attributes: %s |
5043 | 3949 | |
5044 | 3950 | =begin original |
5045 | 3951 | |
5046 | 3952 | The indicated attributes for a subroutine or variable were not |
5047 | 3953 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
5048 | 3954 | |
5049 | 3955 | =end original |
5050 | 3956 | |
5051 | 3957 | 示されたサブルーチンや変数の属性は |
5052 | 3958 | Perl やユーザー提供のハンドラで認識されませんでした。 |
5053 | 3959 | L<attributes> を参照してください。 |
5054 | 3960 | |
5055 | 3961 | =item Invalid conversion in %s: "%s" |
5056 | 3962 | |
5057 | 3963 | =begin original |
5058 | 3964 | |
5059 | 3965 | (W printf) Perl does not understand the given format conversion. See |
5060 | 3966 | L<perlfunc/sprintf>. |
5061 | 3967 | |
5062 | 3968 | =end original |
5063 | 3969 | |
5064 | 3970 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
5065 | 3971 | L<perlfunc/sprintf> を参照してください。 |
5066 | 3972 | |
5067 | =item | |
3973 | =item invalid [] range "%s" in regexp | |
5068 | 3974 | |
5069 | 3975 | =begin original |
5070 | 3976 | |
5071 | (W regexp) The numeric escape (for example C<\xHH>) of value < 256 | |
5072 | didn't correspond to a single character through the conversion | |
5073 | from the encoding specified by the encoding pragma. | |
5074 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) instead. | |
5075 | The <-- HERE shows in the regular expression about where the | |
5076 | escape was discovered. | |
5077 | ||
5078 | =end original | |
5079 | ||
5080 | (W regexp) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
5081 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 | |
5082 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます。 | |
5083 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
5084 | ||
5085 | =item Invalid mro name: '%s' | |
5086 | ||
5087 | =begin original | |
5088 | ||
5089 | (F) You tried to C<mro::set_mro("classname", "foo")> | |
5090 | or C<use mro 'foo'>, where C<foo> is not a valid method resolution order (MRO). | |
5091 | (Currently, the only valid ones are C<dfs> and C<c3>). See L<mro>. | |
5092 | ||
5093 | =end original | |
5094 | ||
5095 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと | |
5096 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 | |
5097 | (現在のところ、有効なものは C<dfs> と C<c3> だけです)。 | |
5098 | L<mro> を参照してください。 | |
5099 | ||
5100 | =item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/ | |
5101 | ||
5102 | =begin original | |
5103 | ||
5104 | 3977 | (F) The range specified in a character class had a minimum character |
5105 | greater than the maximum character. | |
3978 | greater than the maximum character. See L<perlre>. | |
5106 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only | |
5107 | up to C<ff>. The <-- HERE shows in the regular expression about where the | |
5108 | problem was discovered. See L<perlre>. | |
5109 | 3979 | |
5110 | 3980 | =end original |
5111 | 3981 | |
5112 | 3982 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
5113 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を | |
5114 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか | |
5115 | なりません。 | |
5116 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5117 | 3983 | L<perlre> を参照してください。 |
5118 | 3984 | |
5119 | =item Invalid range "%s" in transliteration operator | |
5120 | ||
5121 | =begin original | |
5122 | ||
5123 | (F) The range specified in the tr/// or y/// operator had a minimum | |
5124 | character greater than the maximum character. See L<perlop>. | |
5125 | ||
5126 | =end original | |
5127 | ||
5128 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が | |
5129 | 大きいです。 | |
5130 | L<perlop> を参照してください。 | |
5131 | ||
5132 | 3985 | =item Invalid separator character %s in attribute list |
5133 | 3986 | |
5134 | 3987 | =begin original |
5135 | 3988 | |
5136 | 3989 | (F) Something other than a colon or whitespace was seen between the |
5137 | 3990 | elements of an attribute list. If the previous attribute had a |
5138 | 3991 | parenthesised parameter list, perhaps that list was terminated too soon. |
5139 | 3992 | See L<attributes>. |
5140 | 3993 | |
5141 | 3994 | =end original |
5142 | 3995 | |
5143 | 3996 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
5144 | 3997 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
5145 | 3998 | 予定より早く終端されています。 |
5146 | 3999 | L<attributes> を参照してください。 |
5147 | 4000 | |
5148 | =item Invalid | |
4001 | =item Invalid type in pack: '%s' | |
5149 | 4002 | |
5150 | 4003 | =begin original |
5151 | 4004 | |
5152 | ( | |
4005 | (F) The given character is not a valid pack type. See L<perlfunc/pack>. | |
5153 | ||
4006 | (W pack) The given character is not a valid pack type but used to be | |
5154 | If the previous attribute had a parenthesised parameter list, perhaps that | |
5155 | list was terminated too soon. | |
5156 | ||
5157 | =end original | |
5158 | ||
5159 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に | |
5160 | コロンと空白以外のものがありました。 | |
5161 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが | |
5162 | 予定より早く終端されています。 | |
5163 | ||
5164 | =item Invalid type '%s' in %s | |
5165 | ||
5166 | =begin original | |
5167 | ||
5168 | (F) The given character is not a valid pack or unpack type. | |
5169 | See L<perlfunc/pack>. | |
5170 | (W) The given character is not a valid pack or unpack type but used to be | |
5171 | 4007 | silently ignored. |
5172 | 4008 | |
5173 | 4009 | =end original |
5174 | 4010 | |
5175 | (F) 与えられた文字は有効な pack | |
4011 | (F) 与えられた文字は有効な pack の型ではありません。 | |
5176 | 4012 | L<perlfunc/pack> を参照してください。 |
5177 | (W) 与えられた文字は有効な | |
4013 | (W pack) 与えられた文字は有効な pack の型ではありませんが、暗黙に | |
5178 | 4014 | 無視されました。 |
5179 | 4015 | |
5180 | =item Invalid | |
4016 | =item Invalid type in unpack: '%s' | |
5181 | 4017 | |
5182 | 4018 | =begin original |
5183 | 4019 | |
5184 | (F) | |
4020 | (F) The given character is not a valid unpack type. See | |
5185 | ||
4021 | L<perlfunc/unpack>. | |
5186 | ver | |
4022 | (W unpack) The given character is not a valid unpack type but used to be | |
4023 | silently ignored. | |
5187 | 4024 | |
5188 | 4025 | =end original |
5189 | 4026 | |
5190 | (F) | |
4027 | (F) 与えられた文字は有効な unpack の型ではありません。 | |
5191 | ||
4028 | L<perlfunc/unpack> を参照してください。 | |
5192 | ||
4029 | (W unpack) 与えられた文字は有効な unpack の型ではありませんが、暗黙に | |
4030 | 無視されました。 | |
5193 | 4031 | |
5194 | =item Invalid version format (underscores before decimal) | |
5195 | ||
5196 | =begin original | |
5197 | ||
5198 | (F) Versions may not contain decimals after the optional underscore. | |
5199 | See L<version> for the allowed version formats. | |
5200 | ||
5201 | =end original | |
5202 | ||
5203 | (F) バージョン文字列では、オプションの下線の後に数字はつけられません。 | |
5204 | 許されるバージョンフォーマットについては L<version> を参照してください。 | |
5205 | ||
5206 | 4032 | =item ioctl is not implemented |
5207 | 4033 | |
5208 | 4034 | =begin original |
5209 | 4035 | |
5210 | 4036 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
5211 | 4037 | strange for a machine that supports C. |
5212 | 4038 | |
5213 | 4039 | =end original |
5214 | 4040 | |
5215 | 4041 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
5216 | 4042 | このマシンでは ioctl() が実装されていないようです。 |
5217 | 4043 | |
5218 | =item ioctl() on unopened %s | |
5219 | ||
5220 | =begin original | |
5221 | ||
5222 | (W unopened) You tried ioctl() on a filehandle that was never opened. | |
5223 | Check you control flow and number of arguments. | |
5224 | ||
5225 | =end original | |
5226 | ||
5227 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 | |
5228 | 制御フローと引数の数をチェックしてください。 | |
5229 | ||
5230 | =item IO layers (like '%s') unavailable | |
5231 | ||
5232 | =begin original | |
5233 | ||
5234 | (F) Your Perl has not been configured to have PerlIO, and therefore | |
5235 | you cannot use IO layers. To have PerlIO Perl must be configured | |
5236 | with 'useperlio'. | |
5237 | ||
5238 | =end original | |
5239 | ||
5240 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 | |
5241 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 | |
5242 | ||
5243 | =item IO::Socket::atmark not implemented on this architecture | |
5244 | ||
5245 | =begin original | |
5246 | ||
5247 | (F) Your machine doesn't implement the sockatmark() functionality, | |
5248 | neither as a system call or an ioctl call (SIOCATMARK). | |
5249 | ||
5250 | =end original | |
5251 | ||
5252 | (F) 実行されているマシンでは、システムコールでも | |
5253 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 | |
5254 | ||
5255 | =item $* is no longer supported | |
5256 | ||
5257 | =begin original | |
5258 | ||
5259 | (D deprecated, syntax) The special variable C<$*>, deprecated in older perls, has | |
5260 | been removed as of 5.9.0 and is no longer supported. In previous versions of perl the use of | |
5261 | C<$*> enabled or disabled multi-line matching within a string. | |
5262 | ||
5263 | =end original | |
5264 | ||
5265 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は | |
5266 | 5.9.0 で削除され、もはや対応していません。 | |
5267 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または | |
5268 | 無効にするために使っていました。 | |
5269 | ||
5270 | =begin original | |
5271 | ||
5272 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp | |
5273 | modifiers. (In older versions: when C<$*> was set to a true value then all regular | |
5274 | expressions behaved as if they were written using C</m>.) | |
5275 | ||
5276 | =end original | |
5277 | ||
5278 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を | |
5279 | 使うべきです。 | |
5280 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は | |
5281 | C</m> を使って書かれたかのように振る舞っていました。) | |
5282 | ||
5283 | =item $# is no longer supported | |
5284 | ||
5285 | =begin original | |
5286 | ||
5287 | (D deprecated, syntax) The special variable C<$#>, deprecated in older perls, has | |
5288 | been removed as of 5.9.3 and is no longer supported. You should use the | |
5289 | printf/sprintf functions instead. | |
5290 | ||
5291 | =end original | |
5292 | ||
5293 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は | |
5294 | 5.9.3 で削除され、もはや対応していません。 | |
5295 | 代わりに printf/sprintf 関数を使うべきです。 | |
5296 | ||
5297 | 4044 | =item `%s' is not a code reference |
5298 | 4045 | |
5299 | 4046 | =begin original |
5300 | 4047 | |
5301 | (W | |
4048 | (W) The second (fourth, sixth, ...) argument of overload::constant needs | |
5302 | ||
4049 | to be a code reference. Either an anonymous subroutine, or a reference | |
5303 | 4050 | to a subroutine. |
5304 | 4051 | |
5305 | 4052 | =end original |
5306 | 4053 | |
5307 | (W | |
4054 | (W) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数はコード | |
5308 | ||
4055 | リファレンスである必要があります。 | |
5309 | 4056 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
5310 | 4057 | |
5311 | 4058 | =item `%s' is not an overloadable type |
5312 | 4059 | |
5313 | 4060 | =begin original |
5314 | 4061 | |
5315 | (W | |
4062 | (W) You tried to overload a constant type the overload package is unaware of. | |
5316 | unaware of. | |
5317 | 4063 | |
5318 | 4064 | =end original |
5319 | 4065 | |
5320 | (W | |
4066 | (W) オーバーロードパッケージが知らない定数型をオーバーロードしようとしました。 | |
5321 | オーバーロードしようとしました。 | |
5322 | 4067 | |
5323 | 4068 | =item junk on end of regexp |
5324 | 4069 | |
5325 | 4070 | =begin original |
5326 | 4071 | |
5327 | 4072 | (P) The regular expression parser is confused. |
5328 | 4073 | |
5329 | 4074 | =end original |
5330 | 4075 | |
5331 | 4076 | (P) 正規表現の構文解析ができなくなりました。 |
5332 | 4077 | |
5333 | 4078 | =item Label not found for "last %s" |
5334 | 4079 | |
5335 | 4080 | =begin original |
5336 | 4081 | |
5337 | 4082 | (F) You named a loop to break out of, but you're not currently in a loop |
5338 | 4083 | of that name, not even if you count where you were called from. See |
5339 | 4084 | L<perlfunc/last>. |
5340 | 4085 | |
5341 | 4086 | =end original |
5342 | 4087 | |
5343 | 4088 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
5344 | 4089 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
5345 | 4090 | L<perlfunc/last> を参照してください。 |
5346 | 4091 | |
5347 | 4092 | =item Label not found for "next %s" |
5348 | 4093 | |
5349 | 4094 | =begin original |
5350 | 4095 | |
5351 | 4096 | (F) You named a loop to continue, but you're not currently in a loop of |
5352 | 4097 | that name, not even if you count where you were called from. See |
5353 | 4098 | L<perlfunc/last>. |
5354 | 4099 | |
5355 | 4100 | =end original |
5356 | 4101 | |
5357 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
4102 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
5358 | ||
4103 | その名前のループの中にいません。 | |
4104 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
5359 | 4105 | L<perlfunc/last> を参照してください。 |
5360 | 4106 | |
5361 | 4107 | =item Label not found for "redo %s" |
5362 | 4108 | |
5363 | 4109 | =begin original |
5364 | 4110 | |
5365 | 4111 | (F) You named a loop to restart, but you're not currently in a loop of |
5366 | 4112 | that name, not even if you count where you were called from. See |
5367 | 4113 | L<perlfunc/last>. |
5368 | 4114 | |
5369 | 4115 | =end original |
5370 | 4116 | |
5371 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
4117 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
5372 | ||
4118 | その名前のループの中にいません。 | |
4119 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
5373 | 4120 | L<perlfunc/last> を参照してください。 |
5374 | 4121 | |
5375 | 4122 | =item leaving effective %s failed |
5376 | 4123 | |
5377 | 4124 | =begin original |
5378 | 4125 | |
5379 | 4126 | (F) While under the C<use filetest> pragma, switching the real and |
5380 | 4127 | effective uids or gids failed. |
5381 | 4128 | |
5382 | 4129 | =end original |
5383 | 4130 | |
5384 | 4131 | (F) C<use filetest> プラグマを使っている間に、 |
5385 | 4132 | 実と実効の UID や GID の切り替えに失敗しました。 |
5386 | 4133 | |
5387 | =item length/code after end of string in unpack | |
5388 | ||
5389 | =begin original | |
5390 | ||
5391 | (F) While unpacking, the string buffer was already used up when an unpack | |
5392 | length/code combination tried to obtain more data. This results in | |
5393 | an undefined value for the length. See L<perlfunc/pack>. | |
5394 | ||
5395 | =end original | |
5396 | ||
5397 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを | |
5398 | unpack するときに文字列バッファが既に使い切っていました。 | |
5399 | これにより、長さが未定義値となります。 | |
5400 | L<perlfunc/pack> を参照してください。 | |
5401 | ||
5402 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input | |
5403 | ||
5404 | =begin original | |
5405 | ||
5406 | (F) An extension is attempting to insert text into the current parse | |
5407 | (using L<lex_stuff_pvn_flags|perlapi/lex_stuff_pvn_flags> or similar), but | |
5408 | tried to insert a character that couldn't be part of the current input. | |
5409 | This is an inherent pitfall of the stuffing mechanism, and one of the | |
5410 | reasons to avoid it. Where it is necessary to stuff, stuffing only | |
5411 | plain ASCII is recommended. | |
5412 | ||
5413 | =end original | |
5414 | ||
5415 | (F) エクステンションが(L<lex_stuff_pvn_flags|perlapi/lex_stuff_pvn_flags> や | |
5416 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 | |
5417 | 現在の入力の一部となることができない文字を挿入しようとしました。 | |
5418 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 | |
5419 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 | |
5420 | ||
5421 | =item Lexing code internal error (%s) | |
5422 | ||
5423 | =begin original | |
5424 | ||
5425 | (F) Lexing code supplied by an extension violated the lexer's API in a | |
5426 | detectable way. | |
5427 | ||
5428 | =end original | |
5429 | ||
5430 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で | |
5431 | 文法解析器の API に違反しています。 | |
5432 | ||
5433 | 4134 | =item listen() on closed socket %s |
5434 | 4135 | |
5435 | 4136 | =begin original |
5436 | 4137 | |
5437 | 4138 | (W closed) You tried to do a listen on a closed socket. Did you forget |
5438 | 4139 | to check the return value of your socket() call? See |
5439 | 4140 | L<perlfunc/listen>. |
5440 | 4141 | |
5441 | 4142 | =end original |
5442 | 4143 | |
5443 | 4144 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
5444 | 4145 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
5445 | 4146 | L<perlfunc/listen> を参照してください。 |
5446 | 4147 | |
5447 | =item lo | |
4148 | =item Lookbehind longer than %d not implemented at {#} mark in regex %s | |
5448 | 4149 | |
5449 | 4150 | =begin original |
5450 | 4151 | |
5451 | ||
4152 | There is an upper limit to the depth of lookbehind in the (?<= | |
5452 | ||
4153 | regular expression construct. | |
5453 | wrong date. This warning is also triggered with nan (the special | |
5454 | not-a-number value). | |
5455 | 4154 | |
5456 | 4155 | =end original |
5457 | 4156 | |
5458 | ( | |
4157 | (?<= 正規表現構造での前方参照の深さには上限があります。 | |
5459 | C<localtime> はおそらく間違った日付を返します。 | |
5460 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
5461 | 4158 | |
5462 | =item localtime(%.0f) too small | |
5463 | ||
5464 | =begin original | |
5465 | ||
5466 | (W overflow) You called C<localtime> with an number that was smaller | |
5467 | than it can reliably handle and C<localtime> probably returned the | |
5468 | wrong date. This warning is also triggered with nan (the special | |
5469 | not-a-number value). | |
5470 | ||
5471 | =end original | |
5472 | ||
5473 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので | |
5474 | C<localtime> はおそらく間違った日付を返します。 | |
5475 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
5476 | ||
5477 | =item Lookbehind longer than %d not implemented in regex m/%s/ | |
5478 | ||
5479 | =begin original | |
5480 | ||
5481 | (F) There is currently a limit on the length of string which lookbehind can | |
5482 | handle. This restriction may be eased in a future release. | |
5483 | ||
5484 | =end original | |
5485 | ||
5486 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
5487 | この制限は将来のリリースでは緩和されるでしょう。 | |
5488 | ||
5489 | =item Lost precision when %s %f by 1 | |
5490 | ||
5491 | =begin original | |
5492 | ||
5493 | (W) The value you attempted to increment or decrement by one is too large | |
5494 | for the underlying floating point representation to store accurately, | |
5495 | hence the target of C<++> or C<--> is unchanged. Perl issues this warning | |
5496 | because it has already switched from integers to floating point when values | |
5497 | are too large for integers, and now even floating point is insufficient. | |
5498 | You may wish to switch to using L<Math::BigInt> explicitly. | |
5499 | ||
5500 | =end original | |
5501 | ||
5502 | (W) インクリメントまたはデクリメントしようとしている値は、基礎となっている | |
5503 | 浮動小数点数表現にとって正確に保管するには大きすぎるので、 | |
5504 | C<++> や C<--> のターゲットは変更されません。 | |
5505 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に | |
5506 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 | |
5507 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 | |
5508 | ||
5509 | =item lstat() on filehandle %s | |
5510 | ||
5511 | =begin original | |
5512 | ||
5513 | (W io) You tried to do an lstat on a filehandle. What did you mean | |
5514 | by that? lstat() makes sense only on filenames. (Perl did a fstat() | |
5515 | instead on the filehandle.) | |
5516 | ||
5517 | =end original | |
5518 | ||
5519 | (W io) ファイルハンドルに lstat を実行しようとしました。 | |
5520 | これで何をしようとしたのですか? | |
5521 | lstat() はファイル名に対してのみ意味があります。 | |
5522 | (Perl はファイルハンドルには代わりに fstat() を行いました。) | |
5523 | ||
5524 | =item lvalue attribute ignored after the subroutine has been defined | |
5525 | ||
5526 | =begin original | |
5527 | ||
5528 | (W misc) Making a subroutine an lvalue subroutine after it has been defined | |
5529 | by declaring the subroutine with a lvalue attribute is not | |
5530 | possible. To make the the subroutine a lvalue subroutine add the | |
5531 | lvalue attribute to the definition, or put the the declaration before | |
5532 | the definition. | |
5533 | ||
5534 | =end original | |
5535 | ||
5536 | (W misc) サブルーチンを宣言した後、左辺値属性付きでサブルーチンを | |
5537 | 宣言することでサブルーチンを左辺値サブルーチンにすることは出来ません。 | |
5538 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 | |
5539 | 定義する前に宣言します。 | |
5540 | ||
5541 | 4159 | =item Lvalue subs returning %s not implemented yet |
5542 | 4160 | |
5543 | 4161 | =begin original |
5544 | 4162 | |
5545 | 4163 | (F) Due to limitations in the current implementation, array and hash |
5546 | 4164 | values cannot be returned in subroutines used in lvalue context. See |
5547 | 4165 | L<perlsub/"Lvalue subroutines">. |
5548 | 4166 | |
5549 | 4167 | =end original |
5550 | 4168 | |
5551 | 4169 | (F) 現在の実装の制限により、左辺値コンテキストで使われるサブルーチンは |
5552 | 4170 | 配列とハッシュの値を返すことができません。 |
5553 | 4171 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
5554 | 4172 | |
5555 | =item | |
4173 | =item Lookbehind longer than %d not implemented before << HERE %s | |
5556 | 4174 | |
5557 | 4175 | =begin original |
5558 | 4176 | |
5559 | (F) | |
4177 | (F) There is currently a limit on the length of string which lookbehind can | |
5560 | a | |
4178 | handle. This restriction may be eased in a future release. The << HERE shows in | |
4179 | the regular expression about where the problem was discovered. | |
5561 | 4180 | |
5562 | 4181 | =end original |
5563 | 4182 | |
5564 | ||
4183 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
5565 | ||
4184 | この制限は将来のリリースでは緩和されるでしょう。 | |
4185 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5566 | 4186 | |
5567 | =item Malformed integer in [] in unpack | |
5568 | ||
5569 | =begin original | |
5570 | ||
5571 | (F) Between the brackets enclosing a numeric repeat count only digits | |
5572 | are permitted. See L<perlfunc/pack>. | |
5573 | ||
5574 | =end original | |
5575 | ||
5576 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
5577 | L<perlfunc/pack> を参照してください。 | |
5578 | ||
5579 | 4187 | =item Malformed PERLLIB_PREFIX |
5580 | 4188 | |
5581 | 4189 | =begin original |
5582 | 4190 | |
5583 | 4191 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
5584 | 4192 | |
5585 | 4193 | =end original |
5586 | 4194 | |
5587 | 4195 | (F) OS/2 固有のエラーです。 |
5588 | 4196 | PERLLIB_PREFIX は以下のような形か: |
5589 | 4197 | |
5590 | 4198 | prefix1;prefix2 |
5591 | 4199 | |
5592 | 4200 | =begin original |
5593 | 4201 | |
5594 | 4202 | or |
5595 | prefix1 prefix2 | |
5596 | 4203 | |
5597 | 4204 | =end original |
5598 | 4205 | |
5599 | ||
4206 | あるいはこのような形で: | |
4207 | ||
5600 | 4208 | prefix1 prefix2 |
5601 | 4209 | |
5602 | 4210 | =begin original |
5603 | 4211 | |
5604 | 4212 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
5605 | 4213 | a builtin library search path, prefix2 is substituted. The error may |
5606 | 4214 | appear if components are not found, or are too long. See |
5607 | 4215 | "PERLLIB_PREFIX" in L<perlos2>. |
5608 | 4216 | |
5609 | 4217 | =end original |
5610 | 4218 | |
5611 | 4219 | prefix1 と prefix2 が空でない形である必要があります。 |
5612 | 4220 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
5613 | 4221 | prefix2 は置き換えられます。 |
5614 | 4222 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
5615 | 4223 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
5616 | 4224 | |
5617 | =item Malformed prototype for %s: %s | |
5618 | ||
5619 | =begin original | |
5620 | ||
5621 | (F) You tried to use a function with a malformed prototype. The | |
5622 | syntax of function prototypes is given a brief compile-time check for | |
5623 | obvious errors like invalid characters. A more rigorous check is run | |
5624 | when the function is called. | |
5625 | ||
5626 | =end original | |
5627 | ||
5628 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 | |
5629 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては | |
5630 | コンパイル時にチェックされます。 | |
5631 | より厳密なチェックは、関数が呼び出された時に実行されます。 | |
5632 | ||
5633 | 4225 | =item Malformed UTF-8 character (%s) |
5634 | 4226 | |
5635 | 4227 | =begin original |
5636 | 4228 | |
5637 | ||
4229 | Perl detected something that didn't comply with UTF-8 encoding rules. | |
5638 | encoding rules, even though it had the UTF8 flag on. | |
5639 | 4230 | |
5640 | 4231 | =end original |
5641 | 4232 | |
5642 | ||
4233 | Perl が、何か UTF-8 エンコーディングルールに従わないものを | |
5643 | ||
4234 | 検出しました。 | |
5644 | 4235 | |
5645 | =begin original | |
5646 | ||
5647 | One possible cause is that you set the UTF8 flag yourself for data that | |
5648 | you thought to be in UTF-8 but it wasn't (it was for example legacy | |
5649 | 8-bit data). To guard against this, you can use Encode::decode_utf8. | |
5650 | ||
5651 | =end original | |
5652 | ||
5653 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ | |
5654 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした | |
5655 | ことです。 | |
5656 | これから守るためには、Encode::decode_utf8 を使えます。 | |
5657 | ||
5658 | =begin original | |
5659 | ||
5660 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte | |
5661 | sequences are handled gracefully, but if you use C<:utf8>, the flag is | |
5662 | set without validating the data, possibly resulting in this error | |
5663 | message. | |
5664 | ||
5665 | =end original | |
5666 | ||
5667 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは | |
5668 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 | |
5669 | おそらく結果としてこのエラーメッセージが出力されます。 | |
5670 | ||
5671 | =begin original | |
5672 | ||
5673 | See also L<Encode/"Handling Malformed Data">. | |
5674 | ||
5675 | =end original | |
5676 | ||
5677 | L<Encode/"Handling Malformed Data"> も参照してください。 | |
5678 | ||
5679 | 4236 | =item Malformed UTF-16 surrogate |
5680 | 4237 | |
5681 | 4238 | =begin original |
5682 | 4239 | |
5683 | ||
4240 | Perl thought it was reading UTF-16 encoded character data but while | |
5684 | 4241 | doing it Perl met a malformed Unicode surrogate. |
5685 | 4242 | |
5686 | 4243 | =end original |
5687 | 4244 | |
5688 | ||
4245 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
5689 | 4246 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
5690 | 4247 | |
5691 | =item | |
4248 | =item %s matches null string many times | |
5692 | 4249 | |
5693 | 4250 | =begin original |
5694 | 4251 | |
5695 | (F) The charnames handler returned malformed UTF-8. | |
5696 | ||
5697 | =end original | |
5698 | ||
5699 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
5700 | ||
5701 | =item Malformed UTF-8 string in pack | |
5702 | ||
5703 | =begin original | |
5704 | ||
5705 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
5706 | rules and perl was unable to guess how to make more progress. | |
5707 | ||
5708 | =end original | |
5709 | ||
5710 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
5711 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
5712 | ||
5713 | =item Malformed UTF-8 string in unpack | |
5714 | ||
5715 | =begin original | |
5716 | ||
5717 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
5718 | rules and perl was unable to guess how to make more progress. | |
5719 | ||
5720 | =end original | |
5721 | ||
5722 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
5723 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
5724 | ||
5725 | =item Malformed UTF-8 string in '%c' format in unpack | |
5726 | ||
5727 | =begin original | |
5728 | ||
5729 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
5730 | rules and perl was unable to guess how to make more progress. | |
5731 | ||
5732 | =end original | |
5733 | ||
5734 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
5735 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
5736 | ||
5737 | =item Maximal count of pending signals (%d) exceeded | |
5738 | ||
5739 | =begin original | |
5740 | ||
5741 | (F) Perl aborted due to a too high number of signals pending. This | |
5742 | usually indicates that your operating system tried to deliver signals | |
5743 | too fast (with a very high priority), starving the perl process from | |
5744 | resources it would need to reach a point where it can process signals | |
5745 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
5746 | ||
5747 | =end original | |
5748 | ||
5749 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 | |
5750 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 | |
5751 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な | |
5752 | リソースが不足したことを示しています。 | |
5753 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) | |
5754 | ||
5755 | =item %s matches null string many times in regex; marked by <-- HERE in m/%s/ | |
5756 | ||
5757 | =begin original | |
5758 | ||
5759 | 4252 | (W regexp) The pattern you've specified would be an infinite loop if the |
5760 | regular expression engine didn't specifically check for that. | |
4253 | regular expression engine didn't specifically check for that. See | |
5761 | ||
4254 | L<perlre>. | |
5762 | See L<perlre>. | |
5763 | 4255 | |
5764 | 4256 | =end original |
5765 | 4257 | |
5766 | 4258 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
5767 | 4259 | 行なっていなければ、無限ループに陥るものです。 |
5768 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5769 | 4260 | L<perlre> を参照してください。 |
5770 | 4261 | |
5771 | =item | |
4262 | =item % may only be used in unpack | |
5772 | 4263 | |
5773 | 4264 | =begin original |
5774 | 4265 | |
5775 | (W) This warning may be due to running a perl5 script through a perl4 | |
5776 | interpreter, especially if the word that is being warned about is | |
5777 | "use" or "my". | |
5778 | ||
5779 | =end original | |
5780 | ||
5781 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした | |
5782 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は | |
5783 | そうです。 | |
5784 | ||
5785 | =item % may not be used in pack | |
5786 | ||
5787 | =begin original | |
5788 | ||
5789 | 4266 | (F) You can't pack a string by supplying a checksum, because the |
5790 | 4267 | checksumming process loses information, and you can't go the other way. |
5791 | 4268 | See L<perlfunc/unpack>. |
5792 | 4269 | |
5793 | 4270 | =end original |
5794 | 4271 | |
5795 | (F) チェックサムを指定して pack を行なうことはできません | |
4272 | (F) チェックサムを指定して pack を行なうことはできません。 | |
5796 | 4273 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
5797 | 4274 | L<perlfunc/unpack> を参照してください。 |
5798 | 4275 | |
5799 | 4276 | =item Method for operation %s not found in package %s during blessing |
5800 | 4277 | |
5801 | 4278 | =begin original |
5802 | 4279 | |
5803 | 4280 | (F) An attempt was made to specify an entry in an overloading table that |
5804 | 4281 | doesn't resolve to a valid subroutine. See L<overload>. |
5805 | 4282 | |
5806 | 4283 | =end original |
5807 | 4284 | |
5808 | 4285 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
5809 | 4286 | エントリを指定しようとしました。 |
5810 | 4287 | L<overload> を参照してください。 |
5811 | 4288 | |
5812 | 4289 | =item Method %s not permitted |
5813 | 4290 | |
5814 | 4291 | =begin original |
5815 | 4292 | |
5816 | 4293 | See Server error. |
5817 | 4294 | |
5818 | 4295 | =end original |
5819 | 4296 | |
5820 | 4297 | "Server error" を参照してください。 |
5821 | 4298 | |
5822 | 4299 | =item Might be a runaway multi-line %s string starting on line %d |
5823 | 4300 | |
5824 | 4301 | =begin original |
5825 | 4302 | |
5826 | 4303 | (S) An advisory indicating that the previous error may have been caused |
5827 | 4304 | by a missing delimiter on a string or pattern, because it eventually |
5828 | 4305 | ended earlier on the current line. |
5829 | 4306 | |
5830 | 4307 | =end original |
5831 | 4308 | |
5832 | 4309 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
5833 | 4310 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
5834 | 4311 | 起ったかもしれないことを、補足的に示しています。 |
5835 | 4312 | |
5836 | 4313 | =item Misplaced _ in number |
5837 | 4314 | |
5838 | 4315 | =begin original |
5839 | 4316 | |
5840 | (W syntax) An under | |
4317 | (W syntax) An underline in a decimal constant wasn't on a 3-digit boundary. | |
5841 | separate two digits. | |
5842 | 4318 | |
5843 | 4319 | =end original |
5844 | 4320 | |
5845 | (W syntax) 数 | |
4321 | (W syntax) 十進数定数で下線が、3 桁ごとでありませんでした。 | |
5846 | 4322 | |
5847 | =item Missing | |
4323 | =item Missing %sbrace%s on \N{} | |
5848 | 4324 | |
5849 | 4325 | =begin original |
5850 | 4326 | |
5851 | (W uninitialized) A printf-type format required more arguments than were | |
5852 | supplied. | |
5853 | ||
5854 | =end original | |
5855 | ||
5856 | (W uninitialized) printf 形式ののフォーマットが供給されたのよりも多くの引数を | |
5857 | 要求しました。 | |
5858 | ||
5859 | =item Missing argument to -%c | |
5860 | ||
5861 | =begin original | |
5862 | ||
5863 | (F) The argument to the indicated command line switch must follow | |
5864 | immediately after the switch, without intervening spaces. | |
5865 | ||
5866 | =end original | |
5867 | ||
5868 | (F) 示されたコマンドラインスイッチの引数は、 | |
5869 | スイッチの直後にスペースを空けないで書く必要があります。 | |
5870 | ||
5871 | =item Missing braces on \N{} | |
5872 | ||
5873 | =begin original | |
5874 | ||
5875 | 4327 | (F) Wrong syntax of character name literal C<\N{charname}> within |
5876 | double-quotish context. | |
4328 | double-quotish context. | |
5877 | comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. | |
5878 | This modifier does not change the requirement that the brace immediately follow | |
5879 | the C<\N>. | |
5880 | 4329 | |
5881 | 4330 | =end original |
5882 | 4331 | |
5883 | 4332 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
5884 | 4333 | 文法が間違っています。 |
5885 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または | |
5886 | コメント)がある場合にも起こります。 | |
5887 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 | |
5888 | 4334 | |
5889 | 4335 | =item Missing comma after first argument to %s function |
5890 | 4336 | |
5891 | 4337 | =begin original |
5892 | 4338 | |
5893 | 4339 | (F) While certain functions allow you to specify a filehandle or an |
5894 | 4340 | "indirect object" before the argument list, this ain't one of them. |
5895 | 4341 | |
5896 | 4342 | =end original |
5897 | 4343 | |
5898 | 4344 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
5899 | 4345 | 「間接オブジェクト」をおくことができますが、この関数は、 |
5900 | 4346 | そういったものではありません。 |
5901 | 4347 | |
5902 | 4348 | =item Missing command in piped open |
5903 | 4349 | |
5904 | 4350 | =begin original |
5905 | 4351 | |
5906 | 4352 | (W pipe) You used the C<open(FH, "| command")> or |
5907 | 4353 | C<open(FH, "command |")> construction, but the command was missing or |
5908 | 4354 | blank. |
5909 | 4355 | |
5910 | 4356 | =end original |
5911 | 4357 | |
5912 | 4358 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
5913 | 4359 | 使っていますが、コマンドが指定されていないか空白です。 |
5914 | 4360 | |
5915 | =item Missing control char name in \c | |
5916 | ||
5917 | =begin original | |
5918 | ||
5919 | (F) A double-quoted string ended with "\c", without the required control | |
5920 | character name. | |
5921 | ||
5922 | =end original | |
5923 | ||
5924 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が | |
5925 | 必要です。 | |
5926 | ||
5927 | 4361 | =item Missing name in "my sub" |
5928 | 4362 | |
5929 | 4363 | =begin original |
5930 | 4364 | |
5931 | 4365 | (F) The reserved syntax for lexically scoped subroutines requires that |
5932 | 4366 | they have a name with which they can be found. |
5933 | 4367 | |
5934 | 4368 | =end original |
5935 | 4369 | |
5936 | 4370 | (F) 予約された文法である、レキシカルスコープのサブルーチンには |
5937 | 4371 | 探すことの出来る名前が必要です。 |
5938 | 4372 | |
5939 | 4373 | =item Missing $ on loop variable |
5940 | 4374 | |
5941 | 4375 | =begin original |
5942 | 4376 | |
5943 | 4377 | (F) Apparently you've been programming in B<csh> too much. Variables |
5944 | 4378 | are always mentioned with the $ in Perl, unlike in the shells, where it |
5945 | 4379 | can vary from one line to the next. |
5946 | 4380 | |
5947 | 4381 | =end original |
5948 | 4382 | |
5949 | 4383 | (F) B<csh> を使いすぎた症状が現れているようです。 |
5950 | Perl では、変数は常に $ を付けて表わされます | |
4384 | Perl では、変数は常に $ を付けて表わされます。 | |
5951 | 違っています。 | |
4385 | その時によって違う、シェルとは違っています。 | |
5952 | 4386 | |
5953 | 4387 | =item (Missing operator before %s?) |
5954 | 4388 | |
5955 | 4389 | =begin original |
5956 | 4390 | |
5957 | (S | |
4391 | (S) This is an educated guess made in conjunction with the message "%s | |
5958 | ||
4392 | found where operator expected". Often the missing operator is a comma. | |
5959 | 4393 | |
5960 | 4394 | =end original |
5961 | 4395 | |
5962 | (S | |
4396 | (S) "%s found where operator expected" と共に表示される教育的な推測です。 | |
5963 | ||
4397 | しばしば抜けている演算子はカンマです。 | |
5964 | しばしば不足している演算子はカンマです。 | |
5965 | 4398 | |
5966 | =item Missing right brace on %s | |
5967 | ||
5968 | =begin original | |
5969 | ||
5970 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. | |
5971 | ||
5972 | =end original | |
5973 | ||
5974 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが | |
5975 | 抜けています。 | |
5976 | ||
5977 | =item Missing right brace on \\N{} or unescaped left brace after \\N | |
5978 | ||
5979 | =begin original | |
5980 | ||
5981 | (F) | |
5982 | C<\N> has two meanings. | |
5983 | ||
5984 | =end original | |
5985 | ||
5986 | (F) | |
5987 | C<\N> には二つの意味があります。 | |
5988 | ||
5989 | =begin original | |
5990 | ||
5991 | The traditional one has it followed by a name enclosed | |
5992 | in braces, meaning the character (or sequence of characters) given by that name. | |
5993 | Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
5994 | double-quoted strings and regular expression patterns. In patterns, it doesn't | |
5995 | have the meaning an unescaped C<*> does. | |
5996 | ||
5997 | =end original | |
5998 | ||
5999 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 | |
6000 | (または文字並び)を意味します。 | |
6001 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 | |
6002 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 | |
6003 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 | |
6004 | ||
6005 | =begin original | |
6006 | ||
6007 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) in | |
6008 | patterns, namely to match a non-newline character. (This is short for | |
6009 | C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) | |
6010 | ||
6011 | =end original | |
6012 | ||
6013 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; | |
6014 | 非改行文字にマッチングします。 | |
6015 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって | |
6016 | 影響を受けません。) | |
6017 | ||
6018 | =begin original | |
6019 | ||
6020 | This can lead to some ambiguities. When C<\N> is not followed immediately by a | |
6021 | left brace, Perl assumes the C<[^\n]> meaning. Also, if | |
6022 | the braces form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes | |
6023 | that this means to match the given quantity of non-newlines (in these examples, | |
6024 | 3; and 5 or more, respectively). In all other case, where there is a C<\N{> | |
6025 | and a matching C<}>, Perl assumes that a character name is desired. | |
6026 | ||
6027 | =end original | |
6028 | ||
6029 | これによりいくつかの曖昧さを引き起こします。 | |
6030 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 | |
6031 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に | |
6032 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と | |
6033 | 5 以上) にマッチングするという意味を仮定します。 | |
6034 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が | |
6035 | 求められていると仮定します。 | |
6036 | ||
6037 | =begin original | |
6038 | ||
6039 | However, if there is no matching C<}>, Perl doesn't know if it was mistakenly | |
6040 | omitted, or if C<[^\n]{> was desired, and | |
6041 | raises this error. If you meant the former, add the right brace; if you meant | |
6042 | the latter, escape the brace with a backslash, like so: C<\N\{> | |
6043 | ||
6044 | =end original | |
6045 | ||
6046 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 | |
6047 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 | |
6048 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を | |
6049 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで | |
6050 | エスケープしてください。 | |
6051 | ||
6052 | 4399 | =item Missing right curly or square bracket |
6053 | 4400 | |
6054 | 4401 | =begin original |
6055 | 4402 | |
6056 | 4403 | (F) The lexer counted more opening curly or square brackets than closing |
6057 | 4404 | ones. As a general rule, you'll find it's missing near the place you |
6058 | 4405 | were last editing. |
6059 | 4406 | |
6060 | 4407 | =end original |
6061 | 4408 | |
6062 | (F) 字句解析部が、閉じ中 | |
4409 | (F) 字句解析部が、閉じ中括弧(または大括弧)よりも | |
6063 | 開き中 | |
4410 | 開き中括弧(大括弧)を多く発見しました。 | |
6064 | 4411 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
6065 | 4412 | |
6066 | 4413 | =item (Missing semicolon on previous line?) |
6067 | 4414 | |
6068 | 4415 | =begin original |
6069 | 4416 | |
6070 | (S | |
4417 | (S) This is an educated guess made in conjunction with the message "%s | |
6071 | ||
4418 | found where operator expected". Don't automatically put a semicolon on | |
6072 | 4419 | the previous line just because you saw this message. |
6073 | 4420 | |
6074 | 4421 | =end original |
6075 | 4422 | |
6076 | (S | |
4423 | (S) このメッセージは、"%s found where operator expected" という | |
6077 | ||
4424 | メッセージに伴って出される教育的な推測によるものです。 | |
6078 | このメッセージが出たからといって、機械的に前の行に | |
4425 | このメッセージが出たからといって、機械的に前の行に | |
6079 | しないでください。 | |
4426 | セミコロンを付けることはしないでください。 | |
6080 | 4427 | |
6081 | 4428 | =item Modification of a read-only value attempted |
6082 | 4429 | |
6083 | 4430 | =begin original |
6084 | 4431 | |
6085 | 4432 | (F) You tried, directly or indirectly, to change the value of a |
6086 | 4433 | constant. You didn't, of course, try "2 = 1", because the compiler |
6087 | 4434 | catches that. But an easy way to do the same thing is: |
6088 | 4435 | |
6089 | 4436 | =end original |
6090 | 4437 | |
6091 | 4438 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
6092 | 4439 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
6093 | 4440 | したわけではありません。 |
6094 | 4441 | しかし、同じことは以下のようにしても起こります。 |
6095 | 4442 | |
6096 | 4443 | sub mod { $_[0] = 1 } |
6097 | 4444 | mod(2); |
6098 | 4445 | |
6099 | 4446 | =begin original |
6100 | 4447 | |
6101 | 4448 | Another way is to assign to a substr() that's off the end of the string. |
6102 | 4449 | |
6103 | 4450 | =end original |
6104 | 4451 | |
6105 | 4452 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
6106 | 4453 | |
6107 | 4454 | =begin original |
6108 | 4455 | |
6109 | 4456 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
6110 | 4457 | is aliased to a constant in the look I<LIST>: |
6111 | 4458 | |
6112 | 4459 | =end original |
6113 | 4460 | |
6114 | 4461 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
6115 | 4462 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
6116 | 4463 | |
6117 | 4464 | $x = 1; |
6118 | 4465 | foreach my $n ($x, 2) { |
6119 | 4466 | $n *= 2; # modifies the $x, but fails on attempt to modify the 2 |
6120 | } | |
4467 | } | |
6121 | 4468 | |
6122 | 4469 | =item Modification of non-creatable array value attempted, %s |
6123 | 4470 | |
6124 | 4471 | =begin original |
6125 | 4472 | |
6126 | 4473 | (F) You tried to make an array value spring into existence, and the |
6127 | 4474 | subscript was probably negative, even counting from end of the array |
6128 | 4475 | backwards. |
6129 | 4476 | |
6130 | 4477 | =end original |
6131 | 4478 | |
6132 | (F) 配列値を存在するようにしようとしました | |
4479 | (F) 配列値を存在するようにしようとしました。 おそらく、 | |
6133 | 終わりから逆に数えたとしても、 | |
4480 | 添字が負数で、配列の終わりから逆に数えたとしても、 | |
4481 | おかしな位置を指しているようです。 | |
6134 | 4482 | |
6135 | 4483 | =item Modification of non-creatable hash value attempted, %s |
6136 | 4484 | |
6137 | 4485 | =begin original |
6138 | 4486 | |
6139 | 4487 | (P) You tried to make a hash value spring into existence, and it |
6140 | 4488 | couldn't be created for some peculiar reason. |
6141 | 4489 | |
6142 | 4490 | =end original |
6143 | 4491 | |
6144 | 4492 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
6145 | 4493 | できませんでした。 |
6146 | 4494 | |
6147 | 4495 | =item Module name must be constant |
6148 | 4496 | |
6149 | 4497 | =begin original |
6150 | 4498 | |
6151 | 4499 | (F) Only a bare module name is allowed as the first argument to a "use". |
6152 | 4500 | |
6153 | 4501 | =end original |
6154 | 4502 | |
6155 | 4503 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
6156 | 4504 | 裸の単語だけです。 |
6157 | 4505 | |
6158 | 4506 | =item Module name required with -%c option |
6159 | 4507 | |
6160 | 4508 | =begin original |
6161 | 4509 | |
6162 | 4510 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
6163 | 4511 | you omitted the name of the module. Consult L<perlrun> for full details |
6164 | 4512 | about C<-M> and C<-m>. |
6165 | 4513 | |
6166 | 4514 | =end original |
6167 | 4515 | |
6168 | 4516 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
6169 | 4517 | 指示しますが、モジュール名がありませんでした。 |
6170 | 4518 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 |
6171 | 4519 | |
6172 | =item More than one argument to '%s' open | |
6173 | ||
6174 | =begin original | |
6175 | ||
6176 | (F) The C<open> function has been asked to open multiple files. This | |
6177 | can happen if you are trying to open a pipe to a command that takes a | |
6178 | list of arguments, but have forgotten to specify a piped open mode. | |
6179 | See L<perlfunc/open> for details. | |
6180 | ||
6181 | =end original | |
6182 | ||
6183 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 | |
6184 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ | |
6185 | オープンモードを指定するのを忘れた時に起きます。 | |
6186 | 詳細は L<perlfunc/open> を参照してください。 | |
6187 | ||
6188 | 4520 | =item msg%s not implemented |
6189 | 4521 | |
6190 | 4522 | =begin original |
6191 | 4523 | |
6192 | 4524 | (F) You don't have System V message IPC on your system. |
6193 | 4525 | |
6194 | 4526 | =end original |
6195 | 4527 | |
6196 | 4528 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
6197 | 4529 | |
6198 | 4530 | =item Multidimensional syntax %s not supported |
6199 | 4531 | |
6200 | 4532 | =begin original |
6201 | 4533 | |
6202 | 4534 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
6203 | 4535 | They're written like C<$foo[1][2][3]>, as in C. |
6204 | 4536 | |
6205 | 4537 | =end original |
6206 | 4538 | |
6207 | 4539 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
6208 | 4540 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
6209 | 4541 | |
6210 | =item | |
4542 | =item / must be followed by a*, A* or Z* | |
6211 | 4543 | |
6212 | 4544 | =begin original |
6213 | 4545 | |
6214 | (F) You had a | |
4546 | (F) You had a pack template indicating a counted-length string, | |
6215 | ||
4547 | Currently the only things that can have their length counted are a*, A* | |
6216 | See L<perlfunc/pack>. | |
4548 | or Z*. See L<perlfunc/pack>. | |
6217 | 4549 | |
6218 | 4550 | =end original |
6219 | 4551 | |
6220 | (F) | |
4552 | (F) カウント長文字列を示す pack テンプレートがあります。 | |
6221 | ||
4553 | 現在のところ長さをカウントできるのは a*, A*, Z* だけです。 | |
6222 | 4554 | L<perlfunc/pack> を参照してください。 |
6223 | 4555 | |
6224 | =item | |
4556 | =item / must be followed by a, A or Z | |
6225 | 4557 | |
6226 | 4558 | =begin original |
6227 | 4559 | |
6228 | (F) | |
4560 | (F) You had an unpack template indicating a counted-length string, which | |
6229 | that | |
4561 | must be followed by one of the letters a, A or Z to indicate what sort | |
4562 | of string is to be unpacked. See L<perlfunc/pack>. | |
6230 | 4563 | |
6231 | 4564 | =end original |
6232 | 4565 | |
6233 | (F) | |
4566 | (F) カウント長文字列を示す unpack テンプレートがあります; | |
6234 | ||
4567 | これはどの種類の文字列を unpack するかを指示する、文字 a, A, Z の | |
4568 | いずれかの後に続かなければなりません。 | |
4569 | L<perlfunc/pack> を参照してください。 | |
6235 | 4570 | |
6236 | =item | |
4571 | =item / must follow a numeric type | |
6237 | 4572 | |
6238 | 4573 | =begin original |
6239 | 4574 | |
6240 | (F) | |
4575 | (F) You had an unpack template that contained a '#', but this did not | |
6241 | ||
4576 | follow some numeric unpack specification. See L<perlfunc/pack>. | |
6242 | local() if you want to localize a package variable. | |
6243 | 4577 | |
6244 | 4578 | =end original |
6245 | 4579 | |
6246 | (F) | |
4580 | (F) '#' を含む unpack テンプレートがありますが、これがなんらかの | |
6247 | ||
4581 | 数値 unpack 指定に引き続いていません。 | |
6248 | ||
4582 | L<perlfunc/pack> を参照してください。 | |
6249 | 4583 | |
6250 | =item | |
4584 | =item "my sub" not yet implemented | |
6251 | 4585 | |
6252 | 4586 | =begin original |
6253 | 4587 | |
6254 | (F) | |
4588 | (F) Lexically scoped subroutines are not yet implemented. Don't try | |
6255 | ||
4589 | that yet. | |
6256 | specialness: it matches almost everything, which is probably not what you want. | |
6257 | 4590 | |
6258 | 4591 | =end original |
6259 | 4592 | |
6260 | (F) | |
4593 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 | |
6261 | ||
4594 | まだ試さないでください。 | |
6262 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
6263 | ないでしょう。 | |
6264 | 4595 | |
6265 | =item | |
4596 | =item "my" variable %s can't be in a package | |
6266 | 4597 | |
6267 | 4598 | =begin original |
6268 | 4599 | |
6269 | (F) | |
4600 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
6270 | ||
4601 | sense to try to declare one with a package qualifier on the front. Use | |
6271 | ||
4602 | local() if you want to localize a package variable. | |
6272 | 4603 | |
6273 | 4604 | =end original |
6274 | 4605 | |
6275 | (F) | |
4606 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 | |
6276 | ||
4607 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
6277 | ||
4608 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
6278 | 余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで | |
6279 | 起こります: | |
6280 | 4609 | |
6281 | $re = '\N{SPACE}'; # Wrong! | |
6282 | $re = "\\N{SPACE}"; # Wrong! | |
6283 | /$re/; | |
6284 | ||
6285 | =begin original | |
6286 | ||
6287 | Instead, use double-quotes with a single backslash: | |
6288 | ||
6289 | =end original | |
6290 | ||
6291 | 代わりに、単一のバックスラッシュとダブルクォートを使ってください: | |
6292 | ||
6293 | $re = "\N{SPACE}"; # ok | |
6294 | /$re/; | |
6295 | ||
6296 | =begin original | |
6297 | ||
6298 | The lexer can be bypassed as well by creating the pattern from smaller | |
6299 | components: | |
6300 | ||
6301 | =end original | |
6302 | ||
6303 | 字句解析器はより小さい構造からパターンを作ることによっても回避できます: | |
6304 | ||
6305 | $re = '\N'; | |
6306 | /${re}{SPACE}/; # Wrong! | |
6307 | ||
6308 | =begin original | |
6309 | ||
6310 | It's not a good idea to split a construct in the middle like this, and it | |
6311 | doesn't work here. Instead use the solution above. | |
6312 | ||
6313 | =end original | |
6314 | ||
6315 | このように中間で構造を分割することはよい考えではなく、ここでは動作しません。 | |
6316 | 代わりに上述した解決法を使ってください。 | |
6317 | ||
6318 | =begin original | |
6319 | ||
6320 | Finally, the message also can happen under the C</x> regex modifier when the | |
6321 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. | |
6322 | ||
6323 | =end original | |
6324 | ||
6325 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と | |
6326 | 空白で区切られているときにもでます; この場合、空白を削除します。 | |
6327 | ||
6328 | /\N {SPACE}/x; # Wrong! | |
6329 | /\N{SPACE}/x; # ok | |
6330 | ||
6331 | 4610 | =item Name "%s::%s" used only once: possible typo |
6332 | 4611 | |
6333 | 4612 | =begin original |
6334 | 4613 | |
6335 | 4614 | (W once) Typographical errors often show up as unique variable names. |
6336 | 4615 | If you had a good reason for having a unique name, then just mention it |
6337 | 4616 | again somehow to suppress the message. The C<our> declaration is |
6338 | 4617 | provided for this purpose. |
6339 | 4618 | |
6340 | 4619 | =end original |
6341 | 4620 | |
6342 | 4621 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
6343 | 4622 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
6344 | 4623 | このメッセージを抑制できます。 |
6345 | 4624 | C<our> 宣言がこの目的のために提供されています。 |
6346 | 4625 | |
6347 | =begin original | |
6348 | ||
6349 | NOTE: This warning detects symbols that have been used only once so $c, @c, | |
6350 | %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered | |
6351 | the same; if a program uses $c only once but also uses any of the others it | |
6352 | will not trigger this warning. | |
6353 | ||
6354 | =end original | |
6355 | ||
6356 | 注意: この警告はシンボルが一度だけしか使われていないことを検出するので、 | |
6357 | $c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は | |
6358 | 全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても | |
6359 | その他のものが使われている場合、警告は発生しません。 | |
6360 | ||
6361 | =item Invalid hexadecimal number in \\N{U+...} | |
6362 | ||
6363 | =begin original | |
6364 | ||
6365 | (F) The character constant represented by C<...> is not a valid hexadecimal | |
6366 | number. Either it is empty, or you tried to use a character other than 0 - 9 | |
6367 | or A - F, a - f in a hexadecimal number. | |
6368 | ||
6369 | =end original | |
6370 | ||
6371 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 | |
6372 | 空文字列か、0 - 9, A - F, a - f 以外の文字を 16 進数として使おうとしました。 | |
6373 | ||
6374 | =item Negative '/' count in unpack | |
6375 | ||
6376 | =begin original | |
6377 | ||
6378 | (F) The length count obtained from a length/code unpack operation was | |
6379 | negative. See L<perlfunc/pack>. | |
6380 | ||
6381 | =end original | |
6382 | ||
6383 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 | |
6384 | L<perlfunc/pack> を参照してください。 | |
6385 | ||
6386 | 4626 | =item Negative length |
6387 | 4627 | |
6388 | 4628 | =begin original |
6389 | 4629 | |
6390 | 4630 | (F) You tried to do a read/write/send/recv operation with a buffer |
6391 | 4631 | length that is less than 0. This is difficult to imagine. |
6392 | 4632 | |
6393 | 4633 | =end original |
6394 | 4634 | |
6395 | 4635 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
6396 | 4636 | 行なおうとしました。 |
6397 | こ | |
4637 | どのようなことがしたいのか判断できません。 | |
6398 | 4638 | |
6399 | =item Ne | |
4639 | =item Nested quantifiers before << HERE in regex m/%s/ | |
6400 | 4640 | |
6401 | 4641 | =begin original |
6402 | 4642 | |
6403 | (F) When C<vec> is called in an lvalue context, the second argument must be | |
6404 | greater than or equal to zero. | |
6405 | ||
6406 | =end original | |
6407 | ||
6408 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 | |
6409 | 二つ目の引数は 0 以上でなければなりません。 | |
6410 | ||
6411 | =item Nested quantifiers in regex; marked by <-- HERE in m/%s/ | |
6412 | ||
6413 | =begin original | |
6414 | ||
6415 | 4643 | (F) You can't quantify a quantifier without intervening parentheses. So |
6416 | things like ** or +* or ?* are illegal. The < | |
4644 | things like ** or +* or ?* are illegal. The << HERE shows in the regular | |
6417 | 4645 | expression about where the problem was discovered. |
6418 | 4646 | |
6419 | 4647 | =end original |
6420 | 4648 | |
6421 | (F) | |
4649 | (F) 括弧を挟まないで、数量子を数量子で修飾することはできません。 | |
6422 | 4650 | つまり、** や +* や ?* といったものは、正しくありません。 |
6423 | < | |
4651 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
6424 | 4652 | |
6425 | 4653 | =begin original |
6426 | 4654 | |
6427 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and | |
4655 | Note, however, that the minimal matching quantifiers, C<*?>, C<+?>, and | |
6428 | 4656 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
6429 | 4657 | |
6430 | 4658 | =end original |
6431 | 4659 | |
6432 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
4660 | しかし、最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
6433 | 4661 | 見えますが、そうではありません。 |
6434 | 4662 | L<perlre> を参照してください。 |
6435 | 4663 | |
6436 | 4664 | =item %s never introduced |
6437 | 4665 | |
6438 | 4666 | =begin original |
6439 | 4667 | |
6440 | 4668 | (S internal) The symbol in question was declared but somehow went out of |
6441 | 4669 | scope before it could possibly have been used. |
6442 | 4670 | |
6443 | 4671 | =end original |
6444 | 4672 | |
6445 | 4673 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
6446 | 4674 | 外れてしまいました。 |
6447 | 4675 | |
6448 | =item next::method/next::can/maybe::next::method cannot find enclosing method | |
6449 | ||
6450 | =begin original | |
6451 | ||
6452 | (F) C<next::method> needs to be called within the context of a | |
6453 | real method in a real package, and it could not find such a context. | |
6454 | See L<mro>. | |
6455 | ||
6456 | =end original | |
6457 | ||
6458 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる | |
6459 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 | |
6460 | L<mro> を参照してください。 | |
6461 | ||
6462 | 4676 | =item No %s allowed while running setuid |
6463 | 4677 | |
6464 | 4678 | =begin original |
6465 | 4679 | |
6466 | 4680 | (F) Certain operations are deemed to be too insecure for a setuid or |
6467 | 4681 | setgid script to even be allowed to attempt. Generally speaking there |
6468 | 4682 | will be another way to do what you want that is, if not secure, at least |
6469 | 4683 | securable. See L<perlsec>. |
6470 | 4684 | |
6471 | 4685 | =end original |
6472 | 4686 | |
6473 | 4687 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
6474 | 4688 | やってみることはできても、とても安全なものとは考えられないものです。 |
6475 | 4689 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
6476 | 4690 | L<perlsec> を参照してください。 |
6477 | 4691 | |
4692 | =item No B<-e> allowed in setuid scripts | |
4693 | ||
4694 | =begin original | |
4695 | ||
4696 | (F) A setuid script can't be specified by the user. | |
4697 | ||
4698 | =end original | |
4699 | ||
4700 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
4701 | ||
6478 | 4702 | =item No comma allowed after %s |
6479 | 4703 | |
6480 | 4704 | =begin original |
6481 | 4705 | |
6482 | 4706 | (F) A list operator that has a filehandle or "indirect object" is not |
6483 | 4707 | allowed to have a comma between that and the following arguments. |
6484 | 4708 | Otherwise it'd be just another one of the arguments. |
6485 | 4709 | |
6486 | 4710 | =end original |
6487 | 4711 | |
6488 | 4712 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
6489 | 4713 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
6490 | 4714 | そのようにした場合には、引数の一つとなってしまいます。 |
6491 | 4715 | |
6492 | 4716 | =begin original |
6493 | 4717 | |
6494 | 4718 | One possible cause for this is that you expected to have imported a |
6495 | 4719 | constant to your name space with B<use> or B<import> while no such |
6496 | 4720 | importing took place, it may for example be that your operating system |
6497 | 4721 | does not support that particular constant. Hopefully you did use an |
6498 | 4722 | explicit import list for the constants you expect to see, please see |
6499 | 4723 | L<perlfunc/use> and L<perlfunc/import>. While an explicit import list |
6500 | 4724 | would probably have caught this error earlier it naturally does not |
6501 | 4725 | remedy the fact that your operating system still does not support that |
6502 | 4726 | constant. Maybe you have a typo in the constants of the symbol import |
6503 | 4727 | list of B<use> or B<import> or in the constant name at the line where |
6504 | 4728 | this error was triggered? |
6505 | 4729 | |
6506 | 4730 | =end original |
6507 | 4731 | |
6508 | 4732 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
6509 | 4733 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
6510 | 4734 | 場合です; |
6511 | 4735 | 例えば OS が特定の定数に対応していない場合などです。 |
6512 | 4736 | できればインポートしたい定数のリストを明示的に使ってください; |
6513 | 4737 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
6514 | 4738 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
6515 | 4739 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
6516 | 4740 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
6517 | 4741 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
6518 | 4742 | |
6519 | 4743 | =item No command into which to pipe on command line |
6520 | 4744 | |
6521 | 4745 | =begin original |
6522 | 4746 | |
6523 | 4747 | (F) An error peculiar to VMS. Perl handles its own command line |
6524 | 4748 | redirection, and found a '|' at the end of the command line, so it |
6525 | 4749 | doesn't know where you want to pipe the output from this command. |
6526 | 4750 | |
6527 | 4751 | =end original |
6528 | 4752 | |
6529 | (F) VMS | |
4753 | (F) VMSに固有のエラーです。 | |
6530 | 4754 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
6531 | 4755 | コマンドラインの最後にに '|' を発見しましたが、 |
6532 | 4756 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
6533 | 4757 | |
6534 | 4758 | =item No DB::DB routine defined |
6535 | 4759 | |
6536 | 4760 | =begin original |
6537 | 4761 | |
6538 | 4762 | (F) The currently executing code was compiled with the B<-d> switch, but |
6539 | for some reason the | |
4763 | for some reason the perl5db.pl file (or some facsimile thereof) didn't | |
6540 | ||
4764 | define a routine to be called at the beginning of each statement. Which | |
6541 | s | |
4765 | is odd, because the file should have been required automatically, and | |
4766 | should have blown up the require if it didn't parse right. | |
6542 | 4767 | |
6543 | 4768 | =end original |
6544 | 4769 | |
6545 | 4770 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
6546 | 何らかの理由により、 | |
4771 | 何らかの理由により、perl5db.pl (あるいは、その複製) が各実行文の頭で | |
6547 | ||
4772 | 呼び出すルーティンを定義していません。 | |
4773 | そのファイルは自動的に require されるものであり、正しく解釈できなければ、 | |
4774 | require が失敗するはずですので、これはとても有り得ない状態です。 | |
6548 | 4775 | |
6549 | 4776 | =item No dbm on this machine |
6550 | 4777 | |
6551 | 4778 | =begin original |
6552 | 4779 | |
6553 | 4780 | (P) This is counted as an internal error, because every machine should |
6554 | 4781 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
6555 | 4782 | |
6556 | 4783 | =end original |
6557 | 4784 | |
6558 | (P) これは、内部エラーとして扱われます | |
4785 | (P) これは、内部エラーとして扱われます。 Perl に SDBM が付いてくるので、 | |
6559 | 4786 | どのマシンでも dbm が使えるはずだからです。 |
6560 | 4787 | L<SDBM_File> を参照してください。 |
6561 | 4788 | |
6562 | =item No DB | |
4789 | =item No DBsub routine | |
6563 | 4790 | |
6564 | 4791 | =begin original |
6565 | 4792 | |
6566 | (F) The currently executing code was compiled with the B<-d> switch, | |
4793 | (F) The currently executing code was compiled with the B<-d> switch, | |
6567 | for some reason the | |
4794 | but for some reason the perl5db.pl file (or some facsimile thereof) | |
6568 | ||
4795 | didn't define a DB::sub routine to be called at the beginning of each | |
6569 | o | |
4796 | ordinary subroutine call. | |
6570 | 4797 | |
6571 | 4798 | =end original |
6572 | 4799 | |
6573 | (F) 現在実行中のコードは、 | |
4800 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 | |
6574 | 何らかの理由により、 | |
4801 | 何らかの理由により、perl5db.pl (あるいは、その複製) が | |
6575 | 各サブルー | |
4802 | 各サブルーティン呼び出しの頭で呼び出す | |
6576 | 定義していませんでした。 | |
4803 | DB::sub ルーティンを定義していませんでした。 | |
6577 | 4804 | |
6578 | =item No B<-e> allowed in setuid scripts | |
6579 | ||
6580 | =begin original | |
6581 | ||
6582 | (F) A setuid script can't be specified by the user. | |
6583 | ||
6584 | =end original | |
6585 | ||
6586 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
6587 | ||
6588 | 4805 | =item No error file after 2> or 2>> on command line |
6589 | 4806 | |
6590 | 4807 | =begin original |
6591 | 4808 | |
6592 | 4809 | (F) An error peculiar to VMS. Perl handles its own command line |
6593 | 4810 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
6594 | 4811 | find the name of the file to which to write data destined for stderr. |
6595 | 4812 | |
6596 | 4813 | =end original |
6597 | 4814 | |
6598 | (F) VMS | |
4815 | (F) VMSに固有のエラーです。 | |
6599 | 4816 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
6600 | 4817 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
6601 | 4818 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
6602 | 4819 | |
6603 | =item No group ending character '%c' found in template | |
6604 | ||
6605 | =begin original | |
6606 | ||
6607 | (F) A pack or unpack template has an opening '(' or '[' without its | |
6608 | matching counterpart. See L<perlfunc/pack>. | |
6609 | ||
6610 | =end original | |
6611 | ||
6612 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 | |
6613 | 対応する閉じかっこがありません。 | |
6614 | L<perlfunc/pack> を参照してください。 | |
6615 | ||
6616 | 4820 | =item No input file after < on command line |
6617 | 4821 | |
6618 | 4822 | =begin original |
6619 | 4823 | |
6620 | 4824 | (F) An error peculiar to VMS. Perl handles its own command line |
6621 | 4825 | redirection, and found a '<' on the command line, but can't find the |
6622 | 4826 | name of the file from which to read data for stdin. |
6623 | 4827 | |
6624 | 4828 | =end original |
6625 | 4829 | |
6626 | (F) VMS | |
4830 | (F) VMS 特有のエラーです。 | |
6627 | 4831 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
6628 | 4832 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
6629 | 4833 | 見つかりませんでした。 |
6630 | 4834 | |
6631 | 4835 | =item No #! line |
6632 | 4836 | |
6633 | 4837 | =begin original |
6634 | 4838 | |
6635 | 4839 | (F) The setuid emulator requires that scripts have a well-formed #! line |
6636 | 4840 | even on machines that don't support the #! construct. |
6637 | 4841 | |
6638 | 4842 | =end original |
6639 | 4843 | |
6640 | 4844 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 |
6641 | 4845 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 |
6642 | 4846 | |
6643 | =item No next::method '%s' found for %s | |
6644 | ||
6645 | =begin original | |
6646 | ||
6647 | (F) C<next::method> found no further instances of this method name | |
6648 | in the remaining packages of the MRO of this class. If you don't want | |
6649 | it throwing an exception, use C<maybe::next::method> | |
6650 | or C<next::can>. See L<mro>. | |
6651 | ||
6652 | =end original | |
6653 | ||
6654 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この | |
6655 | メソッド名のインスタンスがもうありません。 | |
6656 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を | |
6657 | 使ってください。 | |
6658 | L<mro> を参照してください。 | |
6659 | ||
6660 | 4847 | =item "no" not allowed in expression |
6661 | 4848 | |
6662 | 4849 | =begin original |
6663 | 4850 | |
6664 | 4851 | (F) The "no" keyword is recognized and executed at compile time, and |
6665 | 4852 | returns no useful value. See L<perlmod>. |
6666 | 4853 | |
6667 | 4854 | =end original |
6668 | 4855 | |
6669 | 4856 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
6670 | 4857 | 意味のある値を返しません。 |
6671 | 4858 | L<perlmod> を参照してください。 |
6672 | 4859 | |
6673 | 4860 | =item No output file after > on command line |
6674 | 4861 | |
6675 | 4862 | =begin original |
6676 | 4863 | |
6677 | 4864 | (F) An error peculiar to VMS. Perl handles its own command line |
6678 | 4865 | redirection, and found a lone '>' at the end of the command line, so it |
6679 | 4866 | doesn't know where you wanted to redirect stdout. |
6680 | 4867 | |
6681 | 4868 | =end original |
6682 | 4869 | |
6683 | (F) VMS | |
4870 | (F) VMS 特有のエラーです。 | |
6684 | 4871 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
6685 | 4872 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
6686 | 4873 | わかりませんでした。 |
6687 | 4874 | |
6688 | 4875 | =item No output file after > or >> on command line |
6689 | 4876 | |
6690 | 4877 | =begin original |
6691 | 4878 | |
6692 | 4879 | (F) An error peculiar to VMS. Perl handles its own command line |
6693 | 4880 | redirection, and found a '>' or a '>>' on the command line, but can't |
6694 | 4881 | find the name of the file to which to write data destined for stdout. |
6695 | 4882 | |
6696 | 4883 | =end original |
6697 | 4884 | |
6698 | (F) VMS | |
4885 | (F) VMS 特有のエラーです。 | |
6699 | 4886 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
6700 | 4887 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
6701 | 4888 | 見つかりませんでした。 |
6702 | 4889 | |
6703 | 4890 | =item No package name allowed for variable %s in "our" |
6704 | 4891 | |
6705 | 4892 | =begin original |
6706 | 4893 | |
6707 | 4894 | (F) Fully qualified variable names are not allowed in "our" |
6708 | 4895 | declarations, because that doesn't make much sense under existing |
6709 | 4896 | semantics. Such syntax is reserved for future extensions. |
6710 | 4897 | |
6711 | 4898 | =end original |
6712 | 4899 | |
6713 | 4900 | (F) 完全修飾変数名は "our" 宣言では使えません; |
6714 | 4901 | なぜなら現在の動作ではほとんど意味がないからです。 |
6715 | 4902 | そのような文法は将来の拡張に予約されています。 |
6716 | 4903 | |
6717 | 4904 | =item No Perl script found in input |
6718 | 4905 | |
6719 | 4906 | =begin original |
6720 | 4907 | |
6721 | 4908 | (F) You called C<perl -x>, but no line was found in the file beginning |
6722 | 4909 | with #! and containing the word "perl". |
6723 | 4910 | |
6724 | 4911 | =end original |
6725 | 4912 | |
6726 | 4913 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
6727 | 4914 | "perl" という語を含む行が見つかりませんでした。 |
6728 | 4915 | |
6729 | 4916 | =item No setregid available |
6730 | 4917 | |
6731 | 4918 | =begin original |
6732 | 4919 | |
6733 | 4920 | (F) Configure didn't find anything resembling the setregid() call for |
6734 | 4921 | your system. |
6735 | 4922 | |
6736 | 4923 | =end original |
6737 | 4924 | |
6738 | 4925 | (F) Configure が、システム上に setregid() のような関数を |
6739 | 4926 | 見つけられませんでした。 |
6740 | 4927 | |
6741 | 4928 | =item No setreuid available |
6742 | 4929 | |
6743 | 4930 | =begin original |
6744 | 4931 | |
6745 | 4932 | (F) Configure didn't find anything resembling the setreuid() call for |
6746 | 4933 | your system. |
6747 | 4934 | |
6748 | 4935 | =end original |
6749 | 4936 | |
6750 | 4937 | (F) Configure が、システム上に setreuid() のような関数を |
6751 | 4938 | 見つけられませんでした。 |
6752 | 4939 | |
6753 | =item No | |
4940 | =item No space allowed after -%c | |
6754 | 4941 | |
6755 | 4942 | =begin original |
6756 | 4943 | |
6757 | (F) The indicated command line switch | |
4944 | (F) The argument to the indicated command line switch must follow | |
6758 | y | |
4945 | immediately after the switch, without intervening spaces. | |
6759 | 4946 | |
6760 | 4947 | =end original |
6761 | 4948 | |
6762 | (F) | |
4949 | (F) 示されたコマンドラインスイッチの引数は、 | |
6763 | ||
4950 | スイッチの直後にスペースを空けないで書く必要があります。 | |
6764 | 4951 | |
6765 | =item No s | |
4952 | =item No %s specified for -%c | |
6766 | 4953 | |
6767 | 4954 | =begin original |
6768 | 4955 | |
6769 | (F) | |
4956 | (F) The indicated command line switch needs a mandatory argument, but | |
6770 | ||
4957 | you haven't specified one. | |
6771 | package has restricted the set of allowed keys using the L<fields> pragma. | |
6772 | 4958 | |
6773 | 4959 | =end original |
6774 | 4960 | |
6775 | (F) 示され | |
4961 | (F) 指示されたコマンドラインオプションには引数が必須ですが、それが | |
6776 | ||
4962 | 指定されませんでした。 | |
6777 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が | |
6778 | 制限されています。 | |
6779 | 4963 | |
6780 | =item No such | |
4964 | =item No such pipe open | |
6781 | 4965 | |
6782 | 4966 | =begin original |
6783 | 4967 | |
6784 | ( | |
4968 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to | |
6785 | ||
4969 | close a pipe which hadn't been opened. This should have been caught | |
4970 | earlier as an attempt to close an unopened filehandle. | |
6786 | 4971 | |
6787 | 4972 | =end original |
6788 | 4973 | |
6789 | ( | |
4974 | (P) VMS 特有のエラーです。 | |
6790 | ||
4975 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 | |
4976 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに | |
4977 | 捕捉されるべきものです。 | |
6791 | 4978 | |
6792 | =item No such | |
4979 | =item No such pseudo-hash field "%s" | |
6793 | 4980 | |
6794 | 4981 | =begin original |
6795 | 4982 | |
6796 | (F) You | |
4983 | (F) You tried to access an array as a hash, but the field name used is | |
6797 | ||
4984 | not defined. The hash at index 0 should map all valid field names to | |
4985 | array indices for that to work. | |
6798 | 4986 | |
6799 | 4987 | =end original |
6800 | 4988 | |
6801 | (F) | |
4989 | (F) 配列にハッシュとしてアクセスしようとしましたが、使われたフィールド名は | |
6802 | ||
4990 | 未定義です。 | |
6803 | ||
4991 | インデックス 0 のハッシュは全ての有効なフィールド名が動作する配列 | |
4992 | インデックスにマッピングされるべきです。 | |
6804 | 4993 | |
6805 | =item No such pi | |
4994 | =item No such pseudo-hash field "%s" in variable %s of type %s | |
6806 | 4995 | |
6807 | 4996 | =begin original |
6808 | 4997 | |
6809 | ( | |
4998 | (F) You tried to access a field of a typed variable where the type does | |
6810 | ||
4999 | not know about the field name. The field names are looked up in the | |
6811 | ||
5000 | %FIELDS hash in the type package at compile time. The %FIELDS hash is | |
5001 | %usually set up with the 'fields' pragma. | |
6812 | 5002 | |
6813 | 5003 | =end original |
6814 | 5004 | |
6815 | ( | |
5005 | (F) 型がフィールド名について知らない型付き変数のフィールドに | |
6816 | ||
5006 | アクセスしようとしました。 | |
6817 | ||
5007 | フィールド名はコンパイル時に型パッケージの %FIELDS ハッシュから | |
6818 | ||
5008 | 検索されます。 | |
5009 | %FIELDS ハッシュは通常 'fields' プラグマで設定されます。 | |
6819 | 5010 | |
6820 | 5011 | =item No such signal: SIG%s |
6821 | 5012 | |
6822 | 5013 | =begin original |
6823 | 5014 | |
6824 | 5015 | (W signal) You specified a signal name as a subscript to %SIG that was |
6825 | 5016 | not recognized. Say C<kill -l> in your shell to see the valid signal |
6826 | 5017 | names on your system. |
6827 | 5018 | |
6828 | 5019 | =end original |
6829 | 5020 | |
6830 | 5021 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
6831 | 5022 | お使いのシステムで使用可能なシグナル名を調べるには、 |
6832 | 5023 | シェル上で C<kill -l> などとしてください。 |
6833 | 5024 | |
6834 | 5025 | =item Not a CODE reference |
6835 | 5026 | |
6836 | 5027 | =begin original |
6837 | 5028 | |
6838 | 5029 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
6839 | 5030 | subroutine), but found a reference to something else instead. You can |
6840 | 5031 | use the ref() function to find out what kind of ref it really was. See |
6841 | 5032 | also L<perlref>. |
6842 | 5033 | |
6843 | 5034 | =end original |
6844 | 5035 | |
6845 | (F) Perl がコード値 (サブルー | |
5036 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
6846 | 5037 | 評価しようとしましたが、別のものへのリファレンスでした。 |
6847 | 5038 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
6848 | 5039 | 使うことができます。 |
6849 | 5040 | L<perlref> も参照してください。 |
6850 | 5041 | |
6851 | 5042 | =item Not a format reference |
6852 | 5043 | |
6853 | 5044 | =begin original |
6854 | 5045 | |
6855 | 5046 | (F) I'm not sure how you managed to generate a reference to an anonymous |
6856 | 5047 | format, but this indicates you did, and that it didn't exist. |
6857 | 5048 | |
6858 | 5049 | =end original |
6859 | 5050 | |
6860 | 5051 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは |
6861 | 5052 | わかりませんが、このメッセージは、それが指定されて、 |
6862 | 5053 | 存在しなかったことを示します。 |
6863 | 5054 | |
6864 | 5055 | =item Not a GLOB reference |
6865 | 5056 | |
6866 | 5057 | =begin original |
6867 | 5058 | |
6868 | 5059 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
6869 | 5060 | symbol table entry that looks like C<*foo>), but found a reference to |
6870 | 5061 | something else instead. You can use the ref() function to find out what |
6871 | 5062 | kind of ref it really was. See L<perlref>. |
6872 | 5063 | |
6873 | 5064 | =end original |
6874 | 5065 | |
6875 | 5066 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
6876 | 5067 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
6877 | 5068 | 別のものへのリファレンスでした。 |
6878 | 5069 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
6879 | 5070 | 使うことができます。 |
6880 | 5071 | L<perlref> を参照してください。 |
6881 | 5072 | |
6882 | 5073 | =item Not a HASH reference |
6883 | 5074 | |
6884 | 5075 | =begin original |
6885 | 5076 | |
6886 | 5077 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
6887 | 5078 | reference to something else instead. You can use the ref() function to |
6888 | 5079 | find out what kind of ref it really was. See L<perlref>. |
6889 | 5080 | |
6890 | 5081 | =end original |
6891 | 5082 | |
6892 | 5083 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
6893 | 5084 | 別のものへのリファレンスでした。 |
6894 | 5085 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
6895 | 5086 | 使うことができます。 |
6896 | 5087 | L<perlref> を参照してください。 |
6897 | 5088 | |
6898 | 5089 | =item Not an ARRAY reference |
6899 | 5090 | |
6900 | 5091 | =begin original |
6901 | 5092 | |
6902 | 5093 | (F) Perl was trying to evaluate a reference to an array value, but found |
6903 | 5094 | a reference to something else instead. You can use the ref() function |
6904 | 5095 | to find out what kind of ref it really was. See L<perlref>. |
6905 | 5096 | |
6906 | 5097 | =end original |
6907 | 5098 | |
6908 | 5099 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
6909 | 5100 | 別のものへのリファレンスでした。 |
6910 | 5101 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
6911 | 5102 | 使うことができます。 |
6912 | 5103 | L<perlref> を参照してください。 |
6913 | 5104 | |
6914 | 5105 | =item Not a perl script |
6915 | 5106 | |
6916 | 5107 | =begin original |
6917 | 5108 | |
6918 | 5109 | (F) The setuid emulator requires that scripts have a well-formed #! line |
6919 | 5110 | even on machines that don't support the #! construct. The line must |
6920 | 5111 | mention perl. |
6921 | 5112 | |
6922 | 5113 | =end original |
6923 | 5114 | |
6924 | 5115 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 |
6925 | 5116 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 |
6926 | 5117 | この行で指定されるのは、perl でなければなりません。 |
6927 | 5118 | |
6928 | 5119 | =item Not a SCALAR reference |
6929 | 5120 | |
6930 | 5121 | =begin original |
6931 | 5122 | |
6932 | 5123 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
6933 | 5124 | a reference to something else instead. You can use the ref() function |
6934 | 5125 | to find out what kind of ref it really was. See L<perlref>. |
6935 | 5126 | |
6936 | 5127 | =end original |
6937 | 5128 | |
6938 | 5129 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
6939 | 5130 | 別のものへのリファレンスでした。 |
6940 | 5131 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
6941 | 5132 | 使うことができます。 |
6942 | 5133 | L<perlref> を参照してください。 |
6943 | 5134 | |
6944 | 5135 | =item Not a subroutine reference |
6945 | 5136 | |
6946 | 5137 | =begin original |
6947 | 5138 | |
6948 | 5139 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
6949 | 5140 | subroutine), but found a reference to something else instead. You can |
6950 | 5141 | use the ref() function to find out what kind of ref it really was. See |
6951 | 5142 | also L<perlref>. |
6952 | 5143 | |
6953 | 5144 | =end original |
6954 | 5145 | |
6955 | (F) Perl がコード値 (サブルー | |
5146 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
6956 | 5147 | 評価しようとしましたが、別のものへのリファレンスでした。 |
6957 | 5148 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
6958 | 5149 | 使うことができます。 |
6959 | 5150 | L<perlref> も参照してください。 |
6960 | 5151 | |
6961 | 5152 | =item Not a subroutine reference in overload table |
6962 | 5153 | |
6963 | 5154 | =begin original |
6964 | 5155 | |
6965 | 5156 | (F) An attempt was made to specify an entry in an overloading table that |
6966 | 5157 | doesn't somehow point to a valid subroutine. See L<overload>. |
6967 | 5158 | |
6968 | 5159 | =end original |
6969 | 5160 | |
6970 | (F) 多重定義テーブルで、有効なサブルー | |
5161 | (F) 多重定義テーブルで、有効なサブルーティンを指していないエントリを | |
6971 | 5162 | 指定しようとしました。 |
6972 | 5163 | L<overload> を参照してください。 |
6973 | 5164 | |
6974 | 5165 | =item Not enough arguments for %s |
6975 | 5166 | |
6976 | 5167 | =begin original |
6977 | 5168 | |
6978 | 5169 | (F) The function requires more arguments than you specified. |
6979 | 5170 | |
6980 | 5171 | =end original |
6981 | 5172 | |
6982 | 5173 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
6983 | 5174 | |
6984 | 5175 | =item Not enough format arguments |
6985 | 5176 | |
6986 | 5177 | =begin original |
6987 | 5178 | |
6988 | 5179 | (W syntax) A format specified more picture fields than the next line |
6989 | 5180 | supplied. See L<perlform>. |
6990 | 5181 | |
6991 | 5182 | =end original |
6992 | 5183 | |
6993 | 5184 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
6994 | 5185 | ピクチャフィールドがあります。 |
6995 | 5186 | L<perlform> を参照してください。 |
6996 | 5187 | |
6997 | 5188 | =item %s: not found |
6998 | 5189 | |
6999 | 5190 | =begin original |
7000 | 5191 | |
7001 | 5192 | (A) You've accidentally run your script through the Bourne shell instead |
7002 | 5193 | of Perl. Check the #! line, or manually feed your script into Perl |
7003 | 5194 | yourself. |
7004 | 5195 | |
7005 | 5196 | =end original |
7006 | 5197 | |
7007 | (A) スクリプトを | |
5198 | (A) スクリプトを Perl ではなく Bourne shell で実行しようとしています。 | |
7008 | #! | |
5199 | #! ラインをチェックするか、手動でスクリプトを Perl に渡してください。 | |
7009 | 5200 | |
7010 | 5201 | =item no UTC offset information; assuming local time is UTC |
7011 | 5202 | |
7012 | 5203 | =begin original |
7013 | 5204 | |
7014 | 5205 | (S) A warning peculiar to VMS. Perl was unable to find the local |
7015 | 5206 | timezone offset, so it's assuming that local system time is equivalent |
7016 | 5207 | to UTC. If it's not, define the logical name |
7017 | 5208 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
7018 | 5209 | need to be added to UTC to get local time. |
7019 | 5210 | |
7020 | 5211 | =end original |
7021 | 5212 | |
7022 | (S) VMS | |
5213 | (S) VMS 固有の警告です。 | |
7023 | 5214 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
7024 | 5215 | ローカルシステムタイムは UTC と等価であると仮定します。 |
7025 | 5216 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
7026 | 5217 | 時刻を得るために加える必要がある秒数を定義してください。 |
7027 | 5218 | |
7028 | =item Non-string passed as bitmask | |
7029 | ||
7030 | =begin original | |
7031 | ||
7032 | (W misc) A number has been passed as a bitmask argument to select(). | |
7033 | Use the vec() function to construct the file descriptor bitmasks for | |
7034 | select. See L<perlfunc/select> | |
7035 | ||
7036 | =end original | |
7037 | ||
7038 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
7039 | select のためのファイル記述子のビットマスクを構成するには、 | |
7040 | vec() 関数を使ってください。 | |
7041 | L<perlfunc/select> を参照してください。 | |
7042 | ||
7043 | 5219 | =item Null filename used |
7044 | 5220 | |
7045 | 5221 | =begin original |
7046 | 5222 | |
7047 | 5223 | (F) You can't require the null filename, especially because on many |
7048 | 5224 | machines that means the current directory! See L<perlfunc/require>. |
7049 | 5225 | |
7050 | 5226 | =end original |
7051 | 5227 | |
7052 | 5228 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 |
7053 | 5229 | 空のファイル名は require できません! |
7054 | 5230 | L<perlfunc/require> を参照してください。 |
7055 | 5231 | |
7056 | 5232 | =item NULL OP IN RUN |
7057 | 5233 | |
7058 | 5234 | =begin original |
7059 | 5235 | |
7060 | 5236 | (P debugging) Some internal routine called run() with a null opcode |
7061 | 5237 | pointer. |
7062 | 5238 | |
7063 | 5239 | =end original |
7064 | 5240 | |
7065 | 5241 | (P debugging) 内部ルーティンで、ヌル opcode ポインタで run() を |
7066 | 5242 | 呼んだものがあります。 |
7067 | 5243 | |
7068 | 5244 | =item Null picture in formline |
7069 | 5245 | |
7070 | 5246 | =begin original |
7071 | 5247 | |
7072 | 5248 | (F) The first argument to formline must be a valid format picture |
7073 | 5249 | specification. It was found to be empty, which probably means you |
7074 | 5250 | supplied it an uninitialized value. See L<perlform>. |
7075 | 5251 | |
7076 | 5252 | =end original |
7077 | 5253 | |
7078 | 5254 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
7079 | 5255 | なりません。 |
7080 | 5256 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
7081 | 5257 | L<perlform> を参照してください。 |
7082 | 5258 | |
7083 | 5259 | =item Null realloc |
7084 | 5260 | |
7085 | 5261 | =begin original |
7086 | 5262 | |
7087 | 5263 | (P) An attempt was made to realloc NULL. |
7088 | 5264 | |
7089 | 5265 | =end original |
7090 | 5266 | |
7091 | 5267 | (P) realloc NULL を行なおうとしました。 |
7092 | 5268 | |
7093 | 5269 | =item NULL regexp argument |
7094 | 5270 | |
7095 | 5271 | =begin original |
7096 | 5272 | |
7097 | 5273 | (P) The internal pattern matching routines blew it big time. |
7098 | 5274 | |
7099 | 5275 | =end original |
7100 | 5276 | |
7101 | 5277 | (P) 内部パターンマッチルーティンが、大当たりです。 |
7102 | 5278 | |
7103 | 5279 | =item NULL regexp parameter |
7104 | 5280 | |
7105 | 5281 | =begin original |
7106 | 5282 | |
7107 | 5283 | (P) The internal pattern matching routines are out of their gourd. |
7108 | 5284 | |
7109 | 5285 | =end original |
7110 | 5286 | |
7111 | 5287 | (P) 内部パターンマッチルーティンが、狂っています。 |
7112 | 5288 | |
7113 | 5289 | =item Number too long |
7114 | 5290 | |
7115 | 5291 | =begin original |
7116 | 5292 | |
7117 | 5293 | (F) Perl limits the representation of decimal numbers in programs to |
7118 | about 250 characters. You've exceeded that length. Future | |
5294 | about about 250 characters. You've exceeded that length. Future | |
7119 | 5295 | versions of Perl are likely to eliminate this arbitrary limitation. In |
7120 | 5296 | the meantime, try using scientific notation (e.g. "1e6" instead of |
7121 | 5297 | "1_000_000"). |
7122 | 5298 | |
7123 | 5299 | =end original |
7124 | 5300 | |
7125 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 | |
5301 | Perl はプログラム中での十進数の表現をおよそ 250 文字に制限しています。 | |
7126 | 5302 | この制限を越えました。 |
7127 | 5303 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
7128 | 5304 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
7129 | 5305 | 使用してください。 |
7130 | 5306 | |
7131 | 5307 | =item Octal number in vector unsupported |
7132 | 5308 | |
7133 | 5309 | =begin original |
7134 | 5310 | |
7135 | 5311 | (F) Numbers with a leading C<0> are not currently allowed in vectors. |
7136 | 5312 | The octal number interpretation of such numbers may be supported in a |
7137 | 5313 | future version. |
7138 | 5314 | |
7139 | 5315 | =end original |
7140 | 5316 | |
7141 | 5317 | 頭に C<0> の付いた数値は現在のところベクタとしては使えません。 |
7142 | 5318 | このような数値を 8 進数として解釈する機能は将来のバージョンで |
7143 | 5319 | 対応されるでしょう。 |
7144 | 5320 | |
7145 | 5321 | =item Octal number > 037777777777 non-portable |
7146 | 5322 | |
7147 | 5323 | =begin original |
7148 | 5324 | |
7149 | 5325 | (W portable) The octal number you specified is larger than 2**32-1 |
7150 | 5326 | (4294967295) and therefore non-portable between systems. See |
7151 | 5327 | L<perlport> for more on portability concerns. |
7152 | 5328 | |
7153 | 5329 | =end original |
7154 | 5330 | |
7155 | 5331 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
7156 | 5332 | システム間で移植性がありません。 |
7157 | 5333 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
7158 | 5334 | |
7159 | 5335 | =begin original |
7160 | 5336 | |
7161 | 5337 | See also L<perlport> for writing portable code. |
7162 | 5338 | |
7163 | 5339 | =end original |
7164 | 5340 | |
7165 | 5341 | 移植性のあるコードの書き方についても L<perlport> を参照してください。 |
7166 | 5342 | |
7167 | 5343 | =item Odd number of arguments for overload::constant |
7168 | 5344 | |
7169 | 5345 | =begin original |
7170 | 5346 | |
7171 | (W | |
5347 | (W) The call to overload::constant contained an odd number of arguments. | |
7172 | ||
5348 | The arguments should come in pairs. | |
7173 | 5349 | |
7174 | 5350 | =end original |
7175 | 5351 | |
7176 | (W | |
5352 | (W) 奇数の数の引数で overload::constant を呼び出しました。 | |
7177 | 5353 | 引数はペアになっている必要があります。 |
7178 | 5354 | |
7179 | =item Odd number of elements in a | |
5355 | =item Odd number of elements in hash assignment | |
7180 | 5356 | |
7181 | 5357 | =begin original |
7182 | 5358 | |
7183 | 5359 | (W misc) You specified an odd number of elements to initialize a hash, |
7184 | 5360 | which is odd, because hashes come in key/value pairs. |
7185 | 5361 | |
7186 | 5362 | =end original |
7187 | 5363 | |
7188 | (W misc) ハッシュリストへの要素の数が奇数でした | |
5364 | (W misc) ハッシュリストへの要素の数が奇数でした。 | |
7189 | key/value のペアで与えられますから、 | |
5365 | ハッシュリストは、key/value のペアで与えられますから、 | |
5366 | これは奇妙なことです。 | |
7190 | 5367 | |
7191 | =item O | |
5368 | =item Offset outside string | |
7192 | 5369 | |
7193 | 5370 | =begin original |
7194 | 5371 | |
7195 | ( | |
5372 | (F) You tried to do a read/write/send/recv operation with an offset | |
7196 | ||
5373 | pointing outside the buffer. This is difficult to imagine. The sole | |
5374 | exception to this is that C<sysread()>ing past the buffer will extend | |
5375 | the buffer and zero pad the new area. | |
7197 | 5376 | |
7198 | 5377 | =end original |
7199 | 5378 | |
7200 | ( | |
5379 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を | |
7201 | ||
5380 | しようとしました。 | |
5381 | これは想像しにくいことです。 | |
5382 | 唯一の例外は、バッファを通り過ぎて C<sysread()> するとバッファが | |
5383 | 拡張され、新しいエリアには 0 でパッディングされます。 | |
7202 | 5384 | |
7203 | =item | |
5385 | =item -%s on unopened filehandle %s | |
7204 | 5386 | |
7205 | 5387 | =begin original |
7206 | 5388 | |
7207 | ( | |
5389 | (W unopened) You tried to invoke a file test operator on a filehandle | |
7208 | ||
5390 | that isn't open. Check your logic. See also L<perlfunc/-X>. | |
7209 | imagine. The sole exceptions to this are that zero padding will | |
7210 | take place when going past the end of the string when either | |
7211 | C<sysread()>ing a file, or when seeking past the end of a scalar opened | |
7212 | for I/O (in anticipation of future reads and to imitate the behaviour | |
7213 | with real files). | |
7214 | 5391 | |
7215 | 5392 | =end original |
7216 | 5393 | |
7217 | ( | |
5394 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
7218 | ||
5395 | 使おうとしました。 | |
7219 | ||
5396 | 論理をチェックしてください。 | |
7220 | ||
5397 | L<perlfunc/-X> も参照してください。 | |
7221 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) | |
7222 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 | |
7223 | 0 でパッディングされたときです。 | |
7224 | 5398 | |
7225 | =item %s() on unopened %s | |
5399 | =item %s() on unopened %s %s | |
7226 | 5400 | |
7227 | 5401 | =begin original |
7228 | 5402 | |
7229 | 5403 | (W unopened) An I/O operation was attempted on a filehandle that was |
7230 | 5404 | never initialized. You need to do an open(), a sysopen(), or a socket() |
7231 | 5405 | call, or call a constructor from the FileHandle package. |
7232 | 5406 | |
7233 | 5407 | =end original |
7234 | 5408 | |
7235 | 5409 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
7236 | 5410 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
7237 | 5411 | コンストラクタを呼び出す必要があります。 |
7238 | 5412 | |
7239 | =item -%s on unopened filehandle %s | |
7240 | ||
7241 | =begin original | |
7242 | ||
7243 | (W unopened) You tried to invoke a file test operator on a filehandle | |
7244 | that isn't open. Check your control flow. See also L<perlfunc/-X>. | |
7245 | ||
7246 | =end original | |
7247 | ||
7248 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
7249 | 使おうとしました。 | |
7250 | 制御フローをチェックしてください。 | |
7251 | L<perlfunc/-X> も参照してください。 | |
7252 | ||
7253 | 5413 | =item oops: oopsAV |
7254 | 5414 | |
7255 | 5415 | =begin original |
7256 | 5416 | |
7257 | 5417 | (S internal) An internal warning that the grammar is screwed up. |
7258 | 5418 | |
7259 | 5419 | =end original |
7260 | 5420 | |
7261 | 5421 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
7262 | 5422 | |
7263 | 5423 | =item oops: oopsHV |
7264 | 5424 | |
7265 | 5425 | =begin original |
7266 | 5426 | |
7267 | 5427 | (S internal) An internal warning that the grammar is screwed up. |
7268 | 5428 | |
7269 | 5429 | =end original |
7270 | 5430 | |
7271 | 5431 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
7272 | 5432 | |
7273 | =item Ope | |
5433 | =item Operation `%s': no method found, %s | |
7274 | 5434 | |
7275 | 5435 | =begin original |
7276 | 5436 | |
7277 | (W io deprecated) You used open() to associate a filehandle to | |
7278 | a symbol (glob or scalar) that already holds a dirhandle. | |
7279 | Although legal, this idiom might render your code confusing | |
7280 | and is deprecated. | |
7281 | ||
7282 | =end original | |
7283 | ||
7284 | (W io deprecated) open() で、既にディレクトリハンドルを保持しているシンボル | |
7285 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 | |
7286 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
7287 | あるので非推奨です。 | |
7288 | ||
7289 | =item Opening filehandle %s also as a directory | |
7290 | ||
7291 | =begin original | |
7292 | ||
7293 | (W io deprecated) You used opendir() to associate a dirhandle to | |
7294 | a symbol (glob or scalar) that already holds a filehandle. | |
7295 | Although legal, this idiom might render your code confusing | |
7296 | and is deprecated. | |
7297 | ||
7298 | =end original | |
7299 | ||
7300 | (W io deprecated) すでにファイルハンドルを保持しているシンボル | |
7301 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
7302 | opendir() を使いました。 | |
7303 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
7304 | あるので非推奨です。 | |
7305 | ||
7306 | =item Operation "%s": no method found, %s | |
7307 | ||
7308 | =begin original | |
7309 | ||
7310 | 5437 | (F) An attempt was made to perform an overloaded operation for which no |
7311 | 5438 | handler was defined. While some handlers can be autogenerated in terms |
7312 | 5439 | of other handlers, there is no default handler for any operation, unless |
7313 | 5440 | C<fallback> overloading key is specified to be true. See L<overload>. |
7314 | 5441 | |
7315 | 5442 | =end original |
7316 | 5443 | |
7317 | 5444 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
7318 | 5445 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
7319 | 5446 | オーバーロードキーが真に指定されていない限り、どの動作にも |
7320 | 5447 | デフォルトのハンドラはありません。 |
7321 | 5448 | L<overload> を参照してください。 |
7322 | 5449 | |
7323 | 5450 | =item Operator or semicolon missing before %s |
7324 | 5451 | |
7325 | 5452 | =begin original |
7326 | 5453 | |
7327 | 5454 | (S ambiguous) You used a variable or subroutine call where the parser |
7328 | 5455 | was expecting an operator. The parser has assumed you really meant to |
7329 | 5456 | use an operator, but this is highly likely to be incorrect. For |
7330 | 5457 | example, if you say "*foo *foo" it will be interpreted as if you said |
7331 | 5458 | "*foo * 'foo'". |
7332 | 5459 | |
7333 | 5460 | =end original |
7334 | 5461 | |
7335 | 5462 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
7336 | 5463 | 呼び出しが使われました。 |
7337 | 5464 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
7338 | 5465 | これは大抵正しくありません。 |
7339 | 5466 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
7340 | 5467 | |
7341 | 5468 | =item "our" variable %s redeclared |
7342 | 5469 | |
7343 | 5470 | =begin original |
7344 | 5471 | |
7345 | 5472 | (W misc) You seem to have already declared the same global once before |
7346 | 5473 | in the current lexical scope. |
7347 | 5474 | |
7348 | 5475 | =end original |
7349 | 5476 | |
7350 | 5477 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を |
7351 | 5478 | 宣言しているようです。 |
7352 | 5479 | |
7353 | 5480 | =item Out of memory! |
7354 | 5481 | |
7355 | 5482 | =begin original |
7356 | 5483 | |
7357 | 5484 | (X) The malloc() function returned 0, indicating there was insufficient |
7358 | 5485 | remaining memory (or virtual memory) to satisfy the request. Perl has |
7359 | 5486 | no option but to exit immediately. |
7360 | 5487 | |
7361 | 5488 | =end original |
7362 | 5489 | |
7363 | 5490 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
7364 | 5491 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
7365 | 5492 | Perl は直ちに終了するしかありませんでした。 |
7366 | 5493 | |
7367 | =begin original | |
7368 | ||
7369 | At least in Unix you may be able to get past this by increasing your | |
7370 | process datasize limits: in csh/tcsh use C<limit> and | |
7371 | C<limit datasize n> (where C<n> is the number of kilobytes) to check | |
7372 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> | |
7373 | and C<ulimit -d n>, respectively. | |
7374 | ||
7375 | =end original | |
7376 | ||
7377 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって | |
7378 | これを回避することが可能です: | |
7379 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには | |
7380 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; | |
7381 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 | |
7382 | ||
7383 | =item Out of memory during %s extend | |
7384 | ||
7385 | =begin original | |
7386 | ||
7387 | (X) An attempt was made to extend an array, a list, or a string beyond | |
7388 | the largest possible memory allocation. | |
7389 | ||
7390 | =end original | |
7391 | ||
7392 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 | |
7393 | ||
7394 | 5494 | =item Out of memory during "large" request for %s |
7395 | 5495 | |
7396 | 5496 | =begin original |
7397 | 5497 | |
7398 | 5498 | (F) The malloc() function returned 0, indicating there was insufficient |
7399 | 5499 | remaining memory (or virtual memory) to satisfy the request. However, |
7400 | 5500 | the request was judged large enough (compile-time default is 64K), so a |
7401 | 5501 | possibility to shut down by trapping this error is granted. |
7402 | 5502 | |
7403 | 5503 | =end original |
7404 | 5504 | |
7405 | 5505 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
7406 | 5506 | (または仮想メモリ)が不十分であることを示しています。 |
7407 | 5507 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
7408 | 5508 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
7409 | 5509 | |
7410 | 5510 | =item Out of memory during request for %s |
7411 | 5511 | |
7412 | 5512 | =begin original |
7413 | 5513 | |
7414 | 5514 | (X|F) The malloc() function returned 0, indicating there was |
7415 | 5515 | insufficient remaining memory (or virtual memory) to satisfy the |
7416 | 5516 | request. |
7417 | 5517 | |
7418 | 5518 | =end original |
7419 | 5519 | |
7420 | 5520 | (X|F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
7421 | 5521 | (または仮想メモリ)が不十分であることを示しています。 |
7422 | 5522 | |
7423 | 5523 | =begin original |
7424 | 5524 | |
7425 | 5525 | The request was judged to be small, so the possibility to trap it |
7426 | 5526 | depends on the way perl was compiled. By default it is not trappable. |
7427 | 5527 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
7428 | 5528 | emergency pool after die()ing with this message. In this case the error |
7429 | 5529 | is trappable I<once>, and the error message will include the line and file |
7430 | 5530 | where the failed request happened. |
7431 | 5531 | |
7432 | 5532 | =end original |
7433 | 5533 | |
7434 | 5534 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
7435 | 5535 | どのようにコンパイルされたかに依存します。 |
7436 | 5536 | デフォルトではこれはトラップできません。 |
7437 | 5537 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
7438 | 5538 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
7439 | 5539 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
7440 | 5540 | 要求が起きたファイルと行番号を含んでいます。 |
7441 | 5541 | |
7442 | 5542 | =item Out of memory during ridiculously large request |
7443 | 5543 | |
7444 | 5544 | =begin original |
7445 | 5545 | |
7446 | 5546 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
7447 | 5547 | is most likely to be caused by a typo in the Perl program. e.g., |
7448 | 5548 | C<$arr[time]> instead of C<$arr[$time]>. |
7449 | 5549 | |
7450 | 5550 | =end original |
7451 | 5551 | |
7452 | 5552 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
7453 | このエラーはほとんどの場合 | |
5553 | このエラーはほとんどの場合(C<$arr[$time]> の代わりに | |
7454 | ||
5554 | C<$arr[time]> のような) Perl プログラムのタイプミスが原因です。 | |
7455 | 5555 | |
7456 | 5556 | =item Out of memory for yacc stack |
7457 | 5557 | |
7458 | 5558 | =begin original |
7459 | 5559 | |
7460 | 5560 | (F) The yacc parser wanted to grow its stack so it could continue |
7461 | 5561 | parsing, but realloc() wouldn't give it more memory, virtual or |
7462 | 5562 | otherwise. |
7463 | 5563 | |
7464 | 5564 | =end original |
7465 | 5565 | |
7466 | 5566 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
7467 | 5567 | realloc() が仮想やその他のメモリを確保できませんでした。 |
7468 | 5568 | |
7469 | =item | |
5569 | =item @ outside of string | |
7470 | 5570 | |
7471 | 5571 | =begin original |
7472 | 5572 | |
7473 | (F) | |
5573 | (F) You had a pack template that specified an absolute position outside | |
7474 | position to before the start of the packed string being built. | |
7475 | ||
7476 | =end original | |
7477 | ||
7478 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも | |
7479 | 前に作業位置を移動しようとしました。 | |
7480 | ||
7481 | =item '@' outside of string in unpack | |
7482 | ||
7483 | =begin original | |
7484 | ||
7485 | (F) You had a template that specified an absolute position outside | |
7486 | 5574 | the string being unpacked. See L<perlfunc/pack>. |
7487 | 5575 | |
7488 | 5576 | =end original |
7489 | 5577 | |
7490 | 5578 | (F) unpack される文字列の外に絶対位置指定している、 |
7491 | テンプレートを指定しました。 | |
5579 | pack テンプレートを指定しました。 | |
7492 | 5580 | L<perlfunc/pack> を参照してください。 |
7493 | 5581 | |
7494 | =item '@' outside of string with malformed UTF-8 in unpack | |
7495 | ||
7496 | =begin original | |
7497 | ||
7498 | (F) You had a template that specified an absolute position outside | |
7499 | the string being unpacked. The string being unpacked was also invalid | |
7500 | UTF-8. See L<perlfunc/pack>. | |
7501 | ||
7502 | =end original | |
7503 | ||
7504 | (F) unpack される文字列の外に絶対位置指定している、 | |
7505 | テンプレートを指定しました。 | |
7506 | unpack された文字列は不正な UTF-8 でもあります。 | |
7507 | L<perlfunc/pack> を参照してください。 | |
7508 | ||
7509 | =item Overloaded dereference did not return a reference | |
7510 | ||
7511 | =begin original | |
7512 | ||
7513 | (F) An object with an overloaded dereference operator was dereferenced, | |
7514 | but the overloaded operation did not return a reference. See | |
7515 | L<overload>. | |
7516 | ||
7517 | =end original | |
7518 | ||
7519 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが | |
7520 | デリファレンスされましたが、オーバーロード演算がリファレンスを | |
7521 | 返しませんでした。 | |
7522 | L<overload> を参照してください。 | |
7523 | ||
7524 | =item Overloaded qr did not return a REGEXP | |
7525 | ||
7526 | =begin original | |
7527 | ||
7528 | (F) An object with a C<qr> overload was used as part of a match, but the | |
7529 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
7530 | ||
7531 | =end original | |
7532 | ||
7533 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として | |
7534 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を | |
7535 | 返しませんでした。 | |
7536 | L<overload> を参照してください。 | |
7537 | ||
7538 | 5582 | =item %s package attribute may clash with future reserved word: %s |
7539 | 5583 | |
7540 | 5584 | =begin original |
7541 | 5585 | |
7542 | 5586 | (W reserved) A lowercase attribute name was used that had a |
7543 | 5587 | package-specific handler. That name might have a meaning to Perl itself |
7544 | 5588 | some day, even though it doesn't yet. Perhaps you should use a |
7545 | 5589 | mixed-case attribute name, instead. See L<attributes>. |
7546 | 5590 | |
7547 | 5591 | =end original |
7548 | 5592 | |
7549 | 5593 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
7550 | 5594 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
7551 | 5595 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
7552 | 5596 | L<attributes> を参照してください。 |
7553 | 5597 | |
7554 | =item pack/unpack repeat count overflow | |
7555 | ||
7556 | =begin original | |
7557 | ||
7558 | (F) You can't specify a repeat count so large that it overflows your | |
7559 | signed integers. See L<perlfunc/pack>. | |
7560 | ||
7561 | =end original | |
7562 | ||
7563 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
7564 | 値は指定できません。 | |
7565 | L<perlfunc/pack> を参照してください。 | |
7566 | ||
7567 | 5598 | =item page overflow |
7568 | 5599 | |
7569 | 5600 | =begin original |
7570 | 5601 | |
7571 | 5602 | (W io) A single call to write() produced more lines than can fit on a |
7572 | 5603 | page. See L<perlform>. |
7573 | 5604 | |
7574 | 5605 | =end original |
7575 | 5606 | |
7576 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
5607 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
7577 | できました。 | |
5608 | 多くの行ができました。 | |
7578 | 5609 | L<perlform> を参照してください。 |
7579 | 5610 | |
7580 | 5611 | =item panic: %s |
7581 | 5612 | |
7582 | 5613 | =begin original |
7583 | 5614 | |
7584 | 5615 | (P) An internal error. |
7585 | 5616 | |
7586 | 5617 | =end original |
7587 | 5618 | |
7588 | 5619 | (P) 内部エラーです。 |
7589 | 5620 | |
7590 | =item panic: attempt to call %s in %s | |
7591 | ||
7592 | =begin original | |
7593 | ||
7594 | (P) One of the file test operators entered a code branch that calls | |
7595 | an ACL related-function, but that function is not available on this | |
7596 | platform. Earlier checks mean that it should not be possible to | |
7597 | enter this branch on this platform. | |
7598 | ||
7599 | =end original | |
7600 | ||
7601 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に | |
7602 | 入りましたが、この関数はこのプラットフォームでは利用できません。 | |
7603 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように | |
7604 | するべきことを意味します。 | |
7605 | ||
7606 | 5621 | =item panic: ck_grep |
7607 | 5622 | |
7608 | 5623 | =begin original |
7609 | 5624 | |
7610 | 5625 | (P) Failed an internal consistency check trying to compile a grep. |
7611 | 5626 | |
7612 | 5627 | =end original |
7613 | 5628 | |
7614 | 5629 | (P) grep をコンパイルしようとして、内部の一貫性チェックに |
7615 | 5630 | 引っ掛かりました。 |
7616 | 5631 | |
7617 | 5632 | =item panic: ck_split |
7618 | 5633 | |
7619 | 5634 | =begin original |
7620 | 5635 | |
7621 | 5636 | (P) Failed an internal consistency check trying to compile a split. |
7622 | 5637 | |
7623 | 5638 | =end original |
7624 | 5639 | |
7625 | 5640 | (P) split をコンパイルしようとして、内部の一貫性チェックに |
7626 | 5641 | 引っ掛かりました。 |
7627 | 5642 | |
7628 | 5643 | =item panic: corrupt saved stack index |
7629 | 5644 | |
7630 | 5645 | =begin original |
7631 | 5646 | |
7632 | 5647 | (P) The savestack was requested to restore more localized values than |
7633 | 5648 | there are in the savestack. |
7634 | 5649 | |
7635 | 5650 | =end original |
7636 | 5651 | |
7637 | 5652 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
7638 | 5653 | 要求がありました。 |
7639 | 5654 | |
7640 | 5655 | =item panic: del_backref |
7641 | 5656 | |
7642 | 5657 | =begin original |
7643 | 5658 | |
7644 | 5659 | (P) Failed an internal consistency check while trying to reset a weak |
7645 | 5660 | reference. |
7646 | 5661 | |
7647 | 5662 | =end original |
7648 | 5663 | |
7649 | 5664 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
7650 | 5665 | 一貫性チェックに引っ掛かりました。 |
7651 | 5666 | |
7652 | =item panic: | |
5667 | =item panic: die %s | |
7653 | 5668 | |
7654 | 5669 | =begin original |
7655 | 5670 | |
7656 | (P) | |
5671 | (P) We popped the context stack to an eval context, and then discovered | |
7657 | ||
5672 | it wasn't an eval context. | |
7658 | an XSUB will lead very probably to a crash of the interpreter. This is | |
7659 | a bug that will hopefully one day get fixed. | |
7660 | 5673 | |
7661 | 5674 | =end original |
7662 | 5675 | |
7663 | (P) | |
5676 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
7664 | ||
5677 | eval コンテキストでないことがわかりました。 | |
7665 | XSUB から呼び出されたサブルーチンをこのような方法で離れると、 | |
7666 | インタプリタをクラッシュさせる可能性がとても高いです。 | |
7667 | これはいつか修正されてほしいバグです。 | |
7668 | 5678 | |
7669 | =item panic: | |
5679 | =item panic: pp_match | |
7670 | 5680 | |
7671 | 5681 | =begin original |
7672 | 5682 | |
7673 | (P) | |
5683 | (P) The internal pp_match() routine was called with invalid operational | |
7674 | ||
5684 | data. | |
7675 | 5685 | |
7676 | 5686 | =end original |
7677 | 5687 | |
7678 | (P) | |
5688 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
7679 | ||
5689 | 付けて呼ばれました。 | |
7680 | 5690 | |
7681 | 5691 | =item panic: do_subst |
7682 | 5692 | |
7683 | 5693 | =begin original |
7684 | 5694 | |
7685 | 5695 | (P) The internal pp_subst() routine was called with invalid operational |
7686 | 5696 | data. |
7687 | 5697 | |
7688 | 5698 | =end original |
7689 | 5699 | |
7690 | 5700 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを |
7691 | 5701 | 付けて呼ばれました。 |
7692 | 5702 | |
7693 | 5703 | =item panic: do_trans_%s |
7694 | 5704 | |
7695 | 5705 | =begin original |
7696 | 5706 | |
7697 | 5707 | (P) The internal do_trans routines were called with invalid operational |
7698 | 5708 | data. |
7699 | 5709 | |
7700 | 5710 | =end original |
7701 | 5711 | |
7702 | 5712 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを |
7703 | 5713 | 付けて呼ばれました。 |
7704 | 5714 | |
7705 | =item panic: fold_constants JMPENV_PUSH returned %d | |
7706 | ||
7707 | =begin original | |
7708 | ||
7709 | (P) While attempting folding constants an exception other than an C<eval> | |
7710 | failure was caught. | |
7711 | ||
7712 | =end original | |
7713 | ||
7714 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 | |
7715 | ||
7716 | 5715 | =item panic: frexp |
7717 | 5716 | |
7718 | 5717 | =begin original |
7719 | 5718 | |
7720 | 5719 | (P) The library function frexp() failed, making printf("%f") impossible. |
7721 | 5720 | |
7722 | 5721 | =end original |
7723 | 5722 | |
7724 | 5723 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
7725 | 5724 | |
7726 | 5725 | =item panic: goto |
7727 | 5726 | |
7728 | 5727 | =begin original |
7729 | 5728 | |
7730 | 5729 | (P) We popped the context stack to a context with the specified label, |
7731 | 5730 | and then discovered it wasn't a context we know how to do a goto in. |
7732 | 5731 | |
7733 | 5732 | =end original |
7734 | 5733 | |
7735 | 5734 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
7736 | 5735 | ポップしたあと、どのように goto するかがわかっている |
7737 | 5736 | コンテキストでないことがわかりました。 |
7738 | 5737 | |
7739 | =item panic: hfreeentries failed to free hash | |
7740 | ||
7741 | =begin original | |
7742 | ||
7743 | (P) The internal routine used to clear a hashes entries tried repeatedly, | |
7744 | but each time something added more entries to the hash. Most likely the hash | |
7745 | contains an object with a reference back to the hash and a destructor that | |
7746 | adds a new object to the hash. | |
7747 | ||
7748 | =end original | |
7749 | ||
7750 | (P) ハッシュ要素をクリアするための内部ルーチンが何度か実行されましたが、 | |
7751 | 実行される毎に何かがハッシュに要素を追加しました。 | |
7752 | 最もありそうなのは、ハッシュが、そのハッシュへのリファレンスがある | |
7753 | オブジェクトと、ハッシュへの新しいオブジェクトを追加するデストラクタを | |
7754 | 含む場合です。 | |
7755 | ||
7756 | 5738 | =item panic: INTERPCASEMOD |
7757 | 5739 | |
7758 | 5740 | =begin original |
7759 | 5741 | |
7760 | 5742 | (P) The lexer got into a bad state at a case modifier. |
7761 | 5743 | |
7762 | 5744 | =end original |
7763 | 5745 | |
7764 | 5746 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
7765 | 5747 | |
7766 | 5748 | =item panic: INTERPCONCAT |
7767 | 5749 | |
7768 | 5750 | =begin original |
7769 | 5751 | |
7770 | 5752 | (P) The lexer got into a bad state parsing a string with brackets. |
7771 | 5753 | |
7772 | 5754 | =end original |
7773 | 5755 | |
7774 | (P) 中 | |
5756 | (P) 中括弧を伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 | |
7775 | 5757 | |
7776 | 5758 | =item panic: kid popen errno read |
7777 | 5759 | |
7778 | 5760 | =begin original |
7779 | 5761 | |
7780 | 5762 | (F) forked child returned an incomprehensible message about its errno. |
7781 | 5763 | |
7782 | 5764 | =end original |
7783 | 5765 | |
7784 | 5766 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
7785 | 5767 | |
7786 | 5768 | =item panic: last |
7787 | 5769 | |
7788 | 5770 | =begin original |
7789 | 5771 | |
7790 | 5772 | (P) We popped the context stack to a block context, and then discovered |
7791 | 5773 | it wasn't a block context. |
7792 | 5774 | |
7793 | 5775 | =end original |
7794 | 5776 | |
7795 | 5777 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
7796 | 5778 | block コンテキストでないことがわかりました。 |
7797 | 5779 | |
7798 | 5780 | =item panic: leave_scope clearsv |
7799 | 5781 | |
7800 | 5782 | =begin original |
7801 | 5783 | |
7802 | 5784 | (P) A writable lexical variable became read-only somehow within the |
7803 | 5785 | scope. |
7804 | 5786 | |
7805 | 5787 | =end original |
7806 | 5788 | |
7807 | 5789 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
7808 | 5790 | リードオンリーになりました。 |
7809 | 5791 | |
7810 | 5792 | =item panic: leave_scope inconsistency |
7811 | 5793 | |
7812 | 5794 | =begin original |
7813 | 5795 | |
7814 | 5796 | (P) The savestack probably got out of sync. At least, there was an |
7815 | 5797 | invalid enum on the top of it. |
7816 | 5798 | |
7817 | 5799 | =end original |
7818 | 5800 | |
7819 | 5801 | (P) おそらく、セーブスタックの同期がとれていません。 |
7820 | 5802 | 少なくとも、トップに不正な enum がありました。 |
7821 | 5803 | |
7822 | 5804 | =item panic: magic_killbackrefs |
7823 | 5805 | |
7824 | 5806 | =begin original |
7825 | 5807 | |
7826 | 5808 | (P) Failed an internal consistency check while trying to reset all weak |
7827 | 5809 | references to an object. |
7828 | 5810 | |
7829 | 5811 | =end original |
7830 | 5812 | |
7831 | 5813 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
7832 | 5814 | 一貫性チェックに引っ掛かりました。 |
7833 | 5815 | |
7834 | 5816 | =item panic: malloc |
7835 | 5817 | |
7836 | 5818 | =begin original |
7837 | 5819 | |
7838 | 5820 | (P) Something requested a negative number of bytes of malloc. |
7839 | 5821 | |
7840 | 5822 | =end original |
7841 | 5823 | |
7842 | 5824 | (P) malloc に負のバイト数で要求が行なわれました。 |
7843 | 5825 | |
7844 | =item panic: m | |
5826 | =item panic: mapstart | |
7845 | 5827 | |
7846 | 5828 | =begin original |
7847 | 5829 | |
7848 | (P) | |
5830 | (P) The compiler is screwed up with respect to the map() function. | |
7849 | 5831 | |
7850 | 5832 | =end original |
7851 | 5833 | |
7852 | (P) | |
5834 | (P) コンパイラが、map() 関数に関しておかしくなりました。 | |
7853 | 5835 | |
5836 | =item panic: null array | |
5837 | ||
5838 | =begin original | |
5839 | ||
5840 | (P) One of the internal array routines was passed a null AV pointer. | |
5841 | ||
5842 | =end original | |
5843 | ||
5844 | (P) 内部配列ルーティンで、ヌル AV ポインタを渡されたものがありました。 | |
5845 | ||
7854 | 5846 | =item panic: pad_alloc |
7855 | 5847 | |
7856 | 5848 | =begin original |
7857 | 5849 | |
7858 | 5850 | (P) The compiler got confused about which scratch pad it was allocating |
7859 | 5851 | and freeing temporaries and lexicals from. |
7860 | 5852 | |
7861 | 5853 | =end original |
7862 | 5854 | |
7863 | 5855 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
7864 | 5856 | スクラッチパッドについて混乱しました。 |
7865 | 5857 | |
7866 | 5858 | =item panic: pad_free curpad |
7867 | 5859 | |
7868 | 5860 | =begin original |
7869 | 5861 | |
7870 | 5862 | (P) The compiler got confused about which scratch pad it was allocating |
7871 | 5863 | and freeing temporaries and lexicals from. |
7872 | 5864 | |
7873 | 5865 | =end original |
7874 | 5866 | |
7875 | 5867 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
7876 | 5868 | スクラッチパッドについて混乱しました。 |
7877 | 5869 | |
7878 | 5870 | =item panic: pad_free po |
7879 | 5871 | |
7880 | 5872 | =begin original |
7881 | 5873 | |
7882 | 5874 | (P) An invalid scratch pad offset was detected internally. |
7883 | 5875 | |
7884 | 5876 | =end original |
7885 | 5877 | |
7886 | 5878 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
7887 | 5879 | |
7888 | 5880 | =item panic: pad_reset curpad |
7889 | 5881 | |
7890 | 5882 | =begin original |
7891 | 5883 | |
7892 | 5884 | (P) The compiler got confused about which scratch pad it was allocating |
7893 | 5885 | and freeing temporaries and lexicals from. |
7894 | 5886 | |
7895 | 5887 | =end original |
7896 | 5888 | |
7897 | 5889 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
7898 | 5890 | スクラッチパッドについて混乱しました。 |
7899 | 5891 | |
7900 | 5892 | =item panic: pad_sv po |
7901 | 5893 | |
7902 | 5894 | =begin original |
7903 | 5895 | |
7904 | 5896 | (P) An invalid scratch pad offset was detected internally. |
7905 | 5897 | |
7906 | 5898 | =end original |
7907 | 5899 | |
7908 | 5900 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
7909 | 5901 | |
7910 | 5902 | =item panic: pad_swipe curpad |
7911 | 5903 | |
7912 | 5904 | =begin original |
7913 | 5905 | |
7914 | 5906 | (P) The compiler got confused about which scratch pad it was allocating |
7915 | 5907 | and freeing temporaries and lexicals from. |
7916 | 5908 | |
7917 | 5909 | =end original |
7918 | 5910 | |
7919 | 5911 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
7920 | 5912 | スクラッチパッドについて混乱しました。 |
7921 | 5913 | |
7922 | 5914 | =item panic: pad_swipe po |
7923 | 5915 | |
7924 | 5916 | =begin original |
7925 | 5917 | |
7926 | 5918 | (P) An invalid scratch pad offset was detected internally. |
7927 | 5919 | |
7928 | 5920 | =end original |
7929 | 5921 | |
7930 | 5922 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
7931 | 5923 | |
7932 | 5924 | =item panic: pp_iter |
7933 | 5925 | |
7934 | 5926 | =begin original |
7935 | 5927 | |
7936 | 5928 | (P) The foreach iterator got called in a non-loop context frame. |
7937 | 5929 | |
7938 | 5930 | =end original |
7939 | 5931 | |
7940 | 5932 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
7941 | 5933 | |
7942 | =item panic: pp_match%s | |
7943 | ||
7944 | =begin original | |
7945 | ||
7946 | (P) The internal pp_match() routine was called with invalid operational | |
7947 | data. | |
7948 | ||
7949 | =end original | |
7950 | ||
7951 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
7952 | 付けて呼ばれました。 | |
7953 | ||
7954 | 5934 | =item panic: pp_split |
7955 | 5935 | |
7956 | 5936 | =begin original |
7957 | 5937 | |
7958 | 5938 | (P) Something terrible went wrong in setting up for the split. |
7959 | 5939 | |
7960 | 5940 | =end original |
7961 | 5941 | |
7962 | 5942 | (P) split の準備中に何かまずいことが起こってしまいました。 |
7963 | 5943 | |
7964 | 5944 | =item panic: realloc |
7965 | 5945 | |
7966 | 5946 | =begin original |
7967 | 5947 | |
7968 | 5948 | (P) Something requested a negative number of bytes of realloc. |
7969 | 5949 | |
7970 | 5950 | =end original |
7971 | 5951 | |
7972 | 5952 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
7973 | 5953 | |
7974 | 5954 | =item panic: restartop |
7975 | 5955 | |
7976 | 5956 | =begin original |
7977 | 5957 | |
7978 | 5958 | (P) Some internal routine requested a goto (or something like it), and |
7979 | 5959 | didn't supply the destination. |
7980 | 5960 | |
7981 | 5961 | =end original |
7982 | 5962 | |
7983 | 5963 | (P) 内部ルーティンから goto (または、同じようなもの) が |
7984 | 5964 | 要求されましたが、飛び先が与えれていません。 |
7985 | 5965 | |
7986 | 5966 | =item panic: return |
7987 | 5967 | |
7988 | 5968 | =begin original |
7989 | 5969 | |
7990 | 5970 | (P) We popped the context stack to a subroutine or eval context, and |
7991 | 5971 | then discovered it wasn't a subroutine or eval context. |
7992 | 5972 | |
7993 | 5973 | =end original |
7994 | 5974 | |
7995 | (P) サブルー | |
5975 | (P) サブルーティンコンテキストや eval コンテキストへ、 | |
7996 | コンテキストスタックをポップしたあと、サブルー | |
5976 | コンテキストスタックをポップしたあと、サブルーティンコンテキストや | |
7997 | 5977 | eval コンテキストでないことがわかりました。 |
7998 | 5978 | |
7999 | 5979 | =item panic: scan_num |
8000 | 5980 | |
8001 | 5981 | =begin original |
8002 | 5982 | |
8003 | 5983 | (P) scan_num() got called on something that wasn't a number. |
8004 | 5984 | |
8005 | 5985 | =end original |
8006 | 5986 | |
8007 | 5987 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
8008 | 5988 | |
8009 | =item panic: sv_chop %s | |
8010 | ||
8011 | =begin original | |
8012 | ||
8013 | (P) The sv_chop() routine was passed a position that is not within the | |
8014 | scalar's string buffer. | |
8015 | ||
8016 | =end original | |
8017 | ||
8018 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を | |
8019 | 渡されました。 | |
8020 | ||
8021 | 5989 | =item panic: sv_insert |
8022 | 5990 | |
8023 | 5991 | =begin original |
8024 | 5992 | |
8025 | 5993 | (P) The sv_insert() routine was told to remove more string than there |
8026 | 5994 | was string. |
8027 | 5995 | |
8028 | 5996 | =end original |
8029 | 5997 | |
8030 | 5998 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
8031 | 5999 | 指示されました。 |
8032 | 6000 | |
8033 | 6001 | =item panic: top_env |
8034 | 6002 | |
8035 | 6003 | =begin original |
8036 | 6004 | |
8037 | 6005 | (P) The compiler attempted to do a goto, or something weird like that. |
8038 | 6006 | |
8039 | 6007 | =end original |
8040 | 6008 | |
8041 | 6009 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
8042 | 6010 | |
8043 | =item panic: | |
6011 | =item panic: yylex | |
8044 | 6012 | |
8045 | 6013 | =begin original |
8046 | 6014 | |
8047 | (P) The | |
6015 | (P) The lexer got into a bad state while processing a case modifier. | |
8048 | at run time. | |
8049 | 6016 | |
8050 | 6017 | =end original |
8051 | 6018 | |
8052 | (P) | |
6019 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
8053 | しようとしました。 | |
8054 | 6020 | |
8055 | 6021 | =item panic: utf16_to_utf8: odd bytelen |
8056 | 6022 | |
8057 | 6023 | =begin original |
8058 | 6024 | |
8059 | 6025 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
8060 | to even) byte length. | |
6026 | to even) byte length. | |
8061 | 6027 | |
8062 | 6028 | =end original |
8063 | 6029 | |
8064 | 6030 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
8065 | 6031 | 呼び出そうとしました。 |
8066 | 6032 | |
8067 | =item panic: utf16_to_utf8_reversed: odd bytelen | |
8068 | ||
8069 | =begin original | |
8070 | ||
8071 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed | |
8072 | to even) byte length. | |
8073 | ||
8074 | =end original | |
8075 | ||
8076 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 | |
8077 | ||
8078 | =item panic: yylex | |
8079 | ||
8080 | =begin original | |
8081 | ||
8082 | (P) The lexer got into a bad state while processing a case modifier. | |
8083 | ||
8084 | =end original | |
8085 | ||
8086 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
8087 | ||
8088 | =item Pattern subroutine nesting without pos change exceeded limit in regex; marked by <-- HERE in m/%s/ | |
8089 | ||
8090 | =begin original | |
8091 | ||
8092 | (F) You used a pattern that uses too many nested subpattern calls without | |
8093 | consuming any text. Restructure the pattern so text is consumed before the | |
8094 | nesting limit is exceeded. | |
8095 | ||
8096 | =end original | |
8097 | ||
8098 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
8099 | パターンを使いました。 | |
8100 | ネストの制限を越える前にテキストを消費するようにパターンを | |
8101 | 再構成してください。 | |
8102 | ||
8103 | =begin original | |
8104 | ||
8105 | The <-- HERE shows in the regular expression about where the problem was | |
8106 | discovered. | |
8107 | ||
8108 | =end original | |
8109 | ||
8110 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8111 | ||
8112 | 6033 | =item Parentheses missing around "%s" list |
8113 | 6034 | |
8114 | 6035 | =begin original |
8115 | 6036 | |
8116 | 6037 | (W parenthesis) You said something like |
8117 | 6038 | |
8118 | 6039 | =end original |
8119 | 6040 | |
8120 | 6041 | (W parenthesis) おそらく以下のようにしたのでしょう: |
8121 | 6042 | |
8122 | 6043 | my $foo, $bar = @_; |
8123 | 6044 | |
8124 | 6045 | =begin original |
8125 | 6046 | |
8126 | 6047 | when you meant |
8127 | 6048 | |
8128 | 6049 | =end original |
8129 | 6050 | |
8130 | 6051 | 以下のようにすべきです: |
8131 | 6052 | |
8132 | 6053 | my ($foo, $bar) = @_; |
8133 | 6054 | |
8134 | 6055 | =begin original |
8135 | 6056 | |
8136 | Remember that "my", "our", | |
6057 | Remember that "my", "our", and "local" bind tighter than comma. | |
8137 | 6058 | |
8138 | 6059 | =end original |
8139 | 6060 | |
8140 | "my" | |
6061 | "my" や "local" は、コンマよりも強く結合することを忘れないでください。 | |
8141 | 忘れないでください。 | |
8142 | 6062 | |
8143 | =item C<-p> destination: %s | |
8144 | ||
8145 | =begin original | |
8146 | ||
8147 | (F) An error occurred during the implicit output invoked by the C<-p> | |
8148 | command-line switch. (This output goes to STDOUT unless you've | |
8149 | redirected it with select().) | |
8150 | ||
8151 | =end original | |
8152 | ||
8153 | (F) C<-p> コマンドラインオプションで起動された | |
8154 | 暗黙の出力中にエラーが発生しました。 | |
8155 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
8156 | ||
8157 | =item (perhaps you forgot to load "%s"?) | |
8158 | ||
8159 | =begin original | |
8160 | ||
8161 | (F) This is an educated guess made in conjunction with the message | |
8162 | "Can't locate object method \"%s\" via package \"%s\"". It often means | |
8163 | that a method requires a package that has not been loaded. | |
8164 | ||
8165 | =end original | |
8166 | ||
8167 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の | |
8168 | メッセージと共に出る教育的な推測です。 | |
8169 | これはしばしばメソッドがまだロードされていないパッケージを | |
8170 | 要求していることを意味します。 | |
8171 | ||
8172 | =item Perl_my_%s() not available | |
8173 | ||
8174 | =begin original | |
8175 | ||
8176 | (F) Your platform has very uncommon byte-order and integer size, | |
8177 | so it was not possible to set up some or all fixed-width byte-order | |
8178 | conversion functions. This is only a problem when you're using the | |
8179 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. | |
8180 | ||
8181 | =end original | |
8182 | ||
8183 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを | |
8184 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 | |
8185 | これは (un)pack テンプレートの中で | |
8186 | '<' か '>' の修飾子を使った場合にのみ問題となります。 | |
8187 | L<perlfunc/pack> を参照してください。 | |
8188 | ||
8189 | =item Perl_pmflag() is deprecated, and will be removed from the XS API | |
8190 | ||
8191 | =begin original | |
8192 | ||
8193 | (D deprecated) XS code called the C function C<Perl_pmflag>. This was part of | |
8194 | Perl's listed public API for extending or embedding the perl interpreter. It has | |
8195 | now been removed from the public API, and will be removed in a future release, | |
8196 | hence XS code should be re-written not to use it. | |
8197 | ||
8198 | =end original | |
8199 | ||
8200 | (D deprecated) XS コードが C 関数 C<Perl_pmflag> を呼び出しました。 | |
8201 | これは perl インタプリタの拡張や組み込みのための Perl の公式 API の | |
8202 | 一部でした。 | |
8203 | XS コードはこれを使わないように書き直されるべきなので、公式 API からは | |
8204 | 削除され、将来のバージョンで完全に削除されます。 | |
8205 | ||
8206 | 6063 | =item Perl %s required--this is only version %s, stopped |
8207 | 6064 | |
8208 | 6065 | =begin original |
8209 | 6066 | |
8210 | 6067 | (F) The module in question uses features of a version of Perl more |
8211 | 6068 | recent than the currently running version. How long has it been since |
8212 | 6069 | you upgraded, anyway? See L<perlfunc/require>. |
8213 | 6070 | |
8214 | 6071 | =end original |
8215 | 6072 | |
8216 | 6073 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
8217 | 6074 | 機能を使っています。 |
8218 | 6075 | ところで、いつからアップグレードしていないのですか? |
8219 | 6076 | L<perlfunc/require> を参照してください。 |
8220 | 6077 | |
8221 | 6078 | =item PERL_SH_DIR too long |
8222 | 6079 | |
8223 | 6080 | =begin original |
8224 | 6081 | |
8225 | 6082 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the |
8226 | 6083 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
8227 | 6084 | |
8228 | 6085 | =end original |
8229 | 6086 | |
8230 | 6087 | (F) OS/2 固有のエラーです。 |
8231 | 6088 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
8232 | 6089 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
8233 | 6090 | |
8234 | =item PERL_SIGNALS illegal: "%s" | |
8235 | ||
8236 | =begin original | |
8237 | ||
8238 | See L<perlrun/PERL_SIGNALS> for legal values. | |
8239 | ||
8240 | =end original | |
8241 | ||
8242 | 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
8243 | ||
8244 | 6091 | =item perl: warning: Setting locale failed. |
8245 | 6092 | |
8246 | 6093 | =begin original |
8247 | 6094 | |
8248 | 6095 | (S) The whole warning message will look something like: |
8249 | 6096 | |
8250 | 6097 | =end original |
8251 | 6098 | |
8252 | 6099 | (S) 警告全体は以下のような形になります: |
8253 | 6100 | |
8254 | 6101 | perl: warning: Setting locale failed. |
8255 | 6102 | perl: warning: Please check that your locale settings: |
8256 | 6103 | LC_ALL = "En_US", |
8257 | 6104 | LANG = (unset) |
8258 | 6105 | are supported and installed on your system. |
8259 | 6106 | perl: warning: Falling back to the standard locale ("C"). |
8260 | 6107 | |
8261 | 6108 | =begin original |
8262 | 6109 | |
8263 | 6110 | Exactly what were the failed locale settings varies. In the above the |
8264 | 6111 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
8265 | 6112 | This error means that Perl detected that you and/or your operating |
8266 | 6113 | system supplier and/or system administrator have set up the so-called |
8267 | 6114 | locale system but Perl could not use those settings. This was not |
8268 | 6115 | dead serious, fortunately: there is a "default locale" called "C" that |
8269 | 6116 | Perl can and will use, the script will be run. Before you really fix |
8270 | 6117 | the problem, however, you will get the same error message each time |
8271 | 6118 | you run Perl. How to really fix the problem can be found in |
8272 | 6119 | L<perllocale> section B<LOCALE PROBLEMS>. |
8273 | 6120 | |
8274 | 6121 | =end original |
8275 | 6122 | |
8276 | 6123 | 正確にどのロケール設定が失敗したのかは様々です。 |
8277 | 6124 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
8278 | 6125 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
8279 | 6126 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
8280 | 6127 | 検出したことを意味します。 |
8281 | 6128 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
8282 | 6129 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
8283 | 6130 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
8284 | 6131 | メッセージが表示されます。 |
8285 | 6132 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
8286 | 6133 | 章にあります。 |
8287 | 6134 | |
6135 | =item Permission denied | |
6136 | ||
6137 | =begin original | |
6138 | ||
6139 | (F) The setuid emulator in suidperl decided you were up to no good. | |
6140 | ||
6141 | =end original | |
6142 | ||
6143 | (F) suidperl の setuid エミュレータは、実行者が安全とは | |
6144 | 言えないと判断しました。 | |
6145 | ||
8288 | 6146 | =item pid %x not a child |
8289 | 6147 | |
8290 | 6148 | =begin original |
8291 | 6149 | |
8292 | 6150 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
8293 | 6151 | process which isn't a subprocess of the current process. While this is |
8294 | 6152 | fine from VMS' perspective, it's probably not what you intended. |
8295 | 6153 | |
8296 | 6154 | =end original |
8297 | 6155 | |
8298 | (W exec) VMS | |
6156 | (W exec) VMS 固有の警告です。 | |
8299 | 6157 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
8300 | 6158 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
8301 | 6159 | ないでしょう。 |
8302 | 6160 | |
8303 | =item | |
6161 | =item POSIX syntax [%s] belongs inside character classes | |
8304 | 6162 | |
8305 | 6163 | =begin original |
8306 | 6164 | |
8307 | ( | |
6165 | (W unsafe) The character class constructs [: :], [= =], and [. .] go | |
6166 | I<inside> character classes, the [] are part of the construct, for | |
6167 | example: /[012[:alpha:]345]/. Note that [= =] and [. .] are not | |
6168 | currently implemented; they are simply placeholders for future | |
6169 | extensions and will cause fatal errors. | |
8308 | 6170 | |
8309 | 6171 | =end original |
8310 | 6172 | |
8311 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを | |
8312 | 指定しなければなりません。 | |
8313 | ||
8314 | =item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/ | |
8315 | ||
8316 | =begin original | |
8317 | ||
8318 | (F) The class in the character class [: :] syntax is unknown. The <-- HERE | |
8319 | shows in the regular expression about where the problem was discovered. | |
8320 | Note that the POSIX character classes do B<not> have the C<is> prefix | |
8321 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, | |
8322 | not C<isprint>. See L<perlre>. | |
8323 | ||
8324 | =end original | |
8325 | ||
8326 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
8327 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8328 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が | |
8329 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 | |
8330 | C<isprint> ではありません。 | |
8331 | L<perlre> を参照してください。 | |
8332 | ||
8333 | =item POSIX getpgrp can't take an argument | |
8334 | ||
8335 | =begin original | |
8336 | ||
8337 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
8338 | the BSD version, which takes a pid. | |
8339 | ||
8340 | =end original | |
8341 | ||
8342 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
8343 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
8344 | ||
8345 | =item POSIX syntax [%s] belongs inside character classes in regex; marked by <-- HERE in m/%s/ | |
8346 | ||
8347 | =begin original | |
8348 | ||
8349 | (W regexp) The character class constructs [: :], [= =], and [. .] go | |
8350 | I<inside> character classes, the [] are part of the construct, for example: | |
8351 | /[012[:alpha:]345]/. Note that [= =] and [. .] are not currently | |
8352 | implemented; they are simply placeholders for future extensions and will | |
8353 | cause fatal errors. The <-- HERE shows in the regular expression about | |
8354 | where the problem was discovered. See L<perlre>. | |
8355 | ||
8356 | =end original | |
8357 | ||
8358 | 6173 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], |
8359 | 6174 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 |
8360 | 6175 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
8361 | 6176 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
8362 | 6177 | 生成します。 |
8363 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8364 | L<perlre> を参照してください。 | |
8365 | 6178 | |
8366 | =item POSIX syntax [. .] is reserved for future extensions | |
6179 | =item POSIX syntax [. .] is reserved for future extensions | |
8367 | 6180 | |
8368 | 6181 | =begin original |
8369 | 6182 | |
8370 | 6183 | (F regexp) Within regular expression character classes ([]) the syntax |
8371 | beginning with "[." and ending with ".]" is reserved for future | |
6184 | beginning with "[." and ending with ".]" is reserved for future | |
8372 | If you need to represent those character sequences inside | |
6185 | extensions. If you need to represent those character sequences inside | |
8373 | expression character class, just quote the square brackets | |
6186 | a regular expression character class, just quote the square brackets | |
8374 | backslash: "\[." and ".\]". | |
6187 | with the backslash: "\[." and ".\]". | |
8375 | about where the problem was discovered. See L<perlre>. | |
8376 | 6188 | |
8377 | 6189 | =end original |
8378 | 6190 | |
8379 | 6191 | (F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で |
8380 | 6192 | 終わる文法は将来の拡張のために予約されます。 |
8381 | 6193 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
8382 | 6194 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
8383 | 6195 | クォートしてください。 |
8384 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8385 | L<perlre> を参照してください。 | |
8386 | 6196 | |
8387 | =item POSIX syntax [= =] is reserved for future extensions | |
6197 | =item POSIX syntax [= =] is reserved for future extensions | |
8388 | 6198 | |
8389 | 6199 | =begin original |
8390 | 6200 | |
8391 | (F) Within regular expression character classes ([]) the syntax | |
6201 | (F) Within regular expression character classes ([]) the syntax | |
8392 | with "[=" and ending with "=]" is reserved for future | |
6202 | beginning with "[=" and ending with "=]" is reserved for future | |
8393 | need to represent those character sequences inside | |
6203 | extensions. If you need to represent those character sequences inside | |
8394 | character class, just quote the square brackets | |
6204 | a regular expression character class, just quote the square brackets | |
8395 | ||
6205 | with the backslash: "\[=" and "=\]". | |
8396 | problem was discovered. See L<perlre>. | |
8397 | 6206 | |
8398 | 6207 | =end original |
8399 | 6208 | |
8400 | 6209 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
8401 | 6210 | 終わる文法は将来の拡張のために予約されます。 |
8402 | 6211 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
8403 | 6212 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
8404 | 6213 | クォートしてください。 |
8405 | ||
6215 | =item POSIX class [:%s:] unknown | |
6216 | ||
6217 | =begin original | |
6218 | ||
6219 | (F) The class in the character class [: :] syntax is unknown. See | |
6220 | L<perlre>. | |
6221 | ||
6222 | =end original | |
6223 | ||
6224 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
8406 | 6225 | L<perlre> を参照してください。 |
8407 | 6226 | |
6227 | =item POSIX getpgrp can't take an argument | |
6228 | ||
6229 | =begin original | |
6230 | ||
6231 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
6232 | the BSD version, which takes a pid. | |
6233 | ||
6234 | =end original | |
6235 | ||
6236 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
6237 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
6238 | ||
8408 | 6239 | =item Possible attempt to put comments in qw() list |
8409 | 6240 | |
8410 | 6241 | =begin original |
8411 | 6242 | |
8412 | 6243 | (W qw) qw() lists contain items separated by whitespace; as with literal |
8413 | 6244 | strings, comment characters are not ignored, but are instead treated as |
8414 | 6245 | literal data. (You may have used different delimiters than the |
8415 | 6246 | parentheses shown here; braces are also frequently used.) |
8416 | 6247 | |
8417 | 6248 | =end original |
8418 | 6249 | |
8419 | 6250 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
8420 | 6251 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
8421 | (こ | |
6252 | (かっこ以外のデリミタを使うこともできます; 中かっこもよく使われます。) | |
8422 | 大かっこもよく使われます。) | |
8423 | 6253 | |
8424 | 6254 | =begin original |
8425 | 6255 | |
8426 | 6256 | You probably wrote something like this: |
8427 | 6257 | |
8428 | 6258 | =end original |
8429 | 6259 | |
8430 | 6260 | おそらく以下のように書いたのでしょう: |
8431 | 6261 | |
8432 | 6262 | @list = qw( |
8433 | 6263 | a # a comment |
8434 | 6264 | b # another comment |
8435 | 6265 | ); |
8436 | 6266 | |
8437 | 6267 | =begin original |
8438 | 6268 | |
8439 | 6269 | when you should have written this: |
8440 | 6270 | |
8441 | 6271 | =end original |
8442 | 6272 | |
8443 | 6273 | 以下のように書くべきです: |
8444 | 6274 | |
8445 | 6275 | @list = qw( |
8446 | 6276 | a |
8447 | 6277 | b |
8448 | 6278 | ); |
8449 | 6279 | |
8450 | 6280 | =begin original |
8451 | 6281 | |
8452 | 6282 | If you really want comments, build your list the |
8453 | 6283 | old-fashioned way, with quotes and commas: |
8454 | 6284 | |
8455 | 6285 | =end original |
8456 | 6286 | |
8457 | 6287 | 本当にコメントをつけたいのなら、 |
8458 | 6288 | リストを昔のクォートとカンマの形で書いてください。 |
8459 | 6289 | |
8460 | 6290 | @list = ( |
8461 | 6291 | 'a', # a comment |
8462 | 6292 | 'b', # another comment |
8463 | 6293 | ); |
8464 | 6294 | |
8465 | 6295 | =item Possible attempt to separate words with commas |
8466 | 6296 | |
8467 | 6297 | =begin original |
8468 | 6298 | |
8469 | 6299 | (W qw) qw() lists contain items separated by whitespace; therefore |
8470 | 6300 | commas aren't needed to separate the items. (You may have used |
8471 | 6301 | different delimiters than the parentheses shown here; braces are also |
8472 | 6302 | frequently used.) |
8473 | 6303 | |
8474 | 6304 | =end original |
8475 | 6305 | |
8476 | 6306 | (W qw) qw() リストに空白で分割された項目があります; |
8477 | 6307 | そのため、カンマは項目を分割する必要がありません。 |
8478 | 6308 | (ここで使われているのと違うデリミタを用いているかもしれません; |
8479 | 大 | |
6309 | 大括弧もよく使われます。) | |
8480 | 6310 | |
8481 | 6311 | =begin original |
8482 | 6312 | |
8483 | 6313 | You probably wrote something like this: |
8484 | 6314 | |
8485 | 6315 | =end original |
8486 | 6316 | |
8487 | 6317 | おそらく以下のように書いたのでしょう: |
8488 | 6318 | |
8489 | 6319 | qw! a, b, c !; |
8490 | 6320 | |
8491 | 6321 | =begin original |
8492 | 6322 | |
8493 | 6323 | which puts literal commas into some of the list items. Write it without |
8494 | 6324 | commas if you don't want them to appear in your data: |
8495 | 6325 | |
8496 | 6326 | =end original |
8497 | 6327 | |
8498 | 6328 | リスト要素の中にリテラルのカンマを書いています。 |
8499 | 6329 | データの中にカンマを出したくないなら、カンマなしで書きます: |
8500 | 6330 | |
8501 | 6331 | qw! a b c !; |
8502 | 6332 | |
8503 | 6333 | =item Possible memory corruption: %s overflowed 3rd argument |
8504 | 6334 | |
8505 | 6335 | =begin original |
8506 | 6336 | |
8507 | 6337 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
8508 | 6338 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
8509 | 6339 | end of the buffer just in case. This sentinel byte got clobbered, and |
8510 | 6340 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
8511 | 6341 | |
8512 | 6342 | =end original |
8513 | 6343 | |
8514 | 6344 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
8515 | 6345 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
8516 | 6346 | 最後に目印を付けています。 |
8517 | 6347 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
8518 | 6348 | L<perlfunc/ioctl> を参照してください。 |
8519 | 6349 | |
8520 | =item Possible | |
6350 | =item Possible Y2K bug: %s | |
8521 | 6351 | |
8522 | 6352 | =begin original |
8523 | 6353 | |
8524 | (W | |
6354 | (W y2k) You are concatenating the number 19 with another number, which | |
8525 | ||
6355 | could be a potential Year 2000 problem. | |
8526 | 6356 | |
8527 | 6357 | =end original |
8528 | 6358 | |
8529 | (W | |
6359 | (W y2k) 数値 19 を他の数値と結合しています; これは潜在的な | |
8530 | ||
6360 | 2000 年問題かもしれません。 | |
8531 | 6361 | |
8532 | | |
6362 | =item pragma "attrs" is deprecated, use "sub NAME : ATTRS" instead | |
8533 | 6363 | |
8534 | 6364 | =begin original |
8535 | 6365 | |
8536 | ||
6366 | (W deprecated) You have written something like this: | |
8537 | higher precedence of C<==>. This is probably not what you want. (If you | |
8538 | really meant to write this, disable the warning, or, better, put the | |
8539 | parentheses explicitly and write C<$x & ($y == 0)>). | |
8540 | 6367 | |
8541 | 6368 | =end original |
8542 | 6369 | |
8543 | ||
6370 | (W deprecated) おそらく以下のように書いたのでしょう: | |
8544 | 等価になります。 | |
8545 | これはおそらく望んでいるものではないでしょう。 | |
8546 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは | |
8547 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます。) | |
8548 | 6371 | |
8549 | ||
6372 | sub doit | |
6373 | { | |
6374 | use attrs qw(locked); | |
6375 | } | |
8550 | 6376 | |
8551 | 6377 | =begin original |
8552 | 6378 | |
8553 | ||
6379 | You should use the new declaration syntax instead. | |
8554 | but there was no array C<@foo> in scope at the time. If you wanted a | |
8555 | literal @foo, then write it as \@foo; otherwise find out what happened | |
8556 | to the array you apparently lost track of. | |
8557 | 6380 | |
8558 | 6381 | =end original |
8559 | 6382 | |
8560 | ||
6383 | 代わりに新しい定義の文法で書くべきです: | |
8561 | 現在のスコープ内に C<@foo> という配列はありません。 | |
8562 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
8563 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
8564 | 調べてください。 | |
8565 | 6384 | |
8566 | ||
6385 | sub doit : locked | |
6386 | { | |
6387 | ... | |
8567 | 6388 | |
8568 | 6389 | =begin original |
8569 | 6390 | |
8570 | ||
6391 | The C<use attrs> pragma is now obsolete, and is only provided for | |
8571 | ||
6392 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. | |
8572 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) | |
8573 | followed by the word 'bar'. | |
8574 | 6393 | |
8575 | 6394 | =end original |
8576 | 6395 | |
8577 | ||
6396 | C<use attrs> プラグマはもう古いもので、後方互換性のためだけに | |
8578 | ||
6397 | 提供されています。 | |
8579 | ||
6398 | L<perlsub/"Subroutine Attributes"> を参照してください。 | |
8580 | 'bar' にマッチングします。 | |
8581 | 6399 | |
8582 | =begin original | |
8583 | ||
8584 | If this is what you intended then you can silence the warning by using | |
8585 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). | |
8586 | ||
8587 | =end original | |
8588 | ||
8589 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます | |
8590 | (例えば: C<m/foo${\}s+bar/>)。 | |
8591 | ||
8592 | =begin original | |
8593 | ||
8594 | If instead you intended to match the word 'foo' at the end of the line | |
8595 | followed by whitespace and the word 'bar' on the next line then you can use | |
8596 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). | |
8597 | ||
8598 | =end original | |
8599 | ||
8600 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に | |
8601 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: | |
8602 | C<m/foo$(?)\s+bar/>)。 | |
8603 | ||
8604 | 6400 | =item Precedence problem: open %s should be open(%s) |
8605 | 6401 | |
8606 | 6402 | =begin original |
8607 | 6403 | |
8608 | 6404 | (S precedence) The old irregular construct |
8609 | 6405 | |
8610 | 6406 | =end original |
8611 | 6407 | |
8612 | 6408 | (S precedence) 古い変則的な構文 |
8613 | 6409 | |
8614 | 6410 | open FOO || die; |
8615 | 6411 | |
8616 | 6412 | =begin original |
8617 | 6413 | |
8618 | 6414 | is now misinterpreted as |
8619 | 6415 | |
8620 | 6416 | =end original |
8621 | 6417 | |
8622 | 6418 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
8623 | 6419 | リスト演算子と解釈されますので、 |
8624 | 6420 | |
8625 | 6421 | open(FOO || die); |
8626 | 6422 | |
8627 | 6423 | =begin original |
8628 | 6424 | |
8629 | 6425 | because of the strict regularization of Perl 5's grammar into unary and |
8630 | 6426 | list operators. (The old open was a little of both.) You must put |
8631 | 6427 | parentheses around the filehandle, or use the new "or" operator instead |
8632 | 6428 | of "||". |
8633 | 6429 | |
8634 | 6430 | =end original |
8635 | 6431 | |
8636 | 6432 | という風に誤った解釈がなされます。 |
8637 | 6433 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
8638 | ファイルハンドルの前後を | |
6434 | ファイルハンドルの前後を括弧で囲むか、"||" 演算子の代わりに | |
8639 | 6435 | "or" 演算子を使わなくてはなりません。 |
8640 | 6436 | |
8641 | 6437 | =item Premature end of script headers |
8642 | 6438 | |
8643 | 6439 | =begin original |
8644 | 6440 | |
8645 | 6441 | See Server error. |
8646 | 6442 | |
8647 | 6443 | =end original |
8648 | 6444 | |
8649 | "Server error" | |
6445 | "Server error"を参照してください。 | |
8650 | 6446 | |
8651 | 6447 | =item printf() on closed filehandle %s |
8652 | 6448 | |
8653 | 6449 | =begin original |
8654 | 6450 | |
8655 | 6451 | (W closed) The filehandle you're writing to got itself closed sometime |
8656 | before now. Check your | |
6452 | before now. Check your logic flow. | |
8657 | 6453 | |
8658 | 6454 | =end original |
8659 | 6455 | |
8660 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に | |
6456 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
8661 | ||
6457 | 論理フローをチェックしてください。 | |
8662 | 6458 | |
8663 | 6459 | =item print() on closed filehandle %s |
8664 | 6460 | |
8665 | 6461 | =begin original |
8666 | 6462 | |
8667 | 6463 | (W closed) The filehandle you're printing on got itself closed sometime |
8668 | before now. Check your | |
6464 | before now. Check your logic flow. | |
8669 | 6465 | |
8670 | 6466 | =end original |
8671 | 6467 | |
8672 | (W closed) print を行なおうとしたファイルハンドルは、既に | |
6468 | (W closed) print を行なおうとしたファイルハンドルは、既にクローズされています。 | |
8673 | ||
6469 | 論理フローをチェックしてください。 | |
8674 | 6470 | |
8675 | 6471 | =item Process terminated by SIG%s |
8676 | 6472 | |
8677 | 6473 | =begin original |
8678 | 6474 | |
8679 | 6475 | (W) This is a standard message issued by OS/2 applications, while *nix |
8680 | 6476 | applications die in silence. It is considered a feature of the OS/2 |
8681 | 6477 | port. One can easily disable this by appropriate sighandlers, see |
8682 | 6478 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
8683 | 6479 | in L<perlos2>. |
8684 | 6480 | |
8685 | 6481 | =end original |
8686 | 6482 | |
8687 | 6483 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
8688 | 6484 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
8689 | 6485 | これは OS/2 版の仕様とみなされています。 |
8690 | 6486 | 適切なシグナルハンドラによって簡単に無効にできます; |
8691 | 6487 | L<perlipc/"Signals"> を参照してください。 |
8692 | 6488 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
8693 | 6489 | |
8694 | =item Prototype after '%c' for %s : %s | |
8695 | ||
8696 | =begin original | |
8697 | ||
8698 | (W illegalproto) A character follows % or @ in a prototype. This is useless, | |
8699 | since % and @ gobble the rest of the subroutine arguments. | |
8700 | ||
8701 | =end original | |
8702 | ||
8703 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 | |
8704 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 | |
8705 | ||
8706 | 6490 | =item Prototype mismatch: %s vs %s |
8707 | 6491 | |
8708 | 6492 | =begin original |
8709 | 6493 | |
8710 | (S | |
6494 | (S unsafe) The subroutine being declared or defined had previously been | |
8711 | 6495 | declared or defined with a different function prototype. |
8712 | 6496 | |
8713 | 6497 | =end original |
8714 | 6498 | |
8715 | (S | |
6499 | (S unsafe) 以前異なる関数プロトタイプで宣言または定義されたサブルーチンが | |
8716 | ||
6500 | 宣言または定義されました。 | |
8717 | 6501 | |
8718 | =item | |
6502 | =item Quantifier in {,} bigger than %d before << HERE in regex m/%s/ | |
8719 | 6503 | |
8720 | 6504 | =begin original |
8721 | 6505 | |
8722 | (F) You've omitted the closing parenthesis in a function prototype | |
8723 | definition. | |
8724 | ||
8725 | =end original | |
8726 | ||
8727 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 | |
8728 | ||
8729 | =item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/ | |
8730 | ||
8731 | =begin original | |
8732 | ||
8733 | (F) You started a regular expression with a quantifier. Backslash it if you | |
8734 | meant it literally. The <-- HERE shows in the regular expression about | |
8735 | where the problem was discovered. See L<perlre>. | |
8736 | ||
8737 | =end original | |
8738 | ||
8739 | (F) 正規表現を量指定子で開始しています。 | |
8740 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
8741 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8742 | L<perlre> を参照してください。 | |
8743 | ||
8744 | =item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/ | |
8745 | ||
8746 | =begin original | |
8747 | ||
8748 | 6506 | (F) There is currently a limit to the size of the min and max values of the |
8749 | {min,max} construct. The < | |
6507 | {min,max} construct. The << HERE shows in the regular expression about where | |
8750 | 6508 | the problem was discovered. See L<perlre>. |
8751 | 6509 | |
8752 | 6510 | =end original |
8753 | 6511 | |
8754 | 6512 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
8755 | < | |
6513 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8756 | 6514 | L<perlre> を参照してください。 |
8757 | 6515 | |
8758 | =item Quantifier unexpected on zero-length expression | |
6516 | =item Quantifier unexpected on zero-length expression before << HERE %s | |
8759 | 6517 | |
8760 | 6518 | =begin original |
8761 | 6519 | |
8762 | 6520 | (W regexp) You applied a regular expression quantifier in a place where |
8763 | 6521 | it makes no sense, such as on a zero-width assertion. Try putting the |
8764 | 6522 | quantifier inside the assertion instead. For example, the way to match |
8765 | 6523 | "abc" provided that it is followed by three repetitions of "xyz" is |
8766 | 6524 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
8767 | 6525 | |
8768 | 6526 | =end original |
8769 | 6527 | |
8770 | 6528 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
8771 | 6529 | 適用しました。 |
8772 | 6530 | 代わりにアサーションの中に量指定子を置いてください。 |
8773 | 6531 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
8774 | 6532 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
8775 | 6533 | |
8776 | =begin original | |
8777 | ||
8778 | The <-- HERE shows in the regular expression about where the problem was | |
8779 | discovered. | |
8780 | ||
8781 | =end original | |
8782 | ||
8783 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8784 | ||
8785 | 6534 | =item Range iterator outside integer range |
8786 | 6535 | |
8787 | 6536 | =begin original |
8788 | 6537 | |
8789 | 6538 | (F) One (or both) of the numeric arguments to the range operator ".." |
8790 | 6539 | are outside the range which can be represented by integers internally. |
8791 | 6540 | One possible workaround is to force Perl to use magical string increment |
8792 | 6541 | by prepending "0" to your numbers. |
8793 | 6542 | |
8794 | 6543 | =end original |
8795 | 6544 | |
8796 | 6545 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
8797 | 6546 | 表現できる範囲を越えています。 |
8798 | 6547 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
8799 | 6548 | マジカル文字列インクリメントの使用を強制させることです。 |
8800 | 6549 | |
8801 | =item readdir() attempted on invalid dirhandle %s | |
8802 | ||
8803 | =begin original | |
8804 | ||
8805 | (W io) The dirhandle you're reading from is either closed or not really | |
8806 | a dirhandle. Check your control flow. | |
8807 | ||
8808 | =end original | |
8809 | ||
8810 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 | |
8811 | 実際にはディレクトリハンドルではありません。 | |
8812 | 制御フローをチェックしてください。 | |
8813 | ||
8814 | 6550 | =item readline() on closed filehandle %s |
8815 | 6551 | |
8816 | 6552 | =begin original |
8817 | 6553 | |
8818 | 6554 | (W closed) The filehandle you're reading from got itself closed sometime |
8819 | before now. Check your | |
6555 | before now. Check your logic flow. | |
8820 | 6556 | |
8821 | 6557 | =end original |
8822 | 6558 | |
8823 | (W closed) 読み込 | |
6559 | (W closed) 読み込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
8824 | ||
6560 | 論理フローをチェックしてください。 | |
8825 | 6561 | |
8826 | =item read() on closed filehandle %s | |
8827 | ||
8828 | =begin original | |
8829 | ||
8830 | (W closed) You tried to read from a closed filehandle. | |
8831 | ||
8832 | =end original | |
8833 | ||
8834 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
8835 | ||
8836 | =item read() on unopened filehandle %s | |
8837 | ||
8838 | =begin original | |
8839 | ||
8840 | (W unopened) You tried to read from a filehandle that was never opened. | |
8841 | ||
8842 | =end original | |
8843 | ||
8844 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
8845 | ||
8846 | 6562 | =item Reallocation too large: %lx |
8847 | 6563 | |
8848 | 6564 | =begin original |
8849 | 6565 | |
8850 | 6566 | (F) You can't allocate more than 64K on an MS-DOS machine. |
8851 | 6567 | |
8852 | 6568 | =end original |
8853 | 6569 | |
8854 | 6570 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
8855 | 6571 | |
8856 | 6572 | =item realloc() of freed memory ignored |
8857 | 6573 | |
8858 | 6574 | =begin original |
8859 | 6575 | |
8860 | 6576 | (S malloc) An internal routine called realloc() on something that had |
8861 | 6577 | already been freed. |
8862 | 6578 | |
8863 | 6579 | =end original |
8864 | 6580 | |
8865 | 6581 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
8866 | 6582 | 呼び出しました。 |
8867 | 6583 | |
8868 | 6584 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
8869 | 6585 | |
8870 | 6586 | =begin original |
8871 | 6587 | |
8872 | 6588 | (F debugging) You can't use the B<-D> option unless the code to produce |
8873 | 6589 | the desired output is compiled into Perl, which entails some overhead, |
8874 | 6590 | which is why it's currently left out of your copy. |
8875 | 6591 | |
8876 | 6592 | =end original |
8877 | 6593 | |
8878 | 6594 | (F debugging) Perl のコンパイル時に、適切な出力ルーティンが |
8879 | 組み込まれていなければ、B<-D> スイッチを使うことはできません | |
6595 | 組み込まれていなければ、B<-D> スイッチを使うことはできません。 | |
8880 | 6596 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
8881 | 6597 | Perl に組み込んでない理由でしょう。 |
8882 | 6598 | |
8883 | 6599 | =item Recursive inheritance detected in package '%s' |
8884 | 6600 | |
8885 | 6601 | =begin original |
8886 | 6602 | |
8887 | (F) | |
6603 | (F) More than 100 levels of inheritance were used. Probably indicates | |
8888 | ||
6604 | an unintended loop in your inheritance hierarchy. | |
8889 | crude check that bails out after 100 levels of C<@ISA> depth. | |
8890 | 6605 | |
8891 | 6606 | =end original |
8892 | 6607 | |
8893 | (F) | |
6608 | (F) 100 レベル以上の継承が行なわれました。 | |
8894 | ||
6609 | おそらく、継承階層の中で、予想外のループになっている部分があるものと | |
8895 | ||
6610 | 思われます。 | |
8896 | 6611 | |
8897 | 6612 | =item Recursive inheritance detected while looking for method %s |
8898 | 6613 | |
8899 | 6614 | =begin original |
8900 | 6615 | |
8901 | 6616 | (F) More than 100 levels of inheritance were encountered while invoking |
8902 | 6617 | a method. Probably indicates an unintended loop in your inheritance |
8903 | 6618 | hierarchy. |
8904 | 6619 | |
8905 | 6620 | =end original |
8906 | 6621 | |
8907 | 6622 | (F) メソッドの起動中に 100 レベル以上の継承が行なわれました。 |
8908 | 6623 | おそらく、継承階層の中で、予想外のループになっている部分があるものと |
8909 | 6624 | 思われます。 |
8910 | 6625 | |
8911 | 6626 | =item Reference found where even-sized list expected |
8912 | 6627 | |
8913 | 6628 | =begin original |
8914 | 6629 | |
8915 | 6630 | (W misc) You gave a single reference where Perl was expecting a list |
8916 | 6631 | with an even number of elements (for assignment to a hash). This usually |
8917 | 6632 | means that you used the anon hash constructor when you meant to use |
8918 | 6633 | parens. In any case, a hash requires key/value B<pairs>. |
8919 | 6634 | |
8920 | 6635 | =end original |
8921 | 6636 | |
8922 | 6637 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
8923 | 想定しているところに | |
6638 | 想定しているところに 1 つのリファレンスを渡しました。 | |
8924 | 6639 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
8925 | 6640 | 意味します。 |
8926 | 6641 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
8927 | 6642 | |
8928 | 6643 | %hash = { one => 1, two => 2, }; # WRONG |
8929 | 6644 | %hash = [ qw/ an anon array / ]; # WRONG |
8930 | 6645 | %hash = ( one => 1, two => 2, ); # right |
8931 | 6646 | %hash = qw( one 1 two 2 ); # also fine |
8932 | 6647 | |
8933 | 6648 | =item Reference is already weak |
8934 | 6649 | |
8935 | 6650 | =begin original |
8936 | 6651 | |
8937 | 6652 | (W misc) You have attempted to weaken a reference that is already weak. |
8938 | 6653 | Doing so has no effect. |
8939 | 6654 | |
8940 | 6655 | =end original |
8941 | 6656 | |
8942 | 6657 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
8943 | 6658 | そうしても何の効果もありません。 |
8944 | 6659 | |
8945 | 6660 | =item Reference miscount in sv_replace() |
8946 | 6661 | |
8947 | 6662 | =begin original |
8948 | 6663 | |
8949 | 6664 | (W internal) The internal sv_replace() function was handed a new SV with |
8950 | 6665 | a reference count of other than 1. |
8951 | 6666 | |
8952 | 6667 | =end original |
8953 | 6668 | |
8954 | 6669 | (W internal) 内部の sv_replace() 関数が、参照数が 1 でない、新規の |
8955 | 6670 | SV を扱いました。 |
8956 | 6671 | |
8957 | =item Reference to | |
6672 | =item Reference to nonexistent group before << HERE in regex m/%s/ | |
8958 | 6673 | |
8959 | 6674 | =begin original |
8960 | 6675 | |
8961 | (F) You used C<\g0> or similar in a regular expression. You may refer to | |
8962 | capturing parentheses only with strictly positive integers (normal | |
8963 | backreferences) or with strictly negative integers (relative | |
8964 | backreferences), but using 0 does not make sense. | |
8965 | ||
8966 | =end original | |
8967 | ||
8968 | (F) 正規表現で C<\g0> のようなものを使いました。 | |
8969 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) | |
8970 | のみなので、0 は意味を成しません。 | |
8971 | ||
8972 | =item Reference to nonexistent group in regex; marked by <-- HERE in m/%s/ | |
8973 | ||
8974 | =begin original | |
8975 | ||
8976 | 6676 | (F) You used something like C<\7> in your regular expression, but there are |
8977 | 6677 | not at least seven sets of capturing parentheses in the expression. If you |
8978 | 6678 | wanted to have the character with value 7 inserted into the regular expression, |
8979 | 6679 | prepend a zero to make the number at least two digits: C<\07> |
8980 | 6680 | |
8981 | 6681 | =end original |
8982 | 6682 | |
8983 | 6683 | 正規表現の中で C<\7> のような記述がありますが、 |
8984 | 正規表現の中に値を捕らえる | |
6684 | 正規表現の中に値を捕らえる括弧が 7 つありません。 | |
8985 | 6685 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
8986 | 6686 | ゼロをつけて最低二桁の数値にする必要があります: C<\07> |
8987 | 6687 | |
8988 | 6688 | =begin original |
8989 | 6689 | |
8990 | The < | |
6690 | The << HERE shows in the regular expression about where the problem was | |
8991 | 6691 | discovered. |
8992 | 6692 | |
8993 | 6693 | =end original |
8994 | 6694 | |
8995 | < | |
6695 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8996 | 6696 | |
8997 | =item Reference to nonexistent or unclosed group in regex; marked by <-- HERE in m/%s/ | |
8998 | ||
8999 | =begin original | |
9000 | ||
9001 | (F) You used something like C<\g{-7}> in your regular expression, but there are | |
9002 | not at least seven sets of closed capturing parentheses in the expression before | |
9003 | where the C<\g{-7}> was located. | |
9004 | ||
9005 | =end original | |
9006 | ||
9007 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の | |
9008 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 | |
9009 | ||
9010 | =begin original | |
9011 | ||
9012 | The <-- HERE shows in the regular expression about where the problem was | |
9013 | discovered. | |
9014 | ||
9015 | =end original | |
9016 | ||
9017 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9018 | ||
9019 | =item Reference to nonexistent named group in regex; marked by <-- HERE in m/%s/ | |
9020 | ||
9021 | =begin original | |
9022 | ||
9023 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular | |
9024 | expression, but there is no corresponding named capturing parentheses such | |
9025 | as C<(?'NAME'...)> or C<(?<NAME>...). Check if the name has been spelled | |
9026 | correctly both in the backreference and the declaration. | |
9027 | ||
9028 | =end original | |
9029 | ||
9030 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 | |
9031 | C<(?'NAME'...)> や C<(?<NAME>...) のような、対応する名前付き捕捉かっこが | |
9032 | ありません。 | |
9033 | 前方参照と定義の両方において、名前のスペルが正しいかどうか | |
9034 | チェックしてください。 | |
9035 | ||
9036 | =begin original | |
9037 | ||
9038 | The <-- HERE shows in the regular expression about where the problem was | |
9039 | discovered. | |
9040 | ||
9041 | =end original | |
9042 | ||
9043 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9044 | ||
9045 | =item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/ | |
9046 | ||
9047 | =begin original | |
9048 | ||
9049 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The | |
9050 | most likely cause of this error is that you left out a parenthesis inside | |
9051 | of the C<....> part. | |
9052 | ||
9053 | =end original | |
9054 | ||
9055 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 | |
9056 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを | |
9057 | そのままにしたことです。 | |
9058 | ||
9059 | =begin original | |
9060 | ||
9061 | The <-- HERE shows in the regular expression about where the problem was | |
9062 | discovered. | |
9063 | ||
9064 | =end original | |
9065 | ||
9066 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9067 | ||
9068 | 6697 | =item regexp memory corruption |
9069 | 6698 | |
9070 | 6699 | =begin original |
9071 | 6700 | |
9072 | 6701 | (P) The regular expression engine got confused by what the regular |
9073 | 6702 | expression compiler gave it. |
9074 | 6703 | |
9075 | 6704 | =end original |
9076 | 6705 | |
9077 | 6706 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
9078 | 6707 | 処理できなくなりました。 |
9079 | 6708 | |
9080 | 6709 | =item Regexp out of space |
9081 | 6710 | |
9082 | 6711 | =begin original |
9083 | 6712 | |
9084 | 6713 | (P) A "can't happen" error, because safemalloc() should have caught it |
9085 | 6714 | earlier. |
9086 | 6715 | |
9087 | 6716 | =end original |
9088 | 6717 | |
9089 | (P) safemalloc() が見つけるはずなので、「起こるはずのない | |
6718 | (P) safemalloc() が見つけるはずなので、「起こるはずのないエラー」です。 | |
9090 | 6719 | |
9091 | =item Repeat | |
6720 | =item Repeat count in pack overflows | |
9092 | 6721 | |
9093 | 6722 | =begin original |
9094 | 6723 | |
9095 | (F) You | |
6724 | (F) You can't specify a repeat count so large that it overflows your | |
9096 | n | |
6725 | signed integers. See L<perlfunc/pack>. | |
9097 | terminates. You might use ^# instead. See L<perlform>. | |
9098 | 6726 | |
9099 | 6727 | =end original |
9100 | 6728 | |
9101 | (F) | |
6729 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
9102 | ||
6730 | 値は指定できません。 | |
9103 | ||
6731 | L<perlfunc/pack> を参照してください。 | |
9104 | L<perlform> を参照してください。 | |
9105 | 6732 | |
9106 | =item Rep | |
6733 | =item Repeat count in unpack overflows | |
9107 | 6734 | |
9108 | 6735 | =begin original |
9109 | 6736 | |
9110 | ( | |
6737 | (F) You can't specify a repeat count so large that it overflows your | |
9111 | s | |
6738 | signed integers. See L<perlfunc/unpack>. | |
9112 | are meaningless. | |
9113 | 6739 | |
9114 | 6740 | =end original |
9115 | 6741 | |
9116 | ( | |
6742 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
9117 | ||
6743 | 値は指定できません。 | |
6744 | L<perlfunc/unpack> を参照してください。 | |
9118 | 6745 | |
9119 | 6746 | =item Reversed %s= operator |
9120 | 6747 | |
9121 | 6748 | =begin original |
9122 | 6749 | |
9123 | 6750 | (W syntax) You wrote your assignment operator backwards. The = must |
9124 | 6751 | always comes last, to avoid ambiguity with subsequent unary operators. |
9125 | 6752 | |
9126 | 6753 | =end original |
9127 | 6754 | |
9128 | 6755 | (W syntax) 代入演算子を逆順に書いています。 |
9129 | 6756 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
9130 | 6757 | 代入演算子では、等号 = が、最後にこないといけません。 |
9131 | 6758 | |
9132 | =item | |
6759 | =item Runaway format | |
9133 | 6760 | |
9134 | 6761 | =begin original |
9135 | 6762 | |
9136 | ( | |
6763 | (F) Your format contained the ~~ repeat-until-blank sequence, but it | |
9137 | re | |
6764 | produced 200 lines at once, and the 200th line looked exactly like the | |
6765 | 199th line. Apparently you didn't arrange for the arguments to exhaust | |
6766 | themselves, either by using ^ instead of @ (for scalar variables), or by | |
6767 | shifting or popping (for array variables). See L<perlform>. | |
9138 | 6768 | |
9139 | 6769 | =end original |
9140 | 6770 | |
9141 | ( | |
6771 | (F) 定義したフォーマットに、空になるまで繰り返す ~~ が | |
9142 | ||
6772 | 含まれていましたが、一度に 200 行以上となり、199 行目と 200 行目が | |
9143 | ||
6773 | 全く同じになりました。 | |
6774 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を | |
6775 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 | |
6776 | そうなっていないようです。 | |
6777 | L<perlform> を参照してください。 | |
9144 | 6778 | |
9145 | =item Scalars leaked: %d | |
9146 | ||
9147 | =begin original | |
9148 | ||
9149 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
9150 | not all scalar variables were deallocated by the time Perl exited. | |
9151 | What this usually indicates is a memory leak, which is of course bad, | |
9152 | especially if the Perl program is intended to be long-running. | |
9153 | ||
9154 | =end original | |
9155 | ||
9156 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
9157 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
9158 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
9159 | Perl プログラムが長い間動作する場合には特にそうです。 | |
9160 | ||
9161 | 6779 | =item Scalar value @%s[%s] better written as $%s[%s] |
9162 | 6780 | |
9163 | 6781 | =begin original |
9164 | 6782 | |
9165 | 6783 | (W syntax) You've used an array slice (indicated by @) to select a |
9166 | 6784 | single element of an array. Generally it's better to ask for a scalar |
9167 | 6785 | value (indicated by $). The difference is that C<$foo[&bar]> always |
9168 | 6786 | behaves like a scalar, both when assigning to it and when evaluating its |
9169 | 6787 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
9170 | 6788 | and provides a list context to its subscript, which can do weird things |
9171 | 6789 | if you're expecting only one subscript. |
9172 | 6790 | |
9173 | 6791 | =end original |
9174 | 6792 | |
9175 | 6793 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
9176 | 6794 | スライスを用いました。 |
9177 | 6795 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
9178 | 6796 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
9179 | 6797 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
9180 | 6798 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
9181 | 添字にもリストコンテキストを与えることになります | |
6799 | 添字にもリストコンテキストを与えることになります。 | |
9182 | これは、 | |
6800 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
9183 | 6801 | |
9184 | 6802 | =begin original |
9185 | 6803 | |
9186 | 6804 | On the other hand, if you were actually hoping to treat the array |
9187 | 6805 | element as a list, you need to look into how references work, because |
9188 | 6806 | Perl will not magically convert between scalars and lists for you. See |
9189 | 6807 | L<perlref>. |
9190 | 6808 | |
9191 | 6809 | =end original |
9192 | 6810 | |
9193 | 6811 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
9194 | 6812 | どのように働くかについて詳しく知る必要があります; なぜなら |
9195 | 6813 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
9196 | 6814 | L<perlref> を参照してください。 |
9197 | 6815 | |
9198 | 6816 | =item Scalar value @%s{%s} better written as $%s{%s} |
9199 | 6817 | |
9200 | 6818 | =begin original |
9201 | 6819 | |
9202 | 6820 | (W syntax) You've used a hash slice (indicated by @) to select a single |
9203 | 6821 | element of a hash. Generally it's better to ask for a scalar value |
9204 | 6822 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
9205 | 6823 | like a scalar, both when assigning to it and when evaluating its |
9206 | 6824 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
9207 | 6825 | and provides a list context to its subscript, which can do weird things |
9208 | 6826 | if you're expecting only one subscript. |
9209 | 6827 | |
9210 | 6828 | =end original |
9211 | 6829 | |
9212 | 6830 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
9213 | 6831 | スライスを用いました。 |
9214 | 6832 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
9215 | 6833 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
9216 | 6834 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
9217 | 6835 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
9218 | 添字にもリストコンテキストを与えることになります | |
6836 | 添字にもリストコンテキストを与えることになります。 | |
9219 | これは、 | |
6837 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
9220 | 6838 | |
9221 | 6839 | =begin original |
9222 | 6840 | |
9223 | 6841 | On the other hand, if you were actually hoping to treat the hash element |
9224 | 6842 | as a list, you need to look into how references work, because Perl will |
9225 | 6843 | not magically convert between scalars and lists for you. See |
9226 | 6844 | L<perlref>. |
9227 | 6845 | |
9228 | 6846 | =end original |
9229 | 6847 | |
9230 | 6848 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
9231 | 6849 | どのように働くかについて詳しく知る必要があります; なぜなら |
9232 | 6850 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
9233 | 6851 | L<perlref> を参照してください。 |
9234 | 6852 | |
9235 | =item S | |
6853 | =item Scalars leaked: %d | |
9236 | 6854 | |
9237 | 6855 | =begin original |
9238 | 6856 | |
9239 | ( | |
6857 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
9240 | ||
6858 | not all scalar variables were deallocated by the time Perl exited. | |
9241 | ||
6859 | What this usually indicates is a memory leak, which is of course bad, | |
6860 | especially if the Perl program is intended to be long-running. | |
9242 | 6861 | |
9243 | 6862 | =end original |
9244 | 6863 | |
9245 | ( | |
6864 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
9246 | ||
6865 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
9247 | ||
6866 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
6867 | Perl プログラムが長い間動作する場合には特にそうです。 | |
9248 | 6868 | |
6869 | =item Script is not setuid/setgid in suidperl | |
6870 | ||
9249 | 6871 | =begin original |
9250 | 6872 | |
9251 | ||
6873 | (F) Oddly, the suidperl program was invoked on a script without a setuid | |
9252 | ||
6874 | or setgid bit set. This doesn't make much sense. | |
9253 | in Perl 5.9.0 or later that uses the // as the I<defined-or> can be | |
9254 | misparsed by pre-5.9.0 Perls as a non-terminated search pattern. | |
9255 | 6875 | |
9256 | 6876 | =end original |
9257 | 6877 | |
9258 | ||
6878 | (F) 妙なことに、setuid ビット、もしくは setgid ビットが立っていない | |
9259 | ||
6879 | スクリプトに対して、suidperl プログラムが起動されました。 | |
9260 | ||
6880 | これは意味がありません。 | |
9261 | コードは、5.9.0 以前の Perl では、終端していない検索パターンとして | |
9262 | 誤パースされるかもしれません。 | |
9263 | 6881 | |
9264 | =item Search pattern not terminated | |
6882 | =item Search pattern not terminated | |
9265 | 6883 | |
9266 | 6884 | =begin original |
9267 | 6885 | |
9268 | (F) The lexer couldn't find the final delimiter of a | |
6886 | (F) The lexer couldn't find the final delimiter of a // or m{} | |
9269 | construct. | |
6887 | construct. Remember that bracketing delimiters count nesting level. | |
6888 | Missing the leading C<$> from a variable C<$m> may cause this error. | |
9270 | 6889 | |
9271 | 6890 | =end original |
9272 | 6891 | |
9273 | (F) | |
6892 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 | |
6893 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
6894 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 | |
9274 | 6895 | |
9275 | =begin original | |
9276 | ||
9277 | The question mark is also used as part of the ternary operator (as in | |
9278 | C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly | |
9279 | parsed. One way to disambiguate the parsing is to put parentheses around | |
9280 | the conditional expression, i.e. C<(foo) ? 0 : 1>. | |
9281 | ||
9282 | =end original | |
9283 | ||
9284 | クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても | |
9285 | 使われるので、紛らわしい構造の場合は間違ってパースされることがあります。 | |
9286 | パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように | |
9287 | 条件式をかっこで括ることです。 | |
9288 | ||
9289 | 6896 | =item %sseek() on unopened filehandle |
9290 | 6897 | |
9291 | 6898 | =begin original |
9292 | 6899 | |
9293 | 6900 | (W unopened) You tried to use the seek() or sysseek() function on a |
9294 | 6901 | filehandle that was either never opened or has since been closed. |
9295 | 6902 | |
9296 | 6903 | =end original |
9297 | 6904 | |
9298 | 6905 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
9299 | 6906 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
9300 | 6907 | |
9301 | =item seekdir() attempted on invalid dirhandle %s | |
9302 | ||
9303 | =begin original | |
9304 | ||
9305 | (W io) The dirhandle you are doing a seekdir() on is either closed or not | |
9306 | really a dirhandle. Check your control flow. | |
9307 | ||
9308 | =end original | |
9309 | ||
9310 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 | |
9311 | 実際にはディレクトリハンドルではありません。 | |
9312 | 制御フローをチェックしてください。 | |
9313 | ||
9314 | 6908 | =item select not implemented |
9315 | 6909 | |
9316 | 6910 | =begin original |
9317 | 6911 | |
9318 | 6912 | (F) This machine doesn't implement the select() system call. |
9319 | 6913 | |
9320 | 6914 | =end original |
9321 | 6915 | |
9322 | 6916 | (F) このマシンでは、select() システムコールは実装されていません。 |
9323 | 6917 | |
9324 | =item Self-ties of arrays and hashes are not supported | |
9325 | ||
9326 | =begin original | |
9327 | ||
9328 | (F) Self-ties are of arrays and hashes are not supported in | |
9329 | the current implementation. | |
9330 | ||
9331 | =end original | |
9332 | ||
9333 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 | |
9334 | ||
9335 | 6918 | =item Semicolon seems to be missing |
9336 | 6919 | |
9337 | 6920 | =begin original |
9338 | 6921 | |
9339 | 6922 | (W semicolon) A nearby syntax error was probably caused by a missing |
9340 | 6923 | semicolon, or possibly some other missing operator, such as a comma. |
9341 | 6924 | |
9342 | 6925 | =end original |
9343 | 6926 | |
9344 | 6927 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
9345 | 6928 | 演算子がなかったために起こったものと考えられます。 |
9346 | 6929 | |
9347 | 6930 | =item semi-panic: attempt to dup freed string |
9348 | 6931 | |
9349 | 6932 | =begin original |
9350 | 6933 | |
9351 | 6934 | (S internal) The internal newSVsv() routine was called to duplicate a |
9352 | 6935 | scalar that had previously been marked as free. |
9353 | 6936 | |
9354 | 6937 | =end original |
9355 | 6938 | |
9356 | 6939 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
9357 | 6940 | newSVsv() ルーティンが呼ばれました。 |
9358 | 6941 | |
9359 | 6942 | =item sem%s not implemented |
9360 | 6943 | |
9361 | 6944 | =begin original |
9362 | 6945 | |
9363 | 6946 | (F) You don't have System V semaphore IPC on your system. |
9364 | 6947 | |
9365 | 6948 | =end original |
9366 | 6949 | |
9367 | 6950 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
9368 | 6951 | |
9369 | 6952 | =item send() on closed socket %s |
9370 | 6953 | |
9371 | 6954 | =begin original |
9372 | 6955 | |
9373 | 6956 | (W closed) The socket you're sending to got itself closed sometime |
9374 | before now. Check your | |
6957 | before now. Check your logic flow. | |
9375 | 6958 | |
9376 | 6959 | =end original |
9377 | 6960 | |
9378 | (W closed) 送信を行なおうとしたソケットは、既に | |
6961 | (W closed) 送信を行なおうとしたソケットは、既にクローズされています。 | |
9379 | ||
6962 | 論理フローをチェックしてください。 | |
9380 | 6963 | |
9381 | =item Sequence (? incomplete | |
6964 | =item Sequence (? incomplete before << HERE mark in regex m/%s/ | |
9382 | 6965 | |
9383 | 6966 | =begin original |
9384 | 6967 | |
9385 | (F) A regular expression ended with an incomplete extension (?. The < | |
6968 | (F) A regular expression ended with an incomplete extension (?. The <<<HERE | |
9386 | 6969 | shows in the regular expression about where the problem was discovered. See |
9387 | 6970 | L<perlre>. |
9388 | 6971 | |
9389 | 6972 | =end original |
9390 | 6973 | |
9391 | 6974 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
9392 | < | |
6975 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9393 | 6976 | L<perlre> を参照してください。 |
9394 | 6977 | |
9395 | =item Sequence (? | |
6978 | =item Sequence (?{...}) not terminated or not {}-balanced in %s | |
9396 | 6979 | |
9397 | 6980 | =begin original |
9398 | 6981 | |
9399 | (F) | |
6982 | (F) If the contents of a (?{...}) clause contains braces, they must balance | |
9400 | ||
6983 | for Perl to properly detect the end of the clause. See L<perlre>. | |
9401 | where the problem was discovered. See L<perlre>. | |
9402 | 6984 | |
9403 | 6985 | =end original |
9404 | 6986 | |
9405 | (F) | |
6987 | (F) (?{...}) 節の中に大括弧がある場合、対応していなければなりません。 | |
9406 | ||
6988 | Perl が正しく節の最後を検出するためです。 | |
9407 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9408 | 6989 | L<perlre> を参照してください。 |
9409 | 6990 | |
9410 | =item Sequence (?%s...) not | |
6991 | =item Sequence (?%s...) not implemented before << HERE mark in %s | |
9411 | 6992 | |
9412 | 6993 | =begin original |
9413 | 6994 | |
9414 | (F) | |
6995 | (F) A proposed regular expression extension has the character reserved but | |
9415 | < | |
6996 | has not yet been written. The << HERE shows in the regular expression about | |
9416 | discovered. | |
6997 | where the problem was discovered. See L<perlre>. | |
9417 | 6998 | |
9418 | 6999 | =end original |
9419 | 7000 | |
9420 | (F) | |
7001 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 | |
9421 | ||
7002 | まだ実装されていません。 | |
7003 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9422 | 7004 | L<perlre> を参照してください。 |
9423 | 7005 | |
9424 | =item Sequence | |
7006 | =item Sequence (?%s...) not recognized before << HERE mark in %s | |
9425 | 7007 | |
9426 | 7008 | =begin original |
9427 | 7009 | |
9428 | (F) | |
7010 | (F) You used a regular expression extension that doesn't make sense. | |
9429 | ||
7011 | The << HERE shows in the regular expression about | |
7012 | where the problem was discovered. | |
7013 | See L<perlre>. | |
9430 | 7014 | |
9431 | 7015 | =end original |
9432 | 7016 | |
9433 | (F) 正規表現 | |
7017 | (F) お使いになった正規表現の拡張は、意味をなしません。 | |
9434 | ||
7018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
7019 | L<perlre> を参照してください。 | |
9435 | 7020 | |
9436 | =item Sequence (?#... not terminated in regex | |
7021 | =item Sequence (?#... not terminated in regex m/%s/ | |
9437 | 7022 | |
9438 | 7023 | =begin original |
9439 | 7024 | |
9440 | 7025 | (F) A regular expression comment must be terminated by a closing |
9441 | parenthesis. Embedded parentheses aren't allowed. | |
7026 | parenthesis. Embedded parentheses aren't allowed. See L<perlre>. | |
9442 | the regular expression about where the problem was discovered. See | |
9443 | L<perlre>. | |
9444 | 7027 | |
9445 | 7028 | =end original |
9446 | 7029 | |
9447 | (F) 正規表現 | |
7030 | (F) 正規表現コメントは、閉じ括弧で終わらなければなりません。 | |
9448 | ||
7031 | 括弧を含めることは許されません。 | |
9449 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9450 | 7032 | L<perlre> を参照してください。 |
9451 | 7033 | |
9452 | =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/ | |
9453 | ||
9454 | =begin original | |
9455 | ||
9456 | (F) If the contents of a (?{...}) clause contains braces, they must balance | |
9457 | for Perl to properly detect the end of the clause. The <-- HERE shows in | |
9458 | the regular expression about where the problem was discovered. See | |
9459 | L<perlre>. | |
9460 | ||
9461 | =end original | |
9462 | ||
9463 | (F) (?{...}) 節の中に大かっこがある場合、対応していなければなりません; | |
9464 | Perl が正しく節の最後を検出するためです。 | |
9465 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9466 | L<perlre> を参照してください。 | |
9467 | ||
9468 | 7034 | =item 500 Server error |
9469 | 7035 | |
9470 | 7036 | =begin original |
9471 | 7037 | |
9472 | 7038 | See Server error. |
9473 | 7039 | |
9474 | 7040 | =end original |
9475 | 7041 | |
9476 | 7042 | "Server error" を参照してください。 |
9477 | 7043 | |
9478 | 7044 | =item Server error |
9479 | 7045 | |
9480 | 7046 | =begin original |
9481 | 7047 | |
9482 | 7048 | This is the error message generally seen in a browser window when trying |
9483 | 7049 | to run a CGI program (including SSI) over the web. The actual error text |
9484 | 7050 | varies widely from server to server. The most frequently-seen variants |
9485 | 7051 | are "500 Server error", "Method (something) not permitted", "Document |
9486 | 7052 | contains no data", "Premature end of script headers", and "Did not |
9487 | 7053 | produce a valid header". |
9488 | 7054 | |
9489 | 7055 | =end original |
9490 | 7056 | |
9491 | 7057 | これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに |
9492 | 7058 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
9493 | 7059 | 実際のエラーテキストはサーバーによって大きく異なります。 |
9494 | 7060 | もっともよく見られるものとしては、"500 Server error", |
9495 | 7061 | "Method (something) not permitted", "Document contains no data", |
9496 | 7062 | "Premature end of script headers", "Did not produce a valid header" が |
9497 | 7063 | あります。 |
9498 | 7064 | |
9499 | 7065 | =begin original |
9500 | 7066 | |
9501 | 7067 | B<This is a CGI error, not a Perl error>. |
9502 | 7068 | |
9503 | 7069 | =end original |
9504 | 7070 | |
9505 | 7071 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
9506 | 7072 | |
9507 | 7073 | =begin original |
9508 | 7074 | |
9509 | 7075 | You need to make sure your script is executable, is accessible by the |
9510 | 7076 | user CGI is running the script under (which is probably not the user |
9511 | 7077 | account you tested it under), does not rely on any environment variables |
9512 | 7078 | (like PATH) from the user it isn't running under, and isn't in a |
9513 | 7079 | location where the CGI server can't find it, basically, more or less. |
9514 | 7080 | Please see the following for more information: |
9515 | 7081 | |
9516 | 7082 | =end original |
9517 | 7083 | |
9518 | 7084 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
9519 | 7085 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
9520 | 7086 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
9521 | 7087 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
9522 | 7088 | さらなる情報については以下を参照してください。 |
9523 | 7089 | |
9524 | http://www.perl.o | |
7090 | http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html | |
9525 | http://www. | |
7091 | http://www.perl.com/CPAN/doc/FAQs/cgi/perl-cgi-faq.html | |
9526 | | |
7092 | ftp://rtfm.mit.edu/pub/usenet/news.answers/www/cgi-faq | |
7093 | http://hoohoo.ncsa.uiuc.edu/cgi/interface.html | |
7094 | http://www-genome.wi.mit.edu/WWW/faqs/www-security-faq.html | |
9527 | 7095 | |
9528 | 7096 | =begin original |
9529 | 7097 | |
9530 | 7098 | You should also look at L<perlfaq9>. |
9531 | 7099 | |
9532 | 7100 | =end original |
9533 | 7101 | |
9534 | 7102 | L<perlfaq9> も見るべきでしょう。 |
9535 | 7103 | |
9536 | 7104 | =item setegid() not implemented |
9537 | 7105 | |
9538 | 7106 | =begin original |
9539 | 7107 | |
9540 | 7108 | (F) You tried to assign to C<$)>, and your operating system doesn't |
9541 | 7109 | support the setegid() system call (or equivalent), or at least Configure |
9542 | 7110 | didn't think so. |
9543 | 7111 | |
9544 | 7112 | =end original |
9545 | 7113 | |
9546 | 7114 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
9547 | システムコール (または、同等のもの) がサポートされていません | |
7115 | システムコール (または、同等のもの) がサポートされていません。 | |
9548 | 7116 | 少なくとも Configure では、そう判断されました。 |
9549 | 7117 | |
9550 | 7118 | =item seteuid() not implemented |
9551 | 7119 | |
9552 | 7120 | =begin original |
9553 | 7121 | |
9554 | 7122 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
9555 | 7123 | support the seteuid() system call (or equivalent), or at least Configure |
9556 | 7124 | didn't think so. |
9557 | 7125 | |
9558 | 7126 | =end original |
9559 | 7127 | |
9560 | 7128 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
9561 | システムコール (または、同等のもの) がサポートされていません | |
7129 | システムコール (または、同等のもの) がサポートされていません。 | |
9562 | 7130 | 少なくとも Configure では、そう判断されました。 |
9563 | 7131 | |
9564 | 7132 | =item setpgrp can't take arguments |
9565 | 7133 | |
9566 | 7134 | =begin original |
9567 | 7135 | |
9568 | 7136 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
9569 | 7137 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
9570 | 7138 | group ID. |
9571 | 7139 | |
9572 | 7140 | =end original |
9573 | 7141 | |
9574 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません | |
7142 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません。 | |
9575 | 7143 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
9576 | 7144 | |
9577 | 7145 | =item setrgid() not implemented |
9578 | 7146 | |
9579 | 7147 | =begin original |
9580 | 7148 | |
9581 | 7149 | (F) You tried to assign to C<$(>, and your operating system doesn't |
9582 | 7150 | support the setrgid() system call (or equivalent), or at least Configure |
9583 | 7151 | didn't think so. |
9584 | 7152 | |
9585 | 7153 | =end original |
9586 | 7154 | |
9587 | 7155 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
9588 | システムコール (または、同等のもの) がサポートされていません | |
7156 | システムコール (または、同等のもの) がサポートされていません。 | |
9589 | 7157 | 少なくとも Configure では、そう判断されました。 |
9590 | 7158 | |
9591 | 7159 | =item setruid() not implemented |
9592 | 7160 | |
9593 | 7161 | =begin original |
9594 | 7162 | |
9595 | 7163 | (F) You tried to assign to C<$<>, and your operating system doesn't |
9596 | 7164 | support the setruid() system call (or equivalent), or at least Configure |
9597 | 7165 | didn't think so. |
9598 | 7166 | |
9599 | 7167 | =end original |
9600 | 7168 | |
9601 | 7169 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
9602 | システムコール (または、同等のもの) がサポートされていません | |
7170 | システムコール (または、同等のもの) がサポートされていません。 | |
9603 | 7171 | 少なくとも Configure では、そう判断されました。 |
9604 | 7172 | |
9605 | 7173 | =item setsockopt() on closed socket %s |
9606 | 7174 | |
9607 | 7175 | =begin original |
9608 | 7176 | |
9609 | 7177 | (W closed) You tried to set a socket option on a closed socket. Did you |
9610 | 7178 | forget to check the return value of your socket() call? See |
9611 | 7179 | L<perlfunc/setsockopt>. |
9612 | 7180 | |
9613 | 7181 | =end original |
9614 | 7182 | |
9615 | 7183 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
9616 | socket() | |
7184 | socket() 呼び出しの返り値のチェックを忘れていませんか? | |
9617 | 7185 | L<perlfunc/setsockopt> を参照してください。 |
9618 | 7186 | |
9619 | 7187 | =item Setuid/gid script is writable by world |
9620 | 7188 | |
9621 | 7189 | =begin original |
9622 | 7190 | |
9623 | 7191 | (F) The setuid emulator won't run a script that is writable by the |
9624 | 7192 | world, because the world might have written on it already. |
9625 | 7193 | |
9626 | 7194 | =end original |
9627 | 7195 | |
9628 | 7196 | (F) setuid エミュレータは、誰もが書き込みができるようになっている |
9629 | スクリプトは実行しません | |
7197 | スクリプトは実行しません。 | |
9630 | 7198 | 誰かが既に書き換えたかも知れないからです。 |
9631 | 7199 | |
9632 | =item Setuid script not plain file | |
9633 | ||
9634 | =begin original | |
9635 | ||
9636 | (F) The setuid emulator won't run a script that isn't read from a file, | |
9637 | but from a socket, a pipe or another device. | |
9638 | ||
9639 | =end original | |
9640 | ||
9641 | (F) setuid エミュレータは、ファイルからではなく、ソケットやパイプや | |
9642 | その他のデバイスから読み込んだスクリプトは実行できません。 | |
9643 | ||
9644 | 7200 | =item shm%s not implemented |
9645 | 7201 | |
9646 | 7202 | =begin original |
9647 | 7203 | |
9648 | 7204 | (F) You don't have System V shared memory IPC on your system. |
9649 | 7205 | |
9650 | 7206 | =end original |
9651 | 7207 | |
9652 | 7208 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
9653 | 7209 | |
9654 | =item !=~ should be !~ | |
9655 | ||
9656 | =begin original | |
9657 | ||
9658 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be | |
9659 | interpreted as the != (numeric not equal) and ~ (1's complement) | |
9660 | operators: probably not what you intended. | |
9661 | ||
9662 | =end original | |
9663 | ||
9664 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 | |
9665 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: | |
9666 | おそらくあなたの意図していることではないでしょう。 | |
9667 | ||
9668 | 7210 | =item <> should be quotes |
9669 | 7211 | |
9670 | 7212 | =begin original |
9671 | 7213 | |
9672 | 7214 | (F) You wrote C<< require <file> >> when you should have written |
9673 | 7215 | C<require 'file'>. |
9674 | 7216 | |
9675 | 7217 | =end original |
9676 | 7218 | |
9677 | 7219 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と |
9678 | 7220 | 書いています。 |
9679 | 7221 | |
9680 | 7222 | =item /%s/ should probably be written as "%s" |
9681 | 7223 | |
9682 | 7224 | =begin original |
9683 | 7225 | |
9684 | 7226 | (W syntax) You have used a pattern where Perl expected to find a string, |
9685 | 7227 | as in the first argument to C<join>. Perl will treat the true or false |
9686 | 7228 | result of matching the pattern against $_ as the string, which is |
9687 | 7229 | probably not what you had in mind. |
9688 | 7230 | |
9689 | 7231 | =end original |
9690 | 7232 | |
9691 | 7233 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
9692 | 7234 | パターンを使いました。 |
9693 | 7235 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
9694 | 7236 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
9695 | 7237 | |
9696 | 7238 | =item shutdown() on closed socket %s |
9697 | 7239 | |
9698 | 7240 | =begin original |
9699 | 7241 | |
9700 | 7242 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
9701 | 7243 | superfluous. |
9702 | 7244 | |
9703 | 7245 | =end original |
9704 | 7246 | |
9705 | 7247 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
9706 | 7248 | 多少、無駄のように思われます。 |
9707 | 7249 | |
9708 | 7250 | =item SIG%s handler "%s" not defined |
9709 | 7251 | |
9710 | 7252 | =begin original |
9711 | 7253 | |
9712 | 7254 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
9713 | 7255 | Perhaps you put it into the wrong package? |
9714 | 7256 | |
9715 | 7257 | =end original |
9716 | 7258 | |
9717 | 7259 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
9718 | 7260 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
9719 | 7261 | |
9720 | =item Smart matching a non-overloaded object breaks encapsulation | |
9721 | ||
9722 | =begin original | |
9723 | ||
9724 | (F) You should not use the C<~~> operator on an object that does not | |
9725 | overload it: Perl refuses to use the object's underlying structure for | |
9726 | the smart match. | |
9727 | ||
9728 | =end original | |
9729 | ||
9730 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を | |
9731 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの | |
9732 | 基礎となる構造を使うことを拒否します。 | |
9733 | ||
9734 | 7262 | =item sort is now a reserved word |
9735 | 7263 | |
9736 | 7264 | =begin original |
9737 | 7265 | |
9738 | 7266 | (F) An ancient error message that almost nobody ever runs into anymore. |
9739 | 7267 | But before sort was a keyword, people sometimes used it as a filehandle. |
9740 | 7268 | |
9741 | 7269 | =end original |
9742 | 7270 | |
9743 | 7271 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
9744 | 7272 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
9745 | 7273 | 使う方がいました。 |
9746 | 7274 | |
9747 | =item Sort subroutine didn't return | |
7275 | =item Sort subroutine didn't return a numeric value | |
9748 | 7276 | |
9749 | 7277 | =begin original |
9750 | 7278 | |
9751 | (F) A sort comparison | |
7279 | (F) A sort comparison routine must return a number. You probably blew | |
9752 | ||
7280 | it by not using C<< <=> >> or C<cmp>, or by not using them correctly. | |
7281 | See L<perlfunc/sort>. | |
9753 | 7282 | |
9754 | 7283 | =end original |
9755 | 7284 | |
9756 | (F) sort の比較 | |
7285 | (F) sort の比較ルーティンは、必ず数値を返さなければなりません。 | |
9757 | ||
7286 | C<< <=> >> や C<cmp> を使わなかったか、正しく使わなかったものと思います。 | |
9758 | 7287 | L<perlfunc/sort> を参照してください。 |
9759 | 7288 | |
9760 | =item s | |
7289 | =item Sort subroutine didn't return single value | |
9761 | 7290 | |
9762 | 7291 | =begin original |
9763 | 7292 | |
9764 | ( | |
7293 | (F) A sort comparison subroutine may not return a list value with more | |
9765 | ||
7294 | or less than one element. See L<perlfunc/sort>. | |
9766 | of the array, rather than past it. If this isn't what you want, try | |
9767 | explicitly pre-extending the array by assigning $#array = $offset. See | |
9768 | L<perlfunc/splice>. | |
9769 | 7295 | |
9770 | 7296 | =end original |
9771 | 7297 | |
9772 | ( | |
7298 | (F) sort の比較サブルーティンは、要素が 1 個以外のリスト値を | |
9773 | ||
7299 | 返すことはできません。 | |
9774 | ||
7300 | L<perlfunc/sort>を参照してください。 | |
9775 | 明示的に事前に配列を拡張してください。 | |
9776 | L<perlfunc/splice> を参照してください。 | |
9777 | 7301 | |
9778 | 7302 | =item Split loop |
9779 | 7303 | |
9780 | 7304 | =begin original |
9781 | 7305 | |
9782 | 7306 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
9783 | 7307 | iterate more times than there are characters of input, which is what |
9784 | 7308 | happened.) See L<perlfunc/split>. |
9785 | 7309 | |
9786 | 7310 | =end original |
9787 | 7311 | |
9788 | 7312 | (P) split が無限ループに陥りました。 |
9789 | 7313 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
9790 | 7314 | そうなってしまいました。) |
9791 | 7315 | L<perlfunc/split> を参照してください。 |
9792 | 7316 | |
9793 | 7317 | =item Statement unlikely to be reached |
9794 | 7318 | |
9795 | 7319 | =begin original |
9796 | 7320 | |
9797 | 7321 | (W exec) You did an exec() with some statement after it other than a |
9798 | 7322 | die(). This is almost always an error, because exec() never returns |
9799 | 7323 | unless there was a failure. You probably wanted to use system() |
9800 | 7324 | instead, which does return. To suppress this warning, put the exec() in |
9801 | 7325 | a block by itself. |
9802 | 7326 | |
9803 | 7327 | =end original |
9804 | 7328 | |
9805 | 7329 | (W exec) exec() の後に、die() 以外の実行文があります。 |
9806 | 7330 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
9807 | 7331 | ほとんどの場合には誤りでしょう。 |
9808 | 7332 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
9809 | 7333 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
9810 | 7334 | |
9811 | 7335 | =item stat() on unopened filehandle %s |
9812 | 7336 | |
9813 | 7337 | =begin original |
9814 | 7338 | |
9815 | 7339 | (W unopened) You tried to use the stat() function on a filehandle that |
9816 | 7340 | was either never opened or has since been closed. |
9817 | 7341 | |
9818 | 7342 | =end original |
9819 | 7343 | |
9820 | 7344 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
9821 | 7345 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
9822 | 7346 | |
9823 | =item Stub found while resolving method | |
7347 | =item Stub found while resolving method `%s' overloading %s | |
9824 | 7348 | |
9825 | 7349 | =begin original |
9826 | 7350 | |
9827 | 7351 | (P) Overloading resolution over @ISA tree may be broken by importation |
9828 | 7352 | stubs. Stubs should never be implicitly created, but explicit calls to |
9829 | 7353 | C<can> may break this. |
9830 | 7354 | |
9831 | 7355 | =end original |
9832 | 7356 | |
9833 | 7357 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
9834 | 7358 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
9835 | 7359 | これを破壊することがあります。 |
9836 | 7360 | |
9837 | 7361 | =item Subroutine %s redefined |
9838 | 7362 | |
9839 | 7363 | =begin original |
9840 | 7364 | |
9841 | 7365 | (W redefine) You redefined a subroutine. To suppress this warning, say |
9842 | 7366 | |
9843 | 7367 | =end original |
9844 | 7368 | |
9845 | (W redefine) サブルー | |
7369 | (W redefine) サブルーティンを再定義しました。 | |
9846 | この警告を止めるには以下のようにしてください: | |
7370 | この警告を止めるには、以下のようにしてください: | |
9847 | 7371 | |
9848 | 7372 | { |
9849 | no warnings | |
7373 | no warnings; | |
9850 | 7374 | eval "sub name { ... }"; |
9851 | 7375 | } |
9852 | 7376 | |
9853 | 7377 | =item Substitution loop |
9854 | 7378 | |
9855 | 7379 | =begin original |
9856 | 7380 | |
9857 | 7381 | (P) The substitution was looping infinitely. (Obviously, a substitution |
9858 | 7382 | shouldn't iterate more times than there are characters of input, which |
9859 | 7383 | is what happened.) See the discussion of substitution in |
9860 | L<perlop/" | |
7384 | L<perlop/"Quote and Quote-like Operators">. | |
9861 | 7385 | |
9862 | 7386 | =end original |
9863 | 7387 | |
9864 | 7388 | (P) 置換が無限ループに陥りました。 |
9865 | 7389 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
9866 | 7390 | それが起こってしまいました。) |
9867 | L<perlop/"Quote and Quote- | |
7391 | L<perlop/"Quote and Quote-like Operators"> を参照してください。 | |
9868 | 7392 | |
9869 | 7393 | =item Substitution pattern not terminated |
9870 | 7394 | |
9871 | 7395 | =begin original |
9872 | 7396 | |
9873 | (F) The lexer couldn't find the interior delimiter of a | |
7397 | (F) The lexer couldn't find the interior delimiter of a s/// or s{}{} | |
9874 | 7398 | construct. Remember that bracketing delimiters count nesting level. |
9875 | 7399 | Missing the leading C<$> from variable C<$s> may cause this error. |
9876 | 7400 | |
9877 | 7401 | =end original |
9878 | 7402 | |
9879 | 7403 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
9880 | ||
7404 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
9881 | 7405 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
9882 | 7406 | |
9883 | 7407 | =item Substitution replacement not terminated |
9884 | 7408 | |
9885 | 7409 | =begin original |
9886 | 7410 | |
9887 | (F) The lexer couldn't find the final delimiter of a | |
7411 | (F) The lexer couldn't find the final delimiter of a s/// or s{}{} | |
9888 | 7412 | construct. Remember that bracketing delimiters count nesting level. |
9889 | 7413 | Missing the leading C<$> from variable C<$s> may cause this error. |
9890 | 7414 | |
9891 | 7415 | =end original |
9892 | 7416 | |
9893 | 7417 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
9894 | ||
7418 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
9895 | 7419 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
9896 | 7420 | |
9897 | 7421 | =item substr outside of string |
9898 | 7422 | |
9899 | 7423 | =begin original |
9900 | 7424 | |
9901 | 7425 | (W substr),(F) You tried to reference a substr() that pointed outside of |
9902 | 7426 | a string. That is, the absolute value of the offset was larger than the |
9903 | 7427 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
9904 | 7428 | substr is used in an lvalue context (as the left hand side of an |
9905 | 7429 | assignment or as a subroutine argument for example). |
9906 | 7430 | |
9907 | 7431 | =end original |
9908 | 7432 | |
9909 | 7433 | (W substr),(F) 文字列の外を指す substr() を参照しようとしました。 |
9910 | 7434 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
9911 | 7435 | L<perlfunc/substr> を参照してください。 |
9912 | 7436 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
9913 | 7437 | 左辺値として使われた場合は致命的となります。 |
9914 | 7438 | |
9915 | =item s | |
7439 | =item suidperl is no longer needed since %s | |
9916 | 7440 | |
9917 | 7441 | =begin original |
9918 | 7442 | |
9919 | ( | |
7443 | (F) Your Perl was compiled with B<-D>SETUID_SCRIPTS_ARE_SECURE_NOW, but | |
9920 | ||
7444 | a version of the setuid emulator somehow got run anyway. | |
9921 | 7445 | |
9922 | 7446 | =end original |
9923 | 7447 | |
9924 | ( | |
7448 | (F) お使いの Perl は、-DSETUID_SCRIPTS_ARE_SECURE_NOW を | |
9925 | ||
7449 | 指定してコンパイルされていますが、setuid エミュレータが、 | |
7450 | 実行されてしまいました。 | |
9926 | 7451 | |
9927 | =item Switch (?(condition)... contains too many branches | |
7452 | =item Switch (?(condition)... contains too many branches before << HE%s | |
9928 | 7453 | |
9929 | 7454 | =begin original |
9930 | 7455 | |
9931 | 7456 | (F) A (?(condition)if-clause|else-clause) construct can have at most two |
9932 | 7457 | branches (the if-clause and the else-clause). If you want one or both to |
9933 | 7458 | contain alternation, such as using C<this|that|other>, enclose it in |
9934 | 7459 | clustering parentheses: |
9935 | 7460 | |
9936 | 7461 | =end original |
9937 | 7462 | |
9938 | (F) (?(condition)if-clause|else-clause) 構造は最大で | |
7463 | (F) (?(condition)if-clause|else-clause) 構造は最大で 2 つの分岐 | |
9939 | 7464 | (if-clause と else-clause) を持つことができます。 |
9940 | 7465 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
9941 | 7466 | |
9942 | 7467 | (?(condition)(?:this|that|other)|else-clause) |
9943 | 7468 | |
9944 | 7469 | =begin original |
9945 | 7470 | |
9946 | The < | |
7471 | The << HERE shows in the regular expression about where the problem was | |
9947 | 7472 | discovered. See L<perlre>. |
9948 | 7473 | |
9949 | 7474 | =end original |
9950 | 7475 | |
9951 | < | |
7476 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9952 | 7477 | L<perlre> を参照してください。 |
9953 | 7478 | |
9954 | =item Switch condition not recognized | |
7479 | =item Switch condition not recognized before << HERE in regex m/%s/ | |
9955 | 7480 | |
9956 | 7481 | =begin original |
9957 | 7482 | |
9958 | 7483 | (F) If the argument to the (?(...)if-clause|else-clause) construct is a |
9959 | number, it can be only a number. The < | |
7484 | number, it can be only a number. The << HERE shows in the regular expression | |
9960 | 7485 | about where the problem was discovered. See L<perlre>. |
9961 | 7486 | |
9962 | 7487 | =end original |
9963 | 7488 | |
9964 | 7489 | (?(...)if-clause|else-clause) 構造の引数が数値なら、数値だけが可能です。 |
9965 | < | |
7490 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9966 | 7491 | L<perlre> を参照してください。 |
9967 | 7492 | |
9968 | 7493 | =item switching effective %s is not implemented |
9969 | 7494 | |
9970 | 7495 | =begin original |
9971 | 7496 | |
9972 | 7497 | (F) While under the C<use filetest> pragma, we cannot switch the real |
9973 | 7498 | and effective uids or gids. |
9974 | 7499 | |
9975 | 7500 | =end original |
9976 | 7501 | |
9977 | 7502 | (F) C<use filetest> プラグマを使っている間に、 |
9978 | 7503 | 実と実効の UID や GID の切り替えに失敗しました。 |
9979 | 7504 | |
9980 | =item %s syntax | |
9981 | ||
9982 | =begin original | |
9983 | ||
9984 | (F) The final summary message when a C<perl -c> succeeds. | |
9985 | ||
9986 | =end original | |
9987 | ||
9988 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
9989 | ||
9990 | 7505 | =item syntax error |
9991 | 7506 | |
9992 | 7507 | =begin original |
9993 | 7508 | |
9994 | 7509 | (F) Probably means you had a syntax error. Common reasons include: |
9995 | 7510 | |
9996 | 7511 | =end original |
9997 | 7512 | |
9998 | 7513 | (F) おそらく、構文エラーが起こっています。 |
9999 | 7514 | よくある原因としては以下のことが考えられます: |
10000 | 7515 | |
10001 | 7516 | =begin original |
10002 | 7517 | |
10003 | 7518 | A keyword is misspelled. |
10004 | 7519 | A semicolon is missing. |
10005 | 7520 | A comma is missing. |
10006 | 7521 | An opening or closing parenthesis is missing. |
10007 | 7522 | An opening or closing brace is missing. |
10008 | 7523 | A closing quote is missing. |
10009 | 7524 | |
10010 | 7525 | =end original |
10011 | 7526 | |
10012 | 7527 | キーワードのスペルミス。 |
10013 | 7528 | セミコロンを忘れた。 |
10014 | 7529 | コンマを忘れた。 |
10015 | 開き | |
7530 | 開き括弧、閉じ括弧を忘れた。 | |
10016 | 開き中 | |
7531 | 開き中括弧、閉じ中括弧を忘れた。 | |
10017 | 7532 | クォートの閉じ忘れ。 |
10018 | 7533 | |
10019 | 7534 | =begin original |
10020 | 7535 | |
10021 | 7536 | Often there will be another error message associated with the syntax |
10022 | 7537 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
10023 | 7538 | The error message itself often tells you where it was in the line when |
10024 | 7539 | it decided to give up. Sometimes the actual error is several tokens |
10025 | 7540 | before this, because Perl is good at understanding random input. |
10026 | 7541 | Occasionally the line number may be misleading, and once in a blue moon |
10027 | 7542 | the only way to figure out what's triggering the error is to call |
10028 | 7543 | C<perl -c> repeatedly, chopping away half the program each time to see |
10029 | 7544 | if the error went away. Sort of the cybernetic version of S<20 |
10030 | 7545 | questions>. |
10031 | 7546 | |
10032 | 7547 | =end original |
10033 | 7548 | |
10034 | 7549 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
10035 | 7550 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
10036 | 7551 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
10037 | 7552 | 含まれています。 |
10038 | 7553 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
10039 | 7554 | 在ることもあります。 |
10040 | 7555 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
10041 | 7556 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
10042 | 7557 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
10043 | 7558 | S<頭の体操 20 問>だと思ってください。 |
10044 | 7559 | |
10045 | 7560 | =item syntax error at line %d: `%s' unexpected |
10046 | 7561 | |
10047 | 7562 | =begin original |
10048 | 7563 | |
10049 | 7564 | (A) You've accidentally run your script through the Bourne shell instead |
10050 | 7565 | of Perl. Check the #! line, or manually feed your script into Perl |
10051 | 7566 | yourself. |
10052 | 7567 | |
10053 | 7568 | =end original |
10054 | 7569 | |
10055 | 7570 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
10056 | 7571 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
10057 | 7572 | |
10058 | =item syntax | |
7573 | =item %s syntax OK | |
10059 | 7574 | |
10060 | 7575 | =begin original |
10061 | 7576 | |
10062 | (F) Th | |
7577 | (F) The final summary message when a C<perl -c> succeeds. | |
10063 | a perl4 interpreter, especially if the next 2 tokens are "use strict" | |
10064 | or "my $var" or "our $var". | |
10065 | 7578 | |
10066 | 7579 | =end original |
10067 | 7580 | |
10068 | (F) | |
7581 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
10069 | おきそうなものです; 特に次の二つのトークンが "use strict" か | |
10070 | "my $var" か "our $var" の場合はそうです。 | |
10071 | 7582 | |
10072 | =item sysread() on closed filehandle %s | |
10073 | ||
10074 | =begin original | |
10075 | ||
10076 | (W closed) You tried to read from a closed filehandle. | |
10077 | ||
10078 | =end original | |
10079 | ||
10080 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
10081 | ||
10082 | =item sysread() on unopened filehandle %s | |
10083 | ||
10084 | =begin original | |
10085 | ||
10086 | (W unopened) You tried to read from a filehandle that was never opened. | |
10087 | ||
10088 | =end original | |
10089 | ||
10090 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
10091 | ||
10092 | 7583 | =item System V %s is not implemented on this machine |
10093 | 7584 | |
10094 | 7585 | =begin original |
10095 | 7586 | |
10096 | 7587 | (F) You tried to do something with a function beginning with "sem", |
10097 | 7588 | "shm", or "msg" but that System V IPC is not implemented in your |
10098 | 7589 | machine. In some machines the functionality can exist but be |
10099 | 7590 | unconfigured. Consult your system support. |
10100 | 7591 | |
10101 | 7592 | =end original |
10102 | 7593 | |
10103 | 7594 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
10104 | 7595 | あなたのマシンには System V IPC が実装されていません。 |
10105 | 7596 | 機能はあっても設定されていない場合もあります。 |
10106 | 7597 | システムサポートに相談してください。 |
10107 | 7598 | |
10108 | 7599 | =item syswrite() on closed filehandle %s |
10109 | 7600 | |
10110 | 7601 | =begin original |
10111 | 7602 | |
10112 | 7603 | (W closed) The filehandle you're writing to got itself closed sometime |
10113 | before now. Check your | |
7604 | before now. Check your logic flow. | |
10114 | 7605 | |
10115 | 7606 | =end original |
10116 | 7607 | |
10117 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
7608 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
10118 | ||
7609 | 既にクローズされています。 | |
7610 | 論理フローをチェックしてください。 | |
10119 | 7611 | |
10120 | =item C<-T> and C<-B> not implemented on filehandles | |
10121 | ||
10122 | =begin original | |
10123 | ||
10124 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
10125 | know about your kind of stdio. You'll have to use a filename instead. | |
10126 | ||
10127 | =end original | |
10128 | ||
10129 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
10130 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
10131 | 代わりにファイル名を使わなければなりません。 | |
10132 | ||
10133 | 7612 | =item Target of goto is too deeply nested |
10134 | 7613 | |
10135 | 7614 | =begin original |
10136 | 7615 | |
10137 | 7616 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
10138 | 7617 | for Perl to reach. Perl is doing you a favor by refusing. |
10139 | 7618 | |
10140 | 7619 | =end original |
10141 | 7620 | |
10142 | 7621 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
10143 | 7622 | Perl は親切にもこれを拒否します。 |
10144 | 7623 | |
10145 | 7624 | =item tell() on unopened filehandle |
10146 | 7625 | |
10147 | 7626 | =begin original |
10148 | 7627 | |
10149 | 7628 | (W unopened) You tried to use the tell() function on a filehandle that |
10150 | 7629 | was either never opened or has since been closed. |
10151 | 7630 | |
10152 | 7631 | =end original |
10153 | 7632 | |
10154 | 7633 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
10155 | 7634 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
10156 | 7635 | |
10157 | =item telldir() attempted on invalid dirhandle %s | |
10158 | ||
10159 | =begin original | |
10160 | ||
10161 | (W io) The dirhandle you tried to telldir() is either closed or not really | |
10162 | a dirhandle. Check your control flow. | |
10163 | ||
10164 | =end original | |
10165 | ||
10166 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
10167 | 実際にはディレクトリハンドルではありません。 | |
10168 | 制御フローをチェックしてください。 | |
10169 | ||
10170 | 7636 | =item That use of $[ is unsupported |
10171 | 7637 | |
10172 | 7638 | =begin original |
10173 | 7639 | |
10174 | 7640 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted |
10175 | 7641 | as a compiler directive. You may say only one of |
10176 | 7642 | |
10177 | 7643 | =end original |
10178 | 7644 | |
10179 | 7645 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 |
10180 | 7646 | 使えるのは以下の形だけです: |
10181 | 7647 | |
10182 | 7648 | $[ = 0; |
10183 | 7649 | $[ = 1; |
10184 | 7650 | ... |
10185 | 7651 | local $[ = 0; |
10186 | 7652 | local $[ = 1; |
10187 | 7653 | ... |
10188 | 7654 | |
10189 | 7655 | =begin original |
10190 | 7656 | |
10191 | 7657 | This is to prevent the problem of one module changing the array base out |
10192 | 7658 | from under another module inadvertently. See L<perlvar/$[>. |
10193 | 7659 | |
10194 | 7660 | =end original |
10195 | 7661 | |
10196 | 7662 | これは、一つのモジュールで、他のモジュールが意図しないような、 |
10197 | 7663 | 配列のベースを変更する問題を回避するためのものです。 |
10198 | 7664 | L<perlvar/$[> を参照してください。 |
10199 | 7665 | |
10200 | 7666 | =item The crypt() function is unimplemented due to excessive paranoia |
10201 | 7667 | |
10202 | 7668 | =begin original |
10203 | 7669 | |
10204 | 7670 | (F) Configure couldn't find the crypt() function on your machine, |
10205 | 7671 | probably because your vendor didn't supply it, probably because they |
10206 | 7672 | think the U.S. Government thinks it's a secret, or at least that they |
10207 | 7673 | will continue to pretend that it is. And if you quote me on that, I |
10208 | 7674 | will deny it. |
10209 | 7675 | |
10210 | 7676 | =end original |
10211 | 7677 | |
10212 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした | |
7678 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした。 | |
10213 | 7679 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
10214 | 7680 | アメリカ政府がそれを秘密だとしていると思っているか、 |
10215 | 7681 | 少なくとも思っているというふりをしているのでしょう。 |
10216 | 7682 | 私を引き合いに出したところで、それは否定されることでしょう。 |
10217 | 7683 | |
10218 | 7684 | =item The %s function is unimplemented |
10219 | 7685 | |
10220 | 7686 | =begin original |
10221 | 7687 | |
10222 | 7688 | The function indicated isn't implemented on this architecture, according |
10223 | 7689 | to the probings of Configure. |
10224 | 7690 | |
10225 | 7691 | =end original |
10226 | 7692 | |
10227 | 7693 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
10228 | 7694 | 実装されていないようです。 |
10229 | 7695 | |
10230 | =item The stat preceding | |
7696 | =item The stat preceding C<-l _> wasn't an lstat | |
10231 | 7697 | |
10232 | 7698 | =begin original |
10233 | 7699 | |
10234 | 7700 | (F) It makes no sense to test the current stat buffer for symbolic |
10235 | 7701 | linkhood if the last stat that wrote to the stat buffer already went |
10236 | 7702 | past the symlink to get to the real file. Use an actual filename |
10237 | 7703 | instead. |
10238 | 7704 | |
10239 | 7705 | =end original |
10240 | 7706 | |
10241 | 7707 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
10242 | 7708 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
10243 | 7709 | stat をカレント stat バッファに対して行なっても意味がありません。 |
10244 | 7710 | 実際のファイル名を使ってください。 |
10245 | 7711 | |
10246 | =item The 'unique' attribute may only be applied to 'our' variables | |
10247 | ||
10248 | =begin original | |
10249 | ||
10250 | (F) This attribute was never supported on C<my> or C<sub> declarations. | |
10251 | ||
10252 | =end original | |
10253 | ||
10254 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 | |
10255 | ||
10256 | 7712 | =item This Perl can't reset CRTL environ elements (%s) |
10257 | 7713 | |
10258 | 7714 | =item This Perl can't set CRTL environ elements (%s=%s) |
10259 | 7715 | |
10260 | 7716 | =begin original |
10261 | 7717 | |
10262 | 7718 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
10263 | 7719 | element of the CRTL's internal environ array, but your copy of Perl |
10264 | 7720 | wasn't built with a CRTL that contained the setenv() function. You'll |
10265 | 7721 | need to rebuild Perl with a CRTL that does, or redefine |
10266 | 7722 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
10267 | 7723 | target of the change to |
10268 | 7724 | %ENV which produced the warning. |
10269 | 7725 | |
10270 | 7726 | =end original |
10271 | 7727 | |
10272 | (W internal) VMS | |
7728 | (W internal) VMS 固有の警告です。 | |
10273 | 7729 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
10274 | 7730 | setenv() 関数を含んだ CRTL でビルドされていません。 |
10275 | 7731 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
10276 | 7732 | 出力している %ENV を変更するターゲットとならないように |
10277 | 7733 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
10278 | 7734 | |
10279 | =item t | |
7735 | =item times not implemented | |
10280 | 7736 | |
10281 | 7737 | =begin original |
10282 | 7738 | |
10283 | ( | |
7739 | (F) Your version of the C library apparently doesn't do times(). I | |
7740 | suspect you're not running on Unix. | |
10284 | 7741 | |
10285 | 7742 | =end original |
10286 | 7743 | |
10287 | ( | |
7744 | (F) お使いの C ライブラリでは、times() を行わないようです。 | |
10288 | ||
7745 | UNIX ではない環境でしょうか。 | |
10289 | 7746 | |
10290 | =item | |
7747 | =item Too few args to syscall | |
10291 | 7748 | |
10292 | 7749 | =begin original |
10293 | 7750 | |
10294 | (F) | |
7751 | (F) There has to be at least one argument to syscall() to specify the | |
10295 | s | |
7752 | system call to call, silly dilly. | |
10296 | 7753 | |
10297 | 7754 | =end original |
10298 | 7755 | |
10299 | (F) | |
7756 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
10300 | ||
7757 | 引数が一つ必要です。 | |
10301 | 7758 | |
10302 | =item | |
7759 | =item Too late for "B<-T>" option | |
10303 | 7760 | |
10304 | 7761 | =begin original |
10305 | 7762 | |
10306 | 7763 | (X) The #! line (or local equivalent) in a Perl script contains the |
10307 | B<-T> option | |
7764 | B<-T> option, but Perl was not invoked with B<-T> in its command line. | |
10308 | 7765 | This is an error because, by the time Perl discovers a B<-T> in a |
10309 | 7766 | script, it's too late to properly taint everything from the environment. |
10310 | 7767 | So Perl gives up. |
10311 | 7768 | |
10312 | 7769 | =end original |
10313 | 7770 | |
10314 | 7771 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
10315 | オプション | |
7772 | オプションが含まれていますが、Perl はコマンドラインで B<-T> 付きで | |
10316 | ||
7773 | 起動されていません。 | |
10317 | 7774 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
10318 | 7775 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
10319 | 7776 | それで Perl は諦めます。 |
10320 | 7777 | |
10321 | 7778 | =begin original |
10322 | 7779 | |
10323 | 7780 | If the Perl script is being executed as a command using the #! |
10324 | 7781 | mechanism (or its local equivalent), this error can usually be fixed by |
10325 | editing the #! line so that the B<- | |
7782 | editing the #! line so that the B<-T> option is a part of Perl's first | |
10326 | argument: e.g. change C<perl -n - | |
7783 | argument: e.g. change C<perl -n -T> to C<perl -T -n>. | |
10327 | 7784 | |
10328 | 7785 | =end original |
10329 | 7786 | |
10330 | 7787 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
10331 | 実行される場合、このエラーは普通 B<- | |
7788 | 実行される場合、このエラーは普通 B<-T> オプションを Perl の最初の引数に | |
10332 | 変更する(C<perl -n - | |
7789 | 変更する(C<perl -n -T> を C<perl -T -n> に変更する)ことで修正されます。 | |
10333 | 7790 | |
10334 | 7791 | =begin original |
10335 | 7792 | |
10336 | 7793 | If the Perl script is being executed as C<perl scriptname>, then the |
10337 | B<- | |
7794 | B<-T> option must appear on the command line: C<perl -T scriptname>. | |
10338 | 7795 | |
10339 | 7796 | =end original |
10340 | 7797 | |
10341 | 7798 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
10342 | コマンドラインに書かなければなりません: C<perl - | |
7799 | コマンドラインに書かなければなりません: C<perl -T scriptname> | |
10343 | 7800 | |
10344 | =item To%s: illegal mapping '%s' | |
10345 | ||
10346 | =begin original | |
10347 | ||
10348 | (F) You tried to define a customized To-mapping for lc(), lcfirst, | |
10349 | uc(), or ucfirst() (or their string-inlined versions), but you | |
10350 | specified an illegal mapping. | |
10351 | See L<perlunicode/"User-Defined Character Properties">. | |
10352 | ||
10353 | =end original | |
10354 | ||
10355 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の | |
10356 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 | |
10357 | 不正なマッピングを指定しました。 | |
10358 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 | |
10359 | ||
10360 | =item Too deeply nested ()-groups | |
10361 | ||
10362 | =begin original | |
10363 | ||
10364 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
10365 | ||
10366 | =end original | |
10367 | ||
10368 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 | |
10369 | ||
10370 | =item Too few args to syscall | |
10371 | ||
10372 | =begin original | |
10373 | ||
10374 | (F) There has to be at least one argument to syscall() to specify the | |
10375 | system call to call, silly dilly. | |
10376 | ||
10377 | =end original | |
10378 | ||
10379 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
10380 | 引数が一つ必要です。 | |
10381 | ||
10382 | 7801 | =item Too late for "-%s" option |
10383 | 7802 | |
10384 | 7803 | =begin original |
10385 | 7804 | |
10386 | 7805 | (X) The #! line (or local equivalent) in a Perl script contains the |
10387 | B<-M> | |
7806 | B<-M> or B<-m> option. This is an error because B<-M> and B<-m> options | |
7807 | are not intended for use inside scripts. Use the C<use> pragma instead. | |
10388 | 7808 | |
10389 | 7809 | =end original |
10390 | 7810 | |
10391 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M> | |
7811 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M> や | |
10392 | B<- | |
7812 | B<-m> オプションが含まれています。 | |
7813 | B<-M> と B<-m> のオプションは、スクリプト内部で使うためのものではないので、 | |
10394 | =begin original | |
10395 | ||
10396 | In the case of B<-M> and B<-m>, this is an error because those options are | |
10397 | not intended for use inside scripts. Use the C<use> pragma instead. | |
10398 | ||
10399 | =end original | |
10400 | ||
10401 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 | |
10402 | 7814 | これはエラーになります。 |
10403 | 7815 | 代わりに C<use> プラグマを使ってください。 |
10404 | 7816 | |
10405 | =begin original | |
10406 | ||
10407 | The B<-C> option only works if it is specified on the command line as well | |
10408 | (with the same sequence of letters or numbers following). Either specify | |
10409 | this option on the command line, or, if your system supports it, make your | |
10410 | script executable and run it directly instead of passing it to perl. | |
10411 | ||
10412 | =end original | |
10413 | ||
10414 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) | |
10415 | 指定されたときにのみ動作します。 | |
10416 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 | |
10417 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして | |
10418 | 直接実行してください。 | |
10419 | ||
10420 | 7817 | =item Too late to run %s block |
10421 | 7818 | |
10422 | 7819 | =begin original |
10423 | 7820 | |
10424 | 7821 | (W void) A CHECK or INIT block is being defined during run time proper, |
10425 | 7822 | when the opportunity to run them has already passed. Perhaps you are |
10426 | 7823 | loading a file with C<require> or C<do> when you should be using C<use> |
10427 | 7824 | instead. Or perhaps you should put the C<require> or C<do> inside a |
10428 | 7825 | BEGIN block. |
10429 | 7826 | |
10430 | 7827 | =end original |
10431 | 7828 | |
10432 | 7829 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
10433 | 7830 | 実行時に定義されました。 |
10434 | 7831 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
10435 | 7832 | 読み込んでいます。 |
10436 | 7833 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
10437 | 7834 | 書いたのでしょう。 |
10438 | 7835 | |
10439 | 7836 | =item Too many args to syscall |
10440 | 7837 | |
10441 | 7838 | =begin original |
10442 | 7839 | |
10443 | 7840 | (F) Perl supports a maximum of only 14 args to syscall(). |
10444 | 7841 | |
10445 | 7842 | =end original |
10446 | 7843 | |
10447 | 7844 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
10448 | 7845 | |
10449 | 7846 | =item Too many arguments for %s |
10450 | 7847 | |
10451 | 7848 | =begin original |
10452 | 7849 | |
10453 | 7850 | (F) The function requires fewer arguments than you specified. |
10454 | 7851 | |
10455 | 7852 | =end original |
10456 | 7853 | |
10457 | 7854 | (F) 関数が要求する以上の引数を指定しました。 |
10458 | 7855 | |
10459 | 7856 | =item Too many )'s |
10460 | 7857 | |
10461 | 7858 | =begin original |
10462 | 7859 | |
10463 | 7860 | (A) You've accidentally run your script through B<csh> instead of Perl. |
10464 | 7861 | Check the #! line, or manually feed your script into Perl yourself. |
10465 | 7862 | |
10466 | 7863 | =end original |
10467 | 7864 | |
10468 | 7865 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
10469 | 7866 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
10470 | 7867 | |
10471 | 7868 | =item Too many ('s |
10472 | 7869 | |
10473 | = | |
7870 | =item trailing \ in regexp | |
10474 | 7871 | |
10475 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
10476 | Check the #! line, or manually feed your script into Perl yourself. | |
10477 | ||
10478 | =end original | |
10479 | ||
10480 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
10481 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
10482 | ||
10483 | =item Trailing \ in regex m/%s/ | |
10484 | ||
10485 | 7872 | =begin original |
10486 | 7873 | |
10487 | 7874 | (F) The regular expression ends with an unbackslashed backslash. |
10488 | 7875 | Backslash it. See L<perlre>. |
10489 | 7876 | |
10490 | 7877 | =end original |
10491 | 7878 | |
10492 | 7879 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
10493 | 7880 | 終了しました。バックスラッシュを付けてください。 |
10494 | 7881 | L<perlre> を参照してください。 |
10495 | 7882 | |
10496 | 7883 | =item Transliteration pattern not terminated |
10497 | 7884 | |
10498 | 7885 | =begin original |
10499 | 7886 | |
10500 | 7887 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
10501 | 7888 | or y/// or y[][] construct. Missing the leading C<$> from variables |
10502 | 7889 | C<$tr> or C<$y> may cause this error. |
10503 | 7890 | |
10504 | 7891 | =end original |
10505 | 7892 | |
10506 | 7893 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が |
10507 | 7894 | 見つかりませんでした。 |
10508 | 7895 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
10509 | 7896 | このエラーが出ることがあります。 |
10510 | 7897 | |
7898 | ||
10511 | 7899 | =item Transliteration replacement not terminated |
10512 | 7900 | |
10513 | 7901 | =begin original |
10514 | 7902 | |
10515 | (F) The lexer couldn't find the final delimiter of a tr/// | |
7903 | (F) The lexer couldn't find the final delimiter of a tr/// or tr[][] | |
10516 | ||
7904 | construct. | |
10517 | 7905 | |
10518 | 7906 | =end original |
10519 | 7907 | |
10520 | (F) tr/// | |
7908 | (F) tr/// もしくは tr[][] 構文の最後の区切り文字が見つかりませんでした。 | |
10521 | 見つかりませんでした。 | |
10522 | 7909 | |
10523 | =item '%s' trapped by operation mask | |
10524 | ||
10525 | =begin original | |
10526 | ||
10527 | (F) You tried to use an operator from a Safe compartment in which it's | |
10528 | disallowed. See L<Safe>. | |
10529 | ||
10530 | =end original | |
10531 | ||
10532 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 | |
10533 | L<Safe> を参照してください。 | |
10534 | ||
10535 | 7910 | =item truncate not implemented |
10536 | 7911 | |
10537 | 7912 | =begin original |
10538 | 7913 | |
10539 | 7914 | (F) Your machine doesn't implement a file truncation mechanism that |
10540 | 7915 | Configure knows about. |
10541 | 7916 | |
10542 | 7917 | =end original |
10543 | 7918 | |
10544 | 7919 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
10545 | 7920 | 実装されていません。 |
10546 | 7921 | |
10547 | 7922 | =item Type of arg %d to %s must be %s (not %s) |
10548 | 7923 | |
10549 | 7924 | =begin original |
10550 | 7925 | |
10551 | 7926 | (F) This function requires the argument in that position to be of a |
10552 | 7927 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
10553 | 7928 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
10554 | 7929 | {EXPR} forms as an explicit dereference. See L<perlref>. |
10555 | 7930 | |
10556 | 7931 | =end original |
10557 | 7932 | |
10558 | 7933 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
10559 | 配列は、@NAME もしくは C<@{EXPR}> でな | |
7934 | 配列は、@NAME もしくは C<@{EXPR}> でなくてはならず、ハッシュは、 | |
10560 | ||
7935 | %NAME もしくは C<%{EXPR}> でなければなりません。 | |
10561 | 7936 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
10562 | 7937 | {EXPR} 形式を使ってください。 |
10563 | 7938 | L<perlref> を参照してください。 |
10564 | 7939 | |
7940 | =item umask: argument is missing initial 0 | |
7941 | ||
7942 | =begin original | |
7943 | ||
7944 | (W umask) A umask of 222 is incorrect. It should be 0222, because octal | |
7945 | literals always start with 0 in Perl, as in C. | |
7946 | ||
7947 | =end original | |
7948 | ||
7949 | (W umask) umask 222 は正しくありません。 | |
7950 | Perl の 8 進数リテラルは、C と同じように 0 で始まりますから、 | |
7951 | 0222 とすべきです。 | |
7952 | ||
10565 | 7953 | =item umask not implemented |
10566 | 7954 | |
10567 | 7955 | =begin original |
10568 | 7956 | |
10569 | 7957 | (F) Your machine doesn't implement the umask function and you tried to |
10570 | 7958 | use it to restrict permissions for yourself (EXPR & 0700). |
10571 | 7959 | |
10572 | 7960 | =end original |
10573 | 7961 | |
10574 | 7962 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
10575 | 7963 | (EXPR & 0700) ためにこれを使おうとしました。 |
10576 | 7964 | |
10577 | 7965 | =item Unable to create sub named "%s" |
10578 | 7966 | |
10579 | 7967 | =begin original |
10580 | 7968 | |
10581 | 7969 | (F) You attempted to create or access a subroutine with an illegal name. |
10582 | 7970 | |
10583 | 7971 | =end original |
10584 | 7972 | |
10585 | 7973 | (F) 不正な名前のサブルーチンを作成または呼び出ししようとしました。 |
10586 | 7974 | |
10587 | 7975 | =item Unbalanced context: %d more PUSHes than POPs |
10588 | 7976 | |
10589 | 7977 | =begin original |
10590 | 7978 | |
10591 | 7979 | (W internal) The exit code detected an internal inconsistency in how |
10592 | 7980 | many execution contexts were entered and left. |
10593 | 7981 | |
10594 | 7982 | =end original |
10595 | 7983 | |
10596 | 7984 | (W internal) いくつの実行コンテキストに入って、出たかということの |
10597 | 7985 | 内部矛盾が exit コードで発見されました。 |
10598 | 7986 | |
10599 | 7987 | =item Unbalanced saves: %d more saves than restores |
10600 | 7988 | |
10601 | 7989 | =begin original |
10602 | 7990 | |
10603 | 7991 | (W internal) The exit code detected an internal inconsistency in how |
10604 | 7992 | many values were temporarily localized. |
10605 | 7993 | |
10606 | 7994 | =end original |
10607 | 7995 | |
10608 | 7996 | (W internal) いくつの値が、一時的にローカル化されたかということの |
10609 | 7997 | 内部矛盾が exit コードで発見されました。 |
10610 | 7998 | |
10611 | 7999 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
10612 | 8000 | |
10613 | 8001 | =begin original |
10614 | 8002 | |
10615 | 8003 | (W internal) The exit code detected an internal inconsistency in how |
10616 | 8004 | many blocks were entered and left. |
10617 | 8005 | |
10618 | 8006 | =end original |
10619 | 8007 | |
10620 | 8008 | (W internal) いくつのブロックに入って、出たかということの |
10621 | 8009 | 内部矛盾が exit コードで発見されました。 |
10622 | 8010 | |
10623 | 8011 | =item Unbalanced tmps: %d more allocs than frees |
10624 | 8012 | |
10625 | 8013 | =begin original |
10626 | 8014 | |
10627 | 8015 | (W internal) The exit code detected an internal inconsistency in how |
10628 | 8016 | many mortal scalars were allocated and freed. |
10629 | 8017 | |
10630 | 8018 | =end original |
10631 | 8019 | |
10632 | 8020 | (W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと |
10633 | 8021 | いうことの内部矛盾が exit コードで発見されました。 |
10634 | 8022 | |
10635 | 8023 | =item Undefined format "%s" called |
10636 | 8024 | |
10637 | 8025 | =begin original |
10638 | 8026 | |
10639 | 8027 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
10640 | 8028 | another package? See L<perlform>. |
10641 | 8029 | |
10642 | 8030 | =end original |
10643 | 8031 | |
10644 | (F) | |
8032 | (F) このフォーマットは存在しないように見えます。 | |
10645 | おそらく | |
8033 | おそらく、別のパッケージに存在するのではないでしょうか。 | |
10646 | 8034 | L<perlform> を参照してください。 |
10647 | 8035 | |
10648 | 8036 | =item Undefined sort subroutine "%s" called |
10649 | 8037 | |
10650 | 8038 | =begin original |
10651 | 8039 | |
10652 | 8040 | (F) The sort comparison routine specified doesn't seem to exist. |
10653 | 8041 | Perhaps it's in a different package? See L<perlfunc/sort>. |
10654 | 8042 | |
10655 | 8043 | =end original |
10656 | 8044 | |
10657 | 8045 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
10658 | 8046 | おそらく、別のパッケージに存在するのではないでしょうか。 |
10659 | L<perlfunc/sort> | |
8047 | L<perlfunc/sort>を参照してください。 | |
10660 | 8048 | |
10661 | 8049 | =item Undefined subroutine &%s called |
10662 | 8050 | |
10663 | 8051 | =begin original |
10664 | 8052 | |
10665 | 8053 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
10666 | 8054 | since been undefined. |
10667 | 8055 | |
10668 | 8056 | =end original |
10669 | 8057 | |
10670 | (F) 指定されたサブルー | |
8058 | (F) 指定されたサブルーティンが定義されていません。 | |
10671 | 既に未定義になっています。 | |
8059 | 定義されていたとしても、既に未定義になっています。 | |
10672 | 8060 | |
10673 | 8061 | =item Undefined subroutine called |
10674 | 8062 | |
10675 | 8063 | =begin original |
10676 | 8064 | |
10677 | 8065 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
10678 | 8066 | or if it was, it has since been undefined. |
10679 | 8067 | |
10680 | 8068 | =end original |
10681 | 8069 | |
10682 | (F) 呼びだそうとしている無名のサブルー | |
8070 | (F) 呼びだそうとしている無名のサブルーティンは、定義されていません。 | |
10683 | 8071 | 定義されていたとしても、既に未定義になっています。 |
10684 | 8072 | |
10685 | 8073 | =item Undefined subroutine in sort |
10686 | 8074 | |
10687 | 8075 | =begin original |
10688 | 8076 | |
10689 | 8077 | (F) The sort comparison routine specified is declared but doesn't seem |
10690 | 8078 | to have been defined yet. See L<perlfunc/sort>. |
10691 | 8079 | |
10692 | 8080 | =end original |
10693 | 8081 | |
10694 | 8082 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
10695 | 8083 | 定義されていないようです。 |
10696 | 8084 | L<perlfunc/sort> を参照してください。 |
10697 | 8085 | |
10698 | 8086 | =item Undefined top format "%s" called |
10699 | 8087 | |
10700 | 8088 | =begin original |
10701 | 8089 | |
10702 | 8090 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
10703 | 8091 | another package? See L<perlform>. |
10704 | 8092 | |
10705 | 8093 | =end original |
10706 | 8094 | |
10707 | 8095 | (F) 示されたフォーマットが存在しないようです。 |
10708 | 8096 | おそらく本当は他のパッケージにあるのでは? |
10709 | 8097 | L<perlform> を参照してください。 |
10710 | 8098 | |
10711 | 8099 | =item Undefined value assigned to typeglob |
10712 | 8100 | |
10713 | 8101 | =begin original |
10714 | 8102 | |
10715 | 8103 | (W misc) An undefined value was assigned to a typeglob, a la |
10716 | 8104 | C<*foo = undef>. This does nothing. It's possible that you really mean |
10717 | 8105 | C<undef *foo>. |
10718 | 8106 | |
10719 | 8107 | =end original |
10720 | 8108 | |
10721 | 8109 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
10722 | 8110 | これは何もしません。 |
10723 | 8111 | 本当は C<undef *foo> としたかったのかもしれません。 |
10724 | 8112 | |
10725 | 8113 | =item %s: Undefined variable |
10726 | 8114 | |
10727 | 8115 | =begin original |
10728 | 8116 | |
10729 | 8117 | (A) You've accidentally run your script through B<csh> instead of Perl. |
10730 | 8118 | Check the #! line, or manually feed your script into Perl yourself. |
10731 | 8119 | |
10732 | 8120 | =end original |
10733 | 8121 | |
10734 | 8122 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
10735 | 8123 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
10736 | 8124 | |
10737 | 8125 | =item unexec of %s into %s failed! |
10738 | 8126 | |
10739 | 8127 | =begin original |
10740 | 8128 | |
10741 | 8129 | (F) The unexec() routine failed for some reason. See your local FSF |
10742 | 8130 | representative, who probably put it there in the first place. |
10743 | 8131 | |
10744 | 8132 | =end original |
10745 | 8133 | |
10746 | 8134 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
10747 | 8135 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
10748 | 8136 | |
10749 | =item Un | |
8137 | =item Unknown BYTEORDER | |
10750 | 8138 | |
10751 | 8139 | =begin original |
10752 | 8140 | |
10753 | ( | |
8141 | (F) There are no byte-swapping functions for a machine with this byte | |
10754 | ||
8142 | order. | |
10755 | reserved for internal use; so, applications shouldn't attempt to exchange | |
10756 | them. In some cases, this message is also given if you use a codepoint that | |
10757 | isn't in Unicode--that is it is above the legal maximum of U+10FFFF. These | |
10758 | aren't legal at all in Unicode, so they are illegal for interchange, but can be | |
10759 | used internally in a Perl program. If you know what you are doing you can turn | |
10760 | off this warning by C<no warnings 'utf8';>. | |
10761 | 8143 | |
10762 | 8144 | =end original |
10763 | 8145 | |
10764 | ( | |
8146 | (F) このバイト順序を入れ替える関数がありません。 | |
10765 | 非文字として指定されています。 | |
10766 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 | |
10767 | アプリケーションはこれを交換しようとするべきではありません。 | |
10768 | 場合によっては、このメッセージは、Unicode ではない符号位置を使ったときにも | |
10769 | 出力されます--有効な上限である U+10FFFF を超える場合です。 | |
10770 | これらは Unicode ではまったく有効ではないので、交換のためには不正ですが、 | |
10771 | Perl プログラムの内部では使えます。 | |
10772 | もし自分が何をしているかを理解しているなら、C<no warnings 'utf8';> で | |
10773 | 警告を無効にできます。 | |
10774 | 8147 | |
10775 | =item Unknown | |
8148 | =item Unknown switch condition (?(%.2s before << HERE in regex m/%s/ | |
10776 | 8149 | |
10777 | 8150 | =begin original |
10778 | 8151 | |
10779 | (F) The | |
8152 | (F) The condition of a (?(condition)if-clause|else-clause) construct is not | |
10780 | order | |
8153 | known. The condition may be lookaround (the condition is true if the | |
8154 | lookaround is true), a (?{...}) construct (the condition is true if the | |
8155 | code evaluates to a true value), or a number (the condition is true if the | |
8156 | set of capturing parentheses named by the number is defined). | |
10781 | 8157 | |
10782 | 8158 | =end original |
10783 | 8159 | |
10784 | (F) | |
8160 | (F) (?(condition)if-clause|else-clause) 構文の条件が不明です。 | |
8161 | 条件は参照 (参照が真なら条件は真)、 | |
8162 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
8163 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
8164 | いずれかです。 | |
10785 | 8165 | |
8166 | =begin original | |
8167 | ||
8168 | The << HERE shows in the regular expression about where the problem was | |
8169 | discovered. See L<perlre>. | |
8170 | ||
8171 | =end original | |
8172 | ||
8173 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8174 | L<perlre> を参照してください。 | |
8175 | ||
10786 | 8176 | =item Unknown open() mode '%s' |
10787 | 8177 | |
10788 | 8178 | =begin original |
10789 | 8179 | |
10790 | 8180 | (F) The second argument of 3-argument open() is not among the list |
10791 | 8181 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
10792 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
8182 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
10793 | 8183 | |
10794 | 8184 | =end original |
10795 | 8185 | |
10796 | 8186 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
10797 | 8187 | どれでもありませんでした: |
10798 | 8188 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
10799 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
8189 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
10800 | 8190 | |
10801 | =item Unknown PerlIO layer "%s" | |
10802 | ||
10803 | =begin original | |
10804 | ||
10805 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O | |
10806 | system. (Layers take care of transforming data between external and | |
10807 | internal representations.) Note that some layers, such as C<mmap>, | |
10808 | are not supported in all environments. If your program didn't | |
10809 | explicitly request the failing operation, it may be the result of the | |
10810 | value of the environment variable PERLIO. | |
10811 | ||
10812 | =end original | |
10813 | ||
10814 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 | |
10815 | (層はデータの外部表現と内部表現の変換を扱います。) | |
10816 | C<mmap> のような層は、全ての環境で対応しているわけではないことに | |
10817 | 注意してください。 | |
10818 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
10819 | 値が原因かもしれません。 | |
10820 | ||
10821 | 8191 | =item Unknown process %x sent message to prime_env_iter: %s |
10822 | 8192 | |
10823 | 8193 | =begin original |
10824 | 8194 | |
10825 | 8195 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
10826 | 8196 | iterating over it, and someone else stuck a message in the stream of |
10827 | 8197 | data Perl expected. Someone's very confused, or perhaps trying to |
10828 | 8198 | subvert Perl's population of %ENV for nefarious purposes. |
10829 | 8199 | |
10830 | 8200 | =end original |
10831 | 8201 | |
10832 | (P) VMS | |
8202 | (P) VMS 固有のエラーです。 | |
10833 | 8203 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
10834 | 8204 | データストリームの中に誰かがメッセージを差し込みました。 |
10835 | 8205 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
10836 | 8206 | 滅亡させようとしています。 |
10837 | 8207 | |
10838 | =item | |
8208 | =item unmatched [ before << HERE mark in regex m/%s/ | |
10839 | 8209 | |
10840 | 8210 | =begin original |
10841 | 8211 | |
10842 | You tried to use an unknown subpragma of the "re" pragma. | |
10843 | ||
10844 | =end original | |
10845 | ||
10846 | "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
10847 | ||
10848 | =item Unknown switch condition (?(%.2s in regex; marked by <-- HERE in m/%s/ | |
10849 | ||
10850 | =begin original | |
10851 | ||
10852 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
10853 | is not known. The condition may be lookahead or lookbehind (the condition | |
10854 | is true if the lookahead or lookbehind is true), a (?{...}) construct (the | |
10855 | condition is true if the code evaluates to a true value), or a number (the | |
10856 | condition is true if the set of capturing parentheses named by the number | |
10857 | matched). | |
10858 | ||
10859 | =end original | |
10860 | ||
10861 | (F) (?(condition)if-clause|else-clause) 構文の条件部が不明です。 | |
10862 | 条件は先読みまたは戻り読み (先読みまたは戻り読みが真なら条件は真)、 | |
10863 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
10864 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
10865 | いずれかです。 | |
10866 | ||
10867 | =begin original | |
10868 | ||
10869 | The <-- HERE shows in the regular expression about where the problem was | |
10870 | discovered. See L<perlre>. | |
10871 | ||
10872 | =end original | |
10873 | ||
10874 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
10875 | L<perlre> を参照してください。 | |
10876 | ||
10877 | =item Unknown Unicode option letter '%c' | |
10878 | ||
10879 | =begin original | |
10880 | ||
10881 | You specified an unknown Unicode option. See L<perlrun> documentation | |
10882 | of the C<-C> switch for the list of known options. | |
10883 | ||
10884 | =end original | |
10885 | ||
10886 | 不明な Unicode オプションを指定しました。 | |
10887 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
10888 | 参照してください。 | |
10889 | ||
10890 | =item Unknown Unicode option value %x | |
10891 | ||
10892 | =begin original | |
10893 | ||
10894 | You specified an unknown Unicode option. See L<perlrun> documentation | |
10895 | of the C<-C> switch for the list of known options. | |
10896 | ||
10897 | =end original | |
10898 | ||
10899 | 不明な Unicode オプションを指定しました。 | |
10900 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
10901 | 参照してください。 | |
10902 | ||
10903 | =item Unknown warnings category '%s' | |
10904 | ||
10905 | =begin original | |
10906 | ||
10907 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
10908 | category that is unknown to perl at this point. | |
10909 | ||
10910 | =end original | |
10911 | ||
10912 | (F) C<warnings> プラグマによるエラーです。 | |
10913 | 現在のところ perl が知らない警告カテゴリを指定しました。 | |
10914 | ||
10915 | =begin original | |
10916 | ||
10917 | Note that if you want to enable a warnings category registered by a module | |
10918 | (e.g. C<use warnings 'File::Find'>), you must have imported this module | |
10919 | ||
10920 | =end original | |
10921 | ||
10922 | (C<use warnings 'File::Find'> のように)モジュールによって登録される | |
10923 | 警告カテゴリを有効にしたい場合、このモジュールを先にインポートする必要が | |
10924 | あることに注意してください。 | |
10925 | ||
10926 | =item Unknown verb pattern '%s' in regex; marked by <-- HERE in m/%s/ | |
10927 | ||
10928 | =begin original | |
10929 | ||
10930 | (F) You either made a typo or have incorrectly put a C<*> quantifier | |
10931 | after an open brace in your pattern. Check the pattern and review | |
10932 | L<perlre> for details on legal verb patterns. | |
10933 | ||
10934 | =end original | |
10935 | ||
10936 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に | |
10937 | C<*> 量指定子を書いたかどちらかです。 | |
10938 | パターンをチェックして、有効な動詞パターンの詳細については | |
10939 | L<perlre> を再チェックしてください。 | |
10940 | ||
10941 | =item unmatched [ in regex; marked by <-- HERE in m/%s/ | |
10942 | ||
10943 | =begin original | |
10944 | ||
10945 | 8212 | (F) The brackets around a character class must match. If you wish to |
10946 | 8213 | include a closing bracket in a character class, backslash it or put it |
10947 | first. The < | |
8214 | first. See L<perlre>. The << HERE shows in the regular expression about | |
10948 | was discovered | |
8215 | where the escape was discovered. | |
10949 | 8216 | |
10950 | 8217 | =end original |
10951 | 8218 | |
10952 | 8219 | (F) 文字クラスの周りの大かっこが一致していません。 |
10953 | 8220 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
10954 | 8221 | 先頭に置いてください。 |
10955 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
10956 | 8222 | L<perlre> を参照してください。 |
8223 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
10957 | 8224 | |
10958 | =item unmatched ( in regex | |
8225 | =item unmatched ( in regexp before << HERE mark in regex m/%s/ | |
10959 | 8226 | |
10960 | 8227 | =begin original |
10961 | 8228 | |
10962 | 8229 | (F) Unbackslashed parentheses must always be balanced in regular |
10963 | expressions. If you're a vi user, the % key is valuable for finding the | |
8230 | expressions. If you're a vi user, the % key is valuable for finding the | |
10964 | matching parenthesis. | |
8231 | matching parenthesis. See L<perlre>. | |
10965 | where the problem was discovered. See L<perlre>. | |
10966 | 8232 | |
10967 | 8233 | =end original |
10968 | 8234 | |
10969 | 8235 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
10970 | 8236 | 対応していなければなりません。 |
10971 | 8237 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
10972 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
10973 | 8238 | L<perlre> を参照してください。 |
10974 | 8239 | |
10975 | 8240 | =item Unmatched right %s bracket |
10976 | 8241 | |
10977 | 8242 | =begin original |
10978 | 8243 | |
10979 | 8244 | (F) The lexer counted more closing curly or square brackets than opening |
10980 | 8245 | ones, so you're probably missing a matching opening bracket. As a |
10981 | 8246 | general rule, you'll find the missing one (so to speak) near the place |
10982 | 8247 | you were last editing. |
10983 | 8248 | |
10984 | 8249 | =end original |
10985 | 8250 | |
10986 | (F) | |
8251 | (F) 字句解析部が開き中括弧よりも多くの閉じ中括弧または大括弧を | |
10987 | 見つけました | |
8252 | 見つけました。 | |
10988 | ||
8253 | 開き中括弧または大括弧のもれと思われます。 | |
10989 | 場所の近 | |
8254 | 一般的な規則として、最後に修正した場所の付近に、忘れた中括弧 | |
8255 | または大括弧 (であるはずのもの) があることでしょう。 | |
10990 | 8256 | |
10991 | 8257 | =item Unquoted string "%s" may clash with future reserved word |
10992 | 8258 | |
10993 | 8259 | =begin original |
10994 | 8260 | |
10995 | 8261 | (W reserved) You used a bareword that might someday be claimed as a |
10996 | 8262 | reserved word. It's best to put such a word in quotes, or capitalize it |
10997 | 8263 | somehow, or insert an underbar into it. You might also declare it as a |
10998 | 8264 | subroutine. |
10999 | 8265 | |
11000 | 8266 | =end original |
11001 | 8267 | |
11002 | 8268 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
11003 | 8269 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
11004 | 8270 | いれるかしてください。 |
11005 | その裸の単語は、サブルー | |
8271 | その裸の単語は、サブルーティンとして宣言することも可能です。 | |
11006 | 8272 | |
11007 | =item Unrecognized character %s | |
8273 | =item Unrecognized character %s | |
11008 | 8274 | |
11009 | 8275 | =begin original |
11010 | 8276 | |
11011 | 8277 | (F) The Perl parser has no idea what to do with the specified character |
11012 | in your Perl script (or eval) | |
8278 | in your Perl script (or eval). Perhaps you tried to run a compressed | |
11013 | ||
8279 | script, a binary program, or a directory as a Perl program. | |
11014 | 8280 | |
11015 | 8281 | =end original |
11016 | 8282 | |
11017 | (F) Perl パーサーは、Perl スクリプト(または eval) で | |
8283 | (F) Perl パーサーは、Perl スクリプト(または eval) で出てきた文字に対して | |
11018 | ||
8284 | どうすればよいか分かりませんでした。 | |
11019 | 8285 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
11020 | 8286 | Perl プログラムとして実行しようとしたのでしょう。 |
11021 | 8287 | |
11022 | =item Unrecognized escape \\%c in character class passed through | |
8288 | =item /%s/: Unrecognized escape \\%c in character class passed through | |
11023 | 8289 | |
11024 | 8290 | =begin original |
11025 | 8291 | |
11026 | 8292 | (W regexp) You used a backslash-character combination which is not |
11027 | 8293 | recognized by Perl inside character classes. The character was |
11028 | understood literally | |
8294 | understood literally. | |
11029 | The <-- HERE shows in the regular expression about where the | |
11030 | escape was discovered. | |
11031 | 8295 | |
11032 | 8296 | =end original |
11033 | 8297 | |
11034 | 8298 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
11035 | 8299 | 組み合わせを使いました。 |
11036 | 文字はリテラルに | |
8300 | 文字はリテラルに理解されます。 | |
11037 | 変更されるかもしれません。 | |
11038 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
11039 | 8301 | |
11040 | =item Unrecognized escape \\%c passed through | |
8302 | =item Unrecognized escape \\%c passed through before << HERE in m/%s/ | |
11041 | 8303 | |
11042 | 8304 | =begin original |
11043 | 8305 | |
11044 | (W | |
8306 | (W regexp) You used a backslash-character combination which is not | |
11045 | recognized by Perl. | |
8307 | recognized by Perl. This combination appears in an interpolated variable or | |
11046 | ||
8308 | a C<'>-delimited regular expression. The character was understood | |
8309 | literally. The << HERE shows in the regular expression about where the escape | |
8310 | was discovered. | |
11047 | 8311 | |
11048 | 8312 | =end original |
11049 | 8313 | |
11050 | (W | |
8314 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが | |
11051 | 8315 | 使われています。 |
11052 | ||
8316 | この組み合わせは展開された変数の中か、C<'>-デリミタの正規表現で | |
11053 | ||
8317 | 出現します。 | |
8318 | この文字はリテラルに処理されます。 | |
8319 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
11054 | 8320 | |
11055 | =item Unrecognized escape \\%c passed through | |
8321 | =item Unrecognized escape \\%c passed through | |
11056 | 8322 | |
11057 | 8323 | =begin original |
11058 | 8324 | |
11059 | (W | |
8325 | (W misc) You used a backslash-character combination which is not | |
11060 | recognized by Perl. | |
8326 | recognized by Perl. | |
11061 | change in a future version of Perl. | |
11062 | The <-- HERE shows in the regular expression about where the | |
11063 | escape was discovered. | |
11064 | 8327 | |
11065 | 8328 | =end original |
11066 | 8329 | |
11067 | (W | |
8330 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが | |
11068 | 8331 | 使われています。 |
11069 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
11070 | 変更されるかもしれません。 | |
11071 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
11072 | 8332 | |
11073 | 8333 | =item Unrecognized signal name "%s" |
11074 | 8334 | |
11075 | 8335 | =begin original |
11076 | 8336 | |
11077 | 8337 | (F) You specified a signal name to the kill() function that was not |
11078 | 8338 | recognized. Say C<kill -l> in your shell to see the valid signal names |
11079 | 8339 | on your system. |
11080 | 8340 | |
11081 | 8341 | =end original |
11082 | 8342 | |
11083 | 8343 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
11084 | 8344 | お使いのシステムで使用可能なシグナル名を調べるには、 |
11085 | 8345 | シェル上で C<kill -l> などとしてください。 |
11086 | 8346 | |
11087 | 8347 | =item Unrecognized switch: -%s (-h will show valid options) |
11088 | 8348 | |
11089 | 8349 | =begin original |
11090 | 8350 | |
11091 | 8351 | (F) You specified an illegal option to Perl. Don't do that. (If you |
11092 | 8352 | think you didn't do that, check the #! line to see if it's supplying the |
11093 | 8353 | bad switch on your behalf.) |
11094 | 8354 | |
11095 | 8355 | =end original |
11096 | 8356 | |
11097 | 8357 | (F) Perl に間違ったオプションを指定しました。 |
11098 | 8358 | これを行なってはいけません。 |
11099 | 8359 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
11100 | 8360 | スイッチが指定されていないかをチェックしてください。) |
11101 | 8361 | |
11102 | 8362 | =item Unsuccessful %s on filename containing newline |
11103 | 8363 | |
11104 | 8364 | =begin original |
11105 | 8365 | |
11106 | 8366 | (W newline) A file operation was attempted on a filename, and that |
11107 | 8367 | operation failed, PROBABLY because the filename contained a newline, |
11108 | 8368 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
11109 | 8369 | |
11110 | 8370 | =end original |
11111 | 8371 | |
11112 | 8372 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
11113 | 失敗しました | |
8373 | 失敗しました。 | |
8374 | 「おそらく」ファイル名に改行文字がついていたからで、 | |
11114 | 8375 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
11115 | 8376 | L<perlfunc/chomp> を参照してください。 |
11116 | 8377 | |
11117 | 8378 | =item Unsupported directory function "%s" called |
11118 | 8379 | |
11119 | 8380 | =begin original |
11120 | 8381 | |
11121 | 8382 | (F) Your machine doesn't support opendir() and readdir(). |
11122 | 8383 | |
11123 | 8384 | =end original |
11124 | 8385 | |
11125 | 8386 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
11126 | 8387 | |
11127 | 8388 | =item Unsupported function %s |
11128 | 8389 | |
11129 | 8390 | =begin original |
11130 | 8391 | |
11131 | 8392 | (F) This machine doesn't implement the indicated function, apparently. |
11132 | 8393 | At least, Configure doesn't think so. |
11133 | 8394 | |
11134 | 8395 | =end original |
11135 | 8396 | |
11136 | 8397 | (F) このマシンでは、表示した関数は実装されていません。 |
11137 | 8398 | 少なくとも、Configure はそう判断しました。 |
11138 | 8399 | |
11139 | 8400 | =item Unsupported function fork |
11140 | 8401 | |
11141 | 8402 | =begin original |
11142 | 8403 | |
11143 | 8404 | (F) Your version of executable does not support forking. |
11144 | 8405 | |
11145 | 8406 | =end original |
11146 | 8407 | |
11147 | 8408 | (F) この実行ファイルは fork に対応していません。 |
11148 | 8409 | |
11149 | 8410 | =begin original |
11150 | 8411 | |
11151 | 8412 | Note that under some systems, like OS/2, there may be different flavors |
11152 | 8413 | of Perl executables, some of which may support fork, some not. Try |
11153 | 8414 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
11154 | 8415 | |
11155 | 8416 | =end original |
11156 | 8417 | |
11157 | 8418 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
11158 | 8419 | fork に対応しているものとしていないものがあります。 |
11159 | 8420 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
11160 | 8421 | 変えてみてください。 |
11161 | 8422 | |
11162 | =item Unsupported script encoding | |
8423 | =item Unsupported script encoding | |
11163 | 8424 | |
11164 | 8425 | =begin original |
11165 | 8426 | |
11166 | 8427 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
11167 | declares it to be in a Unicode encoding that Perl cannot read. | |
8428 | declares it to be in a Unicode encoding that Perl cannot yet read. | |
11168 | 8429 | |
11169 | 8430 | =end original |
11170 | 8431 | |
11171 | 8432 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
11172 | 8433 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
11173 | 8434 | |
11174 | 8435 | =item Unsupported socket function "%s" called |
11175 | 8436 | |
11176 | 8437 | =begin original |
11177 | 8438 | |
11178 | 8439 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
11179 | 8440 | least that's what Configure thought. |
11180 | 8441 | |
11181 | 8442 | =end original |
11182 | 8443 | |
11183 | 8444 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
11184 | 8445 | 少なくとも Configure がそう判断しました。 |
11185 | 8446 | |
11186 | 8447 | =item Unterminated attribute list |
11187 | 8448 | |
11188 | 8449 | =begin original |
11189 | 8450 | |
11190 | 8451 | (F) The lexer found something other than a simple identifier at the |
11191 | 8452 | start of an attribute, and it wasn't a semicolon or the start of a |
11192 | 8453 | block. Perhaps you terminated the parameter list of the previous |
11193 | 8454 | attribute too soon. See L<attributes>. |
11194 | 8455 | |
11195 | 8456 | =end original |
11196 | 8457 | |
11197 | 8458 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
11198 | 8459 | 開始でないものを発見しました。 |
11199 | 8460 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
11200 | 8461 | L<attributes> を参照してください。 |
11201 | 8462 | |
11202 | 8463 | =item Unterminated attribute parameter in attribute list |
11203 | 8464 | |
11204 | 8465 | =begin original |
11205 | 8466 | |
11206 | 8467 | (F) The lexer saw an opening (left) parenthesis character while parsing |
11207 | 8468 | an attribute list, but the matching closing (right) parenthesis |
11208 | 8469 | character was not found. You may need to add (or remove) a backslash |
11209 | 8470 | character to get your parentheses to balance. See L<attributes>. |
11210 | 8471 | |
11211 | 8472 | =end original |
11212 | 8473 | |
11213 | 8474 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
11214 | 8475 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
11215 | 8476 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
11216 | 8477 | 必要があるでしょう。 |
11217 | 8478 | L<attributes> を参照してください。 |
11218 | 8479 | |
11219 | 8480 | =item Unterminated compressed integer |
11220 | 8481 | |
11221 | 8482 | =begin original |
11222 | 8483 | |
11223 | 8484 | (F) An argument to unpack("w",...) was incompatible with the BER |
11224 | 8485 | compressed integer format and could not be converted to an integer. |
11225 | 8486 | See L<perlfunc/pack>. |
11226 | 8487 | |
11227 | 8488 | =end original |
11228 | 8489 | |
11229 | 8490 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
11230 | 8491 | 整数に変換できませんでした。 |
11231 | 8492 | L<perlfunc/pack> を参照してください。 |
11232 | 8493 | |
11233 | =item Unterminated verb pattern in regex; marked by <-- HERE in m/%s/ | |
11234 | ||
11235 | =begin original | |
11236 | ||
11237 | (F) You used a pattern of the form C<(*VERB)> but did not terminate | |
11238 | the pattern with a C<)>. Fix the pattern and retry. | |
11239 | ||
11240 | =end original | |
11241 | ||
11242 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で | |
11243 | 終わっていません。 | |
11244 | パターンを修正して再挑戦してください。 | |
11245 | ||
11246 | =item Unterminated verb pattern argument in regex; marked by <-- HERE in m/%s/ | |
11247 | ||
11248 | =begin original | |
11249 | ||
11250 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate | |
11251 | the pattern with a C<)>. Fix the pattern and retry. | |
11252 | ||
11253 | =end original | |
11254 | ||
11255 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で | |
11256 | 終わっていません。 | |
11257 | パターンを修正して再挑戦してください。 | |
11258 | ||
11259 | =item Unterminated \g{...} pattern in regex; marked by <-- HERE in m/%s/ | |
11260 | ||
11261 | =begin original | |
11262 | ||
11263 | (F) You missed a close brace on a \g{..} pattern (group reference) in | |
11264 | a regular expression. Fix the pattern and retry. | |
11265 | ||
11266 | =end original | |
11267 | ||
11268 | (F) 正規表現の \g{..} (グループリファレンス) の閉じかっこがありません。 | |
11269 | パターンを修正して再挑戦してください。 | |
11270 | ||
11271 | 8494 | =item Unterminated <> operator |
11272 | 8495 | |
11273 | 8496 | =begin original |
11274 | 8497 | |
11275 | 8498 | (F) The lexer saw a left angle bracket in a place where it was expecting |
11276 | 8499 | a term, so it's looking for the corresponding right angle bracket, and |
11277 | 8500 | not finding it. Chances are you left some needed parentheses out |
11278 | 8501 | earlier in the line, and you really meant a "less than". |
11279 | 8502 | |
11280 | 8503 | =end original |
11281 | 8504 | |
11282 | (F) 項が必要とされるところで、開き山 | |
8505 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
11283 | 対応する閉じ山 | |
8506 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
11284 | 可能性としては、必要な | |
8507 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
11285 | 8508 | 表したかった場合が考えられます。 |
11286 | 8509 | |
11287 | 8510 | =item untie attempted while %d inner references still exist |
11288 | 8511 | |
11289 | 8512 | =begin original |
11290 | 8513 | |
11291 | 8514 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
11292 | 8515 | still valid when C<untie> was called. |
11293 | 8516 | |
11294 | 8517 | =end original |
11295 | 8518 | |
11296 | 8519 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
11297 | 8520 | C<untie> が呼び出されたときにまだ有効でした。 |
11298 | 8521 | |
11299 | =item Usage: POSIX::%s(%s) | |
11300 | ||
11301 | =begin original | |
11302 | ||
11303 | (F) You called a POSIX function with incorrect arguments. | |
11304 | See L<POSIX/FUNCTIONS> for more information. | |
11305 | ||
11306 | =end original | |
11307 | ||
11308 | (F) POSIX 関数を間違った引数で呼び出しました。 | |
11309 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 | |
11310 | ||
11311 | =item Usage: Win32::%s(%s) | |
11312 | ||
11313 | =begin original | |
11314 | ||
11315 | (F) You called a Win32 function with incorrect arguments. | |
11316 | See L<Win32> for more information. | |
11317 | ||
11318 | =end original | |
11319 | ||
11320 | (F) Win32 関数を間違った引数で呼び出しました。 | |
11321 | 更なる情報については L<Win32> を参照してください。 | |
11322 | ||
11323 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in m/%s/ | |
11324 | ||
11325 | =begin original | |
11326 | ||
11327 | (W regexp) You have used an internal modifier such as (?-o) that has no | |
11328 | meaning unless removed from the entire regexp: | |
11329 | ||
11330 | =end original | |
11331 | ||
11332 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ | |
11333 | 意味がありません: | |
11334 | ||
11335 | if ($string =~ /(?-o)$pattern/o) { ... } | |
11336 | ||
11337 | =begin original | |
11338 | ||
11339 | must be written as | |
11340 | ||
11341 | =end original | |
11342 | ||
11343 | これは以下のように書かなければなりません: | |
11344 | ||
11345 | if ($string =~ /$pattern/) { ... } | |
11346 | ||
11347 | =begin original | |
11348 | ||
11349 | The <-- HERE shows in the regular expression about | |
11350 | where the problem was discovered. See L<perlre>. | |
11351 | ||
11352 | =end original | |
11353 | ||
11354 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
11355 | L<perlre> を参照してください。 | |
11356 | ||
11357 | =item Useless localization of %s | |
11358 | ||
11359 | =begin original | |
11360 | ||
11361 | (W syntax) The localization of lvalues such as C<local($x=10)> is | |
11362 | legal, but in fact the local() currently has no effect. This may change at | |
11363 | some point in the future, but in the meantime such code is discouraged. | |
11364 | ||
11365 | =end original | |
11366 | ||
11367 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 | |
11368 | 実際のところ local() は現在のところ何の効果もありません。 | |
11369 | これは将来変更されるかもしれませんが、今のところはこのようなコードは | |
11370 | 勧められません。 | |
11371 | ||
11372 | =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/ | |
11373 | ||
11374 | =begin original | |
11375 | ||
11376 | (W regexp) You have used an internal modifier such as (?o) that has no | |
11377 | meaning unless applied to the entire regexp: | |
11378 | ||
11379 | =end original | |
11380 | ||
11381 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ | |
11382 | 意味がありません: | |
11383 | ||
11384 | if ($string =~ /(?o)$pattern/) { ... } | |
11385 | ||
11386 | =begin original | |
11387 | ||
11388 | must be written as | |
11389 | ||
11390 | =end original | |
11391 | ||
11392 | これは以下のように書かなければなりません: | |
11393 | ||
11394 | if ($string =~ /$pattern/o) { ... } | |
11395 | ||
11396 | =begin original | |
11397 | ||
11398 | The <-- HERE shows in the regular expression about | |
11399 | where the problem was discovered. See L<perlre>. | |
11400 | ||
11401 | =end original | |
11402 | ||
11403 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
11404 | L<perlre> を参照してください。 | |
11405 | ||
11406 | =item Useless use of /d modifier in transliteration operator | |
11407 | ||
11408 | =begin original | |
11409 | ||
11410 | (W misc) You have used the /d modifier where the searchlist has the | |
11411 | same length as the replacelist. See L<perlop> for more information | |
11412 | about the /d modifier. | |
11413 | ||
11414 | =end original | |
11415 | ||
11416 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 | |
11417 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 | |
11418 | ||
11419 | 8522 | =item Useless use of %s in void context |
11420 | 8523 | |
11421 | 8524 | =begin original |
11422 | 8525 | |
11423 | 8526 | (W void) You did something without a side effect in a context that does |
11424 | 8527 | nothing with the return value, such as a statement that doesn't return a |
11425 | 8528 | value from a block, or the left side of a scalar comma operator. Very |
11426 | 8529 | often this points not to stupidity on your part, but a failure of Perl |
11427 | 8530 | to parse your program the way you thought it would. For example, you'd |
11428 | 8531 | get this if you mixed up your C precedence with Python precedence and |
11429 | 8532 | said |
11430 | 8533 | |
11431 | 8534 | =end original |
11432 | 8535 | |
11433 | 8536 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
11434 | 8537 | 返却値の無い文脈で、副作用のないことを行ないました。 |
11435 | 8538 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
11436 | 8539 | 意向を汲み取った解釈ができないことで起こります。 |
11437 | 8540 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
11438 | 8541 | 以下のようにした場合です: |
11439 | 8542 | |
11440 | 8543 | $one, $two = 1, 2; |
11441 | 8544 | |
11442 | 8545 | =begin original |
11443 | 8546 | |
11444 | 8547 | when you meant to say |
11445 | 8548 | |
11446 | 8549 | =end original |
11447 | 8550 | |
11448 | 8551 | 以下のようにするべきです。 |
11449 | 8552 | |
11450 | 8553 | ($one, $two) = (1, 2); |
11451 | 8554 | |
11452 | 8555 | =begin original |
11453 | 8556 | |
11454 | 8557 | Another common error is to use ordinary parentheses to construct a list |
11455 | 8558 | reference when you should be using square or curly brackets, for |
11456 | 8559 | example, if you say |
11457 | 8560 | |
11458 | 8561 | =end original |
11459 | 8562 | |
11460 | その他の良くあるエラーとしては、リストを作るのに中 | |
8563 | その他の良くあるエラーとしては、リストを作るのに中括弧や | |
11461 | 使うべきところで普通の | |
8564 | 大括弧を使うべきところで普通の括弧を使うことです。 | |
11462 | 場合です: | |
8565 | 例えば、以下のように書いた場合です: | |
11463 | 8566 | |
11464 | 8567 | $array = (1,2); |
11465 | 8568 | |
11466 | 8569 | =begin original |
11467 | 8570 | |
11468 | 8571 | when you should have said |
11469 | 8572 | |
11470 | 8573 | =end original |
11471 | 8574 | |
11472 | 8575 | 以下のように書くべきです: |
11473 | 8576 | |
11474 | 8577 | $array = [1,2]; |
11475 | 8578 | |
11476 | 8579 | =begin original |
11477 | 8580 | |
11478 | 8581 | The square brackets explicitly turn a list value into a scalar value, |
11479 | 8582 | while parentheses do not. So when a parenthesized list is evaluated in |
11480 | 8583 | a scalar context, the comma is treated like C's comma operator, which |
11481 | 8584 | throws away the left argument, which is not what you want. See |
11482 | 8585 | L<perlref> for more on this. |
11483 | 8586 | |
11484 | 8587 | =end original |
11485 | 8588 | |
11486 | 8589 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
11487 | 8590 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
11488 | 8591 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
11489 | 8592 | これは望んでいることではないでしょう。 |
11490 | 8593 | これに関するさらなる情報については L<perlref> を参照してください。 |
11491 | 8594 | |
11492 | =begin original | |
11493 | ||
11494 | This warning will not be issued for numerical constants equal to 0 or 1 | |
11495 | since they are often used in statements like | |
11496 | ||
11497 | =end original | |
11498 | ||
11499 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 | |
11500 | しばしば以下のような文で使われるからです: | |
11501 | ||
11502 | 1 while sub_with_side_effects(); | |
11503 | ||
11504 | =begin original | |
11505 | ||
11506 | String constants that would normally evaluate to 0 or 1 are warned | |
11507 | about. | |
11508 | ||
11509 | =end original | |
11510 | ||
11511 | 通常 0 か 1 に評価される文字列定数は警告されます。 | |
11512 | ||
11513 | 8595 | =item Useless use of "re" pragma |
11514 | 8596 | |
11515 | 8597 | =begin original |
11516 | 8598 | |
11517 | 8599 | (W) You did C<use re;> without any arguments. That isn't very useful. |
11518 | 8600 | |
11519 | 8601 | =end original |
11520 | 8602 | |
11521 | 8603 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
11522 | 8604 | |
11523 | =item Useless use of sort in scalar context | |
11524 | ||
11525 | =begin original | |
11526 | ||
11527 | (W void) You used sort in scalar context, as in : | |
11528 | ||
11529 | =end original | |
11530 | ||
11531 | (W void) こんな風に、ソートをスカラコンテキストで使いました: | |
11532 | ||
11533 | my $x = sort @y; | |
11534 | ||
11535 | =begin original | |
11536 | ||
11537 | This is not very useful, and perl currently optimizes this away. | |
11538 | ||
11539 | =end original | |
11540 | ||
11541 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
11542 | ||
11543 | =item Useless use of %s with no values | |
11544 | ||
11545 | =begin original | |
11546 | ||
11547 | (W syntax) You used the push() or unshift() function with no arguments | |
11548 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
11549 | usually have any effect on the array, so is completely useless. It's | |
11550 | possible in principle that push(@tied_array) could have some effect | |
11551 | if the array is tied to a class which implements a PUSH method. If so, | |
11552 | you can write it as C<push(@tied_array,())> to avoid this warning. | |
11553 | ||
11554 | =end original | |
11555 | ||
11556 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や | |
11557 | unshift() 関数を、配列以外の引数なしで使いました。 | |
11558 | これは普通は配列に何の影響も与えないので、完全に無意味です。 | |
11559 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては | |
11560 | push(@tied_array) が何らかの効果を持つ可能性はあります。 | |
11561 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を | |
11562 | 回避できます。 | |
11563 | ||
11564 | 8605 | =item "use" not allowed in expression |
11565 | 8606 | |
11566 | 8607 | =begin original |
11567 | 8608 | |
11568 | 8609 | (F) The "use" keyword is recognized and executed at compile time, and |
11569 | 8610 | returns no useful value. See L<perlmod>. |
11570 | 8611 | |
11571 | 8612 | =end original |
11572 | 8613 | |
11573 | 8614 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
11574 | 8615 | 意味のある値を返しません。 |
11575 | 8616 | L<perlmod> を参照してください。 |
11576 | 8617 | |
11577 | =item Use of assignment to $[ is deprecated | |
11578 | ||
11579 | =begin original | |
11580 | ||
11581 | (D deprecated) The C<$[> variable (index of the first element in an array) | |
11582 | is deprecated. See L<perlvar/"$[">. | |
11583 | ||
11584 | =end original | |
11585 | ||
11586 | (D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は廃止予定です。 | |
11587 | L<perlvar/"$["> を参照してください。 | |
11588 | ||
11589 | 8618 | =item Use of bare << to mean <<"" is deprecated |
11590 | 8619 | |
11591 | 8620 | =begin original |
11592 | 8621 | |
11593 | (D deprecated) You are now encouraged to use the explicitly quoted | |
8622 | (D deprecated) You are now encouraged to use the explicitly quoted form | |
11594 | ||
8623 | if you wish to use an empty line as the terminator of the here-document. | |
11595 | 8624 | |
11596 | 8625 | =end original |
11597 | 8626 | |
11598 | (D deprecated) ヒアドキュメントの終端子として空行を | |
8627 | (D deprecated) ヒアドキュメントの終端子として空行を使いたいときには、 | |
11599 | ||
8628 | 明示的にクォートされた形を使うことを推奨しています。 | |
11600 | 8629 | |
11601 | =item Use of | |
8630 | =item Use of implicit split to @_ is deprecated | |
11602 | 8631 | |
11603 | 8632 | =begin original |
11604 | 8633 | |
11605 | (D deprecated) | |
8634 | (D deprecated) It makes a lot of work for the compiler when you clobber | |
11606 | ||
8635 | a subroutine's argument list, so it's better if you assign the results | |
8636 | of a split() explicitly to an array (or list). | |
11607 | 8637 | |
11608 | 8638 | =end original |
11609 | 8639 | |
11610 | (D deprecated) | |
8640 | (D deprecated) サブルーティンの引数を壊すとコンパイラに多大な労力を | |
11611 | ||
8641 | かけることになるので、split() の結果は明示的に配列 (やリスト) に | |
8642 | 代入を行なうようにしてください。 | |
11612 | 8643 | |
11613 | =item Use of chdir('') or chdir(undef) as chdir() deprecated | |
11614 | ||
11615 | =begin original | |
11616 | ||
11617 | (D deprecated) chdir() with no arguments is documented to change to | |
11618 | $ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this | |
11619 | behavior, but that has been deprecated. In future versions they | |
11620 | will simply fail. | |
11621 | ||
11622 | =end original | |
11623 | ||
11624 | (D deprecated) 引数なしの chdir() は、$ENV{HOME} か $ENV{LOGDIR} に | |
11625 | 変更すると文書化されています。 | |
11626 | chdir(undef) と chdir('') も同じふるまいをしますが、これは非推奨です。 | |
11627 | 将来のバージョンでは単に失敗するでしょう。 | |
11628 | ||
11629 | =begin original | |
11630 | ||
11631 | Be careful to check that what you pass to chdir() is defined and not | |
11632 | blank, else you might find yourself in your home directory. | |
11633 | ||
11634 | =end original | |
11635 | ||
11636 | chdir() に渡すものが定義されていて、空白ではないことをチェックするように | |
11637 | 注意してください; さもないとホームディレクトリに | |
11638 | 移動してしまうかもしれません。 | |
11639 | ||
11640 | =item Use of /c modifier is meaningless in s/// | |
11641 | ||
11642 | =begin original | |
11643 | ||
11644 | (W regexp) You used the /c modifier in a substitution. The /c | |
11645 | modifier is not presently meaningful in substitutions. | |
11646 | ||
11647 | =end original | |
11648 | ||
11649 | (W regexp) 置換で /c 修飾子を使いました。 | |
11650 | /c は置換では現在のところ無意味です。 | |
11651 | ||
11652 | =item Use of /c modifier is meaningless without /g | |
11653 | ||
11654 | =begin original | |
11655 | ||
11656 | (W regexp) You used the /c modifier with a regex operand, but didn't | |
11657 | use the /g modifier. Currently, /c is meaningful only when /g is | |
11658 | used. (This may change in the future.) | |
11659 | ||
11660 | =end original | |
11661 | ||
11662 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は | |
11663 | 使いませんでした。 | |
11664 | 現在のところ、/c は /g が使われたときにのみ有効です。 | |
11665 | (これは将来変更されるかもしれません。) | |
11666 | ||
11667 | =item Use of := for an empty attribute list is deprecated | |
11668 | ||
11669 | =begin original | |
11670 | ||
11671 | (D deprecated) The construction C<my $x := 42> currently | |
11672 | parses correctly in perl, being equivalent to C<my $x : = 42> | |
11673 | (applying an empty attribute list to C<$x>). This useless | |
11674 | construct is now deprecated, so C<:=> can be reclaimed as a new | |
11675 | operator in the future. | |
11676 | ||
11677 | =end original | |
11678 | ||
11679 | (D deprecated) 構文 C<my $x := 42> は現在のところ perl は正しく | |
11680 | パースして、C<my $x : = 42> と等価です(C<$x> に空の属性リストを適用する)。 | |
11681 | この無意味な構文は廃止予定となったので、C<:=> は将来新しい演算子として | |
11682 | 再利用できます。 | |
11683 | ||
11684 | =item Use of freed value in iteration | |
11685 | ||
11686 | =begin original | |
11687 | ||
11688 | (F) Perhaps you modified the iterated array within the loop? | |
11689 | This error is typically caused by code like the following: | |
11690 | ||
11691 | =end original | |
11692 | ||
11693 | (F) おそらくループの中で反復される配列を変更したのでは? | |
11694 | このエラーは典型的には以下のようなコードで発生します: | |
11695 | ||
11696 | @a = (3,4); | |
11697 | @a = () for (1,2,@a); | |
11698 | ||
11699 | =begin original | |
11700 | ||
11701 | You are not supposed to modify arrays while they are being iterated over. | |
11702 | For speed and efficiency reasons, Perl internally does not do full | |
11703 | reference-counting of iterated items, hence deleting such an item in the | |
11704 | middle of an iteration causes Perl to see a freed value. | |
11705 | ||
11706 | =end original | |
11707 | ||
11708 | 反復中の配列は変更してはいけないことになっています。 | |
11709 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを | |
11710 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は | |
11711 | 解放された値を見ることになります。 | |
11712 | ||
11713 | =item Use of *glob{FILEHANDLE} is deprecated | |
11714 | ||
11715 | =begin original | |
11716 | ||
11717 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form | |
11718 | to access the filehandle slot within a typeglob. | |
11719 | ||
11720 | =end original | |
11721 | ||
11722 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 | |
11723 | より短い *glob{IO} の形を使うことを推奨されています。 | |
11724 | ||
11725 | =item Use of /g modifier is meaningless in split | |
11726 | ||
11727 | =begin original | |
11728 | ||
11729 | (W regexp) You used the /g modifier on the pattern for a C<split> | |
11730 | operator. Since C<split> always tries to match the pattern | |
11731 | repeatedly, the C</g> has no effect. | |
11732 | ||
11733 | =end original | |
11734 | ||
11735 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 | |
11736 | C<split> は常にパターンを繰り返しマッチングしようとするので、 | |
11737 | C</g> は効果がありません。 | |
11738 | ||
11739 | =item Use of "goto" to jump into a construct is deprecated | |
11740 | ||
11741 | =begin original | |
11742 | ||
11743 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
11744 | scope is deprecated and should be avoided. | |
11745 | ||
11746 | =end original | |
11747 | ||
11748 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を | |
11749 | 使うことは廃止予定であり、避けるべきです。 | |
11750 | ||
11751 | 8644 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated |
11752 | 8645 | |
11753 | 8646 | =begin original |
11754 | 8647 | |
11755 | 8648 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> subroutines |
11756 | 8649 | are looked up as methods (using the C<@ISA> hierarchy) even when the |
11757 | 8650 | subroutines to be autoloaded were called as plain functions (e.g. |
11758 | 8651 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< |
11759 | 8652 | $obj->bar() >>). |
11760 | 8653 | |
11761 | 8654 | =end original |
11762 | 8655 | |
11763 | 8656 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 |
11764 | 8657 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や |
11765 | 8658 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として |
11766 | 8659 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 |
11767 | 8660 | |
11768 | 8661 | =begin original |
11769 | 8662 | |
11770 | 8663 | This bug will be rectified in future by using method lookup only for |
11771 | 8664 | methods' C<AUTOLOAD>s. However, there is a significant base of existing |
11772 | 8665 | code that may be using the old behavior. So, as an interim step, Perl |
11773 | 8666 | currently issues an optional warning when non-methods use inherited |
11774 | 8667 | C<AUTOLOAD>s. |
11775 | 8668 | |
11776 | 8669 | =end original |
11777 | 8670 | |
11778 | 8671 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって |
11779 | 8672 | 将来修正される予定です。 |
11780 | 8673 | しかし、現在のコードの大部分は古い振る舞いを使っています。 |
11781 | 8674 | それで、暫定的なステップとして、Perl は現在のところは、 |
11782 | 8675 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を |
11783 | 8676 | 発生させます。 |
11784 | 8677 | |
11785 | 8678 | =begin original |
11786 | 8679 | |
11787 | 8680 | The simple rule is: Inheritance will not work when autoloading |
11788 | 8681 | non-methods. The simple fix for old code is: In any module that used |
11789 | 8682 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class |
11790 | 8683 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during |
11791 | 8684 | startup. |
11792 | 8685 | |
11793 | 8686 | =end original |
11794 | 8687 | |
11795 | 8688 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 |
11796 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前の | |
8689 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前のベースクラスから | |
11797 | 8690 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 |
11798 | 8691 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 |
11799 | 8692 | |
11800 | 8693 | =begin original |
11801 | 8694 | |
11802 | 8695 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> |
11803 | 8696 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to |
11804 | 8697 | C<use AutoLoader 'AUTOLOAD';>. |
11805 | 8698 | |
11806 | 8699 | =end original |
11807 | 8700 | |
11808 | 8701 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 |
11809 | 8702 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を |
11810 | 8703 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 |
11811 | 8704 | |
11812 | =item Use of octal value above 377 is deprecated | |
11813 | ||
11814 | =begin original | |
11815 | ||
11816 | (D deprecated, W regexp) There is a constant in the regular expression whose | |
11817 | value is interpeted by Perl as octal and larger than 377 (255 decimal, 0xFF | |
11818 | hex). Perl may take this to mean different things depending on the rest of | |
11819 | the regular expression. If you meant such an octal value, convert it to | |
11820 | hexadecimal and use C<\xHH> or C<\x{HH}> instead. If you meant to have | |
11821 | part of it mean a backreference, use C<\g> for that. See L<perlre>. | |
11822 | ||
11823 | =end original | |
11824 | ||
11825 | (D deprecated, W regexp) 正規表現に Perl が 8 進数で 377 (10 進で 255、 | |
11826 | 16 進で 0xFF) を超えると解釈される定数があります。 | |
11827 | Perl はこれを、正規表現の残りに依存して異なった意味に取ることがあります。 | |
11828 | これが 8 進数を意味しているなら、これを 16 進数に変換して、代わりに | |
11829 | C<\xHH> か C<\x{HH}> を使ってください。 | |
11830 | この一部が後方参照を意味しているなら、そのためには C<\g> を使ってください。 | |
11831 | L<perlre> を参照してください。 | |
11832 | ||
11833 | 8705 | =item Use of %s in printf format not supported |
11834 | 8706 | |
11835 | 8707 | =begin original |
11836 | 8708 | |
11837 | 8709 | (F) You attempted to use a feature of printf that is accessible from |
11838 | 8710 | only C. This usually means there's a better way to do it in Perl. |
11839 | 8711 | |
11840 | 8712 | =end original |
11841 | 8713 | |
11842 | 8714 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
11843 | 8715 | これは普通 Perl で行うより良い方法があります。 |
11844 | 8716 | |
11845 | =item Use of | |
8717 | =item Use of $* is deprecated | |
11846 | 8718 | |
11847 | 8719 | =begin original |
11848 | 8720 | |
11849 | (D deprecated) Th | |
8721 | (D deprecated) This variable magically turned on multi-line pattern | |
11850 | ||
8722 | matching, both for you and for any luckless subroutine that you happen | |
11851 | o | |
8723 | to call. You should use the new C<//m> and C<//s> modifiers now to do | |
8724 | that without the dangerous action-at-a-distance effects of C<$*>. | |
11852 | 8725 | |
11853 | 8726 | =end original |
11854 | 8727 | |
11855 | (D | |
8728 | (D) この変数は、自分のスクリプトでも、たまたま呼んだ先のサブルーティンでも、 | |
11856 | ||
8729 | 複数行のパターンマッチを有効にしてしまいます。 | |
8730 | C<$*> の離れたところに与える危険な影響を避けてこれを行なうために、 | |
8731 | 新しい C<//m> 修飾子と C<//s> 修飾子を使ってください。 | |
11857 | 8732 | |
11858 | =item Use of | |
8733 | =item Use of %s is deprecated | |
11859 | 8734 | |
11860 | 8735 | =begin original |
11861 | 8736 | |
11862 | ( | |
8737 | (D deprecated) The construct indicated is no longer recommended for use, | |
11863 | ||
8738 | generally because there's a better way to do it, and also because the | |
11864 | ||
8739 | old way has bad side effects. | |
11865 | 8740 | |
11866 | 8741 | =end original |
11867 | 8742 | |
11868 | ( | |
8743 | (D deprecated) 示した構文は、もはや使うことが推奨されません。 | |
11869 | ||
8744 | 一般にはもっと良い方法があるからであり、また古い方法は、悪い副作用が | |
11870 | ||
8745 | あるからです。 | |
11871 | この操作は C<undef> を返します。 | |
11872 | 代わりにファイル名を使ってください。 | |
11873 | 8746 | |
11874 | =item Use of | |
8747 | =item Use of $# is deprecated | |
11875 | 8748 | |
11876 | 8749 | =begin original |
11877 | 8750 | |
11878 | (D deprecated) | |
8751 | (D deprecated) This was an ill-advised attempt to emulate a poorly | |
11879 | na | |
8752 | defined B<awk> feature. Use an explicit printf() or sprintf() instead. | |
11880 | otherwise reasonable constructs to fail in baffling ways. C<use strict;> | |
11881 | instead. | |
11882 | 8753 | |
11883 | 8754 | =end original |
11884 | 8755 | |
11885 | (D deprecated) | |
8756 | (D deprecated) これは、貧相な awk の機能をエミュレートしようとする | |
11886 | ||
8757 | ものでした。 | |
11887 | ||
8758 | 代わりに、明示的に printf() や sprintf() を使ってください。 | |
11888 | 代わりに C<use strict;> を使ってください。 | |
11889 | 8759 | |
11890 | =item Use of reference "%s" as array index | |
11891 | ||
11892 | =begin original | |
11893 | ||
11894 | (W misc) You tried to use a reference as an array index; this probably | |
11895 | isn't what you mean, because references in numerical context tend | |
11896 | to be huge numbers, and so usually indicates programmer error. | |
11897 | ||
11898 | =end original | |
11899 | ||
11900 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく | |
11901 | 望んでいることではないでしょう; なぜなら数値コンテキストでの | |
11902 | リファレンスはとても大きな数になることが多いので、普通はプログラマの | |
11903 | ミスを意味しています。 | |
11904 | ||
11905 | =begin original | |
11906 | ||
11907 | If you really do mean it, explicitly numify your reference, like so: | |
11908 | C<$array[0+$ref]>. This warning is not given for overloaded objects, | |
11909 | either, because you can overload the numification and stringification | |
11910 | operators and then you assumably know what you are doing. | |
11911 | ||
11912 | =end original | |
11913 | ||
11914 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に | |
11915 | 数値化してください。 | |
11916 | この警告はオーバーロードされたオブジェクトでは発生しません; | |
11917 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると | |
11918 | 仮定できるからです。 | |
11919 | ||
11920 | 8760 | =item Use of reserved word "%s" is deprecated |
11921 | 8761 | |
11922 | 8762 | =begin original |
11923 | 8763 | |
11924 | 8764 | (D deprecated) The indicated bareword is a reserved word. Future |
11925 | 8765 | versions of perl may use it as a keyword, so you're better off either |
11926 | 8766 | explicitly quoting the word in a manner appropriate for its context of |
11927 | 8767 | use, or using a different name altogether. The warning can be |
11928 | 8768 | suppressed for subroutine names by either adding a C<&> prefix, or using |
11929 | 8769 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. |
11930 | 8770 | |
11931 | 8771 | =end original |
11932 | 8772 | |
11933 | 8773 | (D deprecated) 示されている裸の単語は予約語です。 |
11934 | 8774 | 将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、 |
11935 | 8775 | 使っているコンテキストに適した形で単語をクォートするか、違う名前を |
11936 | 8776 | 使ってください。 |
11937 | 8777 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 |
11938 | 8778 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 |
11939 | 8779 | |
11940 | =item Use of tainted arguments in %s is deprecated | |
11941 | ||
11942 | =begin original | |
11943 | ||
11944 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple | |
11945 | arguments and at least one of them is tainted. This used to be allowed | |
11946 | but will become a fatal error in a future version of perl. Untaint your | |
11947 | arguments. See L<perlsec>. | |
11948 | ||
11949 | =end original | |
11950 | ||
11951 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 | |
11952 | そのうち少なくとも一つが汚染されています。 | |
11953 | これは許されていましたが、将来のバージョンの perl では致命的エラーに | |
11954 | なるでしょう。 | |
11955 | 引数を浄化してください。 | |
11956 | L<perlsec> を参照してください。 | |
11957 | ||
11958 | 8780 | =item Use of uninitialized value%s |
11959 | 8781 | |
11960 | 8782 | =begin original |
11961 | 8783 | |
11962 | 8784 | (W uninitialized) An undefined value was used as if it were already |
11963 | 8785 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
11964 | 8786 | To suppress this warning assign a defined value to your variables. |
11965 | 8787 | |
11966 | 8788 | =end original |
11967 | 8789 | |
11968 | 8790 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
11969 | 8791 | 使用しました。 |
11970 | 8792 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
11971 | 8793 | この警告を止めるには、変数に定義された値を代入してください。 |
11972 | 8794 | |
11973 | 8795 | =begin original |
11974 | 8796 | |
11975 | To help you figure out what was undefined, perl | |
8797 | To help you figure out what was undefined, perl tells you what operation | |
11976 | ||
8798 | you used the undefined value in. Note, however, that perl optimizes your | |
11977 | ||
8799 | program and the operation displayed in the warning may not necessarily | |
11978 | ||
8800 | appear literally in your program. For example, C<"that $foo"> is | |
11979 | ||
8801 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
11980 | ||
8802 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
11981 | ||
8803 | program. | |
11982 | even though there is no C<.> in your program. | |
11983 | 8804 | |
11984 | 8805 | =end original |
11985 | 8806 | |
11986 | ||
8807 | To help you figure out what was undefined, perl tells you what operation | |
11987 | ||
8808 | you used the undefined value in. Note, however, that perl optimizes your | |
11988 | ||
8809 | program and the operation displayed in the warning may not necessarily | |
11989 | ||
8810 | appear literally in your program. For example, C<"that $foo"> is | |
11990 | ||
8811 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
11991 | ||
8812 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
11992 | ||
8813 | program. | |
11993 | 出ます。 | |
11994 | 8814 | |
11995 | =item Using a hash as a reference is deprecated | |
11996 | ||
11997 | =begin original | |
11998 | ||
11999 | (D deprecated) You tried to use a hash as a reference, as in | |
12000 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl <= 5.6.1 | |
12001 | used to allow this syntax, but shouldn't have. It is now deprecated, and will | |
12002 | be removed in a future version. | |
12003 | ||
12004 | =end original | |
12005 | ||
12006 | (D deprecated) C<< %foo->{"bar"} >> や C<< %$ref->{"hello"} >> の形で、 | |
12007 | ハッシュをリファレンスとして使おうとしました。 | |
12008 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 | |
12009 | そうするべきではありません。 | |
12010 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
12011 | ||
12012 | =item Using an array as a reference is deprecated | |
12013 | ||
12014 | =begin original | |
12015 | ||
12016 | (D deprecated) You tried to use an array as a reference, as in | |
12017 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to | |
12018 | allow this syntax, but shouldn't have. It is now deprecated, and will be | |
12019 | removed in a future version. | |
12020 | ||
12021 | =end original | |
12022 | ||
12023 | (D deprecated) C<< @foo->[23] >> や C<< @$ref->[99] >> の形で、 | |
12024 | 配列をリファレンスとして使おうとしました。 | |
12025 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 | |
12026 | そうするべきではありません。 | |
12027 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
12028 | ||
12029 | =item Using just the first character returned by \N{} in character class | |
12030 | ||
12031 | =begin original | |
12032 | ||
12033 | (W) A charnames handler may return a sequence of more than one character. | |
12034 | Currently all but the first one are discarded when used in a regular | |
12035 | expression pattern bracketed character class. | |
12036 | ||
12037 | =end original | |
12038 | ||
12039 | (W) charnames ハンドラが複数の文字の並びを返すことがあります。 | |
12040 | 正規表現パターン大かっこ文字クラスで使われるときには、現在のところ | |
12041 | 最初のもの以外は捨てられます。 | |
12042 | ||
12043 | =item Using just the first characters returned by \N{} | |
12044 | ||
12045 | =begin original | |
12046 | ||
12047 | (W) A charnames handler may return a sequence of characters. There is a finite | |
12048 | limit as to the number of characters that can be used, which this sequence | |
12049 | exceeded. In the message, the characters in the sequence are separated by | |
12050 | dots, and each is shown by its ordinal in hex. Anything to the left of the | |
12051 | C<HERE> was retained; anything to the right was discarded. | |
12052 | ||
12053 | =end original | |
12054 | ||
12055 | (W) charnames ハンドラが文字の並びを返すことがあります。 | |
12056 | 使える文字並びの数には有限の制限がありますが、この並びは超えました。 | |
12057 | このメッセージで、並びの文字はドットで区切られ、それぞれは 16 進数で | |
12058 | 表示されます。 | |
12059 | C<HERE> の左側のものはそのままです; 右側は捨てられます。 | |
12060 | ||
12061 | =item UTF-16 surrogate %s | |
12062 | ||
12063 | =begin original | |
12064 | ||
12065 | (W utf8) You tried to generate half of a UTF-16 surrogate by | |
12066 | requesting a Unicode character between the code points 0xD800 and | |
12067 | 0xDFFF (inclusive). That range is reserved exclusively for the use of | |
12068 | UTF-16 encoding (by having two 16-bit UCS-2 characters); but Perl | |
12069 | encodes its characters in UTF-8, so what you got is a very illegal | |
12070 | character. If you really really know what you are doing you can turn off | |
12071 | this warning by C<no warnings 'utf8';>. | |
12072 | ||
12073 | =end original | |
12074 | ||
12075 | (W utf8) コードポイントが 0xD800 から 0xDFFF までの Unicode 文字を | |
12076 | 要求することで UTF-16 サロゲートの半分を生成しようとしました。 | |
12077 | この範囲は UTF-16 エンコーディングのために(二つの 16 ビット UCS-2 文字を | |
12078 | 持つことで)予約されています; しかし Perl はこの文字を UTF-8 で | |
12079 | エンコードするので、得られるものは不正な文字となります。 | |
12080 | 何をしているのか分かっている場合は、C<no warnings 'utf8';> と | |
12081 | することで警告を消すことができます。 | |
12082 | ||
12083 | 8815 | =item Value of %s can be "0"; test with defined() |
12084 | 8816 | |
12085 | 8817 | =begin original |
12086 | 8818 | |
12087 | 8819 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
12088 | 8820 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
12089 | 8821 | can return a value of "0"; that would make the conditional expression |
12090 | 8822 | false, which is probably not what you intended. When using these |
12091 | 8823 | constructs in conditional expressions, test their values with the |
12092 | 8824 | C<defined> operator. |
12093 | 8825 | |
12094 | 8826 | =end original |
12095 | 8827 | |
12096 | 8828 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
12097 | 8829 | 真偽値として使いました。 |
12098 | 8830 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
12099 | 8831 | これはおそらく望んでいることではないでしょう。 |
12100 | 8832 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
12101 | 8833 | テストしてください。 |
12102 | 8834 | |
12103 | 8835 | =item Value of CLI symbol "%s" too long |
12104 | 8836 | |
12105 | 8837 | =begin original |
12106 | 8838 | |
12107 | 8839 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
12108 | 8840 | %ENV element from a CLI symbol table, and found a resultant string |
12109 | 8841 | longer than 1024 characters. The return value has been truncated to |
12110 | 8842 | 1024 characters. |
12111 | 8843 | |
12112 | 8844 | =end original |
12113 | 8845 | |
12114 | (W misc) VMS | |
8846 | (W misc) VMS 固有の警告です。 | |
12115 | 8847 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
12116 | 8848 | 結果の文字列が 1024 文字を越えました。 |
12117 | 8849 | 返り値は 1024 文字に切り詰められます。 |
12118 | 8850 | |
12119 | =item Variable "%s" is not | |
8851 | =item Variable "%s" is not imported%s | |
12120 | 8852 | |
12121 | 8853 | =begin original |
12122 | 8854 | |
12123 | ( | |
8855 | (F) While "use strict" in effect, you referred to a global variable that | |
12124 | ||
8856 | you apparently thought was imported from another module, because | |
12125 | ||
8857 | something else of the same name (usually a subroutine) is exported by | |
12126 | d | |
8858 | that module. It usually means you put the wrong funny character on the | |
12127 | ||
8859 | front of your variable. | |
12128 | subs are created at run-time.) For example, | |
12129 | 8860 | |
12130 | 8861 | =end original |
12131 | 8862 | |
12132 | ( | |
8863 | (F) "use strict" が有効のときに、見たところ他のモジュールから | |
12133 | ||
8864 | インポートされたとあなたが考えたグローバル変数を参照しました; | |
12134 | ||
8865 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから | |
12135 | ||
8866 | エクスポートされています。 | |
12136 | ||
8867 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 | |
12137 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
12138 | 実行時に作成されることを思い出してください。) | |
12139 | 例えば、 | |
12140 | 8868 | |
12141 | | |
8869 | =item "%s" variable %s masks earlier declaration in same %s | |
12142 | 8870 | |
12143 | 8871 | =begin original |
12144 | 8872 | |
12145 | A | |
8873 | (W misc) A "my" or "our" variable has been redeclared in the current | |
12146 | s | |
8874 | scope or statement, effectively eliminating all access to the previous | |
12147 | t | |
8875 | instance. This is almost always a typographical error. Note that the | |
12148 | ||
8876 | earlier variable will still exist until the end of the scope or until | |
8877 | all closure referents to it are destroyed. | |
12149 | 8878 | |
12150 | 8879 | =end original |
12151 | 8880 | |
12152 | ||
8881 | (W misc) 現在のスコープや文で "my" 変数や "our" 変数が再宣言されたので、 | |
12153 | な | |
8882 | 以前の実体への全てのアクセスができなくなりました。 | |
12154 | ||
8883 | これはほとんどの場合タイプミスです。 | |
12155 | ||
8884 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
8885 | 破壊されるまでは存在し続けることに注意してください。 | |
12156 | 8886 | |
12157 | | |
8887 | =item Variable "%s" may be unavailable | |
12158 | 8888 | |
12159 | 8889 | =begin original |
12160 | 8890 | |
12161 | ||
8891 | (W closure) An inner (nested) I<anonymous> subroutine is inside a | |
12162 | ||
8892 | I<named> subroutine, and outside that is another subroutine; and the | |
8893 | anonymous (innermost) subroutine is referencing a lexical variable | |
8894 | defined in the outermost subroutine. For example: | |
12163 | 8895 | |
12164 | 8896 | =end original |
12165 | 8897 | |
12166 | ||
8898 | (W closure) 内部の(ネストした) I<無名> サブルーチンが I<名前つき> | |
8899 | サブルーチンの内側にあり、その外側は別のサブルーチンです; | |
8900 | そして無名の(一番内側の)サブルーチンが一番外側のサブルーチンで | |
8901 | 定義されているレキシカル変数で参照されています。 | |
12167 | 8902 | 例えば: |
12168 | 8903 | |
12169 | sub | |
8904 | sub outermost { my $a; sub middle { sub { $a } } } | |
12170 | my $a; | |
12171 | sub { eval '$a' } | |
12172 | } | |
12173 | f()->(); | |
12174 | 8905 | |
12175 | 8906 | =begin original |
12176 | 8907 | |
12177 | ||
8908 | If the anonymous subroutine is called or referenced (directly or | |
12178 | e | |
8909 | indirectly) from the outermost subroutine, it will share the variable as | |
8910 | you would expect. But if the anonymous subroutine is called or | |
8911 | referenced when the outermost subroutine is not active, it will see the | |
8912 | value of the shared variable as it was before and during the *first* | |
8913 | call to the outermost subroutine, which is probably not what you want. | |
12179 | 8914 | |
12180 | 8915 | =end original |
12181 | 8916 | |
12182 | ||
8917 | 無名サブルーチンが一番外側のサブルーチンから呼び出されるか(直接または | |
12183 | ||
8918 | 間接に)リファレンスされたとき、予想通りに変数は共有されます。 | |
8919 | しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり | |
8920 | リファレンスされたりすると、共有された変数の値は一番外側のサブルーチンへの | |
8921 | 最初の呼び出し前および呼び出し中のものになります; | |
8922 | これはおそらく望んでいることではないでしょう。 | |
12184 | 8923 | |
12185 | =item Variable "%s" is not imported%s | |
12186 | ||
12187 | 8924 | =begin original |
12188 | 8925 | |
12189 | ||
8926 | In these circumstances, it is usually best to make the middle subroutine | |
12190 | you | |
8927 | anonymous, using the C<sub {}> syntax. Perl has specific support for | |
12191 | s | |
8928 | shared variables in nested anonymous subroutines; a named subroutine in | |
12192 | t | |
8929 | between interferes with this feature. | |
12193 | front of your variable. | |
12194 | 8930 | |
12195 | 8931 | =end original |
12196 | 8932 | |
12197 | ||
8933 | このような状況では、普通は C<sub {}> 構文を使って、サブルーチン middle を | |
12198 | ||
8934 | 無名にするのが最良です。 | |
12199 | ||
8935 | Perl はネストした無名サブルーチンで変数を共有する機能をサポートしています; | |
12200 | ||
8936 | この機能のインターフェースの間の名前付きサブルーチンです。 | |
12201 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 | |
12202 | 8937 | |
12203 | =item Variable length lookbehind not implemented in m/%s/ | |
12204 | ||
12205 | =begin original | |
12206 | ||
12207 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
12208 | known at compile time. See L<perlre>. | |
12209 | ||
12210 | =end original | |
12211 | ||
12212 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
12213 | L<perlre> を参照してください。 | |
12214 | ||
12215 | =item "%s" variable %s masks earlier declaration in same %s | |
12216 | ||
12217 | =begin original | |
12218 | ||
12219 | (W misc) A "my", "our" or "state" variable has been redeclared in the current | |
12220 | scope or statement, effectively eliminating all access to the previous | |
12221 | instance. This is almost always a typographical error. Note that the | |
12222 | earlier variable will still exist until the end of the scope or until | |
12223 | all closure referents to it are destroyed. | |
12224 | ||
12225 | =end original | |
12226 | ||
12227 | (W misc) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
12228 | 以前の実体への全てのアクセスができなくなりました。 | |
12229 | これはほとんどの場合タイプミスです。 | |
12230 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
12231 | 破壊されるまでは存在し続けることに注意してください。 | |
12232 | ||
12233 | 8938 | =item Variable syntax |
12234 | 8939 | |
12235 | 8940 | =begin original |
12236 | 8941 | |
12237 | 8942 | (A) You've accidentally run your script through B<csh> instead |
12238 | 8943 | of Perl. Check the #! line, or manually feed your script into |
12239 | 8944 | Perl yourself. |
12240 | 8945 | |
12241 | 8946 | =end original |
12242 | 8947 | |
12243 | 8948 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
12244 | 8949 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
12245 | 8950 | |
12246 | 8951 | =item Variable "%s" will not stay shared |
12247 | 8952 | |
12248 | 8953 | =begin original |
12249 | 8954 | |
12250 | 8955 | (W closure) An inner (nested) I<named> subroutine is referencing a |
12251 | lexical variable defined in an outer | |
8956 | lexical variable defined in an outer subroutine. | |
12252 | 8957 | |
12253 | 8958 | =end original |
12254 | 8959 | |
12255 | 8960 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
12256 | 外側の | |
8961 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 | |
12257 | 8962 | |
12258 | 8963 | =begin original |
12259 | 8964 | |
12260 | When the inner subroutine is called, it will see the value of | |
8965 | When the inner subroutine is called, it will probably see the value of | |
12261 | 8966 | the outer subroutine's variable as it was before and during the *first* |
12262 | 8967 | call to the outer subroutine; in this case, after the first call to the |
12263 | 8968 | outer subroutine is complete, the inner and outer subroutines will no |
12264 | 8969 | longer share a common value for the variable. In other words, the |
12265 | 8970 | variable will no longer be shared. |
12266 | 8971 | |
12267 | 8972 | =end original |
12268 | 8973 | |
12269 | 内側のサブルーチンが呼び出された時、外側のサブルーチンの値は、 | |
8974 | 内側のサブルーチンが呼び出された時、おそらく外側のサブルーチンの値は、 | |
12270 | サブルーチンへの呼び出し前および呼び出し中のものになります; | |
8975 | 最初の外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
12271 | 8976 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と |
12272 | 8977 | 外側のサブルーチンは変数に関して同じ値を共有しなくなります。 |
12273 | 8978 | 言い換えると、変数はもはや共有されません。 |
12274 | 8979 | |
12275 | 8980 | =begin original |
12276 | 8981 | |
8982 | Furthermore, if the outer subroutine is anonymous and references a | |
8983 | lexical variable outside itself, then the outer and inner subroutines | |
8984 | will I<never> share the given variable. | |
8985 | ||
8986 | =end original | |
8987 | ||
8988 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を | |
8989 | 参照している場合、外側と内側のサブルーチンは与えられた変数は | |
8990 | 共有 I<しません>。 | |
8991 | ||
8992 | =begin original | |
8993 | ||
12277 | 8994 | This problem can usually be solved by making the inner subroutine |
12278 | 8995 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
12279 | reference variables in outer subroutines are cre | |
8996 | reference variables in outer subroutines are called or referenced, they | |
12280 | 8997 | are automatically rebound to the current values of such variables. |
12281 | 8998 | |
12282 | 8999 | =end original |
12283 | 9000 | |
12284 | 9001 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
12285 | 9002 | 解決します。 |
12286 | 9003 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
12287 | ||
9004 | 呼び出されたり参照されたとき、これらはそのような変数の現在の値に | |
9005 | 自動的に回復します。 | |
12288 | 9006 | |
12289 | =item V | |
9007 | =item Variable length lookbehind not implemented before << HERE in %s | |
12290 | 9008 | |
12291 | 9009 | =begin original |
12292 | 9010 | |
12293 | (F) | |
9011 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
12294 | o | |
9012 | known at compile time. The << HERE shows in the regular expression about where | |
9013 | the problem was discovered. | |
12295 | 9014 | |
12296 | 9015 | =end original |
12297 | 9016 | |
12298 | (F) | |
9017 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
12299 | ||
9018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12300 | 9019 | |
12301 | =item Verb pattern '%s' may not have an argument in regex; marked by <-- HERE in m/%s/ | |
12302 | ||
12303 | =begin original | |
12304 | ||
12305 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
12306 | argument or check that you are using the right verb. | |
12307 | ||
12308 | =end original | |
12309 | ||
12310 | (F) 引き数が認められていない動詞パターンを使いました。 | |
12311 | 引き数を削除するか、正しい動詞を使ってください。 | |
12312 | ||
12313 | 9020 | =item Version number must be a constant number |
12314 | 9021 | |
12315 | 9022 | =begin original |
12316 | 9023 | |
12317 | 9024 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
12318 | 9025 | its equivalent C<BEGIN> block found an internal inconsistency with |
12319 | 9026 | the version number. |
12320 | 9027 | |
12321 | 9028 | =end original |
12322 | 9029 | |
12323 | 9030 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
12324 | 9031 | したときに、バージョン番号について内部の不整合を発見しました。 |
12325 | 9032 | |
12326 | =item Version string '%s' contains invalid data; ignoring: '%s' | |
12327 | ||
12328 | =begin original | |
12329 | ||
12330 | (W misc) The version string contains invalid characters at the end, which | |
12331 | are being ignored. | |
12332 | ||
12333 | =end original | |
12334 | ||
12335 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は | |
12336 | 無視されます。 | |
12337 | ||
12338 | 9033 | =item Warning: something's wrong |
12339 | 9034 | |
12340 | 9035 | =begin original |
12341 | 9036 | |
12342 | 9037 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
12343 | you called it with no args and C<$ | |
9038 | you called it with no args and C<$_> was empty. | |
12344 | 9039 | |
12345 | 9040 | =end original |
12346 | 9041 | |
12347 | 9042 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
12348 | 引数なしで呼び出され、C<$ | |
9043 | 引数なしで呼び出され、C<$_> も空でした。 | |
12349 | 9044 | |
12350 | 9045 | =item Warning: unable to close filehandle %s properly |
12351 | 9046 | |
12352 | 9047 | =begin original |
12353 | 9048 | |
12354 | 9049 | (S) The implicit close() done by an open() got an error indication on |
12355 | 9050 | the close(). This usually indicates your file system ran out of disk |
12356 | 9051 | space. |
12357 | 9052 | |
12358 | 9053 | =end original |
12359 | 9054 | |
12360 | 9055 | (S) open() によって暗黙のうちに行なわれる close() が、 |
12361 | 9056 | close() のエラーとなりました。 |
12362 | 9057 | 通常、ファイルシステムがいっぱいであることを示します。 |
12363 | 9058 | |
12364 | 9059 | =item Warning: Use of "%s" without parentheses is ambiguous |
12365 | 9060 | |
12366 | 9061 | =begin original |
12367 | 9062 | |
12368 | 9063 | (S ambiguous) You wrote a unary operator followed by something that |
12369 | 9064 | looks like a binary operator that could also have been interpreted as a |
12370 | 9065 | term or unary operator. For instance, if you know that the rand |
12371 | 9066 | function has a default argument of 1.0, and you write |
12372 | 9067 | |
12373 | 9068 | =end original |
12374 | 9069 | |
12375 | 9070 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
12376 | 9071 | 二項演算子のようなものが置かれました。 |
12377 | 9072 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
12378 | 9073 | いれば、以下のように書いて: |
12379 | 9074 | |
12380 | 9075 | rand + 5; |
12381 | 9076 | |
12382 | 9077 | =begin original |
12383 | 9078 | |
12384 | 9079 | you may THINK you wrote the same thing as |
12385 | 9080 | |
12386 | 9081 | =end original |
12387 | 9082 | |
12388 | 9083 | 以下の同じことと思うかもしれませんが: |
12389 | 9084 | |
12390 | 9085 | rand() + 5; |
12391 | 9086 | |
12392 | 9087 | =begin original |
12393 | 9088 | |
12394 | 9089 | but in actual fact, you got |
12395 | 9090 | |
12396 | 9091 | =end original |
12397 | 9092 | |
12398 | 9093 | 実際には以下のようになります: |
12399 | 9094 | |
12400 | 9095 | rand(+5); |
12401 | 9096 | |
12402 | 9097 | =begin original |
12403 | 9098 | |
12404 | 9099 | So put in parentheses to say what you really mean. |
12405 | 9100 | |
12406 | 9101 | =end original |
12407 | 9102 | |
12408 | したがって、思うように解釈させるには、 | |
9103 | したがって、思うように解釈させるには、括弧が必要になります。 | |
12409 | 9104 | |
12410 | 9105 | =item Wide character in %s |
12411 | 9106 | |
12412 | 9107 | =begin original |
12413 | 9108 | |
12414 | ( | |
9109 | (F) Perl met a wide character (>255) when it wasn't expecting one. | |
12415 | one. This warning is by default on for I/O (like print). The easiest | |
12416 | way to quiet this warning is simply to add the C<:utf8> layer to the | |
12417 | output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the | |
12418 | warning is to add C<no warnings 'utf8';> but that is often closer to | |
12419 | cheating. In general, you are supposed to explicitly mark the | |
12420 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. | |
12421 | 9110 | |
12422 | 9111 | =end original |
12423 | 9112 | |
12424 | ( | |
9113 | (F) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 | |
12425 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
12426 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
12427 | 出力に単に C<:utf8> 層を追加することです。 | |
12428 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
12429 | しばしばいかさまに近い方法です。 | |
12430 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに | |
12431 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 | |
12432 | 9114 | |
12433 | =item | |
9115 | =item write() on closed filehandle %s | |
12434 | 9116 | |
12435 | 9117 | =begin original |
12436 | 9118 | |
12437 | ( | |
9119 | (W closed) The filehandle you're writing to got itself closed sometime | |
12438 | ||
9120 | before now. Check your logic flow. | |
12439 | determined from the template alone. This is not possible if it contains an | |
12440 | of the codes @, /, U, u, w or a *-length. Redesign the template. | |
12441 | 9121 | |
12442 | 9122 | =end original |
12443 | 9123 | |
12444 | ( | |
9124 | (W) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
12445 | ||
9125 | 論理フローをチェックしてください。 | |
12446 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 | |
12447 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 | |
12448 | テンプレートを再設計してください。 | |
12449 | 9126 | |
12450 | =item | |
9127 | =item X outside of string | |
12451 | 9128 | |
12452 | 9129 | =begin original |
12453 | 9130 | |
12454 | ( | |
9131 | (F) You had a pack template that specified a relative position before | |
12455 | be | |
9132 | the beginning of the string being unpacked. See L<perlfunc/pack>. | |
12456 | 9133 | |
12457 | 9134 | =end original |
12458 | 9135 | |
12459 | ( | |
9136 | (F) unpack している文字列の先頭より前の相対位置を示している | |
12460 | ||
9137 | pack テンプレートを指定しました。 | |
9138 | L<perlfunc/pack> を参照してください。 | |
12461 | 9139 | |
12462 | =item | |
9140 | =item x outside of string | |
12463 | 9141 | |
12464 | 9142 | =begin original |
12465 | 9143 | |
12466 | ||
9144 | (F) You had a pack template that specified a relative position after | |
12467 | ||
9145 | the end of the string being unpacked. See L<perlfunc/pack>. | |
12468 | this encoding, for example | |
12469 | 9146 | |
12470 | 9147 | =end original |
12471 | 9148 | |
12472 | ||
9149 | (F) unpack している文字列の最後より後の相対位置を示している | |
12473 | ||
9150 | pack テンプレートを指定しました。 | |
12474 | ||
9151 | L<perlfunc/pack> を参照してください。 | |
12475 | 9152 | |
12476 | | |
9153 | =item Xsub "%s" called in sort | |
12477 | 9154 | |
12478 | 9155 | =begin original |
12479 | 9156 | |
12480 | ||
9157 | (F) The use of an external subroutine as a sort comparison is not yet | |
9158 | supported. | |
12481 | 9159 | |
12482 | 9160 | =end original |
12483 | 9161 | |
12484 | ||
9162 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
9163 | まだサポートされていません。 | |
12485 | 9164 | |
12486 | =item | |
9165 | =item Xsub called in sort | |
12487 | 9166 | |
12488 | 9167 | =begin original |
12489 | 9168 | |
12490 | (F) | |
9169 | (F) The use of an external subroutine as a sort comparison is not yet | |
12491 | ||
9170 | supported. | |
12492 | 9171 | |
12493 | 9172 | =end original |
12494 | 9173 | |
12495 | (F) | |
9174 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
12496 | ||
9175 | まだサポートされていません。 | |
12497 | L<perlfunc/pack> を参照してください。 | |
12498 | 9176 | |
12499 | =item | |
9177 | =item You can't use C<-l> on a filehandle | |
12500 | 9178 | |
12501 | 9179 | =begin original |
12502 | 9180 | |
12503 | (F) | |
9181 | (F) A filehandle represents an opened file, and when you opened the file | |
12504 | t | |
9182 | it already went past any symlink you are presumably trying to look for. | |
9183 | Use a filename instead. | |
12505 | 9184 | |
12506 | 9185 | =end original |
12507 | 9186 | |
12508 | (F) | |
9187 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
12509 | ||
9188 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
12510 | ||
9189 | 既に通り過ぎた後です。 | |
9190 | 代わりにファイル名を使ってください。 | |
12511 | 9191 | |
12512 | 9192 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
12513 | 9193 | |
12514 | 9194 | =begin original |
12515 | 9195 | |
12516 | 9196 | (F) And you probably never will, because you probably don't have the |
12517 | 9197 | sources to your kernel, and your vendor probably doesn't give a rip |
12518 | about what you want. Your best bet is to | |
9198 | about what you want. Your best bet is to use the wrapsuid script in the | |
12519 | your script. | |
9199 | eg directory to put a setuid C wrapper around your script. | |
12520 | 9200 | |
12521 | 9201 | =end original |
12522 | 9202 | |
12523 | (F) | |
9203 | (F) (このカーネルでは、SET-ID スクリプトが禁止されていません!) | |
12524 | ||
9204 | そして、そうすることはできないでしょう。 カーネルのソースはお持ちでは | |
12525 | くれないでしょうから。 | |
9205 | ないでしょうし、ベンダも欲しいものを提供してはくれないでしょうから。 | |
12526 | もっとも良いのは、スクリプトに setuid C ラッパーを被せる | |
9206 | もっとも良いのは、スクリプトに setuid C ラッパーを被せるために、 | |
9207 | eg ディレクトリの wrapsuid スクリプトを使ってみることです。 | |
12527 | 9208 | |
12528 | 9209 | =item You need to quote "%s" |
12529 | 9210 | |
12530 | 9211 | =begin original |
12531 | 9212 | |
12532 | 9213 | (W syntax) You assigned a bareword as a signal handler name. |
12533 | 9214 | Unfortunately, you already have a subroutine of that name declared, |
12534 | 9215 | which means that Perl 5 will try to call the subroutine when the |
12535 | 9216 | assignment is executed, which is probably not what you want. (If it IS |
12536 | 9217 | what you want, put an & in front.) |
12537 | 9218 | |
12538 | 9219 | =end original |
12539 | 9220 | |
12540 | 9221 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
12541 | 残念ながら、そのサブルー | |
9222 | 残念ながら、そのサブルーティンは既に宣言されていて、Perl 5 では、 | |
12542 | おそらく思惑とは違って、代入の実行時にサブルー | |
9223 | おそらく思惑とは違って、代入の実行時にサブルーティンの呼び出しが起こります。 | |
12543 | (もし、本当にそうしたいのであれば、サブルー | |
9224 | (もし、本当にそうしたいのであれば、サブルーティン名に & を付けてください。) | |
12544 | 9225 | |
12545 | =item Your random numbers are not that random | |
12546 | ||
12547 | =begin original | |
12548 | ||
12549 | (F) When trying to initialise the random seed for hashes, Perl could | |
12550 | not get any randomness out of your system. This usually indicates | |
12551 | Something Very Wrong. | |
12552 | ||
12553 | =end original | |
12554 | ||
12555 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから | |
12556 | 何の乱数性も得られませんでした。 | |
12557 | これは普通「何かとても具合が悪い」ことを示しています。 | |
12558 | ||
12559 | 9226 | =back |
12560 | 9227 | |
12561 | =head1 SEE ALSO | |
12562 | ||
12563 | L<warnings>, L<perllexwarn>. | |
12564 | ||
12565 | 9228 | =begin meta |
12566 | 9229 | |
12567 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
9230 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
12568 | Update: | |
9231 | Update: Kentaro Shirakata <argrath@ub32.org> | |
12569 | ||
9232 | License: GPL or Artistic | |
12570 | 9233 | |
12571 | 9234 | =end meta |
12572 | 9235 | |
12573 | 9236 | =cut |