perldiag >
5.18.1
との差分
perldiag 5.18.1 と 5.16.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 | 29 | (D) A deprecation (enabled by default). |
30 | 30 | (S) A severe warning (enabled by default). |
31 | 31 | (F) A fatal error (trappable). |
32 | 32 | (P) An internal error you should never see (trappable). |
33 | 33 | (X) A very fatal error (nontrappable). |
34 | 34 | (A) An alien error message (not generated by Perl). |
35 | 35 | |
36 | 36 | =end original |
37 | 37 | |
38 | 38 | (W) 警告 (オプション)。 |
39 | 39 | (D) 非推奨 (デフォルトでは有効)。 |
40 | 40 | (S) 重大な警告 (デフォルトでは有効)。 |
41 | 41 | (F) 致命的エラー (トラップ可能)。 |
42 | 42 | (P) 起こるはずのない内部エラー (トラップ可能)。 |
43 | 43 | (X) 重大致命的エラー (トラップ不可能)。 |
44 | 44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの)。 |
45 | 45 | |
46 | 46 | =begin original |
47 | 47 | |
48 | 48 | The majority of messages from the first three classifications above |
49 | 49 | (W, D & S) can be controlled using the C<warnings> pragma. |
50 | 50 | |
51 | 51 | =end original |
52 | 52 | |
53 | 53 | 上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は |
54 | 54 | C<warings> プラグマで制御できます。 |
55 | 55 | |
56 | 56 | =begin original |
57 | 57 | |
58 | 58 | If a message can be controlled by the C<warnings> pragma, its warning |
59 | 59 | category is included with the classification letter in the description |
60 | below. | |
60 | below. | |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | 64 | メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の |
65 | 65 | 説明で分類文字と共に記されています。 |
66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
67 | 66 | |
68 | 67 | =begin original |
69 | 68 | |
70 | 69 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
71 | 70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> |
72 | 71 | to a reference to a routine that will be called on each warning instead |
73 | 72 | of printing it. See L<perlvar>. |
74 | 73 | |
75 | 74 | =end original |
76 | 75 | |
77 | 76 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
78 | 77 | 有効になります。 |
79 | 78 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
80 | 79 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
81 | 80 | L<perlvar> を参照してください。 |
82 | 81 | |
83 | 82 | =begin original |
84 | 83 | |
85 | 84 | Severe warnings are always enabled, unless they are explicitly disabled |
86 | 85 | with the C<warnings> pragma or the B<-X> switch. |
87 | 86 | |
88 | 87 | =end original |
89 | 88 | |
90 | 89 | C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、 |
91 | 90 | 厳しい警告は常に有効です。 |
92 | 91 | |
93 | 92 | =begin original |
94 | 93 | |
95 | 94 | Trappable errors may be trapped using the eval operator. See |
96 | 95 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
97 | 96 | disabled or promoted to fatal errors using the C<warnings> pragma. |
98 | 97 | See L<warnings>. |
99 | 98 | |
100 | 99 | =end original |
101 | 100 | |
102 | 101 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
103 | 102 | L<perlfunc/eval> を参照してください。 |
104 | 103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に |
105 | 104 | 無効にしたり致命的エラーに昇格させたりできます。 |
106 | 105 | L<warnings> を参照してください。 |
107 | 106 | |
108 | 107 | =begin original |
109 | 108 | |
110 | 109 | The messages are in alphabetical order, without regard to upper or |
111 | 110 | lower-case. Some of these messages are generic. Spots that vary are |
112 | 111 | denoted with a %s or other printf-style escape. These escapes are |
113 | 112 | ignored by the alphabetical order, as are all characters other than |
114 | 113 | letters. To look up your message, just ignore anything that is not a |
115 | 114 | letter. |
116 | 115 | |
117 | 116 | =end original |
118 | 117 | |
119 | 118 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
120 | 119 | これらの中には一般的なものもあります。 |
121 | 120 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
122 | 121 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
123 | 122 | 無視されています。 |
124 | 123 | メッセージを探すには、英文字以外は無視してください。 |
125 | 124 | |
126 | 125 | =over 4 |
127 | 126 | |
128 | 127 | =item accept() on closed socket %s |
129 | 128 | |
130 | 129 | =begin original |
131 | 130 | |
132 | 131 | (W closed) You tried to do an accept on a closed socket. Did you forget |
133 | 132 | to check the return value of your socket() call? See |
134 | 133 | L<perlfunc/accept>. |
135 | 134 | |
136 | 135 | =end original |
137 | 136 | |
138 | 137 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
139 | 138 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
140 | 139 | L<perlfunc/accept> を参照してください。 |
141 | 140 | |
142 | 141 | =item Allocation too large: %x |
143 | 142 | |
144 | 143 | =begin original |
145 | 144 | |
146 | 145 | (X) You can't allocate more than 64K on an MS-DOS machine. |
147 | 146 | |
148 | 147 | =end original |
149 | 148 | |
150 | 149 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
151 | 150 | |
152 | 151 | =item '%c' allowed only after types %s |
153 | 152 | |
154 | 153 | =begin original |
155 | 154 | |
156 | 155 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only |
157 | 156 | after certain types. See L<perlfunc/pack>. |
158 | 157 | |
159 | 158 | =end original |
160 | 159 | |
161 | 160 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの |
162 | 161 | 後にのみつけることができます。 |
163 | 162 | L<perlfunc/pack> を参照してください。 |
164 | 163 | |
165 | 164 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
166 | 165 | |
167 | 166 | =begin original |
168 | 167 | |
169 | 168 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
170 | 169 | keyword, and you have used the name without qualification for calling |
171 | 170 | one or the other. Perl decided to call the builtin because the |
172 | 171 | subroutine is not imported. |
173 | 172 | |
174 | 173 | =end original |
175 | 174 | |
176 | 175 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
177 | 176 | どちらかを呼び出すために修飾なしで名前を使っています。 |
178 | 177 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを |
179 | 178 | 呼び出すことにしました。 |
180 | 179 | |
181 | 180 | =begin original |
182 | 181 | |
183 | 182 | To force interpretation as a subroutine call, either put an ampersand |
184 | 183 | before the subroutine name, or qualify the name with its package. |
185 | 184 | Alternatively, you can import the subroutine (or pretend that it's |
186 | 185 | imported with the C<use subs> pragma). |
187 | 186 | |
188 | 187 | =end original |
189 | 188 | |
190 | 189 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の |
191 | 190 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 |
192 | 191 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
193 | 192 | プラグマを使ってインポートされたふりをする)方法もあります。 |
194 | 193 | |
195 | 194 | =begin original |
196 | 195 | |
197 | 196 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
198 | 197 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine |
199 | 198 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
200 | 199 | L<attributes>). |
201 | 200 | |
202 | 201 | =end original |
203 | 202 | |
204 | 203 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
205 | 204 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
206 | 205 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
207 | 206 | 参照してください)として定義してください。 |
208 | 207 | |
209 | 208 | =item Ambiguous range in transliteration operator |
210 | 209 | |
211 | 210 | =begin original |
212 | 211 | |
213 | 212 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at |
214 | 213 | all. To include a C<-> character in a transliteration, put it either |
215 | 214 | first or last. (In the past, C<tr/a-z-0//> was synonymous with |
216 | 215 | C<tr/a-y//>, which was probably not what you would have expected.) |
217 | 216 | |
218 | 217 | =end original |
219 | 218 | |
220 | 219 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 |
221 | 220 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 |
222 | 221 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく |
223 | 222 | 予想していたものと違うでしょう。) |
224 | 223 | |
225 | 224 | =item Ambiguous use of %s resolved as %s |
226 | 225 | |
227 | 226 | =begin original |
228 | 227 | |
229 | ( | |
228 | (W ambiguous)(S) You said something that may not be interpreted the way | |
230 | 229 | you thought. Normally it's pretty easy to disambiguate it by supplying |
231 | 230 | a missing quote, operator, parenthesis pair or declaration. |
232 | 231 | |
233 | 232 | =end original |
234 | 233 | |
235 | ( | |
234 | (W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが | |
235 | ありました。 | |
236 | 236 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり |
237 | 237 | 簡単にあいまいさを解消できます。 |
238 | 238 | |
239 | 239 | =item Ambiguous use of %c resolved as operator %c |
240 | 240 | |
241 | 241 | =begin original |
242 | 242 | |
243 | ( | |
243 | (W ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
244 | 244 | bitwise and, and multiplication) I<and> initial special characters |
245 | 245 | (denoting hashes, subroutines and typeglobs), and you said something |
246 | 246 | like C<*foo * foo> that might be interpreted as either of them. We |
247 | 247 | assumed you meant the infix operator, but please try to make it more |
248 | 248 | clear -- in the example given, you might write C<*foo * foo()> if you |
249 | 249 | really meant to multiply a glob by the result of calling a function. |
250 | 250 | |
251 | 251 | =end original |
252 | 252 | |
253 | ( | |
253 | (W ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
254 | 254 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の |
255 | 255 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが |
256 | 256 | 書かれました。 |
257 | 257 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように |
258 | 258 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の |
259 | 259 | 積を意味しているなら、C<*foo * foo()> と書けます。 |
260 | 260 | |
261 | 261 | =item Ambiguous use of %c{%s} resolved to %c%s |
262 | 262 | |
263 | 263 | =begin original |
264 | 264 | |
265 | 265 | (W ambiguous) You wrote something like C<@{foo}>, which might be |
266 | 266 | asking for the variable C<@foo>, or it might be calling a function |
267 | 267 | named foo, and dereferencing it as an array reference. If you wanted |
268 | 268 | the variable, you can just write C<@foo>. If you wanted to call the |
269 | 269 | function, write C<@{foo()}> ... or you could just not have a variable |
270 | 270 | and a function with the same name, and save yourself a lot of trouble. |
271 | 271 | |
272 | 272 | =end original |
273 | 273 | |
274 | 274 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと |
275 | 275 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 |
276 | 276 | リファレンスとしてデリファレンスするかもしれません。 |
277 | 277 | もし変数がほしいなら、単に C<@foo> と書いてください。 |
278 | 278 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に |
279 | 279 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を |
280 | 280 | 守れます。 |
281 | 281 | |
282 | 282 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] |
283 | 283 | |
284 | 284 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} |
285 | 285 | |
286 | 286 | =begin original |
287 | 287 | |
288 | 288 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents |
289 | 289 | the name of a Perl keyword), which might be looking for element number |
290 | 290 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you |
291 | 291 | might have meant to pass an anonymous arrayref to the function named |
292 | 292 | foo, and then do a scalar deref on the value it returns. If you meant |
293 | 293 | that, write C<${foo([2])}>. |
294 | 294 | |
295 | 295 | =end original |
296 | 296 | |
297 | 297 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の |
298 | 298 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を |
299 | 299 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 |
300 | 300 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ |
301 | 301 | デリファレンスしているのかも知れません。 |
302 | 302 | それを意味しているなら、C<${foo([2])}> と書いてください。 |
303 | 303 | |
304 | 304 | =begin original |
305 | 305 | |
306 | 306 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary |
307 | 307 | to disambiguate between array subscripts and character classes. |
308 | 308 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed |
309 | 309 | by the character class C<[2345]>. If an array subscript is what you |
310 | 310 | want, you can avoid the warning by changing C</${length[2345]}/> to the |
311 | 311 | unsightly C</${\$length[2345]}/>, by renaming your array to something |
312 | 312 | that does not coincide with a built-in keyword, or by simply turning |
313 | 313 | off warnings with C<no warnings 'ambiguous';>. |
314 | 314 | |
315 | 315 | =end original |
316 | 316 | |
317 | 317 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために |
318 | 318 | 必要になります。 |
319 | 319 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が |
320 | 320 | 引き続くと解釈されます。 |
321 | 321 | 配列添え字が求めているものなら、C</${length[2345]}/> を |
322 | 322 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと |
323 | 323 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として |
324 | 324 | 警告をオフにする、のいずれかで警告を回避できます。 |
325 | 325 | |
326 | 326 | =item Ambiguous use of -%s resolved as -&%s() |
327 | 327 | |
328 | 328 | =begin original |
329 | 329 | |
330 | ( | |
330 | (W ambiguous) You wrote something like C<-foo>, which might be the | |
331 | 331 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant |
332 | 332 | the string, just write C<"-foo">. If you meant the function call, |
333 | 333 | write C<-foo()>. |
334 | 334 | |
335 | 335 | =end original |
336 | 336 | |
337 | ( | |
337 | (W ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
338 | 338 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 |
339 | 339 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 |
340 | 340 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 |
341 | 341 | |
342 | =item Ambiguous use of 's//le...' resolved as 's// le...'; Rewrite as 's//el' if you meant 'use locale rules and evaluate rhs as an expression'. In Perl 5.18, it will be resolved the other way | |
343 | ||
344 | =begin original | |
345 | ||
346 | (W deprecated, ambiguous) You wrote a pattern match with substitution | |
347 | immediately followed by "le". In Perl 5.16 and earlier, this is | |
348 | resolved as meaning to take the result of the substitution, and see if | |
349 | it is stringwise less-than-or-equal-to what follows in the expression. | |
350 | Having the "le" immediately following a pattern is deprecated behavior, | |
351 | so in Perl 5.18, this expression will be resolved as meaning to do the | |
352 | pattern match using the rules of the current locale, and evaluate the | |
353 | rhs as an expression when doing the substitution. In 5.14, and 5.16 if | |
354 | you want the latter interpretation, you can simply write "el" instead. | |
355 | But note that the C</l> modifier should not be used explicitly anyway; | |
356 | you should use C<use locale> instead. See L<perllocale>. | |
357 | ||
358 | =end original | |
359 | ||
360 | (W deprecated, ambiguous) 置換を含むパターンの直後に "le" と書きました。 | |
361 | Perl 5.16 以前では、これは置換の結果を取り、これと式に引き続くものとの | |
362 | 間での文字列的な「以下」かどうかを調べます。 | |
363 | パターンの直後に引き続く "le" は廃止予定の振る舞いなので、Perl 5.18 では、 | |
364 | この式は現在のロケールの規則を使ってパターンマッチングを行い、置換を | |
365 | 行うときに右側を式として評価します。 | |
366 | 5.14 と 5.16 では、後者の解釈を望むなら、単に代わりに "el" と書いてください。 | |
367 | しかし、どちらにしろ C</l> 修飾子は明示的に使うべきではないことに | |
368 | 注意してください; 代わりに C<use locale> を使うべきです。 | |
369 | L<perllocale> を参照してください。 | |
370 | ||
342 | 371 | =item '|' and '<' may not both be specified on command line |
343 | 372 | |
344 | 373 | =begin original |
345 | 374 | |
346 | 375 | (F) An error peculiar to VMS. Perl does its own command line |
347 | 376 | redirection, and found that STDIN was a pipe, and that you also tried to |
348 | 377 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
349 | 378 | |
350 | 379 | =end original |
351 | 380 | |
352 | 381 | (F) VMS に固有のエラーです。 |
353 | 382 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
354 | 383 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
355 | 384 | しました。 |
356 | 385 | STDIN ストリームは一つだけにしてください; お願いします。 |
357 | 386 | |
358 | 387 | =item '|' and '>' may not both be specified on command line |
359 | 388 | |
360 | 389 | =begin original |
361 | 390 | |
362 | 391 | (F) An error peculiar to VMS. Perl does its own command line |
363 | 392 | redirection, and thinks you tried to redirect stdout both to a file and |
364 | 393 | into a pipe to another command. You need to choose one or the other, |
365 | 394 | though nothing's stopping you from piping into a program or Perl script |
366 | 395 | which 'splits' output into two streams, such as |
367 | 396 | |
368 | 397 | =end original |
369 | 398 | |
370 | 399 | (F) VMS に固有のエラーです。 |
371 | 400 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
372 | 401 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
373 | 402 | 判断しました。 |
374 | 403 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
375 | 404 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
376 | 405 | 何もありません。 |
377 | 406 | |
378 | 407 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
379 | 408 | while (<STDIN>) { |
380 | 409 | print; |
381 | 410 | print OUT; |
382 | 411 | } |
383 | 412 | close OUT; |
384 | 413 | |
385 | 414 | =item Applying %s to %s will act on scalar(%s) |
386 | 415 | |
387 | 416 | =begin original |
388 | 417 | |
389 | 418 | (W misc) The pattern match (C<//>), substitution (C<s///>), and |
390 | 419 | transliteration (C<tr///>) operators work on scalar values. If you apply |
391 | 420 | one of them to an array or a hash, it will convert the array or hash to |
392 | 421 | a scalar value (the length of an array, or the population info of a |
393 | 422 | hash) and then work on that scalar value. This is probably not what |
394 | 423 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
395 | 424 | alternatives. |
396 | 425 | |
397 | 426 | =end original |
398 | 427 | |
399 | 428 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 |
400 | 429 | (C<tr///>) 演算子はスカラ値に対して動作します。 |
401 | 430 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか |
402 | 431 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 |
403 | 432 | これはおそらくしたいこととは違うでしょう。 |
404 | 433 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
405 | 434 | |
406 | 435 | =item Arg too short for msgsnd |
407 | 436 | |
408 | 437 | =begin original |
409 | 438 | |
410 | 439 | (F) msgsnd() requires a string at least as long as sizeof(long). |
411 | 440 | |
412 | 441 | =end original |
413 | 442 | |
414 | 443 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 |
415 | 444 | |
416 | 445 | =item %s argument is not a HASH or ARRAY element or a subroutine |
417 | 446 | |
418 | 447 | =begin original |
419 | 448 | |
420 | 449 | (F) The argument to exists() must be a hash or array element or a |
421 | 450 | subroutine with an ampersand, such as: |
422 | 451 | |
423 | 452 | =end original |
424 | 453 | |
425 | 454 | (F) exists() の引数は以下のように、ハッシュや配列の要素か、 |
426 | 455 | アンパサンド付きのサブルーチンでなければなりません: |
427 | 456 | |
428 | 457 | $foo{$bar} |
429 | 458 | $ref->{"susie"}[12] |
430 | 459 | &do_something |
431 | 460 | |
432 | 461 | =item %s argument is not a HASH or ARRAY element or slice |
433 | 462 | |
434 | 463 | =begin original |
435 | 464 | |
436 | 465 | (F) The argument to delete() must be either a hash or array element, |
437 | 466 | such as: |
438 | 467 | |
439 | 468 | =end original |
440 | 469 | |
441 | 470 | (F) delete() の引数は以下のようにハッシュか配列の要素であるか: |
442 | 471 | |
443 | 472 | $foo{$bar} |
444 | 473 | $ref->{"susie"}[12] |
445 | 474 | |
446 | 475 | =begin original |
447 | 476 | |
448 | 477 | or a hash or array slice, such as: |
449 | 478 | |
450 | 479 | =end original |
451 | 480 | |
452 | 481 | あるいは以下のようにハッシュか配列のスライスでなければなりません: |
453 | 482 | |
454 | 483 | @foo[$bar, $baz, $xyzzy] |
455 | 484 | @{$ref->[12]}{"susie", "queue"} |
456 | 485 | |
457 | 486 | =item %s argument is not a subroutine name |
458 | 487 | |
459 | 488 | =begin original |
460 | 489 | |
461 | 490 | (F) The argument to exists() for C<exists &sub> must be a subroutine |
462 | 491 | name, and not a subroutine call. C<exists &sub()> will generate this |
463 | 492 | error. |
464 | 493 | |
465 | 494 | =end original |
466 | 495 | |
467 | 496 | (F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、 |
468 | 497 | サブルーチン名でなければなりません。 |
469 | 498 | C<exists &sub()> とするとこのエラーが生成されます。 |
470 | 499 | |
471 | 500 | =item Argument "%s" isn't numeric%s |
472 | 501 | |
473 | 502 | =begin original |
474 | 503 | |
475 | 504 | (W numeric) The indicated string was fed as an argument to an operator |
476 | 505 | that expected a numeric value instead. If you're fortunate the message |
477 | 506 | will identify which operator was so unfortunate. |
478 | 507 | |
479 | 508 | =end original |
480 | 509 | |
481 | 510 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 |
482 | 511 | 与えられました。 |
483 | 512 | 運がよければ、このメッセージによって、どの演算子が問題となったかが |
484 | 513 | わかります。 |
485 | 514 | |
486 | 515 | =item Argument list not closed for PerlIO layer "%s" |
487 | 516 | |
488 | 517 | =begin original |
489 | 518 | |
490 | 519 | (W layer) When pushing a layer with arguments onto the Perl I/O |
491 | 520 | system you forgot the ) that closes the argument list. (Layers |
492 | 521 | take care of transforming data between external and internal |
493 | 522 | representations.) Perl stopped parsing the layer list at this |
494 | 523 | point and did not attempt to push this layer. If your program |
495 | 524 | didn't explicitly request the failing operation, it may be the |
496 | 525 | result of the value of the environment variable PERLIO. |
497 | 526 | |
498 | 527 | =end original |
499 | 528 | |
500 | 529 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを |
501 | 530 | 閉じる ) を忘れています。 |
502 | 531 | (層はデータの外部表現と内部表現の変換を扱います。) |
503 | 532 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 |
504 | 533 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
505 | 534 | 値が原因かもしれません。 |
506 | 535 | |
507 | 536 | =item Array @%s missing the @ in argument %d of %s() |
508 | 537 | |
509 | 538 | =begin original |
510 | 539 | |
511 | 540 | (D deprecated) Really old Perl let you omit the @ on array names in some |
512 | 541 | spots. This is now heavily deprecated. |
513 | 542 | |
514 | 543 | =end original |
515 | 544 | |
516 | 545 | (D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を |
517 | 546 | 省略できました。 |
518 | 547 | これは廃止予定です。 |
519 | 548 | |
520 | =item A sequence of multiple spaces in a charnames alias definition is deprecated | |
521 | ||
522 | =begin original | |
523 | ||
524 | (D) You defined a character name which had multiple space characters in | |
525 | a row. Change them to single spaces. Usually these names are defined | |
526 | in the C<:alias> import argument to C<use charnames>, but they could be | |
527 | defined by a translator installed into C<$^H{charnames}>. See | |
528 | L<charnames/CUSTOM ALIASES>. | |
529 | ||
530 | =end original | |
531 | ||
532 | (D) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
533 | 単一のスペースに変更してください。 | |
534 | 通常はこれらの名前は C<use charnames> への C<:alias> インポート引数で | |
535 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
536 | 定義されているかも知れません。 | |
537 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
538 | ||
539 | 549 | =item assertion botched: %s |
540 | 550 | |
541 | 551 | =begin original |
542 | 552 | |
543 | 553 | (X) The malloc package that comes with Perl had an internal failure. |
544 | 554 | |
545 | 555 | =end original |
546 | 556 | |
547 | 557 | (X) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
548 | 558 | |
549 | 559 | =item Assertion failed: file "%s" |
550 | 560 | |
551 | 561 | =begin original |
552 | 562 | |
553 | 563 | (X) A general assertion failed. The file in question must be examined. |
554 | 564 | |
555 | 565 | =end original |
556 | 566 | |
557 | 567 | (X) 一般的なアサーションが失敗しました。 |
558 | 568 | 問題の file を調べる必要があります。 |
559 | 569 | |
560 | 570 | =item Assigning non-zero to $[ is no longer possible |
561 | 571 | |
562 | 572 | =begin original |
563 | 573 | |
564 | 574 | (F) When the "array_base" feature is disabled (e.g., under C<use v5.16;>) |
565 | 575 | the special variable C<$[>, which is deprecated, is now a fixed zero value. |
566 | 576 | |
567 | 577 | =end original |
568 | 578 | |
569 | 579 | (F) (C<use v5.16;> のように) "array_base" 機能が無効の場合、廃止予定である |
570 | 580 | 特殊変数 C<$[> は 0 固定です。 |
571 | 581 | |
572 | 582 | =item Assignment to both a list and a scalar |
573 | 583 | |
574 | 584 | =begin original |
575 | 585 | |
576 | 586 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
577 | 587 | must either both be scalars or both be lists. Otherwise Perl won't |
578 | 588 | know which context to supply to the right side. |
579 | 589 | |
580 | 590 | =end original |
581 | 591 | |
582 | 592 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 |
583 | 593 | ともにスカラか、ともにリストでなければなりません。 |
584 | 594 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
585 | 595 | |
586 | 596 | =item A thread exited while %d threads were running |
587 | 597 | |
588 | 598 | =begin original |
589 | 599 | |
590 | 600 | (W threads)(S) When using threaded Perl, a thread (not necessarily |
591 | 601 | the main thread) exited while there were still other threads running. |
592 | 602 | Usually it's a good idea first to collect the return values of the |
593 | 603 | created threads by joining them, and only then to exit from the main |
594 | 604 | thread. See L<threads>. |
595 | 605 | |
596 | 606 | =end original |
597 | 607 | |
598 | 608 | (W threads)(S) スレッドが有効な Perl を使っているときに、他のスレッドが |
599 | 609 | まだ動いている状態で、あるスレッド(メインスレッドには限りません)が |
600 | 610 | 終了しました。 |
601 | 611 | 普通は、作成したスレッドに join することで返り値を集めて、それから |
602 | 612 | メインスレッドから終了するのがよい考えです。 |
603 | 613 | L<threads> を参照してください。 |
604 | 614 | |
605 | 615 | =item Attempt to access disallowed key '%s' in a restricted hash |
606 | 616 | |
607 | 617 | =begin original |
608 | 618 | |
609 | 619 | (F) The failing code has attempted to get or set a key which is not in |
610 | 620 | the current set of allowed keys of a restricted hash. |
611 | 621 | |
612 | 622 | =end original |
613 | 623 | |
614 | 624 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して |
615 | 625 | 取得または設定しようとして失敗しました。 |
616 | 626 | |
617 | 627 | =item Attempt to bless into a reference |
618 | 628 | |
619 | 629 | =begin original |
620 | 630 | |
621 | 631 | (F) The CLASSNAME argument to the bless() operator is expected to be |
622 | 632 | the name of the package to bless the resulting object into. You've |
623 | 633 | supplied instead a reference to something: perhaps you wrote |
624 | 634 | |
625 | 635 | =end original |
626 | 636 | |
627 | 637 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する |
628 | 638 | パッケージ名を想定しています。 |
629 | 639 | そこに何かへのリファレンスが与えられました: |
630 | 640 | おそらく以下のようにしたのでしょう: |
631 | 641 | |
632 | 642 | bless $self, $proto; |
633 | 643 | |
634 | 644 | =begin original |
635 | 645 | |
636 | 646 | when you intended |
637 | 647 | |
638 | 648 | =end original |
639 | 649 | |
640 | 650 | 以下を意図していたはずです: |
641 | 651 | |
642 | 652 | bless $self, ref($proto) || $proto; |
643 | 653 | |
644 | 654 | =begin original |
645 | 655 | |
646 | 656 | If you actually want to bless into the stringified version |
647 | 657 | of the reference supplied, you need to stringify it yourself, for |
648 | 658 | example by: |
649 | 659 | |
650 | 660 | =end original |
651 | 661 | |
652 | 662 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 |
653 | 663 | 以下のようにして自分で文字列化する必要があります: |
654 | 664 | |
655 | 665 | bless $self, "$proto"; |
656 | 666 | |
657 | 667 | =item Attempt to clear deleted array |
658 | 668 | |
659 | 669 | =begin original |
660 | 670 | |
661 | 671 | (S debugging) An array was assigned to when it was being freed. |
662 | 672 | Freed values are not supposed to be visible to Perl code. This |
663 | 673 | can also happen if XS code calls C<av_clear> from a custom magic |
664 | 674 | callback on the array. |
665 | 675 | |
666 | 676 | =end original |
667 | 677 | |
668 | 678 | (S debugging) 配列が、解放されるときに代入されました。 |
669 | 679 | 解放された値は Perl コードからは見えないはずです。 |
670 | 680 | これはまた、XS コードが配列のカスタムマジックコールバックから |
671 | 681 | C<av_clear> を呼び出したときにも起こります。 |
672 | 682 | |
673 | 683 | =item Attempt to delete disallowed key '%s' from a restricted hash |
674 | 684 | |
675 | 685 | =begin original |
676 | 686 | |
677 | 687 | (F) The failing code attempted to delete from a restricted hash a key |
678 | 688 | which is not in its key set. |
679 | 689 | |
680 | 690 | =end original |
681 | 691 | |
682 | 692 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 |
683 | 693 | |
684 | 694 | =item Attempt to delete readonly key '%s' from a restricted hash |
685 | 695 | |
686 | 696 | =begin original |
687 | 697 | |
688 | 698 | (F) The failing code attempted to delete a key whose value has been |
689 | 699 | declared readonly from a restricted hash. |
690 | 700 | |
691 | 701 | =end original |
692 | 702 | |
693 | 703 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを |
694 | 704 | 削除しようとしました。 |
695 | 705 | |
696 | 706 | =item Attempt to free non-arena SV: 0x%x |
697 | 707 | |
698 | 708 | =begin original |
699 | 709 | |
700 | 710 | (S internal) All SV objects are supposed to be allocated from arenas |
701 | 711 | that will be garbage collected on exit. An SV was discovered to be |
702 | 712 | outside any of those arenas. |
703 | 713 | |
704 | 714 | =end original |
705 | 715 | |
706 | 716 | (S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが |
707 | 717 | 行なわれるアリーナに割り当てるようになっています。 |
708 | 718 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
709 | 719 | |
710 | 720 | =item Attempt to free nonexistent shared string '%s'%s |
711 | 721 | |
712 | 722 | =begin original |
713 | 723 | |
714 | 724 | (S internal) Perl maintains a reference-counted internal table of |
715 | 725 | strings to optimize the storage and access of hash keys and other |
716 | 726 | strings. This indicates someone tried to decrement the reference count |
717 | 727 | of a string that can no longer be found in the table. |
718 | 728 | |
719 | 729 | =end original |
720 | 730 | |
721 | 731 | (S internal) Perl はストレージおよびハッシュキーとその他の文字列への |
722 | 732 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 |
723 | 733 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを |
724 | 734 | 示します。 |
725 | 735 | |
726 | 736 | =item Attempt to free temp prematurely: SV 0x%x |
727 | 737 | |
728 | 738 | =begin original |
729 | 739 | |
730 | 740 | (S debugging) Mortalized values are supposed to be freed by the |
731 | 741 | free_tmps() routine. This indicates that something else is freeing the |
732 | 742 | SV before the free_tmps() routine gets a chance, which means that the |
733 | 743 | free_tmps() routine will be freeing an unreferenced scalar when it does |
734 | 744 | try to free it. |
735 | 745 | |
736 | 746 | =end original |
737 | 747 | |
738 | 748 | (S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように |
739 | 749 | なっています。 |
740 | 750 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
741 | 751 | 解放しようとしていることを示していて、これは、free_tmps() が |
742 | 752 | 解放しようとしたときには、どこからも参照されていないスカラを |
743 | 753 | 解放することになるということです。 |
744 | 754 | |
745 | 755 | =item Attempt to free unreferenced glob pointers |
746 | 756 | |
747 | 757 | =begin original |
748 | 758 | |
749 | 759 | (S internal) The reference counts got screwed up on symbol aliases. |
750 | 760 | |
751 | 761 | =end original |
752 | 762 | |
753 | 763 | (S internal) シンボルのエイリアスについて、参照カウントの値がおかしな |
754 | 764 | 状態になりました。 |
755 | 765 | |
756 | 766 | =item Attempt to free unreferenced scalar: SV 0x%x |
757 | 767 | |
758 | 768 | =begin original |
759 | 769 | |
760 | ( | |
770 | (W internal) Perl went to decrement the reference count of a scalar to | |
761 | 771 | see if it would go to 0, and discovered that it had already gone to 0 |
762 | 772 | earlier, and should have been freed, and in fact, probably was freed. |
763 | 773 | This could indicate that SvREFCNT_dec() was called too many times, or |
764 | 774 | that SvREFCNT_inc() was called too few times, or that the SV was |
765 | 775 | mortalized when it shouldn't have been, or that memory has been |
766 | 776 | corrupted. |
767 | 777 | |
768 | 778 | =end original |
769 | 779 | |
770 | ( | |
780 | (W internal) Perl がスカラの参照カウントをデクリメントしようとして、 | |
771 | なるかを見たところ、既に 0 になっていることがわかりました; | |
781 | 0 になるかを見たところ、既に 0 になっていることがわかりました; | |
772 | 782 | これは、既に解放されているべきものであり、実際は、おそらく、 |
773 | 783 | 解放されたものでしょう。 |
774 | 784 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
775 | 785 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
776 | 786 | メモリ異常になったことが考えられます。 |
777 | 787 | |
778 | 788 | =item Attempt to join self |
779 | 789 | |
780 | 790 | =begin original |
781 | 791 | |
782 | 792 | (F) You tried to join a thread from within itself, which is an |
783 | 793 | impossible task. You may be joining the wrong thread, or you may need |
784 | 794 | to move the join() to some other thread. |
785 | 795 | |
786 | 796 | =end original |
787 | 797 | |
788 | 798 | (F) スレッドをそれ自身の中から join しようとしました; これは不可能な |
789 | 799 | 動作です。 |
790 | 800 | 間違ったスレッドに join しようとしているか、あるいは join() を他の |
791 | 801 | スレッドに移動させる必要があります。 |
792 | 802 | |
793 | 803 | =item Attempt to pack pointer to temporary value |
794 | 804 | |
795 | 805 | =begin original |
796 | 806 | |
797 | 807 | (W pack) You tried to pass a temporary value (like the result of a |
798 | 808 | function, or a computed expression) to the "p" pack() template. This |
799 | 809 | means the result contains a pointer to a location that could become |
800 | 810 | invalid anytime, even before the end of the current statement. Use |
801 | 811 | literals or global values as arguments to the "p" pack() template to |
802 | 812 | avoid this warning. |
803 | 813 | |
804 | 814 | =end original |
805 | 815 | |
806 | 816 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
807 | 817 | "p" テンプレートに渡そうとしました。 |
808 | 818 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
809 | 819 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか |
810 | 820 | グローバルな値を使ってください。 |
811 | 821 | |
812 | 822 | =item Attempt to reload %s aborted. |
813 | 823 | |
814 | 824 | =begin original |
815 | 825 | |
816 | 826 | (F) You tried to load a file with C<use> or C<require> that failed to |
817 | 827 | compile once already. Perl will not try to compile this file again |
818 | 828 | unless you delete its entry from %INC. See L<perlfunc/require> and |
819 | 829 | L<perlvar/%INC>. |
820 | 830 | |
821 | 831 | =end original |
822 | 832 | |
823 | 833 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で |
824 | 834 | 読み込もうとしました。 |
825 | 835 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを |
826 | 836 | コンパイルしようとはしません。 |
827 | 837 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 |
828 | 838 | |
829 | 839 | =item Attempt to set length of freed array |
830 | 840 | |
831 | 841 | =begin original |
832 | 842 | |
833 | (W | |
843 | (W) You tried to set the length of an array which has been freed. You | |
834 | ||
844 | can do this by storing a reference to the scalar representing the last index | |
835 | ||
845 | of an array and later assigning through that reference. For example | |
836 | assigning through that reference. For example | |
837 | 846 | |
838 | 847 | =end original |
839 | 848 | |
840 | (W | |
849 | (W) 既に解放された配列の長さを設定しようとしました。 | |
841 | 850 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 |
842 | 851 | 後でこのリファレンスを通して代入することでこれを行えます。 |
843 | 852 | 例えば: |
844 | 853 | |
845 | 854 | $r = do {my @a; \$#a}; |
846 | 855 | $$r = 503 |
847 | 856 | |
848 | 857 | =item Attempt to use reference as lvalue in substr |
849 | 858 | |
850 | 859 | =begin original |
851 | 860 | |
852 | 861 | (W substr) You supplied a reference as the first argument to substr() |
853 | 862 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
854 | 863 | dereference it first. See L<perlfunc/substr>. |
855 | 864 | |
856 | 865 | =end original |
857 | 866 | |
858 | 867 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
859 | 868 | 渡しました; これはやや奇妙なことです。 |
860 | 869 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
861 | 870 | L<perlfunc/substr> を参照してください。 |
862 | 871 | |
863 | 872 | =item Attribute "locked" is deprecated |
864 | 873 | |
865 | 874 | =begin original |
866 | 875 | |
867 | 876 | (D deprecated) You have used the attributes pragma to modify the |
868 | 877 | "locked" attribute on a code reference. The :locked attribute is |
869 | 878 | obsolete, has had no effect since 5005 threads were removed, and |
870 | 879 | will be removed in a future release of Perl 5. |
871 | 880 | |
872 | 881 | =end original |
873 | 882 | |
874 | 883 | (D deprecated) コードリファレンスの "locked" 属性を修正するために |
875 | 884 | attributes プラグマを使いました。 |
876 | 885 | :locked 属性は古いもので、5005 スレッドが削除されてから何の効果もなく、 |
877 | 886 | 将来の Perl 5 のメジャーリリースで削除されます。 |
878 | 887 | |
879 | 888 | =item Attribute "unique" is deprecated |
880 | 889 | |
881 | 890 | =begin original |
882 | 891 | |
883 | 892 | (D deprecated) You have used the attributes pragma to modify |
884 | 893 | the "unique" attribute on an array, hash or scalar reference. |
885 | 894 | The :unique attribute has had no effect since Perl 5.8.8, and |
886 | 895 | will be removed in a future release of Perl 5. |
887 | 896 | |
888 | 897 | =end original |
889 | 898 | |
890 | 899 | (D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を |
891 | 900 | 修正するために attributes プラグマを使いました。 |
892 | 901 | :unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー |
893 | 902 | リリースで削除されます。 |
894 | 903 | |
895 | 904 | =item av_reify called on tied array |
896 | 905 | |
897 | 906 | =begin original |
898 | 907 | |
899 | 908 | (S debugging) This indicates that something went wrong and Perl got I<very> |
900 | 909 | confused about C<@_> or C<@DB::args> being tied. |
901 | 910 | |
902 | 911 | =end original |
903 | 912 | |
904 | 913 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが |
905 | 914 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 |
906 | 915 | |
907 | 916 | =item Bad arg length for %s, is %u, should be %d |
908 | 917 | |
909 | 918 | =begin original |
910 | 919 | |
911 | 920 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
912 | 921 | or shmctl(). In C parlance, the correct sizes are, respectively, |
913 | 922 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
914 | 923 | S<sizeof(struct shmid_ds *)>. |
915 | 924 | |
916 | 925 | =end original |
917 | 926 | |
918 | 927 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
919 | 928 | 渡してしまいました。 |
920 | 929 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
921 | 930 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
922 | 931 | |
923 | 932 | =item Bad evalled substitution pattern |
924 | 933 | |
925 | 934 | =begin original |
926 | 935 | |
927 | 936 | (F) You've used the C</e> switch to evaluate the replacement for a |
928 | 937 | substitution, but perl found a syntax error in the code to evaluate, |
929 | 938 | most likely an unexpected right brace '}'. |
930 | 939 | |
931 | 940 | =end original |
932 | 941 | |
933 | 942 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
934 | 943 | いますが、評価するコードに文法エラーがありました; |
935 | 944 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
936 | 945 | |
937 | 946 | =item Bad filehandle: %s |
938 | 947 | |
939 | 948 | =begin original |
940 | 949 | |
941 | 950 | (F) A symbol was passed to something wanting a filehandle, but the |
942 | 951 | symbol has no filehandle associated with it. Perhaps you didn't do an |
943 | 952 | open(), or did it in another package. |
944 | 953 | |
945 | 954 | =end original |
946 | 955 | |
947 | 956 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 |
948 | 957 | それに伴うファイルハンドルがありません。 |
949 | 958 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
950 | 959 | |
951 | 960 | =item Bad free() ignored |
952 | 961 | |
953 | 962 | =begin original |
954 | 963 | |
955 | 964 | (S malloc) An internal routine called free() on something that had never |
956 | 965 | been malloc()ed in the first place. Mandatory, but can be disabled by |
957 | 966 | setting environment variable C<PERL_BADFREE> to 0. |
958 | 967 | |
959 | 968 | =end original |
960 | 969 | |
961 | 970 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
962 | 971 | free() を呼びました。 |
963 | 972 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
964 | 973 | |
965 | 974 | =begin original |
966 | 975 | |
967 | 976 | This message can be seen quite often with DB_File on systems with "hard" |
968 | 977 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> |
969 | 978 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
970 | 979 | |
971 | 980 | =end original |
972 | 981 | |
973 | 982 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
974 | 983 | 行うシステムで DB_File を使うとしばしば表示されます。 |
975 | 984 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
976 | 985 | C<Berkeley DB> のバグです。 |
977 | 986 | |
978 | 987 | =item Bad hash |
979 | 988 | |
980 | 989 | =begin original |
981 | 990 | |
982 | 991 | (P) One of the internal hash routines was passed a null HV pointer. |
983 | 992 | |
984 | 993 | =end original |
985 | 994 | |
986 | 995 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
987 | 996 | |
988 | 997 | =item Badly placed ()'s |
989 | 998 | |
990 | 999 | =begin original |
991 | 1000 | |
992 | 1001 | (A) You've accidentally run your script through B<csh> instead |
993 | 1002 | of Perl. Check the #! line, or manually feed your script into |
994 | 1003 | Perl yourself. |
995 | 1004 | |
996 | 1005 | =end original |
997 | 1006 | |
998 | 1007 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
999 | 1008 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
1000 | 1009 | |
1001 | 1010 | =item Bad name after %s |
1002 | 1011 | |
1003 | 1012 | =begin original |
1004 | 1013 | |
1005 | 1014 | (F) You started to name a symbol by using a package prefix, and then |
1006 | 1015 | didn't finish the symbol. In particular, you can't interpolate outside |
1007 | 1016 | of quotes, so |
1008 | 1017 | |
1009 | 1018 | =end original |
1010 | 1019 | |
1011 | 1020 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが |
1012 | 1021 | 終了しませんでした。 |
1013 | 1022 | 特に、クォートの外で、変数展開はできませんから、 |
1014 | 1023 | |
1015 | 1024 | $var = 'myvar'; |
1016 | 1025 | $sym = mypack::$var; |
1017 | 1026 | |
1018 | 1027 | =begin original |
1019 | 1028 | |
1020 | 1029 | is not the same as |
1021 | 1030 | |
1022 | 1031 | =end original |
1023 | 1032 | |
1024 | 1033 | は、以下と同じではありません。 |
1025 | 1034 | |
1026 | 1035 | $var = 'myvar'; |
1027 | 1036 | $sym = "mypack::$var"; |
1028 | 1037 | |
1029 | 1038 | =item Bad plugin affecting keyword '%s' |
1030 | 1039 | |
1031 | 1040 | =begin original |
1032 | 1041 | |
1033 | 1042 | (F) An extension using the keyword plugin mechanism violated the |
1034 | 1043 | plugin API. |
1035 | 1044 | |
1036 | 1045 | =end original |
1037 | 1046 | |
1038 | 1047 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に |
1039 | 1048 | 違反しました。 |
1040 | 1049 | |
1041 | 1050 | =item Bad realloc() ignored |
1042 | 1051 | |
1043 | 1052 | =begin original |
1044 | 1053 | |
1045 | 1054 | (S malloc) An internal routine called realloc() on something that |
1046 | 1055 | had never been malloc()ed in the first place. Mandatory, but can |
1047 | 1056 | be disabled by setting the environment variable C<PERL_BADFREE> to 1. |
1048 | 1057 | |
1049 | 1058 | =end original |
1050 | 1059 | |
1051 | 1060 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
1052 | 1061 | realloc() を呼び出しました。 |
1053 | 1062 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
1054 | 1063 | |
1055 | 1064 | =item Bad symbol for array |
1056 | 1065 | |
1057 | 1066 | =begin original |
1058 | 1067 | |
1059 | 1068 | (P) An internal request asked to add an array entry to something that |
1060 | 1069 | wasn't a symbol table entry. |
1061 | 1070 | |
1062 | 1071 | =end original |
1063 | 1072 | |
1064 | 1073 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
1065 | 1074 | 内部要求があがりました。 |
1066 | 1075 | |
1067 | 1076 | =item Bad symbol for dirhandle |
1068 | 1077 | |
1069 | 1078 | =begin original |
1070 | 1079 | |
1071 | 1080 | (P) An internal request asked to add a dirhandle entry to something |
1072 | 1081 | that wasn't a symbol table entry. |
1073 | 1082 | |
1074 | 1083 | =end original |
1075 | 1084 | |
1076 | 1085 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを |
1077 | 1086 | 登録するような内部要求があがりました。 |
1078 | 1087 | |
1079 | 1088 | =item Bad symbol for filehandle |
1080 | 1089 | |
1081 | 1090 | =begin original |
1082 | 1091 | |
1083 | 1092 | (P) An internal request asked to add a filehandle entry to something |
1084 | 1093 | that wasn't a symbol table entry. |
1085 | 1094 | |
1086 | 1095 | =end original |
1087 | 1096 | |
1088 | 1097 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
1089 | 1098 | 登録するような内部要求があがりました。 |
1090 | 1099 | |
1091 | 1100 | =item Bad symbol for hash |
1092 | 1101 | |
1093 | 1102 | =begin original |
1094 | 1103 | |
1095 | 1104 | (P) An internal request asked to add a hash entry to something that |
1096 | 1105 | wasn't a symbol table entry. |
1097 | 1106 | |
1098 | 1107 | =end original |
1099 | 1108 | |
1100 | 1109 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
1101 | 1110 | 登録するような内部要求があがった。 |
1102 | 1111 | |
1103 | 1112 | =item Bareword found in conditional |
1104 | 1113 | |
1105 | 1114 | =begin original |
1106 | 1115 | |
1107 | 1116 | (W bareword) The compiler found a bareword where it expected a |
1108 | 1117 | conditional, which often indicates that an || or && was parsed as part |
1109 | 1118 | of the last argument of the previous construct, for example: |
1110 | 1119 | |
1111 | 1120 | =end original |
1112 | 1121 | |
1113 | 1122 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; |
1114 | 1123 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
1115 | 1124 | パースされたことを意味します; 例えば: |
1116 | 1125 | |
1117 | 1126 | open FOO || die; |
1118 | 1127 | |
1119 | 1128 | =begin original |
1120 | 1129 | |
1121 | 1130 | It may also indicate a misspelled constant that has been interpreted as |
1122 | 1131 | a bareword: |
1123 | 1132 | |
1124 | 1133 | =end original |
1125 | 1134 | |
1126 | 1135 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
1127 | 1136 | 示している場合もあります: |
1128 | 1137 | |
1129 | 1138 | use constant TYPO => 1; |
1130 | 1139 | if (TYOP) { print "foo" } |
1131 | 1140 | |
1132 | 1141 | =begin original |
1133 | 1142 | |
1134 | 1143 | The C<strict> pragma is useful in avoiding such errors. |
1135 | 1144 | |
1136 | 1145 | =end original |
1137 | 1146 | |
1138 | 1147 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
1139 | 1148 | |
1140 | 1149 | =item Bareword "%s" not allowed while "strict subs" in use |
1141 | 1150 | |
1142 | 1151 | =begin original |
1143 | 1152 | |
1144 | 1153 | (F) With "strict subs" in use, a bareword is only allowed as a |
1145 | 1154 | subroutine identifier, in curly brackets or to the left of the "=>" |
1146 | 1155 | symbol. Perhaps you need to predeclare a subroutine? |
1147 | 1156 | |
1148 | 1157 | =end original |
1149 | 1158 | |
1150 | 1159 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 |
1151 | 1160 | シンボル "=>" の左側でのみ許されます。 |
1152 | 1161 | おそらくサブルーチンを先行宣言する必要があるのでは? |
1153 | 1162 | |
1154 | 1163 | =item Bareword "%s" refers to nonexistent package |
1155 | 1164 | |
1156 | 1165 | =begin original |
1157 | 1166 | |
1158 | 1167 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
1159 | 1168 | compiler saw no other uses of that namespace before that point. Perhaps |
1160 | 1169 | you need to predeclare a package? |
1161 | 1170 | |
1162 | 1171 | =end original |
1163 | 1172 | |
1164 | 1173 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
1165 | 1174 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
1166 | 1175 | 発見できませんでした。 |
1167 | 1176 | おそらくパッケージを専攻宣言する必要があるのでは? |
1168 | 1177 | |
1169 | 1178 | =item BEGIN failed--compilation aborted |
1170 | 1179 | |
1171 | 1180 | =begin original |
1172 | 1181 | |
1173 | 1182 | (F) An untrapped exception was raised while executing a BEGIN |
1174 | 1183 | subroutine. Compilation stops immediately and the interpreter is |
1175 | 1184 | exited. |
1176 | 1185 | |
1177 | 1186 | =end original |
1178 | 1187 | |
1179 | 1188 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 |
1180 | 1189 | コンパイルは即座に停止し、インタプリタは中止します。 |
1181 | 1190 | |
1182 | 1191 | =item BEGIN not safe after errors--compilation aborted |
1183 | 1192 | |
1184 | 1193 | =begin original |
1185 | 1194 | |
1186 | 1195 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
1187 | 1196 | implies a C<BEGIN {}>) after one or more compilation errors had already |
1188 | 1197 | occurred. Since the intended environment for the C<BEGIN {}> could not |
1189 | 1198 | be guaranteed (due to the errors), and since subsequent code likely |
1190 | 1199 | depends on its correct operation, Perl just gave up. |
1191 | 1200 | |
1192 | 1201 | =end original |
1193 | 1202 | |
1194 | 1203 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
1195 | 1204 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 |
1196 | 1205 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは |
1197 | 1206 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 |
1198 | 1207 | |
1199 | 1208 | =item \1 better written as $1 |
1200 | 1209 | |
1201 | 1210 | =begin original |
1202 | 1211 | |
1203 | 1212 | (W syntax) Outside of patterns, backreferences live on as variables. |
1204 | 1213 | The use of backslashes is grandfathered on the right-hand side of a |
1205 | 1214 | substitution, but stylistically it's better to use the variable form |
1206 | 1215 | because other Perl programmers will expect it, and it works better if |
1207 | 1216 | there are more than 9 backreferences. |
1208 | 1217 | |
1209 | 1218 | =end original |
1210 | 1219 | |
1211 | 1220 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1212 | 1221 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の |
1213 | 1222 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 |
1214 | 1223 | 変数形式を使う方が良いでしょう。 |
1215 | 1224 | |
1216 | 1225 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1217 | 1226 | |
1218 | 1227 | =begin original |
1219 | 1228 | |
1220 | 1229 | (W portable) The binary number you specified is larger than 2**32-1 |
1221 | 1230 | (4294967295) and therefore non-portable between systems. See |
1222 | 1231 | L<perlport> for more on portability concerns. |
1223 | 1232 | |
1224 | 1233 | =end original |
1225 | 1234 | |
1226 | 1235 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1227 | 1236 | システム間での移植性がありません。 |
1228 | 1237 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1229 | 1238 | |
1230 | 1239 | =item bind() on closed socket %s |
1231 | 1240 | |
1232 | 1241 | =begin original |
1233 | 1242 | |
1234 | 1243 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1235 | 1244 | check the return value of your socket() call? See L<perlfunc/bind>. |
1236 | 1245 | |
1237 | 1246 | =end original |
1238 | 1247 | |
1239 | 1248 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1240 | 1249 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1241 | 1250 | L<perlfunc/bind> を参照してください。 |
1242 | 1251 | |
1243 | 1252 | =item binmode() on closed filehandle %s |
1244 | 1253 | |
1245 | 1254 | =begin original |
1246 | 1255 | |
1247 | 1256 | (W unopened) You tried binmode() on a filehandle that was never opened. |
1248 | 1257 | Check your control flow and number of arguments. |
1249 | 1258 | |
1250 | 1259 | =end original |
1251 | 1260 | |
1252 | 1261 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 |
1253 | 1262 | 制御フローと引数の数をチェックしてください。 |
1254 | 1263 | |
1255 | =item "\b{" is deprecated; use "\b\{" | |
1264 | =item "\b{" is deprecated; use "\b\{" instead | |
1256 | 1265 | |
1257 | =item "\B{" is deprecated; use "\B\{" | |
1266 | =item "\B{" is deprecated; use "\B\{" instead | |
1258 | 1267 | |
1259 | 1268 | =begin original |
1260 | 1269 | |
1261 | (W deprecated) Use of an unescaped "{" immediately following a | |
1270 | (W deprecated, regexp) Use of an unescaped "{" immediately following a | |
1262 | 1271 | C<\b> or C<\B> is now deprecated so as to reserve its use for Perl |
1263 | itself in a future release. | |
1272 | itself in a future release. | |
1264 | backslash, or enclose it in square brackets; the latter is the way to go | |
1265 | if the pattern delimiters are C<{}>. | |
1266 | 1273 | |
1267 | 1274 | =end original |
1268 | 1275 | |
1269 | 1276 | (W deprecated, regexp) C<\b> または C<\B> の直後にエスケープしない |
1270 | 1277 | "{" を書くのは、将来のバージョンの perl での使用のために予約するために |
1271 | 1278 | 廃止予定となりました。 |
1272 | 中かっこの前に逆スラッシュを置くか、大かっこで囲むかしてください; 後者は、 | |
1273 | パターンの区切り文字が C<{}> の場合は最良の方法です。 | |
1274 | 1279 | |
1275 | 1280 | =item Bit vector size > 32 non-portable |
1276 | 1281 | |
1277 | 1282 | =begin original |
1278 | 1283 | |
1279 | 1284 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
1280 | 1285 | |
1281 | 1286 | =end original |
1282 | 1287 | |
1283 | 1288 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
1284 | 1289 | |
1285 | 1290 | =item Bizarre copy of %s |
1286 | 1291 | |
1287 | 1292 | =begin original |
1288 | 1293 | |
1289 | 1294 | (P) Perl detected an attempt to copy an internal value that is not |
1290 | 1295 | copiable. |
1291 | 1296 | |
1292 | 1297 | =end original |
1293 | 1298 | |
1294 | 1299 | (P) コピーできない内部の値をコピーしようとしました。 |
1295 | 1300 | |
1296 | 1301 | =item Buffer overflow in prime_env_iter: %s |
1297 | 1302 | |
1298 | 1303 | =begin original |
1299 | 1304 | |
1300 | 1305 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1301 | 1306 | iterate over %ENV, it encountered a logical name or symbol definition |
1302 | 1307 | which was too long, so it was truncated to the string shown. |
1303 | 1308 | |
1304 | 1309 | =end original |
1305 | 1310 | |
1306 | 1311 | (W internal) VMS に固有の警告です。 |
1307 | 1312 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 |
1308 | 1313 | 文字列は表示したように切り詰められました。 |
1309 | 1314 | |
1310 | 1315 | =item Bizarre SvTYPE [%d] |
1311 | 1316 | |
1312 | 1317 | =begin original |
1313 | 1318 | |
1314 | 1319 | (P) When starting a new thread or return values from a thread, Perl |
1315 | 1320 | encountered an invalid data type. |
1316 | 1321 | |
1317 | 1322 | =end original |
1318 | 1323 | |
1319 | 1324 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な |
1320 | 1325 | データ型に遭遇しました。 |
1321 | 1326 | |
1322 | 1327 | =item Callback called exit |
1323 | 1328 | |
1324 | 1329 | =begin original |
1325 | 1330 | |
1326 | 1331 | (F) A subroutine invoked from an external package via call_sv() |
1327 | 1332 | exited by calling exit. |
1328 | 1333 | |
1329 | 1334 | =end original |
1330 | 1335 | |
1331 | 1336 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで |
1332 | 1337 | 終了しました。 |
1333 | 1338 | |
1334 | 1339 | =item %s() called too early to check prototype |
1335 | 1340 | |
1336 | 1341 | =begin original |
1337 | 1342 | |
1338 | 1343 | (W prototype) You've called a function that has a prototype before the |
1339 | 1344 | parser saw a definition or declaration for it, and Perl could not check |
1340 | 1345 | that the call conforms to the prototype. You need to either add an |
1341 | 1346 | early prototype declaration for the subroutine in question, or move the |
1342 | 1347 | subroutine definition ahead of the call to get proper prototype |
1343 | 1348 | checking. Alternatively, if you are certain that you're calling the |
1344 | 1349 | function correctly, you may put an ampersand before the name to avoid |
1345 | 1350 | the warning. See L<perlsub>. |
1346 | 1351 | |
1347 | 1352 | =end original |
1348 | 1353 | |
1349 | 1354 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1350 | 1355 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1351 | 1356 | 従っているかどうかをチェックできませんでした。 |
1352 | 1357 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1353 | 1358 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1354 | 1359 | 移動させる必要があります。 |
1355 | 1360 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1356 | 1361 | アンパサンドを付けることで警告を回避できます。 |
1357 | 1362 | L<perlsub> を参照してください。 |
1358 | 1363 | |
1359 | 1364 | =item Cannot compress integer in pack |
1360 | 1365 | |
1361 | 1366 | =begin original |
1362 | 1367 | |
1363 | 1368 | (F) An argument to pack("w",...) was too large to compress. The BER |
1364 | 1369 | compressed integer format can only be used with positive integers, and you |
1365 | 1370 | attempted to compress Infinity or a very large number (> 1e308). |
1366 | 1371 | See L<perlfunc/pack>. |
1367 | 1372 | |
1368 | 1373 | =end original |
1369 | 1374 | |
1370 | 1375 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 |
1371 | 1376 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、無限やとても大きい数 |
1372 | 1377 | (> 1e308) を圧縮しようとしました。 |
1373 | 1378 | L<perlfunc/pack> を参照してください。 |
1374 | 1379 | |
1375 | 1380 | =item Cannot compress negative numbers in pack |
1376 | 1381 | |
1377 | 1382 | =begin original |
1378 | 1383 | |
1379 | 1384 | (F) An argument to pack("w",...) was negative. The BER compressed integer |
1380 | 1385 | format can only be used with positive integers. See L<perlfunc/pack>. |
1381 | 1386 | |
1382 | 1387 | =end original |
1383 | 1388 | |
1384 | 1389 | (F) pack("w",...) の引数が負数です。 |
1385 | 1390 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 |
1386 | 1391 | L<perlfunc/pack> を参照してください。 |
1387 | 1392 | |
1388 | 1393 | =item Cannot convert a reference to %s to typeglob |
1389 | 1394 | |
1390 | 1395 | =begin original |
1391 | 1396 | |
1392 | 1397 | (F) You manipulated Perl's symbol table directly, stored a reference |
1393 | 1398 | in it, then tried to access that symbol via conventional Perl syntax. |
1394 | 1399 | The access triggers Perl to autovivify that typeglob, but it there is |
1395 | 1400 | no legal conversion from that type of reference to a typeglob. |
1396 | 1401 | |
1397 | 1402 | =end original |
1398 | 1403 | |
1399 | 1404 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に |
1400 | 1405 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって |
1401 | 1406 | アクセスしようとしました。 |
1402 | 1407 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 |
1403 | 1408 | リファレンス型から型グロブへの正当な変換方法はありません。 |
1404 | 1409 | |
1405 | 1410 | =item Cannot copy to %s |
1406 | 1411 | |
1407 | 1412 | =begin original |
1408 | 1413 | |
1409 | 1414 | (P) Perl detected an attempt to copy a value to an internal type that cannot |
1410 | 1415 | be directly assigned to. |
1411 | 1416 | |
1412 | 1417 | =end original |
1413 | 1418 | |
1414 | 1419 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを |
1415 | 1420 | 検出しました。 |
1416 | 1421 | |
1417 | 1422 | =item Cannot find encoding "%s" |
1418 | 1423 | |
1419 | 1424 | =begin original |
1420 | 1425 | |
1421 | 1426 | (S io) You tried to apply an encoding that did not exist to a filehandle, |
1422 | 1427 | either with open() or binmode(). |
1423 | 1428 | |
1424 | 1429 | =end original |
1425 | 1430 | |
1426 | 1431 | (S io) open() または binmode() のファイルハンドルに存在しない |
1427 | 1432 | エンコーディングを適用しようとしました。 |
1428 | 1433 | |
1429 | 1434 | =item Cannot set tied @DB::args |
1430 | 1435 | |
1431 | 1436 | =begin original |
1432 | 1437 | |
1433 | 1438 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> |
1434 | 1439 | is not supported. (Before this error was added, it used to crash.) |
1435 | 1440 | |
1436 | 1441 | =end original |
1437 | 1442 | |
1438 | 1443 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 |
1439 | 1444 | C<@DB::args> の tie は非対応です。 |
1440 | 1445 | (このエラーが追加する前は、クラッシュしていました。) |
1441 | 1446 | |
1442 | 1447 | =item Cannot tie unreifiable array |
1443 | 1448 | |
1444 | 1449 | =begin original |
1445 | 1450 | |
1446 | 1451 | (P) You somehow managed to call C<tie> on an array that does not |
1447 | 1452 | keep a reference count on its arguments and cannot be made to |
1448 | 1453 | do so. Such arrays are not even supposed to be accessible to |
1449 | 1454 | Perl code, but are only used internally. |
1450 | 1455 | |
1451 | 1456 | =end original |
1452 | 1457 | |
1453 | 1458 | (P) 参照カウントを保持していない配列を引数にして C<tie> を |
1454 | 1459 | 呼び出そうとしましたがそうできませんでした。 |
1455 | 1460 | このような配列は Perl コードからアクセスできると想定してはならず、 |
1456 | 1461 | 内部だけで使われます。 |
1457 | 1462 | |
1458 | 1463 | =item Can only compress unsigned integers in pack |
1459 | 1464 | |
1460 | 1465 | =begin original |
1461 | 1466 | |
1462 | 1467 | (F) An argument to pack("w",...) was not an integer. The BER compressed |
1463 | 1468 | integer format can only be used with positive integers, and you attempted |
1464 | 1469 | to compress something else. See L<perlfunc/pack>. |
1465 | 1470 | |
1466 | 1471 | =end original |
1467 | 1472 | |
1468 | 1473 | (F) pack("w",...) の引数が整数ではありません。 |
1469 | 1474 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを |
1470 | 1475 | 圧縮しようとしました。 |
1471 | 1476 | L<perlfunc/pack> を参照してください。 |
1472 | 1477 | |
1473 | 1478 | =item Can't bless non-reference value |
1474 | 1479 | |
1475 | 1480 | =begin original |
1476 | 1481 | |
1477 | 1482 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1478 | 1483 | encapsulation of objects. See L<perlobj>. |
1479 | 1484 | |
1480 | 1485 | =end original |
1481 | 1486 | |
1482 | 1487 | (F) ハードリファレンスのみが bless できます。 |
1483 | 1488 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1484 | 1489 | L<perlobj> を参照してください。 |
1485 | 1490 | |
1486 | 1491 | =item Can't "break" in a loop topicalizer |
1487 | 1492 | |
1488 | 1493 | =begin original |
1489 | 1494 | |
1490 | 1495 | (F) You called C<break>, but you're in a C<foreach> block rather than |
1491 | 1496 | a C<given> block. You probably meant to use C<next> or C<last>. |
1492 | 1497 | |
1493 | 1498 | =end original |
1494 | 1499 | |
1495 | 1500 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> |
1496 | 1501 | ブロック内でした。 |
1497 | 1502 | おそらく C<next> や C<last> を使いたかったのでしょう。 |
1498 | 1503 | |
1499 | 1504 | =item Can't "break" outside a given block |
1500 | 1505 | |
1501 | 1506 | =begin original |
1502 | 1507 | |
1503 | 1508 | (F) You called C<break>, but you're not inside a C<given> block. |
1504 | 1509 | |
1505 | 1510 | =end original |
1506 | 1511 | |
1507 | 1512 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 |
1508 | 1513 | |
1509 | 1514 | =item Can't call method "%s" on an undefined value |
1510 | 1515 | |
1511 | 1516 | =begin original |
1512 | 1517 | |
1513 | 1518 | (F) You used the syntax of a method call, but the slot filled by the |
1514 | 1519 | object reference or package name contains an undefined value. Something |
1515 | 1520 | like this will reproduce the error: |
1516 | 1521 | |
1517 | 1522 | =end original |
1518 | 1523 | |
1519 | 1524 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか |
1520 | 1525 | パッケージ名であるべきところが未定義値です。 |
1521 | 1526 | 以下のように書くとエラーが再現します: |
1522 | 1527 | |
1523 | 1528 | $BADREF = undef; |
1524 | 1529 | process $BADREF 1,2,3; |
1525 | 1530 | $BADREF->process(1,2,3); |
1526 | 1531 | |
1527 | 1532 | =item Can't call method "%s" on unblessed reference |
1528 | 1533 | |
1529 | 1534 | =begin original |
1530 | 1535 | |
1531 | 1536 | (F) A method call must know in what package it's supposed to run. It |
1532 | 1537 | ordinarily finds this out from the object reference you supply, but you |
1533 | 1538 | didn't supply an object reference in this case. A reference isn't an |
1534 | 1539 | object reference until it has been blessed. See L<perlobj>. |
1535 | 1540 | |
1536 | 1541 | =end original |
1537 | 1542 | |
1538 | 1543 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1539 | 1544 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1540 | 1545 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1541 | 1546 | 渡されませんでした。 |
1542 | 1547 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1543 | 1548 | L<perlobj> を参照してください。 |
1544 | 1549 | |
1545 | 1550 | =item Can't call method "%s" without a package or object reference |
1546 | 1551 | |
1547 | 1552 | =begin original |
1548 | 1553 | |
1549 | 1554 | (F) You used the syntax of a method call, but the slot filled by the |
1550 | 1555 | object reference or package name contains an expression that returns a |
1551 | 1556 | defined value which is neither an object reference nor a package name. |
1552 | 1557 | Something like this will reproduce the error: |
1553 | 1558 | |
1554 | 1559 | =end original |
1555 | 1560 | |
1556 | 1561 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1557 | 1562 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1558 | 1563 | パッケージ名も返さない定義された式が書かれています。 |
1559 | 1564 | 以下のように書くとエラーが再現します: |
1560 | 1565 | |
1561 | 1566 | $BADREF = 42; |
1562 | 1567 | process $BADREF 1,2,3; |
1563 | 1568 | $BADREF->process(1,2,3); |
1564 | 1569 | |
1565 | 1570 | =item Can't chdir to %s |
1566 | 1571 | |
1567 | 1572 | =begin original |
1568 | 1573 | |
1569 | (F) You called C<perl -x/foo/bar>, but | |
1574 | (F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory | |
1570 | 1575 | that you can chdir to, possibly because it doesn't exist. |
1571 | 1576 | |
1572 | 1577 | =end original |
1573 | 1578 | |
1574 | (F) C<perl -x/foo/bar> のようにして起動しましたが、 | |
1579 | (F) C<perl -x/foo/bar> のようにして起動しましたが、C</foo/bar> に | |
1575 | 1580 | chdir することができません; おそらく、存在しないのではないでしょうか。 |
1576 | 1581 | |
1577 | 1582 | =item Can't check filesystem of script "%s" for nosuid |
1578 | 1583 | |
1579 | 1584 | =begin original |
1580 | 1585 | |
1581 | 1586 | (P) For some reason you can't check the filesystem of the script for |
1582 | 1587 | nosuid. |
1583 | 1588 | |
1584 | 1589 | =end original |
1585 | 1590 | |
1586 | 1591 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
1587 | 1592 | 調べることができません。 |
1588 | 1593 | |
1589 | 1594 | =item Can't coerce %s to %s in %s |
1590 | 1595 | |
1591 | 1596 | =begin original |
1592 | 1597 | |
1593 | 1598 | (F) Certain types of SVs, in particular real symbol table entries |
1594 | 1599 | (typeglobs), can't be forced to stop being what they are. So you can't |
1595 | 1600 | say things like: |
1596 | 1601 | |
1597 | 1602 | =end original |
1598 | 1603 | |
1599 | 1604 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1600 | 1605 | 一つの型に留めておくことができません。 |
1601 | 1606 | したがって、以下のようにすることはできません: |
1602 | 1607 | |
1603 | 1608 | *foo += 1; |
1604 | 1609 | |
1605 | 1610 | =begin original |
1606 | 1611 | |
1607 | 1612 | You CAN say |
1608 | 1613 | |
1609 | 1614 | =end original |
1610 | 1615 | |
1611 | 1616 | 以下のようにはできますが: |
1612 | 1617 | |
1613 | 1618 | $foo = *foo; |
1614 | 1619 | $foo += 1; |
1615 | 1620 | |
1616 | 1621 | =begin original |
1617 | 1622 | |
1618 | 1623 | but then $foo no longer contains a glob. |
1619 | 1624 | |
1620 | 1625 | =end original |
1621 | 1626 | |
1622 | 1627 | $foo にはもはやグロブは残っていません。 |
1623 | 1628 | |
1624 | 1629 | =item Can't "continue" outside a when block |
1625 | 1630 | |
1626 | 1631 | =begin original |
1627 | 1632 | |
1628 | 1633 | (F) You called C<continue>, but you're not inside a C<when> |
1629 | 1634 | or C<default> block. |
1630 | 1635 | |
1631 | 1636 | =end original |
1632 | 1637 | |
1633 | 1638 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの |
1634 | 1639 | 内側ではありません。 |
1635 | 1640 | |
1636 | 1641 | =item Can't create pipe mailbox |
1637 | 1642 | |
1638 | 1643 | =begin original |
1639 | 1644 | |
1640 | 1645 | (P) An error peculiar to VMS. The process is suffering from exhausted |
1641 | 1646 | quotas or other plumbing problems. |
1642 | 1647 | |
1643 | 1648 | =end original |
1644 | 1649 | |
1645 | 1650 | (P) VMS に固有のエラーです。 |
1646 | 1651 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
1647 | 1652 | |
1648 | 1653 | =item Can't declare %s in "%s" |
1649 | 1654 | |
1650 | 1655 | =begin original |
1651 | 1656 | |
1652 | 1657 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or |
1653 | 1658 | "state" variables. They must have ordinary identifiers as names. |
1654 | 1659 | |
1655 | 1660 | =end original |
1656 | 1661 | |
1657 | 1662 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として |
1658 | 1663 | 宣言できます。 |
1659 | 1664 | これらは、名前として通常の識別子を持たなければなりません。 |
1660 | 1665 | |
1661 | 1666 | =item Can't "default" outside a topicalizer |
1662 | 1667 | |
1663 | 1668 | =begin original |
1664 | 1669 | |
1665 | 1670 | (F) You have used a C<default> block that is neither inside a |
1666 | 1671 | C<foreach> loop nor a C<given> block. (Note that this error is |
1667 | 1672 | issued on exit from the C<default> block, so you won't get the |
1668 | 1673 | error if you use an explicit C<continue>.) |
1669 | 1674 | |
1670 | 1675 | =end original |
1671 | 1676 | |
1672 | 1677 | (F) C<foreach> ループや C<given> ブロックの内側でないところで |
1673 | 1678 | C<default> ブロックを使いました。 |
1674 | 1679 | (このエラーは C<default> ブロックから出るときに発生するので、明示的な |
1675 | 1680 | C<continue> を使うとエラーは発生しません。) |
1676 | 1681 | |
1677 | 1682 | =item Can't do inplace edit: %s is not a regular file |
1678 | 1683 | |
1679 | 1684 | =begin original |
1680 | 1685 | |
1681 | 1686 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
1682 | a file in /dev, a FIFO | |
1687 | a file in /dev, or a FIFO. The file was ignored. | |
1683 | 1688 | |
1684 | 1689 | =end original |
1685 | 1690 | |
1686 | (S inplace) /dev | |
1691 | (S inplace) /dev や FIFO のような、特殊ファイルに対して、B<-i> スイッチを | |
1687 | ||
1692 | 使おうとしました。 | |
1688 | 1693 | このファイルは無視されます。 |
1689 | 1694 | |
1690 | 1695 | =item Can't do inplace edit on %s: %s |
1691 | 1696 | |
1692 | 1697 | =begin original |
1693 | 1698 | |
1694 | 1699 | (S inplace) The creation of the new file failed for the indicated |
1695 | 1700 | reason. |
1696 | 1701 | |
1697 | 1702 | =end original |
1698 | 1703 | |
1699 | 1704 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
1700 | 1705 | |
1701 | 1706 | =item Can't do inplace edit without backup |
1702 | 1707 | |
1703 | 1708 | =begin original |
1704 | 1709 | |
1705 | 1710 | (F) You're on a system such as MS-DOS that gets confused if you try |
1706 | 1711 | reading from a deleted (but still opened) file. You have to say |
1707 | 1712 | C<-i.bak>, or some such. |
1708 | 1713 | |
1709 | 1714 | =end original |
1710 | 1715 | |
1711 | 1716 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると |
1712 | 1717 | おかしくなる MS-DOS のようなシステムで実行しています。 |
1713 | 1718 | C<-i.bak> のようにバックアップを指定してください。 |
1714 | 1719 | |
1715 | 1720 | =item Can't do inplace edit: %s would not be unique |
1716 | 1721 | |
1717 | 1722 | =begin original |
1718 | 1723 | |
1719 | 1724 | (S inplace) Your filesystem does not support filenames longer than 14 |
1720 | 1725 | characters and Perl was unable to create a unique filename during |
1721 | 1726 | inplace editing with the B<-i> switch. The file was ignored. |
1722 | 1727 | |
1723 | 1728 | =end original |
1724 | 1729 | |
1725 | 1730 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1726 | 1731 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1727 | 1732 | 作成ができませんでした。 |
1728 | 1733 | このファイルは無視されます。 |
1729 | 1734 | |
1735 | =item Can't do {n,m} with n > m in regex; marked by <-- HERE in m/%s/ | |
1736 | ||
1737 | =begin original | |
1738 | ||
1739 | (F) Minima must be less than or equal to maxima. If you really | |
1740 | want your regexp to match something 0 times, just put {0}. The | |
1741 | <-- HERE shows in the regular expression about where the problem | |
1742 | was discovered. See L<perlre>. | |
1743 | ||
1744 | =end original | |
1745 | ||
1746 | (F) 最小値は最大値以下でなければなりません。 | |
1747 | もし、本当に正規表現が 0 回繰り返したものにマッチさせたいなら、単に | |
1748 | {0} としてください。 | |
1749 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
1750 | L<perlre> を参照してください。 | |
1751 | ||
1730 | 1752 | =item Can't do waitpid with flags |
1731 | 1753 | |
1732 | 1754 | =begin original |
1733 | 1755 | |
1734 | 1756 | (F) This machine doesn't have either waitpid() or wait4(), so only |
1735 | 1757 | waitpid() without flags is emulated. |
1736 | 1758 | |
1737 | 1759 | =end original |
1738 | 1760 | |
1739 | 1761 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
1740 | 1762 | フラグの無い waitpid() のみがエミュレート可能です。 |
1741 | 1763 | |
1742 | 1764 | =item Can't emulate -%s on #! line |
1743 | 1765 | |
1744 | 1766 | =begin original |
1745 | 1767 | |
1746 | 1768 | (F) The #! line specifies a switch that doesn't make sense at this |
1747 | 1769 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
1748 | 1770 | line. |
1749 | 1771 | |
1750 | 1772 | =end original |
1751 | 1773 | |
1752 | 1774 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
1753 | 1775 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
1754 | 1776 | |
1755 | 1777 | =item Can't %s %s-endian %ss on this platform |
1756 | 1778 | |
1757 | 1779 | =begin original |
1758 | 1780 | |
1759 | 1781 | (F) Your platform's byte-order is neither big-endian nor little-endian, |
1760 | 1782 | or it has a very strange pointer size. Packing and unpacking big- or |
1761 | 1783 | little-endian floating point values and pointers may not be possible. |
1762 | 1784 | See L<perlfunc/pack>. |
1763 | 1785 | |
1764 | 1786 | =end original |
1765 | 1787 | |
1766 | 1788 | (F) プラットフォームのバイト順序がビッグエンディアンでも |
1767 | 1789 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 |
1768 | 1790 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの |
1769 | 1791 | pack や unpack はできません。 |
1770 | 1792 | L<perlfunc/pack> を参照してください。 |
1771 | 1793 | |
1772 | 1794 | =item Can't exec "%s": %s |
1773 | 1795 | |
1774 | 1796 | =begin original |
1775 | 1797 | |
1776 | 1798 | (W exec) A system(), exec(), or piped open call could not execute the |
1777 | 1799 | named program for the indicated reason. Typical reasons include: the |
1778 | 1800 | permissions were wrong on the file, the file wasn't found in |
1779 | 1801 | C<$ENV{PATH}>, the executable in question was compiled for another |
1780 | 1802 | architecture, or the #! line in a script points to an interpreter that |
1781 | 1803 | can't be run for similar reasons. (Or maybe your system doesn't support |
1782 | 1804 | #! at all.) |
1783 | 1805 | |
1784 | 1806 | =end original |
1785 | 1807 | |
1786 | 1808 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
1787 | 1809 | 呼び出しの指定されたプログラムが実行できませんでした。 |
1788 | 1810 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
1789 | 1811 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
1790 | 1812 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
1791 | 1813 | インタプリタを指している、というようなものがあります。 |
1792 | 1814 | (あるいは、このシステムで、#! がサポートされていません。) |
1793 | 1815 | |
1794 | 1816 | =item Can't exec %s |
1795 | 1817 | |
1796 | 1818 | =begin original |
1797 | 1819 | |
1798 | 1820 | (F) Perl was trying to execute the indicated program for you because |
1799 | 1821 | that's what the #! line said. If that's not what you wanted, you may |
1800 | 1822 | need to mention "perl" on the #! line somewhere. |
1801 | 1823 | |
1802 | 1824 | =end original |
1803 | 1825 | |
1804 | 1826 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
1805 | 1827 | 実行しようとしました。 |
1806 | 1828 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
1807 | 1829 | |
1808 | 1830 | =item Can't execute %s |
1809 | 1831 | |
1810 | 1832 | =begin original |
1811 | 1833 | |
1812 | 1834 | (F) You used the B<-S> switch, but the copies of the script to execute |
1813 | 1835 | found in the PATH did not have correct permissions. |
1814 | 1836 | |
1815 | 1837 | =end original |
1816 | 1838 | |
1817 | 1839 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
1818 | 1840 | 正しいパーミッションではありませんでした。 |
1819 | 1841 | |
1820 | 1842 | =item Can't find an opnumber for "%s" |
1821 | 1843 | |
1822 | 1844 | =begin original |
1823 | 1845 | |
1824 | 1846 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
1825 | 1847 | is no builtin with the name C<word>. |
1826 | 1848 | |
1827 | 1849 | =end original |
1828 | 1850 | |
1829 | 1851 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
1830 | 1852 | 名前 C<word> は組み込みではありません。 |
1831 | 1853 | |
1832 | 1854 | =item Can't find %s character property "%s" |
1833 | 1855 | |
1834 | 1856 | =begin original |
1835 | 1857 | |
1836 | 1858 | (F) You used C<\p{}> or C<\P{}> but the character property by that name |
1837 | 1859 | could not be found. Maybe you misspelled the name of the property? |
1838 | 1860 | See L<perluniprops/Properties accessible through \p{} and \P{}> |
1839 | for a complete list of available | |
1861 | for a complete list of available properties. | |
1840 | 1862 | |
1841 | 1863 | =end original |
1842 | 1864 | |
1843 | 1865 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字特性は |
1844 | 1866 | 見つかりませんでした。 |
1845 | おそらく | |
1867 | おそらく特性名をタイプミスしたのでは? | |
1846 | 利用可能な | |
1868 | 利用可能な特性の完全なリストは | |
1847 | 1869 | L<perluniprops/Properties accessible through \p{} and \P{}> を |
1848 | 1870 | 参照してください。 |
1849 | 1871 | |
1850 | 1872 | =item Can't find label %s |
1851 | 1873 | |
1852 | 1874 | =begin original |
1853 | 1875 | |
1854 | 1876 | (F) You said to goto a label that isn't mentioned anywhere that it's |
1855 | 1877 | possible for us to go to. See L<perlfunc/goto>. |
1856 | 1878 | |
1857 | 1879 | =end original |
1858 | 1880 | |
1859 | 1881 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
1860 | 1882 | L<perlfunc/goto> を参照してください。 |
1861 | 1883 | |
1862 | 1884 | =item Can't find %s on PATH |
1863 | 1885 | |
1864 | 1886 | =begin original |
1865 | 1887 | |
1866 | 1888 | (F) You used the B<-S> switch, but the script to execute could not be |
1867 | 1889 | found in the PATH. |
1868 | 1890 | |
1869 | 1891 | =end original |
1870 | 1892 | |
1871 | 1893 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
1872 | 1894 | 見つかりませんでした。 |
1873 | 1895 | |
1874 | 1896 | =item Can't find %s on PATH, '.' not in PATH |
1875 | 1897 | |
1876 | 1898 | =begin original |
1877 | 1899 | |
1878 | 1900 | (F) You used the B<-S> switch, but the script to execute could not be |
1879 | 1901 | found in the PATH, or at least not with the correct permissions. The |
1880 | 1902 | script exists in the current directory, but PATH prohibits running it. |
1881 | 1903 | |
1882 | 1904 | =end original |
1883 | 1905 | |
1884 | 1906 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
1885 | 1907 | 見つからないか、少なくとも適切なパーミッションがありません。 |
1886 | 1908 | スクリプトはカレントディレクトリにはありますが、PATH に |
1887 | 1909 | カレントディレクトリは含まれていません。 |
1888 | 1910 | |
1889 | 1911 | =item Can't find string terminator %s anywhere before EOF |
1890 | 1912 | |
1891 | 1913 | =begin original |
1892 | 1914 | |
1893 | 1915 | (F) Perl strings can stretch over multiple lines. This message means |
1894 | 1916 | that the closing delimiter was omitted. Because bracketed quotes count |
1895 | 1917 | nesting levels, the following is missing its final parenthesis: |
1896 | 1918 | |
1897 | 1919 | =end original |
1898 | 1920 | |
1899 | 1921 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
1900 | 1922 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
1901 | 1923 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが |
1902 | 1924 | 無いと言われます: |
1903 | 1925 | |
1904 | 1926 | print q(The character '(' starts a side comment.); |
1905 | 1927 | |
1906 | 1928 | =begin original |
1907 | 1929 | |
1908 | 1930 | If you're getting this error from a here-document, you may have |
1909 | 1931 | included unseen whitespace before or after your closing tag or there |
1910 | 1932 | may not be a linebreak after it. A good programmer's editor will have |
1911 | 1933 | a way to help you find these characters (or lack of characters). See |
1912 | 1934 | L<perlop> for the full details on here-documents. |
1913 | 1935 | |
1914 | 1936 | =end original |
1915 | 1937 | |
1916 | 1938 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
1917 | 1939 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 |
1918 | 1940 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す |
1919 | 1941 | 助けになる方法があります。 |
1920 | 1942 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 |
1921 | 1943 | |
1922 | 1944 | =item Can't find Unicode property definition "%s" |
1923 | 1945 | |
1924 | 1946 | =begin original |
1925 | 1947 | |
1926 | 1948 | (F) You may have tried to use C<\p> which means a Unicode |
1927 | 1949 | property (for example C<\p{Lu}> matches all uppercase |
1928 | 1950 | letters). If you did mean to use a Unicode property, see |
1929 | 1951 | L<perluniprops/Properties accessible through \p{} and \P{}> |
1930 | 1952 | for a complete list of available properties. If you didn't |
1931 | 1953 | mean to use a Unicode property, escape the C<\p>, either by |
1932 | 1954 | C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or |
1933 | 1955 | until C<\E>). |
1934 | 1956 | |
1935 | 1957 | =end original |
1936 | 1958 | |
1937 | 1959 | (F) (例えば \p{Lu} が全て大文字にマッチング、のように) Unicode 特性を |
1938 | 1960 | 意味するC<\p> を使おうとしました。 |
1939 | 1961 | Unicode 特性を使いたい場合は、利用可能な特性の完全なリストを |
1940 | 1962 | L<perluniprops/Properties accessible through \p{} and \P{}> で |
1941 | 1963 | 参照してください。 |
1942 | 1964 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または |
1943 | 1965 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を |
1944 | 1966 | エスケープしてください。 |
1945 | 1967 | |
1946 | 1968 | =item Can't fork: %s |
1947 | 1969 | |
1948 | 1970 | =begin original |
1949 | 1971 | |
1950 | 1972 | (F) A fatal error occurred while trying to fork while opening a |
1951 | 1973 | pipeline. |
1952 | 1974 | |
1953 | 1975 | =end original |
1954 | 1976 | |
1955 | 1977 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
1956 | 1978 | 致命的エラーが発生しました。 |
1957 | 1979 | |
1958 | 1980 | =item Can't fork, trying again in 5 seconds |
1959 | 1981 | |
1960 | 1982 | =begin original |
1961 | 1983 | |
1962 | 1984 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried |
1963 | 1985 | after five seconds. |
1964 | 1986 | |
1965 | 1987 | =end original |
1966 | 1988 | |
1967 | 1989 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に |
1968 | 1990 | 再試行されます。 |
1969 | 1991 | |
1970 | 1992 | =item Can't get filespec - stale stat buffer? |
1971 | 1993 | |
1972 | 1994 | =begin original |
1973 | 1995 | |
1974 | 1996 | (S) A warning peculiar to VMS. This arises because of the difference |
1975 | 1997 | between access checks under VMS and under the Unix model Perl assumes. |
1976 | 1998 | Under VMS, access checks are done by filename, rather than by bits in |
1977 | 1999 | the stat buffer, so that ACLs and other protections can be taken into |
1978 | 2000 | account. Unfortunately, Perl assumes that the stat buffer contains all |
1979 | 2001 | the necessary information, and passes it, instead of the filespec, to |
1980 | 2002 | the access-checking routine. It will try to retrieve the filespec using |
1981 | 2003 | the device name and FID present in the stat buffer, but this works only |
1982 | 2004 | if you haven't made a subsequent call to the CRTL stat() routine, |
1983 | 2005 | because the device name is overwritten with each call. If this warning |
1984 | 2006 | appears, the name lookup failed, and the access-checking routine gave up |
1985 | 2007 | and returned FALSE, just to be conservative. (Note: The access-checking |
1986 | 2008 | routine knows about the Perl C<stat> operator and file tests, so you |
1987 | 2009 | shouldn't ever see this warning in response to a Perl command; it arises |
1988 | 2010 | only if some internal code takes stat buffers lightly.) |
1989 | 2011 | |
1990 | 2012 | =end original |
1991 | 2013 | |
1992 | 2014 | (S) VMS に固有の警告です。 |
1993 | 2015 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
1994 | 2016 | あることによって起こります。 |
1995 | 2017 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
1996 | 2018 | 行われるので、ACL やその他の保護が考慮されます。 |
1997 | 2019 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
1998 | 2020 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
1999 | 2021 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
2000 | 2022 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
2001 | 2023 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
2002 | 2024 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
2003 | 2025 | 安全のためだけに FALSE を返します。 |
2004 | 2026 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
2005 | 2027 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
2006 | 2028 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
2007 | 2029 | 発生します。) |
2008 | 2030 | |
2009 | 2031 | =item Can't get pipe mailbox device name |
2010 | 2032 | |
2011 | 2033 | =begin original |
2012 | 2034 | |
2013 | 2035 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
2014 | 2036 | pipe, Perl can't retrieve its name for later use. |
2015 | 2037 | |
2016 | 2038 | =end original |
2017 | 2039 | |
2018 | 2040 | (P) VMS に固有のエラーです。 |
2019 | 2041 | パイプとして働くメールボックスの作成後、後で使うための名前を |
2020 | 2042 | Perl が取得できませんでした。 |
2021 | 2043 | |
2022 | 2044 | =item Can't get SYSGEN parameter value for MAXBUF |
2023 | 2045 | |
2024 | 2046 | =begin original |
2025 | 2047 | |
2026 | 2048 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
2027 | 2049 | mailbox buffers to be, and didn't get an answer. |
2028 | 2050 | |
2029 | 2051 | =end original |
2030 | 2052 | |
2031 | 2053 | (P) VMS に固有のエラーです。 |
2032 | 2054 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
2033 | 2055 | 問い合わせましたが、答えが得られませんでした。 |
2034 | 2056 | |
2035 | 2057 | =item Can't "goto" into the middle of a foreach loop |
2036 | 2058 | |
2037 | 2059 | =begin original |
2038 | 2060 | |
2039 | 2061 | (F) A "goto" statement was executed to jump into the middle of a foreach |
2040 | 2062 | loop. You can't get there from here. See L<perlfunc/goto>. |
2041 | 2063 | |
2042 | 2064 | =end original |
2043 | 2065 | |
2044 | 2066 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
2045 | 2067 | ここからそこへは行けません。 |
2046 | 2068 | L<perlfunc/goto> を参照してください。 |
2047 | 2069 | |
2048 | 2070 | =item Can't "goto" out of a pseudo block |
2049 | 2071 | |
2050 | 2072 | =begin original |
2051 | 2073 | |
2052 | 2074 | (F) A "goto" statement was executed to jump out of what might look like |
2053 | 2075 | a block, except that it isn't a proper block. This usually occurs if |
2054 | 2076 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
2055 | 2077 | See L<perlfunc/goto>. |
2056 | 2078 | |
2057 | 2079 | =end original |
2058 | 2080 | |
2059 | 2081 | (F) "goto" 文でブロックのように見えるけれども、適切な |
2060 | 2082 | ブロックではないところから飛び出そうとしました。 |
2061 | 2083 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
2062 | 2084 | 起きますが、それはできません。 |
2063 | 2085 | L<perlfunc/goto> を参照してください。 |
2064 | 2086 | |
2065 | 2087 | =item Can't goto subroutine from a sort sub (or similar callback) |
2066 | 2088 | |
2067 | 2089 | =begin original |
2068 | 2090 | |
2069 | 2091 | (F) The "goto subroutine" call can't be used to jump out of the |
2070 | 2092 | comparison sub for a sort(), or from a similar callback (such |
2071 | 2093 | as the reduce() function in List::Util). |
2072 | 2094 | |
2073 | 2095 | =end original |
2074 | 2096 | |
2075 | 2097 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 |
2076 | 2098 | (List::Util の reduce() 関数のような) 似たようなコールバックから |
2077 | 2099 | 飛び出すことはできません。 |
2078 | 2100 | |
2079 | 2101 | =item Can't goto subroutine from an eval-%s |
2080 | 2102 | |
2081 | 2103 | =begin original |
2082 | 2104 | |
2083 | 2105 | (F) The "goto subroutine" call can't be used to jump out of an eval |
2084 | 2106 | "string" or block. |
2085 | 2107 | |
2086 | 2108 | =end original |
2087 | 2109 | |
2088 | 2110 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから |
2089 | 2111 | 飛び出すことはできません。 |
2090 | 2112 | |
2091 | 2113 | =item Can't goto subroutine outside a subroutine |
2092 | 2114 | |
2093 | 2115 | =begin original |
2094 | 2116 | |
2095 | 2117 | (F) The deeply magical "goto subroutine" call can only replace one |
2096 | 2118 | subroutine call for another. It can't manufacture one out of whole |
2097 | 2119 | cloth. In general you should be calling it out of only an AUTOLOAD |
2098 | 2120 | routine anyway. See L<perlfunc/goto>. |
2099 | 2121 | |
2100 | 2122 | =end original |
2101 | 2123 | |
2102 | 2124 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン |
2103 | 2125 | 呼び出しを別のもので置き換えるだけです。 |
2104 | 2126 | 反物の状態から作り上げることはできません。 |
2105 | 2127 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
2106 | 2128 | しておくべきです。 |
2107 | 2129 | L<perlfunc/goto> を参照してください。 |
2108 | 2130 | |
2109 | 2131 | =item Can't ignore signal CHLD, forcing to default |
2110 | 2132 | |
2111 | 2133 | =begin original |
2112 | 2134 | |
2113 | 2135 | (W signal) Perl has detected that it is being run with the SIGCHLD |
2114 | 2136 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
2115 | 2137 | signal will interfere with proper determination of exit status of child |
2116 | 2138 | processes, Perl has reset the signal to its default value. This |
2117 | 2139 | situation typically indicates that the parent program under which Perl |
2118 | 2140 | may be running (e.g. cron) is being very careless. |
2119 | 2141 | |
2120 | 2142 | =end original |
2121 | 2143 | |
2122 | 2144 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
2123 | 2145 | 無効化された状態で実行されていることを検出しました。 |
2124 | 2146 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
2125 | 2147 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
2126 | 2148 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
2127 | 2149 | とても不注意であることを示しています。 |
2128 | 2150 | |
2129 | 2151 | =item Can't kill a non-numeric process ID |
2130 | 2152 | |
2131 | 2153 | =begin original |
2132 | 2154 | |
2133 | 2155 | (F) Process identifiers must be (signed) integers. It is a fatal error to |
2134 | 2156 | attempt to kill() an undefined, empty-string or otherwise non-numeric |
2135 | 2157 | process identifier. |
2136 | 2158 | |
2137 | 2159 | =end original |
2138 | 2160 | |
2139 | 2161 | (F) プロセス識別子は(符号付き)整数でなければなりません。 |
2140 | 2162 | 未定義値、空文字列、その他の非数値プロセス識別子を使って |
2141 | 2163 | kill() しようとすることは致命的エラーです。 |
2142 | 2164 | |
2143 | 2165 | =item Can't "last" outside a loop block |
2144 | 2166 | |
2145 | 2167 | =begin original |
2146 | 2168 | |
2147 | 2169 | (F) A "last" statement was executed to break out of the current block, |
2148 | 2170 | except that there's this itty bitty problem called there isn't a current |
2149 | 2171 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
2150 | 2172 | block, as doesn't a block given to sort(), map() or grep(). You can |
2151 | 2173 | usually double the curlies to get the same effect though, because the |
2152 | 2174 | inner curlies will be considered a block that loops once. See |
2153 | 2175 | L<perlfunc/last>. |
2154 | 2176 | |
2155 | 2177 | =end original |
2156 | 2178 | |
2157 | 2179 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
2158 | 2180 | 残念なことにブロックの中ではありませんでした。 |
2159 | 2181 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2160 | 2182 | 同様「ループ風」ブロックではないので、注意してください。 |
2161 | 2183 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2162 | 2184 | ブロックとみなされますから、同じ効果が得られます。 |
2163 | 2185 | L<perlfunc/last> を参照してください。 |
2164 | 2186 | |
2165 | 2187 | =item Can't linearize anonymous symbol table |
2166 | 2188 | |
2167 | 2189 | =begin original |
2168 | 2190 | |
2169 | 2191 | (F) Perl tried to calculate the method resolution order (MRO) of a |
2170 | 2192 | package, but failed because the package stash has no name. |
2171 | 2193 | |
2172 | 2194 | =end original |
2173 | 2195 | |
2174 | 2196 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 |
2175 | 2197 | パッケージ stash に名前がないので失敗しました。 |
2176 | 2198 | |
2177 | 2199 | =item Can't load '%s' for module %s |
2178 | 2200 | |
2179 | 2201 | =begin original |
2180 | 2202 | |
2181 | 2203 | (F) The module you tried to load failed to load a dynamic extension. |
2182 | 2204 | This may either mean that you upgraded your version of perl to one |
2183 | 2205 | that is incompatible with your old dynamic extensions (which is known |
2184 | 2206 | to happen between major versions of perl), or (more likely) that your |
2185 | 2207 | dynamic extension was built against an older version of the library |
2186 | 2208 | that is installed on your system. You may need to rebuild your old |
2187 | 2209 | dynamic extensions. |
2188 | 2210 | |
2189 | 2211 | =end original |
2190 | 2212 | |
2191 | 2213 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに |
2192 | 2214 | 失敗しました。 |
2193 | 2215 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか |
2194 | 2216 | (これは perl のメジャーバージョン間で起きることが知られています)、 |
2195 | 2217 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い |
2196 | 2218 | バージョンのライブラリに対してビルドされているかです。 |
2197 | 2219 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 |
2198 | 2220 | |
2199 | 2221 | =item Can't localize lexical variable %s |
2200 | 2222 | |
2201 | 2223 | =begin original |
2202 | 2224 | |
2203 | 2225 | (F) You used local on a variable name that was previously declared as a |
2204 | 2226 | lexical variable using "my" or "state". This is not allowed. If you |
2205 | 2227 | want to localize a package variable of the same name, qualify it with |
2206 | 2228 | the package name. |
2207 | 2229 | |
2208 | 2230 | =end original |
2209 | 2231 | |
2210 | 2232 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に |
2211 | 2233 | 対して local を使いました。 |
2212 | 2234 | これは認められていません。 |
2213 | 2235 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
2214 | 2236 | パッケージ名で修飾してください。 |
2215 | 2237 | |
2216 | 2238 | =item Can't localize through a reference |
2217 | 2239 | |
2218 | 2240 | =begin original |
2219 | 2241 | |
2220 | 2242 | (F) You said something like C<local $$ref>, which Perl can't currently |
2221 | 2243 | handle, because when it goes to restore the old value of whatever $ref |
2222 | 2244 | pointed to after the scope of the local() is finished, it can't be sure |
2223 | 2245 | that $ref will still be a reference. |
2224 | 2246 | |
2225 | 2247 | =end original |
2226 | 2248 | |
2227 | 2249 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
2228 | 2250 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
2229 | 2251 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
2230 | 2252 | わからないからです。 |
2231 | 2253 | |
2232 | 2254 | =item Can't locate %s |
2233 | 2255 | |
2234 | 2256 | =begin original |
2235 | 2257 | |
2236 | 2258 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found. |
2237 | 2259 | Perl looks for the file in all the locations mentioned in @INC, unless |
2238 | 2260 | the file name included the full path to the file. Perhaps you need |
2239 | 2261 | to set the PERL5LIB or PERL5OPT environment variable to say where the |
2240 | 2262 | extra library is, or maybe the script needs to add the library name |
2241 | 2263 | to @INC. Or maybe you just misspelled the name of the file. See |
2242 | 2264 | L<perlfunc/require> and L<lib>. |
2243 | 2265 | |
2244 | 2266 | =end original |
2245 | 2267 | |
2246 | 2268 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
2247 | 2269 | 指示されましたが、見つかりませんでした。 |
2248 | 2270 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
2249 | 2271 | 全ての場所を検索します。 |
2250 | 2272 | おそらく、追加ライブラリの場所を示すために、 |
2251 | 2273 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
2252 | 2274 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
2253 | 2275 | ファイル名のスペルミスの可能性もあります。 |
2254 | 2276 | L<perlfunc/require> と L<lib> を参照してください。 |
2255 | 2277 | |
2256 | 2278 | =item Can't locate auto/%s.al in @INC |
2257 | 2279 | |
2258 | 2280 | =begin original |
2259 | 2281 | |
2260 | 2282 | (F) A function (or method) was called in a package which allows |
2261 | 2283 | autoload, but there is no function to autoload. Most probable causes |
2262 | 2284 | are a misprint in a function/method name or a failure to C<AutoSplit> |
2263 | 2285 | the file, say, by doing C<make install>. |
2264 | 2286 | |
2265 | 2287 | =end original |
2266 | 2288 | |
2267 | 2289 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
2268 | 2290 | 呼び出されましたが、オートロードする関数がありませんでした。 |
2269 | 2291 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
2270 | 2292 | することによるファイルの C<AutoSplit> の失敗です。 |
2271 | 2293 | |
2272 | 2294 | =item Can't locate loadable object for module %s in @INC |
2273 | 2295 | |
2274 | 2296 | =begin original |
2275 | 2297 | |
2276 | 2298 | (F) The module you loaded is trying to load an external library, like |
2277 | 2299 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was |
2278 | 2300 | unable to locate this library. See L<DynaLoader>. |
2279 | 2301 | |
2280 | 2302 | =end original |
2281 | 2303 | |
2282 | 2304 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 |
2283 | 2305 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この |
2284 | 2306 | ライブラリの位置がわかりませんでした。 |
2285 | 2307 | L<DynaLoader> を参照してください。 |
2286 | 2308 | |
2287 | 2309 | =item Can't locate object method "%s" via package "%s" |
2288 | 2310 | |
2289 | 2311 | =begin original |
2290 | 2312 | |
2291 | 2313 | (F) You called a method correctly, and it correctly indicated a package |
2292 | 2314 | functioning as a class, but that package doesn't define that particular |
2293 | 2315 | method, nor does any of its base classes. See L<perlobj>. |
2294 | 2316 | |
2295 | 2317 | =end original |
2296 | 2318 | |
2297 | 2319 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2298 | 2320 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2299 | 2321 | 該当のメソッドが定義されていません。 |
2300 | 2322 | L<perlobj> を参照してください。 |
2301 | 2323 | |
2302 | 2324 | =item Can't locate package %s for @%s::ISA |
2303 | 2325 | |
2304 | 2326 | =begin original |
2305 | 2327 | |
2306 | 2328 | (W syntax) The @ISA array contained the name of another package that |
2307 | 2329 | doesn't seem to exist. |
2308 | 2330 | |
2309 | 2331 | =end original |
2310 | 2332 | |
2311 | 2333 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
2312 | 2334 | 存在していないようです。 |
2313 | 2335 | |
2314 | 2336 | =item Can't locate PerlIO%s |
2315 | 2337 | |
2316 | 2338 | =begin original |
2317 | 2339 | |
2318 | 2340 | (F) You tried to use in open() a PerlIO layer that does not exist, |
2319 | 2341 | e.g. open(FH, ">:nosuchlayer", "somefile"). |
2320 | 2342 | |
2321 | 2343 | =end original |
2322 | 2344 | |
2323 | 2345 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 |
2324 | 2346 | open() で 存在しない PerlIO 層を使おうとしました。 |
2325 | 2347 | |
2326 | 2348 | =item Can't make list assignment to %ENV on this system |
2327 | 2349 | |
2328 | 2350 | =begin original |
2329 | 2351 | |
2330 | 2352 | (F) List assignment to %ENV is not supported on some systems, notably |
2331 | 2353 | VMS. |
2332 | 2354 | |
2333 | 2355 | =end original |
2334 | 2356 | |
2335 | 2357 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2336 | 2358 | 対応していません。 |
2337 | 2359 | |
2338 | =item Can't make loaded symbols global on this platform while loading %s | |
2339 | ||
2340 | =begin original | |
2341 | ||
2342 | (W) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
2343 | that symbols from the stated file are made available globally within the | |
2344 | process, but that functionality is not available on this platform. Whilst | |
2345 | the module likely will still work, this may prevent the perl interpreter | |
2346 | from loading other XS-based extensions which need to link directly to | |
2347 | functions defined in the C or XS code in the stated file. | |
2348 | ||
2349 | =end original | |
2350 | ||
2351 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
2352 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
2353 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
2354 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
2355 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
2356 | エクステンションの読み込みが妨げられるかもしれません。 | |
2357 | ||
2358 | 2360 | =item Can't modify %s in %s |
2359 | 2361 | |
2360 | 2362 | =begin original |
2361 | 2363 | |
2362 | 2364 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
2363 | 2365 | to change it, such as with an auto-increment. |
2364 | 2366 | |
2365 | 2367 | =end original |
2366 | 2368 | |
2367 | 2369 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
2368 | 2370 | |
2369 | 2371 | =item Can't modify nonexistent substring |
2370 | 2372 | |
2371 | 2373 | =begin original |
2372 | 2374 | |
2373 | 2375 | (P) The internal routine that does assignment to a substr() was handed |
2374 | 2376 | a NULL. |
2375 | 2377 | |
2376 | 2378 | =end original |
2377 | 2379 | |
2378 | 2380 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
2379 | 2381 | |
2380 | 2382 | =item Can't modify non-lvalue subroutine call |
2381 | 2383 | |
2382 | 2384 | =begin original |
2383 | 2385 | |
2384 | 2386 | (F) Subroutines meant to be used in lvalue context should be declared as |
2385 | 2387 | such. See L<perlsub/"Lvalue subroutines">. |
2386 | 2388 | |
2387 | 2389 | =end original |
2388 | 2390 | |
2389 | 2391 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2390 | 2392 | 宣言しなければなりません。 |
2391 | 2393 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2392 | 2394 | |
2393 | 2395 | =item Can't msgrcv to read-only var |
2394 | 2396 | |
2395 | 2397 | =begin original |
2396 | 2398 | |
2397 | 2399 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2398 | 2400 | buffer. |
2399 | 2401 | |
2400 | 2402 | =end original |
2401 | 2403 | |
2402 | 2404 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2403 | 2405 | 変更可能なものでなければなりません。 |
2404 | 2406 | |
2405 | 2407 | =item Can't "next" outside a loop block |
2406 | 2408 | |
2407 | 2409 | =begin original |
2408 | 2410 | |
2409 | 2411 | (F) A "next" statement was executed to reiterate the current block, but |
2410 | 2412 | there isn't a current block. Note that an "if" or "else" block doesn't |
2411 | 2413 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2412 | 2414 | grep(). You can usually double the curlies to get the same effect |
2413 | 2415 | though, because the inner curlies will be considered a block that loops |
2414 | 2416 | once. See L<perlfunc/next>. |
2415 | 2417 | |
2416 | 2418 | =end original |
2417 | 2419 | |
2418 | 2420 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2419 | 2421 | ブロックの中ではありませんでした。 |
2420 | 2422 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2421 | 2423 | 同様「ループ風」ブロックではないので、注意してください。 |
2422 | 2424 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2423 | 2425 | ブロックとみなされますから、同じ効果が得られます。 |
2424 | 2426 | L<perlfunc/next> を参照してください。 |
2425 | 2427 | |
2426 | 2428 | =item Can't open %s |
2427 | 2429 | |
2428 | 2430 | =begin original |
2429 | 2431 | |
2430 | 2432 | (F) You tried to run a perl built with MAD support with |
2431 | 2433 | the PERL_XMLDUMP environment variable set, but the file |
2432 | 2434 | named by that variable could not be opened. |
2433 | 2435 | |
2434 | 2436 | =end original |
2435 | 2437 | |
2436 | 2438 | (F) PERL_XMLDUMP 環境変数を設定して MAD 対応でビルドした perl を |
2437 | 2439 | 実行しようとしましたが、環境変数で指定された名前のファイルが開けませんでした。 |
2438 | 2440 | |
2439 | 2441 | =item Can't open %s: %s |
2440 | 2442 | |
2441 | 2443 | =begin original |
2442 | 2444 | |
2443 | 2445 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2444 | 2446 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2445 | 2447 | switches, or explicitly, failed for the indicated reason. Usually |
2446 | 2448 | this is because you don't have read permission for a file which |
2447 | 2449 | you named on the command line. |
2448 | 2450 | |
2449 | 2451 | =end original |
2450 | 2452 | |
2451 | 2453 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2452 | 2454 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2453 | 2455 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2454 | 2456 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2455 | 2457 | |
2456 | 2458 | =begin original |
2457 | 2459 | |
2458 | 2460 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or |
2459 | 2461 | your operating system's equivalent) could not be opened. |
2460 | 2462 | |
2461 | 2463 | =end original |
2462 | 2464 | |
2463 | 2465 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> |
2464 | 2466 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 |
2465 | 2467 | |
2466 | 2468 | =item Can't open a reference |
2467 | 2469 | |
2468 | 2470 | =begin original |
2469 | 2471 | |
2470 | 2472 | (W io) You tried to open a scalar reference for reading or writing, |
2471 | 2473 | using the 3-arg open() syntax: |
2472 | 2474 | |
2473 | 2475 | =end original |
2474 | 2476 | |
2475 | 2477 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは |
2476 | 2478 | 書き込みのために開こうとしました: |
2477 | 2479 | |
2478 | 2480 | open FH, '>', $ref; |
2479 | 2481 | |
2480 | 2482 | =begin original |
2481 | 2483 | |
2482 | 2484 | but your version of perl is compiled without perlio, and this form of |
2483 | 2485 | open is not supported. |
2484 | 2486 | |
2485 | 2487 | =end original |
2486 | 2488 | |
2487 | 2489 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 |
2488 | 2490 | この形式の open は対応していません。 |
2489 | 2491 | |
2490 | 2492 | =item Can't open bidirectional pipe |
2491 | 2493 | |
2492 | 2494 | =begin original |
2493 | 2495 | |
2494 | 2496 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
2495 | 2497 | You can try any of several modules in the Perl library to do this, such |
2496 | 2498 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
2497 | 2499 | ">", and then read it in under a different file handle. |
2498 | 2500 | |
2499 | 2501 | =end original |
2500 | 2502 | |
2501 | 2503 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
2502 | 2504 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
2503 | 2505 | モジュールを使うことができます。 |
2504 | 2506 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
2505 | 2507 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
2506 | 2508 | |
2507 | 2509 | =item Can't open error file %s as stderr |
2508 | 2510 | |
2509 | 2511 | =begin original |
2510 | 2512 | |
2511 | 2513 | (F) An error peculiar to VMS. Perl does its own command line |
2512 | 2514 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
2513 | 2515 | the command line for writing. |
2514 | 2516 | |
2515 | 2517 | =end original |
2516 | 2518 | |
2517 | 2519 | (F) VMS に固有のエラーです。 |
2518 | 2520 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2519 | 2521 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
2520 | 2522 | ファイルを開けませんでした。 |
2521 | 2523 | |
2522 | 2524 | =item Can't open input file %s as stdin |
2523 | 2525 | |
2524 | 2526 | =begin original |
2525 | 2527 | |
2526 | 2528 | (F) An error peculiar to VMS. Perl does its own command line |
2527 | 2529 | redirection, and couldn't open the file specified after '<' on the |
2528 | 2530 | command line for reading. |
2529 | 2531 | |
2530 | 2532 | =end original |
2531 | 2533 | |
2532 | 2534 | (F) VMS に固有のエラーです。 |
2533 | 2535 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2534 | 2536 | コマンドラインで読み込みのために '<' の後に指定された |
2535 | 2537 | ファイルを開けませんでした。 |
2536 | 2538 | |
2537 | 2539 | =item Can't open output file %s as stdout |
2538 | 2540 | |
2539 | 2541 | =begin original |
2540 | 2542 | |
2541 | 2543 | (F) An error peculiar to VMS. Perl does its own command line |
2542 | 2544 | redirection, and couldn't open the file specified after '>' or '>>' on |
2543 | 2545 | the command line for writing. |
2544 | 2546 | |
2545 | 2547 | =end original |
2546 | 2548 | |
2547 | 2549 | (F) VMS に固有のエラーです。 |
2548 | 2550 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2549 | 2551 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
2550 | 2552 | ファイルを開けませんでした。 |
2551 | 2553 | |
2552 | 2554 | =item Can't open output pipe (name: %s) |
2553 | 2555 | |
2554 | 2556 | =begin original |
2555 | 2557 | |
2556 | 2558 | (P) An error peculiar to VMS. Perl does its own command line |
2557 | 2559 | redirection, and couldn't open the pipe into which to send data destined |
2558 | 2560 | for stdout. |
2559 | 2561 | |
2560 | 2562 | =end original |
2561 | 2563 | |
2562 | 2564 | (P) VMS に固有のエラーです。 |
2563 | 2565 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2564 | 2566 | 標準出力としてデータを送るパイプを開けませんでした。 |
2565 | 2567 | |
2566 | 2568 | =item Can't open perl script "%s": %s |
2567 | 2569 | |
2568 | 2570 | =begin original |
2569 | 2571 | |
2570 | 2572 | (F) The script you specified can't be opened for the indicated reason. |
2571 | 2573 | |
2572 | 2574 | =end original |
2573 | 2575 | |
2574 | 2576 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2575 | 2577 | |
2576 | 2578 | =begin original |
2577 | 2579 | |
2578 | 2580 | If you're debugging a script that uses #!, and normally relies on the |
2579 | 2581 | shell's $PATH search, the -S option causes perl to do that search, so |
2580 | 2582 | you don't have to type the path or C<`which $scriptname`>. |
2581 | 2583 | |
2582 | 2584 | =end original |
2583 | 2585 | |
2584 | 2586 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に |
2585 | 2587 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 |
2586 | 2588 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 |
2587 | 2589 | |
2588 | 2590 | =item Can't read CRTL environ |
2589 | 2591 | |
2590 | 2592 | =begin original |
2591 | 2593 | |
2592 | 2594 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2593 | 2595 | from the CRTL's internal environment array and discovered the array was |
2594 | 2596 | missing. You need to figure out where your CRTL misplaced its environ |
2595 | 2597 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2596 | 2598 | searched. |
2597 | 2599 | |
2598 | 2600 | =end original |
2599 | 2601 | |
2600 | 2602 | (S) VMS に固有の警告です。 |
2601 | 2603 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2602 | 2604 | 配列がないことを発見しました。 |
2603 | 2605 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2604 | 2606 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2605 | 2607 | 必要があります。 |
2606 | 2608 | |
2607 | 2609 | =item Can't "redo" outside a loop block |
2608 | 2610 | |
2609 | 2611 | =begin original |
2610 | 2612 | |
2611 | 2613 | (F) A "redo" statement was executed to restart the current block, but |
2612 | 2614 | there isn't a current block. Note that an "if" or "else" block doesn't |
2613 | 2615 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2614 | 2616 | or grep(). You can usually double the curlies to get the same effect |
2615 | 2617 | though, because the inner curlies will be considered a block that |
2616 | 2618 | loops once. See L<perlfunc/redo>. |
2617 | 2619 | |
2618 | 2620 | =end original |
2619 | 2621 | |
2620 | 2622 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2621 | 2623 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2622 | 2624 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2623 | 2625 | 同様「ループ風」ブロックではないので、注意してください。 |
2624 | 2626 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2625 | 2627 | ブロックとみなされますから、同じ効果が得られます。 |
2626 | 2628 | L<perlfunc/redo> を参照してください。 |
2627 | 2629 | |
2628 | 2630 | =item Can't remove %s: %s, skipping file |
2629 | 2631 | |
2630 | 2632 | =begin original |
2631 | 2633 | |
2632 | 2634 | (S inplace) You requested an inplace edit without creating a backup |
2633 | 2635 | file. Perl was unable to remove the original file to replace it with |
2634 | 2636 | the modified file. The file was left unmodified. |
2635 | 2637 | |
2636 | 2638 | =end original |
2637 | 2639 | |
2638 | 2640 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2639 | 2641 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2640 | 2642 | できませんでした。 |
2641 | 2643 | ファイルは変更されずに残されます。 |
2642 | 2644 | |
2643 | 2645 | =item Can't rename %s to %s: %s, skipping file |
2644 | 2646 | |
2645 | 2647 | =begin original |
2646 | 2648 | |
2647 | 2649 | (S inplace) The rename done by the B<-i> switch failed for some reason, |
2648 | 2650 | probably because you don't have write permission to the directory. |
2649 | 2651 | |
2650 | 2652 | =end original |
2651 | 2653 | |
2652 | 2654 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 |
2653 | 2655 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 |
2654 | 2656 | |
2655 | 2657 | =item Can't reopen input pipe (name: %s) in binary mode |
2656 | 2658 | |
2657 | 2659 | =begin original |
2658 | 2660 | |
2659 | 2661 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
2660 | 2662 | to reopen it to accept binary data. Alas, it failed. |
2661 | 2663 | |
2662 | 2664 | =end original |
2663 | 2665 | |
2664 | 2666 | (P) VMS に固有のエラーです。 |
2665 | 2667 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
2666 | 2668 | 再オープンしようとしました。 |
2667 | 2669 | 悲しいかな、それは失敗しました。 |
2668 | 2670 | |
2669 | 2671 | =item Can't reset %ENV on this system |
2670 | 2672 | |
2671 | 2673 | =begin original |
2672 | 2674 | |
2673 | 2675 | (F) You called C<reset('E')> or similar, which tried to reset |
2674 | 2676 | all variables in the current package beginning with "E". In |
2675 | 2677 | the main package, that includes %ENV. Resetting %ENV is not |
2676 | 2678 | supported on some systems, notably VMS. |
2677 | 2679 | |
2678 | 2680 | =end original |
2679 | 2681 | |
2680 | 2682 | (F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる |
2681 | 2683 | 全ての変数を reset しようとしました。 |
2682 | 2684 | main パッケージでは、これには %ENV が含まれます。 |
2683 | 2685 | %ENV の reset は一部のシステム、特に VMS では対応していません。 |
2684 | 2686 | |
2685 | 2687 | =item Can't resolve method "%s" overloading "%s" in package "%s" |
2686 | 2688 | |
2687 | 2689 | =begin original |
2688 | 2690 | |
2689 | 2691 | (F)(P) Error resolving overloading specified by a method name (as |
2690 | 2692 | opposed to a subroutine reference): no such method callable via the |
2691 | 2693 | package. If the method name is C<???>, this is an internal error. |
2692 | 2694 | |
2693 | 2695 | =end original |
2694 | 2696 | |
2695 | 2697 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された |
2696 | 2698 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
2697 | 2699 | 呼び出せません。 |
2698 | 2700 | もしメソッド名が C<???> なら、内部エラーです。 |
2699 | 2701 | |
2700 | 2702 | =item Can't return %s from lvalue subroutine |
2701 | 2703 | |
2702 | 2704 | =begin original |
2703 | 2705 | |
2704 | 2706 | (F) Perl detected an attempt to return illegal lvalues (such as |
2705 | 2707 | temporary or readonly values) from a subroutine used as an lvalue. This |
2706 | 2708 | is not allowed. |
2707 | 2709 | |
2708 | 2710 | =end original |
2709 | 2711 | |
2710 | 2712 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
2711 | 2713 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 |
2712 | 2714 | これは認められていません。 |
2713 | 2715 | |
2714 | 2716 | =item Can't return outside a subroutine |
2715 | 2717 | |
2716 | 2718 | =begin original |
2717 | 2719 | |
2718 | 2720 | (F) The return statement was executed in mainline code, that is, where |
2719 | 2721 | there was no subroutine call to return out of. See L<perlsub>. |
2720 | 2722 | |
2721 | 2723 | =end original |
2722 | 2724 | |
2723 | 2725 | (F) return 文が、return で抜けるべきサブルーチンがない、 |
2724 | 2726 | "main" コードで実行されました。 |
2725 | 2727 | L<perlsub> を参照してください。 |
2726 | 2728 | |
2727 | 2729 | =item Can't return %s to lvalue scalar context |
2728 | 2730 | |
2729 | 2731 | =begin original |
2730 | 2732 | |
2731 | 2733 | (F) You tried to return a complete array or hash from an lvalue |
2732 | 2734 | subroutine, but you called the subroutine in a way that made Perl |
2733 | 2735 | think you meant to return only one value. You probably meant to |
2734 | 2736 | write parentheses around the call to the subroutine, which tell |
2735 | 2737 | Perl that the call should be in list context. |
2736 | 2738 | |
2737 | 2739 | =end original |
2738 | 2740 | |
2739 | 2741 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
2740 | 2742 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
2741 | 2743 | 呼び出しました。 |
2742 | 2744 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
2743 | 2745 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
2744 | 2746 | |
2745 | 2747 | =item Can't stat script "%s" |
2746 | 2748 | |
2747 | 2749 | =begin original |
2748 | 2750 | |
2749 | 2751 | (P) For some reason you can't fstat() the script even though you have it |
2750 | 2752 | open already. Bizarre. |
2751 | 2753 | |
2752 | 2754 | =end original |
2753 | 2755 | |
2754 | 2756 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が |
2755 | 2757 | 行なえません。困ったもんだ。 |
2756 | 2758 | |
2757 | 2759 | =item Can't take log of %g |
2758 | 2760 | |
2759 | 2761 | =begin original |
2760 | 2762 | |
2761 | 2763 | (F) For ordinary real numbers, you can't take the logarithm of a |
2762 | 2764 | negative number or zero. There's a Math::Complex package that comes |
2763 | 2765 | standard with Perl, though, if you really want to do that for the |
2764 | 2766 | negative numbers. |
2765 | 2767 | |
2766 | 2768 | =end original |
2767 | 2769 | |
2768 | 2770 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
2769 | 2771 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
2770 | 2772 | Perl 標準になっている Math::Complex パッケージがあります。 |
2771 | 2773 | |
2772 | 2774 | =item Can't take sqrt of %g |
2773 | 2775 | |
2774 | 2776 | =begin original |
2775 | 2777 | |
2776 | 2778 | (F) For ordinary real numbers, you can't take the square root of a |
2777 | 2779 | negative number. There's a Math::Complex package that comes standard |
2778 | 2780 | with Perl, though, if you really want to do that. |
2779 | 2781 | |
2780 | 2782 | =end original |
2781 | 2783 | |
2782 | 2784 | (F) 通常の実数では、負数の平方根をとることはできません。 |
2783 | 2785 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
2784 | 2786 | Perl に標準で用意されています。 |
2785 | 2787 | |
2786 | 2788 | =item Can't undef active subroutine |
2787 | 2789 | |
2788 | 2790 | =begin original |
2789 | 2791 | |
2790 | 2792 | (F) You can't undefine a routine that's currently running. You can, |
2791 | 2793 | however, redefine it while it's running, and you can even undef the |
2792 | 2794 | redefined subroutine while the old routine is running. Go figure. |
2793 | 2795 | |
2794 | 2796 | =end original |
2795 | 2797 | |
2796 | 2798 | (F) 実行中のルーティンを未定義にすることはできません。 |
2797 | 2799 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
2798 | 2800 | 再定義したサブルーチンを undef することさえできます。 |
2799 | 2801 | 驚きです。 |
2800 | 2802 | |
2801 | 2803 | =item Can't upgrade %s (%d) to %d |
2802 | 2804 | |
2803 | 2805 | =begin original |
2804 | 2806 | |
2805 | 2807 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
2806 | 2808 | into a more specialized kind of SV. The top several SV types are so |
2807 | 2809 | specialized, however, that they cannot be interconverted. This message |
2808 | 2810 | indicates that such a conversion was attempted. |
2809 | 2811 | |
2810 | 2812 | =end original |
2811 | 2813 | |
2812 | 2814 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
2813 | 2815 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
2814 | 2816 | 特殊化され過ぎて、内部変換することができません。 |
2815 | 2817 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
2816 | 2818 | |
2817 | 2819 | =item Can't use '%c' after -mname |
2818 | 2820 | |
2819 | 2821 | =begin original |
2820 | 2822 | |
2821 | 2823 | (F) You tried to call perl with the B<-m> switch, but you put something |
2822 | 2824 | other than "=" after the module name. |
2823 | 2825 | |
2824 | 2826 | =end original |
2825 | 2827 | |
2826 | 2828 | (F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に |
2827 | 2829 | "=" 以外のものを置きました。 |
2828 | 2830 | |
2829 | 2831 | =item Can't use anonymous symbol table for method lookup |
2830 | 2832 | |
2831 | 2833 | =begin original |
2832 | 2834 | |
2833 | 2835 | (F) The internal routine that does method lookup was handed a symbol |
2834 | 2836 | table that doesn't have a name. Symbol tables can become anonymous |
2835 | 2837 | for example by undefining stashes: C<undef %Some::Package::>. |
2836 | 2838 | |
2837 | 2839 | =end original |
2838 | 2840 | |
2839 | 2841 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを |
2840 | 2842 | 扱いました。 |
2841 | 2843 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の |
2842 | 2844 | stash によって無名となります。 |
2843 | 2845 | |
2844 | 2846 | =item Can't use an undefined value as %s reference |
2845 | 2847 | |
2846 | 2848 | =begin original |
2847 | 2849 | |
2848 | 2850 | (F) A value used as either a hard reference or a symbolic reference must |
2849 | 2851 | be a defined value. This helps to delurk some insidious errors. |
2850 | 2852 | |
2851 | 2853 | =end original |
2852 | 2854 | |
2853 | 2855 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
2854 | 2856 | 定義済みの値でなければなりません。 |
2855 | 2857 | 潜伏中のエラーを引きずり出す助けとなります。 |
2856 | 2858 | |
2857 | 2859 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
2858 | 2860 | |
2859 | 2861 | =begin original |
2860 | 2862 | |
2861 | 2863 | (F) Only hard references are allowed by "strict refs". Symbolic |
2862 | 2864 | references are disallowed. See L<perlref>. |
2863 | 2865 | |
2864 | 2866 | =end original |
2865 | 2867 | |
2866 | 2868 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
2867 | 2869 | シンボリックリファレンスは許可されません。 |
2868 | 2870 | L<perlref> を参照してください。 |
2869 | 2871 | |
2870 | 2872 | =item Can't use %! because Errno.pm is not available |
2871 | 2873 | |
2872 | 2874 | =begin original |
2873 | 2875 | |
2874 | 2876 | (F) The first time the C<%!> hash is used, perl automatically loads the |
2875 | 2877 | Errno.pm module. The Errno module is expected to tie the %! hash to |
2876 | 2878 | provide symbolic names for C<$!> errno values. |
2877 | 2879 | |
2878 | 2880 | =end original |
2879 | 2881 | |
2880 | 2882 | (F) 最初に C<%!> ハッシュが使われるときに、 |
2881 | 2883 | perl は自動的に Errno.pm モジュールを読み込みます。 |
2882 | 2884 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
2883 | 2885 | %! ハッシュと tie されることになります。 |
2884 | 2886 | |
2885 | 2887 | =item Can't use both '<' and '>' after type '%c' in %s |
2886 | 2888 | |
2887 | 2889 | =begin original |
2888 | 2890 | |
2889 | 2891 | (F) A type cannot be forced to have both big-endian and little-endian |
2890 | 2892 | byte-order at the same time, so this combination of modifiers is not |
2891 | 2893 | allowed. See L<perlfunc/pack>. |
2892 | 2894 | |
2893 | 2895 | =end original |
2894 | 2896 | |
2895 | 2897 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に |
2896 | 2898 | 強制することはできないので、この修飾子の組み合わせは許可されません。 |
2897 | 2899 | L<perlfunc/pack> を参照してください。 |
2898 | 2900 | |
2899 | 2901 | =item Can't use %s for loop variable |
2900 | 2902 | |
2901 | 2903 | =begin original |
2902 | 2904 | |
2903 | 2905 | (F) Only a simple scalar variable may be used as a loop variable on a |
2904 | 2906 | foreach. |
2905 | 2907 | |
2906 | 2908 | =end original |
2907 | 2909 | |
2908 | 2910 | (F) 単純スカラ変数だけが、foreach のループ変数として |
2909 | 2911 | 使用することができます。 |
2910 | 2912 | |
2911 | 2913 | =item Can't use global %s in "%s" |
2912 | 2914 | |
2913 | 2915 | =begin original |
2914 | 2916 | |
2915 | 2917 | (F) You tried to declare a magical variable as a lexical variable. This |
2916 | 2918 | is not allowed, because the magic can be tied to only one location |
2917 | 2919 | (namely the global variable) and it would be incredibly confusing to |
2918 | 2920 | have variables in your program that looked like magical variables but |
2919 | 2921 | weren't. |
2920 | 2922 | |
2921 | 2923 | =end original |
2922 | 2924 | |
2923 | 2925 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
2924 | 2926 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) |
2925 | 2927 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども |
2926 | 2928 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 |
2927 | 2929 | |
2928 | 2930 | =item Can't use '%c' in a group with different byte-order in %s |
2929 | 2931 | |
2930 | 2932 | =begin original |
2931 | 2933 | |
2932 | 2934 | (F) You attempted to force a different byte-order on a type |
2933 | 2935 | that is already inside a group with a byte-order modifier. |
2934 | 2936 | For example you cannot force little-endianness on a type that |
2935 | 2937 | is inside a big-endian group. |
2936 | 2938 | |
2937 | 2939 | =end original |
2938 | 2940 | |
2939 | 2941 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を |
2940 | 2942 | 強制しようとしました。 |
2941 | 2943 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに |
2942 | 2944 | 強制することはできません。 |
2943 | 2945 | |
2944 | 2946 | =item Can't use "my %s" in sort comparison |
2945 | 2947 | |
2946 | 2948 | =begin original |
2947 | 2949 | |
2948 | 2950 | (F) The global variables $a and $b are reserved for sort comparisons. |
2949 | 2951 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
2950 | 2952 | and the variable had earlier been declared as a lexical variable. |
2951 | 2953 | Either qualify the sort variable with the package name, or rename the |
2952 | 2954 | lexical variable. |
2953 | 2955 | |
2954 | 2956 | =end original |
2955 | 2957 | |
2956 | 2958 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
2957 | 2959 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
2958 | 2960 | その前にレキシカル変数として宣言されています。 |
2959 | 2961 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を |
2960 | 2962 | 変更してください。 |
2961 | 2963 | |
2962 | 2964 | =item Can't use %s ref as %s ref |
2963 | 2965 | |
2964 | 2966 | =begin original |
2965 | 2967 | |
2966 | 2968 | (F) You've mixed up your reference types. You have to dereference a |
2967 | 2969 | reference of the type needed. You can use the ref() function to |
2968 | 2970 | test the type of the reference, if need be. |
2969 | 2971 | |
2970 | 2972 | =end original |
2971 | 2973 | |
2972 | 2974 | (F) リファレンス型を混同しています。 |
2973 | 2975 | 必要な型のリファレンスを被参照しなければなりません。 |
2974 | 2976 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
2975 | 2977 | |
2976 | 2978 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
2977 | 2979 | |
2978 | 2980 | =begin original |
2979 | 2981 | |
2980 | (F) | |
2982 | (F) Only hard references are allowed by "strict refs". Symbolic | |
2981 | ||
2983 | references are disallowed. See L<perlref>. | |
2982 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
2983 | in a double-quoted string immediately before interpolating a variable, | |
2984 | for example in C<"user @$twitter_id">, which says to treat the contents | |
2985 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
2986 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
2987 | 2984 | |
2988 | 2985 | =end original |
2989 | 2986 | |
2990 | (F) | |
2987 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 | |
2991 | ||
2988 | シンボリックリファレンスは許可されません。 | |
2992 | L<perlref | |
2989 | L<perlref> を参照してください。 | |
2993 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
2994 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
2995 | 内容を配列リファレンスとして扱うように指示しています; | |
2996 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
2997 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
2998 | 2990 | |
2999 | 2991 | =item Can't use subscript on %s |
3000 | 2992 | |
3001 | 2993 | =begin original |
3002 | 2994 | |
3003 | 2995 | (F) The compiler tried to interpret a bracketed expression as a |
3004 | 2996 | subscript. But to the left of the brackets was an expression that |
3005 | 2997 | didn't look like a hash or array reference, or anything else subscriptable. |
3006 | 2998 | |
3007 | 2999 | =end original |
3008 | 3000 | |
3009 | 3001 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
3010 | 3002 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
3011 | 3003 | 添字化できるもののようには見えない式です。 |
3012 | 3004 | |
3013 | 3005 | =item Can't use \%c to mean $%c in expression |
3014 | 3006 | |
3015 | 3007 | =begin original |
3016 | 3008 | |
3017 | 3009 | (W syntax) In an ordinary expression, backslash is a unary operator that |
3018 | 3010 | creates a reference to its argument. The use of backslash to indicate a |
3019 | 3011 | backreference to a matched substring is valid only as part of a regular |
3020 | 3012 | expression pattern. Trying to do this in ordinary Perl code produces a |
3021 | 3013 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
3022 | 3014 | instead. |
3023 | 3015 | |
3024 | 3016 | =end original |
3025 | 3017 | |
3026 | 3018 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
3027 | 3019 | 単項演算子です。 |
3028 | 3020 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
3029 | 3021 | 正規表現パターンの一部の場合にのみ有効です。 |
3030 | 3022 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
3031 | 3023 | 表示される値を生成します。 |
3032 | 3024 | 代わりに $1 の形を使ってください。 |
3033 | 3025 | |
3034 | 3026 | =item Can't weaken a nonreference |
3035 | 3027 | |
3036 | 3028 | =begin original |
3037 | 3029 | |
3038 | 3030 | (F) You attempted to weaken something that was not a reference. Only |
3039 | 3031 | references can be weakened. |
3040 | 3032 | |
3041 | 3033 | =end original |
3042 | 3034 | |
3043 | 3035 | (F) リファレンスではない何かを弱めようとしました。 |
3044 | 3036 | リファレンスだけが弱めることができます。 |
3045 | 3037 | |
3046 | 3038 | =item Can't "when" outside a topicalizer |
3047 | 3039 | |
3048 | 3040 | =begin original |
3049 | 3041 | |
3050 | 3042 | (F) You have used a when() block that is neither inside a C<foreach> |
3051 | 3043 | loop nor a C<given> block. (Note that this error is issued on exit |
3052 | 3044 | from the C<when> block, so you won't get the error if the match fails, |
3053 | 3045 | or if you use an explicit C<continue>.) |
3054 | 3046 | |
3055 | 3047 | =end original |
3056 | 3048 | |
3057 | 3049 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを |
3058 | 3050 | 使いました。 |
3059 | 3051 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに |
3060 | 3052 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは |
3061 | 3053 | 発生しません。) |
3062 | 3054 | |
3063 | 3055 | =item Can't x= to read-only value |
3064 | 3056 | |
3065 | 3057 | =begin original |
3066 | 3058 | |
3067 | 3059 | (F) You tried to repeat a constant value (often the undefined value) |
3068 | 3060 | with an assignment operator, which implies modifying the value itself. |
3069 | 3061 | Perhaps you need to copy the value to a temporary, and repeat that. |
3070 | 3062 | |
3071 | 3063 | =end original |
3072 | 3064 | |
3073 | 3065 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
3074 | 3066 | 代入演算子で繰り返しを行なおうとしました。 |
3075 | 3067 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
3076 | 3068 | |
3077 | 3069 | =item Character following "\c" must be ASCII |
3078 | 3070 | |
3079 | 3071 | =begin original |
3080 | 3072 | |
3081 | 3073 | (F)(W deprecated, syntax) In C<\cI<X>>, I<X> must be an ASCII character. |
3082 | It is planned to make this fatal in all instances in Perl | |
3074 | It is planned to make this fatal in all instances in Perl 5.18. In the | |
3083 | 3075 | cases where it isn't fatal, the character this evaluates to is |
3084 | 3076 | derived by exclusive or'ing the code point of this character with 0x40. |
3085 | 3077 | |
3086 | 3078 | =end original |
3087 | 3079 | |
3088 | 3080 | (F)(W deprecated, syntax) C<\cI<X>> において、I<X> は |
3089 | 3081 | ASCII 文字でなければなりません。 |
3090 | これは Perl | |
3082 | これは Perl 5.18 で全て致命的エラーにすることが計画されています。 | |
3091 | 3083 | 致命的エラーではない場合、これが評価される文字は、この文字の符号位置と |
3092 | 3084 | 0x40 の排他的論理和をとったものです。 |
3093 | 3085 | |
3094 | 3086 | =begin original |
3095 | 3087 | |
3096 | Note that non-alphabetic ASCII characters are discouraged here as well | |
3088 | Note that non-alphabetic ASCII characters are discouraged here as well. | |
3097 | and using non-printable ones will be deprecated starting in v5.18. | |
3098 | 3089 | |
3099 | 3090 | =end original |
3100 | 3091 | |
3101 | 非英字 ASCII 文字も非推奨であることに注意してください | |
3092 | 非英字 ASCII 文字も非推奨であることに注意してください。 | |
3102 | 使うのは v5.18 から廃止予定になりました。 | |
3103 | 3093 | |
3104 | 3094 | =item Character in 'C' format wrapped in pack |
3105 | 3095 | |
3106 | 3096 | =begin original |
3107 | 3097 | |
3108 | 3098 | (W pack) You said |
3109 | 3099 | |
3110 | 3100 | =end original |
3111 | 3101 | |
3112 | 3102 | (W pack) 以下のように書きましたが: |
3113 | 3103 | |
3114 | 3104 | pack("C", $x) |
3115 | 3105 | |
3116 | 3106 | =begin original |
3117 | 3107 | |
3118 | 3108 | where $x is either less than 0 or more than 255; the C<"C"> format is |
3119 | 3109 | only for encoding native operating system characters (ASCII, EBCDIC, |
3120 | 3110 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3121 | 3111 | |
3122 | 3112 | =end original |
3123 | 3113 | |
3124 | 3114 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは |
3125 | 3115 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3126 | 3116 | 対応していて、Unicode 文字は対応していません; |
3127 | 3117 | それで、Perl は以下のように意味しているかのように振舞います: |
3128 | 3118 | |
3129 | 3119 | pack("C", $x & 255) |
3130 | 3120 | |
3131 | 3121 | =begin original |
3132 | 3122 | |
3133 | 3123 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3134 | 3124 | instead. |
3135 | 3125 | |
3136 | 3126 | =end original |
3137 | 3127 | |
3138 | 3128 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3139 | 3129 | 使ってください。 |
3140 | 3130 | |
3141 | 3131 | =item Character in 'W' format wrapped in pack |
3142 | 3132 | |
3143 | 3133 | =begin original |
3144 | 3134 | |
3145 | 3135 | (W pack) You said |
3146 | 3136 | |
3147 | 3137 | =end original |
3148 | 3138 | |
3149 | 3139 | (W pack) 以下のように書きましたが: |
3150 | 3140 | |
3151 | 3141 | pack("U0W", $x) |
3152 | 3142 | |
3153 | 3143 | =begin original |
3154 | 3144 | |
3155 | 3145 | where $x is either less than 0 or more than 255. However, C<U0>-mode |
3156 | 3146 | expects all values to fall in the interval [0, 255], so Perl behaved |
3157 | 3147 | as if you meant: |
3158 | 3148 | |
3159 | 3149 | =end original |
3160 | 3150 | |
3161 | 3151 | $x が 0 より小さいか 255 より大きいです。 |
3162 | 3152 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 |
3163 | 3153 | Perl は以下のように振る舞います: |
3164 | 3154 | |
3165 | 3155 | pack("U0W", $x & 255) |
3166 | 3156 | |
3167 | 3157 | =item Character in 'c' format wrapped in pack |
3168 | 3158 | |
3169 | 3159 | =begin original |
3170 | 3160 | |
3171 | 3161 | (W pack) You said |
3172 | 3162 | |
3173 | 3163 | =end original |
3174 | 3164 | |
3175 | 3165 | (W pack) 以下のように書きましたが: |
3176 | 3166 | |
3177 | 3167 | pack("c", $x) |
3178 | 3168 | |
3179 | 3169 | =begin original |
3180 | 3170 | |
3181 | 3171 | where $x is either less than -128 or more than 127; the C<"c"> format |
3182 | 3172 | is only for encoding native operating system characters (ASCII, EBCDIC, |
3183 | 3173 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3184 | 3174 | |
3185 | 3175 | =end original |
3186 | 3176 | |
3187 | 3177 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは |
3188 | 3178 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3189 | 3179 | 対応していて、Unicode 文字は対応していません; |
3190 | 3180 | それで、Perl は以下のように意味しているかのように振舞います: |
3191 | 3181 | |
3192 | 3182 | pack("c", $x & 255); |
3193 | 3183 | |
3194 | 3184 | =begin original |
3195 | 3185 | |
3196 | 3186 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3197 | 3187 | instead. |
3198 | 3188 | |
3199 | 3189 | =end original |
3200 | 3190 | |
3201 | 3191 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3202 | 3192 | 使ってください。 |
3203 | 3193 | |
3204 | 3194 | =item Character in '%c' format wrapped in unpack |
3205 | 3195 | |
3206 | 3196 | =begin original |
3207 | 3197 | |
3208 | 3198 | (W unpack) You tried something like |
3209 | 3199 | |
3210 | 3200 | =end original |
3211 | 3201 | |
3212 | 3202 | (W unpack) 以下のようなことをしましたが: |
3213 | 3203 | |
3214 | 3204 | unpack("H", "\x{2a1}") |
3215 | 3205 | |
3216 | 3206 | =begin original |
3217 | 3207 | |
3218 | 3208 | where the format expects to process a byte (a character with a value |
3219 | 3209 | below 256), but a higher value was provided instead. Perl uses the |
3220 | 3210 | value modulus 256 instead, as if you had provided: |
3221 | 3211 | |
3222 | 3212 | =end original |
3223 | 3213 | |
3224 | 3214 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 |
3225 | 3215 | 文字の中により大きな値のものがあります。 |
3226 | 3216 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3227 | 3217 | 値として使います: |
3228 | 3218 | |
3229 | 3219 | unpack("H", "\x{a1}") |
3230 | 3220 | |
3231 | 3221 | =item Character(s) in '%c' format wrapped in pack |
3232 | 3222 | |
3233 | 3223 | =begin original |
3234 | 3224 | |
3235 | 3225 | (W pack) You tried something like |
3236 | 3226 | |
3237 | 3227 | =end original |
3238 | 3228 | |
3239 | 3229 | (W pack) 以下のようなことをしましたが: |
3240 | 3230 | |
3241 | 3231 | pack("u", "\x{1f3}b") |
3242 | 3232 | |
3243 | 3233 | =begin original |
3244 | 3234 | |
3245 | 3235 | where the format expects to process a sequence of bytes (character with a |
3246 | 3236 | value below 256), but some of the characters had a higher value. Perl |
3247 | 3237 | uses the character values modulus 256 instead, as if you had provided: |
3248 | 3238 | |
3249 | 3239 | =end original |
3250 | 3240 | |
3251 | 3241 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3252 | 3242 | 文字の中により大きな値のものがあります。 |
3253 | 3243 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3254 | 3244 | 値として使います: |
3255 | 3245 | |
3256 | 3246 | pack("u", "\x{f3}b") |
3257 | 3247 | |
3258 | 3248 | =item Character(s) in '%c' format wrapped in unpack |
3259 | 3249 | |
3260 | 3250 | =begin original |
3261 | 3251 | |
3262 | 3252 | (W unpack) You tried something like |
3263 | 3253 | |
3264 | 3254 | =end original |
3265 | 3255 | |
3266 | 3256 | (W unpack) 以下のようなことをしましたが: |
3267 | 3257 | |
3268 | 3258 | unpack("s", "\x{1f3}b") |
3269 | 3259 | |
3270 | 3260 | =begin original |
3271 | 3261 | |
3272 | 3262 | where the format expects to process a sequence of bytes (character with a |
3273 | 3263 | value below 256), but some of the characters had a higher value. Perl |
3274 | 3264 | uses the character values modulus 256 instead, as if you had provided: |
3275 | 3265 | |
3276 | 3266 | =end original |
3277 | 3267 | |
3278 | 3268 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3279 | 3269 | 文字の中により大きな値のものがあります。 |
3280 | 3270 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3281 | 3271 | 値として使います: |
3282 | 3272 | |
3283 | 3273 | unpack("s", "\x{f3}b") |
3284 | 3274 | |
3285 | 3275 | =item "\c{" is deprecated and is more clearly written as ";" |
3286 | 3276 | |
3287 | 3277 | =begin original |
3288 | 3278 | |
3289 | 3279 | (D deprecated, syntax) The C<\cI<X>> construct is intended to be a way |
3290 | 3280 | to specify non-printable characters. You used it with a "{" which |
3291 | 3281 | evaluates to ";", which is printable. It is planned to remove the |
3292 | ability to specify a semi-colon this way in Perl 5. | |
3282 | ability to specify a semi-colon this way in Perl 5.18. Just use a | |
3293 | 3283 | semi-colon or a backslash-semi-colon without the "\c". |
3294 | 3284 | |
3295 | 3285 | =end original |
3296 | 3286 | |
3297 | 3287 | (D deprecated, syntax) C<\cI<X>> 構文は非表示文字を指定する方法を |
3298 | 3288 | 意図しています。 |
3299 | 3289 | これを、表示文字である ";" を評価するために "{" 付きで使いました。 |
3300 | このようにしてセミコロンを指定する方法は Perl 5. | |
3290 | このようにしてセミコロンを指定する方法は Perl 5.18 で取り除かれる予定です。 | |
3301 | 3291 | "\c" なしで単にセミコロンまたは逆スラッシュ-セミコロンを使ってください。 |
3302 | 3292 | |
3303 | 3293 | =item "\c%c" is more clearly written simply as "%s" |
3304 | 3294 | |
3305 | 3295 | =begin original |
3306 | 3296 | |
3307 | 3297 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify |
3308 | 3298 | non-printable characters. You used it for a printable one, which is better |
3309 | 3299 | written as simply itself, perhaps preceded by a backslash for non-word |
3310 | 3300 | characters. |
3311 | 3301 | |
3312 | 3302 | =end original |
3313 | 3303 | |
3314 | 3304 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 |
3315 | 3305 | これを表示文字に使いました; おそらく(おそらく非単語文字のために |
3316 | 3306 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 |
3317 | 3307 | |
3318 | 3308 | =item Cloning substitution context is unimplemented |
3319 | 3309 | |
3320 | 3310 | =begin original |
3321 | 3311 | |
3322 | 3312 | (F) Creating a new thread inside the C<s///> operator is not supported. |
3323 | 3313 | |
3324 | 3314 | =end original |
3325 | 3315 | |
3326 | 3316 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 |
3327 | 3317 | |
3328 | 3318 | =item close() on unopened filehandle %s |
3329 | 3319 | |
3330 | 3320 | =begin original |
3331 | 3321 | |
3332 | 3322 | (W unopened) You tried to close a filehandle that was never opened. |
3333 | 3323 | |
3334 | 3324 | =end original |
3335 | 3325 | |
3336 | 3326 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
3337 | 3327 | |
3338 | 3328 | =item closedir() attempted on invalid dirhandle %s |
3339 | 3329 | |
3340 | 3330 | =begin original |
3341 | 3331 | |
3342 | 3332 | (W io) The dirhandle you tried to close is either closed or not really |
3343 | 3333 | a dirhandle. Check your control flow. |
3344 | 3334 | |
3345 | 3335 | =end original |
3346 | 3336 | |
3347 | 3337 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には |
3348 | 3338 | ディレクトリハンドルではありません。 |
3349 | 3339 | 制御フローをチェックしてください。 |
3350 | 3340 | |
3351 | 3341 | =item Closure prototype called |
3352 | 3342 | |
3353 | 3343 | =begin original |
3354 | 3344 | |
3355 | 3345 | (F) If a closure has attributes, the subroutine passed to an attribute |
3356 | 3346 | handler is the prototype that is cloned when a new closure is created. |
3357 | 3347 | This subroutine cannot be called. |
3358 | 3348 | |
3359 | 3349 | =end original |
3360 | 3350 | |
3361 | 3351 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい |
3362 | 3352 | クロージャが作成されたときにクローン化されたプロトタイプです。 |
3363 | 3353 | このサブルーチンは呼び出すことができません。 |
3364 | 3354 | |
3365 | 3355 | =item Code missing after '/' |
3366 | 3356 | |
3367 | 3357 | =begin original |
3368 | 3358 | |
3369 | 3359 | (F) You had a (sub-)template that ends with a '/'. There must be |
3370 | 3360 | another template code following the slash. See L<perlfunc/pack>. |
3371 | 3361 | |
3372 | 3362 | =end original |
3373 | 3363 | |
3374 | 3364 | (F) テンプレートが '/' で終わっています。 |
3375 | 3365 | スラッシュの後には他のテンプレートコードが必須です。 |
3376 | 3366 | L<perlfunc/pack> を参照してください。 |
3377 | 3367 | |
3378 | 3368 | =item Code point 0x%X is not Unicode, may not be portable |
3379 | 3369 | |
3380 | =item Code point 0x%X is not Unicode, all \p{} matches fail; all \P{} matches | |
3370 | =item Code point 0x%X is not Unicode, all \p{} matches fail; all \P{} matches succeed | |
3381 | succeed | |
3382 | 3371 | |
3383 | 3372 | =begin original |
3384 | 3373 | |
3385 | ( | |
3374 | (W utf8, non_unicode) You had a code point above the Unicode maximum | |
3386 | 3375 | of U+10FFFF. |
3387 | 3376 | |
3388 | 3377 | =end original |
3389 | 3378 | |
3390 | ( | |
3379 | (W utf8, non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
3391 | 3380 | |
3392 | 3381 | =begin original |
3393 | 3382 | |
3394 | 3383 | Perl allows strings to contain a superset of Unicode code points, up |
3395 | 3384 | to the limit of what is storable in an unsigned integer on your system, |
3396 | 3385 | but these may not be accepted by other languages/systems. At one time, |
3397 | 3386 | it was legal in some standards to have code points up to 0x7FFF_FFFF, |
3398 | 3387 | but not higher. Code points above 0xFFFF_FFFF require larger than a |
3399 | 3388 | 32 bit word. |
3400 | 3389 | |
3401 | 3390 | =end original |
3402 | 3391 | |
3403 | 3392 | Perl は Unicode 符号位置のスーパーセットを含む文字列を受け入れます(最大値は |
3404 | 3393 | システムで符号なし整数として保管可能な最大値です); しかし、これらは |
3405 | 3394 | 他の言語やシステムでは受け入れないかも知れません。 |
3406 | 3395 | 同時に、一部の標準では 0x7FFF_FFFF までの符号位置は正当ですが、それ以上は |
3407 | 3396 | そうではありません。 |
3408 | 3397 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 |
3409 | 3398 | |
3410 | 3399 | =begin original |
3411 | 3400 | |
3412 | 3401 | None of the Unicode or Perl-defined properties will match a non-Unicode |
3413 | 3402 | code point. For example, |
3414 | 3403 | |
3415 | 3404 | =end original |
3416 | 3405 | |
3417 | 3406 | Unicode や Perl が定義した特性が非 Unicode 符号位置に |
3418 | 3407 | マッチングすることはありません。 |
3419 | 3408 | 例えば、 |
3420 | 3409 | |
3421 | 3410 | chr(0x7FF_FFFF) =~ /\p{Any}/ |
3422 | 3411 | |
3423 | 3412 | =begin original |
3424 | 3413 | |
3425 | 3414 | will not match, because the code point is not in Unicode. But |
3426 | 3415 | |
3427 | 3416 | =end original |
3428 | 3417 | |
3429 | 3418 | これはマッチングしません; 符号位置は Unicode ではないからです。 |
3430 | 3419 | しかし |
3431 | 3420 | |
3432 | 3421 | chr(0x7FF_FFFF) =~ /\P{Any}/ |
3433 | 3422 | |
3434 | 3423 | =begin original |
3435 | 3424 | |
3436 | 3425 | will match. |
3437 | 3426 | |
3438 | 3427 | =end original |
3439 | 3428 | |
3440 | 3429 | これはマッチングします。 |
3441 | 3430 | |
3442 | 3431 | =begin original |
3443 | 3432 | |
3444 | 3433 | This may be counterintuitive at times, as both these fail: |
3445 | 3434 | |
3446 | 3435 | =end original |
3447 | 3436 | |
3448 | 3437 | 以下のものはどちらも失敗するので、これは直感的ではないかも知れません: |
3449 | 3438 | |
3450 | chr(0x110000) =~ | |
3439 | chr(0x110000) =~ \p{ASCII_Hex_Digit=True} # Fails. | |
3451 | chr(0x110000) =~ | |
3440 | chr(0x110000) =~ \p{ASCII_Hex_Digit=False} # Also fails! | |
3452 | 3441 | |
3453 | 3442 | =begin original |
3454 | 3443 | |
3455 | 3444 | and both these succeed: |
3456 | 3445 | |
3457 | 3446 | =end original |
3458 | 3447 | |
3459 | 3448 | そしてこれはどちらも成功します: |
3460 | 3449 | |
3461 | chr(0x110000) =~ | |
3450 | chr(0x110000) =~ \P{ASCII_Hex_Digit=True} # Succeeds. | |
3462 | chr(0x110000) =~ | |
3451 | chr(0x110000) =~ \P{ASCII_Hex_Digit=False} # Also succeeds! | |
3463 | 3452 | |
3464 | 3453 | =item %s: Command not found |
3465 | 3454 | |
3466 | 3455 | =begin original |
3467 | 3456 | |
3468 | 3457 | (A) You've accidentally run your script through B<csh> or another shell |
3469 | 3458 | shell instead of Perl. Check the #! line, or manually feed your script |
3470 | 3459 | into Perl yourself. The #! line at the top of your file could look like |
3471 | 3460 | |
3472 | 3461 | =end original |
3473 | 3462 | |
3474 | 3463 | (A) スクリプトを perl ではなく B<csh> またはその他のシェルで |
3475 | 3464 | 実行しようとしました。 |
3476 | 3465 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
3477 | 3466 | ファイルの先頭の #! 行は以下のようにします |
3478 | 3467 | |
3479 | 3468 | #!/usr/bin/perl -w |
3480 | 3469 | |
3481 | 3470 | =item Compilation failed in require |
3482 | 3471 | |
3483 | 3472 | =begin original |
3484 | 3473 | |
3485 | 3474 | (F) Perl could not compile a file specified in a C<require> statement. |
3486 | 3475 | Perl uses this generic message when none of the errors that it |
3487 | 3476 | encountered were severe enough to halt compilation immediately. |
3488 | 3477 | |
3489 | 3478 | =end original |
3490 | 3479 | |
3491 | 3480 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
3492 | 3481 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
3493 | 3482 | ときに、この一般的なメッセージを使います。 |
3494 | 3483 | |
3495 | 3484 | =item Complex regular subexpression recursion limit (%d) exceeded |
3496 | 3485 | |
3497 | 3486 | =begin original |
3498 | 3487 | |
3499 | 3488 | (W regexp) The regular expression engine uses recursion in complex |
3500 | 3489 | situations where back-tracking is required. Recursion depth is limited |
3501 | 3490 | to 32766, or perhaps less in architectures where the stack cannot grow |
3502 | 3491 | arbitrarily. ("Simple" and "medium" situations are handled without |
3503 | 3492 | recursion and are not subject to a limit.) Try shortening the string |
3504 | 3493 | under examination; looping in Perl code (e.g. with C<while>) rather than |
3505 | 3494 | in the regular expression engine; or rewriting the regular expression so |
3506 | 3495 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
3507 | 3496 | on I<Mastering Regular Expressions>.) |
3508 | 3497 | |
3509 | 3498 | =end original |
3510 | 3499 | |
3511 | 3500 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
3512 | 3501 | 再帰を使用します。 |
3513 | 3502 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
3514 | 3503 | おそらくもっと小さい値に制限されています。 |
3515 | 3504 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
3516 | 3505 | ありません。) |
3517 | 3506 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
3518 | 3507 | (C<while> などの) Perl コードを使ってループするか、 |
3519 | 3508 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
3520 | 3509 | 書き換えてください。 |
3521 | 3510 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
3522 | 3511 | 参照してください。) |
3523 | 3512 | |
3524 | 3513 | =item cond_broadcast() called on unlocked variable |
3525 | 3514 | |
3526 | 3515 | =begin original |
3527 | 3516 | |
3528 | 3517 | (W threads) Within a thread-enabled program, you tried to |
3529 | 3518 | call cond_broadcast() on a variable which wasn't locked. |
3530 | 3519 | The cond_broadcast() function is used to wake up another thread |
3531 | 3520 | that is waiting in a cond_wait(). To ensure that the signal isn't |
3532 | 3521 | sent before the other thread has a chance to enter the wait, it |
3533 | 3522 | is usual for the signaling thread first to wait for a lock on |
3534 | 3523 | variable. This lock attempt will only succeed after the other |
3535 | 3524 | thread has entered cond_wait() and thus relinquished the lock. |
3536 | 3525 | |
3537 | 3526 | =end original |
3538 | 3527 | |
3539 | 3528 | (W threads) スレッドが有効になっているプログラムで、ロックされていない |
3540 | 3529 | 変数に対して cond_broadcast() を呼び出そうとしました。 |
3541 | 3530 | cond_broadcast() 関数は cond_wait() で待ち状態になっている他のスレッドを |
3542 | 3531 | 起こすために使います。 |
3543 | 3532 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に |
3544 | 3533 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に |
3545 | 3534 | 入るのが普通です。 |
3546 | 3535 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを |
3547 | 3536 | 手放した場合にのみ成功します。 |
3548 | 3537 | |
3549 | 3538 | =item cond_signal() called on unlocked variable |
3550 | 3539 | |
3551 | 3540 | =begin original |
3552 | 3541 | |
3553 | 3542 | (W threads) Within a thread-enabled program, you tried to |
3554 | 3543 | call cond_signal() on a variable which wasn't locked. The |
3555 | 3544 | cond_signal() function is used to wake up another thread that |
3556 | 3545 | is waiting in a cond_wait(). To ensure that the signal isn't |
3557 | 3546 | sent before the other thread has a chance to enter the wait, it |
3558 | 3547 | is usual for the signaling thread first to wait for a lock on |
3559 | 3548 | variable. This lock attempt will only succeed after the other |
3560 | 3549 | thread has entered cond_wait() and thus relinquished the lock. |
3561 | 3550 | |
3562 | 3551 | =end original |
3563 | 3552 | |
3564 | 3553 | (W threads) スレッドが有効になっているプログラムで、ロックされていない |
3565 | 3554 | 変数に対して cond_signal() を呼び出そうとしました。 |
3566 | 3555 | cond_signal() 関数は cond_wait() で待ち状態になっている他のスレッドを |
3567 | 3556 | 起こすために使います。 |
3568 | 3557 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に |
3569 | 3558 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に |
3570 | 3559 | 入るのが普通です。 |
3571 | 3560 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを |
3572 | 3561 | 手放した場合にのみ成功します。 |
3573 | 3562 | |
3574 | 3563 | =item connect() on closed socket %s |
3575 | 3564 | |
3576 | 3565 | =begin original |
3577 | 3566 | |
3578 | 3567 | (W closed) You tried to do a connect on a closed socket. Did you forget |
3579 | 3568 | to check the return value of your socket() call? See |
3580 | 3569 | L<perlfunc/connect>. |
3581 | 3570 | |
3582 | 3571 | =end original |
3583 | 3572 | |
3584 | 3573 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
3585 | 3574 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
3586 | 3575 | L<perlfunc/connect> を参照してください。 |
3587 | 3576 | |
3588 | =item Constant(%s): | |
3577 | =item Constant(%s)%s: %s | |
3589 | 3578 | |
3590 | 3579 | =begin original |
3591 | 3580 | |
3592 | (F) The subroutine registered to handle constant overloading | |
3593 | (see L<overload>) or a custom charnames handler (see | |
3594 | L<charnames/CUSTOM TRANSLATORS>) returned an undefined value. | |
3595 | ||
3596 | =end original | |
3597 | ||
3598 | (F) 定数オーバーロード (L<overload> 参照) を扱うために登録された | |
3599 | サブルーチンや、カスタム文字名ハンドラ | |
3600 | (L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。 | |
3601 | ||
3602 | =item Constant(%s): $^H{%s} is not defined | |
3603 | ||
3604 | =begin original | |
3605 | ||
3606 | (F) The parser found inconsistencies while attempting to define an | |
3607 | overloaded constant. Perhaps you forgot to load the corresponding | |
3608 | L<overload> pragma?. | |
3609 | ||
3610 | =end original | |
3611 | ||
3612 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 | |
3613 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
3614 | ||
3615 | =item Constant(%s) unknown | |
3616 | ||
3617 | =begin original | |
3618 | ||
3619 | 3581 | (F) The parser found inconsistencies either while attempting to define |
3620 | 3582 | an overloaded constant, or when trying to find the character name |
3621 | 3583 | specified in the C<\N{...}> escape. Perhaps you forgot to load the |
3622 | 3584 | corresponding L<overload> pragma?. |
3623 | 3585 | |
3624 | 3586 | =end original |
3625 | 3587 | |
3626 | 3588 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 |
3627 | 3589 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を |
3628 | 3590 | 発見しました。 |
3629 | 3591 | おそらく対応する C<overload> プラグマの読み込みを忘れたのでは? |
3630 | 3592 | |
3593 | =item Constant(%s)%s: %s in regex; marked by <-- HERE in m/%s/ | |
3594 | ||
3595 | =begin original | |
3596 | ||
3597 | (F) The parser found inconsistencies while attempting to find | |
3598 | the character name specified in the C<\N{...}> escape. | |
3599 | ||
3600 | =end original | |
3601 | ||
3602 | (F) パーサが、C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
3603 | 発見しました。 | |
3604 | ||
3631 | 3605 | =item Constant is not %s reference |
3632 | 3606 | |
3633 | 3607 | =begin original |
3634 | 3608 | |
3635 | 3609 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
3636 | 3610 | is being dereferenced, but it amounts to the wrong type of reference. |
3637 | 3611 | The message indicates the type of reference that was expected. This |
3638 | 3612 | usually indicates a syntax error in dereferencing the constant value. |
3639 | 3613 | See L<perlsub/"Constant Functions"> and L<constant>. |
3640 | 3614 | |
3641 | 3615 | =end original |
3642 | 3616 | |
3643 | 3617 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
3644 | 3618 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
3645 | 3619 | このメッセージは想定されたリファレンスの型を示しています。 |
3646 | 3620 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
3647 | 3621 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
3648 | 3622 | |
3649 | 3623 | =item Constant subroutine %s redefined |
3650 | 3624 | |
3651 | 3625 | =begin original |
3652 | 3626 | |
3653 | 3627 | (W redefine)(S) You redefined a subroutine which had previously |
3654 | 3628 | been eligible for inlining. See L<perlsub/"Constant Functions"> |
3655 | 3629 | for commentary and workarounds. |
3656 | 3630 | |
3657 | 3631 | =end original |
3658 | 3632 | |
3659 | 3633 | (W redefine)(S) 以前にインライン化できる形であったサブルーチンを |
3660 | 3634 | 再定義しました。 |
3661 | 3635 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3662 | 3636 | 参照してください。 |
3663 | 3637 | |
3664 | 3638 | =item Constant subroutine %s undefined |
3665 | 3639 | |
3666 | 3640 | =begin original |
3667 | 3641 | |
3668 | 3642 | (W misc) You undefined a subroutine which had previously been eligible |
3669 | 3643 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
3670 | 3644 | workarounds. |
3671 | 3645 | |
3672 | 3646 | =end original |
3673 | 3647 | |
3674 | 3648 | (W misc)以前にインライン化できる形であったサブルーチンを |
3675 | 3649 | 未定義化しました。 |
3676 | 3650 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3677 | 3651 | 参照してください。 |
3678 | 3652 | |
3679 | 3653 | =item Copy method did not return a reference |
3680 | 3654 | |
3681 | 3655 | =begin original |
3682 | 3656 | |
3683 | 3657 | (F) The method which overloads "=" is buggy. See |
3684 | 3658 | L<overload/Copy Constructor>. |
3685 | 3659 | |
3686 | 3660 | =end original |
3687 | 3661 | |
3688 | 3662 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
3689 | 3663 | L<overload/Copy Constructor> を参照してください。 |
3690 | 3664 | |
3691 | 3665 | =item &CORE::%s cannot be called directly |
3692 | 3666 | |
3693 | 3667 | =begin original |
3694 | 3668 | |
3695 | 3669 | (F) You tried to call a subroutine in the C<CORE::> namespace |
3696 | 3670 | with C<&foo> syntax or through a reference. Some subroutines |
3697 | 3671 | in this package cannot yet be called that way, but must be |
3698 | 3672 | called as barewords. Something like this will work: |
3699 | 3673 | |
3700 | 3674 | =end original |
3701 | 3675 | |
3702 | 3676 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で |
3703 | 3677 | 呼び出そうとしました。 |
3704 | 3678 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で |
3705 | 3679 | 呼び出さなければなりません。 |
3706 | 3680 | 以下のようなものは動作します: |
3707 | 3681 | |
3708 | 3682 | BEGIN { *shove = \&CORE::push; } |
3709 | 3683 | shove @array, 1,2,3; # pushes on to @array |
3710 | 3684 | |
3711 | 3685 | =item CORE::%s is not a keyword |
3712 | 3686 | |
3713 | 3687 | =begin original |
3714 | 3688 | |
3715 | 3689 | (F) The CORE:: namespace is reserved for Perl keywords. |
3716 | 3690 | |
3717 | 3691 | =end original |
3718 | 3692 | |
3719 | 3693 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
3720 | 3694 | |
3721 | 3695 | =item corrupted regexp pointers |
3722 | 3696 | |
3723 | 3697 | =begin original |
3724 | 3698 | |
3725 | 3699 | (P) The regular expression engine got confused by what the regular |
3726 | 3700 | expression compiler gave it. |
3727 | 3701 | |
3728 | 3702 | =end original |
3729 | 3703 | |
3730 | 3704 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
3731 | 3705 | 処理できなくなりました。 |
3732 | 3706 | |
3733 | 3707 | =item corrupted regexp program |
3734 | 3708 | |
3735 | 3709 | =begin original |
3736 | 3710 | |
3737 | 3711 | (P) The regular expression engine got passed a regexp program without a |
3738 | 3712 | valid magic number. |
3739 | 3713 | |
3740 | 3714 | =end original |
3741 | 3715 | |
3742 | 3716 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
3743 | 3717 | regexp プログラムを渡しました。 |
3744 | 3718 | |
3745 | 3719 | =item Corrupt malloc ptr 0x%x at 0x%x |
3746 | 3720 | |
3747 | 3721 | =begin original |
3748 | 3722 | |
3749 | 3723 | (P) The malloc package that comes with Perl had an internal failure. |
3750 | 3724 | |
3751 | 3725 | =end original |
3752 | 3726 | |
3753 | 3727 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
3754 | 3728 | |
3755 | =item Corrupted regexp opcode %d > %d | |
3756 | ||
3757 | =begin original | |
3758 | ||
3759 | (F) | |
3760 | This is either an error in Perl, or, if you're using one, your | |
3761 | L<custom regular expression engine|perlreapi>. If not the latter, | |
3762 | report the problem through the L<perlbug> utility. | |
3763 | ||
3764 | =end original | |
3765 | ||
3766 | (F) | |
3767 | これは Perl か、あるいは、使っているなら | |
3768 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
3769 | 後者でなければ、L<perlbug> ユーティリティを使って問題を報告してください。 | |
3770 | ||
3771 | 3729 | =item Count after length/code in unpack |
3772 | 3730 | |
3773 | 3731 | =begin original |
3774 | 3732 | |
3775 | 3733 | (F) You had an unpack template indicating a counted-length string, but |
3776 | 3734 | you have also specified an explicit size for the string. See |
3777 | 3735 | L<perlfunc/pack>. |
3778 | 3736 | |
3779 | 3737 | =end original |
3780 | 3738 | |
3781 | 3739 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 |
3782 | 3740 | 文字列の長さも明示的に指定しています。 |
3783 | 3741 | L<perlfunc/pack> を参照してください。 |
3784 | 3742 | |
3785 | 3743 | =item Deep recursion on anonymous subroutine |
3786 | 3744 | |
3787 | 3745 | =item Deep recursion on subroutine "%s" |
3788 | 3746 | |
3789 | 3747 | =begin original |
3790 | 3748 | |
3791 | 3749 | (W recursion) This subroutine has called itself (directly or indirectly) |
3792 | 3750 | 100 times more than it has returned. This probably indicates an |
3793 | 3751 | infinite recursion, unless you're writing strange benchmark programs, in |
3794 | 3752 | which case it indicates something else. |
3795 | 3753 | |
3796 | 3754 | =end original |
3797 | 3755 | |
3798 | 3756 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 |
3799 | 3757 | return より 100 回多く行ないました。 |
3800 | 3758 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
3801 | 3759 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 |
3802 | 3760 | |
3803 | 3761 | =begin original |
3804 | 3762 | |
3805 | 3763 | This threshold can be changed from 100, by recompiling the F<perl> binary, |
3806 | 3764 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. |
3807 | 3765 | |
3808 | 3766 | =end original |
3809 | 3767 | |
3810 | 3768 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に |
3811 | 3769 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 |
3812 | 3770 | |
3813 | 3771 | =item defined(@array) is deprecated |
3814 | 3772 | |
3815 | 3773 | =begin original |
3816 | 3774 | |
3817 | 3775 | (D deprecated) defined() is not usually useful on arrays because it |
3818 | 3776 | checks for an undefined I<scalar> value. If you want to see if the |
3819 | 3777 | array is empty, just use C<if (@array) { # not empty }> for example. |
3820 | 3778 | |
3821 | 3779 | =end original |
3822 | 3780 | |
3823 | 3781 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても |
3824 | 3782 | 普通は無意味です。 |
3825 | 3783 | 配列が空かどうかを調べたい場合は、例えば単に |
3826 | 3784 | C<if (@array) { # not empty }> としてください。 |
3827 | 3785 | |
3828 | 3786 | =item defined(%hash) is deprecated |
3829 | 3787 | |
3830 | 3788 | =begin original |
3831 | 3789 | |
3832 | 3790 | (D deprecated) C<defined()> is not usually right on hashes and has been |
3833 | 3791 | discouraged since 5.004. |
3834 | 3792 | |
3835 | 3793 | =end original |
3836 | 3794 | |
3837 | 3795 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に |
3838 | 3796 | 使っても普通は正しくありません。 |
3839 | 3797 | |
3840 | 3798 | =begin original |
3841 | 3799 | |
3842 | 3800 | Although C<defined %hash> is false on a plain not-yet-used hash, it |
3843 | 3801 | becomes true in several non-obvious circumstances, including iterators, |
3844 | 3802 | weak references, stash names, even remaining true after C<undef %hash>. |
3845 | 3803 | These things make C<defined %hash> fairly useless in practice. |
3846 | 3804 | |
3847 | 3805 | =end original |
3848 | 3806 | |
3849 | 3807 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 |
3850 | 3808 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 |
3851 | 3809 | stash 名を含み、C<undef %hash> の後でも真になります。 |
3852 | 3810 | これらにより、実践では C<defined %hash> はほとんど使えません。 |
3853 | 3811 | |
3854 | 3812 | =begin original |
3855 | 3813 | |
3856 | 3814 | If a check for non-empty is what you wanted then just put it in boolean |
3857 | 3815 | context (see L<perldata/Scalar values>): |
3858 | 3816 | |
3859 | 3817 | =end original |
3860 | 3818 | |
3861 | 3819 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに |
3862 | 3820 | 置いてください (L<perldata/Scalar values> を参照してください): |
3863 | 3821 | |
3864 | 3822 | if (%hash) { |
3865 | 3823 | # not empty |
3866 | 3824 | } |
3867 | 3825 | |
3868 | 3826 | =begin original |
3869 | 3827 | |
3870 | 3828 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package |
3871 | 3829 | variable exists then that's never really been reliable, and isn't |
3872 | 3830 | a good way to enquire about the features of a package, or whether |
3873 | 3831 | it's loaded, etc. |
3874 | 3832 | |
3875 | 3833 | =end original |
3876 | 3834 | |
3877 | 3835 | パッケージ変数が存在するかどうかを調べるために |
3878 | 3836 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が |
3879 | 3837 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる |
3880 | 3838 | 良い方法ではありません。 |
3881 | 3839 | |
3882 | =item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in | |
3840 | =item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/ | |
3883 | m/%s/ | |
3884 | 3841 | |
3885 | 3842 | =begin original |
3886 | 3843 | |
3887 | 3844 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The |
3888 | 3845 | most likely cause of this error is that you left out a parenthesis inside |
3889 | 3846 | of the C<....> part. |
3890 | 3847 | |
3891 | 3848 | =end original |
3892 | 3849 | |
3893 | 3850 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 |
3894 | 3851 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを |
3895 | 3852 | そのままにしたことです。 |
3896 | 3853 | |
3897 | 3854 | =begin original |
3898 | 3855 | |
3899 | The <-- HERE shows | |
3856 | The <-- HERE shows in the regular expression about where the problem was | |
3900 | 3857 | discovered. |
3901 | 3858 | |
3902 | 3859 | =end original |
3903 | 3860 | |
3904 | 3861 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
3905 | 3862 | |
3906 | 3863 | =item %s defines neither package nor VERSION--version check failed |
3907 | 3864 | |
3908 | 3865 | =begin original |
3909 | 3866 | |
3910 | 3867 | (F) You said something like "use Module 42" but in the Module file |
3911 | 3868 | there are neither package declarations nor a C<$VERSION>. |
3912 | 3869 | |
3913 | 3870 | =end original |
3914 | 3871 | |
3915 | 3872 | (F) "use Module 42" のようなことをしましたが、Module ファイルに |
3916 | 3873 | パッケージ定義がないか、C<$VERSION> がありませんでした。 |
3917 | 3874 | |
3918 | 3875 | =item Delimiter for here document is too long |
3919 | 3876 | |
3920 | 3877 | =begin original |
3921 | 3878 | |
3922 | 3879 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
3923 | 3880 | long for Perl to handle. You have to be seriously twisted to write code |
3924 | 3881 | that triggers this error. |
3925 | 3882 | |
3926 | 3883 | =end original |
3927 | 3884 | |
3928 | 3885 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
3929 | 3886 | Perl が扱うには長すぎました。 |
3930 | 3887 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
3931 | 3888 | |
3889 | =item Deprecated character in \N{...}; marked by <-- HERE in \N{%s<-- HERE %s | |
3890 | ||
3891 | =begin original | |
3892 | ||
3893 | (D deprecated) Just about anything is legal for the C<...> in C<\N{...}>. | |
3894 | But starting in 5.12, non-reasonable ones that don't look like names | |
3895 | are deprecated. A reasonable name begins with an alphabetic character | |
3896 | and continues with any combination of alphanumerics, dashes, spaces, | |
3897 | parentheses or colons. | |
3898 | ||
3899 | =end original | |
3900 | ||
3901 | (D deprecated) C<\N{...}> の C<...> は何でも正当です。 | |
3902 | しかし 5.12 から、名前のように見えない正当でないものは廃止予定です。 | |
3903 | 正当な名前は英字で始まって英数字、ダッシュ、空白、かっこ、コロンが | |
3904 | 引き続くものです。 | |
3905 | ||
3932 | 3906 | =item Deprecated use of my() in false conditional |
3933 | 3907 | |
3934 | 3908 | =begin original |
3935 | 3909 | |
3936 | 3910 | (D deprecated) You used a declaration similar to C<my $x if 0>. There |
3937 | 3911 | has been a long-standing bug in Perl that causes a lexical variable |
3938 | 3912 | not to be cleared at scope exit when its declaration includes a false |
3939 | 3913 | conditional. Some people have exploited this bug to achieve a kind of |
3940 | 3914 | static variable. Since we intend to fix this bug, we don't want people |
3941 | 3915 | relying on this behavior. You can achieve a similar static effect by |
3942 | 3916 | declaring the variable in a separate block outside the function, eg |
3943 | 3917 | |
3944 | 3918 | =end original |
3945 | 3919 | |
3946 | 3920 | (D deprecated) C<my $x if 0> のような定義を行いました。 |
3947 | 3921 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が |
3948 | 3922 | クリアされないという、Perl に長い間存在したバグです。 |
3949 | 3923 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 |
3950 | 3924 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して |
3951 | 3925 | ほしくありません。 |
3952 | 3926 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を |
3953 | 3927 | 達成できます; 例えば: |
3954 | 3928 | |
3955 | 3929 | sub f { my $x if 0; return $x++ } |
3956 | 3930 | |
3957 | 3931 | =begin original |
3958 | 3932 | |
3959 | 3933 | becomes |
3960 | 3934 | |
3961 | 3935 | =end original |
3962 | 3936 | |
3963 | 3937 | これは以下のようにします: |
3964 | 3938 | |
3965 | 3939 | { my $x; sub f { return $x++ } } |
3966 | 3940 | |
3967 | 3941 | =begin original |
3968 | 3942 | |
3969 | 3943 | Beginning with perl 5.9.4, you can also use C<state> variables to have |
3970 | 3944 | lexicals that are initialized only once (see L<feature>): |
3971 | 3945 | |
3972 | 3946 | =end original |
3973 | 3947 | |
3974 | 3948 | perl 5.9.4 から、一度だけ初期化されるレキシカルとして C<state> 変数も |
3975 | 3949 | 使えます (L<feature> を参照してください): |
3976 | 3950 | |
3977 | 3951 | sub f { state $x; return $x++ } |
3978 | 3952 | |
3979 | 3953 | =item DESTROY created new reference to dead object '%s' |
3980 | 3954 | |
3981 | 3955 | =begin original |
3982 | 3956 | |
3983 | 3957 | (F) A DESTROY() method created a new reference to the object which is |
3984 | 3958 | just being DESTROYed. Perl is confused, and prefers to abort rather |
3985 | 3959 | than to create a dangling reference. |
3986 | 3960 | |
3987 | 3961 | =end original |
3988 | 3962 | |
3989 | 3963 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの |
3990 | 3964 | 新しいリファレンスを作りました。 |
3991 | 3965 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 |
3992 | 3966 | |
3993 | 3967 | =item Did not produce a valid header |
3994 | 3968 | |
3995 | 3969 | =begin original |
3996 | 3970 | |
3997 | 3971 | See Server error. |
3998 | 3972 | |
3999 | 3973 | =end original |
4000 | 3974 | |
4001 | 3975 | "Server error" を参照してください。 |
4002 | 3976 | |
4003 | 3977 | =item %s did not return a true value |
4004 | 3978 | |
4005 | 3979 | =begin original |
4006 | 3980 | |
4007 | 3981 | (F) A required (or used) file must return a true value to indicate that |
4008 | 3982 | it compiled correctly and ran its initialization code correctly. It's |
4009 | 3983 | traditional to end such a file with a "1;", though any true value would |
4010 | 3984 | do. See L<perlfunc/require>. |
4011 | 3985 | |
4012 | 3986 | =end original |
4013 | 3987 | |
4014 | 3988 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
4015 | 3989 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
4016 | 3990 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
4017 | 3991 | 真となる値であれば、何でもかまいません。 |
4018 | 3992 | L<perlfunc/require> を参照してください。 |
4019 | 3993 | |
4020 | 3994 | =item (Did you mean &%s instead?) |
4021 | 3995 | |
4022 | 3996 | =begin original |
4023 | 3997 | |
4024 | 3998 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or |
4025 | 3999 | some such. |
4026 | 4000 | |
4027 | 4001 | =end original |
4028 | 4002 | |
4029 | 4003 | (W misc) おそらく import したサブルーチン &FOO を $FOO として |
4030 | 4004 | 参照したようなことでしょう。 |
4031 | 4005 | |
4032 | 4006 | =item (Did you mean "local" instead of "our"?) |
4033 | 4007 | |
4034 | 4008 | =begin original |
4035 | 4009 | |
4036 | 4010 | (W misc) Remember that "our" does not localize the declared global |
4037 | 4011 | variable. You have declared it again in the same lexical scope, which |
4038 | 4012 | seems superfluous. |
4039 | 4013 | |
4040 | 4014 | =end original |
4041 | 4015 | |
4042 | 4016 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを |
4043 | 4017 | 忘れないで下さい。 |
4044 | 4018 | これをもう一度同じレキシカルスコープで宣言していますが、 |
4045 | 4019 | 不必要でしょう。 |
4046 | 4020 | |
4047 | 4021 | =item (Did you mean $ or @ instead of %?) |
4048 | 4022 | |
4049 | 4023 | =begin original |
4050 | 4024 | |
4051 | 4025 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
4052 | 4026 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
4053 | 4027 | carried away. |
4054 | 4028 | |
4055 | 4029 | =end original |
4056 | 4030 | |
4057 | 4031 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
4058 | 4032 | したのでしょう。 |
4059 | 4033 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
4060 | 4034 | |
4061 | 4035 | =item Died |
4062 | 4036 | |
4063 | 4037 | =begin original |
4064 | 4038 | |
4065 | 4039 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
4066 | 4040 | you called it with no args and C<$@> was empty. |
4067 | 4041 | |
4068 | 4042 | =end original |
4069 | 4043 | |
4070 | 4044 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
4071 | 4045 | 呼び出して、C<$@> が空でした。 |
4072 | 4046 | |
4073 | 4047 | =item Document contains no data |
4074 | 4048 | |
4075 | 4049 | =begin original |
4076 | 4050 | |
4077 | 4051 | See Server error. |
4078 | 4052 | |
4079 | 4053 | =end original |
4080 | 4054 | |
4081 | 4055 | "Server error" を参照してください。 |
4082 | 4056 | |
4083 | 4057 | =item %s does not define %s::VERSION--version check failed |
4084 | 4058 | |
4085 | 4059 | =begin original |
4086 | 4060 | |
4087 | 4061 | (F) You said something like "use Module 42" but the Module did not |
4088 | define a C<$VERSION | |
4062 | define a C<$VERSION.> | |
4089 | 4063 | |
4090 | 4064 | =end original |
4091 | 4065 | |
4092 | 4066 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を |
4093 | 4067 | 定義していません。 |
4094 | 4068 | |
4095 | 4069 | =item '/' does not take a repeat count |
4096 | 4070 | |
4097 | 4071 | =begin original |
4098 | 4072 | |
4099 | 4073 | (F) You cannot put a repeat count of any kind right after the '/' code. |
4100 | 4074 | See L<perlfunc/pack>. |
4101 | 4075 | |
4102 | 4076 | =end original |
4103 | 4077 | |
4104 | 4078 | (F) '/' の直後には繰り返し数を指定できません。 |
4105 | 4079 | L<perlfunc/pack> を参照してください。 |
4106 | 4080 | |
4107 | 4081 | =item Don't know how to handle magic of type '%s' |
4108 | 4082 | |
4109 | 4083 | =begin original |
4110 | 4084 | |
4111 | 4085 | (P) The internal handling of magical variables has been cursed. |
4112 | 4086 | |
4113 | 4087 | =end original |
4114 | 4088 | |
4115 | 4089 | (P) マジカル変数の内部処理がおかしくなっています。 |
4116 | 4090 | |
4117 | 4091 | =item do_study: out of memory |
4118 | 4092 | |
4119 | 4093 | =begin original |
4120 | 4094 | |
4121 | 4095 | (P) This should have been caught by safemalloc() instead. |
4122 | 4096 | |
4123 | 4097 | =end original |
4124 | 4098 | |
4125 | 4099 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
4126 | 4100 | |
4127 | 4101 | =item (Do you need to predeclare %s?) |
4128 | 4102 | |
4129 | 4103 | =begin original |
4130 | 4104 | |
4131 | 4105 | (S syntax) This is an educated guess made in conjunction with the message |
4132 | 4106 | "%s found where operator expected". It often means a subroutine or module |
4133 | 4107 | name is being referenced that hasn't been declared yet. This may be |
4134 | 4108 | because of ordering problems in your file, or because of a missing |
4135 | 4109 | "sub", "package", "require", or "use" statement. If you're referencing |
4136 | 4110 | something that isn't defined yet, you don't actually have to define the |
4137 | 4111 | subroutine or package before the current location. You can use an empty |
4138 | 4112 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
4139 | 4113 | |
4140 | 4114 | =end original |
4141 | 4115 | |
4142 | 4116 | (S syntax) これは "%s found where operator expected" メッセージと共に |
4143 | 4117 | 表示される教育的な推測です。 |
4144 | 4118 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
4145 | 4119 | ことを意味します。 |
4146 | 4120 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
4147 | 4121 | "use" 文がないためであったりします。 |
4148 | 4122 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
4149 | 4123 | サブルーチンやパッケージを定義する必要はありません。 |
4150 | 4124 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
4151 | 4125 | |
4152 | 4126 | =item dump() better written as CORE::dump() |
4153 | 4127 | |
4154 | 4128 | =begin original |
4155 | 4129 | |
4156 | 4130 | (W misc) You used the obsolescent C<dump()> built-in function, without fully |
4157 | 4131 | qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>. |
4158 | 4132 | |
4159 | 4133 | =end original |
4160 | 4134 | |
4161 | 4135 | (W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と |
4162 | 4136 | いうように完全修飾せずに使いました。 |
4163 | 4137 | おそらくこれはタイプミスです。 |
4164 | 4138 | L<perlfunc/dump> を参照してください。 |
4165 | 4139 | |
4166 | 4140 | =item dump is not supported |
4167 | 4141 | |
4168 | 4142 | =begin original |
4169 | 4143 | |
4170 | 4144 | (F) Your machine doesn't support dump/undump. |
4171 | 4145 | |
4172 | 4146 | =end original |
4173 | 4147 | |
4174 | 4148 | (F) このマシンは dump/undump に対応していません。 |
4175 | 4149 | |
4176 | 4150 | =item Duplicate free() ignored |
4177 | 4151 | |
4178 | 4152 | =begin original |
4179 | 4153 | |
4180 | 4154 | (S malloc) An internal routine called free() on something that had |
4181 | 4155 | already been freed. |
4182 | 4156 | |
4183 | 4157 | =end original |
4184 | 4158 | |
4185 | 4159 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
4186 | 4160 | 行なおうとしました。 |
4187 | 4161 | |
4188 | 4162 | =item Duplicate modifier '%c' after '%c' in %s |
4189 | 4163 | |
4190 | 4164 | =begin original |
4191 | 4165 | |
4192 | (W | |
4166 | (W) You have applied the same modifier more than once after a type | |
4193 | ||
4167 | in a pack template. See L<perlfunc/pack>. | |
4194 | 4168 | |
4195 | 4169 | =end original |
4196 | 4170 | |
4197 | (W | |
4171 | (W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
4198 | 4172 | L<perlfunc/pack> を参照してください。 |
4199 | 4173 | |
4200 | 4174 | =item elseif should be elsif |
4201 | 4175 | |
4202 | 4176 | =begin original |
4203 | 4177 | |
4204 | 4178 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks |
4205 | 4179 | it's ugly. Your code will be interpreted as an attempt to call a method |
4206 | 4180 | named "elseif" for the class returned by the following block. This is |
4207 | 4181 | unlikely to be what you want. |
4208 | 4182 | |
4209 | 4183 | =end original |
4210 | 4184 | |
4211 | 4185 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
4212 | 4186 | ありません。 |
4213 | 4187 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
4214 | 4188 | 呼び出そうとしていると解釈されます。 |
4215 | 4189 | これは望んでいることではないはずです。 |
4216 | 4190 | |
4217 | =item Empty | |
4191 | =item Empty %s | |
4218 | 4192 | |
4219 | 4193 | =begin original |
4220 | 4194 | |
4221 | 4195 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as |
4222 | 4196 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in |
4223 | 4197 | a regular expression without specifying the property name. |
4224 | 4198 | |
4225 | 4199 | =end original |
4226 | 4200 | |
4227 | 4201 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 |
4228 | 4202 | 名前付き Unicode プロパティを導入するために使われます。 |
4229 | 4203 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 |
4230 | 4204 | |
4231 | 4205 | =item entering effective %s failed |
4232 | 4206 | |
4233 | 4207 | =begin original |
4234 | 4208 | |
4235 | 4209 | (F) While under the C<use filetest> pragma, switching the real and |
4236 | 4210 | effective uids or gids failed. |
4237 | 4211 | |
4238 | 4212 | =end original |
4239 | 4213 | |
4240 | 4214 | (F) C<use filetest> プラグマを使っている間に、 |
4241 | 4215 | 実と実効の UID や GID の切り替えに失敗しました。 |
4242 | 4216 | |
4243 | 4217 | =item %ENV is aliased to %s |
4244 | 4218 | |
4245 | 4219 | =begin original |
4246 | 4220 | |
4247 | 4221 | (F) You're running under taint mode, and the C<%ENV> variable has been |
4248 | 4222 | aliased to another hash, so it doesn't reflect anymore the state of the |
4249 | 4223 | program's environment. This is potentially insecure. |
4250 | 4224 | |
4251 | 4225 | =end original |
4252 | 4226 | |
4253 | 4227 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに |
4254 | 4228 | なっているので、これ以上プログラムの環境の状態を反映しません。 |
4255 | 4229 | これは潜在的にはセキュアではありません。 |
4256 | 4230 | |
4257 | 4231 | =item Error converting file specification %s |
4258 | 4232 | |
4259 | 4233 | =begin original |
4260 | 4234 | |
4261 | 4235 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
4262 | 4236 | specifications in either VMS or Unix syntax, it converts them to a |
4263 | 4237 | single form when it must operate on them directly. Either you've passed |
4264 | 4238 | an invalid file specification to Perl, or you've found a case the |
4265 | 4239 | conversion routines don't handle. Drat. |
4266 | 4240 | |
4267 | 4241 | =end original |
4268 | 4242 | |
4269 | 4243 | (F) VMS に固有のエラーです。 |
4270 | 4244 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
4271 | 4245 | 直接操作しなければならない場合は変換します。 |
4272 | 4246 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
4273 | 4247 | 発見したかです。 |
4274 | 4248 | ちぇっ。 |
4275 | 4249 | |
4276 | =item | |
4250 | =item %s: Eval-group in insecure regular expression | |
4277 | 4251 | |
4278 | 4252 | =begin original |
4279 | 4253 | |
4280 | (D deprecated) You compiled a regular expression pattern with C</x> to | |
4281 | ignore white space, and you used, as a literal, one of the characters | |
4282 | that Perl plans to eventually treat as white space. The character must | |
4283 | be escaped somehow, or it will work differently on a future Perl that | |
4284 | does treat it as white space. The easiest way is to insert a backslash | |
4285 | immediately before it, or to enclose it with square brackets. This | |
4286 | change is to bring Perl into conformance with Unicode recommendations. | |
4287 | Here are the five characters that generate this warning: | |
4288 | U+0085 NEXT LINE, | |
4289 | U+200E LEFT-TO-RIGHT MARK, | |
4290 | U+200F RIGHT-TO-LEFT MARK, | |
4291 | U+2028 LINE SEPARATOR, | |
4292 | and | |
4293 | U+2029 PARAGRAPH SEPARATOR. | |
4294 | ||
4295 | =end original | |
4296 | ||
4297 | (D deprecated) 空白を無視するための C</x> 付きで正規表現をコンパイルし、 | |
4298 | Perl が最終的に空白として扱う計画の文字の一つをリテラルとして使いました。 | |
4299 | 文字は何らかの方法でエスケープされなければならず、これを空白として扱う | |
4300 | 将来の Perl では違った動作をします。 | |
4301 | 最も簡単な方法は直前に逆スラッシュは挿入するか、大かっこで囲むことです。 | |
4302 | この変更は Perl を Unicode の勧告に準拠するようにするためのものです。 | |
4303 | 次の 5 文字がこの警告を発生させます: | |
4304 | U+0085 NEXT LINE, | |
4305 | U+200E LEFT-TO-RIGHT MARK, | |
4306 | U+200F RIGHT-TO-LEFT MARK, | |
4307 | U+2028 LINE SEPARATOR, | |
4308 | U+2029 PARAGRAPH SEPARATOR。 | |
4309 | ||
4310 | =item Eval-group in insecure regular expression | |
4311 | ||
4312 | =begin original | |
4313 | ||
4314 | 4254 | (F) Perl detected tainted data when trying to compile a regular |
4315 | 4255 | expression that contains the C<(?{ ... })> zero-width assertion, which |
4316 | 4256 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
4317 | 4257 | |
4318 | 4258 | =end original |
4319 | 4259 | |
4320 | 4260 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
4321 | 4261 | したときに、Perl は汚染されたデータを検出しました; |
4322 | 4262 | これは安全ではありません。 |
4323 | 4263 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
4324 | 4264 | |
4325 | =item Eval-group not allowed at runtime, use re 'eval' | |
4265 | =item %s: Eval-group not allowed at runtime, use re 'eval' | |
4326 | 4266 | |
4327 | 4267 | =begin original |
4328 | 4268 | |
4329 | 4269 | (F) Perl tried to compile a regular expression containing the |
4330 | 4270 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
4331 | 4271 | pattern contains interpolated values. Since that is a security risk, |
4332 | 4272 | it is not allowed. If you insist, you may still do this by using the |
4333 | 4273 | C<re 'eval'> pragma or by explicitly building the pattern from an |
4334 | 4274 | interpolated string at run time and using that in an eval(). See |
4335 | 4275 | L<perlre/(?{ code })>. |
4336 | 4276 | |
4337 | 4277 | =end original |
4338 | 4278 | |
4339 | 4279 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
4340 | 4280 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
4341 | 4281 | これはセキュリティ上の危険があるので、許可されていません。 |
4342 | 4282 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に |
4343 | 4283 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで |
4344 | 4284 | 実行できます。 |
4345 | 4285 | L<perlre/(?{ code })> を参照してください。 |
4346 | 4286 | |
4347 | =item Eval-group not allowed, use re 'eval' | |
4287 | =item %s: Eval-group not allowed, use re 'eval' | |
4348 | 4288 | |
4349 | 4289 | =begin original |
4350 | 4290 | |
4351 | 4291 | (F) A regular expression contained the C<(?{ ... })> zero-width |
4352 | 4292 | assertion, but that construct is only allowed when the C<use re 'eval'> |
4353 | 4293 | pragma is in effect. See L<perlre/(?{ code })>. |
4354 | 4294 | |
4355 | 4295 | =end original |
4356 | 4296 | |
4357 | 4297 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
4358 | 4298 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
4359 | 4299 | L<perlre/(?{ code })> を参照してください。 |
4360 | 4300 | |
4361 | =item EVAL without pos change exceeded limit in regex; marked by <-- HERE in | |
4301 | =item EVAL without pos change exceeded limit in regex; marked by <-- HERE in m/%s/ | |
4362 | m/%s/ | |
4363 | 4302 | |
4364 | 4303 | =begin original |
4365 | 4304 | |
4366 | 4305 | (F) You used a pattern that nested too many EVAL calls without consuming |
4367 | 4306 | any text. Restructure the pattern so that text is consumed. |
4368 | 4307 | |
4369 | 4308 | =end original |
4370 | 4309 | |
4371 | 4310 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる |
4372 | 4311 | パターンを使いました。 |
4373 | 4312 | テキストを読み込むようにパターンを再構築してください。 |
4374 | 4313 | |
4375 | 4314 | =begin original |
4376 | 4315 | |
4377 | The <-- HERE shows | |
4316 | The <-- HERE shows in the regular expression about where the problem was | |
4378 | 4317 | discovered. |
4379 | 4318 | |
4380 | 4319 | =end original |
4381 | 4320 | |
4382 | 4321 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
4383 | 4322 | |
4384 | 4323 | =item Excessively long <> operator |
4385 | 4324 | |
4386 | 4325 | =begin original |
4387 | 4326 | |
4388 | 4327 | (F) The contents of a <> operator may not exceed the maximum size of a |
4389 | 4328 | Perl identifier. If you're just trying to glob a long list of |
4390 | 4329 | filenames, try using the glob() operator, or put the filenames into a |
4391 | 4330 | variable and glob that. |
4392 | 4331 | |
4393 | 4332 | =end original |
4394 | 4333 | |
4395 | 4334 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
4396 | 4335 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
4397 | 4336 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
4398 | 4337 | |
4399 | 4338 | =item exec? I'm not *that* kind of operating system |
4400 | 4339 | |
4401 | 4340 | =begin original |
4402 | 4341 | |
4403 | 4342 | (F) The C<exec> function is not implemented on some systems, e.g., Symbian |
4404 | 4343 | OS. See L<perlport>. |
4405 | 4344 | |
4406 | 4345 | =end original |
4407 | 4346 | |
4408 | 4347 | (F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。 |
4409 | 4348 | L<perlport> を参照してください。 |
4410 | 4349 | |
4411 | 4350 | =item Execution of %s aborted due to compilation errors. |
4412 | 4351 | |
4413 | 4352 | =begin original |
4414 | 4353 | |
4415 | 4354 | (F) The final summary message when a Perl compilation fails. |
4416 | 4355 | |
4417 | 4356 | =end original |
4418 | 4357 | |
4419 | 4358 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
4420 | 4359 | |
4421 | 4360 | =item Exiting eval via %s |
4422 | 4361 | |
4423 | 4362 | =begin original |
4424 | 4363 | |
4425 | 4364 | (W exiting) You are exiting an eval by unconventional means, such as a |
4426 | 4365 | goto, or a loop control statement. |
4427 | 4366 | |
4428 | 4367 | =end original |
4429 | 4368 | |
4430 | 4369 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
4431 | 4370 | |
4432 | 4371 | =item Exiting format via %s |
4433 | 4372 | |
4434 | 4373 | =begin original |
4435 | 4374 | |
4436 | 4375 | (W exiting) You are exiting a format by unconventional means, such as a |
4437 | 4376 | goto, or a loop control statement. |
4438 | 4377 | |
4439 | 4378 | =end original |
4440 | 4379 | |
4441 | 4380 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを |
4442 | 4381 | 終了しました。 |
4443 | 4382 | |
4444 | 4383 | =item Exiting pseudo-block via %s |
4445 | 4384 | |
4446 | 4385 | =begin original |
4447 | 4386 | |
4448 | 4387 | (W exiting) You are exiting a rather special block construct (like a |
4449 | 4388 | sort block or subroutine) by unconventional means, such as a goto, or a |
4450 | 4389 | loop control statement. See L<perlfunc/sort>. |
4451 | 4390 | |
4452 | 4391 | =end original |
4453 | 4392 | |
4454 | 4393 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
4455 | 4394 | goto やループ制御文といった異例な方法で終了しました。 |
4456 | 4395 | L<perlfunc/sort> を参照してください。 |
4457 | 4396 | |
4458 | 4397 | =item Exiting subroutine via %s |
4459 | 4398 | |
4460 | 4399 | =begin original |
4461 | 4400 | |
4462 | 4401 | (W exiting) You are exiting a subroutine by unconventional means, such |
4463 | 4402 | as a goto, or a loop control statement. |
4464 | 4403 | |
4465 | 4404 | =end original |
4466 | 4405 | |
4467 | 4406 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを |
4468 | 4407 | 抜けました。 |
4469 | 4408 | |
4470 | 4409 | =item Exiting substitution via %s |
4471 | 4410 | |
4472 | 4411 | =begin original |
4473 | 4412 | |
4474 | 4413 | (W exiting) You are exiting a substitution by unconventional means, such |
4475 | 4414 | as a return, a goto, or a loop control statement. |
4476 | 4415 | |
4477 | 4416 | =end original |
4478 | 4417 | |
4479 | 4418 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
4480 | 4419 | 抜けました。 |
4481 | 4420 | |
4482 | =item Expecting close bracket in regex; marked by <-- HERE in m/%s/ | |
4483 | ||
4484 | =begin original | |
4485 | ||
4486 | (F) | |
4487 | You wrote something like | |
4488 | ||
4489 | =end original | |
4490 | ||
4491 | (F) | |
4492 | 以下のようなものを書きました | |
4493 | ||
4494 | (?13 | |
4495 | ||
4496 | =begin original | |
4497 | ||
4498 | to denote a capturing group of the form | |
4499 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
4500 | but omitted the C<")">. | |
4501 | ||
4502 | =end original | |
4503 | ||
4504 | to denote a capturing group of the form | |
4505 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
4506 | 捕捉グループを示していますが C<")"> が省略されています。 | |
4507 | ||
4508 | =item Experimental "%s" subs not enabled | |
4509 | ||
4510 | =begin original | |
4511 | ||
4512 | (F) To use lexical subs, you must first enable them: | |
4513 | ||
4514 | =end original | |
4515 | ||
4516 | (F) レキシカルサブルーチンを使うためには、まずそれを有効にしなければなりません: | |
4517 | ||
4518 | no warnings 'experimental::lexical_subs'; | |
4519 | use feature 'lexical_subs'; | |
4520 | my sub foo { ... } | |
4521 | ||
4522 | 4421 | =item Explicit blessing to '' (assuming package main) |
4523 | 4422 | |
4524 | 4423 | =begin original |
4525 | 4424 | |
4526 | 4425 | (W misc) You are blessing a reference to a zero length string. This has |
4527 | 4426 | the effect of blessing the reference into the package main. This is |
4528 | 4427 | usually not what you want. Consider providing a default target package, |
4529 | 4428 | e.g. bless($ref, $p || 'MyPackage'); |
4530 | 4429 | |
4531 | 4430 | =end original |
4532 | 4431 | |
4533 | 4432 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
4534 | 4433 | これはリファレンスをパッケージ main に bless する効果があります。 |
4535 | 4434 | これは普通あなたが望んでいることではありません。 |
4536 | 4435 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
4537 | 4436 | パッケージを提供することを考慮してください; |
4538 | 4437 | |
4539 | 4438 | =item %s: Expression syntax |
4540 | 4439 | |
4541 | 4440 | =begin original |
4542 | 4441 | |
4543 | 4442 | (A) You've accidentally run your script through B<csh> instead of Perl. |
4544 | 4443 | Check the #! line, or manually feed your script into Perl yourself. |
4545 | 4444 | |
4546 | 4445 | =end original |
4547 | 4446 | |
4548 | 4447 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
4549 | 4448 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
4550 | 4449 | |
4551 | 4450 | =item %s failed--call queue aborted |
4552 | 4451 | |
4553 | 4452 | =begin original |
4554 | 4453 | |
4555 | 4454 | (F) An untrapped exception was raised while executing a UNITCHECK, |
4556 | 4455 | CHECK, INIT, or END subroutine. Processing of the remainder of the |
4557 | 4456 | queue of such routines has been prematurely ended. |
4558 | 4457 | |
4559 | 4458 | =end original |
4560 | 4459 | |
4561 | 4460 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない |
4562 | 4461 | 例外が発生しました。 |
4563 | 4462 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
4564 | 4463 | |
4565 | 4464 | =item False [] range "%s" in regex; marked by <-- HERE in m/%s/ |
4566 | 4465 | |
4567 | 4466 | =begin original |
4568 | 4467 | |
4569 | 4468 | (W regexp) A character class range must start and end at a literal |
4570 | 4469 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" |
4571 | 4470 | in your false range is interpreted as a literal "-". Consider quoting the |
4572 | "-", "\-". The <-- HERE shows | |
4471 | "-", "\-". The <-- HERE shows in the regular expression about where the | |
4573 | 4472 | problem was discovered. See L<perlre>. |
4574 | 4473 | |
4575 | 4474 | =end original |
4576 | 4475 | |
4577 | 4476 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような |
4578 | 4477 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
4579 | 4478 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
4580 | 4479 | "-" を "\-" とクォートすることを考慮してください。 |
4581 | 4480 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
4582 | 4481 | L<perlre> を参照してください。 |
4583 | 4482 | |
4584 | 4483 | =item Fatal VMS error (status=%d) at %s, line %d |
4585 | 4484 | |
4586 | 4485 | =begin original |
4587 | 4486 | |
4588 | 4487 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
4589 | 4488 | system service or RTL routine; Perl's exit status should provide more |
4590 | 4489 | details. The filename in "at %s" and the line number in "line %d" tell |
4591 | 4490 | you which section of the Perl source code is distressed. |
4592 | 4491 | |
4593 | 4492 | =end original |
4594 | 4493 | |
4595 | 4494 | (P) VMS に固有のエラーです。 |
4596 | 4495 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
4597 | 4496 | Perl の終了コードに詳細が示されています。 |
4598 | 4497 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
4599 | 4498 | Perl ソースコードの位置を示しています。 |
4600 | 4499 | |
4601 | 4500 | =item fcntl is not implemented |
4602 | 4501 | |
4603 | 4502 | =begin original |
4604 | 4503 | |
4605 | 4504 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
4606 | 4505 | PDP-11 or something? |
4607 | 4506 | |
4608 | 4507 | =end original |
4609 | 4508 | |
4610 | 4509 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
4611 | 4510 | PDP-11 か何かでしょうか。 |
4612 | 4511 | |
4613 | 4512 | =item FETCHSIZE returned a negative value |
4614 | 4513 | |
4615 | 4514 | =begin original |
4616 | 4515 | |
4617 | 4516 | (F) A tied array claimed to have a negative number of elements, which |
4618 | 4517 | is not possible. |
4619 | 4518 | |
4620 | 4519 | =end original |
4621 | 4520 | |
4622 | 4521 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 |
4623 | 4522 | |
4624 | 4523 | =item Field too wide in 'u' format in pack |
4625 | 4524 | |
4626 | 4525 | =begin original |
4627 | 4526 | |
4628 | (W pack) Each line in an uuencoded string start | |
4527 | (W pack) Each line in an uuencoded string start with a length indicator | |
4629 | 4528 | which can't encode values above 63. So there is no point in asking for |
4630 | 4529 | a line length bigger than that. Perl will behave as if you specified |
4631 | 4530 | C<u63> as the format. |
4632 | 4531 | |
4633 | 4532 | =end original |
4634 | 4533 | |
4635 | 4534 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない |
4636 | 4535 | 長さ識別子から始まっています。 |
4637 | 4536 | それで、これより長い行の長さを問い合わせるところがありません。 |
4638 | 4537 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 |
4639 | 4538 | |
4640 | 4539 | =item Filehandle %s opened only for input |
4641 | 4540 | |
4642 | 4541 | =begin original |
4643 | 4542 | |
4644 | 4543 | (W io) You tried to write on a read-only filehandle. If you intended |
4645 | 4544 | it to be a read-write filehandle, you needed to open it with "+<" or |
4646 | 4545 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to |
4647 | 4546 | write the file, use ">" or ">>". See L<perlfunc/open>. |
4648 | 4547 | |
4649 | 4548 | =end original |
4650 | 4549 | |
4651 | 4550 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
4652 | 4551 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
4653 | 4552 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
4654 | 4553 | open する必要があります。 |
4655 | 4554 | ライトオンリーであれば、">" や ">>" を使ってください。 |
4656 | 4555 | L<perlfunc/open> を参照してください。 |
4657 | 4556 | |
4658 | 4557 | =item Filehandle %s opened only for output |
4659 | 4558 | |
4660 | 4559 | =begin original |
4661 | 4560 | |
4662 | 4561 | (W io) You tried to read from a filehandle opened only for writing, If |
4663 | 4562 | you intended it to be a read/write filehandle, you needed to open it |
4664 | 4563 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to |
4665 | 4564 | read from the file, use "<". See L<perlfunc/open>. Another possibility |
4666 | 4565 | is that you attempted to open filedescriptor 0 (also known as STDIN) for |
4667 | 4566 | output (maybe you closed STDIN earlier?). |
4668 | 4567 | |
4669 | 4568 | =end original |
4670 | 4569 | |
4671 | 4570 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; |
4672 | 4571 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に |
4673 | 4572 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 |
4674 | 4573 | 読み込み専用にしたい場合は、"<" を使ってください。 |
4675 | 4574 | L<perlfunc/open> を参照してください。 |
4676 | 4575 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を |
4677 | 4576 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 |
4678 | 4577 | |
4679 | 4578 | =item Filehandle %s reopened as %s only for input |
4680 | 4579 | |
4681 | 4580 | =begin original |
4682 | 4581 | |
4683 | 4582 | (W io) You opened for reading a filehandle that got the same filehandle id |
4684 | 4583 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR |
4685 | 4584 | previously. |
4686 | 4585 | |
4687 | 4586 | =end original |
4688 | 4587 | |
4689 | 4588 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の |
4690 | 4589 | ファイルハンドルを読み込み用に開こうとしました。 |
4691 | 4590 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 |
4692 | 4591 | |
4693 | 4592 | =item Filehandle STDIN reopened as %s only for output |
4694 | 4593 | |
4695 | 4594 | =begin original |
4696 | 4595 | |
4697 | 4596 | (W io) You opened for writing a filehandle that got the same filehandle id |
4698 | 4597 | as STDIN. This occurred because you closed STDIN previously. |
4699 | 4598 | |
4700 | 4599 | =end original |
4701 | 4600 | |
4702 | 4601 | (W io) STDIN として使われていたのと同じファイルハンドル ID の |
4703 | 4602 | ファイルハンドルを書き込み用に開こうとしました。 |
4704 | 4603 | これは、以前 STDIN を閉じたときに起きます。 |
4705 | 4604 | |
4706 | 4605 | =item Final $ should be \$ or $name |
4707 | 4606 | |
4708 | 4607 | =begin original |
4709 | 4608 | |
4710 | 4609 | (F) You must now decide whether the final $ in a string was meant to be |
4711 | 4610 | a literal dollar sign, or was meant to introduce a variable name that |
4712 | 4611 | happens to be missing. So you have to put either the backslash or the |
4713 | 4612 | name. |
4714 | 4613 | |
4715 | 4614 | =end original |
4716 | 4615 | |
4717 | 4616 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
4718 | 4617 | 忘れたのかを、はっきりさせなければなりません。 |
4719 | 4618 | バックスラッシュを付けるか、名前を入れてください。 |
4720 | 4619 | |
4721 | 4620 | =item flock() on closed filehandle %s |
4722 | 4621 | |
4723 | 4622 | =begin original |
4724 | 4623 | |
4725 | 4624 | (W closed) The filehandle you're attempting to flock() got itself closed |
4726 | 4625 | some time before now. Check your control flow. flock() operates on |
4727 | 4626 | filehandles. Are you attempting to call flock() on a dirhandle by the |
4728 | 4627 | same name? |
4729 | 4628 | |
4730 | 4629 | =end original |
4731 | 4630 | |
4732 | 4631 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
4733 | 4632 | 閉じられています。 |
4734 | 4633 | 制御フローをチェックしてください。 |
4735 | 4634 | flock() はファイルハンドルを操作します。 |
4736 | 4635 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
4737 | 4636 | |
4738 | 4637 | =item Format not terminated |
4739 | 4638 | |
4740 | 4639 | =begin original |
4741 | 4640 | |
4742 | 4641 | (F) A format must be terminated by a line with a solitary dot. Perl got |
4743 | 4642 | to the end of your file without finding such a line. |
4744 | 4643 | |
4745 | 4644 | =end original |
4746 | 4645 | |
4747 | 4646 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
4748 | 4647 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
4749 | 4648 | |
4750 | 4649 | =item Format %s redefined |
4751 | 4650 | |
4752 | 4651 | =begin original |
4753 | 4652 | |
4754 | 4653 | (W redefine) You redefined a format. To suppress this warning, say |
4755 | 4654 | |
4756 | 4655 | =end original |
4757 | 4656 | |
4758 | 4657 | (W redefine) フォーマットを再定義しました。 |
4759 | 4658 | この警告を止めるには以下のようにしてください: |
4760 | 4659 | |
4761 | 4660 | { |
4762 | 4661 | no warnings 'redefine'; |
4763 | 4662 | eval "format NAME =..."; |
4764 | 4663 | } |
4765 | 4664 | |
4766 | 4665 | =item Found = in conditional, should be == |
4767 | 4666 | |
4768 | 4667 | =begin original |
4769 | 4668 | |
4770 | 4669 | (W syntax) You said |
4771 | 4670 | |
4772 | 4671 | =end original |
4773 | 4672 | |
4774 | 4673 | (W) 以下のようにしています: |
4775 | 4674 | |
4776 | 4675 | if ($foo = 123) |
4777 | 4676 | |
4778 | 4677 | =begin original |
4779 | 4678 | |
4780 | 4679 | when you meant |
4781 | 4680 | |
4782 | 4681 | =end original |
4783 | 4682 | |
4784 | 4683 | 以下のようにすべきです: |
4785 | 4684 | |
4786 | 4685 | if ($foo == 123) |
4787 | 4686 | |
4788 | 4687 | =begin original |
4789 | 4688 | |
4790 | 4689 | (or something like that). |
4791 | 4690 | |
4792 | 4691 | =end original |
4793 | 4692 | |
4794 | 4693 | (あるいは似たようなこと)。 |
4795 | 4694 | |
4796 | 4695 | =item %s found where operator expected |
4797 | 4696 | |
4798 | 4697 | =begin original |
4799 | 4698 | |
4800 | 4699 | (S syntax) The Perl lexer knows whether to expect a term or an operator. |
4801 | 4700 | If it sees what it knows to be a term when it was expecting to see an |
4802 | 4701 | operator, it gives you this warning. Usually it indicates that an |
4803 | 4702 | operator or delimiter was omitted, such as a semicolon. |
4804 | 4703 | |
4805 | 4704 | =end original |
4806 | 4705 | |
4807 | 4706 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを |
4808 | 4707 | 知っています。 |
4809 | 4708 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
4810 | 4709 | この警告が出ることになります。 |
4811 | 4710 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
4812 | 4711 | |
4813 | 4712 | =item gdbm store returned %d, errno %d, key "%s" |
4814 | 4713 | |
4815 | 4714 | =begin original |
4816 | 4715 | |
4817 | 4716 | (S) A warning from the GDBM_File extension that a store failed. |
4818 | 4717 | |
4819 | 4718 | =end original |
4820 | 4719 | |
4821 | 4720 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
4822 | 4721 | |
4823 | 4722 | =item gethostent not implemented |
4824 | 4723 | |
4825 | 4724 | =begin original |
4826 | 4725 | |
4827 | 4726 | (F) Your C library apparently doesn't implement gethostent(), probably |
4828 | 4727 | because if it did, it'd feel morally obligated to return every hostname |
4829 | 4728 | on the Internet. |
4830 | 4729 | |
4831 | 4730 | =end original |
4832 | 4731 | |
4833 | 4732 | (F) C ライブラリに gethostent() が実装されていないようです; |
4834 | 4733 | おそらく、実装すると Internet 上のすべてのホスト名を |
4835 | 4734 | 返さなければいけないと思っているのでしょう。 |
4836 | 4735 | |
4837 | 4736 | =item get%sname() on closed socket %s |
4838 | 4737 | |
4839 | 4738 | =begin original |
4840 | 4739 | |
4841 | 4740 | (W closed) You tried to get a socket or peer socket name on a closed |
4842 | 4741 | socket. Did you forget to check the return value of your socket() call? |
4843 | 4742 | |
4844 | 4743 | =end original |
4845 | 4744 | |
4846 | 4745 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
4847 | 4746 | しました。 |
4848 | 4747 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
4849 | 4748 | |
4850 | 4749 | =item getpwnam returned invalid UIC %#o for user "%s" |
4851 | 4750 | |
4852 | 4751 | =begin original |
4853 | 4752 | |
4854 | 4753 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
4855 | 4754 | C<getpwnam> operator returned an invalid UIC. |
4856 | 4755 | |
4857 | 4756 | =end original |
4858 | 4757 | |
4859 | 4758 | (S) VMS に固有の警告です。 |
4860 | 4759 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
4861 | 4760 | 不正な UIC が返されました。 |
4862 | 4761 | |
4863 | 4762 | =item getsockopt() on closed socket %s |
4864 | 4763 | |
4865 | 4764 | =begin original |
4866 | 4765 | |
4867 | 4766 | (W closed) You tried to get a socket option on a closed socket. Did you |
4868 | 4767 | forget to check the return value of your socket() call? See |
4869 | 4768 | L<perlfunc/getsockopt>. |
4870 | 4769 | |
4871 | 4770 | =end original |
4872 | 4771 | |
4873 | 4772 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
4874 | 4773 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
4875 | 4774 | L<perlfunc/getsockopt> を参照してください。 |
4876 | 4775 | |
4877 | =item given is experimental | |
4878 | ||
4879 | =begin original | |
4880 | ||
4881 | (S experimental::smartmatch) C<given> depends on both a lexical C<$_> and | |
4882 | smartmatch, both of which are experimental, so its behavior may change or | |
4883 | even be removed in any future release of perl. | |
4884 | See the explanation under L<perlsyn/Experimental Details on given and when>. | |
4885 | ||
4886 | =end original | |
4887 | ||
4888 | (S experimental::smartmatch) C<given> はレキシカルな C<$_> と | |
4889 | スマートマッチングの両方に依存していて、両方とも実験的なので、その振る舞いは | |
4890 | 将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
4891 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
4892 | ||
4893 | 4776 | =item Global symbol "%s" requires explicit package name |
4894 | 4777 | |
4895 | 4778 | =begin original |
4896 | 4779 | |
4897 | 4780 | (F) You've said "use strict" or "use strict vars", which indicates |
4898 | 4781 | that all variables must either be lexically scoped (using "my" or "state"), |
4899 | 4782 | declared beforehand using "our", or explicitly qualified to say |
4900 | 4783 | which package the global variable is in (using "::"). |
4901 | 4784 | |
4902 | 4785 | =end original |
4903 | 4786 | |
4904 | 4787 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は |
4905 | 4788 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に |
4906 | 4789 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 |
4907 | 4790 | 明示的に修飾しなくてはなりません。 |
4908 | 4791 | |
4909 | 4792 | =item glob failed (%s) |
4910 | 4793 | |
4911 | 4794 | =begin original |
4912 | 4795 | |
4913 | 4796 | (S glob) Something went wrong with the external program(s) used |
4914 | 4797 | for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob> |
4915 | 4798 | pattern that caused the external program to fail and exit with a |
4916 | 4799 | nonzero status. If the message indicates that the abnormal exit |
4917 | 4800 | resulted in a coredump, this may also mean that your csh (C shell) |
4918 | 4801 | is broken. If so, you should change all of the csh-related variables |
4919 | 4802 | in config.sh: If you have tcsh, make the variables refer to it as |
4920 | 4803 | if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them |
4921 | 4804 | all empty (except that C<d_csh> should be C<'undef'>) so that Perl will |
4922 | 4805 | think csh is missing. In either case, after editing config.sh, run |
4923 | 4806 | C<./Configure -S> and rebuild Perl. |
4924 | 4807 | |
4925 | 4808 | =end original |
4926 | 4809 | |
4927 | 4810 | (S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が |
4928 | 4811 | 発生しました。 |
4929 | 4812 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
4930 | 4813 | C<glob> パターンが渡されたことを意味します。 |
4931 | 4814 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
4932 | 4815 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
4933 | 4816 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
4934 | 4817 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
4935 | 4818 | 参照するように変数を設定します; |
4936 | 4819 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
4937 | 4820 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
4938 | 4821 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
4939 | 4822 | Perl を再ビルドしてください。 |
4940 | 4823 | |
4941 | 4824 | =item Glob not terminated |
4942 | 4825 | |
4943 | 4826 | =begin original |
4944 | 4827 | |
4945 | 4828 | (F) The lexer saw a left angle bracket in a place where it was expecting |
4946 | 4829 | a term, so it's looking for the corresponding right angle bracket, and |
4947 | 4830 | not finding it. Chances are you left some needed parentheses out |
4948 | 4831 | earlier in the line, and you really meant a "less than". |
4949 | 4832 | |
4950 | 4833 | =end original |
4951 | 4834 | |
4952 | 4835 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
4953 | 4836 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
4954 | 4837 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
4955 | 4838 | 表したかった場合が考えられます。 |
4956 | 4839 | |
4957 | 4840 | =item gmtime(%f) too large |
4958 | 4841 | |
4959 | 4842 | =begin original |
4960 | 4843 | |
4961 | 4844 | (W overflow) You called C<gmtime> with a number that was larger than |
4962 | 4845 | it can reliably handle and C<gmtime> probably returned the wrong |
4963 | 4846 | date. This warning is also triggered with NaN (the special |
4964 | 4847 | not-a-number value). |
4965 | 4848 | |
4966 | 4849 | =end original |
4967 | 4850 | |
4968 | 4851 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
4969 | 4852 | おそらく間違った日付が返されました。 |
4970 | 4853 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
4971 | 4854 | |
4972 | 4855 | =item gmtime(%f) too small |
4973 | 4856 | |
4974 | 4857 | =begin original |
4975 | 4858 | |
4976 | 4859 | (W overflow) You called C<gmtime> with a number that was smaller than |
4977 | 4860 | it can reliably handle and C<gmtime> probably returned the wrong date. |
4978 | 4861 | |
4979 | 4862 | =end original |
4980 | 4863 | |
4981 | 4864 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
4982 | 4865 | おそらく間違った日付が返されました。 |
4983 | 4866 | |
4984 | 4867 | =item Got an error from DosAllocMem |
4985 | 4868 | |
4986 | 4869 | =begin original |
4987 | 4870 | |
4988 | 4871 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
4989 | 4872 | version of Perl, and this should not happen anyway. |
4990 | 4873 | |
4991 | 4874 | =end original |
4992 | 4875 | |
4993 | 4876 | (P) OS/2 に固有のエラーです。 |
4994 | 4877 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
4995 | 4878 | どちらにしてもこのエラーは起きないはずです。 |
4996 | 4879 | |
4997 | 4880 | =item goto must have label |
4998 | 4881 | |
4999 | 4882 | =begin original |
5000 | 4883 | |
5001 | 4884 | (F) Unlike with "next" or "last", you're not allowed to goto an |
5002 | 4885 | unspecified destination. See L<perlfunc/goto>. |
5003 | 4886 | |
5004 | 4887 | =end original |
5005 | 4888 | |
5006 | 4889 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
5007 | 4890 | 指定しなくてはなりません。 |
5008 | 4891 | L<perlfunc/goto> を参照してください。 |
5009 | 4892 | |
5010 | 4893 | =item Goto undefined subroutine%s |
5011 | 4894 | |
5012 | 4895 | =begin original |
5013 | 4896 | |
5014 | 4897 | (F) You tried to call a subroutine with C<goto &sub> syntax, but |
5015 | 4898 | the indicated subroutine hasn't been defined, or if it was, it |
5016 | 4899 | has since been undefined. |
5017 | 4900 | |
5018 | 4901 | =end original |
5019 | 4902 | |
5020 | 4903 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された |
5021 | 4904 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 |
5022 | 4905 | |
5023 | 4906 | =item ()-group starts with a count |
5024 | 4907 | |
5025 | 4908 | =begin original |
5026 | 4909 | |
5027 | 4910 | (F) A ()-group started with a count. A count is supposed to follow |
5028 | 4911 | something: a template character or a ()-group. See L<perlfunc/pack>. |
5029 | 4912 | |
5030 | 4913 | =end original |
5031 | 4914 | |
5032 | 4915 | (F) () グループが繰り返し数で始まっています。 |
5033 | 4916 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 |
5034 | 4917 | L<perlfunc/pack> を参照してください。 |
5035 | 4918 | |
5036 | =item Group name must start with a non-digit word character in regex; marked by | |
5037 | <-- HERE in m/%s/ | |
5038 | ||
5039 | =begin original | |
5040 | ||
5041 | (F) Group names must follow the rules for perl identifiers, meaning | |
5042 | they must start with a non-digit word character. A common cause of | |
5043 | this error is using (?&0) instead of (?0). See L<perlre>. | |
5044 | ||
5045 | =end original | |
5046 | ||
5047 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
5048 | 始まらなければなりません。 | |
5049 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
5050 | L<perlre> を参照してください。 | |
5051 | ||
5052 | 4919 | =item %s had compilation errors. |
5053 | 4920 | |
5054 | 4921 | =begin original |
5055 | 4922 | |
5056 | 4923 | (F) The final summary message when a C<perl -c> fails. |
5057 | 4924 | |
5058 | 4925 | =end original |
5059 | 4926 | |
5060 | 4927 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
5061 | 4928 | |
5062 | 4929 | =item Had to create %s unexpectedly |
5063 | 4930 | |
5064 | 4931 | =begin original |
5065 | 4932 | |
5066 | 4933 | (S internal) A routine asked for a symbol from a symbol table that ought |
5067 | 4934 | to have existed already, but for some reason it didn't, and had to be |
5068 | 4935 | created on an emergency basis to prevent a core dump. |
5069 | 4936 | |
5070 | 4937 | =end original |
5071 | 4938 | |
5072 | 4939 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
5073 | 4940 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
5074 | 4941 | コアダンプを避けるために、緊急に生成しました。 |
5075 | 4942 | |
5076 | 4943 | =item Hash %%s missing the % in argument %d of %s() |
5077 | 4944 | |
5078 | 4945 | =begin original |
5079 | 4946 | |
5080 | 4947 | (D deprecated) Really old Perl let you omit the % on hash names in some |
5081 | 4948 | spots. This is now heavily deprecated. |
5082 | 4949 | |
5083 | 4950 | =end original |
5084 | 4951 | |
5085 | 4952 | (D deprecated) 本当に古い Perl では、ハッシュ名の % を省略できる場所が |
5086 | 4953 | ありました。 |
5087 | 4954 | これは廃止予定です。 |
5088 | 4955 | |
5089 | 4956 | =item %s has too many errors |
5090 | 4957 | |
5091 | 4958 | =begin original |
5092 | 4959 | |
5093 | 4960 | (F) The parser has given up trying to parse the program after 10 errors. |
5094 | 4961 | Further error messages would likely be uninformative. |
5095 | 4962 | |
5096 | 4963 | =end original |
5097 | 4964 | |
5098 | 4965 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 |
5099 | 4966 | それ以上の解析を諦めました。 |
5100 | 4967 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 |
5101 | 4968 | |
5102 | =item H | |
4969 | =item Having no space between pattern and following word is deprecated | |
5103 | 4970 | |
5104 | 4971 | =begin original |
5105 | 4972 | |
5106 | ( | |
4973 | (D syntax) | |
5107 | (4294967295) and therefore non-portable between systems. See | |
5108 | L<perlport> for more on portability concerns. | |
5109 | 4974 | |
5110 | 4975 | =end original |
5111 | 4976 | |
5112 | ( | |
4977 | (D syntax) | |
5113 | システム間で移植性がありません。 | |
5114 | 移植性に関するさらなる考察については L<perlport> を参照してください。 | |
5115 | 4978 | |
5116 | = | |
4979 | =begin original | |
5117 | 4980 | |
4981 | You had a word that isn't a regex modifier immediately following | |
4982 | a pattern without an intervening space. If you are trying to use | |
4983 | the C</le> flags on a substitution, use C</el> instead. Otherwise, add | |
4984 | white space between the pattern and following word to eliminate | |
4985 | the warning. As an example of the latter, the two constructs: | |
4986 | ||
4987 | =end original | |
4988 | ||
4989 | パターンに引き続いて正規表現修飾子ではない単語を、間に空白なしに書きました。 | |
4990 | 置換に C</le> フラグを使いたい場合は、代わりに C</el> を使ってください。 | |
4991 | さもなければ、警告を消すためにパターンと引き続く単語の間に空白を | |
4992 | 追加してください。 | |
4993 | 後者の例として、二つの構文は: | |
4994 | ||
4995 | $a =~ m/$foo/sand $bar | |
4996 | $a =~ m/$foo/s and $bar | |
4997 | ||
5118 | 4998 | =begin original |
5119 | 4999 | |
5120 | ||
5000 | both currently mean the same thing, but it is planned to disallow | |
5121 | th | |
5001 | the first form in Perl 5.18. And, | |
5122 | given. This is usually a mistake, since editing STDIN inplace doesn't | |
5123 | make sense, and can be confusing because it can make perl look like | |
5124 | it is hanging when it is really just trying to read from STDIN. You | |
5125 | should either pass a filename to edit, or remove C<-i> from the command | |
5126 | line. See L<perlrun> for more details. | |
5127 | 5002 | |
5128 | 5003 | =end original |
5129 | 5004 | |
5130 | ||
5005 | どちらも現在の所同じことを意味しますが、Perl 5.18 から前者の形式を | |
5131 | ||
5006 | 認めないようにすることが計画されています。 | |
5132 | ||
5007 | また、 | |
5133 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
5134 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
5135 | ハングしているように見えることがあるので混乱を引き起こします。 | |
5136 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
5137 | 取り除いてください。 | |
5138 | さらなる詳細については L<perlrun> を参照してください。 | |
5139 | 5008 | |
5009 | $a =~ m/$foo/and $bar | |
5010 | ||
5011 | =begin original | |
5012 | ||
5013 | will be disallowed too. | |
5014 | ||
5015 | =end original | |
5016 | ||
5017 | も認められなくなります。 | |
5018 | ||
5019 | =item Hexadecimal number > 0xffffffff non-portable | |
5020 | ||
5021 | =begin original | |
5022 | ||
5023 | (W portable) The hexadecimal number you specified is larger than 2**32-1 | |
5024 | (4294967295) and therefore non-portable between systems. See | |
5025 | L<perlport> for more on portability concerns. | |
5026 | ||
5027 | =end original | |
5028 | ||
5029 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 | |
5030 | システム間で移植性がありません。 | |
5031 | 移植性に関するさらなる考察については L<perlport> を参照してください。 | |
5032 | ||
5140 | 5033 | =item Identifier too long |
5141 | 5034 | |
5142 | 5035 | =begin original |
5143 | 5036 | |
5144 | 5037 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
5145 | 5038 | about 250 characters for simple names, and somewhat more for compound |
5146 | 5039 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
5147 | 5040 | of Perl are likely to eliminate these arbitrary limitations. |
5148 | 5041 | |
5149 | 5042 | =end original |
5150 | 5043 | |
5151 | 5044 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
5152 | 5045 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
5153 | 5046 | 制限しています。 |
5154 | 5047 | この Perl の制限を越えました。 |
5155 | 5048 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
5156 | 5049 | |
5157 | =item Ignoring zero length \N{} in character class | |
5050 | =item Ignoring zero length \N{} in character class | |
5158 | 5051 | |
5159 | 5052 | =begin original |
5160 | 5053 | |
5161 | (W | |
5054 | (W) Named Unicode character escapes C<(\N{...})> may return a zero-length | |
5162 | 5055 | sequence. When such an escape is used in a character class its |
5163 | 5056 | behaviour is not well defined. Check that the correct escape has |
5164 | 5057 | been used, and the correct charname handler is in scope. |
5165 | 5058 | |
5166 | 5059 | =end original |
5167 | 5060 | |
5168 | (W | |
5061 | (W) 名前付き Unicode 文字エスケープ C<(\N{...})> が長さ 0 の | |
5169 | 5062 | シーケンスを返しました。 |
5170 | 5063 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 |
5171 | 5064 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に |
5172 | 5065 | あるかをチェックしてください。 |
5173 | 5066 | |
5174 | 5067 | =item Illegal binary digit %s |
5175 | 5068 | |
5176 | 5069 | =begin original |
5177 | 5070 | |
5178 | 5071 | (F) You used a digit other than 0 or 1 in a binary number. |
5179 | 5072 | |
5180 | 5073 | =end original |
5181 | 5074 | |
5182 | 5075 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
5183 | 5076 | |
5184 | 5077 | =item Illegal binary digit %s ignored |
5185 | 5078 | |
5186 | 5079 | =begin original |
5187 | 5080 | |
5188 | 5081 | (W digit) You may have tried to use a digit other than 0 or 1 in a |
5189 | 5082 | binary number. Interpretation of the binary number stopped before the |
5190 | 5083 | offending digit. |
5191 | 5084 | |
5192 | 5085 | =end original |
5193 | 5086 | |
5194 | 5087 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 |
5195 | 5088 | 2 進数の解釈は問題のある数値の手前で停止しました。 |
5196 | 5089 | |
5197 | 5090 | =item Illegal character after '_' in prototype for %s : %s |
5198 | 5091 | |
5199 | 5092 | =begin original |
5200 | 5093 | |
5201 | 5094 | (W illegalproto) An illegal character was found in a prototype declaration. |
5202 | 5095 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. |
5203 | 5096 | |
5204 | 5097 | =end original |
5205 | 5098 | |
5206 | 5099 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
5207 | 5100 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 |
5208 | 5101 | |
5209 | 5102 | =item Illegal character \%o (carriage return) |
5210 | 5103 | |
5211 | 5104 | =begin original |
5212 | 5105 | |
5213 | 5106 | (F) Perl normally treats carriage returns in the program text as it |
5214 | 5107 | would any other whitespace, which means you should never see this error |
5215 | 5108 | when Perl was built using standard options. For some reason, your |
5216 | 5109 | version of Perl appears to have been built without this support. Talk |
5217 | 5110 | to your Perl administrator. |
5218 | 5111 | |
5219 | 5112 | =end original |
5220 | 5113 | |
5221 | 5114 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
5222 | 5115 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
5223 | 5116 | 見ることは決してないはずです。 |
5224 | 5117 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
5225 | 5118 | Perl の管理者に問い合わせてください。 |
5226 | 5119 | |
5227 | 5120 | =item Illegal character in prototype for %s : %s |
5228 | 5121 | |
5229 | 5122 | =begin original |
5230 | 5123 | |
5231 | 5124 | (W illegalproto) An illegal character was found in a prototype declaration. |
5232 | 5125 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. |
5233 | 5126 | |
5234 | 5127 | =end original |
5235 | 5128 | |
5236 | 5129 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
5237 | 5130 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 |
5238 | 5131 | |
5239 | 5132 | =item Illegal declaration of anonymous subroutine |
5240 | 5133 | |
5241 | 5134 | =begin original |
5242 | 5135 | |
5243 | 5136 | (F) When using the C<sub> keyword to construct an anonymous subroutine, |
5244 | 5137 | you must always specify a block of code. See L<perlsub>. |
5245 | 5138 | |
5246 | 5139 | =end original |
5247 | 5140 | |
5248 | 5141 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 |
5249 | 5142 | 常にコードのブロックを指定しなければなりません。 |
5250 | 5143 | L<perlsub> を参照してください。 |
5251 | 5144 | |
5252 | 5145 | =item Illegal declaration of subroutine %s |
5253 | 5146 | |
5254 | 5147 | =begin original |
5255 | 5148 | |
5256 | 5149 | (F) A subroutine was not declared correctly. See L<perlsub>. |
5257 | 5150 | |
5258 | 5151 | =end original |
5259 | 5152 | |
5260 | 5153 | (F) サブルーチンが正しく宣言されていません。 |
5261 | 5154 | L<perlsub> を参照してください。 |
5262 | 5155 | |
5263 | 5156 | =item Illegal division by zero |
5264 | 5157 | |
5265 | 5158 | =begin original |
5266 | 5159 | |
5267 | 5160 | (F) You tried to divide a number by 0. Either something was wrong in |
5268 | 5161 | your logic, or you need to put a conditional in to guard against |
5269 | 5162 | meaningless input. |
5270 | 5163 | |
5271 | 5164 | =end original |
5272 | 5165 | |
5273 | 5166 | (F) ゼロで割り算をしようとしました。 |
5274 | 5167 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
5275 | 5168 | 必要かのどちらかでしょう。 |
5276 | 5169 | |
5277 | 5170 | =item Illegal hexadecimal digit %s ignored |
5278 | 5171 | |
5279 | 5172 | =begin original |
5280 | 5173 | |
5281 | 5174 | (W digit) You may have tried to use a character other than 0 - 9 or |
5282 | 5175 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal |
5283 | 5176 | number stopped before the illegal character. |
5284 | 5177 | |
5285 | 5178 | =end original |
5286 | 5179 | |
5287 | 5180 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
5288 | 5181 | 16 進数の解釈は不正な文字の手前で停止しました。 |
5289 | 5182 | |
5290 | 5183 | =item Illegal modulus zero |
5291 | 5184 | |
5292 | 5185 | =begin original |
5293 | 5186 | |
5294 | 5187 | (F) You tried to divide a number by 0 to get the remainder. Most |
5295 | 5188 | numbers don't take to this kindly. |
5296 | 5189 | |
5297 | 5190 | =end original |
5298 | 5191 | |
5299 | 5192 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
5300 | 5193 | これは、ほとんどの数体系で受け入れられません。 |
5301 | 5194 | |
5302 | 5195 | =item Illegal number of bits in vec |
5303 | 5196 | |
5304 | 5197 | =begin original |
5305 | 5198 | |
5306 | 5199 | (F) The number of bits in vec() (the third argument) must be a power of |
5307 | 5200 | two from 1 to 32 (or 64, if your platform supports that). |
5308 | 5201 | |
5309 | 5202 | =end original |
5310 | 5203 | |
5311 | 5204 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
5312 | 5205 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
5313 | 5206 | |
5314 | 5207 | =item Illegal octal digit %s |
5315 | 5208 | |
5316 | 5209 | =begin original |
5317 | 5210 | |
5318 | 5211 | (F) You used an 8 or 9 in an octal number. |
5319 | 5212 | |
5320 | 5213 | =end original |
5321 | 5214 | |
5322 | 5215 | (F) 8 進数で 8 か 9 を使いました。 |
5323 | 5216 | |
5324 | 5217 | =item Illegal octal digit %s ignored |
5325 | 5218 | |
5326 | 5219 | =begin original |
5327 | 5220 | |
5328 | 5221 | (W digit) You may have tried to use an 8 or 9 in an octal number. |
5329 | 5222 | Interpretation of the octal number stopped before the 8 or 9. |
5330 | 5223 | |
5331 | 5224 | =end original |
5332 | 5225 | |
5333 | 5226 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 |
5334 | 5227 | 8 進数の解釈は 8 か 9 の手前で停止しました。 |
5335 | 5228 | |
5336 | =item Illegal pattern in regex; marked by <-- HERE in m/%s/ | |
5337 | ||
5338 | =begin original | |
5339 | ||
5340 | (F) | |
5341 | You wrote something like | |
5342 | ||
5343 | =end original | |
5344 | ||
5345 | (F) | |
5346 | 以下のようなものを書きました | |
5347 | ||
5348 | (?+foo) | |
5349 | ||
5350 | =begin original | |
5351 | ||
5352 | The C<"+"> is valid only when followed by digits, indicating a | |
5353 | capturing group. See | |
5354 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
5355 | ||
5356 | =end original | |
5357 | ||
5358 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
5359 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
5360 | 参照してください。 | |
5361 | ||
5362 | 5229 | =item Illegal switch in PERL5OPT: -%c |
5363 | 5230 | |
5364 | 5231 | =begin original |
5365 | 5232 | |
5366 | 5233 | (X) The PERL5OPT environment variable may only be used to set the |
5367 | 5234 | following switches: B<-[CDIMUdmtw]>. |
5368 | 5235 | |
5369 | 5236 | =end original |
5370 | 5237 | |
5371 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> の | |
5238 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> の | |
5239 | オプションだけです。 | |
5372 | 5240 | |
5373 | 5241 | =item Ill-formed CRTL environ value "%s" |
5374 | 5242 | |
5375 | 5243 | =begin original |
5376 | 5244 | |
5377 | 5245 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
5378 | 5246 | internal environ array, and encountered an element without the C<=> |
5379 | 5247 | delimiter used to separate keys from values. The element is ignored. |
5380 | 5248 | |
5381 | 5249 | =end original |
5382 | 5250 | |
5383 | 5251 | (W internal) VMS に固有の警告です。 |
5384 | 5252 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
5385 | 5253 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
5386 | 5254 | この要素は無視しました。 |
5387 | 5255 | |
5388 | 5256 | =item Ill-formed message in prime_env_iter: |%s| |
5389 | 5257 | |
5390 | 5258 | =begin original |
5391 | 5259 | |
5392 | 5260 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
5393 | 5261 | name or CLI symbol definition when preparing to iterate over %ENV, and |
5394 | 5262 | didn't see the expected delimiter between key and value, so the line was |
5395 | 5263 | ignored. |
5396 | 5264 | |
5397 | 5265 | =end original |
5398 | 5266 | |
5399 | 5267 | (W internal) VMS に固有の警告です。 |
5400 | 5268 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
5401 | 5269 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
5402 | 5270 | その行は無視しました。 |
5403 | 5271 | |
5404 | 5272 | =item (in cleanup) %s |
5405 | 5273 | |
5406 | 5274 | =begin original |
5407 | 5275 | |
5408 | 5276 | (W misc) This prefix usually indicates that a DESTROY() method raised |
5409 | 5277 | the indicated exception. Since destructors are usually called by the |
5410 | 5278 | system at arbitrary points during execution, and often a vast number of |
5411 | 5279 | times, the warning is issued only once for any number of failures that |
5412 | 5280 | would otherwise result in the same message being repeated. |
5413 | 5281 | |
5414 | 5282 | =end original |
5415 | 5283 | |
5416 | 5284 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
5417 | 5285 | 発生したことを示しています。 |
5418 | 5286 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
5419 | 5287 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
5420 | 5288 | 何回失敗しても一度だけ発生します。 |
5421 | 5289 | |
5422 | 5290 | =begin original |
5423 | 5291 | |
5424 | 5292 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
5425 | 5293 | also result in this warning. See L<perlcall/G_KEEPERR>. |
5426 | 5294 | |
5427 | 5295 | =end original |
5428 | 5296 | |
5429 | 5297 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した |
5430 | 5298 | 場合にもこの警告が出ることがあります。 |
5431 | 5299 | L<perlcall/G_KEEPERR> を参照してください。 |
5432 | 5300 | |
5433 | =item In | |
5301 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on parent '%s' | |
5434 | 5302 | |
5435 | 5303 | =begin original |
5436 | 5304 | |
5437 | (D regexp, deprecated) | |
5438 | The two-character sequence C<"(*"> in this context in a regular | |
5439 | expression pattern should be an indivisible token, with nothing | |
5440 | intervening between the C<"("> and the C<"*">, but you separated them. | |
5441 | Due to an accident of implementation, this prohibition was not enforced, | |
5442 | but we do plan to forbid it in a future Perl version. This message | |
5443 | serves as giving you fair warning of this pending change. | |
5444 | ||
5445 | =end original | |
5446 | ||
5447 | (D regexp, deprecated) | |
5448 | 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できないトークンで、 | |
5449 | C<"("> と C<"*"> の間には何も入らないはずですが、これを分割しました。 | |
5450 | 実装上の偶然により、この禁止事項は強制されていませんでしたが、将来の Perl | |
5451 | バージョンでは禁止する計画です。 | |
5452 | このメッセージは、この補注中の変更を警告するためのものです。 | |
5453 | ||
5454 | =item In '(?...)', splitting the initial '(?' is deprecated in regex; marked by <-- HERE in m/%s/ | |
5455 | ||
5456 | =begin original | |
5457 | ||
5458 | (D regexp, deprecated) | |
5459 | The two-character sequence C<"(?"> in this context in a regular | |
5460 | expression pattern should be an indivisible token, with nothing | |
5461 | intervening between the C<"("> and the C<"?">, but you separated them. | |
5462 | Due to an accident of implementation, this prohibition was not enforced, | |
5463 | but we do plan to forbid it in a future Perl version. This message | |
5464 | serves as giving you fair warning of this pending change. | |
5465 | ||
5466 | =end original | |
5467 | ||
5468 | (D regexp, deprecated) | |
5469 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
5470 | C<"("> と C<"?"> の間には何も入らないはずですが、これを分割しました。 | |
5471 | 実装上の偶然により、この禁止事項は強制されていませんでしたが、将来の Perl | |
5472 | バージョンでは禁止する計画です。 | |
5473 | このメッセージは、この補注中の変更を警告するためのものです。 | |
5474 | ||
5475 | =item Incomplete expression within '(?[ ])' in regex; marked by <-- HERE in m/%s/ | |
5476 | ||
5477 | =begin original | |
5478 | ||
5479 | (F) | |
5480 | There was a syntax error within the C<(?[ ])>. This can happen if the | |
5481 | expression inside the construct was completely empty, or if there are | |
5482 | too many or few operands for the number of operators. Perl is not smart | |
5483 | enough to give you a more precise indication as to what is wrong. | |
5484 | ||
5485 | =end original | |
5486 | ||
5487 | (F) | |
5488 | これは C<(?[ ])> の中の文法エラーです。 | |
5489 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり | |
5490 | 少なすぎたりする場合に起こります。 | |
5491 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 | |
5492 | ||
5493 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
5494 | parent '%s' | |
5495 | ||
5496 | =begin original | |
5497 | ||
5498 | 5305 | (F) The method resolution order (MRO) of the given class is not |
5499 | 5306 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 |
5500 | 5307 | documentation in L<mro> for more information. |
5501 | 5308 | |
5502 | 5309 | =end original |
5503 | 5310 | |
5504 | 5311 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 |
5505 | 5312 | このクラスの C3 MRO を有効にしました。 |
5506 | 5313 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 |
5507 | 5314 | |
5508 | 5315 | =item In EBCDIC the v-string components cannot exceed 2147483647 |
5509 | 5316 | |
5510 | 5317 | =begin original |
5511 | 5318 | |
5512 | 5319 | (F) An error peculiar to EBCDIC. Internally, v-strings are stored as |
5513 | 5320 | Unicode code points, and encoded in EBCDIC as UTF-EBCDIC. The UTF-EBCDIC |
5514 | 5321 | encoding is limited to code points no larger than 2147483647 (0x7FFFFFFF). |
5515 | 5322 | |
5516 | 5323 | =end original |
5517 | 5324 | |
5518 | 5325 | (F) EBCDIC 特有のエラーです。 |
5519 | 5326 | 内部的に、v 文字列は Unicode 文字ポイントとして保管されていて、 |
5520 | 5327 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 |
5521 | 5328 | UTF-EBCDIC エンコーディングでは、コードポイントは |
5522 | 5329 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 |
5523 | 5330 | |
5524 | 5331 | =item Infinite recursion in regex; marked by <-- HERE in m/%s/ |
5525 | 5332 | |
5526 | 5333 | =begin original |
5527 | 5334 | |
5528 | 5335 | (F) You used a pattern that references itself without consuming any input |
5529 | 5336 | text. You should check the pattern to ensure that recursive patterns |
5530 | 5337 | either consume text or fail. |
5531 | 5338 | |
5532 | 5339 | =end original |
5533 | 5340 | |
5534 | 5341 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 |
5535 | 5342 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 |
5536 | 5343 | パターンをチェックするべきです。 |
5537 | 5344 | |
5538 | 5345 | =begin original |
5539 | 5346 | |
5540 | The <-- HERE shows | |
5347 | The <-- HERE shows in the regular expression about where the problem was | |
5541 | 5348 | discovered. |
5542 | 5349 | |
5543 | 5350 | =end original |
5544 | 5351 | |
5545 | 5352 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
5546 | 5353 | |
5547 | 5354 | =item Initialization of state variables in list context currently forbidden |
5548 | 5355 | |
5549 | 5356 | =begin original |
5550 | 5357 | |
5551 | 5358 | (F) Currently the implementation of "state" only permits the |
5552 | 5359 | initialization of scalar variables in scalar context. Re-write |
5553 | 5360 | C<state ($a) = 42> as C<state $a = 42> to change from list to scalar |
5554 | 5361 | context. Constructions such as C<state (@a) = foo()> will be |
5555 | 5362 | supported in a future perl release. |
5556 | 5363 | |
5557 | 5364 | =end original |
5558 | 5365 | |
5559 | 5366 | (F) 現在のところ、"state" の実装は、スカラコンテキストでのスカラ変数の |
5560 | 5367 | 初期化のみが許されています。 |
5561 | 5368 | C<state ($a) = 42> を C<state $a = 42> のように、リストコンテキストから |
5562 | 5369 | スカラコンテキストに書き換えてください。 |
5563 | 5370 | C<state (@a) = foo()> のような構文は perl の将来のリリースで |
5564 | 5371 | 対応されるでしょう。 |
5565 | 5372 | |
5566 | 5373 | =item Insecure dependency in %s |
5567 | 5374 | |
5568 | 5375 | =begin original |
5569 | 5376 | |
5570 | 5377 | (F) You tried to do something that the tainting mechanism didn't like. |
5571 | 5378 | The tainting mechanism is turned on when you're running setuid or |
5572 | 5379 | setgid, or when you specify B<-T> to turn it on explicitly. The |
5573 | 5380 | tainting mechanism labels all data that's derived directly or indirectly |
5574 | 5381 | from the user, who is considered to be unworthy of your trust. If any |
5575 | 5382 | such data is used in a "dangerous" operation, you get this error. See |
5576 | 5383 | L<perlsec> for more information. |
5577 | 5384 | |
5578 | 5385 | =end original |
5579 | 5386 | |
5580 | 5387 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
5581 | 5388 | 行なおうとしました。 |
5582 | 5389 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
5583 | 5390 | 汚染チェック機構が働きます。 |
5584 | 5391 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
5585 | 5392 | 指定したデータに印を付けます。 |
5586 | 5393 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
5587 | 5394 | 詳しくは、L<perlsec> を参照してください。 |
5588 | 5395 | |
5589 | 5396 | =item Insecure directory in %s |
5590 | 5397 | |
5591 | 5398 | =begin original |
5592 | 5399 | |
5593 | 5400 | (F) You can't use system(), exec(), or a piped open in a setuid or |
5594 | 5401 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
5595 | 5402 | the world. Also, the PATH must not contain any relative directory. |
5596 | 5403 | See L<perlsec>. |
5597 | 5404 | |
5598 | 5405 | =end original |
5599 | 5406 | |
5600 | 5407 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
5601 | 5408 | 含まれているとき、system()、exec()、パイプのオープンを |
5602 | 5409 | 行なうことはできません。 |
5603 | 5410 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 |
5604 | 5411 | L<perlsec> を参照してください。 |
5605 | 5412 | |
5606 | 5413 | =item Insecure $ENV{%s} while running %s |
5607 | 5414 | |
5608 | 5415 | =begin original |
5609 | 5416 | |
5610 | 5417 | (F) You can't use system(), exec(), or a piped open in a setuid or |
5611 | 5418 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
5612 | 5419 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data |
5613 | 5420 | supplied (or potentially supplied) by the user. The script must set |
5614 | 5421 | the path to a known value, using trustworthy data. See L<perlsec>. |
5615 | 5422 | |
5616 | 5423 | =end original |
5617 | 5424 | |
5618 | 5425 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
5619 | 5426 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された |
5620 | 5427 | (あるいは提供された可能性のある)データの場合、setuid や setgid された |
5621 | 5428 | スクリプトでは system(), exec(), パイプされる open を |
5622 | 5429 | 使うことはできません。 |
5623 | 5430 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
5624 | 5431 | セットしなければなりません。 |
5625 | 5432 | L<perlsec> を参照してください。 |
5626 | 5433 | |
5627 | 5434 | =item Insecure user-defined property %s |
5628 | 5435 | |
5629 | 5436 | =begin original |
5630 | 5437 | |
5631 | 5438 | (F) Perl detected tainted data when trying to compile a regular |
5632 | 5439 | expression that contains a call to a user-defined character property |
5633 | 5440 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. |
5634 | 5441 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. |
5635 | 5442 | |
5636 | 5443 | =end original |
5637 | 5444 | |
5638 | 5445 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の |
5639 | 5446 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを |
5640 | 5447 | 検出しました。 |
5641 | 5448 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を |
5642 | 5449 | 参照してください。 |
5643 | 5450 | |
5644 | 5451 | =item Integer overflow in format string for %s |
5645 | 5452 | |
5646 | 5453 | =begin original |
5647 | 5454 | |
5648 | 5455 | (F) The indexes and widths specified in the format string of C<printf()> |
5649 | 5456 | or C<sprintf()> are too large. The numbers must not overflow the size of |
5650 | 5457 | integers for your architecture. |
5651 | 5458 | |
5652 | 5459 | =end original |
5653 | 5460 | |
5654 | 5461 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや |
5655 | 5462 | 幅が大きすぎます。 |
5656 | 5463 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように |
5657 | 5464 | しなければなりません。 |
5658 | 5465 | |
5659 | 5466 | =item Integer overflow in %s number |
5660 | 5467 | |
5661 | 5468 | =begin original |
5662 | 5469 | |
5663 | ( | |
5470 | (W overflow) The hexadecimal, octal or binary number you have specified | |
5664 | 5471 | either as a literal or as an argument to hex() or oct() is too big for |
5665 | 5472 | your architecture, and has been converted to a floating point number. |
5666 | 5473 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
5667 | 5474 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
5668 | 5475 | 0b11111111111111111111111111111111 respectively. Note that Perl |
5669 | 5476 | transparently promotes all numbers to a floating point representation |
5670 | 5477 | internally--subject to loss of precision errors in subsequent |
5671 | 5478 | operations. |
5672 | 5479 | |
5673 | 5480 | =end original |
5674 | 5481 | |
5675 | ( | |
5482 | (W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
5676 | 5483 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
5677 | 5484 | 変換されました。 |
5678 | 5485 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
5679 | 5486 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
5680 | 5487 | 0b11111111111111111111111111111111 です。 |
5681 | 5488 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
5682 | 5489 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
5683 | 5490 | |
5684 | =item Integer overflow in srand | |
5685 | ||
5686 | =begin original | |
5687 | ||
5688 | (S overflow) The number you have passed to srand is too big to fit | |
5689 | in your architecture's integer representation. The number has been | |
5690 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
5691 | architectures). This means you may be getting less randomness than | |
5692 | you expect, because different random seeds above the maximum will | |
5693 | return the same sequence of random numbers. | |
5694 | ||
5695 | =end original | |
5696 | ||
5697 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
5698 | 適合させるには大きすぎます。 | |
5699 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
5700 | 置き換えられました。 | |
5701 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
5702 | 想定しているよりもランダム性が低くなることを意味します。 | |
5703 | ||
5704 | 5491 | =item Integer overflow in version |
5705 | 5492 | |
5706 | =item Integer overflow in version %d | |
5707 | ||
5708 | 5493 | =begin original |
5709 | 5494 | |
5710 | ( | |
5495 | (F) Some portion of a version initialization is too large for the | |
5711 | ||
5496 | size of integers for your architecture. This is not a warning | |
5712 | because there is no rational reason for a version to try and use a | |
5497 | because there is no rational reason for a version to try and use a | |
5713 | element larger than typically 2**32. This is usually caused by | |
5498 | element larger than typically 2**32. This is usually caused by | |
5714 | to use some odd mathematical operation as a version, like | |
5499 | trying to use some odd mathematical operation as a version, like | |
5500 | 100/9. | |
5715 | 5501 | |
5716 | 5502 | =end original |
5717 | 5503 | |
5718 | ( | |
5504 | (F) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
5719 | 5505 | 大きすぎます。 |
5720 | 5506 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な |
5721 | 5507 | 理由がないので、これは警告ではありません。 |
5722 | 5508 | これは普通、100/9 のようなおかしな数値演算をバージョンとして |
5723 | 5509 | 使おうとしたことによります。 |
5724 | 5510 | |
5725 | 5511 | =item Internal disaster in regex; marked by <-- HERE in m/%s/ |
5726 | 5512 | |
5727 | 5513 | =begin original |
5728 | 5514 | |
5729 | 5515 | (P) Something went badly wrong in the regular expression parser. |
5730 | The <-- HERE shows | |
5516 | The <-- HERE shows in the regular expression about where the problem was | |
5731 | 5517 | discovered. |
5732 | 5518 | |
5733 | 5519 | =end original |
5734 | 5520 | |
5735 | 5521 | (P) 正規表現解析部に何か悪いことが起こりました。 |
5736 | 5522 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
5737 | 5523 | |
5738 | 5524 | =item Internal inconsistency in tracking vforks |
5739 | 5525 | |
5740 | 5526 | =begin original |
5741 | 5527 | |
5742 | 5528 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
5743 | 5529 | you've called C<fork> and C<exec>, to determine whether the current call |
5744 | 5530 | to C<exec> should affect the current script or a subprocess (see |
5745 | 5531 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
5746 | 5532 | Perl is making a guess and treating this C<exec> as a request to |
5747 | 5533 | terminate the Perl script and execute the specified command. |
5748 | 5534 | |
5749 | 5535 | =end original |
5750 | 5536 | |
5751 | 5537 | (S) VMS に固有の警告です。 |
5752 | 5538 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
5753 | 5539 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
5754 | 5540 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
5755 | 5541 | 参照してください)。 |
5756 | 5542 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
5757 | 5543 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
5758 | 5544 | 仮定して、そのように扱いました。 |
5759 | 5545 | |
5760 | 5546 | =item Internal urp in regex; marked by <-- HERE in m/%s/ |
5761 | 5547 | |
5762 | 5548 | =begin original |
5763 | 5549 | |
5764 | 5550 | (P) Something went badly awry in the regular expression parser. The |
5765 | <-- HERE shows | |
5551 | <-- HERE shows in the regular expression about where the problem was | |
5766 | 5552 | discovered. |
5767 | 5553 | |
5768 | 5554 | =end original |
5769 | 5555 | |
5770 | 5556 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
5771 | 5557 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
5772 | 5558 | |
5773 | 5559 | =item %s (...) interpreted as function |
5774 | 5560 | |
5775 | 5561 | =begin original |
5776 | 5562 | |
5777 | 5563 | (W syntax) You've run afoul of the rule that says that any list operator |
5778 | 5564 | followed by parentheses turns into a function, with all the list |
5779 | 5565 | operators arguments found inside the parentheses. See |
5780 | 5566 | L<perlop/Terms and List Operators (Leftward)>. |
5781 | 5567 | |
5782 | 5568 | =end original |
5783 | 5569 | |
5784 | 5570 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にあるリスト演算子引数を |
5785 | 5571 | 持つ関数になる、という規則が適用されました。 |
5786 | 5572 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
5787 | 5573 | |
5788 | 5574 | =item Invalid %s attribute: %s |
5789 | 5575 | |
5790 | 5576 | =begin original |
5791 | 5577 | |
5792 | 5578 | (F) The indicated attribute for a subroutine or variable was not recognized |
5793 | 5579 | by Perl or by a user-supplied handler. See L<attributes>. |
5794 | 5580 | |
5795 | 5581 | =end original |
5796 | 5582 | |
5797 | 5583 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
5798 | 5584 | 認識されませんでした。 |
5799 | 5585 | L<attributes> を参照してください。 |
5800 | 5586 | |
5801 | 5587 | =item Invalid %s attributes: %s |
5802 | 5588 | |
5803 | 5589 | =begin original |
5804 | 5590 | |
5805 | 5591 | (F) The indicated attributes for a subroutine or variable were not |
5806 | 5592 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
5807 | 5593 | |
5808 | 5594 | =end original |
5809 | 5595 | |
5810 | 5596 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
5811 | 5597 | 認識されませんでした。 |
5812 | 5598 | L<attributes> を参照してください。 |
5813 | 5599 | |
5814 | =item Invalid [] range "%*.*s" in regex; marked by <-- HERE in m/%s/ | |
5815 | ||
5816 | =begin original | |
5817 | ||
5818 | (F) | |
5819 | You wrote something like | |
5820 | ||
5821 | =end original | |
5822 | ||
5823 | (F) | |
5824 | 正規表現で | |
5825 | ||
5826 | [z-a] | |
5827 | ||
5828 | =begin original | |
5829 | ||
5830 | in a regular expression pattern. Ranges must be specified with the | |
5831 | lowest code point first. Instead write | |
5832 | ||
5833 | =end original | |
5834 | ||
5835 | のようなものを書きました。 | |
5836 | 範囲は小さい符号位置を先に書かなければなりません。 | |
5837 | 以下のように書いてください | |
5838 | ||
5839 | [a-z] | |
5840 | ||
5841 | =item Invalid character in \N{...}; marked by <-- HERE in \N{%s} | |
5842 | ||
5843 | =begin original | |
5844 | ||
5845 | (F) Only certain characters are valid for character names. The | |
5846 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
5847 | ||
5848 | =end original | |
5849 | ||
5850 | (F) 文字名としては一部の文字のみが正当です。 | |
5851 | 示されたものは違います。 | |
5852 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
5853 | ||
5854 | =item Invalid character in charnames alias definition; marked by <-- HERE in '%s | |
5855 | ||
5856 | =begin original | |
5857 | ||
5858 | (F) You tried to create a custom alias for a character name, with | |
5859 | the C<:alias> option to C<use charnames> and the specified character in | |
5860 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
5861 | ||
5862 | =end original | |
5863 | ||
5864 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
5865 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
5866 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
5867 | ||
5868 | 5600 | =item Invalid conversion in %s: "%s" |
5869 | 5601 | |
5870 | 5602 | =begin original |
5871 | 5603 | |
5872 | 5604 | (W printf) Perl does not understand the given format conversion. See |
5873 | 5605 | L<perlfunc/sprintf>. |
5874 | 5606 | |
5875 | 5607 | =end original |
5876 | 5608 | |
5877 | 5609 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
5878 | 5610 | L<perlfunc/sprintf> を参照してください。 |
5879 | 5611 | |
5880 | =item Invalid escape in the specified encoding in regex; marked by <-- HERE in | |
5612 | =item Invalid escape in the specified encoding in regex; marked by <-- HERE in m/%s/ | |
5881 | m/%s/ | |
5882 | 5613 | |
5883 | 5614 | =begin original |
5884 | 5615 | |
5885 | 5616 | (W regexp) The numeric escape (for example C<\xHH>) of value < 256 |
5886 | 5617 | didn't correspond to a single character through the conversion |
5887 | 5618 | from the encoding specified by the encoding pragma. |
5888 | 5619 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) instead. |
5889 | The <-- HERE shows | |
5620 | The <-- HERE shows in the regular expression about where the | |
5890 | 5621 | escape was discovered. |
5891 | 5622 | |
5892 | 5623 | =end original |
5893 | 5624 | |
5894 | 5625 | (W regexp) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 |
5895 | 5626 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 |
5896 | 5627 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます。 |
5897 | 5628 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 |
5898 | 5629 | |
5899 | 5630 | =item Invalid hexadecimal number in \N{U+...} |
5900 | 5631 | |
5901 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by <-- HERE in | |
5902 | m/%s/ | |
5903 | ||
5904 | 5632 | =begin original |
5905 | 5633 | |
5906 | 5634 | (F) The character constant represented by C<...> is not a valid hexadecimal |
5907 | 5635 | number. Either it is empty, or you tried to use a character other than |
5908 | 5636 | 0 - 9 or A - F, a - f in a hexadecimal number. |
5909 | 5637 | |
5910 | 5638 | =end original |
5911 | 5639 | |
5912 | 5640 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 |
5913 | 5641 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
5914 | 5642 | |
5915 | 5643 | =item Invalid module name %s with -%c option: contains single ':' |
5916 | 5644 | |
5917 | 5645 | =begin original |
5918 | 5646 | |
5919 | 5647 | (F) The module argument to perl's B<-m> and B<-M> command-line options |
5920 | 5648 | cannot contain single colons in the module name, but only in the |
5921 | 5649 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but |
5922 | 5650 | B<-MFoo:Bar=baz> is not. |
5923 | 5651 | |
5924 | 5652 | =end original |
5925 | 5653 | |
5926 | 5654 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 |
5927 | 5655 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが |
5928 | 5656 | できます。 |
5929 | 5657 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は |
5930 | 5658 | そうではありません。 |
5931 | 5659 | |
5932 | 5660 | =item Invalid mro name: '%s' |
5933 | 5661 | |
5934 | 5662 | =begin original |
5935 | 5663 | |
5936 | 5664 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, |
5937 | 5665 | where C<foo> is not a valid method resolution order (MRO). Currently, |
5938 | 5666 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded |
5939 | 5667 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. |
5940 | 5668 | |
5941 | 5669 | =end original |
5942 | 5670 | |
5943 | 5671 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと |
5944 | 5672 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 |
5945 | 5673 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として |
5946 | 5674 | 有効なものは C<dfs> と C<c3> だけです。 |
5947 | 5675 | L<mro> と L<perlmroapi> を参照してください。 |
5948 | 5676 | |
5949 | =item Invalid negative number (%s) in chr | |
5950 | ||
5951 | =begin original | |
5952 | ||
5953 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
5954 | not valid characters numbers, so it return the Unicode replacement | |
5955 | character (U+FFFD). | |
5956 | ||
5957 | =end original | |
5958 | ||
5959 | (W utf8) C<chr> に負数を渡しました。 | |
5960 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
5961 | ||
5962 | 5677 | =item invalid option -D%c, use -D'' to see choices |
5963 | 5678 | |
5964 | 5679 | =begin original |
5965 | 5680 | |
5966 | ( | |
5681 | (F) Perl was called with invalid debugger flags. Call perl with | |
5967 | ||
5682 | the B<-D> option with no flags to see the list of acceptable values. | |
5968 | See also L<perlrun/-Dletters>. | |
5683 | See also L<< perlrun/B<-D>I<letters> >>. | |
5969 | 5684 | |
5970 | 5685 | =end original |
5971 | 5686 | |
5972 | 5687 | (F) Perl は不正なデバッガフラグで呼び出されました。 |
5973 | 5688 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて |
5974 | 5689 | perl を呼び出してください。 |
5975 | 5690 | L<< perlrun/B<-D>I<letters> >> も参照してください。 |
5976 | 5691 | |
5977 | 5692 | =item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/ |
5978 | 5693 | |
5979 | 5694 | =begin original |
5980 | 5695 | |
5981 | 5696 | (F) The range specified in a character class had a minimum character |
5982 | 5697 | greater than the maximum character. One possibility is that you forgot the |
5983 | 5698 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only |
5984 | up to C<ff>. The <-- HERE shows | |
5699 | up to C<ff>. The <-- HERE shows in the regular expression about where the | |
5985 | 5700 | problem was discovered. See L<perlre>. |
5986 | 5701 | |
5987 | 5702 | =end original |
5988 | 5703 | |
5989 | 5704 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
5990 | 5705 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を |
5991 | 5706 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか |
5992 | 5707 | なりません。 |
5993 | 5708 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
5994 | 5709 | L<perlre> を参照してください。 |
5995 | 5710 | |
5996 | 5711 | =item Invalid range "%s" in transliteration operator |
5997 | 5712 | |
5998 | 5713 | =begin original |
5999 | 5714 | |
6000 | 5715 | (F) The range specified in the tr/// or y/// operator had a minimum |
6001 | 5716 | character greater than the maximum character. See L<perlop>. |
6002 | 5717 | |
6003 | 5718 | =end original |
6004 | 5719 | |
6005 | 5720 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が |
6006 | 5721 | 大きいです。 |
6007 | 5722 | L<perlop> を参照してください。 |
6008 | 5723 | |
6009 | 5724 | =item Invalid separator character %s in attribute list |
6010 | 5725 | |
6011 | 5726 | =begin original |
6012 | 5727 | |
6013 | 5728 | (F) Something other than a colon or whitespace was seen between the |
6014 | 5729 | elements of an attribute list. If the previous attribute had a |
6015 | 5730 | parenthesised parameter list, perhaps that list was terminated too soon. |
6016 | 5731 | See L<attributes>. |
6017 | 5732 | |
6018 | 5733 | =end original |
6019 | 5734 | |
6020 | 5735 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
6021 | 5736 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
6022 | 5737 | 予定より早く終端されています。 |
6023 | 5738 | L<attributes> を参照してください。 |
6024 | 5739 | |
6025 | 5740 | =item Invalid separator character %s in PerlIO layer specification %s |
6026 | 5741 | |
6027 | 5742 | =begin original |
6028 | 5743 | |
6029 | 5744 | (W layer) When pushing layers onto the Perl I/O system, something other |
6030 | 5745 | than a colon or whitespace was seen between the elements of a layer list. |
6031 | 5746 | If the previous attribute had a parenthesised parameter list, perhaps that |
6032 | 5747 | list was terminated too soon. |
6033 | 5748 | |
6034 | 5749 | =end original |
6035 | 5750 | |
6036 | 5751 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に |
6037 | 5752 | コロンと空白以外のものがありました。 |
6038 | 5753 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
6039 | 5754 | 予定より早く終端されています。 |
6040 | 5755 | |
6041 | 5756 | =item Invalid strict version format (%s) |
6042 | 5757 | |
6043 | 5758 | =begin original |
6044 | 5759 | |
6045 | 5760 | (F) A version number did not meet the "strict" criteria for versions. |
6046 | 5761 | A "strict" version number is a positive decimal number (integer or |
6047 | 5762 | decimal-fraction) without exponentiation or else a dotted-decimal |
6048 | 5763 | v-string with a leading 'v' character and at least three components. |
6049 | 5764 | The parenthesized text indicates which criteria were not met. |
6050 | 5765 | See the L<version> module for more details on allowed version formats. |
6051 | 5766 | |
6052 | 5767 | =end original |
6053 | 5768 | |
6054 | 5769 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 |
6055 | 5770 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 |
6056 | 5771 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも |
6057 | 5772 | 三つの部分からなるものです。 |
6058 | 5773 | かっこで囲まれたテキストは問題の基準を示しています。 |
6059 | 5774 | 許されるバージョンオブジェクトに関するさらなる詳細については |
6060 | 5775 | L<version> モジュールを参照してください。 |
6061 | 5776 | |
6062 | 5777 | =item Invalid type '%s' in %s |
6063 | 5778 | |
6064 | 5779 | =begin original |
6065 | 5780 | |
6066 | 5781 | (F) The given character is not a valid pack or unpack type. |
6067 | 5782 | See L<perlfunc/pack>. |
6068 | 5783 | |
6069 | 5784 | =end original |
6070 | 5785 | |
6071 | 5786 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 |
6072 | 5787 | L<perlfunc/pack> を参照してください。 |
6073 | 5788 | |
6074 | 5789 | =begin original |
6075 | 5790 | |
6076 | 5791 | (W) The given character is not a valid pack or unpack type but used to be |
6077 | 5792 | silently ignored. |
6078 | 5793 | |
6079 | 5794 | =end original |
6080 | 5795 | |
6081 | 5796 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に |
6082 | 5797 | 無視されました。 |
6083 | 5798 | |
6084 | 5799 | =item Invalid version format (%s) |
6085 | 5800 | |
6086 | 5801 | =begin original |
6087 | 5802 | |
6088 | 5803 | (F) A version number did not meet the "lax" criteria for versions. |
6089 | 5804 | A "lax" version number is a positive decimal number (integer or |
6090 | 5805 | decimal-fraction) without exponentiation or else a dotted-decimal |
6091 | 5806 | v-string. If the v-string has fewer than three components, it |
6092 | 5807 | must have a leading 'v' character. Otherwise, the leading 'v' is |
6093 | 5808 | optional. Both decimal and dotted-decimal versions may have a |
6094 | 5809 | trailing "alpha" component separated by an underscore character |
6095 | 5810 | after a fractional or dotted-decimal component. The parenthesized |
6096 | 5811 | text indicates which criteria were not met. See the L<version> module |
6097 | 5812 | for more details on allowed version formats. |
6098 | 5813 | |
6099 | 5814 | =end original |
6100 | 5815 | |
6101 | 5816 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 |
6102 | 5817 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 |
6103 | 5818 | あるいはどっと付き 10 進 v-文字列です。 |
6104 | 5819 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 |
6105 | 5820 | さもなければ、先頭の 'v' はオプションです。 |
6106 | 5821 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 |
6107 | 5822 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 |
6108 | 5823 | かっこで囲まれたテキストは問題の基準を示しています。 |
6109 | 5824 | 許されるバージョンオブジェクトに関するさらなる詳細については |
6110 | 5825 | L<version> モジュールを参照してください。 |
6111 | 5826 | |
6112 | 5827 | =item Invalid version object |
6113 | 5828 | |
6114 | 5829 | =begin original |
6115 | 5830 | |
6116 | 5831 | (F) The internal structure of the version object was invalid. |
6117 | 5832 | Perhaps the internals were modified directly in some way or |
6118 | 5833 | an arbitrary reference was blessed into the "version" class. |
6119 | 5834 | |
6120 | 5835 | =end original |
6121 | 5836 | |
6122 | 5837 | (F) バージョンオブジェクトの内部構造が不正です。 |
6123 | 5838 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが |
6124 | 5839 | "version" クラスとして bless されました。 |
6125 | 5840 | |
6126 | 5841 | =item ioctl is not implemented |
6127 | 5842 | |
6128 | 5843 | =begin original |
6129 | 5844 | |
6130 | 5845 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
6131 | 5846 | strange for a machine that supports C. |
6132 | 5847 | |
6133 | 5848 | =end original |
6134 | 5849 | |
6135 | 5850 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
6136 | 5851 | このマシンでは ioctl() が実装されていないようです。 |
6137 | 5852 | |
6138 | 5853 | =item ioctl() on unopened %s |
6139 | 5854 | |
6140 | 5855 | =begin original |
6141 | 5856 | |
6142 | 5857 | (W unopened) You tried ioctl() on a filehandle that was never opened. |
6143 | 5858 | Check your control flow and number of arguments. |
6144 | 5859 | |
6145 | 5860 | =end original |
6146 | 5861 | |
6147 | 5862 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 |
6148 | 5863 | 制御フローと引数の数をチェックしてください。 |
6149 | 5864 | |
6150 | 5865 | =item IO layers (like '%s') unavailable |
6151 | 5866 | |
6152 | 5867 | =begin original |
6153 | 5868 | |
6154 | 5869 | (F) Your Perl has not been configured to have PerlIO, and therefore |
6155 | 5870 | you cannot use IO layers. To have PerlIO, Perl must be configured |
6156 | 5871 | with 'useperlio'. |
6157 | 5872 | |
6158 | 5873 | =end original |
6159 | 5874 | |
6160 | 5875 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 |
6161 | 5876 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 |
6162 | 5877 | |
6163 | 5878 | =item IO::Socket::atmark not implemented on this architecture |
6164 | 5879 | |
6165 | 5880 | =begin original |
6166 | 5881 | |
6167 | 5882 | (F) Your machine doesn't implement the sockatmark() functionality, |
6168 | 5883 | neither as a system call nor an ioctl call (SIOCATMARK). |
6169 | 5884 | |
6170 | 5885 | =end original |
6171 | 5886 | |
6172 | 5887 | (F) 実行されているマシンでは、システムコールでも |
6173 | 5888 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 |
6174 | 5889 | |
6175 | 5890 | =item $* is no longer supported |
6176 | 5891 | |
6177 | 5892 | =begin original |
6178 | 5893 | |
6179 | 5894 | (D deprecated, syntax) The special variable C<$*>, deprecated in older |
6180 | 5895 | perls, has been removed as of 5.9.0 and is no longer supported. In |
6181 | 5896 | previous versions of perl the use of C<$*> enabled or disabled multi-line |
6182 | 5897 | matching within a string. |
6183 | 5898 | |
6184 | 5899 | =end original |
6185 | 5900 | |
6186 | 5901 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は |
6187 | 5902 | 5.9.0 で削除され、もはや対応していません。 |
6188 | 5903 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または |
6189 | 5904 | 無効にするために使っていました。 |
6190 | 5905 | |
6191 | 5906 | =begin original |
6192 | 5907 | |
6193 | 5908 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp |
6194 | 5909 | modifiers. You can enable C</m> for a lexical scope (even a whole file) |
6195 | 5910 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value |
6196 | 5911 | then all regular expressions behaved as if they were written using C</m>.) |
6197 | 5912 | |
6198 | 5913 | =end original |
6199 | 5914 | |
6200 | 5915 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を |
6201 | 5916 | 使うべきです。 |
6202 | 5917 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を |
6203 | 5918 | 有効にできます。 |
6204 | 5919 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は |
6205 | 5920 | C</m> を使って書かれたかのように振る舞っていました。) |
6206 | 5921 | |
6207 | 5922 | =item $# is no longer supported |
6208 | 5923 | |
6209 | 5924 | =begin original |
6210 | 5925 | |
6211 | 5926 | (D deprecated, syntax) The special variable C<$#>, deprecated in older |
6212 | 5927 | perls, has been removed as of 5.9.3 and is no longer supported. You |
6213 | 5928 | should use the printf/sprintf functions instead. |
6214 | 5929 | |
6215 | 5930 | =end original |
6216 | 5931 | |
6217 | 5932 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は |
6218 | 5933 | 5.9.3 で削除され、もはや対応していません。 |
6219 | 5934 | 代わりに printf/sprintf 関数を使うべきです。 |
6220 | 5935 | |
6221 | 5936 | =item '%s' is not a code reference |
6222 | 5937 | |
6223 | 5938 | =begin original |
6224 | 5939 | |
6225 | 5940 | (W overload) The second (fourth, sixth, ...) argument of |
6226 | 5941 | overload::constant needs to be a code reference. Either |
6227 | 5942 | an anonymous subroutine, or a reference to a subroutine. |
6228 | 5943 | |
6229 | 5944 | =end original |
6230 | 5945 | |
6231 | 5946 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は |
6232 | 5947 | コードリファレンスである必要があります。 |
6233 | 5948 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
6234 | 5949 | |
6235 | 5950 | =item '%s' is not an overloadable type |
6236 | 5951 | |
6237 | 5952 | =begin original |
6238 | 5953 | |
6239 | 5954 | (W overload) You tried to overload a constant type the overload package is |
6240 | 5955 | unaware of. |
6241 | 5956 | |
6242 | 5957 | =end original |
6243 | 5958 | |
6244 | 5959 | (W overload) オーバーロードパッケージが知らない定数型を |
6245 | 5960 | オーバーロードしようとしました。 |
6246 | 5961 | |
6247 | =item | |
5962 | =item junk on end of regexp | |
6248 | 5963 | |
6249 | 5964 | =begin original |
6250 | 5965 | |
6251 | 5966 | (P) The regular expression parser is confused. |
6252 | 5967 | |
6253 | 5968 | =end original |
6254 | 5969 | |
6255 | 5970 | (P) 正規表現の構文解析ができなくなりました。 |
6256 | 5971 | |
6257 | 5972 | =item Label not found for "last %s" |
6258 | 5973 | |
6259 | 5974 | =begin original |
6260 | 5975 | |
6261 | 5976 | (F) You named a loop to break out of, but you're not currently in a loop |
6262 | 5977 | of that name, not even if you count where you were called from. See |
6263 | 5978 | L<perlfunc/last>. |
6264 | 5979 | |
6265 | 5980 | =end original |
6266 | 5981 | |
6267 | 5982 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
6268 | 5983 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
6269 | 5984 | L<perlfunc/last> を参照してください。 |
6270 | 5985 | |
6271 | 5986 | =item Label not found for "next %s" |
6272 | 5987 | |
6273 | 5988 | =begin original |
6274 | 5989 | |
6275 | 5990 | (F) You named a loop to continue, but you're not currently in a loop of |
6276 | 5991 | that name, not even if you count where you were called from. See |
6277 | 5992 | L<perlfunc/last>. |
6278 | 5993 | |
6279 | 5994 | =end original |
6280 | 5995 | |
6281 | 5996 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に |
6282 | 5997 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
6283 | 5998 | L<perlfunc/last> を参照してください。 |
6284 | 5999 | |
6285 | 6000 | =item Label not found for "redo %s" |
6286 | 6001 | |
6287 | 6002 | =begin original |
6288 | 6003 | |
6289 | 6004 | (F) You named a loop to restart, but you're not currently in a loop of |
6290 | 6005 | that name, not even if you count where you were called from. See |
6291 | 6006 | L<perlfunc/last>. |
6292 | 6007 | |
6293 | 6008 | =end original |
6294 | 6009 | |
6295 | 6010 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に |
6296 | 6011 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
6297 | 6012 | L<perlfunc/last> を参照してください。 |
6298 | 6013 | |
6299 | 6014 | =item leaving effective %s failed |
6300 | 6015 | |
6301 | 6016 | =begin original |
6302 | 6017 | |
6303 | 6018 | (F) While under the C<use filetest> pragma, switching the real and |
6304 | 6019 | effective uids or gids failed. |
6305 | 6020 | |
6306 | 6021 | =end original |
6307 | 6022 | |
6308 | 6023 | (F) C<use filetest> プラグマを使っている間に、 |
6309 | 6024 | 実と実効の UID や GID の切り替えに失敗しました。 |
6310 | 6025 | |
6311 | 6026 | =item length/code after end of string in unpack |
6312 | 6027 | |
6313 | 6028 | =begin original |
6314 | 6029 | |
6315 | 6030 | (F) While unpacking, the string buffer was already used up when an unpack |
6316 | 6031 | length/code combination tried to obtain more data. This results in |
6317 | 6032 | an undefined value for the length. See L<perlfunc/pack>. |
6318 | 6033 | |
6319 | 6034 | =end original |
6320 | 6035 | |
6321 | 6036 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを |
6322 | 6037 | unpack するときに文字列バッファが既に使い切っていました。 |
6323 | 6038 | これにより、長さが未定義値となります。 |
6324 | 6039 | L<perlfunc/pack> を参照してください。 |
6325 | 6040 | |
6326 | 6041 | =item length() used on %s |
6327 | 6042 | |
6328 | 6043 | =begin original |
6329 | 6044 | |
6330 | 6045 | (W syntax) You used length() on either an array or a hash when you |
6331 | 6046 | probably wanted a count of the items. |
6332 | 6047 | |
6333 | 6048 | =end original |
6334 | 6049 | |
6335 | 6050 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して |
6336 | 6051 | length() を使いました。 |
6337 | 6052 | |
6338 | 6053 | =begin original |
6339 | 6054 | |
6340 | 6055 | Array size can be obtained by doing: |
6341 | 6056 | |
6342 | 6057 | =end original |
6343 | 6058 | |
6344 | 6059 | 配列の大きさは以下のようにして得られます: |
6345 | 6060 | |
6346 | 6061 | scalar(@array); |
6347 | 6062 | |
6348 | 6063 | =begin original |
6349 | 6064 | |
6350 | 6065 | The number of items in a hash can be obtained by doing: |
6351 | 6066 | |
6352 | 6067 | =end original |
6353 | 6068 | |
6354 | 6069 | ハッシュの要素数は以下のようにして得られます: |
6355 | 6070 | |
6356 | 6071 | scalar(keys %hash); |
6357 | 6072 | |
6358 | 6073 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input |
6359 | 6074 | |
6360 | 6075 | =begin original |
6361 | 6076 | |
6362 | 6077 | (F) An extension is attempting to insert text into the current parse |
6363 | 6078 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that |
6364 | 6079 | couldn't be part of the current input. This is an inherent pitfall |
6365 | 6080 | of the stuffing mechanism, and one of the reasons to avoid it. Where |
6366 | 6081 | it is necessary to stuff, stuffing only plain ASCII is recommended. |
6367 | 6082 | |
6368 | 6083 | =end original |
6369 | 6084 | |
6370 | 6085 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や |
6371 | 6086 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 |
6372 | 6087 | 現在の入力の一部となることができない文字を挿入しようとしました。 |
6373 | 6088 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 |
6374 | 6089 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 |
6375 | 6090 | |
6376 | 6091 | =item Lexing code internal error (%s) |
6377 | 6092 | |
6378 | 6093 | =begin original |
6379 | 6094 | |
6380 | 6095 | (F) Lexing code supplied by an extension violated the lexer's API in a |
6381 | 6096 | detectable way. |
6382 | 6097 | |
6383 | 6098 | =end original |
6384 | 6099 | |
6385 | 6100 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で |
6386 | 6101 | 文法解析器の API に違反しています。 |
6387 | 6102 | |
6388 | 6103 | =item listen() on closed socket %s |
6389 | 6104 | |
6390 | 6105 | =begin original |
6391 | 6106 | |
6392 | 6107 | (W closed) You tried to do a listen on a closed socket. Did you forget |
6393 | 6108 | to check the return value of your socket() call? See |
6394 | 6109 | L<perlfunc/listen>. |
6395 | 6110 | |
6396 | 6111 | =end original |
6397 | 6112 | |
6398 | 6113 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
6399 | 6114 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
6400 | 6115 | L<perlfunc/listen> を参照してください。 |
6401 | 6116 | |
6402 | 6117 | =item List form of piped open not implemented |
6403 | 6118 | |
6404 | 6119 | =begin original |
6405 | 6120 | |
6406 | 6121 | (F) On some platforms, notably Windows, the three-or-more-arguments |
6407 | 6122 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. |
6408 | 6123 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. |
6409 | 6124 | |
6410 | 6125 | =end original |
6411 | 6126 | |
6412 | 6127 | (F) 一部のプラットフォーム、特に Windows では、 |
6413 | 6128 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の |
6414 | 6129 | C<open> ではパイプに対応していません。 |
6415 | 6130 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 |
6416 | 6131 | |
6417 | 6132 | =item localtime(%f) too large |
6418 | 6133 | |
6419 | 6134 | =begin original |
6420 | 6135 | |
6421 | 6136 | (W overflow) You called C<localtime> with a number that was larger |
6422 | 6137 | than it can reliably handle and C<localtime> probably returned the |
6423 | 6138 | wrong date. This warning is also triggered with NaN (the special |
6424 | 6139 | not-a-number value). |
6425 | 6140 | |
6426 | 6141 | =end original |
6427 | 6142 | |
6428 | 6143 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので |
6429 | 6144 | C<localtime> はおそらく間違った日付を返します。 |
6430 | 6145 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
6431 | 6146 | |
6432 | 6147 | =item localtime(%f) too small |
6433 | 6148 | |
6434 | 6149 | =begin original |
6435 | 6150 | |
6436 | 6151 | (W overflow) You called C<localtime> with a number that was smaller |
6437 | 6152 | than it can reliably handle and C<localtime> probably returned the |
6438 | 6153 | wrong date. |
6439 | 6154 | |
6440 | 6155 | =end original |
6441 | 6156 | |
6442 | 6157 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので |
6443 | 6158 | C<localtime> はおそらく間違った日付を返します。 |
6444 | 6159 | |
6445 | 6160 | =item Lookbehind longer than %d not implemented in regex m/%s/ |
6446 | 6161 | |
6447 | 6162 | =begin original |
6448 | 6163 | |
6449 | 6164 | (F) There is currently a limit on the length of string which lookbehind can |
6450 | 6165 | handle. This restriction may be eased in a future release. |
6451 | 6166 | |
6452 | 6167 | =end original |
6453 | 6168 | |
6454 | 6169 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 |
6455 | 6170 | この制限は将来のリリースでは緩和されるでしょう。 |
6456 | 6171 | |
6457 | 6172 | =item Lost precision when %s %f by 1 |
6458 | 6173 | |
6459 | 6174 | =begin original |
6460 | 6175 | |
6461 | (W | |
6176 | (W) The value you attempted to increment or decrement by one is too large | |
6462 | ||
6177 | for the underlying floating point representation to store accurately, | |
6463 | ||
6178 | hence the target of C<++> or C<--> is unchanged. Perl issues this warning | |
6464 | ||
6179 | because it has already switched from integers to floating point when values | |
6465 | ||
6180 | are too large for integers, and now even floating point is insufficient. | |
6466 | ||
6181 | You may wish to switch to using L<Math::BigInt> explicitly. | |
6467 | 6182 | |
6468 | 6183 | =end original |
6469 | 6184 | |
6470 | (W | |
6185 | (W) インクリメントまたはデクリメントしようとしている値は、基礎となっている | |
6471 | ||
6186 | 浮動小数点数表現にとって正確に保管するには大きすぎるので、 | |
6472 | 6187 | C<++> や C<--> のターゲットは変更されません。 |
6473 | 6188 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に |
6474 | 6189 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 |
6475 | 6190 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 |
6476 | 6191 | |
6477 | 6192 | =item lstat() on filehandle%s |
6478 | 6193 | |
6479 | 6194 | =begin original |
6480 | 6195 | |
6481 | 6196 | (W io) You tried to do an lstat on a filehandle. What did you mean |
6482 | 6197 | by that? lstat() makes sense only on filenames. (Perl did a fstat() |
6483 | 6198 | instead on the filehandle.) |
6484 | 6199 | |
6485 | 6200 | =end original |
6486 | 6201 | |
6487 | 6202 | (W io) ファイルハンドルに lstat を実行しようとしました。 |
6488 | 6203 | これで何をしようとしたのですか? |
6489 | 6204 | lstat() はファイル名に対してのみ意味があります。 |
6490 | 6205 | (Perl はファイルハンドルには代わりに fstat() を行いました。) |
6491 | 6206 | |
6492 | 6207 | =item lvalue attribute %s already-defined subroutine |
6493 | 6208 | |
6494 | 6209 | =begin original |
6495 | 6210 | |
6496 | 6211 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue |
6497 | 6212 | attribute on or off on a Perl subroutine that is already defined |
6498 | 6213 | does not always work properly. It may or may not do what you |
6499 | 6214 | want, depending on what code is inside the subroutine, with exact |
6500 | 6215 | details subject to change between Perl versions. Only do this |
6501 | 6216 | if you really know what you are doing. |
6502 | 6217 | |
6503 | 6218 | =end original |
6504 | 6219 | |
6505 | 6220 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に |
6506 | 6221 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは |
6507 | 6222 | 常に適切に動作するわけではありません。 |
6508 | 6223 | あなたの望むことが行われるかもしれませんし行われないかもしれません; |
6509 | 6224 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は |
6510 | 6225 | Perl バージョン間で変更されることがあります。 |
6511 | 6226 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 |
6512 | 6227 | |
6513 | 6228 | =item lvalue attribute ignored after the subroutine has been defined |
6514 | 6229 | |
6515 | 6230 | =begin original |
6516 | 6231 | |
6517 | 6232 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl |
6518 | 6233 | subroutine an lvalue subroutine after it has been defined is |
6519 | 6234 | not permitted. To make the subroutine an lvalue subroutine, |
6520 | 6235 | add the lvalue attribute to the definition, or put the C<sub |
6521 | 6236 | foo :lvalue;> declaration before the definition. |
6522 | 6237 | |
6523 | 6238 | =end original |
6524 | 6239 | |
6525 | 6240 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに |
6526 | 6241 | するために C<:lvalue> 宣言文を使うことはできません。 |
6527 | 6242 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 |
6528 | 6243 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 |
6529 | 6244 | |
6530 | 6245 | =begin original |
6531 | 6246 | |
6532 | 6247 | See also L<attributes.pm|attributes>. |
6533 | 6248 | |
6534 | 6249 | =end original |
6535 | 6250 | |
6536 | 6251 | L<attributes.pm|attributes> も参照してください。 |
6537 | 6252 | |
6538 | 6253 | =item Malformed integer in [] in pack |
6539 | 6254 | |
6540 | 6255 | =begin original |
6541 | 6256 | |
6542 | 6257 | (F) Between the brackets enclosing a numeric repeat count only digits |
6543 | 6258 | are permitted. See L<perlfunc/pack>. |
6544 | 6259 | |
6545 | 6260 | =end original |
6546 | 6261 | |
6547 | 6262 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
6548 | 6263 | L<perlfunc/pack> を参照してください。 |
6549 | 6264 | |
6550 | 6265 | =item Malformed integer in [] in unpack |
6551 | 6266 | |
6552 | 6267 | =begin original |
6553 | 6268 | |
6554 | 6269 | (F) Between the brackets enclosing a numeric repeat count only digits |
6555 | 6270 | are permitted. See L<perlfunc/pack>. |
6556 | 6271 | |
6557 | 6272 | =end original |
6558 | 6273 | |
6559 | 6274 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
6560 | 6275 | L<perlfunc/pack> を参照してください。 |
6561 | 6276 | |
6562 | 6277 | =item Malformed PERLLIB_PREFIX |
6563 | 6278 | |
6564 | 6279 | =begin original |
6565 | 6280 | |
6566 | 6281 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
6567 | 6282 | |
6568 | 6283 | =end original |
6569 | 6284 | |
6570 | 6285 | (F) OS/2 固有のエラーです。 |
6571 | 6286 | PERLLIB_PREFIX は以下のような形か: |
6572 | 6287 | |
6573 | 6288 | prefix1;prefix2 |
6574 | 6289 | |
6575 | 6290 | =begin original |
6576 | 6291 | |
6577 | 6292 | or |
6578 | 6293 | prefix1 prefix2 |
6579 | 6294 | |
6580 | 6295 | =end original |
6581 | 6296 | |
6582 | 6297 | または |
6583 | 6298 | prefix1 prefix2 |
6584 | 6299 | |
6585 | 6300 | =begin original |
6586 | 6301 | |
6587 | 6302 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
6588 | 6303 | a builtin library search path, prefix2 is substituted. The error may |
6589 | 6304 | appear if components are not found, or are too long. See |
6590 | 6305 | "PERLLIB_PREFIX" in L<perlos2>. |
6591 | 6306 | |
6592 | 6307 | =end original |
6593 | 6308 | |
6594 | 6309 | prefix1 と prefix2 が空でない形である必要があります。 |
6595 | 6310 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
6596 | 6311 | prefix2 は置き換えられます。 |
6597 | 6312 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
6598 | 6313 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
6599 | 6314 | |
6600 | 6315 | =item Malformed prototype for %s: %s |
6601 | 6316 | |
6602 | 6317 | =begin original |
6603 | 6318 | |
6604 | 6319 | (F) You tried to use a function with a malformed prototype. The |
6605 | 6320 | syntax of function prototypes is given a brief compile-time check for |
6606 | 6321 | obvious errors like invalid characters. A more rigorous check is run |
6607 | 6322 | when the function is called. |
6608 | 6323 | |
6609 | 6324 | =end original |
6610 | 6325 | |
6611 | 6326 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 |
6612 | 6327 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては |
6613 | 6328 | コンパイル時にチェックされます。 |
6614 | 6329 | より厳密なチェックは、関数が呼び出された時に実行されます。 |
6615 | 6330 | |
6616 | 6331 | =item Malformed UTF-8 character (%s) |
6617 | 6332 | |
6618 | 6333 | =begin original |
6619 | 6334 | |
6620 | 6335 | (S utf8)(F) Perl detected a string that didn't comply with UTF-8 |
6621 | 6336 | encoding rules, even though it had the UTF8 flag on. |
6622 | 6337 | |
6623 | 6338 | =end original |
6624 | 6339 | |
6625 | 6340 | (S utf8)(F) Perl が、UTF8 フラグがオンにも関わらず UTF-8 エンコーディング |
6626 | 6341 | ルールに従わない文字列を検出しました。 |
6627 | 6342 | |
6628 | 6343 | =begin original |
6629 | 6344 | |
6630 | 6345 | One possible cause is that you set the UTF8 flag yourself for data that |
6631 | 6346 | you thought to be in UTF-8 but it wasn't (it was for example legacy |
6632 | 6347 | 8-bit data). To guard against this, you can use Encode::decode_utf8. |
6633 | 6348 | |
6634 | 6349 | =end original |
6635 | 6350 | |
6636 | 6351 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ |
6637 | 6352 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした |
6638 | 6353 | ことです。 |
6639 | 6354 | これから守るためには、Encode::decode_utf8 を使えます。 |
6640 | 6355 | |
6641 | 6356 | =begin original |
6642 | 6357 | |
6643 | 6358 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte |
6644 | 6359 | sequences are handled gracefully, but if you use C<:utf8>, the flag is |
6645 | 6360 | set without validating the data, possibly resulting in this error |
6646 | 6361 | message. |
6647 | 6362 | |
6648 | 6363 | =end original |
6649 | 6364 | |
6650 | 6365 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは |
6651 | 6366 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 |
6652 | 6367 | おそらく結果としてこのエラーメッセージが出力されます。 |
6653 | 6368 | |
6654 | 6369 | =begin original |
6655 | 6370 | |
6656 | 6371 | See also L<Encode/"Handling Malformed Data">. |
6657 | 6372 | |
6658 | 6373 | =end original |
6659 | 6374 | |
6660 | 6375 | L<Encode/"Handling Malformed Data"> も参照してください。 |
6661 | 6376 | |
6662 | =item Malformed UTF-8 | |
6377 | =item Malformed UTF-8 returned by \N | |
6663 | 6378 | |
6664 | 6379 | =begin original |
6665 | 6380 | |
6666 | (F) You said C<use utf8>, but the program file doesn't comply with UTF-8 | |
6667 | encoding rules. The message prints out the properly encoded characters | |
6668 | just before the first bad one. If C<utf8> warnings are enabled, a | |
6669 | warning is generated that gives more details about the type of | |
6670 | malformation. | |
6671 | ||
6672 | =end original | |
6673 | ||
6674 | (F) C<use utf8> を指定しましたが、プログラムファイルは UTF-8 エンコーディング | |
6675 | 規則に従っていません。 | |
6676 | このメッセージは最初の間違った文字の直前の正しくエンコードされた文字を | |
6677 | 表示します。 | |
6678 | C<utf8> 警告が有効なら、不正の種類に関するさらなる詳細が出力されます。 | |
6679 | ||
6680 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
6681 | ||
6682 | =begin original | |
6683 | ||
6684 | 6381 | (F) The charnames handler returned malformed UTF-8. |
6685 | 6382 | |
6686 | 6383 | =end original |
6687 | 6384 | |
6688 | 6385 | (F) charnames ハンドラが不正な UTF-8 を返しました。 |
6689 | 6386 | |
6690 | 6387 | =item Malformed UTF-8 string in '%c' format in unpack |
6691 | 6388 | |
6692 | 6389 | =begin original |
6693 | 6390 | |
6694 | 6391 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
6695 | 6392 | rules and perl was unable to guess how to make more progress. |
6696 | 6393 | |
6697 | 6394 | =end original |
6698 | 6395 | |
6699 | 6396 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
6700 | 6397 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
6701 | 6398 | |
6702 | 6399 | =item Malformed UTF-8 string in pack |
6703 | 6400 | |
6704 | 6401 | =begin original |
6705 | 6402 | |
6706 | 6403 | (F) You tried to pack something that didn't comply with UTF-8 encoding |
6707 | 6404 | rules and perl was unable to guess how to make more progress. |
6708 | 6405 | |
6709 | 6406 | =end original |
6710 | 6407 | |
6711 | 6408 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 |
6712 | 6409 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
6713 | 6410 | |
6714 | 6411 | =item Malformed UTF-8 string in unpack |
6715 | 6412 | |
6716 | 6413 | =begin original |
6717 | 6414 | |
6718 | 6415 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
6719 | 6416 | rules and perl was unable to guess how to make more progress. |
6720 | 6417 | |
6721 | 6418 | =end original |
6722 | 6419 | |
6723 | 6420 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
6724 | 6421 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
6725 | 6422 | |
6726 | 6423 | =item Malformed UTF-16 surrogate |
6727 | 6424 | |
6728 | 6425 | =begin original |
6729 | 6426 | |
6730 | 6427 | (F) Perl thought it was reading UTF-16 encoded character data but while |
6731 | 6428 | doing it Perl met a malformed Unicode surrogate. |
6732 | 6429 | |
6733 | 6430 | =end original |
6734 | 6431 | |
6735 | 6432 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 |
6736 | 6433 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
6737 | 6434 | |
6738 | 6435 | =item %s matches null string many times in regex; marked by <-- HERE in m/%s/ |
6739 | 6436 | |
6740 | 6437 | =begin original |
6741 | 6438 | |
6742 | 6439 | (W regexp) The pattern you've specified would be an infinite loop if the |
6743 | 6440 | regular expression engine didn't specifically check for that. The <-- HERE |
6744 | shows | |
6441 | shows in the regular expression about where the problem was discovered. | |
6745 | 6442 | See L<perlre>. |
6746 | 6443 | |
6747 | 6444 | =end original |
6748 | 6445 | |
6749 | 6446 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
6750 | 6447 | 行なっていなければ、無限ループに陥るものです。 |
6751 | 6448 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
6752 | 6449 | L<perlre> を参照してください。 |
6753 | 6450 | |
6754 | 6451 | =item Maximal count of pending signals (%u) exceeded |
6755 | 6452 | |
6756 | 6453 | =begin original |
6757 | 6454 | |
6758 | 6455 | (F) Perl aborted due to too high a number of signals pending. This |
6759 | 6456 | usually indicates that your operating system tried to deliver signals |
6760 | 6457 | too fast (with a very high priority), starving the perl process from |
6761 | 6458 | resources it would need to reach a point where it can process signals |
6762 | 6459 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) |
6763 | 6460 | |
6764 | 6461 | =end original |
6765 | 6462 | |
6766 | 6463 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 |
6767 | 6464 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 |
6768 | 6465 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な |
6769 | 6466 | リソースが不足したことを示しています。 |
6770 | 6467 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) |
6771 | 6468 | |
6772 | 6469 | =item "%s" may clash with future reserved word |
6773 | 6470 | |
6774 | 6471 | =begin original |
6775 | 6472 | |
6776 | 6473 | (W) This warning may be due to running a perl5 script through a perl4 |
6777 | 6474 | interpreter, especially if the word that is being warned about is |
6778 | 6475 | "use" or "my". |
6779 | 6476 | |
6780 | 6477 | =end original |
6781 | 6478 | |
6782 | 6479 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした |
6783 | 6480 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は |
6784 | 6481 | そうです。 |
6785 | 6482 | |
6786 | 6483 | =item '%' may not be used in pack |
6787 | 6484 | |
6788 | 6485 | =begin original |
6789 | 6486 | |
6790 | 6487 | (F) You can't pack a string by supplying a checksum, because the |
6791 | 6488 | checksumming process loses information, and you can't go the other way. |
6792 | 6489 | See L<perlfunc/unpack>. |
6793 | 6490 | |
6794 | 6491 | =end original |
6795 | 6492 | |
6796 | 6493 | (F) チェックサムを指定して pack を行なうことはできません; |
6797 | 6494 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
6798 | 6495 | L<perlfunc/unpack> を参照してください。 |
6799 | 6496 | |
6800 | 6497 | =item Method for operation %s not found in package %s during blessing |
6801 | 6498 | |
6802 | 6499 | =begin original |
6803 | 6500 | |
6804 | 6501 | (F) An attempt was made to specify an entry in an overloading table that |
6805 | 6502 | doesn't resolve to a valid subroutine. See L<overload>. |
6806 | 6503 | |
6807 | 6504 | =end original |
6808 | 6505 | |
6809 | 6506 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
6810 | 6507 | エントリを指定しようとしました。 |
6811 | 6508 | L<overload> を参照してください。 |
6812 | 6509 | |
6813 | 6510 | =item Method %s not permitted |
6814 | 6511 | |
6815 | 6512 | =begin original |
6816 | 6513 | |
6817 | 6514 | See Server error. |
6818 | 6515 | |
6819 | 6516 | =end original |
6820 | 6517 | |
6821 | 6518 | "Server error" を参照してください。 |
6822 | 6519 | |
6823 | 6520 | =item Might be a runaway multi-line %s string starting on line %d |
6824 | 6521 | |
6825 | 6522 | =begin original |
6826 | 6523 | |
6827 | 6524 | (S) An advisory indicating that the previous error may have been caused |
6828 | 6525 | by a missing delimiter on a string or pattern, because it eventually |
6829 | 6526 | ended earlier on the current line. |
6830 | 6527 | |
6831 | 6528 | =end original |
6832 | 6529 | |
6833 | 6530 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
6834 | 6531 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
6835 | 6532 | 起ったかもしれないことを、補足的に示しています。 |
6836 | 6533 | |
6837 | 6534 | =item Misplaced _ in number |
6838 | 6535 | |
6839 | 6536 | =begin original |
6840 | 6537 | |
6841 | 6538 | (W syntax) An underscore (underbar) in a numeric constant did not |
6842 | 6539 | separate two digits. |
6843 | 6540 | |
6844 | 6541 | =end original |
6845 | 6542 | |
6846 | 6543 | (W syntax) 数値定数の下線が、二つの値を分離していません。 |
6847 | 6544 | |
6848 | 6545 | =item Missing argument in %s |
6849 | 6546 | |
6850 | 6547 | =begin original |
6851 | 6548 | |
6852 | 6549 | (W uninitialized) A printf-type format required more arguments than were |
6853 | 6550 | supplied. |
6854 | 6551 | |
6855 | 6552 | =end original |
6856 | 6553 | |
6857 | 6554 | (W uninitialized) printf 形式ののフォーマットが供給されたのよりも多くの引数を |
6858 | 6555 | 要求しました。 |
6859 | 6556 | |
6860 | 6557 | =item Missing argument to -%c |
6861 | 6558 | |
6862 | 6559 | =begin original |
6863 | 6560 | |
6864 | 6561 | (F) The argument to the indicated command line switch must follow |
6865 | 6562 | immediately after the switch, without intervening spaces. |
6866 | 6563 | |
6867 | 6564 | =end original |
6868 | 6565 | |
6869 | 6566 | (F) 示されたコマンドラインスイッチの引数は、 |
6870 | 6567 | スイッチの直後にスペースを空けないで書く必要があります。 |
6871 | 6568 | |
6872 | 6569 | =item Missing braces on \N{} |
6873 | 6570 | |
6874 | =item Missing braces on \N{} in regex; marked by <-- HERE in m/%s/ | |
6875 | ||
6876 | 6571 | =begin original |
6877 | 6572 | |
6878 | 6573 | (F) Wrong syntax of character name literal C<\N{charname}> within |
6879 | 6574 | double-quotish context. This can also happen when there is a space |
6880 | 6575 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. |
6881 | 6576 | This modifier does not change the requirement that the brace immediately |
6882 | 6577 | follow the C<\N>. |
6883 | 6578 | |
6884 | 6579 | =end original |
6885 | 6580 | |
6886 | 6581 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
6887 | 6582 | 文法が間違っています。 |
6888 | 6583 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または |
6889 | 6584 | コメント)がある場合にも起こります。 |
6890 | 6585 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 |
6891 | 6586 | |
6892 | 6587 | =item Missing braces on \o{} |
6893 | 6588 | |
6894 | 6589 | =begin original |
6895 | 6590 | |
6896 | 6591 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. |
6897 | 6592 | |
6898 | 6593 | =end original |
6899 | 6594 | |
6900 | 6595 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が |
6901 | 6596 | 引き続かなければなりません。 |
6902 | 6597 | |
6903 | 6598 | =item Missing comma after first argument to %s function |
6904 | 6599 | |
6905 | 6600 | =begin original |
6906 | 6601 | |
6907 | 6602 | (F) While certain functions allow you to specify a filehandle or an |
6908 | 6603 | "indirect object" before the argument list, this ain't one of them. |
6909 | 6604 | |
6910 | 6605 | =end original |
6911 | 6606 | |
6912 | 6607 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
6913 | 6608 | 「間接オブジェクト」をおくことができますが、この関数は、 |
6914 | 6609 | そういったものではありません。 |
6915 | 6610 | |
6916 | 6611 | =item Missing command in piped open |
6917 | 6612 | |
6918 | 6613 | =begin original |
6919 | 6614 | |
6920 | 6615 | (W pipe) You used the C<open(FH, "| command")> or |
6921 | 6616 | C<open(FH, "command |")> construction, but the command was missing or |
6922 | 6617 | blank. |
6923 | 6618 | |
6924 | 6619 | =end original |
6925 | 6620 | |
6926 | 6621 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
6927 | 6622 | 使っていますが、コマンドが指定されていないか空白です。 |
6928 | 6623 | |
6929 | 6624 | =item Missing control char name in \c |
6930 | 6625 | |
6931 | 6626 | =begin original |
6932 | 6627 | |
6933 | 6628 | (F) A double-quoted string ended with "\c", without the required control |
6934 | 6629 | character name. |
6935 | 6630 | |
6936 | 6631 | =end original |
6937 | 6632 | |
6938 | 6633 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が |
6939 | 6634 | 必要です。 |
6940 | 6635 | |
6941 | =item Missing name in " | |
6636 | =item Missing name in "my sub" | |
6942 | 6637 | |
6943 | 6638 | =begin original |
6944 | 6639 | |
6945 | 6640 | (F) The reserved syntax for lexically scoped subroutines requires that |
6946 | 6641 | they have a name with which they can be found. |
6947 | 6642 | |
6948 | 6643 | =end original |
6949 | 6644 | |
6950 | 6645 | (F) 予約された文法である、レキシカルスコープのサブルーチンには |
6951 | 6646 | 探すことの出来る名前が必要です。 |
6952 | 6647 | |
6953 | 6648 | =item Missing $ on loop variable |
6954 | 6649 | |
6955 | 6650 | =begin original |
6956 | 6651 | |
6957 | 6652 | (F) Apparently you've been programming in B<csh> too much. Variables |
6958 | 6653 | are always mentioned with the $ in Perl, unlike in the shells, where it |
6959 | 6654 | can vary from one line to the next. |
6960 | 6655 | |
6961 | 6656 | =end original |
6962 | 6657 | |
6963 | 6658 | (F) B<csh> を使いすぎた症状が現れているようです。 |
6964 | 6659 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは |
6965 | 6660 | 違っています。 |
6966 | 6661 | |
6967 | 6662 | =item (Missing operator before %s?) |
6968 | 6663 | |
6969 | 6664 | =begin original |
6970 | 6665 | |
6971 | 6666 | (S syntax) This is an educated guess made in conjunction with the message |
6972 | 6667 | "%s found where operator expected". Often the missing operator is a comma. |
6973 | 6668 | |
6974 | 6669 | =end original |
6975 | 6670 | |
6976 | 6671 | (S syntax) これは "%s found where operator expected" メッセージと共に |
6977 | 6672 | 表示される教育的な推測です。 |
6978 | 6673 | しばしば不足している演算子はカンマです。 |
6979 | 6674 | |
6980 | =item Missing right brace on | |
6675 | =item Missing right brace on %s | |
6981 | 6676 | |
6982 | 6677 | =begin original |
6983 | 6678 | |
6984 | 6679 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. |
6985 | 6680 | |
6986 | 6681 | =end original |
6987 | 6682 | |
6988 | 6683 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが |
6989 | 6684 | 抜けています。 |
6990 | 6685 | |
6991 | 6686 | =item Missing right brace on \N{} or unescaped left brace after \N |
6992 | 6687 | |
6993 | 6688 | =begin original |
6994 | 6689 | |
6995 | 6690 | (F) C<\N> has two meanings. |
6996 | 6691 | |
6997 | 6692 | =end original |
6998 | 6693 | |
6999 | 6694 | (F) C<\N> には二つの意味があります。 |
7000 | 6695 | |
7001 | 6696 | =begin original |
7002 | 6697 | |
7003 | 6698 | The traditional one has it followed by a name enclosed in braces, |
7004 | 6699 | meaning the character (or sequence of characters) given by that |
7005 | 6700 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both |
7006 | 6701 | double-quoted strings and regular expression patterns. In patterns, |
7007 | 6702 | it doesn't have the meaning an unescaped C<*> does. |
7008 | 6703 | |
7009 | 6704 | =end original |
7010 | 6705 | |
7011 | 6706 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 |
7012 | 6707 | (または文字並び)を意味します。 |
7013 | 6708 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 |
7014 | 6709 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 |
7015 | 6710 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 |
7016 | 6711 | |
7017 | 6712 | =begin original |
7018 | 6713 | |
7019 | 6714 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) |
7020 | 6715 | in patterns, namely to match a non-newline character. (This is short |
7021 | 6716 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) |
7022 | 6717 | |
7023 | 6718 | =end original |
7024 | 6719 | |
7025 | 6720 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; |
7026 | 6721 | 非改行文字にマッチングします。 |
7027 | 6722 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって |
7028 | 6723 | 影響を受けません。) |
7029 | 6724 | |
7030 | 6725 | =begin original |
7031 | 6726 | |
7032 | 6727 | This can lead to some ambiguities. When C<\N> is not followed immediately |
7033 | 6728 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces |
7034 | 6729 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this |
7035 | 6730 | means to match the given quantity of non-newlines (in these examples, |
7036 | 6731 | 3; and 5 or more, respectively). In all other case, where there is a |
7037 | 6732 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. |
7038 | 6733 | |
7039 | 6734 | =end original |
7040 | 6735 | |
7041 | 6736 | これによりいくつかの曖昧さを引き起こします。 |
7042 | 6737 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 |
7043 | 6738 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に |
7044 | 6739 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と |
7045 | 6740 | 5 以上) にマッチングするという意味を仮定します。 |
7046 | 6741 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が |
7047 | 6742 | 求められていると仮定します。 |
7048 | 6743 | |
7049 | 6744 | =begin original |
7050 | 6745 | |
7051 | 6746 | However, if there is no matching C<}>, Perl doesn't know if it was |
7052 | 6747 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. |
7053 | 6748 | If you meant the former, add the right brace; if you meant the latter, |
7054 | 6749 | escape the brace with a backslash, like so: C<\N\{> |
7055 | 6750 | |
7056 | 6751 | =end original |
7057 | 6752 | |
7058 | 6753 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 |
7059 | 6754 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 |
7060 | 6755 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を |
7061 | 6756 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで |
7062 | 6757 | エスケープしてください。 |
7063 | 6758 | |
7064 | 6759 | =item Missing right curly or square bracket |
7065 | 6760 | |
7066 | 6761 | =begin original |
7067 | 6762 | |
7068 | 6763 | (F) The lexer counted more opening curly or square brackets than closing |
7069 | 6764 | ones. As a general rule, you'll find it's missing near the place you |
7070 | 6765 | were last editing. |
7071 | 6766 | |
7072 | 6767 | =end original |
7073 | 6768 | |
7074 | 6769 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも |
7075 | 6770 | 開き中かっこ(大かっこ)を多く発見しました。 |
7076 | 6771 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
7077 | 6772 | |
7078 | 6773 | =item (Missing semicolon on previous line?) |
7079 | 6774 | |
7080 | 6775 | =begin original |
7081 | 6776 | |
7082 | 6777 | (S syntax) This is an educated guess made in conjunction with the message |
7083 | 6778 | "%s found where operator expected". Don't automatically put a semicolon on |
7084 | 6779 | the previous line just because you saw this message. |
7085 | 6780 | |
7086 | 6781 | =end original |
7087 | 6782 | |
7088 | 6783 | (S syntax) これは "%s found where operator expected" メッセージと共に |
7089 | 6784 | 表示される教育的な推測です。 |
7090 | 6785 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは |
7091 | 6786 | しないでください。 |
7092 | 6787 | |
7093 | 6788 | =item Modification of a read-only value attempted |
7094 | 6789 | |
7095 | 6790 | =begin original |
7096 | 6791 | |
7097 | 6792 | (F) You tried, directly or indirectly, to change the value of a |
7098 | 6793 | constant. You didn't, of course, try "2 = 1", because the compiler |
7099 | 6794 | catches that. But an easy way to do the same thing is: |
7100 | 6795 | |
7101 | 6796 | =end original |
7102 | 6797 | |
7103 | 6798 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
7104 | 6799 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
7105 | 6800 | したわけではありません。 |
7106 | 6801 | しかし、同じことは以下のようにしても起こります。 |
7107 | 6802 | |
7108 | 6803 | sub mod { $_[0] = 1 } |
7109 | 6804 | mod(2); |
7110 | 6805 | |
7111 | 6806 | =begin original |
7112 | 6807 | |
7113 | 6808 | Another way is to assign to a substr() that's off the end of the string. |
7114 | 6809 | |
7115 | 6810 | =end original |
7116 | 6811 | |
7117 | 6812 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
7118 | 6813 | |
7119 | 6814 | =begin original |
7120 | 6815 | |
7121 | 6816 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
7122 | 6817 | is aliased to a constant in the look I<LIST>: |
7123 | 6818 | |
7124 | 6819 | =end original |
7125 | 6820 | |
7126 | 6821 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
7127 | 6822 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
7128 | 6823 | |
7129 | 6824 | $x = 1; |
7130 | 6825 | foreach my $n ($x, 2) { |
7131 | 6826 | $n *= 2; # modifies the $x, but fails on attempt to |
7132 | 6827 | } # modify the 2 |
7133 | 6828 | |
7134 | 6829 | =item Modification of non-creatable array value attempted, %s |
7135 | 6830 | |
7136 | 6831 | =begin original |
7137 | 6832 | |
7138 | 6833 | (F) You tried to make an array value spring into existence, and the |
7139 | 6834 | subscript was probably negative, even counting from end of the array |
7140 | 6835 | backwards. |
7141 | 6836 | |
7142 | 6837 | =end original |
7143 | 6838 | |
7144 | 6839 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の |
7145 | 6840 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 |
7146 | 6841 | |
7147 | 6842 | =item Modification of non-creatable hash value attempted, %s |
7148 | 6843 | |
7149 | 6844 | =begin original |
7150 | 6845 | |
7151 | 6846 | (P) You tried to make a hash value spring into existence, and it |
7152 | 6847 | couldn't be created for some peculiar reason. |
7153 | 6848 | |
7154 | 6849 | =end original |
7155 | 6850 | |
7156 | 6851 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
7157 | 6852 | できませんでした。 |
7158 | 6853 | |
7159 | 6854 | =item Module name must be constant |
7160 | 6855 | |
7161 | 6856 | =begin original |
7162 | 6857 | |
7163 | 6858 | (F) Only a bare module name is allowed as the first argument to a "use". |
7164 | 6859 | |
7165 | 6860 | =end original |
7166 | 6861 | |
7167 | 6862 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
7168 | 6863 | 裸の単語だけです。 |
7169 | 6864 | |
7170 | 6865 | =item Module name required with -%c option |
7171 | 6866 | |
7172 | 6867 | =begin original |
7173 | 6868 | |
7174 | 6869 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
7175 | 6870 | you omitted the name of the module. Consult L<perlrun> for full details |
7176 | 6871 | about C<-M> and C<-m>. |
7177 | 6872 | |
7178 | 6873 | =end original |
7179 | 6874 | |
7180 | 6875 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
7181 | 6876 | 指示しますが、モジュール名がありませんでした。 |
7182 | 6877 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 |
7183 | 6878 | |
7184 | 6879 | =item More than one argument to '%s' open |
7185 | 6880 | |
7186 | 6881 | =begin original |
7187 | 6882 | |
7188 | 6883 | (F) The C<open> function has been asked to open multiple files. This |
7189 | 6884 | can happen if you are trying to open a pipe to a command that takes a |
7190 | 6885 | list of arguments, but have forgotten to specify a piped open mode. |
7191 | 6886 | See L<perlfunc/open> for details. |
7192 | 6887 | |
7193 | 6888 | =end original |
7194 | 6889 | |
7195 | 6890 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 |
7196 | 6891 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ |
7197 | 6892 | オープンモードを指定するのを忘れた時に起きます。 |
7198 | 6893 | 詳細は L<perlfunc/open> を参照してください。 |
7199 | 6894 | |
7200 | 6895 | =item msg%s not implemented |
7201 | 6896 | |
7202 | 6897 | =begin original |
7203 | 6898 | |
7204 | 6899 | (F) You don't have System V message IPC on your system. |
7205 | 6900 | |
7206 | 6901 | =end original |
7207 | 6902 | |
7208 | 6903 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
7209 | 6904 | |
7210 | 6905 | =item Multidimensional syntax %s not supported |
7211 | 6906 | |
7212 | 6907 | =begin original |
7213 | 6908 | |
7214 | 6909 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
7215 | 6910 | They're written like C<$foo[1][2][3]>, as in C. |
7216 | 6911 | |
7217 | 6912 | =end original |
7218 | 6913 | |
7219 | 6914 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
7220 | 6915 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
7221 | 6916 | |
7222 | 6917 | =item '/' must follow a numeric type in unpack |
7223 | 6918 | |
7224 | 6919 | =begin original |
7225 | 6920 | |
7226 | 6921 | (F) You had an unpack template that contained a '/', but this did not |
7227 | 6922 | follow some unpack specification producing a numeric value. |
7228 | 6923 | See L<perlfunc/pack>. |
7229 | 6924 | |
7230 | 6925 | =end original |
7231 | 6926 | |
7232 | 6927 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの |
7233 | 6928 | 数値を生成する unpack 指定に引き続いていません。 |
7234 | 6929 | L<perlfunc/pack> を参照してください。 |
7235 | 6930 | |
7236 | 6931 | =item "my sub" not yet implemented |
7237 | 6932 | |
7238 | 6933 | =begin original |
7239 | 6934 | |
7240 | 6935 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
7241 | 6936 | that yet. |
7242 | 6937 | |
7243 | 6938 | =end original |
7244 | 6939 | |
7245 | 6940 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
7246 | 6941 | まだ試さないでください。 |
7247 | 6942 | |
7248 | 6943 | =item "my" variable %s can't be in a package |
7249 | 6944 | |
7250 | 6945 | =begin original |
7251 | 6946 | |
7252 | 6947 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
7253 | 6948 | sense to try to declare one with a package qualifier on the front. Use |
7254 | 6949 | local() if you want to localize a package variable. |
7255 | 6950 | |
7256 | 6951 | =end original |
7257 | 6952 | |
7258 | 6953 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 |
7259 | 6954 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
7260 | 6955 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
7261 | 6956 | |
7262 | 6957 | =item Name "%s::%s" used only once: possible typo |
7263 | 6958 | |
7264 | 6959 | =begin original |
7265 | 6960 | |
7266 | 6961 | (W once) Typographical errors often show up as unique variable names. |
7267 | 6962 | If you had a good reason for having a unique name, then just mention it |
7268 | 6963 | again somehow to suppress the message. The C<our> declaration is |
7269 | 6964 | provided for this purpose. |
7270 | 6965 | |
7271 | 6966 | =end original |
7272 | 6967 | |
7273 | 6968 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
7274 | 6969 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
7275 | 6970 | このメッセージを抑制できます。 |
7276 | 6971 | C<our> 宣言がこの目的のために提供されています。 |
7277 | 6972 | |
7278 | 6973 | =begin original |
7279 | 6974 | |
7280 | 6975 | NOTE: This warning detects symbols that have been used only once so $c, @c, |
7281 | 6976 | %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered |
7282 | 6977 | the same; if a program uses $c only once but also uses any of the others it |
7283 | 6978 | will not trigger this warning. |
7284 | 6979 | |
7285 | 6980 | =end original |
7286 | 6981 | |
7287 | 6982 | 注意: この警告はシンボルが一度だけしか使われていないことを検出するので、 |
7288 | 6983 | $c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は |
7289 | 6984 | 全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても |
7290 | 6985 | その他のものが使われている場合、警告は発生しません。 |
7291 | 6986 | |
7292 | =item \N in a character class must be a named character: \N{...} | |
6987 | =item \N in a character class must be a named character: \N{...} | |
7293 | marked by <-- HERE in m/%s/ | |
7294 | 6988 | |
7295 | 6989 | =begin original |
7296 | 6990 | |
7297 | 6991 | (F) The new (5.12) meaning of C<\N> as C<[^\n]> is not valid in a bracketed |
7298 | 6992 | character class, for the same reason that C<.> in a character class loses |
7299 | 6993 | its specialness: it matches almost everything, which is probably not |
7300 | 6994 | what you want. |
7301 | 6995 | |
7302 | 6996 | =end original |
7303 | 6997 | |
7304 | 6998 | (F) C<[^\n]> という新しい (5.12) C<\N> の意味は大かっこ文字クラスでは |
7305 | 6999 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: |
7306 | 7000 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは |
7307 | 7001 | ないでしょう。 |
7308 | 7002 | |
7309 | =item \N{NAME} must be resolved by the lexer | |
7003 | =item \N{NAME} must be resolved by the lexer | |
7310 | 7004 | |
7311 | 7005 | =begin original |
7312 | 7006 | |
7313 | 7007 | (F) When compiling a regex pattern, an unresolved named character or |
7314 | 7008 | sequence was encountered. This can happen in any of several ways that |
7315 | 7009 | bypass the lexer, such as using single-quotish context, or an extra |
7316 | 7010 | backslash in double-quotish: |
7317 | 7011 | |
7318 | 7012 | =end original |
7319 | 7013 | |
7320 | 7014 | (F) 正規表現パターンをコンパイルするとき、解決されない名前付き文字や並びに |
7321 | 7015 | 遭遇しました。 |
7322 | 7016 | これはシングルクォート風コンテキストを使ったり、ダブルクォート風で |
7323 | 7017 | 余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで |
7324 | 7018 | 起こります: |
7325 | 7019 | |
7326 | 7020 | $re = '\N{SPACE}'; # Wrong! |
7327 | 7021 | $re = "\\N{SPACE}"; # Wrong! |
7328 | 7022 | /$re/; |
7329 | 7023 | |
7330 | 7024 | =begin original |
7331 | 7025 | |
7332 | 7026 | Instead, use double-quotes with a single backslash: |
7333 | 7027 | |
7334 | 7028 | =end original |
7335 | 7029 | |
7336 | 7030 | 代わりに、単一のバックスラッシュとダブルクォートを使ってください: |
7337 | 7031 | |
7338 | 7032 | $re = "\N{SPACE}"; # ok |
7339 | 7033 | /$re/; |
7340 | 7034 | |
7341 | 7035 | =begin original |
7342 | 7036 | |
7343 | 7037 | The lexer can be bypassed as well by creating the pattern from smaller |
7344 | 7038 | components: |
7345 | 7039 | |
7346 | 7040 | =end original |
7347 | 7041 | |
7348 | 7042 | 字句解析器はより小さい構造からパターンを作ることによっても回避できます: |
7349 | 7043 | |
7350 | 7044 | $re = '\N'; |
7351 | 7045 | /${re}{SPACE}/; # Wrong! |
7352 | 7046 | |
7353 | 7047 | =begin original |
7354 | 7048 | |
7355 | 7049 | It's not a good idea to split a construct in the middle like this, and it |
7356 | 7050 | doesn't work here. Instead use the solution above. |
7357 | 7051 | |
7358 | 7052 | =end original |
7359 | 7053 | |
7360 | 7054 | このように中間で構造を分割することはよい考えではなく、ここでは動作しません。 |
7361 | 7055 | 代わりに上述した解決法を使ってください。 |
7362 | 7056 | |
7363 | 7057 | =begin original |
7364 | 7058 | |
7365 | 7059 | Finally, the message also can happen under the C</x> regex modifier when the |
7366 | 7060 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. |
7367 | 7061 | |
7368 | 7062 | =end original |
7369 | 7063 | |
7370 | 7064 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と |
7371 | 7065 | 空白で区切られているときにもでます; この場合、空白を削除します。 |
7372 | 7066 | |
7373 | 7067 | /\N {SPACE}/x; # Wrong! |
7374 | 7068 | /\N{SPACE}/x; # ok |
7375 | 7069 | |
7376 | =item Need exactly 3 octal digits in regex; marked by <-- HERE in m/%s/ | |
7377 | ||
7378 | =begin original | |
7379 | ||
7380 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
7381 | exactly 3 digits long. This helps catch some ambiguities. If your | |
7382 | constant is too short, add leading zeros, like | |
7383 | ||
7384 | =end original | |
7385 | ||
7386 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
7387 | 必要があります。 | |
7388 | これはある種の曖昧さを捕まえる助けになります。 | |
7389 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
7390 | ||
7391 | (?[ [ \078 ] ]) # Syntax error! | |
7392 | (?[ [ \0078 ] ]) # Works | |
7393 | (?[ [ \007 8 ] ]) # Clearer | |
7394 | ||
7395 | =begin original | |
7396 | ||
7397 | The maximum number this construct can express is C<\777>. If you | |
7398 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> | |
7399 | instead. If you meant two separate things, you need to separate them | |
7400 | ||
7401 | =end original | |
7402 | ||
7403 | この構文が表現できる最大数は C<\777> です。 | |
7404 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
7405 | 使う必要があります。 | |
7406 | 二つの別々のものを意味しているなら、分ける必要があります | |
7407 | ||
7408 | (?[ [ \7776 ] ]) # Syntax error! | |
7409 | (?[ [ \o{7776} ] ]) # One meaning | |
7410 | (?[ [ \777 6 ] ]) # Another meaning | |
7411 | (?[ [ \777 \006 ] ]) # Still another | |
7412 | ||
7413 | 7070 | =item Negative '/' count in unpack |
7414 | 7071 | |
7415 | 7072 | =begin original |
7416 | 7073 | |
7417 | 7074 | (F) The length count obtained from a length/code unpack operation was |
7418 | 7075 | negative. See L<perlfunc/pack>. |
7419 | 7076 | |
7420 | 7077 | =end original |
7421 | 7078 | |
7422 | 7079 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 |
7423 | 7080 | L<perlfunc/pack> を参照してください。 |
7424 | 7081 | |
7425 | 7082 | =item Negative length |
7426 | 7083 | |
7427 | 7084 | =begin original |
7428 | 7085 | |
7429 | 7086 | (F) You tried to do a read/write/send/recv operation with a buffer |
7430 | 7087 | length that is less than 0. This is difficult to imagine. |
7431 | 7088 | |
7432 | 7089 | =end original |
7433 | 7090 | |
7434 | 7091 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
7435 | 7092 | 行なおうとしました。 |
7436 | 7093 | これは想像しにくいことです。 |
7437 | 7094 | |
7438 | 7095 | =item Negative offset to vec in lvalue context |
7439 | 7096 | |
7440 | 7097 | =begin original |
7441 | 7098 | |
7442 | 7099 | (F) When C<vec> is called in an lvalue context, the second argument must be |
7443 | 7100 | greater than or equal to zero. |
7444 | 7101 | |
7445 | 7102 | =end original |
7446 | 7103 | |
7447 | 7104 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 |
7448 | 7105 | 二つ目の引数は 0 以上でなければなりません。 |
7449 | 7106 | |
7450 | 7107 | =item Nested quantifiers in regex; marked by <-- HERE in m/%s/ |
7451 | 7108 | |
7452 | 7109 | =begin original |
7453 | 7110 | |
7454 | 7111 | (F) You can't quantify a quantifier without intervening parentheses. |
7455 | So things like ** or +* or ?* are illegal. The <-- HERE shows | |
7112 | So things like ** or +* or ?* are illegal. The <-- HERE shows in the | |
7456 | ||
7113 | regular expression about where the problem was discovered. | |
7457 | 7114 | |
7458 | 7115 | =end original |
7459 | 7116 | |
7460 | 7117 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 |
7461 | 7118 | つまり、** や +* や ?* といったものは、正しくありません。 |
7462 | 7119 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7463 | 7120 | |
7464 | 7121 | =begin original |
7465 | 7122 | |
7466 | 7123 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and |
7467 | 7124 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
7468 | 7125 | |
7469 | 7126 | =end original |
7470 | 7127 | |
7471 | 7128 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように |
7472 | 7129 | 見えますが、そうではありません。 |
7473 | 7130 | L<perlre> を参照してください。 |
7474 | 7131 | |
7475 | 7132 | =item %s never introduced |
7476 | 7133 | |
7477 | 7134 | =begin original |
7478 | 7135 | |
7479 | 7136 | (S internal) The symbol in question was declared but somehow went out of |
7480 | 7137 | scope before it could possibly have been used. |
7481 | 7138 | |
7482 | 7139 | =end original |
7483 | 7140 | |
7484 | 7141 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
7485 | 7142 | 外れてしまいました。 |
7486 | 7143 | |
7487 | 7144 | =item next::method/next::can/maybe::next::method cannot find enclosing method |
7488 | 7145 | |
7489 | 7146 | =begin original |
7490 | 7147 | |
7491 | 7148 | (F) C<next::method> needs to be called within the context of a |
7492 | 7149 | real method in a real package, and it could not find such a context. |
7493 | 7150 | See L<mro>. |
7494 | 7151 | |
7495 | 7152 | =end original |
7496 | 7153 | |
7497 | 7154 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる |
7498 | 7155 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 |
7499 | 7156 | L<mro> を参照してください。 |
7500 | 7157 | |
7501 | 7158 | =item No %s allowed while running setuid |
7502 | 7159 | |
7503 | 7160 | =begin original |
7504 | 7161 | |
7505 | 7162 | (F) Certain operations are deemed to be too insecure for a setuid or |
7506 | 7163 | setgid script to even be allowed to attempt. Generally speaking there |
7507 | 7164 | will be another way to do what you want that is, if not secure, at least |
7508 | 7165 | securable. See L<perlsec>. |
7509 | 7166 | |
7510 | 7167 | =end original |
7511 | 7168 | |
7512 | 7169 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
7513 | 7170 | やってみることはできても、とても安全なものとは考えられないものです。 |
7514 | 7171 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
7515 | 7172 | L<perlsec> を参照してください。 |
7516 | 7173 | |
7517 | 7174 | =item No code specified for -%c |
7518 | 7175 | |
7519 | 7176 | =begin original |
7520 | 7177 | |
7521 | 7178 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If |
7522 | 7179 | you want to run an empty program, pass the empty string as a separate |
7523 | 7180 | argument or run a program consisting of a single 0 or 1: |
7524 | 7181 | |
7525 | 7182 | =end original |
7526 | 7183 | |
7527 | 7184 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 |
7528 | 7185 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の |
7529 | 7186 | 0 または 1 からなるプログラムを実行してください: |
7530 | 7187 | |
7531 | 7188 | perl -e "" |
7532 | 7189 | perl -e0 |
7533 | 7190 | perl -e1 |
7534 | 7191 | |
7535 | 7192 | =item No comma allowed after %s |
7536 | 7193 | |
7537 | 7194 | =begin original |
7538 | 7195 | |
7539 | 7196 | (F) A list operator that has a filehandle or "indirect object" is |
7540 | 7197 | not allowed to have a comma between that and the following arguments. |
7541 | 7198 | Otherwise it'd be just another one of the arguments. |
7542 | 7199 | |
7543 | 7200 | =end original |
7544 | 7201 | |
7545 | 7202 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
7546 | 7203 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
7547 | 7204 | そのようにした場合には、引数の一つとなってしまいます。 |
7548 | 7205 | |
7549 | 7206 | =begin original |
7550 | 7207 | |
7551 | 7208 | One possible cause for this is that you expected to have imported |
7552 | 7209 | a constant to your name space with B<use> or B<import> while no such |
7553 | 7210 | importing took place, it may for example be that your operating |
7554 | 7211 | system does not support that particular constant. Hopefully you did |
7555 | 7212 | use an explicit import list for the constants you expect to see; |
7556 | 7213 | please see L<perlfunc/use> and L<perlfunc/import>. While an |
7557 | 7214 | explicit import list would probably have caught this error earlier |
7558 | 7215 | it naturally does not remedy the fact that your operating system |
7559 | 7216 | still does not support that constant. Maybe you have a typo in |
7560 | 7217 | the constants of the symbol import list of B<use> or B<import> or in the |
7561 | 7218 | constant name at the line where this error was triggered? |
7562 | 7219 | |
7563 | 7220 | =end original |
7564 | 7221 | |
7565 | 7222 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
7566 | 7223 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
7567 | 7224 | 場合です; |
7568 | 7225 | 例えば OS が特定の定数に対応していない場合などです。 |
7569 | 7226 | できればインポートしたい定数のリストを明示的に使ってください; |
7570 | 7227 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
7571 | 7228 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
7572 | 7229 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
7573 | 7230 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
7574 | 7231 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
7575 | 7232 | |
7576 | 7233 | =item No command into which to pipe on command line |
7577 | 7234 | |
7578 | 7235 | =begin original |
7579 | 7236 | |
7580 | 7237 | (F) An error peculiar to VMS. Perl handles its own command line |
7581 | 7238 | redirection, and found a '|' at the end of the command line, so it |
7582 | 7239 | doesn't know where you want to pipe the output from this command. |
7583 | 7240 | |
7584 | 7241 | =end original |
7585 | 7242 | |
7586 | 7243 | (F) VMS に固有のエラーです。 |
7587 | 7244 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
7588 | 7245 | コマンドラインの最後にに '|' を発見しましたが、 |
7589 | 7246 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
7590 | 7247 | |
7591 | 7248 | =item No DB::DB routine defined |
7592 | 7249 | |
7593 | 7250 | =begin original |
7594 | 7251 | |
7595 | 7252 | (F) The currently executing code was compiled with the B<-d> switch, but |
7596 | 7253 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
7597 | 7254 | module) didn't define a routine to be called at the beginning of each |
7598 | 7255 | statement. |
7599 | 7256 | |
7600 | 7257 | =end original |
7601 | 7258 | |
7602 | 7259 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
7603 | 7260 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) |
7604 | 7261 | が各実行文の頭で呼び出すルーティンを定義していません。 |
7605 | 7262 | |
7606 | 7263 | =item No dbm on this machine |
7607 | 7264 | |
7608 | 7265 | =begin original |
7609 | 7266 | |
7610 | 7267 | (P) This is counted as an internal error, because every machine should |
7611 | 7268 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
7612 | 7269 | |
7613 | 7270 | =end original |
7614 | 7271 | |
7615 | 7272 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 |
7616 | 7273 | どのマシンでも dbm が使えるはずだからです。 |
7617 | 7274 | L<SDBM_File> を参照してください。 |
7618 | 7275 | |
7619 | 7276 | =item No DB::sub routine defined |
7620 | 7277 | |
7621 | 7278 | =begin original |
7622 | 7279 | |
7623 | 7280 | (F) The currently executing code was compiled with the B<-d> switch, but |
7624 | 7281 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
7625 | 7282 | module) didn't define a C<DB::sub> routine to be called at the beginning |
7626 | 7283 | of each ordinary subroutine call. |
7627 | 7284 | |
7628 | 7285 | =end original |
7629 | 7286 | |
7630 | 7287 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
7631 | 7288 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が |
7632 | 7289 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを |
7633 | 7290 | 定義していませんでした。 |
7634 | 7291 | |
7635 | 7292 | =item No directory specified for -I |
7636 | 7293 | |
7637 | 7294 | =begin original |
7638 | 7295 | |
7639 | 7296 | (F) The B<-I> command-line switch requires a directory name as part of the |
7640 | 7297 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. |
7641 | 7298 | |
7642 | 7299 | =end original |
7643 | 7300 | |
7644 | 7301 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が |
7645 | 7302 | 必要です。 |
7646 | 7303 | 例えば、B<-Ilib> としてください。 |
7647 | 7304 | B<-I lib> は動作しません。 |
7648 | 7305 | |
7649 | 7306 | =item No error file after 2> or 2>> on command line |
7650 | 7307 | |
7651 | 7308 | =begin original |
7652 | 7309 | |
7653 | 7310 | (F) An error peculiar to VMS. Perl handles its own command line |
7654 | 7311 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
7655 | 7312 | find the name of the file to which to write data destined for stderr. |
7656 | 7313 | |
7657 | 7314 | =end original |
7658 | 7315 | |
7659 | 7316 | (F) VMS に固有のエラーです。 |
7660 | 7317 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
7661 | 7318 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
7662 | 7319 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
7663 | 7320 | |
7664 | 7321 | =item No group ending character '%c' found in template |
7665 | 7322 | |
7666 | 7323 | =begin original |
7667 | 7324 | |
7668 | 7325 | (F) A pack or unpack template has an opening '(' or '[' without its |
7669 | 7326 | matching counterpart. See L<perlfunc/pack>. |
7670 | 7327 | |
7671 | 7328 | =end original |
7672 | 7329 | |
7673 | 7330 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 |
7674 | 7331 | 対応する閉じかっこがありません。 |
7675 | 7332 | L<perlfunc/pack> を参照してください。 |
7676 | 7333 | |
7677 | 7334 | =item No input file after < on command line |
7678 | 7335 | |
7679 | 7336 | =begin original |
7680 | 7337 | |
7681 | 7338 | (F) An error peculiar to VMS. Perl handles its own command line |
7682 | 7339 | redirection, and found a '<' on the command line, but can't find the |
7683 | 7340 | name of the file from which to read data for stdin. |
7684 | 7341 | |
7685 | 7342 | =end original |
7686 | 7343 | |
7687 | 7344 | (F) VMS に固有のエラーです。 |
7688 | 7345 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
7689 | 7346 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
7690 | 7347 | 見つかりませんでした。 |
7691 | 7348 | |
7692 | 7349 | =item No next::method '%s' found for %s |
7693 | 7350 | |
7694 | 7351 | =begin original |
7695 | 7352 | |
7696 | 7353 | (F) C<next::method> found no further instances of this method name |
7697 | 7354 | in the remaining packages of the MRO of this class. If you don't want |
7698 | 7355 | it throwing an exception, use C<maybe::next::method> |
7699 | 7356 | or C<next::can>. See L<mro>. |
7700 | 7357 | |
7701 | 7358 | =end original |
7702 | 7359 | |
7703 | 7360 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この |
7704 | 7361 | メソッド名のインスタンスがもうありません。 |
7705 | 7362 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を |
7706 | 7363 | 使ってください。 |
7707 | 7364 | L<mro> を参照してください。 |
7708 | 7365 | |
7709 | 7366 | =item "no" not allowed in expression |
7710 | 7367 | |
7711 | 7368 | =begin original |
7712 | 7369 | |
7713 | 7370 | (F) The "no" keyword is recognized and executed at compile time, and |
7714 | 7371 | returns no useful value. See L<perlmod>. |
7715 | 7372 | |
7716 | 7373 | =end original |
7717 | 7374 | |
7718 | 7375 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
7719 | 7376 | 意味のある値を返しません。 |
7720 | 7377 | L<perlmod> を参照してください。 |
7721 | 7378 | |
7722 | 7379 | =item No output file after > on command line |
7723 | 7380 | |
7724 | 7381 | =begin original |
7725 | 7382 | |
7726 | 7383 | (F) An error peculiar to VMS. Perl handles its own command line |
7727 | 7384 | redirection, and found a lone '>' at the end of the command line, so it |
7728 | 7385 | doesn't know where you wanted to redirect stdout. |
7729 | 7386 | |
7730 | 7387 | =end original |
7731 | 7388 | |
7732 | 7389 | (F) VMS に固有のエラーです。 |
7733 | 7390 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
7734 | 7391 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
7735 | 7392 | わかりませんでした。 |
7736 | 7393 | |
7737 | 7394 | =item No output file after > or >> on command line |
7738 | 7395 | |
7739 | 7396 | =begin original |
7740 | 7397 | |
7741 | 7398 | (F) An error peculiar to VMS. Perl handles its own command line |
7742 | 7399 | redirection, and found a '>' or a '>>' on the command line, but can't |
7743 | 7400 | find the name of the file to which to write data destined for stdout. |
7744 | 7401 | |
7745 | 7402 | =end original |
7746 | 7403 | |
7747 | 7404 | (F) VMS に固有のエラーです。 |
7748 | 7405 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
7749 | 7406 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
7750 | 7407 | 見つかりませんでした。 |
7751 | 7408 | |
7752 | 7409 | =item No package name allowed for variable %s in "our" |
7753 | 7410 | |
7754 | 7411 | =begin original |
7755 | 7412 | |
7756 | 7413 | (F) Fully qualified variable names are not allowed in "our" |
7757 | 7414 | declarations, because that doesn't make much sense under existing |
7758 | 7415 | semantics. Such syntax is reserved for future extensions. |
7759 | 7416 | |
7760 | 7417 | =end original |
7761 | 7418 | |
7762 | 7419 | (F) 完全修飾変数名は "our" 宣言では使えません; |
7763 | 7420 | なぜなら現在の動作ではほとんど意味がないからです。 |
7764 | 7421 | そのような文法は将来の拡張に予約されています。 |
7765 | 7422 | |
7766 | 7423 | =item No Perl script found in input |
7767 | 7424 | |
7768 | 7425 | =begin original |
7769 | 7426 | |
7770 | 7427 | (F) You called C<perl -x>, but no line was found in the file beginning |
7771 | 7428 | with #! and containing the word "perl". |
7772 | 7429 | |
7773 | 7430 | =end original |
7774 | 7431 | |
7775 | 7432 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
7776 | 7433 | "perl" という語を含む行が見つかりませんでした。 |
7777 | 7434 | |
7778 | 7435 | =item No setregid available |
7779 | 7436 | |
7780 | 7437 | =begin original |
7781 | 7438 | |
7782 | 7439 | (F) Configure didn't find anything resembling the setregid() call for |
7783 | 7440 | your system. |
7784 | 7441 | |
7785 | 7442 | =end original |
7786 | 7443 | |
7787 | 7444 | (F) Configure が、システム上に setregid() のような関数を |
7788 | 7445 | 見つけられませんでした。 |
7789 | 7446 | |
7790 | 7447 | =item No setreuid available |
7791 | 7448 | |
7792 | 7449 | =begin original |
7793 | 7450 | |
7794 | 7451 | (F) Configure didn't find anything resembling the setreuid() call for |
7795 | 7452 | your system. |
7796 | 7453 | |
7797 | 7454 | =end original |
7798 | 7455 | |
7799 | 7456 | (F) Configure が、システム上に setreuid() のような関数を |
7800 | 7457 | 見つけられませんでした。 |
7801 | 7458 | |
7802 | 7459 | =item No such class field "%s" in variable %s of type %s |
7803 | 7460 | |
7804 | 7461 | =begin original |
7805 | 7462 | |
7806 | 7463 | (F) You tried to access a key from a hash through the indicated typed |
7807 | 7464 | variable but that key is not allowed by the package of the same type. |
7808 | 7465 | The indicated package has restricted the set of allowed keys using the |
7809 | 7466 | L<fields> pragma. |
7810 | 7467 | |
7811 | 7468 | =end original |
7812 | 7469 | |
7813 | 7470 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 |
7814 | 7471 | そのキーは同じ型のパッケージによって許可されていません。 |
7815 | 7472 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が |
7816 | 7473 | 制限されています。 |
7817 | 7474 | |
7818 | 7475 | =item No such class %s |
7819 | 7476 | |
7820 | 7477 | =begin original |
7821 | 7478 | |
7822 | 7479 | (F) You provided a class qualifier in a "my", "our" or "state" |
7823 | 7480 | declaration, but this class doesn't exist at this point in your program. |
7824 | 7481 | |
7825 | 7482 | =end original |
7826 | 7483 | |
7827 | 7484 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された |
7828 | 7485 | クラスは現時点では存在しません。 |
7829 | 7486 | |
7830 | 7487 | =item No such hook: %s |
7831 | 7488 | |
7832 | 7489 | =begin original |
7833 | 7490 | |
7834 | 7491 | (F) You specified a signal hook that was not recognized by Perl. |
7835 | 7492 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. |
7836 | 7493 | |
7837 | 7494 | =end original |
7838 | 7495 | |
7839 | 7496 | (F) Perl が認識できないシグナルフックを指定しました。 |
7840 | 7497 | 現在のところ、Perl は有効なシグナルフックとして |
7841 | 7498 | C<__DIE__> と C<__WARN__> を受け付けます。 |
7842 | 7499 | |
7843 | 7500 | =item No such pipe open |
7844 | 7501 | |
7845 | 7502 | =begin original |
7846 | 7503 | |
7847 | 7504 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
7848 | 7505 | close a pipe which hadn't been opened. This should have been caught |
7849 | 7506 | earlier as an attempt to close an unopened filehandle. |
7850 | 7507 | |
7851 | 7508 | =end original |
7852 | 7509 | |
7853 | 7510 | (P) VMS に固有のエラーです。 |
7854 | 7511 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
7855 | 7512 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
7856 | 7513 | 捕捉されるべきものです。 |
7857 | 7514 | |
7858 | 7515 | =item No such signal: SIG%s |
7859 | 7516 | |
7860 | 7517 | =begin original |
7861 | 7518 | |
7862 | 7519 | (W signal) You specified a signal name as a subscript to %SIG that was |
7863 | 7520 | not recognized. Say C<kill -l> in your shell to see the valid signal |
7864 | 7521 | names on your system. |
7865 | 7522 | |
7866 | 7523 | =end original |
7867 | 7524 | |
7868 | 7525 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
7869 | 7526 | お使いのシステムで使用可能なシグナル名を調べるには、 |
7870 | 7527 | シェル上で C<kill -l> などとしてください。 |
7871 | 7528 | |
7872 | 7529 | =item Not a CODE reference |
7873 | 7530 | |
7874 | 7531 | =begin original |
7875 | 7532 | |
7876 | 7533 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
7877 | 7534 | subroutine), but found a reference to something else instead. You can |
7878 | 7535 | use the ref() function to find out what kind of ref it really was. See |
7879 | 7536 | also L<perlref>. |
7880 | 7537 | |
7881 | 7538 | =end original |
7882 | 7539 | |
7883 | 7540 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
7884 | 7541 | 評価しようとしましたが、別のものへのリファレンスでした。 |
7885 | 7542 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7886 | 7543 | 使うことができます。 |
7887 | 7544 | L<perlref> も参照してください。 |
7888 | 7545 | |
7546 | =item Not a format reference | |
7547 | ||
7548 | =begin original | |
7549 | ||
7550 | (F) I'm not sure how you managed to generate a reference to an anonymous | |
7551 | format, but this indicates you did, and that it didn't exist. | |
7552 | ||
7553 | =end original | |
7554 | ||
7555 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは | |
7556 | わかりませんが、このメッセージは、それが指定されて、 | |
7557 | 存在しなかったことを示します。 | |
7558 | ||
7889 | 7559 | =item Not a GLOB reference |
7890 | 7560 | |
7891 | 7561 | =begin original |
7892 | 7562 | |
7893 | 7563 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
7894 | 7564 | symbol table entry that looks like C<*foo>), but found a reference to |
7895 | 7565 | something else instead. You can use the ref() function to find out what |
7896 | 7566 | kind of ref it really was. See L<perlref>. |
7897 | 7567 | |
7898 | 7568 | =end original |
7899 | 7569 | |
7900 | 7570 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
7901 | 7571 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
7902 | 7572 | 別のものへのリファレンスでした。 |
7903 | 7573 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7904 | 7574 | 使うことができます。 |
7905 | 7575 | L<perlref> を参照してください。 |
7906 | 7576 | |
7907 | 7577 | =item Not a HASH reference |
7908 | 7578 | |
7909 | 7579 | =begin original |
7910 | 7580 | |
7911 | 7581 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
7912 | 7582 | reference to something else instead. You can use the ref() function to |
7913 | 7583 | find out what kind of ref it really was. See L<perlref>. |
7914 | 7584 | |
7915 | 7585 | =end original |
7916 | 7586 | |
7917 | 7587 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
7918 | 7588 | 別のものへのリファレンスでした。 |
7919 | 7589 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7920 | 7590 | 使うことができます。 |
7921 | 7591 | L<perlref> を参照してください。 |
7922 | 7592 | |
7923 | 7593 | =item Not an ARRAY reference |
7924 | 7594 | |
7925 | 7595 | =begin original |
7926 | 7596 | |
7927 | 7597 | (F) Perl was trying to evaluate a reference to an array value, but found |
7928 | 7598 | a reference to something else instead. You can use the ref() function |
7929 | 7599 | to find out what kind of ref it really was. See L<perlref>. |
7930 | 7600 | |
7931 | 7601 | =end original |
7932 | 7602 | |
7933 | 7603 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
7934 | 7604 | 別のものへのリファレンスでした。 |
7935 | 7605 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7936 | 7606 | 使うことができます。 |
7937 | 7607 | L<perlref> を参照してください。 |
7938 | 7608 | |
7939 | 7609 | =item Not an unblessed ARRAY reference |
7940 | 7610 | |
7941 | 7611 | =begin original |
7942 | 7612 | |
7943 | 7613 | (F) You passed a reference to a blessed array to C<push>, C<shift> or |
7944 | 7614 | another array function. These only accept unblessed array references |
7945 | 7615 | or arrays beginning explicitly with C<@>. |
7946 | 7616 | |
7947 | 7617 | =end original |
7948 | 7618 | |
7949 | 7619 | (F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを |
7950 | 7620 | 渡しました。 |
7951 | 7621 | これらは bless されていない配列リファレンスか明示的に C<@> で始まる |
7952 | 7622 | 配列のみを受け付けます。 |
7953 | 7623 | |
7954 | 7624 | =item Not a SCALAR reference |
7955 | 7625 | |
7956 | 7626 | =begin original |
7957 | 7627 | |
7958 | 7628 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
7959 | 7629 | a reference to something else instead. You can use the ref() function |
7960 | 7630 | to find out what kind of ref it really was. See L<perlref>. |
7961 | 7631 | |
7962 | 7632 | =end original |
7963 | 7633 | |
7964 | 7634 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
7965 | 7635 | 別のものへのリファレンスでした。 |
7966 | 7636 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7967 | 7637 | 使うことができます。 |
7968 | 7638 | L<perlref> を参照してください。 |
7969 | 7639 | |
7970 | 7640 | =item Not a subroutine reference |
7971 | 7641 | |
7972 | 7642 | =begin original |
7973 | 7643 | |
7974 | 7644 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
7975 | 7645 | subroutine), but found a reference to something else instead. You can |
7976 | 7646 | use the ref() function to find out what kind of ref it really was. See |
7977 | 7647 | also L<perlref>. |
7978 | 7648 | |
7979 | 7649 | =end original |
7980 | 7650 | |
7981 | 7651 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
7982 | 7652 | 評価しようとしましたが、別のものへのリファレンスでした。 |
7983 | 7653 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7984 | 7654 | 使うことができます。 |
7985 | 7655 | L<perlref> も参照してください。 |
7986 | 7656 | |
7987 | 7657 | =item Not a subroutine reference in overload table |
7988 | 7658 | |
7989 | 7659 | =begin original |
7990 | 7660 | |
7991 | 7661 | (F) An attempt was made to specify an entry in an overloading table that |
7992 | 7662 | doesn't somehow point to a valid subroutine. See L<overload>. |
7993 | 7663 | |
7994 | 7664 | =end original |
7995 | 7665 | |
7996 | 7666 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを |
7997 | 7667 | 指定しようとしました。 |
7998 | 7668 | L<overload> を参照してください。 |
7999 | 7669 | |
8000 | 7670 | =item Not enough arguments for %s |
8001 | 7671 | |
8002 | 7672 | =begin original |
8003 | 7673 | |
8004 | 7674 | (F) The function requires more arguments than you specified. |
8005 | 7675 | |
8006 | 7676 | =end original |
8007 | 7677 | |
8008 | 7678 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
8009 | 7679 | |
8010 | 7680 | =item Not enough format arguments |
8011 | 7681 | |
8012 | 7682 | =begin original |
8013 | 7683 | |
8014 | 7684 | (W syntax) A format specified more picture fields than the next line |
8015 | 7685 | supplied. See L<perlform>. |
8016 | 7686 | |
8017 | 7687 | =end original |
8018 | 7688 | |
8019 | 7689 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
8020 | 7690 | ピクチャフィールドがあります。 |
8021 | 7691 | L<perlform> を参照してください。 |
8022 | 7692 | |
8023 | 7693 | =item %s: not found |
8024 | 7694 | |
8025 | 7695 | =begin original |
8026 | 7696 | |
8027 | 7697 | (A) You've accidentally run your script through the Bourne shell instead |
8028 | 7698 | of Perl. Check the #! line, or manually feed your script into Perl |
8029 | 7699 | yourself. |
8030 | 7700 | |
8031 | 7701 | =end original |
8032 | 7702 | |
8033 | 7703 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
8034 | 7704 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
8035 | 7705 | |
8036 | 7706 | =item no UTC offset information; assuming local time is UTC |
8037 | 7707 | |
8038 | 7708 | =begin original |
8039 | 7709 | |
8040 | 7710 | (S) A warning peculiar to VMS. Perl was unable to find the local |
8041 | 7711 | timezone offset, so it's assuming that local system time is equivalent |
8042 | 7712 | to UTC. If it's not, define the logical name |
8043 | 7713 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
8044 | 7714 | need to be added to UTC to get local time. |
8045 | 7715 | |
8046 | 7716 | =end original |
8047 | 7717 | |
8048 | 7718 | (S) VMS に固有の警告です。 |
8049 | 7719 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
8050 | 7720 | ローカルシステムタイムは UTC と等価であると仮定します。 |
8051 | 7721 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
8052 | 7722 | 時刻を得るために加える必要がある秒数を定義してください。 |
8053 | 7723 | |
8054 | =item Non-hex character in regex; marked by <-- HERE in m/%s/ | |
8055 | ||
8056 | =begin original | |
8057 | ||
8058 | (F) | |
8059 | In a regular expression, there was a non-hexadecimal character where | |
8060 | a hex one was expected, like | |
8061 | ||
8062 | =end original | |
8063 | ||
8064 | (F) | |
8065 | 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
8066 | ||
8067 | (?[ [ \xDG ] ]) | |
8068 | (?[ [ \x{DEKA} ] ]) | |
8069 | ||
8070 | 7724 | =item Non-octal character '%c'. Resolved as "%s" |
8071 | 7725 | |
8072 | 7726 | =begin original |
8073 | 7727 | |
8074 | 7728 | (W digit) In parsing an octal numeric constant, a character was |
8075 | 7729 | unexpectedly encountered that isn't octal. The resulting value |
8076 | 7730 | is as indicated. |
8077 | 7731 | |
8078 | 7732 | =end original |
8079 | 7733 | |
8080 | 7734 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 |
8081 | 7735 | 結果の値は示された通りになります。 |
8082 | 7736 | |
8083 | =item Non-octal character in regex; marked by <-- HERE in m/%s/ | |
8084 | ||
8085 | =begin original | |
8086 | ||
8087 | (F) | |
8088 | In a regular expression, there was a non-octal character where | |
8089 | an octal one was expected, like | |
8090 | ||
8091 | =end original | |
8092 | ||
8093 | (F) | |
8094 | 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
8095 | ||
8096 | (?[ [ \o{1278} ] ]) | |
8097 | ||
8098 | 7737 | =item Non-string passed as bitmask |
8099 | 7738 | |
8100 | 7739 | =begin original |
8101 | 7740 | |
8102 | 7741 | (W misc) A number has been passed as a bitmask argument to select(). |
8103 | 7742 | Use the vec() function to construct the file descriptor bitmasks for |
8104 | 7743 | select. See L<perlfunc/select>. |
8105 | 7744 | |
8106 | 7745 | =end original |
8107 | 7746 | |
8108 | 7747 | (W misc) select() のビットマスク引数として数値が渡されました。 |
8109 | 7748 | select のためのファイル記述子のビットマスクを構成するには、 |
8110 | 7749 | vec() 関数を使ってください。 |
8111 | 7750 | L<perlfunc/select> を参照してください。 |
8112 | 7751 | |
8113 | =item (?[...]) not valid in locale in regex; marked by <-- HERE in m/%s/ | |
8114 | ||
8115 | =begin original | |
8116 | ||
8117 | (F) | |
8118 | C<(?[...])> cannot be used within the scope of a C<S<use locale>> or | |
8119 | with an C</l> regular expression modifier, as that would require | |
8120 | deferring to run-time the calculation of what it should evaluate to, and | |
8121 | it is regex compile-time only. | |
8122 | ||
8123 | =end original | |
8124 | ||
8125 | (F) | |
8126 | C<(?[...])> は C<S<use locale>> のスコープ内や C</l> 正規表現修飾子付きでは | |
8127 | 使えません; これは何を評価するべきかを実行時の計算によりますが、 | |
8128 | これは正規表現のコンパイル時のみだからです。 | |
8129 | ||
8130 | 7752 | =item Null filename used |
8131 | 7753 | |
8132 | 7754 | =begin original |
8133 | 7755 | |
8134 | 7756 | (F) You can't require the null filename, especially because on many |
8135 | 7757 | machines that means the current directory! See L<perlfunc/require>. |
8136 | 7758 | |
8137 | 7759 | =end original |
8138 | 7760 | |
8139 | (F) | |
7761 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 | |
8140 | ||
7762 | 空のファイル名は require できません! | |
8141 | 7763 | L<perlfunc/require> を参照してください。 |
8142 | 7764 | |
8143 | 7765 | =item NULL OP IN RUN |
8144 | 7766 | |
8145 | 7767 | =begin original |
8146 | 7768 | |
8147 | 7769 | (S debugging) Some internal routine called run() with a null opcode |
8148 | 7770 | pointer. |
8149 | 7771 | |
8150 | 7772 | =end original |
8151 | 7773 | |
8152 | 7774 | (S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を |
8153 | 7775 | 呼んだものがあります。 |
8154 | 7776 | |
8155 | 7777 | =item Null picture in formline |
8156 | 7778 | |
8157 | 7779 | =begin original |
8158 | 7780 | |
8159 | 7781 | (F) The first argument to formline must be a valid format picture |
8160 | 7782 | specification. It was found to be empty, which probably means you |
8161 | 7783 | supplied it an uninitialized value. See L<perlform>. |
8162 | 7784 | |
8163 | 7785 | =end original |
8164 | 7786 | |
8165 | 7787 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
8166 | 7788 | なりません。 |
8167 | 7789 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
8168 | 7790 | L<perlform> を参照してください。 |
8169 | 7791 | |
8170 | 7792 | =item Null realloc |
8171 | 7793 | |
8172 | 7794 | =begin original |
8173 | 7795 | |
8174 | 7796 | (P) An attempt was made to realloc NULL. |
8175 | 7797 | |
8176 | 7798 | =end original |
8177 | 7799 | |
8178 | 7800 | (P) realloc NULL を行なおうとしました。 |
8179 | 7801 | |
8180 | 7802 | =item NULL regexp argument |
8181 | 7803 | |
8182 | 7804 | =begin original |
8183 | 7805 | |
8184 | 7806 | (P) The internal pattern matching routines blew it big time. |
8185 | 7807 | |
8186 | 7808 | =end original |
8187 | 7809 | |
8188 | 7810 | (P) 内部パターンマッチルーティンが、大当たりです。 |
8189 | 7811 | |
8190 | 7812 | =item NULL regexp parameter |
8191 | 7813 | |
8192 | 7814 | =begin original |
8193 | 7815 | |
8194 | 7816 | (P) The internal pattern matching routines are out of their gourd. |
8195 | 7817 | |
8196 | 7818 | =end original |
8197 | 7819 | |
8198 | 7820 | (P) 内部パターンマッチルーティンが、狂っています。 |
8199 | 7821 | |
8200 | 7822 | =item Number too long |
8201 | 7823 | |
8202 | 7824 | =begin original |
8203 | 7825 | |
8204 | 7826 | (F) Perl limits the representation of decimal numbers in programs to |
8205 | 7827 | about 250 characters. You've exceeded that length. Future |
8206 | 7828 | versions of Perl are likely to eliminate this arbitrary limitation. In |
8207 | 7829 | the meantime, try using scientific notation (e.g. "1e6" instead of |
8208 | 7830 | "1_000_000"). |
8209 | 7831 | |
8210 | 7832 | =end original |
8211 | 7833 | |
8212 | 7834 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 |
8213 | 7835 | この制限を越えました。 |
8214 | 7836 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
8215 | 7837 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
8216 | 7838 | 使用してください。 |
8217 | 7839 | |
8218 | 7840 | =item Number with no digits |
8219 | 7841 | |
8220 | 7842 | =begin original |
8221 | 7843 | |
8222 | 7844 | (F) Perl was looking for a number but found nothing that looked like |
8223 | 7845 | a number. This happens, for example with C<\o{}>, with no number between |
8224 | 7846 | the braces. |
8225 | 7847 | |
8226 | 7848 | =end original |
8227 | 7849 | |
8228 | 7850 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 |
8229 | 7851 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 |
8230 | 7852 | |
8231 | =item "my %s" used in sort comparison | |
8232 | ||
8233 | =begin original | |
8234 | ||
8235 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
8236 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
8237 | sort comparison block, and the variable had earlier been declared as a | |
8238 | lexical variable. Either qualify the sort variable with the package | |
8239 | name, or rename the lexical variable. | |
8240 | ||
8241 | =end original | |
8242 | ||
8243 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
8244 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
8245 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
8246 | 宣言されています。 | |
8247 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
8248 | ||
8249 | 7853 | =item Octal number > 037777777777 non-portable |
8250 | 7854 | |
8251 | 7855 | =begin original |
8252 | 7856 | |
8253 | 7857 | (W portable) The octal number you specified is larger than 2**32-1 |
8254 | 7858 | (4294967295) and therefore non-portable between systems. See |
8255 | 7859 | L<perlport> for more on portability concerns. |
8256 | 7860 | |
8257 | 7861 | =end original |
8258 | 7862 | |
8259 | 7863 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
8260 | 7864 | システム間で移植性がありません。 |
8261 | 7865 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
8262 | 7866 | |
8263 | 7867 | =item Odd number of arguments for overload::constant |
8264 | 7868 | |
8265 | 7869 | =begin original |
8266 | 7870 | |
8267 | 7871 | (W overload) The call to overload::constant contained an odd number of |
8268 | 7872 | arguments. The arguments should come in pairs. |
8269 | 7873 | |
8270 | 7874 | =end original |
8271 | 7875 | |
8272 | 7876 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 |
8273 | 7877 | 引数はペアになっている必要があります。 |
8274 | 7878 | |
8275 | 7879 | =item Odd number of elements in anonymous hash |
8276 | 7880 | |
8277 | 7881 | =begin original |
8278 | 7882 | |
8279 | 7883 | (W misc) You specified an odd number of elements to initialize a hash, |
8280 | 7884 | which is odd, because hashes come in key/value pairs. |
8281 | 7885 | |
8282 | 7886 | =end original |
8283 | 7887 | |
8284 | 7888 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
8285 | 7889 | key/value のペアで与えられますから、これは奇妙なことです。 |
8286 | 7890 | |
8287 | 7891 | =item Odd number of elements in hash assignment |
8288 | 7892 | |
8289 | 7893 | =begin original |
8290 | 7894 | |
8291 | 7895 | (W misc) You specified an odd number of elements to initialize a hash, |
8292 | 7896 | which is odd, because hashes come in key/value pairs. |
8293 | 7897 | |
8294 | 7898 | =end original |
8295 | 7899 | |
8296 | 7900 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
8297 | 7901 | key/value のペアで与えられますから、これは奇妙なことです。 |
8298 | 7902 | |
8299 | 7903 | =item Offset outside string |
8300 | 7904 | |
8301 | 7905 | =begin original |
8302 | 7906 | |
8303 | 7907 | (F)(W layer) You tried to do a read/write/send/recv/seek operation |
8304 | 7908 | with an offset pointing outside the buffer. This is difficult to |
8305 | 7909 | imagine. The sole exceptions to this are that zero padding will |
8306 | 7910 | take place when going past the end of the string when either |
8307 | 7911 | C<sysread()>ing a file, or when seeking past the end of a scalar opened |
8308 | 7912 | for I/O (in anticipation of future reads and to imitate the behaviour |
8309 | 7913 | with real files). |
8310 | 7914 | |
8311 | 7915 | =end original |
8312 | 7916 | |
8313 | 7917 | (F)(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を |
8314 | 7918 | しようとしました。 |
8315 | 7919 | これは想像しにくいことです。 |
8316 | 7920 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 |
8317 | 7921 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) |
8318 | 7922 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 |
8319 | 7923 | 0 でパッディングされたときです。 |
8320 | 7924 | |
8321 | 7925 | =item %s() on unopened %s |
8322 | 7926 | |
8323 | 7927 | =begin original |
8324 | 7928 | |
8325 | 7929 | (W unopened) An I/O operation was attempted on a filehandle that was |
8326 | 7930 | never initialized. You need to do an open(), a sysopen(), or a socket() |
8327 | 7931 | call, or call a constructor from the FileHandle package. |
8328 | 7932 | |
8329 | 7933 | =end original |
8330 | 7934 | |
8331 | 7935 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
8332 | 7936 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
8333 | 7937 | コンストラクタを呼び出す必要があります。 |
8334 | 7938 | |
8335 | 7939 | =item -%s on unopened filehandle %s |
8336 | 7940 | |
8337 | 7941 | =begin original |
8338 | 7942 | |
8339 | 7943 | (W unopened) You tried to invoke a file test operator on a filehandle |
8340 | 7944 | that isn't open. Check your control flow. See also L<perlfunc/-X>. |
8341 | 7945 | |
8342 | 7946 | =end original |
8343 | 7947 | |
8344 | 7948 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を |
8345 | 7949 | 使おうとしました。 |
8346 | 7950 | 制御フローをチェックしてください。 |
8347 | 7951 | L<perlfunc/-X> も参照してください。 |
8348 | 7952 | |
8349 | =item Strings with code points over 0xFF may not be mapped into in-memory file handles | |
8350 | ||
8351 | =begin original | |
8352 | ||
8353 | (W utf8) You tried to open a reference to a scalar for read or append | |
8354 | where the scalar contained code points over 0xFF. In-memory files | |
8355 | model on-disk files and can only contain bytes. | |
8356 | ||
8357 | =end original | |
8358 | ||
8359 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
8360 | スカラへのリファレンスを開こうとしました。 | |
8361 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
8362 | 使えます。 | |
8363 | ||
8364 | 7953 | =item oops: oopsAV |
8365 | 7954 | |
8366 | 7955 | =begin original |
8367 | 7956 | |
8368 | 7957 | (S internal) An internal warning that the grammar is screwed up. |
8369 | 7958 | |
8370 | 7959 | =end original |
8371 | 7960 | |
8372 | 7961 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
8373 | 7962 | |
8374 | 7963 | =item oops: oopsHV |
8375 | 7964 | |
8376 | 7965 | =begin original |
8377 | 7966 | |
8378 | 7967 | (S internal) An internal warning that the grammar is screwed up. |
8379 | 7968 | |
8380 | 7969 | =end original |
8381 | 7970 | |
8382 | 7971 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
8383 | 7972 | |
8384 | 7973 | =item Opening dirhandle %s also as a file |
8385 | 7974 | |
8386 | 7975 | =begin original |
8387 | 7976 | |
8388 | ( | |
7977 | (W io, deprecated) You used open() to associate a filehandle to | |
8389 | 7978 | a symbol (glob or scalar) that already holds a dirhandle. |
8390 | 7979 | Although legal, this idiom might render your code confusing |
8391 | 7980 | and is deprecated. |
8392 | 7981 | |
8393 | 7982 | =end original |
8394 | 7983 | |
8395 | ( | |
7984 | (W io, deprecated) open() で、既にディレクトリハンドルを保持しているシンボル | |
8396 | 7985 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 |
8397 | 7986 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が |
8398 | 7987 | あるので非推奨です。 |
8399 | 7988 | |
8400 | 7989 | =item Opening filehandle %s also as a directory |
8401 | 7990 | |
8402 | 7991 | =begin original |
8403 | 7992 | |
8404 | ( | |
7993 | (W io, deprecated) You used opendir() to associate a dirhandle to | |
8405 | 7994 | a symbol (glob or scalar) that already holds a filehandle. |
8406 | 7995 | Although legal, this idiom might render your code confusing |
8407 | 7996 | and is deprecated. |
8408 | 7997 | |
8409 | 7998 | =end original |
8410 | 7999 | |
8411 | ( | |
8000 | (W io, deprecated) すでにファイルハンドルを保持しているシンボル | |
8412 | 8001 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために |
8413 | 8002 | opendir() を使いました。 |
8414 | 8003 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が |
8415 | 8004 | あるので非推奨です。 |
8416 | 8005 | |
8417 | =item Operand with no preceding operator in regex; marked by <-- HERE in m/%s/ | |
8418 | ||
8419 | =begin original | |
8420 | ||
8421 | (F) | |
8422 | You wrote something like | |
8423 | ||
8424 | =end original | |
8425 | ||
8426 | (F) | |
8427 | 以下のようなものを書きました | |
8428 | ||
8429 | (?[ \p{Digit} \p{Thai} ]) | |
8430 | ||
8431 | =begin original | |
8432 | ||
8433 | There are two operands, but no operator giving how you want to combine | |
8434 | them. | |
8435 | ||
8436 | =end original | |
8437 | ||
8438 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
8439 | 演算子がありません。 | |
8440 | ||
8441 | 8006 | =item Operation "%s": no method found, %s |
8442 | 8007 | |
8443 | 8008 | =begin original |
8444 | 8009 | |
8445 | 8010 | (F) An attempt was made to perform an overloaded operation for which no |
8446 | 8011 | handler was defined. While some handlers can be autogenerated in terms |
8447 | 8012 | of other handlers, there is no default handler for any operation, unless |
8448 | 8013 | the C<fallback> overloading key is specified to be true. See L<overload>. |
8449 | 8014 | |
8450 | 8015 | =end original |
8451 | 8016 | |
8452 | 8017 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
8453 | 8018 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
8454 | 8019 | オーバーロードキーが真に指定されていない限り、どの動作にも |
8455 | 8020 | デフォルトのハンドラはありません。 |
8456 | 8021 | L<overload> を参照してください。 |
8457 | 8022 | |
8458 | 8023 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X |
8459 | 8024 | |
8460 | 8025 | =begin original |
8461 | 8026 | |
8462 | ( | |
8027 | (W utf8, non_unicode) You performed an operation requiring Unicode | |
8463 | 8028 | semantics on a code point that is not in Unicode, so what it should do |
8464 | 8029 | is not defined. Perl has chosen to have it do nothing, and warn you. |
8465 | 8030 | |
8466 | 8031 | =end original |
8467 | 8032 | |
8468 | ( | |
8033 | (W utf8, non_unicode) Unicode ではない符号位置に対して、Unicode の意味論が | |
8469 | 8034 | 必要な操作を実行しました; 何をするべきかは未定義です。 |
8470 | 8035 | Perl は何もしないことを選択し、警告を出します。 |
8471 | 8036 | |
8472 | 8037 | =begin original |
8473 | 8038 | |
8474 | 8039 | If the operation shown is "ToFold", it means that case-insensitive |
8475 | 8040 | matching in a regular expression was done on the code point. |
8476 | 8041 | |
8477 | 8042 | =end original |
8478 | 8043 | |
8479 | 8044 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
8480 | 8045 | その符号位置に対して行われたということです。 |
8481 | 8046 | |
8482 | 8047 | =begin original |
8483 | 8048 | |
8484 | 8049 | If you know what you are doing you can turn off this warning by |
8485 | 8050 | C<no warnings 'non_unicode';>. |
8486 | 8051 | |
8487 | 8052 | =end original |
8488 | 8053 | |
8489 | 8054 | 自分で何をしているのかが分かっているなら、 |
8490 | 8055 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 |
8491 | 8056 | |
8492 | 8057 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X |
8493 | 8058 | |
8494 | 8059 | =begin original |
8495 | 8060 | |
8496 | ( | |
8061 | (W utf8, surrogate) You performed an operation requiring Unicode | |
8497 | 8062 | semantics on a Unicode surrogate. Unicode frowns upon the use of |
8498 | 8063 | surrogates for anything but storing strings in UTF-16, but semantics |
8499 | 8064 | are (reluctantly) defined for the surrogates, and they are to do |
8500 | 8065 | nothing for this operation. Because the use of surrogates can be |
8501 | 8066 | dangerous, Perl warns. |
8502 | 8067 | |
8503 | 8068 | =end original |
8504 | 8069 | |
8505 | ( | |
8070 | (W utf8, surrogate) Unicode サロゲートに対して Unicode の意味論が必要な | |
8506 | 8071 | 操作を実行しました。 |
8507 | 8072 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに |
8508 | 8073 | 難色を示しますが、意味論は(渋々)サロゲートのために定義されていて、それは |
8509 | 8074 | この操作に対して何もしないことです。 |
8510 | 8075 | サロゲートの使用は危険かも知れないので、Perl は警告します。 |
8511 | 8076 | |
8512 | 8077 | =begin original |
8513 | 8078 | |
8514 | 8079 | If the operation shown is "ToFold", it means that case-insensitive |
8515 | 8080 | matching in a regular expression was done on the code point. |
8516 | 8081 | |
8517 | 8082 | =end original |
8518 | 8083 | |
8519 | 8084 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
8520 | 8085 | その符号位置に対して行われたということです。 |
8521 | 8086 | |
8522 | 8087 | =begin original |
8523 | 8088 | |
8524 | 8089 | If you know what you are doing you can turn off this warning by |
8525 | 8090 | C<no warnings 'surrogate';>. |
8526 | 8091 | |
8527 | 8092 | =end original |
8528 | 8093 | |
8529 | 8094 | 自分で何をしているのかが分かっているなら、 |
8530 | 8095 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
8531 | 8096 | |
8532 | 8097 | =item Operator or semicolon missing before %s |
8533 | 8098 | |
8534 | 8099 | =begin original |
8535 | 8100 | |
8536 | 8101 | (S ambiguous) You used a variable or subroutine call where the parser |
8537 | 8102 | was expecting an operator. The parser has assumed you really meant to |
8538 | 8103 | use an operator, but this is highly likely to be incorrect. For |
8539 | 8104 | example, if you say "*foo *foo" it will be interpreted as if you said |
8540 | 8105 | "*foo * 'foo'". |
8541 | 8106 | |
8542 | 8107 | =end original |
8543 | 8108 | |
8544 | 8109 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
8545 | 8110 | 呼び出しが使われました。 |
8546 | 8111 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
8547 | 8112 | これは大抵正しくありません。 |
8548 | 8113 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
8549 | 8114 | |
8550 | 8115 | =item "our" variable %s redeclared |
8551 | 8116 | |
8552 | 8117 | =begin original |
8553 | 8118 | |
8554 | 8119 | (W misc) You seem to have already declared the same global once before |
8555 | 8120 | in the current lexical scope. |
8556 | 8121 | |
8557 | 8122 | =end original |
8558 | 8123 | |
8559 | 8124 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を |
8560 | 8125 | 宣言しているようです。 |
8561 | 8126 | |
8562 | 8127 | =item Out of memory! |
8563 | 8128 | |
8564 | 8129 | =begin original |
8565 | 8130 | |
8566 | 8131 | (X) The malloc() function returned 0, indicating there was insufficient |
8567 | 8132 | remaining memory (or virtual memory) to satisfy the request. Perl has |
8568 | 8133 | no option but to exit immediately. |
8569 | 8134 | |
8570 | 8135 | =end original |
8571 | 8136 | |
8572 | 8137 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
8573 | 8138 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
8574 | 8139 | Perl は直ちに終了するしかありませんでした。 |
8575 | 8140 | |
8576 | 8141 | =begin original |
8577 | 8142 | |
8578 | 8143 | At least in Unix you may be able to get past this by increasing your |
8579 | 8144 | process datasize limits: in csh/tcsh use C<limit> and |
8580 | 8145 | C<limit datasize n> (where C<n> is the number of kilobytes) to check |
8581 | 8146 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> |
8582 | 8147 | and C<ulimit -d n>, respectively. |
8583 | 8148 | |
8584 | 8149 | =end original |
8585 | 8150 | |
8586 | 8151 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって |
8587 | 8152 | これを回避することが可能です: |
8588 | 8153 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには |
8589 | 8154 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; |
8590 | 8155 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 |
8591 | 8156 | |
8592 | 8157 | =item Out of memory during %s extend |
8593 | 8158 | |
8594 | 8159 | =begin original |
8595 | 8160 | |
8596 | 8161 | (X) An attempt was made to extend an array, a list, or a string beyond |
8597 | 8162 | the largest possible memory allocation. |
8598 | 8163 | |
8599 | 8164 | =end original |
8600 | 8165 | |
8601 | 8166 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 |
8602 | 8167 | |
8603 | 8168 | =item Out of memory during "large" request for %s |
8604 | 8169 | |
8605 | 8170 | =begin original |
8606 | 8171 | |
8607 | 8172 | (F) The malloc() function returned 0, indicating there was insufficient |
8608 | 8173 | remaining memory (or virtual memory) to satisfy the request. However, |
8609 | 8174 | the request was judged large enough (compile-time default is 64K), so a |
8610 | 8175 | possibility to shut down by trapping this error is granted. |
8611 | 8176 | |
8612 | 8177 | =end original |
8613 | 8178 | |
8614 | 8179 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
8615 | 8180 | (または仮想メモリ)が不十分であることを示しています。 |
8616 | 8181 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
8617 | 8182 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
8618 | 8183 | |
8619 | 8184 | =item Out of memory during request for %s |
8620 | 8185 | |
8621 | 8186 | =begin original |
8622 | 8187 | |
8623 | 8188 | (X)(F) The malloc() function returned 0, indicating there was |
8624 | 8189 | insufficient remaining memory (or virtual memory) to satisfy the |
8625 | 8190 | request. |
8626 | 8191 | |
8627 | 8192 | =end original |
8628 | 8193 | |
8629 | 8194 | (X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
8630 | 8195 | (または仮想メモリ)が不十分であることを示しています。 |
8631 | 8196 | |
8632 | 8197 | =begin original |
8633 | 8198 | |
8634 | 8199 | The request was judged to be small, so the possibility to trap it |
8635 | 8200 | depends on the way perl was compiled. By default it is not trappable. |
8636 | 8201 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
8637 | 8202 | emergency pool after die()ing with this message. In this case the error |
8638 | 8203 | is trappable I<once>, and the error message will include the line and file |
8639 | 8204 | where the failed request happened. |
8640 | 8205 | |
8641 | 8206 | =end original |
8642 | 8207 | |
8643 | 8208 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
8644 | 8209 | どのようにコンパイルされたかに依存します。 |
8645 | 8210 | デフォルトではこれはトラップできません。 |
8646 | 8211 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
8647 | 8212 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
8648 | 8213 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
8649 | 8214 | 要求が起きたファイルと行番号を含んでいます。 |
8650 | 8215 | |
8651 | 8216 | =item Out of memory during ridiculously large request |
8652 | 8217 | |
8653 | 8218 | =begin original |
8654 | 8219 | |
8655 | 8220 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
8656 | 8221 | is most likely to be caused by a typo in the Perl program. e.g., |
8657 | 8222 | C<$arr[time]> instead of C<$arr[$time]>. |
8658 | 8223 | |
8659 | 8224 | =end original |
8660 | 8225 | |
8661 | 8226 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
8662 | 8227 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 |
8663 | 8228 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 |
8664 | 8229 | |
8665 | 8230 | =item Out of memory for yacc stack |
8666 | 8231 | |
8667 | 8232 | =begin original |
8668 | 8233 | |
8669 | 8234 | (F) The yacc parser wanted to grow its stack so it could continue |
8670 | 8235 | parsing, but realloc() wouldn't give it more memory, virtual or |
8671 | 8236 | otherwise. |
8672 | 8237 | |
8673 | 8238 | =end original |
8674 | 8239 | |
8675 | 8240 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
8676 | 8241 | realloc() が仮想やその他のメモリを確保できませんでした。 |
8677 | 8242 | |
8678 | 8243 | =item '.' outside of string in pack |
8679 | 8244 | |
8680 | 8245 | =begin original |
8681 | 8246 | |
8682 | 8247 | (F) The argument to a '.' in your template tried to move the working |
8683 | 8248 | position to before the start of the packed string being built. |
8684 | 8249 | |
8685 | 8250 | =end original |
8686 | 8251 | |
8687 | 8252 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも |
8688 | 8253 | 前に作業位置を移動しようとしました。 |
8689 | 8254 | |
8690 | 8255 | =item '@' outside of string in unpack |
8691 | 8256 | |
8692 | 8257 | =begin original |
8693 | 8258 | |
8694 | 8259 | (F) You had a template that specified an absolute position outside |
8695 | 8260 | the string being unpacked. See L<perlfunc/pack>. |
8696 | 8261 | |
8697 | 8262 | =end original |
8698 | 8263 | |
8699 | 8264 | (F) unpack される文字列の外に絶対位置指定している、 |
8700 | 8265 | テンプレートを指定しました。 |
8701 | 8266 | L<perlfunc/pack> を参照してください。 |
8702 | 8267 | |
8703 | 8268 | =item '@' outside of string with malformed UTF-8 in unpack |
8704 | 8269 | |
8705 | 8270 | =begin original |
8706 | 8271 | |
8707 | 8272 | (F) You had a template that specified an absolute position outside |
8708 | 8273 | the string being unpacked. The string being unpacked was also invalid |
8709 | 8274 | UTF-8. See L<perlfunc/pack>. |
8710 | 8275 | |
8711 | 8276 | =end original |
8712 | 8277 | |
8713 | 8278 | (F) unpack される文字列の外に絶対位置指定している、 |
8714 | 8279 | テンプレートを指定しました。 |
8715 | 8280 | unpack された文字列は不正な UTF-8 でもあります。 |
8716 | 8281 | L<perlfunc/pack> を参照してください。 |
8717 | 8282 | |
8718 | 8283 | =item overload arg '%s' is invalid |
8719 | 8284 | |
8720 | 8285 | =begin original |
8721 | 8286 | |
8722 | 8287 | (W overload) The L<overload> pragma was passed an argument it did not |
8723 | 8288 | recognize. Did you mistype an operator? |
8724 | 8289 | |
8725 | 8290 | =end original |
8726 | 8291 | |
8727 | 8292 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 |
8728 | 8293 | 演算子をタイプミスしましたか? |
8729 | 8294 | |
8730 | 8295 | =item Overloaded dereference did not return a reference |
8731 | 8296 | |
8732 | 8297 | =begin original |
8733 | 8298 | |
8734 | 8299 | (F) An object with an overloaded dereference operator was dereferenced, |
8735 | 8300 | but the overloaded operation did not return a reference. See |
8736 | 8301 | L<overload>. |
8737 | 8302 | |
8738 | 8303 | =end original |
8739 | 8304 | |
8740 | 8305 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが |
8741 | 8306 | デリファレンスされましたが、オーバーロード演算がリファレンスを |
8742 | 8307 | 返しませんでした。 |
8743 | 8308 | L<overload> を参照してください。 |
8744 | 8309 | |
8745 | 8310 | =item Overloaded qr did not return a REGEXP |
8746 | 8311 | |
8747 | 8312 | =begin original |
8748 | 8313 | |
8749 | 8314 | (F) An object with a C<qr> overload was used as part of a match, but the |
8750 | 8315 | overloaded operation didn't return a compiled regexp. See L<overload>. |
8751 | 8316 | |
8752 | 8317 | =end original |
8753 | 8318 | |
8754 | 8319 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として |
8755 | 8320 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を |
8756 | 8321 | 返しませんでした。 |
8757 | 8322 | L<overload> を参照してください。 |
8758 | 8323 | |
8759 | 8324 | =item %s package attribute may clash with future reserved word: %s |
8760 | 8325 | |
8761 | 8326 | =begin original |
8762 | 8327 | |
8763 | 8328 | (W reserved) A lowercase attribute name was used that had a |
8764 | 8329 | package-specific handler. That name might have a meaning to Perl itself |
8765 | 8330 | some day, even though it doesn't yet. Perhaps you should use a |
8766 | 8331 | mixed-case attribute name, instead. See L<attributes>. |
8767 | 8332 | |
8768 | 8333 | =end original |
8769 | 8334 | |
8770 | 8335 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
8771 | 8336 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
8772 | 8337 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
8773 | 8338 | L<attributes> を参照してください。 |
8774 | 8339 | |
8775 | 8340 | =item pack/unpack repeat count overflow |
8776 | 8341 | |
8777 | 8342 | =begin original |
8778 | 8343 | |
8779 | 8344 | (F) You can't specify a repeat count so large that it overflows your |
8780 | 8345 | signed integers. See L<perlfunc/pack>. |
8781 | 8346 | |
8782 | 8347 | =end original |
8783 | 8348 | |
8784 | 8349 | (F) 繰り返し回数として符号付き整数をオーバーフローするような |
8785 | 8350 | 値は指定できません。 |
8786 | 8351 | L<perlfunc/pack> を参照してください。 |
8787 | 8352 | |
8788 | 8353 | =item page overflow |
8789 | 8354 | |
8790 | 8355 | =begin original |
8791 | 8356 | |
8792 | 8357 | (W io) A single call to write() produced more lines than can fit on a |
8793 | 8358 | page. See L<perlform>. |
8794 | 8359 | |
8795 | 8360 | =end original |
8796 | 8361 | |
8797 | 8362 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が |
8798 | 8363 | できました。 |
8799 | 8364 | L<perlform> を参照してください。 |
8800 | 8365 | |
8801 | 8366 | =item panic: %s |
8802 | 8367 | |
8803 | 8368 | =begin original |
8804 | 8369 | |
8805 | 8370 | (P) An internal error. |
8806 | 8371 | |
8807 | 8372 | =end original |
8808 | 8373 | |
8809 | 8374 | (P) 内部エラーです。 |
8810 | 8375 | |
8811 | 8376 | =item panic: attempt to call %s in %s |
8812 | 8377 | |
8813 | 8378 | =begin original |
8814 | 8379 | |
8815 | 8380 | (P) One of the file test operators entered a code branch that calls |
8816 | 8381 | an ACL related-function, but that function is not available on this |
8817 | 8382 | platform. Earlier checks mean that it should not be possible to |
8818 | 8383 | enter this branch on this platform. |
8819 | 8384 | |
8820 | 8385 | =end original |
8821 | 8386 | |
8822 | 8387 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に |
8823 | 8388 | 入りましたが、この関数はこのプラットフォームでは利用できません。 |
8824 | 8389 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように |
8825 | 8390 | するべきことを意味します。 |
8826 | 8391 | |
8827 | =item panic: child pseudo-process was never scheduled | |
8828 | ||
8829 | =begin original | |
8830 | ||
8831 | (P) A child pseudo-process in the ithreads implementation on Windows | |
8832 | was not scheduled within the time period allowed and therefore was not | |
8833 | able to initialize properly. | |
8834 | ||
8835 | =end original | |
8836 | ||
8837 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に | |
8838 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
8839 | ||
8840 | 8392 | =item panic: ck_grep, type=%u |
8841 | 8393 | |
8842 | 8394 | =begin original |
8843 | 8395 | |
8844 | 8396 | (P) Failed an internal consistency check trying to compile a grep. |
8845 | 8397 | |
8846 | 8398 | =end original |
8847 | 8399 | |
8848 | 8400 | (P) grep をコンパイルしようとして、内部の一貫性チェックに |
8849 | 8401 | 引っ掛かりました。 |
8850 | 8402 | |
8851 | 8403 | =item panic: ck_split, type=%u |
8852 | 8404 | |
8853 | 8405 | =begin original |
8854 | 8406 | |
8855 | 8407 | (P) Failed an internal consistency check trying to compile a split. |
8856 | 8408 | |
8857 | 8409 | =end original |
8858 | 8410 | |
8859 | 8411 | (P) split をコンパイルしようとして、内部の一貫性チェックに |
8860 | 8412 | 引っ掛かりました。 |
8861 | 8413 | |
8862 | 8414 | =item panic: corrupt saved stack index %ld |
8863 | 8415 | |
8864 | 8416 | =begin original |
8865 | 8417 | |
8866 | 8418 | (P) The savestack was requested to restore more localized values than |
8867 | 8419 | there are in the savestack. |
8868 | 8420 | |
8869 | 8421 | =end original |
8870 | 8422 | |
8871 | 8423 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
8872 | 8424 | 要求がありました。 |
8873 | 8425 | |
8874 | 8426 | =item panic: del_backref |
8875 | 8427 | |
8876 | 8428 | =begin original |
8877 | 8429 | |
8878 | 8430 | (P) Failed an internal consistency check while trying to reset a weak |
8879 | 8431 | reference. |
8880 | 8432 | |
8881 | 8433 | =end original |
8882 | 8434 | |
8883 | 8435 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
8884 | 8436 | 一貫性チェックに引っ掛かりました。 |
8885 | 8437 | |
8886 | 8438 | =item panic: die %s |
8887 | 8439 | |
8888 | 8440 | =begin original |
8889 | 8441 | |
8890 | 8442 | (P) We popped the context stack to an eval context, and then discovered |
8891 | 8443 | it wasn't an eval context. |
8892 | 8444 | |
8893 | 8445 | =end original |
8894 | 8446 | |
8895 | 8447 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 |
8896 | 8448 | eval コンテキストでないことがわかりました。 |
8897 | 8449 | |
8898 | 8450 | =item panic: do_subst |
8899 | 8451 | |
8900 | 8452 | =begin original |
8901 | 8453 | |
8902 | 8454 | (P) The internal pp_subst() routine was called with invalid operational |
8903 | 8455 | data. |
8904 | 8456 | |
8905 | 8457 | =end original |
8906 | 8458 | |
8907 | 8459 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを |
8908 | 8460 | 付けて呼ばれました。 |
8909 | 8461 | |
8910 | 8462 | =item panic: do_trans_%s |
8911 | 8463 | |
8912 | 8464 | =begin original |
8913 | 8465 | |
8914 | 8466 | (P) The internal do_trans routines were called with invalid operational |
8915 | 8467 | data. |
8916 | 8468 | |
8917 | 8469 | =end original |
8918 | 8470 | |
8919 | 8471 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを |
8920 | 8472 | 付けて呼ばれました。 |
8921 | 8473 | |
8922 | 8474 | =item panic: fold_constants JMPENV_PUSH returned %d |
8923 | 8475 | |
8924 | 8476 | =begin original |
8925 | 8477 | |
8926 | 8478 | (P) While attempting folding constants an exception other than an C<eval> |
8927 | 8479 | failure was caught. |
8928 | 8480 | |
8929 | 8481 | =end original |
8930 | 8482 | |
8931 | 8483 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 |
8932 | 8484 | |
8933 | 8485 | =item panic: frexp |
8934 | 8486 | |
8935 | 8487 | =begin original |
8936 | 8488 | |
8937 | 8489 | (P) The library function frexp() failed, making printf("%f") impossible. |
8938 | 8490 | |
8939 | 8491 | =end original |
8940 | 8492 | |
8941 | 8493 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
8942 | 8494 | |
8943 | 8495 | =item panic: goto, type=%u, ix=%ld |
8944 | 8496 | |
8945 | 8497 | =begin original |
8946 | 8498 | |
8947 | 8499 | (P) We popped the context stack to a context with the specified label, |
8948 | 8500 | and then discovered it wasn't a context we know how to do a goto in. |
8949 | 8501 | |
8950 | 8502 | =end original |
8951 | 8503 | |
8952 | 8504 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
8953 | 8505 | ポップしたあと、どのように goto するかがわかっている |
8954 | 8506 | コンテキストでないことがわかりました。 |
8955 | 8507 | |
8956 | 8508 | =item panic: gp_free failed to free glob pointer |
8957 | 8509 | |
8958 | 8510 | =begin original |
8959 | 8511 | |
8960 | 8512 | (P) The internal routine used to clear a typeglob's entries tried |
8961 | 8513 | repeatedly, but each time something re-created entries in the glob. |
8962 | 8514 | Most likely the glob contains an object with a reference back to |
8963 | 8515 | the glob and a destructor that adds a new object to the glob. |
8964 | 8516 | |
8965 | 8517 | =end original |
8966 | 8518 | |
8967 | 8519 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 |
8968 | 8520 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 |
8969 | 8521 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを |
8970 | 8522 | 追加するデストラクタを持つオブジェクトが含まれています。 |
8971 | 8523 | |
8972 | 8524 | =item panic: INTERPCASEMOD, %s |
8973 | 8525 | |
8974 | 8526 | =begin original |
8975 | 8527 | |
8976 | 8528 | (P) The lexer got into a bad state at a case modifier. |
8977 | 8529 | |
8978 | 8530 | =end original |
8979 | 8531 | |
8980 | 8532 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
8981 | 8533 | |
8982 | 8534 | =item panic: INTERPCONCAT, %s |
8983 | 8535 | |
8984 | 8536 | =begin original |
8985 | 8537 | |
8986 | 8538 | (P) The lexer got into a bad state parsing a string with brackets. |
8987 | 8539 | |
8988 | 8540 | =end original |
8989 | 8541 | |
8990 | 8542 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 |
8991 | 8543 | |
8992 | 8544 | =item panic: kid popen errno read |
8993 | 8545 | |
8994 | 8546 | =begin original |
8995 | 8547 | |
8996 | 8548 | (F) forked child returned an incomprehensible message about its errno. |
8997 | 8549 | |
8998 | 8550 | =end original |
8999 | 8551 | |
9000 | 8552 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
9001 | 8553 | |
9002 | 8554 | =item panic: last, type=%u |
9003 | 8555 | |
9004 | 8556 | =begin original |
9005 | 8557 | |
9006 | 8558 | (P) We popped the context stack to a block context, and then discovered |
9007 | 8559 | it wasn't a block context. |
9008 | 8560 | |
9009 | 8561 | =end original |
9010 | 8562 | |
9011 | 8563 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
9012 | 8564 | block コンテキストでないことがわかりました。 |
9013 | 8565 | |
9014 | 8566 | =item panic: leave_scope clearsv |
9015 | 8567 | |
9016 | 8568 | =begin original |
9017 | 8569 | |
9018 | 8570 | (P) A writable lexical variable became read-only somehow within the |
9019 | 8571 | scope. |
9020 | 8572 | |
9021 | 8573 | =end original |
9022 | 8574 | |
9023 | 8575 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
9024 | 8576 | リードオンリーになりました。 |
9025 | 8577 | |
9026 | 8578 | =item panic: leave_scope inconsistency %u |
9027 | 8579 | |
9028 | 8580 | =begin original |
9029 | 8581 | |
9030 | 8582 | (P) The savestack probably got out of sync. At least, there was an |
9031 | 8583 | invalid enum on the top of it. |
9032 | 8584 | |
9033 | 8585 | =end original |
9034 | 8586 | |
9035 | 8587 | (P) おそらく、セーブスタックの同期がとれていません。 |
9036 | 8588 | 少なくとも、トップに不正な enum がありました。 |
9037 | 8589 | |
9038 | 8590 | =item panic: magic_killbackrefs |
9039 | 8591 | |
9040 | 8592 | =begin original |
9041 | 8593 | |
9042 | 8594 | (P) Failed an internal consistency check while trying to reset all weak |
9043 | 8595 | references to an object. |
9044 | 8596 | |
9045 | 8597 | =end original |
9046 | 8598 | |
9047 | 8599 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
9048 | 8600 | 一貫性チェックに引っ掛かりました。 |
9049 | 8601 | |
9050 | 8602 | =item panic: malloc, %s |
9051 | 8603 | |
9052 | 8604 | =begin original |
9053 | 8605 | |
9054 | 8606 | (P) Something requested a negative number of bytes of malloc. |
9055 | 8607 | |
9056 | 8608 | =end original |
9057 | 8609 | |
9058 | 8610 | (P) malloc に負のバイト数で要求が行なわれました。 |
9059 | 8611 | |
9060 | 8612 | =item panic: memory wrap |
9061 | 8613 | |
9062 | 8614 | =begin original |
9063 | 8615 | |
9064 | 8616 | (P) Something tried to allocate more memory than possible. |
9065 | 8617 | |
9066 | 8618 | =end original |
9067 | 8619 | |
9068 | 8620 | (P) 何かが、確保可能な量を超えるメモリを確保しようとしました。 |
9069 | 8621 | |
9070 | 8622 | =item panic: pad_alloc, %p!=%p |
9071 | 8623 | |
9072 | 8624 | =begin original |
9073 | 8625 | |
9074 | 8626 | (P) The compiler got confused about which scratch pad it was allocating |
9075 | 8627 | and freeing temporaries and lexicals from. |
9076 | 8628 | |
9077 | 8629 | =end original |
9078 | 8630 | |
9079 | 8631 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
9080 | 8632 | スクラッチパッドについて混乱しました。 |
9081 | 8633 | |
9082 | 8634 | =item panic: pad_free curpad, %p!=%p |
9083 | 8635 | |
9084 | 8636 | =begin original |
9085 | 8637 | |
9086 | 8638 | (P) The compiler got confused about which scratch pad it was allocating |
9087 | 8639 | and freeing temporaries and lexicals from. |
9088 | 8640 | |
9089 | 8641 | =end original |
9090 | 8642 | |
9091 | 8643 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
9092 | 8644 | スクラッチパッドについて混乱しました。 |
9093 | 8645 | |
9094 | 8646 | =item panic: pad_free po |
9095 | 8647 | |
9096 | 8648 | =begin original |
9097 | 8649 | |
9098 | 8650 | (P) An invalid scratch pad offset was detected internally. |
9099 | 8651 | |
9100 | 8652 | =end original |
9101 | 8653 | |
9102 | 8654 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
9103 | 8655 | |
9104 | 8656 | =item panic: pad_reset curpad, %p!=%p |
9105 | 8657 | |
9106 | 8658 | =begin original |
9107 | 8659 | |
9108 | 8660 | (P) The compiler got confused about which scratch pad it was allocating |
9109 | 8661 | and freeing temporaries and lexicals from. |
9110 | 8662 | |
9111 | 8663 | =end original |
9112 | 8664 | |
9113 | 8665 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
9114 | 8666 | スクラッチパッドについて混乱しました。 |
9115 | 8667 | |
9116 | 8668 | =item panic: pad_sv po |
9117 | 8669 | |
9118 | 8670 | =begin original |
9119 | 8671 | |
9120 | 8672 | (P) An invalid scratch pad offset was detected internally. |
9121 | 8673 | |
9122 | 8674 | =end original |
9123 | 8675 | |
9124 | 8676 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
9125 | 8677 | |
9126 | 8678 | =item panic: pad_swipe curpad, %p!=%p |
9127 | 8679 | |
9128 | 8680 | =begin original |
9129 | 8681 | |
9130 | 8682 | (P) The compiler got confused about which scratch pad it was allocating |
9131 | 8683 | and freeing temporaries and lexicals from. |
9132 | 8684 | |
9133 | 8685 | =end original |
9134 | 8686 | |
9135 | 8687 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
9136 | 8688 | スクラッチパッドについて混乱しました。 |
9137 | 8689 | |
9138 | 8690 | =item panic: pad_swipe po |
9139 | 8691 | |
9140 | 8692 | =begin original |
9141 | 8693 | |
9142 | 8694 | (P) An invalid scratch pad offset was detected internally. |
9143 | 8695 | |
9144 | 8696 | =end original |
9145 | 8697 | |
9146 | 8698 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
9147 | 8699 | |
9148 | 8700 | =item panic: pp_iter, type=%u |
9149 | 8701 | |
9150 | 8702 | =begin original |
9151 | 8703 | |
9152 | 8704 | (P) The foreach iterator got called in a non-loop context frame. |
9153 | 8705 | |
9154 | 8706 | =end original |
9155 | 8707 | |
9156 | 8708 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
9157 | 8709 | |
9158 | 8710 | =item panic: pp_match%s |
9159 | 8711 | |
9160 | 8712 | =begin original |
9161 | 8713 | |
9162 | 8714 | (P) The internal pp_match() routine was called with invalid operational |
9163 | 8715 | data. |
9164 | 8716 | |
9165 | 8717 | =end original |
9166 | 8718 | |
9167 | 8719 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを |
9168 | 8720 | 付けて呼ばれました。 |
9169 | 8721 | |
9170 | 8722 | =item panic: pp_split, pm=%p, s=%p |
9171 | 8723 | |
9172 | 8724 | =begin original |
9173 | 8725 | |
9174 | 8726 | (P) Something terrible went wrong in setting up for the split. |
9175 | 8727 | |
9176 | 8728 | =end original |
9177 | 8729 | |
9178 | 8730 | (P) split の準備中に何かまずいことが起こってしまいました。 |
9179 | 8731 | |
9180 | 8732 | =item panic: realloc, %s |
9181 | 8733 | |
9182 | 8734 | =begin original |
9183 | 8735 | |
9184 | 8736 | (P) Something requested a negative number of bytes of realloc. |
9185 | 8737 | |
9186 | 8738 | =end original |
9187 | 8739 | |
9188 | 8740 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
9189 | 8741 | |
9190 | 8742 | =item panic: reference miscount on nsv in sv_replace() (%d != 1) |
9191 | 8743 | |
9192 | 8744 | =begin original |
9193 | 8745 | |
9194 | 8746 | (P) The internal sv_replace() function was handed a new SV with a |
9195 | 8747 | reference count other than 1. |
9196 | 8748 | |
9197 | 8749 | =end original |
9198 | 8750 | |
9199 | 8751 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を |
9200 | 8752 | 扱いました。 |
9201 | 8753 | |
9202 | 8754 | =item panic: restartop in %s |
9203 | 8755 | |
9204 | 8756 | =begin original |
9205 | 8757 | |
9206 | 8758 | (P) Some internal routine requested a goto (or something like it), and |
9207 | 8759 | didn't supply the destination. |
9208 | 8760 | |
9209 | 8761 | =end original |
9210 | 8762 | |
9211 | 8763 | (P) 内部ルーティンから goto (または、同じようなもの) が |
9212 | 8764 | 要求されましたが、飛び先が与えれていません。 |
9213 | 8765 | |
9214 | 8766 | =item panic: return, type=%u |
9215 | 8767 | |
9216 | 8768 | =begin original |
9217 | 8769 | |
9218 | 8770 | (P) We popped the context stack to a subroutine or eval context, and |
9219 | 8771 | then discovered it wasn't a subroutine or eval context. |
9220 | 8772 | |
9221 | 8773 | =end original |
9222 | 8774 | |
9223 | 8775 | (P) サブルーチンコンテキストや eval コンテキストへ、 |
9224 | 8776 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや |
9225 | 8777 | eval コンテキストでないことがわかりました。 |
9226 | 8778 | |
9227 | 8779 | =item panic: scan_num, %s |
9228 | 8780 | |
9229 | 8781 | =begin original |
9230 | 8782 | |
9231 | 8783 | (P) scan_num() got called on something that wasn't a number. |
9232 | 8784 | |
9233 | 8785 | =end original |
9234 | 8786 | |
9235 | 8787 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
9236 | 8788 | |
9237 | =item panic: Sequence (?{...}): no code block found | |
9238 | ||
9239 | =begin original | |
9240 | ||
9241 | (P) while compiling a pattern that has embedded (?{}) or (??{}) code | |
9242 | blocks, perl couldn't locate the code block that should have already been | |
9243 | seen and compiled by perl before control passed to the regex compiler. | |
9244 | ||
9245 | =end original | |
9246 | ||
9247 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
9248 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
9249 | コンパイルされているコードブロックを発見できませんでした。 | |
9250 | ||
9251 | 8789 | =item panic: sv_chop %s |
9252 | 8790 | |
9253 | 8791 | =begin original |
9254 | 8792 | |
9255 | 8793 | (P) The sv_chop() routine was passed a position that is not within the |
9256 | 8794 | scalar's string buffer. |
9257 | 8795 | |
9258 | 8796 | =end original |
9259 | 8797 | |
9260 | 8798 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を |
9261 | 8799 | 渡されました。 |
9262 | 8800 | |
9263 | 8801 | =item panic: sv_insert, midend=%p, bigend=%p |
9264 | 8802 | |
9265 | 8803 | =begin original |
9266 | 8804 | |
9267 | 8805 | (P) The sv_insert() routine was told to remove more string than there |
9268 | 8806 | was string. |
9269 | 8807 | |
9270 | 8808 | =end original |
9271 | 8809 | |
9272 | 8810 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
9273 | 8811 | 指示されました。 |
9274 | 8812 | |
9275 | 8813 | =item panic: strxfrm() gets absurd - a => %u, ab => %u |
9276 | 8814 | |
9277 | 8815 | =begin original |
9278 | 8816 | |
9279 | 8817 | (P) The interpreter's sanity check of the C function strxfrm() failed. |
9280 | 8818 | In your current locale the returned transformation of the string "ab" is |
9281 | 8819 | shorter than that of the string "a", which makes no sense. |
9282 | 8820 | |
9283 | 8821 | =end original |
9284 | 8822 | |
9285 | 8823 | (P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。 |
9286 | 8824 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の |
9287 | 8825 | 変換で返されたものよりも短いので、おかしいです。 |
9288 | 8826 | |
9289 | 8827 | =item panic: top_env |
9290 | 8828 | |
9291 | 8829 | =begin original |
9292 | 8830 | |
9293 | 8831 | (P) The compiler attempted to do a goto, or something weird like that. |
9294 | 8832 | |
9295 | 8833 | =end original |
9296 | 8834 | |
9297 | 8835 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
9298 | 8836 | |
9299 | 8837 | =item panic: unimplemented op %s (#%d) called |
9300 | 8838 | |
9301 | 8839 | =begin original |
9302 | 8840 | |
9303 | 8841 | (P) The compiler is screwed up and attempted to use an op that isn't |
9304 | 8842 | permitted at run time. |
9305 | 8843 | |
9306 | 8844 | =end original |
9307 | 8845 | |
9308 | 8846 | (P) コンパイラがおかしくなって、実行時に許可されていない op を |
9309 | 8847 | しようとしました。 |
9310 | 8848 | |
9311 | 8849 | =item panic: utf16_to_utf8: odd bytelen |
9312 | 8850 | |
9313 | 8851 | =begin original |
9314 | 8852 | |
9315 | 8853 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
9316 | 8854 | to even) byte length. |
9317 | 8855 | |
9318 | 8856 | =end original |
9319 | 8857 | |
9320 | 8858 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
9321 | 8859 | 呼び出そうとしました。 |
9322 | 8860 | |
9323 | 8861 | =item panic: utf16_to_utf8_reversed: odd bytelen |
9324 | 8862 | |
9325 | 8863 | =begin original |
9326 | 8864 | |
9327 | 8865 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed |
9328 | 8866 | to even) byte length. |
9329 | 8867 | |
9330 | 8868 | =end original |
9331 | 8869 | |
9332 | 8870 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 |
9333 | 8871 | |
9334 | 8872 | =item panic: yylex, %s |
9335 | 8873 | |
9336 | 8874 | =begin original |
9337 | 8875 | |
9338 | 8876 | (P) The lexer got into a bad state while processing a case modifier. |
9339 | 8877 | |
9340 | 8878 | =end original |
9341 | 8879 | |
9342 | 8880 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 |
9343 | 8881 | |
9344 | =item Par | |
8882 | =item Parsing code internal error (%s) | |
9345 | 8883 | |
9346 | 8884 | =begin original |
9347 | 8885 | |
9348 | ( | |
8886 | (F) Parsing code supplied by an extension violated the parser's API in | |
8887 | a detectable way. | |
9349 | 8888 | |
9350 | 8889 | =end original |
9351 | 8890 | |
9352 | ( | |
8891 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
8892 | パーサの API に違反しています。 | |
9353 | 8893 | |
9354 | | |
8894 | =item Pattern subroutine nesting without pos change exceeded limit in regex; marked by <-- HERE in m/%s/ | |
9355 | 8895 | |
9356 | 8896 | =begin original |
9357 | 8897 | |
9358 | ||
8898 | (F) You used a pattern that uses too many nested subpattern calls without | |
8899 | consuming any text. Restructure the pattern so text is consumed before | |
8900 | the nesting limit is exceeded. | |
9359 | 8901 | |
9360 | 8902 | =end original |
9361 | 8903 | |
9362 | ||
8904 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
8905 | パターンを使いました。 | |
8906 | ネストの制限を越える前にテキストを消費するようにパターンを | |
8907 | 再構成してください。 | |
9363 | 8908 | |
9364 | my ($foo, $bar) = @_; | |
9365 | ||
9366 | 8909 | =begin original |
9367 | 8910 | |
9368 | ||
8911 | The <-- HERE shows in the regular expression about where the problem was | |
8912 | discovered. | |
9369 | 8913 | |
9370 | 8914 | =end original |
9371 | 8915 | |
9372 | ||
8916 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9373 | 忘れないでください。 | |
9374 | 8917 | |
9375 | =item Par | |
8918 | =item Parentheses missing around "%s" list | |
9376 | 8919 | |
9377 | 8920 | =begin original |
9378 | 8921 | |
9379 | ( | |
8922 | (W parenthesis) You said something like | |
9380 | a detectable way. | |
9381 | 8923 | |
9382 | 8924 | =end original |
9383 | 8925 | |
9384 | ( | |
8926 | (W parenthesis) おそらく以下のようにしたのでしょう: | |
9385 | パーサの API に違反しています。 | |
9386 | 8927 | |
9387 | ||
8928 | my $foo, $bar = @_; | |
9388 | 8929 | |
9389 | 8930 | =begin original |
9390 | 8931 | |
9391 | ||
8932 | when you meant | |
9392 | core or in XS code. Such code was trying to find out if a character, | |
9393 | allegedly stored internally encoded as UTF-8, was of a given type, such | |
9394 | as being punctuation or a digit. But the character was not encoded in | |
9395 | legal UTF-8. The C<%s> is replaced by a string that can be used by | |
9396 | knowledgeable people to determine what the type being checked against | |
9397 | was. If C<utf8> warnings are enabled, a further message is raised, | |
9398 | giving details of the malformation. | |
9399 | 8933 | |
9400 | 8934 | =end original |
9401 | 8935 | |
9402 | ||
8936 | 以下のようにすべきです: | |
9403 | あることを示しています。 | |
9404 | このコードは、内部で UTF-8 にエンコードしているとされている文字が、 | |
9405 | 句読点や数字といった特定の種類かどうかを調べようとしました。 | |
9406 | しかしその文字は正当な UTF-8 としてエンコードされていませんでした。 | |
9407 | C<%s> は、知識のある人々がチェックするべき型を決定するために使われる文字列で | |
9408 | 置き換えられます。 | |
9409 | C<utf8> 警告が有効なら、不正な形の詳細が記されたさらなるメッセージが | |
9410 | 出力されます。 | |
9411 | 8937 | |
9412 | ||
8938 | my ($foo, $bar) = @_; | |
9413 | marked by <-- HERE in m/%s/ | |
9414 | 8939 | |
9415 | 8940 | =begin original |
9416 | 8941 | |
9417 | ||
8942 | Remember that "my", "our", "local" and "state" bind tighter than comma. | |
9418 | consuming any text. Restructure the pattern so text is consumed before | |
9419 | the nesting limit is exceeded. | |
9420 | 8943 | |
9421 | 8944 | =end original |
9422 | 8945 | |
9423 | ||
8946 | "my", "our", "local", "state" は、コンマよりも強く結合することを | |
9424 | ||
8947 | 忘れないでください。 | |
9425 | ネストの制限を越える前にテキストを消費するようにパターンを | |
9426 | 再構成してください。 | |
9427 | 8948 | |
9428 | =begin original | |
9429 | ||
9430 | The <-- HERE shows whereabouts in the regular expression the problem was | |
9431 | discovered. | |
9432 | ||
9433 | =end original | |
9434 | ||
9435 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9436 | ||
9437 | 8949 | =item C<-p> destination: %s |
9438 | 8950 | |
9439 | 8951 | =begin original |
9440 | 8952 | |
9441 | 8953 | (F) An error occurred during the implicit output invoked by the C<-p> |
9442 | 8954 | command-line switch. (This output goes to STDOUT unless you've |
9443 | 8955 | redirected it with select().) |
9444 | 8956 | |
9445 | 8957 | =end original |
9446 | 8958 | |
9447 | 8959 | (F) C<-p> コマンドラインオプションで起動された |
9448 | 8960 | 暗黙の出力中にエラーが発生しました。 |
9449 | 8961 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) |
9450 | 8962 | |
9451 | 8963 | =item (perhaps you forgot to load "%s"?) |
9452 | 8964 | |
9453 | 8965 | =begin original |
9454 | 8966 | |
9455 | 8967 | (F) This is an educated guess made in conjunction with the message |
9456 | 8968 | "Can't locate object method \"%s\" via package \"%s\"". It often means |
9457 | 8969 | that a method requires a package that has not been loaded. |
9458 | 8970 | |
9459 | 8971 | =end original |
9460 | 8972 | |
9461 | 8973 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の |
9462 | 8974 | メッセージと共に出る教育的な推測です。 |
9463 | 8975 | これはしばしばメソッドがまだロードされていないパッケージを |
9464 | 8976 | 要求していることを意味します。 |
9465 | 8977 | |
9466 | =item Perl folding rules are not up-to-date for 0x% | |
8978 | =item Perl folding rules are not up-to-date for 0x%x; please use the perlbug utility to report | |
9467 | utility to report; in regex; marked by <-- HERE in m/%s/ | |
9468 | 8979 | |
9469 | 8980 | =begin original |
9470 | 8981 | |
9471 | ( | |
8982 | (W regex, deprecated) You used a regular expression with | |
9472 | 8983 | case-insensitive matching, and there is a bug in Perl in which the |
9473 | 8984 | built-in regular expression folding rules are not accurate. This may |
9474 | 8985 | lead to incorrect results. Please report this as a bug using the |
9475 | ||
8986 | "perlbug" utility. (This message is marked deprecated, so that it by | |
9476 | 8987 | default will be turned-on.) |
9477 | 8988 | |
9478 | 8989 | =end original |
9479 | 8990 | |
9480 | ( | |
8991 | (W regex, deprecated) 大文字小文字を無視するマッチングを行う正規表現を | |
9481 | 8992 | 使いました; そして組み込みの正規表現畳み込み規則が正確でないという |
9482 | 8993 | Perl のバグがありました。 |
9483 | 8994 | これは間違った結果を引き起こします。 |
9484 | どうか | |
8995 | どうか "perlbug" ユーティリティを使ってバグとして報告してください。 | |
9485 | 8996 | (このメッセージは廃止予定としてマークされているので、デフォルトでは |
9486 | 8997 | オンになっています。) |
9487 | 8998 | |
9488 | 8999 | =item Perl_my_%s() not available |
9489 | 9000 | |
9490 | 9001 | =begin original |
9491 | 9002 | |
9492 | 9003 | (F) Your platform has very uncommon byte-order and integer size, |
9493 | 9004 | so it was not possible to set up some or all fixed-width byte-order |
9494 | 9005 | conversion functions. This is only a problem when you're using the |
9495 | 9006 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. |
9496 | 9007 | |
9497 | 9008 | =end original |
9498 | 9009 | |
9499 | 9010 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを |
9500 | 9011 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 |
9501 | 9012 | これは (un)pack テンプレートの中で |
9502 | 9013 | '<' か '>' の修飾子を使った場合にのみ問題となります。 |
9503 | 9014 | L<perlfunc/pack> を参照してください。 |
9504 | 9015 | |
9505 | 9016 | =item Perl %s required (did you mean %s?)--this is only %s, stopped |
9506 | 9017 | |
9507 | 9018 | =begin original |
9508 | 9019 | |
9509 | 9020 | (F) The code you are trying to run has asked for a newer version of |
9510 | 9021 | Perl than you are running. Perhaps C<use 5.10> was written instead |
9511 | 9022 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is |
9512 | 9023 | interpreted as a decimal, with every three digits after the |
9513 | 9024 | decimal point representing a part of the version number. So 5.10 |
9514 | 9025 | is equivalent to v5.100. |
9515 | 9026 | |
9516 | 9027 | =end original |
9517 | 9028 | |
9518 | 9029 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを |
9519 | 9030 | 尋ねました。 |
9520 | 9031 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と |
9521 | 9032 | 書かれているのでしょう。 |
9522 | 9033 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の |
9523 | 9034 | 部分を表現していると解釈されます。 |
9524 | 9035 | それで、5.10 は v5.100 と等価です。 |
9525 | 9036 | |
9526 | 9037 | =item Perl %s required--this is only version %s, stopped |
9527 | 9038 | |
9528 | 9039 | =begin original |
9529 | 9040 | |
9530 | 9041 | (F) The module in question uses features of a version of Perl more |
9531 | 9042 | recent than the currently running version. How long has it been since |
9532 | 9043 | you upgraded, anyway? See L<perlfunc/require>. |
9533 | 9044 | |
9534 | 9045 | =end original |
9535 | 9046 | |
9536 | 9047 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
9537 | 9048 | 機能を使っています。 |
9538 | 9049 | ところで、いつからアップグレードしていないのですか? |
9539 | 9050 | L<perlfunc/require> を参照してください。 |
9540 | 9051 | |
9541 | 9052 | =item PERL_SH_DIR too long |
9542 | 9053 | |
9543 | 9054 | =begin original |
9544 | 9055 | |
9545 | 9056 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the |
9546 | 9057 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
9547 | 9058 | |
9548 | 9059 | =end original |
9549 | 9060 | |
9550 | 9061 | (F) OS/2 固有のエラーです。 |
9551 | 9062 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
9552 | 9063 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
9553 | 9064 | |
9554 | 9065 | =item PERL_SIGNALS illegal: "%s" |
9555 | 9066 | |
9556 | 9067 | =begin original |
9557 | 9068 | |
9558 | ||
9069 | See L<perlrun/PERL_SIGNALS> for legal values. | |
9559 | 9070 | |
9560 | 9071 | =end original |
9561 | 9072 | |
9562 | ||
9073 | 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
9563 | 9074 | |
9564 | 9075 | =item Perls since %s too modern--this is %s, stopped |
9565 | 9076 | |
9566 | 9077 | =begin original |
9567 | 9078 | |
9568 | 9079 | (F) The code you are trying to run claims it will not run |
9569 | 9080 | on the version of Perl you are using because it is too new. |
9570 | 9081 | Maybe the code needs to be updated, or maybe it is simply |
9571 | 9082 | wrong and the version check should just be removed. |
9572 | 9083 | |
9573 | 9084 | =end original |
9574 | 9085 | |
9575 | 9086 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると |
9576 | 9087 | 主張しています。 |
9577 | 9088 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に |
9578 | 9089 | バージョンチェックを削除するべきかもしれません。 |
9579 | 9090 | |
9580 | 9091 | =item perl: warning: Setting locale failed. |
9581 | 9092 | |
9582 | 9093 | =begin original |
9583 | 9094 | |
9584 | 9095 | (S) The whole warning message will look something like: |
9585 | 9096 | |
9586 | 9097 | =end original |
9587 | 9098 | |
9588 | 9099 | (S) 警告全体は以下のような形になります: |
9589 | 9100 | |
9590 | 9101 | perl: warning: Setting locale failed. |
9591 | 9102 | perl: warning: Please check that your locale settings: |
9592 | 9103 | LC_ALL = "En_US", |
9593 | 9104 | LANG = (unset) |
9594 | 9105 | are supported and installed on your system. |
9595 | 9106 | perl: warning: Falling back to the standard locale ("C"). |
9596 | 9107 | |
9597 | 9108 | =begin original |
9598 | 9109 | |
9599 | 9110 | Exactly what were the failed locale settings varies. In the above the |
9600 | 9111 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
9601 | 9112 | This error means that Perl detected that you and/or your operating |
9602 | 9113 | system supplier and/or system administrator have set up the so-called |
9603 | 9114 | locale system but Perl could not use those settings. This was not |
9604 | 9115 | dead serious, fortunately: there is a "default locale" called "C" that |
9605 | 9116 | Perl can and will use, and the script will be run. Before you really |
9606 | 9117 | fix the problem, however, you will get the same error message each |
9607 | 9118 | time you run Perl. How to really fix the problem can be found in |
9608 | 9119 | L<perllocale> section B<LOCALE PROBLEMS>. |
9609 | 9120 | |
9610 | 9121 | =end original |
9611 | 9122 | |
9612 | 9123 | 正確にどのロケール設定が失敗したのかは様々です。 |
9613 | 9124 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
9614 | 9125 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
9615 | 9126 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
9616 | 9127 | 検出したことを意味します。 |
9617 | 9128 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
9618 | 9129 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
9619 | 9130 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
9620 | 9131 | メッセージが表示されます。 |
9621 | 9132 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
9622 | 9133 | 章にあります。 |
9623 | 9134 | |
9624 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
9625 | ||
9626 | =begin original | |
9627 | ||
9628 | (W) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
9629 | contained a non hex character. This could mean you are not using the hash | |
9630 | seed you think you are. | |
9631 | ||
9632 | =end original | |
9633 | ||
9634 | (W) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
9635 | 非 16 進数文字を含む必要があります。 | |
9636 | これは、考えているようなハッシュの種が使われないことを | |
9637 | 意味しているかもしれません。 | |
9638 | ||
9639 | =item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s' | |
9640 | ||
9641 | =begin original | |
9642 | ||
9643 | (W) Perl was run with the environment variable PERL_PERTURB_KEYS defined | |
9644 | but containing an unexpected value. The legal values of this setting | |
9645 | are as follows. | |
9646 | ||
9647 | =end original | |
9648 | ||
9649 | (W) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが | |
9650 | 想定外の値でした。 | |
9651 | この設定の正当な値は以下のものです。 | |
9652 | ||
9653 | Numeric | String | Result | |
9654 | --------+---------------+----------------------------------------- | |
9655 | 0 | NO | Disables key traversal randomization | |
9656 | 1 | RANDOM | Enables full key traversal randomization | |
9657 | 2 | DETERMINISTIC | Enables repeatable key traversal randomization | |
9658 | ||
9659 | =begin original | |
9660 | ||
9661 | Both numeric and string values are accepted, but note that string values are | |
9662 | case sensitive. The default for this setting is "RANDOM" or 1. | |
9663 | ||
9664 | =end original | |
9665 | ||
9666 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
9667 | 区別することに注意してください。 | |
9668 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
9669 | ||
9670 | 9135 | =item pid %x not a child |
9671 | 9136 | |
9672 | 9137 | =begin original |
9673 | 9138 | |
9674 | 9139 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
9675 | 9140 | process which isn't a subprocess of the current process. While this is |
9676 | 9141 | fine from VMS' perspective, it's probably not what you intended. |
9677 | 9142 | |
9678 | 9143 | =end original |
9679 | 9144 | |
9680 | 9145 | (W exec) VMS に固有の警告です。 |
9681 | 9146 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
9682 | 9147 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
9683 | 9148 | ないでしょう。 |
9684 | 9149 | |
9685 | 9150 | =item 'P' must have an explicit size in unpack |
9686 | 9151 | |
9687 | 9152 | =begin original |
9688 | 9153 | |
9689 | 9154 | (F) The unpack format P must have an explicit size, not "*". |
9690 | 9155 | |
9691 | 9156 | =end original |
9692 | 9157 | |
9693 | 9158 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを |
9694 | 9159 | 指定しなければなりません。 |
9695 | 9160 | |
9696 | 9161 | =item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/ |
9697 | 9162 | |
9698 | 9163 | =begin original |
9699 | 9164 | |
9700 | 9165 | (F) The class in the character class [: :] syntax is unknown. The <-- HERE |
9701 | shows | |
9166 | shows in the regular expression about where the problem was discovered. | |
9702 | 9167 | Note that the POSIX character classes do B<not> have the C<is> prefix |
9703 | 9168 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, |
9704 | 9169 | not C<isprint>. See L<perlre>. |
9705 | 9170 | |
9706 | 9171 | =end original |
9707 | 9172 | |
9708 | 9173 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 |
9709 | 9174 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9710 | 9175 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が |
9711 | 9176 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 |
9712 | 9177 | C<isprint> ではありません。 |
9713 | 9178 | L<perlre> を参照してください。 |
9714 | 9179 | |
9715 | 9180 | =item POSIX getpgrp can't take an argument |
9716 | 9181 | |
9717 | 9182 | =begin original |
9718 | 9183 | |
9719 | 9184 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike |
9720 | 9185 | the BSD version, which takes a pid. |
9721 | 9186 | |
9722 | 9187 | =end original |
9723 | 9188 | |
9724 | 9189 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの |
9725 | 9190 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 |
9726 | 9191 | |
9727 | =item POSIX syntax [% | |
9192 | =item POSIX syntax [%s] belongs inside character classes in regex; marked by <-- HERE in m/%s/ | |
9728 | <-- HERE in m/%s/ | |
9729 | 9193 | |
9730 | 9194 | =begin original |
9731 | 9195 | |
9732 | 9196 | (W regexp) The character class constructs [: :], [= =], and [. .] go |
9733 | 9197 | I<inside> character classes, the [] are part of the construct, for example: |
9734 | 9198 | /[012[:alpha:]345]/. Note that [= =] and [. .] are not currently |
9735 | implemented; they are simply placeholders for future extensions and | |
9199 | implemented; they are simply placeholders for future extensions and will | |
9736 | ||
9200 | cause fatal errors. The <-- HERE shows in the regular expression about | |
9737 | e | |
9201 | where the problem was discovered. See L<perlre>. | |
9738 | 9202 | |
9739 | 9203 | =end original |
9740 | 9204 | |
9741 | 9205 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], |
9742 | 9206 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 |
9743 | 9207 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
9744 | 9208 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
9745 | 9209 | 生成します。 |
9746 | 9210 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9747 | 9211 | L<perlre> を参照してください。 |
9748 | 9212 | |
9749 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
9213 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/%s/ | |
9750 | <-- HERE in m/%s/ | |
9751 | 9214 | |
9752 | 9215 | =begin original |
9753 | 9216 | |
9754 | (F) Within regular expression character classes ([]) the syntax | |
9217 | (F regexp) Within regular expression character classes ([]) the syntax | |
9755 | with "[." and ending with ".]" is reserved for future extensions. | |
9218 | beginning with "[." and ending with ".]" is reserved for future extensions. | |
9756 | need to represent those character sequences inside a regular | |
9219 | If you need to represent those character sequences inside a regular | |
9757 | character class, just quote the square brackets with the | |
9220 | expression character class, just quote the square brackets with the | |
9758 | and ".\]". The <-- HERE shows | |
9221 | backslash: "\[." and ".\]". The <-- HERE shows in the regular expression | |
9759 | problem was discovered. See L<perlre>. | |
9222 | about where the problem was discovered. See L<perlre>. | |
9760 | 9223 | |
9761 | 9224 | =end original |
9762 | 9225 | |
9763 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
9226 | (F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
9764 | 9227 | 終わる文法は将来の拡張のために予約されます。 |
9765 | 9228 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
9766 | 9229 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
9767 | 9230 | クォートしてください。 |
9768 | 9231 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9769 | 9232 | L<perlre> を参照してください。 |
9770 | 9233 | |
9771 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
9234 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by <-- HERE in m/%s/ | |
9772 | <-- HERE in m/%s/ | |
9773 | 9235 | |
9774 | 9236 | =begin original |
9775 | 9237 | |
9776 | 9238 | (F) Within regular expression character classes ([]) the syntax beginning |
9777 | 9239 | with "[=" and ending with "=]" is reserved for future extensions. If you |
9778 | 9240 | need to represent those character sequences inside a regular expression |
9779 | 9241 | character class, just quote the square brackets with the backslash: "\[=" |
9780 | and "=\]". The <-- HERE shows | |
9242 | and "=\]". The <-- HERE shows in the regular expression about where the | |
9781 | 9243 | problem was discovered. See L<perlre>. |
9782 | 9244 | |
9783 | 9245 | =end original |
9784 | 9246 | |
9785 | 9247 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
9786 | 9248 | 終わる文法は将来の拡張のために予約されます。 |
9787 | 9249 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
9788 | 9250 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
9789 | 9251 | クォートしてください。 |
9790 | 9252 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9791 | 9253 | L<perlre> を参照してください。 |
9792 | 9254 | |
9793 | 9255 | =item Possible attempt to put comments in qw() list |
9794 | 9256 | |
9795 | 9257 | =begin original |
9796 | 9258 | |
9797 | 9259 | (W qw) qw() lists contain items separated by whitespace; as with literal |
9798 | 9260 | strings, comment characters are not ignored, but are instead treated as |
9799 | 9261 | literal data. (You may have used different delimiters than the |
9800 | 9262 | parentheses shown here; braces are also frequently used.) |
9801 | 9263 | |
9802 | 9264 | =end original |
9803 | 9265 | |
9804 | 9266 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
9805 | 9267 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
9806 | 9268 | (ここで使われているのと違うデリミタを用いているかもしれません; |
9807 | 9269 | 大かっこもよく使われます。) |
9808 | 9270 | |
9809 | 9271 | =begin original |
9810 | 9272 | |
9811 | 9273 | You probably wrote something like this: |
9812 | 9274 | |
9813 | 9275 | =end original |
9814 | 9276 | |
9815 | 9277 | おそらく以下のように書いたのでしょう: |
9816 | 9278 | |
9817 | 9279 | @list = qw( |
9818 | 9280 | a # a comment |
9819 | 9281 | b # another comment |
9820 | 9282 | ); |
9821 | 9283 | |
9822 | 9284 | =begin original |
9823 | 9285 | |
9824 | 9286 | when you should have written this: |
9825 | 9287 | |
9826 | 9288 | =end original |
9827 | 9289 | |
9828 | 9290 | 以下のように書くべきです: |
9829 | 9291 | |
9830 | 9292 | @list = qw( |
9831 | 9293 | a |
9832 | 9294 | b |
9833 | 9295 | ); |
9834 | 9296 | |
9835 | 9297 | =begin original |
9836 | 9298 | |
9837 | 9299 | If you really want comments, build your list the |
9838 | 9300 | old-fashioned way, with quotes and commas: |
9839 | 9301 | |
9840 | 9302 | =end original |
9841 | 9303 | |
9842 | 9304 | 本当にコメントをつけたいのなら、 |
9843 | 9305 | リストを昔のクォートとカンマの形で書いてください。 |
9844 | 9306 | |
9845 | 9307 | @list = ( |
9846 | 9308 | 'a', # a comment |
9847 | 9309 | 'b', # another comment |
9848 | 9310 | ); |
9849 | 9311 | |
9850 | 9312 | =item Possible attempt to separate words with commas |
9851 | 9313 | |
9852 | 9314 | =begin original |
9853 | 9315 | |
9854 | 9316 | (W qw) qw() lists contain items separated by whitespace; therefore |
9855 | 9317 | commas aren't needed to separate the items. (You may have used |
9856 | 9318 | different delimiters than the parentheses shown here; braces are also |
9857 | 9319 | frequently used.) |
9858 | 9320 | |
9859 | 9321 | =end original |
9860 | 9322 | |
9861 | 9323 | (W qw) qw() リストに空白で分割された項目があります; |
9862 | 9324 | そのため、カンマは項目を分割する必要がありません。 |
9863 | 9325 | (ここで使われているのと違うデリミタを用いているかもしれません; |
9864 | 9326 | 大かっこもよく使われます。) |
9865 | 9327 | |
9866 | 9328 | =begin original |
9867 | 9329 | |
9868 | 9330 | You probably wrote something like this: |
9869 | 9331 | |
9870 | 9332 | =end original |
9871 | 9333 | |
9872 | 9334 | おそらく以下のように書いたのでしょう: |
9873 | 9335 | |
9874 | 9336 | qw! a, b, c !; |
9875 | 9337 | |
9876 | 9338 | =begin original |
9877 | 9339 | |
9878 | 9340 | which puts literal commas into some of the list items. Write it without |
9879 | 9341 | commas if you don't want them to appear in your data: |
9880 | 9342 | |
9881 | 9343 | =end original |
9882 | 9344 | |
9883 | 9345 | リスト要素の中にリテラルのカンマを書いています。 |
9884 | 9346 | データの中にカンマを出したくないなら、カンマなしで書きます: |
9885 | 9347 | |
9886 | 9348 | qw! a b c !; |
9887 | 9349 | |
9888 | 9350 | =item Possible memory corruption: %s overflowed 3rd argument |
9889 | 9351 | |
9890 | 9352 | =begin original |
9891 | 9353 | |
9892 | 9354 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
9893 | 9355 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
9894 | 9356 | end of the buffer just in case. This sentinel byte got clobbered, and |
9895 | 9357 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
9896 | 9358 | |
9897 | 9359 | =end original |
9898 | 9360 | |
9899 | 9361 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
9900 | 9362 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
9901 | 9363 | 最後に目印を付けています。 |
9902 | 9364 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
9903 | 9365 | L<perlfunc/ioctl> を参照してください。 |
9904 | 9366 | |
9905 | 9367 | =item Possible precedence problem on bitwise %c operator |
9906 | 9368 | |
9907 | 9369 | =begin original |
9908 | 9370 | |
9909 | 9371 | (W precedence) Your program uses a bitwise logical operator in conjunction |
9910 | 9372 | with a numeric comparison operator, like this : |
9911 | 9373 | |
9912 | 9374 | =end original |
9913 | 9375 | |
9914 | 9376 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と |
9915 | 9377 | 結合して使用しています: |
9916 | 9378 | |
9917 | 9379 | if ($x & $y == 0) { ... } |
9918 | 9380 | |
9919 | 9381 | =begin original |
9920 | 9382 | |
9921 | 9383 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the |
9922 | 9384 | higher precedence of C<==>. This is probably not what you want. (If you |
9923 | 9385 | really meant to write this, disable the warning, or, better, put the |
9924 | 9386 | parentheses explicitly and write C<$x & ($y == 0)>). |
9925 | 9387 | |
9926 | 9388 | =end original |
9927 | 9389 | |
9928 | 9390 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と |
9929 | 9391 | 等価になります。 |
9930 | 9392 | これはおそらく望んでいるものではないでしょう。 |
9931 | 9393 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは |
9932 | 9394 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 |
9933 | 9395 | |
9934 | 9396 | =item Possible unintended interpolation of $\ in regex |
9935 | 9397 | |
9936 | 9398 | =begin original |
9937 | 9399 | |
9938 | 9400 | (W ambiguous) You said something like C<m/$\/> in a regex. |
9939 | 9401 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output |
9940 | 9402 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) |
9941 | 9403 | followed by the word 'bar'. |
9942 | 9404 | |
9943 | 9405 | =end original |
9944 | 9406 | |
9945 | 9407 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 |
9946 | 9408 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 |
9947 | 9409 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 |
9948 | 9410 | 'bar' にマッチングします。 |
9949 | 9411 | |
9950 | 9412 | =begin original |
9951 | 9413 | |
9952 | 9414 | If this is what you intended then you can silence the warning by using |
9953 | 9415 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). |
9954 | 9416 | |
9955 | 9417 | =end original |
9956 | 9418 | |
9957 | 9419 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます |
9958 | 9420 | (例えば: C<m/foo${\}s+bar/>)。 |
9959 | 9421 | |
9960 | 9422 | =begin original |
9961 | 9423 | |
9962 | 9424 | If instead you intended to match the word 'foo' at the end of the line |
9963 | 9425 | followed by whitespace and the word 'bar' on the next line then you can use |
9964 | 9426 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). |
9965 | 9427 | |
9966 | 9428 | =end original |
9967 | 9429 | |
9968 | 9430 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に |
9969 | 9431 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: |
9970 | 9432 | C<m/foo$(?)\s+bar/>)。 |
9971 | 9433 | |
9972 | 9434 | =item Possible unintended interpolation of %s in string |
9973 | 9435 | |
9974 | 9436 | =begin original |
9975 | 9437 | |
9976 | 9438 | (W ambiguous) You said something like '@foo' in a double-quoted string |
9977 | 9439 | but there was no array C<@foo> in scope at the time. If you wanted a |
9978 | 9440 | literal @foo, then write it as \@foo; otherwise find out what happened |
9979 | 9441 | to the array you apparently lost track of. |
9980 | 9442 | |
9981 | 9443 | =end original |
9982 | 9444 | |
9983 | 9445 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 |
9984 | 9446 | 現在のスコープ内に C<@foo> という配列はありません。 |
9985 | 9447 | リテラルな @foo を指定したい場合は、\@foo と書いてください; |
9986 | 9448 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを |
9987 | 9449 | 調べてください。 |
9988 | 9450 | |
9989 | 9451 | =item Precedence problem: open %s should be open(%s) |
9990 | 9452 | |
9991 | 9453 | =begin original |
9992 | 9454 | |
9993 | 9455 | (S precedence) The old irregular construct |
9994 | 9456 | |
9995 | 9457 | =end original |
9996 | 9458 | |
9997 | 9459 | (S precedence) 古い変則的な構文 |
9998 | 9460 | |
9999 | 9461 | open FOO || die; |
10000 | 9462 | |
10001 | 9463 | =begin original |
10002 | 9464 | |
10003 | 9465 | is now misinterpreted as |
10004 | 9466 | |
10005 | 9467 | =end original |
10006 | 9468 | |
10007 | 9469 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
10008 | 9470 | リスト演算子と解釈されますので、 |
10009 | 9471 | |
10010 | 9472 | open(FOO || die); |
10011 | 9473 | |
10012 | 9474 | =begin original |
10013 | 9475 | |
10014 | 9476 | because of the strict regularization of Perl 5's grammar into unary and |
10015 | 9477 | list operators. (The old open was a little of both.) You must put |
10016 | 9478 | parentheses around the filehandle, or use the new "or" operator instead |
10017 | 9479 | of "||". |
10018 | 9480 | |
10019 | 9481 | =end original |
10020 | 9482 | |
10021 | 9483 | という風に誤った解釈がなされます。 |
10022 | 9484 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
10023 | 9485 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに |
10024 | 9486 | "or" 演算子を使わなくてはなりません。 |
10025 | 9487 | |
10026 | 9488 | =item Premature end of script headers |
10027 | 9489 | |
10028 | 9490 | =begin original |
10029 | 9491 | |
10030 | 9492 | See Server error. |
10031 | 9493 | |
10032 | 9494 | =end original |
10033 | 9495 | |
10034 | 9496 | "Server error" を参照してください。 |
10035 | 9497 | |
10036 | 9498 | =item printf() on closed filehandle %s |
10037 | 9499 | |
10038 | 9500 | =begin original |
10039 | 9501 | |
10040 | 9502 | (W closed) The filehandle you're writing to got itself closed sometime |
10041 | 9503 | before now. Check your control flow. |
10042 | 9504 | |
10043 | 9505 | =end original |
10044 | 9506 | |
10045 | 9507 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
10046 | 9508 | 制御フローをチェックしてください。 |
10047 | 9509 | |
10048 | 9510 | =item print() on closed filehandle %s |
10049 | 9511 | |
10050 | 9512 | =begin original |
10051 | 9513 | |
10052 | 9514 | (W closed) The filehandle you're printing on got itself closed sometime |
10053 | 9515 | before now. Check your control flow. |
10054 | 9516 | |
10055 | 9517 | =end original |
10056 | 9518 | |
10057 | 9519 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 |
10058 | 9520 | 制御フローをチェックしてください。 |
10059 | 9521 | |
10060 | 9522 | =item Process terminated by SIG%s |
10061 | 9523 | |
10062 | 9524 | =begin original |
10063 | 9525 | |
10064 | 9526 | (W) This is a standard message issued by OS/2 applications, while *nix |
10065 | 9527 | applications die in silence. It is considered a feature of the OS/2 |
10066 | 9528 | port. One can easily disable this by appropriate sighandlers, see |
10067 | 9529 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
10068 | 9530 | in L<perlos2>. |
10069 | 9531 | |
10070 | 9532 | =end original |
10071 | 9533 | |
10072 | 9534 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
10073 | 9535 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
10074 | 9536 | これは OS/2 版の仕様とみなされています。 |
10075 | 9537 | 適切なシグナルハンドラによって簡単に無効にできます; |
10076 | 9538 | L<perlipc/"Signals"> を参照してください。 |
10077 | 9539 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
10078 | 9540 | |
10079 | =item Property '%s' is unknown in regex; marked by <-- HERE in m/%s/ | |
10080 | ||
10081 | =begin original | |
10082 | ||
10083 | (F) | |
10084 | The named property which you specified via C<\p> or C<\P> is not one | |
10085 | known to Perl. Perhaps you misspelled the name? See | |
10086 | L<perluniprops/Properties accessible through \p{} and \P{}> | |
10087 | for a complete list of available official properties. If it is a | |
10088 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
10089 | it must have been defined by the time the regular expression is | |
10090 | compiled. | |
10091 | ||
10092 | =end original | |
10093 | ||
10094 | (F) | |
10095 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
10096 | おそらく名前をタイプミスしたのでは? | |
10097 | 公式に利用可能な特性の完全な一覧については | |
10098 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
10099 | 参照してください。 | |
10100 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
10101 | 場合は、正規表現がコンパイルされる時点で定義されていなければなりません。 | |
10102 | ||
10103 | 9541 | =item Prototype after '%c' for %s : %s |
10104 | 9542 | |
10105 | 9543 | =begin original |
10106 | 9544 | |
10107 | 9545 | (W illegalproto) A character follows % or @ in a prototype. This is |
10108 | 9546 | useless, since % and @ gobble the rest of the subroutine arguments. |
10109 | 9547 | |
10110 | 9548 | =end original |
10111 | 9549 | |
10112 | 9550 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 |
10113 | 9551 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 |
10114 | 9552 | |
10115 | 9553 | =item Prototype mismatch: %s vs %s |
10116 | 9554 | |
10117 | 9555 | =begin original |
10118 | 9556 | |
10119 | 9557 | (S prototype) The subroutine being declared or defined had previously been |
10120 | 9558 | declared or defined with a different function prototype. |
10121 | 9559 | |
10122 | 9560 | =end original |
10123 | 9561 | |
10124 | 9562 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された |
10125 | 9563 | サブルーチンが宣言または定義されました。 |
10126 | 9564 | |
10127 | 9565 | =item Prototype not terminated |
10128 | 9566 | |
10129 | 9567 | =begin original |
10130 | 9568 | |
10131 | 9569 | (F) You've omitted the closing parenthesis in a function prototype |
10132 | 9570 | definition. |
10133 | 9571 | |
10134 | 9572 | =end original |
10135 | 9573 | |
10136 | 9574 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 |
10137 | 9575 | |
10138 | 9576 | =item \p{} uses Unicode rules, not locale rules |
10139 | 9577 | |
10140 | 9578 | =begin original |
10141 | 9579 | |
10142 | 9580 | (W) You compiled a regular expression that contained a Unicode property |
10143 | 9581 | match (C<\p> or C<\P>), but the regular expression is also being told to |
10144 | 9582 | use the run-time locale, not Unicode. Instead, use a POSIX character |
10145 | 9583 | class, which should know about the locale's rules. |
10146 | 9584 | (See L<perlrecharclass/POSIX Character Classes>.) |
10147 | 9585 | |
10148 | 9586 | =end original |
10149 | 9587 | |
10150 | 9588 | (W) Unicode 特性マッチング(C<\p> または C<\P>)を含む正規表現を |
10151 | 9589 | コンパイルしましたが、その正規表現は Unicode ではなく実行時ロケールを使うとも |
10152 | 9590 | 設定されています。 |
10153 | 9591 | 代わりに、ロケールの規則を知っているはずの POSIX 文字クラスを使ってください。 |
10154 | 9592 | (L<perlrecharclass/POSIX Character Classes> を参照してください。) |
10155 | 9593 | |
10156 | 9594 | =begin original |
10157 | 9595 | |
10158 | 9596 | Even if the run-time locale is ISO 8859-1 (Latin1), which is a subset of |
10159 | 9597 | Unicode, some properties will give results that are not valid for that |
10160 | 9598 | subset. |
10161 | 9599 | |
10162 | 9600 | =end original |
10163 | 9601 | |
10164 | 9602 | たとえ実行時ロケールが Unicode のサブセットである ISO 8859-1 (Latin1) でも、 |
10165 | 9603 | 一部の特性はサブセットに対しては不正であるという結果を返します。 |
10166 | 9604 | |
10167 | 9605 | =begin original |
10168 | 9606 | |
10169 | 9607 | Here are a couple of examples to help you see what's going on. If the |
10170 | 9608 | locale is ISO 8859-7, the character at code point 0xD7 is the "GREEK |
10171 | 9609 | CAPITAL LETTER CHI". But in Unicode that code point means the |
10172 | 9610 | "MULTIPLICATION SIGN" instead, and C<\p> always uses the Unicode |
10173 | 9611 | meaning. That means that C<\p{Alpha}> won't match, but C<[[:alpha:]]> |
10174 | 9612 | should. Only in the Latin1 locale are all the characters in the same |
10175 | 9613 | positions as they are in Unicode. But, even here, some properties give |
10176 | 9614 | incorrect results. An example is C<\p{Changes_When_Uppercased}> which |
10177 | 9615 | is true for "LATIN SMALL LETTER Y WITH DIAERESIS", but since the upper |
10178 | 9616 | case of that character is not in Latin1, in that locale it doesn't |
10179 | 9617 | change when upper cased. |
10180 | 9618 | |
10181 | 9619 | =end original |
10182 | 9620 | |
10183 | 9621 | 以下に、何が起きているかを知る助けになる例を二つ挙げます。 |
10184 | 9622 | ロケールが ISO 8859-7 なら、符号位置 0xD7 の文字は "GREEK CAPITAL LETTER CHI" |
10185 | 9623 | です。 |
10186 | 9624 | しかし Unicode ではこの符号位置は "MULTIPLICATION SIGN" を意味し、 |
10187 | 9625 | C<\p> は常に Unicode の意味を使います。 |
10188 | 9626 | これは、C<\p{Alpha}> にはマッチングしませんが、C<[[:alpha:]]> には |
10189 | 9627 | マッチングするということです。 |
10190 | 9628 | Latin1 ロケールのみが、全ての文字について Unicode と同じ位置を持ちます。 |
10191 | 9629 | しかし、それでも、一部の特性は正しくない結果となります。 |
10192 | 9630 | 例えば、C<\p{Changes_When_Uppercased}> は "LATIN SMALL LETTER Y WITH |
10193 | 9631 | DIAERESIS" では真ですが、この文字の大文字は Latin1 にはないので、 |
10194 | 9632 | 大文字にしたときにこの文字は変更されません。 |
10195 | 9633 | |
10196 | =item Quantifier {n,m} with n > m can't match in regex | |
10197 | ||
10198 | =begin original | |
10199 | ||
10200 | (W regexp) Minima should be less than or equal to maxima. If you really | |
10201 | want your regexp to match something 0 times, just put {0}. | |
10202 | ||
10203 | =end original | |
10204 | ||
10205 | (W regexp) 最小値は最大値以下である必要があります。 | |
10206 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
10207 | ||
10208 | 9634 | =item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/ |
10209 | 9635 | |
10210 | 9636 | =begin original |
10211 | 9637 | |
10212 | 9638 | (F) You started a regular expression with a quantifier. Backslash it if |
10213 | you meant it literally. The <-- HERE shows | |
9639 | you meant it literally. The <-- HERE shows in the regular expression | |
10214 | e | |
9640 | about where the problem was discovered. See L<perlre>. | |
10215 | 9641 | |
10216 | 9642 | =end original |
10217 | 9643 | |
10218 | 9644 | (F) 正規表現を量指定子で開始しています。 |
10219 | 9645 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 |
10220 | 9646 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10221 | 9647 | L<perlre> を参照してください。 |
10222 | 9648 | |
10223 | 9649 | =item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/ |
10224 | 9650 | |
10225 | 9651 | =begin original |
10226 | 9652 | |
10227 | 9653 | (F) There is currently a limit to the size of the min and max values of |
10228 | the {min,max} construct. The <-- HERE shows | |
9654 | the {min,max} construct. The <-- HERE shows in the regular expression | |
10229 | e | |
9655 | about where the problem was discovered. See L<perlre>. | |
10230 | 9656 | |
10231 | 9657 | =end original |
10232 | 9658 | |
10233 | 9659 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
10234 | 9660 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10235 | 9661 | L<perlre> を参照してください。 |
10236 | 9662 | |
10237 | =item Quantifier unexpected on zero-length expression | |
9663 | =item Quantifier unexpected on zero-length expression; marked by <-- HERE in m/%s/ | |
10238 | HERE in m/%s/ | |
10239 | 9664 | |
10240 | 9665 | =begin original |
10241 | 9666 | |
10242 | 9667 | (W regexp) You applied a regular expression quantifier in a place where |
10243 | 9668 | it makes no sense, such as on a zero-width assertion. Try putting the |
10244 | 9669 | quantifier inside the assertion instead. For example, the way to match |
10245 | 9670 | "abc" provided that it is followed by three repetitions of "xyz" is |
10246 | 9671 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
10247 | 9672 | |
10248 | 9673 | =end original |
10249 | 9674 | |
10250 | 9675 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
10251 | 9676 | 適用しました。 |
10252 | 9677 | 代わりにアサーションの中に量指定子を置いてください。 |
10253 | 9678 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
10254 | 9679 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
10255 | 9680 | |
10256 | 9681 | =begin original |
10257 | 9682 | |
10258 | The <-- HERE shows | |
9683 | The <-- HERE shows in the regular expression about where the problem was | |
10259 | 9684 | discovered. |
10260 | 9685 | |
10261 | 9686 | =end original |
10262 | 9687 | |
10263 | 9688 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10264 | 9689 | |
10265 | =item Quantifier {n,m} with n > m can't match in regex; marked by <-- HERE in m/%s/ | |
10266 | ||
10267 | =begin original | |
10268 | ||
10269 | (W regexp) Minima should be less than or equal to maxima. If you really | |
10270 | want your regexp to match something 0 times, just put {0}. | |
10271 | ||
10272 | =end original | |
10273 | ||
10274 | (W regexp) 最小値は最大値以下である必要があります。 | |
10275 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
10276 | ||
10277 | 9690 | =item Range iterator outside integer range |
10278 | 9691 | |
10279 | 9692 | =begin original |
10280 | 9693 | |
10281 | 9694 | (F) One (or both) of the numeric arguments to the range operator ".." |
10282 | 9695 | are outside the range which can be represented by integers internally. |
10283 | 9696 | One possible workaround is to force Perl to use magical string increment |
10284 | 9697 | by prepending "0" to your numbers. |
10285 | 9698 | |
10286 | 9699 | =end original |
10287 | 9700 | |
10288 | 9701 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
10289 | 9702 | 表現できる範囲を越えています。 |
10290 | 9703 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
10291 | 9704 | マジカル文字列インクリメントの使用を強制させることです。 |
10292 | 9705 | |
10293 | 9706 | =item readdir() attempted on invalid dirhandle %s |
10294 | 9707 | |
10295 | 9708 | =begin original |
10296 | 9709 | |
10297 | 9710 | (W io) The dirhandle you're reading from is either closed or not really |
10298 | 9711 | a dirhandle. Check your control flow. |
10299 | 9712 | |
10300 | 9713 | =end original |
10301 | 9714 | |
10302 | 9715 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 |
10303 | 9716 | 実際にはディレクトリハンドルではありません。 |
10304 | 9717 | 制御フローをチェックしてください。 |
10305 | 9718 | |
10306 | 9719 | =item readline() on closed filehandle %s |
10307 | 9720 | |
10308 | 9721 | =begin original |
10309 | 9722 | |
10310 | 9723 | (W closed) The filehandle you're reading from got itself closed sometime |
10311 | 9724 | before now. Check your control flow. |
10312 | 9725 | |
10313 | 9726 | =end original |
10314 | 9727 | |
10315 | 9728 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 |
10316 | 9729 | 制御フローをチェックしてください。 |
10317 | 9730 | |
10318 | 9731 | =item read() on closed filehandle %s |
10319 | 9732 | |
10320 | 9733 | =begin original |
10321 | 9734 | |
10322 | 9735 | (W closed) You tried to read from a closed filehandle. |
10323 | 9736 | |
10324 | 9737 | =end original |
10325 | 9738 | |
10326 | 9739 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
10327 | 9740 | |
10328 | 9741 | =item read() on unopened filehandle %s |
10329 | 9742 | |
10330 | 9743 | =begin original |
10331 | 9744 | |
10332 | 9745 | (W unopened) You tried to read from a filehandle that was never opened. |
10333 | 9746 | |
10334 | 9747 | =end original |
10335 | 9748 | |
10336 | 9749 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
10337 | 9750 | |
10338 | 9751 | =item Reallocation too large: %x |
10339 | 9752 | |
10340 | 9753 | =begin original |
10341 | 9754 | |
10342 | 9755 | (F) You can't allocate more than 64K on an MS-DOS machine. |
10343 | 9756 | |
10344 | 9757 | =end original |
10345 | 9758 | |
10346 | 9759 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
10347 | 9760 | |
10348 | 9761 | =item realloc() of freed memory ignored |
10349 | 9762 | |
10350 | 9763 | =begin original |
10351 | 9764 | |
10352 | 9765 | (S malloc) An internal routine called realloc() on something that had |
10353 | 9766 | already been freed. |
10354 | 9767 | |
10355 | 9768 | =end original |
10356 | 9769 | |
10357 | 9770 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
10358 | 9771 | 呼び出しました。 |
10359 | 9772 | |
10360 | 9773 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
10361 | 9774 | |
10362 | 9775 | =begin original |
10363 | 9776 | |
10364 | ( | |
9777 | (F debugging) You can't use the B<-D> option unless the code to produce | |
10365 | 9778 | the desired output is compiled into Perl, which entails some overhead, |
10366 | 9779 | which is why it's currently left out of your copy. |
10367 | 9780 | |
10368 | 9781 | =end original |
10369 | 9782 | |
10370 | ( | |
9783 | (F debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
10371 | 9784 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; |
10372 | 9785 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
10373 | 9786 | Perl に組み込んでない理由でしょう。 |
10374 | 9787 | |
10375 | 9788 | =item Recursive call to Perl_load_module in PerlIO_find_layer |
10376 | 9789 | |
10377 | 9790 | =begin original |
10378 | 9791 | |
10379 | 9792 | (P) It is currently not permitted to load modules when creating |
10380 | 9793 | a filehandle inside an %INC hook. This can happen with C<open my |
10381 | 9794 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try |
10382 | 9795 | loading PerlIO::scalar explicitly first. |
10383 | 9796 | |
10384 | 9797 | =end original |
10385 | 9798 | |
10386 | 9799 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは |
10387 | 9800 | 現在のところ許されていません。 |
10388 | 9801 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに |
10389 | 9802 | 起こることがあります。 |
10390 | 9803 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 |
10391 | 9804 | |
10392 | 9805 | =item Recursive inheritance detected in package '%s' |
10393 | 9806 | |
10394 | 9807 | =begin original |
10395 | 9808 | |
10396 | 9809 | (F) While calculating the method resolution order (MRO) of a package, Perl |
10397 | 9810 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a |
10398 | 9811 | crude check that bails out after 100 levels of C<@ISA> depth. |
10399 | 9812 | |
10400 | 9813 | =end original |
10401 | 9814 | |
10402 | 9815 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に |
10403 | 9816 | 無限ループがあると判断しました。 |
10404 | 9817 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 |
10405 | 9818 | |
10406 | 9819 | =item refcnt_dec: fd %d%s |
10407 | 9820 | |
10408 | 9821 | =item refcnt: fd %d%s |
10409 | 9822 | |
10410 | 9823 | =item refcnt_inc: fd %d%s |
10411 | 9824 | |
10412 | 9825 | =begin original |
10413 | 9826 | |
10414 | 9827 | (P) Perl's I/O implementation failed an internal consistency check. If |
10415 | 9828 | you see this message, something is very wrong. |
10416 | 9829 | |
10417 | 9830 | =end original |
10418 | 9831 | |
10419 | 9832 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 |
10420 | 9833 | このメッセージを見たなら、何かがすごく悪いです。 |
10421 | 9834 | |
10422 | 9835 | =item Reference found where even-sized list expected |
10423 | 9836 | |
10424 | 9837 | =begin original |
10425 | 9838 | |
10426 | 9839 | (W misc) You gave a single reference where Perl was expecting a list |
10427 | 9840 | with an even number of elements (for assignment to a hash). This |
10428 | 9841 | usually means that you used the anon hash constructor when you meant |
10429 | 9842 | to use parens. In any case, a hash requires key/value B<pairs>. |
10430 | 9843 | |
10431 | 9844 | =end original |
10432 | 9845 | |
10433 | 9846 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
10434 | 9847 | 想定しているところに 一つのリファレンスを渡しました。 |
10435 | 9848 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
10436 | 9849 | 意味します。 |
10437 | 9850 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
10438 | 9851 | |
10439 | 9852 | %hash = { one => 1, two => 2, }; # WRONG |
10440 | 9853 | %hash = [ qw/ an anon array / ]; # WRONG |
10441 | 9854 | %hash = ( one => 1, two => 2, ); # right |
10442 | 9855 | %hash = qw( one 1 two 2 ); # also fine |
10443 | 9856 | |
10444 | 9857 | =item Reference is already weak |
10445 | 9858 | |
10446 | 9859 | =begin original |
10447 | 9860 | |
10448 | 9861 | (W misc) You have attempted to weaken a reference that is already weak. |
10449 | 9862 | Doing so has no effect. |
10450 | 9863 | |
10451 | 9864 | =end original |
10452 | 9865 | |
10453 | 9866 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
10454 | 9867 | そうしても何の効果もありません。 |
10455 | 9868 | |
10456 | =item Reference to invalid group 0 | |
9869 | =item Reference to invalid group 0 | |
10457 | 9870 | |
10458 | 9871 | =begin original |
10459 | 9872 | |
10460 | 9873 | (F) You used C<\g0> or similar in a regular expression. You may refer |
10461 | 9874 | to capturing parentheses only with strictly positive integers |
10462 | 9875 | (normal backreferences) or with strictly negative integers (relative |
10463 | 9876 | backreferences). Using 0 does not make sense. |
10464 | 9877 | |
10465 | 9878 | =end original |
10466 | 9879 | |
10467 | 9880 | (F) 正規表現で C<\g0> のようなものを使いました。 |
10468 | 9881 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) |
10469 | 9882 | のみです。 |
10470 | 9883 | 0 は意味を成しません。 |
10471 | 9884 | |
10472 | 9885 | =item Reference to nonexistent group in regex; marked by <-- HERE in m/%s/ |
10473 | 9886 | |
10474 | 9887 | =begin original |
10475 | 9888 | |
10476 | 9889 | (F) You used something like C<\7> in your regular expression, but there are |
10477 | 9890 | not at least seven sets of capturing parentheses in the expression. If |
10478 | 9891 | you wanted to have the character with ordinal 7 inserted into the regular |
10479 | 9892 | expression, prepend zeroes to make it three digits long: C<\007> |
10480 | 9893 | |
10481 | 9894 | =end original |
10482 | 9895 | |
10483 | 9896 | 正規表現の中で C<\7> のような記述がありますが、 |
10484 | 9897 | 正規表現の中に値を捕らえるかっこが 7 つありません。 |
10485 | 9898 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
10486 | 9899 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> |
10487 | 9900 | |
10488 | 9901 | =begin original |
10489 | 9902 | |
10490 | The <-- HERE shows | |
9903 | The <-- HERE shows in the regular expression about where the problem was | |
10491 | 9904 | discovered. |
10492 | 9905 | |
10493 | 9906 | =end original |
10494 | 9907 | |
10495 | 9908 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10496 | 9909 | |
10497 | 9910 | =item Reference to nonexistent named group in regex; marked by <-- HERE in m/%s/ |
10498 | 9911 | |
10499 | 9912 | =begin original |
10500 | 9913 | |
10501 | 9914 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular |
10502 | 9915 | expression, but there is no corresponding named capturing parentheses |
10503 | 9916 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been |
10504 | 9917 | spelled correctly both in the backreference and the declaration. |
10505 | 9918 | |
10506 | 9919 | =end original |
10507 | 9920 | |
10508 | 9921 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 |
10509 | 9922 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが |
10510 | 9923 | ありません。 |
10511 | 9924 | 前方参照と定義の両方において、名前のスペルが正しいかどうか |
10512 | 9925 | チェックしてください。 |
10513 | 9926 | |
10514 | 9927 | =begin original |
10515 | 9928 | |
10516 | The <-- HERE shows | |
9929 | The <-- HERE shows in the regular expression about where the problem was | |
10517 | 9930 | discovered. |
10518 | 9931 | |
10519 | 9932 | =end original |
10520 | 9933 | |
10521 | 9934 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10522 | 9935 | |
10523 | =item Reference to nonexistent or unclosed group in regex; marked by <-- HERE | |
9936 | =item Reference to nonexistent or unclosed group in regex; marked by <-- HERE in m/%s/ | |
10524 | in m/%s/ | |
10525 | 9937 | |
10526 | 9938 | =begin original |
10527 | 9939 | |
10528 | 9940 | (F) You used something like C<\g{-7}> in your regular expression, but there |
10529 | 9941 | are not at least seven sets of closed capturing parentheses in the |
10530 | 9942 | expression before where the C<\g{-7}> was located. |
10531 | 9943 | |
10532 | 9944 | =end original |
10533 | 9945 | |
10534 | 9946 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の |
10535 | 9947 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 |
10536 | 9948 | |
10537 | 9949 | =begin original |
10538 | 9950 | |
10539 | The <-- HERE shows | |
9951 | The <-- HERE shows in the regular expression about where the problem was | |
10540 | 9952 | discovered. |
10541 | 9953 | |
10542 | 9954 | =end original |
10543 | 9955 | |
10544 | 9956 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10545 | 9957 | |
10546 | 9958 | =item regexp memory corruption |
10547 | 9959 | |
10548 | 9960 | =begin original |
10549 | 9961 | |
10550 | 9962 | (P) The regular expression engine got confused by what the regular |
10551 | 9963 | expression compiler gave it. |
10552 | 9964 | |
10553 | 9965 | =end original |
10554 | 9966 | |
10555 | 9967 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
10556 | 9968 | 処理できなくなりました。 |
10557 | 9969 | |
10558 | 9970 | =item Regexp modifier "/%c" may appear a maximum of twice |
10559 | 9971 | |
10560 | 9972 | =item Regexp modifier "/%c" may not appear twice |
10561 | 9973 | |
10562 | 9974 | =begin original |
10563 | 9975 | |
10564 | 9976 | (F syntax, regexp) The regular expression pattern had too many occurrences |
10565 | 9977 | of the specified modifier. Remove the extraneous ones. |
10566 | 9978 | |
10567 | 9979 | =end original |
10568 | 9980 | |
10569 | 9981 | (F syntax, regexp) 正規表現パターンに指定された修飾子が多すぎます。 |
10570 | 9982 | 余分なものを削除してください。 |
10571 | 9983 | |
10572 | =item Regexp modifier "%c" may not appear after the "-" | |
9984 | =item Regexp modifier "%c" may not appear after the "-" | |
10573 | HERE in m/%s/ | |
10574 | 9985 | |
10575 | 9986 | =begin original |
10576 | 9987 | |
10577 | (F) Turning off the given modifier has the side effect of turning | |
9988 | (F regexp) Turning off the given modifier has the side effect of turning | |
10578 | another one. Perl currently doesn't allow this. Reword the regular | |
9989 | on another one. Perl currently doesn't allow this. Reword the regular | |
10579 | 9990 | expression to use the modifier you want to turn on (and place it before |
10580 | 9991 | the minus), instead of the one you want to turn off. |
10581 | 9992 | |
10582 | 9993 | =end original |
10583 | 9994 | |
10584 | 9995 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという |
10585 | 9996 | 副作用があります。 |
10586 | 9997 | Perl は現在のところこれを受け入れません。 |
10587 | 9998 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの |
10588 | 9999 | 前に置く)ように正規表現を書き直してください。 |
10589 | 10000 | |
10590 | 10001 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive |
10591 | 10002 | |
10592 | 10003 | =begin original |
10593 | 10004 | |
10594 | 10005 | (F syntax, regexp) The regular expression pattern had more than one of these |
10595 | 10006 | mutually exclusive modifiers. Retain only the modifier that is |
10596 | 10007 | supposed to be there. |
10597 | 10008 | |
10598 | 10009 | =end original |
10599 | 10010 | |
10600 | 10011 | (F syntax, regexp) 正規表現パターンに相互に排他的な修飾子が複数あります。 |
10601 | 10012 | ここで使うであろう修飾子のみを保持します。 |
10602 | 10013 | |
10603 | =item Regexp out of space | |
10014 | =item Regexp out of space | |
10604 | 10015 | |
10605 | 10016 | =begin original |
10606 | 10017 | |
10607 | 10018 | (P) A "can't happen" error, because safemalloc() should have caught it |
10608 | 10019 | earlier. |
10609 | 10020 | |
10610 | 10021 | =end original |
10611 | 10022 | |
10612 | 10023 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 |
10613 | 10024 | |
10614 | 10025 | =item Repeated format line will never terminate (~~ and @# incompatible) |
10615 | 10026 | |
10616 | 10027 | =begin original |
10617 | 10028 | |
10618 | 10029 | (F) Your format contains the ~~ repeat-until-blank sequence and a |
10619 | 10030 | numeric field that will never go blank so that the repetition never |
10620 | 10031 | terminates. You might use ^# instead. See L<perlform>. |
10621 | 10032 | |
10622 | 10033 | =end original |
10623 | 10034 | |
10624 | 10035 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない |
10625 | 10036 | スウチフィールドが含まれているので、無限ループになります。 |
10626 | 10037 | 代わりに ^# を使うべきでしょう。 |
10627 | 10038 | L<perlform> を参照してください。 |
10628 | 10039 | |
10629 | 10040 | =item Replacement list is longer than search list |
10630 | 10041 | |
10631 | 10042 | =begin original |
10632 | 10043 | |
10633 | 10044 | (W misc) You have used a replacement list that is longer than the |
10634 | 10045 | search list. So the additional elements in the replacement list |
10635 | 10046 | are meaningless. |
10636 | 10047 | |
10637 | 10048 | =end original |
10638 | 10049 | |
10639 | 10050 | (W misc) 検索リストよりも長い置換リストを使いました。 |
10640 | 10051 | 長い分の置換リストは無意味です。 |
10641 | 10052 | |
10642 | =item '%s' resolved to '\o{%s}%d' | |
10643 | ||
10644 | =begin original | |
10645 | ||
10646 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
10647 | double-quotish string. All but the last digit is treated as a single | |
10648 | character, specified in octal. The last digit is the next character in | |
10649 | the string. To tell Perl that this is indeed what you want, you can use | |
10650 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
10651 | for the character. | |
10652 | ||
10653 | =end original | |
10654 | ||
10655 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
10656 | ものを書きました。 | |
10657 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
10658 | 最後の数字は文字列中の次の文字です。 | |
10659 | これがまさしく望んでいるものであることを Perl に伝えるには、 | |
10660 | C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を | |
10661 | 使ってください。 | |
10662 | ||
10663 | 10053 | =item Reversed %s= operator |
10664 | 10054 | |
10665 | 10055 | =begin original |
10666 | 10056 | |
10667 | 10057 | (W syntax) You wrote your assignment operator backwards. The = must |
10668 | 10058 | always come last, to avoid ambiguity with subsequent unary operators. |
10669 | 10059 | |
10670 | 10060 | =end original |
10671 | 10061 | |
10672 | 10062 | (W syntax) 代入演算子を逆順に書いています。 |
10673 | 10063 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
10674 | 10064 | 代入演算子では、等号 = が、最後にこないといけません。 |
10675 | 10065 | |
10676 | 10066 | =item rewinddir() attempted on invalid dirhandle %s |
10677 | 10067 | |
10678 | 10068 | =begin original |
10679 | 10069 | |
10680 | 10070 | (W io) The dirhandle you tried to do a rewinddir() on is either closed or not |
10681 | 10071 | really a dirhandle. Check your control flow. |
10682 | 10072 | |
10683 | 10073 | =end original |
10684 | 10074 | |
10685 | 10075 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 |
10686 | 10076 | 実際にはディレクトリハンドルではありません。 |
10687 | 10077 | 制御フローをチェックしてください。 |
10688 | 10078 | |
10689 | 10079 | =item Scalars leaked: %d |
10690 | 10080 | |
10691 | 10081 | =begin original |
10692 | 10082 | |
10693 | ( | |
10083 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
10694 | ||
10084 | not all scalar variables were deallocated by the time Perl exited. | |
10695 | ||
10085 | What this usually indicates is a memory leak, which is of course bad, | |
10696 | ||
10086 | especially if the Perl program is intended to be long-running. | |
10697 | long-running. | |
10698 | 10087 | |
10699 | 10088 | =end original |
10700 | 10089 | |
10701 | 10090 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: |
10702 | 10091 | Perl 終了時に全てのスカラ変数が解放されませんでした。 |
10703 | 10092 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 |
10704 | 10093 | Perl プログラムが長い間動作する場合には特にそうです。 |
10705 | 10094 | |
10706 | 10095 | =item Scalar value @%s[%s] better written as $%s[%s] |
10707 | 10096 | |
10708 | 10097 | =begin original |
10709 | 10098 | |
10710 | 10099 | (W syntax) You've used an array slice (indicated by @) to select a |
10711 | 10100 | single element of an array. Generally it's better to ask for a scalar |
10712 | 10101 | value (indicated by $). The difference is that C<$foo[&bar]> always |
10713 | 10102 | behaves like a scalar, both when assigning to it and when evaluating its |
10714 | 10103 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
10715 | 10104 | and provides a list context to its subscript, which can do weird things |
10716 | 10105 | if you're expecting only one subscript. |
10717 | 10106 | |
10718 | 10107 | =end original |
10719 | 10108 | |
10720 | 10109 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
10721 | 10110 | スライスを用いました。 |
10722 | 10111 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
10723 | 10112 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
10724 | 10113 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
10725 | 10114 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
10726 | 10115 | 添字にもリストコンテキストを与えることになります; |
10727 | 10116 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
10728 | 10117 | |
10729 | 10118 | =begin original |
10730 | 10119 | |
10731 | 10120 | On the other hand, if you were actually hoping to treat the array |
10732 | 10121 | element as a list, you need to look into how references work, because |
10733 | 10122 | Perl will not magically convert between scalars and lists for you. See |
10734 | 10123 | L<perlref>. |
10735 | 10124 | |
10736 | 10125 | =end original |
10737 | 10126 | |
10738 | 10127 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
10739 | 10128 | どのように働くかについて詳しく知る必要があります; なぜなら |
10740 | 10129 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
10741 | 10130 | L<perlref> を参照してください。 |
10742 | 10131 | |
10743 | 10132 | =item Scalar value @%s{%s} better written as $%s{%s} |
10744 | 10133 | |
10745 | 10134 | =begin original |
10746 | 10135 | |
10747 | 10136 | (W syntax) You've used a hash slice (indicated by @) to select a single |
10748 | 10137 | element of a hash. Generally it's better to ask for a scalar value |
10749 | 10138 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
10750 | 10139 | like a scalar, both when assigning to it and when evaluating its |
10751 | 10140 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
10752 | 10141 | and provides a list context to its subscript, which can do weird things |
10753 | 10142 | if you're expecting only one subscript. |
10754 | 10143 | |
10755 | 10144 | =end original |
10756 | 10145 | |
10757 | 10146 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
10758 | 10147 | スライスを用いました。 |
10759 | 10148 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
10760 | 10149 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
10761 | 10150 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
10762 | 10151 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
10763 | 10152 | 添字にもリストコンテキストを与えることになります; |
10764 | 10153 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
10765 | 10154 | |
10766 | 10155 | =begin original |
10767 | 10156 | |
10768 | 10157 | On the other hand, if you were actually hoping to treat the hash element |
10769 | 10158 | as a list, you need to look into how references work, because Perl will |
10770 | 10159 | not magically convert between scalars and lists for you. See |
10771 | 10160 | L<perlref>. |
10772 | 10161 | |
10773 | 10162 | =end original |
10774 | 10163 | |
10775 | 10164 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
10776 | 10165 | どのように働くかについて詳しく知る必要があります; なぜなら |
10777 | 10166 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
10778 | 10167 | L<perlref> を参照してください。 |
10779 | 10168 | |
10780 | 10169 | =item Search pattern not terminated |
10781 | 10170 | |
10782 | 10171 | =begin original |
10783 | 10172 | |
10784 | 10173 | (F) The lexer couldn't find the final delimiter of a // or m{} |
10785 | 10174 | construct. Remember that bracketing delimiters count nesting level. |
10786 | 10175 | Missing the leading C<$> from a variable C<$m> may cause this error. |
10787 | 10176 | |
10788 | 10177 | =end original |
10789 | 10178 | |
10790 | 10179 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
10791 | 10180 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
10792 | 10181 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
10793 | 10182 | |
10794 | 10183 | =begin original |
10795 | 10184 | |
10796 | 10185 | Note that since Perl 5.9.0 a // can also be the I<defined-or> |
10797 | 10186 | construct, not just the empty search pattern. Therefore code written |
10798 | 10187 | in Perl 5.9.0 or later that uses the // as the I<defined-or> can be |
10799 | 10188 | misparsed by pre-5.9.0 Perls as a non-terminated search pattern. |
10800 | 10189 | |
10801 | 10190 | =end original |
10802 | 10191 | |
10803 | 10192 | Perl 5.9.0 から、// は I<defined-or> 構文として扱われ、単なる |
10804 | 10193 | 空検索パターンではありません。 |
10805 | 10194 | 従って、Perl 5.9.0 以降で書かれた、// を I<defined-or> として使っている |
10806 | 10195 | コードは、5.9.0 以前の Perl では、終端していない検索パターンとして |
10807 | 10196 | 誤パースされるかもしれません。 |
10808 | 10197 | |
10809 | 10198 | =item Search pattern not terminated or ternary operator parsed as search pattern |
10810 | 10199 | |
10811 | 10200 | =begin original |
10812 | 10201 | |
10813 | 10202 | (F) The lexer couldn't find the final delimiter of a C<?PATTERN?> |
10814 | 10203 | construct. |
10815 | 10204 | |
10816 | 10205 | =end original |
10817 | 10206 | |
10818 | 10207 | (F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。 |
10819 | 10208 | |
10820 | 10209 | =begin original |
10821 | 10210 | |
10822 | 10211 | The question mark is also used as part of the ternary operator (as in |
10823 | 10212 | C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly |
10824 | 10213 | parsed. One way to disambiguate the parsing is to put parentheses around |
10825 | 10214 | the conditional expression, i.e. C<(foo) ? 0 : 1>. |
10826 | 10215 | |
10827 | 10216 | =end original |
10828 | 10217 | |
10829 | 10218 | クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても |
10830 | 10219 | 使われるので、紛らわしい構造の場合は間違ってパースされることがあります。 |
10831 | 10220 | パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように |
10832 | 10221 | 条件式をかっこで括ることです。 |
10833 | 10222 | |
10834 | 10223 | =item seekdir() attempted on invalid dirhandle %s |
10835 | 10224 | |
10836 | 10225 | =begin original |
10837 | 10226 | |
10838 | 10227 | (W io) The dirhandle you are doing a seekdir() on is either closed or not |
10839 | 10228 | really a dirhandle. Check your control flow. |
10840 | 10229 | |
10841 | 10230 | =end original |
10842 | 10231 | |
10843 | 10232 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 |
10844 | 10233 | 実際にはディレクトリハンドルではありません。 |
10845 | 10234 | 制御フローをチェックしてください。 |
10846 | 10235 | |
10847 | 10236 | =item %sseek() on unopened filehandle |
10848 | 10237 | |
10849 | 10238 | =begin original |
10850 | 10239 | |
10851 | 10240 | (W unopened) You tried to use the seek() or sysseek() function on a |
10852 | 10241 | filehandle that was either never opened or has since been closed. |
10853 | 10242 | |
10854 | 10243 | =end original |
10855 | 10244 | |
10856 | 10245 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
10857 | 10246 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
10858 | 10247 | |
10859 | 10248 | =item select not implemented |
10860 | 10249 | |
10861 | 10250 | =begin original |
10862 | 10251 | |
10863 | 10252 | (F) This machine doesn't implement the select() system call. |
10864 | 10253 | |
10865 | 10254 | =end original |
10866 | 10255 | |
10867 | 10256 | (F) このマシンでは、select() システムコールは実装されていません。 |
10868 | 10257 | |
10869 | 10258 | =item Self-ties of arrays and hashes are not supported |
10870 | 10259 | |
10871 | 10260 | =begin original |
10872 | 10261 | |
10873 | 10262 | (F) Self-ties are of arrays and hashes are not supported in |
10874 | 10263 | the current implementation. |
10875 | 10264 | |
10876 | 10265 | =end original |
10877 | 10266 | |
10878 | 10267 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 |
10879 | 10268 | |
10880 | 10269 | =item Semicolon seems to be missing |
10881 | 10270 | |
10882 | 10271 | =begin original |
10883 | 10272 | |
10884 | 10273 | (W semicolon) A nearby syntax error was probably caused by a missing |
10885 | 10274 | semicolon, or possibly some other missing operator, such as a comma. |
10886 | 10275 | |
10887 | 10276 | =end original |
10888 | 10277 | |
10889 | 10278 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
10890 | 10279 | 演算子がなかったために起こったものと考えられます。 |
10891 | 10280 | |
10892 | 10281 | =item semi-panic: attempt to dup freed string |
10893 | 10282 | |
10894 | 10283 | =begin original |
10895 | 10284 | |
10896 | 10285 | (S internal) The internal newSVsv() routine was called to duplicate a |
10897 | 10286 | scalar that had previously been marked as free. |
10898 | 10287 | |
10899 | 10288 | =end original |
10900 | 10289 | |
10901 | 10290 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
10902 | 10291 | newSVsv() ルーティンが呼ばれました。 |
10903 | 10292 | |
10904 | 10293 | =item sem%s not implemented |
10905 | 10294 | |
10906 | 10295 | =begin original |
10907 | 10296 | |
10908 | 10297 | (F) You don't have System V semaphore IPC on your system. |
10909 | 10298 | |
10910 | 10299 | =end original |
10911 | 10300 | |
10912 | 10301 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
10913 | 10302 | |
10914 | 10303 | =item send() on closed socket %s |
10915 | 10304 | |
10916 | 10305 | =begin original |
10917 | 10306 | |
10918 | 10307 | (W closed) The socket you're sending to got itself closed sometime |
10919 | 10308 | before now. Check your control flow. |
10920 | 10309 | |
10921 | 10310 | =end original |
10922 | 10311 | |
10923 | 10312 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 |
10924 | 10313 | 制御フローをチェックしてください。 |
10925 | 10314 | |
10926 | 10315 | =item Sequence (? incomplete in regex; marked by <-- HERE in m/%s/ |
10927 | 10316 | |
10928 | 10317 | =begin original |
10929 | 10318 | |
10930 | 10319 | (F) A regular expression ended with an incomplete extension (?. The |
10931 | <-- HERE shows | |
10320 | <-- HERE shows in the regular expression about where the problem was | |
10932 | 10321 | discovered. See L<perlre>. |
10933 | 10322 | |
10934 | 10323 | =end original |
10935 | 10324 | |
10936 | 10325 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
10937 | 10326 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10938 | 10327 | L<perlre> を参照してください。 |
10939 | 10328 | |
10940 | 10329 | =item Sequence (?%s...) not implemented in regex; marked by <-- HERE in m/%s/ |
10941 | 10330 | |
10942 | 10331 | =begin original |
10943 | 10332 | |
10944 | 10333 | (F) A proposed regular expression extension has the character reserved |
10945 | but has not yet been written. The <-- HERE shows | |
10334 | but has not yet been written. The <-- HERE shows in the regular | |
10946 | ||
10335 | expression about where the problem was discovered. See L<perlre>. | |
10947 | 10336 | |
10948 | 10337 | =end original |
10949 | 10338 | |
10950 | 10339 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
10951 | 10340 | まだ実装されていません。 |
10952 | 10341 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10953 | 10342 | L<perlre> を参照してください。 |
10954 | 10343 | |
10955 | 10344 | =item Sequence (?%s...) not recognized in regex; marked by <-- HERE in m/%s/ |
10956 | 10345 | |
10957 | 10346 | =begin original |
10958 | 10347 | |
10959 | 10348 | (F) You used a regular expression extension that doesn't make sense. The |
10960 | <-- HERE shows | |
10349 | <-- HERE shows in the regular expression about where the problem was | |
10961 | 10350 | discovered. This happens when using the C<(?^...)> construct to tell |
10962 | 10351 | Perl to use the default regular expression modifiers, and you |
10963 | 10352 | redundantly specify a default modifier. For other |
10964 | 10353 | causes, see L<perlre>. |
10965 | 10354 | |
10966 | 10355 | =end original |
10967 | 10356 | |
10968 | 10357 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
10969 | 10358 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10970 | 10359 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために |
10971 | 10360 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 |
10972 | 10361 | その他の理由については、L<perlre> を参照してください。 |
10973 | 10362 | |
10974 | 10363 | =item Sequence \%s... not terminated in regex; marked by <-- HERE in m/%s/ |
10975 | 10364 | |
10976 | 10365 | =begin original |
10977 | 10366 | |
10978 | 10367 | (F) The regular expression expects a mandatory argument following the escape |
10979 | 10368 | sequence and this has been omitted or incorrectly written. |
10980 | 10369 | |
10981 | 10370 | =end original |
10982 | 10371 | |
10983 | 10372 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 |
10984 | 10373 | それが省略されているか適切に書かれていません。 |
10985 | 10374 | |
10986 | =item Sequence (?#... not terminated in regex m/%s/ | |
10375 | =item Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/ | |
10987 | 10376 | |
10988 | 10377 | =begin original |
10989 | 10378 | |
10990 | 10379 | (F) A regular expression comment must be terminated by a closing |
10991 | parenthesis. Embedded parentheses aren't allowed. | |
10380 | parenthesis. Embedded parentheses aren't allowed. The <-- HERE shows in | |
10381 | the regular expression about where the problem was discovered. See | |
10992 | 10382 | L<perlre>. |
10993 | 10383 | |
10994 | 10384 | =end original |
10995 | 10385 | |
10996 | 10386 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 |
10997 | 10387 | 組み込みのかっこは許可されません。 |
10388 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
10998 | 10389 | L<perlre> を参照してください。 |
10999 | 10390 | |
11000 | =item Sequence (?{...}) not terminated | |
10391 | =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/ | |
11001 | 10392 | |
11002 | 10393 | =begin original |
11003 | 10394 | |
11004 | (F) | |
10395 | (F) If the contents of a (?{...}) clause contain braces, they | |
11005 | fol | |
10396 | must balance for Perl to detect the end of the clause properly. | |
10397 | The <-- HERE shows in the regular expression about where the | |
10398 | problem was discovered. See L<perlre>. | |
11006 | 10399 | |
11007 | 10400 | =end original |
11008 | 10401 | |
11009 | (F) {} の中に | |
10402 | (F) (?{...}) 節の中に大かっこがある場合、対応していなければなりません; | |
11010 | ||
10403 | Perl が正しく節の最後を検出するためです。 | |
10404 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
10405 | L<perlre> を参照してください。 | |
11011 | 10406 | |
11012 | 10407 | =item Z<>500 Server error |
11013 | 10408 | |
11014 | 10409 | =begin original |
11015 | 10410 | |
11016 | 10411 | See Server error. |
11017 | 10412 | |
11018 | 10413 | =end original |
11019 | 10414 | |
11020 | 10415 | "Server error" を参照してください。 |
11021 | 10416 | |
11022 | 10417 | =item Server error |
11023 | 10418 | |
11024 | 10419 | =begin original |
11025 | 10420 | |
11026 | 10421 | (A) This is the error message generally seen in a browser window |
11027 | 10422 | when trying to run a CGI program (including SSI) over the web. The |
11028 | 10423 | actual error text varies widely from server to server. The most |
11029 | 10424 | frequently-seen variants are "500 Server error", "Method (something) |
11030 | 10425 | not permitted", "Document contains no data", "Premature end of script |
11031 | 10426 | headers", and "Did not produce a valid header". |
11032 | 10427 | |
11033 | 10428 | =end original |
11034 | 10429 | |
11035 | 10430 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに |
11036 | 10431 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
11037 | 10432 | 実際のエラーテキストはサーバーによって大きく異なります。 |
11038 | 10433 | もっともよく見られるものとしては、"500 Server error", |
11039 | 10434 | "Method (something) not permitted", "Document contains no data", |
11040 | 10435 | "Premature end of script headers", "Did not produce a valid header" が |
11041 | 10436 | あります。 |
11042 | 10437 | |
11043 | 10438 | =begin original |
11044 | 10439 | |
11045 | 10440 | B<This is a CGI error, not a Perl error>. |
11046 | 10441 | |
11047 | 10442 | =end original |
11048 | 10443 | |
11049 | 10444 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
11050 | 10445 | |
11051 | 10446 | =begin original |
11052 | 10447 | |
11053 | 10448 | You need to make sure your script is executable, is accessible by |
11054 | 10449 | the user CGI is running the script under (which is probably not the |
11055 | 10450 | user account you tested it under), does not rely on any environment |
11056 | 10451 | variables (like PATH) from the user it isn't running under, and isn't |
11057 | 10452 | in a location where the CGI server can't find it, basically, more or |
11058 | 10453 | less. Please see the following for more information: |
11059 | 10454 | |
11060 | 10455 | =end original |
11061 | 10456 | |
11062 | 10457 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
11063 | 10458 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
11064 | 10459 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
11065 | 10460 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
11066 | 10461 | さらなる情報については以下を参照してください。 |
11067 | 10462 | |
11068 | 10463 | http://www.perl.org/CGI_MetaFAQ.html |
11069 | 10464 | http://www.htmlhelp.org/faq/cgifaq.html |
11070 | 10465 | http://www.w3.org/Security/Faq/ |
11071 | 10466 | |
11072 | 10467 | =begin original |
11073 | 10468 | |
11074 | 10469 | You should also look at L<perlfaq9>. |
11075 | 10470 | |
11076 | 10471 | =end original |
11077 | 10472 | |
11078 | 10473 | L<perlfaq9> も見るべきでしょう。 |
11079 | 10474 | |
11080 | 10475 | =item setegid() not implemented |
11081 | 10476 | |
11082 | 10477 | =begin original |
11083 | 10478 | |
11084 | 10479 | (F) You tried to assign to C<$)>, and your operating system doesn't |
11085 | 10480 | support the setegid() system call (or equivalent), or at least Configure |
11086 | 10481 | didn't think so. |
11087 | 10482 | |
11088 | 10483 | =end original |
11089 | 10484 | |
11090 | 10485 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
11091 | 10486 | システムコール (または、同等のもの) がサポートされていません; |
11092 | 10487 | 少なくとも Configure では、そう判断されました。 |
11093 | 10488 | |
11094 | 10489 | =item seteuid() not implemented |
11095 | 10490 | |
11096 | 10491 | =begin original |
11097 | 10492 | |
11098 | 10493 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
11099 | 10494 | support the seteuid() system call (or equivalent), or at least Configure |
11100 | 10495 | didn't think so. |
11101 | 10496 | |
11102 | 10497 | =end original |
11103 | 10498 | |
11104 | 10499 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
11105 | 10500 | システムコール (または、同等のもの) がサポートされていません; |
11106 | 10501 | 少なくとも Configure では、そう判断されました。 |
11107 | 10502 | |
11108 | 10503 | =item setpgrp can't take arguments |
11109 | 10504 | |
11110 | 10505 | =begin original |
11111 | 10506 | |
11112 | 10507 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
11113 | 10508 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
11114 | 10509 | group ID. |
11115 | 10510 | |
11116 | 10511 | =end original |
11117 | 10512 | |
11118 | 10513 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; |
11119 | 10514 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
11120 | 10515 | |
11121 | 10516 | =item setrgid() not implemented |
11122 | 10517 | |
11123 | 10518 | =begin original |
11124 | 10519 | |
11125 | 10520 | (F) You tried to assign to C<$(>, and your operating system doesn't |
11126 | 10521 | support the setrgid() system call (or equivalent), or at least Configure |
11127 | 10522 | didn't think so. |
11128 | 10523 | |
11129 | 10524 | =end original |
11130 | 10525 | |
11131 | 10526 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
11132 | 10527 | システムコール (または、同等のもの) がサポートされていません; |
11133 | 10528 | 少なくとも Configure では、そう判断されました。 |
11134 | 10529 | |
11135 | 10530 | =item setruid() not implemented |
11136 | 10531 | |
11137 | 10532 | =begin original |
11138 | 10533 | |
11139 | 10534 | (F) You tried to assign to C<$<>, and your operating system doesn't |
11140 | 10535 | support the setruid() system call (or equivalent), or at least Configure |
11141 | 10536 | didn't think so. |
11142 | 10537 | |
11143 | 10538 | =end original |
11144 | 10539 | |
11145 | 10540 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
11146 | 10541 | システムコール (または、同等のもの) がサポートされていません; |
11147 | 10542 | 少なくとも Configure では、そう判断されました。 |
11148 | 10543 | |
11149 | 10544 | =item setsockopt() on closed socket %s |
11150 | 10545 | |
11151 | 10546 | =begin original |
11152 | 10547 | |
11153 | 10548 | (W closed) You tried to set a socket option on a closed socket. Did you |
11154 | 10549 | forget to check the return value of your socket() call? See |
11155 | 10550 | L<perlfunc/setsockopt>. |
11156 | 10551 | |
11157 | 10552 | =end original |
11158 | 10553 | |
11159 | 10554 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
11160 | 10555 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
11161 | 10556 | L<perlfunc/setsockopt> を参照してください。 |
11162 | 10557 | |
11163 | 10558 | =item shm%s not implemented |
11164 | 10559 | |
11165 | 10560 | =begin original |
11166 | 10561 | |
11167 | 10562 | (F) You don't have System V shared memory IPC on your system. |
11168 | 10563 | |
11169 | 10564 | =end original |
11170 | 10565 | |
11171 | 10566 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
11172 | 10567 | |
11173 | 10568 | =item !=~ should be !~ |
11174 | 10569 | |
11175 | 10570 | =begin original |
11176 | 10571 | |
11177 | 10572 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be |
11178 | 10573 | interpreted as the != (numeric not equal) and ~ (1's complement) |
11179 | 10574 | operators: probably not what you intended. |
11180 | 10575 | |
11181 | 10576 | =end original |
11182 | 10577 | |
11183 | 10578 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 |
11184 | 10579 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: |
11185 | 10580 | おそらくあなたの意図していることではないでしょう。 |
11186 | 10581 | |
11187 | 10582 | =item <> should be quotes |
11188 | 10583 | |
11189 | 10584 | =begin original |
11190 | 10585 | |
11191 | 10586 | (F) You wrote C<< require <file> >> when you should have written |
11192 | 10587 | C<require 'file'>. |
11193 | 10588 | |
11194 | 10589 | =end original |
11195 | 10590 | |
11196 | 10591 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と |
11197 | 10592 | 書いています。 |
11198 | 10593 | |
11199 | 10594 | =item /%s/ should probably be written as "%s" |
11200 | 10595 | |
11201 | 10596 | =begin original |
11202 | 10597 | |
11203 | 10598 | (W syntax) You have used a pattern where Perl expected to find a string, |
11204 | 10599 | as in the first argument to C<join>. Perl will treat the true or false |
11205 | 10600 | result of matching the pattern against $_ as the string, which is |
11206 | 10601 | probably not what you had in mind. |
11207 | 10602 | |
11208 | 10603 | =end original |
11209 | 10604 | |
11210 | 10605 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
11211 | 10606 | パターンを使いました。 |
11212 | 10607 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
11213 | 10608 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
11214 | 10609 | |
11215 | 10610 | =item shutdown() on closed socket %s |
11216 | 10611 | |
11217 | 10612 | =begin original |
11218 | 10613 | |
11219 | 10614 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
11220 | 10615 | superfluous. |
11221 | 10616 | |
11222 | 10617 | =end original |
11223 | 10618 | |
11224 | 10619 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
11225 | 10620 | 多少、無駄のように思われます。 |
11226 | 10621 | |
11227 | 10622 | =item SIG%s handler "%s" not defined |
11228 | 10623 | |
11229 | 10624 | =begin original |
11230 | 10625 | |
11231 | 10626 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
11232 | 10627 | Perhaps you put it into the wrong package? |
11233 | 10628 | |
11234 | 10629 | =end original |
11235 | 10630 | |
11236 | 10631 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
11237 | 10632 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
11238 | 10633 | |
11239 | =item Slab leaked from cv %p | |
11240 | ||
11241 | =begin original | |
11242 | ||
11243 | (S) If you see this message, then something is seriously wrong with the | |
11244 | internal bookkeeping of op trees. An op tree needed to be freed after | |
11245 | a compilation error, but could not be found, so it was leaked instead. | |
11246 | ||
11247 | =end original | |
11248 | ||
11249 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく | |
11250 | 悪いことになっています。 | |
11251 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 | |
11252 | 見つからないので、リークしています。 | |
11253 | ||
11254 | =item sleep(%u) too large | |
11255 | ||
11256 | =begin original | |
11257 | ||
11258 | (W overflow) You called C<sleep> with a number that was larger than | |
11259 | it can reliably handle and C<sleep> probably slept for less time than | |
11260 | requested. | |
11261 | ||
11262 | =end original | |
11263 | ||
11264 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 | |
11265 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 | |
11266 | ||
11267 | =item Smartmatch is experimental | |
11268 | ||
11269 | =begin original | |
11270 | ||
11271 | (S experimental::smartmatch) This warning is emitted if you | |
11272 | use the smartmatch (C<~~>) operator. This is currently an experimental | |
11273 | feature, and its details are subject to change in future releases of | |
11274 | Perl. Particularly, its current behavior is noticed for being | |
11275 | unnecessarily complex and unintuitive, and is very likely to be | |
11276 | overhauled. | |
11277 | ||
11278 | =end original | |
11279 | ||
11280 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
11281 | 使ったときに出力亜sれます。 | |
11282 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
11283 | 可能性があります。 | |
11284 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に | |
11285 | 見直されます。 | |
11286 | ||
11287 | 10634 | =item Smart matching a non-overloaded object breaks encapsulation |
11288 | 10635 | |
11289 | 10636 | =begin original |
11290 | 10637 | |
11291 | 10638 | (F) You should not use the C<~~> operator on an object that does not |
11292 | 10639 | overload it: Perl refuses to use the object's underlying structure for |
11293 | 10640 | the smart match. |
11294 | 10641 | |
11295 | 10642 | =end original |
11296 | 10643 | |
11297 | 10644 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を |
11298 | 10645 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの |
11299 | 10646 | 基礎となる構造を使うことを拒否します。 |
11300 | 10647 | |
11301 | 10648 | =item sort is now a reserved word |
11302 | 10649 | |
11303 | 10650 | =begin original |
11304 | 10651 | |
11305 | 10652 | (F) An ancient error message that almost nobody ever runs into anymore. |
11306 | 10653 | But before sort was a keyword, people sometimes used it as a filehandle. |
11307 | 10654 | |
11308 | 10655 | =end original |
11309 | 10656 | |
11310 | 10657 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
11311 | 10658 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
11312 | 10659 | 使う方がいました。 |
11313 | 10660 | |
11314 | 10661 | =item Sort subroutine didn't return single value |
11315 | 10662 | |
11316 | 10663 | =begin original |
11317 | 10664 | |
11318 | (F) A sort comparison subroutine | |
10665 | (F) A sort comparison subroutine may not return a list value with more | |
11319 | ||
10666 | or less than one element. See L<perlfunc/sort>. | |
11320 | 10667 | |
11321 | 10668 | =end original |
11322 | 10669 | |
11323 | (F) | |
10670 | (F) sort の比較サブルーチンは、要素が 1 個以外のリスト値を | |
11324 | 返 | |
10671 | 返すことはできません。 | |
11325 | 10672 | L<perlfunc/sort> を参照してください。 |
11326 | 10673 | |
11327 | 10674 | =item Source filters apply only to byte streams |
11328 | 10675 | |
11329 | 10676 | =begin original |
11330 | 10677 | |
11331 | 10678 | (F) You tried to activate a source filter (usually by loading a |
11332 | 10679 | source filter module) within a string passed to C<eval>. This is |
11333 | 10680 | not permitted under the C<unicode_eval> feature. Consider using |
11334 | 10681 | C<evalbytes> instead. See L<feature>. |
11335 | 10682 | |
11336 | 10683 | =end original |
11337 | 10684 | |
11338 | 10685 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを |
11339 | 10686 | 読み込むことで)ソースフィルタを有効にしようとしました。 |
11340 | 10687 | これは C<unicode_eval> 機能が有効の場合は許されていません。 |
11341 | 10688 | 代わりに C<evalbytes> を使うことを検討してください。 |
11342 | 10689 | L<feature> を参照してください。 |
11343 | 10690 | |
11344 | 10691 | =item splice() offset past end of array |
11345 | 10692 | |
11346 | 10693 | =begin original |
11347 | 10694 | |
11348 | 10695 | (W misc) You attempted to specify an offset that was past the end of |
11349 | 10696 | the array passed to splice(). Splicing will instead commence at the |
11350 | 10697 | end of the array, rather than past it. If this isn't what you want, |
11351 | 10698 | try explicitly pre-extending the array by assigning $#array = $offset. |
11352 | 10699 | See L<perlfunc/splice>. |
11353 | 10700 | |
11354 | 10701 | =end original |
11355 | 10702 | |
11356 | 10703 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 |
11357 | 10704 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 |
11358 | 10705 | これが望んでいることではないなら、$#array = $offset と代入することで |
11359 | 10706 | 明示的に事前に配列を拡張してください。 |
11360 | 10707 | L<perlfunc/splice> を参照してください。 |
11361 | 10708 | |
11362 | 10709 | =item Split loop |
11363 | 10710 | |
11364 | 10711 | =begin original |
11365 | 10712 | |
11366 | 10713 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
11367 | 10714 | iterate more times than there are characters of input, which is what |
11368 | 10715 | happened.) See L<perlfunc/split>. |
11369 | 10716 | |
11370 | 10717 | =end original |
11371 | 10718 | |
11372 | 10719 | (P) split が無限ループに陥りました。 |
11373 | 10720 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
11374 | 10721 | そうなってしまいました。) |
11375 | 10722 | L<perlfunc/split> を参照してください。 |
11376 | 10723 | |
11377 | 10724 | =item Statement unlikely to be reached |
11378 | 10725 | |
11379 | 10726 | =begin original |
11380 | 10727 | |
11381 | 10728 | (W exec) You did an exec() with some statement after it other than a |
11382 | 10729 | die(). This is almost always an error, because exec() never returns |
11383 | 10730 | unless there was a failure. You probably wanted to use system() |
11384 | 10731 | instead, which does return. To suppress this warning, put the exec() in |
11385 | 10732 | a block by itself. |
11386 | 10733 | |
11387 | 10734 | =end original |
11388 | 10735 | |
11389 | 10736 | (W exec) exec() の後に、die() 以外の実行文があります。 |
11390 | 10737 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
11391 | 10738 | ほとんどの場合には誤りでしょう。 |
11392 | 10739 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
11393 | 10740 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
11394 | 10741 | |
11395 | 10742 | =item "state" variable %s can't be in a package |
11396 | 10743 | |
11397 | 10744 | =begin original |
11398 | 10745 | |
11399 | 10746 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
11400 | 10747 | sense to try to declare one with a package qualifier on the front. Use |
11401 | 10748 | local() if you want to localize a package variable. |
11402 | 10749 | |
11403 | 10750 | =end original |
11404 | 10751 | |
11405 | 10752 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 |
11406 | 10753 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
11407 | 10754 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
11408 | 10755 | |
11409 | =item "state %s" used in sort comparison | |
11410 | ||
11411 | =begin original | |
11412 | ||
11413 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
11414 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
11415 | sort comparison block, and the variable had earlier been declared as a | |
11416 | lexical variable. Either qualify the sort variable with the package | |
11417 | name, or rename the lexical variable. | |
11418 | ||
11419 | =end original | |
11420 | ||
11421 | (W syntax) パッケージ変数 $a と $b はソート比較に使われます。 | |
11422 | $a または $b を、ソート比較ブロックの内側の C<< <=> >> または C<cmp> 演算子で | |
11423 | 使いましたが、その変数は先にレキシカル変数として定義されています。 | |
11424 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
11425 | ||
11426 | 10756 | =item stat() on unopened filehandle %s |
11427 | 10757 | |
11428 | 10758 | =begin original |
11429 | 10759 | |
11430 | 10760 | (W unopened) You tried to use the stat() function on a filehandle that |
11431 | 10761 | was either never opened or has since been closed. |
11432 | 10762 | |
11433 | 10763 | =end original |
11434 | 10764 | |
11435 | 10765 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
11436 | 10766 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
11437 | 10767 | |
11438 | 10768 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" |
11439 | 10769 | |
11440 | 10770 | =begin original |
11441 | 10771 | |
11442 | 10772 | (P) Overloading resolution over @ISA tree may be broken by importation |
11443 | 10773 | stubs. Stubs should never be implicitly created, but explicit calls to |
11444 | 10774 | C<can> may break this. |
11445 | 10775 | |
11446 | 10776 | =end original |
11447 | 10777 | |
11448 | 10778 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
11449 | 10779 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
11450 | 10780 | これを破壊することがあります。 |
11451 | 10781 | |
11452 | =item Subroutine "&%s" is not available | |
11453 | ||
11454 | =begin original | |
11455 | ||
11456 | (W closure) During compilation, an inner named subroutine or eval is | |
11457 | attempting to capture an outer lexical subroutine that is not currently | |
11458 | available. This can happen for one of two reasons. First, the lexical | |
11459 | subroutine may be declared in an outer anonymous subroutine that has not | |
11460 | yet been created. (Remember that named subs are created at compile time, | |
11461 | while anonymous subs are created at run-time.) For example, | |
11462 | ||
11463 | =end original | |
11464 | ||
11465 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
11466 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
11467 | これは二つの理由で起こります。 | |
11468 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
11469 | 宣言されたときです。 | |
11470 | (名前付きサブルーチンはコンパイル時に作成される一方、無名サブルーチンは | |
11471 | 実行時に作成されることを思い出してください。) | |
11472 | 例えば、 | |
11473 | ||
11474 | sub { my sub a {...} sub f { \&a } } | |
11475 | ||
11476 | =begin original | |
11477 | ||
11478 | At the time that f is created, it can't capture the current the "a" sub, | |
11479 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
11480 | following won't give a warning since the anonymous subroutine has by now | |
11481 | been created and is live: | |
11482 | ||
11483 | =end original | |
11484 | ||
11485 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
11486 | 無名サブルーチンはまだ作成されていないからです。 | |
11487 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
11488 | 生きているからです: | |
11489 | ||
11490 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
11491 | ||
11492 | =begin original | |
11493 | ||
11494 | The second situation is caused by an eval accessing a variable that has | |
11495 | gone out of scope, for example, | |
11496 | ||
11497 | =end original | |
11498 | ||
11499 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; | |
11500 | 例えば: | |
11501 | ||
11502 | sub f { | |
11503 | my sub a {...} | |
11504 | sub { eval '\&a' } | |
11505 | } | |
11506 | f()->(); | |
11507 | ||
11508 | =begin original | |
11509 | ||
11510 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
11511 | being executed, so its &a is not available for capture. | |
11512 | ||
11513 | =end original | |
11514 | ||
11515 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
11516 | 実行されていないので、&a は捕捉として利用できません。 | |
11517 | ||
11518 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
11519 | ||
11520 | =begin original | |
11521 | ||
11522 | (W misc) A "my" or "state" subroutine has been redeclared in the | |
11523 | current scope or statement, effectively eliminating all access to | |
11524 | the previous instance. This is almost always a typographical error. | |
11525 | Note that the earlier subroutine will still exist until the end of | |
11526 | the scope or until all closure references to it are destroyed. | |
11527 | ||
11528 | =end original | |
11529 | ||
11530 | (W misc) "my" または "state" サブルーチンは現在のスコープまたは文で | |
11531 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
11532 | これはほとんど常にタイプミスです。 | |
11533 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
11534 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
11535 | ||
11536 | 10782 | =item Subroutine %s redefined |
11537 | 10783 | |
11538 | 10784 | =begin original |
11539 | 10785 | |
11540 | 10786 | (W redefine) You redefined a subroutine. To suppress this warning, say |
11541 | 10787 | |
11542 | 10788 | =end original |
11543 | 10789 | |
11544 | 10790 | (W redefine) サブルーチンを再定義しました。 |
11545 | 10791 | この警告を止めるには以下のようにしてください: |
11546 | 10792 | |
11547 | 10793 | { |
11548 | 10794 | no warnings 'redefine'; |
11549 | 10795 | eval "sub name { ... }"; |
11550 | 10796 | } |
11551 | 10797 | |
11552 | 10798 | =item Substitution loop |
11553 | 10799 | |
11554 | 10800 | =begin original |
11555 | 10801 | |
11556 | 10802 | (P) The substitution was looping infinitely. (Obviously, a substitution |
11557 | 10803 | shouldn't iterate more times than there are characters of input, which |
11558 | 10804 | is what happened.) See the discussion of substitution in |
11559 | 10805 | L<perlop/"Regexp Quote-Like Operators">. |
11560 | 10806 | |
11561 | 10807 | =end original |
11562 | 10808 | |
11563 | 10809 | (P) 置換が無限ループに陥りました。 |
11564 | 10810 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
11565 | 10811 | それが起こってしまいました。) |
11566 | 10812 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 |
11567 | 10813 | |
11568 | 10814 | =item Substitution pattern not terminated |
11569 | 10815 | |
11570 | 10816 | =begin original |
11571 | 10817 | |
11572 | 10818 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} |
11573 | 10819 | construct. Remember that bracketing delimiters count nesting level. |
11574 | 10820 | Missing the leading C<$> from variable C<$s> may cause this error. |
11575 | 10821 | |
11576 | 10822 | =end original |
11577 | 10823 | |
11578 | 10824 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
11579 | 10825 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
11580 | 10826 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
11581 | 10827 | |
11582 | 10828 | =item Substitution replacement not terminated |
11583 | 10829 | |
11584 | 10830 | =begin original |
11585 | 10831 | |
11586 | 10832 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} |
11587 | 10833 | construct. Remember that bracketing delimiters count nesting level. |
11588 | 10834 | Missing the leading C<$> from variable C<$s> may cause this error. |
11589 | 10835 | |
11590 | 10836 | =end original |
11591 | 10837 | |
11592 | 10838 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
11593 | 10839 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
11594 | 10840 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
11595 | 10841 | |
11596 | 10842 | =item substr outside of string |
11597 | 10843 | |
11598 | 10844 | =begin original |
11599 | 10845 | |
11600 | 10846 | (W substr)(F) You tried to reference a substr() that pointed outside of |
11601 | 10847 | a string. That is, the absolute value of the offset was larger than the |
11602 | 10848 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
11603 | 10849 | substr is used in an lvalue context (as the left hand side of an |
11604 | 10850 | assignment or as a subroutine argument for example). |
11605 | 10851 | |
11606 | 10852 | =end original |
11607 | 10853 | |
11608 | 10854 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 |
11609 | 10855 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
11610 | 10856 | L<perlfunc/substr> を参照してください。 |
11611 | 10857 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
11612 | 10858 | 左辺値として使われた場合は致命的となります。 |
11613 | 10859 | |
11614 | 10860 | =item sv_upgrade from type %d down to type %d |
11615 | 10861 | |
11616 | 10862 | =begin original |
11617 | 10863 | |
11618 | 10864 | (P) Perl tried to force the upgrade of an SV to a type which was actually |
11619 | 10865 | inferior to its current type. |
11620 | 10866 | |
11621 | 10867 | =end original |
11622 | 10868 | |
11623 | 10869 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を |
11624 | 10870 | 強制しようとしました。 |
11625 | 10871 | |
11626 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
10872 | =item Switch (?(condition)... contains too many branches in regex; marked by <-- HERE in m/%s/ | |
11627 | <-- HERE in m/%s/ | |
11628 | 10873 | |
11629 | 10874 | =begin original |
11630 | 10875 | |
11631 | 10876 | (F) A (?(condition)if-clause|else-clause) construct can have at most |
11632 | 10877 | two branches (the if-clause and the else-clause). If you want one or |
11633 | 10878 | both to contain alternation, such as using C<this|that|other>, enclose |
11634 | 10879 | it in clustering parentheses: |
11635 | 10880 | |
11636 | 10881 | =end original |
11637 | 10882 | |
11638 | 10883 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 |
11639 | 10884 | (if-clause と else-clause) を持つことができます。 |
11640 | 10885 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
11641 | 10886 | |
11642 | 10887 | (?(condition)(?:this|that|other)|else-clause) |
11643 | 10888 | |
11644 | 10889 | =begin original |
11645 | 10890 | |
11646 | The <-- HERE shows | |
10891 | The <-- HERE shows in the regular expression about where the problem | |
11647 | 10892 | was discovered. See L<perlre>. |
11648 | 10893 | |
11649 | 10894 | =end original |
11650 | 10895 | |
11651 | 10896 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
11652 | 10897 | L<perlre> を参照してください。 |
11653 | 10898 | |
11654 | 10899 | =item Switch condition not recognized in regex; marked by <-- HERE in m/%s/ |
11655 | 10900 | |
11656 | 10901 | =begin original |
11657 | 10902 | |
11658 | 10903 | (F) If the argument to the (?(...)if-clause|else-clause) construct is |
11659 | a number, it can be only a number. The <-- HERE shows | |
10904 | a number, it can be only a number. The <-- HERE shows in the regular | |
11660 | ||
10905 | expression about where the problem was discovered. See L<perlre>. | |
11661 | 10906 | |
11662 | 10907 | =end original |
11663 | 10908 | |
11664 | 10909 | (?(...)if-clause|else-clause) 構造の引数が数値なら、数値だけが可能です。 |
11665 | 10910 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
11666 | 10911 | L<perlre> を参照してください。 |
11667 | 10912 | |
11668 | 10913 | =item switching effective %s is not implemented |
11669 | 10914 | |
11670 | 10915 | =begin original |
11671 | 10916 | |
11672 | 10917 | (F) While under the C<use filetest> pragma, we cannot switch the real |
11673 | 10918 | and effective uids or gids. |
11674 | 10919 | |
11675 | 10920 | =end original |
11676 | 10921 | |
11677 | 10922 | (F) C<use filetest> プラグマを使っている間に、 |
11678 | 10923 | 実と実効の UID や GID の切り替えに失敗しました。 |
11679 | 10924 | |
11680 | 10925 | =item %s syntax OK |
11681 | 10926 | |
11682 | 10927 | =begin original |
11683 | 10928 | |
11684 | 10929 | (F) The final summary message when a C<perl -c> succeeds. |
11685 | 10930 | |
11686 | 10931 | =end original |
11687 | 10932 | |
11688 | 10933 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
11689 | 10934 | |
11690 | 10935 | =item syntax error |
11691 | 10936 | |
11692 | 10937 | =begin original |
11693 | 10938 | |
11694 | 10939 | (F) Probably means you had a syntax error. Common reasons include: |
11695 | 10940 | |
11696 | 10941 | =end original |
11697 | 10942 | |
11698 | 10943 | (F) おそらく、構文エラーが起こっています。 |
11699 | 10944 | よくある原因としては以下のことが考えられます: |
11700 | 10945 | |
11701 | 10946 | =begin original |
11702 | 10947 | |
11703 | 10948 | A keyword is misspelled. |
11704 | 10949 | A semicolon is missing. |
11705 | 10950 | A comma is missing. |
11706 | 10951 | An opening or closing parenthesis is missing. |
11707 | 10952 | An opening or closing brace is missing. |
11708 | 10953 | A closing quote is missing. |
11709 | 10954 | |
11710 | 10955 | =end original |
11711 | 10956 | |
11712 | 10957 | キーワードのスペルミス。 |
11713 | 10958 | セミコロンを忘れた。 |
11714 | 10959 | コンマを忘れた。 |
11715 | 10960 | 開きかっこ、閉じかっこを忘れた。 |
11716 | 10961 | 開き中かっこ、閉じ中かっこを忘れた。 |
11717 | 10962 | クォートの閉じ忘れ。 |
11718 | 10963 | |
11719 | 10964 | =begin original |
11720 | 10965 | |
11721 | 10966 | Often there will be another error message associated with the syntax |
11722 | 10967 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
11723 | 10968 | The error message itself often tells you where it was in the line when |
11724 | 10969 | it decided to give up. Sometimes the actual error is several tokens |
11725 | 10970 | before this, because Perl is good at understanding random input. |
11726 | 10971 | Occasionally the line number may be misleading, and once in a blue moon |
11727 | 10972 | the only way to figure out what's triggering the error is to call |
11728 | 10973 | C<perl -c> repeatedly, chopping away half the program each time to see |
11729 | 10974 | if the error went away. Sort of the cybernetic version of S<20 questions>. |
11730 | 10975 | |
11731 | 10976 | =end original |
11732 | 10977 | |
11733 | 10978 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
11734 | 10979 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
11735 | 10980 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
11736 | 10981 | 含まれています。 |
11737 | 10982 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
11738 | 10983 | 在ることもあります。 |
11739 | 10984 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
11740 | 10985 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
11741 | 10986 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
11742 | 10987 | S<頭の体操 20 問>だと思ってください。 |
11743 | 10988 | |
11744 | 10989 | =item syntax error at line %d: '%s' unexpected |
11745 | 10990 | |
11746 | 10991 | =begin original |
11747 | 10992 | |
11748 | 10993 | (A) You've accidentally run your script through the Bourne shell instead |
11749 | 10994 | of Perl. Check the #! line, or manually feed your script into Perl |
11750 | 10995 | yourself. |
11751 | 10996 | |
11752 | 10997 | =end original |
11753 | 10998 | |
11754 | 10999 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
11755 | 11000 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
11756 | 11001 | |
11757 | 11002 | =item syntax error in file %s at line %d, next 2 tokens "%s" |
11758 | 11003 | |
11759 | 11004 | =begin original |
11760 | 11005 | |
11761 | 11006 | (F) This error is likely to occur if you run a perl5 script through |
11762 | 11007 | a perl4 interpreter, especially if the next 2 tokens are "use strict" |
11763 | 11008 | or "my $var" or "our $var". |
11764 | 11009 | |
11765 | 11010 | =end original |
11766 | 11011 | |
11767 | 11012 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに |
11768 | 11013 | おきそうなものです; 特に次の二つのトークンが "use strict" か |
11769 | 11014 | "my $var" か "our $var" の場合はそうです。 |
11770 | 11015 | |
11771 | 11016 | =item sysread() on closed filehandle %s |
11772 | 11017 | |
11773 | 11018 | =begin original |
11774 | 11019 | |
11775 | 11020 | (W closed) You tried to read from a closed filehandle. |
11776 | 11021 | |
11777 | 11022 | =end original |
11778 | 11023 | |
11779 | 11024 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
11780 | 11025 | |
11781 | 11026 | =item sysread() on unopened filehandle %s |
11782 | 11027 | |
11783 | 11028 | =begin original |
11784 | 11029 | |
11785 | 11030 | (W unopened) You tried to read from a filehandle that was never opened. |
11786 | 11031 | |
11787 | 11032 | =end original |
11788 | 11033 | |
11789 | 11034 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
11790 | 11035 | |
11791 | =item Syntax error in (?[...]) in regex m/%s/ | |
11792 | ||
11793 | =begin original | |
11794 | ||
11795 | (F) | |
11796 | Perl could not figure out what you meant inside this construct; this | |
11797 | notifies you that it is giving up trying. | |
11798 | ||
11799 | =end original | |
11800 | ||
11801 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
11802 | これは試すのを諦めたことを知らせます。 | |
11803 | ||
11804 | 11036 | =item System V %s is not implemented on this machine |
11805 | 11037 | |
11806 | 11038 | =begin original |
11807 | 11039 | |
11808 | 11040 | (F) You tried to do something with a function beginning with "sem", |
11809 | 11041 | "shm", or "msg" but that System V IPC is not implemented in your |
11810 | 11042 | machine. In some machines the functionality can exist but be |
11811 | 11043 | unconfigured. Consult your system support. |
11812 | 11044 | |
11813 | 11045 | =end original |
11814 | 11046 | |
11815 | 11047 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
11816 | 11048 | あなたのマシンには System V IPC が実装されていません。 |
11817 | 11049 | 機能はあっても設定されていない場合もあります。 |
11818 | 11050 | システムサポートに相談してください。 |
11819 | 11051 | |
11820 | 11052 | =item syswrite() on closed filehandle %s |
11821 | 11053 | |
11822 | 11054 | =begin original |
11823 | 11055 | |
11824 | 11056 | (W closed) The filehandle you're writing to got itself closed sometime |
11825 | 11057 | before now. Check your control flow. |
11826 | 11058 | |
11827 | 11059 | =end original |
11828 | 11060 | |
11829 | 11061 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
11830 | 11062 | 制御フローをチェックしてください。 |
11831 | 11063 | |
11832 | 11064 | =item C<-T> and C<-B> not implemented on filehandles |
11833 | 11065 | |
11834 | 11066 | =begin original |
11835 | 11067 | |
11836 | 11068 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't |
11837 | 11069 | know about your kind of stdio. You'll have to use a filename instead. |
11838 | 11070 | |
11839 | 11071 | =end original |
11840 | 11072 | |
11841 | 11073 | (F) Perl が、お使いの stdio のことをよく知らないとき、 |
11842 | 11074 | ファイルハンドルの stdio バッファを覗くことはできません。 |
11843 | 11075 | 代わりにファイル名を使わなければなりません。 |
11844 | 11076 | |
11845 | 11077 | =item Target of goto is too deeply nested |
11846 | 11078 | |
11847 | 11079 | =begin original |
11848 | 11080 | |
11849 | 11081 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
11850 | 11082 | for Perl to reach. Perl is doing you a favor by refusing. |
11851 | 11083 | |
11852 | 11084 | =end original |
11853 | 11085 | |
11854 | 11086 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
11855 | 11087 | Perl は親切にもこれを拒否します。 |
11856 | 11088 | |
11857 | 11089 | =item telldir() attempted on invalid dirhandle %s |
11858 | 11090 | |
11859 | 11091 | =begin original |
11860 | 11092 | |
11861 | 11093 | (W io) The dirhandle you tried to telldir() is either closed or not really |
11862 | 11094 | a dirhandle. Check your control flow. |
11863 | 11095 | |
11864 | 11096 | =end original |
11865 | 11097 | |
11866 | 11098 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 |
11867 | 11099 | 実際にはディレクトリハンドルではありません。 |
11868 | 11100 | 制御フローをチェックしてください。 |
11869 | 11101 | |
11870 | 11102 | =item tell() on unopened filehandle |
11871 | 11103 | |
11872 | 11104 | =begin original |
11873 | 11105 | |
11874 | 11106 | (W unopened) You tried to use the tell() function on a filehandle that |
11875 | 11107 | was either never opened or has since been closed. |
11876 | 11108 | |
11877 | 11109 | =end original |
11878 | 11110 | |
11879 | 11111 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
11880 | 11112 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
11881 | 11113 | |
11882 | 11114 | =item That use of $[ is unsupported |
11883 | 11115 | |
11884 | 11116 | =begin original |
11885 | 11117 | |
11886 | 11118 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted |
11887 | 11119 | as a compiler directive. You may say only one of |
11888 | 11120 | |
11889 | 11121 | =end original |
11890 | 11122 | |
11891 | 11123 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 |
11892 | 11124 | 使えるのは以下の形だけです: |
11893 | 11125 | |
11894 | 11126 | $[ = 0; |
11895 | 11127 | $[ = 1; |
11896 | 11128 | ... |
11897 | 11129 | local $[ = 0; |
11898 | 11130 | local $[ = 1; |
11899 | 11131 | ... |
11900 | 11132 | |
11901 | 11133 | =begin original |
11902 | 11134 | |
11903 | 11135 | This is to prevent the problem of one module changing the array base out |
11904 | 11136 | from under another module inadvertently. See L<perlvar/$[> and L<arybase>. |
11905 | 11137 | |
11906 | 11138 | =end original |
11907 | 11139 | |
11908 | 11140 | これは、一つのモジュールで、他のモジュールが意図しないような、 |
11909 | 11141 | 配列のベースを変更する問題を回避するためのものです。 |
11910 | 11142 | L<perlvar/$[> と L<arybase> を参照してください。 |
11911 | 11143 | |
11912 | =item The crypt() function is unimplemented due to excessive paranoia | |
11144 | =item The crypt() function is unimplemented due to excessive paranoia | |
11913 | 11145 | |
11914 | 11146 | =begin original |
11915 | 11147 | |
11916 | 11148 | (F) Configure couldn't find the crypt() function on your machine, |
11917 | 11149 | probably because your vendor didn't supply it, probably because they |
11918 | 11150 | think the U.S. Government thinks it's a secret, or at least that they |
11919 | 11151 | will continue to pretend that it is. And if you quote me on that, I |
11920 | 11152 | will deny it. |
11921 | 11153 | |
11922 | 11154 | =end original |
11923 | 11155 | |
11924 | 11156 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; |
11925 | 11157 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
11926 | 11158 | アメリカ政府がそれを秘密だとしていると思っているか、 |
11927 | 11159 | 少なくとも思っているというふりをしているのでしょう。 |
11928 | 11160 | 私を引き合いに出したところで、それは否定されることでしょう。 |
11929 | 11161 | |
11930 | =item The lexical_subs feature is experimental | |
11931 | ||
11932 | =begin original | |
11933 | ||
11934 | (S experimental::lexical_subs) This warning is emitted if you | |
11935 | declare a sub with C<my> or C<state>. Simply suppress the warning | |
11936 | if you want to use the feature, but know that in doing so you | |
11937 | are taking the risk of using an experimental feature which may | |
11938 | change or be removed in a future Perl version: | |
11939 | ||
11940 | =end original | |
11941 | ||
11942 | (S experimental::lexical_subs) この警告は、サブルーチンを C<my> または | |
11943 | C<state> で宣言すると出力されます。 | |
11944 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
11945 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
11946 | 単に警告を抑制してください: | |
11947 | ||
11948 | no warnings "experimental::lexical_subs"; | |
11949 | use feature "lexical_subs"; | |
11950 | my sub foo { ... } | |
11951 | ||
11952 | =item The regex_sets feature is experimental | |
11953 | ||
11954 | =begin original | |
11955 | ||
11956 | (S experimental::regex_sets) This warning is emitted if you | |
11957 | use the syntax S<C<(?[ ])>> in a regular expression. | |
11958 | The details of this feature are subject to change. | |
11959 | if you want to use it, but know that in doing so you | |
11960 | are taking the risk of using an experimental feature which may | |
11961 | change in a future Perl version, you can do this to silence the | |
11962 | warning: | |
11963 | ||
11964 | =end original | |
11965 | ||
11966 | (S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を | |
11967 | 使うと出力されます。 | |
11968 | この機能の詳細は変更されることがあります。 | |
11969 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
11970 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
11971 | 以下のようにして警告を黙らせられます: | |
11972 | ||
11973 | no warnings "experimental::regex_sets"; | |
11974 | ||
11975 | =item The %s feature is experimental | |
11976 | ||
11977 | =begin original | |
11978 | ||
11979 | (S experimental) This warning is emitted if you enable an experimental | |
11980 | feature via C<use feature>. Simply suppress the warning if you want | |
11981 | to use the feature, but know that in doing so you are taking the risk | |
11982 | of using an experimental feature which may change or be removed in a | |
11983 | future Perl version: | |
11984 | ||
11985 | =end original | |
11986 | ||
11987 | (S experimental) この警告は、C<use feature> 経由で実験的機能を有効にすると | |
11988 | 出力されます。 | |
11989 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
11990 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
11991 | 単に警告を抑制してください: | |
11992 | ||
11993 | no warnings "experimental::lexical_subs"; | |
11994 | use feature "lexical_subs"; | |
11995 | ||
11996 | 11162 | =item The %s function is unimplemented |
11997 | 11163 | |
11998 | 11164 | =begin original |
11999 | 11165 | |
12000 | 11166 | (F) The function indicated isn't implemented on this architecture, according |
12001 | 11167 | to the probings of Configure. |
12002 | 11168 | |
12003 | 11169 | =end original |
12004 | 11170 | |
12005 | 11171 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
12006 | 11172 | 実装されていないようです。 |
12007 | 11173 | |
12008 | 11174 | =item The stat preceding %s wasn't an lstat |
12009 | 11175 | |
12010 | 11176 | =begin original |
12011 | 11177 | |
12012 | 11178 | (F) It makes no sense to test the current stat buffer for symbolic |
12013 | 11179 | linkhood if the last stat that wrote to the stat buffer already went |
12014 | 11180 | past the symlink to get to the real file. Use an actual filename |
12015 | 11181 | instead. |
12016 | 11182 | |
12017 | 11183 | =end original |
12018 | 11184 | |
12019 | 11185 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
12020 | 11186 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
12021 | 11187 | stat をカレント stat バッファに対して行なっても意味がありません。 |
12022 | 11188 | 実際のファイル名を使ってください。 |
12023 | 11189 | |
12024 | 11190 | =item The 'unique' attribute may only be applied to 'our' variables |
12025 | 11191 | |
12026 | 11192 | =begin original |
12027 | 11193 | |
12028 | 11194 | (F) This attribute was never supported on C<my> or C<sub> declarations. |
12029 | 11195 | |
12030 | 11196 | =end original |
12031 | 11197 | |
12032 | 11198 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 |
12033 | 11199 | |
12034 | 11200 | =item This Perl can't reset CRTL environ elements (%s) |
12035 | 11201 | |
12036 | 11202 | =item This Perl can't set CRTL environ elements (%s=%s) |
12037 | 11203 | |
12038 | 11204 | =begin original |
12039 | 11205 | |
12040 | 11206 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
12041 | 11207 | element of the CRTL's internal environ array, but your copy of Perl |
12042 | 11208 | wasn't built with a CRTL that contained the setenv() function. You'll |
12043 | 11209 | need to rebuild Perl with a CRTL that does, or redefine |
12044 | 11210 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
12045 | 11211 | target of the change to |
12046 | 11212 | %ENV which produced the warning. |
12047 | 11213 | |
12048 | 11214 | =end original |
12049 | 11215 | |
12050 | 11216 | (W internal) VMS に固有の警告です。 |
12051 | 11217 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
12052 | 11218 | setenv() 関数を含んだ CRTL でビルドされていません。 |
12053 | 11219 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
12054 | 11220 | 出力している %ENV を変更するターゲットとならないように |
12055 | 11221 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
12056 | 11222 | |
12057 | =item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set(). | |
12058 | ||
12059 | =begin original | |
12060 | ||
12061 | (F) Something has attempted to use an internal API call which | |
12062 | depends on Perl being compiled with the default support for randomized hash | |
12063 | key traversal, but this Perl has been compiled without it. You should | |
12064 | report this warning to the relevant upstream party, or recompile perl | |
12065 | with default options. | |
12066 | ||
12067 | =end original | |
12068 | ||
12069 | (F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に | |
12070 | 依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで | |
12071 | コンパイルされていました。 | |
12072 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
12073 | 再コンパイルしてください。 | |
12074 | ||
12075 | 11223 | =item thread failed to start: %s |
12076 | 11224 | |
12077 | 11225 | =begin original |
12078 | 11226 | |
12079 | 11227 | (W threads)(S) The entry point function of threads->create() failed for some reason. |
12080 | 11228 | |
12081 | 11229 | =end original |
12082 | 11230 | |
12083 | 11231 | (W threads)(S) threads->create() のエントリポイント関数が何らかの理由で |
12084 | 11232 | 失敗しました。 |
12085 | 11233 | |
12086 | 11234 | =item times not implemented |
12087 | 11235 | |
12088 | 11236 | =begin original |
12089 | 11237 | |
12090 | 11238 | (F) Your version of the C library apparently doesn't do times(). I |
12091 | 11239 | suspect you're not running on Unix. |
12092 | 11240 | |
12093 | 11241 | =end original |
12094 | 11242 | |
12095 | 11243 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
12096 | 11244 | UNIX ではない環境でしょうか。 |
12097 | 11245 | |
12098 | 11246 | =item "-T" is on the #! line, it must also be used on the command line |
12099 | 11247 | |
12100 | 11248 | =begin original |
12101 | 11249 | |
12102 | 11250 | (X) The #! line (or local equivalent) in a Perl script contains |
12103 | 11251 | the B<-T> option (or the B<-t> option), but Perl was not invoked with |
12104 | 11252 | B<-T> in its command line. This is an error because, by the time |
12105 | 11253 | Perl discovers a B<-T> in a script, it's too late to properly taint |
12106 | 11254 | everything from the environment. So Perl gives up. |
12107 | 11255 | |
12108 | 11256 | =end original |
12109 | 11257 | |
12110 | 11258 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
12111 | 11259 | オプション (または B<-t> オプション) が含まれていますが、Perl は |
12112 | 11260 | コマンドラインで B<-T> 付きで起動されていません。 |
12113 | 11261 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
12114 | 11262 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
12115 | 11263 | それで Perl は諦めます。 |
12116 | 11264 | |
12117 | 11265 | =begin original |
12118 | 11266 | |
12119 | 11267 | If the Perl script is being executed as a command using the #! |
12120 | 11268 | mechanism (or its local equivalent), this error can usually be |
12121 | 11269 | fixed by editing the #! line so that the B<-%c> option is a part of |
12122 | 11270 | Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. |
12123 | 11271 | |
12124 | 11272 | =end original |
12125 | 11273 | |
12126 | 11274 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
12127 | 11275 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に |
12128 | 11276 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 |
12129 | 11277 | |
12130 | 11278 | =begin original |
12131 | 11279 | |
12132 | 11280 | If the Perl script is being executed as C<perl scriptname>, then the |
12133 | 11281 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. |
12134 | 11282 | |
12135 | 11283 | =end original |
12136 | 11284 | |
12137 | 11285 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
12138 | 11286 | コマンドラインに書かなければなりません: C<perl -%c scriptname> |
12139 | 11287 | |
12140 | 11288 | =item To%s: illegal mapping '%s' |
12141 | 11289 | |
12142 | 11290 | =begin original |
12143 | 11291 | |
12144 | 11292 | (F) You tried to define a customized To-mapping for lc(), lcfirst, |
12145 | 11293 | uc(), or ucfirst() (or their string-inlined versions), but you |
12146 | 11294 | specified an illegal mapping. |
12147 | 11295 | See L<perlunicode/"User-Defined Character Properties">. |
12148 | 11296 | |
12149 | 11297 | =end original |
12150 | 11298 | |
12151 | 11299 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の |
12152 | 11300 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 |
12153 | 11301 | 不正なマッピングを指定しました。 |
12154 | 11302 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 |
12155 | 11303 | |
12156 | 11304 | =item Too deeply nested ()-groups |
12157 | 11305 | |
12158 | 11306 | =begin original |
12159 | 11307 | |
12160 | 11308 | (F) Your template contains ()-groups with a ridiculously deep nesting level. |
12161 | 11309 | |
12162 | 11310 | =end original |
12163 | 11311 | |
12164 | 11312 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 |
12165 | 11313 | |
12166 | 11314 | =item Too few args to syscall |
12167 | 11315 | |
12168 | 11316 | =begin original |
12169 | 11317 | |
12170 | 11318 | (F) There has to be at least one argument to syscall() to specify the |
12171 | 11319 | system call to call, silly dilly. |
12172 | 11320 | |
12173 | 11321 | =end original |
12174 | 11322 | |
12175 | 11323 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
12176 | 11324 | 引数が一つ必要です。 |
12177 | 11325 | |
12178 | 11326 | =item Too late for "-%s" option |
12179 | 11327 | |
12180 | 11328 | =begin original |
12181 | 11329 | |
12182 | 11330 | (X) The #! line (or local equivalent) in a Perl script contains the |
12183 | 11331 | B<-M>, B<-m> or B<-C> option. |
12184 | 11332 | |
12185 | 11333 | =end original |
12186 | 11334 | |
12187 | 11335 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, |
12188 | 11336 | B<-C> オプションが含まれています。 |
12189 | 11337 | |
12190 | 11338 | =begin original |
12191 | 11339 | |
12192 | 11340 | In the case of B<-M> and B<-m>, this is an error because those options |
12193 | 11341 | are not intended for use inside scripts. Use the C<use> pragma instead. |
12194 | 11342 | |
12195 | 11343 | =end original |
12196 | 11344 | |
12197 | 11345 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 |
12198 | 11346 | これはエラーになります。 |
12199 | 11347 | 代わりに C<use> プラグマを使ってください。 |
12200 | 11348 | |
12201 | 11349 | =begin original |
12202 | 11350 | |
12203 | 11351 | The B<-C> option only works if it is specified on the command line as |
12204 | 11352 | well (with the same sequence of letters or numbers following). Either |
12205 | 11353 | specify this option on the command line, or, if your system supports |
12206 | 11354 | it, make your script executable and run it directly instead of passing |
12207 | 11355 | it to perl. |
12208 | 11356 | |
12209 | 11357 | =end original |
12210 | 11358 | |
12211 | 11359 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) |
12212 | 11360 | 指定されたときにのみ動作します。 |
12213 | 11361 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 |
12214 | 11362 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして |
12215 | 11363 | 直接実行してください。 |
12216 | 11364 | |
12217 | 11365 | =item Too late to run %s block |
12218 | 11366 | |
12219 | 11367 | =begin original |
12220 | 11368 | |
12221 | 11369 | (W void) A CHECK or INIT block is being defined during run time proper, |
12222 | 11370 | when the opportunity to run them has already passed. Perhaps you are |
12223 | 11371 | loading a file with C<require> or C<do> when you should be using C<use> |
12224 | 11372 | instead. Or perhaps you should put the C<require> or C<do> inside a |
12225 | 11373 | BEGIN block. |
12226 | 11374 | |
12227 | 11375 | =end original |
12228 | 11376 | |
12229 | 11377 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
12230 | 11378 | 実行時に定義されました。 |
12231 | 11379 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
12232 | 11380 | 読み込んでいます。 |
12233 | 11381 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
12234 | 11382 | 書いたのでしょう。 |
12235 | 11383 | |
12236 | 11384 | =item Too many args to syscall |
12237 | 11385 | |
12238 | 11386 | =begin original |
12239 | 11387 | |
12240 | 11388 | (F) Perl supports a maximum of only 14 args to syscall(). |
12241 | 11389 | |
12242 | 11390 | =end original |
12243 | 11391 | |
12244 | 11392 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
12245 | 11393 | |
12246 | 11394 | =item Too many arguments for %s |
12247 | 11395 | |
12248 | 11396 | =begin original |
12249 | 11397 | |
12250 | 11398 | (F) The function requires fewer arguments than you specified. |
12251 | 11399 | |
12252 | 11400 | =end original |
12253 | 11401 | |
12254 | 11402 | (F) 関数が要求する以上の引数を指定しました。 |
12255 | 11403 | |
12256 | 11404 | =item Too many )'s |
12257 | 11405 | |
12258 | 11406 | =begin original |
12259 | 11407 | |
12260 | 11408 | (A) You've accidentally run your script through B<csh> instead of Perl. |
12261 | 11409 | Check the #! line, or manually feed your script into Perl yourself. |
12262 | 11410 | |
12263 | 11411 | =end original |
12264 | 11412 | |
12265 | 11413 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
12266 | 11414 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
12267 | 11415 | |
12268 | 11416 | =item Too many ('s |
12269 | 11417 | |
12270 | 11418 | =begin original |
12271 | 11419 | |
12272 | 11420 | (A) You've accidentally run your script through B<csh> instead of Perl. |
12273 | 11421 | Check the #! line, or manually feed your script into Perl yourself. |
12274 | 11422 | |
12275 | 11423 | =end original |
12276 | 11424 | |
12277 | 11425 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
12278 | 11426 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
12279 | 11427 | |
12280 | 11428 | =item Trailing \ in regex m/%s/ |
12281 | 11429 | |
12282 | 11430 | =begin original |
12283 | 11431 | |
12284 | 11432 | (F) The regular expression ends with an unbackslashed backslash. |
12285 | 11433 | Backslash it. See L<perlre>. |
12286 | 11434 | |
12287 | 11435 | =end original |
12288 | 11436 | |
12289 | 11437 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
12290 | 11438 | 終了しました。バックスラッシュを付けてください。 |
12291 | 11439 | L<perlre> を参照してください。 |
12292 | 11440 | |
12293 | =item Trailing white-space in a charnames alias definition is deprecated | |
12294 | ||
12295 | =begin original | |
12296 | ||
12297 | (D) You defined a character name which ended in a space character. | |
12298 | Remove the trailing space(s). Usually these names are defined in the | |
12299 | C<:alias> import argument to C<use charnames>, but they could be defined | |
12300 | by a translator installed into C<$^H{charnames}>. | |
12301 | See L<charnames/CUSTOM ALIASES>. | |
12302 | ||
12303 | =end original | |
12304 | ||
12305 | (D) スペース文字で終わる文字名を定義しました。 | |
12306 | 末尾のスペースを取り除いてください。 | |
12307 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
12308 | 定義されますが、C<$^H{charnames}> にインストールされた変換器でも | |
12309 | 定義できます。 | |
12310 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
12311 | ||
12312 | 11441 | =item Transliteration pattern not terminated |
12313 | 11442 | |
12314 | 11443 | =begin original |
12315 | 11444 | |
12316 | 11445 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
12317 | 11446 | or y/// or y[][] construct. Missing the leading C<$> from variables |
12318 | 11447 | C<$tr> or C<$y> may cause this error. |
12319 | 11448 | |
12320 | 11449 | =end original |
12321 | 11450 | |
12322 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
11451 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
12323 | 11452 | 見つかりませんでした。 |
12324 | 11453 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
12325 | 11454 | このエラーが出ることがあります。 |
12326 | 11455 | |
12327 | 11456 | =item Transliteration replacement not terminated |
12328 | 11457 | |
12329 | 11458 | =begin original |
12330 | 11459 | |
12331 | 11460 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], |
12332 | 11461 | y/// or y[][] construct. |
12333 | 11462 | |
12334 | 11463 | =end original |
12335 | 11464 | |
12336 | 11465 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が |
12337 | 11466 | 見つかりませんでした。 |
12338 | 11467 | |
12339 | 11468 | =item '%s' trapped by operation mask |
12340 | 11469 | |
12341 | 11470 | =begin original |
12342 | 11471 | |
12343 | 11472 | (F) You tried to use an operator from a Safe compartment in which it's |
12344 | 11473 | disallowed. See L<Safe>. |
12345 | 11474 | |
12346 | 11475 | =end original |
12347 | 11476 | |
12348 | 11477 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 |
12349 | 11478 | L<Safe> を参照してください。 |
12350 | 11479 | |
12351 | 11480 | =item truncate not implemented |
12352 | 11481 | |
12353 | 11482 | =begin original |
12354 | 11483 | |
12355 | 11484 | (F) Your machine doesn't implement a file truncation mechanism that |
12356 | 11485 | Configure knows about. |
12357 | 11486 | |
12358 | 11487 | =end original |
12359 | 11488 | |
12360 | 11489 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
12361 | 11490 | 実装されていません。 |
12362 | 11491 | |
12363 | 11492 | =item Type of arg %d to &CORE::%s must be %s |
12364 | 11493 | |
12365 | 11494 | =begin original |
12366 | 11495 | |
12367 | 11496 | (F) The subroutine in question in the CORE package requires its argument |
12368 | 11497 | to be a hard reference to data of the specified type. Overloading is |
12369 | 11498 | ignored, so a reference to an object that is not the specified type, but |
12370 | 11499 | nonetheless has overloading to handle it, will still not be accepted. |
12371 | 11500 | |
12372 | 11501 | =end original |
12373 | 11502 | |
12374 | 11503 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの |
12375 | 11504 | ハードリファレンスを要求しています。 |
12376 | 11505 | オーバーロードは無視されるので、指定された型ではないけれども、それを |
12377 | 11506 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも |
12378 | 11507 | 受け付けられません。 |
12379 | 11508 | |
12380 | 11509 | =item Type of arg %d to %s must be %s (not %s) |
12381 | 11510 | |
12382 | 11511 | =begin original |
12383 | 11512 | |
12384 | 11513 | (F) This function requires the argument in that position to be of a |
12385 | 11514 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
12386 | 11515 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
12387 | 11516 | {EXPR} forms as an explicit dereference. See L<perlref>. |
12388 | 11517 | |
12389 | 11518 | =end original |
12390 | 11519 | |
12391 | 11520 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
12392 | 11521 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 |
12393 | 11522 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 |
12394 | 11523 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
12395 | 11524 | {EXPR} 形式を使ってください。 |
12396 | 11525 | L<perlref> を参照してください。 |
12397 | 11526 | |
12398 | 11527 | =item Type of argument to %s must be unblessed hashref or arrayref |
12399 | 11528 | |
12400 | 11529 | =begin original |
12401 | 11530 | |
12402 | 11531 | (F) You called C<keys>, C<values> or C<each> with a scalar argument that |
12403 | 11532 | was not a reference to an unblessed hash or array. |
12404 | 11533 | |
12405 | 11534 | =end original |
12406 | 11535 | |
12407 | 11536 | (F) bless されていないハッシュや配列へのリファレンスでないスカラ引数を使って |
12408 | 11537 | C<keys>, C<values>, C<each> を呼び出しました。 |
12409 | 11538 | |
12410 | 11539 | =item umask not implemented |
12411 | 11540 | |
12412 | 11541 | =begin original |
12413 | 11542 | |
12414 | 11543 | (F) Your machine doesn't implement the umask function and you tried to |
12415 | 11544 | use it to restrict permissions for yourself (EXPR & 0700). |
12416 | 11545 | |
12417 | 11546 | =end original |
12418 | 11547 | |
12419 | 11548 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
12420 | 11549 | (EXPR & 0700) ためにこれを使おうとしました。 |
12421 | 11550 | |
11551 | =item Unable to create sub named "%s" | |
11552 | ||
11553 | =begin original | |
11554 | ||
11555 | (F) You attempted to create or access a subroutine with an illegal name. | |
11556 | ||
11557 | =end original | |
11558 | ||
11559 | (F) 不正な名前のサブルーチンを作成または呼び出ししようとしました。 | |
11560 | ||
12422 | 11561 | =item Unbalanced context: %d more PUSHes than POPs |
12423 | 11562 | |
12424 | 11563 | =begin original |
12425 | 11564 | |
12426 | ( | |
11565 | (W internal) The exit code detected an internal inconsistency in how | |
12427 | 11566 | many execution contexts were entered and left. |
12428 | 11567 | |
12429 | 11568 | =end original |
12430 | 11569 | |
12431 | ( | |
11570 | (W internal) いくつの実行コンテキストに入って、出たかということの | |
12432 | 11571 | 内部矛盾が exit コードで発見されました。 |
12433 | 11572 | |
12434 | 11573 | =item Unbalanced saves: %d more saves than restores |
12435 | 11574 | |
12436 | 11575 | =begin original |
12437 | 11576 | |
12438 | ( | |
11577 | (W internal) The exit code detected an internal inconsistency in how | |
12439 | 11578 | many values were temporarily localized. |
12440 | 11579 | |
12441 | 11580 | =end original |
12442 | 11581 | |
12443 | ( | |
11582 | (W internal) いくつの値が、一時的にローカル化されたかということの | |
12444 | 11583 | 内部矛盾が exit コードで発見されました。 |
12445 | 11584 | |
12446 | 11585 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
12447 | 11586 | |
12448 | 11587 | =begin original |
12449 | 11588 | |
12450 | ( | |
11589 | (W internal) The exit code detected an internal inconsistency in how | |
12451 | 11590 | many blocks were entered and left. |
12452 | 11591 | |
12453 | 11592 | =end original |
12454 | 11593 | |
12455 | ( | |
11594 | (W internal) いくつのブロックに入って、出たかということの | |
12456 | 11595 | 内部矛盾が exit コードで発見されました。 |
12457 | 11596 | |
12458 | 11597 | =item Unbalanced string table refcount: (%d) for "%s" |
12459 | 11598 | |
12460 | 11599 | =begin original |
12461 | 11600 | |
12462 | ( | |
11601 | (W internal) On exit, Perl found some strings remaining in the shared | |
12463 | 11602 | string table used for copy on write and for hash keys. The entries |
12464 | 11603 | should have been freed, so this indicates a bug somewhere. |
12465 | 11604 | |
12466 | 11605 | =end original |
12467 | 11606 | |
12468 | ( | |
11607 | (W internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
12469 | 11608 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 |
12470 | 11609 | エントリは開放されている必要があるので、これはどこかにバグがあることを |
12471 | 11610 | 示しています。 |
12472 | 11611 | |
12473 | 11612 | =item Unbalanced tmps: %d more allocs than frees |
12474 | 11613 | |
12475 | 11614 | =begin original |
12476 | 11615 | |
12477 | ( | |
11616 | (W internal) The exit code detected an internal inconsistency in how | |
12478 | 11617 | many mortal scalars were allocated and freed. |
12479 | 11618 | |
12480 | 11619 | =end original |
12481 | 11620 | |
12482 | ( | |
11621 | (W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
12483 | 11622 | いうことの内部矛盾が exit コードで発見されました。 |
12484 | 11623 | |
12485 | 11624 | =item Undefined format "%s" called |
12486 | 11625 | |
12487 | 11626 | =begin original |
12488 | 11627 | |
12489 | 11628 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
12490 | 11629 | another package? See L<perlform>. |
12491 | 11630 | |
12492 | 11631 | =end original |
12493 | 11632 | |
12494 | 11633 | (F) 示されたフォーマットが存在しないようです。 |
12495 | 11634 | おそらく本当は他のパッケージにあるのでは? |
12496 | 11635 | L<perlform> を参照してください。 |
12497 | 11636 | |
12498 | 11637 | =item Undefined sort subroutine "%s" called |
12499 | 11638 | |
12500 | 11639 | =begin original |
12501 | 11640 | |
12502 | 11641 | (F) The sort comparison routine specified doesn't seem to exist. |
12503 | 11642 | Perhaps it's in a different package? See L<perlfunc/sort>. |
12504 | 11643 | |
12505 | 11644 | =end original |
12506 | 11645 | |
12507 | 11646 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
12508 | 11647 | おそらく、別のパッケージに存在するのではないでしょうか。 |
12509 | 11648 | L<perlfunc/sort> を参照してください。 |
12510 | 11649 | |
12511 | 11650 | =item Undefined subroutine &%s called |
12512 | 11651 | |
12513 | 11652 | =begin original |
12514 | 11653 | |
12515 | 11654 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
12516 | 11655 | since been undefined. |
12517 | 11656 | |
12518 | 11657 | =end original |
12519 | 11658 | |
12520 | 11659 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 |
12521 | 11660 | 既に未定義になっています。 |
12522 | 11661 | |
12523 | 11662 | =item Undefined subroutine called |
12524 | 11663 | |
12525 | 11664 | =begin original |
12526 | 11665 | |
12527 | 11666 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
12528 | 11667 | or if it was, it has since been undefined. |
12529 | 11668 | |
12530 | 11669 | =end original |
12531 | 11670 | |
12532 | 11671 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; |
12533 | 11672 | 定義されていたとしても、既に未定義になっています。 |
12534 | 11673 | |
12535 | 11674 | =item Undefined subroutine in sort |
12536 | 11675 | |
12537 | 11676 | =begin original |
12538 | 11677 | |
12539 | 11678 | (F) The sort comparison routine specified is declared but doesn't seem |
12540 | 11679 | to have been defined yet. See L<perlfunc/sort>. |
12541 | 11680 | |
12542 | 11681 | =end original |
12543 | 11682 | |
12544 | 11683 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
12545 | 11684 | 定義されていないようです。 |
12546 | 11685 | L<perlfunc/sort> を参照してください。 |
12547 | 11686 | |
12548 | 11687 | =item Undefined top format "%s" called |
12549 | 11688 | |
12550 | 11689 | =begin original |
12551 | 11690 | |
12552 | 11691 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
12553 | 11692 | another package? See L<perlform>. |
12554 | 11693 | |
12555 | 11694 | =end original |
12556 | 11695 | |
12557 | 11696 | (F) 示されたフォーマットが存在しないようです。 |
12558 | 11697 | おそらく本当は他のパッケージにあるのでは? |
12559 | 11698 | L<perlform> を参照してください。 |
12560 | 11699 | |
12561 | 11700 | =item Undefined value assigned to typeglob |
12562 | 11701 | |
12563 | 11702 | =begin original |
12564 | 11703 | |
12565 | 11704 | (W misc) An undefined value was assigned to a typeglob, a la |
12566 | 11705 | C<*foo = undef>. This does nothing. It's possible that you really mean |
12567 | 11706 | C<undef *foo>. |
12568 | 11707 | |
12569 | 11708 | =end original |
12570 | 11709 | |
12571 | 11710 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
12572 | 11711 | これは何もしません。 |
12573 | 11712 | 本当は C<undef *foo> としたかったのかもしれません。 |
12574 | 11713 | |
12575 | 11714 | =item %s: Undefined variable |
12576 | 11715 | |
12577 | 11716 | =begin original |
12578 | 11717 | |
12579 | 11718 | (A) You've accidentally run your script through B<csh> instead of Perl. |
12580 | 11719 | Check the #! line, or manually feed your script into Perl yourself. |
12581 | 11720 | |
12582 | 11721 | =end original |
12583 | 11722 | |
12584 | 11723 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
12585 | 11724 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
12586 | 11725 | |
12587 | 11726 | =item unexec of %s into %s failed! |
12588 | 11727 | |
12589 | 11728 | =begin original |
12590 | 11729 | |
12591 | 11730 | (F) The unexec() routine failed for some reason. See your local FSF |
12592 | 11731 | representative, who probably put it there in the first place. |
12593 | 11732 | |
12594 | 11733 | =end original |
12595 | 11734 | |
12596 | 11735 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
12597 | 11736 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
12598 | 11737 | |
12599 | =item Unexpected '(' with no preceding operator in regex; marked by <-- HERE in m/%s/ | |
12600 | ||
12601 | =begin original | |
12602 | ||
12603 | (F) | |
12604 | You had something like this: | |
12605 | ||
12606 | =end original | |
12607 | ||
12608 | (F) | |
12609 | 以下のようなものを書きました: | |
12610 | ||
12611 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
12612 | ||
12613 | =begin original | |
12614 | ||
12615 | There should be an operator before the C<"(">, as there's no indication | |
12616 | as to how the digits are to be combined with the characters in the Lao | |
12617 | and Thai scripts. | |
12618 | ||
12619 | =end original | |
12620 | ||
12621 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
12622 | 文字がどのように結びつくかの指示がないからです。 | |
12623 | ||
12624 | =item Unexpected ')' in regex; marked by <-- HERE in m/%s/ | |
12625 | ||
12626 | =begin original | |
12627 | ||
12628 | (F) | |
12629 | You had something like this: | |
12630 | ||
12631 | =end original | |
12632 | ||
12633 | (F) | |
12634 | 以下のようなものを書きました: | |
12635 | ||
12636 | (?[ ( \p{Digit} + ) ]) | |
12637 | ||
12638 | =begin original | |
12639 | ||
12640 | The C<")"> is out-of-place. Something apparently was supposed to be | |
12641 | combined with the digits, or the C<"+"> shouldn't be there, or something | |
12642 | like that. Perl can't figure out what was intended. | |
12643 | ||
12644 | =end original | |
12645 | ||
12646 | C<")"> の場所がおかしいです。 | |
12647 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
12648 | 似たような何かです。 | |
12649 | Perl は何を意図しているのかが分かりませんでした。 | |
12650 | ||
12651 | =item Unexpected binary operator '%c' with no preceding operand in regex; marked by <-- HERE in m/%s/ | |
12652 | ||
12653 | =begin original | |
12654 | ||
12655 | (F) | |
12656 | You had something like this: | |
12657 | ||
12658 | =end original | |
12659 | ||
12660 | (F) | |
12661 | 以下のようなものを書きました: | |
12662 | ||
12663 | (?[ | \p{Digit} ]) | |
12664 | ||
12665 | =begin original | |
12666 | ||
12667 | where the C<"|"> is a binary operator with an operand on the right, but | |
12668 | no operand on the left. | |
12669 | ||
12670 | =end original | |
12671 | ||
12672 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない | |
12673 | 2 項演算子です。 | |
12674 | ||
12675 | =item Unexpected character in regex; marked by <-- HERE in m/%s/ | |
12676 | ||
12677 | =begin original | |
12678 | ||
12679 | (F) | |
12680 | You had something like this: | |
12681 | ||
12682 | =end original | |
12683 | ||
12684 | (F) | |
12685 | 以下のようなものを書きました: | |
12686 | ||
12687 | (?[ z ]) | |
12688 | ||
12689 | =begin original | |
12690 | ||
12691 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
12692 | within an inner pair of square brackets, like | |
12693 | ||
12694 | =end original | |
12695 | ||
12696 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
12697 | リテラル文字は許されません | |
12698 | ||
12699 | (?[ [ z ] ]) | |
12700 | ||
12701 | =begin original | |
12702 | ||
12703 | Another possibility is that you forgot a backslash. Perl isn't smart | |
12704 | enough to figure out what you really meant. | |
12705 | ||
12706 | =end original | |
12707 | ||
12708 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
12709 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
12710 | ||
12711 | 11738 | =item Unexpected constant lvalue entersub entry via type/targ %d:%d |
12712 | 11739 | |
12713 | 11740 | =begin original |
12714 | 11741 | |
12715 | 11742 | (P) When compiling a subroutine call in lvalue context, Perl failed an |
12716 | 11743 | internal consistency check. It encountered a malformed op tree. |
12717 | 11744 | |
12718 | 11745 | =end original |
12719 | 11746 | |
12720 | 11747 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は |
12721 | 11748 | 内部一貫性チェックに失敗しました。 |
12722 | 11749 | 不正な構文木に遭遇しました。 |
12723 | 11750 | |
12724 | 11751 | =item Unicode non-character U+%X is illegal for open interchange |
12725 | 11752 | |
12726 | 11753 | =begin original |
12727 | 11754 | |
12728 | ( | |
11755 | (W utf8, nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
12729 | 11756 | defined by the Unicode standard to be non-characters. Those are |
12730 | 11757 | legal codepoints, but are reserved for internal use; so, applications |
12731 | 11758 | shouldn't attempt to exchange them. If you know what you are doing |
12732 | 11759 | you can turn off this warning by C<no warnings 'nonchar';>. |
12733 | 11760 | |
12734 | 11761 | =end original |
12735 | 11762 | |
12736 | ( | |
11763 | (W utf8, nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
12737 | 11764 | Unicode 標準によって非文字として指定されています。 |
12738 | 11765 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 |
12739 | 11766 | アプリケーションはこれを交換しようとするべきではありません。 |
12740 | 11767 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で |
12741 | 11768 | 警告を無効にできます。 |
12742 | 11769 | |
12743 | 11770 | =item Unicode surrogate U+%X is illegal in UTF-8 |
12744 | 11771 | |
12745 | 11772 | =begin original |
12746 | 11773 | |
12747 | ( | |
11774 | (W utf8, surrogate) You had a UTF-16 surrogate in a context where they are | |
12748 | 11775 | not considered acceptable. These code points, between U+D800 and |
12749 | 11776 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
12750 | 11777 | internally allows all unsigned integer code points (up to the size limit |
12751 | 11778 | available on your platform), including surrogates. But these can cause |
12752 | 11779 | problems when being input or output, which is likely where this message |
12753 | 11780 | came from. If you really really know what you are doing you can turn |
12754 | 11781 | off this warning by C<no warnings 'surrogate';>. |
12755 | 11782 | |
12756 | 11783 | =end original |
12757 | 11784 | |
12758 | ( | |
11785 | (W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
12759 | 11786 | 使いました。 |
12760 | 11787 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
12761 | 11788 | Unicode によって使われます。 |
12762 | 11789 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
12763 | 11790 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
12764 | 11791 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
12765 | 11792 | おそらくこのメッセージが出た場所です。 |
12766 | 11793 | 自分で何をしているのかが本当に本当に分かっているなら、 |
12767 | 11794 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
12768 | 11795 | |
12769 | 11796 | =item Unknown BYTEORDER |
12770 | 11797 | |
12771 | 11798 | =begin original |
12772 | 11799 | |
12773 | 11800 | (F) There are no byte-swapping functions for a machine with this byte |
12774 | 11801 | order. |
12775 | 11802 | |
12776 | 11803 | =end original |
12777 | 11804 | |
12778 | 11805 | (F) このバイト順序を入れ替える関数がありません。 |
12779 | 11806 | |
12780 | =item Unknown charname '%s' | |
12781 | ||
12782 | =begin original | |
12783 | ||
12784 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
12785 | spelling. You can say C<use charnames ":loose"> to not have to be | |
12786 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
12787 | names. (Any custom aliases that have been created must be specified | |
12788 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
12789 | also happen if the C<\N{}> is not in the scope of the corresponding | |
12790 | C<S<use charnames>>. | |
12791 | ||
12792 | =end original | |
12793 | ||
12794 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
12795 | 綴りをチェックしてください。 | |
12796 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
12797 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
12798 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
12799 | 指定されなければなりません。) | |
12800 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
12801 | ないときにも起こることがあります。 | |
12802 | ||
12803 | 11807 | =item Unknown error |
12804 | 11808 | |
12805 | 11809 | =begin original |
12806 | 11810 | |
12807 | 11811 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable |
12808 | 11812 | did not exist, even after an attempt to create it. |
12809 | 11813 | |
12810 | 11814 | =end original |
12811 | 11815 | |
12812 | 11816 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が |
12813 | 11817 | (たとえ作ろうとした後でも) 存在しませんでした。 |
12814 | 11818 | |
12815 | 11819 | =item Unknown open() mode '%s' |
12816 | 11820 | |
12817 | 11821 | =begin original |
12818 | 11822 | |
12819 | 11823 | (F) The second argument of 3-argument open() is not among the list |
12820 | 11824 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
12821 | 11825 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. |
12822 | 11826 | |
12823 | 11827 | =end original |
12824 | 11828 | |
12825 | 11829 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
12826 | 11830 | どれでもありませんでした: |
12827 | 11831 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
12828 | 11832 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> |
12829 | 11833 | |
12830 | 11834 | =item Unknown PerlIO layer "%s" |
12831 | 11835 | |
12832 | 11836 | =begin original |
12833 | 11837 | |
12834 | 11838 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O |
12835 | 11839 | system. (Layers take care of transforming data between external and |
12836 | 11840 | internal representations.) Note that some layers, such as C<mmap>, |
12837 | 11841 | are not supported in all environments. If your program didn't |
12838 | 11842 | explicitly request the failing operation, it may be the result of the |
12839 | 11843 | value of the environment variable PERLIO. |
12840 | 11844 | |
12841 | 11845 | =end original |
12842 | 11846 | |
12843 | 11847 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 |
12844 | 11848 | (層はデータの外部表現と内部表現の変換を扱います。) |
12845 | 11849 | C<mmap> のような層は、全ての環境で対応しているわけではないことに |
12846 | 11850 | 注意してください。 |
12847 | 11851 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
12848 | 11852 | 値が原因かもしれません。 |
12849 | 11853 | |
12850 | 11854 | =item Unknown process %x sent message to prime_env_iter: %s |
12851 | 11855 | |
12852 | 11856 | =begin original |
12853 | 11857 | |
12854 | 11858 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
12855 | 11859 | iterating over it, and someone else stuck a message in the stream of |
12856 | 11860 | data Perl expected. Someone's very confused, or perhaps trying to |
12857 | 11861 | subvert Perl's population of %ENV for nefarious purposes. |
12858 | 11862 | |
12859 | 11863 | =end original |
12860 | 11864 | |
12861 | 11865 | (P) VMS に固有のエラーです。 |
12862 | 11866 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
12863 | 11867 | データストリームの中に誰かがメッセージを差し込みました。 |
12864 | 11868 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
12865 | 11869 | 滅亡させようとしています。 |
12866 | 11870 | |
12867 | 11871 | =item Unknown "re" subpragma '%s' (known ones are: %s) |
12868 | 11872 | |
12869 | 11873 | =begin original |
12870 | 11874 | |
12871 | 11875 | (W) You tried to use an unknown subpragma of the "re" pragma. |
12872 | 11876 | |
12873 | 11877 | =end original |
12874 | 11878 | |
12875 | 11879 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 |
12876 | 11880 | |
12877 | =item Unknown regex modifier "%s" | |
12878 | ||
12879 | =begin original | |
12880 | ||
12881 | (F) Alphanumerics immediately following the closing delimiter | |
12882 | of a regular expression pattern are interpreted by Perl as modifier | |
12883 | flags for the regex. One of the ones you specified is invalid. One way | |
12884 | this can happen is if you didn't put in white space between the end of | |
12885 | the regex and a following alphanumeric operator: | |
12886 | ||
12887 | =end original | |
12888 | ||
12889 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
12890 | 修飾子フラグと解釈されます。 | |
12891 | その一つが不正でした。 | |
12892 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
12893 | 空白を置いていない場合です: | |
12894 | ||
12895 | if ($a =~ /foo/and $bar == 3) { ... } | |
12896 | ||
12897 | =begin original | |
12898 | ||
12899 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
12900 | this error. Likely what was meant instead was: | |
12901 | ||
12902 | =end original | |
12903 | ||
12904 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
12905 | おそらくしたかったのは以下のようなことでしょう: | |
12906 | ||
12907 | if ($a =~ /foo/ and $bar == 3) { ... } | |
12908 | ||
12909 | 11881 | =item Unknown switch condition (?(%s in regex; marked by <-- HERE in m/%s/ |
12910 | 11882 | |
12911 | 11883 | =begin original |
12912 | 11884 | |
12913 | 11885 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
12914 | 11886 | is not known. The condition must be one of the following: |
12915 | 11887 | |
12916 | 11888 | =end original |
12917 | 11889 | |
12918 | 11890 | (F) (?(condition)if-clause|else-clause) 構文の条件部が不明です。 |
12919 | 11891 | 条件は以下の一つでなければなりません: |
12920 | 11892 | |
12921 | 11893 | (1) (2) ... true if 1st, 2nd, etc., capture matched |
12922 | 11894 | (<NAME>) ('NAME') true if named capture matched |
12923 | 11895 | (?=...) (?<=...) true if subpattern matches |
12924 | 11896 | (?!...) (?<!...) true if subpattern fails to match |
12925 | 11897 | (?{ CODE }) true if code returns a true value |
12926 | 11898 | (R) true if evaluating inside recursion |
12927 | 11899 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. |
12928 | 11900 | (R&NAME) true if directly inside named capture |
12929 | 11901 | (DEFINE) always false; for defining named subpatterns |
12930 | 11902 | |
12931 | 11903 | =begin original |
12932 | 11904 | |
12933 | The <-- HERE shows | |
11905 | The <-- HERE shows in the regular expression about where the problem was | |
12934 | 11906 | discovered. See L<perlre>. |
12935 | 11907 | |
12936 | 11908 | =end original |
12937 | 11909 | |
12938 | 11910 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
12939 | 11911 | L<perlre> を参照してください。 |
12940 | 11912 | |
12941 | 11913 | =item Unknown Unicode option letter '%c' |
12942 | 11914 | |
12943 | 11915 | =begin original |
12944 | 11916 | |
12945 | 11917 | (F) You specified an unknown Unicode option. See L<perlrun> documentation |
12946 | 11918 | of the C<-C> switch for the list of known options. |
12947 | 11919 | |
12948 | 11920 | =end original |
12949 | 11921 | |
12950 | 11922 | (F) 不明な Unicode オプションを指定しました。 |
12951 | 11923 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを |
12952 | 11924 | 参照してください。 |
12953 | 11925 | |
12954 | 11926 | =item Unknown Unicode option value %x |
12955 | 11927 | |
12956 | 11928 | =begin original |
12957 | 11929 | |
12958 | 11930 | (F) You specified an unknown Unicode option. See L<perlrun> documentation |
12959 | 11931 | of the C<-C> switch for the list of known options. |
12960 | 11932 | |
12961 | 11933 | =end original |
12962 | 11934 | |
12963 | 11935 | (F) 不明な Unicode オプションを指定しました。 |
12964 | 11936 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを |
12965 | 11937 | 参照してください。 |
12966 | 11938 | |
12967 | 11939 | =item Unknown verb pattern '%s' in regex; marked by <-- HERE in m/%s/ |
12968 | 11940 | |
12969 | 11941 | =begin original |
12970 | 11942 | |
12971 | 11943 | (F) You either made a typo or have incorrectly put a C<*> quantifier |
12972 | 11944 | after an open brace in your pattern. Check the pattern and review |
12973 | 11945 | L<perlre> for details on legal verb patterns. |
12974 | 11946 | |
12975 | 11947 | =end original |
12976 | 11948 | |
12977 | 11949 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に |
12978 | 11950 | C<*> 量指定子を書いたかどちらかです。 |
12979 | 11951 | パターンをチェックして、有効な動詞パターンの詳細については |
12980 | 11952 | L<perlre> を再チェックしてください。 |
12981 | 11953 | |
12982 | 11954 | =item Unknown warnings category '%s' |
12983 | 11955 | |
12984 | 11956 | =begin original |
12985 | 11957 | |
12986 | 11958 | (F) An error issued by the C<warnings> pragma. You specified a warnings |
12987 | 11959 | category that is unknown to perl at this point. |
12988 | 11960 | |
12989 | 11961 | =end original |
12990 | 11962 | |
12991 | 11963 | (F) C<warnings> プラグマによるエラーです。 |
12992 | 11964 | 現在のところ perl が知らない警告カテゴリを指定しました。 |
12993 | 11965 | |
12994 | 11966 | =begin original |
12995 | 11967 | |
12996 | 11968 | Note that if you want to enable a warnings category registered by a |
12997 | 11969 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this |
12998 | 11970 | module first. |
12999 | 11971 | |
13000 | 11972 | =end original |
13001 | 11973 | |
13002 | 11974 | (C<use warnings 'File::Find'> のように)モジュールによって登録される |
13003 | 11975 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が |
13004 | 11976 | あることに注意してください。 |
13005 | 11977 | |
13006 | =item | |
11978 | =item unmatched [ in regex; marked by <-- HERE in m/%s/ | |
13007 | 11979 | |
13008 | 11980 | =begin original |
13009 | 11981 | |
13010 | You had something like this: | |
13011 | ||
13012 | =end original | |
13013 | ||
13014 | 以下のようなものを書きました: | |
13015 | ||
13016 | (?[ [:alnum] ]) | |
13017 | ||
13018 | =begin original | |
13019 | ||
13020 | There should be a second C<":">, like this: | |
13021 | ||
13022 | =end original | |
13023 | ||
13024 | 次のように、二つ目の C<":"> が必要です: | |
13025 | ||
13026 | (?[ [:alnum:] ]) | |
13027 | ||
13028 | =item Unmatched [ in regex; marked by <-- HERE in m/%s/ | |
13029 | ||
13030 | =begin original | |
13031 | ||
13032 | 11982 | (F) The brackets around a character class must match. If you wish to |
13033 | 11983 | include a closing bracket in a character class, backslash it or put it |
13034 | first. The <-- HERE shows | |
11984 | first. The <-- HERE shows in the regular expression about where the | |
13035 | 11985 | problem was discovered. See L<perlre>. |
13036 | 11986 | |
13037 | 11987 | =end original |
13038 | 11988 | |
13039 | 11989 | (F) 文字クラスの周りの大かっこが一致していません。 |
13040 | 11990 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
13041 | 11991 | 先頭に置いてください。 |
13042 | 11992 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
13043 | 11993 | L<perlre> を参照してください。 |
13044 | 11994 | |
13045 | =item | |
11995 | =item unmatched ( in regex; marked by <-- HERE in m/%s/ | |
13046 | 11996 | |
13047 | 11997 | =begin original |
13048 | 11998 | |
13049 | (F) | |
13050 | You had something like this: | |
13051 | ||
13052 | =end original | |
13053 | ||
13054 | (F) | |
13055 | 以下のようなことをしました: | |
13056 | ||
13057 | (?[ [:digit: ]) | |
13058 | ||
13059 | =begin original | |
13060 | ||
13061 | That should be written: | |
13062 | ||
13063 | =end original | |
13064 | ||
13065 | 次のように書くべきです: | |
13066 | ||
13067 | (?[ [:digit:] ]) | |
13068 | ||
13069 | =item Unmatched ( in regex; marked by <-- HERE in m/%s/ | |
13070 | ||
13071 | =item Unmatched ) in regex; marked by <-- HERE in m/%s/ | |
13072 | ||
13073 | =begin original | |
13074 | ||
13075 | 11999 | (F) Unbackslashed parentheses must always be balanced in regular |
13076 | 12000 | expressions. If you're a vi user, the % key is valuable for finding |
13077 | the matching parenthesis. The <-- HERE shows | |
12001 | the matching parenthesis. The <-- HERE shows in the regular expression | |
13078 | ||
12002 | about where the problem was discovered. See L<perlre>. | |
13079 | 12003 | |
13080 | 12004 | =end original |
13081 | 12005 | |
13082 | 12006 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
13083 | 12007 | 対応していなければなりません。 |
13084 | 12008 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
13085 | 12009 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
13086 | 12010 | L<perlre> を参照してください。 |
13087 | 12011 | |
13088 | 12012 | =item Unmatched right %s bracket |
13089 | 12013 | |
13090 | 12014 | =begin original |
13091 | 12015 | |
13092 | 12016 | (F) The lexer counted more closing curly or square brackets than opening |
13093 | 12017 | ones, so you're probably missing a matching opening bracket. As a |
13094 | 12018 | general rule, you'll find the missing one (so to speak) near the place |
13095 | 12019 | you were last editing. |
13096 | 12020 | |
13097 | 12021 | =end original |
13098 | 12022 | |
13099 | 12023 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを |
13100 | 12024 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 |
13101 | 12025 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した |
13102 | 12026 | 場所の近くにあります。 |
13103 | 12027 | |
13104 | 12028 | =item Unquoted string "%s" may clash with future reserved word |
13105 | 12029 | |
13106 | 12030 | =begin original |
13107 | 12031 | |
13108 | 12032 | (W reserved) You used a bareword that might someday be claimed as a |
13109 | 12033 | reserved word. It's best to put such a word in quotes, or capitalize it |
13110 | 12034 | somehow, or insert an underbar into it. You might also declare it as a |
13111 | 12035 | subroutine. |
13112 | 12036 | |
13113 | 12037 | =end original |
13114 | 12038 | |
13115 | 12039 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
13116 | 12040 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
13117 | 12041 | いれるかしてください。 |
13118 | 12042 | その裸の単語は、サブルーチンとして宣言することも可能です。 |
13119 | 12043 | |
13120 | 12044 | =item Unrecognized character %s; marked by <-- HERE after %s near column %d |
13121 | 12045 | |
13122 | 12046 | =begin original |
13123 | 12047 | |
13124 | 12048 | (F) The Perl parser has no idea what to do with the specified character |
13125 | 12049 | in your Perl script (or eval) near the specified column. Perhaps you tried |
13126 | 12050 | to run a compressed script, a binary program, or a directory as a Perl program. |
13127 | 12051 | |
13128 | 12052 | =end original |
13129 | 12053 | |
13130 | 12054 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに |
13131 | 12055 | 出てきた文字に対してどうすればよいか分かりませんでした。 |
13132 | 12056 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
13133 | 12057 | Perl プログラムとして実行しようとしたのでしょう。 |
13134 | 12058 | |
13135 | =item Unrecognized escape \%c in character class in regex; marked by <-- HERE in m/%s/ | |
12059 | =item Unrecognized escape \%c in character class passed through in regex; marked by <-- HERE in m/%s/ | |
13136 | 12060 | |
13137 | 12061 | =begin original |
13138 | 12062 | |
13139 | (F) | |
13140 | You used a backslash-character combination which is not recognized by | |
13141 | Perl inside character classes. This is a fatal error when the character | |
13142 | class is used within C<(?[ ])>. | |
13143 | ||
13144 | =end original | |
13145 | ||
13146 | (F) | |
13147 | Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
13148 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
13149 | ||
13150 | =item Unrecognized escape \%c in character class passed through in regex; | |
13151 | marked by <-- HERE in m/%s/ | |
13152 | ||
13153 | =begin original | |
13154 | ||
13155 | 12063 | (W regexp) You used a backslash-character combination which is not |
13156 | 12064 | recognized by Perl inside character classes. The character was |
13157 | 12065 | understood literally, but this may change in a future version of Perl. |
13158 | The <-- HERE shows | |
12066 | The <-- HERE shows in the regular expression about where the | |
13159 | 12067 | escape was discovered. |
13160 | 12068 | |
13161 | 12069 | =end original |
13162 | 12070 | |
13163 | 12071 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
13164 | 12072 | 組み合わせを使いました。 |
13165 | 12073 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
13166 | 12074 | 変更されるかもしれません。 |
13167 | 12075 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 |
13168 | 12076 | |
13169 | 12077 | =item Unrecognized escape \%c passed through |
13170 | 12078 | |
13171 | 12079 | =begin original |
13172 | 12080 | |
13173 | 12081 | (W misc) You used a backslash-character combination which is not |
13174 | 12082 | recognized by Perl. The character was understood literally, but this may |
13175 | 12083 | change in a future version of Perl. |
13176 | 12084 | |
13177 | 12085 | =end original |
13178 | 12086 | |
13179 | 12087 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが |
13180 | 12088 | 使われています。 |
13181 | 12089 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
13182 | 12090 | 変更されるかもしれません。 |
13183 | 12091 | |
13184 | 12092 | =item Unrecognized escape \%s passed through in regex; marked by <-- HERE in m/%s/ |
13185 | 12093 | |
13186 | 12094 | =begin original |
13187 | 12095 | |
13188 | 12096 | (W regexp) You used a backslash-character combination which is not |
13189 | 12097 | recognized by Perl. The character(s) were understood literally, but |
13190 | this may change in a future version of Perl. The <-- HERE shows | |
12098 | this may change in a future version of Perl. The <-- HERE shows in | |
13191 | ||
12099 | the regular expression about where the escape was discovered. | |
13192 | 12100 | |
13193 | 12101 | =end original |
13194 | 12102 | |
13195 | 12103 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが |
13196 | 12104 | 使われています。 |
13197 | 12105 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
13198 | 12106 | 変更されるかもしれません。 |
13199 | 12107 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 |
13200 | 12108 | |
13201 | 12109 | =item Unrecognized signal name "%s" |
13202 | 12110 | |
13203 | 12111 | =begin original |
13204 | 12112 | |
13205 | 12113 | (F) You specified a signal name to the kill() function that was not |
13206 | 12114 | recognized. Say C<kill -l> in your shell to see the valid signal names |
13207 | 12115 | on your system. |
13208 | 12116 | |
13209 | 12117 | =end original |
13210 | 12118 | |
13211 | 12119 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
13212 | 12120 | お使いのシステムで使用可能なシグナル名を調べるには、 |
13213 | 12121 | シェル上で C<kill -l> などとしてください。 |
13214 | 12122 | |
13215 | 12123 | =item Unrecognized switch: -%s (-h will show valid options) |
13216 | 12124 | |
13217 | 12125 | =begin original |
13218 | 12126 | |
13219 | 12127 | (F) You specified an illegal option to Perl. Don't do that. (If you |
13220 | 12128 | think you didn't do that, check the #! line to see if it's supplying the |
13221 | 12129 | bad switch on your behalf.) |
13222 | 12130 | |
13223 | 12131 | =end original |
13224 | 12132 | |
13225 | 12133 | (F) Perl に間違ったオプションを指定しました。 |
13226 | 12134 | これを行なってはいけません。 |
13227 | 12135 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
13228 | 12136 | スイッチが指定されていないかをチェックしてください。) |
13229 | 12137 | |
13230 | 12138 | =item Unsuccessful %s on filename containing newline |
13231 | 12139 | |
13232 | 12140 | =begin original |
13233 | 12141 | |
13234 | 12142 | (W newline) A file operation was attempted on a filename, and that |
13235 | 12143 | operation failed, PROBABLY because the filename contained a newline, |
13236 | 12144 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
13237 | 12145 | |
13238 | 12146 | =end original |
13239 | 12147 | |
13240 | 12148 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
13241 | 12149 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 |
13242 | 12150 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
13243 | 12151 | L<perlfunc/chomp> を参照してください。 |
13244 | 12152 | |
13245 | 12153 | =item Unsupported directory function "%s" called |
13246 | 12154 | |
13247 | 12155 | =begin original |
13248 | 12156 | |
13249 | 12157 | (F) Your machine doesn't support opendir() and readdir(). |
13250 | 12158 | |
13251 | 12159 | =end original |
13252 | 12160 | |
13253 | 12161 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
13254 | 12162 | |
13255 | 12163 | =item Unsupported function %s |
13256 | 12164 | |
13257 | 12165 | =begin original |
13258 | 12166 | |
13259 | 12167 | (F) This machine doesn't implement the indicated function, apparently. |
13260 | 12168 | At least, Configure doesn't think so. |
13261 | 12169 | |
13262 | 12170 | =end original |
13263 | 12171 | |
13264 | 12172 | (F) このマシンでは、表示した関数は実装されていません。 |
13265 | 12173 | 少なくとも、Configure はそう判断しました。 |
13266 | 12174 | |
13267 | 12175 | =item Unsupported function fork |
13268 | 12176 | |
13269 | 12177 | =begin original |
13270 | 12178 | |
13271 | 12179 | (F) Your version of executable does not support forking. |
13272 | 12180 | |
13273 | 12181 | =end original |
13274 | 12182 | |
13275 | 12183 | (F) この実行ファイルは fork に対応していません。 |
13276 | 12184 | |
13277 | 12185 | =begin original |
13278 | 12186 | |
13279 | 12187 | Note that under some systems, like OS/2, there may be different flavors |
13280 | 12188 | of Perl executables, some of which may support fork, some not. Try |
13281 | 12189 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
13282 | 12190 | |
13283 | 12191 | =end original |
13284 | 12192 | |
13285 | 12193 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
13286 | 12194 | fork に対応しているものとしていないものがあります。 |
13287 | 12195 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
13288 | 12196 | 変えてみてください。 |
13289 | 12197 | |
13290 | 12198 | =item Unsupported script encoding %s |
13291 | 12199 | |
13292 | 12200 | =begin original |
13293 | 12201 | |
13294 | 12202 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
13295 | 12203 | declares it to be in a Unicode encoding that Perl cannot read. |
13296 | 12204 | |
13297 | 12205 | =end original |
13298 | 12206 | |
13299 | 12207 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
13300 | 12208 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
13301 | 12209 | |
13302 | 12210 | =item Unsupported socket function "%s" called |
13303 | 12211 | |
13304 | 12212 | =begin original |
13305 | 12213 | |
13306 | 12214 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
13307 | 12215 | least that's what Configure thought. |
13308 | 12216 | |
13309 | 12217 | =end original |
13310 | 12218 | |
13311 | 12219 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
13312 | 12220 | 少なくとも Configure がそう判断しました。 |
13313 | 12221 | |
13314 | 12222 | =item Unterminated attribute list |
13315 | 12223 | |
13316 | 12224 | =begin original |
13317 | 12225 | |
13318 | 12226 | (F) The lexer found something other than a simple identifier at the |
13319 | 12227 | start of an attribute, and it wasn't a semicolon or the start of a |
13320 | 12228 | block. Perhaps you terminated the parameter list of the previous |
13321 | 12229 | attribute too soon. See L<attributes>. |
13322 | 12230 | |
13323 | 12231 | =end original |
13324 | 12232 | |
13325 | 12233 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
13326 | 12234 | 開始でないものを発見しました。 |
13327 | 12235 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
13328 | 12236 | L<attributes> を参照してください。 |
13329 | 12237 | |
13330 | 12238 | =item Unterminated attribute parameter in attribute list |
13331 | 12239 | |
13332 | 12240 | =begin original |
13333 | 12241 | |
13334 | 12242 | (F) The lexer saw an opening (left) parenthesis character while parsing |
13335 | 12243 | an attribute list, but the matching closing (right) parenthesis |
13336 | 12244 | character was not found. You may need to add (or remove) a backslash |
13337 | 12245 | character to get your parentheses to balance. See L<attributes>. |
13338 | 12246 | |
13339 | 12247 | =end original |
13340 | 12248 | |
13341 | 12249 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
13342 | 12250 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
13343 | 12251 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
13344 | 12252 | 必要があるでしょう。 |
13345 | 12253 | L<attributes> を参照してください。 |
13346 | 12254 | |
13347 | 12255 | =item Unterminated compressed integer |
13348 | 12256 | |
13349 | 12257 | =begin original |
13350 | 12258 | |
13351 | 12259 | (F) An argument to unpack("w",...) was incompatible with the BER |
13352 | 12260 | compressed integer format and could not be converted to an integer. |
13353 | 12261 | See L<perlfunc/pack>. |
13354 | 12262 | |
13355 | 12263 | =end original |
13356 | 12264 | |
13357 | 12265 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
13358 | 12266 | 整数に変換できませんでした。 |
13359 | 12267 | L<perlfunc/pack> を参照してください。 |
13360 | 12268 | |
13361 | =item Unterminated delimiter for here document | |
13362 | ||
13363 | =begin original | |
13364 | ||
13365 | (F) This message occurs when a here document label has an initial | |
13366 | quotation mark but the final quotation mark is missing. Perhaps | |
13367 | you wrote: | |
13368 | ||
13369 | =end original | |
13370 | ||
13371 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
13372 | 末尾のクォートがありません。 | |
13373 | おそらく以下のように書いたのでしょう: | |
13374 | ||
13375 | <<"foo | |
13376 | ||
13377 | =begin original | |
13378 | ||
13379 | instead of: | |
13380 | ||
13381 | =end original | |
13382 | ||
13383 | 次のように書いてください: | |
13384 | ||
13385 | <<"foo" | |
13386 | ||
13387 | 12269 | =item Unterminated \g{...} pattern in regex; marked by <-- HERE in m/%s/ |
13388 | 12270 | |
13389 | 12271 | =begin original |
13390 | 12272 | |
13391 | 12273 | (F) You missed a close brace on a \g{..} pattern (group reference) in |
13392 | 12274 | a regular expression. Fix the pattern and retry. |
13393 | 12275 | |
13394 | 12276 | =end original |
13395 | 12277 | |
13396 | 12278 | (F) 正規表現の \g{..} (グループリファレンス) の閉じかっこがありません。 |
13397 | 12279 | パターンを修正して再挑戦してください。 |
13398 | 12280 | |
13399 | 12281 | =item Unterminated <> operator |
13400 | 12282 | |
13401 | 12283 | =begin original |
13402 | 12284 | |
13403 | 12285 | (F) The lexer saw a left angle bracket in a place where it was expecting |
13404 | 12286 | a term, so it's looking for the corresponding right angle bracket, and |
13405 | 12287 | not finding it. Chances are you left some needed parentheses out |
13406 | 12288 | earlier in the line, and you really meant a "less than". |
13407 | 12289 | |
13408 | 12290 | =end original |
13409 | 12291 | |
13410 | 12292 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
13411 | 12293 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
13412 | 12294 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
13413 | 12295 | 表したかった場合が考えられます。 |
13414 | 12296 | |
13415 | 12297 | =item Unterminated verb pattern argument in regex; marked by <-- HERE in m/%s/ |
13416 | 12298 | |
13417 | 12299 | =begin original |
13418 | 12300 | |
13419 | 12301 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate |
13420 | 12302 | the pattern with a C<)>. Fix the pattern and retry. |
13421 | 12303 | |
13422 | 12304 | =end original |
13423 | 12305 | |
13424 | 12306 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で |
13425 | 12307 | 終わっていません。 |
13426 | 12308 | パターンを修正して再挑戦してください。 |
13427 | 12309 | |
13428 | 12310 | =item Unterminated verb pattern in regex; marked by <-- HERE in m/%s/ |
13429 | 12311 | |
13430 | 12312 | =begin original |
13431 | 12313 | |
13432 | 12314 | (F) You used a pattern of the form C<(*VERB)> but did not terminate |
13433 | 12315 | the pattern with a C<)>. Fix the pattern and retry. |
13434 | 12316 | |
13435 | 12317 | =end original |
13436 | 12318 | |
13437 | 12319 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で |
13438 | 12320 | 終わっていません。 |
13439 | 12321 | パターンを修正して再挑戦してください。 |
13440 | 12322 | |
13441 | 12323 | =item untie attempted while %d inner references still exist |
13442 | 12324 | |
13443 | 12325 | =begin original |
13444 | 12326 | |
13445 | 12327 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
13446 | 12328 | still valid when C<untie> was called. |
13447 | 12329 | |
13448 | 12330 | =end original |
13449 | 12331 | |
13450 | 12332 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
13451 | 12333 | C<untie> が呼び出されたときにまだ有効でした。 |
13452 | 12334 | |
13453 | 12335 | =item Usage: POSIX::%s(%s) |
13454 | 12336 | |
13455 | 12337 | =begin original |
13456 | 12338 | |
13457 | 12339 | (F) You called a POSIX function with incorrect arguments. |
13458 | 12340 | See L<POSIX/FUNCTIONS> for more information. |
13459 | 12341 | |
13460 | 12342 | =end original |
13461 | 12343 | |
13462 | 12344 | (F) POSIX 関数を間違った引数で呼び出しました。 |
13463 | 12345 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 |
13464 | 12346 | |
13465 | 12347 | =item Usage: Win32::%s(%s) |
13466 | 12348 | |
13467 | 12349 | =begin original |
13468 | 12350 | |
13469 | 12351 | (F) You called a Win32 function with incorrect arguments. |
13470 | 12352 | See L<Win32> for more information. |
13471 | 12353 | |
13472 | 12354 | =end original |
13473 | 12355 | |
13474 | 12356 | (F) Win32 関数を間違った引数で呼び出しました。 |
13475 | 12357 | 更なる情報については L<Win32> を参照してください。 |
13476 | 12358 | |
13477 | 12359 | =item $[ used in %s (did you mean $] ?) |
13478 | 12360 | |
13479 | 12361 | =begin original |
13480 | 12362 | |
13481 | 12363 | (W syntax) You used C<$[> in a comparison, such as: |
13482 | 12364 | |
13483 | 12365 | =end original |
13484 | 12366 | |
13485 | 12367 | (W syntax) 以下のように、比較で C<$[> を使いました: |
13486 | 12368 | |
13487 | 12369 | if ($[ > 5.006) { |
13488 | 12370 | ... |
13489 | 12371 | } |
13490 | 12372 | |
13491 | 12373 | =begin original |
13492 | 12374 | |
13493 | 12375 | You probably meant to use C<$]> instead. C<$[> is the base for indexing |
13494 | 12376 | arrays. C<$]> is the Perl version number in decimal. |
13495 | 12377 | |
13496 | 12378 | =end original |
13497 | 12379 | |
13498 | 12380 | おそらく C<$]> を使いたかったのでしょう。 |
13499 | 12381 | C<$[> は配列の基数です。 |
13500 | 12382 | C<$]> は Perl のバージョン番号の 10 進数です。 |
13501 | 12383 | |
13502 | =item Use \\x{...} for more than two hex characters in regex; marked by <-- HERE in m/%s/ | |
13503 | ||
13504 | =begin original | |
13505 | ||
13506 | (F) | |
13507 | In a regular expression, you said something like | |
13508 | ||
13509 | =end original | |
13510 | ||
13511 | (F) | |
13512 | 正規表現で、以下のようなことをしました | |
13513 | ||
13514 | (?[ [ \xBEEF ] ]) | |
13515 | ||
13516 | =begin original | |
13517 | ||
13518 | Perl isn't sure if you meant this | |
13519 | ||
13520 | =end original | |
13521 | ||
13522 | Perl は、これが以下のものを意味しているのか | |
13523 | ||
13524 | (?[ [ \x{BEEF} ] ]) | |
13525 | ||
13526 | =begin original | |
13527 | ||
13528 | or if you meant this | |
13529 | ||
13530 | =end original | |
13531 | ||
13532 | それとも次のものかがわかりません。 | |
13533 | ||
13534 | (?[ [ \x{BE} E F ] ]) | |
13535 | ||
13536 | =begin original | |
13537 | ||
13538 | You need to add either braces or blanks to disambiguate. | |
13539 | ||
13540 | =end original | |
13541 | ||
13542 | 明確にするために大かっこか空白を追加する必要があります。 | |
13543 | ||
13544 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
13545 | ||
13546 | =begin original | |
13547 | ||
13548 | (S internal) The behavior of C<each()> after insertion is undefined, it may | |
13549 | skip items, or visit items more than once. Consider using C<keys()> instead | |
13550 | of C<each()>. | |
13551 | ||
13552 | =end original | |
13553 | ||
13554 | (S internal) 挿入の後の C<each()> の振る舞いは未定義で、アイテムを | |
13555 | 読み飛ばしたり、複数回読んだりします。 | |
13556 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
13557 | ||
13558 | 12384 | =item Useless assignment to a temporary |
13559 | 12385 | |
13560 | 12386 | =begin original |
13561 | 12387 | |
13562 | 12388 | (W misc) You assigned to an lvalue subroutine, but what |
13563 | 12389 | the subroutine returned was a temporary scalar about to |
13564 | 12390 | be discarded, so the assignment had no effect. |
13565 | 12391 | |
13566 | 12392 | =end original |
13567 | 12393 | |
13568 | 12394 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは |
13569 | 12395 | 捨てられようとする一時的なスカラなので、代入は向こうです。 |
13570 | 12396 | |
13571 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in | |
12397 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in m/%s/ | |
13572 | m/%s/ | |
13573 | 12398 | |
13574 | 12399 | =begin original |
13575 | 12400 | |
13576 | 12401 | (W regexp) You have used an internal modifier such as (?-o) that has no |
13577 | 12402 | meaning unless removed from the entire regexp: |
13578 | 12403 | |
13579 | 12404 | =end original |
13580 | 12405 | |
13581 | 12406 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ |
13582 | 12407 | 意味がありません: |
13583 | 12408 | |
13584 | 12409 | if ($string =~ /(?-o)$pattern/o) { ... } |
13585 | 12410 | |
13586 | 12411 | =begin original |
13587 | 12412 | |
13588 | 12413 | must be written as |
13589 | 12414 | |
13590 | 12415 | =end original |
13591 | 12416 | |
13592 | 12417 | これは以下のように書かなければなりません: |
13593 | 12418 | |
13594 | 12419 | if ($string =~ /$pattern/) { ... } |
13595 | 12420 | |
13596 | 12421 | =begin original |
13597 | 12422 | |
13598 | The <-- HERE shows | |
12423 | The <-- HERE shows in the regular expression about | |
13599 | discovered. See L<perlre>. | |
12424 | where the problem was discovered. See L<perlre>. | |
13600 | 12425 | |
13601 | 12426 | =end original |
13602 | 12427 | |
13603 | 12428 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
13604 | 12429 | L<perlre> を参照してください。 |
13605 | 12430 | |
13606 | 12431 | =item Useless localization of %s |
13607 | 12432 | |
13608 | 12433 | =begin original |
13609 | 12434 | |
13610 | 12435 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, |
13611 | 12436 | but in fact the local() currently has no effect. This may change at |
13612 | 12437 | some point in the future, but in the meantime such code is discouraged. |
13613 | 12438 | |
13614 | 12439 | =end original |
13615 | 12440 | |
13616 | 12441 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 |
13617 | 12442 | 実際のところ local() は現在のところ何の効果もありません。 |
13618 | 12443 | これは将来変更されるかもしれませんが、今のところはこのようなコードは |
13619 | 12444 | 勧められません。 |
13620 | 12445 | |
13621 | 12446 | =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/ |
13622 | 12447 | |
13623 | 12448 | =begin original |
13624 | 12449 | |
13625 | 12450 | (W regexp) You have used an internal modifier such as (?o) that has no |
13626 | 12451 | meaning unless applied to the entire regexp: |
13627 | 12452 | |
13628 | 12453 | =end original |
13629 | 12454 | |
13630 | 12455 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ |
13631 | 12456 | 意味がありません: |
13632 | 12457 | |
13633 | 12458 | if ($string =~ /(?o)$pattern/) { ... } |
13634 | 12459 | |
13635 | 12460 | =begin original |
13636 | 12461 | |
13637 | 12462 | must be written as |
13638 | 12463 | |
13639 | 12464 | =end original |
13640 | 12465 | |
13641 | 12466 | これは以下のように書かなければなりません: |
13642 | 12467 | |
13643 | 12468 | if ($string =~ /$pattern/o) { ... } |
13644 | 12469 | |
13645 | 12470 | =begin original |
13646 | 12471 | |
13647 | The <-- HERE shows | |
12472 | The <-- HERE shows in the regular expression about | |
13648 | discovered. See L<perlre>. | |
12473 | where the problem was discovered. See L<perlre>. | |
13649 | 12474 | |
13650 | 12475 | =end original |
13651 | 12476 | |
13652 | 12477 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
13653 | 12478 | L<perlre> を参照してください。 |
13654 | 12479 | |
13655 | 12480 | =item Useless use of /d modifier in transliteration operator |
13656 | 12481 | |
13657 | 12482 | =begin original |
13658 | 12483 | |
13659 | 12484 | (W misc) You have used the /d modifier where the searchlist has the |
13660 | 12485 | same length as the replacelist. See L<perlop> for more information |
13661 | 12486 | about the /d modifier. |
13662 | 12487 | |
13663 | 12488 | =end original |
13664 | 12489 | |
13665 | 12490 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 |
13666 | 12491 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 |
13667 | 12492 | |
13668 | =item Useless use of '\'; doesn't escape metacharacter '%c' | |
13669 | ||
13670 | =begin original | |
13671 | ||
13672 | (D deprecated) You wrote a regular expression pattern something like | |
13673 | one of these: | |
13674 | ||
13675 | =end original | |
13676 | ||
13677 | (D deprecated) 以下のどれかのような正規表現を書きました: | |
13678 | ||
13679 | m{ \x\{FF\} }x | |
13680 | m{foo\{1,3\}} | |
13681 | qr(foo\(bar\)) | |
13682 | s[foo\[a-z\]bar][baz] | |
13683 | ||
13684 | =begin original | |
13685 | ||
13686 | The interior braces, square brackets, and parentheses are treated as | |
13687 | metacharacters even though they are backslashed; instead write: | |
13688 | ||
13689 | =end original | |
13690 | ||
13691 | 内側の小かっこ、中かっこ、大かっこは、逆スラッシュが付けられてもメタ文字として | |
13692 | 扱われます; 代わりに以下のように書いてください: | |
13693 | ||
13694 | m{ \x{FF} }x | |
13695 | m{foo{1,3}} | |
13696 | qr(foo(bar)) | |
13697 | s[foo[a-z]bar][baz] | |
13698 | ||
13699 | =begin original | |
13700 | ||
13701 | The backslashes have no effect when a regular expression pattern is | |
13702 | delimitted by C<{}>, C<[]>, or C<()>, which ordinarily are | |
13703 | metacharacters, and the delimiters are also used, paired, within the | |
13704 | interior of the pattern. It is planned that a future Perl release will | |
13705 | change the meaning of constructs like these so that the backslashes | |
13706 | will have an effect, so remove them from your code. | |
13707 | ||
13708 | =end original | |
13709 | ||
13710 | 正規表現パターンが、普通はメタ文字である C<{}>, C<[]>, C<()> で区切られていて、 | |
13711 | そのパターンの中でも使われて組になっている場合、逆スラッシュは無効です。 | |
13712 | 将来の Perl リリースではこのような構文では逆スラッシュが効力を持つように | |
13713 | 意味を変更することが計画されているので、コードからは取り除いてください。 | |
13714 | ||
13715 | 12493 | =item Useless use of \E |
13716 | 12494 | |
13717 | 12495 | =begin original |
13718 | 12496 | |
13719 | 12497 | (W misc) You have a \E in a double-quotish string without a C<\U>, |
13720 | 12498 | C<\L> or C<\Q> preceding it. |
13721 | 12499 | |
13722 | 12500 | =end original |
13723 | 12501 | |
13724 | 12502 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく |
13725 | 12503 | \E を書きました。 |
13726 | 12504 | |
13727 | 12505 | =item Useless use of %s in void context |
13728 | 12506 | |
13729 | 12507 | =begin original |
13730 | 12508 | |
13731 | 12509 | (W void) You did something without a side effect in a context that does |
13732 | 12510 | nothing with the return value, such as a statement that doesn't return a |
13733 | 12511 | value from a block, or the left side of a scalar comma operator. Very |
13734 | 12512 | often this points not to stupidity on your part, but a failure of Perl |
13735 | 12513 | to parse your program the way you thought it would. For example, you'd |
13736 | 12514 | get this if you mixed up your C precedence with Python precedence and |
13737 | 12515 | said |
13738 | 12516 | |
13739 | 12517 | =end original |
13740 | 12518 | |
13741 | 12519 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
13742 | 12520 | 返却値の無い文脈で、副作用のないことを行ないました。 |
13743 | 12521 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
13744 | 12522 | 意向を汲み取った解釈ができないことで起こります。 |
13745 | 12523 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
13746 | 12524 | 以下のようにした場合です: |
13747 | 12525 | |
13748 | 12526 | $one, $two = 1, 2; |
13749 | 12527 | |
13750 | 12528 | =begin original |
13751 | 12529 | |
13752 | 12530 | when you meant to say |
13753 | 12531 | |
13754 | 12532 | =end original |
13755 | 12533 | |
13756 | 12534 | 以下のようにするべきです。 |
13757 | 12535 | |
13758 | 12536 | ($one, $two) = (1, 2); |
13759 | 12537 | |
13760 | 12538 | =begin original |
13761 | 12539 | |
13762 | 12540 | Another common error is to use ordinary parentheses to construct a list |
13763 | 12541 | reference when you should be using square or curly brackets, for |
13764 | 12542 | example, if you say |
13765 | 12543 | |
13766 | 12544 | =end original |
13767 | 12545 | |
13768 | 12546 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを |
13769 | 12547 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた |
13770 | 12548 | 場合です: |
13771 | 12549 | |
13772 | 12550 | $array = (1,2); |
13773 | 12551 | |
13774 | 12552 | =begin original |
13775 | 12553 | |
13776 | 12554 | when you should have said |
13777 | 12555 | |
13778 | 12556 | =end original |
13779 | 12557 | |
13780 | 12558 | 以下のように書くべきです: |
13781 | 12559 | |
13782 | 12560 | $array = [1,2]; |
13783 | 12561 | |
13784 | 12562 | =begin original |
13785 | 12563 | |
13786 | 12564 | The square brackets explicitly turn a list value into a scalar value, |
13787 | 12565 | while parentheses do not. So when a parenthesized list is evaluated in |
13788 | 12566 | a scalar context, the comma is treated like C's comma operator, which |
13789 | 12567 | throws away the left argument, which is not what you want. See |
13790 | 12568 | L<perlref> for more on this. |
13791 | 12569 | |
13792 | 12570 | =end original |
13793 | 12571 | |
13794 | 12572 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
13795 | 12573 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
13796 | 12574 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
13797 | 12575 | これは望んでいることではないでしょう。 |
13798 | 12576 | これに関するさらなる情報については L<perlref> を参照してください。 |
13799 | 12577 | |
13800 | 12578 | =begin original |
13801 | 12579 | |
13802 | 12580 | This warning will not be issued for numerical constants equal to 0 or 1 |
13803 | 12581 | since they are often used in statements like |
13804 | 12582 | |
13805 | 12583 | =end original |
13806 | 12584 | |
13807 | 12585 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 |
13808 | 12586 | しばしば以下のような文で使われるからです: |
13809 | 12587 | |
13810 | 12588 | 1 while sub_with_side_effects(); |
13811 | 12589 | |
13812 | 12590 | =begin original |
13813 | 12591 | |
13814 | 12592 | String constants that would normally evaluate to 0 or 1 are warned |
13815 | 12593 | about. |
13816 | 12594 | |
13817 | 12595 | =end original |
13818 | 12596 | |
13819 | 12597 | 通常 0 か 1 に評価される文字列定数は警告されます。 |
13820 | 12598 | |
13821 | 12599 | =item Useless use of "re" pragma |
13822 | 12600 | |
13823 | 12601 | =begin original |
13824 | 12602 | |
13825 | 12603 | (W) You did C<use re;> without any arguments. That isn't very useful. |
13826 | 12604 | |
13827 | 12605 | =end original |
13828 | 12606 | |
13829 | 12607 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
13830 | 12608 | |
13831 | 12609 | =item Useless use of sort in scalar context |
13832 | 12610 | |
13833 | 12611 | =begin original |
13834 | 12612 | |
13835 | 12613 | (W void) You used sort in scalar context, as in : |
13836 | 12614 | |
13837 | 12615 | =end original |
13838 | 12616 | |
13839 | 12617 | (W void) こんな風に、ソートをスカラコンテキストで使いました: |
13840 | 12618 | |
13841 | 12619 | my $x = sort @y; |
13842 | 12620 | |
13843 | 12621 | =begin original |
13844 | 12622 | |
13845 | 12623 | This is not very useful, and perl currently optimizes this away. |
13846 | 12624 | |
13847 | 12625 | =end original |
13848 | 12626 | |
13849 | 12627 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 |
13850 | 12628 | |
13851 | =item Useless use of (?-p) in regex; marked by <-- HERE in m/%s/ | |
13852 | ||
13853 | =begin original | |
13854 | ||
13855 | (W regexp) | |
13856 | The C<p> modifier cannot be turned off once set. Trying to do so is | |
13857 | futile. | |
13858 | ||
13859 | =end original | |
13860 | ||
13861 | (W regexp) | |
13862 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
13863 | そうしようとしても無効です。 | |
13864 | ||
13865 | 12629 | =item Useless use of %s with no values |
13866 | 12630 | |
13867 | 12631 | =begin original |
13868 | 12632 | |
13869 | 12633 | (W syntax) You used the push() or unshift() function with no arguments |
13870 | 12634 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't |
13871 | 12635 | usually have any effect on the array, so is completely useless. It's |
13872 | 12636 | possible in principle that push(@tied_array) could have some effect |
13873 | 12637 | if the array is tied to a class which implements a PUSH method. If so, |
13874 | 12638 | you can write it as C<push(@tied_array,())> to avoid this warning. |
13875 | 12639 | |
13876 | 12640 | =end original |
13877 | 12641 | |
13878 | 12642 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や |
13879 | 12643 | unshift() 関数を、配列以外の引数なしで使いました。 |
13880 | 12644 | これは普通は配列に何の影響も与えないので、完全に無意味です。 |
13881 | 12645 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては |
13882 | 12646 | push(@tied_array) が何らかの効果を持つ可能性はあります。 |
13883 | 12647 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を |
13884 | 12648 | 回避できます。 |
13885 | 12649 | |
13886 | =item Useless (%s%c) - %suse /%c modifier in regex; marked by <-- HERE in m/%s/ | |
13887 | ||
13888 | =begin original | |
13889 | ||
13890 | (W regexp) | |
13891 | The C</g> and C</o> regular expression modifiers are global and can't be | |
13892 | turned off once set; hence things like C<(?g)> or C<(?-o:)> do nothing. | |
13893 | ||
13894 | =end original | |
13895 | ||
13896 | (W regexp) 正規表現修飾子 C</g> と C</o> はグローバルで、一旦設定すると | |
13897 | オフにはできません; 従って C<(?g)> や C<(?-o:)> のようなものは何もしません。 | |
13898 | ||
13899 | =item Useless (%sc) - %suse /gc modifier in regex; marked by <-- HERE in m/%s/ | |
13900 | ||
13901 | =begin original | |
13902 | ||
13903 | (W regexp) | |
13904 | The C</c> regular expression modifier is global, can't be turned off | |
13905 | once set, and doesn't do anything without the C</g> modifier being | |
13906 | specified as well; hence things like C<(?c)> or C<(?-c:)> do nothing, | |
13907 | nor do thing like C<(?gc)> nor C<(?-gc:)> . | |
13908 | ||
13909 | =end original | |
13910 | ||
13911 | (W regexp) 正規表現修飾子 C</c> はグローバルで、一旦設定するとオフにはできず、 | |
13912 | C</g> 修飾子も設定されない限り何もしません; 従って C<(?c)> や | |
13913 | C<(?-c:)> のようなものは何もせず、C<(?gc)> や C<(?-gc:)> のようなものも | |
13914 | 何もしません。 | |
13915 | ||
13916 | 12650 | =item "use" not allowed in expression |
13917 | 12651 | |
13918 | 12652 | =begin original |
13919 | 12653 | |
13920 | 12654 | (F) The "use" keyword is recognized and executed at compile time, and |
13921 | 12655 | returns no useful value. See L<perlmod>. |
13922 | 12656 | |
13923 | 12657 | =end original |
13924 | 12658 | |
13925 | 12659 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
13926 | 12660 | 意味のある値を返しません。 |
13927 | 12661 | L<perlmod> を参照してください。 |
13928 | 12662 | |
13929 | 12663 | =item Use of assignment to $[ is deprecated |
13930 | 12664 | |
13931 | 12665 | =begin original |
13932 | 12666 | |
13933 | 12667 | (D deprecated) The C<$[> variable (index of the first element in an array) |
13934 | 12668 | is deprecated. See L<perlvar/"$[">. |
13935 | 12669 | |
13936 | 12670 | =end original |
13937 | 12671 | |
13938 | 12672 | (D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は廃止予定です。 |
13939 | 12673 | L<perlvar/"$["> を参照してください。 |
13940 | 12674 | |
13941 | 12675 | =item Use of bare << to mean <<"" is deprecated |
13942 | 12676 | |
13943 | 12677 | =begin original |
13944 | 12678 | |
13945 | 12679 | (D deprecated) You are now encouraged to use the explicitly quoted |
13946 | 12680 | form if you wish to use an empty line as the terminator of the here-document. |
13947 | 12681 | |
13948 | 12682 | =end original |
13949 | 12683 | |
13950 | 12684 | (D deprecated) ヒアドキュメントの終端子として空行を |
13951 | 12685 | 使いたいときには、明示的にクォートされた形を使うことを推奨しています。 |
13952 | 12686 | |
13953 | 12687 | =item Use of comma-less variable list is deprecated |
13954 | 12688 | |
13955 | 12689 | =begin original |
13956 | 12690 | |
13957 | 12691 | (D deprecated) The values you give to a format should be |
13958 | 12692 | separated by commas, not just aligned on a line. |
13959 | 12693 | |
13960 | 12694 | =end original |
13961 | 12695 | |
13962 | 12696 | (D deprecated) フォーマットに与えた値は単に行で |
13963 | 12697 | 並べるのではなくて、カンマで区切るべきです。 |
13964 | 12698 | |
13965 | 12699 | =item Use of chdir('') or chdir(undef) as chdir() deprecated |
13966 | 12700 | |
13967 | 12701 | =begin original |
13968 | 12702 | |
13969 | 12703 | (D deprecated) chdir() with no arguments is documented to change to |
13970 | 12704 | $ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this |
13971 | 12705 | behavior, but that has been deprecated. In future versions they |
13972 | 12706 | will simply fail. |
13973 | 12707 | |
13974 | 12708 | =end original |
13975 | 12709 | |
13976 | 12710 | (D deprecated) 引数なしの chdir() は、$ENV{HOME} か $ENV{LOGDIR} に |
13977 | 12711 | 変更すると文書化されています。 |
13978 | 12712 | chdir(undef) と chdir('') も同じふるまいをしますが、これは非推奨です。 |
13979 | 12713 | 将来のバージョンでは単に失敗するでしょう。 |
13980 | 12714 | |
13981 | 12715 | =begin original |
13982 | 12716 | |
13983 | 12717 | Be careful to check that what you pass to chdir() is defined and not |
13984 | 12718 | blank, else you might find yourself in your home directory. |
13985 | 12719 | |
13986 | 12720 | =end original |
13987 | 12721 | |
13988 | 12722 | chdir() に渡すものが定義されていて、空白ではないことをチェックするように |
13989 | 12723 | 注意してください; さもないとホームディレクトリに |
13990 | 12724 | 移動してしまうかもしれません。 |
13991 | 12725 | |
13992 | 12726 | =item Use of /c modifier is meaningless in s/// |
13993 | 12727 | |
13994 | 12728 | =begin original |
13995 | 12729 | |
13996 | 12730 | (W regexp) You used the /c modifier in a substitution. The /c |
13997 | 12731 | modifier is not presently meaningful in substitutions. |
13998 | 12732 | |
13999 | 12733 | =end original |
14000 | 12734 | |
14001 | 12735 | (W regexp) 置換で /c 修飾子を使いました。 |
14002 | 12736 | /c は置換では現在のところ無意味です。 |
14003 | 12737 | |
14004 | 12738 | =item Use of /c modifier is meaningless without /g |
14005 | 12739 | |
14006 | 12740 | =begin original |
14007 | 12741 | |
14008 | 12742 | (W regexp) You used the /c modifier with a regex operand, but didn't |
14009 | 12743 | use the /g modifier. Currently, /c is meaningful only when /g is |
14010 | 12744 | used. (This may change in the future.) |
14011 | 12745 | |
14012 | 12746 | =end original |
14013 | 12747 | |
14014 | 12748 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は |
14015 | 12749 | 使いませんでした。 |
14016 | 12750 | 現在のところ、/c は /g が使われたときにのみ有効です。 |
14017 | 12751 | (これは将来変更されるかもしれません。) |
14018 | 12752 | |
14019 | 12753 | =item Use of := for an empty attribute list is not allowed |
14020 | 12754 | |
14021 | 12755 | =begin original |
14022 | 12756 | |
14023 | 12757 | (F) The construction C<my $x := 42> used to parse as equivalent to |
14024 | 12758 | C<my $x : = 42> (applying an empty attribute list to C<$x>). |
14025 | 12759 | This construct was deprecated in 5.12.0, and has now been made a syntax |
14026 | 12760 | error, so C<:=> can be reclaimed as a new operator in the future. |
14027 | 12761 | |
14028 | 12762 | =end original |
14029 | 12763 | |
14030 | 12764 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました |
14031 | 12765 | (C<$x> に空の属性リストを適用する)。 |
14032 | 12766 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 |
14033 | 12767 | C<:=> は将来新しい演算子として再利用できます。 |
14034 | 12768 | |
14035 | 12769 | =begin original |
14036 | 12770 | |
14037 | 12771 | If you need an empty attribute list, for example in a code generator, add |
14038 | 12772 | a space before the C<=>. |
14039 | 12773 | |
14040 | 12774 | =end original |
14041 | 12775 | |
14042 | 12776 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に |
14043 | 12777 | スペースを加えてください。 |
14044 | 12778 | |
14045 | 12779 | =item Use of freed value in iteration |
14046 | 12780 | |
14047 | 12781 | =begin original |
14048 | 12782 | |
14049 | 12783 | (F) Perhaps you modified the iterated array within the loop? |
14050 | 12784 | This error is typically caused by code like the following: |
14051 | 12785 | |
14052 | 12786 | =end original |
14053 | 12787 | |
14054 | 12788 | (F) おそらくループの中で反復される配列を変更したのでは? |
14055 | 12789 | このエラーは典型的には以下のようなコードで発生します: |
14056 | 12790 | |
14057 | 12791 | @a = (3,4); |
14058 | 12792 | @a = () for (1,2,@a); |
14059 | 12793 | |
14060 | 12794 | =begin original |
14061 | 12795 | |
14062 | 12796 | You are not supposed to modify arrays while they are being iterated over. |
14063 | 12797 | For speed and efficiency reasons, Perl internally does not do full |
14064 | 12798 | reference-counting of iterated items, hence deleting such an item in the |
14065 | 12799 | middle of an iteration causes Perl to see a freed value. |
14066 | 12800 | |
14067 | 12801 | =end original |
14068 | 12802 | |
14069 | 12803 | 反復中の配列は変更してはいけないことになっています。 |
14070 | 12804 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを |
14071 | 12805 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は |
14072 | 12806 | 解放された値を見ることになります。 |
14073 | 12807 | |
14074 | 12808 | =item Use of *glob{FILEHANDLE} is deprecated |
14075 | 12809 | |
14076 | 12810 | =begin original |
14077 | 12811 | |
14078 | 12812 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form |
14079 | 12813 | to access the filehandle slot within a typeglob. |
14080 | 12814 | |
14081 | 12815 | =end original |
14082 | 12816 | |
14083 | 12817 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 |
14084 | 12818 | より短い *glob{IO} の形を使うことを推奨されています。 |
14085 | 12819 | |
14086 | 12820 | =item Use of /g modifier is meaningless in split |
14087 | 12821 | |
14088 | 12822 | =begin original |
14089 | 12823 | |
14090 | 12824 | (W regexp) You used the /g modifier on the pattern for a C<split> |
14091 | 12825 | operator. Since C<split> always tries to match the pattern |
14092 | 12826 | repeatedly, the C</g> has no effect. |
14093 | 12827 | |
14094 | 12828 | =end original |
14095 | 12829 | |
14096 | 12830 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 |
14097 | 12831 | C<split> は常にパターンを繰り返しマッチングしようとするので、 |
14098 | 12832 | C</g> は効果がありません。 |
14099 | 12833 | |
14100 | 12834 | =item Use of "goto" to jump into a construct is deprecated |
14101 | 12835 | |
14102 | 12836 | =begin original |
14103 | 12837 | |
14104 | 12838 | (D deprecated) Using C<goto> to jump from an outer scope into an inner |
14105 | 12839 | scope is deprecated and should be avoided. |
14106 | 12840 | |
14107 | 12841 | =end original |
14108 | 12842 | |
14109 | 12843 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を |
14110 | 12844 | 使うことは廃止予定であり、避けるべきです。 |
14111 | 12845 | |
14112 | 12846 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated |
14113 | 12847 | |
14114 | 12848 | =begin original |
14115 | 12849 | |
14116 | 12850 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> |
14117 | 12851 | subroutines are looked up as methods (using the C<@ISA> hierarchy) |
14118 | 12852 | even when the subroutines to be autoloaded were called as plain |
14119 | 12853 | functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or |
14120 | 12854 | C<< $obj->bar() >>). |
14121 | 12855 | |
14122 | 12856 | =end original |
14123 | 12857 | |
14124 | 12858 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 |
14125 | 12859 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や |
14126 | 12860 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として |
14127 | 12861 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 |
14128 | 12862 | |
14129 | 12863 | =begin original |
14130 | 12864 | |
14131 | 12865 | This bug will be rectified in future by using method lookup only for |
14132 | 12866 | methods' C<AUTOLOAD>s. However, there is a significant base of existing |
14133 | 12867 | code that may be using the old behavior. So, as an interim step, Perl |
14134 | 12868 | currently issues an optional warning when non-methods use inherited |
14135 | 12869 | C<AUTOLOAD>s. |
14136 | 12870 | |
14137 | 12871 | =end original |
14138 | 12872 | |
14139 | 12873 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって |
14140 | 12874 | 将来修正される予定です。 |
14141 | 12875 | しかし、現在のコードの大部分は古い振る舞いを使っています。 |
14142 | 12876 | それで、暫定的なステップとして、Perl は現在のところは、 |
14143 | 12877 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を |
14144 | 12878 | 発生させます。 |
14145 | 12879 | |
14146 | 12880 | =begin original |
14147 | 12881 | |
14148 | 12882 | The simple rule is: Inheritance will not work when autoloading |
14149 | 12883 | non-methods. The simple fix for old code is: In any module that used |
14150 | 12884 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class |
14151 | 12885 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during |
14152 | 12886 | startup. |
14153 | 12887 | |
14154 | 12888 | =end original |
14155 | 12889 | |
14156 | 12890 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 |
14157 | 12891 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前の基底クラスから |
14158 | 12892 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 |
14159 | 12893 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 |
14160 | 12894 | |
14161 | 12895 | =begin original |
14162 | 12896 | |
14163 | 12897 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> |
14164 | 12898 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to |
14165 | 12899 | C<use AutoLoader 'AUTOLOAD';>. |
14166 | 12900 | |
14167 | 12901 | =end original |
14168 | 12902 | |
14169 | 12903 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 |
14170 | 12904 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を |
14171 | 12905 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 |
14172 | 12906 | |
14173 | 12907 | =item Use of %s in printf format not supported |
14174 | 12908 | |
14175 | 12909 | =begin original |
14176 | 12910 | |
14177 | 12911 | (F) You attempted to use a feature of printf that is accessible from |
14178 | 12912 | only C. This usually means there's a better way to do it in Perl. |
14179 | 12913 | |
14180 | 12914 | =end original |
14181 | 12915 | |
14182 | 12916 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
14183 | 12917 | これは普通 Perl で行うより良い方法があります。 |
14184 | 12918 | |
14185 | 12919 | =item Use of %s is deprecated |
14186 | 12920 | |
14187 | 12921 | =begin original |
14188 | 12922 | |
14189 | 12923 | (D deprecated) The construct indicated is no longer recommended for use, |
14190 | 12924 | generally because there's a better way to do it, and also because the |
14191 | 12925 | old way has bad side effects. |
14192 | 12926 | |
14193 | 12927 | =end original |
14194 | 12928 | |
14195 | 12929 | (D deprecated) 示した構文は、もはや使うことが推奨されません; 一般には |
14196 | 12930 | もっと良い方法があるからであり、また古い方法は、悪い副作用があるからです。 |
14197 | 12931 | |
14198 | 12932 | =item Use of -l on filehandle %s |
14199 | 12933 | |
14200 | 12934 | =begin original |
14201 | 12935 | |
14202 | 12936 | (W io) A filehandle represents an opened file, and when you opened the file |
14203 | 12937 | it already went past any symlink you are presumably trying to look for. |
14204 | 12938 | The operation returned C<undef>. Use a filename instead. |
14205 | 12939 | |
14206 | 12940 | =end original |
14207 | 12941 | |
14208 | 12942 | (F) ファイルはオープンされたファイルを表わすものであり、 |
14209 | 12943 | ファイルをオープンしたときには、探しているシンボリックリンクは、 |
14210 | 12944 | 既に通り過ぎた後です。 |
14211 | 12945 | この操作は C<undef> を返します。 |
14212 | 12946 | 代わりにファイル名を使ってください。 |
14213 | 12947 | |
14214 | =item Use of my $_ is experimental | |
14215 | ||
14216 | =begin original | |
14217 | ||
14218 | (S experimental::lexical_topic) Lexical $_ is an experimental feature and | |
14219 | its behavior may change or even be removed in any future release of perl. | |
14220 | See the explanation under L<perlvar/$_>. | |
14221 | ||
14222 | =end original | |
14223 | ||
14224 | (S experimental::lexical_topic) レキシカルな $_ は実験的機能で、その振る舞いは | |
14225 | 将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
14226 | L<perlvar/$_> の説明を参照してください。 | |
14227 | ||
14228 | 12948 | =item Use of %s on a handle without * is deprecated |
14229 | 12949 | |
14230 | 12950 | =begin original |
14231 | 12951 | |
14232 | 12952 | (D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that scalar |
14233 | 12953 | happens to hold a typeglob, which means its filehandle will be tied. If |
14234 | 12954 | you mean to tie a handle, use an explicit * as in C<tie *$handle>. |
14235 | 12955 | |
14236 | 12956 | =end original |
14237 | 12957 | |
14238 | 12958 | (D deprecated) スカラに対して C<tie>, C<tied>, C<untie> を使いましたが、 |
14239 | 12959 | スカラは型グロブを保持していて、そのファイルハンドルが tie されていることを |
14240 | 12960 | 意味します。 |
14241 | 12961 | ハンドルを tie することを意味しているなら、C<tie *$handle> のように |
14242 | 12962 | 明示的に * を使ってください。 |
14243 | 12963 | |
14244 | 12964 | =begin original |
14245 | 12965 | |
14246 | 12966 | This was a long-standing bug that was removed in Perl 5.16, as there was |
14247 | 12967 | no way to tie the scalar itself when it held a typeglob, and no way to |
14248 | 12968 | untie a scalar that had had a typeglob assigned to it. If you see this |
14249 | 12969 | message, you must be using an older version. |
14250 | 12970 | |
14251 | 12971 | =end original |
14252 | 12972 | |
14253 | 12973 | これは Perl 5.16 で取り除かれた長年残っていたバグで、 |
14254 | 12974 | 型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが |
14255 | 12975 | 代入されているスカラを untie する方法がないというものでした。 |
14256 | 12976 | このメッセージを見たなら、古いバージョンを使わなければなりません。 |
14257 | 12977 | |
14258 | 12978 | =item Use of ?PATTERN? without explicit operator is deprecated |
14259 | 12979 | |
14260 | 12980 | =begin original |
14261 | 12981 | |
14262 | 12982 | (D deprecated) You have written something like C<?\w?>, for a regular |
14263 | 12983 | expression that matches only once. Starting this term directly with |
14264 | 12984 | the question mark delimiter is now deprecated, so that the question mark |
14265 | 12985 | will be available for use in new operators in the future. Write C<m?\w?> |
14266 | 12986 | instead, explicitly using the C<m> operator: the question mark delimiter |
14267 | 12987 | still invokes match-once behaviour. |
14268 | 12988 | |
14269 | 12989 | =end original |
14270 | 12990 | |
14271 | 12991 | (D deprecated) 一度だけマッチングする正規表現として C<?\w?> のようなものを |
14272 | 12992 | 書きました。 |
14273 | 12993 | 疑問符を将来新しい演算子として利用可能とするために、この単語を直接疑問符 |
14274 | 12994 | デリミタで始めることは非推奨となりました。 |
14275 | 12995 | 代わりに、明示的に C<m> 演算子を使って C<m?\w?> と書いてください: これも |
14276 | 12996 | 疑問符デリミタは一度だけマッチングする振る舞いを起動します。 |
14277 | 12997 | |
12998 | =item Use of qw(...) as parentheses is deprecated | |
12999 | ||
13000 | =begin original | |
13001 | ||
13002 | (D deprecated) You have something like C<foreach $x qw(a b c) {...}>, | |
13003 | using a C<qw(...)> list literal where a parenthesised expression is | |
13004 | expected. Historically the parser fooled itself into thinking that | |
13005 | C<qw(...)> literals were always enclosed in parentheses, and as a result | |
13006 | you could sometimes omit parentheses around them. (You could never do | |
13007 | the C<foreach qw(a b c) {...}> that you might have expected, though.) | |
13008 | The parser no longer lies to itself in this way. Wrap the list literal | |
13009 | in parentheses, like C<foreach $x (qw(a b c)) {...}>. | |
13010 | ||
13011 | =end original | |
13012 | ||
13013 | (D deprecated) C<foreach $x qw(a b c) {...}> のようなものを書きました; | |
13014 | かっこ付きの式が想定されているところで C<qw(...)> リストリテラルを | |
13015 | 使っています。 | |
13016 | 歴史的には、パーサは C<qw(...)> リテラルは常にかっこで囲まれていると | |
13017 | 考えるように騙されていて、結果として時々かっこを省略できました。 | |
13018 | (しかし、予想するかも知れませんが C<foreach qw(a b c) {...}> とすることは | |
13019 | できません。) | |
13020 | パーサはもはやこの方法でだまされません。 | |
13021 | C<foreach $x (qw(a b c)) {...}> のようにして、リストリテラルをかっこで | |
13022 | 囲んでください。 | |
13023 | ||
14278 | 13024 | =item Use of reference "%s" as array index |
14279 | 13025 | |
14280 | 13026 | =begin original |
14281 | 13027 | |
14282 | 13028 | (W misc) You tried to use a reference as an array index; this probably |
14283 | 13029 | isn't what you mean, because references in numerical context tend |
14284 | 13030 | to be huge numbers, and so usually indicates programmer error. |
14285 | 13031 | |
14286 | 13032 | =end original |
14287 | 13033 | |
14288 | 13034 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく |
14289 | 13035 | 望んでいることではないでしょう; なぜなら数値コンテキストでの |
14290 | 13036 | リファレンスはとても大きな数になることが多いので、普通はプログラマの |
14291 | 13037 | ミスを意味しています。 |
14292 | 13038 | |
14293 | 13039 | =begin original |
14294 | 13040 | |
14295 | 13041 | If you really do mean it, explicitly numify your reference, like so: |
14296 | 13042 | C<$array[0+$ref]>. This warning is not given for overloaded objects, |
14297 | 13043 | however, because you can overload the numification and stringification |
14298 | 13044 | operators and then you presumably know what you are doing. |
14299 | 13045 | |
14300 | 13046 | =end original |
14301 | 13047 | |
14302 | 13048 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に |
14303 | 13049 | 数値化してください。 |
14304 | 13050 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; |
14305 | 13051 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると |
14306 | 13052 | 仮定できるからです。 |
14307 | 13053 | |
14308 | =item Use of s | |
13054 | =item Use of reserved word "%s" is deprecated | |
14309 | 13055 | |
14310 | 13056 | =begin original |
14311 | 13057 | |
14312 | ( | |
13058 | (D deprecated) The indicated bareword is a reserved word. Future | |
14313 | i | |
13059 | versions of perl may use it as a keyword, so you're better off either | |
14314 | ||
13060 | explicitly quoting the word in a manner appropriate for its context of | |
13061 | use, or using a different name altogether. The warning can be | |
13062 | suppressed for subroutine names by either adding a C<&> prefix, or using | |
13063 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. | |
14315 | 13064 | |
14316 | 13065 | =end original |
14317 | 13066 | |
14318 | ( | |
13067 | (D deprecated) 示されている裸の単語は予約語です。 | |
14319 | 将来の | |
13068 | 将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、 | |
14320 | ||
13069 | 使っているコンテキストに適した形で単語をクォートするか、違う名前を | |
13070 | 使ってください。 | |
13071 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 | |
13072 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
14321 | 13073 | |
14322 | 13074 | =item Use of tainted arguments in %s is deprecated |
14323 | 13075 | |
14324 | 13076 | =begin original |
14325 | 13077 | |
14326 | 13078 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple |
14327 | 13079 | arguments and at least one of them is tainted. This used to be allowed |
14328 | 13080 | but will become a fatal error in a future version of perl. Untaint your |
14329 | 13081 | arguments. See L<perlsec>. |
14330 | 13082 | |
14331 | 13083 | =end original |
14332 | 13084 | |
14333 | 13085 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 |
14334 | 13086 | そのうち少なくとも一つが汚染されています。 |
14335 | 13087 | これは許されていましたが、将来のバージョンの perl では致命的エラーに |
14336 | 13088 | なるでしょう。 |
14337 | 13089 | 引数を浄化してください。 |
14338 | 13090 | L<perlsec> を参照してください。 |
14339 | 13091 | |
14340 | 13092 | =item Use of uninitialized value%s |
14341 | 13093 | |
14342 | 13094 | =begin original |
14343 | 13095 | |
14344 | 13096 | (W uninitialized) An undefined value was used as if it were already |
14345 | 13097 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
14346 | 13098 | To suppress this warning assign a defined value to your variables. |
14347 | 13099 | |
14348 | 13100 | =end original |
14349 | 13101 | |
14350 | 13102 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
14351 | 13103 | 使用しました。 |
14352 | 13104 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
14353 | 13105 | この警告を止めるには、変数に定義された値を代入してください。 |
14354 | 13106 | |
14355 | 13107 | =begin original |
14356 | 13108 | |
14357 | 13109 | To help you figure out what was undefined, perl will try to tell you |
14358 | 13110 | the name of the variable (if any) that was undefined. In some cases |
14359 | 13111 | it cannot do this, so it also tells you what operation you used the |
14360 | 13112 | undefined value in. Note, however, that perl optimizes your program |
14361 | 13113 | anid the operation displayed in the warning may not necessarily appear |
14362 | 13114 | literally in your program. For example, C<"that $foo"> is usually |
14363 | 13115 | optimized into C<"that " . $foo>, and the warning will refer to the |
14364 | 13116 | C<concatenation (.)> operator, even though there is no C<.> in |
14365 | 13117 | your program. |
14366 | 13118 | |
14367 | 13119 | =end original |
14368 | 13120 | |
14369 | 13121 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である |
14370 | 13122 | 変数名を示します。 |
14371 | 13123 | それができないような場合では、未定義値を使った操作を示します。 |
14372 | 13124 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に |
14373 | 13125 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 |
14374 | 13126 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 |
14375 | 13127 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が |
14376 | 13128 | 出ます。 |
14377 | 13129 | |
14378 | 13130 | =item Using a hash as a reference is deprecated |
14379 | 13131 | |
14380 | 13132 | =begin original |
14381 | 13133 | |
14382 | 13134 | (D deprecated) You tried to use a hash as a reference, as in |
14383 | 13135 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl <= 5.6.1 |
14384 | 13136 | used to allow this syntax, but shouldn't have. It is now |
14385 | 13137 | deprecated, and will be removed in a future version. |
14386 | 13138 | |
14387 | 13139 | =end original |
14388 | 13140 | |
14389 | 13141 | (D deprecated) C<< %foo->{"bar"} >> や C<< %$ref->{"hello"} >> の形で、 |
14390 | 13142 | ハッシュをリファレンスとして使おうとしました。 |
14391 | 13143 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 |
14392 | 13144 | そうするべきではありません。 |
14393 | 13145 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 |
14394 | 13146 | |
14395 | 13147 | =item Using an array as a reference is deprecated |
14396 | 13148 | |
14397 | 13149 | =begin original |
14398 | 13150 | |
14399 | 13151 | (D deprecated) You tried to use an array as a reference, as in |
14400 | 13152 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to |
14401 | 13153 | allow this syntax, but shouldn't have. It is now deprecated, |
14402 | 13154 | and will be removed in a future version. |
14403 | 13155 | |
14404 | 13156 | =end original |
14405 | 13157 | |
14406 | 13158 | (D deprecated) C<< @foo->[23] >> や C<< @$ref->[99] >> の形で、 |
14407 | 13159 | 配列をリファレンスとして使おうとしました。 |
14408 | 13160 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 |
14409 | 13161 | そうするべきではありません。 |
14410 | 13162 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 |
14411 | 13163 | |
14412 | =item Using just the first character returned by \N{} in character class | |
13164 | =item Using just the first character returned by \N{} in character class | |
14413 | regex; marked by <-- HERE in m/%s/ | |
14414 | 13165 | |
14415 | 13166 | =begin original |
14416 | 13167 | |
14417 | (W | |
13168 | (W) A charnames handler may return a sequence of more than one character. | |
14418 | ||
13169 | Currently all but the first one are discarded when used in a regular | |
14419 | ||
13170 | expression pattern bracketed character class. | |
14420 | 13171 | |
14421 | 13172 | =end original |
14422 | 13173 | |
14423 | 13174 | (W) charnames ハンドラが複数の文字の並びを返すことがあります。 |
14424 | 13175 | 正規表現パターン大かっこ文字クラスで使われるときには、現在のところ |
14425 | 13176 | 最初のもの以外は捨てられます。 |
14426 | 13177 | |
14427 | 13178 | =item Using !~ with %s doesn't make sense |
14428 | 13179 | |
14429 | 13180 | =begin original |
14430 | 13181 | |
14431 | 13182 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is |
14432 | 13183 | currently reserved for future use, as the exact behaviour has not |
14433 | 13184 | been decided. (Simply returning the boolean opposite of the |
14434 | 13185 | modified string is usually not particularly useful.) |
14435 | 13186 | |
14436 | 13187 | =end original |
14437 | 13188 | |
14438 | 13189 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが |
14439 | 13190 | まだ決定されていないので、将来の使用のために予約されています。 |
14440 | 13191 | (単に修正された文字列の真偽値としての逆を返すのは普通特に |
14441 | 13192 | 有用ではありません。) |
14442 | 13193 | |
14443 | 13194 | =item UTF-16 surrogate U+%X |
14444 | 13195 | |
14445 | 13196 | =begin original |
14446 | 13197 | |
14447 | ( | |
13198 | (W utf8, surrogate) You had a UTF-16 surrogate in a context where they are | |
14448 | 13199 | not considered acceptable. These code points, between U+D800 and |
14449 | 13200 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
14450 | 13201 | internally allows all unsigned integer code points (up to the size limit |
14451 | 13202 | available on your platform), including surrogates. But these can cause |
14452 | 13203 | problems when being input or output, which is likely where this message |
14453 | 13204 | came from. If you really really know what you are doing you can turn |
14454 | 13205 | off this warning by C<no warnings 'surrogate';>. |
14455 | 13206 | |
14456 | 13207 | =end original |
14457 | 13208 | |
14458 | ( | |
13209 | (W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
14459 | 13210 | 使いました。 |
14460 | 13211 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
14461 | 13212 | Unicode によって使われます。 |
14462 | 13213 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
14463 | 13214 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
14464 | 13215 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
14465 | 13216 | おそらくこのメッセージが出た場所です。 |
14466 | 13217 | 自分で何をしているのかが本当に本当に分かっているなら、 |
14467 | 13218 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
14468 | 13219 | |
14469 | 13220 | =item Value of %s can be "0"; test with defined() |
14470 | 13221 | |
14471 | 13222 | =begin original |
14472 | 13223 | |
14473 | 13224 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
14474 | 13225 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
14475 | 13226 | can return a value of "0"; that would make the conditional expression |
14476 | 13227 | false, which is probably not what you intended. When using these |
14477 | 13228 | constructs in conditional expressions, test their values with the |
14478 | 13229 | C<defined> operator. |
14479 | 13230 | |
14480 | 13231 | =end original |
14481 | 13232 | |
14482 | 13233 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
14483 | 13234 | 真偽値として使いました。 |
14484 | 13235 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
14485 | 13236 | これはおそらく望んでいることではないでしょう。 |
14486 | 13237 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
14487 | 13238 | テストしてください。 |
14488 | 13239 | |
14489 | 13240 | =item Value of CLI symbol "%s" too long |
14490 | 13241 | |
14491 | 13242 | =begin original |
14492 | 13243 | |
14493 | 13244 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
14494 | 13245 | %ENV element from a CLI symbol table, and found a resultant string |
14495 | 13246 | longer than 1024 characters. The return value has been truncated to |
14496 | 13247 | 1024 characters. |
14497 | 13248 | |
14498 | 13249 | =end original |
14499 | 13250 | |
14500 | 13251 | (W misc) VMS に固有の警告です。 |
14501 | 13252 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
14502 | 13253 | 結果の文字列が 1024 文字を越えました。 |
14503 | 13254 | 返り値は 1024 文字に切り詰められます。 |
14504 | 13255 | |
14505 | 13256 | =item Variable "%s" is not available |
14506 | 13257 | |
14507 | 13258 | =begin original |
14508 | 13259 | |
14509 | 13260 | (W closure) During compilation, an inner named subroutine or eval is |
14510 | 13261 | attempting to capture an outer lexical that is not currently available. |
14511 | 13262 | This can happen for one of two reasons. First, the outer lexical may be |
14512 | 13263 | declared in an outer anonymous subroutine that has not yet been created. |
14513 | 13264 | (Remember that named subs are created at compile time, while anonymous |
14514 | 13265 | subs are created at run-time.) For example, |
14515 | 13266 | |
14516 | 13267 | =end original |
14517 | 13268 | |
14518 | 13269 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が |
14519 | 13270 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 |
14520 | 13271 | これは二つの理由の 一つで起こります。 |
14521 | 13272 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで |
14522 | 13273 | 定義されている場合です。 |
14523 | 13274 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは |
14524 | 13275 | 実行時に作成されることを思い出してください。) |
14525 | 13276 | 例えば、 |
14526 | 13277 | |
14527 | 13278 | sub { my $a; sub f { $a } } |
14528 | 13279 | |
14529 | 13280 | =begin original |
14530 | 13281 | |
14531 | 13282 | At the time that f is created, it can't capture the current value of $a, |
14532 | 13283 | since the anonymous subroutine hasn't been created yet. Conversely, |
14533 | 13284 | the following won't give a warning since the anonymous subroutine has by |
14534 | 13285 | now been created and is live: |
14535 | 13286 | |
14536 | 13287 | =end original |
14537 | 13288 | |
14538 | 13289 | f が作成された時点で、$a の現在の値を捕捉できません; |
14539 | 13290 | なぜなら無名サブルーチンはまだ作成されていないからです。 |
14540 | 13291 | 逆に、以下のものは、無名サブルーチンがすでに作成されていて有効なので、 |
14541 | 13292 | 警告は出ません: |
14542 | 13293 | |
14543 | 13294 | sub { my $a; eval 'sub f { $a }' }->(); |
14544 | 13295 | |
14545 | 13296 | =begin original |
14546 | 13297 | |
14547 | 13298 | The second situation is caused by an eval accessing a variable that has |
14548 | 13299 | gone out of scope, for example, |
14549 | 13300 | |
14550 | 13301 | =end original |
14551 | 13302 | |
14552 | 13303 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; |
14553 | 13304 | 例えば: |
14554 | 13305 | |
14555 | 13306 | sub f { |
14556 | 13307 | my $a; |
14557 | 13308 | sub { eval '$a' } |
14558 | 13309 | } |
14559 | 13310 | f()->(); |
14560 | 13311 | |
14561 | 13312 | =begin original |
14562 | 13313 | |
14563 | 13314 | Here, when the '$a' in the eval is being compiled, f() is not currently being |
14564 | 13315 | executed, so its $a is not available for capture. |
14565 | 13316 | |
14566 | 13317 | =end original |
14567 | 13318 | |
14568 | 13319 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ |
14569 | 13320 | 実行されていないので、この $a は捕捉出来ません。 |
14570 | 13321 | |
14571 | 13322 | =item Variable "%s" is not imported%s |
14572 | 13323 | |
14573 | 13324 | =begin original |
14574 | 13325 | |
14575 | ( | |
13326 | (W misc) With "use strict" in effect, you referred to a global variable | |
14576 | 13327 | that you apparently thought was imported from another module, because |
14577 | 13328 | something else of the same name (usually a subroutine) is exported by |
14578 | 13329 | that module. It usually means you put the wrong funny character on the |
14579 | 13330 | front of your variable. |
14580 | 13331 | |
14581 | 13332 | =end original |
14582 | 13333 | |
14583 | ( | |
13334 | (W misc) "use strict" が有効のときに、見たところ他のモジュールから | |
14584 | 13335 | インポートされたとあなたが考えたグローバル変数を参照しました; |
14585 | 13336 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
14586 | 13337 | エクスポートされています。 |
14587 | 13338 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
14588 | 13339 | |
14589 | =item Variable length lookbehind not implemented in | |
13340 | =item Variable length lookbehind not implemented in m/%s/ | |
14590 | 13341 | |
14591 | 13342 | =begin original |
14592 | 13343 | |
14593 | 13344 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and |
14594 | 13345 | known at compile time. See L<perlre>. |
14595 | 13346 | |
14596 | 13347 | =end original |
14597 | 13348 | |
14598 | 13349 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 |
14599 | 13350 | L<perlre> を参照してください。 |
14600 | 13351 | |
14601 | 13352 | =item "%s" variable %s masks earlier declaration in same %s |
14602 | 13353 | |
14603 | 13354 | =begin original |
14604 | 13355 | |
14605 | 13356 | (W misc) A "my", "our" or "state" variable has been redeclared in the |
14606 | 13357 | current scope or statement, effectively eliminating all access to the |
14607 | 13358 | previous instance. This is almost always a typographical error. Note |
14608 | 13359 | that the earlier variable will still exist until the end of the scope |
14609 | or until all closure referen | |
13360 | or until all closure referents to it are destroyed. | |
14610 | 13361 | |
14611 | 13362 | =end original |
14612 | 13363 | |
14613 | 13364 | (W misc) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 |
14614 | 13365 | 以前の実体への全てのアクセスができなくなりました。 |
14615 | 13366 | これはほとんどの場合タイプミスです。 |
14616 | 13367 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが |
14617 | 13368 | 破壊されるまでは存在し続けることに注意してください。 |
14618 | 13369 | |
14619 | 13370 | =item Variable syntax |
14620 | 13371 | |
14621 | 13372 | =begin original |
14622 | 13373 | |
14623 | 13374 | (A) You've accidentally run your script through B<csh> instead |
14624 | 13375 | of Perl. Check the #! line, or manually feed your script into |
14625 | 13376 | Perl yourself. |
14626 | 13377 | |
14627 | 13378 | =end original |
14628 | 13379 | |
14629 | 13380 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
14630 | 13381 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
14631 | 13382 | |
14632 | 13383 | =item Variable "%s" will not stay shared |
14633 | 13384 | |
14634 | 13385 | =begin original |
14635 | 13386 | |
14636 | 13387 | (W closure) An inner (nested) I<named> subroutine is referencing a |
14637 | 13388 | lexical variable defined in an outer named subroutine. |
14638 | 13389 | |
14639 | 13390 | =end original |
14640 | 13391 | |
14641 | 13392 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
14642 | 13393 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 |
14643 | 13394 | |
14644 | 13395 | =begin original |
14645 | 13396 | |
14646 | 13397 | When the inner subroutine is called, it will see the value of |
14647 | 13398 | the outer subroutine's variable as it was before and during the *first* |
14648 | 13399 | call to the outer subroutine; in this case, after the first call to the |
14649 | 13400 | outer subroutine is complete, the inner and outer subroutines will no |
14650 | 13401 | longer share a common value for the variable. In other words, the |
14651 | 13402 | variable will no longer be shared. |
14652 | 13403 | |
14653 | 13404 | =end original |
14654 | 13405 | |
14655 | 13406 | 内側のサブルーチンが呼び出された時、外側のサブルーチンの値は、最初の外側の |
14656 | 13407 | サブルーチンへの呼び出し前および呼び出し中のものになります; |
14657 | 13408 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と |
14658 | 13409 | 外側のサブルーチンは変数に関して同じ値を共有しなくなります。 |
14659 | 13410 | 言い換えると、変数はもはや共有されません。 |
14660 | 13411 | |
14661 | 13412 | =begin original |
14662 | 13413 | |
14663 | 13414 | This problem can usually be solved by making the inner subroutine |
14664 | 13415 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
14665 | 13416 | reference variables in outer subroutines are created, they |
14666 | 13417 | are automatically rebound to the current values of such variables. |
14667 | 13418 | |
14668 | 13419 | =end original |
14669 | 13420 | |
14670 | 13421 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
14671 | 13422 | 解決します。 |
14672 | 13423 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
14673 | 13424 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 |
14674 | 13425 | |
14675 | 13426 | =item vector argument not supported with alpha versions |
14676 | 13427 | |
14677 | 13428 | =begin original |
14678 | 13429 | |
14679 | ( | |
13430 | (W internal) The %vd (s)printf format does not support version objects | |
14680 | 13431 | with alpha parts. |
14681 | 13432 | |
14682 | 13433 | =end original |
14683 | 13434 | |
14684 | ( | |
13435 | (W internal) %vd (s)printf フォーマットはアルファ部分のある | |
14685 | 13436 | バージョンオブジェクトに対応していません。 |
14686 | 13437 | |
14687 | =item Verb pattern '%s' has a mandatory argument in regex; marked by <-- HERE | |
13438 | =item Verb pattern '%s' has a mandatory argument in regex; marked by <-- HERE in m/%s/ | |
14688 | in m/%s/ | |
14689 | 13439 | |
14690 | 13440 | =begin original |
14691 | 13441 | |
14692 | 13442 | (F) You used a verb pattern that requires an argument. Supply an |
14693 | 13443 | argument or check that you are using the right verb. |
14694 | 13444 | |
14695 | 13445 | =end original |
14696 | 13446 | |
14697 | 13447 | (F) 引き数が必要な動詞パターンを使いました。 |
14698 | 13448 | 引き数を追加するか、正しい動詞を使ってください。 |
14699 | 13449 | |
14700 | =item Verb pattern '%s' may not have an argument in regex; marked by <-- HERE | |
13450 | =item Verb pattern '%s' may not have an argument in regex; marked by <-- HERE in m/%s/ | |
14701 | in m/%s/ | |
14702 | 13451 | |
14703 | 13452 | =begin original |
14704 | 13453 | |
14705 | 13454 | (F) You used a verb pattern that is not allowed an argument. Remove the |
14706 | 13455 | argument or check that you are using the right verb. |
14707 | 13456 | |
14708 | 13457 | =end original |
14709 | 13458 | |
14710 | 13459 | (F) 引き数が認められていない動詞パターンを使いました。 |
14711 | 13460 | 引き数を削除するか、正しい動詞を使ってください。 |
14712 | 13461 | |
14713 | 13462 | =item Version number must be a constant number |
14714 | 13463 | |
14715 | 13464 | =begin original |
14716 | 13465 | |
14717 | 13466 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
14718 | 13467 | its equivalent C<BEGIN> block found an internal inconsistency with |
14719 | 13468 | the version number. |
14720 | 13469 | |
14721 | 13470 | =end original |
14722 | 13471 | |
14723 | 13472 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
14724 | 13473 | したときに、バージョン番号について内部の不整合を発見しました。 |
14725 | 13474 | |
14726 | 13475 | =item Version string '%s' contains invalid data; ignoring: '%s' |
14727 | 13476 | |
14728 | 13477 | =begin original |
14729 | 13478 | |
14730 | 13479 | (W misc) The version string contains invalid characters at the end, which |
14731 | 13480 | are being ignored. |
14732 | 13481 | |
14733 | 13482 | =end original |
14734 | 13483 | |
14735 | 13484 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は |
14736 | 13485 | 無視されます。 |
14737 | 13486 | |
14738 | 13487 | =item Warning: something's wrong |
14739 | 13488 | |
14740 | 13489 | =begin original |
14741 | 13490 | |
14742 | 13491 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
14743 | 13492 | you called it with no args and C<$@> was empty. |
14744 | 13493 | |
14745 | 13494 | =end original |
14746 | 13495 | |
14747 | 13496 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
14748 | 13497 | 引数なしで呼び出され、C<$@> も空でした。 |
14749 | 13498 | |
14750 | 13499 | =item Warning: unable to close filehandle %s properly |
14751 | 13500 | |
14752 | 13501 | =begin original |
14753 | 13502 | |
14754 | 13503 | (S) The implicit close() done by an open() got an error indication on |
14755 | 13504 | the close(). This usually indicates your file system ran out of disk |
14756 | 13505 | space. |
14757 | 13506 | |
14758 | 13507 | =end original |
14759 | 13508 | |
14760 | 13509 | (S) open() によって暗黙のうちに行なわれる close() が、 |
14761 | 13510 | close() のエラーとなりました。 |
14762 | 13511 | 通常、ファイルシステムがいっぱいであることを示します。 |
14763 | 13512 | |
14764 | 13513 | =item Warning: Use of "%s" without parentheses is ambiguous |
14765 | 13514 | |
14766 | 13515 | =begin original |
14767 | 13516 | |
14768 | 13517 | (S ambiguous) You wrote a unary operator followed by something that |
14769 | 13518 | looks like a binary operator that could also have been interpreted as a |
14770 | 13519 | term or unary operator. For instance, if you know that the rand |
14771 | 13520 | function has a default argument of 1.0, and you write |
14772 | 13521 | |
14773 | 13522 | =end original |
14774 | 13523 | |
14775 | 13524 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
14776 | 13525 | 二項演算子のようなものが置かれました。 |
14777 | 13526 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
14778 | 13527 | いれば、以下のように書いて: |
14779 | 13528 | |
14780 | 13529 | rand + 5; |
14781 | 13530 | |
14782 | 13531 | =begin original |
14783 | 13532 | |
14784 | 13533 | you may THINK you wrote the same thing as |
14785 | 13534 | |
14786 | 13535 | =end original |
14787 | 13536 | |
14788 | 13537 | 以下の同じことと思うかもしれませんが: |
14789 | 13538 | |
14790 | 13539 | rand() + 5; |
14791 | 13540 | |
14792 | 13541 | =begin original |
14793 | 13542 | |
14794 | 13543 | but in actual fact, you got |
14795 | 13544 | |
14796 | 13545 | =end original |
14797 | 13546 | |
14798 | 13547 | 実際には以下のようになります: |
14799 | 13548 | |
14800 | 13549 | rand(+5); |
14801 | 13550 | |
14802 | 13551 | =begin original |
14803 | 13552 | |
14804 | 13553 | So put in parentheses to say what you really mean. |
14805 | 13554 | |
14806 | 13555 | =end original |
14807 | 13556 | |
14808 | 13557 | したがって、思うように解釈させるには、かっこが必要になります。 |
14809 | 13558 | |
14810 | =item when is experimental | |
14811 | ||
14812 | =begin original | |
14813 | ||
14814 | (S experimental::smartmatch) C<when> depends on smartmatch, which is | |
14815 | experimental. Additionally, it has several special cases that may | |
14816 | not be immediately obvious, and their behavior may change or | |
14817 | even be removed in any future release of perl. | |
14818 | See the explanation under L<perlsyn/Experimental Details on given and when>. | |
14819 | ||
14820 | =end original | |
14821 | ||
14822 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに | |
14823 | 依存しています。 | |
14824 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その | |
14825 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
14826 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
14827 | ||
14828 | 13559 | =item Wide character in %s |
14829 | 13560 | |
14830 | 13561 | =begin original |
14831 | 13562 | |
14832 | 13563 | (S utf8) Perl met a wide character (>255) when it wasn't expecting |
14833 | 13564 | one. This warning is by default on for I/O (like print). The easiest |
14834 | 13565 | way to quiet this warning is simply to add the C<:utf8> layer to the |
14835 | 13566 | output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the |
14836 | 13567 | warning is to add C<no warnings 'utf8';> but that is often closer to |
14837 | 13568 | cheating. In general, you are supposed to explicitly mark the |
14838 | 13569 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. |
14839 | 13570 | |
14840 | 13571 | =end original |
14841 | 13572 | |
14842 | 13573 | (S utf8) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 |
14843 | 13574 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 |
14844 | 13575 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように |
14845 | 13576 | 出力に単に C<:utf8> 層を追加することです。 |
14846 | 13577 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは |
14847 | 13578 | しばしばいかさまに近い方法です。 |
14848 | 13579 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに |
14849 | 13580 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 |
14850 | 13581 | |
14851 | 13582 | =item Within []-length '%c' not allowed |
14852 | 13583 | |
14853 | 13584 | =begin original |
14854 | 13585 | |
14855 | 13586 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> |
14856 | 13587 | only if C<TEMPLATE> always matches the same amount of packed bytes that |
14857 | 13588 | can be determined from the template alone. This is not possible if |
14858 | 13589 | it contains any of the codes @, /, U, u, w or a *-length. Redesign |
14859 | 13590 | the template. |
14860 | 13591 | |
14861 | 13592 | =end original |
14862 | 13593 | |
14863 | 13594 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に |
14864 | 13595 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する |
14865 | 13596 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 |
14866 | 13597 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 |
14867 | 13598 | テンプレートを再設計してください。 |
14868 | 13599 | |
14869 | 13600 | =item write() on closed filehandle %s |
14870 | 13601 | |
14871 | 13602 | =begin original |
14872 | 13603 | |
14873 | 13604 | (W closed) The filehandle you're writing to got itself closed sometime |
14874 | 13605 | before now. Check your control flow. |
14875 | 13606 | |
14876 | 13607 | =end original |
14877 | 13608 | |
14878 | 13609 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
14879 | 13610 | 制御フローをチェックしてください。 |
14880 | 13611 | |
14881 | 13612 | =item %s "\x%X" does not map to Unicode |
14882 | 13613 | |
14883 | 13614 | =begin original |
14884 | 13615 | |
14885 | (F) When reading in different encodings | |
13616 | (F) When reading in different encodings Perl tries to map everything | |
14886 | 13617 | into Unicode characters. The bytes you read in are not legal in |
14887 | this encoding | |
13618 | this encoding, for example | |
14888 | 13619 | |
14889 | 13620 | =end original |
14890 | 13621 | |
14891 | 13622 | (F) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に |
14892 | 13623 | マッピングしようとします。 |
14893 | 読み込んだバイトはこのエンコーディングでは不正でした | |
13624 | 読み込んだバイトはこのエンコーディングでは不正でした; 例えば: | |
14894 | 例えば: | |
14895 | 13625 | |
14896 | 13626 | utf8 "\xE4" does not map to Unicode |
14897 | 13627 | |
14898 | 13628 | =begin original |
14899 | 13629 | |
14900 | 13630 | if you try to read in the a-diaereses Latin-1 as UTF-8. |
14901 | 13631 | |
14902 | 13632 | =end original |
14903 | 13633 | |
14904 | 13634 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 |
14905 | 13635 | |
14906 | 13636 | =item 'X' outside of string |
14907 | 13637 | |
14908 | 13638 | =begin original |
14909 | 13639 | |
14910 | 13640 | (F) You had a (un)pack template that specified a relative position before |
14911 | 13641 | the beginning of the string being (un)packed. See L<perlfunc/pack>. |
14912 | 13642 | |
14913 | 13643 | =end original |
14914 | 13644 | |
14915 | 13645 | (F) (un)pack している文字列の最後より後の相対位置を示している |
14916 | 13646 | (un)pack テンプレートを指定しました。 |
14917 | 13647 | L<perlfunc/pack> を参照してください。 |
14918 | 13648 | |
14919 | 13649 | =item 'x' outside of string in unpack |
14920 | 13650 | |
14921 | 13651 | =begin original |
14922 | 13652 | |
14923 | 13653 | (F) You had a pack template that specified a relative position after |
14924 | 13654 | the end of the string being unpacked. See L<perlfunc/pack>. |
14925 | 13655 | |
14926 | 13656 | =end original |
14927 | 13657 | |
14928 | 13658 | (F) unpack している文字列の最後より後の相対位置を示している |
14929 | 13659 | pack テンプレートを指定しました。 |
14930 | 13660 | L<perlfunc/pack> を参照してください。 |
14931 | 13661 | |
14932 | 13662 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
14933 | 13663 | |
14934 | 13664 | =begin original |
14935 | 13665 | |
14936 | 13666 | (F) And you probably never will, because you probably don't have the |
14937 | 13667 | sources to your kernel, and your vendor probably doesn't give a rip |
14938 | 13668 | about what you want. Your best bet is to put a setuid C wrapper around |
14939 | 13669 | your script. |
14940 | 13670 | |
14941 | 13671 | =end original |
14942 | 13672 | |
14943 | 13673 | (F) そして、そうすることはできないでしょう; カーネルのソースは |
14944 | 13674 | お持ちではないでしょうし、ベンダも欲しいものを提供しては |
14945 | 13675 | くれないでしょうから。 |
14946 | 13676 | もっとも良いのは、スクリプトに setuid C ラッパーを被せることです。 |
14947 | 13677 | |
14948 | 13678 | =item You need to quote "%s" |
14949 | 13679 | |
14950 | 13680 | =begin original |
14951 | 13681 | |
14952 | 13682 | (W syntax) You assigned a bareword as a signal handler name. |
14953 | 13683 | Unfortunately, you already have a subroutine of that name declared, |
14954 | 13684 | which means that Perl 5 will try to call the subroutine when the |
14955 | 13685 | assignment is executed, which is probably not what you want. (If it IS |
14956 | 13686 | what you want, put an & in front.) |
14957 | 13687 | |
14958 | 13688 | =end original |
14959 | 13689 | |
14960 | 13690 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
14961 | 13691 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 |
14962 | 13692 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 |
14963 | 13693 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) |
14964 | 13694 | |
14965 | 13695 | =item Your random numbers are not that random |
14966 | 13696 | |
14967 | 13697 | =begin original |
14968 | 13698 | |
14969 | 13699 | (F) When trying to initialise the random seed for hashes, Perl could |
14970 | 13700 | not get any randomness out of your system. This usually indicates |
14971 | 13701 | Something Very Wrong. |
14972 | 13702 | |
14973 | 13703 | =end original |
14974 | 13704 | |
14975 | 13705 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから |
14976 | 13706 | 何の乱数性も得られませんでした。 |
14977 | 13707 | これは普通「何かとても具合が悪い」ことを示しています。 |
14978 | 13708 | |
14979 | 13709 | =back |
14980 | 13710 | |
14981 | 13711 | =head1 SEE ALSO |
14982 | 13712 | |
14983 | 13713 | L<warnings>, L<perllexwarn>, L<diagnostics>. |
14984 | 13714 | |
14985 | 13715 | =cut |
14986 | 13716 | |
14987 | 13717 | =begin meta |
14988 | 13718 | |
14989 | 13719 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) |
14990 | 13720 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) |
14991 | Status: | |
13721 | Status: completed | |
14992 | 13722 | |
14993 | 13723 | =end meta |