perldiag >
5.14.1
との差分
perldiag 5.14.1 と 5.40.0 の差分
1 | 1 | |
2 | =encoding | |
2 | =encoding utf8 | |
3 | 3 | |
4 | 4 | =head1 NAME |
5 | 5 | |
6 | 6 | =begin original |
7 | 7 | |
8 | 8 | perldiag - various Perl diagnostics |
9 | 9 | |
10 | 10 | =end original |
11 | 11 | |
12 | 12 | perldiag - さまざまな Perl 診断メッセージ |
13 | 13 | |
14 | 14 | =head1 DESCRIPTION |
15 | 15 | |
16 | 16 | =begin original |
17 | 17 | |
18 | 18 | These messages are classified as follows (listed in increasing order of |
19 | 19 | desperation): |
20 | 20 | |
21 | 21 | =end original |
22 | 22 | |
23 | 23 | これらのメッセージは以下のように分類されます (重要度が増す順に |
24 | 24 | 並べてあります): |
25 | 25 | |
26 | 26 | =begin original |
27 | 27 | |
28 | 28 | (W) A warning (optional). |
29 | 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. E.g. C<(W closed)> means a warning in the C<closed> category. | |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | 64 | メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の |
65 | 65 | 説明で分類文字と共に記されています。 |
66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
66 | 67 | |
67 | 68 | =begin original |
68 | 69 | |
69 | 70 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
71 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
71 | 72 | to a reference to a routine that will be called on each warning instead |
72 | 73 | of printing it. See L<perlvar>. |
73 | 74 | |
74 | 75 | =end original |
75 | 76 | |
76 | 77 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
77 | 78 | 有効になります。 |
78 | 79 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
79 | 80 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
80 | 81 | L<perlvar> を参照してください。 |
81 | 82 | |
82 | 83 | =begin original |
83 | 84 | |
84 | 85 | Severe warnings are always enabled, unless they are explicitly disabled |
85 | 86 | with the C<warnings> pragma or the B<-X> switch. |
86 | 87 | |
87 | 88 | =end original |
88 | 89 | |
89 | 90 | C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、 |
90 | 91 | 厳しい警告は常に有効です。 |
91 | 92 | |
92 | 93 | =begin original |
93 | 94 | |
94 | 95 | Trappable errors may be trapped using the eval operator. See |
95 | 96 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
96 | 97 | disabled or promoted to fatal errors using the C<warnings> pragma. |
97 | 98 | See L<warnings>. |
98 | 99 | |
99 | 100 | =end original |
100 | 101 | |
101 | 102 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
102 | 103 | L<perlfunc/eval> を参照してください。 |
103 | 104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に |
104 | 105 | 無効にしたり致命的エラーに昇格させたりできます。 |
105 | 106 | L<warnings> を参照してください。 |
106 | 107 | |
107 | 108 | =begin original |
108 | 109 | |
109 | 110 | The messages are in alphabetical order, without regard to upper or |
110 | 111 | lower-case. Some of these messages are generic. Spots that vary are |
111 | 112 | denoted with a %s or other printf-style escape. These escapes are |
112 | 113 | ignored by the alphabetical order, as are all characters other than |
113 | 114 | letters. To look up your message, just ignore anything that is not a |
114 | 115 | letter. |
115 | 116 | |
116 | 117 | =end original |
117 | 118 | |
118 | 119 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
119 | 120 | これらの中には一般的なものもあります。 |
120 | 121 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
121 | 122 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
122 | 123 | 無視されています。 |
123 | 124 | メッセージを探すには、英文字以外は無視してください。 |
124 | 125 | |
125 | 126 | =over 4 |
126 | 127 | |
127 | 128 | =item accept() on closed socket %s |
128 | 129 | |
129 | 130 | =begin original |
130 | 131 | |
131 | 132 | (W closed) You tried to do an accept on a closed socket. Did you forget |
132 | 133 | to check the return value of your socket() call? See |
133 | 134 | L<perlfunc/accept>. |
134 | 135 | |
135 | 136 | =end original |
136 | 137 | |
137 | 138 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
138 | 139 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
139 | 140 | L<perlfunc/accept> を参照してください。 |
140 | 141 | |
141 | =item A | |
142 | =item ADJUST is experimental | |
142 | 143 | |
143 | 144 | =begin original |
144 | 145 | |
145 | ( | |
146 | (S experimental::class) This warning is emitted if you use the C<ADJUST> | |
147 | keyword of C<use feature 'class'>. This keyword is currently | |
148 | experimental and its behaviour may change in future releases of Perl. | |
146 | 149 | |
147 | 150 | =end original |
148 | 151 | |
149 | ( | |
152 | (S experimental::class) この警告は、C<use feature 'class'> の | |
153 | C<ADJUST> キーワードを使うと発生します。 | |
154 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
155 | 可能性があります。 | |
150 | 156 | |
151 | =item | |
157 | =item Aliasing via reference is experimental | |
152 | 158 | |
153 | 159 | =begin original |
154 | 160 | |
161 | (S experimental::refaliasing) This warning is emitted if you use | |
162 | a reference constructor on the left-hand side of an assignment to | |
163 | alias one variable to another. Simply suppress the warning if you | |
164 | want to use the feature, but know that in doing so you are taking | |
165 | the risk of using an experimental feature which may change or be | |
166 | removed in a future Perl version: | |
167 | ||
168 | =end original | |
169 | ||
170 | (S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の | |
171 | 左側でリファレンスコンストラクタを使うと出力されます。 | |
172 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
173 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
174 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
175 | 取っていると言うことを知っておいてください: | |
176 | ||
177 | no warnings "experimental::refaliasing"; | |
178 | use feature "refaliasing"; | |
179 | \$x = \$y; | |
180 | ||
181 | =item '%c' allowed only after types %s in %s | |
182 | ||
183 | =begin original | |
184 | ||
155 | 185 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only |
156 | 186 | after certain types. See L<perlfunc/pack>. |
157 | 187 | |
158 | 188 | =end original |
159 | 189 | |
160 | 190 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの |
161 | 191 | 後にのみつけることができます。 |
162 | 192 | L<perlfunc/pack> を参照してください。 |
163 | 193 | |
194 | =item alpha->numify() is lossy | |
195 | ||
196 | =begin original | |
197 | ||
198 | (W numeric) An alpha version can not be numified without losing | |
199 | information. | |
200 | ||
201 | =end original | |
202 | ||
203 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
204 | ||
164 | 205 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
165 | 206 | |
166 | 207 | =begin original |
167 | 208 | |
168 | 209 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
169 | 210 | keyword, and you have used the name without qualification for calling |
170 | 211 | one or the other. Perl decided to call the builtin because the |
171 | 212 | subroutine is not imported. |
172 | 213 | |
173 | 214 | =end original |
174 | 215 | |
175 | 216 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
176 | 217 | どちらかを呼び出すために修飾なしで名前を使っています。 |
177 | 218 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを |
178 | 219 | 呼び出すことにしました。 |
179 | 220 | |
180 | 221 | =begin original |
181 | 222 | |
182 | 223 | To force interpretation as a subroutine call, either put an ampersand |
183 | 224 | before the subroutine name, or qualify the name with its package. |
184 | 225 | Alternatively, you can import the subroutine (or pretend that it's |
185 | 226 | imported with the C<use subs> pragma). |
186 | 227 | |
187 | 228 | =end original |
188 | 229 | |
189 | 230 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の |
190 | 231 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 |
191 | 232 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
192 | 233 | プラグマを使ってインポートされたふりをする)方法もあります。 |
193 | 234 | |
194 | 235 | =begin original |
195 | 236 | |
196 | 237 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
197 | 238 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine |
198 | 239 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
199 | 240 | L<attributes>). |
200 | 241 | |
201 | 242 | =end original |
202 | 243 | |
203 | 244 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
204 | 245 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
205 | 246 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
206 | 247 | 参照してください)として定義してください。 |
207 | 248 | |
208 | 249 | =item Ambiguous range in transliteration operator |
209 | 250 | |
210 | 251 | =begin original |
211 | 252 | |
212 | 253 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at |
213 | 254 | all. To include a C<-> character in a transliteration, put it either |
214 | 255 | first or last. (In the past, C<tr/a-z-0//> was synonymous with |
215 | 256 | C<tr/a-y//>, which was probably not what you would have expected.) |
216 | 257 | |
217 | 258 | =end original |
218 | 259 | |
219 | 260 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 |
220 | 261 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 |
221 | 262 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく |
222 | 263 | 予想していたものと違うでしょう。) |
223 | 264 | |
224 | 265 | =item Ambiguous use of %s resolved as %s |
225 | 266 | |
226 | 267 | =begin original |
227 | 268 | |
228 | ( | |
269 | (S ambiguous) You said something that may not be interpreted the way | |
229 | 270 | you thought. Normally it's pretty easy to disambiguate it by supplying |
230 | 271 | a missing quote, operator, parenthesis pair or declaration. |
231 | 272 | |
232 | 273 | =end original |
233 | 274 | |
234 | ( | |
275 | (S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。 | |
235 | ありました。 | |
236 | 276 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり |
237 | 277 | 簡単にあいまいさを解消できます。 |
238 | 278 | |
279 | =item Ambiguous use of -%s resolved as -&%s() | |
280 | ||
281 | =begin original | |
282 | ||
283 | (S ambiguous) You wrote something like C<-foo>, which might be the | |
284 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
285 | the string, just write C<"-foo">. If you meant the function call, | |
286 | write C<-foo()>. | |
287 | ||
288 | =end original | |
289 | ||
290 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
291 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
292 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
293 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
294 | ||
239 | 295 | =item Ambiguous use of %c resolved as operator %c |
240 | 296 | |
241 | 297 | =begin original |
242 | 298 | |
243 | ( | |
299 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
244 | 300 | bitwise and, and multiplication) I<and> initial special characters |
245 | 301 | (denoting hashes, subroutines and typeglobs), and you said something |
246 | 302 | like C<*foo * foo> that might be interpreted as either of them. We |
247 | 303 | assumed you meant the infix operator, but please try to make it more |
248 | 304 | clear -- in the example given, you might write C<*foo * foo()> if you |
249 | 305 | really meant to multiply a glob by the result of calling a function. |
250 | 306 | |
251 | 307 | =end original |
252 | 308 | |
253 | ( | |
309 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
254 | 310 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の |
255 | 両方に使われます | |
311 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが | |
256 | ||
312 | 書かれました。 | |
257 | 313 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように |
258 | 314 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の |
259 | 315 | 積を意味しているなら、C<*foo * foo()> と書けます。 |
260 | 316 | |
261 | 317 | =item Ambiguous use of %c{%s} resolved to %c%s |
262 | 318 | |
263 | 319 | =begin original |
264 | 320 | |
265 | 321 | (W ambiguous) You wrote something like C<@{foo}>, which might be |
266 | 322 | asking for the variable C<@foo>, or it might be calling a function |
267 | 323 | named foo, and dereferencing it as an array reference. If you wanted |
268 | the varable, you can just write C<@foo>. If you wanted to call the | |
324 | the variable, you can just write C<@foo>. If you wanted to call the | |
269 | 325 | function, write C<@{foo()}> ... or you could just not have a variable |
270 | 326 | and a function with the same name, and save yourself a lot of trouble. |
271 | 327 | |
272 | 328 | =end original |
273 | 329 | |
274 | 330 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと |
275 | 331 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 |
276 | 332 | リファレンスとしてデリファレンスするかもしれません。 |
277 | 333 | もし変数がほしいなら、単に C<@foo> と書いてください。 |
278 | 334 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に |
279 | 335 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を |
280 | 336 | 守れます。 |
281 | 337 | |
282 | 338 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] |
283 | 339 | |
284 | 340 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} |
285 | 341 | |
286 | 342 | =begin original |
287 | 343 | |
288 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo | |
344 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents | |
289 | ||
345 | the name of a Perl keyword), which might be looking for element number | |
290 | ||
346 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you | |
291 | ||
347 | might have meant to pass an anonymous arrayref to the function named | |
292 | ||
348 | foo, and then do a scalar deref on the value it returns. If you meant | |
293 | ||
349 | that, write C<${foo([2])}>. | |
294 | 350 | |
295 | 351 | =end original |
296 | 352 | |
297 | 353 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の |
298 | 354 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を |
299 | 355 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 |
300 | 356 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ |
301 | 357 | デリファレンスしているのかも知れません。 |
302 | 358 | それを意味しているなら、C<${foo([2])}> と書いてください。 |
303 | 359 | |
304 | 360 | =begin original |
305 | 361 | |
306 | 362 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary |
307 | 363 | to disambiguate between array subscripts and character classes. |
308 | C</$length[2345]/>, for instance, will be interpreted as C<$length> | |
364 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed | |
309 | ||
365 | by the character class C<[2345]>. If an array subscript is what you | |
310 | ||
366 | want, you can avoid the warning by changing C</${length[2345]}/> to the | |
311 | ||
367 | unsightly C</${\$length[2345]}/>, by renaming your array to something | |
312 | ||
368 | that does not coincide with a built-in keyword, or by simply turning | |
313 | ||
369 | off warnings with C<no warnings 'ambiguous';>. | |
314 | 370 | |
315 | 371 | =end original |
316 | 372 | |
317 | 373 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために |
318 | 374 | 必要になります。 |
319 | 375 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が |
320 | 376 | 引き続くと解釈されます。 |
321 | 377 | 配列添え字が求めているものなら、C</${length[2345]}/> を |
322 | 378 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと |
323 | 379 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として |
324 | 380 | 警告をオフにする、のいずれかで警告を回避できます。 |
325 | 381 | |
326 | =item Ambiguous use of -%s resolved as -&%s() | |
327 | ||
328 | =begin original | |
329 | ||
330 | (W ambiguous) You wrote something like C<-foo>, which might be the | |
331 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
332 | the string, just write C<"-foo">. If you meant the function call, | |
333 | write C<-foo()>. | |
334 | ||
335 | =end original | |
336 | ||
337 | (W ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
338 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
339 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
340 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
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.16, 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.14 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.16, 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, if you want | |
354 | the latter interpretation, you can simply write "el" instead. | |
355 | ||
356 | =end original | |
357 | ||
358 | (W deprecated, ambiguous) 置換を含むパターンの直後に "le" と書きました。 | |
359 | Perl 5.14 以前では、これは置換の結果を取り、これと式に引き続くものとの | |
360 | 間での文字列的な「以下」かどうかを調べます。 | |
361 | パターンの直後に引き続く "le" は廃止予定の振る舞いなので、Perl 5.16 では、 | |
362 | この式は現在のロケールの規則を使ってパターンマッチングを行い、置換を | |
363 | 行うときに右側を式として評価します。 | |
364 | 5.14 では、後者の解釈を望むなら、単に代わりに "el" と書いてください。 | |
365 | ||
366 | 382 | =item '|' and '<' may not both be specified on command line |
367 | 383 | |
368 | 384 | =begin original |
369 | 385 | |
370 | 386 | (F) An error peculiar to VMS. Perl does its own command line |
371 | 387 | redirection, and found that STDIN was a pipe, and that you also tried to |
372 | 388 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
373 | 389 | |
374 | 390 | =end original |
375 | 391 | |
376 | 392 | (F) VMS に固有のエラーです。 |
377 | 393 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
378 | 394 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
379 | 395 | しました。 |
380 | 396 | STDIN ストリームは一つだけにしてください; お願いします。 |
381 | 397 | |
382 | 398 | =item '|' and '>' may not both be specified on command line |
383 | 399 | |
384 | 400 | =begin original |
385 | 401 | |
386 | 402 | (F) An error peculiar to VMS. Perl does its own command line |
387 | 403 | redirection, and thinks you tried to redirect stdout both to a file and |
388 | 404 | into a pipe to another command. You need to choose one or the other, |
389 | 405 | though nothing's stopping you from piping into a program or Perl script |
390 | 406 | which 'splits' output into two streams, such as |
391 | 407 | |
392 | 408 | =end original |
393 | 409 | |
394 | 410 | (F) VMS に固有のエラーです。 |
395 | 411 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
396 | 412 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
397 | 413 | 判断しました。 |
398 | 414 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
399 | 415 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
400 | 416 | 何もありません。 |
401 | 417 | |
402 | 418 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
403 | 419 | while (<STDIN>) { |
404 | 420 | print; |
405 | 421 | print OUT; |
406 | 422 | } |
407 | 423 | close OUT; |
408 | 424 | |
409 | 425 | =item Applying %s to %s will act on scalar(%s) |
410 | 426 | |
411 | 427 | =begin original |
412 | 428 | |
413 | 429 | (W misc) The pattern match (C<//>), substitution (C<s///>), and |
414 | 430 | transliteration (C<tr///>) operators work on scalar values. If you apply |
415 | 431 | one of them to an array or a hash, it will convert the array or hash to |
416 | 432 | a scalar value (the length of an array, or the population info of a |
417 | 433 | hash) and then work on that scalar value. This is probably not what |
418 | 434 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
419 | 435 | alternatives. |
420 | 436 | |
421 | 437 | =end original |
422 | 438 | |
423 | 439 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 |
424 | 440 | (C<tr///>) 演算子はスカラ値に対して動作します。 |
425 | 441 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか |
426 | 442 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 |
427 | 443 | これはおそらくしたいこととは違うでしょう。 |
428 | 444 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
429 | 445 | |
430 | 446 | =item Arg too short for msgsnd |
431 | 447 | |
432 | 448 | =begin original |
433 | 449 | |
434 | 450 | (F) msgsnd() requires a string at least as long as sizeof(long). |
435 | 451 | |
436 | 452 | =end original |
437 | 453 | |
438 | 454 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 |
439 | 455 | |
440 | =item | |
456 | =item Argument "%s" isn't numeric%s | |
441 | 457 | |
442 | 458 | =begin original |
443 | 459 | |
444 | ( | |
460 | (W numeric) The indicated string was fed as an argument to an operator | |
445 | ||
461 | that expected a numeric value instead. If you're fortunate the message | |
462 | will identify which operator was so unfortunate. | |
446 | 463 | |
447 | 464 | =end original |
448 | 465 | |
449 | ( | |
466 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 | |
450 | ||
467 | 与えられました。 | |
468 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
469 | わかります。 | |
451 | 470 | |
452 | | |
471 | =begin original | |
453 | $ref->{"susie"}[12] | |
454 | &do_something | |
455 | 472 | |
456 | ||
473 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the | |
474 | definition of "numeric" is somewhat unusual: the strings themselves | |
475 | (like "Inf") are considered numeric, and anything following them is | |
476 | considered non-numeric. | |
457 | 477 | |
478 | =end original | |
479 | ||
480 | Note that for the | |
481 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し | |
482 | 変わっていることに注意してください: | |
483 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに | |
484 | 何かが引き続いている場合は非数値として扱われます。 | |
485 | ||
486 | =item Argument list not closed for PerlIO layer "%s" | |
487 | ||
458 | 488 | =begin original |
459 | 489 | |
460 | ( | |
490 | (W layer) When pushing a layer with arguments onto the Perl I/O | |
461 | such as | |
491 | system you forgot the ) that closes the argument list. (Layers | |
492 | take care of transforming data between external and internal | |
493 | representations.) Perl stopped parsing the layer list at this | |
494 | point and did not attempt to push this layer. If your program | |
495 | didn't explicitly request the failing operation, it may be the | |
496 | result of the value of the environment variable PERLIO. | |
462 | 497 | |
463 | 498 | =end original |
464 | 499 | |
465 | ( | |
500 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを | |
501 | 閉じる ) を忘れています。 | |
502 | (層はデータの外部表現と内部表現の変換を扱います。) | |
503 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
504 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
505 | 値が原因かもしれません。 | |
466 | 506 | |
467 | | |
507 | =item Argument "%s" treated as 0 in increment (++) | |
468 | $ref->{"susie"}[12] | |
469 | 508 | |
470 | 509 | =begin original |
471 | 510 | |
472 | ||
511 | (W numeric) The indicated string was fed as an argument to the C<++> | |
512 | operator which expects either a number or a string matching | |
513 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and | |
514 | Auto-decrement> for details. | |
473 | 515 | |
474 | 516 | =end original |
475 | 517 | |
476 | ||
518 | (W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を | |
519 | 想定しているC<++> 演算子に、示された文字列が指定されました。 | |
520 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 | |
477 | 521 | |
478 | | |
522 | =item Array passed to stat will be coerced to a scalar%s | |
479 | @{$ref->[12]}{"susie", "queue"} | |
480 | 523 | |
481 | = | |
524 | =begin original | |
482 | 525 | |
526 | (W syntax) You called stat() on an array, but the array will be | |
527 | coerced to a scalar - the number of elements in the array. | |
528 | ||
529 | =end original | |
530 | ||
531 | (W syntax) 配列に対して stat() が呼び出されましたが、配列は | |
532 | スカラ - 配列の要素数 - に強制されました。 | |
533 | ||
534 | =item A signature parameter must start with '$', '@' or '%' | |
535 | ||
483 | 536 | =begin original |
484 | 537 | |
485 | (F) | |
538 | (F) Each subroutine signature parameter declaration must start with a valid | |
486 | ||
539 | sigil; for example: | |
487 | error. | |
488 | 540 | |
489 | 541 | =end original |
490 | 542 | |
491 | (F) | |
543 | (F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で | |
492 | ||
544 | 始まらなければなりません; 例えば: | |
493 | C<exists &sub()> とするとこのエラーが生成されます。 | |
494 | 545 | |
495 | ||
546 | sub foo ($x, $, $y = 1, @z) {} | |
496 | 547 | |
548 | =item A slurpy parameter may not have a default value | |
549 | ||
497 | 550 | =begin original |
498 | 551 | |
499 | ( | |
552 | (F) Only scalar subroutine signature parameters may have a default value; | |
500 | ||
553 | for example: | |
501 | will identify which operator was so unfortunate. | |
502 | 554 | |
503 | 555 | =end original |
504 | 556 | |
505 | ( | |
557 | (F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持てます; | |
506 | ||
558 | 例えば: | |
507 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
508 | わかります。 | |
509 | 559 | |
510 | ||
560 | sub foo ($x = 1) {} # legal | |
561 | sub foo (@x = (1)) {} # invalid | |
562 | sub foo (%x = (a => b)) {} # invalid | |
511 | 563 | |
564 | =item assertion botched: %s | |
565 | ||
512 | 566 | =begin original |
513 | 567 | |
514 | ( | |
568 | (X) The malloc package that comes with Perl had an internal failure. | |
515 | forgot the ) that closes the argument list. (Layers take care of transforming | |
516 | data between external and internal representations.) Perl stopped parsing | |
517 | the layer list at this point and did not attempt to push this layer. | |
518 | If your program didn't explicitly request the failing operation, it may be | |
519 | the result of the value of the environment variable PERLIO. | |
520 | 569 | |
521 | 570 | =end original |
522 | 571 | |
523 | ( | |
572 | (X) Perl に付属の malloc ルーティンが内部エラーを起こしました。 | |
524 | 閉じる ) を忘れています。 | |
525 | (層はデータの外部表現と内部表現の変換を扱います。) | |
526 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
527 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
528 | 値が原因かもしれません。 | |
529 | 573 | |
530 | =item Ar | |
574 | =item Assertion %s failed: file "%s", line %d | |
531 | 575 | |
532 | 576 | =begin original |
533 | 577 | |
534 | ( | |
578 | (X) A general assertion failed. The file in question must be examined. | |
535 | spots. This is now heavily deprecated. | |
536 | 579 | |
537 | 580 | =end original |
538 | 581 | |
539 | ( | |
582 | (X) 一般的なアサーションが失敗しました。 | |
540 | ||
583 | 問題の file を調べる必要があります。 | |
541 | これは廃止予定です。 | |
542 | 584 | |
543 | =item | |
585 | =item Assigned value is not a reference | |
544 | 586 | |
545 | 587 | =begin original |
546 | 588 | |
547 | ( | |
589 | (F) You tried to assign something that was not a reference to an lvalue | |
590 | reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use | |
591 | C<\$x = \$y>. | |
548 | 592 | |
549 | 593 | =end original |
550 | 594 | |
551 | ( | |
595 | (F) リファレンスでないものを左辺値リファレンスに代入しようとしました | |
596 | (例: C<\$x = $y>)。 | |
597 | $x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。 | |
552 | 598 | |
553 | =item Ass | |
599 | =item Assigned value is not %s reference | |
554 | 600 | |
555 | 601 | =begin original |
556 | 602 | |
557 | ( | |
603 | (F) You tried to assign a reference to a reference constructor, but the | |
604 | two references were not of the same type. You cannot alias a scalar to | |
605 | an array, or an array to a hash; the two types must match. | |
558 | 606 | |
559 | 607 | =end original |
560 | 608 | |
561 | ( | |
609 | (F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、 | |
562 | ||
610 | 二つのリファレンスが同じ型ではありません。 | |
611 | スカラから配列への別名や配列からハッシュへの別名はできません; | |
612 | 二つの型は一致していなければなりません。 | |
563 | 613 | |
614 | \$x = \@y; # error | |
615 | \@x = \%y; # error | |
616 | $y = []; | |
617 | \$x = $y; # error; did you mean \$y? | |
618 | ||
619 | =item Assigning non-zero to $[ is no longer possible | |
620 | ||
621 | =begin original | |
622 | ||
623 | (F) When the "array_base" feature is disabled | |
624 | (e.g., and under C<use v5.16;>, and as of Perl 5.30) | |
625 | the special variable C<$[>, which is deprecated, is now a fixed zero value. | |
626 | ||
627 | =end original | |
628 | ||
629 | (F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が | |
630 | 無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。 | |
631 | ||
564 | 632 | =item Assignment to both a list and a scalar |
565 | 633 | |
566 | 634 | =begin original |
567 | 635 | |
568 | 636 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
569 | 637 | must either both be scalars or both be lists. Otherwise Perl won't |
570 | 638 | know which context to supply to the right side. |
571 | 639 | |
572 | 640 | =end original |
573 | 641 | |
574 | 642 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 |
575 | 643 | ともにスカラか、ともにリストでなければなりません。 |
576 | 644 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
577 | 645 | |
578 | =item A | |
646 | =item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/ | |
579 | 647 | |
580 | 648 | =begin original |
581 | 649 | |
582 | (W | |
650 | (W regexp) You had something like these: | |
583 | thread) exited while there were still other threads running. | |
584 | Usually it's a good idea first to collect the return values of the | |
585 | created threads by joining them, and only then to exit from the main | |
586 | thread. See L<threads>. | |
587 | 651 | |
588 | 652 | =end original |
589 | 653 | |
590 | (W | |
654 | (W regexp) 次のようなことをしました: | |
591 | まだ動いている状態で、あるスレッド(メインスレッドには限りません)が | |
592 | 終了しました。 | |
593 | 普通は、作成したスレッドに join することで返り値を集めて、それから | |
594 | メインスレッドから終了するのがよい考えです。 | |
595 | L<threads> を参照してください。 | |
596 | 655 | |
656 | [[:alnum]] | |
657 | [[:digit:xyz] | |
658 | ||
659 | =begin original | |
660 | ||
661 | They look like they might have been meant to be the POSIX classes | |
662 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
663 | ||
664 | =end original | |
665 | ||
666 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
667 | していたように見えます。 | |
668 | もしそうなら、次のように書くべきです: | |
669 | ||
670 | [[:alnum:]] | |
671 | [[:digit:]xyz] | |
672 | ||
673 | =begin original | |
674 | ||
675 | Since these aren't legal POSIX class specifications, but are legal | |
676 | bracketed character classes, Perl treats them as the latter. In the | |
677 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
678 | C<"m">, C<"n">, and C<"u">. | |
679 | ||
680 | =end original | |
681 | ||
682 | これらは有効な POSIX クラスしようではありませんが、有効な | |
683 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
684 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
685 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
686 | ||
687 | =begin original | |
688 | ||
689 | If these weren't meant to be POSIX classes, this warning message is | |
690 | spurious, and can be suppressed by reordering things, such as | |
691 | ||
692 | =end original | |
693 | ||
694 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
695 | 次のように文字を入れ替えることで抑制できます: | |
696 | ||
697 | [[al:num]] | |
698 | ||
699 | =begin original | |
700 | ||
701 | or | |
702 | ||
703 | =end original | |
704 | ||
705 | または | |
706 | ||
707 | [[:munla]] | |
708 | ||
709 | =item <> at require-statement should be quotes | |
710 | ||
711 | =begin original | |
712 | ||
713 | (F) You wrote C<< require <file> >> when you should have written | |
714 | C<require 'file'>. | |
715 | ||
716 | =end original | |
717 | ||
718 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
719 | 書いています。 | |
720 | ||
597 | 721 | =item Attempt to access disallowed key '%s' in a restricted hash |
598 | 722 | |
599 | 723 | =begin original |
600 | 724 | |
601 | 725 | (F) The failing code has attempted to get or set a key which is not in |
602 | 726 | the current set of allowed keys of a restricted hash. |
603 | 727 | |
604 | 728 | =end original |
605 | 729 | |
606 | 730 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して |
607 | 731 | 取得または設定しようとして失敗しました。 |
608 | 732 | |
733 | =item Attempt to bless into a freed package | |
734 | ||
735 | =begin original | |
736 | ||
737 | (F) You wrote C<bless $foo> with one argument after somehow causing | |
738 | the current package to be freed. Perl cannot figure out what to | |
739 | do, so it throws up its hands in despair. | |
740 | ||
741 | =end original | |
742 | ||
743 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の | |
744 | C<bless $foo> を書きました。 | |
745 | 何がしたいのかが分からないので Perl はお手上げになりました。 | |
746 | ||
747 | =item Attempt to bless into a class | |
748 | ||
749 | =begin original | |
750 | ||
751 | (F) You are attempting to call C<bless> with a package name that is a | |
752 | new-style C<class>. This is not necessary, as instances created by the | |
753 | constructor are already in the correct class. Instances cannot be created | |
754 | by other means, such as C<bless>. | |
755 | ||
756 | =end original | |
757 | ||
758 | (F) 新しいスタイルの C<class> であるパッケージ名を使って | |
759 | C<bless> を呼び出そうとしました。 | |
760 | コンストラクタによって作られた実態はすでに正しいクラスになっているので、 | |
761 | これは不要です。 | |
762 | 実体は、C<bless> のような他の手段によって作ることはできません。 | |
763 | ||
609 | 764 | =item Attempt to bless into a reference |
610 | 765 | |
611 | 766 | =begin original |
612 | 767 | |
613 | 768 | (F) The CLASSNAME argument to the bless() operator is expected to be |
614 | the name of the package to bless the resulting object into. You've | |
769 | the name of the package to bless the resulting object into. You've | |
615 | 770 | supplied instead a reference to something: perhaps you wrote |
616 | 771 | |
617 | 772 | =end original |
618 | 773 | |
619 | 774 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する |
620 | 775 | パッケージ名を想定しています。 |
621 | 776 | そこに何かへのリファレンスが与えられました: |
622 | 777 | おそらく以下のようにしたのでしょう: |
623 | 778 | |
624 | 779 | bless $self, $proto; |
625 | 780 | |
626 | 781 | =begin original |
627 | 782 | |
628 | 783 | when you intended |
629 | 784 | |
630 | 785 | =end original |
631 | 786 | |
632 | 787 | 以下を意図していたはずです: |
633 | 788 | |
634 | 789 | bless $self, ref($proto) || $proto; |
635 | 790 | |
636 | 791 | =begin original |
637 | 792 | |
638 | 793 | If you actually want to bless into the stringified version |
639 | 794 | of the reference supplied, you need to stringify it yourself, for |
640 | 795 | example by: |
641 | 796 | |
642 | 797 | =end original |
643 | 798 | |
644 | 799 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 |
645 | 800 | 以下のようにして自分で文字列化する必要があります: |
646 | 801 | |
647 | 802 | bless $self, "$proto"; |
648 | 803 | |
804 | =item Attempt to clear deleted array | |
805 | ||
806 | =begin original | |
807 | ||
808 | (S debugging) An array was assigned to when it was being freed. | |
809 | Freed values are not supposed to be visible to Perl code. This | |
810 | can also happen if XS code calls C<av_clear> from a custom magic | |
811 | callback on the array. | |
812 | ||
813 | =end original | |
814 | ||
815 | (S debugging) 配列が、解放されるときに代入されました。 | |
816 | 解放された値は Perl コードからは見えないはずです。 | |
817 | これはまた、XS コードが配列のカスタムマジックコールバックから | |
818 | C<av_clear> を呼び出したときにも起こります。 | |
819 | ||
649 | 820 | =item Attempt to delete disallowed key '%s' from a restricted hash |
650 | 821 | |
651 | 822 | =begin original |
652 | 823 | |
653 | 824 | (F) The failing code attempted to delete from a restricted hash a key |
654 | 825 | which is not in its key set. |
655 | 826 | |
656 | 827 | =end original |
657 | 828 | |
658 | 829 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 |
659 | 830 | |
660 | 831 | =item Attempt to delete readonly key '%s' from a restricted hash |
661 | 832 | |
662 | 833 | =begin original |
663 | 834 | |
664 | 835 | (F) The failing code attempted to delete a key whose value has been |
665 | 836 | declared readonly from a restricted hash. |
666 | 837 | |
667 | 838 | =end original |
668 | 839 | |
669 | 840 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを |
670 | 841 | 削除しようとしました。 |
671 | 842 | |
672 | 843 | =item Attempt to free non-arena SV: 0x%x |
673 | 844 | |
674 | 845 | =begin original |
675 | 846 | |
676 | ( | |
847 | (S internal) All SV objects are supposed to be allocated from arenas | |
677 | 848 | that will be garbage collected on exit. An SV was discovered to be |
678 | 849 | outside any of those arenas. |
679 | 850 | |
680 | 851 | =end original |
681 | 852 | |
682 | ( | |
853 | (S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが | |
683 | 854 | 行なわれるアリーナに割り当てるようになっています。 |
684 | 855 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
685 | 856 | |
686 | =item Attempt to free nonexistent shared string | |
857 | =item Attempt to free nonexistent shared string '%s'%s | |
687 | 858 | |
688 | 859 | =begin original |
689 | 860 | |
690 | ( | |
861 | (S internal) Perl maintains a reference-counted internal table of | |
691 | 862 | strings to optimize the storage and access of hash keys and other |
692 | 863 | strings. This indicates someone tried to decrement the reference count |
693 | 864 | of a string that can no longer be found in the table. |
694 | 865 | |
695 | 866 | =end original |
696 | 867 | |
697 | ( | |
868 | (S internal) Perl はストレージおよびハッシュキーとその他の文字列への | |
698 | 869 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 |
699 | 870 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを |
700 | 871 | 示します。 |
701 | 872 | |
702 | =item Attempt to free temp prematurely | |
873 | =item Attempt to free temp prematurely: SV 0x%x | |
703 | 874 | |
704 | 875 | =begin original |
705 | 876 | |
706 | ( | |
877 | (S debugging) Mortalized values are supposed to be freed by the | |
707 | 878 | free_tmps() routine. This indicates that something else is freeing the |
708 | 879 | SV before the free_tmps() routine gets a chance, which means that the |
709 | 880 | free_tmps() routine will be freeing an unreferenced scalar when it does |
710 | 881 | try to free it. |
711 | 882 | |
712 | 883 | =end original |
713 | 884 | |
714 | ( | |
885 | (S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように | |
715 | 886 | なっています。 |
716 | 887 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
717 | 888 | 解放しようとしていることを示していて、これは、free_tmps() が |
718 | 889 | 解放しようとしたときには、どこからも参照されていないスカラを |
719 | 890 | 解放することになるということです。 |
720 | 891 | |
721 | 892 | =item Attempt to free unreferenced glob pointers |
722 | 893 | |
723 | 894 | =begin original |
724 | 895 | |
725 | ( | |
896 | (S internal) The reference counts got screwed up on symbol aliases. | |
726 | 897 | |
727 | 898 | =end original |
728 | 899 | |
729 | ( | |
900 | (S internal) シンボルのエイリアスについて、参照カウントの値がおかしな | |
730 | 901 | 状態になりました。 |
731 | 902 | |
732 | =item Attempt to free unreferenced scalar | |
903 | =item Attempt to free unreferenced scalar: SV 0x%x | |
733 | 904 | |
734 | 905 | =begin original |
735 | 906 | |
736 | ( | |
907 | (S internal) Perl went to decrement the reference count of a scalar to | |
737 | 908 | see if it would go to 0, and discovered that it had already gone to 0 |
738 | 909 | earlier, and should have been freed, and in fact, probably was freed. |
739 | 910 | This could indicate that SvREFCNT_dec() was called too many times, or |
740 | 911 | that SvREFCNT_inc() was called too few times, or that the SV was |
741 | 912 | mortalized when it shouldn't have been, or that memory has been |
742 | 913 | corrupted. |
743 | 914 | |
744 | 915 | =end original |
745 | 916 | |
746 | ( | |
917 | (S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
747 | 見たところ、既に 0 になっていることがわかりました; | |
918 | なるかを見たところ、既に 0 になっていることがわかりました; | |
748 | 919 | これは、既に解放されているべきものであり、実際は、おそらく、 |
749 | 920 | 解放されたものでしょう。 |
750 | 921 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
751 | 922 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
752 | 923 | メモリ異常になったことが考えられます。 |
753 | 924 | |
754 | =item Attempt to join self | |
755 | ||
756 | =begin original | |
757 | ||
758 | (F) You tried to join a thread from within itself, which is an | |
759 | impossible task. You may be joining the wrong thread, or you may need | |
760 | to move the join() to some other thread. | |
761 | ||
762 | =end original | |
763 | ||
764 | (F) スレッドをそれ自身の中から join しようとしました; これは不可能な | |
765 | 動作です。 | |
766 | 間違ったスレッドに join しようとしているか、あるいは join() を他の | |
767 | スレッドに移動させる必要があります。 | |
768 | ||
769 | 925 | =item Attempt to pack pointer to temporary value |
770 | 926 | |
771 | 927 | =begin original |
772 | 928 | |
773 | 929 | (W pack) You tried to pass a temporary value (like the result of a |
774 | 930 | function, or a computed expression) to the "p" pack() template. This |
775 | 931 | means the result contains a pointer to a location that could become |
776 | 932 | invalid anytime, even before the end of the current statement. Use |
777 | 933 | literals or global values as arguments to the "p" pack() template to |
778 | 934 | avoid this warning. |
779 | 935 | |
780 | 936 | =end original |
781 | 937 | |
782 | 938 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
783 | 939 | "p" テンプレートに渡そうとしました。 |
784 | 940 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
785 | 941 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか |
786 | 942 | グローバルな値を使ってください。 |
787 | 943 | |
788 | 944 | =item Attempt to reload %s aborted. |
789 | 945 | |
790 | 946 | =begin original |
791 | 947 | |
792 | 948 | (F) You tried to load a file with C<use> or C<require> that failed to |
793 | 949 | compile once already. Perl will not try to compile this file again |
794 | 950 | unless you delete its entry from %INC. See L<perlfunc/require> and |
795 | 951 | L<perlvar/%INC>. |
796 | 952 | |
797 | 953 | =end original |
798 | 954 | |
799 | 955 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で |
800 | 956 | 読み込もうとしました。 |
801 | 957 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを |
802 | 958 | コンパイルしようとはしません。 |
803 | 959 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 |
804 | 960 | |
805 | 961 | =item Attempt to set length of freed array |
806 | 962 | |
807 | 963 | =begin original |
808 | 964 | |
809 | (W) You tried to set the length of an array which has | |
965 | (W misc) You tried to set the length of an array which has | |
810 | can do this by storing a reference to the | |
966 | been freed. You can do this by storing a reference to the | |
811 | ||
967 | scalar representing the last index of an array and later | |
968 | assigning through that reference. For example | |
812 | 969 | |
813 | 970 | =end original |
814 | 971 | |
815 | (W) 既に解放された配列の長さを設定しようとしました。 | |
972 | (W misc) 既に解放された配列の長さを設定しようとしました。 | |
816 | 973 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 |
817 | 974 | 後でこのリファレンスを通して代入することでこれを行えます。 |
818 | 975 | 例えば: |
819 | 976 | |
820 | 977 | $r = do {my @a; \$#a}; |
821 | 978 | $$r = 503 |
822 | 979 | |
823 | 980 | =item Attempt to use reference as lvalue in substr |
824 | 981 | |
825 | 982 | =begin original |
826 | 983 | |
827 | 984 | (W substr) You supplied a reference as the first argument to substr() |
828 | 985 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
829 | 986 | dereference it first. See L<perlfunc/substr>. |
830 | 987 | |
831 | 988 | =end original |
832 | 989 | |
833 | 990 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
834 | 991 | 渡しました; これはやや奇妙なことです。 |
835 | 992 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
836 | 993 | L<perlfunc/substr> を参照してください。 |
837 | 994 | |
838 | =item Attribute | |
995 | =item Attribute prototype(%s) discards earlier prototype attribute in same sub | |
839 | 996 | |
840 | 997 | =begin original |
841 | 998 | |
842 | ( | |
999 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
843 | a | |
1000 | example. Since each sub can only have one prototype, the earlier | |
844 | e | |
1001 | declaration(s) are discarded while the last one is applied. | |
845 | release of Perl 5. | |
846 | 1002 | |
847 | 1003 | =end original |
848 | 1004 | |
849 | ( | |
1005 | (W misc) あるサブルーチンが、例えば | |
850 | ||
1006 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 | |
851 | ||
1007 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に | |
852 | ||
1008 | 宣言されたものは破棄され、最後のものが適用されます。 | |
853 | 1009 | |
854 | =item | |
1010 | =item av_reify called on tied array | |
855 | 1011 | |
856 | 1012 | =begin original |
857 | 1013 | |
858 | ( | |
1014 | (S debugging) This indicates that something went wrong and Perl got I<very> | |
859 | a | |
1015 | confused about C<@_> or C<@DB::args> being tied. | |
860 | had no effect since Perl 5.8.8, and will be removed in a future release | |
861 | of Perl 5. | |
862 | 1016 | |
863 | 1017 | =end original |
864 | 1018 | |
865 | ( | |
1019 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが | |
866 | ||
1020 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 | |
867 | :unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー | |
868 | リリースで削除されます。 | |
869 | 1021 | |
870 | 1022 | =item Bad arg length for %s, is %u, should be %d |
871 | 1023 | |
872 | 1024 | =begin original |
873 | 1025 | |
874 | 1026 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
875 | 1027 | or shmctl(). In C parlance, the correct sizes are, respectively, |
876 | 1028 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
877 | 1029 | S<sizeof(struct shmid_ds *)>. |
878 | 1030 | |
879 | 1031 | =end original |
880 | 1032 | |
881 | 1033 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
882 | 1034 | 渡してしまいました。 |
883 | 1035 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
884 | 1036 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
885 | 1037 | |
886 | 1038 | =item Bad evalled substitution pattern |
887 | 1039 | |
888 | 1040 | =begin original |
889 | 1041 | |
890 | 1042 | (F) You've used the C</e> switch to evaluate the replacement for a |
891 | 1043 | substitution, but perl found a syntax error in the code to evaluate, |
892 | 1044 | most likely an unexpected right brace '}'. |
893 | 1045 | |
894 | 1046 | =end original |
895 | 1047 | |
896 | 1048 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
897 | 1049 | いますが、評価するコードに文法エラーがありました; |
898 | 1050 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
899 | 1051 | |
900 | 1052 | =item Bad filehandle: %s |
901 | 1053 | |
902 | 1054 | =begin original |
903 | 1055 | |
904 | 1056 | (F) A symbol was passed to something wanting a filehandle, but the |
905 | 1057 | symbol has no filehandle associated with it. Perhaps you didn't do an |
906 | 1058 | open(), or did it in another package. |
907 | 1059 | |
908 | 1060 | =end original |
909 | 1061 | |
910 | 1062 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 |
911 | 1063 | それに伴うファイルハンドルがありません。 |
912 | 1064 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
913 | 1065 | |
914 | 1066 | =item Bad free() ignored |
915 | 1067 | |
916 | 1068 | =begin original |
917 | 1069 | |
918 | 1070 | (S malloc) An internal routine called free() on something that had never |
919 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
1071 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
920 | 1072 | setting environment variable C<PERL_BADFREE> to 0. |
921 | 1073 | |
922 | 1074 | =end original |
923 | 1075 | |
924 | 1076 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
925 | 1077 | free() を呼びました。 |
926 | 1078 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
927 | 1079 | |
928 | 1080 | =begin original |
929 | 1081 | |
930 | 1082 | This message can be seen quite often with DB_File on systems with "hard" |
931 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
1083 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
932 | 1084 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
933 | 1085 | |
934 | 1086 | =end original |
935 | 1087 | |
936 | 1088 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
937 | 1089 | 行うシステムで DB_File を使うとしばしば表示されます。 |
938 | 1090 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
939 | 1091 | C<Berkeley DB> のバグです。 |
940 | 1092 | |
941 | =item Bad | |
1093 | =item Bad infix plugin result (%zd) - did not consume entire identifier <%s> | |
942 | 1094 | |
943 | 1095 | =begin original |
944 | 1096 | |
945 | ( | |
1097 | (F) A plugin using the C<PL_infix_plugin> mechanism to parse an infix | |
1098 | keyword consumed part of a named identifier operator name but did not | |
1099 | consume all of it. This is not permitted as it leads to fragile parsing | |
1100 | results. | |
946 | 1101 | |
947 | 1102 | =end original |
948 | 1103 | |
949 | ( | |
1104 | (F) 挿入キーワードをパースするために C<PL_infix_plugin> 機構を使っている | |
1105 | プラグインが、指定された識別子の一部を消費しましたが、 | |
1106 | 全ては消費しませんでした。 | |
1107 | 不安定なパース結果を導くので、これは許されていません。 | |
950 | 1108 | |
951 | 1109 | =item Badly placed ()'s |
952 | 1110 | |
953 | 1111 | =begin original |
954 | 1112 | |
955 | 1113 | (A) You've accidentally run your script through B<csh> instead |
956 | 1114 | of Perl. Check the #! line, or manually feed your script into |
957 | 1115 | Perl yourself. |
958 | 1116 | |
959 | 1117 | =end original |
960 | 1118 | |
961 | 1119 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
962 | #! 行を | |
1120 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
963 | 1121 | |
964 | =item Bad name after %s | |
1122 | =item Bad name after %s | |
965 | 1123 | |
966 | 1124 | =begin original |
967 | 1125 | |
968 | 1126 | (F) You started to name a symbol by using a package prefix, and then |
969 | 1127 | didn't finish the symbol. In particular, you can't interpolate outside |
970 | 1128 | of quotes, so |
971 | 1129 | |
972 | 1130 | =end original |
973 | 1131 | |
974 | 1132 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが |
975 | 1133 | 終了しませんでした。 |
976 | 1134 | 特に、クォートの外で、変数展開はできませんから、 |
977 | 1135 | |
978 | 1136 | $var = 'myvar'; |
979 | 1137 | $sym = mypack::$var; |
980 | 1138 | |
981 | 1139 | =begin original |
982 | 1140 | |
983 | 1141 | is not the same as |
984 | 1142 | |
985 | 1143 | =end original |
986 | 1144 | |
987 | 1145 | は、以下と同じではありません。 |
988 | 1146 | |
989 | 1147 | $var = 'myvar'; |
990 | 1148 | $sym = "mypack::$var"; |
991 | 1149 | |
992 | 1150 | =item Bad plugin affecting keyword '%s' |
993 | 1151 | |
994 | 1152 | =begin original |
995 | 1153 | |
996 | 1154 | (F) An extension using the keyword plugin mechanism violated the |
997 | 1155 | plugin API. |
998 | 1156 | |
999 | 1157 | =end original |
1000 | 1158 | |
1001 | 1159 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に |
1002 | 1160 | 違反しました。 |
1003 | 1161 | |
1004 | 1162 | =item Bad realloc() ignored |
1005 | 1163 | |
1006 | 1164 | =begin original |
1007 | 1165 | |
1008 | (S malloc) An internal routine called realloc() on something that | |
1166 | (S malloc) An internal routine called realloc() on something that | |
1009 | never been malloc()ed in the first place. Mandatory, but can | |
1167 | had never been malloc()ed in the first place. Mandatory, but can | |
1010 | by setting the environment variable C<PERL_BADFREE> to 1. | |
1168 | be disabled by setting the environment variable C<PERL_BADFREE> to 1. | |
1011 | 1169 | |
1012 | 1170 | =end original |
1013 | 1171 | |
1014 | 1172 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
1015 | 1173 | realloc() を呼び出しました。 |
1016 | 1174 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
1017 | 1175 | |
1018 | =item Bad symbol for | |
1176 | =item Bad symbol for %s | |
1019 | 1177 | |
1020 | 1178 | =begin original |
1021 | 1179 | |
1022 | (P) An internal request asked to add an | |
1180 | (P) An internal request asked to add an entry of the named type to something that | |
1023 | 1181 | wasn't a symbol table entry. |
1024 | 1182 | |
1025 | 1183 | =end original |
1026 | 1184 | |
1027 | (P) シンボルテーブルエントリではないもの | |
1185 | (P) 内部で、シンボルテーブルエントリではないもの対して指定された型の | |
1028 | ||
1186 | エントリを登録するよう要求がありました。 | |
1029 | 1187 | |
1030 | =item Bad symbol for | |
1188 | =item Bad symbol for scalar | |
1031 | 1189 | |
1032 | 1190 | =begin original |
1033 | 1191 | |
1034 | (P) An internal request asked to add a | |
1192 | (P) An internal request asked to add a scalar entry to something that | |
1035 | that wasn't a symbol table entry. | |
1036 | ||
1037 | =end original | |
1038 | ||
1039 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
1040 | 登録するような内部要求があがりました。 | |
1041 | ||
1042 | =item Bad symbol for filehandle | |
1043 | ||
1044 | =begin original | |
1045 | ||
1046 | (P) An internal request asked to add a filehandle entry to something | |
1047 | that wasn't a symbol table entry. | |
1048 | ||
1049 | =end original | |
1050 | ||
1051 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを | |
1052 | 登録するような内部要求があがりました。 | |
1053 | ||
1054 | =item Bad symbol for hash | |
1055 | ||
1056 | =begin original | |
1057 | ||
1058 | (P) An internal request asked to add a hash entry to something that | |
1059 | 1193 | wasn't a symbol table entry. |
1060 | 1194 | |
1061 | 1195 | =end original |
1062 | 1196 | |
1063 | (P) シンボルテーブルエントリで | |
1197 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを | |
1064 | ||
1198 | 追加するよう要求がありました。 | |
1065 | 1199 | |
1066 | 1200 | =item Bareword found in conditional |
1067 | 1201 | |
1068 | 1202 | =begin original |
1069 | 1203 | |
1070 | 1204 | (W bareword) The compiler found a bareword where it expected a |
1071 | 1205 | conditional, which often indicates that an || or && was parsed as part |
1072 | 1206 | of the last argument of the previous construct, for example: |
1073 | 1207 | |
1074 | 1208 | =end original |
1075 | 1209 | |
1076 | 1210 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; |
1077 | 1211 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
1078 | 1212 | パースされたことを意味します; 例えば: |
1079 | 1213 | |
1080 | 1214 | open FOO || die; |
1081 | 1215 | |
1082 | 1216 | =begin original |
1083 | 1217 | |
1084 | 1218 | It may also indicate a misspelled constant that has been interpreted as |
1085 | 1219 | a bareword: |
1086 | 1220 | |
1087 | 1221 | =end original |
1088 | 1222 | |
1089 | 1223 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
1090 | 1224 | 示している場合もあります: |
1091 | 1225 | |
1092 | 1226 | use constant TYPO => 1; |
1093 | 1227 | if (TYOP) { print "foo" } |
1094 | 1228 | |
1095 | 1229 | =begin original |
1096 | 1230 | |
1097 | 1231 | The C<strict> pragma is useful in avoiding such errors. |
1098 | 1232 | |
1099 | 1233 | =end original |
1100 | 1234 | |
1101 | 1235 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
1102 | 1236 | |
1237 | =item Bareword in require contains "%s" | |
1238 | ||
1239 | =item Bareword in require maps to disallowed filename "%s" | |
1240 | ||
1241 | =item Bareword in require maps to empty filename | |
1242 | ||
1243 | =begin original | |
1244 | ||
1245 | (F) The bareword form of require has been invoked with a filename which could | |
1246 | not have been generated by a valid bareword permitted by the parser. You | |
1247 | shouldn't be able to get this error from Perl code, but XS code may throw it | |
1248 | if it passes an invalid module name to C<Perl_load_module>. | |
1249 | ||
1250 | =end original | |
1251 | ||
1252 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって | |
1253 | 生成することができないファイル名で起動されました。 | |
1254 | このエラーを Perl コードから得るようにできるべきではありませんが、 | |
1255 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは | |
1256 | これを投げるかもしれません。 | |
1257 | ||
1258 | =item Bareword in require must not start with a double-colon: "%s" | |
1259 | ||
1260 | =begin original | |
1261 | ||
1262 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a | |
1263 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. | |
1264 | ||
1265 | =end original | |
1266 | ||
1267 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから | |
1268 | 開始することはできません。 | |
1269 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 | |
1270 | ||
1103 | 1271 | =item Bareword "%s" not allowed while "strict subs" in use |
1104 | 1272 | |
1105 | 1273 | =begin original |
1106 | 1274 | |
1107 | 1275 | (F) With "strict subs" in use, a bareword is only allowed as a |
1108 | 1276 | subroutine identifier, in curly brackets or to the left of the "=>" |
1109 | 1277 | symbol. Perhaps you need to predeclare a subroutine? |
1110 | 1278 | |
1111 | 1279 | =end original |
1112 | 1280 | |
1113 | 1281 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 |
1114 | 1282 | シンボル "=>" の左側でのみ許されます。 |
1115 | 1283 | おそらくサブルーチンを先行宣言する必要があるのでは? |
1116 | 1284 | |
1117 | 1285 | =item Bareword "%s" refers to nonexistent package |
1118 | 1286 | |
1119 | 1287 | =begin original |
1120 | 1288 | |
1121 | 1289 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
1122 | 1290 | compiler saw no other uses of that namespace before that point. Perhaps |
1123 | 1291 | you need to predeclare a package? |
1124 | 1292 | |
1125 | 1293 | =end original |
1126 | 1294 | |
1127 | 1295 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
1128 | 1296 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
1129 | 1297 | 発見できませんでした。 |
1130 | 1298 | おそらくパッケージを専攻宣言する必要があるのでは? |
1131 | 1299 | |
1300 | =item Bareword filehandle "%s" not allowed under 'no feature "bareword_filehandles"' | |
1301 | ||
1302 | =begin original | |
1303 | ||
1304 | (F) You attempted to use a bareword filehandle with the | |
1305 | C<bareword_filehandles> feature disabled. | |
1306 | ||
1307 | =end original | |
1308 | ||
1309 | (F) C<bareword_filehandles> 機能が無効のときに | |
1310 | 裸の単語のファイルハンドルを使おうとしました。 | |
1311 | ||
1312 | =begin original | |
1313 | ||
1314 | Only the built-in handles C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
1315 | C<ARGVOUT> and C<DATA> can be used with the C<bareword_filehandles> | |
1316 | feature disabled. | |
1317 | ||
1318 | =end original | |
1319 | ||
1320 | C<bareword_filehandles> 機能が無効のときは、 | |
1321 | 組み込みハンドル C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
1322 | C<ARGVOUT>, C<DATA> 飲みが使えます。 | |
1323 | ||
1132 | 1324 | =item BEGIN failed--compilation aborted |
1133 | 1325 | |
1134 | 1326 | =begin original |
1135 | 1327 | |
1136 | 1328 | (F) An untrapped exception was raised while executing a BEGIN |
1137 | 1329 | subroutine. Compilation stops immediately and the interpreter is |
1138 | 1330 | exited. |
1139 | 1331 | |
1140 | 1332 | =end original |
1141 | 1333 | |
1142 | 1334 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 |
1143 | 1335 | コンパイルは即座に停止し、インタプリタは中止します。 |
1144 | 1336 | |
1145 | 1337 | =item BEGIN not safe after errors--compilation aborted |
1146 | 1338 | |
1147 | 1339 | =begin original |
1148 | 1340 | |
1149 | 1341 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
1150 | 1342 | implies a C<BEGIN {}>) after one or more compilation errors had already |
1151 | 1343 | occurred. Since the intended environment for the C<BEGIN {}> could not |
1152 | 1344 | be guaranteed (due to the errors), and since subsequent code likely |
1153 | 1345 | depends on its correct operation, Perl just gave up. |
1154 | 1346 | |
1155 | 1347 | =end original |
1156 | 1348 | |
1157 | 1349 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
1158 | 1350 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 |
1159 | 1351 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは |
1160 | 1352 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 |
1161 | 1353 | |
1162 | =item \ | |
1354 | =item \%d better written as $%d | |
1163 | 1355 | |
1164 | 1356 | =begin original |
1165 | 1357 | |
1166 | 1358 | (W syntax) Outside of patterns, backreferences live on as variables. |
1167 | 1359 | The use of backslashes is grandfathered on the right-hand side of a |
1168 | 1360 | substitution, but stylistically it's better to use the variable form |
1169 | 1361 | because other Perl programmers will expect it, and it works better if |
1170 | 1362 | there are more than 9 backreferences. |
1171 | 1363 | |
1172 | 1364 | =end original |
1173 | 1365 | |
1174 | 1366 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1175 | 1367 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の |
1176 | 1368 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 |
1177 | 1369 | 変数形式を使う方が良いでしょう。 |
1178 | 1370 | |
1179 | 1371 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1180 | 1372 | |
1181 | 1373 | =begin original |
1182 | 1374 | |
1183 | 1375 | (W portable) The binary number you specified is larger than 2**32-1 |
1184 | 1376 | (4294967295) and therefore non-portable between systems. See |
1185 | 1377 | L<perlport> for more on portability concerns. |
1186 | 1378 | |
1187 | 1379 | =end original |
1188 | 1380 | |
1189 | 1381 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1190 | 1382 | システム間での移植性がありません。 |
1191 | 1383 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1192 | 1384 | |
1193 | 1385 | =item bind() on closed socket %s |
1194 | 1386 | |
1195 | 1387 | =begin original |
1196 | 1388 | |
1197 | 1389 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1198 | 1390 | check the return value of your socket() call? See L<perlfunc/bind>. |
1199 | 1391 | |
1200 | 1392 | =end original |
1201 | 1393 | |
1202 | 1394 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1203 | 1395 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1204 | 1396 | L<perlfunc/bind> を参照してください。 |
1205 | 1397 | |
1206 | 1398 | =item binmode() on closed filehandle %s |
1207 | 1399 | |
1208 | 1400 | =begin original |
1209 | 1401 | |
1210 | 1402 | (W unopened) You tried binmode() on a filehandle that was never opened. |
1211 | 1403 | Check your control flow and number of arguments. |
1212 | 1404 | |
1213 | 1405 | =end original |
1214 | 1406 | |
1215 | 1407 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 |
1216 | 1408 | 制御フローと引数の数をチェックしてください。 |
1217 | 1409 | |
1218 | =item | |
1410 | =item Bit vector size > 32 non-portable | |
1219 | 1411 | |
1220 | = | |
1412 | =begin original | |
1221 | 1413 | |
1414 | (W portable) Using bit vector sizes larger than 32 is non-portable. | |
1415 | ||
1416 | =end original | |
1417 | ||
1418 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 | |
1419 | ||
1420 | =item Bizarre copy of %s | |
1421 | ||
1222 | 1422 | =begin original |
1223 | 1423 | |
1224 | ( | |
1424 | (P) Perl detected an attempt to copy an internal value that is not | |
1225 | ||
1425 | copiable. | |
1226 | itself in a future release. | |
1227 | 1426 | |
1228 | 1427 | =end original |
1229 | 1428 | |
1230 | ( | |
1429 | (P) コピーできない内部の値をコピーしようとしました。 | |
1231 | "{" を書くのは、将来のバージョンの perl での使用のために予約するために | |
1232 | 廃止予定となりました。 | |
1233 | 1430 | |
1234 | =item Bi | |
1431 | =item Bizarre SvTYPE [%d] | |
1235 | 1432 | |
1236 | 1433 | =begin original |
1237 | 1434 | |
1238 | ( | |
1435 | (P) When starting a new thread or returning values from a thread, Perl | |
1436 | encountered an invalid data type. | |
1239 | 1437 | |
1240 | 1438 | =end original |
1241 | 1439 | |
1242 | ( | |
1440 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な | |
1441 | データ型に遭遇しました。 | |
1243 | 1442 | |
1244 | =item Bi | |
1443 | =item Both or neither range ends should be Unicode in regex; marked by | |
1444 | S<<-- HERE> in m/%s/ | |
1245 | 1445 | |
1246 | 1446 | =begin original |
1247 | 1447 | |
1248 | ( | |
1448 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
1249 | copiable. | |
1250 | 1449 | |
1251 | 1450 | =end original |
1252 | 1451 | |
1253 | ( | |
1452 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
1254 | 1453 | |
1454 | =begin original | |
1455 | ||
1456 | In a bracketed character class in a regular expression pattern, you | |
1457 | had a range which has exactly one end of it specified using C<\N{}>, and | |
1458 | the other end is specified using a non-portable mechanism. Perl treats | |
1459 | the range as a Unicode range, that is, all the characters in it are | |
1460 | considered to be the Unicode characters, and which may be different code | |
1461 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> | |
1462 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it | |
1463 | matches the characters whose code points in Unicode are 6, 7, and 8. | |
1464 | But that C<\x08> might indicate that you meant something different, so | |
1465 | the warning gets raised. | |
1466 | ||
1467 | =end original | |
1468 | ||
1469 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って | |
1470 | 指定し、もう片方は移植性のない方法を使って指定しました。 | |
1471 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は | |
1472 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは | |
1473 | 異なる符号位置になるかもしれません。 | |
1474 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と | |
1475 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 | |
1476 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 | |
1477 | 警告が発生します。 | |
1478 | ||
1255 | 1479 | =item Buffer overflow in prime_env_iter: %s |
1256 | 1480 | |
1257 | 1481 | =begin original |
1258 | 1482 | |
1259 | 1483 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1260 | 1484 | iterate over %ENV, it encountered a logical name or symbol definition |
1261 | 1485 | which was too long, so it was truncated to the string shown. |
1262 | 1486 | |
1263 | 1487 | =end original |
1264 | 1488 | |
1265 | 1489 | (W internal) VMS に固有の警告です。 |
1266 | 1490 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 |
1267 | 1491 | 文字列は表示したように切り詰められました。 |
1268 | 1492 | |
1493 | =item Built-in function '%s' is experimental | |
1494 | ||
1495 | =begin original | |
1496 | ||
1497 | (S experimental::builtin) A call is being made to a function in the | |
1498 | C<builtin::> namespace, which is currently experimental. The existence | |
1499 | or nature of the function may be subject to change in a future version | |
1500 | of Perl. | |
1501 | ||
1502 | =end original | |
1503 | ||
1504 | (S experimental::builtin) 現在実験的である、 | |
1505 | C<builtin::> 名前空間への呼び出しが行われました。 | |
1506 | この関数の存在や性質は、将来のバージョンの Perl で変更される予定です。 | |
1507 | ||
1508 | =item builtin::import can only be called at compile time | |
1509 | ||
1510 | =begin original | |
1511 | ||
1512 | (F) The C<import> method of the C<builtin> package was invoked when no code | |
1513 | is currently being compiled. Since this method is used to introduce new | |
1514 | lexical subroutines into the scope currently being compiled, this is not | |
1515 | going to have any effect. | |
1516 | ||
1517 | =end original | |
1518 | ||
1519 | (F) 現在コンパイルされているコードがないときに、 | |
1520 | C<builtin> パッケージの C<import> メソッドが呼び出されました。 | |
1521 | このメソッドは現在コンパイルされているスコープ内に新しい | |
1522 | レキシカルサブルーチンを導入するために使われるので、 | |
1523 | これは何の効果もありません。 | |
1524 | ||
1525 | =item Builtin version bundle "%s" is not supported by Perl | |
1526 | ||
1527 | =begin original | |
1528 | ||
1529 | (F) You attempted to C<use builtin :ver> for a version number that is either | |
1530 | older than 5.39 (when the ability was added), or newer than the current perl | |
1531 | version. | |
1532 | ||
1533 | =end original | |
1534 | ||
1535 | (F) C<use builtin :ver> でバージョン番号を指定しようとしましたが、 | |
1536 | そのバージョン番号が 5.39 (機能が追加された時点)よりも古いか、 | |
1537 | 現在の perl バージョンよりも新しいものでした。 | |
1538 | ||
1269 | 1539 | =item Callback called exit |
1270 | 1540 | |
1271 | 1541 | =begin original |
1272 | 1542 | |
1273 | 1543 | (F) A subroutine invoked from an external package via call_sv() |
1274 | 1544 | exited by calling exit. |
1275 | 1545 | |
1276 | 1546 | =end original |
1277 | 1547 | |
1278 | 1548 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで |
1279 | 1549 | 終了しました。 |
1280 | 1550 | |
1281 | 1551 | =item %s() called too early to check prototype |
1282 | 1552 | |
1283 | 1553 | =begin original |
1284 | 1554 | |
1285 | 1555 | (W prototype) You've called a function that has a prototype before the |
1286 | 1556 | parser saw a definition or declaration for it, and Perl could not check |
1287 | 1557 | that the call conforms to the prototype. You need to either add an |
1288 | 1558 | early prototype declaration for the subroutine in question, or move the |
1289 | 1559 | subroutine definition ahead of the call to get proper prototype |
1290 | 1560 | checking. Alternatively, if you are certain that you're calling the |
1291 | 1561 | function correctly, you may put an ampersand before the name to avoid |
1292 | 1562 | the warning. See L<perlsub>. |
1293 | 1563 | |
1294 | 1564 | =end original |
1295 | 1565 | |
1296 | 1566 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1297 | 1567 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1298 | 1568 | 従っているかどうかをチェックできませんでした。 |
1299 | 1569 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1300 | 1570 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1301 | 1571 | 移動させる必要があります。 |
1302 | 1572 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1303 | 1573 | アンパサンドを付けることで警告を回避できます。 |
1304 | 1574 | L<perlsub> を参照してください。 |
1305 | 1575 | |
1576 | =item Cannot assign :param(%s) to field %s because that name is already in use | |
1577 | ||
1578 | =begin original | |
1579 | ||
1580 | (F) An attempt was made to apply a parameter name to a field, when the name | |
1581 | is already being used by another field in the same class, or one of its | |
1582 | parent classes. This would cause a name clash so is not allowed. | |
1583 | ||
1584 | =end original | |
1585 | ||
1586 | (F) フィールドにパラメータ名を適用しようとしましたが、 | |
1587 | 名前はすでに同じクラスまたはその親クラスの他のフィールドによって | |
1588 | 使われています。 | |
1589 | これは名前の衝突を引き起こすので、許されていません。 | |
1590 | ||
1591 | =item Cannot chr %f | |
1592 | ||
1593 | =begin original | |
1594 | ||
1595 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. | |
1596 | ||
1597 | =end original | |
1598 | ||
1599 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 | |
1600 | ||
1601 | =item Cannot complete in-place edit of %s: %s | |
1602 | ||
1603 | =begin original | |
1604 | ||
1605 | (F) Your perl script appears to have changed directory while | |
1606 | performing an in-place edit of a file specified by a relative path, | |
1607 | and your system doesn't include the directory relative POSIX functions | |
1608 | needed to handle that. | |
1609 | ||
1610 | =end original | |
1611 | ||
1612 | (F) perl スクリプトが、相対パスで指定されたファイルのその場編集を | |
1613 | 実行中にディレクトリを変更し、システムにはこれに対応するために必要な | |
1614 | ディレクトリ相対 POSIX 関数がないようです。 | |
1615 | ||
1616 | =item Cannot compress %f in pack | |
1617 | ||
1618 | =begin original | |
1619 | ||
1620 | (F) You tried compressing an infinity or not-a-number as an unsigned | |
1621 | integer with BER, which makes no sense. | |
1622 | ||
1623 | =end original | |
1624 | ||
1625 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 | |
1626 | ||
1306 | 1627 | =item Cannot compress integer in pack |
1307 | 1628 | |
1308 | 1629 | =begin original |
1309 | 1630 | |
1310 | (F) An argument to pack("w",...) was too large to compress. | |
1631 | (F) An argument to pack("w",...) was too large to compress. | |
1311 | compressed integer format can only be used with positive | |
1632 | The BER compressed integer format can only be used with positive | |
1312 | attempted to compress | |
1633 | integers, and you attempted to compress a very large number (> 1e308). | |
1313 | 1634 | See L<perlfunc/pack>. |
1314 | 1635 | |
1315 | 1636 | =end original |
1316 | 1637 | |
1317 | 1638 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 |
1318 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、 | |
1639 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 | |
1319 | 1640 | (> 1e308) を圧縮しようとしました。 |
1320 | 1641 | L<perlfunc/pack> を参照してください。 |
1321 | 1642 | |
1322 | 1643 | =item Cannot compress negative numbers in pack |
1323 | 1644 | |
1324 | 1645 | =begin original |
1325 | 1646 | |
1326 | 1647 | (F) An argument to pack("w",...) was negative. The BER compressed integer |
1327 | 1648 | format can only be used with positive integers. See L<perlfunc/pack>. |
1328 | 1649 | |
1329 | 1650 | =end original |
1330 | 1651 | |
1331 | 1652 | (F) pack("w",...) の引数が負数です。 |
1332 | 1653 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 |
1333 | 1654 | L<perlfunc/pack> を参照してください。 |
1334 | 1655 | |
1335 | 1656 | =item Cannot convert a reference to %s to typeglob |
1336 | 1657 | |
1337 | 1658 | =begin original |
1338 | 1659 | |
1339 | (F) You manipulated Perl's symbol table directly, stored a reference | |
1660 | (F) You manipulated Perl's symbol table directly, stored a reference | |
1340 | then tried to access that symbol via conventional Perl syntax. | |
1661 | in it, then tried to access that symbol via conventional Perl syntax. | |
1341 | triggers Perl to autovivify that typeglob, but it there is | |
1662 | The access triggers Perl to autovivify that typeglob, but it there is | |
1342 | from that type of reference to a typeglob. | |
1663 | no legal conversion from that type of reference to a typeglob. | |
1343 | 1664 | |
1344 | 1665 | =end original |
1345 | 1666 | |
1346 | 1667 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に |
1347 | 1668 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって |
1348 | 1669 | アクセスしようとしました。 |
1349 | 1670 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 |
1350 | 1671 | リファレンス型から型グロブへの正当な変換方法はありません。 |
1351 | 1672 | |
1352 | =item Cannot copy to %s | |
1673 | =item Cannot copy to %s | |
1353 | 1674 | |
1354 | 1675 | =begin original |
1355 | 1676 | |
1356 | 1677 | (P) Perl detected an attempt to copy a value to an internal type that cannot |
1357 | 1678 | be directly assigned to. |
1358 | 1679 | |
1359 | 1680 | =end original |
1360 | 1681 | |
1361 | 1682 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを |
1362 | 1683 | 検出しました。 |
1363 | 1684 | |
1685 | =item Cannot create class %s as it already has a non-empty @ISA | |
1686 | ||
1687 | =begin original | |
1688 | ||
1689 | (F) An attempt was made to create a class out of a package that already has | |
1690 | an C<@ISA> array, and the array is not empty. This is not permitted, as it | |
1691 | would lead to a class with inconsistent inheritance. | |
1692 | ||
1693 | =end original | |
1694 | ||
1695 | (F) 空でない C<@ISA> をすでに持っているパッケージからクラスを | |
1696 | 作ろうとしました。 | |
1697 | 一貫性のない継承を引き起こすので、これは許されていません。 | |
1698 | ||
1699 | =item Cannot create an object of incomplete class "%s" | |
1700 | ||
1701 | =begin original | |
1702 | ||
1703 | (F) An attempt was made to create an object of a class where the start | |
1704 | of the class definition has been seen, but the class has not been | |
1705 | completed. | |
1706 | ||
1707 | =end original | |
1708 | ||
1709 | (F) クラス定義の開始が確認されたクラスのオブジェクトを | |
1710 | 作成しようとしましたが、クラス定義が完了していません。 | |
1711 | ||
1712 | =begin original | |
1713 | ||
1714 | This can happen for a failed eval, or if you attempt to create an | |
1715 | object at compile time before the class is complete: | |
1716 | ||
1717 | =end original | |
1718 | ||
1719 | これは、eval が失敗した場合、またはクラス定義が完了する前に | |
1720 | コンパイル時にオブジェクトを作成しようとした場合に | |
1721 | 発生する可能性があります。 | |
1722 | ||
1723 | eval "class Foo {"; Foo->new; # error | |
1724 | class Bar { BEGIN { Bar->new } }; # error | |
1725 | ||
1364 | 1726 | =item Cannot find encoding "%s" |
1365 | 1727 | |
1366 | 1728 | =begin original |
1367 | 1729 | |
1368 | 1730 | (S io) You tried to apply an encoding that did not exist to a filehandle, |
1369 | 1731 | either with open() or binmode(). |
1370 | 1732 | |
1371 | 1733 | =end original |
1372 | 1734 | |
1373 | 1735 | (S io) open() または binmode() のファイルハンドルに存在しない |
1374 | 1736 | エンコーディングを適用しようとしました。 |
1375 | 1737 | |
1738 | =item Cannot invoke a method of "%s" on an instance of "%s" | |
1739 | ||
1740 | =begin original | |
1741 | ||
1742 | (F) You tried to directly call a C<method> subroutine of one class by passing | |
1743 | in a value that is an instance of a different class. This is not permitted, | |
1744 | as the method would not have access to the correct instance fields. | |
1745 | ||
1746 | =end original | |
1747 | ||
1748 | (F) 他のクラスの実体である値を渡すことによって、 | |
1749 | あるクラスの C<method> サブルーチンを直接呼び出そうとしました。 | |
1750 | そのメソッドは正しい実体フィールドにアクセスできないので、 | |
1751 | これは許されていません。 | |
1752 | ||
1753 | =item Cannot invoke method on a non-instance | |
1754 | ||
1755 | =begin original | |
1756 | ||
1757 | (F) You tried to directly call a C<method> subroutine of a class by passing | |
1758 | in a value that is not an instance of that class. This is not permitted, as | |
1759 | the method would not then have access to its instance fields. | |
1760 | ||
1761 | =end original | |
1762 | ||
1763 | (F) クラスの実体ではない値を渡すことによって、 | |
1764 | クラスの C<method> サブルーチンを直接呼び出そうとしました。 | |
1765 | そのメソッドは実体フィールドにアクセスできないので、 | |
1766 | これは許されていません。 | |
1767 | ||
1768 | =item Cannot open %s as a dirhandle: it is already open as a filehandle | |
1769 | ||
1770 | =begin original | |
1771 | ||
1772 | (F) You tried to use opendir() to associate a dirhandle to a symbol (glob | |
1773 | or scalar) that already holds a filehandle. Since this idiom might render | |
1774 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1775 | is a fatal error. | |
1776 | ||
1777 | =end original | |
1778 | ||
1779 | (F) すでにファイルハンドルを保持しているシンボル | |
1780 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
1781 | opendir() を使おうとしました。 | |
1782 | この用法はコードを間違えて解釈する可能性があるので、 | |
1783 | Perl 5.10 で廃止予定になりました。 | |
1784 | Perl 5.28 から、これは致命的エラーです。 | |
1785 | ||
1786 | =item Cannot open %s as a filehandle: it is already open as a dirhandle | |
1787 | ||
1788 | =begin original | |
1789 | ||
1790 | (F) You tried to use open() to associate a filehandle to a symbol (glob | |
1791 | or scalar) that already holds a dirhandle. Since this idiom might render | |
1792 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1793 | is a fatal error. | |
1794 | ||
1795 | =end original | |
1796 | ||
1797 | (F) すでにディレクトリハンドルを保持しているシンボル | |
1798 | (グロブまたはスカラ)にファイルハンドルを関連付けるために | |
1799 | open() を使おうとしました。 | |
1800 | この用法はコードを間違えて解釈する可能性があるので、 | |
1801 | Perl 5.10 で廃止予定になりました。 | |
1802 | Perl 5.28 から、これは致命的エラーです。 | |
1803 | ||
1804 | =item Cannot '%s' outside of a 'class' | |
1805 | ||
1806 | =begin original | |
1807 | ||
1808 | (F) You attempted to use one of the keywords that only makes sense inside | |
1809 | a C<class> definition, at a location that is not inside such a class. | |
1810 | ||
1811 | =end original | |
1812 | ||
1813 | (F) C<class> 定義の中でのみ意味のあるキーワードの一つを、そのようなクラスの | |
1814 | 内側ではない場所で使おうとしました。 | |
1815 | ||
1816 | =item Cannot pack %f with '%c' | |
1817 | ||
1818 | =begin original | |
1819 | ||
1820 | (F) You tried converting an infinity or not-a-number to an integer, | |
1821 | which makes no sense. | |
1822 | ||
1823 | =end original | |
1824 | ||
1825 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 | |
1826 | ||
1827 | =item Cannot printf %f with '%c' | |
1828 | ||
1829 | =begin original | |
1830 | ||
1831 | (F) You tried printing an infinity or not-a-number as a character (%c), | |
1832 | which makes no sense. Maybe you meant '%s', or just stringifying it? | |
1833 | ||
1834 | =end original | |
1835 | ||
1836 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 | |
1837 | おそらく '%s' か、単に文字列化したかったのでは? | |
1838 | ||
1839 | =item Cannot reopen existing class "%s" | |
1840 | ||
1841 | =begin original | |
1842 | ||
1843 | (F) You tried to begin a C<class> definition for a class that already exists. | |
1844 | A class may only have one definition block. | |
1845 | ||
1846 | =end original | |
1847 | ||
1848 | (F) すでにあるクラスの C<class> 定義を始めようとしました。 | |
1849 | 一つのクラスは一つの定義ブロックだけを持てます。 | |
1850 | ||
1851 | =item Cannot set tied @DB::args | |
1852 | ||
1853 | =begin original | |
1854 | ||
1855 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> | |
1856 | is not supported. (Before this error was added, it used to crash.) | |
1857 | ||
1858 | =end original | |
1859 | ||
1860 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 | |
1861 | C<@DB::args> の tie は非対応です。 | |
1862 | (このエラーが追加する前は、クラッシュしていました。) | |
1863 | ||
1864 | =item Cannot tie unreifiable array | |
1865 | ||
1866 | =begin original | |
1867 | ||
1868 | (P) You somehow managed to call C<tie> on an array that does not | |
1869 | keep a reference count on its arguments and cannot be made to | |
1870 | do so. Such arrays are not even supposed to be accessible to | |
1871 | Perl code, but are only used internally. | |
1872 | ||
1873 | =end original | |
1874 | ||
1875 | (P) 参照カウントを保持していない配列を引数にして C<tie> を | |
1876 | 呼び出そうとしましたがそうできませんでした。 | |
1877 | このような配列は Perl コードからアクセスできると想定してはならず、 | |
1878 | 内部だけで使われます。 | |
1879 | ||
1880 | =item Cannot use __CLASS__ outside of a method or field initializer expression | |
1881 | ||
1882 | =begin original | |
1883 | ||
1884 | (F) A C<__CLASS__> expression yields the class name of the object instance | |
1885 | executing the current method, and therefore it can only be placed inside an | |
1886 | actual method (or method-like expression, such as a field initializer | |
1887 | expression). | |
1888 | ||
1889 | =end original | |
1890 | ||
1891 | (F) C<__CLASS__> 式は、現在のメソッドを実行するオブジェクト実体の | |
1892 | クラス名を生成するため、実際のメソッド(またはフィールド初期化子式などの | |
1893 | メソッド風の式)の内にのみ配置できます。 | |
1894 | ||
1895 | =item Cannot yet reorder sv_vcatpvfn() arguments from va_list | |
1896 | ||
1897 | =begin original | |
1898 | ||
1899 | (F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a | |
1900 | format string that specifies explicit indexes for some of the elements, and | |
1901 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
1902 | supported. XS authors wanting to do this must instead construct a C array | |
1903 | of C<SV*> scalars containing the arguments. | |
1904 | ||
1905 | =end original | |
1906 | ||
1907 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
1908 | フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、 | |
1909 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
1910 | これは現在のところ対応していません。 | |
1911 | これをしたい XS 作者は代わりに、引数を含む | |
1912 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
1913 | ||
1376 | 1914 | =item Can only compress unsigned integers in pack |
1377 | 1915 | |
1378 | 1916 | =begin original |
1379 | 1917 | |
1380 | 1918 | (F) An argument to pack("w",...) was not an integer. The BER compressed |
1381 | 1919 | integer format can only be used with positive integers, and you attempted |
1382 | 1920 | to compress something else. See L<perlfunc/pack>. |
1383 | 1921 | |
1384 | 1922 | =end original |
1385 | 1923 | |
1386 | 1924 | (F) pack("w",...) の引数が整数ではありません。 |
1387 | 1925 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを |
1388 | 1926 | 圧縮しようとしました。 |
1389 | 1927 | L<perlfunc/pack> を参照してください。 |
1390 | 1928 | |
1929 | =item Can't "%s" out of a "defer" block | |
1930 | ||
1931 | =begin original | |
1932 | ||
1933 | (F) An attempt was made to jump out of the scope of a C<defer> block by using | |
1934 | a control-flow statement such as C<return>, C<goto> or a loop control. This is | |
1935 | not permitted. | |
1936 | ||
1937 | =end original | |
1938 | ||
1939 | (F) C<return>, C<goto> あるいはループ制御のようなフロー制御文を使って | |
1940 | C<defer> ブロックのスコープから飛び出そうとしました。 | |
1941 | これは許されていません。 | |
1942 | ||
1943 | =item Can't "%s" out of a "finally" block | |
1944 | ||
1945 | =begin original | |
1946 | ||
1947 | (F) Similar to above, but involving a C<finally> block at the end of a | |
1948 | C<try>/C<catch> construction rather than a C<defer> block. | |
1949 | ||
1950 | =end original | |
1951 | ||
1952 | (F) 前述と同様ですが、C<defer> ブロックではなく | |
1953 | C<try>/C<catch> 構文の末尾の C<finally> ブロックに関するものです。 | |
1954 | ||
1955 | =item Can't bless an object reference | |
1956 | ||
1957 | =begin original | |
1958 | ||
1959 | (F) You attempted to call C<bless> on a value that already refers to a real | |
1960 | object instance. | |
1961 | ||
1962 | =end original | |
1963 | ||
1964 | (F) 実際のオブジェクト実態を参照している値にたいして | |
1965 | C<bless> を呼び出そうとしました。 | |
1966 | ||
1391 | 1967 | =item Can't bless non-reference value |
1392 | 1968 | |
1393 | 1969 | =begin original |
1394 | 1970 | |
1395 | 1971 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1396 | 1972 | encapsulation of objects. See L<perlobj>. |
1397 | 1973 | |
1398 | 1974 | =end original |
1399 | 1975 | |
1400 | 1976 | (F) ハードリファレンスのみが bless できます。 |
1401 | 1977 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1402 | 1978 | L<perlobj> を参照してください。 |
1403 | 1979 | |
1404 | 1980 | =item Can't "break" in a loop topicalizer |
1405 | 1981 | |
1406 | 1982 | =begin original |
1407 | 1983 | |
1408 | 1984 | (F) You called C<break>, but you're in a C<foreach> block rather than |
1409 | a C<given> block. You probably meant to use C<next> or C<last>. | |
1985 | a C<given> block. You probably meant to use C<next> or C<last>. | |
1410 | 1986 | |
1411 | 1987 | =end original |
1412 | 1988 | |
1413 | 1989 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> |
1414 | 1990 | ブロック内でした。 |
1415 | 1991 | おそらく C<next> や C<last> を使いたかったのでしょう。 |
1416 | 1992 | |
1417 | 1993 | =item Can't "break" outside a given block |
1418 | 1994 | |
1419 | 1995 | =begin original |
1420 | 1996 | |
1421 | 1997 | (F) You called C<break>, but you're not inside a C<given> block. |
1422 | 1998 | |
1423 | 1999 | =end original |
1424 | 2000 | |
1425 | 2001 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 |
1426 | 2002 | |
2003 | =item Can't call destructor for 0x%p in global destruction | |
2004 | ||
2005 | =begin original | |
2006 | ||
2007 | (S) This should not happen. Internals code has set up a destructor | |
2008 | using C<mortal_destructor_sv> or C<mortal_destructor_x> which is firing | |
2009 | during global destruction. Please attempt to reduce the code that triggers | |
2010 | this warning down to a small an example as possible and then report the | |
2011 | problem to L<https://github.com/Perl/perl5/issues/new/choose> | |
2012 | ||
2013 | =end original | |
2014 | ||
2015 | (S) これは起きないはずです。 | |
2016 | 内部コードは、全体破壊の間に起動される C<mortal_destructor_sv> または | |
2017 | C<mortal_destructor_x> を使うデストラクタを設定します。 | |
2018 | この警告を発生させるコードをできるだけ小さな例にまで減らして、 | |
2019 | 問題を L<https://github.com/Perl/perl5/issues/new/choose> に | |
2020 | 報告してください。 | |
2021 | ||
1427 | 2022 | =item Can't call method "%s" on an undefined value |
1428 | 2023 | |
1429 | 2024 | =begin original |
1430 | 2025 | |
1431 | 2026 | (F) You used the syntax of a method call, but the slot filled by the |
1432 | 2027 | object reference or package name contains an undefined value. Something |
1433 | 2028 | like this will reproduce the error: |
1434 | 2029 | |
1435 | 2030 | =end original |
1436 | 2031 | |
1437 | 2032 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか |
1438 | 2033 | パッケージ名であるべきところが未定義値です。 |
1439 | 2034 | 以下のように書くとエラーが再現します: |
1440 | 2035 | |
1441 | 2036 | $BADREF = undef; |
1442 | 2037 | process $BADREF 1,2,3; |
1443 | 2038 | $BADREF->process(1,2,3); |
1444 | 2039 | |
1445 | 2040 | =item Can't call method "%s" on unblessed reference |
1446 | 2041 | |
1447 | 2042 | =begin original |
1448 | 2043 | |
1449 | 2044 | (F) A method call must know in what package it's supposed to run. It |
1450 | 2045 | ordinarily finds this out from the object reference you supply, but you |
1451 | 2046 | didn't supply an object reference in this case. A reference isn't an |
1452 | 2047 | object reference until it has been blessed. See L<perlobj>. |
1453 | 2048 | |
1454 | 2049 | =end original |
1455 | 2050 | |
1456 | 2051 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1457 | 2052 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1458 | 2053 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1459 | 2054 | 渡されませんでした。 |
1460 | 2055 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1461 | 2056 | L<perlobj> を参照してください。 |
1462 | 2057 | |
1463 | 2058 | =item Can't call method "%s" without a package or object reference |
1464 | 2059 | |
1465 | 2060 | =begin original |
1466 | 2061 | |
1467 | 2062 | (F) You used the syntax of a method call, but the slot filled by the |
1468 | 2063 | object reference or package name contains an expression that returns a |
1469 | 2064 | defined value which is neither an object reference nor a package name. |
1470 | 2065 | Something like this will reproduce the error: |
1471 | 2066 | |
1472 | 2067 | =end original |
1473 | 2068 | |
1474 | 2069 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1475 | 2070 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1476 | 2071 | パッケージ名も返さない定義された式が書かれています。 |
1477 | 2072 | 以下のように書くとエラーが再現します: |
1478 | 2073 | |
1479 | 2074 | $BADREF = 42; |
1480 | 2075 | process $BADREF 1,2,3; |
1481 | 2076 | $BADREF->process(1,2,3); |
1482 | 2077 | |
1483 | =item Can't chdi | |
2078 | =item Can't call mro_isa_changed_in() on anonymous symbol table | |
1484 | 2079 | |
1485 | 2080 | =begin original |
1486 | 2081 | |
1487 | ( | |
2082 | (P) Perl got confused as to whether a hash was a plain hash or a | |
1488 | ||
2083 | symbol table hash when trying to update @ISA caches. | |
1489 | 2084 | |
1490 | 2085 | =end original |
1491 | 2086 | |
1492 | ( | |
2087 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか | |
1493 | ||
2088 | シンボルテーブルハッシュかについて perl は混乱しました。 | |
1494 | 2089 | |
1495 | =item Can't c | |
2090 | =item Can't call mro_method_changed_in() on anonymous symbol table | |
1496 | 2091 | |
1497 | 2092 | =begin original |
1498 | 2093 | |
1499 | ( | |
2094 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was | |
1500 | no | |
2095 | not attached to the symbol table. | |
1501 | 2096 | |
1502 | 2097 | =end original |
1503 | 2098 | |
1504 | ( | |
2099 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して | |
1505 | ||
2100 | C<mro_method_changed_in> を呼び出しました。 | |
1506 | 2101 | |
2102 | =item Can't chdir to %s | |
2103 | ||
2104 | =begin original | |
2105 | ||
2106 | (F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory | |
2107 | that you can chdir to, possibly because it doesn't exist. | |
2108 | ||
2109 | =end original | |
2110 | ||
2111 | (F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に | |
2112 | chdir することができません; おそらく、存在しないのではないでしょうか。 | |
2113 | ||
1507 | 2114 | =item Can't coerce %s to %s in %s |
1508 | 2115 | |
1509 | 2116 | =begin original |
1510 | 2117 | |
1511 | 2118 | (F) Certain types of SVs, in particular real symbol table entries |
1512 | 2119 | (typeglobs), can't be forced to stop being what they are. So you can't |
1513 | 2120 | say things like: |
1514 | 2121 | |
1515 | 2122 | =end original |
1516 | 2123 | |
1517 | 2124 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1518 | 2125 | 一つの型に留めておくことができません。 |
1519 | 2126 | したがって、以下のようにすることはできません: |
1520 | 2127 | |
1521 | 2128 | *foo += 1; |
1522 | 2129 | |
1523 | 2130 | =begin original |
1524 | 2131 | |
1525 | 2132 | You CAN say |
1526 | 2133 | |
1527 | 2134 | =end original |
1528 | 2135 | |
1529 | 2136 | 以下のようにはできますが: |
1530 | 2137 | |
1531 | 2138 | $foo = *foo; |
1532 | 2139 | $foo += 1; |
1533 | 2140 | |
1534 | 2141 | =begin original |
1535 | 2142 | |
1536 | 2143 | but then $foo no longer contains a glob. |
1537 | 2144 | |
1538 | 2145 | =end original |
1539 | 2146 | |
1540 | 2147 | $foo にはもはやグロブは残っていません。 |
1541 | 2148 | |
1542 | 2149 | =item Can't "continue" outside a when block |
1543 | 2150 | |
1544 | 2151 | =begin original |
1545 | 2152 | |
1546 | 2153 | (F) You called C<continue>, but you're not inside a C<when> |
1547 | 2154 | or C<default> block. |
1548 | 2155 | |
1549 | 2156 | =end original |
1550 | 2157 | |
1551 | 2158 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの |
1552 | 2159 | 内側ではありません。 |
1553 | 2160 | |
2161 | =item can't convert empty path | |
2162 | ||
2163 | =begin original | |
2164 | ||
2165 | (F) On Cygwin, you called a path conversion function with an empty path. | |
2166 | Only non-empty paths are legal. | |
2167 | ||
2168 | =end original | |
2169 | ||
2170 | (F) Cygwin で、空のパスでパス変換関数を呼び出しました。 | |
2171 | 空でないパスのみが正当です。 | |
2172 | ||
1554 | 2173 | =item Can't create pipe mailbox |
1555 | 2174 | |
1556 | 2175 | =begin original |
1557 | 2176 | |
1558 | 2177 | (P) An error peculiar to VMS. The process is suffering from exhausted |
1559 | 2178 | quotas or other plumbing problems. |
1560 | 2179 | |
1561 | 2180 | =end original |
1562 | 2181 | |
1563 | 2182 | (P) VMS に固有のエラーです。 |
1564 | 2183 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
1565 | 2184 | |
1566 | 2185 | =item Can't declare %s in "%s" |
1567 | 2186 | |
1568 | 2187 | =begin original |
1569 | 2188 | |
1570 | 2189 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or |
1571 | 2190 | "state" variables. They must have ordinary identifiers as names. |
1572 | 2191 | |
1573 | 2192 | =end original |
1574 | 2193 | |
1575 | 2194 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として |
1576 | 2195 | 宣言できます。 |
1577 | 2196 | これらは、名前として通常の識別子を持たなければなりません。 |
1578 | 2197 | |
1579 | =item Can't d | |
2198 | =item Can't "default" outside a topicalizer | |
1580 | 2199 | |
1581 | 2200 | =begin original |
1582 | 2201 | |
1583 | ( | |
2202 | (F) You have used a C<default> block that is neither inside a | |
1584 | a | |
2203 | C<foreach> loop nor a C<given> block. (Note that this error is | |
2204 | issued on exit from the C<default> block, so you won't get the | |
2205 | error if you use an explicit C<continue>.) | |
1585 | 2206 | |
1586 | 2207 | =end original |
1587 | 2208 | |
1588 | ( | |
2209 | (F) C<foreach> ループや C<given> ブロックの内側でないところで | |
1589 | 使 | |
2210 | C<default> ブロックを使いました。 | |
1590 | この | |
2211 | (このエラーは C<default> ブロックから出るときに発生するので、明示的な | |
2212 | C<continue> を使うとエラーは発生しません。) | |
1591 | 2213 | |
1592 | =item Can't d | |
2214 | =item Can't determine class of operator %s, assuming BASEOP | |
1593 | 2215 | |
1594 | 2216 | =begin original |
1595 | 2217 | |
1596 | (S | |
2218 | (S) This warning indicates something wrong in the internals of perl. | |
1597 | ||
2219 | Perl was trying to find the class (e.g. LISTOP) of a particular OP, | |
2220 | and was unable to do so. This is likely to be due to a bug in the perl | |
2221 | internals, or due to a bug in XS code which manipulates perl optrees. | |
1598 | 2222 | |
1599 | 2223 | =end original |
1600 | 2224 | |
1601 | (S | |
2225 | (S) この警告は、perl の内部で何かがおかしいことを示しています。 | |
2226 | Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、 | |
2227 | そうすることができませんでした。 | |
2228 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する | |
2229 | XS コードのバグによるものです。 | |
1602 | 2230 | |
1603 | =item Can't do inplace edit | |
2231 | =item Can't do inplace edit: %s is not a regular file | |
1604 | 2232 | |
1605 | 2233 | =begin original |
1606 | 2234 | |
1607 | ( | |
2235 | (S inplace) You tried to use the B<-i> switch on a special file, such as | |
1608 | ||
2236 | a file in /dev, a FIFO or an uneditable directory. The file was ignored. | |
1609 | C<-i.bak>, or some such. | |
1610 | 2237 | |
1611 | 2238 | =end original |
1612 | 2239 | |
1613 | ( | |
2240 | (S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して | |
1614 | ||
2241 | B<-i> スイッチを使おうとしました。 | |
1615 | ||
2242 | このファイルは無視されます。 | |
1616 | 2243 | |
2244 | =item Can't do inplace edit on %s: %s | |
2245 | ||
2246 | =begin original | |
2247 | ||
2248 | (S inplace) The creation of the new file failed for the indicated | |
2249 | reason. | |
2250 | ||
2251 | =end original | |
2252 | ||
2253 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 | |
2254 | ||
1617 | 2255 | =item Can't do inplace edit: %s would not be unique |
1618 | 2256 | |
1619 | 2257 | =begin original |
1620 | 2258 | |
1621 | 2259 | (S inplace) Your filesystem does not support filenames longer than 14 |
1622 | 2260 | characters and Perl was unable to create a unique filename during |
1623 | 2261 | inplace editing with the B<-i> switch. The file was ignored. |
1624 | 2262 | |
1625 | 2263 | =end original |
1626 | 2264 | |
1627 | 2265 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1628 | 2266 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1629 | 2267 | 作成ができませんでした。 |
1630 | 2268 | このファイルは無視されます。 |
1631 | 2269 | |
1632 | =item Can't do | |
2270 | =item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". | |
1633 | 2271 | |
1634 | 2272 | =begin original |
1635 | 2273 | |
1636 | ( | |
2274 | (W locale) You are 1) running under "C<use locale>"; 2) the current | |
1637 | ||
2275 | locale is not a UTF-8 one; 3) you tried to do the designated case-change | |
1638 | ||
2276 | operation on the specified Unicode character; and 4) the result of this | |
2277 | operation would mix Unicode and locale rules, which likely conflict. | |
2278 | Mixing of different rule types is forbidden, so the operation was not | |
2279 | done; instead the result is the indicated value, which is the best | |
2280 | available that uses entirely Unicode rules. That turns out to almost | |
2281 | always be the original character, unchanged. | |
1639 | 2282 | |
1640 | 2283 | =end original |
1641 | 2284 | |
1642 | ( | |
2285 | (W locale) あなたは 1) "C<use locale>" の基で実行していて; | |
1643 | ||
2286 | 2) 現在のロケールは UTF-8 ではなく; | |
1644 | ||
2287 | 3) 特定の Unicode 文字に指定された大文字小文字変換をしようとして; | |
1645 | ||
2288 | 4) この操作の結果、おそらく衝突する、Unicode とロケールの規則を混ぜました。 | |
1646 | ||
2289 | 異なる種類の規則を混ぜるのは禁止されているので、この操作は行われません; | |
2290 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を | |
2291 | 使うという、最も利用可能なものです。 | |
2292 | これは、ほとんど常に、元の文字を変更しないままにします。 | |
1647 | 2293 | |
2294 | =begin original | |
2295 | ||
2296 | It is generally a bad idea to mix non-UTF-8 locales and Unicode, and | |
2297 | this issue is one of the reasons why. This warning is raised when | |
2298 | Unicode rules would normally cause the result of this operation to | |
2299 | contain a character that is in the range specified by the locale, | |
2300 | 0..255, and hence is subject to the locale's rules, not Unicode's. | |
2301 | ||
2302 | =end original | |
2303 | ||
2304 | 非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、 | |
2305 | この問題はその理由の一つです。 | |
2306 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を | |
2307 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの | |
2308 | 規則を想定される場合に発生します。 | |
2309 | ||
2310 | =begin original | |
2311 | ||
2312 | If you are using locale purely for its characteristics related to things | |
2313 | like its numeric and time formatting (and not C<LC_CTYPE>), consider | |
2314 | using a restricted form of the locale pragma (see L<perllocale/The "use | |
2315 | locale" pragma>) like "S<C<use locale ':not_characters'>>". | |
2316 | ||
2317 | =end original | |
2318 | ||
2319 | ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに | |
2320 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 | |
2321 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された | |
2322 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを | |
2323 | 検討してください。 | |
2324 | ||
2325 | =begin original | |
2326 | ||
2327 | Note that failed case-changing operations done as a result of | |
2328 | case-insensitive C</i> regular expression matching will show up in this | |
2329 | warning as having the C<fc> operation (as that is what the regular | |
2330 | expression engine calls behind the scenes.) | |
2331 | ||
2332 | =end original | |
2333 | ||
2334 | 大文字小文字無視 C</i> 正規表現マッチングの結果として | |
2335 | 大文字小文字変換操作が失敗した場合、この警告は | |
2336 | C<fc> 操作に対して出力されることに注意してください | |
2337 | (正規表現エンジンが裏でこれを使っているからです。) | |
2338 | ||
1648 | 2339 | =item Can't do waitpid with flags |
1649 | 2340 | |
1650 | 2341 | =begin original |
1651 | 2342 | |
1652 | 2343 | (F) This machine doesn't have either waitpid() or wait4(), so only |
1653 | 2344 | waitpid() without flags is emulated. |
1654 | 2345 | |
1655 | 2346 | =end original |
1656 | 2347 | |
1657 | 2348 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
1658 | 2349 | フラグの無い waitpid() のみがエミュレート可能です。 |
1659 | 2350 | |
1660 | 2351 | =item Can't emulate -%s on #! line |
1661 | 2352 | |
1662 | 2353 | =begin original |
1663 | 2354 | |
1664 | 2355 | (F) The #! line specifies a switch that doesn't make sense at this |
1665 | 2356 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
1666 | 2357 | line. |
1667 | 2358 | |
1668 | 2359 | =end original |
1669 | 2360 | |
1670 | 2361 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
1671 | 2362 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
1672 | 2363 | |
1673 | 2364 | =item Can't %s %s-endian %ss on this platform |
1674 | 2365 | |
1675 | 2366 | =begin original |
1676 | 2367 | |
1677 | 2368 | (F) Your platform's byte-order is neither big-endian nor little-endian, |
1678 | 2369 | or it has a very strange pointer size. Packing and unpacking big- or |
1679 | 2370 | little-endian floating point values and pointers may not be possible. |
1680 | 2371 | See L<perlfunc/pack>. |
1681 | 2372 | |
1682 | 2373 | =end original |
1683 | 2374 | |
1684 | 2375 | (F) プラットフォームのバイト順序がビッグエンディアンでも |
1685 | 2376 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 |
1686 | 2377 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの |
1687 | 2378 | pack や unpack はできません。 |
1688 | 2379 | L<perlfunc/pack> を参照してください。 |
1689 | 2380 | |
1690 | 2381 | =item Can't exec "%s": %s |
1691 | 2382 | |
1692 | 2383 | =begin original |
1693 | 2384 | |
1694 | 2385 | (W exec) A system(), exec(), or piped open call could not execute the |
1695 | 2386 | named program for the indicated reason. Typical reasons include: the |
1696 | 2387 | permissions were wrong on the file, the file wasn't found in |
1697 | 2388 | C<$ENV{PATH}>, the executable in question was compiled for another |
1698 | 2389 | architecture, or the #! line in a script points to an interpreter that |
1699 | 2390 | can't be run for similar reasons. (Or maybe your system doesn't support |
1700 | 2391 | #! at all.) |
1701 | 2392 | |
1702 | 2393 | =end original |
1703 | 2394 | |
1704 | 2395 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
1705 | 2396 | 呼び出しの指定されたプログラムが実行できませんでした。 |
1706 | 2397 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
1707 | 2398 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
1708 | 2399 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
1709 | 2400 | インタプリタを指している、というようなものがあります。 |
1710 | 2401 | (あるいは、このシステムで、#! がサポートされていません。) |
1711 | 2402 | |
1712 | 2403 | =item Can't exec %s |
1713 | 2404 | |
1714 | 2405 | =begin original |
1715 | 2406 | |
1716 | 2407 | (F) Perl was trying to execute the indicated program for you because |
1717 | 2408 | that's what the #! line said. If that's not what you wanted, you may |
1718 | 2409 | need to mention "perl" on the #! line somewhere. |
1719 | 2410 | |
1720 | 2411 | =end original |
1721 | 2412 | |
1722 | 2413 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
1723 | 2414 | 実行しようとしました。 |
1724 | 2415 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
1725 | 2416 | |
1726 | 2417 | =item Can't execute %s |
1727 | 2418 | |
1728 | 2419 | =begin original |
1729 | 2420 | |
1730 | 2421 | (F) You used the B<-S> switch, but the copies of the script to execute |
1731 | 2422 | found in the PATH did not have correct permissions. |
1732 | 2423 | |
1733 | 2424 | =end original |
1734 | 2425 | |
1735 | 2426 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
1736 | 2427 | 正しいパーミッションではありませんでした。 |
1737 | 2428 | |
1738 | 2429 | =item Can't find an opnumber for "%s" |
1739 | 2430 | |
1740 | 2431 | =begin original |
1741 | 2432 | |
1742 | 2433 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
1743 | 2434 | is no builtin with the name C<word>. |
1744 | 2435 | |
1745 | 2436 | =end original |
1746 | 2437 | |
1747 | 2438 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
1748 | 2439 | 名前 C<word> は組み込みではありません。 |
1749 | 2440 | |
1750 | =item Can't find %s character property "%s" | |
1751 | ||
1752 | =begin original | |
1753 | ||
1754 | (F) You used C<\p{}> or C<\P{}> but the character property by that name | |
1755 | could not be found. Maybe you misspelled the name of the property? | |
1756 | See L<perluniprops/Properties accessible through \p{} and \P{}> | |
1757 | for a complete list of available properties. | |
1758 | ||
1759 | =end original | |
1760 | ||
1761 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字プロパティは | |
1762 | 見つかりませんでした。 | |
1763 | おそらくプロパティ名をタイプミスしたのでは? | |
1764 | 利用可能なプロパティの完全なリストは | |
1765 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
1766 | 参照してください。 | |
1767 | ||
1768 | 2441 | =item Can't find label %s |
1769 | 2442 | |
1770 | 2443 | =begin original |
1771 | 2444 | |
1772 | 2445 | (F) You said to goto a label that isn't mentioned anywhere that it's |
1773 | 2446 | possible for us to go to. See L<perlfunc/goto>. |
1774 | 2447 | |
1775 | 2448 | =end original |
1776 | 2449 | |
1777 | 2450 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
1778 | 2451 | L<perlfunc/goto> を参照してください。 |
1779 | 2452 | |
1780 | 2453 | =item Can't find %s on PATH |
1781 | 2454 | |
1782 | 2455 | =begin original |
1783 | 2456 | |
1784 | 2457 | (F) You used the B<-S> switch, but the script to execute could not be |
1785 | 2458 | found in the PATH. |
1786 | 2459 | |
1787 | 2460 | =end original |
1788 | 2461 | |
1789 | 2462 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
1790 | 2463 | 見つかりませんでした。 |
1791 | 2464 | |
1792 | 2465 | =item Can't find %s on PATH, '.' not in PATH |
1793 | 2466 | |
1794 | 2467 | =begin original |
1795 | 2468 | |
1796 | 2469 | (F) You used the B<-S> switch, but the script to execute could not be |
1797 | 2470 | found in the PATH, or at least not with the correct permissions. The |
1798 | 2471 | script exists in the current directory, but PATH prohibits running it. |
1799 | 2472 | |
1800 | 2473 | =end original |
1801 | 2474 | |
1802 | 2475 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
1803 | 2476 | 見つからないか、少なくとも適切なパーミッションがありません。 |
1804 | 2477 | スクリプトはカレントディレクトリにはありますが、PATH に |
1805 | 2478 | カレントディレクトリは含まれていません。 |
1806 | 2479 | |
1807 | 2480 | =item Can't find string terminator %s anywhere before EOF |
1808 | 2481 | |
1809 | 2482 | =begin original |
1810 | 2483 | |
1811 | 2484 | (F) Perl strings can stretch over multiple lines. This message means |
1812 | 2485 | that the closing delimiter was omitted. Because bracketed quotes count |
1813 | 2486 | nesting levels, the following is missing its final parenthesis: |
1814 | 2487 | |
1815 | 2488 | =end original |
1816 | 2489 | |
1817 | 2490 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
1818 | 2491 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
1819 | 2492 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが |
1820 | 2493 | 無いと言われます: |
1821 | 2494 | |
1822 | 2495 | print q(The character '(' starts a side comment.); |
1823 | 2496 | |
1824 | 2497 | =begin original |
1825 | 2498 | |
1826 | 2499 | If you're getting this error from a here-document, you may have |
1827 | 2500 | included unseen whitespace before or after your closing tag or there |
1828 | 2501 | may not be a linebreak after it. A good programmer's editor will have |
1829 | 2502 | a way to help you find these characters (or lack of characters). See |
1830 | 2503 | L<perlop> for the full details on here-documents. |
1831 | 2504 | |
1832 | 2505 | =end original |
1833 | 2506 | |
1834 | 2507 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
1835 | 2508 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 |
1836 | 2509 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す |
1837 | 2510 | 助けになる方法があります。 |
1838 | 2511 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 |
1839 | 2512 | |
1840 | 2513 | =item Can't find Unicode property definition "%s" |
1841 | 2514 | |
2515 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
2516 | ||
1842 | 2517 | =begin original |
1843 | 2518 | |
1844 | (F) | |
2519 | (F) The named property which you specified via C<\p> or C<\P> is not one | |
1845 | ||
2520 | known to Perl. Perhaps you misspelled the name? See | |
1846 | letters). If you did mean to use a Unicode property, see | |
1847 | 2521 | L<perluniprops/Properties accessible through \p{} and \P{}> |
1848 | for a complete list of available | |
2522 | for a complete list of available official | |
1849 | ||
2523 | properties. If it is a | |
1850 | ||
2524 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
1851 | until | |
2525 | it must have been defined by the time the regular expression is | |
2526 | matched. | |
1852 | 2527 | |
1853 | 2528 | =end original |
1854 | 2529 | |
1855 | (F) | |
2530 | (F) | |
1856 | ||
2531 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
1857 | ||
2532 | おそらく名前をタイプミスしたのでは? | |
1858 | ||
2533 | 公式に利用可能な特性の完全な一覧については | |
2534 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
1859 | 2535 | 参照してください。 |
2536 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
2537 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
2538 | ||
2539 | =begin original | |
2540 | ||
2541 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
2542 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
2543 | until C<\E>). | |
2544 | ||
2545 | =end original | |
2546 | ||
1860 | 2547 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または |
1861 | 2548 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を |
1862 | 2549 | エスケープしてください。 |
1863 | 2550 | |
1864 | 2551 | =item Can't fork: %s |
1865 | 2552 | |
1866 | 2553 | =begin original |
1867 | 2554 | |
1868 | 2555 | (F) A fatal error occurred while trying to fork while opening a |
1869 | 2556 | pipeline. |
1870 | 2557 | |
1871 | 2558 | =end original |
1872 | 2559 | |
1873 | 2560 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
1874 | 2561 | 致命的エラーが発生しました。 |
1875 | 2562 | |
1876 | 2563 | =item Can't fork, trying again in 5 seconds |
1877 | 2564 | |
1878 | 2565 | =begin original |
1879 | 2566 | |
1880 | 2567 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried |
1881 | 2568 | after five seconds. |
1882 | 2569 | |
1883 | 2570 | =end original |
1884 | 2571 | |
1885 | 2572 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に |
1886 | 2573 | 再試行されます。 |
1887 | 2574 | |
1888 | 2575 | =item Can't get filespec - stale stat buffer? |
1889 | 2576 | |
1890 | 2577 | =begin original |
1891 | 2578 | |
1892 | 2579 | (S) A warning peculiar to VMS. This arises because of the difference |
1893 | 2580 | between access checks under VMS and under the Unix model Perl assumes. |
1894 | 2581 | Under VMS, access checks are done by filename, rather than by bits in |
1895 | 2582 | the stat buffer, so that ACLs and other protections can be taken into |
1896 | 2583 | account. Unfortunately, Perl assumes that the stat buffer contains all |
1897 | 2584 | the necessary information, and passes it, instead of the filespec, to |
1898 | 2585 | the access-checking routine. It will try to retrieve the filespec using |
1899 | 2586 | the device name and FID present in the stat buffer, but this works only |
1900 | 2587 | if you haven't made a subsequent call to the CRTL stat() routine, |
1901 | 2588 | because the device name is overwritten with each call. If this warning |
1902 | 2589 | appears, the name lookup failed, and the access-checking routine gave up |
1903 | 2590 | and returned FALSE, just to be conservative. (Note: The access-checking |
1904 | 2591 | routine knows about the Perl C<stat> operator and file tests, so you |
1905 | 2592 | shouldn't ever see this warning in response to a Perl command; it arises |
1906 | 2593 | only if some internal code takes stat buffers lightly.) |
1907 | 2594 | |
1908 | 2595 | =end original |
1909 | 2596 | |
1910 | 2597 | (S) VMS に固有の警告です。 |
1911 | 2598 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
1912 | 2599 | あることによって起こります。 |
1913 | 2600 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
1914 | 2601 | 行われるので、ACL やその他の保護が考慮されます。 |
1915 | 2602 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
1916 | 2603 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
1917 | 2604 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
1918 | 2605 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
1919 | 2606 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
1920 | 2607 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
1921 | 2608 | 安全のためだけに FALSE を返します。 |
1922 | 2609 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
1923 | 2610 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
1924 | 2611 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
1925 | 2612 | 発生します。) |
1926 | 2613 | |
1927 | 2614 | =item Can't get pipe mailbox device name |
1928 | 2615 | |
1929 | 2616 | =begin original |
1930 | 2617 | |
1931 | 2618 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
1932 | 2619 | pipe, Perl can't retrieve its name for later use. |
1933 | 2620 | |
1934 | 2621 | =end original |
1935 | 2622 | |
1936 | 2623 | (P) VMS に固有のエラーです。 |
1937 | 2624 | パイプとして働くメールボックスの作成後、後で使うための名前を |
1938 | 2625 | Perl が取得できませんでした。 |
1939 | 2626 | |
1940 | 2627 | =item Can't get SYSGEN parameter value for MAXBUF |
1941 | 2628 | |
1942 | 2629 | =begin original |
1943 | 2630 | |
1944 | 2631 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
1945 | 2632 | mailbox buffers to be, and didn't get an answer. |
1946 | 2633 | |
1947 | 2634 | =end original |
1948 | 2635 | |
1949 | 2636 | (P) VMS に固有のエラーです。 |
1950 | 2637 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
1951 | 2638 | 問い合わせましたが、答えが得られませんでした。 |
1952 | 2639 | |
2640 | =item Can't "goto" into a binary or list expression | |
2641 | ||
2642 | =begin original | |
2643 | ||
2644 | (F) A "goto" statement was executed to jump into the middle of a binary | |
2645 | or list expression. You can't get there from here. The reason for this | |
2646 | restriction is that the interpreter would get confused as to how many | |
2647 | arguments there are, resulting in stack corruption or crashes. This | |
2648 | error occurs in cases such as these: | |
2649 | ||
2650 | =end original | |
2651 | ||
2652 | (F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。 | |
2653 | ここからそこへは行けません。 | |
2654 | この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、 | |
2655 | 結果としてスタックは解約ラッシュを引き起こすからです。 | |
2656 | このエラーは次のような場合に起こります: | |
2657 | ||
2658 | goto F; | |
2659 | print do { F: }; # Can't jump into the arguments to print | |
2660 | ||
2661 | goto G; | |
2662 | $x + do { G: $y }; # How is + supposed to get its first operand? | |
2663 | ||
2664 | =item Can't "goto" into a "defer" block | |
2665 | ||
2666 | =begin original | |
2667 | ||
2668 | (F) A C<goto> statement was executed to jump into the scope of a C<defer> | |
2669 | block. This is not permitted. | |
2670 | ||
2671 | =end original | |
2672 | ||
2673 | (F) C<defer> ブロックの中に飛び込むような C<goto> 文が実行されました。 | |
2674 | これは許されていません。 | |
2675 | ||
2676 | =item Can't "goto" into a "given" block | |
2677 | ||
2678 | =begin original | |
2679 | ||
2680 | (F) A "goto" statement was executed to jump into the middle of a C<given> | |
2681 | block. You can't get there from here. See L<perlfunc/goto>. | |
2682 | ||
2683 | =end original | |
2684 | ||
2685 | (F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。 | |
2686 | ここからそこへは行けません。 | |
2687 | L<perlfunc/goto> を参照してください。 | |
2688 | ||
1953 | 2689 | =item Can't "goto" into the middle of a foreach loop |
1954 | 2690 | |
1955 | 2691 | =begin original |
1956 | 2692 | |
1957 | 2693 | (F) A "goto" statement was executed to jump into the middle of a foreach |
1958 | 2694 | loop. You can't get there from here. See L<perlfunc/goto>. |
1959 | 2695 | |
1960 | 2696 | =end original |
1961 | 2697 | |
1962 | 2698 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
1963 | 2699 | ここからそこへは行けません。 |
1964 | 2700 | L<perlfunc/goto> を参照してください。 |
1965 | 2701 | |
1966 | 2702 | =item Can't "goto" out of a pseudo block |
1967 | 2703 | |
1968 | 2704 | =begin original |
1969 | 2705 | |
1970 | 2706 | (F) A "goto" statement was executed to jump out of what might look like |
1971 | 2707 | a block, except that it isn't a proper block. This usually occurs if |
1972 | 2708 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
1973 | 2709 | See L<perlfunc/goto>. |
1974 | 2710 | |
1975 | 2711 | =end original |
1976 | 2712 | |
1977 | 2713 | (F) "goto" 文でブロックのように見えるけれども、適切な |
1978 | 2714 | ブロックではないところから飛び出そうとしました。 |
1979 | 2715 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
1980 | 2716 | 起きますが、それはできません。 |
1981 | 2717 | L<perlfunc/goto> を参照してください。 |
1982 | 2718 | |
1983 | =item Can't goto subroutine from a | |
2719 | =item Can't goto subroutine from an eval-%s | |
1984 | 2720 | |
1985 | 2721 | =begin original |
1986 | 2722 | |
1987 | (F) The "goto subroutine" call can't be used to jump out of | |
2723 | (F) The "goto subroutine" call can't be used to jump out of an eval | |
1988 | ||
2724 | "string" or block. | |
1989 | as the reduce() function in List::Util). | |
1990 | 2725 | |
1991 | 2726 | =end original |
1992 | 2727 | |
1993 | (F) "goto subroutine" 呼び出しは | |
2728 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから | |
1994 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
1995 | 2729 | 飛び出すことはできません。 |
1996 | 2730 | |
1997 | =item Can't goto subroutine from a | |
2731 | =item Can't goto subroutine from a sort sub (or similar callback) | |
1998 | 2732 | |
1999 | 2733 | =begin original |
2000 | 2734 | |
2001 | (F) The "goto subroutine" call can't be used to jump out of | |
2735 | (F) The "goto subroutine" call can't be used to jump out of the | |
2002 | ||
2736 | comparison sub for a sort(), or from a similar callback (such | |
2737 | as the reduce() function in List::Util). | |
2003 | 2738 | |
2004 | 2739 | =end original |
2005 | 2740 | |
2006 | (F) "goto subroutine" 呼び出しは | |
2741 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
2742 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
2007 | 2743 | 飛び出すことはできません。 |
2008 | 2744 | |
2009 | 2745 | =item Can't goto subroutine outside a subroutine |
2010 | 2746 | |
2011 | 2747 | =begin original |
2012 | 2748 | |
2013 | 2749 | (F) The deeply magical "goto subroutine" call can only replace one |
2014 | 2750 | subroutine call for another. It can't manufacture one out of whole |
2015 | 2751 | cloth. In general you should be calling it out of only an AUTOLOAD |
2016 | 2752 | routine anyway. See L<perlfunc/goto>. |
2017 | 2753 | |
2018 | 2754 | =end original |
2019 | 2755 | |
2020 | 2756 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン |
2021 | 2757 | 呼び出しを別のもので置き換えるだけです。 |
2022 | 2758 | 反物の状態から作り上げることはできません。 |
2023 | 2759 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
2024 | 2760 | しておくべきです。 |
2025 | 2761 | L<perlfunc/goto> を参照してください。 |
2026 | 2762 | |
2027 | 2763 | =item Can't ignore signal CHLD, forcing to default |
2028 | 2764 | |
2029 | 2765 | =begin original |
2030 | 2766 | |
2031 | 2767 | (W signal) Perl has detected that it is being run with the SIGCHLD |
2032 | 2768 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
2033 | 2769 | signal will interfere with proper determination of exit status of child |
2034 | 2770 | processes, Perl has reset the signal to its default value. This |
2035 | 2771 | situation typically indicates that the parent program under which Perl |
2036 | 2772 | may be running (e.g. cron) is being very careless. |
2037 | 2773 | |
2038 | 2774 | =end original |
2039 | 2775 | |
2040 | 2776 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
2041 | 2777 | 無効化された状態で実行されていることを検出しました。 |
2042 | 2778 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
2043 | 2779 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
2044 | 2780 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
2045 | 2781 | とても不注意であることを示しています。 |
2046 | 2782 | |
2047 | 2783 | =item Can't kill a non-numeric process ID |
2048 | 2784 | |
2049 | 2785 | =begin original |
2050 | 2786 | |
2051 | 2787 | (F) Process identifiers must be (signed) integers. It is a fatal error to |
2052 | 2788 | attempt to kill() an undefined, empty-string or otherwise non-numeric |
2053 | 2789 | process identifier. |
2054 | 2790 | |
2055 | 2791 | =end original |
2056 | 2792 | |
2057 | 2793 | (F) プロセス識別子は(符号付き)整数でなければなりません。 |
2058 | 2794 | 未定義値、空文字列、その他の非数値プロセス識別子を使って |
2059 | 2795 | kill() しようとすることは致命的エラーです。 |
2060 | 2796 | |
2061 | 2797 | =item Can't "last" outside a loop block |
2062 | 2798 | |
2063 | 2799 | =begin original |
2064 | 2800 | |
2065 | 2801 | (F) A "last" statement was executed to break out of the current block, |
2066 | 2802 | except that there's this itty bitty problem called there isn't a current |
2067 | 2803 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
2068 | 2804 | block, as doesn't a block given to sort(), map() or grep(). You can |
2069 | 2805 | usually double the curlies to get the same effect though, because the |
2070 | 2806 | inner curlies will be considered a block that loops once. See |
2071 | 2807 | L<perlfunc/last>. |
2072 | 2808 | |
2073 | 2809 | =end original |
2074 | 2810 | |
2075 | 2811 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
2076 | 2812 | 残念なことにブロックの中ではありませんでした。 |
2077 | 2813 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2078 | 2814 | 同様「ループ風」ブロックではないので、注意してください。 |
2079 | 2815 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2080 | 2816 | ブロックとみなされますから、同じ効果が得られます。 |
2081 | 2817 | L<perlfunc/last> を参照してください。 |
2082 | 2818 | |
2083 | 2819 | =item Can't linearize anonymous symbol table |
2084 | 2820 | |
2085 | 2821 | =begin original |
2086 | 2822 | |
2087 | 2823 | (F) Perl tried to calculate the method resolution order (MRO) of a |
2088 | 2824 | package, but failed because the package stash has no name. |
2089 | 2825 | |
2090 | 2826 | =end original |
2091 | 2827 | |
2092 | 2828 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 |
2093 | 2829 | パッケージ stash に名前がないので失敗しました。 |
2094 | 2830 | |
2095 | 2831 | =item Can't load '%s' for module %s |
2096 | 2832 | |
2097 | 2833 | =begin original |
2098 | 2834 | |
2099 | (F) The module you tried to load failed to load a dynamic extension. | |
2835 | (F) The module you tried to load failed to load a dynamic extension. | |
2100 | may either mean that you upgraded your version of perl to one | |
2836 | This may either mean that you upgraded your version of perl to one | |
2101 | incompatible with your old dynamic extensions (which is know | |
2837 | that is incompatible with your old dynamic extensions (which is known | |
2102 | between major versions of perl), or (more likely) that your | |
2838 | to happen between major versions of perl), or (more likely) that your | |
2103 | extension was built against an older version of the library | |
2839 | dynamic extension was built against an older version of the library | |
2104 | installed on your system. You may need to rebuild your old | |
2840 | that is installed on your system. You may need to rebuild your old | |
2105 | extensions. | |
2841 | dynamic extensions. | |
2106 | 2842 | |
2107 | 2843 | =end original |
2108 | 2844 | |
2109 | 2845 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに |
2110 | 2846 | 失敗しました。 |
2111 | 2847 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか |
2112 | 2848 | (これは perl のメジャーバージョン間で起きることが知られています)、 |
2113 | 2849 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い |
2114 | 2850 | バージョンのライブラリに対してビルドされているかです。 |
2115 | 2851 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 |
2116 | 2852 | |
2117 | 2853 | =item Can't localize lexical variable %s |
2118 | 2854 | |
2119 | 2855 | =begin original |
2120 | 2856 | |
2121 | 2857 | (F) You used local on a variable name that was previously declared as a |
2122 | lexical variable using "my" or "state". This is not allowed. If you | |
2858 | lexical variable using "my" or "state". This is not allowed. If you | |
2123 | localize a package variable of the same name, qualify it with | |
2859 | want to localize a package variable of the same name, qualify it with | |
2124 | package name. | |
2860 | the package name. | |
2125 | 2861 | |
2126 | 2862 | =end original |
2127 | 2863 | |
2128 | 2864 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に |
2129 | 2865 | 対して local を使いました。 |
2130 | 2866 | これは認められていません。 |
2131 | 2867 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
2132 | 2868 | パッケージ名で修飾してください。 |
2133 | 2869 | |
2134 | 2870 | =item Can't localize through a reference |
2135 | 2871 | |
2136 | 2872 | =begin original |
2137 | 2873 | |
2138 | 2874 | (F) You said something like C<local $$ref>, which Perl can't currently |
2139 | 2875 | handle, because when it goes to restore the old value of whatever $ref |
2140 | 2876 | pointed to after the scope of the local() is finished, it can't be sure |
2141 | 2877 | that $ref will still be a reference. |
2142 | 2878 | |
2143 | 2879 | =end original |
2144 | 2880 | |
2145 | 2881 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
2146 | 2882 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
2147 | 2883 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
2148 | 2884 | わからないからです。 |
2149 | 2885 | |
2150 | 2886 | =item Can't locate %s |
2151 | 2887 | |
2152 | 2888 | =begin original |
2153 | 2889 | |
2154 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
2890 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found. | |
2155 | ||
2891 | Perl looks for the file in all the locations mentioned in @INC, unless | |
2156 | ||
2892 | the file name included the full path to the file. Perhaps you need | |
2157 | ||
2893 | to set the PERL5LIB or PERL5OPT environment variable to say where the | |
2158 | ||
2894 | extra library is, or maybe the script needs to add the library name | |
2159 | 2895 | to @INC. Or maybe you just misspelled the name of the file. See |
2160 | 2896 | L<perlfunc/require> and L<lib>. |
2161 | 2897 | |
2162 | 2898 | =end original |
2163 | 2899 | |
2164 | 2900 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
2165 | 2901 | 指示されましたが、見つかりませんでした。 |
2166 | 2902 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
2167 | 2903 | 全ての場所を検索します。 |
2168 | 2904 | おそらく、追加ライブラリの場所を示すために、 |
2169 | 2905 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
2170 | 2906 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
2171 | 2907 | ファイル名のスペルミスの可能性もあります。 |
2172 | 2908 | L<perlfunc/require> と L<lib> を参照してください。 |
2173 | 2909 | |
2174 | 2910 | =item Can't locate auto/%s.al in @INC |
2175 | 2911 | |
2176 | 2912 | =begin original |
2177 | 2913 | |
2178 | 2914 | (F) A function (or method) was called in a package which allows |
2179 | 2915 | autoload, but there is no function to autoload. Most probable causes |
2180 | 2916 | are a misprint in a function/method name or a failure to C<AutoSplit> |
2181 | 2917 | the file, say, by doing C<make install>. |
2182 | 2918 | |
2183 | 2919 | =end original |
2184 | 2920 | |
2185 | 2921 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
2186 | 2922 | 呼び出されましたが、オートロードする関数がありませんでした。 |
2187 | 2923 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
2188 | 2924 | することによるファイルの C<AutoSplit> の失敗です。 |
2189 | 2925 | |
2190 | 2926 | =item Can't locate loadable object for module %s in @INC |
2191 | 2927 | |
2192 | 2928 | =begin original |
2193 | 2929 | |
2194 | 2930 | (F) The module you loaded is trying to load an external library, like |
2195 | for example, | |
2931 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was | |
2196 | 2932 | unable to locate this library. See L<DynaLoader>. |
2197 | 2933 | |
2198 | 2934 | =end original |
2199 | 2935 | |
2200 | (F) 読み込まれたモジュールは | |
2936 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 | |
2201 | 2937 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この |
2202 | 2938 | ライブラリの位置がわかりませんでした。 |
2203 | 2939 | L<DynaLoader> を参照してください。 |
2204 | 2940 | |
2205 | 2941 | =item Can't locate object method "%s" via package "%s" |
2206 | 2942 | |
2207 | 2943 | =begin original |
2208 | 2944 | |
2209 | 2945 | (F) You called a method correctly, and it correctly indicated a package |
2210 | 2946 | functioning as a class, but that package doesn't define that particular |
2211 | 2947 | method, nor does any of its base classes. See L<perlobj>. |
2212 | 2948 | |
2213 | 2949 | =end original |
2214 | 2950 | |
2215 | 2951 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2216 | 2952 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2217 | 2953 | 該当のメソッドが定義されていません。 |
2218 | 2954 | L<perlobj> を参照してください。 |
2219 | 2955 | |
2956 | =item Can't locate object method "%s" via package "%s" (perhaps you forgot | |
2957 | to load "%s"?) | |
2958 | ||
2959 | =begin original | |
2960 | ||
2961 | (F) You called a method on a class that did not exist, and the method | |
2962 | could not be found in UNIVERSAL. This often means that a method | |
2963 | requires a package that has not been loaded. | |
2964 | ||
2965 | =end original | |
2966 | ||
2967 | (F) 存在しないクラスメソッドを呼び出し、メソッドは | |
2968 | UNIVERSAL に見つかりませんでした。 | |
2969 | これはしばしばメソッドがまだロードされていないパッケージを | |
2970 | 要求していることを意味します。 | |
2971 | ||
2972 | =item Can't locate object method "INC", nor "INCDIR" nor string overload via package "%s" %s in @INC | |
2973 | ||
2974 | =begin original | |
2975 | ||
2976 | (F) You pushed an object, either directly or via an array reference hook, | |
2977 | into C<@INC>, but the object doesn't support any known hook methods, nor | |
2978 | a string overload and is also not a blessed CODE reference. In short the | |
2979 | C<require> function does not know what to do with the object. | |
2980 | See also L<perlfunc/require>. | |
2981 | ||
2982 | =end original | |
2983 | ||
2984 | (F) 直接、または配列リファレンスフック経由で、オブジェクトを C<@INC> に | |
2985 | プッシュしましたが、オブジェクトは既知のフックメソッドや | |
2986 | 文字列オーバーロードに対応して折らず、bless されたコードリファレンスでも | |
2987 | ありませんでした。 | |
2988 | 簡単に言うと、C<require> 関数はこのオブジェクトに対してどうすればいいか | |
2989 | 分かりませんでした。 | |
2990 | L<perlfunc/require> も参照してください。 | |
2991 | ||
2992 | =item Attempt to call undefined %s method with arguments ("%s"%s) | |
2993 | via package "%s" (Perhaps you forgot to load the package?) | |
2994 | ||
2995 | =begin original | |
2996 | ||
2997 | (D deprecated::missing_import_called_with_args) You called the | |
2998 | C<import()> or C<unimport()> method of a class that has no import method | |
2999 | defined in its inheritance graph, and passed an argument to the method. | |
3000 | This is very often the sign of a mispelled package name in a use or | |
3001 | require statement that has silently succeded due to a case insensitive | |
3002 | file system. | |
3003 | ||
3004 | =end original | |
3005 | ||
3006 | (D deprecated::missing_import_called_with_args) 継承グラフに | |
3007 | import メソッドが定義されていないクラスの C<import()> または | |
3008 | C<unimport()> メソッドを呼び出し、そのメソッドに引数を渡しました。 | |
3009 | これは、大文字と小文字を区別しないファイルシステムのために | |
3010 | 暗黙的に成功した use または require 文内のミススペルされた | |
3011 | パッケージ名の兆候であることがよくあります。 | |
3012 | ||
3013 | =begin original | |
3014 | ||
3015 | Another common reason this may happen is when mistakenly attempting to | |
3016 | import or unimport a symbol from a class definition or package which | |
3017 | does not use C<Exporter> or otherwise define its own C<import> or | |
3018 | C<unimport> method. | |
3019 | ||
3020 | =end original | |
3021 | ||
3022 | これが発生するもう一つの一般的な理由は、C<Exporter> を使っていないか、 | |
3023 | 独自の C<import> または C<unimport> メソッドを定義している | |
3024 | クラス定義またはパッケージからシンボルを誤ってインポートまたは | |
3025 | インポート解除しようとした場合です。 | |
3026 | ||
2220 | 3027 | =item Can't locate package %s for @%s::ISA |
2221 | 3028 | |
2222 | 3029 | =begin original |
2223 | 3030 | |
2224 | 3031 | (W syntax) The @ISA array contained the name of another package that |
2225 | 3032 | doesn't seem to exist. |
2226 | 3033 | |
2227 | 3034 | =end original |
2228 | 3035 | |
2229 | 3036 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
2230 | 3037 | 存在していないようです。 |
2231 | 3038 | |
2232 | 3039 | =item Can't locate PerlIO%s |
2233 | 3040 | |
2234 | 3041 | =begin original |
2235 | 3042 | |
2236 | 3043 | (F) You tried to use in open() a PerlIO layer that does not exist, |
2237 | 3044 | e.g. open(FH, ">:nosuchlayer", "somefile"). |
2238 | 3045 | |
2239 | 3046 | =end original |
2240 | 3047 | |
2241 | 3048 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 |
2242 | 3049 | open() で 存在しない PerlIO 層を使おうとしました。 |
2243 | 3050 | |
2244 | =item Can't make list assignment to | |
3051 | =item Can't make list assignment to %ENV on this system | |
2245 | 3052 | |
2246 | 3053 | =begin original |
2247 | 3054 | |
2248 | 3055 | (F) List assignment to %ENV is not supported on some systems, notably |
2249 | 3056 | VMS. |
2250 | 3057 | |
2251 | 3058 | =end original |
2252 | 3059 | |
2253 | 3060 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2254 | 3061 | 対応していません。 |
2255 | 3062 | |
2256 | =item Can't mod | |
3063 | =item Can't make loaded symbols global on this platform while loading %s | |
2257 | 3064 | |
2258 | 3065 | =begin original |
2259 | 3066 | |
2260 | ( | |
3067 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
2261 | to | |
3068 | that symbols from the stated file are made available globally within the | |
3069 | process, but that functionality is not available on this platform. Whilst | |
3070 | the module likely will still work, this may prevent the perl interpreter | |
3071 | from loading other XS-based extensions which need to link directly to | |
3072 | functions defined in the C or XS code in the stated file. | |
2262 | 3073 | |
2263 | 3074 | =end original |
2264 | 3075 | |
2265 | ( | |
3076 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
3077 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
3078 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
3079 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
3080 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
3081 | エクステンションの読み込みが妨げられるかもしれません。 | |
2266 | 3082 | |
2267 | =item Can't modify | |
3083 | =item Can't modify %s in %s | |
2268 | 3084 | |
2269 | 3085 | =begin original |
2270 | 3086 | |
2271 | ( | |
3087 | (F) You aren't allowed to assign to the item indicated, or otherwise try | |
2272 | a | |
3088 | to change it, such as with an auto-increment. | |
2273 | 3089 | |
2274 | 3090 | =end original |
2275 | 3091 | |
2276 | ( | |
3092 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 | |
2277 | 3093 | |
2278 | =item Can't modify non-lvalue subroutine call | |
3094 | =item Can't modify non-lvalue subroutine call of &%s | |
2279 | 3095 | |
3096 | =item Can't modify non-lvalue subroutine call of &%s in %s | |
3097 | ||
2280 | 3098 | =begin original |
2281 | 3099 | |
2282 | 3100 | (F) Subroutines meant to be used in lvalue context should be declared as |
2283 | 3101 | such. See L<perlsub/"Lvalue subroutines">. |
2284 | 3102 | |
2285 | 3103 | =end original |
2286 | 3104 | |
2287 | 3105 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2288 | 3106 | 宣言しなければなりません。 |
2289 | 3107 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2290 | 3108 | |
3109 | =item Can't modify reference to %s in %s assignment | |
3110 | ||
3111 | =begin original | |
3112 | ||
3113 | (F) Only a limited number of constructs can be used as the argument to a | |
3114 | reference constructor on the left-hand side of an assignment, and what | |
3115 | you used was not one of them. See L<perlref/Assigning to References>. | |
3116 | ||
3117 | =end original | |
3118 | ||
3119 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は | |
3120 | 一部に制限されていて、ここで使ったものはその一つではありません。 | |
3121 | L<perlref/Assigning to References> を参照してください。 | |
3122 | ||
3123 | =item Can't modify reference to localized parenthesized array in list | |
3124 | assignment | |
3125 | ||
3126 | =begin original | |
3127 | ||
3128 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as | |
3129 | it is not clear exactly what it should do. If you meant to make @array | |
3130 | refer to some other array, use C<\@array = \@other_array>. If you want to | |
3131 | make the elements of @array aliases of the scalars referenced on the | |
3132 | right-hand side, use C<\(@array) = @scalar_refs>. | |
3133 | ||
3134 | =end original | |
3135 | ||
3136 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; | |
3137 | 正確に何をするべきかが明確ではないからです。 | |
3138 | @array が他の配列を参照するようにすることを意味しているなら、 | |
3139 | C<\@array = \@other_array> を使ってください。 | |
3140 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
3141 | C<\(@array) = @scalar_refs> を使ってください。 | |
3142 | ||
3143 | =item Can't modify reference to parenthesized hash in list assignment | |
3144 | ||
3145 | =begin original | |
3146 | ||
3147 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash | |
3148 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to | |
3149 | make the elements of %hash into aliases of the scalars referenced on the | |
3150 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. | |
3151 | ||
3152 | =end original | |
3153 | ||
3154 | (F) C<\(%hash)> への代入は対応していません。 | |
3155 | %hash が他のハッシュを参照するようにすることを意味しているなら、 | |
3156 | C<\%hash = \%other_hash> を使ってください。 | |
3157 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
3158 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 | |
3159 | ||
2291 | 3160 | =item Can't msgrcv to read-only var |
2292 | 3161 | |
2293 | 3162 | =begin original |
2294 | 3163 | |
2295 | 3164 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2296 | 3165 | buffer. |
2297 | 3166 | |
2298 | 3167 | =end original |
2299 | 3168 | |
2300 | 3169 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2301 | 3170 | 変更可能なものでなければなりません。 |
2302 | 3171 | |
2303 | 3172 | =item Can't "next" outside a loop block |
2304 | 3173 | |
2305 | 3174 | =begin original |
2306 | 3175 | |
2307 | 3176 | (F) A "next" statement was executed to reiterate the current block, but |
2308 | 3177 | there isn't a current block. Note that an "if" or "else" block doesn't |
2309 | 3178 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2310 | 3179 | grep(). You can usually double the curlies to get the same effect |
2311 | 3180 | though, because the inner curlies will be considered a block that loops |
2312 | 3181 | once. See L<perlfunc/next>. |
2313 | 3182 | |
2314 | 3183 | =end original |
2315 | 3184 | |
2316 | 3185 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2317 | 3186 | ブロックの中ではありませんでした。 |
2318 | 3187 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2319 | 3188 | 同様「ループ風」ブロックではないので、注意してください。 |
2320 | 3189 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2321 | 3190 | ブロックとみなされますから、同じ効果が得られます。 |
2322 | 3191 | L<perlfunc/next> を参照してください。 |
2323 | 3192 | |
2324 | 3193 | =item Can't open %s: %s |
2325 | 3194 | |
2326 | 3195 | =begin original |
2327 | 3196 | |
2328 | 3197 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2329 | 3198 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2330 | switches, or explicitly, failed for the indicated reason. Usually | |
3199 | switches, or explicitly, failed for the indicated reason. Usually | |
2331 | is because you don't have read permission for a file which | |
3200 | this is because you don't have read permission for a file which | |
2332 | the command line. | |
3201 | you named on the command line. | |
2333 | 3202 | |
2334 | 3203 | =end original |
2335 | 3204 | |
2336 | 3205 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2337 | 3206 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2338 | 3207 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2339 | 3208 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2340 | 3209 | |
3210 | =begin original | |
3211 | ||
3212 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or | |
3213 | your operating system's equivalent) could not be opened. | |
3214 | ||
3215 | =end original | |
3216 | ||
3217 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> | |
3218 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 | |
3219 | ||
2341 | 3220 | =item Can't open a reference |
2342 | 3221 | |
2343 | 3222 | =begin original |
2344 | 3223 | |
2345 | 3224 | (W io) You tried to open a scalar reference for reading or writing, |
2346 | 3225 | using the 3-arg open() syntax: |
2347 | 3226 | |
2348 | 3227 | =end original |
2349 | 3228 | |
2350 | 3229 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは |
2351 | 3230 | 書き込みのために開こうとしました: |
2352 | 3231 | |
2353 | 3232 | open FH, '>', $ref; |
2354 | 3233 | |
2355 | 3234 | =begin original |
2356 | 3235 | |
2357 | 3236 | but your version of perl is compiled without perlio, and this form of |
2358 | 3237 | open is not supported. |
2359 | 3238 | |
2360 | 3239 | =end original |
2361 | 3240 | |
2362 | 3241 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 |
2363 | 3242 | この形式の open は対応していません。 |
2364 | 3243 | |
2365 | 3244 | =item Can't open bidirectional pipe |
2366 | 3245 | |
2367 | 3246 | =begin original |
2368 | 3247 | |
2369 | 3248 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
2370 | 3249 | You can try any of several modules in the Perl library to do this, such |
2371 | 3250 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
2372 | 3251 | ">", and then read it in under a different file handle. |
2373 | 3252 | |
2374 | 3253 | =end original |
2375 | 3254 | |
2376 | 3255 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
2377 | 3256 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
2378 | 3257 | モジュールを使うことができます。 |
2379 | 3258 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
2380 | 3259 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
2381 | 3260 | |
2382 | 3261 | =item Can't open error file %s as stderr |
2383 | 3262 | |
2384 | 3263 | =begin original |
2385 | 3264 | |
2386 | 3265 | (F) An error peculiar to VMS. Perl does its own command line |
2387 | 3266 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
2388 | 3267 | the command line for writing. |
2389 | 3268 | |
2390 | 3269 | =end original |
2391 | 3270 | |
2392 | 3271 | (F) VMS に固有のエラーです。 |
2393 | 3272 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2394 | 3273 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
2395 | 3274 | ファイルを開けませんでした。 |
2396 | 3275 | |
2397 | 3276 | =item Can't open input file %s as stdin |
2398 | 3277 | |
2399 | 3278 | =begin original |
2400 | 3279 | |
2401 | 3280 | (F) An error peculiar to VMS. Perl does its own command line |
2402 | 3281 | redirection, and couldn't open the file specified after '<' on the |
2403 | 3282 | command line for reading. |
2404 | 3283 | |
2405 | 3284 | =end original |
2406 | 3285 | |
2407 | 3286 | (F) VMS に固有のエラーです。 |
2408 | 3287 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2409 | 3288 | コマンドラインで読み込みのために '<' の後に指定された |
2410 | 3289 | ファイルを開けませんでした。 |
2411 | 3290 | |
2412 | 3291 | =item Can't open output file %s as stdout |
2413 | 3292 | |
2414 | 3293 | =begin original |
2415 | 3294 | |
2416 | 3295 | (F) An error peculiar to VMS. Perl does its own command line |
2417 | 3296 | redirection, and couldn't open the file specified after '>' or '>>' on |
2418 | 3297 | the command line for writing. |
2419 | 3298 | |
2420 | 3299 | =end original |
2421 | 3300 | |
2422 | 3301 | (F) VMS に固有のエラーです。 |
2423 | 3302 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2424 | 3303 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
2425 | 3304 | ファイルを開けませんでした。 |
2426 | 3305 | |
2427 | 3306 | =item Can't open output pipe (name: %s) |
2428 | 3307 | |
2429 | 3308 | =begin original |
2430 | 3309 | |
2431 | 3310 | (P) An error peculiar to VMS. Perl does its own command line |
2432 | 3311 | redirection, and couldn't open the pipe into which to send data destined |
2433 | 3312 | for stdout. |
2434 | 3313 | |
2435 | 3314 | =end original |
2436 | 3315 | |
2437 | 3316 | (P) VMS に固有のエラーです。 |
2438 | 3317 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2439 | 3318 | 標準出力としてデータを送るパイプを開けませんでした。 |
2440 | 3319 | |
2441 | =item Can't open perl script%s | |
3320 | =item Can't open perl script "%s": %s | |
2442 | 3321 | |
2443 | 3322 | =begin original |
2444 | 3323 | |
2445 | 3324 | (F) The script you specified can't be opened for the indicated reason. |
2446 | 3325 | |
2447 | 3326 | =end original |
2448 | 3327 | |
2449 | 3328 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2450 | 3329 | |
2451 | 3330 | =begin original |
2452 | 3331 | |
2453 | 3332 | If you're debugging a script that uses #!, and normally relies on the |
2454 | 3333 | shell's $PATH search, the -S option causes perl to do that search, so |
2455 | 3334 | you don't have to type the path or C<`which $scriptname`>. |
2456 | 3335 | |
2457 | 3336 | =end original |
2458 | 3337 | |
2459 | 3338 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に |
2460 | 3339 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 |
2461 | 3340 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 |
2462 | 3341 | |
2463 | 3342 | =item Can't read CRTL environ |
2464 | 3343 | |
2465 | 3344 | =begin original |
2466 | 3345 | |
2467 | 3346 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2468 | 3347 | from the CRTL's internal environment array and discovered the array was |
2469 | 3348 | missing. You need to figure out where your CRTL misplaced its environ |
2470 | 3349 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2471 | 3350 | searched. |
2472 | 3351 | |
2473 | 3352 | =end original |
2474 | 3353 | |
2475 | 3354 | (S) VMS に固有の警告です。 |
2476 | 3355 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2477 | 3356 | 配列がないことを発見しました。 |
2478 | 3357 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2479 | 3358 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2480 | 3359 | 必要があります。 |
2481 | 3360 | |
3361 | =item Can't redeclare "%s" in "%s" | |
3362 | ||
3363 | =begin original | |
3364 | ||
3365 | (F) A "my", "our" or "state" declaration was found within another declaration, | |
3366 | such as C<my ($x, my($y), $z)> or C<our (my $x)>. | |
3367 | ||
3368 | =end original | |
3369 | ||
3370 | (F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、 | |
3371 | "my", "our", "state" 宣言が他の宣言の中にありました。 | |
3372 | ||
2482 | 3373 | =item Can't "redo" outside a loop block |
2483 | 3374 | |
2484 | 3375 | =begin original |
2485 | 3376 | |
2486 | 3377 | (F) A "redo" statement was executed to restart the current block, but |
2487 | 3378 | there isn't a current block. Note that an "if" or "else" block doesn't |
2488 | 3379 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2489 | 3380 | or grep(). You can usually double the curlies to get the same effect |
2490 | 3381 | though, because the inner curlies will be considered a block that |
2491 | 3382 | loops once. See L<perlfunc/redo>. |
2492 | 3383 | |
2493 | 3384 | =end original |
2494 | 3385 | |
2495 | 3386 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2496 | 3387 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2497 | 3388 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2498 | 3389 | 同様「ループ風」ブロックではないので、注意してください。 |
2499 | 3390 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
2500 | 3391 | ブロックとみなされますから、同じ効果が得られます。 |
2501 | 3392 | L<perlfunc/redo> を参照してください。 |
2502 | 3393 | |
2503 | 3394 | =item Can't remove %s: %s, skipping file |
2504 | 3395 | |
2505 | 3396 | =begin original |
2506 | 3397 | |
2507 | 3398 | (S inplace) You requested an inplace edit without creating a backup |
2508 | 3399 | file. Perl was unable to remove the original file to replace it with |
2509 | 3400 | the modified file. The file was left unmodified. |
2510 | 3401 | |
2511 | 3402 | =end original |
2512 | 3403 | |
2513 | 3404 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2514 | 3405 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2515 | 3406 | できませんでした。 |
2516 | 3407 | ファイルは変更されずに残されます。 |
2517 | 3408 | |
3409 | =item Can't rename in-place work file '%s' to '%s': %s | |
3410 | ||
3411 | =begin original | |
3412 | ||
3413 | (F) When closed implicitly, the temporary file for in-place editing | |
3414 | couldn't be renamed to the original filename. | |
3415 | ||
3416 | =end original | |
3417 | ||
3418 | (F) その場編集のための一時ファイルが暗黙に閉じられたとき、 | |
3419 | 元のファイル名にリネームできませんでした。 | |
3420 | ||
2518 | 3421 | =item Can't rename %s to %s: %s, skipping file |
2519 | 3422 | |
2520 | 3423 | =begin original |
2521 | 3424 | |
2522 | ( | |
3425 | (F) The rename done by the B<-i> switch failed for some reason, | |
2523 | 3426 | probably because you don't have write permission to the directory. |
2524 | 3427 | |
2525 | 3428 | =end original |
2526 | 3429 | |
2527 | ( | |
3430 | (F) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
2528 | 3431 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 |
2529 | 3432 | |
2530 | 3433 | =item Can't reopen input pipe (name: %s) in binary mode |
2531 | 3434 | |
2532 | 3435 | =begin original |
2533 | 3436 | |
2534 | 3437 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
2535 | 3438 | to reopen it to accept binary data. Alas, it failed. |
2536 | 3439 | |
2537 | 3440 | =end original |
2538 | 3441 | |
2539 | 3442 | (P) VMS に固有のエラーです。 |
2540 | 3443 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
2541 | 3444 | 再オープンしようとしました。 |
2542 | 3445 | 悲しいかな、それは失敗しました。 |
2543 | 3446 | |
3447 | =item Can't represent character for Ox%X on this platform | |
3448 | ||
3449 | =begin original | |
3450 | ||
3451 | (F) There is a hard limit to how big a character code point can be due | |
3452 | to the fundamental properties of UTF-8, especially on EBCDIC | |
3453 | platforms. The given code point exceeds that. The only work-around is | |
3454 | to not use such a large code point. | |
3455 | ||
3456 | =end original | |
3457 | ||
3458 | (F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります; | |
3459 | これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。 | |
3460 | 指定された符号位置はそれを越えています。 | |
3461 | 唯一の回避策はそのような大きな符号位置を使わないことです。 | |
3462 | ||
3463 | =item Can't reset %ENV on this system | |
3464 | ||
3465 | =begin original | |
3466 | ||
3467 | (F) You called C<reset('E')> or similar, which tried to reset | |
3468 | all variables in the current package beginning with "E". In | |
3469 | the main package, that includes %ENV. Resetting %ENV is not | |
3470 | supported on some systems, notably VMS. | |
3471 | ||
3472 | =end original | |
3473 | ||
3474 | (F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる | |
3475 | 全ての変数を reset しようとしました。 | |
3476 | main パッケージでは、これには %ENV が含まれます。 | |
3477 | %ENV の reset は一部のシステム、特に VMS では対応していません。 | |
3478 | ||
2544 | 3479 | =item Can't resolve method "%s" overloading "%s" in package "%s" |
2545 | 3480 | |
2546 | 3481 | =begin original |
2547 | 3482 | |
2548 | (F | |
3483 | (F)(P) Error resolving overloading specified by a method name (as | |
2549 | to a subroutine reference): no such method callable via the | |
3484 | opposed to a subroutine reference): no such method callable via the | |
2550 | the method name is C<???>, this is an internal error. | |
3485 | package. If the method name is C<???>, this is an internal error. | |
2551 | 3486 | |
2552 | 3487 | =end original |
2553 | 3488 | |
2554 | (F | |
3489 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された | |
2555 | 3490 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
2556 | 3491 | 呼び出せません。 |
2557 | 3492 | もしメソッド名が C<???> なら、内部エラーです。 |
2558 | 3493 | |
2559 | 3494 | =item Can't return %s from lvalue subroutine |
2560 | 3495 | |
2561 | 3496 | =begin original |
2562 | 3497 | |
2563 | 3498 | (F) Perl detected an attempt to return illegal lvalues (such as |
2564 | 3499 | temporary or readonly values) from a subroutine used as an lvalue. This |
2565 | 3500 | is not allowed. |
2566 | 3501 | |
2567 | 3502 | =end original |
2568 | 3503 | |
2569 | 3504 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
2570 | 3505 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 |
2571 | 3506 | これは認められていません。 |
2572 | 3507 | |
2573 | 3508 | =item Can't return outside a subroutine |
2574 | 3509 | |
2575 | 3510 | =begin original |
2576 | 3511 | |
2577 | 3512 | (F) The return statement was executed in mainline code, that is, where |
2578 | 3513 | there was no subroutine call to return out of. See L<perlsub>. |
2579 | 3514 | |
2580 | 3515 | =end original |
2581 | 3516 | |
2582 | 3517 | (F) return 文が、return で抜けるべきサブルーチンがない、 |
2583 | 3518 | "main" コードで実行されました。 |
2584 | 3519 | L<perlsub> を参照してください。 |
2585 | 3520 | |
2586 | 3521 | =item Can't return %s to lvalue scalar context |
2587 | 3522 | |
2588 | 3523 | =begin original |
2589 | 3524 | |
2590 | (F) You tried to return a complete array or hash from an lvalue | |
3525 | (F) You tried to return a complete array or hash from an lvalue | |
2591 | but you called the subroutine in a way that made Perl | |
3526 | subroutine, but you called the subroutine in a way that made Perl | |
2592 | to return only one value. You probably meant to | |
3527 | think you meant to return only one value. You probably meant to | |
2593 | the call to the subroutine, which tell | |
3528 | write parentheses around the call to the subroutine, which tell | |
2594 | list context. | |
3529 | Perl that the call should be in list context. | |
2595 | 3530 | |
2596 | 3531 | =end original |
2597 | 3532 | |
2598 | 3533 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
2599 | 3534 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
2600 | 3535 | 呼び出しました。 |
2601 | 3536 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
2602 | 3537 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
2603 | 3538 | |
2604 | =item Can't stat script "%s" | |
2605 | ||
2606 | =begin original | |
2607 | ||
2608 | (P) For some reason you can't fstat() the script even though you have it | |
2609 | open already. Bizarre. | |
2610 | ||
2611 | =end original | |
2612 | ||
2613 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が | |
2614 | 行なえません。困ったもんだ。 | |
2615 | ||
2616 | 3539 | =item Can't take log of %g |
2617 | 3540 | |
2618 | 3541 | =begin original |
2619 | 3542 | |
2620 | 3543 | (F) For ordinary real numbers, you can't take the logarithm of a |
2621 | negative number or zero. There's a Math::Complex package that comes | |
3544 | negative number or zero. There's a Math::Complex package that comes | |
2622 | 3545 | standard with Perl, though, if you really want to do that for the |
2623 | 3546 | negative numbers. |
2624 | 3547 | |
2625 | 3548 | =end original |
2626 | 3549 | |
2627 | 3550 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
2628 | 3551 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
2629 | 3552 | Perl 標準になっている Math::Complex パッケージがあります。 |
2630 | 3553 | |
2631 | 3554 | =item Can't take sqrt of %g |
2632 | 3555 | |
2633 | 3556 | =begin original |
2634 | 3557 | |
2635 | 3558 | (F) For ordinary real numbers, you can't take the square root of a |
2636 | 3559 | negative number. There's a Math::Complex package that comes standard |
2637 | 3560 | with Perl, though, if you really want to do that. |
2638 | 3561 | |
2639 | 3562 | =end original |
2640 | 3563 | |
2641 | 3564 | (F) 通常の実数では、負数の平方根をとることはできません。 |
2642 | 3565 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
2643 | 3566 | Perl に標準で用意されています。 |
2644 | 3567 | |
2645 | 3568 | =item Can't undef active subroutine |
2646 | 3569 | |
2647 | 3570 | =begin original |
2648 | 3571 | |
2649 | 3572 | (F) You can't undefine a routine that's currently running. You can, |
2650 | 3573 | however, redefine it while it's running, and you can even undef the |
2651 | 3574 | redefined subroutine while the old routine is running. Go figure. |
2652 | 3575 | |
2653 | 3576 | =end original |
2654 | 3577 | |
2655 | 3578 | (F) 実行中のルーティンを未定義にすることはできません。 |
2656 | 3579 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
2657 | 3580 | 再定義したサブルーチンを undef することさえできます。 |
2658 | 3581 | 驚きです。 |
2659 | 3582 | |
3583 | =item Can't unweaken a nonreference | |
3584 | ||
3585 | =begin original | |
3586 | ||
3587 | (F) You attempted to unweaken something that was not a reference. Only | |
3588 | references can be unweakened. | |
3589 | ||
3590 | =end original | |
3591 | ||
3592 | (F) リファレンスでないものを弱くないようにしようとしました。 | |
3593 | リファレンスだけが弱くないようにできます。 | |
3594 | ||
2660 | 3595 | =item Can't upgrade %s (%d) to %d |
2661 | 3596 | |
2662 | 3597 | =begin original |
2663 | 3598 | |
2664 | 3599 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
2665 | 3600 | into a more specialized kind of SV. The top several SV types are so |
2666 | 3601 | specialized, however, that they cannot be interconverted. This message |
2667 | 3602 | indicates that such a conversion was attempted. |
2668 | 3603 | |
2669 | 3604 | =end original |
2670 | 3605 | |
2671 | 3606 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
2672 | 3607 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
2673 | 3608 | 特殊化され過ぎて、内部変換することができません。 |
2674 | 3609 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
2675 | 3610 | |
3611 | =item Can't use '%c' after -mname | |
3612 | ||
3613 | =begin original | |
3614 | ||
3615 | (F) You tried to call perl with the B<-m> switch, but you put something | |
3616 | other than "=" after the module name. | |
3617 | ||
3618 | =end original | |
3619 | ||
3620 | (F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に | |
3621 | "=" 以外のものを置きました。 | |
3622 | ||
3623 | =item Can't use a hash as a reference | |
3624 | ||
3625 | =begin original | |
3626 | ||
3627 | (F) You tried to use a hash as a reference, as in | |
3628 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl | |
3629 | <= 5.22.0 used to allow this syntax, but shouldn't | |
3630 | have. This was deprecated in perl 5.6.1. | |
3631 | ||
3632 | =end original | |
3633 | ||
3634 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 | |
3635 | ハッシュをリファレンスとして使おうとしました。 | |
3636 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3637 | そうするべきではありません。 | |
3638 | これは perl 5.6.1 から廃止予定です。 | |
3639 | ||
3640 | =item Can't use an array as a reference | |
3641 | ||
3642 | =begin original | |
3643 | ||
3644 | (F) You tried to use an array as a reference, as in | |
3645 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 | |
3646 | used to allow this syntax, but shouldn't have. This | |
3647 | was deprecated in perl 5.6.1. | |
3648 | ||
3649 | =end original | |
3650 | ||
3651 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 | |
3652 | 配列をリファレンスとして使おうとしました。 | |
3653 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3654 | そうするべきではありません。 | |
3655 | これは perl 5.6.1 から廃止予定です。 | |
3656 | ||
2676 | 3657 | =item Can't use anonymous symbol table for method lookup |
2677 | 3658 | |
2678 | 3659 | =begin original |
2679 | 3660 | |
2680 | 3661 | (F) The internal routine that does method lookup was handed a symbol |
2681 | 3662 | table that doesn't have a name. Symbol tables can become anonymous |
2682 | 3663 | for example by undefining stashes: C<undef %Some::Package::>. |
2683 | 3664 | |
2684 | 3665 | =end original |
2685 | 3666 | |
2686 | 3667 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを |
2687 | 3668 | 扱いました。 |
2688 | 3669 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の |
2689 | 3670 | stash によって無名となります。 |
2690 | 3671 | |
2691 | 3672 | =item Can't use an undefined value as %s reference |
2692 | 3673 | |
2693 | 3674 | =begin original |
2694 | 3675 | |
2695 | 3676 | (F) A value used as either a hard reference or a symbolic reference must |
2696 | 3677 | be a defined value. This helps to delurk some insidious errors. |
2697 | 3678 | |
2698 | 3679 | =end original |
2699 | 3680 | |
2700 | 3681 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
2701 | 3682 | 定義済みの値でなければなりません。 |
2702 | 3683 | 潜伏中のエラーを引きずり出す助けとなります。 |
2703 | 3684 | |
2704 | 3685 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
2705 | 3686 | |
2706 | 3687 | =begin original |
2707 | 3688 | |
2708 | 3689 | (F) Only hard references are allowed by "strict refs". Symbolic |
2709 | 3690 | references are disallowed. See L<perlref>. |
2710 | 3691 | |
2711 | 3692 | =end original |
2712 | 3693 | |
2713 | 3694 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
2714 | 3695 | シンボリックリファレンスは許可されません。 |
2715 | 3696 | L<perlref> を参照してください。 |
2716 | 3697 | |
2717 | 3698 | =item Can't use %! because Errno.pm is not available |
2718 | 3699 | |
2719 | 3700 | =begin original |
2720 | 3701 | |
2721 | (F) The first time the %! hash is used, perl automatically loads the | |
3702 | (F) The first time the C<%!> hash is used, perl automatically loads the | |
2722 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
3703 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
2723 | 3704 | provide symbolic names for C<$!> errno values. |
2724 | 3705 | |
2725 | 3706 | =end original |
2726 | 3707 | |
2727 | (F) 最初に %! ハッシュが使われるときに、 | |
3708 | (F) 最初に C<%!> ハッシュが使われるときに、 | |
2728 | 3709 | perl は自動的に Errno.pm モジュールを読み込みます。 |
2729 | 3710 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
2730 | 3711 | %! ハッシュと tie されることになります。 |
2731 | 3712 | |
2732 | 3713 | =item Can't use both '<' and '>' after type '%c' in %s |
2733 | 3714 | |
2734 | 3715 | =begin original |
2735 | 3716 | |
2736 | 3717 | (F) A type cannot be forced to have both big-endian and little-endian |
2737 | 3718 | byte-order at the same time, so this combination of modifiers is not |
2738 | 3719 | allowed. See L<perlfunc/pack>. |
2739 | 3720 | |
2740 | 3721 | =end original |
2741 | 3722 | |
2742 | 3723 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に |
2743 | 3724 | 強制することはできないので、この修飾子の組み合わせは許可されません。 |
2744 | 3725 | L<perlfunc/pack> を参照してください。 |
2745 | 3726 | |
3727 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) | |
3728 | ||
3729 | =begin original | |
3730 | ||
3731 | (F) defined() is not useful on arrays because it | |
3732 | checks for an undefined I<scalar> value. If you want to see if the | |
3733 | array is empty, just use C<if (@array) { # not empty }> for example. | |
3734 | ||
3735 | =end original | |
3736 | ||
3737 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 | |
3738 | 配列が空かどうかを調べたい場合は、例えば単に | |
3739 | C<if (@array) { # not empty }> としてください。 | |
3740 | ||
3741 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) | |
3742 | ||
3743 | =begin original | |
3744 | ||
3745 | (F) C<defined()> is not usually right on hashes. | |
3746 | ||
3747 | =end original | |
3748 | ||
3749 | (F) C<defined()> は普通はハッシュの右側ではありません。 | |
3750 | ||
3751 | =begin original | |
3752 | ||
3753 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
3754 | becomes true in several non-obvious circumstances, including iterators, | |
3755 | weak references, stash names, even remaining true after C<undef %hash>. | |
3756 | These things make C<defined %hash> fairly useless in practice, so it now | |
3757 | generates a fatal error. | |
3758 | ||
3759 | =end original | |
3760 | ||
3761 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
3762 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
3763 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
3764 | これらにより、実践では C<defined %hash> はほとんど使えないので、 | |
3765 | 致命的エラーを生成するようになりました。 | |
3766 | ||
3767 | =begin original | |
3768 | ||
3769 | If a check for non-empty is what you wanted then just put it in boolean | |
3770 | context (see L<perldata/Scalar values>): | |
3771 | ||
3772 | =end original | |
3773 | ||
3774 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
3775 | 置いてください (L<perldata/Scalar values> を参照してください): | |
3776 | ||
3777 | if (%hash) { | |
3778 | # not empty | |
3779 | } | |
3780 | ||
3781 | =begin original | |
3782 | ||
3783 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
3784 | variable exists then that's never really been reliable, and isn't | |
3785 | a good way to enquire about the features of a package, or whether | |
3786 | it's loaded, etc. | |
3787 | ||
3788 | =end original | |
3789 | ||
3790 | パッケージ変数が存在するかどうかを調べるために | |
3791 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
3792 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
3793 | 良い方法ではありません。 | |
3794 | ||
2746 | 3795 | =item Can't use %s for loop variable |
2747 | 3796 | |
2748 | 3797 | =begin original |
2749 | 3798 | |
2750 | ( | |
3799 | (P) The parser got confused when trying to parse a C<foreach> loop. | |
2751 | foreach. | |
2752 | 3800 | |
2753 | 3801 | =end original |
2754 | 3802 | |
2755 | ( | |
3803 | (P) パーサが C<foreach> ループをパースしようとしたときに混乱しました。 | |
2756 | 使用することができます。 | |
2757 | 3804 | |
2758 | =item Can't use global %s in | |
3805 | =item Can't use global %s in %s | |
2759 | 3806 | |
2760 | 3807 | =begin original |
2761 | 3808 | |
2762 | 3809 | (F) You tried to declare a magical variable as a lexical variable. This |
2763 | 3810 | is not allowed, because the magic can be tied to only one location |
2764 | 3811 | (namely the global variable) and it would be incredibly confusing to |
2765 | 3812 | have variables in your program that looked like magical variables but |
2766 | 3813 | weren't. |
2767 | 3814 | |
2768 | 3815 | =end original |
2769 | 3816 | |
2770 | 3817 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
2771 | 3818 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) |
2772 | 3819 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども |
2773 | 3820 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 |
2774 | 3821 | |
2775 | 3822 | =item Can't use '%c' in a group with different byte-order in %s |
2776 | 3823 | |
2777 | 3824 | =begin original |
2778 | 3825 | |
2779 | 3826 | (F) You attempted to force a different byte-order on a type |
2780 | 3827 | that is already inside a group with a byte-order modifier. |
2781 | 3828 | For example you cannot force little-endianness on a type that |
2782 | 3829 | is inside a big-endian group. |
2783 | 3830 | |
2784 | 3831 | =end original |
2785 | 3832 | |
2786 | 3833 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を |
2787 | 3834 | 強制しようとしました。 |
2788 | 3835 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに |
2789 | 3836 | 強制することはできません。 |
2790 | 3837 | |
2791 | 3838 | =item Can't use "my %s" in sort comparison |
2792 | 3839 | |
2793 | 3840 | =begin original |
2794 | 3841 | |
2795 | 3842 | (F) The global variables $a and $b are reserved for sort comparisons. |
2796 | 3843 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
2797 | 3844 | and the variable had earlier been declared as a lexical variable. |
2798 | 3845 | Either qualify the sort variable with the package name, or rename the |
2799 | 3846 | lexical variable. |
2800 | 3847 | |
2801 | 3848 | =end original |
2802 | 3849 | |
2803 | 3850 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
2804 | 3851 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
2805 | 3852 | その前にレキシカル変数として宣言されています。 |
2806 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
3853 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
2807 | 変更してください。 | |
2808 | 3854 | |
2809 | 3855 | =item Can't use %s ref as %s ref |
2810 | 3856 | |
2811 | 3857 | =begin original |
2812 | 3858 | |
2813 | 3859 | (F) You've mixed up your reference types. You have to dereference a |
2814 | 3860 | reference of the type needed. You can use the ref() function to |
2815 | 3861 | test the type of the reference, if need be. |
2816 | 3862 | |
2817 | 3863 | =end original |
2818 | 3864 | |
2819 | 3865 | (F) リファレンス型を混同しています。 |
2820 | 3866 | 必要な型のリファレンスを被参照しなければなりません。 |
2821 | 3867 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
2822 | 3868 | |
2823 | 3869 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
2824 | 3870 | |
3871 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use | |
3872 | ||
2825 | 3873 | =begin original |
2826 | 3874 | |
2827 | (F) | |
3875 | (F) You've told Perl to dereference a string, something which | |
2828 | ||
3876 | C<use strict> blocks to prevent it happening accidentally. See | |
3877 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
3878 | in a double-quoted string immediately before interpolating a variable, | |
3879 | for example in C<"user @$twitter_id">, which says to treat the contents | |
3880 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
3881 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
2829 | 3882 | |
2830 | 3883 | =end original |
2831 | 3884 | |
2832 | (F) | |
3885 | (F) 文字列をデリファレンスするように Perl に指示しましたが、 | |
2833 | ||
3886 | C<use strict> ブロックがこれが偶然起きることを妨げました。 | |
2834 | L<perlref> を参照してください。 | |
3887 | L<perlref/"Symbolic references"> を参照してください。 | |
3888 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
3889 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
3890 | 内容を配列リファレンスとして扱うように指示しています; | |
3891 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
3892 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
2835 | 3893 | |
2836 | 3894 | =item Can't use subscript on %s |
2837 | 3895 | |
2838 | 3896 | =begin original |
2839 | 3897 | |
2840 | 3898 | (F) The compiler tried to interpret a bracketed expression as a |
2841 | 3899 | subscript. But to the left of the brackets was an expression that |
2842 | 3900 | didn't look like a hash or array reference, or anything else subscriptable. |
2843 | 3901 | |
2844 | 3902 | =end original |
2845 | 3903 | |
2846 | 3904 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
2847 | 3905 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
2848 | 3906 | 添字化できるもののようには見えない式です。 |
2849 | 3907 | |
2850 | 3908 | =item Can't use \%c to mean $%c in expression |
2851 | 3909 | |
2852 | 3910 | =begin original |
2853 | 3911 | |
2854 | 3912 | (W syntax) In an ordinary expression, backslash is a unary operator that |
2855 | 3913 | creates a reference to its argument. The use of backslash to indicate a |
2856 | 3914 | backreference to a matched substring is valid only as part of a regular |
2857 | 3915 | expression pattern. Trying to do this in ordinary Perl code produces a |
2858 | 3916 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
2859 | 3917 | instead. |
2860 | 3918 | |
2861 | 3919 | =end original |
2862 | 3920 | |
2863 | 3921 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
2864 | 3922 | 単項演算子です。 |
2865 | 3923 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
2866 | 3924 | 正規表現パターンの一部の場合にのみ有効です。 |
2867 | 3925 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
2868 | 3926 | 表示される値を生成します。 |
2869 | 3927 | 代わりに $1 の形を使ってください。 |
2870 | 3928 | |
2871 | =item Can't | |
3929 | =item Can't weaken a nonreference | |
2872 | 3930 | |
2873 | 3931 | =begin original |
2874 | 3932 | |
3933 | (F) You attempted to weaken something that was not a reference. Only | |
3934 | references can be weakened. | |
3935 | ||
3936 | =end original | |
3937 | ||
3938 | (F) リファレンスではない何かを弱めようとしました。 | |
3939 | リファレンスだけが弱めることができます。 | |
3940 | ||
3941 | =item Can't "when" outside a topicalizer | |
3942 | ||
3943 | =begin original | |
3944 | ||
2875 | 3945 | (F) You have used a when() block that is neither inside a C<foreach> |
2876 | loop nor a C<given> block. (Note that this error is issued on exit | |
3946 | loop nor a C<given> block. (Note that this error is issued on exit | |
2877 | 3947 | from the C<when> block, so you won't get the error if the match fails, |
2878 | 3948 | or if you use an explicit C<continue>.) |
2879 | 3949 | |
2880 | 3950 | =end original |
2881 | 3951 | |
2882 | 3952 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを |
2883 | 3953 | 使いました。 |
2884 | 3954 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに |
2885 | 3955 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは |
2886 | 3956 | 発生しません。) |
2887 | 3957 | |
2888 | =item Can't weaken a nonreference | |
2889 | ||
2890 | =begin original | |
2891 | ||
2892 | (F) You attempted to weaken something that was not a reference. Only | |
2893 | references can be weakened. | |
2894 | ||
2895 | =end original | |
2896 | ||
2897 | (F) リファレンスではない何かを弱めようとしました。 | |
2898 | リファレンスだけが弱めることができます。 | |
2899 | ||
2900 | 3958 | =item Can't x= to read-only value |
2901 | 3959 | |
2902 | 3960 | =begin original |
2903 | 3961 | |
2904 | 3962 | (F) You tried to repeat a constant value (often the undefined value) |
2905 | 3963 | with an assignment operator, which implies modifying the value itself. |
2906 | 3964 | Perhaps you need to copy the value to a temporary, and repeat that. |
2907 | 3965 | |
2908 | 3966 | =end original |
2909 | 3967 | |
2910 | 3968 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
2911 | 3969 | 代入演算子で繰り返しを行なおうとしました。 |
2912 | 3970 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
2913 | 3971 | |
2914 | =item | |
3972 | =item catch block requires a (VAR) | |
2915 | 3973 | |
2916 | 3974 | =begin original |
2917 | 3975 | |
2918 | (F | |
3976 | (F) You tried to use the C<try> and C<catch> syntax of C<use feature 'try'> | |
2919 | ||
3977 | but did not include the error variable in the C<catch> block. The | |
2920 | ||
3978 | parenthesized variable name is not optional, unlike in some other forms of | |
2921 | ||
3979 | syntax you may be familiar with from CPAN modules or other languages. | |
2922 | 3980 | |
2923 | 3981 | =end original |
2924 | 3982 | |
2925 | (F | |
3983 | (F) C<use feature 'try'> の C<try> と C<catch> の構文を使おうとしましたが、 | |
2926 | ||
3984 | but did not include the error variable in the | |
2927 | ||
3985 | C<catch> ブロックのエラー変数を含んでいませんでした。 | |
2928 | ||
3986 | CPAN モジュールや他の言語で親しんでいるかもしれない他の形式の構文と異なり、 | |
2929 | ||
3987 | かっこ付きの変数名はオプションではありません。 | |
2930 | 3988 | |
2931 | 3989 | =begin original |
2932 | 3990 | |
2933 | ||
3991 | The required syntax is | |
2934 | 3992 | |
2935 | 3993 | =end original |
2936 | 3994 | |
2937 | ||
3995 | 要求される文法は次のものです: | |
2938 | 3996 | |
2939 | ||
3997 | try { ... } | |
3998 | catch ($var) { ... } | |
2940 | 3999 | |
4000 | =item Changing use VERSION while another use VERSION is in scope is now deprecated | |
4001 | ||
2941 | 4002 | =begin original |
2942 | 4003 | |
2943 | (W p | |
4004 | (W deprecated) Once you have a C<use VERSION> statement in scope, any | |
4005 | C<use VERSION> statement that requests a different version is now deprecated, | |
4006 | due to the increasing complexity of swapping from one prevailing version to | |
4007 | another. | |
2944 | 4008 | |
2945 | 4009 | =end original |
2946 | 4010 | |
2947 | (W p | |
4011 | (W deprecated) スコープ内に C<use VERSION> 文があると、別のバージョンを | |
4012 | 要求する C<use VERSION> 文は廃止予定になりました; | |
4013 | これは、一つの広まったバージョンから別のバージョンへの交換が | |
4014 | 複雑になるためです。 | |
2948 | 4015 | |
2949 | | |
4016 | =begin original | |
2950 | 4017 | |
4018 | It is suggested that you do not try to mix multiple different version | |
4019 | declarations within the same file as it leads to complex behaviours about the | |
4020 | visibility of features and builtin functions, as well as confusing human | |
4021 | readers. | |
4022 | ||
4023 | =end original | |
4024 | ||
4025 | 同じファイル内に複数の異なるバージョン宣言を混在させないようにすることを | |
4026 | 勧めます; | |
4027 | 混在させると、機能や組み込み関数の可視性に関する動作が複雑になり、 | |
4028 | 人間の読者を混乱させることになります。 | |
4029 | ||
2951 | 4030 | =begin original |
2952 | 4031 | |
2953 | ||
4032 | If it is essential to have different C<use VERSION> declarations in different | |
2954 | on | |
4033 | regions of the same file, you should surround each one by its own enclosing | |
2955 | ||
4034 | scope so the two do not mix. | |
2956 | 4035 | |
2957 | 4036 | =end original |
2958 | 4037 | |
2959 | ||
4038 | 同じファイルの異なる領域で異なる C<use VERSION> 宣言を使用する必要がある | |
2960 | ||
4039 | 場合は、二つの宣言が混在しないように、それぞれを独自のスコープで囲む | |
2961 | ||
4040 | 必要があります。 | |
2962 | それで、Perl は以下のように意味しているかのように振舞います: | |
2963 | 4041 | |
2964 | | |
4042 | { | |
4043 | use v5.20; | |
4044 | ... | |
4045 | } | |
4046 | { | |
4047 | use v5.36; | |
4048 | ... | |
4049 | } | |
2965 | 4050 | |
4051 | =item Character following "\c" must be printable ASCII | |
4052 | ||
2966 | 4053 | =begin original |
2967 | 4054 | |
2968 | I | |
4055 | (F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character. | |
2969 | instead. | |
2970 | 4056 | |
2971 | 4057 | =end original |
2972 | 4058 | |
2973 | ||
4059 | (F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。 | |
2974 | 使ってください。 | |
2975 | 4060 | |
2976 | = | |
4061 | =begin original | |
2977 | 4062 | |
4063 | Note that ASCII characters that don't map to control characters are | |
4064 | discouraged, and will generate the warning (when enabled) | |
4065 | L</""\c%c" is more clearly written simply as "%s"">. | |
4066 | ||
4067 | =end original | |
4068 | ||
4069 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; | |
4070 | そして (有効になっていれば) | |
4071 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 | |
4072 | ||
4073 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
4074 | ||
2978 | 4075 | =begin original |
2979 | 4076 | |
4077 | (F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You | |
4078 | specified something that isn't a legal Unicode property name. Most | |
4079 | Unicode properties are specified by C<\p{...}>. But if the name is a | |
4080 | single character one, the braces may be omitted. | |
4081 | ||
4082 | =end original | |
4083 | ||
4084 | (F) (前述の C<%c> は C<p> か C<P> に置き換えられます。) | |
4085 | 正当な Unicode 特性名ではない何かをしていしました。 | |
4086 | ほとんどの Unicode 特性は C<\p{...}> として指定されます。 | |
4087 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
4088 | ||
4089 | =item Character in 'C' format wrapped in pack | |
4090 | ||
4091 | =begin original | |
4092 | ||
2980 | 4093 | (W pack) You said |
2981 | 4094 | |
2982 | 4095 | =end original |
2983 | 4096 | |
2984 | 4097 | (W pack) 以下のように書きましたが: |
2985 | 4098 | |
2986 | pack(" | |
4099 | pack("C", $x) | |
2987 | 4100 | |
2988 | 4101 | =begin original |
2989 | 4102 | |
2990 | where $x is either less than 0 or more than 255 | |
4103 | where $x is either less than 0 or more than 255; the C<"C"> format is | |
2991 | ||
4104 | only for encoding native operating system characters (ASCII, EBCDIC, | |
2992 | meant | |
4105 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
2993 | 4106 | |
2994 | 4107 | =end original |
2995 | 4108 | |
2996 | $x | |
4109 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは | |
2997 | ||
4110 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
2998 | ||
4111 | 対応していて、Unicode 文字は対応していません; | |
4112 | それで、Perl は以下のように意味しているかのように振舞います: | |
2999 | 4113 | |
3000 | pack(" | |
4114 | pack("C", $x & 255) | |
3001 | 4115 | |
4116 | =begin original | |
4117 | ||
4118 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
4119 | instead. | |
4120 | ||
4121 | =end original | |
4122 | ||
4123 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
4124 | 使ってください。 | |
4125 | ||
3002 | 4126 | =item Character in 'c' format wrapped in pack |
3003 | 4127 | |
3004 | 4128 | =begin original |
3005 | 4129 | |
3006 | 4130 | (W pack) You said |
3007 | 4131 | |
3008 | 4132 | =end original |
3009 | 4133 | |
3010 | 4134 | (W pack) 以下のように書きましたが: |
3011 | 4135 | |
3012 | 4136 | pack("c", $x) |
3013 | 4137 | |
3014 | 4138 | =begin original |
3015 | 4139 | |
3016 | 4140 | where $x is either less than -128 or more than 127; the C<"c"> format |
3017 | 4141 | is only for encoding native operating system characters (ASCII, EBCDIC, |
3018 | 4142 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3019 | 4143 | |
3020 | 4144 | =end original |
3021 | 4145 | |
3022 | 4146 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは |
3023 | 4147 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3024 | 4148 | 対応していて、Unicode 文字は対応していません; |
3025 | 4149 | それで、Perl は以下のように意味しているかのように振舞います: |
3026 | 4150 | |
3027 | 4151 | pack("c", $x & 255); |
3028 | 4152 | |
3029 | 4153 | =begin original |
3030 | 4154 | |
3031 | 4155 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3032 | 4156 | instead. |
3033 | 4157 | |
3034 | 4158 | =end original |
3035 | 4159 | |
3036 | 4160 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3037 | 4161 | 使ってください。 |
3038 | 4162 | |
3039 | 4163 | =item Character in '%c' format wrapped in unpack |
3040 | 4164 | |
3041 | 4165 | =begin original |
3042 | 4166 | |
3043 | 4167 | (W unpack) You tried something like |
3044 | 4168 | |
3045 | 4169 | =end original |
3046 | 4170 | |
3047 | 4171 | (W unpack) 以下のようなことをしましたが: |
3048 | 4172 | |
3049 | 4173 | unpack("H", "\x{2a1}") |
3050 | 4174 | |
3051 | 4175 | =begin original |
3052 | 4176 | |
3053 | 4177 | where the format expects to process a byte (a character with a value |
3054 | below 256), but a higher value was provided instead. Perl uses th | |
4178 | below 256), but a higher value was provided instead. Perl uses the | |
3055 | modulus 256 instead, as if you had provided: | |
4179 | value modulus 256 instead, as if you had provided: | |
3056 | 4180 | |
3057 | 4181 | =end original |
3058 | 4182 | |
3059 | 4183 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 |
3060 | 4184 | 文字の中により大きな値のものがあります。 |
3061 | 4185 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3062 | 4186 | 値として使います: |
3063 | 4187 | |
3064 | 4188 | unpack("H", "\x{a1}") |
3065 | 4189 | |
4190 | =item Character in 'W' format wrapped in pack | |
4191 | ||
4192 | =begin original | |
4193 | ||
4194 | (W pack) You said | |
4195 | ||
4196 | =end original | |
4197 | ||
4198 | (W pack) 以下のように書きましたが: | |
4199 | ||
4200 | pack("U0W", $x) | |
4201 | ||
4202 | =begin original | |
4203 | ||
4204 | where $x is either less than 0 or more than 255. However, C<U0>-mode | |
4205 | expects all values to fall in the interval [0, 255], so Perl behaved | |
4206 | as if you meant: | |
4207 | ||
4208 | =end original | |
4209 | ||
4210 | $x が 0 より小さいか 255 より大きいです。 | |
4211 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
4212 | Perl は以下のように振る舞います: | |
4213 | ||
4214 | pack("U0W", $x & 255) | |
4215 | ||
3066 | 4216 | =item Character(s) in '%c' format wrapped in pack |
3067 | 4217 | |
3068 | 4218 | =begin original |
3069 | 4219 | |
3070 | 4220 | (W pack) You tried something like |
3071 | 4221 | |
3072 | 4222 | =end original |
3073 | 4223 | |
3074 | 4224 | (W pack) 以下のようなことをしましたが: |
3075 | 4225 | |
3076 | 4226 | pack("u", "\x{1f3}b") |
3077 | 4227 | |
3078 | 4228 | =begin original |
3079 | 4229 | |
3080 | 4230 | where the format expects to process a sequence of bytes (character with a |
3081 | value below 256), but some of the characters had a higher value. Perl | |
4231 | value below 256), but some of the characters had a higher value. Perl | |
3082 | 4232 | uses the character values modulus 256 instead, as if you had provided: |
3083 | 4233 | |
3084 | 4234 | =end original |
3085 | 4235 | |
3086 | 4236 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3087 | 4237 | 文字の中により大きな値のものがあります。 |
3088 | 4238 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3089 | 4239 | 値として使います: |
3090 | 4240 | |
3091 | 4241 | pack("u", "\x{f3}b") |
3092 | 4242 | |
3093 | 4243 | =item Character(s) in '%c' format wrapped in unpack |
3094 | 4244 | |
3095 | 4245 | =begin original |
3096 | 4246 | |
3097 | 4247 | (W unpack) You tried something like |
3098 | 4248 | |
3099 | 4249 | =end original |
3100 | 4250 | |
3101 | 4251 | (W unpack) 以下のようなことをしましたが: |
3102 | 4252 | |
3103 | 4253 | unpack("s", "\x{1f3}b") |
3104 | 4254 | |
3105 | 4255 | =begin original |
3106 | 4256 | |
3107 | 4257 | where the format expects to process a sequence of bytes (character with a |
3108 | value below 256), but some of the characters had a higher value. Perl | |
4258 | value below 256), but some of the characters had a higher value. Perl | |
3109 | 4259 | uses the character values modulus 256 instead, as if you had provided: |
3110 | 4260 | |
3111 | 4261 | =end original |
3112 | 4262 | |
3113 | 4263 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
3114 | 4264 | 文字の中により大きな値のものがあります。 |
3115 | 4265 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
3116 | 4266 | 値として使います: |
3117 | 4267 | |
3118 | 4268 | unpack("s", "\x{f3}b") |
3119 | 4269 | |
3120 | =item | |
4270 | =item charnames alias definitions may not contain a sequence of multiple | |
4271 | spaces; marked by S<<-- HERE> in %s | |
3121 | 4272 | |
3122 | 4273 | =begin original |
3123 | 4274 | |
3124 | ( | |
4275 | (F) You defined a character name which had multiple space characters | |
3125 | ||
4276 | in a row. Change them to single spaces. Usually these names are | |
3126 | e | |
4277 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3127 | ||
4278 | could be defined by a translator installed into C<$^H{charnames}>. See | |
3128 | ||
4279 | L<charnames/CUSTOM ALIASES>. | |
3129 | 4280 | |
3130 | 4281 | =end original |
3131 | 4282 | |
3132 | ( | |
4283 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
3133 | ||
4284 | 単一のスペースに変更してください。 | |
3134 | これ | |
4285 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3135 | ||
4286 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3136 | ||
4287 | 定義されているかも知れません。 | |
3137 | ||
4288 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3138 | 4289 | |
4290 | =item chdir() on unopened filehandle %s | |
4291 | ||
4292 | =begin original | |
4293 | ||
4294 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
4295 | ||
4296 | =end original | |
4297 | ||
4298 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
4299 | ||
3139 | 4300 | =item "\c%c" is more clearly written simply as "%s" |
3140 | 4301 | |
3141 | 4302 | =begin original |
3142 | 4303 | |
3143 | 4304 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify |
3144 | non-printable characters. You used it for a printable one, which | |
4305 | non-printable characters. You used it for a printable one, which | |
3145 | written as simply itself, perhaps preceded by a backslash | |
4306 | is better written as simply itself, perhaps preceded by a backslash | |
3146 | characters. | |
4307 | for non-word characters. Doing it the way you did is not portable | |
4308 | between ASCII and EBCDIC platforms. | |
3147 | 4309 | |
3148 | 4310 | =end original |
3149 | 4311 | |
3150 | 4312 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 |
3151 | 4313 | これを表示文字に使いました; おそらく(おそらく非単語文字のために |
3152 | 4314 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 |
4315 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 | |
3153 | 4316 | |
3154 | =item | |
4317 | =item Class already has a superclass, cannot add another | |
3155 | 4318 | |
3156 | 4319 | =begin original |
3157 | 4320 | |
3158 | ( | |
4321 | (F) You attempted to specify a second superclass for a C<class> by using | |
4322 | the C<:isa> attribute, when one is already specified. Unlike classes | |
4323 | whose instances are created with C<bless>, classes created via the | |
4324 | C<class> keyword cannot have more than one superclass. | |
3159 | 4325 | |
3160 | 4326 | =end original |
3161 | 4327 | |
3162 | ( | |
4328 | (F) C<class> にすでに一つ目のスーパークラスが指定されているときに、 | |
4329 | C<:isa> 属性を使うことによって二つ目のスーパークラスを指定しようとしました。 | |
4330 | 実体が C<bless> で作られるクラスと異なり、C<class> キーワード経由で | |
4331 | 作られるクラスは複数のスーパークラスを持つことは出来ません。 | |
3163 | 4332 | |
4333 | =item Class attribute %s requires a value | |
4334 | ||
4335 | =begin original | |
4336 | ||
4337 | (F) You specified an attribute for a class that would require a value to | |
4338 | be passed in parentheses, but did not provide one. Remember that | |
4339 | whitespace is B<not> permitted between the attribute name and its value; | |
4340 | you must write this as | |
4341 | ||
4342 | =end original | |
4343 | ||
4344 | (F) クラスの属性として、かっこに囲まれた値が要求されたところで、 | |
4345 | それがありませんでした。 | |
4346 | 属性名とその値の間に空白は B<許されない> ことを忘れないでください; | |
4347 | 次のように書かなければなりません: | |
4348 | ||
4349 | class Example::Class :attr(VALUE) ... | |
4350 | ||
4351 | =item class is experimental | |
4352 | ||
4353 | =begin original | |
4354 | ||
4355 | (S experimental::class) This warning is emitted if you use the C<class> | |
4356 | keyword of C<use feature 'class'>. This keyword is currently | |
4357 | experimental and its behaviour may change in future releases of Perl. | |
4358 | ||
4359 | =end original | |
4360 | ||
4361 | (S experimental::class) この警告は、C<use feature 'class'> の | |
4362 | C<class> キーワードを使うと発生します。 | |
4363 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
4364 | 可能性があります。 | |
4365 | ||
4366 | =item Class :isa attribute requires a class but "%s" is not one | |
4367 | ||
4368 | =begin original | |
4369 | ||
4370 | (F) When creating a subclass using the C<class> C<:isa> attribute, the | |
4371 | named superclass must also be a real class created using the C<class> | |
4372 | keyword. | |
4373 | ||
4374 | =end original | |
4375 | ||
4376 | (F) C<class> C<:isa> 属性を使ってサブクラスを作るとき、 | |
4377 | 指定されたスーパークラスも C<class> キーワードを使って作った | |
4378 | 実際のクラスでなければなりません。 | |
4379 | ||
4380 | =item Cloning substitution context is unimplemented | |
4381 | ||
4382 | =begin original | |
4383 | ||
4384 | (F) Creating a new thread inside the C<s///> operator is not supported. | |
4385 | ||
4386 | =end original | |
4387 | ||
4388 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 | |
4389 | ||
3164 | 4390 | =item closedir() attempted on invalid dirhandle %s |
3165 | 4391 | |
3166 | 4392 | =begin original |
3167 | 4393 | |
3168 | 4394 | (W io) The dirhandle you tried to close is either closed or not really |
3169 | 4395 | a dirhandle. Check your control flow. |
3170 | 4396 | |
3171 | 4397 | =end original |
3172 | 4398 | |
3173 | 4399 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には |
3174 | 4400 | ディレクトリハンドルではありません。 |
3175 | 4401 | 制御フローをチェックしてください。 |
3176 | 4402 | |
4403 | =item close() on unopened filehandle %s | |
4404 | ||
4405 | =begin original | |
4406 | ||
4407 | (W unopened) You tried to close a filehandle that was never opened. | |
4408 | ||
4409 | =end original | |
4410 | ||
4411 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 | |
4412 | ||
3177 | 4413 | =item Closure prototype called |
3178 | 4414 | |
3179 | 4415 | =begin original |
3180 | 4416 | |
3181 | 4417 | (F) If a closure has attributes, the subroutine passed to an attribute |
3182 | 4418 | handler is the prototype that is cloned when a new closure is created. |
3183 | 4419 | This subroutine cannot be called. |
3184 | 4420 | |
3185 | 4421 | =end original |
3186 | 4422 | |
3187 | 4423 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい |
3188 | 4424 | クロージャが作成されたときにクローン化されたプロトタイプです。 |
3189 | 4425 | このサブルーチンは呼び出すことができません。 |
3190 | 4426 | |
4427 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
4428 | ||
4429 | =begin original | |
4430 | ||
4431 | (F) The \C character class used to allow a match of single byte | |
4432 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
4433 | it broke encapsulation and its implementation was extremely buggy. | |
4434 | If you really need to process the individual bytes, you probably | |
4435 | want to convert your string to one where each underlying byte is | |
4436 | stored as a character, with utf8::encode(). | |
4437 | ||
4438 | =end original | |
4439 | ||
4440 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
4441 | マッチングできるようにしていましたが、 | |
4442 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
4443 | 本当に個々のバイトを処理する必要があるなら、 | |
4444 | おそらくその文字列を、utf8::encode() を使って、 | |
4445 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
4446 | 良いでしょう。 | |
4447 | ||
3191 | 4448 | =item Code missing after '/' |
3192 | 4449 | |
3193 | 4450 | =begin original |
3194 | 4451 | |
3195 | (F) You had a (sub-)template that ends with a '/'. There must be | |
4452 | (F) You had a (sub-)template that ends with a '/'. There must be | |
3196 | template code following the slash. See L<perlfunc/pack>. | |
4453 | another template code following the slash. See L<perlfunc/pack>. | |
3197 | 4454 | |
3198 | 4455 | =end original |
3199 | 4456 | |
3200 | 4457 | (F) テンプレートが '/' で終わっています。 |
3201 | 4458 | スラッシュの後には他のテンプレートコードが必須です。 |
3202 | 4459 | L<perlfunc/pack> を参照してください。 |
3203 | 4460 | |
3204 | =item Code point 0x%X is not Unicode, | |
4461 | =item Code point 0x%X is not Unicode, and not portable | |
3205 | 4462 | |
3206 | =item Code point 0x%X is not Unicode, no properties match it; all inverse properties do | |
3207 | ||
3208 | 4463 | =begin original |
3209 | 4464 | |
3210 | ( | |
4465 | (S non_unicode portable) You had a code point that has never been in any | |
4466 | standard, so it is likely that languages other than Perl will NOT | |
4467 | understand it. This code point also will not fit in a 32-bit word on | |
4468 | ASCII platforms and therefore is non-portable between systems. | |
3211 | 4469 | |
3212 | 4470 | =end original |
3213 | 4471 | |
3214 | ( | |
4472 | (S non_unicode portable) どのような標準でもない符号位置を使いました; 従って | |
4473 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
4474 | この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、 | |
4475 | システム間で移植性がありません。 | |
3215 | 4476 | |
3216 | 4477 | =begin original |
3217 | 4478 | |
3218 | Perl allows strings to contain a superset of Unicode code | |
3219 | points, up to the limit of what is storable in an unsigned integer on | |
3220 | your system, but these may not be accepted by other languages/systems. | |
3221 | 4479 | At one time, it was legal in some standards to have code points up to |
3222 | 0x7FFF_FFFF, but not higher | |
4480 | 0x7FFF_FFFF, but not higher, and this code point is higher. | |
3223 | larger than a 32 bit word. | |
3224 | 4481 | |
3225 | 4482 | =end original |
3226 | 4483 | |
3227 | ||
4484 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
3228 | ||
4485 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
3229 | 他の言語やシステムでは受け入れないかも知れません。 | |
3230 | 同時に、一部の標準では 0x7FFF_FFFF までの符号位置は正当ですが、それ以上は | |
3231 | そうではありません。 | |
3232 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 | |
3233 | 4486 | |
3234 | 4487 | =begin original |
3235 | 4488 | |
3236 | ||
4489 | Acceptance of these code points is a Perl extension, and you should | |
3237 | ||
4490 | expect that nothing other than Perl can handle them; Perl itself on | |
4491 | EBCDIC platforms before v5.24 does not handle them. | |
3238 | 4492 | |
3239 | 4493 | =end original |
3240 | 4494 | |
3241 | ||
4495 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
3242 | ||
4496 | これらを扱えるかについて何も想定するべきではありません; | |
3243 | ||
4497 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
3244 | 4498 | |
3245 | chr(0x7FF_FFFF) =~ /\p{Any}/ | |
3246 | ||
3247 | 4499 | =begin original |
3248 | 4500 | |
3249 | ||
4501 | Perl also makes no guarantees that the representation of these code | |
4502 | points won't change at some point in the future, say when machines | |
4503 | become available that have larger than a 64-bit word. At that time, | |
4504 | files containing any of these, written by an older Perl might require | |
4505 | conversion before being readable by a newer Perl. | |
3250 | 4506 | |
3251 | 4507 | =end original |
3252 | 4508 | |
3253 | ||
4509 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
3254 | ||
4510 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
4511 | 保証しません。 | |
4512 | この時点で、より古い Perl で書かれた、このようなものをファイルは、 | |
4513 | より新しい Perl で読み込めるようにする前に変換が必要です。 | |
3255 | 4514 | |
3256 | | |
4515 | =item Code point 0x%X is not Unicode, may not be portable | |
3257 | 4516 | |
3258 | 4517 | =begin original |
3259 | 4518 | |
3260 | ||
4519 | (S non_unicode) You had a code point above the Unicode maximum | |
4520 | of U+10FFFF. | |
3261 | 4521 | |
3262 | 4522 | =end original |
3263 | 4523 | |
3264 | ||
4524 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
3265 | 4525 | |
3266 | = | |
4526 | =begin original | |
3267 | 4527 | |
4528 | Perl allows strings to contain a superset of Unicode code points, but | |
4529 | these may not be accepted by other languages/systems. Further, even if | |
4530 | these languages/systems accept these large code points, they may have | |
4531 | chosen a different representation for them than the UTF-8-like one that | |
4532 | Perl has, which would mean files are not exchangeable between them and | |
4533 | Perl. | |
4534 | ||
4535 | =end original | |
4536 | ||
4537 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
4538 | これらは他の言語/システムは受け入れないかもしれません。 | |
4539 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
4540 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
4541 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
4542 | 交換できないことを意味します。 | |
4543 | ||
3268 | 4544 | =begin original |
3269 | 4545 | |
3270 | ||
4546 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
3271 | ||
4547 | representation in Perl v5.24 than before, so any file containing these | |
4548 | that was written before that version will require conversion before | |
4549 | being readable by a later Perl. | |
3272 | 4550 | |
3273 | 4551 | =end original |
3274 | 4552 | |
3275 | ||
4553 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
3276 | ||
4554 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
4555 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
4556 | 変換が必要です。 | |
3277 | 4557 | |
3278 | =item Com | |
4558 | =item %s: Command not found | |
3279 | 4559 | |
3280 | 4560 | =begin original |
3281 | 4561 | |
3282 | ( | |
4562 | (A) You've accidentally run your script through B<csh> or another shell | |
3283 | Perl | |
4563 | instead of Perl. Check the #! line, or manually feed your script into | |
3284 | e | |
4564 | Perl yourself. The #! line at the top of your file could look like | |
3285 | 4565 | |
3286 | 4566 | =end original |
3287 | 4567 | |
3288 | ( | |
4568 | (A) スクリプトを perl ではなく B<csh> またはその他のシェルで | |
3289 | ||
4569 | 実行しようとしました。 | |
3290 | ||
4570 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
4571 | ファイルの先頭の #! 行は以下のようにします: | |
3291 | 4572 | |
3292 | ||
4573 | #!/usr/bin/perl | |
3293 | 4574 | |
4575 | =item %s: command not found | |
4576 | ||
3294 | 4577 | =begin original |
3295 | 4578 | |
3296 | ( | |
4579 | (A) You've accidentally run your script through B<bash> or another shell | |
3297 | ||
4580 | instead of Perl. Check the #! line, or manually feed your script into | |
3298 | ||
4581 | Perl yourself. The #! line at the top of your file could look like | |
3299 | arbitrarily. ("Simple" and "medium" situations are handled without | |
3300 | recursion and are not subject to a limit.) Try shortening the string | |
3301 | under examination; looping in Perl code (e.g. with C<while>) rather than | |
3302 | in the regular expression engine; or rewriting the regular expression so | |
3303 | that it is simpler or backtracks less. (See L<perlfaq2> for information | |
3304 | on I<Mastering Regular Expressions>.) | |
3305 | 4582 | |
3306 | 4583 | =end original |
3307 | 4584 | |
3308 | ( | |
4585 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 | |
3309 | ||
4586 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
3310 | ||
4587 | ファイルの先頭の #! 行は以下のようにします: | |
3311 | おそらくもっと小さい値に制限されています。 | |
3312 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は | |
3313 | ありません。) | |
3314 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく | |
3315 | (C<while> などの) Perl コードを使ってループするか、 | |
3316 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように | |
3317 | 書き換えてください。 | |
3318 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を | |
3319 | 参照してください。) | |
3320 | 4588 | |
3321 | ||
4589 | #!/usr/bin/perl | |
3322 | 4590 | |
4591 | =item %s: command not found: %s | |
4592 | ||
3323 | 4593 | =begin original |
3324 | 4594 | |
3325 | ( | |
4595 | (A) You've accidentally run your script through B<zsh> or another shell | |
3326 | ||
4596 | instead of Perl. Check the #! line, or manually feed your script into | |
3327 | ||
4597 | Perl yourself. The #! line at the top of your file could look like | |
3328 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
3329 | has a chance to enter the wait, it is usual for the signaling thread | |
3330 | first to wait for a lock on variable. This lock attempt will only succeed | |
3331 | after the other thread has entered cond_wait() and thus relinquished the | |
3332 | lock. | |
3333 | 4598 | |
3334 | 4599 | =end original |
3335 | 4600 | |
3336 | ( | |
4601 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 | |
3337 | ||
4602 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
3338 | ||
4603 | ファイルの先頭の #! 行は以下のようにします: | |
3339 | 起こすために使います。 | |
3340 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
3341 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
3342 | 入るのが普通です。 | |
3343 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
3344 | 手放した場合にのみ成功します。 | |
3345 | 4604 | |
3346 | ||
4605 | #!/usr/bin/perl | |
3347 | 4606 | |
4607 | =item Compilation failed in require | |
4608 | ||
3348 | 4609 | =begin original |
3349 | 4610 | |
3350 | ( | |
4611 | (F) Perl could not compile a file specified in a C<require> statement. | |
3351 | ||
4612 | Perl uses this generic message when none of the errors that it | |
3352 | ||
4613 | encountered were severe enough to halt compilation immediately. | |
3353 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
3354 | has a chance to enter the wait, it is usual for the signaling thread | |
3355 | first to wait for a lock on variable. This lock attempt will only succeed | |
3356 | after the other thread has entered cond_wait() and thus relinquished the | |
3357 | lock. | |
3358 | 4614 | |
3359 | 4615 | =end original |
3360 | 4616 | |
3361 | ( | |
4617 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 | |
3362 | ||
4618 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった | |
3363 | ||
4619 | ときに、この一般的なメッセージを使います。 | |
3364 | 起こすために使います。 | |
3365 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
3366 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
3367 | 入るのが普通です。 | |
3368 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
3369 | 手放した場合にのみ成功します。 | |
3370 | 4620 | |
3371 | 4621 | =item connect() on closed socket %s |
3372 | 4622 | |
3373 | 4623 | =begin original |
3374 | 4624 | |
3375 | 4625 | (W closed) You tried to do a connect on a closed socket. Did you forget |
3376 | 4626 | to check the return value of your socket() call? See |
3377 | 4627 | L<perlfunc/connect>. |
3378 | 4628 | |
3379 | 4629 | =end original |
3380 | 4630 | |
3381 | 4631 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
3382 | 4632 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
3383 | 4633 | L<perlfunc/connect> を参照してください。 |
3384 | 4634 | |
3385 | =item Constant(%s) | |
4635 | =item Constant(%s): Call to &{$^H{%s}} did not return a defined value | |
3386 | 4636 | |
3387 | 4637 | =begin original |
3388 | 4638 | |
3389 | (F) The | |
4639 | (F) The subroutine registered to handle constant overloading | |
3390 | ||
4640 | (see L<overload>) or a custom charnames handler (see | |
3391 | ||
4641 | L<charnames/CUSTOM TRANSLATORS>) returned an undefined value. | |
3392 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and | |
3393 | L<overload>. | |
3394 | 4642 | |
3395 | 4643 | =end original |
3396 | 4644 | |
3397 | (F) | |
4645 | (F) 定数オーバーロード (L<overload> 参照) を扱うために登録された | |
3398 | ||
4646 | サブルーチンや、カスタム文字名ハンドラ | |
3399 | ||
4647 | (L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。 | |
3400 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを | |
3401 | 忘れたのでは? | |
3402 | L<charnames> と L<overload> を参照してください。 | |
3403 | 4648 | |
3404 | =item Constant(%s) | |
4649 | =item Constant(%s): $^H{%s} is not defined | |
3405 | 4650 | |
3406 | 4651 | =begin original |
3407 | 4652 | |
3408 | (F) The parser found inconsistencies while attempting to fin | |
4653 | (F) The parser found inconsistencies while attempting to define an | |
3409 | ||
4654 | overloaded constant. Perhaps you forgot to load the corresponding | |
3410 | ||
4655 | L<overload> pragma? | |
3411 | See L<charnames>. | |
3412 | 4656 | |
3413 | 4657 | =end original |
3414 | 4658 | |
3415 | (F) パーサ | |
4659 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 | |
3416 | ||
4660 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
3417 | おそらく対応する C<charnames> プラグマの読み込みを忘れたのでは? | |
3418 | L<charnames> を参照してください。 | |
3419 | 4661 | |
3420 | 4662 | =item Constant is not %s reference |
3421 | 4663 | |
3422 | 4664 | =begin original |
3423 | 4665 | |
3424 | 4666 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
3425 | 4667 | is being dereferenced, but it amounts to the wrong type of reference. |
3426 | The message indicates the type of reference that was expected. This | |
4668 | The message indicates the type of reference that was expected. This | |
3427 | 4669 | usually indicates a syntax error in dereferencing the constant value. |
3428 | 4670 | See L<perlsub/"Constant Functions"> and L<constant>. |
3429 | 4671 | |
3430 | 4672 | =end original |
3431 | 4673 | |
3432 | 4674 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
3433 | 4675 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
3434 | 4676 | このメッセージは想定されたリファレンスの型を示しています。 |
3435 | 4677 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
3436 | 4678 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
3437 | 4679 | |
4680 | =item Constants from lexical variables potentially modified elsewhere are no longer permitted | |
4681 | ||
4682 | =begin original | |
4683 | ||
4684 | (F) You wrote something like | |
4685 | ||
4686 | =end original | |
4687 | ||
4688 | (F) 次のようなものを書きました: | |
4689 | ||
4690 | my $var; | |
4691 | $sub = sub () { $var }; | |
4692 | ||
4693 | =begin original | |
4694 | ||
4695 | but $var is referenced elsewhere and could be modified after the C<sub> | |
4696 | expression is evaluated. Either it is explicitly modified elsewhere | |
4697 | (C<$var = 3>) or it is passed to a subroutine or to an operator like | |
4698 | C<printf> or C<map>, which may or may not modify the variable. | |
4699 | ||
4700 | =end original | |
4701 | ||
4702 | しかし $var はどこか別の場所へのリファレンスで、 | |
4703 | C<sub> 式が評価された後に変更されるかもしれません。 | |
4704 | どこかで明示的に変更されたり、(C<$var = 3>) 、 | |
4705 | 変数を変更するかどうかわからない、 | |
4706 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 | |
4707 | ||
4708 | =begin original | |
4709 | ||
4710 | Traditionally, Perl has captured the value of the variable at that | |
4711 | point and turned the subroutine into a constant eligible for inlining. | |
4712 | In those cases where the variable can be modified elsewhere, this | |
4713 | breaks the behavior of closures, in which the subroutine captures | |
4714 | the variable itself, rather than its value, so future changes to the | |
4715 | variable are reflected in the subroutine's return value. | |
4716 | ||
4717 | =end original | |
4718 | ||
4719 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 | |
4720 | サブルーチンをインライン化可能な定数に変換します。 | |
4721 | 変数が別の場所で変更可能な場合、 | |
4722 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので | |
4723 | クロージャの振る舞いを壊します; | |
4724 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 | |
4725 | ||
4726 | =begin original | |
4727 | ||
4728 | This usage was deprecated, and as of Perl 5.32 is no longer allowed, | |
4729 | making it possible to change the behavior in the future. | |
4730 | ||
4731 | =end original | |
4732 | ||
4733 | この使用法は廃止予定になり、Perl 5.32 でもはや許されなくなりました; | |
4734 | これにより将来振る舞いを換えることが可能になります。 | |
4735 | ||
4736 | =begin original | |
4737 | ||
4738 | If you intended for the subroutine to be eligible for inlining, then | |
4739 | make sure the variable is not referenced elsewhere, possibly by | |
4740 | copying it: | |
4741 | ||
4742 | =end original | |
4743 | ||
4744 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 | |
4745 | おそらくコピーすることで、他のどこからも参照されないようにしてください: | |
4746 | ||
4747 | my $var2 = $var; | |
4748 | $sub = sub () { $var2 }; | |
4749 | ||
4750 | =begin original | |
4751 | ||
4752 | If you do want this subroutine to be a closure that reflects future | |
4753 | changes to the variable that it closes over, add an explicit C<return>: | |
4754 | ||
4755 | =end original | |
4756 | ||
4757 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる | |
4758 | クロージャにしたいなら、明示的な C<return> を追加してください: | |
4759 | ||
4760 | my $var; | |
4761 | $sub = sub () { return $var }; | |
4762 | ||
3438 | 4763 | =item Constant subroutine %s redefined |
3439 | 4764 | |
3440 | 4765 | =begin original |
3441 | 4766 | |
3442 | (S) You redefined a subroutine which had previously | |
4767 | (W redefine)(S) You redefined a subroutine which had previously | |
3443 | eligible for inlining. See L<perlsub/"Constant Functions"> | |
4768 | been eligible for inlining. See L<perlsub/"Constant Functions"> | |
3444 | commentary and workarounds. | |
4769 | for commentary and workarounds. | |
3445 | 4770 | |
3446 | 4771 | =end original |
3447 | 4772 | |
3448 | (S) 以前にインライン化できる形であったサブルーチンを | |
4773 | (W redefine)(S) 以前にインライン化できる形であったサブルーチンを | |
3449 | 4774 | 再定義しました。 |
3450 | 4775 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3451 | 4776 | 参照してください。 |
3452 | 4777 | |
3453 | 4778 | =item Constant subroutine %s undefined |
3454 | 4779 | |
3455 | 4780 | =begin original |
3456 | 4781 | |
3457 | 4782 | (W misc) You undefined a subroutine which had previously been eligible |
3458 | 4783 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
3459 | 4784 | workarounds. |
3460 | 4785 | |
3461 | 4786 | =end original |
3462 | 4787 | |
3463 | 4788 | (W misc)以前にインライン化できる形であったサブルーチンを |
3464 | 4789 | 未定義化しました。 |
3465 | 4790 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3466 | 4791 | 参照してください。 |
3467 | 4792 | |
4793 | =item Constant(%s) unknown | |
4794 | ||
4795 | =begin original | |
4796 | ||
4797 | (F) The parser found inconsistencies either while attempting | |
4798 | to define an overloaded constant, or when trying to find the | |
4799 | character name specified in the C<\N{...}> escape. Perhaps you | |
4800 | forgot to load the corresponding L<overload> pragma? | |
4801 | ||
4802 | =end original | |
4803 | ||
4804 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
4805 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
4806 | 発見しました。 | |
4807 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4808 | ||
4809 | =item :const is not permitted on named subroutines | |
4810 | ||
4811 | =begin original | |
4812 | ||
4813 | (F) The "const" attribute causes an anonymous subroutine to be run and | |
4814 | its value captured at the time that it is cloned. Named subroutines are | |
4815 | not cloned like this, so the attribute does not make sense on them. | |
4816 | ||
4817 | =end original | |
4818 | ||
4819 | (F) The "const" 属性は、クローンされたときに値を捕捉された | |
4820 | 無名サブルーチンになります。 | |
4821 | 名前付きサブルーチンはこのようにクローンされないので、 | |
4822 | 属性はこれらに関して意味を持ちません。 | |
4823 | ||
3468 | 4824 | =item Copy method did not return a reference |
3469 | 4825 | |
3470 | 4826 | =begin original |
3471 | 4827 | |
3472 | (F) The method which overloads "=" is buggy. See | |
4828 | (F) The method which overloads "=" is buggy. See | |
3473 | 4829 | L<overload/Copy Constructor>. |
3474 | 4830 | |
3475 | 4831 | =end original |
3476 | 4832 | |
3477 | 4833 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
3478 | 4834 | L<overload/Copy Constructor> を参照してください。 |
3479 | 4835 | |
4836 | =item &CORE::%s cannot be called directly | |
4837 | ||
4838 | =begin original | |
4839 | ||
4840 | (F) You tried to call a subroutine in the C<CORE::> namespace | |
4841 | with C<&foo> syntax or through a reference. Some subroutines | |
4842 | in this package cannot yet be called that way, but must be | |
4843 | called as barewords. Something like this will work: | |
4844 | ||
4845 | =end original | |
4846 | ||
4847 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で | |
4848 | 呼び出そうとしました。 | |
4849 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で | |
4850 | 呼び出さなければなりません。 | |
4851 | 以下のようなものは動作します: | |
4852 | ||
4853 | BEGIN { *shove = \&CORE::push; } | |
4854 | shove @array, 1,2,3; # pushes on to @array | |
4855 | ||
3480 | 4856 | =item CORE::%s is not a keyword |
3481 | 4857 | |
3482 | 4858 | =begin original |
3483 | 4859 | |
3484 | 4860 | (F) The CORE:: namespace is reserved for Perl keywords. |
3485 | 4861 | |
3486 | 4862 | =end original |
3487 | 4863 | |
3488 | 4864 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
3489 | 4865 | |
4866 | =item Corrupted regexp opcode %d > %d | |
4867 | ||
4868 | =begin original | |
4869 | ||
4870 | (P) This is either an error in Perl, or, if you're using | |
4871 | one, your L<custom regular expression engine|perlreapi>. If not the | |
4872 | latter, report the problem to L<https://github.com/Perl/perl5/issues/new/choose>. | |
4873 | ||
4874 | =end original | |
4875 | ||
4876 | (P) これは Perl か、あるいは、使っているなら | |
4877 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
4878 | 後者でなければ、L<https://github.com/Perl/perl5/issues/new/choose> に | |
4879 | 問題を報告してください。 | |
4880 | ||
3490 | 4881 | =item corrupted regexp pointers |
3491 | 4882 | |
3492 | 4883 | =begin original |
3493 | 4884 | |
3494 | 4885 | (P) The regular expression engine got confused by what the regular |
3495 | 4886 | expression compiler gave it. |
3496 | 4887 | |
3497 | 4888 | =end original |
3498 | 4889 | |
3499 | 4890 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
3500 | 4891 | 処理できなくなりました。 |
3501 | 4892 | |
3502 | 4893 | =item corrupted regexp program |
3503 | 4894 | |
3504 | 4895 | =begin original |
3505 | 4896 | |
3506 | 4897 | (P) The regular expression engine got passed a regexp program without a |
3507 | 4898 | valid magic number. |
3508 | 4899 | |
3509 | 4900 | =end original |
3510 | 4901 | |
3511 | 4902 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
3512 | 4903 | regexp プログラムを渡しました。 |
3513 | 4904 | |
3514 | 4905 | =item Corrupt malloc ptr 0x%x at 0x%x |
3515 | 4906 | |
3516 | 4907 | =begin original |
3517 | 4908 | |
3518 | 4909 | (P) The malloc package that comes with Perl had an internal failure. |
3519 | 4910 | |
3520 | 4911 | =end original |
3521 | 4912 | |
3522 | 4913 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
3523 | 4914 | |
3524 | 4915 | =item Count after length/code in unpack |
3525 | 4916 | |
3526 | 4917 | =begin original |
3527 | 4918 | |
3528 | 4919 | (F) You had an unpack template indicating a counted-length string, but |
3529 | 4920 | you have also specified an explicit size for the string. See |
3530 | 4921 | L<perlfunc/pack>. |
3531 | 4922 | |
3532 | 4923 | =end original |
3533 | 4924 | |
3534 | 4925 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 |
3535 | 4926 | 文字列の長さも明示的に指定しています。 |
3536 | 4927 | L<perlfunc/pack> を参照してください。 |
3537 | 4928 | |
4929 | =item Declaring references is experimental | |
4930 | ||
4931 | =begin original | |
4932 | ||
4933 | (S experimental::declared_refs) This warning is emitted if you use | |
4934 | a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or | |
4935 | C<local>. Simply suppress the warning if you want to use the feature, but | |
4936 | know that in doing so you are taking the risk of using an experimental | |
4937 | feature which may change or be removed in a future Perl version: | |
4938 | ||
4939 | =end original | |
4940 | ||
4941 | (S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で | |
4942 | リファレンスコンストラクタを使うとこの警告が出力されます。 | |
4943 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
4944 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
4945 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
4946 | 取っていると言うことを知っておいてください: | |
4947 | ||
4948 | no warnings "experimental::declared_refs"; | |
4949 | use feature "declared_refs"; | |
4950 | $fooref = my \$foo; | |
4951 | ||
4952 | =for comment | |
4953 | The following are used in lib/diagnostics.t for testing two =items that | |
4954 | share the same description. Changes here need to be propagated to there | |
4955 | ||
4956 | =item Deep recursion on anonymous subroutine | |
4957 | ||
3538 | 4958 | =item Deep recursion on subroutine "%s" |
3539 | 4959 | |
3540 | 4960 | =begin original |
3541 | 4961 | |
3542 | 4962 | (W recursion) This subroutine has called itself (directly or indirectly) |
3543 | 4963 | 100 times more than it has returned. This probably indicates an |
3544 | 4964 | infinite recursion, unless you're writing strange benchmark programs, in |
3545 | 4965 | which case it indicates something else. |
3546 | 4966 | |
3547 | 4967 | =end original |
3548 | 4968 | |
3549 | 4969 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 |
3550 | 4970 | return より 100 回多く行ないました。 |
3551 | 4971 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
3552 | 4972 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 |
3553 | 4973 | |
3554 | 4974 | =begin original |
3555 | 4975 | |
3556 | 4976 | This threshold can be changed from 100, by recompiling the F<perl> binary, |
3557 | 4977 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. |
3558 | 4978 | |
3559 | 4979 | =end original |
3560 | 4980 | |
3561 | 4981 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に |
3562 | 4982 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 |
3563 | 4983 | |
3564 | =item de | |
4984 | =item (?(DEFINE)....) does not allow branches in regex; marked by | |
4985 | S<<-- HERE> in m/%s/ | |
3565 | 4986 | |
3566 | 4987 | =begin original |
3567 | 4988 | |
3568 | ( | |
4989 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The | |
3569 | checks for an undefined I<scalar> value. If you want to see if the | |
3570 | array is empty, just use C<if (@array) { # not empty }> for example. | |
3571 | ||
3572 | =end original | |
3573 | ||
3574 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に | |
3575 | 使っても普通は無意味です。 | |
3576 | 配列が空かどうかを調べたい場合は、例えば単に | |
3577 | C<if (@array) { # not empty }> としてください。 | |
3578 | ||
3579 | =item defined(%hash) is deprecated | |
3580 | ||
3581 | =begin original | |
3582 | ||
3583 | (D deprecated) defined() is not usually useful on hashes because it | |
3584 | checks for an undefined I<scalar> value. If you want to see if the hash | |
3585 | is empty, just use C<if (%hash) { # not empty }> for example. | |
3586 | ||
3587 | =end original | |
3588 | ||
3589 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに | |
3590 | 使っても普通は無意味です。 | |
3591 | ハッシュが空かどうかを調べたい場合は、例えば単に | |
3592 | C<if (%hash) { # not empty }> としてください。 | |
3593 | ||
3594 | =item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/ | |
3595 | ||
3596 | =begin original | |
3597 | ||
3598 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The | |
3599 | 4990 | most likely cause of this error is that you left out a parenthesis inside |
3600 | 4991 | of the C<....> part. |
3601 | 4992 | |
3602 | 4993 | =end original |
3603 | 4994 | |
3604 | 4995 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 |
3605 | 4996 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを |
3606 | 4997 | そのままにしたことです。 |
3607 | 4998 | |
3608 | 4999 | =begin original |
3609 | 5000 | |
3610 | The <-- HERE shows in the regular expression | |
5001 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
3611 | 5002 | discovered. |
3612 | 5003 | |
3613 | 5004 | =end original |
3614 | 5005 | |
3615 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5006 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3616 | 5007 | |
3617 | 5008 | =item %s defines neither package nor VERSION--version check failed |
3618 | 5009 | |
3619 | 5010 | =begin original |
3620 | 5011 | |
3621 | 5012 | (F) You said something like "use Module 42" but in the Module file |
3622 | 5013 | there are neither package declarations nor a C<$VERSION>. |
3623 | 5014 | |
3624 | 5015 | =end original |
3625 | 5016 | |
3626 | 5017 | (F) "use Module 42" のようなことをしましたが、Module ファイルに |
3627 | 5018 | パッケージ定義がないか、C<$VERSION> がありませんでした。 |
3628 | 5019 | |
3629 | =item | |
5020 | =item delete argument is not a HASH or ARRAY element or slice | |
3630 | 5021 | |
3631 | 5022 | =begin original |
3632 | 5023 | |
3633 | (F) | |
5024 | (F) The argument to C<delete> must be either a hash or array element, | |
3634 | ||
5025 | such as: | |
3635 | that triggers this error. | |
3636 | 5026 | |
3637 | 5027 | =end original |
3638 | 5028 | |
3639 | (F) C< | |
5029 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: | |
3640 | Perl が扱うには長すぎました。 | |
3641 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 | |
3642 | 5030 | |
3643 | ||
5031 | $foo{$bar} | |
5032 | $ref->{"susie"}[12] | |
3644 | 5033 | |
3645 | 5034 | =begin original |
3646 | 5035 | |
3647 | ||
5036 | or a hash or array slice, such as: | |
3648 | But starting in 5.12, non-reasonable ones that don't look like names | |
3649 | are deprecated. A reasonable name begins with an alphabetic character | |
3650 | and continues with any combination of alphanumerics, dashes, spaces, | |
3651 | parentheses or colons. | |
3652 | 5037 | |
3653 | 5038 | =end original |
3654 | 5039 | |
3655 | ||
5040 | あるいは以下のようにハッシュか配列のスライスか: | |
3656 | しかし 5.12 から、名前のように見えない正当でないものは廃止予定です。 | |
3657 | 正当な名前は英字で始まって英数字、ダッシュ、空白、かっこ、コロンが | |
3658 | 引き続くものです。 | |
3659 | 5041 | |
3660 | ||
5042 | @foo[$bar, $baz, $xyzzy] | |
5043 | $ref->[12]->@{"susie", "queue"} | |
3661 | 5044 | |
3662 | 5045 | =begin original |
3663 | 5046 | |
3664 | ||
5047 | or a hash key/value or array index/value slice, such as: | |
3665 | There has been a long-standing bug in Perl that causes a lexical variable | |
3666 | not to be cleared at scope exit when its declaration includes a false | |
3667 | conditional. Some people have exploited this bug to achieve a kind of | |
3668 | static variable. Since we intend to fix this bug, we don't want people | |
3669 | relying on this behavior. You can achieve a similar static effect by | |
3670 | declaring the variable in a separate block outside the function, eg | |
3671 | 5048 | |
3672 | 5049 | =end original |
3673 | 5050 | |
3674 | ||
5051 | あるいは以下のようにハッシュのキー/値や配列のインデックス/値で | |
3675 | ||
5052 | なければなりません: | |
3676 | クリアされないという、Perl に長い間存在したバグです。 | |
3677 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
3678 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
3679 | ほしくありません。 | |
3680 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
3681 | 達成できます; 例えば: | |
3682 | 5053 | |
3683 | | |
5054 | %foo[$bar, $baz, $xyzzy] | |
5055 | $ref->[12]->%{"susie", "queue"} | |
3684 | 5056 | |
3685 | = | |
5057 | =item Delimiter for here document is too long | |
3686 | 5058 | |
3687 | becomes | |
3688 | ||
3689 | =end original | |
3690 | ||
3691 | これは以下のようにします: | |
3692 | ||
3693 | { my $x; sub f { return $x++ } } | |
3694 | ||
3695 | 5059 | =begin original |
3696 | 5060 | |
3697 | ||
5061 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too | |
3698 | ||
5062 | long for Perl to handle. You have to be seriously twisted to write code | |
5063 | that triggers this error. | |
3699 | 5064 | |
3700 | 5065 | =end original |
3701 | 5066 | |
3702 | ||
5067 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が | |
3703 | ||
5068 | Perl が扱うには長すぎました。 | |
5069 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 | |
3704 | 5070 | |
3705 | sub f { state $x; return $x++ } | |
3706 | ||
3707 | 5071 | =item DESTROY created new reference to dead object '%s' |
3708 | 5072 | |
3709 | 5073 | =begin original |
3710 | 5074 | |
3711 | 5075 | (F) A DESTROY() method created a new reference to the object which is |
3712 | just being DESTROYed. Perl is confused, and prefers to abort rather | |
5076 | just being DESTROYed. Perl is confused, and prefers to abort rather | |
3713 | to create a dangling reference. | |
5077 | than to create a dangling reference. | |
3714 | 5078 | |
3715 | 5079 | =end original |
3716 | 5080 | |
3717 | 5081 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの |
3718 | 5082 | 新しいリファレンスを作りました。 |
3719 | 5083 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 |
3720 | 5084 | |
3721 | 5085 | =item Did not produce a valid header |
3722 | 5086 | |
3723 | 5087 | =begin original |
3724 | 5088 | |
3725 | See Server error. | |
5089 | See L</500 Server error>. | |
3726 | 5090 | |
3727 | 5091 | =end original |
3728 | 5092 | |
3729 | ||
5093 | L</500 Server error> を参照してください。 | |
3730 | 5094 | |
3731 | 5095 | =item %s did not return a true value |
3732 | 5096 | |
3733 | 5097 | =begin original |
3734 | 5098 | |
3735 | 5099 | (F) A required (or used) file must return a true value to indicate that |
3736 | 5100 | it compiled correctly and ran its initialization code correctly. It's |
3737 | 5101 | traditional to end such a file with a "1;", though any true value would |
3738 | 5102 | do. See L<perlfunc/require>. |
3739 | 5103 | |
3740 | 5104 | =end original |
3741 | 5105 | |
3742 | 5106 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
3743 | 5107 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
3744 | 5108 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
3745 | 5109 | 真となる値であれば、何でもかまいません。 |
3746 | 5110 | L<perlfunc/require> を参照してください。 |
3747 | 5111 | |
3748 | 5112 | =item (Did you mean &%s instead?) |
3749 | 5113 | |
3750 | 5114 | =begin original |
3751 | 5115 | |
3752 | 5116 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or |
3753 | 5117 | some such. |
3754 | 5118 | |
3755 | 5119 | =end original |
3756 | 5120 | |
3757 | 5121 | (W misc) おそらく import したサブルーチン &FOO を $FOO として |
3758 | 5122 | 参照したようなことでしょう。 |
3759 | 5123 | |
3760 | 5124 | =item (Did you mean "local" instead of "our"?) |
3761 | 5125 | |
3762 | 5126 | =begin original |
3763 | 5127 | |
3764 | (W | |
5128 | (W shadow) Remember that "our" does not localize the declared global | |
3765 | 5129 | variable. You have declared it again in the same lexical scope, which |
3766 | 5130 | seems superfluous. |
3767 | 5131 | |
3768 | 5132 | =end original |
3769 | 5133 | |
3770 | (W | |
5134 | (W shadow) "our" 宣言されたグローバル変数を local 化しないことを | |
3771 | 5135 | 忘れないで下さい。 |
3772 | 5136 | これをもう一度同じレキシカルスコープで宣言していますが、 |
3773 | 5137 | 不必要でしょう。 |
3774 | 5138 | |
3775 | 5139 | =item (Did you mean $ or @ instead of %?) |
3776 | 5140 | |
3777 | 5141 | =begin original |
3778 | 5142 | |
3779 | 5143 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
3780 | 5144 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
3781 | 5145 | carried away. |
3782 | 5146 | |
3783 | 5147 | =end original |
3784 | 5148 | |
3785 | 5149 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
3786 | 5150 | したのでしょう。 |
3787 | 5151 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
3788 | 5152 | |
3789 | 5153 | =item Died |
3790 | 5154 | |
3791 | 5155 | =begin original |
3792 | 5156 | |
3793 | 5157 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
3794 | 5158 | you called it with no args and C<$@> was empty. |
3795 | 5159 | |
3796 | 5160 | =end original |
3797 | 5161 | |
3798 | 5162 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
3799 | 5163 | 呼び出して、C<$@> が空でした。 |
3800 | 5164 | |
3801 | 5165 | =item Document contains no data |
3802 | 5166 | |
3803 | 5167 | =begin original |
3804 | 5168 | |
3805 | See Server error. | |
5169 | See L</500 Server error>. | |
3806 | 5170 | |
3807 | 5171 | =end original |
3808 | 5172 | |
3809 | ||
5173 | L</500 Server error> を参照してください。 | |
3810 | 5174 | |
3811 | 5175 | =item %s does not define %s::VERSION--version check failed |
3812 | 5176 | |
3813 | 5177 | =begin original |
3814 | 5178 | |
3815 | 5179 | (F) You said something like "use Module 42" but the Module did not |
3816 | define a C<$VERSION | |
5180 | define a C<$VERSION>. | |
3817 | 5181 | |
3818 | 5182 | =end original |
3819 | 5183 | |
3820 | 5184 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を |
3821 | 5185 | 定義していません。 |
3822 | 5186 | |
3823 | =item '/' does not take a repeat count | |
5187 | =item '/' does not take a repeat count in %s | |
3824 | 5188 | |
3825 | 5189 | =begin original |
3826 | 5190 | |
3827 | 5191 | (F) You cannot put a repeat count of any kind right after the '/' code. |
3828 | 5192 | See L<perlfunc/pack>. |
3829 | 5193 | |
3830 | 5194 | =end original |
3831 | 5195 | |
3832 | 5196 | (F) '/' の直後には繰り返し数を指定できません。 |
3833 | 5197 | L<perlfunc/pack> を参照してください。 |
3834 | 5198 | |
3835 | =item | |
5199 | =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"? | |
3836 | 5200 | |
3837 | 5201 | =begin original |
3838 | 5202 | |
5203 | (D deprecated::dot_in_inc) Previously C< do "somefile"; > would search | |
5204 | the current directory for the specified file. Since perl v5.26.0, F<.> | |
5205 | has been removed from C<@INC> by default, so this is no longer true. To | |
5206 | search the current directory (and only the current directory) you can | |
5207 | write C< do "./somefile"; >. | |
5208 | ||
5209 | =end original | |
5210 | ||
5211 | (D deprecated::dot_in_inc) 以前は、C< do "somefile"; > は指定された | |
5212 | ファイルをカレントディレクトリから探していました。 | |
5213 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 | |
5214 | これはもはや真ではありません。 | |
5215 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 | |
5216 | C< do "./somefile"; > と書けます。 | |
5217 | ||
5218 | =item '%s' does not appear to be an imported builtin function | |
5219 | ||
5220 | =begin original | |
5221 | ||
5222 | (F) An attempt was made to remove a previously-imported lexical from | |
5223 | L<builtin> by using the C<unimport> method (likely via C<no builtin ...> | |
5224 | syntax), but the requested function has not been imported into the current | |
5225 | scope. | |
5226 | ||
5227 | =end original | |
5228 | ||
5229 | (F) (おそらく C<no builtin ...> 構文を通じて) C<unimport> メソッドを | |
5230 | 使って、以前にインポートされた語彙を L<builtin> から削除しようとしましたが、 | |
5231 | 要求された関数は現在のスコープにインポートされていません。 | |
5232 | ||
5233 | =item Don't know how to get file name | |
5234 | ||
5235 | =begin original | |
5236 | ||
5237 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was | |
5238 | somehow called on another platform. This should not happen. | |
5239 | ||
5240 | =end original | |
5241 | ||
5242 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか | |
5243 | 他のプラットフォームで呼び出されました。 | |
5244 | これは起きないはずです。 | |
5245 | ||
5246 | =item Don't know how to handle magic of type \%o | |
5247 | ||
5248 | =begin original | |
5249 | ||
3839 | 5250 | (P) The internal handling of magical variables has been cursed. |
3840 | 5251 | |
3841 | 5252 | =end original |
3842 | 5253 | |
3843 | 5254 | (P) マジカル変数の内部処理がおかしくなっています。 |
3844 | 5255 | |
3845 | =item | |
5256 | =item Downgrading a use VERSION declaration to below v5.11 is not permitted | |
3846 | 5257 | |
3847 | 5258 | =begin original |
3848 | 5259 | |
3849 | ( | |
5260 | (F) A C<use VERSION> statement that requests a version below v5.11 | |
5261 | (when the effects of C<use strict> would be disabled) has been found | |
5262 | after a previous declaration of one having a larger number (which would | |
5263 | have enabled these effects). Because of a change to the way that | |
5264 | C<use VERSION> interacts with the strictness flags, this is no longer | |
5265 | supported. | |
3850 | 5266 | |
3851 | 5267 | =end original |
3852 | 5268 | |
3853 | ( | |
5269 | (F) (C<use strict> の効果が | |
5270 | 無効の時に) (これが有効なときに) その前により大きな値が宣言された後、 | |
5271 | v5.11 より小さいバージョンを要求する C<use VERSION> 文が見つかりました。 | |
5272 | C<use VERSION> と strict フラグとの相互作用する方法が変更されたため、 | |
5273 | これはもはや対応されません。 | |
3854 | 5274 | |
3855 | 5275 | =item (Do you need to predeclare %s?) |
3856 | 5276 | |
3857 | 5277 | =begin original |
3858 | 5278 | |
3859 | 5279 | (S syntax) This is an educated guess made in conjunction with the message |
3860 | 5280 | "%s found where operator expected". It often means a subroutine or module |
3861 | 5281 | name is being referenced that hasn't been declared yet. This may be |
3862 | 5282 | because of ordering problems in your file, or because of a missing |
3863 | 5283 | "sub", "package", "require", or "use" statement. If you're referencing |
3864 | 5284 | something that isn't defined yet, you don't actually have to define the |
3865 | 5285 | subroutine or package before the current location. You can use an empty |
3866 | 5286 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
3867 | 5287 | |
3868 | 5288 | =end original |
3869 | 5289 | |
3870 | 5290 | (S syntax) これは "%s found where operator expected" メッセージと共に |
3871 | 5291 | 表示される教育的な推測です。 |
3872 | 5292 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
3873 | 5293 | ことを意味します。 |
3874 | 5294 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
3875 | 5295 | "use" 文がないためであったりします。 |
3876 | 5296 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
3877 | 5297 | サブルーチンやパッケージを定義する必要はありません。 |
3878 | 5298 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
3879 | 5299 | |
3880 | =item dump() be | |
5300 | =item dump() must be written as CORE::dump() as of Perl 5.30 | |
3881 | 5301 | |
3882 | 5302 | =begin original |
3883 | 5303 | |
3884 | ( | |
5304 | (F) You used the obsolete C<dump()> built-in function. That was deprecated in | |
3885 | ||
5305 | Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format: | |
5306 | C<CORE::dump()>. | |
3886 | 5307 | |
3887 | 5308 | =end original |
3888 | 5309 | |
3889 | ( | |
5310 | (F) 古いものである C<dump()> 組み込み関数を使いました。 | |
3890 | ||
5311 | これは Perl 5.8.0 から廃止予定でした。 | |
3891 | ||
5312 | Perl 5.30 から、これは C<CORE::dump()> というように完全修飾形式で | |
5313 | 書かなければなりません。 | |
5314 | ||
5315 | =begin original | |
5316 | ||
5317 | See L<perlfunc/dump>. | |
5318 | ||
5319 | =end original | |
5320 | ||
3892 | 5321 | L<perlfunc/dump> を参照してください。 |
3893 | 5322 | |
3894 | 5323 | =item dump is not supported |
3895 | 5324 | |
3896 | 5325 | =begin original |
3897 | 5326 | |
3898 | 5327 | (F) Your machine doesn't support dump/undump. |
3899 | 5328 | |
3900 | 5329 | =end original |
3901 | 5330 | |
3902 | 5331 | (F) このマシンは dump/undump に対応していません。 |
3903 | 5332 | |
3904 | 5333 | =item Duplicate free() ignored |
3905 | 5334 | |
3906 | 5335 | =begin original |
3907 | 5336 | |
3908 | 5337 | (S malloc) An internal routine called free() on something that had |
3909 | 5338 | already been freed. |
3910 | 5339 | |
3911 | 5340 | =end original |
3912 | 5341 | |
3913 | 5342 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
3914 | 5343 | 行なおうとしました。 |
3915 | 5344 | |
3916 | 5345 | =item Duplicate modifier '%c' after '%c' in %s |
3917 | 5346 | |
3918 | 5347 | =begin original |
3919 | 5348 | |
3920 | (W) You have applied the same modifier more than once after a | |
5349 | (W unpack) You have applied the same modifier more than once after a | |
3921 | in a pack template. See L<perlfunc/pack>. | |
5350 | type in a pack template. See L<perlfunc/pack>. | |
3922 | 5351 | |
3923 | 5352 | =end original |
3924 | 5353 | |
3925 | (W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
5354 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
3926 | 5355 | L<perlfunc/pack> を参照してください。 |
3927 | 5356 | |
5357 | =item each on anonymous %s will always start from the beginning | |
5358 | ||
5359 | =begin original | |
5360 | ||
5361 | (W syntax) You called L<each|perlfunc/each> on an anonymous hash or | |
5362 | array. Since a new hash or array is created each time, each() will | |
5363 | restart iterating over your hash or array every time. | |
5364 | ||
5365 | =end original | |
5366 | ||
5367 | (W syntax) L<each|perlfunc/each> を無名ハッシュまたは配列で呼び出しました。 | |
5368 | 新しいハッシュや配列は毎回作成されるので、 | |
5369 | each() は毎回ハッシュや配列に対して反復を再始動します。 | |
5370 | ||
3928 | 5371 | =item elseif should be elsif |
3929 | 5372 | |
3930 | 5373 | =begin original |
3931 | 5374 | |
3932 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks | |
5375 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks | |
3933 | ugly. Your code will be interpreted as an attempt to call a metho | |
5376 | it's ugly. Your code will be interpreted as an attempt to call a method | |
3934 | "elseif" for the class returned by the following block. This is | |
5377 | named "elseif" for the class returned by the following block. This is | |
3935 | 5378 | unlikely to be what you want. |
3936 | 5379 | |
3937 | 5380 | =end original |
3938 | 5381 | |
3939 | 5382 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
3940 | 5383 | ありません。 |
3941 | 5384 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
3942 | 5385 | 呼び出そうとしていると解釈されます。 |
3943 | 5386 | これは望んでいることではないはずです。 |
3944 | 5387 | |
3945 | =item Empty %s | |
5388 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ | |
3946 | 5389 | |
5390 | =item Empty \%c{} | |
5391 | ||
5392 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
5393 | ||
3947 | 5394 | =begin original |
3948 | 5395 | |
3949 | (F) | |
5396 | (F) You used something like C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, or | |
3950 | ||
5397 | C<\x> without specifying anything for it to operate on. | |
3951 | a regular expression without specifying the property name. | |
3952 | 5398 | |
3953 | 5399 | =end original |
3954 | 5400 | |
3955 | (F) | |
5401 | (F) 何を操作するかを指定せずに | |
3956 | ||
5402 | C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使いました。 | |
3957 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
3958 | 5403 | |
5404 | =begin original | |
5405 | ||
5406 | Unfortunately, for backwards compatibility reasons, an empty C<\x> is | |
5407 | legal outside S<C<use re 'strict'>> and expands to a NUL character. | |
5408 | ||
5409 | =end original | |
5410 | ||
5411 | 残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の | |
5412 | C<\x> は正当で、一つの NUL 文字に展開されます。 | |
5413 | ||
5414 | =item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/ | |
5415 | ||
5416 | =begin original | |
5417 | ||
5418 | (W regexp) (only under C<S<use re 'strict'>>) | |
5419 | C<(?)> does nothing, so perhaps this is a typo. | |
5420 | ||
5421 | =end original | |
5422 | ||
5423 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
5424 | C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。 | |
5425 | ||
5426 | =item ${^ENCODING} is no longer supported | |
5427 | ||
5428 | =begin original | |
5429 | ||
5430 | (F) The special variable C<${^ENCODING}>, formerly used to implement | |
5431 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. | |
5432 | ||
5433 | =end original | |
5434 | ||
5435 | (F) 以前は C<encoding> プラグマの実装に使われていた | |
5436 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 | |
5437 | ||
5438 | =begin original | |
5439 | ||
5440 | Setting it to anything other than C<undef> is a fatal error as of Perl | |
5441 | 5.28. | |
5442 | ||
5443 | =end original | |
5444 | ||
5445 | これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。 | |
5446 | ||
5447 | =item ${^HOOK}{%s} may only be a CODE reference or undef | |
5448 | ||
5449 | =begin original | |
5450 | ||
5451 | (F) You attempted to assign something other than undef or a CODE ref to | |
5452 | C<%{^HOOK}>. Hooks may only be CODE refs. See L<perlvar/%{^HOOK}> for | |
5453 | details. | |
5454 | ||
5455 | =end original | |
5456 | ||
5457 | (F) 未定義値やコードリファレンスでないものを | |
5458 | C<%{^HOOK}> に代入しようとしました。 | |
5459 | フックはコードリファレンスのみです。 | |
5460 | 詳しくは L<perlvar/%{^HOOK}> を参照してください。 | |
5461 | ||
5462 | =item Attempt to set unknown hook '%s' in %{^HOOK} | |
5463 | ||
5464 | =begin original | |
5465 | ||
5466 | (F) You attempted to assign something other than undef or a CODE ref to | |
5467 | C<%{^HOOK}>. Hooks may only be CODE refs. See L<perlvar/%{^HOOK}> for | |
5468 | details. | |
5469 | ||
5470 | =end original | |
5471 | ||
5472 | (F) 未定義値やコードリファレンスでないものを | |
5473 | C<%{^HOOK}> に代入しようとしました。 | |
5474 | フックはコードリファレンスのみです。 | |
5475 | 詳しくは L<perlvar/%{^HOOK}> を参照してください。 | |
5476 | ||
3959 | 5477 | =item entering effective %s failed |
3960 | 5478 | |
3961 | 5479 | =begin original |
3962 | 5480 | |
3963 | 5481 | (F) While under the C<use filetest> pragma, switching the real and |
3964 | 5482 | effective uids or gids failed. |
3965 | 5483 | |
3966 | 5484 | =end original |
3967 | 5485 | |
3968 | 5486 | (F) C<use filetest> プラグマを使っている間に、 |
3969 | 5487 | 実と実効の UID や GID の切り替えに失敗しました。 |
3970 | 5488 | |
3971 | 5489 | =item %ENV is aliased to %s |
3972 | 5490 | |
3973 | 5491 | =begin original |
3974 | 5492 | |
3975 | 5493 | (F) You're running under taint mode, and the C<%ENV> variable has been |
3976 | 5494 | aliased to another hash, so it doesn't reflect anymore the state of the |
3977 | program's environment. This is potentially insecure. | |
5495 | program's environment. This is potentially insecure. | |
3978 | 5496 | |
3979 | 5497 | =end original |
3980 | 5498 | |
3981 | 5499 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに |
3982 | 5500 | なっているので、これ以上プログラムの環境の状態を反映しません。 |
3983 | 5501 | これは潜在的にはセキュアではありません。 |
3984 | 5502 | |
3985 | 5503 | =item Error converting file specification %s |
3986 | 5504 | |
3987 | 5505 | =begin original |
3988 | 5506 | |
3989 | 5507 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
3990 | 5508 | specifications in either VMS or Unix syntax, it converts them to a |
3991 | 5509 | single form when it must operate on them directly. Either you've passed |
3992 | 5510 | an invalid file specification to Perl, or you've found a case the |
3993 | 5511 | conversion routines don't handle. Drat. |
3994 | 5512 | |
3995 | 5513 | =end original |
3996 | 5514 | |
3997 | 5515 | (F) VMS に固有のエラーです。 |
3998 | 5516 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
3999 | 5517 | 直接操作しなければならない場合は変換します。 |
4000 | 5518 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
4001 | 5519 | 発見したかです。 |
4002 | 5520 | ちぇっ。 |
4003 | 5521 | |
4004 | =item | |
5522 | =item Error %s in expansion of %s | |
4005 | 5523 | |
4006 | 5524 | =begin original |
4007 | 5525 | |
5526 | (F) An error was encountered in handling a user-defined property | |
5527 | (L<perlunicode/User-Defined Character Properties>). These are | |
5528 | programmer written subroutines, hence subject to errors that may | |
5529 | prevent them from compiling or running. The calls to these subs are | |
5530 | C<eval>'d, and if there is a failure, this message is raised, using the | |
5531 | contents of C<$@> from the failed C<eval>. | |
5532 | ||
5533 | =end original | |
5534 | ||
5535 | (F) ユーザー定義特性 | |
5536 | (L<perlunicode/User-Defined Character Properties>) の扱いで | |
5537 | エラーに遭遇しました。 | |
5538 | これらはプログラマが書いたサブルーチンなので、 | |
5539 | エラーがコンパイルや実行を阻害することがあります。 | |
5540 | これらのサブルーチンの呼び出しは | |
5541 | C<eval> され、エラーがある場合、失敗した C<eval> からの C<$@> の内容を使って | |
5542 | このメッセージが発生します。 | |
5543 | ||
5544 | =begin original | |
5545 | ||
5546 | Another possibility is that tainted data was encountered somewhere in | |
5547 | the chain of expanding the property. If so, the message wording will | |
5548 | indicate that this is the problem. See L</Insecure user-defined | |
5549 | property %s>. | |
5550 | ||
5551 | =end original | |
5552 | ||
5553 | もう一つの可能性は、特性の展開の鎖のどこかで汚染されたデータに | |
5554 | 遭遇したことです。 | |
5555 | もしそうなら、メッセージはこれが問題であることを示します。 | |
5556 | L</Insecure user-defined property %s> を参照してください。 | |
5557 | ||
5558 | =item Eval-group in insecure regular expression | |
5559 | ||
5560 | =begin original | |
5561 | ||
4008 | 5562 | (F) Perl detected tainted data when trying to compile a regular |
4009 | 5563 | expression that contains the C<(?{ ... })> zero-width assertion, which |
4010 | 5564 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
4011 | 5565 | |
4012 | 5566 | =end original |
4013 | 5567 | |
4014 | 5568 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
4015 | 5569 | したときに、Perl は汚染されたデータを検出しました; |
4016 | 5570 | これは安全ではありません。 |
4017 | 5571 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
4018 | 5572 | |
4019 | =item | |
5573 | =item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/ | |
4020 | 5574 | |
4021 | 5575 | =begin original |
4022 | 5576 | |
4023 | 5577 | (F) Perl tried to compile a regular expression containing the |
4024 | 5578 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
4025 | 5579 | pattern contains interpolated values. Since that is a security risk, |
4026 | 5580 | it is not allowed. If you insist, you may still do this by using the |
4027 | 5581 | C<re 'eval'> pragma or by explicitly building the pattern from an |
4028 | 5582 | interpolated string at run time and using that in an eval(). See |
4029 | 5583 | L<perlre/(?{ code })>. |
4030 | 5584 | |
4031 | 5585 | =end original |
4032 | 5586 | |
4033 | 5587 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
4034 | 5588 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
4035 | 5589 | これはセキュリティ上の危険があるので、許可されていません。 |
4036 | 5590 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に |
4037 | 5591 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで |
4038 | 5592 | 実行できます。 |
4039 | 5593 | L<perlre/(?{ code })> を参照してください。 |
4040 | 5594 | |
4041 | =item | |
5595 | =item Eval-group not allowed, use re 'eval' in regex m/%s/ | |
4042 | 5596 | |
4043 | 5597 | =begin original |
4044 | 5598 | |
4045 | 5599 | (F) A regular expression contained the C<(?{ ... })> zero-width |
4046 | 5600 | assertion, but that construct is only allowed when the C<use re 'eval'> |
4047 | 5601 | pragma is in effect. See L<perlre/(?{ code })>. |
4048 | 5602 | |
4049 | 5603 | =end original |
4050 | 5604 | |
4051 | 5605 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
4052 | 5606 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
4053 | 5607 | L<perlre/(?{ code })> を参照してください。 |
4054 | 5608 | |
4055 | =item EVAL without pos change exceeded limit in regex; marked by | |
5609 | =item EVAL without pos change exceeded limit in regex; marked by | |
5610 | S<<-- HERE> in m/%s/ | |
4056 | 5611 | |
4057 | 5612 | =begin original |
4058 | 5613 | |
4059 | 5614 | (F) You used a pattern that nested too many EVAL calls without consuming |
4060 | any text. Restructure the pattern so that text is consumed. | |
5615 | any text. Restructure the pattern so that text is consumed. | |
4061 | 5616 | |
4062 | 5617 | =end original |
4063 | 5618 | |
4064 | 5619 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる |
4065 | 5620 | パターンを使いました。 |
4066 | 5621 | テキストを読み込むようにパターンを再構築してください。 |
4067 | 5622 | |
4068 | 5623 | =begin original |
4069 | 5624 | |
4070 | The <-- HERE shows in the regular expression | |
5625 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
4071 | 5626 | discovered. |
4072 | 5627 | |
4073 | 5628 | =end original |
4074 | 5629 | |
4075 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5630 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4076 | 5631 | |
4077 | 5632 | =item Excessively long <> operator |
4078 | 5633 | |
4079 | 5634 | =begin original |
4080 | 5635 | |
4081 | 5636 | (F) The contents of a <> operator may not exceed the maximum size of a |
4082 | 5637 | Perl identifier. If you're just trying to glob a long list of |
4083 | 5638 | filenames, try using the glob() operator, or put the filenames into a |
4084 | 5639 | variable and glob that. |
4085 | 5640 | |
4086 | 5641 | =end original |
4087 | 5642 | |
4088 | 5643 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
4089 | 5644 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
4090 | 5645 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
4091 | 5646 | |
4092 | 5647 | =item exec? I'm not *that* kind of operating system |
4093 | 5648 | |
4094 | 5649 | =begin original |
4095 | 5650 | |
4096 | (F) The C<exec> function is not implemented on some systems, e.g. | |
5651 | (F) The C<exec> function is not implemented on some systems, e.g. | |
4097 | ||
5652 | Catamount. See L<perlport>. | |
4098 | 5653 | |
4099 | 5654 | =end original |
4100 | 5655 | |
4101 | (F) C<exec> 関数は | |
5656 | (F) C<exec> 関数は Catamount のような一部のシステムには実装されていません。 | |
4102 | 5657 | L<perlport> を参照してください。 |
4103 | 5658 | |
5659 | =item %sExecution of %s aborted due to compilation errors. | |
5660 | ||
5661 | =begin original | |
5662 | ||
5663 | (F) The final summary message when a Perl compilation fails. | |
5664 | ||
5665 | =end original | |
5666 | ||
5667 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 | |
5668 | ||
4104 | 5669 | =item Execution of %s aborted due to compilation errors. |
4105 | 5670 | |
4106 | 5671 | =begin original |
4107 | 5672 | |
4108 | 5673 | (F) The final summary message when a Perl compilation fails. |
4109 | 5674 | |
4110 | 5675 | =end original |
4111 | 5676 | |
4112 | 5677 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
4113 | 5678 | |
5679 | =item exists argument is not a HASH or ARRAY element or a subroutine | |
5680 | ||
5681 | =begin original | |
5682 | ||
5683 | (F) The argument to C<exists> must be a hash or array element or a | |
5684 | subroutine with an ampersand, such as: | |
5685 | ||
5686 | =end original | |
5687 | ||
5688 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 | |
5689 | アンパサンド付きのサブルーチンでなければなりません: | |
5690 | ||
5691 | $foo{$bar} | |
5692 | $ref->{"susie"}[12] | |
5693 | &do_something | |
5694 | ||
5695 | =item exists argument is not a subroutine name | |
5696 | ||
5697 | =begin original | |
5698 | ||
5699 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, | |
5700 | and not a subroutine call. C<exists &sub()> will generate this error. | |
5701 | ||
5702 | =end original | |
5703 | ||
5704 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 | |
5705 | サブルーチン呼び出しではありません。 | |
5706 | C<exists &sub()> はこのエラーを生成します。 | |
5707 | ||
4114 | 5708 | =item Exiting eval via %s |
4115 | 5709 | |
4116 | 5710 | =begin original |
4117 | 5711 | |
4118 | 5712 | (W exiting) You are exiting an eval by unconventional means, such as a |
4119 | 5713 | goto, or a loop control statement. |
4120 | 5714 | |
4121 | 5715 | =end original |
4122 | 5716 | |
4123 | 5717 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
4124 | 5718 | |
4125 | 5719 | =item Exiting format via %s |
4126 | 5720 | |
4127 | 5721 | =begin original |
4128 | 5722 | |
4129 | 5723 | (W exiting) You are exiting a format by unconventional means, such as a |
4130 | 5724 | goto, or a loop control statement. |
4131 | 5725 | |
4132 | 5726 | =end original |
4133 | 5727 | |
4134 | 5728 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを |
4135 | 5729 | 終了しました。 |
4136 | 5730 | |
4137 | 5731 | =item Exiting pseudo-block via %s |
4138 | 5732 | |
4139 | 5733 | =begin original |
4140 | 5734 | |
4141 | 5735 | (W exiting) You are exiting a rather special block construct (like a |
4142 | 5736 | sort block or subroutine) by unconventional means, such as a goto, or a |
4143 | 5737 | loop control statement. See L<perlfunc/sort>. |
4144 | 5738 | |
4145 | 5739 | =end original |
4146 | 5740 | |
4147 | 5741 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
4148 | 5742 | goto やループ制御文といった異例な方法で終了しました。 |
4149 | 5743 | L<perlfunc/sort> を参照してください。 |
4150 | 5744 | |
4151 | 5745 | =item Exiting subroutine via %s |
4152 | 5746 | |
4153 | 5747 | =begin original |
4154 | 5748 | |
4155 | 5749 | (W exiting) You are exiting a subroutine by unconventional means, such |
4156 | 5750 | as a goto, or a loop control statement. |
4157 | 5751 | |
4158 | 5752 | =end original |
4159 | 5753 | |
4160 | 5754 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを |
4161 | 5755 | 抜けました。 |
4162 | 5756 | |
4163 | 5757 | =item Exiting substitution via %s |
4164 | 5758 | |
4165 | 5759 | =begin original |
4166 | 5760 | |
4167 | 5761 | (W exiting) You are exiting a substitution by unconventional means, such |
4168 | 5762 | as a return, a goto, or a loop control statement. |
4169 | 5763 | |
4170 | 5764 | =end original |
4171 | 5765 | |
4172 | 5766 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
4173 | 5767 | 抜けました。 |
4174 | 5768 | |
5769 | =item Expected %s reference in export_lexically | |
5770 | ||
5771 | =begin original | |
5772 | ||
5773 | (F) The type of a reference given to L<builtin/export_lexically> did not | |
5774 | match the sigil of the preceding name, or the value was not a reference at | |
5775 | all. | |
5776 | ||
5777 | =end original | |
5778 | ||
5779 | (F) L<builtin/export_lexically> に与えられたリファレンスの型が | |
5780 | その前にある名前の印に一致しないか、値がそもそも | |
5781 | リファレンスではありません。 | |
5782 | ||
5783 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ | |
5784 | ||
5785 | =begin original | |
5786 | ||
5787 | (F) You wrote something like | |
5788 | ||
5789 | =end original | |
5790 | ||
5791 | (F) 次のようなものを書きました: | |
5792 | ||
5793 | (?13 | |
5794 | ||
5795 | =begin original | |
5796 | ||
5797 | to denote a capturing group of the form | |
5798 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
5799 | but omitted the C<")">. | |
5800 | ||
5801 | =end original | |
5802 | ||
5803 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
5804 | 捕捉グループを示していますが C<")"> が省略されています。 | |
5805 | ||
5806 | =item Expecting interpolated extended charclass in regex; marked by <-- | |
5807 | HERE in m/%s/ | |
5808 | ||
5809 | =begin original | |
5810 | ||
5811 | (F) It looked like you were attempting to interpolate an | |
5812 | already-compiled extended character class, like so: | |
5813 | ||
5814 | =end original | |
5815 | ||
5816 | (F) 次のように、既にコンパイルされている拡張文字クラスを結合しようと | |
5817 | したように見えます: | |
5818 | ||
5819 | my $thai_or_lao = qr/(?[ \p{Thai} + \p{Lao} ])/; | |
5820 | ... | |
5821 | qr/(?[ \p{Digit} & $thai_or_lao ])/; | |
5822 | ||
5823 | =begin original | |
5824 | ||
5825 | But the marked code isn't syntactically correct to be such an | |
5826 | interpolated class. | |
5827 | ||
5828 | =end original | |
5829 | ||
5830 | しかしマークされたコードは、そのような結合されたクラスとして | |
5831 | 文法的に正しくありません。 | |
5832 | ||
5833 | =item Experimental aliasing via reference not enabled | |
5834 | ||
5835 | =begin original | |
5836 | ||
5837 | (F) To do aliasing via references, you must first enable the feature: | |
5838 | ||
5839 | =end original | |
5840 | ||
5841 | (F) リファレンスによる別名をするためには、最初にこの機能を | |
5842 | 有効にしなければなりません: | |
5843 | ||
5844 | no warnings "experimental::refaliasing"; | |
5845 | use feature "refaliasing"; | |
5846 | \$x = \$y; | |
5847 | ||
5848 | =item Experimental %s on scalar is now forbidden | |
5849 | ||
5850 | =begin original | |
5851 | ||
5852 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
5853 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
5854 | scalar argument. This experiment is considered unsuccessful, and | |
5855 | has been removed. The C<postderef> feature may meet your needs better. | |
5856 | ||
5857 | =end original | |
5858 | ||
5859 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
5860 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
5861 | スカラ引数で呼び出すことができました。 | |
5862 | この実験は失敗と考えられ、削除されました。 | |
5863 | C<postderef> 機能はあなたの要求により良く一致します。 | |
5864 | ||
5865 | =item Experimental subroutine signatures not enabled | |
5866 | ||
5867 | =begin original | |
5868 | ||
5869 | (F) To use subroutine signatures, you must first enable them: | |
5870 | ||
5871 | =end original | |
5872 | ||
5873 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
5874 | ||
5875 | use feature "signatures"; | |
5876 | sub foo ($left, $right) { ... } | |
5877 | ||
4175 | 5878 | =item Explicit blessing to '' (assuming package main) |
4176 | 5879 | |
4177 | 5880 | =begin original |
4178 | 5881 | |
4179 | 5882 | (W misc) You are blessing a reference to a zero length string. This has |
4180 | 5883 | the effect of blessing the reference into the package main. This is |
4181 | 5884 | usually not what you want. Consider providing a default target package, |
4182 | 5885 | e.g. bless($ref, $p || 'MyPackage'); |
4183 | 5886 | |
4184 | 5887 | =end original |
4185 | 5888 | |
4186 | 5889 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
4187 | 5890 | これはリファレンスをパッケージ main に bless する効果があります。 |
4188 | 5891 | これは普通あなたが望んでいることではありません。 |
4189 | 5892 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
4190 | 5893 | パッケージを提供することを考慮してください; |
4191 | 5894 | |
5895 | =item export_lexically can only be called at compile time | |
5896 | ||
5897 | =begin original | |
5898 | ||
5899 | (F) L<builtin/export_lexically> was called at runtime. Because it creates | |
5900 | new names in the lexical scope currently being compiled, it can only be | |
5901 | called from code inside C<BEGIN> block in that scope. | |
5902 | ||
5903 | =end original | |
5904 | ||
5905 | (F) L<builtin/export_lexically> が実行時に呼び出されました。 | |
5906 | これは現在コンパイルされているレキシカルスコープ内に | |
5907 | 新しい名前を作るので、そのスコープの C<BEGIN> ブロックの | |
5908 | 内側のコードからのみ呼び出せます。 | |
5909 | ||
4192 | 5910 | =item %s: Expression syntax |
4193 | 5911 | |
4194 | 5912 | =begin original |
4195 | 5913 | |
4196 | 5914 | (A) You've accidentally run your script through B<csh> instead of Perl. |
4197 | 5915 | Check the #! line, or manually feed your script into Perl yourself. |
4198 | 5916 | |
4199 | 5917 | =end original |
4200 | 5918 | |
4201 | 5919 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
4202 | #! 行を | |
5920 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
4203 | 5921 | |
4204 | 5922 | =item %s failed--call queue aborted |
4205 | 5923 | |
4206 | 5924 | =begin original |
4207 | 5925 | |
4208 | 5926 | (F) An untrapped exception was raised while executing a UNITCHECK, |
4209 | 5927 | CHECK, INIT, or END subroutine. Processing of the remainder of the |
4210 | 5928 | queue of such routines has been prematurely ended. |
4211 | 5929 | |
4212 | 5930 | =end original |
4213 | 5931 | |
4214 | 5932 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない |
4215 | 5933 | 例外が発生しました。 |
4216 | 5934 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
4217 | 5935 | |
4218 | =item Fal | |
5936 | =item Failed to close in-place work file %s: %s | |
4219 | 5937 | |
4220 | 5938 | =begin original |
4221 | 5939 | |
4222 | ( | |
5940 | (F) Closing an output file from in-place editing, as with the C<-i> | |
5941 | command-line switch, failed. | |
5942 | ||
5943 | =end original | |
5944 | ||
5945 | (F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを | |
5946 | 閉じるのに失敗しました。 | |
5947 | ||
5948 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
5949 | ||
5950 | =begin original | |
5951 | ||
5952 | (W regexp)(F) A character class range must start and end at a literal | |
4223 | 5953 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" |
4224 | in your false range is interpreted as a literal "-". | |
5954 | in your false range is interpreted as a literal "-". In a C<(?[...])> | |
4225 | ||
5955 | construct, this is an error, rather than a warning. Consider quoting | |
4226 | ||
5956 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression | |
5957 | the problem was discovered. See L<perlre>. | |
4227 | 5958 | |
4228 | 5959 | =end original |
4229 | 5960 | |
4230 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
5961 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
4231 | 5962 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
4232 | 5963 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
5964 | C<(?[...])> 構文では、これは警告ではなくエラーです。 | |
4233 | 5965 | "-" を "\-" とクォートすることを考慮してください。 |
4234 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5966 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4235 | 5967 | L<perlre> を参照してください。 |
4236 | 5968 | |
4237 | 5969 | =item Fatal VMS error (status=%d) at %s, line %d |
4238 | 5970 | |
4239 | 5971 | =begin original |
4240 | 5972 | |
4241 | 5973 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
4242 | 5974 | system service or RTL routine; Perl's exit status should provide more |
4243 | 5975 | details. The filename in "at %s" and the line number in "line %d" tell |
4244 | 5976 | you which section of the Perl source code is distressed. |
4245 | 5977 | |
4246 | 5978 | =end original |
4247 | 5979 | |
4248 | 5980 | (P) VMS に固有のエラーです。 |
4249 | 5981 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
4250 | 5982 | Perl の終了コードに詳細が示されています。 |
4251 | 5983 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
4252 | 5984 | Perl ソースコードの位置を示しています。 |
4253 | 5985 | |
4254 | 5986 | =item fcntl is not implemented |
4255 | 5987 | |
4256 | 5988 | =begin original |
4257 | 5989 | |
4258 | 5990 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
4259 | 5991 | PDP-11 or something? |
4260 | 5992 | |
4261 | 5993 | =end original |
4262 | 5994 | |
4263 | 5995 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
4264 | 5996 | PDP-11 か何かでしょうか。 |
4265 | 5997 | |
4266 | 5998 | =item FETCHSIZE returned a negative value |
4267 | 5999 | |
4268 | 6000 | =begin original |
4269 | 6001 | |
4270 | 6002 | (F) A tied array claimed to have a negative number of elements, which |
4271 | 6003 | is not possible. |
4272 | 6004 | |
4273 | 6005 | =end original |
4274 | 6006 | |
4275 | 6007 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 |
4276 | 6008 | |
6009 | =item Field already has a parameter name, cannot add another | |
6010 | ||
6011 | =begin original | |
6012 | ||
6013 | (F) A field may have at most one application of the C<:param> attribute to | |
6014 | assign a parameter name to it; once applied a second one is not allowed. | |
6015 | ||
6016 | =end original | |
6017 | ||
6018 | (F) 一つのフィールドは、それに割り当てるパラメータ名の C<:param> 属性は | |
6019 | 最大一つ適用できます; | |
6020 | 一旦適用されると、二つ目は許されません。 | |
6021 | ||
6022 | =item Field attribute %s requires a value | |
6023 | ||
6024 | =begin original | |
6025 | ||
6026 | (F) You specified an attribute for a field that would require a value to | |
6027 | be passed in parentheses, but did not provide one. Remember that | |
6028 | whitespace is B<not> permitted between the attribute name and its value; | |
6029 | you must write this as | |
6030 | ||
6031 | =end original | |
6032 | ||
6033 | (F) フィールドの属性として、かっこに囲まれた値が要求されたところで、 | |
6034 | それがありませんでした。 | |
6035 | 属性名とその値の間に空白は B<許されない> ことを忘れないでください; | |
6036 | 次のように書かなければなりません: | |
6037 | ||
6038 | field $var :attr(VALUE) ... | |
6039 | ||
6040 | =item field is experimental | |
6041 | ||
6042 | =begin original | |
6043 | ||
6044 | (S experimental::class) This warning is emitted if you use the C<field> | |
6045 | keyword of C<use feature 'class'>. This keyword is currently | |
6046 | experimental and its behaviour may change in future releases of Perl. | |
6047 | ||
6048 | =end original | |
6049 | ||
6050 | (S experimental::class) この警告は、C<use feature 'class'> の | |
6051 | C<field> キーワードを使うと発生します。 | |
6052 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
6053 | 可能性があります。 | |
6054 | ||
6055 | =item Field %s is not accessible outside a method | |
6056 | ||
6057 | =begin original | |
6058 | ||
6059 | (F) An attempt was made to access a field variable of a class from code | |
6060 | that does not appear inside the body of a C<method> subroutine. This is not | |
6061 | permitted, as only methods will have access to the fields of an instance. | |
6062 | ||
6063 | =end original | |
6064 | ||
6065 | (F) C<method> サブルーチンの本体の内側ではないコードから、 | |
6066 | クラスのフィールド変数にアクセスしようとしました。 | |
6067 | メソッドだけが実体のフィールドにアクセスできるので、 | |
6068 | これは許されていません。 | |
6069 | ||
6070 | =item Field %s of "%s" is not accessible in a method of "%s" | |
6071 | ||
6072 | =begin original | |
6073 | ||
6074 | (F) An attempt was made to access a field variable of a class, from a | |
6075 | method of another class nested inside the one that actually defined it. | |
6076 | This is not permitted, as only methods defined by a given class are | |
6077 | permitted to access fields of that class. | |
6078 | ||
6079 | =end original | |
6080 | ||
6081 | (F) 実際に定義されている物の内側にネストした、他のクラスのメソッドから、 | |
6082 | 下のクラスのフィールド変数にアクセスしようとしました。 | |
6083 | 指定されたクラスのメソッドだけがそのクラスのフィールドに | |
6084 | アクセスすることを許されているので、 | |
6085 | これは許されていません。 | |
6086 | ||
4277 | 6087 | =item Field too wide in 'u' format in pack |
4278 | 6088 | |
4279 | 6089 | =begin original |
4280 | 6090 | |
4281 | (W pack) Each line in an uuencoded string start with a length indicator | |
6091 | (W pack) Each line in an uuencoded string starts with a length indicator | |
4282 | which can't encode values above 63. So there is no point in asking for | |
6092 | which can't encode values above 63. So there is no point in asking for | |
4283 | a line length bigger than that. Perl will behave as if you specified | |
6093 | a line length bigger than that. Perl will behave as if you specified | |
4284 | 6094 | C<u63> as the format. |
4285 | 6095 | |
4286 | 6096 | =end original |
4287 | 6097 | |
4288 | 6098 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない |
4289 | 6099 | 長さ識別子から始まっています。 |
4290 | 6100 | それで、これより長い行の長さを問い合わせるところがありません。 |
4291 | 6101 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 |
4292 | 6102 | |
4293 | 6103 | =item Filehandle %s opened only for input |
4294 | 6104 | |
4295 | 6105 | =begin original |
4296 | 6106 | |
4297 | 6107 | (W io) You tried to write on a read-only filehandle. If you intended |
4298 | 6108 | it to be a read-write filehandle, you needed to open it with "+<" or |
4299 | 6109 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to |
4300 | 6110 | write the file, use ">" or ">>". See L<perlfunc/open>. |
4301 | 6111 | |
4302 | 6112 | =end original |
4303 | 6113 | |
4304 | 6114 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
4305 | 6115 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
4306 | 6116 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
4307 | 6117 | open する必要があります。 |
4308 | 6118 | ライトオンリーであれば、">" や ">>" を使ってください。 |
4309 | 6119 | L<perlfunc/open> を参照してください。 |
4310 | 6120 | |
4311 | 6121 | =item Filehandle %s opened only for output |
4312 | 6122 | |
4313 | 6123 | =begin original |
4314 | 6124 | |
4315 | 6125 | (W io) You tried to read from a filehandle opened only for writing, If |
4316 | 6126 | you intended it to be a read/write filehandle, you needed to open it |
4317 | 6127 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to |
4318 | 6128 | read from the file, use "<". See L<perlfunc/open>. Another possibility |
4319 | 6129 | is that you attempted to open filedescriptor 0 (also known as STDIN) for |
4320 | 6130 | output (maybe you closed STDIN earlier?). |
4321 | 6131 | |
4322 | 6132 | =end original |
4323 | 6133 | |
4324 | 6134 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; |
4325 | 6135 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に |
4326 | 6136 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 |
4327 | 6137 | 読み込み専用にしたい場合は、"<" を使ってください。 |
4328 | 6138 | L<perlfunc/open> を参照してください。 |
4329 | 6139 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を |
4330 | 6140 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 |
4331 | 6141 | |
4332 | 6142 | =item Filehandle %s reopened as %s only for input |
4333 | 6143 | |
4334 | 6144 | =begin original |
4335 | 6145 | |
4336 | 6146 | (W io) You opened for reading a filehandle that got the same filehandle id |
4337 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR | |
6147 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR | |
4338 | 6148 | previously. |
4339 | 6149 | |
4340 | 6150 | =end original |
4341 | 6151 | |
4342 | 6152 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の |
4343 | 6153 | ファイルハンドルを読み込み用に開こうとしました。 |
4344 | 6154 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 |
4345 | 6155 | |
4346 | 6156 | =item Filehandle STDIN reopened as %s only for output |
4347 | 6157 | |
4348 | 6158 | =begin original |
4349 | 6159 | |
4350 | 6160 | (W io) You opened for writing a filehandle that got the same filehandle id |
4351 | as STDIN. This occurred because you closed STDIN previously. | |
6161 | as STDIN. This occurred because you closed STDIN previously. | |
4352 | 6162 | |
4353 | 6163 | =end original |
4354 | 6164 | |
4355 | 6165 | (W io) STDIN として使われていたのと同じファイルハンドル ID の |
4356 | 6166 | ファイルハンドルを書き込み用に開こうとしました。 |
4357 | 6167 | これは、以前 STDIN を閉じたときに起きます。 |
4358 | 6168 | |
6169 | =item Filehandle STD%s reopened as %s only for input | |
6170 | ||
6171 | =begin original | |
6172 | ||
6173 | (W io) You opened for reading a filehandle that got the same filehandle id | |
6174 | as STDOUT or STDERR. This occurred because you closed the handle previously. | |
6175 | ||
6176 | =end original | |
6177 | ||
6178 | (W io) STDOUT または STDERR と同じファイルハンドル ID をもつ | |
6179 | ファイルハンドルを読み込むために開こうとしました。. | |
6180 | これは、その前にそのハンドルを閉じたために起こります。 | |
6181 | ||
4359 | 6182 | =item Final $ should be \$ or $name |
4360 | 6183 | |
4361 | 6184 | =begin original |
4362 | 6185 | |
4363 | 6186 | (F) You must now decide whether the final $ in a string was meant to be |
4364 | 6187 | a literal dollar sign, or was meant to introduce a variable name that |
4365 | 6188 | happens to be missing. So you have to put either the backslash or the |
4366 | 6189 | name. |
4367 | 6190 | |
4368 | 6191 | =end original |
4369 | 6192 | |
4370 | 6193 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
4371 | 6194 | 忘れたのかを、はっきりさせなければなりません。 |
4372 | 6195 | バックスラッシュを付けるか、名前を入れてください。 |
4373 | 6196 | |
6197 | =item defer is experimental | |
6198 | ||
6199 | =begin original | |
6200 | ||
6201 | (S experimental::defer) The C<defer> block modifier is experimental. If you | |
6202 | want to use the feature, disable the warning with | |
6203 | C<no warnings 'experimental::defer'>, but know that in doing so you are taking | |
6204 | the risk that your code may break in a future Perl version. | |
6205 | ||
6206 | =end original | |
6207 | ||
6208 | (S experimental::defer) C<defer> ブロック修飾子は実験的です。 | |
6209 | この機能を使いたい場合、 | |
6210 | C<no warnings 'experimental::defer'> で警告を無効にしてください; | |
6211 | ただし、そうすることによってあなたのコードは将来のバージョンの Perl で | |
6212 | 壊れるかもしれないというリスクを取っているということを知っておいてください。 | |
6213 | ||
4374 | 6214 | =item flock() on closed filehandle %s |
4375 | 6215 | |
4376 | 6216 | =begin original |
4377 | 6217 | |
4378 | 6218 | (W closed) The filehandle you're attempting to flock() got itself closed |
4379 | 6219 | some time before now. Check your control flow. flock() operates on |
4380 | 6220 | filehandles. Are you attempting to call flock() on a dirhandle by the |
4381 | 6221 | same name? |
4382 | 6222 | |
4383 | 6223 | =end original |
4384 | 6224 | |
4385 | 6225 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
4386 | 6226 | 閉じられています。 |
4387 | 6227 | 制御フローをチェックしてください。 |
4388 | 6228 | flock() はファイルハンドルを操作します。 |
4389 | 6229 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
4390 | 6230 | |
6231 | =item for my (...) is experimental | |
6232 | ||
6233 | =begin original | |
6234 | ||
6235 | (S experimental::for_list) This warning is emitted if you use C<for> to | |
6236 | iterate multiple values at a time. This syntax is currently experimental | |
6237 | and its behaviour may change in future releases of Perl. | |
6238 | ||
6239 | =end original | |
6240 | ||
6241 | この警告は、一度に複数の値を反復する C<for> を使うと発生します。 | |
6242 | この構文は現在のところ実験的能で、Perl の将来のリリースでは変更される | |
6243 | 可能性があります。 | |
6244 | ||
6245 | =item Forked open '%s' not meaningful in <> | |
6246 | ||
6247 | =begin original | |
6248 | ||
6249 | (S inplace) You had C<|-> or C<-|> in C<@ARGV> and tried to use C<< <> | |
6250 | >> to read from it. | |
6251 | ||
6252 | =end original | |
6253 | ||
6254 | (S inplace) C<@ARGV> に C<|-> または C<-|> があり、 | |
6255 | そこから読み取るために C<< <> >> を使おうとしました。 | |
6256 | ||
6257 | =begin original | |
6258 | ||
6259 | Previously this would fork and produce a confusing error message. | |
6260 | ||
6261 | =end original | |
6262 | ||
6263 | 以前は、これは fork して混乱を招くエラーメッセージを生成していました。 | |
6264 | ||
4391 | 6265 | =item Format not terminated |
4392 | 6266 | |
4393 | 6267 | =begin original |
4394 | 6268 | |
4395 | 6269 | (F) A format must be terminated by a line with a solitary dot. Perl got |
4396 | 6270 | to the end of your file without finding such a line. |
4397 | 6271 | |
4398 | 6272 | =end original |
4399 | 6273 | |
4400 | 6274 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
4401 | 6275 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
4402 | 6276 | |
4403 | 6277 | =item Format %s redefined |
4404 | 6278 | |
4405 | 6279 | =begin original |
4406 | 6280 | |
4407 | 6281 | (W redefine) You redefined a format. To suppress this warning, say |
4408 | 6282 | |
4409 | 6283 | =end original |
4410 | 6284 | |
4411 | 6285 | (W redefine) フォーマットを再定義しました。 |
4412 | 6286 | この警告を止めるには以下のようにしてください: |
4413 | 6287 | |
4414 | 6288 | { |
4415 | 6289 | no warnings 'redefine'; |
4416 | 6290 | eval "format NAME =..."; |
4417 | 6291 | } |
4418 | 6292 | |
4419 | 6293 | =item Found = in conditional, should be == |
4420 | 6294 | |
4421 | 6295 | =begin original |
4422 | 6296 | |
4423 | 6297 | (W syntax) You said |
4424 | 6298 | |
4425 | 6299 | =end original |
4426 | 6300 | |
4427 | 6301 | (W) 以下のようにしています: |
4428 | 6302 | |
4429 | 6303 | if ($foo = 123) |
4430 | 6304 | |
4431 | 6305 | =begin original |
4432 | 6306 | |
4433 | 6307 | when you meant |
4434 | 6308 | |
4435 | 6309 | =end original |
4436 | 6310 | |
4437 | 6311 | 以下のようにすべきです: |
4438 | 6312 | |
4439 | 6313 | if ($foo == 123) |
4440 | 6314 | |
4441 | 6315 | =begin original |
4442 | 6316 | |
4443 | 6317 | (or something like that). |
4444 | 6318 | |
4445 | 6319 | =end original |
4446 | 6320 | |
4447 | 6321 | (あるいは似たようなこと)。 |
4448 | 6322 | |
4449 | 6323 | =item %s found where operator expected |
4450 | 6324 | |
4451 | 6325 | =begin original |
4452 | 6326 | |
4453 | 6327 | (S syntax) The Perl lexer knows whether to expect a term or an operator. |
4454 | 6328 | If it sees what it knows to be a term when it was expecting to see an |
4455 | 6329 | operator, it gives you this warning. Usually it indicates that an |
4456 | 6330 | operator or delimiter was omitted, such as a semicolon. |
4457 | 6331 | |
4458 | 6332 | =end original |
4459 | 6333 | |
4460 | 6334 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを |
4461 | 6335 | 知っています。 |
4462 | 6336 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
4463 | 6337 | この警告が出ることになります。 |
4464 | 6338 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
4465 | 6339 | |
4466 | 6340 | =item gdbm store returned %d, errno %d, key "%s" |
4467 | 6341 | |
4468 | 6342 | =begin original |
4469 | 6343 | |
4470 | 6344 | (S) A warning from the GDBM_File extension that a store failed. |
4471 | 6345 | |
4472 | 6346 | =end original |
4473 | 6347 | |
4474 | 6348 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
4475 | 6349 | |
4476 | 6350 | =item gethostent not implemented |
4477 | 6351 | |
4478 | 6352 | =begin original |
4479 | 6353 | |
4480 | 6354 | (F) Your C library apparently doesn't implement gethostent(), probably |
4481 | 6355 | because if it did, it'd feel morally obligated to return every hostname |
4482 | 6356 | on the Internet. |
4483 | 6357 | |
4484 | 6358 | =end original |
4485 | 6359 | |
4486 | 6360 | (F) C ライブラリに gethostent() が実装されていないようです; |
4487 | 6361 | おそらく、実装すると Internet 上のすべてのホスト名を |
4488 | 6362 | 返さなければいけないと思っているのでしょう。 |
4489 | 6363 | |
4490 | 6364 | =item get%sname() on closed socket %s |
4491 | 6365 | |
4492 | 6366 | =begin original |
4493 | 6367 | |
4494 | 6368 | (W closed) You tried to get a socket or peer socket name on a closed |
4495 | 6369 | socket. Did you forget to check the return value of your socket() call? |
4496 | 6370 | |
4497 | 6371 | =end original |
4498 | 6372 | |
4499 | 6373 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
4500 | 6374 | しました。 |
4501 | 6375 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
4502 | 6376 | |
4503 | 6377 | =item getpwnam returned invalid UIC %#o for user "%s" |
4504 | 6378 | |
4505 | 6379 | =begin original |
4506 | 6380 | |
4507 | 6381 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
4508 | 6382 | C<getpwnam> operator returned an invalid UIC. |
4509 | 6383 | |
4510 | 6384 | =end original |
4511 | 6385 | |
4512 | 6386 | (S) VMS に固有の警告です。 |
4513 | 6387 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
4514 | 6388 | 不正な UIC が返されました。 |
4515 | 6389 | |
4516 | 6390 | =item getsockopt() on closed socket %s |
4517 | 6391 | |
4518 | 6392 | =begin original |
4519 | 6393 | |
4520 | 6394 | (W closed) You tried to get a socket option on a closed socket. Did you |
4521 | 6395 | forget to check the return value of your socket() call? See |
4522 | 6396 | L<perlfunc/getsockopt>. |
4523 | 6397 | |
4524 | 6398 | =end original |
4525 | 6399 | |
4526 | 6400 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
4527 | 6401 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
4528 | 6402 | L<perlfunc/getsockopt> を参照してください。 |
4529 | 6403 | |
4530 | =item | |
6404 | =item get_layers: unknown argument '%s' | |
4531 | 6405 | |
4532 | 6406 | =begin original |
4533 | 6407 | |
6408 | (F) You called PerlIO::get_layers() with an unknown argument. Legal | |
6409 | arguments are provided in key/value pairs, with the keys being one | |
6410 | of C<input>, C<output> or C<detail>, followed by a boolean. | |
6411 | ||
6412 | =end original | |
6413 | ||
6414 | (F) PerlIO::get_layers() を不明な引数で呼び出しました。 | |
6415 | 有効な引数はキーと値の組で提供されます; | |
6416 | キーは C<input>, C<output>, C<detail> のいずれかで、 | |
6417 | その後に真偽値が続きます。 | |
6418 | ||
6419 | =item given is deprecated | |
6420 | ||
6421 | =begin original | |
6422 | ||
6423 | (D deprecated::smartmatch) C<given> depends on smartmatch, which is | |
6424 | deprecated. It will be removed in Perl 5.42. See the explanation under | |
6425 | L<perlsyn/Experimental Details on given and when>. | |
6426 | ||
6427 | =end original | |
6428 | ||
6429 | (D deprecated::smartmatch) C<given> はスマートマッチングのに依存していて、 | |
6430 | これは廃止予定です。 | |
6431 | これは Perl 5.42 で削除される予定です。 | |
6432 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
6433 | ||
6434 | =item Global symbol "%s" requires explicit package name (did you forget to | |
6435 | declare "my %s"?) | |
6436 | ||
6437 | =begin original | |
6438 | ||
4534 | 6439 | (F) You've said "use strict" or "use strict vars", which indicates |
4535 | 6440 | that all variables must either be lexically scoped (using "my" or "state"), |
4536 | 6441 | declared beforehand using "our", or explicitly qualified to say |
4537 | 6442 | which package the global variable is in (using "::"). |
4538 | 6443 | |
4539 | 6444 | =end original |
4540 | 6445 | |
4541 | 6446 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は |
4542 | 6447 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に |
4543 | 6448 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 |
4544 | 6449 | 明示的に修飾しなくてはなりません。 |
4545 | 6450 | |
4546 | 6451 | =item glob failed (%s) |
4547 | 6452 | |
4548 | 6453 | =begin original |
4549 | 6454 | |
4550 | ( | |
6455 | (S glob) Something went wrong with the external program(s) used | |
4551 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a | |
6456 | for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob> | |
4552 | ||
6457 | pattern that caused the external program to fail and exit with a | |
4553 | 6458 | nonzero status. If the message indicates that the abnormal exit |
4554 | resulted in a coredump, this may also mean that your csh (C shell) | |
6459 | resulted in a coredump, this may also mean that your csh (C shell) | |
4555 | broken. If so, you should change all of the csh-related variables | |
6460 | is broken. If so, you should change all of the csh-related variables | |
4556 | config.sh: If you have tcsh, make the variables refer to it as | |
6461 | in config.sh: If you have tcsh, make the variables refer to it as | |
4557 | were csh (e.g. | |
6462 | if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them | |
4558 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
6463 | all empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
4559 | 6464 | think csh is missing. In either case, after editing config.sh, run |
4560 | 6465 | C<./Configure -S> and rebuild Perl. |
4561 | 6466 | |
4562 | 6467 | =end original |
4563 | 6468 | |
4564 | ( | |
6469 | (S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が | |
4565 | 6470 | 発生しました。 |
4566 | 6471 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
4567 | 6472 | C<glob> パターンが渡されたことを意味します。 |
4568 | 6473 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
4569 | 6474 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
4570 | 6475 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
4571 | 6476 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
4572 | 6477 | 参照するように変数を設定します; |
4573 | 6478 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
4574 | 6479 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
4575 | 6480 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
4576 | 6481 | Perl を再ビルドしてください。 |
4577 | 6482 | |
4578 | 6483 | =item Glob not terminated |
4579 | 6484 | |
4580 | 6485 | =begin original |
4581 | 6486 | |
4582 | 6487 | (F) The lexer saw a left angle bracket in a place where it was expecting |
4583 | 6488 | a term, so it's looking for the corresponding right angle bracket, and |
4584 | 6489 | not finding it. Chances are you left some needed parentheses out |
4585 | 6490 | earlier in the line, and you really meant a "less than". |
4586 | 6491 | |
4587 | 6492 | =end original |
4588 | 6493 | |
4589 | 6494 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
4590 | 6495 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
4591 | 6496 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
4592 | 6497 | 表したかった場合が考えられます。 |
4593 | 6498 | |
6499 | =item gmtime(%f) failed | |
6500 | ||
6501 | =begin original | |
6502 | ||
6503 | (W overflow) You called C<gmtime> with a number that it could not handle: | |
6504 | too large, too small, or NaN. The returned value is C<undef>. | |
6505 | ||
6506 | =end original | |
6507 | ||
6508 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり | |
6509 | 小さすぎたり NaN だったりです。 | |
6510 | 返り値は C<undef> です。 | |
6511 | ||
4594 | 6512 | =item gmtime(%f) too large |
4595 | 6513 | |
4596 | 6514 | =begin original |
4597 | 6515 | |
4598 | 6516 | (W overflow) You called C<gmtime> with a number that was larger than |
4599 | 6517 | it can reliably handle and C<gmtime> probably returned the wrong |
4600 | date. This warning is also triggered with | |
6518 | date. This warning is also triggered with NaN (the special | |
4601 | 6519 | not-a-number value). |
4602 | 6520 | |
4603 | 6521 | =end original |
4604 | 6522 | |
4605 | 6523 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
4606 | 6524 | おそらく間違った日付が返されました。 |
4607 | この警告は、 | |
6525 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
4608 | 6526 | |
4609 | 6527 | =item gmtime(%f) too small |
4610 | 6528 | |
4611 | 6529 | =begin original |
4612 | 6530 | |
4613 | 6531 | (W overflow) You called C<gmtime> with a number that was smaller than |
4614 | it can reliably handle and C<gmtime> probably returned the wrong | |
6532 | it can reliably handle and C<gmtime> probably returned the wrong date. | |
4615 | date. This warning is also triggered with nan (the special | |
4616 | not-a-number value). | |
4617 | 6533 | |
4618 | 6534 | =end original |
4619 | 6535 | |
4620 | 6536 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
4621 | 6537 | おそらく間違った日付が返されました。 |
4622 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
4623 | 6538 | |
4624 | 6539 | =item Got an error from DosAllocMem |
4625 | 6540 | |
4626 | 6541 | =begin original |
4627 | 6542 | |
4628 | 6543 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
4629 | 6544 | version of Perl, and this should not happen anyway. |
4630 | 6545 | |
4631 | 6546 | =end original |
4632 | 6547 | |
4633 | 6548 | (P) OS/2 に固有のエラーです。 |
4634 | 6549 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
4635 | 6550 | どちらにしてもこのエラーは起きないはずです。 |
4636 | 6551 | |
4637 | 6552 | =item goto must have label |
4638 | 6553 | |
4639 | 6554 | =begin original |
4640 | 6555 | |
4641 | 6556 | (F) Unlike with "next" or "last", you're not allowed to goto an |
4642 | 6557 | unspecified destination. See L<perlfunc/goto>. |
4643 | 6558 | |
4644 | 6559 | =end original |
4645 | 6560 | |
4646 | 6561 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
4647 | 6562 | 指定しなくてはなりません。 |
4648 | 6563 | L<perlfunc/goto> を参照してください。 |
4649 | 6564 | |
6565 | =item Goto undefined subroutine%s | |
6566 | ||
6567 | =begin original | |
6568 | ||
6569 | (F) You tried to call a subroutine with C<goto &sub> syntax, but | |
6570 | the indicated subroutine hasn't been defined, or if it was, it | |
6571 | has since been undefined. | |
6572 | ||
6573 | =end original | |
6574 | ||
6575 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された | |
6576 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 | |
6577 | ||
6578 | =item Group name must start with a non-digit word character in regex; marked by | |
6579 | S<<-- HERE> in m/%s/ | |
6580 | ||
6581 | =begin original | |
6582 | ||
6583 | (F) Group names must follow the rules for perl identifiers, meaning | |
6584 | they must start with a non-digit word character. A common cause of | |
6585 | this error is using (?&0) instead of (?0). See L<perlre>. | |
6586 | ||
6587 | =end original | |
6588 | ||
6589 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
6590 | 始まらなければなりません。 | |
6591 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
6592 | L<perlre> を参照してください。 | |
6593 | ||
4650 | 6594 | =item ()-group starts with a count |
4651 | 6595 | |
4652 | 6596 | =begin original |
4653 | 6597 | |
4654 | 6598 | (F) A ()-group started with a count. A count is supposed to follow |
4655 | 6599 | something: a template character or a ()-group. See L<perlfunc/pack>. |
4656 | 6600 | |
4657 | 6601 | =end original |
4658 | 6602 | |
4659 | 6603 | (F) () グループが繰り返し数で始まっています。 |
4660 | 繰り返し数は、テンプレート文字か () グループの後に続くことを | |
6604 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 | |
4661 | 想定しています。 | |
4662 | 6605 | L<perlfunc/pack> を参照してください。 |
4663 | 6606 | |
4664 | 6607 | =item %s had compilation errors. |
4665 | 6608 | |
4666 | 6609 | =begin original |
4667 | 6610 | |
4668 | 6611 | (F) The final summary message when a C<perl -c> fails. |
4669 | 6612 | |
4670 | 6613 | =end original |
4671 | 6614 | |
4672 | 6615 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
4673 | 6616 | |
4674 | 6617 | =item Had to create %s unexpectedly |
4675 | 6618 | |
4676 | 6619 | =begin original |
4677 | 6620 | |
4678 | 6621 | (S internal) A routine asked for a symbol from a symbol table that ought |
4679 | 6622 | to have existed already, but for some reason it didn't, and had to be |
4680 | 6623 | created on an emergency basis to prevent a core dump. |
4681 | 6624 | |
4682 | 6625 | =end original |
4683 | 6626 | |
4684 | 6627 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
4685 | 6628 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
4686 | 6629 | コアダンプを避けるために、緊急に生成しました。 |
4687 | 6630 | |
4688 | =item | |
6631 | =item %s has too many errors | |
4689 | 6632 | |
4690 | 6633 | =begin original |
4691 | 6634 | |
4692 | ( | |
6635 | (F) The parser has given up trying to parse the program after 10 errors. | |
4693 | ||
6636 | Further error messages would likely be uninformative. | |
4694 | 6637 | |
4695 | 6638 | =end original |
4696 | 6639 | |
4697 | ( | |
6640 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 | |
4698 | ||
6641 | それ以上の解析を諦めました。 | |
4699 | ||
6642 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
4700 | 6643 | |
4701 | =item | |
6644 | =item Hexadecimal float: exponent overflow | |
4702 | 6645 | |
4703 | 6646 | =begin original |
4704 | 6647 | |
4705 | ( | |
6648 | (W overflow) The hexadecimal floating point has a larger exponent | |
4706 | ||
6649 | than the floating point supports. | |
4707 | 6650 | |
4708 | 6651 | =end original |
4709 | 6652 | |
4710 | ( | |
6653 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
4711 | ||
6654 | 指数を持っています。 | |
4712 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
4713 | 6655 | |
4714 | =item Ha | |
6656 | =item Hexadecimal float: exponent underflow | |
4715 | 6657 | |
4716 | ||
6658 | =begin original | |
4717 | 6659 | |
6660 | (W overflow) The hexadecimal floating point has a smaller exponent | |
6661 | than the floating point supports. With the IEEE 754 floating point, | |
6662 | this may also mean that the subnormals (formerly known as denormals) | |
6663 | are being used, which may or may not be an error. | |
6664 | ||
6665 | =end original | |
6666 | ||
6667 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
6668 | 指数を持っています。 | |
6669 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; | |
6670 | どちらにしろエラーです。 | |
6671 | ||
6672 | =item Hexadecimal float: internal error (%s) | |
6673 | ||
4718 | 6674 | =begin original |
4719 | 6675 | |
4720 | ||
6676 | (F) Something went horribly bad in hexadecimal float handling. | |
4721 | pattern without an intervening space. If you are trying to use the C</le> | |
4722 | flags on a substitution, use C</el> instead. Otherwise, add white space | |
4723 | between the pattern and following word to eliminate the warning. As an | |
4724 | example of the latter, the two constructs: | |
4725 | 6677 | |
4726 | 6678 | =end original |
4727 | 6679 | |
4728 | ||
6680 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 | |
4729 | 置換に C</le> フラグを使いたい場合は、代わりに C</el> を使ってください。 | |
4730 | さもなければ、警告を消すためにパターンと引き続く単語の間に空白を | |
4731 | 追加してください。 | |
4732 | 後者の例として、二つの構文は: | |
4733 | 6681 | |
4734 | ||
6682 | =item Hexadecimal float: mantissa overflow | |
4735 | $a =~ m/$foo/s and $bar | |
4736 | 6683 | |
4737 | 6684 | =begin original |
4738 | 6685 | |
4739 | ||
6686 | (W overflow) The hexadecimal floating point literal had more bits in | |
4740 | ||
6687 | the mantissa (the part between the 0x and the exponent, also known as | |
6688 | the fraction or the significand) than the floating point supports. | |
4741 | 6689 | |
4742 | 6690 | =end original |
4743 | 6691 | |
4744 | ||
6692 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に | |
4745 | ||
6693 | 浮動小数点数が対応しているよりも多いビット数があります。 | |
4746 | また、 | |
4747 | 6694 | |
4748 | ||
6695 | =item Hexadecimal float: precision loss | |
4749 | 6696 | |
4750 | 6697 | =begin original |
4751 | 6698 | |
4752 | ||
6699 | (W overflow) The hexadecimal floating point had internally more | |
6700 | digits than could be output. This can be caused by unsupported | |
6701 | long double formats, or by 64-bit integers not being available | |
6702 | (needed to retrieve the digits under some configurations). | |
4753 | 6703 | |
4754 | 6704 | =end original |
4755 | 6705 | |
4756 | ||
6706 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより | |
6707 | 多くの桁数を保持しています。 | |
6708 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) | |
6709 | 利用できない 64 ビット整数によって引き起こされます。 | |
4757 | 6710 | |
6711 | =item Hexadecimal float: unsupported long double format | |
6712 | ||
6713 | =begin original | |
6714 | ||
6715 | (F) You have configured Perl to use long doubles but | |
6716 | the internals of the long double format are unknown; | |
6717 | therefore the hexadecimal float output is impossible. | |
6718 | ||
6719 | =end original | |
6720 | ||
6721 | (F) long double を使うように設定された Perl を使っていますが、 | |
6722 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は | |
6723 | 不可能です。 | |
6724 | ||
4758 | 6725 | =item Hexadecimal number > 0xffffffff non-portable |
4759 | 6726 | |
4760 | 6727 | =begin original |
4761 | 6728 | |
4762 | 6729 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
4763 | 6730 | (4294967295) and therefore non-portable between systems. See |
4764 | 6731 | L<perlport> for more on portability concerns. |
4765 | 6732 | |
4766 | 6733 | =end original |
4767 | 6734 | |
4768 | 6735 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
4769 | 6736 | システム間で移植性がありません。 |
4770 | 6737 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
4771 | 6738 | |
4772 | 6739 | =item Identifier too long |
4773 | 6740 | |
4774 | 6741 | =begin original |
4775 | 6742 | |
4776 | 6743 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
4777 | 6744 | about 250 characters for simple names, and somewhat more for compound |
4778 | 6745 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
4779 | 6746 | of Perl are likely to eliminate these arbitrary limitations. |
4780 | 6747 | |
4781 | 6748 | =end original |
4782 | 6749 | |
4783 | 6750 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
4784 | 6751 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
4785 | 6752 | 制限しています。 |
4786 | 6753 | この Perl の制限を越えました。 |
4787 | 6754 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
4788 | 6755 | |
4789 | =item Ignoring zero length \N{} in character class | |
6756 | =item Ignoring zero length \N{} in character class in regex; marked by | |
6757 | S<<-- HERE> in m/%s/ | |
4790 | 6758 | |
4791 | 6759 | =begin original |
4792 | 6760 | |
4793 | (W) Named Unicode character escapes (\N{...}) may return a | |
6761 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a | |
4794 | zero | |
6762 | zero-length sequence. When such an escape is used in a character | |
4795 | its behavio | |
6763 | class its behavior is not well defined. Check that the correct | |
4796 | been used, and the correct charname handler is in scope. | |
6764 | escape has been used, and the correct charname handler is in scope. | |
4797 | 6765 | |
4798 | 6766 | =end original |
4799 | 6767 | |
4800 | (W) 名前付き Unicode 文字エスケープ (\N{...}) が長さ 0 の | |
6768 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の | |
4801 | 6769 | シーケンスを返しました。 |
4802 | 6770 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 |
4803 | 6771 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に |
4804 | 6772 | あるかをチェックしてください。 |
4805 | 6773 | |
4806 | =item Illegal | |
6774 | =item Illegal %s digit '%c' ignored | |
4807 | 6775 | |
4808 | 6776 | =begin original |
4809 | 6777 | |
6778 | (W digit) Here C<%s> is one of "binary", "octal", or "hex". | |
6779 | You may have tried to use a digit other than one that is legal for the | |
6780 | given type, such as only 0 and 1 for binary. For octals, this is raised | |
6781 | only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and | |
6782 | 'a' - 'f' are legal. | |
6783 | Interpretation of the number stopped just before the offending digit or | |
6784 | character. | |
6785 | ||
6786 | =end original | |
6787 | ||
6788 | (W digit) ここで C<%s> は "binary", "octal", "hex" のうちの一つです。 | |
6789 | 2 進数での 0 と 1 のような、与えられた型で正当でない数字を | |
6790 | 使おうとしたのでしょう。 | |
6791 | 8 進数の場合は、これは不正な文字が '8' または '9' の場合にのみ発生します。 | |
6792 | 16 進数の場合、'A' - 'F' と 'a' - 'f' は正当です。 | |
6793 | 数の解釈は問題のある数値や文字の直前で停止しました。 | |
6794 | ||
6795 | =item Illegal binary digit '%c' | |
6796 | ||
6797 | =begin original | |
6798 | ||
4810 | 6799 | (F) You used a digit other than 0 or 1 in a binary number. |
4811 | 6800 | |
4812 | 6801 | =end original |
4813 | 6802 | |
4814 | 6803 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
4815 | 6804 | |
4816 | =item Illegal | |
6805 | =item Illegal character after '_' in prototype for %s : %s | |
4817 | 6806 | |
4818 | 6807 | =begin original |
4819 | 6808 | |
4820 | (W | |
6809 | (W illegalproto) An illegal character was found in a prototype | |
4821 | ||
6810 | declaration. The '_' in a prototype must be followed by a ';', | |
4822 | ||
6811 | indicating the rest of the parameters are optional, or one of '@' | |
6812 | or '%', since those two will accept 0 or more final parameters. | |
4823 | 6813 | |
4824 | 6814 | =end original |
4825 | 6815 | |
4826 | (W | |
6816 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
4827 | ||
6817 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために | |
6818 | ';' が引き続くか、'@' か '%' の一つでなければなりません; | |
6819 | これら二つは 0 以上の末尾の引数を受け付けるからです。 | |
4828 | 6820 | |
4829 | 6821 | =item Illegal character \%o (carriage return) |
4830 | 6822 | |
4831 | 6823 | =begin original |
4832 | 6824 | |
4833 | (F) Perl normally treats carriage returns in the program text as | |
6825 | (F) Perl normally treats carriage returns in the program text as | |
4834 | would any other whitespace, which means you should never see | |
6826 | it would any other whitespace, which means you should never see | |
4835 | when Perl was built using standard options. For some | |
6827 | this error when Perl was built using standard options. For some | |
4836 | version of Perl appears to have been built without | |
6828 | reason, your version of Perl appears to have been built without | |
4837 | to your Perl administrator. | |
6829 | this support. Talk to your Perl administrator. | |
4838 | 6830 | |
4839 | 6831 | =end original |
4840 | 6832 | |
4841 | 6833 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
4842 | 6834 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
4843 | 6835 | 見ることは決してないはずです。 |
4844 | 6836 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
4845 | 6837 | Perl の管理者に問い合わせてください。 |
4846 | 6838 | |
6839 | =item Illegal character following sigil in a subroutine signature | |
6840 | ||
6841 | =begin original | |
6842 | ||
6843 | (F) A parameter in a subroutine signature contained an unexpected character | |
6844 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil | |
6845 | should be followed by the variable name or C<=> etc. Perhaps you are | |
6846 | trying use a prototype while in the scope of C<use feature 'signatures'>? | |
6847 | For example: | |
6848 | ||
6849 | =end original | |
6850 | ||
6851 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて | |
6852 | 想定外の文字がありました。 | |
6853 | 通常は、印には変数名や C<=> などが引き続くはずです。 | |
6854 | おそらく C<use feature 'signatures'> のスコープ内で | |
6855 | プロトタイプを使おうとしたのでは? | |
6856 | 例えば: | |
6857 | ||
6858 | sub foo ($$) {} # legal - a prototype | |
6859 | ||
6860 | use feature 'signatures; | |
6861 | sub foo ($$) {} # illegal - was expecting a signature | |
6862 | sub foo ($x, $y) | |
6863 | :prototype($$) {} # legal | |
6864 | ||
4847 | 6865 | =item Illegal character in prototype for %s : %s |
4848 | 6866 | |
4849 | 6867 | =begin original |
4850 | 6868 | |
4851 | 6869 | (W illegalproto) An illegal character was found in a prototype declaration. |
4852 | 6870 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. |
6871 | Perhaps you were trying to write a subroutine signature but didn't enable | |
6872 | that feature first (C<use feature 'signatures'>), so your signature was | |
6873 | instead interpreted as a bad prototype. | |
4853 | 6874 | |
4854 | 6875 | =end original |
4855 | 6876 | |
4856 | 6877 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
4857 | 6878 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 |
6879 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に | |
6880 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った | |
6881 | プロトタイプとして解釈されたのでしょう。 | |
4858 | 6882 | |
4859 | 6883 | =item Illegal declaration of anonymous subroutine |
4860 | 6884 | |
4861 | 6885 | =begin original |
4862 | 6886 | |
4863 | 6887 | (F) When using the C<sub> keyword to construct an anonymous subroutine, |
4864 | you must always specify a block of code. See L<perlsub>. | |
6888 | you must always specify a block of code. See L<perlsub>. | |
4865 | 6889 | |
4866 | 6890 | =end original |
4867 | 6891 | |
4868 | 6892 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 |
4869 | 6893 | 常にコードのブロックを指定しなければなりません。 |
4870 | 6894 | L<perlsub> を参照してください。 |
4871 | 6895 | |
4872 | 6896 | =item Illegal declaration of subroutine %s |
4873 | 6897 | |
4874 | 6898 | =begin original |
4875 | 6899 | |
4876 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
6900 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
4877 | 6901 | |
4878 | 6902 | =end original |
4879 | 6903 | |
4880 | 6904 | (F) サブルーチンが正しく宣言されていません。 |
4881 | 6905 | L<perlsub> を参照してください。 |
4882 | 6906 | |
4883 | 6907 | =item Illegal division by zero |
4884 | 6908 | |
4885 | 6909 | =begin original |
4886 | 6910 | |
4887 | 6911 | (F) You tried to divide a number by 0. Either something was wrong in |
4888 | 6912 | your logic, or you need to put a conditional in to guard against |
4889 | 6913 | meaningless input. |
4890 | 6914 | |
4891 | 6915 | =end original |
4892 | 6916 | |
4893 | 6917 | (F) ゼロで割り算をしようとしました。 |
4894 | 6918 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
4895 | 6919 | 必要かのどちらかでしょう。 |
4896 | 6920 | |
4897 | =item Illegal hexadecimal digit %s ignored | |
4898 | ||
4899 | =begin original | |
4900 | ||
4901 | (W digit) You may have tried to use a character other than 0 - 9 or | |
4902 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal | |
4903 | number stopped before the illegal character. | |
4904 | ||
4905 | =end original | |
4906 | ||
4907 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
4908 | 16 進数の解釈は不正な文字の手前で停止しました。 | |
4909 | ||
4910 | 6921 | =item Illegal modulus zero |
4911 | 6922 | |
4912 | 6923 | =begin original |
4913 | 6924 | |
4914 | 6925 | (F) You tried to divide a number by 0 to get the remainder. Most |
4915 | 6926 | numbers don't take to this kindly. |
4916 | 6927 | |
4917 | 6928 | =end original |
4918 | 6929 | |
4919 | 6930 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
4920 | 6931 | これは、ほとんどの数体系で受け入れられません。 |
4921 | 6932 | |
4922 | 6933 | =item Illegal number of bits in vec |
4923 | 6934 | |
4924 | 6935 | =begin original |
4925 | 6936 | |
4926 | 6937 | (F) The number of bits in vec() (the third argument) must be a power of |
4927 | 6938 | two from 1 to 32 (or 64, if your platform supports that). |
4928 | 6939 | |
4929 | 6940 | =end original |
4930 | 6941 | |
4931 | 6942 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
4932 | 6943 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
4933 | 6944 | |
4934 | =item Illegal octal digit % | |
6945 | =item Illegal octal digit '%c' | |
4935 | 6946 | |
4936 | 6947 | =begin original |
4937 | 6948 | |
4938 | 6949 | (F) You used an 8 or 9 in an octal number. |
4939 | 6950 | |
4940 | 6951 | =end original |
4941 | 6952 | |
4942 | 6953 | (F) 8 進数で 8 か 9 を使いました。 |
4943 | 6954 | |
4944 | =item Illegal o | |
6955 | =item Illegal operator following parameter in a subroutine signature | |
4945 | 6956 | |
4946 | 6957 | =begin original |
4947 | 6958 | |
4948 | ( | |
6959 | (F) A parameter in a subroutine signature, was followed by something | |
4949 | ||
6960 | other than C<=> introducing a default, C<,> or C<)>. | |
4950 | 6961 | |
4951 | 6962 | =end original |
4952 | 6963 | |
4953 | ( | |
6964 | (F) サブルーチンシグネチャで引数に引き続いて、デフォルトを導入する | |
4954 | ||
6965 | C<=>, C<,>, C<)> 以外のものがありました。 | |
4955 | 6966 | |
6967 | use feature 'signatures'; | |
6968 | sub foo ($=1) {} # legal | |
6969 | sub foo ($x = 1) {} # legal | |
6970 | sub foo ($x += 1) {} # illegal | |
6971 | sub foo ($x == 1) {} # illegal | |
6972 | ||
6973 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ | |
6974 | ||
6975 | =begin original | |
6976 | ||
6977 | (F) You wrote something like | |
6978 | ||
6979 | =end original | |
6980 | ||
6981 | (F) 次のようなものを書きました: | |
6982 | ||
6983 | (?+foo) | |
6984 | ||
6985 | =begin original | |
6986 | ||
6987 | The C<"+"> is valid only when followed by digits, indicating a | |
6988 | capturing group. See | |
6989 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
6990 | ||
6991 | =end original | |
6992 | ||
6993 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
6994 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
6995 | 参照してください。 | |
6996 | ||
6997 | =item Illegal suidscript | |
6998 | ||
6999 | =begin original | |
7000 | ||
7001 | (F) The script run under suidperl was somehow illegal. | |
7002 | ||
7003 | =end original | |
7004 | ||
7005 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 | |
7006 | ||
4956 | 7007 | =item Illegal switch in PERL5OPT: -%c |
4957 | 7008 | |
4958 | 7009 | =begin original |
4959 | 7010 | |
4960 | 7011 | (X) The PERL5OPT environment variable may only be used to set the |
4961 | 7012 | following switches: B<-[CDIMUdmtw]>. |
4962 | 7013 | |
4963 | 7014 | =end original |
4964 | 7015 | |
4965 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> の | |
7016 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。 | |
4966 | オプションだけです。 | |
4967 | 7017 | |
7018 | =item Illegal user-defined property name | |
7019 | ||
7020 | =begin original | |
7021 | ||
7022 | (F) You specified a Unicode-like property name in a regular expression | |
7023 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
7024 | Unicode property, and was likely meant to be a user-defined property | |
7025 | name, but it can't be one of those, as they must begin with either C<In> | |
7026 | or C<Is>. Check the spelling. See also | |
7027 | L</Can't find Unicode property definition "%s">. | |
7028 | ||
7029 | =end original | |
7030 | ||
7031 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
7032 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
7033 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
7034 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
7035 | そうなりません。 | |
7036 | 綴りを確認してください。 | |
7037 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
7038 | ||
4968 | 7039 | =item Ill-formed CRTL environ value "%s" |
4969 | 7040 | |
4970 | 7041 | =begin original |
4971 | 7042 | |
4972 | 7043 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
4973 | 7044 | internal environ array, and encountered an element without the C<=> |
4974 | 7045 | delimiter used to separate keys from values. The element is ignored. |
4975 | 7046 | |
4976 | 7047 | =end original |
4977 | 7048 | |
4978 | 7049 | (W internal) VMS に固有の警告です。 |
4979 | 7050 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
4980 | 7051 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
4981 | 7052 | この要素は無視しました。 |
4982 | 7053 | |
4983 | 7054 | =item Ill-formed message in prime_env_iter: |%s| |
4984 | 7055 | |
4985 | 7056 | =begin original |
4986 | 7057 | |
4987 | 7058 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
4988 | 7059 | name or CLI symbol definition when preparing to iterate over %ENV, and |
4989 | 7060 | didn't see the expected delimiter between key and value, so the line was |
4990 | 7061 | ignored. |
4991 | 7062 | |
4992 | 7063 | =end original |
4993 | 7064 | |
4994 | 7065 | (W internal) VMS に固有の警告です。 |
4995 | 7066 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
4996 | 7067 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
4997 | 7068 | その行は無視しました。 |
4998 | 7069 | |
4999 | 7070 | =item (in cleanup) %s |
5000 | 7071 | |
5001 | 7072 | =begin original |
5002 | 7073 | |
5003 | 7074 | (W misc) This prefix usually indicates that a DESTROY() method raised |
5004 | 7075 | the indicated exception. Since destructors are usually called by the |
5005 | 7076 | system at arbitrary points during execution, and often a vast number of |
5006 | 7077 | times, the warning is issued only once for any number of failures that |
5007 | 7078 | would otherwise result in the same message being repeated. |
5008 | 7079 | |
5009 | 7080 | =end original |
5010 | 7081 | |
5011 | 7082 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
5012 | 7083 | 発生したことを示しています。 |
5013 | 7084 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
5014 | 7085 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
5015 | 7086 | 何回失敗しても一度だけ発生します。 |
5016 | 7087 | |
5017 | 7088 | =begin original |
5018 | 7089 | |
5019 | 7090 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
5020 | 7091 | also result in this warning. See L<perlcall/G_KEEPERR>. |
5021 | 7092 | |
5022 | 7093 | =end original |
5023 | 7094 | |
5024 | 7095 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した |
5025 | 7096 | 場合にもこの警告が出ることがあります。 |
5026 | 7097 | L<perlcall/G_KEEPERR> を参照してください。 |
5027 | 7098 | |
5028 | =item I | |
7099 | =item Implicit use of @_ in %s with signatured subroutine is experimental | |
5029 | 7100 | |
5030 | 7101 | =begin original |
5031 | 7102 | |
7103 | (S experimental::args_array_with_signatures) An expression that implicitly | |
7104 | involves the C<@_> arguments array was found in a subroutine that uses a | |
7105 | signature. This is experimental because the interaction between the | |
7106 | arguments array and parameter handling via signatures is not guaranteed | |
7107 | to remain stable in any future version of Perl, and such code should be | |
7108 | avoided. | |
7109 | ||
7110 | =end original | |
7111 | ||
7112 | (S experimental::args_array_with_signatures) | |
7113 | 暗黙に C<@_> 引数配列が関係する式が | |
7114 | シグネチャを使ったサブルーチンの中に見つかりました。 | |
7115 | 引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、 | |
7116 | 将来のバージョンの Perl でも安定なままであることが保証されておらず、 | |
7117 | そのようなコードは避けるべきなため、これは実験的です。 | |
7118 | ||
7119 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> | |
7120 | in m/%s/ | |
7121 | ||
7122 | =begin original | |
7123 | ||
7124 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the | |
7125 | expression inside the construct was completely empty, or if there are | |
7126 | too many or few operands for the number of operators. Perl is not smart | |
7127 | enough to give you a more precise indication as to what is wrong. | |
7128 | ||
7129 | =end original | |
7130 | ||
7131 | (F) これは C<(?[ ])> の中の文法エラーです。 | |
7132 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり | |
7133 | 少なすぎたりする場合に起こります。 | |
7134 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 | |
7135 | ||
7136 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
7137 | parent '%s' | |
7138 | ||
7139 | =begin original | |
7140 | ||
5032 | 7141 | (F) The method resolution order (MRO) of the given class is not |
5033 | 7142 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 |
5034 | 7143 | documentation in L<mro> for more information. |
5035 | 7144 | |
5036 | 7145 | =end original |
5037 | 7146 | |
5038 | 7147 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 |
5039 | 7148 | このクラスの C3 MRO を有効にしました。 |
5040 | 7149 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 |
5041 | 7150 | |
5042 | =item In | |
7151 | =item Indentation on line %d of here-doc doesn't match delimiter | |
5043 | 7152 | |
5044 | 7153 | =begin original |
5045 | 7154 | |
5046 | (F) | |
7155 | (F) You have an indented here-document where one or more of its lines | |
5047 | ||
7156 | have whitespace at the beginning that does not match the closing | |
5048 | ||
7157 | delimiter. | |
5049 | 7158 | |
5050 | 7159 | =end original |
5051 | 7160 | |
5052 | (F) | |
7161 | (F) インデントのあるヒヤドキュメントがありますが、 | |
5053 | ||
7162 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 | |
5054 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 | |
5055 | UTF-EBCDIC エンコーディングでは、コードポイントは | |
5056 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 | |
5057 | 7163 | |
5058 | = | |
7164 | =begin original | |
5059 | 7165 | |
7166 | For example, line 2 below is wrong because it does not have at least | |
7167 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: | |
7168 | ||
7169 | =end original | |
7170 | ||
7171 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の | |
7172 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; | |
7173 | 少なくとも 2 個あるからです: | |
7174 | ||
7175 | if ($something) { | |
7176 | print <<~EOF; | |
7177 | Line 1 | |
7178 | Line 2 not | |
7179 | Line 3 | |
7180 | EOF | |
7181 | } | |
7182 | ||
5060 | 7183 | =begin original |
5061 | 7184 | |
7185 | Note that tabs and spaces are compared strictly, meaning 1 tab will | |
7186 | not match 8 spaces. | |
7187 | ||
7188 | =end original | |
7189 | ||
7190 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは | |
7191 | マッチングしないことに注意してください。 | |
7192 | ||
7193 | =item Infinite recursion in regex | |
7194 | ||
7195 | =begin original | |
7196 | ||
5062 | 7197 | (F) You used a pattern that references itself without consuming any input |
5063 | text. You should check the pattern to ensure that recursive patterns | |
7198 | text. You should check the pattern to ensure that recursive patterns | |
5064 | 7199 | either consume text or fail. |
5065 | 7200 | |
5066 | 7201 | =end original |
5067 | 7202 | |
5068 | 7203 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 |
5069 | 7204 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 |
5070 | 7205 | パターンをチェックするべきです。 |
5071 | 7206 | |
7207 | =item Infinite recursion in user-defined property | |
7208 | ||
5072 | 7209 | =begin original |
5073 | 7210 | |
5074 | ||
7211 | (F) A user-defined property (L<perlunicode/User-Defined Character | |
5075 | ||
7212 | Properties>) can depend on the definitions of other user-defined | |
7213 | properties. If the chain of dependencies leads back to this property, | |
7214 | infinite recursion would occur, were it not for the check that raised | |
7215 | this error. | |
5076 | 7216 | |
5077 | 7217 | =end original |
5078 | 7218 | |
5079 | <- | |
7219 | (F) ユーザー定義特性 (L<perlunicode/User-Defined Character | |
7220 | Properties>) は他のユーザー定義特性の定義に依存できます。 | |
7221 | 依存の鎖がこの特性に戻ってくる場合、無限再帰が起きることになり、 | |
7222 | そうしないためのチェックがこのエラーを起こします。 | |
5080 | 7223 | |
5081 | = | |
7224 | =begin original | |
5082 | 7225 | |
7226 | Restructure your property definitions to avoid this. | |
7227 | ||
7228 | =end original | |
7229 | ||
7230 | これを避けるために特性定義を再構成してください。 | |
7231 | ||
7232 | =item Infinite recursion via empty pattern | |
7233 | ||
5083 | 7234 | =begin original |
5084 | 7235 | |
5085 | (F) | |
7236 | (F) You tried to use the empty pattern inside of a regex code block, | |
5086 | ||
7237 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
5087 | ||
7238 | the same pattern, which is an infinite loop which is broken by | |
5088 | ||
7239 | throwing an exception. | |
5089 | 7240 | |
5090 | 7241 | =end original |
5091 | 7242 | |
5092 | (F) | |
7243 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
5093 | ||
7244 | 空パターンを使いました; | |
5094 | ||
7245 | これは同じパターンを再実行することになり、 | |
5095 | ||
7246 | 例外が投げられることによって壊れる無限ループになります。 | |
5096 | C<state (@a) = foo()> のような構文は perl の将来のリリースで | |
5097 | 対応されるでしょう。 | |
5098 | 7247 | |
7248 | =item Initialization of state variables in list currently forbidden | |
7249 | ||
7250 | =begin original | |
7251 | ||
7252 | (F) C<state> only permits initializing a single variable, specified | |
7253 | without parentheses. So C<state $x = 42> and C<state @x = qw(a b c)> are | |
7254 | allowed, but not C<state ($x) = 42> or C<(state $x) = 42>. To initialize | |
7255 | more than one C<state> variable, initialize them one at a time. | |
7256 | ||
7257 | =end original | |
7258 | ||
7259 | (F) C<state> は、かっこなしで指定された単一の変数の初期化のみが | |
7260 | 許されています。 | |
7261 | 従って C<state $x = 42> と C<state @x = qw(a b c)> は許されますが、 | |
7262 | C<state ($x) = 42> や C<(state $x) = 42> は許されません。 | |
7263 | 複数の C<state> 変数を初期化するには、一つずつ初期化してください。 | |
7264 | ||
7265 | =item %%s[%s] in scalar context better written as $%s[%s] | |
7266 | ||
7267 | =begin original | |
7268 | ||
7269 | (W syntax) In scalar context, you've used an array index/value slice | |
7270 | (indicated by %) to select a single element of an array. Generally | |
7271 | it's better to ask for a scalar value (indicated by $). The difference | |
7272 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it | |
7273 | returns and when evaluating its argument, while C<%foo[&bar]> provides | |
7274 | a list context to its subscript, which can do weird things if you're | |
7275 | expecting only one subscript. When called in list context, it also | |
7276 | returns the index (what C<&bar> returns) in addition to the value. | |
7277 | ||
7278 | =end original | |
7279 | ||
7280 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために | |
7281 | (% で示される)配列インデックス/値スライスを使いました。 | |
7282 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
7283 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
7284 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
7285 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
7286 | リストコンテキストで呼び出された場合、値に加えてインデックス | |
7287 | (C<&bar> が返すもの) を返します。 | |
7288 | ||
7289 | =item %%s{%s} in scalar context better written as $%s{%s} | |
7290 | ||
7291 | =begin original | |
7292 | ||
7293 | (W syntax) In scalar context, you've used a hash key/value slice | |
7294 | (indicated by %) to select a single element of a hash. Generally it's | |
7295 | better to ask for a scalar value (indicated by $). The difference | |
7296 | is that C<$foo{&bar}> always behaves like a scalar, both in the value | |
7297 | it returns and when evaluating its argument, while C<@foo{&bar}> and | |
7298 | provides a list context to its subscript, which can do weird things | |
7299 | if you're expecting only one subscript. When called in list context, | |
7300 | it also returns the key in addition to the value. | |
7301 | ||
7302 | =end original | |
7303 | ||
7304 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために | |
7305 | (% で示される)ハッシュキー/値スライスを使いました。 | |
7306 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
7307 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
7308 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
7309 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
7310 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 | |
7311 | ||
5099 | 7312 | =item Insecure dependency in %s |
5100 | 7313 | |
5101 | 7314 | =begin original |
5102 | 7315 | |
5103 | 7316 | (F) You tried to do something that the tainting mechanism didn't like. |
5104 | 7317 | The tainting mechanism is turned on when you're running setuid or |
5105 | 7318 | setgid, or when you specify B<-T> to turn it on explicitly. The |
5106 | 7319 | tainting mechanism labels all data that's derived directly or indirectly |
5107 | 7320 | from the user, who is considered to be unworthy of your trust. If any |
5108 | 7321 | such data is used in a "dangerous" operation, you get this error. See |
5109 | 7322 | L<perlsec> for more information. |
5110 | 7323 | |
5111 | 7324 | =end original |
5112 | 7325 | |
5113 | 7326 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
5114 | 7327 | 行なおうとしました。 |
5115 | 7328 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
5116 | 7329 | 汚染チェック機構が働きます。 |
5117 | 7330 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
5118 | 7331 | 指定したデータに印を付けます。 |
5119 | 7332 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
5120 | 7333 | 詳しくは、L<perlsec> を参照してください。 |
5121 | 7334 | |
5122 | 7335 | =item Insecure directory in %s |
5123 | 7336 | |
5124 | 7337 | =begin original |
5125 | 7338 | |
5126 | 7339 | (F) You can't use system(), exec(), or a piped open in a setuid or |
5127 | 7340 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
5128 | 7341 | the world. Also, the PATH must not contain any relative directory. |
5129 | 7342 | See L<perlsec>. |
5130 | 7343 | |
5131 | 7344 | =end original |
5132 | 7345 | |
5133 | 7346 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
5134 | 7347 | 含まれているとき、system()、exec()、パイプのオープンを |
5135 | 7348 | 行なうことはできません。 |
5136 | 7349 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 |
5137 | 7350 | L<perlsec> を参照してください。 |
5138 | 7351 | |
5139 | 7352 | =item Insecure $ENV{%s} while running %s |
5140 | 7353 | |
5141 | 7354 | =begin original |
5142 | 7355 | |
5143 | 7356 | (F) You can't use system(), exec(), or a piped open in a setuid or |
5144 | 7357 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
5145 | 7358 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data |
5146 | 7359 | supplied (or potentially supplied) by the user. The script must set |
5147 | 7360 | the path to a known value, using trustworthy data. See L<perlsec>. |
5148 | 7361 | |
5149 | 7362 | =end original |
5150 | 7363 | |
5151 | 7364 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
5152 | 7365 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された |
5153 | 7366 | (あるいは提供された可能性のある)データの場合、setuid や setgid された |
5154 | 7367 | スクリプトでは system(), exec(), パイプされる open を |
5155 | 7368 | 使うことはできません。 |
5156 | 7369 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
5157 | 7370 | セットしなければなりません。 |
5158 | 7371 | L<perlsec> を参照してください。 |
5159 | 7372 | |
5160 | 7373 | =item Insecure user-defined property %s |
5161 | 7374 | |
5162 | 7375 | =begin original |
5163 | 7376 | |
5164 | 7377 | (F) Perl detected tainted data when trying to compile a regular |
5165 | 7378 | expression that contains a call to a user-defined character property |
5166 | 7379 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. |
5167 | 7380 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. |
5168 | 7381 | |
5169 | 7382 | =end original |
5170 | 7383 | |
5171 | 7384 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の |
5172 | 7385 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを |
5173 | 7386 | 検出しました。 |
5174 | 7387 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を |
5175 | 7388 | 参照してください。 |
5176 | 7389 | |
5177 | 7390 | =item Integer overflow in format string for %s |
5178 | 7391 | |
5179 | 7392 | =begin original |
5180 | 7393 | |
5181 | 7394 | (F) The indexes and widths specified in the format string of C<printf()> |
5182 | 7395 | or C<sprintf()> are too large. The numbers must not overflow the size of |
5183 | 7396 | integers for your architecture. |
5184 | 7397 | |
5185 | 7398 | =end original |
5186 | 7399 | |
5187 | 7400 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや |
5188 | 7401 | 幅が大きすぎます。 |
5189 | 7402 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように |
5190 | 7403 | しなければなりません。 |
5191 | 7404 | |
5192 | 7405 | =item Integer overflow in %s number |
5193 | 7406 | |
5194 | 7407 | =begin original |
5195 | 7408 | |
5196 | ( | |
7409 | (S overflow) The hexadecimal, octal or binary number you have specified | |
5197 | 7410 | either as a literal or as an argument to hex() or oct() is too big for |
5198 | 7411 | your architecture, and has been converted to a floating point number. |
5199 | 7412 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
5200 | 7413 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
5201 | 7414 | 0b11111111111111111111111111111111 respectively. Note that Perl |
5202 | 7415 | transparently promotes all numbers to a floating point representation |
5203 | 7416 | internally--subject to loss of precision errors in subsequent |
5204 | 7417 | operations. |
5205 | 7418 | |
5206 | 7419 | =end original |
5207 | 7420 | |
5208 | ( | |
7421 | (S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
5209 | 7422 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
5210 | 7423 | 変換されました。 |
5211 | 7424 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
5212 | 7425 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
5213 | 7426 | 0b11111111111111111111111111111111 です。 |
5214 | 7427 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
5215 | 7428 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
5216 | 7429 | |
7430 | =item Integer overflow in srand | |
7431 | ||
7432 | =begin original | |
7433 | ||
7434 | (S overflow) The number you have passed to srand is too big to fit | |
7435 | in your architecture's integer representation. The number has been | |
7436 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
7437 | architectures). This means you may be getting less randomness than | |
7438 | you expect, because different random seeds above the maximum will | |
7439 | return the same sequence of random numbers. | |
7440 | ||
7441 | =end original | |
7442 | ||
7443 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
7444 | 適合させるには大きすぎます。 | |
7445 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
7446 | 置き換えられました。 | |
7447 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
7448 | 想定しているよりもランダム性が低くなることを意味します。 | |
7449 | ||
5217 | 7450 | =item Integer overflow in version |
5218 | 7451 | |
7452 | =item Integer overflow in version %d | |
7453 | ||
5219 | 7454 | =begin original |
5220 | 7455 | |
5221 | ( | |
7456 | (W overflow) Some portion of a version initialization is too large for | |
5222 | size of integers for your architecture. This is not a warning | |
7457 | the size of integers for your architecture. This is not a warning | |
5223 | because there is no rational reason for a version to try and use a | |
7458 | because there is no rational reason for a version to try and use an | |
5224 | element larger than typically 2**32. This is usually caused by | |
7459 | element larger than typically 2**32. This is usually caused by trying | |
5225 | t | |
7460 | to use some odd mathematical operation as a version, like 100/9. | |
5226 | 100/9. | |
5227 | 7461 | |
5228 | 7462 | =end original |
5229 | 7463 | |
5230 | ( | |
7464 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
5231 | 7465 | 大きすぎます。 |
5232 | 7466 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な |
5233 | 7467 | 理由がないので、これは警告ではありません。 |
5234 | 7468 | これは普通、100/9 のようなおかしな数値演算をバージョンとして |
5235 | 7469 | 使おうとしたことによります。 |
5236 | 7470 | |
5237 | =item Internal disaster in regex; marked by <-- HERE in m/%s/ | |
7471 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ | |
5238 | 7472 | |
5239 | 7473 | =begin original |
5240 | 7474 | |
5241 | 7475 | (P) Something went badly wrong in the regular expression parser. |
5242 | The <-- HERE shows in the regular expression | |
7476 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
5243 | 7477 | discovered. |
5244 | 7478 | |
5245 | 7479 | =end original |
5246 | 7480 | |
5247 | 7481 | (P) 正規表現解析部に何か悪いことが起こりました。 |
5248 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
7482 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
5249 | 7483 | |
5250 | 7484 | =item Internal inconsistency in tracking vforks |
5251 | 7485 | |
5252 | 7486 | =begin original |
5253 | 7487 | |
5254 | 7488 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
5255 | 7489 | you've called C<fork> and C<exec>, to determine whether the current call |
5256 | 7490 | to C<exec> should affect the current script or a subprocess (see |
5257 | 7491 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
5258 | 7492 | Perl is making a guess and treating this C<exec> as a request to |
5259 | 7493 | terminate the Perl script and execute the specified command. |
5260 | 7494 | |
5261 | 7495 | =end original |
5262 | 7496 | |
5263 | 7497 | (S) VMS に固有の警告です。 |
5264 | 7498 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
5265 | 7499 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
5266 | 7500 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
5267 | 7501 | 参照してください)。 |
5268 | 7502 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
5269 | 7503 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
5270 | 7504 | 仮定して、そのように扱いました。 |
5271 | 7505 | |
5272 | =item | |
7506 | =item internal %<num>p might conflict with future printf extensions | |
5273 | 7507 | |
5274 | 7508 | =begin original |
5275 | 7509 | |
5276 | ( | |
7510 | (S internal) Perl's internal routine that handles C<printf> and C<sprintf> | |
5277 | ||
7511 | formatting follows a slightly different set of rules when called from | |
7512 | C or XS code. Specifically, formats consisting of digits followed | |
7513 | by "p" (e.g., "%7p") are reserved for future use. If you see this | |
7514 | message, then an XS module tried to call that routine with one such | |
7515 | reserved format. | |
7516 | ||
7517 | =end original | |
7518 | ||
7519 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の | |
7520 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に | |
7521 | 従います。 | |
7522 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の | |
7523 | 使用のために予約されています。 | |
7524 | このメッセージが表示された場合、XS モジュールはこのような予約された | |
7525 | フォーマットを使って呼び出そうとしました。 | |
7526 | ||
7527 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ | |
7528 | ||
7529 | =begin original | |
7530 | ||
7531 | (P) Something went badly awry in the regular expression parser. The | |
7532 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
5278 | 7533 | discovered. |
5279 | 7534 | |
5280 | 7535 | =end original |
5281 | 7536 | |
5282 | 7537 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
5283 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
7538 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
5284 | 7539 | |
5285 | 7540 | =item %s (...) interpreted as function |
5286 | 7541 | |
5287 | 7542 | =begin original |
5288 | 7543 | |
5289 | 7544 | (W syntax) You've run afoul of the rule that says that any list operator |
5290 | 7545 | followed by parentheses turns into a function, with all the list |
5291 | 7546 | operators arguments found inside the parentheses. See |
5292 | 7547 | L<perlop/Terms and List Operators (Leftward)>. |
5293 | 7548 | |
5294 | 7549 | =end original |
5295 | 7550 | |
5296 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある | |
7551 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある | |
5297 | 持つ関数になる、という規則が適用されました。 | |
7552 | リスト演算子引数を持つ関数になる、という規則が適用されました。 | |
5298 | 7553 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
5299 | 7554 | |
7555 | =item In '(?...)', the '(' and '?' must be adjacent in regex; | |
7556 | marked by S<<-- HERE> in m/%s/ | |
7557 | ||
7558 | =begin original | |
7559 | ||
7560 | (F) The two-character sequence C<"(?"> in this context in a regular | |
7561 | expression pattern should be an indivisible token, with nothing | |
7562 | intervening between the C<"("> and the C<"?">, but you separated them | |
7563 | with whitespace. | |
7564 | ||
7565 | =end original | |
7566 | ||
7567 | (F) | |
7568 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
7569 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 | |
7570 | ||
7571 | =item In '(*...)', the '(' and '*' must be adjacent in regex; | |
7572 | marked by S<<-- HERE> in m/%s/ | |
7573 | ||
7574 | =begin original | |
7575 | ||
7576 | (F) The two-character sequence C<"(*"> in this context in a regular | |
7577 | expression pattern should be an indivisible token, with nothing | |
7578 | intervening between the C<"("> and the C<"*">, but you separated them. | |
7579 | Fix the pattern and retry. | |
7580 | ||
7581 | =end original | |
7582 | ||
7583 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
7584 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
7585 | 分割しました。 | |
7586 | パターンを修正して再挑戦してください。 | |
7587 | ||
5300 | 7588 | =item Invalid %s attribute: %s |
5301 | 7589 | |
5302 | 7590 | =begin original |
5303 | 7591 | |
5304 | 7592 | (F) The indicated attribute for a subroutine or variable was not recognized |
5305 | 7593 | by Perl or by a user-supplied handler. See L<attributes>. |
5306 | 7594 | |
5307 | 7595 | =end original |
5308 | 7596 | |
5309 | 7597 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
5310 | 7598 | 認識されませんでした。 |
5311 | 7599 | L<attributes> を参照してください。 |
5312 | 7600 | |
5313 | 7601 | =item Invalid %s attributes: %s |
5314 | 7602 | |
5315 | 7603 | =begin original |
5316 | 7604 | |
5317 | 7605 | (F) The indicated attributes for a subroutine or variable were not |
5318 | 7606 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
5319 | 7607 | |
5320 | 7608 | =end original |
5321 | 7609 | |
5322 | 7610 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
5323 | 7611 | 認識されませんでした。 |
5324 | 7612 | L<attributes> を参照してください。 |
5325 | 7613 | |
7614 | =item Invalid character in charnames alias definition; marked by | |
7615 | S<<-- HERE> in '%s | |
7616 | ||
7617 | =begin original | |
7618 | ||
7619 | (F) You tried to create a custom alias for a character name, with | |
7620 | the C<:alias> option to C<use charnames> and the specified character in | |
7621 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
7622 | ||
7623 | =end original | |
7624 | ||
7625 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
7626 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
7627 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7628 | ||
7629 | =item Invalid \0 character in %s for %s: %s\0%s | |
7630 | ||
7631 | =begin original | |
7632 | ||
7633 | (W syscalls) Embedded \0 characters in pathnames or other system call | |
7634 | arguments produce a warning as of 5.20. The parts after the \0 were | |
7635 | formerly ignored by system calls. | |
7636 | ||
7637 | =end original | |
7638 | ||
7639 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は | |
7640 | 5.20 から警告を出力するようになりました。 | |
7641 | 以前は \0 の後の部分はシステムコールによって無視されていました。 | |
7642 | ||
7643 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} | |
7644 | ||
7645 | =begin original | |
7646 | ||
7647 | (F) Only certain characters are valid for character names. The | |
7648 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
7649 | ||
7650 | =end original | |
7651 | ||
7652 | (F) 文字名としては一部の文字のみが正当です。 | |
7653 | 示されたものは違います。 | |
7654 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7655 | ||
5326 | 7656 | =item Invalid conversion in %s: "%s" |
5327 | 7657 | |
5328 | 7658 | =begin original |
5329 | 7659 | |
5330 | 7660 | (W printf) Perl does not understand the given format conversion. See |
5331 | 7661 | L<perlfunc/sprintf>. |
5332 | 7662 | |
5333 | 7663 | =end original |
5334 | 7664 | |
5335 | 7665 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
5336 | 7666 | L<perlfunc/sprintf> を参照してください。 |
5337 | 7667 | |
5338 | =item Invalid escape in the specified encoding in regex; marked by | |
7668 | =item Invalid escape in the specified encoding in regex; marked by | |
7669 | S<<-- HERE> in m/%s/ | |
5339 | 7670 | |
5340 | 7671 | =begin original |
5341 | 7672 | |
5342 | (W regexp) The numeric escape (for example C<\xHH>) of value < 256 | |
7673 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 | |
5343 | 7674 | didn't correspond to a single character through the conversion |
5344 | 7675 | from the encoding specified by the encoding pragma. |
5345 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
7676 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
5346 | ||
7677 | instead, except within S<C<(?[ ])>>, where it is a fatal error. | |
7678 | The S<<-- HERE> shows whereabouts in the regular expression the | |
5347 | 7679 | escape was discovered. |
5348 | 7680 | |
5349 | 7681 | =end original |
5350 | 7682 | |
5351 | (W regexp) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
7683 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
5352 | 7684 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 |
5353 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます | |
7685 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; | |
5354 | < | |
7686 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 | |
7687 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
5355 | 7688 | |
5356 | 7689 | =item Invalid hexadecimal number in \N{U+...} |
5357 | 7690 | |
7691 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by | |
7692 | S<<-- HERE> in m/%s/ | |
7693 | ||
5358 | 7694 | =begin original |
5359 | 7695 | |
5360 | 7696 | (F) The character constant represented by C<...> is not a valid hexadecimal |
5361 | 7697 | number. Either it is empty, or you tried to use a character other than |
5362 | 7698 | 0 - 9 or A - F, a - f in a hexadecimal number. |
5363 | 7699 | |
5364 | 7700 | =end original |
5365 | 7701 | |
5366 | 7702 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 |
5367 | 7703 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
5368 | 7704 | |
7705 | =item Invalid module name %s with -%c option: contains single ':' | |
7706 | ||
7707 | =begin original | |
7708 | ||
7709 | (F) The module argument to perl's B<-m> and B<-M> command-line options | |
7710 | cannot contain single colons in the module name, but only in the | |
7711 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but | |
7712 | B<-MFoo:Bar=baz> is not. | |
7713 | ||
7714 | =end original | |
7715 | ||
7716 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 | |
7717 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが | |
7718 | できます。 | |
7719 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は | |
7720 | そうではありません。 | |
7721 | ||
5369 | 7722 | =item Invalid mro name: '%s' |
5370 | 7723 | |
5371 | 7724 | =begin original |
5372 | 7725 | |
5373 | 7726 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, |
5374 | 7727 | where C<foo> is not a valid method resolution order (MRO). Currently, |
5375 | 7728 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded |
5376 | 7729 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. |
5377 | 7730 | |
5378 | 7731 | =end original |
5379 | 7732 | |
5380 | 7733 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと |
5381 | 7734 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 |
5382 | 7735 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として |
5383 | 7736 | 有効なものは C<dfs> と C<c3> だけです。 |
5384 | 7737 | L<mro> と L<perlmroapi> を参照してください。 |
5385 | 7738 | |
5386 | =item Invalid | |
7739 | =item Invalid negative number (%s) in chr | |
5387 | 7740 | |
5388 | 7741 | =begin original |
5389 | 7742 | |
7743 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
7744 | not valid character numbers, so it returns the Unicode replacement | |
7745 | character (U+FFFD). | |
7746 | ||
7747 | =end original | |
7748 | ||
7749 | (W utf8) C<chr> に負数を渡しました。 | |
7750 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
7751 | ||
7752 | =item Invalid number '%s' for -C option. | |
7753 | ||
7754 | =begin original | |
7755 | ||
7756 | (F) You supplied a number to the -C option that either has extra leading | |
7757 | zeroes or overflows perl's unsigned integer representation. | |
7758 | ||
7759 | =end original | |
7760 | ||
7761 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
7762 | オーバーフローするといったような数値を指定しました。 | |
7763 | ||
7764 | =item invalid option -D%c, use -D'' to see choices | |
7765 | ||
7766 | =begin original | |
7767 | ||
7768 | (S debugging) Perl was called with invalid debugger flags. Call perl | |
7769 | with the B<-D> option with no flags to see the list of acceptable values. | |
7770 | See also L<perlrun/-Dletters>. | |
7771 | ||
7772 | =end original | |
7773 | ||
7774 | (F) Perl は不正なデバッガフラグで呼び出されました。 | |
7775 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて | |
7776 | perl を呼び出してください。 | |
7777 | L<< perlrun/B<-D>I<letters> >> も参照してください。 | |
7778 | ||
7779 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ | |
7780 | ||
7781 | =begin original | |
7782 | ||
7783 | (F) The pattern looks like a {min,max} quantifier, but the min or max | |
7784 | could not be parsed as a valid number - either it has leading zeroes, | |
7785 | or it represents too big a number to cope with. The S<<-- HERE> shows | |
7786 | where in the regular expression the problem was discovered. See L<perlre>. | |
7787 | ||
7788 | =end original | |
7789 | ||
7790 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が | |
7791 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 | |
7792 | 数値として扱うには大きすぎます。 | |
7793 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7794 | L<perlre> を参照してください。 | |
7795 | ||
7796 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7797 | ||
7798 | =begin original | |
7799 | ||
5390 | 7800 | (F) The range specified in a character class had a minimum character |
5391 | 7801 | greater than the maximum character. One possibility is that you forgot the |
5392 | 7802 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only |
5393 | up to C<ff>. The <-- HERE shows in the regular expression | |
7803 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the | |
5394 | 7804 | problem was discovered. See L<perlre>. |
5395 | 7805 | |
5396 | 7806 | =end original |
5397 | 7807 | |
5398 | 7808 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
5399 | 7809 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を |
5400 | 7810 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか |
5401 | 7811 | なりません。 |
5402 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
7812 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
5403 | 7813 | L<perlre> を参照してください。 |
5404 | 7814 | |
5405 | 7815 | =item Invalid range "%s" in transliteration operator |
5406 | 7816 | |
5407 | 7817 | =begin original |
5408 | 7818 | |
5409 | 7819 | (F) The range specified in the tr/// or y/// operator had a minimum |
5410 | 7820 | character greater than the maximum character. See L<perlop>. |
5411 | 7821 | |
5412 | 7822 | =end original |
5413 | 7823 | |
5414 | 7824 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が |
5415 | 7825 | 大きいです。 |
5416 | 7826 | L<perlop> を参照してください。 |
5417 | 7827 | |
7828 | =item Invalid reference to group in regex; marked by S<<-- HERE> in m/%s/ | |
7829 | ||
7830 | =begin original | |
7831 | ||
7832 | (F) The capture group you specified can't possibly exist because the | |
7833 | number you used is not within the legal range of possible values for | |
7834 | this machine. | |
7835 | ||
7836 | =end original | |
7837 | ||
7838 | (F) 指定した捕捉グループはおそらく存在できません; | |
7839 | 使われている数字がこの機械で可能な値の範囲の中でないからです。 | |
7840 | ||
5418 | 7841 | =item Invalid separator character %s in attribute list |
5419 | 7842 | |
5420 | 7843 | =begin original |
5421 | 7844 | |
5422 | 7845 | (F) Something other than a colon or whitespace was seen between the |
5423 | 7846 | elements of an attribute list. If the previous attribute had a |
5424 | 7847 | parenthesised parameter list, perhaps that list was terminated too soon. |
5425 | 7848 | See L<attributes>. |
5426 | 7849 | |
5427 | 7850 | =end original |
5428 | 7851 | |
5429 | 7852 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
5430 | 7853 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
5431 | 7854 | 予定より早く終端されています。 |
5432 | 7855 | L<attributes> を参照してください。 |
5433 | 7856 | |
5434 | 7857 | =item Invalid separator character %s in PerlIO layer specification %s |
5435 | 7858 | |
5436 | 7859 | =begin original |
5437 | 7860 | |
5438 | 7861 | (W layer) When pushing layers onto the Perl I/O system, something other |
5439 | 7862 | than a colon or whitespace was seen between the elements of a layer list. |
5440 | 7863 | If the previous attribute had a parenthesised parameter list, perhaps that |
5441 | 7864 | list was terminated too soon. |
5442 | 7865 | |
5443 | 7866 | =end original |
5444 | 7867 | |
5445 | 7868 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に |
5446 | 7869 | コロンと空白以外のものがありました。 |
5447 | 7870 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
5448 | 7871 | 予定より早く終端されています。 |
5449 | 7872 | |
5450 | 7873 | =item Invalid strict version format (%s) |
5451 | 7874 | |
5452 | 7875 | =begin original |
5453 | 7876 | |
5454 | (F) | |
7877 | (F) A version number did not meet the "strict" criteria for versions. | |
5455 | 7878 | A "strict" version number is a positive decimal number (integer or |
5456 | 7879 | decimal-fraction) without exponentiation or else a dotted-decimal |
5457 | 7880 | v-string with a leading 'v' character and at least three components. |
5458 | 7881 | The parenthesized text indicates which criteria were not met. |
5459 | 7882 | See the L<version> module for more details on allowed version formats. |
5460 | 7883 | |
5461 | 7884 | =end original |
5462 | 7885 | |
5463 | (F) | |
7886 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 | |
5464 | 7887 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 |
5465 | 7888 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも |
5466 | 7889 | 三つの部分からなるものです。 |
5467 | 7890 | かっこで囲まれたテキストは問題の基準を示しています。 |
5468 | 7891 | 許されるバージョンオブジェクトに関するさらなる詳細については |
5469 | 7892 | L<version> モジュールを参照してください。 |
5470 | 7893 | |
5471 | 7894 | =item Invalid type '%s' in %s |
5472 | 7895 | |
5473 | 7896 | =begin original |
5474 | 7897 | |
5475 | 7898 | (F) The given character is not a valid pack or unpack type. |
5476 | 7899 | See L<perlfunc/pack>. |
5477 | (W) The given character is not a valid pack or unpack type but used to be | |
5478 | silently ignored. | |
5479 | 7900 | |
5480 | 7901 | =end original |
5481 | 7902 | |
5482 | 7903 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 |
5483 | 7904 | L<perlfunc/pack> を参照してください。 |
7905 | ||
7906 | =begin original | |
7907 | ||
7908 | (W) The given character is not a valid pack or unpack type but used to be | |
7909 | silently ignored. | |
7910 | ||
7911 | =end original | |
7912 | ||
5484 | 7913 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に |
5485 | 7914 | 無視されました。 |
5486 | 7915 | |
7916 | =item Invalid version bundle "%s" | |
7917 | ||
7918 | =begin original | |
7919 | ||
7920 | (F) A version number that is used to specify an import bundle during a | |
7921 | C<use builtin ...> statement must be formatted as C<:MAJOR.MINOR> with an | |
7922 | optional third component, which is ignored. Each component must be a number | |
7923 | of 1 to 3 digits. No other characters are permitted. The value that was | |
7924 | specified does not conform to these rules. | |
7925 | ||
7926 | =end original | |
7927 | ||
7928 | (F) C<use builtin ...> 文の中にインポートの束を指定するために | |
7929 | 使用されるバージョン番号は、C<:MAJOR.MINOR> という形式である | |
7930 | 必要があります; オプションの 3 番目の要素は無視されます。 | |
7931 | 各要素は 1 から 3 桁の数字である必要があります。 | |
7932 | 他の文字は許されません。 | |
7933 | 指定された値はこれらの規則に準拠していません。 | |
7934 | ||
5487 | 7935 | =item Invalid version format (%s) |
5488 | 7936 | |
5489 | 7937 | =begin original |
5490 | 7938 | |
5491 | (F) | |
7939 | (F) A version number did not meet the "lax" criteria for versions. | |
5492 | 7940 | A "lax" version number is a positive decimal number (integer or |
5493 | 7941 | decimal-fraction) without exponentiation or else a dotted-decimal |
5494 | v-string. If the v-string has fewer than three components, i | |
7942 | v-string. If the v-string has fewer than three components, it | |
5495 | have a leading 'v' character. Otherwise, the leading 'v' is | |
7943 | must have a leading 'v' character. Otherwise, the leading 'v' is | |
5496 | Both decimal and dotted-decimal versions may have a | |
7944 | optional. Both decimal and dotted-decimal versions may have a | |
5497 | component separated by an underscore characte | |
7945 | trailing "alpha" component separated by an underscore character | |
5498 | dotted-decimal component. The parenthesized | |
7946 | after a fractional or dotted-decimal component. The parenthesized | |
5499 | criteria were not met. See the L<version> module | |
7947 | text indicates which criteria were not met. See the L<version> module | |
5500 | allowed version formats. | |
7948 | for more details on allowed version formats. | |
5501 | 7949 | |
5502 | 7950 | =end original |
5503 | 7951 | |
5504 | (F) | |
7952 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 | |
5505 | 7953 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 |
5506 | 7954 | あるいはどっと付き 10 進 v-文字列です。 |
5507 | 7955 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 |
5508 | 7956 | さもなければ、先頭の 'v' はオプションです。 |
5509 | 7957 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 |
5510 | 7958 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 |
5511 | 7959 | かっこで囲まれたテキストは問題の基準を示しています。 |
5512 | 7960 | 許されるバージョンオブジェクトに関するさらなる詳細については |
5513 | 7961 | L<version> モジュールを参照してください。 |
5514 | 7962 | |
5515 | 7963 | =item Invalid version object |
5516 | 7964 | |
5517 | 7965 | =begin original |
5518 | 7966 | |
5519 | (F) | |
7967 | (F) The internal structure of the version object was invalid. | |
5520 | the internals were modified directly in some way or | |
7968 | Perhaps the internals were modified directly in some way or | |
5521 | was blessed into the "version" class. | |
7969 | an arbitrary reference was blessed into the "version" class. | |
5522 | 7970 | |
5523 | 7971 | =end original |
5524 | 7972 | |
5525 | 7973 | (F) バージョンオブジェクトの内部構造が不正です。 |
5526 | 7974 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが |
5527 | 7975 | "version" クラスとして bless されました。 |
5528 | 7976 | |
7977 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; | |
7978 | marked by S<<-- HERE> in m/%s/ | |
7979 | ||
7980 | =item Inverting a character class which contains a multi-character | |
7981 | sequence is illegal in regex; marked by <-- HERE in m/%s/ | |
7982 | ||
7983 | =begin original | |
7984 | ||
7985 | (F) You wrote something like | |
7986 | ||
7987 | =end original | |
7988 | ||
7989 | (F) 次のようなものを書きました: | |
7990 | ||
7991 | qr/\P{name=KATAKANA LETTER AINU P}/ | |
7992 | qr/[^\p{name=KATAKANA LETTER AINU P}]/ | |
7993 | ||
7994 | =begin original | |
7995 | ||
7996 | This name actually evaluates to a sequence of two Katakana characters, | |
7997 | not just a single one, and it is illegal to try to take the complement | |
7998 | of a sequence. (Mathematically it would mean any sequence of characters | |
7999 | from 0 to infinity in length that weren't these two in a row, and that | |
8000 | is likely not of any real use.) | |
8001 | ||
8002 | =end original | |
8003 | ||
8004 | この名前は実際には一つではなく二つのカタカナ文字の並びに評価され、 | |
8005 | 並びの反転を取ろうとするのは不正です。 | |
8006 | (数学的には、これはこれら二つが並んでいるもの以外の長さ 0 から無限の | |
8007 | 任意の文字並びを意味しますが、おそらく実際の用途ではないでしょう。) | |
8008 | ||
8009 | =begin original | |
8010 | ||
8011 | (F) The two-character sequence C<"(*"> in this context in a regular | |
8012 | expression pattern should be an indivisible token, with nothing | |
8013 | intervening between the C<"("> and the C<"*">, but you separated them. | |
8014 | ||
8015 | =end original | |
8016 | ||
8017 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
8018 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
8019 | 分割しました。 | |
8020 | ||
5529 | 8021 | =item ioctl is not implemented |
5530 | 8022 | |
5531 | 8023 | =begin original |
5532 | 8024 | |
5533 | 8025 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
5534 | 8026 | strange for a machine that supports C. |
5535 | 8027 | |
5536 | 8028 | =end original |
5537 | 8029 | |
5538 | 8030 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
5539 | 8031 | このマシンでは ioctl() が実装されていないようです。 |
5540 | 8032 | |
5541 | 8033 | =item ioctl() on unopened %s |
5542 | 8034 | |
5543 | 8035 | =begin original |
5544 | 8036 | |
5545 | 8037 | (W unopened) You tried ioctl() on a filehandle that was never opened. |
5546 | 8038 | Check your control flow and number of arguments. |
5547 | 8039 | |
5548 | 8040 | =end original |
5549 | 8041 | |
5550 | 8042 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 |
5551 | 8043 | 制御フローと引数の数をチェックしてください。 |
5552 | 8044 | |
5553 | 8045 | =item IO layers (like '%s') unavailable |
5554 | 8046 | |
5555 | 8047 | =begin original |
5556 | 8048 | |
5557 | 8049 | (F) Your Perl has not been configured to have PerlIO, and therefore |
5558 | 8050 | you cannot use IO layers. To have PerlIO, Perl must be configured |
5559 | 8051 | with 'useperlio'. |
5560 | 8052 | |
5561 | 8053 | =end original |
5562 | 8054 | |
5563 | 8055 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 |
5564 | 8056 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 |
5565 | 8057 | |
5566 | 8058 | =item IO::Socket::atmark not implemented on this architecture |
5567 | 8059 | |
5568 | 8060 | =begin original |
5569 | 8061 | |
5570 | 8062 | (F) Your machine doesn't implement the sockatmark() functionality, |
5571 | 8063 | neither as a system call nor an ioctl call (SIOCATMARK). |
5572 | 8064 | |
5573 | 8065 | =end original |
5574 | 8066 | |
5575 | 8067 | (F) 実行されているマシンでは、システムコールでも |
5576 | 8068 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 |
5577 | 8069 | |
5578 | =item | |
8070 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ | |
5579 | 8071 | |
5580 | 8072 | =begin original |
5581 | 8073 | |
5582 | ( | |
8074 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to | |
5583 | ||
8075 | Perl. The current valid ones are given in | |
8076 | L<perlrebackslash/\b{}, \b, \B{}, \B>. | |
8077 | ||
8078 | =end original | |
8079 | ||
8080 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は | |
8081 | Perl が知らないものでした。 | |
8082 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 | |
8083 | ||
8084 | =item %s() isn't allowed on :utf8 handles | |
8085 | ||
8086 | =begin original | |
8087 | ||
8088 | (F) The sysread(), recv(), syswrite() and send() operators are | |
8089 | not allowed on handles that have the C<:utf8> layer, either explicitly, or | |
8090 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
8091 | ||
8092 | =end original | |
8093 | ||
8094 | (F) sysread(), recv(), syswrite() and send() 演算子は、 | |
8095 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
8096 | C<:utf8> 層を持つハンドルに対しては許されません。 | |
8097 | ||
8098 | =begin original | |
8099 | ||
8100 | Previously sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
8101 | ignoring the actual layers. Since sysread() and recv() did no UTF-8 | |
8102 | validation they can end up creating invalidly encoded scalars. | |
8103 | ||
8104 | =end original | |
8105 | ||
8106 | 以前は、sysread() と recv() は現在の所ストリームに対して | |
8107 | C<:utf8> フラグのみを使い、実際の層は無視します。 | |
8108 | sysread() と recv() は UTF-8 の検証を行っていなかったので、 | |
8109 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
8110 | ||
8111 | =begin original | |
8112 | ||
8113 | Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring | |
8114 | any layers. If the flag is set, both wrote the value UTF-8 encoded, even if | |
8115 | the layer is some different encoding, such as the example above. | |
8116 | ||
8117 | =end original | |
8118 | ||
8119 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
8120 | それ以外は全ての層を無視していました。 | |
8121 | フラグがセットされると、例え層が前述の例のように異なった | |
8122 | エンコーディングでも、UTF-8 エンコードされた値を書き込んでいました。 | |
8123 | ||
8124 | =begin original | |
8125 | ||
8126 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
8127 | working only with bytes, but this would result in silently breaking existing | |
8128 | code. | |
8129 | ||
8130 | =end original | |
8131 | ||
8132 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
8133 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
8134 | 壊すことになります。 | |
8135 | ||
8136 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
8137 | ||
8138 | =begin original | |
8139 | ||
8140 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
8141 | ||
8142 | =end original | |
8143 | ||
8144 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
8145 | ||
8146 | =begin original | |
8147 | ||
8148 | You specified a character that has the given plainer way of writing it, and | |
8149 | which is also portable to platforms running with different character sets. | |
8150 | ||
8151 | =end original | |
8152 | ||
8153 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される | |
8154 | プラットフォーム間で移植性のある文字を指定しました。 | |
8155 | ||
8156 | =item $* is no longer supported as of Perl 5.30 | |
8157 | ||
8158 | =begin original | |
8159 | ||
8160 | (F) The special variable C<$*>, deprecated in older perls, was removed in | |
8161 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. In | |
5584 | 8162 | previous versions of perl the use of C<$*> enabled or disabled multi-line |
5585 | 8163 | matching within a string. |
5586 | 8164 | |
5587 | 8165 | =end original |
5588 | 8166 | |
5589 | ( | |
8167 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は、 | |
5590 | ||
8168 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
5591 | 8169 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または |
5592 | 8170 | 無効にするために使っていました。 |
5593 | 8171 | |
5594 | 8172 | =begin original |
5595 | 8173 | |
5596 | 8174 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp |
5597 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
8175 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
5598 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
8176 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
5599 | 8177 | then all regular expressions behaved as if they were written using C</m>.) |
5600 | 8178 | |
5601 | 8179 | =end original |
5602 | 8180 | |
5603 | 8181 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を |
5604 | 8182 | 使うべきです。 |
5605 | 8183 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を |
5606 | 8184 | 有効にできます。 |
5607 | 8185 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は |
5608 | 8186 | C</m> を使って書かれたかのように振る舞っていました。) |
5609 | 8187 | |
5610 | = | |
8188 | =begin original | |
5611 | 8189 | |
8190 | Use of this variable will be a fatal error in Perl 5.30. | |
8191 | ||
8192 | =end original | |
8193 | ||
8194 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
8195 | ||
8196 | =item $# is no longer supported as of Perl 5.30 | |
8197 | ||
5612 | 8198 | =begin original |
5613 | 8199 | |
5614 | ( | |
8200 | (F) The special variable C<$#>, deprecated in older perls, was removed as of | |
5615 | ||
8201 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. You | |
5616 | 8202 | should use the printf/sprintf functions instead. |
5617 | 8203 | |
5618 | 8204 | =end original |
5619 | 8205 | |
5620 | ( | |
8206 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は、 | |
5621 | ||
8207 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
5622 | 8208 | 代わりに printf/sprintf 関数を使うべきです。 |
5623 | 8209 | |
5624 | =item | |
8210 | =item '%s' is not a code reference | |
5625 | 8211 | |
5626 | 8212 | =begin original |
5627 | 8213 | |
5628 | (W overload) The second (fourth, sixth, ...) argument of | |
8214 | (W overload) The second (fourth, sixth, ...) argument of | |
5629 | needs to be a code reference. Either | |
8215 | overload::constant needs to be a code reference. Either | |
5630 | to a subroutine. | |
8216 | an anonymous subroutine, or a reference to a subroutine. | |
5631 | 8217 | |
5632 | 8218 | =end original |
5633 | 8219 | |
5634 | 8220 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は |
5635 | 8221 | コードリファレンスである必要があります。 |
5636 | 8222 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
5637 | 8223 | |
5638 | =item | |
8224 | =item '%s' is not an overloadable type | |
5639 | 8225 | |
5640 | 8226 | =begin original |
5641 | 8227 | |
5642 | 8228 | (W overload) You tried to overload a constant type the overload package is |
5643 | 8229 | unaware of. |
5644 | 8230 | |
5645 | 8231 | =end original |
5646 | 8232 | |
5647 | 8233 | (W overload) オーバーロードパッケージが知らない定数型を |
5648 | 8234 | オーバーロードしようとしました。 |
5649 | 8235 | |
5650 | =item | |
8236 | =item '%s' is not recognised as a builtin function | |
5651 | 8237 | |
5652 | 8238 | =begin original |
5653 | 8239 | |
8240 | (F) An attempt was made to C<use> the L<builtin> pragma module to create | |
8241 | a lexical alias for an unknown function name. | |
8242 | ||
8243 | =end original | |
8244 | ||
8245 | (F) 不明な関数名のレキシカルな別名を作るために | |
8246 | L<builtin> プラグマモジュールを C<use> しようとしました。 | |
8247 | ||
8248 | =item -i used with no filenames on the command line, reading from STDIN | |
8249 | ||
8250 | =begin original | |
8251 | ||
8252 | (S inplace) The C<-i> option was passed on the command line, indicating | |
8253 | that the script is intended to edit files in place, but no files were | |
8254 | given. This is usually a mistake, since editing STDIN in place doesn't | |
8255 | make sense, and can be confusing because it can make perl look like | |
8256 | it is hanging when it is really just trying to read from STDIN. You | |
8257 | should either pass a filename to edit, or remove C<-i> from the command | |
8258 | line. See L<perlrun|perlrun/-i[extension]> for more details. | |
8259 | ||
8260 | =end original | |
8261 | ||
8262 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは | |
8263 | スクリプトがファイルをその場で編集することを示していますが、ファイルが | |
8264 | 指定されませんでした。 | |
8265 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
8266 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
8267 | ハングしているように見えることがあるので混乱を引き起こします。 | |
8268 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
8269 | 取り除いてください。 | |
8270 | さらなる詳細については L<perlrun|perlrun/-i[extension]> を参照してください。 | |
8271 | ||
8272 | =item Junk on end of regexp in regex m/%s/ | |
8273 | ||
8274 | =begin original | |
8275 | ||
5654 | 8276 | (P) The regular expression parser is confused. |
5655 | 8277 | |
5656 | 8278 | =end original |
5657 | 8279 | |
5658 | 8280 | (P) 正規表現の構文解析ができなくなりました。 |
5659 | 8281 | |
8282 | =item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/ | |
8283 | ||
8284 | =begin original | |
8285 | ||
8286 | (F) Your regular expression used C<\K> in a lookahead or lookbehind | |
8287 | assertion, which currently isn't permitted. | |
8288 | ||
8289 | =end original | |
8290 | ||
8291 | (F) この正規表現は先読みや後読みの言明の中で C<\K> を使っています; | |
8292 | これは今のところ許されていません。 | |
8293 | ||
8294 | =begin original | |
8295 | ||
8296 | This may change in the future, see L<Support \K in | |
8297 | lookarounds|https://github.com/Perl/perl5/issues/18134>. | |
8298 | ||
8299 | =end original | |
8300 | ||
8301 | これは将来変更されるかもしれません; | |
8302 | L<Support \K in lookarounds|https://github.com/Perl/perl5/issues/18134> を | |
8303 | 参照してください。 | |
8304 | ||
5660 | 8305 | =item Label not found for "last %s" |
5661 | 8306 | |
5662 | 8307 | =begin original |
5663 | 8308 | |
5664 | 8309 | (F) You named a loop to break out of, but you're not currently in a loop |
5665 | 8310 | of that name, not even if you count where you were called from. See |
5666 | 8311 | L<perlfunc/last>. |
5667 | 8312 | |
5668 | 8313 | =end original |
5669 | 8314 | |
5670 | 8315 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
5671 | 8316 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
5672 | 8317 | L<perlfunc/last> を参照してください。 |
5673 | 8318 | |
5674 | 8319 | =item Label not found for "next %s" |
5675 | 8320 | |
5676 | 8321 | =begin original |
5677 | 8322 | |
5678 | 8323 | (F) You named a loop to continue, but you're not currently in a loop of |
5679 | 8324 | that name, not even if you count where you were called from. See |
5680 | 8325 | L<perlfunc/last>. |
5681 | 8326 | |
5682 | 8327 | =end original |
5683 | 8328 | |
5684 | 8329 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に |
5685 | 8330 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
5686 | 8331 | L<perlfunc/last> を参照してください。 |
5687 | 8332 | |
5688 | 8333 | =item Label not found for "redo %s" |
5689 | 8334 | |
5690 | 8335 | =begin original |
5691 | 8336 | |
5692 | 8337 | (F) You named a loop to restart, but you're not currently in a loop of |
5693 | 8338 | that name, not even if you count where you were called from. See |
5694 | 8339 | L<perlfunc/last>. |
5695 | 8340 | |
5696 | 8341 | =end original |
5697 | 8342 | |
5698 | 8343 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に |
5699 | 8344 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
5700 | 8345 | L<perlfunc/last> を参照してください。 |
5701 | 8346 | |
5702 | 8347 | =item leaving effective %s failed |
5703 | 8348 | |
5704 | 8349 | =begin original |
5705 | 8350 | |
5706 | 8351 | (F) While under the C<use filetest> pragma, switching the real and |
5707 | 8352 | effective uids or gids failed. |
5708 | 8353 | |
5709 | 8354 | =end original |
5710 | 8355 | |
5711 | 8356 | (F) C<use filetest> プラグマを使っている間に、 |
5712 | 8357 | 実と実効の UID や GID の切り替えに失敗しました。 |
5713 | 8358 | |
5714 | 8359 | =item length/code after end of string in unpack |
5715 | 8360 | |
5716 | 8361 | =begin original |
5717 | 8362 | |
5718 | 8363 | (F) While unpacking, the string buffer was already used up when an unpack |
5719 | length/code combination tried to obtain more data. This results in | |
8364 | length/code combination tried to obtain more data. This results in | |
5720 | an undefined value for the length. See L<perlfunc/pack>. | |
8365 | an undefined value for the length. See L<perlfunc/pack>. | |
5721 | 8366 | |
5722 | 8367 | =end original |
5723 | 8368 | |
5724 | 8369 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを |
5725 | 8370 | unpack するときに文字列バッファが既に使い切っていました。 |
5726 | 8371 | これにより、長さが未定義値となります。 |
5727 | 8372 | L<perlfunc/pack> を参照してください。 |
5728 | 8373 | |
8374 | =item length() used on %s (did you mean "scalar(%s)"?) | |
8375 | ||
8376 | =begin original | |
8377 | ||
8378 | (W syntax) You used length() on either an array or a hash when you | |
8379 | probably wanted a count of the items. | |
8380 | ||
8381 | =end original | |
8382 | ||
8383 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して | |
8384 | length() を使いました。 | |
8385 | ||
8386 | =begin original | |
8387 | ||
8388 | Array size can be obtained by doing: | |
8389 | ||
8390 | =end original | |
8391 | ||
8392 | 配列の大きさは以下のようにして得られます: | |
8393 | ||
8394 | scalar(@array); | |
8395 | ||
8396 | =begin original | |
8397 | ||
8398 | The number of items in a hash can be obtained by doing: | |
8399 | ||
8400 | =end original | |
8401 | ||
8402 | ハッシュの要素数は以下のようにして得られます: | |
8403 | ||
8404 | scalar(keys %hash); | |
8405 | ||
5729 | 8406 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input |
5730 | 8407 | |
5731 | 8408 | =begin original |
5732 | 8409 | |
5733 | 8410 | (F) An extension is attempting to insert text into the current parse |
5734 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character | |
8411 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that | |
5735 | ||
8412 | couldn't be part of the current input. This is an inherent pitfall | |
5736 | of the stuffing mechanism, and one of the reasons to avoid it. Where | |
8413 | of the stuffing mechanism, and one of the reasons to avoid it. Where | |
5737 | is necessary to stuff, stuffing only plain ASCII is recommended. | |
8414 | it is necessary to stuff, stuffing only plain ASCII is recommended. | |
5738 | 8415 | |
5739 | 8416 | =end original |
5740 | 8417 | |
5741 | 8418 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や |
5742 | 8419 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 |
5743 | 8420 | 現在の入力の一部となることができない文字を挿入しようとしました。 |
5744 | 8421 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 |
5745 | 8422 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 |
5746 | 8423 | |
5747 | 8424 | =item Lexing code internal error (%s) |
5748 | 8425 | |
5749 | 8426 | =begin original |
5750 | 8427 | |
5751 | 8428 | (F) Lexing code supplied by an extension violated the lexer's API in a |
5752 | 8429 | detectable way. |
5753 | 8430 | |
5754 | 8431 | =end original |
5755 | 8432 | |
5756 | 8433 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で |
5757 | 8434 | 文法解析器の API に違反しています。 |
5758 | 8435 | |
5759 | 8436 | =item listen() on closed socket %s |
5760 | 8437 | |
5761 | 8438 | =begin original |
5762 | 8439 | |
5763 | 8440 | (W closed) You tried to do a listen on a closed socket. Did you forget |
5764 | 8441 | to check the return value of your socket() call? See |
5765 | 8442 | L<perlfunc/listen>. |
5766 | 8443 | |
5767 | 8444 | =end original |
5768 | 8445 | |
5769 | 8446 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
5770 | 8447 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
5771 | 8448 | L<perlfunc/listen> を参照してください。 |
5772 | 8449 | |
8450 | =item List form of piped open not implemented | |
8451 | ||
8452 | =begin original | |
8453 | ||
8454 | (F) On some platforms, notably Windows, the three-or-more-arguments | |
8455 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. | |
8456 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. | |
8457 | ||
8458 | =end original | |
8459 | ||
8460 | (F) 一部のプラットフォーム、特に Windows では、 | |
8461 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の | |
8462 | C<open> ではパイプに対応していません。 | |
8463 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 | |
8464 | ||
8465 | =item Literal vertical space in [] is illegal except under /x in regex; | |
8466 | marked by S<<-- HERE> in m/%s/ | |
8467 | ||
8468 | =begin original | |
8469 | ||
8470 | (F) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
8471 | ||
8472 | =end original | |
8473 | ||
8474 | (F) (C<S<use re 'strict'>> の下、または C<(?[...])> の内側のみ) | |
8475 | ||
8476 | =begin original | |
8477 | ||
8478 | Likely you forgot the C</x> modifier or there was a typo in the pattern. | |
8479 | For example, did you really mean to match a form-feed? If so, all the | |
8480 | ASCII vertical space control characters are representable by escape | |
8481 | sequences which won't present such a jarring appearance as your pattern | |
8482 | does when displayed. | |
8483 | ||
8484 | =end original | |
8485 | ||
8486 | おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。 | |
8487 | 例えば、本当に改ページとマッチングしたかったのですか? | |
8488 | もしそうなら、全ての ASCII の垂直スペース制御文字は、 | |
8489 | パターンを表示したときに不愉快な形で表現されることのない、 | |
8490 | エスケープシーケンスによって表現できます。 | |
8491 | ||
8492 | \r carriage return | |
8493 | \f form feed | |
8494 | \n line feed | |
8495 | \cK vertical tab | |
8496 | ||
8497 | =item %s: loadable library and perl binaries are mismatched (got %s handshake key %p, needed %p) | |
8498 | ||
8499 | =begin original | |
8500 | ||
8501 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the | |
8502 | process that was built against a different build of perl than the | |
8503 | said library was compiled against. Reinstalling the XS module will | |
8504 | likely fix this error. | |
8505 | ||
8506 | =end original | |
8507 | ||
8508 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが | |
8509 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 | |
8510 | XS モジュールを再インストールすることでおそらくこのエラーは | |
8511 | 修正されるでしょう。 | |
8512 | ||
8513 | =item Locale '%s' contains (at least) the following characters which | |
8514 | have unexpected meanings: %s The Perl program will use the expected | |
8515 | meanings | |
8516 | ||
8517 | =begin original | |
8518 | ||
8519 | (W locale) You are using the named UTF-8 locale. UTF-8 locales are | |
8520 | expected to have very particular behavior, which most do. This message | |
8521 | arises when perl found some departures from the expectations, and is | |
8522 | notifying you that the expected behavior overrides these differences. | |
8523 | In some cases the differences are caused by the locale definition being | |
8524 | defective, but the most common causes of this warning are when there are | |
8525 | ambiguities and conflicts in following the Standard, and the locale has | |
8526 | chosen an approach that differs from Perl's. | |
8527 | ||
8528 | =end original | |
8529 | ||
8530 | (W locale) 名前付きの UTF-8 ロケールを使っています。 | |
8531 | UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが | |
8532 | 想定されています。 | |
8533 | このメッセージは、perl がこの想定との違いを発見し、その違いを | |
8534 | 想定される振る舞いで上書きしたことを通知するときに発生します。 | |
8535 | 違いはロケール定義に問題があることによる場合もありますが、 | |
8536 | この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、 | |
8537 | ロケールが Perl のものと異なる手法を選んだときです。 | |
8538 | ||
8539 | =begin original | |
8540 | ||
8541 | One of these is because that, contrary to the claims, Unicode is not | |
8542 | completely locale insensitive. Turkish and some related languages | |
8543 | have two types of C<"I"> characters. One is dotted in both upper- and | |
8544 | lowercase, and the other is dotless in both cases. Unicode allows a | |
8545 | locale to use either the Turkish rules, or the rules used in all other | |
8546 | instances, where there is only one type of C<"I">, which is dotless in | |
8547 | the uppercase, and dotted in the lower. The perl core does not (yet) | |
8548 | handle the Turkish case, and this message warns you of that. Instead, | |
8549 | the L<Unicode::Casing> module allows you to mostly implement the Turkish | |
8550 | casing rules. | |
8551 | ||
8552 | =end original | |
8553 | ||
8554 | その一つは、主張に反して、Unicode が完全にロケールに依存しない | |
8555 | 訳ではないからです。 | |
8556 | トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。 | |
8557 | 一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが | |
8558 | ありません。 | |
8559 | Unicode はロケールがトルコ語の規則と、その他全ての場合に | |
8560 | 使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、 | |
8561 | 小文字にはドットがあるもの、のどちらを使うことも許しています。 | |
8562 | perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを | |
8563 | 警告します。 | |
8564 | 代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ | |
8565 | 実装しています。 | |
8566 | ||
8567 | =begin original | |
8568 | ||
8569 | The other common cause is for the characters | |
8570 | ||
8571 | =end original | |
8572 | ||
8573 | その他のよくある原因は次の文字です: | |
8574 | ||
8575 | $ + < = > ^ ` | ~ | |
8576 | ||
8577 | =begin original | |
8578 | ||
8579 | These are problematic. The C standard says that these should be | |
8580 | considered punctuation in the C locale (and the POSIX standard defers to | |
8581 | the C standard), and Unicode is generally considered a superset of | |
8582 | the C locale. But Unicode has added an extra category, "Symbol", and | |
8583 | classifies these particular characters as being symbols. Most UTF-8 | |
8584 | locales have them treated as punctuation, so that L<ispunct(3)> returns | |
8585 | non-zero for them. But a few locales have it return 0. Perl takes | |
8586 | the first approach, not using C<ispunct()> at all (see L<Note [5] in | |
8587 | perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you | |
8588 | are getting Perl's approach, not the locale's. | |
8589 | ||
8590 | =end original | |
8591 | ||
8592 | これらには問題があります。 | |
8593 | C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて | |
8594 | (そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの | |
8595 | 上位集合と考えられています。 | |
8596 | しかし Unicode は、"Symbol" というカテゴリが追加され、 | |
8597 | これはこれらの文字をシンボルとして分類しています。 | |
8598 | ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、 | |
8599 | L<ispunct(3)> はこれらに対して非 0 を返します。 | |
8600 | しかしいくつかのロケールでは 0 を返します。 | |
8601 | Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in | |
8602 | perlrecharclass|perlrecharclass/[5]> 参照)、 | |
8603 | このメッセージはロケールのものではなく Perl の手法をとったことを | |
8604 | 知らせるために発生します。 | |
8605 | ||
8606 | =item Locale '%s' is unsupported, and may crash the interpreter | |
8607 | ||
8608 | =begin original | |
8609 | ||
8610 | (S locale) The named locale is not supported by Perl, and using it leads | |
8611 | to undefined behavior, including potentially crashing the computer. | |
8612 | ||
8613 | =end original | |
8614 | ||
8615 | (S locale) 指定されたロケールは Perl で対応しておらず、これを使うと、 | |
8616 | 潜在的なコンピュータのクラッシュを含む未定義の振る舞いを引き起こします。 | |
8617 | ||
8618 | =begin original | |
8619 | ||
8620 | Currently the only locales that generate this severe warning are | |
8621 | non-UTF-8 ones which have characters that require more than one byte to | |
8622 | represent (common in older East Asian language locales). See | |
8623 | L<perllocale>. | |
8624 | ||
8625 | =end original | |
8626 | ||
8627 | 現在のところ、この重大な警告を出力するロケールは、 | |
8628 | 表現に複数バイトを必要とする文字を持つもの | |
8629 | (古い東アジア言語ロケールでは一般的です)だけです。 | |
8630 | L<perllocale> を参照してください。 | |
8631 | ||
8632 | =item Locale '%s' may not work well.%s | |
8633 | ||
8634 | =begin original | |
8635 | ||
8636 | (W locale) You are using the named locale, which is a non-UTF-8 one, and | |
8637 | which perl has determined is not fully compatible with what it can | |
8638 | handle. The second C<%s> gives a reason. | |
8639 | ||
8640 | =end original | |
8641 | ||
8642 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 | |
8643 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 | |
8644 | 2 番目の C<%s> に理由があります。 | |
8645 | ||
8646 | =begin original | |
8647 | ||
8648 | By far the most common reason is that the locale has characters in it | |
8649 | that are represented by more than one byte. The only such locales that | |
8650 | Perl can handle are the UTF-8 locales. Most likely the specified locale | |
8651 | is a non-UTF-8 one for an East Asian language such as Chinese or | |
8652 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it | |
8653 | may work in Perl. | |
8654 | ||
8655 | =end original | |
8656 | ||
8657 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を | |
8658 | 持っていることです。 | |
8659 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 | |
8660 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の | |
8661 | 非 UTF-8 のものです。 | |
8662 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 | |
8663 | ||
8664 | =begin original | |
8665 | ||
8666 | Some essentially obsolete locales that aren't supersets of ASCII, mainly | |
8667 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have | |
8668 | problems, depending on what portions of the ASCII character set get | |
8669 | changed by the locale and are also used by the program. | |
8670 | The warning message lists the determinable conflicting characters. | |
8671 | ||
8672 | =end original | |
8673 | ||
8674 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような | |
8675 | その他の 7 ビットロケールも問題になり得ます; | |
8676 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで | |
8677 | 使われるかによります。 | |
8678 | 警告メッセージは決定できる衝突している文字を一覧表示します。 | |
8679 | ||
8680 | =begin original | |
8681 | ||
8682 | Note that not all incompatibilities are found. | |
8683 | ||
8684 | =end original | |
8685 | ||
8686 | 全ての非互換性が発見されるわけではないことに注意してください。 | |
8687 | ||
8688 | =begin original | |
8689 | ||
8690 | If this happens to you, there's not much you can do except switch to use a | |
8691 | different locale or use L<Encode> to translate from the locale into | |
8692 | UTF-8; if that's impracticable, you have been warned that some things | |
8693 | may break. | |
8694 | ||
8695 | =end original | |
8696 | ||
8697 | これが起きた場合、異なるロケールを使うように変更するか、 | |
8698 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に | |
8699 | できることはあまりありません; もしそれができないなら、 | |
8700 | あなたは何かが壊れるかもしれないことを警告されました。 | |
8701 | ||
8702 | =begin original | |
8703 | ||
8704 | This message is output once each time a bad locale is switched into | |
8705 | within the scope of C<S<use locale>>, or on the first possibly-affected | |
8706 | operation if the C<S<use locale>> inherits a bad one. It is not raised | |
8707 | for any operations from the L<POSIX> module. | |
8708 | ||
8709 | =end original | |
8710 | ||
8711 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった | |
8712 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は | |
8713 | 最初の影響があるかもしれない操作の時点で出力されます。 | |
8714 | これは L<POSIX> モジュールの操作では発生しません。 | |
8715 | ||
8716 | =item localtime(%f) failed | |
8717 | ||
8718 | =begin original | |
8719 | ||
8720 | (W overflow) You called C<localtime> with a number that it could not handle: | |
8721 | too large, too small, or NaN. The returned value is C<undef>. | |
8722 | ||
8723 | =end original | |
8724 | ||
8725 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり | |
8726 | 小さすぎたり NaN だったりです。 | |
8727 | 返り値は C<undef> です。 | |
8728 | ||
5773 | 8729 | =item localtime(%f) too large |
5774 | 8730 | |
5775 | 8731 | =begin original |
5776 | 8732 | |
5777 | 8733 | (W overflow) You called C<localtime> with a number that was larger |
5778 | 8734 | than it can reliably handle and C<localtime> probably returned the |
5779 | wrong date. This warning is also triggered with | |
8735 | wrong date. This warning is also triggered with NaN (the special | |
5780 | 8736 | not-a-number value). |
5781 | 8737 | |
5782 | 8738 | =end original |
5783 | 8739 | |
5784 | 8740 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので |
5785 | 8741 | C<localtime> はおそらく間違った日付を返します。 |
5786 | この警告は、 | |
8742 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
5787 | 8743 | |
5788 | 8744 | =item localtime(%f) too small |
5789 | 8745 | |
5790 | 8746 | =begin original |
5791 | 8747 | |
5792 | 8748 | (W overflow) You called C<localtime> with a number that was smaller |
5793 | 8749 | than it can reliably handle and C<localtime> probably returned the |
5794 | wrong date. | |
8750 | wrong date. | |
5795 | not-a-number value). | |
5796 | 8751 | |
5797 | 8752 | =end original |
5798 | 8753 | |
5799 | 8754 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので |
5800 | 8755 | C<localtime> はおそらく間違った日付を返します。 |
5801 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
5802 | 8756 | |
5803 | 8757 | =item Lookbehind longer than %d not implemented in regex m/%s/ |
5804 | 8758 | |
5805 | 8759 | =begin original |
5806 | 8760 | |
5807 | 8761 | (F) There is currently a limit on the length of string which lookbehind can |
5808 | handle. This restriction may be eased in a future release. | |
8762 | handle. This restriction may be eased in a future release. | |
5809 | 8763 | |
5810 | 8764 | =end original |
5811 | 8765 | |
5812 | 8766 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 |
5813 | 8767 | この制限は将来のリリースでは緩和されるでしょう。 |
5814 | 8768 | |
5815 | 8769 | =item Lost precision when %s %f by 1 |
5816 | 8770 | |
5817 | 8771 | =begin original |
5818 | 8772 | |
5819 | (W | |
8773 | (W imprecision) You attempted to increment or decrement a value by one, | |
5820 | for the underlying floating point | |
8774 | but the result is too large for the underlying floating point | |
5821 | ||
8775 | representation to store accurately. Hence, the target of C<++> or C<--> | |
5822 | ||
8776 | is increased or decreased by quite different value than one, such as | |
5823 | ||
8777 | zero (I<i.e.> the target is unchanged) or two, due to rounding. | |
5824 | ||
8778 | Perl issues this | |
8779 | warning because it has already switched from integers to floating point | |
8780 | when values are too large for integers, and now even floating point is | |
8781 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. | |
5825 | 8782 | |
5826 | 8783 | =end original |
5827 | 8784 | |
5828 | (W) インクリメントまたはデクリメントしようとし | |
8785 | (W imprecision) 値を 1 だけインクリメントまたはデクリメントしようとしましたが、 | |
5829 | 浮動小数点数表現にとって正確に保管するには大きすぎ | |
8786 | 結果は基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎます。 | |
5830 | C<++> や C<--> のターゲットは | |
8787 | 従って、C<++> や C<--> のターゲットは 1 ではない値増加または減少します; | |
8788 | これは 0 (つまりターゲットは変更されない) であったり、丸めによって 2 で | |
8789 | あったりします。 | |
5831 | 8790 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に |
5832 | 8791 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 |
5833 | 8792 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 |
5834 | 8793 | |
5835 | =item lstat() on filehandle | |
8794 | =item lstat() on filehandle%s | |
5836 | 8795 | |
5837 | 8796 | =begin original |
5838 | 8797 | |
5839 | 8798 | (W io) You tried to do an lstat on a filehandle. What did you mean |
5840 | 8799 | by that? lstat() makes sense only on filenames. (Perl did a fstat() |
5841 | 8800 | instead on the filehandle.) |
5842 | 8801 | |
5843 | 8802 | =end original |
5844 | 8803 | |
5845 | 8804 | (W io) ファイルハンドルに lstat を実行しようとしました。 |
5846 | 8805 | これで何をしようとしたのですか? |
5847 | 8806 | lstat() はファイル名に対してのみ意味があります。 |
5848 | 8807 | (Perl はファイルハンドルには代わりに fstat() を行いました。) |
5849 | 8808 | |
8809 | =item lvalue attribute %s already-defined subroutine | |
8810 | ||
8811 | =begin original | |
8812 | ||
8813 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue | |
8814 | attribute on or off on a Perl subroutine that is already defined | |
8815 | does not always work properly. It may or may not do what you | |
8816 | want, depending on what code is inside the subroutine, with exact | |
8817 | details subject to change between Perl versions. Only do this | |
8818 | if you really know what you are doing. | |
8819 | ||
8820 | =end original | |
8821 | ||
8822 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に | |
8823 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは | |
8824 | 常に適切に動作するわけではありません。 | |
8825 | あなたの望むことが行われるかもしれませんし行われないかもしれません; | |
8826 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は | |
8827 | Perl バージョン間で変更されることがあります。 | |
8828 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 | |
8829 | ||
5850 | 8830 | =item lvalue attribute ignored after the subroutine has been defined |
5851 | 8831 | |
5852 | 8832 | =begin original |
5853 | 8833 | |
5854 | (W misc) | |
8834 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl | |
5855 | ||
8835 | subroutine an lvalue subroutine after it has been defined is | |
5856 | ||
8836 | not permitted. To make the subroutine an lvalue subroutine, | |
5857 | lvalue attribute to the definition, or put the | |
8837 | add the lvalue attribute to the definition, or put the C<sub | |
5858 | the definition. | |
8838 | foo :lvalue;> declaration before the definition. | |
5859 | 8839 | |
5860 | 8840 | =end original |
5861 | 8841 | |
5862 | (W misc) サブルーチン | |
8842 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに | |
5863 | ||
8843 | するために C<:lvalue> 宣言文を使うことはできません。 | |
5864 | 8844 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 |
5865 | 定義する前に宣言 | |
8845 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 | |
5866 | 8846 | |
5867 | = | |
8847 | =begin original | |
5868 | 8848 | |
8849 | See also L<attributes.pm|attributes>. | |
8850 | ||
8851 | =end original | |
8852 | ||
8853 | L<attributes.pm|attributes> も参照してください。 | |
8854 | ||
8855 | =item Magical list constants are not supported | |
8856 | ||
5869 | 8857 | =begin original |
5870 | 8858 | |
5871 | (F) | |
8859 | (F) You assigned a magical array to a stash element, and then tried | |
5872 | ||
8860 | to use the subroutine from the same slot. You are asking Perl to do | |
5873 | ||
8861 | something it cannot do, details subject to change between Perl versions. | |
5874 | 8862 | |
5875 | 8863 | =end original |
5876 | 8864 | |
5877 | (F) | |
8865 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから | |
5878 | ||
8866 | サブルーチンを使おうとしました。 | |
5879 | ||
8867 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを | |
8868 | Perl にさせようとしました。 | |
5880 | 8869 | |
5881 | 8870 | =item Malformed integer in [] in pack |
5882 | 8871 | |
5883 | 8872 | =begin original |
5884 | 8873 | |
5885 | 8874 | (F) Between the brackets enclosing a numeric repeat count only digits |
5886 | 8875 | are permitted. See L<perlfunc/pack>. |
5887 | 8876 | |
5888 | 8877 | =end original |
5889 | 8878 | |
5890 | 8879 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
5891 | 8880 | L<perlfunc/pack> を参照してください。 |
5892 | 8881 | |
5893 | 8882 | =item Malformed integer in [] in unpack |
5894 | 8883 | |
5895 | 8884 | =begin original |
5896 | 8885 | |
5897 | 8886 | (F) Between the brackets enclosing a numeric repeat count only digits |
5898 | 8887 | are permitted. See L<perlfunc/pack>. |
5899 | 8888 | |
5900 | 8889 | =end original |
5901 | 8890 | |
5902 | 8891 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
5903 | 8892 | L<perlfunc/pack> を参照してください。 |
5904 | 8893 | |
5905 | 8894 | =item Malformed PERLLIB_PREFIX |
5906 | 8895 | |
5907 | 8896 | =begin original |
5908 | 8897 | |
5909 | 8898 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
5910 | 8899 | |
5911 | 8900 | =end original |
5912 | 8901 | |
5913 | 8902 | (F) OS/2 固有のエラーです。 |
5914 | 8903 | PERLLIB_PREFIX は以下のような形か: |
5915 | 8904 | |
5916 | 8905 | prefix1;prefix2 |
5917 | 8906 | |
5918 | 8907 | =begin original |
5919 | 8908 | |
5920 | 8909 | or |
5921 | 8910 | prefix1 prefix2 |
5922 | 8911 | |
5923 | 8912 | =end original |
5924 | 8913 | |
5925 | 8914 | または |
5926 | 8915 | prefix1 prefix2 |
5927 | 8916 | |
5928 | 8917 | =begin original |
5929 | 8918 | |
5930 | 8919 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
5931 | 8920 | a builtin library search path, prefix2 is substituted. The error may |
5932 | 8921 | appear if components are not found, or are too long. See |
5933 | 8922 | "PERLLIB_PREFIX" in L<perlos2>. |
5934 | 8923 | |
5935 | 8924 | =end original |
5936 | 8925 | |
5937 | 8926 | prefix1 と prefix2 が空でない形である必要があります。 |
5938 | 8927 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
5939 | 8928 | prefix2 は置き換えられます。 |
5940 | 8929 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
5941 | 8930 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
5942 | 8931 | |
5943 | 8932 | =item Malformed prototype for %s: %s |
5944 | 8933 | |
5945 | 8934 | =begin original |
5946 | 8935 | |
5947 | 8936 | (F) You tried to use a function with a malformed prototype. The |
5948 | 8937 | syntax of function prototypes is given a brief compile-time check for |
5949 | 8938 | obvious errors like invalid characters. A more rigorous check is run |
5950 | 8939 | when the function is called. |
8940 | Perhaps the function's author was trying to write a subroutine signature | |
8941 | but didn't enable that feature first (C<use feature 'signatures'>), | |
8942 | so the signature was instead interpreted as a bad prototype. | |
5951 | 8943 | |
5952 | 8944 | =end original |
5953 | 8945 | |
5954 | 8946 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 |
5955 | 8947 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては |
5956 | 8948 | コンパイル時にチェックされます。 |
5957 | 8949 | より厳密なチェックは、関数が呼び出された時に実行されます。 |
8950 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 | |
8951 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 | |
8952 | シグネチャは間違ったプロトタイプとして解釈されました。 | |
5958 | 8953 | |
5959 | =item Malformed UTF-8 character | |
8954 | =item Malformed UTF-8 character%s | |
5960 | 8955 | |
5961 | 8956 | =begin original |
5962 | 8957 | |
5963 | (S utf8) | |
8958 | (S utf8)(F) Perl detected a string that should be UTF-8, but didn't | |
5964 | encoding rules, e | |
8959 | comply with UTF-8 encoding rules, or represents a code point whose | |
8960 | ordinal integer value doesn't fit into the word size of the current | |
8961 | platform (overflows). Details as to the exact malformation are given in | |
8962 | the variable, C<%s>, part of the message. | |
5965 | 8963 | |
5966 | 8964 | =end original |
5967 | 8965 | |
5968 | (S utf8) | |
8966 | (S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、 | |
5969 | ||
8967 | UTF-8 エンコーディング規則に従わない、 | |
8968 | あるいは序数が現在のプラットフォームのワードサイズに収まらない | |
8969 | (オーバーフローする)符号位置を表現する文字列を検出しました。 | |
8970 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 | |
5970 | 8971 | |
5971 | 8972 | =begin original |
5972 | 8973 | |
5973 | 8974 | One possible cause is that you set the UTF8 flag yourself for data that |
5974 | you thought to be in UTF-8 but it wasn't (it was for example legacy | |
8975 | you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit | |
5975 | ||
8976 | data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
5976 | 8977 | |
5977 | 8978 | =end original |
5978 | 8979 | |
5979 | 8980 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ |
5980 | 8981 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした |
5981 | 8982 | ことです。 |
5982 | これから守るためには、Encode::decode | |
8983 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 | |
5983 | 8984 | |
5984 | 8985 | =begin original |
5985 | 8986 | |
5986 | 8987 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte |
5987 | sequences are handled gracefully, but if you use C<:utf8>, the flag is | |
8988 | sequences are handled gracefully, but if you use C<:utf8>, the flag is set | |
5988 | ||
8989 | without validating the data, possibly resulting in this error message. | |
5989 | message. | |
5990 | 8990 | |
5991 | 8991 | =end original |
5992 | 8992 | |
5993 | 8993 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは |
5994 | 8994 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 |
5995 | 8995 | おそらく結果としてこのエラーメッセージが出力されます。 |
5996 | 8996 | |
5997 | 8997 | =begin original |
5998 | 8998 | |
5999 | 8999 | See also L<Encode/"Handling Malformed Data">. |
6000 | 9000 | |
6001 | 9001 | =end original |
6002 | 9002 | |
6003 | 9003 | L<Encode/"Handling Malformed Data"> も参照してください。 |
6004 | 9004 | |
6005 | =item Malformed UTF-8 returned by \N | |
9005 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
6006 | 9006 | |
6007 | 9007 | =begin original |
6008 | 9008 | |
6009 | 9009 | (F) The charnames handler returned malformed UTF-8. |
6010 | 9010 | |
6011 | 9011 | =end original |
6012 | 9012 | |
6013 | 9013 | (F) charnames ハンドラが不正な UTF-8 を返しました。 |
6014 | 9014 | |
9015 | =item Malformed UTF-8 string in "%s" | |
9016 | ||
9017 | =begin original | |
9018 | ||
9019 | (F) This message indicates a bug either in the Perl core or in XS | |
9020 | code. Such code was trying to find out if a character, allegedly | |
9021 | stored internally encoded as UTF-8, was of a given type, such as | |
9022 | being punctuation or a digit. But the character was not encoded | |
9023 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
9024 | by knowledgeable people to determine what the type being checked | |
9025 | against was. | |
9026 | ||
9027 | =end original | |
9028 | ||
9029 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
9030 | 示しています。 | |
9031 | そのコードは、UTF-8 として内部でエンコードされて | |
9032 | 保管されているということになっているある文字が、 | |
9033 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
9034 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
9035 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
9036 | 決めるために使われる文字列で置き換えられます。 | |
9037 | ||
9038 | =begin original | |
9039 | ||
9040 | Passing malformed strings was deprecated in Perl 5.18, and | |
9041 | became fatal in Perl 5.26. | |
9042 | ||
9043 | =end original | |
9044 | ||
9045 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
9046 | Perl 5.26 で致命的エラーになりました。 | |
9047 | ||
6015 | 9048 | =item Malformed UTF-8 string in '%c' format in unpack |
6016 | 9049 | |
6017 | 9050 | =begin original |
6018 | 9051 | |
6019 | 9052 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
6020 | 9053 | rules and perl was unable to guess how to make more progress. |
6021 | 9054 | |
6022 | 9055 | =end original |
6023 | 9056 | |
6024 | 9057 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
6025 | 9058 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
6026 | 9059 | |
6027 | 9060 | =item Malformed UTF-8 string in pack |
6028 | 9061 | |
6029 | 9062 | =begin original |
6030 | 9063 | |
6031 | 9064 | (F) You tried to pack something that didn't comply with UTF-8 encoding |
6032 | 9065 | rules and perl was unable to guess how to make more progress. |
6033 | 9066 | |
6034 | 9067 | =end original |
6035 | 9068 | |
6036 | 9069 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 |
6037 | 9070 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
6038 | 9071 | |
6039 | 9072 | =item Malformed UTF-8 string in unpack |
6040 | 9073 | |
6041 | 9074 | =begin original |
6042 | 9075 | |
6043 | 9076 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
6044 | 9077 | rules and perl was unable to guess how to make more progress. |
6045 | 9078 | |
6046 | 9079 | =end original |
6047 | 9080 | |
6048 | 9081 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
6049 | 9082 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
6050 | 9083 | |
6051 | 9084 | =item Malformed UTF-16 surrogate |
6052 | 9085 | |
6053 | 9086 | =begin original |
6054 | 9087 | |
6055 | 9088 | (F) Perl thought it was reading UTF-16 encoded character data but while |
6056 | 9089 | doing it Perl met a malformed Unicode surrogate. |
6057 | 9090 | |
6058 | 9091 | =end original |
6059 | 9092 | |
6060 | 9093 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 |
6061 | 9094 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
6062 | 9095 | |
6063 | =item | |
9096 | =item Mandatory parameter follows optional parameter | |
6064 | 9097 | |
6065 | 9098 | =begin original |
6066 | 9099 | |
9100 | (F) In a subroutine signature, you wrote something like "$x = undef, | |
9101 | $y", making an earlier parameter optional and a later one mandatory. | |
9102 | Parameters are filled from left to right, so it's impossible for the | |
9103 | caller to omit an earlier one and pass a later one. If you want to act | |
9104 | as if the parameters are filled from right to left, declare the rightmost | |
9105 | optional and then shuffle the parameters around in the subroutine's body. | |
9106 | ||
9107 | =end original | |
9108 | ||
9109 | (F) サブルーチンシグネチャで、"$x = undef, $y" のような、先の引数が | |
9110 | オプションで後の引数が必須のようなものを書きました。 | |
9111 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに | |
9112 | 渡すことは不可能です。 | |
9113 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を | |
9114 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 | |
9115 | ||
9116 | =item Matched non-Unicode code point 0x%X against Unicode property; may | |
9117 | not be portable | |
9118 | ||
9119 | =begin original | |
9120 | ||
9121 | (S non_unicode) Perl allows strings to contain a superset of | |
9122 | Unicode code points; each code point may be as large as what is storable | |
9123 | in a signed integer on your system, but these may not be accepted by | |
9124 | other languages/systems. This message occurs when you matched a string | |
9125 | containing such a code point against a regular expression pattern, and | |
9126 | the code point was matched against a Unicode property, C<\p{...}> or | |
9127 | C<\P{...}>. Unicode properties are only defined on Unicode code points, | |
9128 | so the result of this match is undefined by Unicode, but Perl (starting | |
9129 | in v5.20) treats non-Unicode code points as if they were typical | |
9130 | unassigned Unicode ones, and matched this one accordingly. Whether a | |
9131 | given property matches these code points or not is specified in | |
9132 | L<perluniprops/Properties accessible through \p{} and \P{}>. | |
9133 | ||
9134 | =end original | |
9135 | ||
9136 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を | |
9137 | 含むことができます; それぞれの符号位置はシステムの符号付き整数に | |
9138 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは | |
9139 | 受け付けられないかも知れません。 | |
9140 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで | |
9141 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と | |
9142 | マッチングしたときに発生します。 | |
9143 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 | |
9144 | Unicode によればこのマッチングの結果は未定義ですが、 | |
9145 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て | |
9146 | Unicode 符号位置として扱い、それぞれマッチングします。 | |
9147 | 指定された特性がこれらの符号位置にマッチングするかどうかは | |
9148 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
9149 | 指定されています。 | |
9150 | ||
9151 | =begin original | |
9152 | ||
9153 | This message is suppressed (unless it has been made fatal) if it is | |
9154 | immaterial to the results of the match if the code point is Unicode or | |
9155 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match | |
9156 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, | |
9157 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match | |
9158 | every code point except these 22.) | |
9159 | ||
9160 | =end original | |
9161 | ||
9162 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない | |
9163 | 場合は、(致命的にしていない限り)抑制されます。 | |
9164 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに | |
9165 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 | |
9166 | マッチングしません。 | |
9167 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に | |
9168 | マッチングします。) | |
9169 | ||
9170 | =begin original | |
9171 | ||
9172 | Getting this message indicates that the outcome of the match arguably | |
9173 | should have been the opposite of what actually happened. If you think | |
9174 | that is the case, you may wish to make the C<non_unicode> warnings | |
9175 | category fatal; if you agree with Perl's decision, you may wish to turn | |
9176 | off this category. | |
9177 | ||
9178 | =end original | |
9179 | ||
9180 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と | |
9181 | 逆になっているはずだということを示しています。 | |
9182 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを | |
9183 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを | |
9184 | オフにした方がよいでしょう。 | |
9185 | ||
9186 | =begin original | |
9187 | ||
9188 | See L<perlunicode/Beyond Unicode code points> for more information. | |
9189 | ||
9190 | =end original | |
9191 | ||
9192 | さらなる情報については L<perlunicode/Beyond Unicode code points> を | |
9193 | 参照してください。 | |
9194 | ||
9195 | =item %s matches null string many times in regex; marked by S<<-- HERE> in | |
9196 | m/%s/ | |
9197 | ||
9198 | =begin original | |
9199 | ||
6067 | 9200 | (W regexp) The pattern you've specified would be an infinite loop if the |
6068 | regular expression engine didn't specifically check for that. The <-- HERE | |
9201 | regular expression engine didn't specifically check for that. The S<<-- HERE> | |
6069 | shows in the regular expression | |
9202 | shows whereabouts in the regular expression the problem was discovered. | |
6070 | 9203 | See L<perlre>. |
6071 | 9204 | |
6072 | 9205 | =end original |
6073 | 9206 | |
6074 | 9207 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
6075 | 9208 | 行なっていなければ、無限ループに陥るものです。 |
6076 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9209 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6077 | 9210 | L<perlre> を参照してください。 |
6078 | 9211 | |
6079 | 9212 | =item Maximal count of pending signals (%u) exceeded |
6080 | 9213 | |
6081 | 9214 | =begin original |
6082 | 9215 | |
6083 | (F) Perl aborted due to too high a number of signals pending. This | |
9216 | (F) Perl aborted due to too high a number of signals pending. This | |
6084 | 9217 | usually indicates that your operating system tried to deliver signals |
6085 | 9218 | too fast (with a very high priority), starving the perl process from |
6086 | 9219 | resources it would need to reach a point where it can process signals |
6087 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
9220 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
6088 | 9221 | |
6089 | 9222 | =end original |
6090 | 9223 | |
6091 | 9224 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 |
6092 | 9225 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 |
6093 | 9226 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な |
6094 | 9227 | リソースが不足したことを示しています。 |
6095 | 9228 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) |
6096 | 9229 | |
6097 | 9230 | =item "%s" may clash with future reserved word |
6098 | 9231 | |
6099 | 9232 | =begin original |
6100 | 9233 | |
6101 | 9234 | (W) This warning may be due to running a perl5 script through a perl4 |
6102 | 9235 | interpreter, especially if the word that is being warned about is |
6103 | 9236 | "use" or "my". |
6104 | 9237 | |
6105 | 9238 | =end original |
6106 | 9239 | |
6107 | 9240 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした |
6108 | 9241 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は |
6109 | 9242 | そうです。 |
6110 | 9243 | |
6111 | =item % may not be used in pack | |
9244 | =item '%' may not be used in pack | |
6112 | 9245 | |
6113 | 9246 | =begin original |
6114 | 9247 | |
6115 | 9248 | (F) You can't pack a string by supplying a checksum, because the |
6116 | 9249 | checksumming process loses information, and you can't go the other way. |
6117 | 9250 | See L<perlfunc/unpack>. |
6118 | 9251 | |
6119 | 9252 | =end original |
6120 | 9253 | |
6121 | 9254 | (F) チェックサムを指定して pack を行なうことはできません; |
6122 | 9255 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
6123 | 9256 | L<perlfunc/unpack> を参照してください。 |
6124 | 9257 | |
6125 | 9258 | =item Method for operation %s not found in package %s during blessing |
6126 | 9259 | |
6127 | 9260 | =begin original |
6128 | 9261 | |
6129 | 9262 | (F) An attempt was made to specify an entry in an overloading table that |
6130 | 9263 | doesn't resolve to a valid subroutine. See L<overload>. |
6131 | 9264 | |
6132 | 9265 | =end original |
6133 | 9266 | |
6134 | 9267 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
6135 | 9268 | エントリを指定しようとしました。 |
6136 | 9269 | L<overload> を参照してください。 |
6137 | 9270 | |
9271 | =item method is experimental | |
9272 | ||
9273 | =begin original | |
9274 | ||
9275 | (S experimental::class) This warning is emitted if you use the C<method> | |
9276 | keyword of C<use feature 'class'>. This keyword is currently | |
9277 | experimental and its behaviour may change in future releases of Perl. | |
9278 | ||
9279 | =end original | |
9280 | ||
9281 | (S experimental::class) この警告は、C<use feature 'class'> の | |
9282 | C<method> キーワードを使うと発生します。 | |
9283 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
9284 | 可能性があります。 | |
9285 | ||
6138 | 9286 | =item Method %s not permitted |
6139 | 9287 | |
6140 | 9288 | =begin original |
6141 | 9289 | |
6142 | See Server error. | |
9290 | See L</500 Server error>. | |
6143 | 9291 | |
6144 | 9292 | =end original |
6145 | 9293 | |
6146 | ||
9294 | L</500 Server error> を参照してください。 | |
6147 | 9295 | |
9296 | =item Method %s redefined | |
9297 | ||
9298 | =begin original | |
9299 | ||
9300 | (W redefine) You redefined a method. To suppress this warning, say | |
9301 | ||
9302 | =end original | |
9303 | ||
9304 | (W redefine) メソッドを再定義しました。 | |
9305 | この警告を抑制するには、次のようにします: | |
9306 | ||
9307 | { | |
9308 | no warnings 'redefine'; | |
9309 | *name = method { ... }; | |
9310 | } | |
9311 | ||
6148 | 9312 | =item Might be a runaway multi-line %s string starting on line %d |
6149 | 9313 | |
6150 | 9314 | =begin original |
6151 | 9315 | |
6152 | 9316 | (S) An advisory indicating that the previous error may have been caused |
6153 | 9317 | by a missing delimiter on a string or pattern, because it eventually |
6154 | 9318 | ended earlier on the current line. |
6155 | 9319 | |
6156 | 9320 | =end original |
6157 | 9321 | |
6158 | 9322 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
6159 | 9323 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
6160 | 9324 | 起ったかもしれないことを、補足的に示しています。 |
6161 | 9325 | |
9326 | =item Mismatched brackets in template | |
9327 | ||
9328 | =begin original | |
9329 | ||
9330 | (F) A pack template could not be parsed because pairs of C<[...]> or | |
9331 | C<(...)> could not be matched up. See L<perlfunc/pack>. | |
9332 | ||
9333 | =end original | |
9334 | ||
9335 | (F) pack テンプレートがパースできません; | |
9336 | C<[...]> や C<(...)> の組が一致していないからです。 | |
9337 | L<perlfunc/pack> を参照してください。 | |
9338 | ||
6162 | 9339 | =item Misplaced _ in number |
6163 | 9340 | |
6164 | 9341 | =begin original |
6165 | 9342 | |
6166 | 9343 | (W syntax) An underscore (underbar) in a numeric constant did not |
6167 | 9344 | separate two digits. |
6168 | 9345 | |
6169 | 9346 | =end original |
6170 | 9347 | |
6171 | 9348 | (W syntax) 数値定数の下線が、二つの値を分離していません。 |
6172 | 9349 | |
9350 | =item Missing argument for %n in %s | |
9351 | ||
9352 | =begin original | |
9353 | ||
9354 | (F) A C<%n> was used in a format string with no corresponding argument for | |
9355 | perl to write the current string length to. | |
9356 | ||
9357 | =end original | |
9358 | ||
9359 | (F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を | |
9360 | 書くための対応する引数がありません。 | |
9361 | ||
6173 | 9362 | =item Missing argument in %s |
6174 | 9363 | |
6175 | 9364 | =begin original |
6176 | 9365 | |
6177 | (W | |
9366 | (W missing) You called a function with fewer arguments than other | |
6178 | supplied. | |
9367 | arguments you supplied indicated would be needed. | |
6179 | 9368 | |
6180 | 9369 | =end original |
6181 | 9370 | |
6182 | (W | |
9371 | (W missing) 他で指定した引数によって必要であると示されているよりも | |
6183 | ||
9372 | 少ない引数で関数を呼び出しました。 | |
6184 | 9373 | |
9374 | =begin original | |
9375 | ||
9376 | Currently only emitted when a printf-type format required more | |
9377 | arguments than were supplied, but might be used in the future for | |
9378 | other cases where we can statically determine that arguments to | |
9379 | functions are missing, e.g. for the L<perlfunc/pack> function. | |
9380 | ||
9381 | =end original | |
9382 | ||
9383 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を | |
9384 | 要求した場合にのみ発生しますが、 | |
9385 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる | |
9386 | その他の場合に使われるかもしれません。 | |
9387 | ||
6185 | 9388 | =item Missing argument to -%c |
6186 | 9389 | |
6187 | 9390 | =begin original |
6188 | 9391 | |
6189 | 9392 | (F) The argument to the indicated command line switch must follow |
6190 | 9393 | immediately after the switch, without intervening spaces. |
6191 | 9394 | |
6192 | 9395 | =end original |
6193 | 9396 | |
6194 | 9397 | (F) 示されたコマンドラインスイッチの引数は、 |
6195 | 9398 | スイッチの直後にスペースを空けないで書く必要があります。 |
6196 | 9399 | |
6197 | 9400 | =item Missing braces on \N{} |
6198 | 9401 | |
9402 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
9403 | ||
6199 | 9404 | =begin original |
6200 | 9405 | |
6201 | 9406 | (F) Wrong syntax of character name literal C<\N{charname}> within |
6202 | 9407 | double-quotish context. This can also happen when there is a space |
6203 | 9408 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. |
6204 | 9409 | This modifier does not change the requirement that the brace immediately |
6205 | 9410 | follow the C<\N>. |
6206 | 9411 | |
6207 | 9412 | =end original |
6208 | 9413 | |
6209 | 9414 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
6210 | 9415 | 文法が間違っています。 |
6211 | 9416 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または |
6212 | 9417 | コメント)がある場合にも起こります。 |
6213 | 9418 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 |
6214 | 9419 | |
6215 | 9420 | =item Missing braces on \o{} |
6216 | 9421 | |
6217 | 9422 | =begin original |
6218 | 9423 | |
6219 | 9424 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. |
6220 | 9425 | |
6221 | 9426 | =end original |
6222 | 9427 | |
6223 | 9428 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が |
6224 | 9429 | 引き続かなければなりません。 |
6225 | 9430 | |
6226 | 9431 | =item Missing comma after first argument to %s function |
6227 | 9432 | |
6228 | 9433 | =begin original |
6229 | 9434 | |
6230 | 9435 | (F) While certain functions allow you to specify a filehandle or an |
6231 | 9436 | "indirect object" before the argument list, this ain't one of them. |
6232 | 9437 | |
6233 | 9438 | =end original |
6234 | 9439 | |
6235 | 9440 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
6236 | 9441 | 「間接オブジェクト」をおくことができますが、この関数は、 |
6237 | 9442 | そういったものではありません。 |
6238 | 9443 | |
9444 | =item Missing comma after first argument to return | |
9445 | ||
9446 | =begin original | |
9447 | ||
9448 | (F) While certain operators allow you to specify a filehandle or an | |
9449 | "indirect object" before the argument list, C<return> isn't one of | |
9450 | them. | |
9451 | ||
9452 | =end original | |
9453 | ||
9454 | (F) 一部の演算子では、引数リストの前にファイルハンドルまたは | |
9455 | 「間接オブジェクト」を指定できますが、C<return> はその一つではありません。 | |
9456 | ||
6239 | 9457 | =item Missing command in piped open |
6240 | 9458 | |
6241 | 9459 | =begin original |
6242 | 9460 | |
6243 | 9461 | (W pipe) You used the C<open(FH, "| command")> or |
6244 | 9462 | C<open(FH, "command |")> construction, but the command was missing or |
6245 | 9463 | blank. |
6246 | 9464 | |
6247 | 9465 | =end original |
6248 | 9466 | |
6249 | 9467 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
6250 | 9468 | 使っていますが、コマンドが指定されていないか空白です。 |
6251 | 9469 | |
6252 | 9470 | =item Missing control char name in \c |
6253 | 9471 | |
6254 | 9472 | =begin original |
6255 | 9473 | |
6256 | 9474 | (F) A double-quoted string ended with "\c", without the required control |
6257 | 9475 | character name. |
6258 | 9476 | |
6259 | 9477 | =end original |
6260 | 9478 | |
6261 | 9479 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が |
6262 | 9480 | 必要です。 |
6263 | 9481 | |
6264 | =item Missing | |
9482 | =item Missing ']' in prototype for %s : %s | |
6265 | 9483 | |
6266 | 9484 | =begin original |
6267 | 9485 | |
6268 | ( | |
9486 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. | |
9487 | ||
9488 | =end original | |
9489 | ||
9490 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で | |
9491 | 閉じられませんでした。 | |
9492 | ||
9493 | =item Missing name in "%s sub" | |
9494 | ||
9495 | =begin original | |
9496 | ||
9497 | (F) The syntax for lexically scoped subroutines requires that | |
6269 | 9498 | they have a name with which they can be found. |
6270 | 9499 | |
6271 | 9500 | =end original |
6272 | 9501 | |
6273 | (F) | |
9502 | (F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。 | |
6274 | 探すことの出来る名前が必要です。 | |
6275 | 9503 | |
6276 | 9504 | =item Missing $ on loop variable |
6277 | 9505 | |
6278 | 9506 | =begin original |
6279 | 9507 | |
6280 | 9508 | (F) Apparently you've been programming in B<csh> too much. Variables |
6281 | 9509 | are always mentioned with the $ in Perl, unlike in the shells, where it |
6282 | 9510 | can vary from one line to the next. |
6283 | 9511 | |
6284 | 9512 | =end original |
6285 | 9513 | |
6286 | 9514 | (F) B<csh> を使いすぎた症状が現れているようです。 |
6287 | 9515 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは |
6288 | 9516 | 違っています。 |
6289 | 9517 | |
6290 | 9518 | =item (Missing operator before %s?) |
6291 | 9519 | |
6292 | 9520 | =begin original |
6293 | 9521 | |
6294 | 9522 | (S syntax) This is an educated guess made in conjunction with the message |
6295 | 9523 | "%s found where operator expected". Often the missing operator is a comma. |
6296 | 9524 | |
6297 | 9525 | =end original |
6298 | 9526 | |
6299 | 9527 | (S syntax) これは "%s found where operator expected" メッセージと共に |
6300 | 9528 | 表示される教育的な推測です。 |
6301 | 9529 | しばしば不足している演算子はカンマです。 |
6302 | 9530 | |
6303 | =item Missing ri | |
9531 | =item Missing or undefined argument to %s | |
6304 | 9532 | |
6305 | 9533 | =begin original |
6306 | 9534 | |
9535 | (F) You tried to call C<require> or C<do> with no argument or with an | |
9536 | undefined value as an argument. Require expects either a package name or | |
9537 | a file-specification as an argument; do expects a filename. See | |
9538 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. | |
9539 | ||
9540 | =end original | |
9541 | ||
9542 | (F) 引数なし、または未定義値を引数として C<require> や C<do> を | |
9543 | 呼び出そうとしました。 | |
9544 | require はパッケージ名またはファイル指定を引数として想定します; | |
9545 | do はファイル名を想定します。 | |
9546 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 | |
9547 | ||
9548 | =item Missing or undefined argument to %s via %{^HOOK}{require__before} | |
9549 | ||
9550 | =begin original | |
9551 | ||
9552 | (F) A C<%{^HOOK}{require__before}> hook rewrote the name of the file being | |
9553 | compiled with C<require> or C<do> with an empty string an undefined value | |
9554 | which is forbidden. See L<perlvar/%{^HOOK}> and L<perlfunc/require EXPR>. | |
9555 | ||
9556 | =end original | |
9557 | ||
9558 | (F) C<%{^HOOK}{require__before}> フックが、 | |
9559 | 空文字列または未定義値で C<require> または C<do> でコンパイルされた | |
9560 | ファイル名を書き換えました; | |
9561 | これは禁止されています。 | |
9562 | L<perlvar/%{^HOOK}> と L<perlfunc/require EXPR> を参照してください。 | |
9563 | ||
9564 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
9565 | ||
9566 | =begin original | |
9567 | ||
6307 | 9568 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. |
6308 | 9569 | |
6309 | 9570 | =end original |
6310 | 9571 | |
6311 | 9572 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが |
6312 | 9573 | 抜けています。 |
6313 | 9574 | |
9575 | =item Missing right brace on \N{} | |
9576 | ||
6314 | 9577 | =item Missing right brace on \N{} or unescaped left brace after \N |
6315 | 9578 | |
6316 | 9579 | =begin original |
6317 | 9580 | |
6318 | 9581 | (F) C<\N> has two meanings. |
6319 | 9582 | |
6320 | 9583 | =end original |
6321 | 9584 | |
6322 | 9585 | (F) C<\N> には二つの意味があります。 |
6323 | 9586 | |
6324 | 9587 | =begin original |
6325 | 9588 | |
6326 | 9589 | The traditional one has it followed by a name enclosed in braces, |
6327 | 9590 | meaning the character (or sequence of characters) given by that |
6328 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
9591 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
6329 | 9592 | double-quoted strings and regular expression patterns. In patterns, |
6330 | 9593 | it doesn't have the meaning an unescaped C<*> does. |
6331 | 9594 | |
6332 | 9595 | =end original |
6333 | 9596 | |
6334 | 9597 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 |
6335 | 9598 | (または文字並び)を意味します。 |
6336 | 9599 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 |
6337 | 9600 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 |
6338 | 9601 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 |
6339 | 9602 | |
6340 | 9603 | =begin original |
6341 | 9604 | |
6342 | 9605 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) |
6343 | 9606 | in patterns, namely to match a non-newline character. (This is short |
6344 | 9607 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) |
6345 | 9608 | |
6346 | 9609 | =end original |
6347 | 9610 | |
6348 | 9611 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; |
6349 | 9612 | 非改行文字にマッチングします。 |
6350 | 9613 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって |
6351 | 9614 | 影響を受けません。) |
6352 | 9615 | |
6353 | 9616 | =begin original |
6354 | 9617 | |
6355 | 9618 | This can lead to some ambiguities. When C<\N> is not followed immediately |
6356 | 9619 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces |
6357 | 9620 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this |
6358 | 9621 | means to match the given quantity of non-newlines (in these examples, |
6359 | 9622 | 3; and 5 or more, respectively). In all other case, where there is a |
6360 | 9623 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. |
6361 | 9624 | |
6362 | 9625 | =end original |
6363 | 9626 | |
6364 | 9627 | これによりいくつかの曖昧さを引き起こします。 |
6365 | 9628 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 |
6366 | 9629 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に |
6367 | 9630 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と |
6368 | 9631 | 5 以上) にマッチングするという意味を仮定します。 |
6369 | 9632 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が |
6370 | 9633 | 求められていると仮定します。 |
6371 | 9634 | |
6372 | 9635 | =begin original |
6373 | 9636 | |
6374 | 9637 | However, if there is no matching C<}>, Perl doesn't know if it was |
6375 | 9638 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. |
6376 | 9639 | If you meant the former, add the right brace; if you meant the latter, |
6377 | 9640 | escape the brace with a backslash, like so: C<\N\{> |
6378 | 9641 | |
6379 | 9642 | =end original |
6380 | 9643 | |
6381 | 9644 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 |
6382 | 9645 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 |
6383 | 9646 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を |
6384 | 9647 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで |
6385 | 9648 | エスケープしてください。 |
6386 | 9649 | |
6387 | 9650 | =item Missing right curly or square bracket |
6388 | 9651 | |
6389 | 9652 | =begin original |
6390 | 9653 | |
6391 | 9654 | (F) The lexer counted more opening curly or square brackets than closing |
6392 | 9655 | ones. As a general rule, you'll find it's missing near the place you |
6393 | 9656 | were last editing. |
6394 | 9657 | |
6395 | 9658 | =end original |
6396 | 9659 | |
6397 | 9660 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも |
6398 | 9661 | 開き中かっこ(大かっこ)を多く発見しました。 |
6399 | 9662 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
6400 | 9663 | |
6401 | 9664 | =item (Missing semicolon on previous line?) |
6402 | 9665 | |
6403 | 9666 | =begin original |
6404 | 9667 | |
6405 | 9668 | (S syntax) This is an educated guess made in conjunction with the message |
6406 | 9669 | "%s found where operator expected". Don't automatically put a semicolon on |
6407 | 9670 | the previous line just because you saw this message. |
6408 | 9671 | |
6409 | 9672 | =end original |
6410 | 9673 | |
6411 | 9674 | (S syntax) これは "%s found where operator expected" メッセージと共に |
6412 | 9675 | 表示される教育的な推測です。 |
6413 | 9676 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは |
6414 | 9677 | しないでください。 |
6415 | 9678 | |
6416 | 9679 | =item Modification of a read-only value attempted |
6417 | 9680 | |
6418 | 9681 | =begin original |
6419 | 9682 | |
6420 | 9683 | (F) You tried, directly or indirectly, to change the value of a |
6421 | 9684 | constant. You didn't, of course, try "2 = 1", because the compiler |
6422 | 9685 | catches that. But an easy way to do the same thing is: |
6423 | 9686 | |
6424 | 9687 | =end original |
6425 | 9688 | |
6426 | 9689 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
6427 | 9690 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
6428 | 9691 | したわけではありません。 |
6429 | 9692 | しかし、同じことは以下のようにしても起こります。 |
6430 | 9693 | |
6431 | 9694 | sub mod { $_[0] = 1 } |
6432 | 9695 | mod(2); |
6433 | 9696 | |
6434 | 9697 | =begin original |
6435 | 9698 | |
6436 | 9699 | Another way is to assign to a substr() that's off the end of the string. |
6437 | 9700 | |
6438 | 9701 | =end original |
6439 | 9702 | |
6440 | 9703 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
6441 | 9704 | |
6442 | 9705 | =begin original |
6443 | 9706 | |
6444 | 9707 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
6445 | 9708 | is aliased to a constant in the look I<LIST>: |
6446 | 9709 | |
6447 | 9710 | =end original |
6448 | 9711 | |
6449 | 9712 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
6450 | 9713 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
6451 | 9714 | |
6452 | | |
9715 | $x = 1; | |
6453 | | |
9716 | foreach my $n ($x, 2) { | |
6454 | | |
9717 | $n *= 2; # modifies the $x, but fails on attempt to | |
6455 | | |
9718 | } # modify the 2 | |
6456 | 9719 | |
9720 | =begin original | |
9721 | ||
9722 | L<PerlIO::scalar> will also produce this message as a warning if you | |
9723 | attempt to open a read-only scalar for writing. | |
9724 | ||
9725 | =end original | |
9726 | ||
9727 | L<PerlIO::scalar> も、読み込み専用スカラを書き込みように開こうとしたときに、 | |
9728 | このメッセージを警告として出力します。 | |
9729 | ||
6457 | 9730 | =item Modification of non-creatable array value attempted, %s |
6458 | 9731 | |
6459 | 9732 | =begin original |
6460 | 9733 | |
6461 | 9734 | (F) You tried to make an array value spring into existence, and the |
6462 | 9735 | subscript was probably negative, even counting from end of the array |
6463 | 9736 | backwards. |
6464 | 9737 | |
6465 | 9738 | =end original |
6466 | 9739 | |
6467 | 9740 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の |
6468 | 9741 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 |
6469 | 9742 | |
6470 | 9743 | =item Modification of non-creatable hash value attempted, %s |
6471 | 9744 | |
6472 | 9745 | =begin original |
6473 | 9746 | |
6474 | 9747 | (P) You tried to make a hash value spring into existence, and it |
6475 | 9748 | couldn't be created for some peculiar reason. |
6476 | 9749 | |
6477 | 9750 | =end original |
6478 | 9751 | |
6479 | 9752 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
6480 | 9753 | できませんでした。 |
6481 | 9754 | |
6482 | 9755 | =item Module name must be constant |
6483 | 9756 | |
6484 | 9757 | =begin original |
6485 | 9758 | |
6486 | 9759 | (F) Only a bare module name is allowed as the first argument to a "use". |
6487 | 9760 | |
6488 | 9761 | =end original |
6489 | 9762 | |
6490 | 9763 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
6491 | 9764 | 裸の単語だけです。 |
6492 | 9765 | |
6493 | 9766 | =item Module name required with -%c option |
6494 | 9767 | |
6495 | 9768 | =begin original |
6496 | 9769 | |
6497 | 9770 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
6498 | you omitted the name of the module. Consult | |
9771 | you omitted the name of the module. Consult | |
6499 | about C<-M> and C<-m>. | |
9772 | L<perlrun|perlrun/-m[-]module> for full details about C<-M> and C<-m>. | |
6500 | 9773 | |
6501 | 9774 | =end original |
6502 | 9775 | |
6503 | 9776 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
6504 | 9777 | 指示しますが、モジュール名がありませんでした。 |
6505 | C<-M> と C<-m> に関する完全な詳細については | |
9778 | C<-M> と C<-m> に関する完全な詳細については | |
9779 | L<perlrun|perlrun/-m[-]module> を参照してください。 | |
6506 | 9780 | |
6507 | 9781 | =item More than one argument to '%s' open |
6508 | 9782 | |
6509 | 9783 | =begin original |
6510 | 9784 | |
6511 | (F) The C<open> function has been asked to open multiple files. This | |
9785 | (F) The C<open> function has been asked to open multiple files. This | |
6512 | 9786 | can happen if you are trying to open a pipe to a command that takes a |
6513 | 9787 | list of arguments, but have forgotten to specify a piped open mode. |
6514 | 9788 | See L<perlfunc/open> for details. |
6515 | 9789 | |
6516 | 9790 | =end original |
6517 | 9791 | |
6518 | 9792 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 |
6519 | 9793 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ |
6520 | 9794 | オープンモードを指定するのを忘れた時に起きます。 |
6521 | 9795 | 詳細は L<perlfunc/open> を参照してください。 |
6522 | 9796 | |
9797 | =item mprotect for COW string %p %u failed with %d | |
9798 | ||
9799 | =begin original | |
9800 | ||
9801 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9802 | L<perlguts/"Copy on Write">), but a shared string buffer | |
9803 | could not be made read-only. | |
9804 | ||
9805 | =end original | |
9806 | ||
9807 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9808 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 | |
9809 | ||
9810 | =item mprotect for %p %u failed with %d | |
9811 | ||
9812 | =begin original | |
9813 | ||
9814 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), | |
9815 | but an op tree could not be made read-only. | |
9816 | ||
9817 | =end original | |
9818 | ||
9819 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9820 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 | |
9821 | ||
9822 | =item mprotect RW for COW string %p %u failed with %d | |
9823 | ||
9824 | =begin original | |
9825 | ||
9826 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9827 | L<perlguts/"Copy on Write">), but a read-only shared string | |
9828 | buffer could not be made mutable. | |
9829 | ||
9830 | =end original | |
9831 | ||
9832 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9833 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に | |
9834 | できませんでした。 | |
9835 | ||
9836 | =item mprotect RW for %p %u failed with %d | |
9837 | ||
9838 | =begin original | |
9839 | ||
9840 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see | |
9841 | L<perlhacktips>), but a read-only op tree could not be made | |
9842 | mutable before freeing the ops. | |
9843 | ||
9844 | =end original | |
9845 | ||
9846 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9847 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に | |
9848 | ミュータブルにできませんでした。 | |
9849 | ||
6523 | 9850 | =item msg%s not implemented |
6524 | 9851 | |
6525 | 9852 | =begin original |
6526 | 9853 | |
6527 | 9854 | (F) You don't have System V message IPC on your system. |
6528 | 9855 | |
6529 | 9856 | =end original |
6530 | 9857 | |
6531 | 9858 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
6532 | 9859 | |
9860 | =item Multidimensional hash lookup is disabled | |
9861 | ||
9862 | =begin original | |
9863 | ||
9864 | (F) You supplied a list of subscripts to a hash lookup under | |
9865 | C<< no feature "multidimensional"; >>, eg: | |
9866 | ||
9867 | =end original | |
9868 | ||
9869 | (F) You supplied a list of subscripts to a hash lookup under | |
9870 | C<< no feature "multidimensional"; >> の下でハッシュ検索のために | |
9871 | 添え字のリストを指定しました; 例えば: | |
9872 | ||
9873 | $z = $foo{$x, $y}; | |
9874 | ||
9875 | =begin original | |
9876 | ||
9877 | which by default acts like: | |
9878 | ||
9879 | =end original | |
9880 | ||
9881 | これはデフォルトでは次のように振る舞います: | |
9882 | ||
9883 | $z = $foo{join($;, $x, $y)}; | |
9884 | ||
6533 | 9885 | =item Multidimensional syntax %s not supported |
6534 | 9886 | |
6535 | 9887 | =begin original |
6536 | 9888 | |
6537 | 9889 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
6538 | 9890 | They're written like C<$foo[1][2][3]>, as in C. |
6539 | 9891 | |
6540 | 9892 | =end original |
6541 | 9893 | |
6542 | 9894 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
6543 | 9895 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
6544 | 9896 | |
9897 | =item Multiple slurpy parameters not allowed | |
9898 | ||
9899 | =begin original | |
9900 | ||
9901 | (F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be | |
9902 | the last parameter, and there must not be more than one of them; for | |
9903 | example: | |
9904 | ||
9905 | =end original | |
9906 | ||
9907 | (F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は | |
9908 | 最後のパラメータでなければならず、複数あってはなりません; 例えば: | |
9909 | ||
9910 | sub foo ($x, @y) {} # legal | |
9911 | sub foo ($x, @y, %) {} # invalid | |
9912 | ||
6545 | 9913 | =item '/' must follow a numeric type in unpack |
6546 | 9914 | |
6547 | 9915 | =begin original |
6548 | 9916 | |
6549 | 9917 | (F) You had an unpack template that contained a '/', but this did not |
6550 | 9918 | follow some unpack specification producing a numeric value. |
6551 | 9919 | See L<perlfunc/pack>. |
6552 | 9920 | |
6553 | 9921 | =end original |
6554 | 9922 | |
6555 | 9923 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの |
6556 | 9924 | 数値を生成する unpack 指定に引き続いていません。 |
6557 | 9925 | L<perlfunc/pack> を参照してください。 |
6558 | 9926 | |
9927 | =item %s must not be a named sequence in transliteration operator | |
9928 | ||
9929 | =begin original | |
9930 | ||
9931 | (F) Transliteration (C<tr///> and C<y///>) transliterates individual | |
9932 | characters. But a named sequence by definition is more than an | |
9933 | individual character, and hence doing this operation on it doesn't make | |
9934 | sense. | |
9935 | ||
9936 | =end original | |
9937 | ||
9938 | (F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。 | |
9939 | しかし、定義による名前付き並びは個々の文字以上のものがあるので、 | |
9940 | それに対してこの操作をするのは意味がありません。 | |
9941 | ||
6559 | 9942 | =item "my sub" not yet implemented |
6560 | 9943 | |
6561 | 9944 | =begin original |
6562 | 9945 | |
6563 | 9946 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
6564 | 9947 | that yet. |
6565 | 9948 | |
6566 | 9949 | =end original |
6567 | 9950 | |
6568 | 9951 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
6569 | 9952 | まだ試さないでください。 |
6570 | 9953 | |
6571 | =item "my" | |
9954 | =item "my" subroutine %s can't be in a package | |
6572 | 9955 | |
6573 | 9956 | =begin original |
6574 | 9957 | |
6575 | (F) Lexically scoped | |
9958 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
6576 | sense to try to declare one with a package qualifier on the front. | |
9959 | sense to try to declare one with a package qualifier on the front. | |
6577 | local() if you want to localize a package variable. | |
6578 | 9960 | |
6579 | 9961 | =end original |
6580 | 9962 | |
6581 | (F) | |
9963 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
6582 | 9964 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
6583 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
6584 | 9965 | |
6585 | =item | |
9966 | =item "my %s" used in sort comparison | |
6586 | 9967 | |
6587 | 9968 | =begin original |
6588 | 9969 | |
6589 | (W | |
9970 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
6590 | ||
9971 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
6591 | ||
9972 | sort comparison block, and the variable had earlier been declared as a | |
6592 | ||
9973 | lexical variable. Either qualify the sort variable with the package | |
9974 | name, or rename the lexical variable. | |
6593 | 9975 | |
6594 | 9976 | =end original |
6595 | 9977 | |
6596 | (W | |
9978 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
6597 | ||
9979 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
6598 | この | |
9980 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
6599 | ||
9981 | 宣言されています。 | |
9982 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
6600 | 9983 | |
6601 | = | |
9984 | =item "my" variable %s can't be in a package | |
6602 | 9985 | |
6603 | NOTE: This warning detects symbols that have been used only once so $c, @c, | |
6604 | %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered | |
6605 | the same; if a program uses $c only once but also uses any of the others it | |
6606 | will not trigger this warning. | |
6607 | ||
6608 | =end original | |
6609 | ||
6610 | 注意: この警告はシンボルが一度だけしか使われていないことを検出するので、 | |
6611 | $c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は | |
6612 | 全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても | |
6613 | その他のものが使われている場合、警告は発生しません。 | |
6614 | ||
6615 | =item \N in a character class must be a named character: \N{...} | |
6616 | ||
6617 | 9986 | =begin original |
6618 | 9987 | |
6619 | (F) | |
9988 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
6620 | ||
9989 | sense to try to declare one with a package qualifier on the front. Use | |
6621 | ||
9990 | local() if you want to localize a package variable. | |
6622 | what you want. | |
6623 | 9991 | |
6624 | 9992 | =end original |
6625 | 9993 | |
6626 | (F) | |
9994 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
6627 | ||
9995 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
6628 | ||
9996 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
6629 | ないでしょう。 | |
6630 | 9997 | |
6631 | =item | |
9998 | =item Name "%s::%s" used only once: possible typo | |
6632 | 9999 | |
6633 | 10000 | =begin original |
6634 | 10001 | |
6635 | ( | |
10002 | (W once) Typographical errors often show up as unique variable | |
6636 | ||
10003 | names. If you had a good reason for having a unique name, then | |
6637 | ||
10004 | just mention it again somehow to suppress the message. The C<our> | |
6638 | ||
10005 | declaration is also provided for this purpose. | |
6639 | 10006 | |
6640 | 10007 | =end original |
6641 | 10008 | |
6642 | ( | |
10009 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 | |
6643 | ||
10010 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで | |
6644 | こ | |
10011 | このメッセージを抑制できます。 | |
6645 | ||
10012 | C<our> 宣言もこの目的のために提供されています。 | |
6646 | 起こります: | |
6647 | 10013 | |
6648 | $re = '\N{SPACE}'; # Wrong! | |
6649 | $re = "\\N{SPACE}"; # Wrong! | |
6650 | /$re/; | |
6651 | ||
6652 | 10014 | =begin original |
6653 | 10015 | |
6654 | ||
10016 | NOTE: This warning detects package symbols that have been used | |
10017 | only once. This means lexical variables will never trigger this | |
10018 | warning. It also means that all of the package variables $c, @c, | |
10019 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or | |
10020 | format) are considered the same; if a program uses $c only once | |
10021 | but also uses any of the others it will not trigger this warning. | |
10022 | Symbols beginning with an underscore and symbols using special | |
10023 | identifiers (q.v. L<perldata>) are exempt from this warning. | |
6655 | 10024 | |
6656 | 10025 | =end original |
6657 | 10026 | |
6658 | ||
10027 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 | |
10028 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 | |
10029 | また、パッケージ変数 $c, @c, %c および | |
10030 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は | |
10031 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも | |
10032 | その他のものも使っている場合、この警告は引き起こされません。 | |
10033 | 下線で始まるシンボルと特殊識別子 | |
10034 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 | |
6659 | 10035 | |
6660 | | |
10036 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ | |
6661 | /$re/; | |
6662 | 10037 | |
6663 | 10038 | =begin original |
6664 | 10039 | |
6665 | ||
10040 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
6666 | co | |
10041 | exactly 3 digits long. This helps catch some ambiguities. If your | |
10042 | constant is too short, add leading zeros, like | |
6667 | 10043 | |
6668 | 10044 | =end original |
6669 | 10045 | |
6670 | ||
10046 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
10047 | 必要があります。 | |
10048 | これはある種の曖昧さを捕まえる助けになります。 | |
10049 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
6671 | 10050 | |
6672 | | |
10051 | (?[ [ \078 ] ]) # Syntax error! | |
6673 | | |
10052 | (?[ [ \0078 ] ]) # Works | |
10053 | (?[ [ \007 8 ] ]) # Clearer | |
6674 | 10054 | |
6675 | 10055 | =begin original |
6676 | 10056 | |
6677 | ||
10057 | The maximum number this construct can express is C<\777>. If you | |
6678 | doe | |
10058 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant | |
10059 | two separate things, you need to separate them: | |
6679 | 10060 | |
6680 | 10061 | =end original |
6681 | 10062 | |
6682 | この | |
10063 | この構文が表現できる最大数は C<\777> です。 | |
6683 | 代わりに | |
10064 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
10065 | 使う必要があります。 | |
10066 | 二つの別々のものを意味しているなら、分ける必要があります: | |
6684 | 10067 | |
6685 | ||
10068 | (?[ [ \7776 ] ]) # Syntax error! | |
10069 | (?[ [ \o{7776} ] ]) # One meaning | |
10070 | (?[ [ \777 6 ] ]) # Another meaning | |
10071 | (?[ [ \777 \006 ] ]) # Still another | |
6686 | 10072 | |
6687 | Finally, the message also can happen under the C</x> regex modifier when the | |
6688 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. | |
6689 | ||
6690 | =end original | |
6691 | ||
6692 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と | |
6693 | 空白で区切られているときにもでます; この場合、空白を削除します。 | |
6694 | ||
6695 | /\N {SPACE}/x; # Wrong! | |
6696 | /\N{SPACE}/x; # ok | |
6697 | ||
6698 | 10073 | =item Negative '/' count in unpack |
6699 | 10074 | |
6700 | 10075 | =begin original |
6701 | 10076 | |
6702 | 10077 | (F) The length count obtained from a length/code unpack operation was |
6703 | 10078 | negative. See L<perlfunc/pack>. |
6704 | 10079 | |
6705 | 10080 | =end original |
6706 | 10081 | |
6707 | 10082 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 |
6708 | 10083 | L<perlfunc/pack> を参照してください。 |
6709 | 10084 | |
6710 | 10085 | =item Negative length |
6711 | 10086 | |
6712 | 10087 | =begin original |
6713 | 10088 | |
6714 | 10089 | (F) You tried to do a read/write/send/recv operation with a buffer |
6715 | 10090 | length that is less than 0. This is difficult to imagine. |
6716 | 10091 | |
6717 | 10092 | =end original |
6718 | 10093 | |
6719 | 10094 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
6720 | 10095 | 行なおうとしました。 |
6721 | 10096 | これは想像しにくいことです。 |
6722 | 10097 | |
6723 | 10098 | =item Negative offset to vec in lvalue context |
6724 | 10099 | |
6725 | 10100 | =begin original |
6726 | 10101 | |
6727 | 10102 | (F) When C<vec> is called in an lvalue context, the second argument must be |
6728 | 10103 | greater than or equal to zero. |
6729 | 10104 | |
6730 | 10105 | =end original |
6731 | 10106 | |
6732 | 10107 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 |
6733 | 10108 | 二つ目の引数は 0 以上でなければなりません。 |
6734 | 10109 | |
6735 | =item Ne | |
10110 | =item Negative repeat count does nothing | |
6736 | 10111 | |
6737 | 10112 | =begin original |
6738 | 10113 | |
6739 | ( | |
10114 | (W numeric) You tried to execute the | |
6740 | t | |
10115 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 | |
6741 | e | |
10116 | times, which doesn't make sense. | |
6742 | 10117 | |
6743 | 10118 | =end original |
6744 | 10119 | |
10120 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
10121 | 0 より小さい回数実行しようとしました; これは無意味です。 | |
10122 | ||
10123 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ | |
10124 | ||
10125 | =begin original | |
10126 | ||
10127 | (F) You can't quantify a quantifier without intervening parentheses. | |
10128 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows | |
10129 | whereabouts in the regular expression the problem was discovered. | |
10130 | ||
10131 | =end original | |
10132 | ||
6745 | 10133 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 |
6746 | 10134 | つまり、** や +* や ?* といったものは、正しくありません。 |
6747 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
10135 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6748 | 10136 | |
6749 | 10137 | =begin original |
6750 | 10138 | |
6751 | 10139 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and |
6752 | 10140 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
6753 | 10141 | |
6754 | 10142 | =end original |
6755 | 10143 | |
6756 | 10144 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように |
6757 | 10145 | 見えますが、そうではありません。 |
6758 | 10146 | L<perlre> を参照してください。 |
6759 | 10147 | |
6760 | 10148 | =item %s never introduced |
6761 | 10149 | |
6762 | 10150 | =begin original |
6763 | 10151 | |
6764 | 10152 | (S internal) The symbol in question was declared but somehow went out of |
6765 | 10153 | scope before it could possibly have been used. |
6766 | 10154 | |
6767 | 10155 | =end original |
6768 | 10156 | |
6769 | 10157 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
6770 | 10158 | 外れてしまいました。 |
6771 | 10159 | |
6772 | 10160 | =item next::method/next::can/maybe::next::method cannot find enclosing method |
6773 | 10161 | |
6774 | 10162 | =begin original |
6775 | 10163 | |
6776 | 10164 | (F) C<next::method> needs to be called within the context of a |
6777 | 10165 | real method in a real package, and it could not find such a context. |
6778 | 10166 | See L<mro>. |
6779 | 10167 | |
6780 | 10168 | =end original |
6781 | 10169 | |
6782 | 10170 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる |
6783 | 10171 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 |
6784 | 10172 | L<mro> を参照してください。 |
6785 | 10173 | |
10174 | =item \N in a character class must be a named character: \N{...} in regex; | |
10175 | marked by S<<-- HERE> in m/%s/ | |
10176 | ||
10177 | =begin original | |
10178 | ||
10179 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a | |
10180 | bracketed character class, for the same reason that C<.> in a character | |
10181 | class loses its specialness: it matches almost everything, which is | |
10182 | probably not what you want. | |
10183 | ||
10184 | =end original | |
10185 | ||
10186 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは | |
10187 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
10188 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
10189 | ないでしょう。 | |
10190 | ||
10191 | =item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
10192 | ||
10193 | =begin original | |
10194 | ||
10195 | (F) Named Unicode character escapes (C<\N{...}>) may return a | |
10196 | multi-character sequence. Even though a character class is | |
10197 | supposed to match just one character of input, perl will match the | |
10198 | whole thing correctly, except under certain conditions. These currently | |
10199 | are | |
10200 | ||
10201 | =end original | |
10202 | ||
10203 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを | |
10204 | 返すことがあります。 | |
10205 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
10206 | perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。 | |
10207 | それは今のところ: | |
10208 | ||
10209 | =over 4 | |
10210 | ||
10211 | =item When the class is inverted (C<[^...]>) | |
10212 | ||
10213 | (クラスが反転された場合 (C<[^...]>)) | |
10214 | ||
10215 | =begin original | |
10216 | ||
10217 | The mathematically logical behavior for what matches when inverting | |
10218 | is very different from what people expect, so we have decided to | |
10219 | forbid it. | |
10220 | ||
10221 | =end original | |
10222 | ||
10223 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
10224 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
10225 | ||
10226 | =item The escape is the beginning or final end point of a range | |
10227 | ||
10228 | (エスケープが範囲の始点か終点の場合) | |
10229 | ||
10230 | =begin original | |
10231 | ||
10232 | Similarly unclear is what should be generated when the | |
10233 | C<\N{...}> is used as one of the end points of the range, such as in | |
10234 | ||
10235 | =end original | |
10236 | ||
10237 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
10238 | 使われたときに何が生成されるべきかということです: | |
10239 | ||
10240 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
10241 | ||
10242 | =begin original | |
10243 | ||
10244 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
10245 | of code points, so this is made an error. | |
10246 | ||
10247 | =end original | |
10248 | ||
10249 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
10250 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
10251 | ||
10252 | =item In a regex set | |
10253 | ||
10254 | (正規表現集合の中の場合) | |
10255 | ||
10256 | =begin original | |
10257 | ||
10258 | The syntax S<C<(?[ ])>> in a regular expression yields a list of | |
10259 | single code points, none can be a sequence. | |
10260 | ||
10261 | =end original | |
10262 | ||
10263 | 正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、 | |
10264 | 並びにはなりません。 | |
10265 | ||
10266 | =back | |
10267 | ||
6786 | 10268 | =item No %s allowed while running setuid |
6787 | 10269 | |
6788 | 10270 | =begin original |
6789 | 10271 | |
6790 | 10272 | (F) Certain operations are deemed to be too insecure for a setuid or |
6791 | 10273 | setgid script to even be allowed to attempt. Generally speaking there |
6792 | 10274 | will be another way to do what you want that is, if not secure, at least |
6793 | 10275 | securable. See L<perlsec>. |
6794 | 10276 | |
6795 | 10277 | =end original |
6796 | 10278 | |
6797 | 10279 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
6798 | 10280 | やってみることはできても、とても安全なものとは考えられないものです。 |
6799 | 10281 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
6800 | 10282 | L<perlsec> を参照してください。 |
6801 | 10283 | |
10284 | =item No code specified for -%c | |
10285 | ||
10286 | =begin original | |
10287 | ||
10288 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If | |
10289 | you want to run an empty program, pass the empty string as a separate | |
10290 | argument or run a program consisting of a single 0 or 1: | |
10291 | ||
10292 | =end original | |
10293 | ||
10294 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 | |
10295 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の | |
10296 | 0 または 1 からなるプログラムを実行してください: | |
10297 | ||
10298 | perl -e "" | |
10299 | perl -e0 | |
10300 | perl -e1 | |
10301 | ||
6802 | 10302 | =item No comma allowed after %s |
6803 | 10303 | |
6804 | 10304 | =begin original |
6805 | 10305 | |
6806 | (F) A list operator that has a filehandle or "indirect object" is | |
10306 | (F) A list operator that has a filehandle or "indirect object" is | |
6807 | allowed to have a comma between that and the following arguments. | |
10307 | not allowed to have a comma between that and the following arguments. | |
6808 | 10308 | Otherwise it'd be just another one of the arguments. |
6809 | 10309 | |
6810 | 10310 | =end original |
6811 | 10311 | |
6812 | 10312 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
6813 | 10313 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
6814 | 10314 | そのようにした場合には、引数の一つとなってしまいます。 |
6815 | 10315 | |
6816 | 10316 | =begin original |
6817 | 10317 | |
6818 | One possible cause for this is that you expected to have imported | |
10318 | One possible cause for this is that you expected to have imported | |
6819 | constant to your name space with B<use> or B<import> while no such | |
10319 | a constant to your name space with B<use> or B<import> while no such | |
6820 | importing took place, it may for example be that your operating | |
10320 | importing took place, it may for example be that your operating | |
6821 | does not support that particular constant. Hopefully you did | |
10321 | system does not support that particular constant. Hopefully you did | |
6822 | explicit import list for the constants you expect to see; | |
10322 | use an explicit import list for the constants you expect to see; | |
6823 | L<perlfunc/use> and L<perlfunc/import>. While an | |
10323 | please see L<perlfunc/use> and L<perlfunc/import>. While an | |
6824 | would probably have caught this error earlier | |
10324 | explicit import list would probably have caught this error earlier | |
6825 | remedy the fact that your operating system | |
10325 | it naturally does not remedy the fact that your operating system | |
6826 | constant. Maybe you have a typo in | |
10326 | still does not support that constant. Maybe you have a typo in | |
6827 | list of B<use> or B<import> or in th | |
10327 | the constants of the symbol import list of B<use> or B<import> or in the | |
6828 | this error was triggered? | |
10328 | constant name at the line where this error was triggered? | |
6829 | 10329 | |
6830 | 10330 | =end original |
6831 | 10331 | |
6832 | 10332 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
6833 | 10333 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
6834 | 10334 | 場合です; |
6835 | 10335 | 例えば OS が特定の定数に対応していない場合などです。 |
6836 | 10336 | できればインポートしたい定数のリストを明示的に使ってください; |
6837 | 10337 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
6838 | 10338 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
6839 | 10339 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
6840 | 10340 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
6841 | 10341 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
6842 | 10342 | |
6843 | 10343 | =item No command into which to pipe on command line |
6844 | 10344 | |
6845 | 10345 | =begin original |
6846 | 10346 | |
6847 | 10347 | (F) An error peculiar to VMS. Perl handles its own command line |
6848 | 10348 | redirection, and found a '|' at the end of the command line, so it |
6849 | 10349 | doesn't know where you want to pipe the output from this command. |
6850 | 10350 | |
6851 | 10351 | =end original |
6852 | 10352 | |
6853 | 10353 | (F) VMS に固有のエラーです。 |
6854 | 10354 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
6855 | 10355 | コマンドラインの最後にに '|' を発見しましたが、 |
6856 | 10356 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
6857 | 10357 | |
6858 | 10358 | =item No DB::DB routine defined |
6859 | 10359 | |
6860 | 10360 | =begin original |
6861 | 10361 | |
6862 | 10362 | (F) The currently executing code was compiled with the B<-d> switch, but |
6863 | 10363 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
6864 | 10364 | module) didn't define a routine to be called at the beginning of each |
6865 | 10365 | statement. |
6866 | 10366 | |
6867 | 10367 | =end original |
6868 | 10368 | |
6869 | 10369 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
6870 | 10370 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) |
6871 | 10371 | が各実行文の頭で呼び出すルーティンを定義していません。 |
6872 | 10372 | |
6873 | 10373 | =item No dbm on this machine |
6874 | 10374 | |
6875 | 10375 | =begin original |
6876 | 10376 | |
6877 | 10377 | (P) This is counted as an internal error, because every machine should |
6878 | 10378 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
6879 | 10379 | |
6880 | 10380 | =end original |
6881 | 10381 | |
6882 | 10382 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 |
6883 | 10383 | どのマシンでも dbm が使えるはずだからです。 |
6884 | 10384 | L<SDBM_File> を参照してください。 |
6885 | 10385 | |
6886 | 10386 | =item No DB::sub routine defined |
6887 | 10387 | |
6888 | 10388 | =begin original |
6889 | 10389 | |
6890 | 10390 | (F) The currently executing code was compiled with the B<-d> switch, but |
6891 | 10391 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
6892 | 10392 | module) didn't define a C<DB::sub> routine to be called at the beginning |
6893 | 10393 | of each ordinary subroutine call. |
6894 | 10394 | |
6895 | 10395 | =end original |
6896 | 10396 | |
6897 | 10397 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
6898 | 10398 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が |
6899 | 10399 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを |
6900 | 10400 | 定義していませんでした。 |
6901 | 10401 | |
10402 | =item No digits found for %s literal | |
10403 | ||
10404 | =begin original | |
10405 | ||
10406 | (F) No hexadecimal digits were found following C<0x> or no binary digits | |
10407 | were found following C<0b>. | |
10408 | ||
10409 | =end original | |
10410 | ||
10411 | (F) C<0x> に 16 進数が引き続かなかったり C<0b> に 2 進数が | |
10412 | 引き続かなかったりしました。 | |
10413 | ||
10414 | =item No directory specified for -I | |
10415 | ||
10416 | =begin original | |
10417 | ||
10418 | (F) The B<-I> command-line switch requires a directory name as part of the | |
10419 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. | |
10420 | ||
10421 | =end original | |
10422 | ||
10423 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が | |
10424 | 必要です。 | |
10425 | 例えば、B<-Ilib> としてください。 | |
10426 | B<-I lib> は動作しません。 | |
10427 | ||
6902 | 10428 | =item No error file after 2> or 2>> on command line |
6903 | 10429 | |
6904 | 10430 | =begin original |
6905 | 10431 | |
6906 | 10432 | (F) An error peculiar to VMS. Perl handles its own command line |
6907 | 10433 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
6908 | 10434 | find the name of the file to which to write data destined for stderr. |
6909 | 10435 | |
6910 | 10436 | =end original |
6911 | 10437 | |
6912 | 10438 | (F) VMS に固有のエラーです。 |
6913 | 10439 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
6914 | 10440 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
6915 | 10441 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
6916 | 10442 | |
6917 | 10443 | =item No group ending character '%c' found in template |
6918 | 10444 | |
6919 | 10445 | =begin original |
6920 | 10446 | |
6921 | 10447 | (F) A pack or unpack template has an opening '(' or '[' without its |
6922 | matching counterpart. See L<perlfunc/pack>. | |
10448 | matching counterpart. See L<perlfunc/pack>. | |
6923 | 10449 | |
6924 | 10450 | =end original |
6925 | 10451 | |
6926 | 10452 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 |
6927 | 10453 | 対応する閉じかっこがありません。 |
6928 | 10454 | L<perlfunc/pack> を参照してください。 |
6929 | 10455 | |
6930 | 10456 | =item No input file after < on command line |
6931 | 10457 | |
6932 | 10458 | =begin original |
6933 | 10459 | |
6934 | 10460 | (F) An error peculiar to VMS. Perl handles its own command line |
6935 | 10461 | redirection, and found a '<' on the command line, but can't find the |
6936 | 10462 | name of the file from which to read data for stdin. |
6937 | 10463 | |
6938 | 10464 | =end original |
6939 | 10465 | |
6940 | 10466 | (F) VMS に固有のエラーです。 |
6941 | 10467 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
6942 | 10468 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
6943 | 10469 | 見つかりませんでした。 |
6944 | 10470 | |
6945 | 10471 | =item No next::method '%s' found for %s |
6946 | 10472 | |
6947 | 10473 | =begin original |
6948 | 10474 | |
6949 | 10475 | (F) C<next::method> found no further instances of this method name |
6950 | 10476 | in the remaining packages of the MRO of this class. If you don't want |
6951 | 10477 | it throwing an exception, use C<maybe::next::method> |
6952 | or C<next::can>. See L<mro>. | |
10478 | or C<next::can>. See L<mro>. | |
6953 | 10479 | |
6954 | 10480 | =end original |
6955 | 10481 | |
6956 | 10482 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この |
6957 | メソッド名の | |
10483 | メソッド名の実体がもうありません。 | |
6958 | 10484 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を |
6959 | 10485 | 使ってください。 |
6960 | 10486 | L<mro> を参照してください。 |
6961 | 10487 | |
10488 | =item Non-finite repeat count does nothing | |
10489 | ||
10490 | =begin original | |
10491 | ||
10492 | (W numeric) You tried to execute the | |
10493 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or | |
10494 | C<-Inf>) or C<NaN> times, which doesn't make sense. | |
10495 | ||
10496 | =end original | |
10497 | ||
10498 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
10499 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; | |
10500 | これは意味がありません。 | |
10501 | ||
10502 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ | |
10503 | ||
10504 | =begin original | |
10505 | ||
10506 | (F) In a regular expression, there was a non-hexadecimal character where | |
10507 | a hex one was expected, like | |
10508 | ||
10509 | =end original | |
10510 | ||
10511 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
10512 | ||
10513 | (?[ [ \xDG ] ]) | |
10514 | (?[ [ \x{DEKA} ] ]) | |
10515 | ||
10516 | =item Non-hex character '%c' terminates \x early. Resolved as "%s" | |
10517 | ||
10518 | =begin original | |
10519 | ||
10520 | (W digit) In parsing a hexadecimal numeric constant, a character was | |
10521 | unexpectedly encountered that isn't hexadecimal. The resulting value | |
10522 | is as indicated. | |
10523 | ||
10524 | =end original | |
10525 | ||
10526 | (W digit) 16 進数定数をパースするときに、16 進数でない文字に | |
10527 | 想定外に遭遇しました。 | |
10528 | 結果の値は示している通りになります。 | |
10529 | ||
10530 | =begin original | |
10531 | ||
10532 | Note that, within braces, every character starting with the first | |
10533 | non-hexadecimal up to the ending brace is ignored. | |
10534 | ||
10535 | =end original | |
10536 | ||
10537 | 中かっこの中では、最初に現れた非 16 進数文字から中かっこの終わりまでは | |
10538 | 無視されることに注意してください。 | |
10539 | ||
10540 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ | |
10541 | ||
10542 | =begin original | |
10543 | ||
10544 | (F) In a regular expression, there was a non-octal character where | |
10545 | an octal one was expected, like | |
10546 | ||
10547 | =end original | |
10548 | ||
10549 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
10550 | ||
10551 | (?[ [ \o{1278} ] ]) | |
10552 | ||
10553 | =item Non-octal character '%c' terminates \o early. Resolved as "%s" | |
10554 | ||
10555 | =begin original | |
10556 | ||
10557 | (W digit) In parsing an octal numeric constant, a character was | |
10558 | unexpectedly encountered that isn't octal. The resulting value | |
10559 | is as indicated. | |
10560 | ||
10561 | =end original | |
10562 | ||
10563 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
10564 | 結果の値は示している通りになります。 | |
10565 | ||
10566 | =begin original | |
10567 | ||
10568 | When not using C<\o{...}>, you wrote something like C<\08>, or C<\179> | |
10569 | in a double-quotish string. The resolution is as indicated, with all | |
10570 | but the last digit treated as a single character, specified in octal. | |
10571 | The last digit is the next character in the string. To tell Perl that | |
10572 | this is indeed what you want, you can use the C<\o{ }> syntax, or use | |
10573 | exactly three digits to specify the octal for the character. | |
10574 | ||
10575 | =end original | |
10576 | ||
10577 | When not using | |
10578 | C<\o{...}> を使っていないときに、C<\08> のようなものか、 | |
10579 | あるいはダブルクォート風文字列の中で C<\179> のようなものを書きました。 | |
10580 | 結果は示している通りになり、最後以外の数字は 8 進数で指定された | |
10581 | 単一の文字として扱われます。 | |
10582 | 最後の数字は文字列中の次の文字です。 | |
10583 | これが確かに望んだものであることを Perl に伝えるには、 | |
10584 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
10585 | 正確に 3 文字の数字を使ってください。 | |
10586 | ||
10587 | =begin original | |
10588 | ||
10589 | Note that, within braces, every character starting with the first | |
10590 | non-octal up to the ending brace is ignored. | |
10591 | ||
10592 | =end original | |
10593 | ||
10594 | 中かっこの中では、最初に現れた非 8 進数文字から中かっこの終わりまでは | |
10595 | 無視されることに注意してください。 | |
10596 | ||
6962 | 10597 | =item "no" not allowed in expression |
6963 | 10598 | |
6964 | 10599 | =begin original |
6965 | 10600 | |
6966 | 10601 | (F) The "no" keyword is recognized and executed at compile time, and |
6967 | 10602 | returns no useful value. See L<perlmod>. |
6968 | 10603 | |
6969 | 10604 | =end original |
6970 | 10605 | |
6971 | 10606 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
6972 | 10607 | 意味のある値を返しません。 |
6973 | 10608 | L<perlmod> を参照してください。 |
6974 | 10609 | |
10610 | =item Non-string passed as bitmask | |
10611 | ||
10612 | =begin original | |
10613 | ||
10614 | (W misc) A number has been passed as a bitmask argument to select(). | |
10615 | Use the vec() function to construct the file descriptor bitmasks for | |
10616 | select. See L<perlfunc/select>. | |
10617 | ||
10618 | =end original | |
10619 | ||
10620 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
10621 | select のためのファイル記述子のビットマスクを構成するには、 | |
10622 | vec() 関数を使ってください。 | |
10623 | L<perlfunc/select> を参照してください。 | |
10624 | ||
6975 | 10625 | =item No output file after > on command line |
6976 | 10626 | |
6977 | 10627 | =begin original |
6978 | 10628 | |
6979 | 10629 | (F) An error peculiar to VMS. Perl handles its own command line |
6980 | 10630 | redirection, and found a lone '>' at the end of the command line, so it |
6981 | 10631 | doesn't know where you wanted to redirect stdout. |
6982 | 10632 | |
6983 | 10633 | =end original |
6984 | 10634 | |
6985 | 10635 | (F) VMS に固有のエラーです。 |
6986 | 10636 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
6987 | 10637 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
6988 | 10638 | わかりませんでした。 |
6989 | 10639 | |
6990 | 10640 | =item No output file after > or >> on command line |
6991 | 10641 | |
6992 | 10642 | =begin original |
6993 | 10643 | |
6994 | 10644 | (F) An error peculiar to VMS. Perl handles its own command line |
6995 | 10645 | redirection, and found a '>' or a '>>' on the command line, but can't |
6996 | 10646 | find the name of the file to which to write data destined for stdout. |
6997 | 10647 | |
6998 | 10648 | =end original |
6999 | 10649 | |
7000 | 10650 | (F) VMS に固有のエラーです。 |
7001 | 10651 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
7002 | 10652 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
7003 | 10653 | 見つかりませんでした。 |
7004 | 10654 | |
10655 | =item No package name allowed for subroutine %s in "our" | |
10656 | ||
7005 | 10657 | =item No package name allowed for variable %s in "our" |
7006 | 10658 | |
7007 | 10659 | =begin original |
7008 | 10660 | |
7009 | (F) Fully qualified variable names are not allowed in "our" | |
10661 | (F) Fully qualified subroutine and variable names are not allowed in "our" | |
7010 | declarations, because that doesn't make much sense under existing | |
10662 | declarations, because that doesn't make much sense under existing rules. | |
7011 | ||
10663 | Such syntax is reserved for future extensions. | |
7012 | 10664 | |
7013 | 10665 | =end original |
7014 | 10666 | |
7015 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
10667 | (F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません; | |
7016 | 10668 | なぜなら現在の動作ではほとんど意味がないからです。 |
7017 | 10669 | そのような文法は将来の拡張に予約されています。 |
7018 | 10670 | |
7019 | 10671 | =item No Perl script found in input |
7020 | 10672 | |
7021 | 10673 | =begin original |
7022 | 10674 | |
7023 | 10675 | (F) You called C<perl -x>, but no line was found in the file beginning |
7024 | 10676 | with #! and containing the word "perl". |
7025 | 10677 | |
7026 | 10678 | =end original |
7027 | 10679 | |
7028 | 10680 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
7029 | 10681 | "perl" という語を含む行が見つかりませんでした。 |
7030 | 10682 | |
7031 | 10683 | =item No setregid available |
7032 | 10684 | |
7033 | 10685 | =begin original |
7034 | 10686 | |
7035 | 10687 | (F) Configure didn't find anything resembling the setregid() call for |
7036 | 10688 | your system. |
7037 | 10689 | |
7038 | 10690 | =end original |
7039 | 10691 | |
7040 | 10692 | (F) Configure が、システム上に setregid() のような関数を |
7041 | 10693 | 見つけられませんでした。 |
7042 | 10694 | |
7043 | 10695 | =item No setreuid available |
7044 | 10696 | |
7045 | 10697 | =begin original |
7046 | 10698 | |
7047 | 10699 | (F) Configure didn't find anything resembling the setreuid() call for |
7048 | 10700 | your system. |
7049 | 10701 | |
7050 | 10702 | =end original |
7051 | 10703 | |
7052 | 10704 | (F) Configure が、システム上に setreuid() のような関数を |
7053 | 10705 | 見つけられませんでした。 |
7054 | 10706 | |
7055 | =item No | |
10707 | =item No such class %s | |
7056 | 10708 | |
7057 | 10709 | =begin original |
7058 | 10710 | |
7059 | (F) | |
10711 | (F) You provided a class qualifier in a "my", "our" or "state" | |
7060 | ||
10712 | declaration, but this class doesn't exist at this point in your program. | |
7061 | 10713 | |
7062 | 10714 | =end original |
7063 | 10715 | |
7064 | (F) 指 | |
10716 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された | |
7065 | ||
10717 | クラスは現時点では存在しません。 | |
7066 | 10718 | |
7067 | 10719 | =item No such class field "%s" in variable %s of type %s |
7068 | 10720 | |
7069 | 10721 | =begin original |
7070 | 10722 | |
7071 | (F) You tried to access a key from a hash through the indicated typed | |
10723 | (F) You tried to access a key from a hash through the indicated typed | |
7072 | but that key is not allowed by the package of the same type. | |
10724 | variable but that key is not allowed by the package of the same type. | |
7073 | package has restricted the set of allowed keys using the | |
10725 | The indicated package has restricted the set of allowed keys using the | |
10726 | L<fields> pragma. | |
7074 | 10727 | |
7075 | 10728 | =end original |
7076 | 10729 | |
7077 | 10730 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 |
7078 | 10731 | そのキーは同じ型のパッケージによって許可されていません。 |
7079 | 10732 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が |
7080 | 10733 | 制限されています。 |
7081 | 10734 | |
7082 | =item No such class %s | |
7083 | ||
7084 | =begin original | |
7085 | ||
7086 | (F) You provided a class qualifier in a "my", "our" or "state" | |
7087 | declaration, but this class doesn't exist at this point in your program. | |
7088 | ||
7089 | =end original | |
7090 | ||
7091 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された | |
7092 | クラスは現時点では存在しません。 | |
7093 | ||
7094 | 10735 | =item No such hook: %s |
7095 | 10736 | |
7096 | 10737 | =begin original |
7097 | 10738 | |
7098 | 10739 | (F) You specified a signal hook that was not recognized by Perl. |
7099 | 10740 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. |
7100 | 10741 | |
7101 | 10742 | =end original |
7102 | 10743 | |
7103 | 10744 | (F) Perl が認識できないシグナルフックを指定しました。 |
7104 | 10745 | 現在のところ、Perl は有効なシグナルフックとして |
7105 | 10746 | C<__DIE__> と C<__WARN__> を受け付けます。 |
7106 | 10747 | |
7107 | 10748 | =item No such pipe open |
7108 | 10749 | |
7109 | 10750 | =begin original |
7110 | 10751 | |
7111 | 10752 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
7112 | 10753 | close a pipe which hadn't been opened. This should have been caught |
7113 | 10754 | earlier as an attempt to close an unopened filehandle. |
7114 | 10755 | |
7115 | 10756 | =end original |
7116 | 10757 | |
7117 | 10758 | (P) VMS に固有のエラーです。 |
7118 | 10759 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
7119 | 10760 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
7120 | 10761 | 捕捉されるべきものです。 |
7121 | 10762 | |
7122 | 10763 | =item No such signal: SIG%s |
7123 | 10764 | |
7124 | 10765 | =begin original |
7125 | 10766 | |
7126 | 10767 | (W signal) You specified a signal name as a subscript to %SIG that was |
7127 | 10768 | not recognized. Say C<kill -l> in your shell to see the valid signal |
7128 | 10769 | names on your system. |
7129 | 10770 | |
7130 | 10771 | =end original |
7131 | 10772 | |
7132 | 10773 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
7133 | 10774 | お使いのシステムで使用可能なシグナル名を調べるには、 |
7134 | 10775 | シェル上で C<kill -l> などとしてください。 |
7135 | 10776 | |
10777 | =item No Unicode property value wildcard matches: | |
10778 | ||
10779 | =begin original | |
10780 | ||
10781 | (W regexp) You specified a wildcard for a Unicode property value, but | |
10782 | there is no property value in the current Unicode release that matches | |
10783 | it. Check your spelling. | |
10784 | ||
10785 | =end original | |
10786 | ||
10787 | (W regexp) Unicode 特性値にワイルドカードを指定しましたが、 | |
10788 | 現在の Unicode リリースにはそれにマッチングする特性値はありません。 | |
10789 | 綴りを確認してください。 | |
10790 | ||
7136 | 10791 | =item Not a CODE reference |
7137 | 10792 | |
7138 | 10793 | =begin original |
7139 | 10794 | |
7140 | 10795 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
7141 | 10796 | subroutine), but found a reference to something else instead. You can |
7142 | 10797 | use the ref() function to find out what kind of ref it really was. See |
7143 | 10798 | also L<perlref>. |
7144 | 10799 | |
7145 | 10800 | =end original |
7146 | 10801 | |
7147 | 10802 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
7148 | 10803 | 評価しようとしましたが、別のものへのリファレンスでした。 |
7149 | 10804 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7150 | 10805 | 使うことができます。 |
7151 | 10806 | L<perlref> も参照してください。 |
7152 | 10807 | |
7153 | =item Not a format reference | |
7154 | ||
7155 | =begin original | |
7156 | ||
7157 | (F) I'm not sure how you managed to generate a reference to an anonymous | |
7158 | format, but this indicates you did, and that it didn't exist. | |
7159 | ||
7160 | =end original | |
7161 | ||
7162 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは | |
7163 | わかりませんが、このメッセージは、それが指定されて、 | |
7164 | 存在しなかったことを示します。 | |
7165 | ||
7166 | 10808 | =item Not a GLOB reference |
7167 | 10809 | |
7168 | 10810 | =begin original |
7169 | 10811 | |
7170 | 10812 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
7171 | 10813 | symbol table entry that looks like C<*foo>), but found a reference to |
7172 | 10814 | something else instead. You can use the ref() function to find out what |
7173 | 10815 | kind of ref it really was. See L<perlref>. |
7174 | 10816 | |
7175 | 10817 | =end original |
7176 | 10818 | |
7177 | 10819 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
7178 | 10820 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
7179 | 10821 | 別のものへのリファレンスでした。 |
7180 | 10822 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7181 | 10823 | 使うことができます。 |
7182 | 10824 | L<perlref> を参照してください。 |
7183 | 10825 | |
7184 | 10826 | =item Not a HASH reference |
7185 | 10827 | |
7186 | 10828 | =begin original |
7187 | 10829 | |
7188 | 10830 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
7189 | 10831 | reference to something else instead. You can use the ref() function to |
7190 | 10832 | find out what kind of ref it really was. See L<perlref>. |
7191 | 10833 | |
7192 | 10834 | =end original |
7193 | 10835 | |
7194 | 10836 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
7195 | 10837 | 別のものへのリファレンスでした。 |
7196 | 10838 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7197 | 10839 | 使うことができます。 |
7198 | 10840 | L<perlref> を参照してください。 |
7199 | 10841 | |
10842 | =item '#' not allowed immediately following a sigil in a subroutine signature | |
10843 | ||
10844 | =begin original | |
10845 | ||
10846 | (F) In a subroutine signature definition, a comment following a sigil | |
10847 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in | |
10848 | particular to avoid confusion with the C<$#> variable. For example: | |
10849 | ||
10850 | =end original | |
10851 | ||
10852 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く | |
10853 | コメントは、特に C<$#> 変数との混乱を避けるために、 | |
10854 | 空白やカンマなどで分ける必要があります。 | |
10855 | 例えば: | |
10856 | ||
10857 | # bad | |
10858 | sub f ($# ignore first arg | |
10859 | , $y) {} | |
10860 | # good | |
10861 | sub f ($, # ignore first arg | |
10862 | $y) {} | |
10863 | ||
7200 | 10864 | =item Not an ARRAY reference |
7201 | 10865 | |
7202 | 10866 | =begin original |
7203 | 10867 | |
7204 | 10868 | (F) Perl was trying to evaluate a reference to an array value, but found |
7205 | 10869 | a reference to something else instead. You can use the ref() function |
7206 | 10870 | to find out what kind of ref it really was. See L<perlref>. |
7207 | 10871 | |
7208 | 10872 | =end original |
7209 | 10873 | |
7210 | 10874 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
7211 | 10875 | 別のものへのリファレンスでした。 |
7212 | 10876 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7213 | 10877 | 使うことができます。 |
7214 | 10878 | L<perlref> を参照してください。 |
7215 | 10879 | |
7216 | =item Not an unblessed ARRAY reference | |
7217 | ||
7218 | =begin original | |
7219 | ||
7220 | (F) You passed a reference to a blessed array to C<push>, C<shift> or | |
7221 | another array function. These only accept unblessed array references | |
7222 | or arrays beginning explicitly with C<@>. | |
7223 | ||
7224 | =end original | |
7225 | ||
7226 | (F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを | |
7227 | 渡しました。 | |
7228 | これらは bless されていない配列リファレンスか明示的に C<@> で始まる | |
7229 | 配列のみを受け付けます。 | |
7230 | ||
7231 | 10880 | =item Not a SCALAR reference |
7232 | 10881 | |
7233 | 10882 | =begin original |
7234 | 10883 | |
7235 | 10884 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
7236 | 10885 | a reference to something else instead. You can use the ref() function |
7237 | 10886 | to find out what kind of ref it really was. See L<perlref>. |
7238 | 10887 | |
7239 | 10888 | =end original |
7240 | 10889 | |
7241 | 10890 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
7242 | 10891 | 別のものへのリファレンスでした。 |
7243 | 10892 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7244 | 10893 | 使うことができます。 |
7245 | 10894 | L<perlref> を参照してください。 |
7246 | 10895 | |
7247 | 10896 | =item Not a subroutine reference |
7248 | 10897 | |
7249 | 10898 | =begin original |
7250 | 10899 | |
7251 | 10900 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
7252 | 10901 | subroutine), but found a reference to something else instead. You can |
7253 | 10902 | use the ref() function to find out what kind of ref it really was. See |
7254 | 10903 | also L<perlref>. |
7255 | 10904 | |
7256 | 10905 | =end original |
7257 | 10906 | |
7258 | 10907 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
7259 | 10908 | 評価しようとしましたが、別のものへのリファレンスでした。 |
7260 | 10909 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
7261 | 10910 | 使うことができます。 |
7262 | 10911 | L<perlref> も参照してください。 |
7263 | 10912 | |
7264 | 10913 | =item Not a subroutine reference in overload table |
7265 | 10914 | |
7266 | 10915 | =begin original |
7267 | 10916 | |
7268 | 10917 | (F) An attempt was made to specify an entry in an overloading table that |
7269 | 10918 | doesn't somehow point to a valid subroutine. See L<overload>. |
7270 | 10919 | |
7271 | 10920 | =end original |
7272 | 10921 | |
7273 | 10922 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを |
7274 | 10923 | 指定しようとしました。 |
7275 | 10924 | L<overload> を参照してください。 |
7276 | 10925 | |
7277 | 10926 | =item Not enough arguments for %s |
7278 | 10927 | |
7279 | 10928 | =begin original |
7280 | 10929 | |
7281 | 10930 | (F) The function requires more arguments than you specified. |
7282 | 10931 | |
7283 | 10932 | =end original |
7284 | 10933 | |
7285 | 10934 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
7286 | 10935 | |
7287 | 10936 | =item Not enough format arguments |
7288 | 10937 | |
7289 | 10938 | =begin original |
7290 | 10939 | |
7291 | 10940 | (W syntax) A format specified more picture fields than the next line |
7292 | 10941 | supplied. See L<perlform>. |
7293 | 10942 | |
7294 | 10943 | =end original |
7295 | 10944 | |
7296 | 10945 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
7297 | 10946 | ピクチャフィールドがあります。 |
7298 | 10947 | L<perlform> を参照してください。 |
7299 | 10948 | |
7300 | 10949 | =item %s: not found |
7301 | 10950 | |
7302 | 10951 | =begin original |
7303 | 10952 | |
7304 | 10953 | (A) You've accidentally run your script through the Bourne shell instead |
7305 | 10954 | of Perl. Check the #! line, or manually feed your script into Perl |
7306 | 10955 | yourself. |
7307 | 10956 | |
7308 | 10957 | =end original |
7309 | 10958 | |
7310 | 10959 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
7311 | #! 行を | |
10960 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
7312 | 10961 | |
7313 | 10962 | =item no UTC offset information; assuming local time is UTC |
7314 | 10963 | |
7315 | 10964 | =begin original |
7316 | 10965 | |
7317 | 10966 | (S) A warning peculiar to VMS. Perl was unable to find the local |
7318 | 10967 | timezone offset, so it's assuming that local system time is equivalent |
7319 | 10968 | to UTC. If it's not, define the logical name |
7320 | 10969 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
7321 | 10970 | need to be added to UTC to get local time. |
7322 | 10971 | |
7323 | 10972 | =end original |
7324 | 10973 | |
7325 | 10974 | (S) VMS に固有の警告です。 |
7326 | 10975 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
7327 | 10976 | ローカルシステムタイムは UTC と等価であると仮定します。 |
7328 | 10977 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
7329 | 10978 | 時刻を得るために加える必要がある秒数を定義してください。 |
7330 | 10979 | |
7331 | =item Non-octal character '%c'. Resolved as "%s" | |
7332 | ||
7333 | =begin original | |
7334 | ||
7335 | (W digit) In parsing an octal numeric constant, a character was | |
7336 | unexpectedly encountered that isn't octal. The resulting value is as | |
7337 | indicated. | |
7338 | ||
7339 | =end original | |
7340 | ||
7341 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
7342 | 結果の値は示された通りになります。 | |
7343 | ||
7344 | =item Non-string passed as bitmask | |
7345 | ||
7346 | =begin original | |
7347 | ||
7348 | (W misc) A number has been passed as a bitmask argument to select(). | |
7349 | Use the vec() function to construct the file descriptor bitmasks for | |
7350 | select. See L<perlfunc/select>. | |
7351 | ||
7352 | =end original | |
7353 | ||
7354 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
7355 | select のためのファイル記述子のビットマスクを構成するには、 | |
7356 | vec() 関数を使ってください。 | |
7357 | L<perlfunc/select> を参照してください。 | |
7358 | ||
7359 | =item Null filename used | |
7360 | ||
7361 | =begin original | |
7362 | ||
7363 | (F) You can't require the null filename, especially because on many | |
7364 | machines that means the current directory! See L<perlfunc/require>. | |
7365 | ||
7366 | =end original | |
7367 | ||
7368 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 | |
7369 | 空のファイル名は require できません! | |
7370 | L<perlfunc/require> を参照してください。 | |
7371 | ||
7372 | 10980 | =item NULL OP IN RUN |
7373 | 10981 | |
7374 | 10982 | =begin original |
7375 | 10983 | |
7376 | ( | |
10984 | (S debugging) Some internal routine called run() with a null opcode | |
7377 | 10985 | pointer. |
7378 | 10986 | |
7379 | 10987 | =end original |
7380 | 10988 | |
7381 | ( | |
10989 | (S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を | |
7382 | 10990 | 呼んだものがあります。 |
7383 | 10991 | |
7384 | 10992 | =item Null picture in formline |
7385 | 10993 | |
7386 | 10994 | =begin original |
7387 | 10995 | |
7388 | 10996 | (F) The first argument to formline must be a valid format picture |
7389 | 10997 | specification. It was found to be empty, which probably means you |
7390 | 10998 | supplied it an uninitialized value. See L<perlform>. |
7391 | 10999 | |
7392 | 11000 | =end original |
7393 | 11001 | |
7394 | 11002 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
7395 | 11003 | なりません。 |
7396 | 11004 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
7397 | 11005 | L<perlform> を参照してください。 |
7398 | 11006 | |
7399 | =item Null realloc | |
7400 | ||
7401 | =begin original | |
7402 | ||
7403 | (P) An attempt was made to realloc NULL. | |
7404 | ||
7405 | =end original | |
7406 | ||
7407 | (P) realloc NULL を行なおうとしました。 | |
7408 | ||
7409 | =item NULL regexp argument | |
7410 | ||
7411 | =begin original | |
7412 | ||
7413 | (P) The internal pattern matching routines blew it big time. | |
7414 | ||
7415 | =end original | |
7416 | ||
7417 | (P) 内部パターンマッチルーティンが、大当たりです。 | |
7418 | ||
7419 | 11007 | =item NULL regexp parameter |
7420 | 11008 | |
7421 | 11009 | =begin original |
7422 | 11010 | |
7423 | 11011 | (P) The internal pattern matching routines are out of their gourd. |
7424 | 11012 | |
7425 | 11013 | =end original |
7426 | 11014 | |
7427 | 11015 | (P) 内部パターンマッチルーティンが、狂っています。 |
7428 | 11016 | |
7429 | 11017 | =item Number too long |
7430 | 11018 | |
7431 | 11019 | =begin original |
7432 | 11020 | |
7433 | 11021 | (F) Perl limits the representation of decimal numbers in programs to |
7434 | 11022 | about 250 characters. You've exceeded that length. Future |
7435 | 11023 | versions of Perl are likely to eliminate this arbitrary limitation. In |
7436 | 11024 | the meantime, try using scientific notation (e.g. "1e6" instead of |
7437 | 11025 | "1_000_000"). |
7438 | 11026 | |
7439 | 11027 | =end original |
7440 | 11028 | |
7441 | 11029 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 |
7442 | 11030 | この制限を越えました。 |
7443 | 11031 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
7444 | 11032 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
7445 | 11033 | 使用してください。 |
7446 | 11034 | |
7447 | 11035 | =item Number with no digits |
7448 | 11036 | |
7449 | 11037 | =begin original |
7450 | 11038 | |
7451 | 11039 | (F) Perl was looking for a number but found nothing that looked like |
7452 | a number. This happens, for example with C<\o{}>, with no number between | |
11040 | a number. This happens, for example with C<\o{}>, with no number between | |
7453 | 11041 | the braces. |
7454 | 11042 | |
7455 | 11043 | =end original |
7456 | 11044 | |
7457 | 11045 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 |
7458 | 11046 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 |
7459 | 11047 | |
7460 | =item | |
11048 | =item Numeric format result too large | |
7461 | 11049 | |
7462 | 11050 | =begin original |
7463 | 11051 | |
7464 | (F) | |
11052 | (F) The length of the result of a numeric format supplied to sprintf() | |
7465 | ||
11053 | or printf() would have been too large for the underlying C function to | |
7466 | ||
11054 | report. This limit is typically 2GB. | |
7467 | 11055 | |
7468 | 11056 | =end original |
7469 | 11057 | |
7470 | ||
11058 | (F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、 | |
7471 | ||
11059 | 報告するための基礎となる C 関数にとって大きすぎました。 | |
7472 | ||
11060 | この制限は典型的には 2GB です。 | |
7473 | 11061 | |
11062 | =item Numeric variables with more than one digit may not start with '0' | |
11063 | ||
11064 | =begin original | |
11065 | ||
11066 | (F) The only numeric variable which is allowed to start with a 0 is C<$0>, | |
11067 | and you mentioned a variable that starts with 0 that has more than one | |
11068 | digit. You probably want to remove the leading 0, or if the intent was | |
11069 | to express a variable name in octal you should convert to decimal. | |
11070 | ||
11071 | =end original | |
11072 | ||
11073 | (F) 0 で始まることが許されている唯一の数値変数は C<$0> で、 | |
11074 | 0 で始まり複数桁ある変数に言及しました。 | |
11075 | おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、 | |
11076 | 10 進数に変換する必要があります。 | |
11077 | ||
7474 | 11078 | =item Octal number > 037777777777 non-portable |
7475 | 11079 | |
7476 | 11080 | =begin original |
7477 | 11081 | |
7478 | 11082 | (W portable) The octal number you specified is larger than 2**32-1 |
7479 | 11083 | (4294967295) and therefore non-portable between systems. See |
7480 | 11084 | L<perlport> for more on portability concerns. |
7481 | 11085 | |
7482 | 11086 | =end original |
7483 | 11087 | |
7484 | 11088 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
7485 | 11089 | システム間で移植性がありません。 |
7486 | 11090 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
7487 | 11091 | |
11092 | =item Odd name/value argument for subroutine '%s' | |
11093 | ||
11094 | =begin original | |
11095 | ||
11096 | (F) A subroutine using a slurpy hash parameter in its signature | |
11097 | received an odd number of arguments to populate the hash. It requires | |
11098 | the arguments to be paired, with the same number of keys as values. | |
11099 | The caller of the subroutine is presumably at fault. | |
11100 | ||
11101 | =end original | |
11102 | ||
11103 | (F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、 | |
11104 | ハッシュに展開するために奇数の数の引数を受け取りました。 | |
11105 | 引数は、同じ数のキーと値のペアになっていることが必要です。 | |
11106 | おそらくサブルーチンの呼び出し元が間違っています。 | |
11107 | ||
11108 | =begin original | |
11109 | ||
11110 | The message attempts to include the name of the called subroutine. If the | |
11111 | subroutine has been aliased, the subroutine's original name will be shown, | |
11112 | regardless of what name the caller used. | |
11113 | ||
11114 | =end original | |
11115 | ||
11116 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
11117 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
11118 | サブルーチンの元の名前が表示されます。 | |
11119 | ||
7488 | 11120 | =item Odd number of arguments for overload::constant |
7489 | 11121 | |
7490 | 11122 | =begin original |
7491 | 11123 | |
7492 | 11124 | (W overload) The call to overload::constant contained an odd number of |
7493 | arguments. The arguments should come in pairs. | |
11125 | arguments. The arguments should come in pairs. | |
7494 | 11126 | |
7495 | 11127 | =end original |
7496 | 11128 | |
7497 | 11129 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 |
7498 | 11130 | 引数はペアになっている必要があります。 |
7499 | 11131 | |
11132 | =item Odd number of arguments passed to "%s" constructor | |
11133 | ||
11134 | =begin original | |
11135 | ||
11136 | (S) The constructor for the given class was called with an odd | |
11137 | number of arguments. | |
11138 | ||
11139 | =end original | |
11140 | ||
11141 | (S) 指定されたクラスのコンストラクタが奇数個の引数で呼び出されました。 | |
11142 | ||
11143 | =begin original | |
11144 | ||
11145 | Class constructors accept named arguments as a list and expect pairs | |
11146 | of name followed by value as if you were initialising a hash. | |
11147 | ||
11148 | =end original | |
11149 | ||
11150 | クラスコンストラクタは、名前付き引数をリストとして受け入れ、ハッシュを | |
11151 | 初期化するかのように、名前と値の組を期待します。 | |
11152 | ||
7500 | 11153 | =item Odd number of elements in anonymous hash |
7501 | 11154 | |
7502 | 11155 | =begin original |
7503 | 11156 | |
7504 | 11157 | (W misc) You specified an odd number of elements to initialize a hash, |
7505 | 11158 | which is odd, because hashes come in key/value pairs. |
7506 | 11159 | |
7507 | 11160 | =end original |
7508 | 11161 | |
7509 | 11162 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
7510 | 11163 | key/value のペアで与えられますから、これは奇妙なことです。 |
7511 | 11164 | |
11165 | =item Odd number of elements in export_lexically | |
11166 | ||
11167 | =begin original | |
11168 | ||
11169 | (F) A call to L<builtin/export_lexically> contained an odd number of | |
11170 | arguments. This is not permitted, because each name must be paired with a | |
11171 | valid reference value. | |
11172 | ||
11173 | =end original | |
11174 | ||
11175 | (F) 奇数個の引数で L<builtin/export_lexically> を呼び出しました。 | |
11176 | それぞれの名前は正当な参照値と組になっていなければならないので、 | |
11177 | これは許されていません。 | |
11178 | ||
7512 | 11179 | =item Odd number of elements in hash assignment |
7513 | 11180 | |
7514 | 11181 | =begin original |
7515 | 11182 | |
7516 | 11183 | (W misc) You specified an odd number of elements to initialize a hash, |
7517 | 11184 | which is odd, because hashes come in key/value pairs. |
7518 | 11185 | |
7519 | 11186 | =end original |
7520 | 11187 | |
7521 | 11188 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
7522 | 11189 | key/value のペアで与えられますから、これは奇妙なことです。 |
7523 | 11190 | |
11191 | =item Odd number of elements in hash field initialization | |
11192 | ||
11193 | =begin original | |
11194 | ||
11195 | (W misc) You specified an odd number of elements to initialise a hash | |
11196 | field of an object. Hashes are initialised from a list of key/value | |
11197 | pairs so there must be a corresponding value to every key. The final | |
11198 | missing value will be filled in with undef instead. | |
11199 | ||
11200 | =end original | |
11201 | ||
11202 | (W misc) オブジェクトのハッシュフィールドを初期化するために、 | |
11203 | 奇数個の要素を指定しました。 | |
11204 | ハッシュはキー/値の組のリストから初期化されるので、 | |
11205 | それぞれのキーに対して対応する値がなければなりません。 | |
11206 | 最後の欠けた値は代わりに undef で埋められます。 | |
11207 | ||
7524 | 11208 | =item Offset outside string |
7525 | 11209 | |
7526 | 11210 | =begin original |
7527 | 11211 | |
7528 | ( | |
11212 | (W layer) You tried to do a read/write/send/recv/seek operation | |
7529 | 11213 | with an offset pointing outside the buffer. This is difficult to |
7530 | 11214 | imagine. The sole exceptions to this are that zero padding will |
7531 | 11215 | take place when going past the end of the string when either |
7532 | 11216 | C<sysread()>ing a file, or when seeking past the end of a scalar opened |
7533 | for I/O (in anticipation of future reads and to imitate the behavio | |
11217 | for I/O (in anticipation of future reads and to imitate the behavior | |
7534 | 11218 | with real files). |
7535 | 11219 | |
7536 | 11220 | =end original |
7537 | 11221 | |
7538 | ( | |
11222 | (W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を | |
7539 | 11223 | しようとしました。 |
7540 | 11224 | これは想像しにくいことです。 |
7541 | 11225 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 |
7542 | 11226 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) |
7543 | 11227 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 |
7544 | 11228 | 0 でパッディングされたときです。 |
7545 | 11229 | |
11230 | =item Old package separator "'" deprecated | |
11231 | ||
11232 | =begin original | |
11233 | ||
11234 | (D deprecated::apostrophe_as_package_separator, syntax) You used the old package | |
11235 | separator "'" in a variable, subroutine or package name. Support for the | |
11236 | old package separator will be removed in Perl 5.42. | |
11237 | ||
11238 | =end original | |
11239 | ||
11240 | (D deprecated::apostrophe_as_package_separator, syntax) | |
11241 | 変数、サブルーチン、パッケージ名に古いパッケージ区切り文字 "'" を使いました。 | |
11242 | 古いパッケージ区切り文字対応は Perl 5.42 で削除される予定です。 | |
11243 | ||
11244 | =item Old package separator used in string | |
11245 | ||
11246 | =begin original | |
11247 | ||
11248 | (D deprecated::apostrophe_as_package_separator, syntax) You used the old package | |
11249 | separator, "'", in a variable named inside a double-quoted string; e.g., | |
11250 | C<"In $name's house">. This is equivalent to C<"In $name::s house">. If | |
11251 | you meant the former, put a backslash before the apostrophe | |
11252 | (C<"In $name\'s house">). | |
11253 | ||
11254 | =end original | |
11255 | ||
11256 | (D deprecated::apostrophe_as_package_separator, syntax) | |
11257 | ダブルクォートされた文字列の中の変数名で、C<"In $name's house"> のように、 | |
11258 | 古いパッケージ区切り文字である "'" を使いました。 | |
11259 | これは C<"In $name::s house"> と等価です。 | |
11260 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
11261 | (C<"In $name\'s house">)。 | |
11262 | ||
11263 | =begin original | |
11264 | ||
11265 | Support for the old package separator will be removed in Perl 5.42. | |
11266 | ||
11267 | =end original | |
11268 | ||
11269 | 古いパッケージ区切り文字の対応は Perl 5.42 に削除される予定です。 | |
11270 | ||
11271 | =item Only scalar fields can take a :param attribute | |
11272 | ||
11273 | =begin original | |
11274 | ||
11275 | (F) You tried to apply the C<:param> attribute to an array or hash field. | |
11276 | Currently this is not permitted. | |
11277 | ||
11278 | =end original | |
11279 | ||
11280 | (F) 配列またはハッシュフィールドに C<:param> 属性を適用しようとしました。 | |
11281 | 現在のところこれは許されていません。 | |
11282 | ||
7546 | 11283 | =item %s() on unopened %s |
7547 | 11284 | |
7548 | 11285 | =begin original |
7549 | 11286 | |
7550 | 11287 | (W unopened) An I/O operation was attempted on a filehandle that was |
7551 | 11288 | never initialized. You need to do an open(), a sysopen(), or a socket() |
7552 | 11289 | call, or call a constructor from the FileHandle package. |
7553 | 11290 | |
7554 | 11291 | =end original |
7555 | 11292 | |
7556 | 11293 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
7557 | 11294 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
7558 | 11295 | コンストラクタを呼び出す必要があります。 |
7559 | 11296 | |
7560 | 11297 | =item -%s on unopened filehandle %s |
7561 | 11298 | |
7562 | 11299 | =begin original |
7563 | 11300 | |
7564 | 11301 | (W unopened) You tried to invoke a file test operator on a filehandle |
7565 | 11302 | that isn't open. Check your control flow. See also L<perlfunc/-X>. |
7566 | 11303 | |
7567 | 11304 | =end original |
7568 | 11305 | |
7569 | 11306 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を |
7570 | 11307 | 使おうとしました。 |
7571 | 11308 | 制御フローをチェックしてください。 |
7572 | 11309 | L<perlfunc/-X> も参照してください。 |
7573 | 11310 | |
7574 | 11311 | =item oops: oopsAV |
7575 | 11312 | |
7576 | 11313 | =begin original |
7577 | 11314 | |
7578 | 11315 | (S internal) An internal warning that the grammar is screwed up. |
7579 | 11316 | |
7580 | 11317 | =end original |
7581 | 11318 | |
7582 | 11319 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
7583 | 11320 | |
7584 | 11321 | =item oops: oopsHV |
7585 | 11322 | |
7586 | 11323 | =begin original |
7587 | 11324 | |
7588 | 11325 | (S internal) An internal warning that the grammar is screwed up. |
7589 | 11326 | |
7590 | 11327 | =end original |
7591 | 11328 | |
7592 | 11329 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
7593 | 11330 | |
7594 | =item Openin | |
11331 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in | |
11332 | m/%s/ | |
7595 | 11333 | |
7596 | 11334 | =begin original |
7597 | 11335 | |
7598 | ( | |
11336 | (F) You wrote something like | |
7599 | a symbol (glob or scalar) that already holds a dirhandle. | |
7600 | Although legal, this idiom might render your code confusing | |
7601 | and is deprecated. | |
7602 | 11337 | |
7603 | 11338 | =end original |
7604 | 11339 | |
7605 | ( | |
11340 | (F) 次のようなものを書きました: | |
7606 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 | |
7607 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
7608 | あるので非推奨です。 | |
7609 | 11341 | |
7610 | ||
11342 | (?[ \p{Digit} \p{Thai} ]) | |
7611 | 11343 | |
7612 | 11344 | =begin original |
7613 | 11345 | |
7614 | ||
11346 | There are two operands, but no operator giving how you want to combine | |
7615 | ||
11347 | them. | |
7616 | Although legal, this idiom might render your code confusing | |
7617 | and is deprecated. | |
7618 | 11348 | |
7619 | 11349 | =end original |
7620 | 11350 | |
7621 | ||
11351 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
7622 | ||
11352 | 演算子がありません。 | |
7623 | opendir() を使いました。 | |
7624 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
7625 | あるので非推奨です。 | |
7626 | 11353 | |
7627 | 11354 | =item Operation "%s": no method found, %s |
7628 | 11355 | |
7629 | 11356 | =begin original |
7630 | 11357 | |
7631 | 11358 | (F) An attempt was made to perform an overloaded operation for which no |
7632 | 11359 | handler was defined. While some handlers can be autogenerated in terms |
7633 | 11360 | of other handlers, there is no default handler for any operation, unless |
7634 | 11361 | the C<fallback> overloading key is specified to be true. See L<overload>. |
7635 | 11362 | |
7636 | 11363 | =end original |
7637 | 11364 | |
7638 | 11365 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
7639 | 11366 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
7640 | 11367 | オーバーロードキーが真に指定されていない限り、どの動作にも |
7641 | 11368 | デフォルトのハンドラはありません。 |
7642 | 11369 | L<overload> を参照してください。 |
7643 | 11370 | |
7644 | 11371 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X |
7645 | 11372 | |
7646 | 11373 | =begin original |
7647 | 11374 | |
7648 | ( | |
11375 | (S non_unicode) You performed an operation requiring Unicode rules | |
7649 | ||
11376 | on a code point that is not in Unicode, so what it should do is not | |
7650 | ||
11377 | defined. Perl has chosen to have it do nothing, and warn you. | |
7651 | has chosen to have it do nothing, and warn you. | |
7652 | 11378 | |
7653 | 11379 | =end original |
7654 | 11380 | |
7655 | ( | |
11381 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が | |
7656 | 11382 | 必要な操作を実行しました; 何をするべきかは未定義です。 |
7657 | 11383 | Perl は何もしないことを選択し、警告を出します。 |
7658 | 11384 | |
7659 | 11385 | =begin original |
7660 | 11386 | |
7661 | 11387 | If the operation shown is "ToFold", it means that case-insensitive |
7662 | 11388 | matching in a regular expression was done on the code point. |
7663 | 11389 | |
7664 | 11390 | =end original |
7665 | 11391 | |
7666 | 11392 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
7667 | 11393 | その符号位置に対して行われたということです。 |
7668 | 11394 | |
7669 | 11395 | =begin original |
7670 | 11396 | |
7671 | 11397 | If you know what you are doing you can turn off this warning by |
7672 | 11398 | C<no warnings 'non_unicode';>. |
7673 | 11399 | |
7674 | 11400 | =end original |
7675 | 11401 | |
7676 | 11402 | 自分で何をしているのかが分かっているなら、 |
7677 | 11403 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 |
7678 | 11404 | |
7679 | 11405 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X |
7680 | 11406 | |
7681 | 11407 | =begin original |
7682 | 11408 | |
7683 | ( | |
11409 | (S surrogate) You performed an operation requiring Unicode | |
7684 | ||
11410 | rules on a Unicode surrogate. Unicode frowns upon the use | |
7685 | surrogate | |
11411 | of surrogates for anything but storing strings in UTF-16, but | |
7686 | ||
11412 | rules are (reluctantly) defined for the surrogates, and | |
7687 | the | |
11413 | they are to do nothing for this operation. Because the use of | |
7688 | ||
11414 | surrogates can be dangerous, Perl warns. | |
7689 | 11415 | |
7690 | 11416 | =end original |
7691 | 11417 | |
7692 | ( | |
11418 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な | |
7693 | 11419 | 操作を実行しました。 |
7694 | 11420 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに |
7695 | 難色を示しますが、 | |
11421 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは | |
7696 | 11422 | この操作に対して何もしないことです。 |
7697 | 11423 | サロゲートの使用は危険かも知れないので、Perl は警告します。 |
7698 | 11424 | |
7699 | 11425 | =begin original |
7700 | 11426 | |
7701 | 11427 | If the operation shown is "ToFold", it means that case-insensitive |
7702 | 11428 | matching in a regular expression was done on the code point. |
7703 | 11429 | |
7704 | 11430 | =end original |
7705 | 11431 | |
7706 | 11432 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
7707 | 11433 | その符号位置に対して行われたということです。 |
7708 | 11434 | |
7709 | 11435 | =begin original |
7710 | 11436 | |
7711 | 11437 | If you know what you are doing you can turn off this warning by |
7712 | 11438 | C<no warnings 'surrogate';>. |
7713 | 11439 | |
7714 | 11440 | =end original |
7715 | 11441 | |
7716 | 11442 | 自分で何をしているのかが分かっているなら、 |
7717 | 11443 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
7718 | 11444 | |
7719 | 11445 | =item Operator or semicolon missing before %s |
7720 | 11446 | |
7721 | 11447 | =begin original |
7722 | 11448 | |
7723 | 11449 | (S ambiguous) You used a variable or subroutine call where the parser |
7724 | 11450 | was expecting an operator. The parser has assumed you really meant to |
7725 | 11451 | use an operator, but this is highly likely to be incorrect. For |
7726 | 11452 | example, if you say "*foo *foo" it will be interpreted as if you said |
7727 | 11453 | "*foo * 'foo'". |
7728 | 11454 | |
7729 | 11455 | =end original |
7730 | 11456 | |
7731 | 11457 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
7732 | 11458 | 呼び出しが使われました。 |
7733 | 11459 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
7734 | 11460 | これは大抵正しくありません。 |
7735 | 11461 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
7736 | 11462 | |
11463 | =item Optional parameter lacks default expression | |
11464 | ||
11465 | =begin original | |
11466 | ||
11467 | (F) In a subroutine signature, you wrote something like "$x =", making a | |
11468 | named optional parameter without a default value. A nameless optional | |
11469 | parameter is permitted to have no default value, but a named one must | |
11470 | have a specific default. You probably want "$x = undef". | |
11471 | ||
11472 | =end original | |
11473 | ||
11474 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き | |
11475 | オプション引数を書きました。 | |
11476 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 | |
11477 | 名前付きのものはデフォルトを指定しなければなりません。 | |
11478 | おそらく "$x = undef" としたかったのでしょう。 | |
11479 | ||
7737 | 11480 | =item "our" variable %s redeclared |
7738 | 11481 | |
7739 | 11482 | =begin original |
7740 | 11483 | |
7741 | (W | |
11484 | (W shadow) You seem to have already declared the same global once before | |
7742 | 11485 | in the current lexical scope. |
7743 | 11486 | |
7744 | 11487 | =end original |
7745 | 11488 | |
7746 | (W | |
11489 | (W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
7747 | 11490 | 宣言しているようです。 |
7748 | 11491 | |
7749 | 11492 | =item Out of memory! |
7750 | 11493 | |
7751 | 11494 | =begin original |
7752 | 11495 | |
7753 | 11496 | (X) The malloc() function returned 0, indicating there was insufficient |
7754 | 11497 | remaining memory (or virtual memory) to satisfy the request. Perl has |
7755 | 11498 | no option but to exit immediately. |
7756 | 11499 | |
7757 | 11500 | =end original |
7758 | 11501 | |
7759 | 11502 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
7760 | 11503 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
7761 | 11504 | Perl は直ちに終了するしかありませんでした。 |
7762 | 11505 | |
7763 | 11506 | =begin original |
7764 | 11507 | |
7765 | 11508 | At least in Unix you may be able to get past this by increasing your |
7766 | 11509 | process datasize limits: in csh/tcsh use C<limit> and |
7767 | 11510 | C<limit datasize n> (where C<n> is the number of kilobytes) to check |
7768 | 11511 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> |
7769 | 11512 | and C<ulimit -d n>, respectively. |
7770 | 11513 | |
7771 | 11514 | =end original |
7772 | 11515 | |
7773 | 11516 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって |
7774 | 11517 | これを回避することが可能です: |
7775 | 11518 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには |
7776 | 11519 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; |
7777 | 11520 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 |
7778 | 11521 | |
7779 | 11522 | =item Out of memory during %s extend |
7780 | 11523 | |
7781 | 11524 | =begin original |
7782 | 11525 | |
7783 | 11526 | (X) An attempt was made to extend an array, a list, or a string beyond |
7784 | 11527 | the largest possible memory allocation. |
7785 | 11528 | |
7786 | 11529 | =end original |
7787 | 11530 | |
7788 | 11531 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 |
7789 | 11532 | |
7790 | 11533 | =item Out of memory during "large" request for %s |
7791 | 11534 | |
7792 | 11535 | =begin original |
7793 | 11536 | |
7794 | 11537 | (F) The malloc() function returned 0, indicating there was insufficient |
7795 | remaining memory (or virtual memory) to satisfy the request. However, | |
11538 | remaining memory (or virtual memory) to satisfy the request. However, | |
7796 | 11539 | the request was judged large enough (compile-time default is 64K), so a |
7797 | 11540 | possibility to shut down by trapping this error is granted. |
7798 | 11541 | |
7799 | 11542 | =end original |
7800 | 11543 | |
7801 | 11544 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
7802 | 11545 | (または仮想メモリ)が不十分であることを示しています。 |
7803 | 11546 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
7804 | 11547 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
7805 | 11548 | |
7806 | 11549 | =item Out of memory during request for %s |
7807 | 11550 | |
7808 | 11551 | =begin original |
7809 | 11552 | |
7810 | (X | |
11553 | (X)(F) The malloc() function returned 0, indicating there was | |
7811 | 11554 | insufficient remaining memory (or virtual memory) to satisfy the |
7812 | 11555 | request. |
7813 | 11556 | |
7814 | 11557 | =end original |
7815 | 11558 | |
7816 | (X | |
11559 | (X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ | |
7817 | 11560 | (または仮想メモリ)が不十分であることを示しています。 |
7818 | 11561 | |
7819 | 11562 | =begin original |
7820 | 11563 | |
7821 | 11564 | The request was judged to be small, so the possibility to trap it |
7822 | 11565 | depends on the way perl was compiled. By default it is not trappable. |
7823 | 11566 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
7824 | 11567 | emergency pool after die()ing with this message. In this case the error |
7825 | 11568 | is trappable I<once>, and the error message will include the line and file |
7826 | 11569 | where the failed request happened. |
7827 | 11570 | |
7828 | 11571 | =end original |
7829 | 11572 | |
7830 | 11573 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
7831 | 11574 | どのようにコンパイルされたかに依存します。 |
7832 | 11575 | デフォルトではこれはトラップできません。 |
7833 | 11576 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
7834 | 11577 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
7835 | 11578 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
7836 | 11579 | 要求が起きたファイルと行番号を含んでいます。 |
7837 | 11580 | |
7838 | 11581 | =item Out of memory during ridiculously large request |
7839 | 11582 | |
7840 | 11583 | =begin original |
7841 | 11584 | |
7842 | 11585 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
7843 | 11586 | is most likely to be caused by a typo in the Perl program. e.g., |
7844 | 11587 | C<$arr[time]> instead of C<$arr[$time]>. |
7845 | 11588 | |
7846 | 11589 | =end original |
7847 | 11590 | |
7848 | 11591 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
7849 | 11592 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 |
7850 | 11593 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 |
7851 | 11594 | |
11595 | =item Out of memory during vec in lvalue context | |
11596 | ||
11597 | =begin original | |
11598 | ||
11599 | (F) An attempt was made to extend a string beyond the largest possible memory | |
11600 | allocation by assigning to C<vec()> called with a large second argument. | |
11601 | ||
11602 | =end original | |
11603 | ||
11604 | (F) 大きな 2 番目の引数で呼び出された C<vec()> に代入することによって、 | |
11605 | 可能な最大のメモリ割り当てを超えて文字列を拡張しようとしました。 | |
11606 | ||
7852 | 11607 | =item Out of memory for yacc stack |
7853 | 11608 | |
7854 | 11609 | =begin original |
7855 | 11610 | |
7856 | 11611 | (F) The yacc parser wanted to grow its stack so it could continue |
7857 | 11612 | parsing, but realloc() wouldn't give it more memory, virtual or |
7858 | 11613 | otherwise. |
7859 | 11614 | |
7860 | 11615 | =end original |
7861 | 11616 | |
7862 | 11617 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
7863 | 11618 | realloc() が仮想やその他のメモリを確保できませんでした。 |
7864 | 11619 | |
11620 | =item Out of memory in perl:%s | |
11621 | ||
11622 | =begin original | |
11623 | ||
11624 | (X) A low-level memory allocation routine failed, indicating there was | |
11625 | insufficient remaining (virtual) memory to satisfy the request. Perl has no | |
11626 | option but to exit immediately. | |
11627 | ||
11628 | =end original | |
11629 | ||
11630 | (X) 低レベルのメモリ割り当てルーチンが失敗しました; | |
11631 | これは、要求を満たすのに十分な(仮想)メモリが残っていないことを | |
11632 | 示しています。 | |
11633 | Perl には、すぐに終了する以外の選択肢はありません。 | |
11634 | ||
11635 | =begin original | |
11636 | ||
11637 | At least in Unix you may be able to get past this by increasing your process | |
11638 | datasize limits: in csh/tcsh use C<limit> and C<limit datasize n> (where C<n> | |
11639 | is the number of kilobytes) to check the current limits and change them, and in | |
11640 | ksh/bash/zsh use C<ulimit -a> and C<ulimit -d n>, respectively. | |
11641 | ||
11642 | =end original | |
11643 | ||
11644 | 少なくとも Unix では、プロセスのデータサイズの制限を増やすことでこの問題を | |
11645 | 解決できるかもしれません: | |
11646 | csh/tcsh では現在の制限のチェックと変更に C<limit> と C<limit datasize n> | |
11647 | (C<n> はキロバイト数)を使い、ksh/bash/zshではそれぞれC<ulimit -a> と | |
11648 | C<ulimit -d n> を使います。 | |
11649 | ||
7865 | 11650 | =item '.' outside of string in pack |
7866 | 11651 | |
7867 | 11652 | =begin original |
7868 | 11653 | |
7869 | 11654 | (F) The argument to a '.' in your template tried to move the working |
7870 | 11655 | position to before the start of the packed string being built. |
7871 | 11656 | |
7872 | 11657 | =end original |
7873 | 11658 | |
7874 | 11659 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも |
7875 | 11660 | 前に作業位置を移動しようとしました。 |
7876 | 11661 | |
7877 | 11662 | =item '@' outside of string in unpack |
7878 | 11663 | |
7879 | 11664 | =begin original |
7880 | 11665 | |
7881 | 11666 | (F) You had a template that specified an absolute position outside |
7882 | 11667 | the string being unpacked. See L<perlfunc/pack>. |
7883 | 11668 | |
7884 | 11669 | =end original |
7885 | 11670 | |
7886 | 11671 | (F) unpack される文字列の外に絶対位置指定している、 |
7887 | 11672 | テンプレートを指定しました。 |
7888 | 11673 | L<perlfunc/pack> を参照してください。 |
7889 | 11674 | |
7890 | 11675 | =item '@' outside of string with malformed UTF-8 in unpack |
7891 | 11676 | |
7892 | 11677 | =begin original |
7893 | 11678 | |
7894 | 11679 | (F) You had a template that specified an absolute position outside |
7895 | the string being unpacked. The string being unpacked was also invalid | |
11680 | the string being unpacked. The string being unpacked was also invalid | |
7896 | UTF-8. See L<perlfunc/pack>. | |
11681 | UTF-8. See L<perlfunc/pack>. | |
7897 | 11682 | |
7898 | 11683 | =end original |
7899 | 11684 | |
7900 | 11685 | (F) unpack される文字列の外に絶対位置指定している、 |
7901 | 11686 | テンプレートを指定しました。 |
7902 | 11687 | unpack された文字列は不正な UTF-8 でもあります。 |
7903 | 11688 | L<perlfunc/pack> を参照してください。 |
7904 | 11689 | |
11690 | =item overload arg '%s' is invalid | |
11691 | ||
11692 | =begin original | |
11693 | ||
11694 | (W overload) The L<overload> pragma was passed an argument it did not | |
11695 | recognize. Did you mistype an operator? | |
11696 | ||
11697 | =end original | |
11698 | ||
11699 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 | |
11700 | 演算子をタイプミスしましたか? | |
11701 | ||
7905 | 11702 | =item Overloaded dereference did not return a reference |
7906 | 11703 | |
7907 | 11704 | =begin original |
7908 | 11705 | |
7909 | 11706 | (F) An object with an overloaded dereference operator was dereferenced, |
7910 | but the overloaded operation did not return a reference. See | |
11707 | but the overloaded operation did not return a reference. See | |
7911 | 11708 | L<overload>. |
7912 | 11709 | |
7913 | 11710 | =end original |
7914 | 11711 | |
7915 | 11712 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが |
7916 | 11713 | デリファレンスされましたが、オーバーロード演算がリファレンスを |
7917 | 11714 | 返しませんでした。 |
7918 | 11715 | L<overload> を参照してください。 |
7919 | 11716 | |
7920 | 11717 | =item Overloaded qr did not return a REGEXP |
7921 | 11718 | |
7922 | 11719 | =begin original |
7923 | 11720 | |
7924 | 11721 | (F) An object with a C<qr> overload was used as part of a match, but the |
7925 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
11722 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
7926 | 11723 | |
7927 | 11724 | =end original |
7928 | 11725 | |
7929 | 11726 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として |
7930 | 11727 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を |
7931 | 11728 | 返しませんでした。 |
7932 | 11729 | L<overload> を参照してください。 |
7933 | 11730 | |
7934 | 11731 | =item %s package attribute may clash with future reserved word: %s |
7935 | 11732 | |
7936 | 11733 | =begin original |
7937 | 11734 | |
7938 | 11735 | (W reserved) A lowercase attribute name was used that had a |
7939 | 11736 | package-specific handler. That name might have a meaning to Perl itself |
7940 | 11737 | some day, even though it doesn't yet. Perhaps you should use a |
7941 | 11738 | mixed-case attribute name, instead. See L<attributes>. |
7942 | 11739 | |
7943 | 11740 | =end original |
7944 | 11741 | |
7945 | 11742 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
7946 | 11743 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
7947 | 11744 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
7948 | 11745 | L<attributes> を参照してください。 |
7949 | 11746 | |
7950 | 11747 | =item pack/unpack repeat count overflow |
7951 | 11748 | |
7952 | 11749 | =begin original |
7953 | 11750 | |
7954 | 11751 | (F) You can't specify a repeat count so large that it overflows your |
7955 | 11752 | signed integers. See L<perlfunc/pack>. |
7956 | 11753 | |
7957 | 11754 | =end original |
7958 | 11755 | |
7959 | 11756 | (F) 繰り返し回数として符号付き整数をオーバーフローするような |
7960 | 11757 | 値は指定できません。 |
7961 | 11758 | L<perlfunc/pack> を参照してください。 |
7962 | 11759 | |
7963 | 11760 | =item page overflow |
7964 | 11761 | |
7965 | 11762 | =begin original |
7966 | 11763 | |
7967 | 11764 | (W io) A single call to write() produced more lines than can fit on a |
7968 | 11765 | page. See L<perlform>. |
7969 | 11766 | |
7970 | 11767 | =end original |
7971 | 11768 | |
7972 | 11769 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が |
7973 | 11770 | できました。 |
7974 | 11771 | L<perlform> を参照してください。 |
7975 | 11772 | |
7976 | 11773 | =item panic: %s |
7977 | 11774 | |
7978 | 11775 | =begin original |
7979 | 11776 | |
7980 | 11777 | (P) An internal error. |
7981 | 11778 | |
7982 | 11779 | =end original |
7983 | 11780 | |
7984 | 11781 | (P) 内部エラーです。 |
7985 | 11782 | |
7986 | 11783 | =item panic: attempt to call %s in %s |
7987 | 11784 | |
7988 | 11785 | =begin original |
7989 | 11786 | |
7990 | 11787 | (P) One of the file test operators entered a code branch that calls |
7991 | 11788 | an ACL related-function, but that function is not available on this |
7992 | 11789 | platform. Earlier checks mean that it should not be possible to |
7993 | 11790 | enter this branch on this platform. |
7994 | 11791 | |
7995 | 11792 | =end original |
7996 | 11793 | |
7997 | 11794 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に |
7998 | 11795 | 入りましたが、この関数はこのプラットフォームでは利用できません。 |
7999 | 11796 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように |
8000 | 11797 | するべきことを意味します。 |
8001 | 11798 | |
8002 | =item panic: c | |
11799 | =item panic: child pseudo-process was never scheduled | |
8003 | 11800 | |
8004 | 11801 | =begin original |
8005 | 11802 | |
8006 | (P) | |
11803 | (P) A child pseudo-process in the ithreads implementation on Windows | |
11804 | was not scheduled within the time period allowed and therefore was not | |
11805 | able to initialize properly. | |
8007 | 11806 | |
8008 | 11807 | =end original |
8009 | 11808 | |
8010 | (P) | |
11809 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に | |
8011 | ||
11810 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
8012 | 11811 | |
8013 | =item panic: ck_ | |
11812 | =item panic: ck_grep, type=%u | |
8014 | 11813 | |
8015 | 11814 | =begin original |
8016 | 11815 | |
8017 | (P) Failed an internal consistency check trying to compile a | |
11816 | (P) Failed an internal consistency check trying to compile a grep. | |
8018 | 11817 | |
8019 | 11818 | =end original |
8020 | 11819 | |
8021 | (P) | |
11820 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
8022 | 11821 | 引っ掛かりました。 |
8023 | 11822 | |
8024 | =item panic: corrupt saved stack index | |
11823 | =item panic: corrupt saved stack index %ld | |
8025 | 11824 | |
8026 | 11825 | =begin original |
8027 | 11826 | |
8028 | 11827 | (P) The savestack was requested to restore more localized values than |
8029 | 11828 | there are in the savestack. |
8030 | 11829 | |
8031 | 11830 | =end original |
8032 | 11831 | |
8033 | 11832 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
8034 | 11833 | 要求がありました。 |
8035 | 11834 | |
8036 | 11835 | =item panic: del_backref |
8037 | 11836 | |
8038 | 11837 | =begin original |
8039 | 11838 | |
8040 | 11839 | (P) Failed an internal consistency check while trying to reset a weak |
8041 | 11840 | reference. |
8042 | 11841 | |
8043 | 11842 | =end original |
8044 | 11843 | |
8045 | 11844 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
8046 | 11845 | 一貫性チェックに引っ掛かりました。 |
8047 | 11846 | |
8048 | =item panic: Devel::DProf inconsistent subroutine return | |
8049 | ||
8050 | =begin original | |
8051 | ||
8052 | (P) Devel::DProf called a subroutine that exited using goto(LABEL), | |
8053 | last(LABEL) or next(LABEL). Leaving that way a subroutine called from | |
8054 | an XSUB will lead very probably to a crash of the interpreter. This is | |
8055 | a bug that will hopefully one day get fixed. | |
8056 | ||
8057 | =end original | |
8058 | ||
8059 | (P) Devel::DProf が goto(LABEL), last(LABEL), next(LABEL) を使って | |
8060 | 終了したサブルーチンを呼び出しました。 | |
8061 | XSUB から呼び出されたサブルーチンをこのような方法で離れると、 | |
8062 | インタプリタをクラッシュさせる可能性がとても高いです。 | |
8063 | これはいつか修正されてほしいバグです。 | |
8064 | ||
8065 | =item panic: die %s | |
8066 | ||
8067 | =begin original | |
8068 | ||
8069 | (P) We popped the context stack to an eval context, and then discovered | |
8070 | it wasn't an eval context. | |
8071 | ||
8072 | =end original | |
8073 | ||
8074 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
8075 | eval コンテキストでないことがわかりました。 | |
8076 | ||
8077 | =item panic: do_subst | |
8078 | ||
8079 | =begin original | |
8080 | ||
8081 | (P) The internal pp_subst() routine was called with invalid operational | |
8082 | data. | |
8083 | ||
8084 | =end original | |
8085 | ||
8086 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを | |
8087 | 付けて呼ばれました。 | |
8088 | ||
8089 | =item panic: do_trans_%s | |
8090 | ||
8091 | =begin original | |
8092 | ||
8093 | (P) The internal do_trans routines were called with invalid operational | |
8094 | data. | |
8095 | ||
8096 | =end original | |
8097 | ||
8098 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを | |
8099 | 付けて呼ばれました。 | |
8100 | ||
8101 | 11847 | =item panic: fold_constants JMPENV_PUSH returned %d |
8102 | 11848 | |
8103 | 11849 | =begin original |
8104 | 11850 | |
8105 | 11851 | (P) While attempting folding constants an exception other than an C<eval> |
8106 | 11852 | failure was caught. |
8107 | 11853 | |
8108 | 11854 | =end original |
8109 | 11855 | |
8110 | 11856 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 |
8111 | 11857 | |
8112 | =item panic: frexp | |
11858 | =item panic: frexp: %f | |
8113 | 11859 | |
8114 | 11860 | =begin original |
8115 | 11861 | |
8116 | 11862 | (P) The library function frexp() failed, making printf("%f") impossible. |
8117 | 11863 | |
8118 | 11864 | =end original |
8119 | 11865 | |
8120 | 11866 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
8121 | 11867 | |
8122 | =item panic: goto | |
11868 | =item panic: goto, type=%u, ix=%ld | |
8123 | 11869 | |
8124 | 11870 | =begin original |
8125 | 11871 | |
8126 | 11872 | (P) We popped the context stack to a context with the specified label, |
8127 | 11873 | and then discovered it wasn't a context we know how to do a goto in. |
8128 | 11874 | |
8129 | 11875 | =end original |
8130 | 11876 | |
8131 | 11877 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
8132 | 11878 | ポップしたあと、どのように goto するかがわかっている |
8133 | 11879 | コンテキストでないことがわかりました。 |
8134 | 11880 | |
8135 | 11881 | =item panic: gp_free failed to free glob pointer |
8136 | 11882 | |
8137 | 11883 | =begin original |
8138 | 11884 | |
8139 | 11885 | (P) The internal routine used to clear a typeglob's entries tried |
8140 | repeatedly, but each time something re-created entries in the glob. | |
11886 | repeatedly, but each time something re-created entries in the glob. | |
8141 | likely the glob contains an object with a reference back to | |
11887 | Most likely the glob contains an object with a reference back to | |
8142 | destructor that adds a new object to the glob. | |
11888 | the glob and a destructor that adds a new object to the glob. | |
8143 | 11889 | |
8144 | 11890 | =end original |
8145 | 11891 | |
8146 | 11892 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 |
8147 | 11893 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 |
8148 | 11894 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを |
8149 | 11895 | 追加するデストラクタを持つオブジェクトが含まれています。 |
8150 | 11896 | |
8151 | =item panic: | |
11897 | =item panic: INTERPCASEMOD, %s | |
8152 | 11898 | |
8153 | 11899 | =begin original |
8154 | 11900 | |
8155 | (P) The internal routine used to clear a hash's entries tried repeatedly, | |
8156 | but each time something added more entries to the hash. Most likely the hash | |
8157 | contains an object with a reference back to the hash and a destructor that | |
8158 | adds a new object to the hash. | |
8159 | ||
8160 | =end original | |
8161 | ||
8162 | (P) ハッシュ要素をクリアするための内部ルーチンが何度か実行されましたが、 | |
8163 | 実行される毎に何かがハッシュに要素を追加しました。 | |
8164 | 最もありそうなのは、ハッシュが、そのハッシュへのリファレンスがある | |
8165 | オブジェクトと、ハッシュへの新しいオブジェクトを追加するデストラクタを | |
8166 | 含む場合です。 | |
8167 | ||
8168 | =item panic: INTERPCASEMOD | |
8169 | ||
8170 | =begin original | |
8171 | ||
8172 | 11901 | (P) The lexer got into a bad state at a case modifier. |
8173 | 11902 | |
8174 | 11903 | =end original |
8175 | 11904 | |
8176 | 11905 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
8177 | 11906 | |
8178 | =item panic: INTERPCONCAT | |
11907 | =item panic: INTERPCONCAT, %s | |
8179 | 11908 | |
8180 | 11909 | =begin original |
8181 | 11910 | |
8182 | 11911 | (P) The lexer got into a bad state parsing a string with brackets. |
8183 | 11912 | |
8184 | 11913 | =end original |
8185 | 11914 | |
8186 | 11915 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 |
8187 | 11916 | |
8188 | 11917 | =item panic: kid popen errno read |
8189 | 11918 | |
8190 | 11919 | =begin original |
8191 | 11920 | |
8192 | (F) forked child returned an incomprehensible message about its errno. | |
11921 | (F) A forked child returned an incomprehensible message about its errno. | |
8193 | 11922 | |
8194 | 11923 | =end original |
8195 | 11924 | |
8196 | 11925 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
8197 | 11926 | |
8198 | =item panic: last | |
11927 | =item panic: leave_scope inconsistency %u | |
8199 | 11928 | |
8200 | 11929 | =begin original |
8201 | 11930 | |
8202 | (P) We popped the context stack to a block context, and then discovered | |
8203 | it wasn't a block context. | |
8204 | ||
8205 | =end original | |
8206 | ||
8207 | (P) block コンテキストへコンテキストスタックをポップしたあと、 | |
8208 | block コンテキストでないことがわかりました。 | |
8209 | ||
8210 | =item panic: leave_scope clearsv | |
8211 | ||
8212 | =begin original | |
8213 | ||
8214 | (P) A writable lexical variable became read-only somehow within the | |
8215 | scope. | |
8216 | ||
8217 | =end original | |
8218 | ||
8219 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で | |
8220 | リードオンリーになりました。 | |
8221 | ||
8222 | =item panic: leave_scope inconsistency | |
8223 | ||
8224 | =begin original | |
8225 | ||
8226 | 11931 | (P) The savestack probably got out of sync. At least, there was an |
8227 | 11932 | invalid enum on the top of it. |
8228 | 11933 | |
8229 | 11934 | =end original |
8230 | 11935 | |
8231 | 11936 | (P) おそらく、セーブスタックの同期がとれていません。 |
8232 | 11937 | 少なくとも、トップに不正な enum がありました。 |
8233 | 11938 | |
8234 | 11939 | =item panic: magic_killbackrefs |
8235 | 11940 | |
8236 | 11941 | =begin original |
8237 | 11942 | |
8238 | 11943 | (P) Failed an internal consistency check while trying to reset all weak |
8239 | 11944 | references to an object. |
8240 | 11945 | |
8241 | 11946 | =end original |
8242 | 11947 | |
8243 | 11948 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
8244 | 11949 | 一貫性チェックに引っ掛かりました。 |
8245 | 11950 | |
8246 | =item panic: malloc | |
11951 | =item panic: malloc, %s | |
8247 | 11952 | |
8248 | 11953 | =begin original |
8249 | 11954 | |
8250 | 11955 | (P) Something requested a negative number of bytes of malloc. |
8251 | 11956 | |
8252 | 11957 | =end original |
8253 | 11958 | |
8254 | 11959 | (P) malloc に負のバイト数で要求が行なわれました。 |
8255 | 11960 | |
8256 | 11961 | =item panic: memory wrap |
8257 | 11962 | |
8258 | 11963 | =begin original |
8259 | 11964 | |
8260 | (P) Something tried to allocate more memory than possible | |
11965 | (P) Something tried to allocate either more memory than possible or a | |
11966 | negative amount. | |
8261 | 11967 | |
8262 | 11968 | =end original |
8263 | 11969 | |
8264 | (P) 何かが、確保可能な量を超えるメモリを確保しようとしました。 | |
11970 | (P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。 | |
8265 | 11971 | |
8266 | =item panic: | |
11972 | =item panic: newFORLOOP, %s | |
8267 | 11973 | |
8268 | 11974 | =begin original |
8269 | 11975 | |
11976 | (P) The parser failed an internal consistency check while trying to parse | |
11977 | a C<foreach> loop. | |
11978 | ||
11979 | =end original | |
11980 | ||
11981 | (P) The parser failed an internal consistency check while trying to parse | |
11982 | a | |
11983 | パーサは、C<foreach> ループをパースしようとするときに、内部の | |
11984 | 一貫性チェックに失敗しました。 | |
11985 | ||
11986 | =item panic: pad_alloc, %p!=%p | |
11987 | ||
11988 | =begin original | |
11989 | ||
8270 | 11990 | (P) The compiler got confused about which scratch pad it was allocating |
8271 | 11991 | and freeing temporaries and lexicals from. |
8272 | 11992 | |
8273 | 11993 | =end original |
8274 | 11994 | |
8275 | 11995 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
8276 | 11996 | スクラッチパッドについて混乱しました。 |
8277 | 11997 | |
8278 | =item panic: pad_free curpad | |
11998 | =item panic: pad_free curpad, %p!=%p | |
8279 | 11999 | |
8280 | 12000 | =begin original |
8281 | 12001 | |
8282 | 12002 | (P) The compiler got confused about which scratch pad it was allocating |
8283 | 12003 | and freeing temporaries and lexicals from. |
8284 | 12004 | |
8285 | 12005 | =end original |
8286 | 12006 | |
8287 | 12007 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
8288 | 12008 | スクラッチパッドについて混乱しました。 |
8289 | 12009 | |
8290 | 12010 | =item panic: pad_free po |
8291 | 12011 | |
8292 | 12012 | =begin original |
8293 | 12013 | |
8294 | (P) A | |
12014 | (P) A zero scratch pad offset was detected internally. An attempt was | |
12015 | made to free a target that had not been allocated to begin with. | |
8295 | 12016 | |
8296 | 12017 | =end original |
8297 | 12018 | |
8298 | (P) | |
12019 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
12020 | 始めるために割り当てられていないターゲットを解放しようとしました。 | |
8299 | 12021 | |
8300 | =item panic: pad_reset curpad | |
12022 | =item panic: pad_reset curpad, %p!=%p | |
8301 | 12023 | |
8302 | 12024 | =begin original |
8303 | 12025 | |
8304 | 12026 | (P) The compiler got confused about which scratch pad it was allocating |
8305 | 12027 | and freeing temporaries and lexicals from. |
8306 | 12028 | |
8307 | 12029 | =end original |
8308 | 12030 | |
8309 | 12031 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
8310 | 12032 | スクラッチパッドについて混乱しました。 |
8311 | 12033 | |
8312 | 12034 | =item panic: pad_sv po |
8313 | 12035 | |
8314 | 12036 | =begin original |
8315 | 12037 | |
8316 | (P) A | |
12038 | (P) A zero scratch pad offset was detected internally. Most likely | |
12039 | an operator needed a target but that target had not been allocated | |
12040 | for whatever reason. | |
8317 | 12041 | |
8318 | 12042 | =end original |
8319 | 12043 | |
8320 | (P) | |
12044 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
12045 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で | |
12046 | 割り当てられていません。 | |
8321 | 12047 | |
8322 | =item panic: pad_swipe curpad | |
12048 | =item panic: pad_swipe curpad, %p!=%p | |
8323 | 12049 | |
8324 | 12050 | =begin original |
8325 | 12051 | |
8326 | 12052 | (P) The compiler got confused about which scratch pad it was allocating |
8327 | 12053 | and freeing temporaries and lexicals from. |
8328 | 12054 | |
8329 | 12055 | =end original |
8330 | 12056 | |
8331 | 12057 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
8332 | 12058 | スクラッチパッドについて混乱しました。 |
8333 | 12059 | |
8334 | 12060 | =item panic: pad_swipe po |
8335 | 12061 | |
8336 | 12062 | =begin original |
8337 | 12063 | |
8338 | 12064 | (P) An invalid scratch pad offset was detected internally. |
8339 | 12065 | |
8340 | 12066 | =end original |
8341 | 12067 | |
8342 | 12068 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
8343 | 12069 | |
8344 | =item panic: pp_iter | |
12070 | =item panic: pp_iter, type=%u | |
8345 | 12071 | |
8346 | 12072 | =begin original |
8347 | 12073 | |
8348 | 12074 | (P) The foreach iterator got called in a non-loop context frame. |
8349 | 12075 | |
8350 | 12076 | =end original |
8351 | 12077 | |
8352 | 12078 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
8353 | 12079 | |
8354 | 12080 | =item panic: pp_match%s |
8355 | 12081 | |
8356 | 12082 | =begin original |
8357 | 12083 | |
8358 | 12084 | (P) The internal pp_match() routine was called with invalid operational |
8359 | 12085 | data. |
8360 | 12086 | |
8361 | 12087 | =end original |
8362 | 12088 | |
8363 | 12089 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを |
8364 | 12090 | 付けて呼ばれました。 |
8365 | 12091 | |
8366 | =item panic: | |
12092 | =item panic: realloc, %s | |
8367 | 12093 | |
8368 | 12094 | =begin original |
8369 | 12095 | |
8370 | (P) Something | |
12096 | (P) Something requested a negative number of bytes of realloc. | |
8371 | 12097 | |
8372 | 12098 | =end original |
8373 | 12099 | |
8374 | (P) | |
12100 | (P) 何か、realloc に負のバイト数を要求したものがあります。 | |
8375 | 12101 | |
8376 | =item panic: re | |
12102 | =item panic: reference miscount on nsv in sv_replace() (%d != 1) | |
8377 | 12103 | |
8378 | 12104 | =begin original |
8379 | 12105 | |
8380 | (P) | |
12106 | (P) The internal sv_replace() function was handed a new SV with a | |
12107 | reference count other than 1. | |
8381 | 12108 | |
8382 | 12109 | =end original |
8383 | 12110 | |
8384 | (P) | |
12111 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を | |
12112 | 扱いました。 | |
8385 | 12113 | |
8386 | =item panic: restartop | |
12114 | =item panic: restartop in %s | |
8387 | 12115 | |
8388 | 12116 | =begin original |
8389 | 12117 | |
8390 | 12118 | (P) Some internal routine requested a goto (or something like it), and |
8391 | 12119 | didn't supply the destination. |
8392 | 12120 | |
8393 | 12121 | =end original |
8394 | 12122 | |
8395 | 12123 | (P) 内部ルーティンから goto (または、同じようなもの) が |
8396 | 12124 | 要求されましたが、飛び先が与えれていません。 |
8397 | 12125 | |
8398 | =item panic: return | |
12126 | =item panic: return, type=%u | |
8399 | 12127 | |
8400 | 12128 | =begin original |
8401 | 12129 | |
8402 | 12130 | (P) We popped the context stack to a subroutine or eval context, and |
8403 | 12131 | then discovered it wasn't a subroutine or eval context. |
8404 | 12132 | |
8405 | 12133 | =end original |
8406 | 12134 | |
8407 | 12135 | (P) サブルーチンコンテキストや eval コンテキストへ、 |
8408 | 12136 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや |
8409 | 12137 | eval コンテキストでないことがわかりました。 |
8410 | 12138 | |
8411 | =item panic: scan_num | |
12139 | =item panic: scan_num, %s | |
8412 | 12140 | |
8413 | 12141 | =begin original |
8414 | 12142 | |
8415 | 12143 | (P) scan_num() got called on something that wasn't a number. |
8416 | 12144 | |
8417 | 12145 | =end original |
8418 | 12146 | |
8419 | 12147 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
8420 | 12148 | |
12149 | =item panic: Sequence (?{...}): no code block found in regex m/%s/ | |
12150 | ||
12151 | =begin original | |
12152 | ||
12153 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code | |
12154 | blocks, perl couldn't locate the code block that should have already been | |
12155 | seen and compiled by perl before control passed to the regex compiler. | |
12156 | ||
12157 | =end original | |
12158 | ||
12159 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
12160 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
12161 | コンパイルされているコードブロックを発見できませんでした。 | |
12162 | ||
8421 | 12163 | =item panic: sv_chop %s |
8422 | 12164 | |
8423 | 12165 | =begin original |
8424 | 12166 | |
8425 | 12167 | (P) The sv_chop() routine was passed a position that is not within the |
8426 | 12168 | scalar's string buffer. |
8427 | 12169 | |
8428 | 12170 | =end original |
8429 | 12171 | |
8430 | 12172 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を |
8431 | 12173 | 渡されました。 |
8432 | 12174 | |
8433 | =item panic: sv_insert | |
12175 | =item panic: sv_insert, midend=%p, bigend=%p | |
8434 | 12176 | |
8435 | 12177 | =begin original |
8436 | 12178 | |
8437 | 12179 | (P) The sv_insert() routine was told to remove more string than there |
8438 | 12180 | was string. |
8439 | 12181 | |
8440 | 12182 | =end original |
8441 | 12183 | |
8442 | 12184 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
8443 | 12185 | 指示されました。 |
8444 | 12186 | |
8445 | 12187 | =item panic: top_env |
8446 | 12188 | |
8447 | 12189 | =begin original |
8448 | 12190 | |
8449 | 12191 | (P) The compiler attempted to do a goto, or something weird like that. |
8450 | 12192 | |
8451 | 12193 | =end original |
8452 | 12194 | |
8453 | 12195 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
8454 | 12196 | |
12197 | =item panic: unexpected constant lvalue entersub entry via type/targ %d:%d | |
12198 | ||
12199 | =begin original | |
12200 | ||
12201 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
12202 | internal consistency check. It encountered a malformed op tree. | |
12203 | ||
12204 | =end original | |
12205 | ||
12206 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
12207 | 内部一貫性チェックに失敗しました。 | |
12208 | 不正な構文木に遭遇しました。 | |
12209 | ||
8455 | 12210 | =item panic: unimplemented op %s (#%d) called |
8456 | 12211 | |
8457 | 12212 | =begin original |
8458 | 12213 | |
8459 | 12214 | (P) The compiler is screwed up and attempted to use an op that isn't |
8460 | 12215 | permitted at run time. |
8461 | 12216 | |
8462 | 12217 | =end original |
8463 | 12218 | |
8464 | 12219 | (P) コンパイラがおかしくなって、実行時に許可されていない op を |
8465 | 12220 | しようとしました。 |
8466 | 12221 | |
12222 | =item panic: unknown OA_*: %x | |
12223 | ||
12224 | =begin original | |
12225 | ||
12226 | (P) The internal routine that handles arguments to C<&CORE::foo()> | |
12227 | subroutine calls was unable to determine what type of arguments | |
12228 | were expected. | |
12229 | ||
12230 | =end original | |
12231 | ||
12232 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 | |
12233 | どの種類の引数が想定されているかを決定できませんでした。 | |
12234 | ||
8467 | 12235 | =item panic: utf16_to_utf8: odd bytelen |
8468 | 12236 | |
8469 | 12237 | =begin original |
8470 | 12238 | |
8471 | 12239 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
8472 | 12240 | to even) byte length. |
8473 | 12241 | |
8474 | 12242 | =end original |
8475 | 12243 | |
8476 | 12244 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
8477 | 12245 | 呼び出そうとしました。 |
8478 | 12246 | |
8479 | 12247 | =item panic: utf16_to_utf8_reversed: odd bytelen |
8480 | 12248 | |
8481 | 12249 | =begin original |
8482 | 12250 | |
8483 | 12251 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed |
8484 | 12252 | to even) byte length. |
8485 | 12253 | |
8486 | 12254 | =end original |
8487 | 12255 | |
8488 | 12256 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 |
8489 | 12257 | |
8490 | =item panic: yylex | |
12258 | =item panic: yylex, %s | |
8491 | 12259 | |
8492 | 12260 | =begin original |
8493 | 12261 | |
8494 | 12262 | (P) The lexer got into a bad state while processing a case modifier. |
8495 | 12263 | |
8496 | 12264 | =end original |
8497 | 12265 | |
8498 | 12266 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 |
8499 | 12267 | |
8500 | =item Par | |
12268 | =item Parentheses missing around "%s" list | |
8501 | 12269 | |
8502 | 12270 | =begin original |
8503 | 12271 | |
8504 | ( | |
12272 | (W parenthesis) You said something like | |
8505 | a detectable way. | |
8506 | 12273 | |
8507 | 12274 | =end original |
8508 | 12275 | |
8509 | ( | |
12276 | (W parenthesis) おそらく以下のようにしたのでしょう: | |
8510 | パーサの API に違反しています。 | |
8511 | 12277 | |
8512 | ||
12278 | my $foo, $bar = @_; | |
8513 | 12279 | |
8514 | 12280 | =begin original |
8515 | 12281 | |
8516 | ||
12282 | when you meant | |
8517 | consuming any text. Restructure the pattern so text is consumed before the | |
8518 | nesting limit is exceeded. | |
8519 | 12283 | |
8520 | 12284 | =end original |
8521 | 12285 | |
8522 | ||
12286 | 以下のようにすべきです: | |
8523 | パターンを使いました。 | |
8524 | ネストの制限を越える前にテキストを消費するようにパターンを | |
8525 | 再構成してください。 | |
8526 | 12287 | |
8527 | ||
12288 | my ($foo, $bar) = @_; | |
8528 | 12289 | |
8529 | The <-- HERE shows in the regular expression about where the problem was | |
8530 | discovered. | |
8531 | ||
8532 | =end original | |
8533 | ||
8534 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8535 | ||
8536 | =item Parentheses missing around "%s" list | |
8537 | ||
8538 | 12290 | =begin original |
8539 | 12291 | |
8540 | ||
12292 | Remember that "my", "our", "local" and "state" bind tighter than comma. | |
8541 | 12293 | |
8542 | 12294 | =end original |
8543 | 12295 | |
8544 | ||
12296 | "my", "our", "local", "state" は、コンマよりも強く結合することを | |
12297 | 忘れないでください。 | |
8545 | 12298 | |
8546 | ||
12299 | =item Parsing code internal error (%s) | |
8547 | 12300 | |
8548 | 12301 | =begin original |
8549 | 12302 | |
8550 | ||
12303 | (F) Parsing code supplied by an extension violated the parser's API in | |
12304 | a detectable way. | |
8551 | 12305 | |
8552 | 12306 | =end original |
8553 | 12307 | |
8554 | ||
12308 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
12309 | パーサの API に違反しています。 | |
8555 | 12310 | |
8556 | | |
12311 | =item Pattern subroutine nesting without pos change exceeded limit in regex | |
8557 | 12312 | |
8558 | 12313 | =begin original |
8559 | 12314 | |
8560 | ||
12315 | (F) You used a pattern that uses too many nested subpattern calls without | |
12316 | consuming any text. Restructure the pattern so text is consumed before | |
12317 | the nesting limit is exceeded. | |
8561 | 12318 | |
8562 | 12319 | =end original |
8563 | 12320 | |
8564 | ||
12321 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
8565 | ||
12322 | パターンを使いました。 | |
12323 | ネストの制限を越える前にテキストを消費するようにパターンを | |
12324 | 再構成してください。 | |
8566 | 12325 | |
8567 | 12326 | =item C<-p> destination: %s |
8568 | 12327 | |
8569 | 12328 | =begin original |
8570 | 12329 | |
8571 | 12330 | (F) An error occurred during the implicit output invoked by the C<-p> |
8572 | 12331 | command-line switch. (This output goes to STDOUT unless you've |
8573 | 12332 | redirected it with select().) |
8574 | 12333 | |
8575 | 12334 | =end original |
8576 | 12335 | |
8577 | 12336 | (F) C<-p> コマンドラインオプションで起動された |
8578 | 12337 | 暗黙の出力中にエラーが発生しました。 |
8579 | 12338 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) |
8580 | 12339 | |
8581 | =item | |
12340 | =item Perl API version %s of %s does not match %s | |
8582 | 12341 | |
8583 | 12342 | =begin original |
8584 | 12343 | |
8585 | (F) Th | |
12344 | (F) The XS module in question was compiled against a different incompatible | |
8586 | ||
12345 | version of Perl than the one that has loaded the XS module. | |
8587 | that a method requires a package that has not been loaded. | |
8588 | 12346 | |
8589 | 12347 | =end original |
8590 | 12348 | |
8591 | (F) こ | |
12349 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの | |
8592 | ||
12350 | Perl 用にコンパイルされたものです。 | |
8593 | これはしばしばメソッドがまだロードされていないパッケージを | |
8594 | 要求していることを意味します。 | |
8595 | 12351 | |
8596 | =item Perl folding rules are not up-to-date for 0x% | |
12352 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug | |
12353 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ | |
8597 | 12354 | |
8598 | 12355 | =begin original |
8599 | 12356 | |
8600 | ( | |
12357 | (S regexp) You used a regular expression with case-insensitive matching, | |
8601 | ||
12358 | and there is a bug in Perl in which the built-in regular expression | |
8602 | ||
12359 | folding rules are not accurate. This may lead to incorrect results. | |
8603 | ||
12360 | Please report this as a bug to L<https://github.com/Perl/perl5/issues/new/choose>. | |
8604 | "perlbug" utility. (This message is marked deprecated, so that it by | |
8605 | default will be turned-on.) | |
8606 | 12361 | |
8607 | 12362 | =end original |
8608 | 12363 | |
8609 | ( | |
12364 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして | |
8610 | ||
12365 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 | |
8611 | Perl のバグがありました。 | |
8612 | 12366 | これは間違った結果を引き起こします。 |
8613 | どうか | |
12367 | どうか L<https://github.com/Perl/perl5/issues/new/choose> に | |
8614 | ||
12368 | バグとして報告してください。 | |
8615 | オンになっています。) | |
8616 | 12369 | |
8617 | 12370 | =item Perl_my_%s() not available |
8618 | 12371 | |
8619 | 12372 | =begin original |
8620 | 12373 | |
8621 | 12374 | (F) Your platform has very uncommon byte-order and integer size, |
8622 | 12375 | so it was not possible to set up some or all fixed-width byte-order |
8623 | 12376 | conversion functions. This is only a problem when you're using the |
8624 | 12377 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. |
8625 | 12378 | |
8626 | 12379 | =end original |
8627 | 12380 | |
8628 | 12381 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを |
8629 | 12382 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 |
8630 | 12383 | これは (un)pack テンプレートの中で |
8631 | 12384 | '<' か '>' の修飾子を使った場合にのみ問題となります。 |
8632 | 12385 | L<perlfunc/pack> を参照してください。 |
8633 | 12386 | |
8634 | =item Perl %s required--this is only | |
12387 | =item Perl %s required (did you mean %s?)--this is only %s, stopped | |
8635 | 12388 | |
8636 | 12389 | =begin original |
8637 | 12390 | |
12391 | (F) The code you are trying to run has asked for a newer version of | |
12392 | Perl than you are running. Perhaps C<use 5.10> was written instead | |
12393 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is | |
12394 | interpreted as a decimal, with every three digits after the | |
12395 | decimal point representing a part of the version number. So 5.10 | |
12396 | is equivalent to v5.100. | |
12397 | ||
12398 | =end original | |
12399 | ||
12400 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを | |
12401 | 尋ねました。 | |
12402 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と | |
12403 | 書かれているのでしょう。 | |
12404 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の | |
12405 | 部分を表現していると解釈されます。 | |
12406 | それで、5.10 は v5.100 と等価です。 | |
12407 | ||
12408 | =item Perl %s required--this is only %s, stopped | |
12409 | ||
12410 | =begin original | |
12411 | ||
8638 | 12412 | (F) The module in question uses features of a version of Perl more |
8639 | 12413 | recent than the currently running version. How long has it been since |
8640 | 12414 | you upgraded, anyway? See L<perlfunc/require>. |
8641 | 12415 | |
8642 | 12416 | =end original |
8643 | 12417 | |
8644 | 12418 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
8645 | 12419 | 機能を使っています。 |
8646 | 12420 | ところで、いつからアップグレードしていないのですか? |
8647 | 12421 | L<perlfunc/require> を参照してください。 |
8648 | 12422 | |
8649 | 12423 | =item PERL_SH_DIR too long |
8650 | 12424 | |
8651 | 12425 | =begin original |
8652 | 12426 | |
8653 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
12427 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
8654 | 12428 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
8655 | 12429 | |
8656 | 12430 | =end original |
8657 | 12431 | |
8658 | 12432 | (F) OS/2 固有のエラーです。 |
8659 | 12433 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
8660 | 12434 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
8661 | 12435 | |
8662 | 12436 | =item PERL_SIGNALS illegal: "%s" |
8663 | 12437 | |
8664 | 12438 | =begin original |
8665 | 12439 | |
8666 | See L<perlrun/PERL_SIGNALS> for legal values. | |
12440 | (X) See L<perlrun/PERL_SIGNALS> for legal values. | |
8667 | 12441 | |
8668 | 12442 | =end original |
8669 | 12443 | |
8670 | 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
12444 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
8671 | 12445 | |
12446 | =item Perls since %s too modern--this is %s, stopped | |
12447 | ||
12448 | =begin original | |
12449 | ||
12450 | (F) The code you are trying to run claims it will not run | |
12451 | on the version of Perl you are using because it is too new. | |
12452 | Maybe the code needs to be updated, or maybe it is simply | |
12453 | wrong and the version check should just be removed. | |
12454 | ||
12455 | =end original | |
12456 | ||
12457 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると | |
12458 | 主張しています。 | |
12459 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に | |
12460 | バージョンチェックを削除するべきかもしれません。 | |
12461 | ||
12462 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
12463 | ||
12464 | =begin original | |
12465 | ||
12466 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
12467 | contained a non hex character. This could mean you are not using the | |
12468 | hash seed you think you are. | |
12469 | ||
12470 | =end original | |
12471 | ||
12472 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
12473 | 非 16 進数文字を含む必要があります。 | |
12474 | これは、考えているようなハッシュの種が使われないことを | |
12475 | 意味しているかもしれません。 | |
12476 | ||
8672 | 12477 | =item perl: warning: Setting locale failed. |
8673 | 12478 | |
8674 | 12479 | =begin original |
8675 | 12480 | |
8676 | 12481 | (S) The whole warning message will look something like: |
8677 | 12482 | |
8678 | 12483 | =end original |
8679 | 12484 | |
8680 | 12485 | (S) 警告全体は以下のような形になります: |
8681 | 12486 | |
8682 | 12487 | perl: warning: Setting locale failed. |
8683 | 12488 | perl: warning: Please check that your locale settings: |
8684 | 12489 | LC_ALL = "En_US", |
8685 | 12490 | LANG = (unset) |
8686 | 12491 | are supported and installed on your system. |
8687 | 12492 | perl: warning: Falling back to the standard locale ("C"). |
8688 | 12493 | |
8689 | 12494 | =begin original |
8690 | 12495 | |
8691 | 12496 | Exactly what were the failed locale settings varies. In the above the |
8692 | 12497 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
8693 | 12498 | This error means that Perl detected that you and/or your operating |
8694 | 12499 | system supplier and/or system administrator have set up the so-called |
8695 | 12500 | locale system but Perl could not use those settings. This was not |
8696 | 12501 | dead serious, fortunately: there is a "default locale" called "C" that |
8697 | 12502 | Perl can and will use, and the script will be run. Before you really |
8698 | 12503 | fix the problem, however, you will get the same error message each |
8699 | 12504 | time you run Perl. How to really fix the problem can be found in |
8700 | 12505 | L<perllocale> section B<LOCALE PROBLEMS>. |
8701 | 12506 | |
8702 | 12507 | =end original |
8703 | 12508 | |
8704 | 12509 | 正確にどのロケール設定が失敗したのかは様々です。 |
8705 | 12510 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
8706 | 12511 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
8707 | 12512 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
8708 | 12513 | 検出したことを意味します。 |
8709 | 12514 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
8710 | 12515 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
8711 | 12516 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
8712 | 12517 | メッセージが表示されます。 |
8713 | 12518 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
8714 | 12519 | 章にあります。 |
8715 | 12520 | |
12521 | =item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s' | |
12522 | ||
12523 | =begin original | |
12524 | ||
12525 | (S) Perl was run with the environment variable PERL_PERTURB_KEYS defined | |
12526 | but containing an unexpected value. The legal values of this setting | |
12527 | are as follows. | |
12528 | ||
12529 | =end original | |
12530 | ||
12531 | (S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが | |
12532 | 想定外の値でした。 | |
12533 | この設定の正当な値は以下のものです。 | |
12534 | ||
12535 | Numeric | String | Result | |
12536 | --------+---------------+----------------------------------------- | |
12537 | 0 | NO | Disables key traversal randomization | |
12538 | 1 | RANDOM | Enables full key traversal randomization | |
12539 | 2 | DETERMINISTIC | Enables repeatable key traversal | |
12540 | | | randomization | |
12541 | ||
12542 | =begin original | |
12543 | ||
12544 | Both numeric and string values are accepted, but note that string values are | |
12545 | case sensitive. The default for this setting is "RANDOM" or 1. | |
12546 | ||
12547 | =end original | |
12548 | ||
12549 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
12550 | 区別することに注意してください。 | |
12551 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
12552 | ||
8716 | 12553 | =item pid %x not a child |
8717 | 12554 | |
8718 | 12555 | =begin original |
8719 | 12556 | |
8720 | 12557 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
8721 | 12558 | process which isn't a subprocess of the current process. While this is |
8722 | 12559 | fine from VMS' perspective, it's probably not what you intended. |
8723 | 12560 | |
8724 | 12561 | =end original |
8725 | 12562 | |
8726 | 12563 | (W exec) VMS に固有の警告です。 |
8727 | 12564 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
8728 | 12565 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
8729 | 12566 | ないでしょう。 |
8730 | 12567 | |
8731 | 12568 | =item 'P' must have an explicit size in unpack |
8732 | 12569 | |
8733 | 12570 | =begin original |
8734 | 12571 | |
8735 | 12572 | (F) The unpack format P must have an explicit size, not "*". |
8736 | 12573 | |
8737 | 12574 | =end original |
8738 | 12575 | |
8739 | 12576 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを |
8740 | 12577 | 指定しなければなりません。 |
8741 | 12578 | |
8742 | =item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/ | |
12579 | =item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/ | |
8743 | 12580 | |
8744 | 12581 | =begin original |
8745 | 12582 | |
8746 | (F) The class in the character class [: :] syntax is unknown. The <-- HERE | |
12583 | (F) The class in the character class [: :] syntax is unknown. The S<<-- HERE> | |
8747 | shows in the regular expression | |
12584 | shows whereabouts in the regular expression the problem was discovered. | |
8748 | 12585 | Note that the POSIX character classes do B<not> have the C<is> prefix |
8749 | 12586 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, |
8750 | 12587 | not C<isprint>. See L<perlre>. |
8751 | 12588 | |
8752 | 12589 | =end original |
8753 | 12590 | |
8754 | 12591 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 |
8755 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12592 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8756 | 12593 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が |
8757 | 12594 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 |
8758 | 12595 | C<isprint> ではありません。 |
8759 | 12596 | L<perlre> を参照してください。 |
8760 | 12597 | |
8761 | 12598 | =item POSIX getpgrp can't take an argument |
8762 | 12599 | |
8763 | 12600 | =begin original |
8764 | 12601 | |
8765 | 12602 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike |
8766 | 12603 | the BSD version, which takes a pid. |
8767 | 12604 | |
8768 | 12605 | =end original |
8769 | 12606 | |
8770 | 12607 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの |
8771 | 12608 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 |
8772 | 12609 | |
8773 | =item POSIX syntax [% | |
12610 | =item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by | |
12611 | S<<-- HERE> in m/%s/ | |
8774 | 12612 | |
8775 | 12613 | =begin original |
8776 | 12614 | |
8777 | (W regexp) | |
12615 | (W regexp) Perl thinks that you intended to write a POSIX character | |
8778 | ||
12616 | class, but didn't use enough brackets. These POSIX class constructs [: | |
8779 | ||
12617 | :], [= =], and [. .] go I<inside> character classes, the [] are part of | |
8780 | ||
12618 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular | |
8781 | ||
12619 | expression pattern compiled to is probably not what you were intending. | |
8782 | ||
12620 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character | |
12621 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
12622 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
12623 | written C<qr/[[:alpha:]]/>. | |
8783 | 12624 | |
8784 | 12625 | =end original |
8785 | 12626 | |
8786 | (W regexp) | |
12627 | (W regexp) Perl は、あなたが POSIX 文字クラスを書くことを意図していると | |
8787 | ||
12628 | 考えましたが、大かっこが足りませんでした。 | |
12629 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
12630 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
12631 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
12632 | ないでしょう。 | |
12633 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
12634 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
12635 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
12636 | ||
12637 | =begin original | |
12638 | ||
12639 | Note that [= =] and [. .] are not currently | |
12640 | implemented; they are simply placeholders for future extensions and | |
12641 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular | |
12642 | expression the problem was discovered. See L<perlre>. | |
12643 | ||
12644 | =end original | |
12645 | ||
8788 | 12646 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
8789 | 12647 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
8790 | 12648 | 生成します。 |
8791 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12649 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8792 | 12650 | L<perlre> を参照してください。 |
8793 | 12651 | |
8794 | = | |
12652 | =begin original | |
8795 | 12653 | |
12654 | If the specification of the class was not completely valid, the message | |
12655 | indicates that. | |
12656 | ||
12657 | =end original | |
12658 | ||
12659 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
12660 | ||
12661 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
12662 | S<<-- HERE> in m/%s/ | |
12663 | ||
8796 | 12664 | =begin original |
8797 | 12665 | |
8798 | (F | |
12666 | (F) Within regular expression character classes ([]) the syntax beginning | |
8799 | ||
12667 | with "[." and ending with ".]" is reserved for future extensions. If you | |
8800 | ||
12668 | need to represent those character sequences inside a regular expression | |
8801 | ||
12669 | character class, just quote the square brackets with the backslash: "\[." | |
8802 | ||
12670 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
8803 | ||
12671 | problem was discovered. See L<perlre>. | |
8804 | 12672 | |
8805 | 12673 | =end original |
8806 | 12674 | |
8807 | (F | |
12675 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
8808 | 12676 | 終わる文法は将来の拡張のために予約されます。 |
8809 | 12677 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
8810 | 12678 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
8811 | 12679 | クォートしてください。 |
8812 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12680 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8813 | 12681 | L<perlre> を参照してください。 |
8814 | 12682 | |
8815 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
12683 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
12684 | S<<-- HERE> in m/%s/ | |
8816 | 12685 | |
8817 | 12686 | =begin original |
8818 | 12687 | |
8819 | 12688 | (F) Within regular expression character classes ([]) the syntax beginning |
8820 | 12689 | with "[=" and ending with "=]" is reserved for future extensions. If you |
8821 | 12690 | need to represent those character sequences inside a regular expression |
8822 | 12691 | character class, just quote the square brackets with the backslash: "\[=" |
8823 | and "=\]". The <-- HERE shows in the regular expression | |
12692 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
8824 | 12693 | problem was discovered. See L<perlre>. |
8825 | 12694 | |
8826 | 12695 | =end original |
8827 | 12696 | |
8828 | 12697 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
8829 | 12698 | 終わる文法は将来の拡張のために予約されます。 |
8830 | 12699 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
8831 | 12700 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
8832 | 12701 | クォートしてください。 |
8833 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12702 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8834 | 12703 | L<perlre> を参照してください。 |
8835 | 12704 | |
8836 | 12705 | =item Possible attempt to put comments in qw() list |
8837 | 12706 | |
8838 | 12707 | =begin original |
8839 | 12708 | |
8840 | 12709 | (W qw) qw() lists contain items separated by whitespace; as with literal |
8841 | 12710 | strings, comment characters are not ignored, but are instead treated as |
8842 | 12711 | literal data. (You may have used different delimiters than the |
8843 | 12712 | parentheses shown here; braces are also frequently used.) |
8844 | 12713 | |
8845 | 12714 | =end original |
8846 | 12715 | |
8847 | 12716 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
8848 | 12717 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
8849 | 12718 | (ここで使われているのと違うデリミタを用いているかもしれません; |
8850 | 12719 | 大かっこもよく使われます。) |
8851 | 12720 | |
8852 | 12721 | =begin original |
8853 | 12722 | |
8854 | 12723 | You probably wrote something like this: |
8855 | 12724 | |
8856 | 12725 | =end original |
8857 | 12726 | |
8858 | 12727 | おそらく以下のように書いたのでしょう: |
8859 | 12728 | |
8860 | 12729 | @list = qw( |
8861 | 12730 | a # a comment |
8862 | 12731 | b # another comment |
8863 | 12732 | ); |
8864 | 12733 | |
8865 | 12734 | =begin original |
8866 | 12735 | |
8867 | 12736 | when you should have written this: |
8868 | 12737 | |
8869 | 12738 | =end original |
8870 | 12739 | |
8871 | 12740 | 以下のように書くべきです: |
8872 | 12741 | |
8873 | 12742 | @list = qw( |
8874 | 12743 | a |
8875 | 12744 | b |
8876 | 12745 | ); |
8877 | 12746 | |
8878 | 12747 | =begin original |
8879 | 12748 | |
8880 | 12749 | If you really want comments, build your list the |
8881 | 12750 | old-fashioned way, with quotes and commas: |
8882 | 12751 | |
8883 | 12752 | =end original |
8884 | 12753 | |
8885 | 12754 | 本当にコメントをつけたいのなら、 |
8886 | 12755 | リストを昔のクォートとカンマの形で書いてください。 |
8887 | 12756 | |
8888 | 12757 | @list = ( |
8889 | 12758 | 'a', # a comment |
8890 | 12759 | 'b', # another comment |
8891 | 12760 | ); |
8892 | 12761 | |
8893 | 12762 | =item Possible attempt to separate words with commas |
8894 | 12763 | |
8895 | 12764 | =begin original |
8896 | 12765 | |
8897 | 12766 | (W qw) qw() lists contain items separated by whitespace; therefore |
8898 | 12767 | commas aren't needed to separate the items. (You may have used |
8899 | 12768 | different delimiters than the parentheses shown here; braces are also |
8900 | 12769 | frequently used.) |
8901 | 12770 | |
8902 | 12771 | =end original |
8903 | 12772 | |
8904 | 12773 | (W qw) qw() リストに空白で分割された項目があります; |
8905 | 12774 | そのため、カンマは項目を分割する必要がありません。 |
8906 | 12775 | (ここで使われているのと違うデリミタを用いているかもしれません; |
8907 | 12776 | 大かっこもよく使われます。) |
8908 | 12777 | |
8909 | 12778 | =begin original |
8910 | 12779 | |
8911 | 12780 | You probably wrote something like this: |
8912 | 12781 | |
8913 | 12782 | =end original |
8914 | 12783 | |
8915 | 12784 | おそらく以下のように書いたのでしょう: |
8916 | 12785 | |
8917 | 12786 | qw! a, b, c !; |
8918 | 12787 | |
8919 | 12788 | =begin original |
8920 | 12789 | |
8921 | 12790 | which puts literal commas into some of the list items. Write it without |
8922 | 12791 | commas if you don't want them to appear in your data: |
8923 | 12792 | |
8924 | 12793 | =end original |
8925 | 12794 | |
8926 | 12795 | リスト要素の中にリテラルのカンマを書いています。 |
8927 | 12796 | データの中にカンマを出したくないなら、カンマなしで書きます: |
8928 | 12797 | |
8929 | 12798 | qw! a b c !; |
8930 | 12799 | |
8931 | 12800 | =item Possible memory corruption: %s overflowed 3rd argument |
8932 | 12801 | |
8933 | 12802 | =begin original |
8934 | 12803 | |
8935 | 12804 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
8936 | 12805 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
8937 | 12806 | end of the buffer just in case. This sentinel byte got clobbered, and |
8938 | 12807 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
8939 | 12808 | |
8940 | 12809 | =end original |
8941 | 12810 | |
8942 | 12811 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
8943 | 12812 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
8944 | 12813 | 最後に目印を付けています。 |
8945 | 12814 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
8946 | 12815 | L<perlfunc/ioctl> を参照してください。 |
8947 | 12816 | |
8948 | =item Possible precedence | |
12817 | =item Possible precedence issue with control flow operator (%s) | |
8949 | 12818 | |
8950 | 12819 | =begin original |
8951 | 12820 | |
12821 | (W syntax) There is a possible problem with the mixing of a control | |
12822 | flow operator (e.g. C<return>) and a low-precedence operator like | |
12823 | C<or>. Consider: | |
12824 | ||
12825 | =end original | |
12826 | ||
12827 | (W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような | |
12828 | 低優先順位演算子を混ぜると問題が起きることがあります。 | |
12829 | 次を考えると: | |
12830 | ||
12831 | sub { return $x or $y; } | |
12832 | ||
12833 | =begin original | |
12834 | ||
12835 | This is parsed as: | |
12836 | ||
12837 | =end original | |
12838 | ||
12839 | これは次のようにパースされます: | |
12840 | ||
12841 | sub { (return $x) or $y; } | |
12842 | ||
12843 | =begin original | |
12844 | ||
12845 | Which is effectively just: | |
12846 | ||
12847 | =end original | |
12848 | ||
12849 | これは事実上次のものです: | |
12850 | ||
12851 | sub { return $x; } | |
12852 | ||
12853 | =begin original | |
12854 | ||
12855 | Either use parentheses or the high-precedence variant of the operator. | |
12856 | ||
12857 | =end original | |
12858 | ||
12859 | かっこか、高優先順位版の演算子を使ってください。 | |
12860 | ||
12861 | =begin original | |
12862 | ||
12863 | Note this may be also triggered for constructs like: | |
12864 | ||
12865 | =end original | |
12866 | ||
12867 | これは次のような構文でも引き起こされることに注意してください: | |
12868 | ||
12869 | sub { 1 if die; } | |
12870 | ||
12871 | =item Possible precedence problem on bitwise %s operator | |
12872 | ||
12873 | =begin original | |
12874 | ||
8952 | 12875 | (W precedence) Your program uses a bitwise logical operator in conjunction |
8953 | 12876 | with a numeric comparison operator, like this : |
8954 | 12877 | |
8955 | 12878 | =end original |
8956 | 12879 | |
8957 | 12880 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と |
8958 | 12881 | 結合して使用しています: |
8959 | 12882 | |
8960 | 12883 | if ($x & $y == 0) { ... } |
8961 | 12884 | |
8962 | 12885 | =begin original |
8963 | 12886 | |
8964 | 12887 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the |
8965 | higher precedence of C<==>. This is probably not what you want. (If you | |
12888 | higher precedence of C<==>. This is probably not what you want. (If you | |
8966 | 12889 | really meant to write this, disable the warning, or, better, put the |
8967 | 12890 | parentheses explicitly and write C<$x & ($y == 0)>). |
8968 | 12891 | |
8969 | 12892 | =end original |
8970 | 12893 | |
8971 | 12894 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と |
8972 | 12895 | 等価になります。 |
8973 | 12896 | これはおそらく望んでいるものではないでしょう。 |
8974 | 12897 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは |
8975 | 12898 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 |
8976 | 12899 | |
8977 | 12900 | =item Possible unintended interpolation of $\ in regex |
8978 | 12901 | |
8979 | 12902 | =begin original |
8980 | 12903 | |
8981 | 12904 | (W ambiguous) You said something like C<m/$\/> in a regex. |
8982 | 12905 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output |
8983 | 12906 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) |
8984 | 12907 | followed by the word 'bar'. |
8985 | 12908 | |
8986 | 12909 | =end original |
8987 | 12910 | |
8988 | 12911 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 |
8989 | 12912 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 |
8990 | 12913 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 |
8991 | 12914 | 'bar' にマッチングします。 |
8992 | 12915 | |
8993 | 12916 | =begin original |
8994 | 12917 | |
8995 | 12918 | If this is what you intended then you can silence the warning by using |
8996 | 12919 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). |
8997 | 12920 | |
8998 | 12921 | =end original |
8999 | 12922 | |
9000 | 12923 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます |
9001 | 12924 | (例えば: C<m/foo${\}s+bar/>)。 |
9002 | 12925 | |
9003 | 12926 | =begin original |
9004 | 12927 | |
9005 | 12928 | If instead you intended to match the word 'foo' at the end of the line |
9006 | 12929 | followed by whitespace and the word 'bar' on the next line then you can use |
9007 | 12930 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). |
9008 | 12931 | |
9009 | 12932 | =end original |
9010 | 12933 | |
9011 | 12934 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に |
9012 | 12935 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: |
9013 | 12936 | C<m/foo$(?)\s+bar/>)。 |
9014 | 12937 | |
9015 | 12938 | =item Possible unintended interpolation of %s in string |
9016 | 12939 | |
9017 | 12940 | =begin original |
9018 | 12941 | |
9019 | (W ambiguous) You said something like | |
12942 | (W ambiguous) You said something like '@foo' in a double-quoted string | |
9020 | but there was no array C<@foo> in scope at the time. If you wanted a | |
12943 | but there was no array C<@foo> in scope at the time. If you wanted a | |
9021 | 12944 | literal @foo, then write it as \@foo; otherwise find out what happened |
9022 | 12945 | to the array you apparently lost track of. |
9023 | 12946 | |
9024 | 12947 | =end original |
9025 | 12948 | |
9026 | 12949 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 |
9027 | 12950 | 現在のスコープ内に C<@foo> という配列はありません。 |
9028 | 12951 | リテラルな @foo を指定したい場合は、\@foo と書いてください; |
9029 | 12952 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを |
9030 | 12953 | 調べてください。 |
9031 | 12954 | |
9032 | 12955 | =item Precedence problem: open %s should be open(%s) |
9033 | 12956 | |
9034 | 12957 | =begin original |
9035 | 12958 | |
9036 | 12959 | (S precedence) The old irregular construct |
9037 | 12960 | |
9038 | 12961 | =end original |
9039 | 12962 | |
9040 | 12963 | (S precedence) 古い変則的な構文 |
9041 | 12964 | |
9042 | 12965 | open FOO || die; |
9043 | 12966 | |
9044 | 12967 | =begin original |
9045 | 12968 | |
9046 | 12969 | is now misinterpreted as |
9047 | 12970 | |
9048 | 12971 | =end original |
9049 | 12972 | |
9050 | 12973 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
9051 | 12974 | リスト演算子と解釈されますので、 |
9052 | 12975 | |
9053 | 12976 | open(FOO || die); |
9054 | 12977 | |
9055 | 12978 | =begin original |
9056 | 12979 | |
9057 | 12980 | because of the strict regularization of Perl 5's grammar into unary and |
9058 | 12981 | list operators. (The old open was a little of both.) You must put |
9059 | 12982 | parentheses around the filehandle, or use the new "or" operator instead |
9060 | 12983 | of "||". |
9061 | 12984 | |
9062 | 12985 | =end original |
9063 | 12986 | |
9064 | 12987 | という風に誤った解釈がなされます。 |
9065 | 12988 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
9066 | 12989 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに |
9067 | 12990 | "or" 演算子を使わなくてはなりません。 |
9068 | 12991 | |
9069 | 12992 | =item Premature end of script headers |
9070 | 12993 | |
9071 | 12994 | =begin original |
9072 | 12995 | |
9073 | See Server error. | |
12996 | See L</500 Server error>. | |
9074 | 12997 | |
9075 | 12998 | =end original |
9076 | 12999 | |
9077 | ||
13000 | L</500 Server error> を参照してください。 | |
9078 | 13001 | |
9079 | 13002 | =item printf() on closed filehandle %s |
9080 | 13003 | |
9081 | 13004 | =begin original |
9082 | 13005 | |
9083 | 13006 | (W closed) The filehandle you're writing to got itself closed sometime |
9084 | 13007 | before now. Check your control flow. |
9085 | 13008 | |
9086 | 13009 | =end original |
9087 | 13010 | |
9088 | 13011 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
9089 | 13012 | 制御フローをチェックしてください。 |
9090 | 13013 | |
9091 | 13014 | =item print() on closed filehandle %s |
9092 | 13015 | |
9093 | 13016 | =begin original |
9094 | 13017 | |
9095 | 13018 | (W closed) The filehandle you're printing on got itself closed sometime |
9096 | 13019 | before now. Check your control flow. |
9097 | 13020 | |
9098 | 13021 | =end original |
9099 | 13022 | |
9100 | 13023 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 |
9101 | 13024 | 制御フローをチェックしてください。 |
9102 | 13025 | |
9103 | 13026 | =item Process terminated by SIG%s |
9104 | 13027 | |
9105 | 13028 | =begin original |
9106 | 13029 | |
9107 | 13030 | (W) This is a standard message issued by OS/2 applications, while *nix |
9108 | 13031 | applications die in silence. It is considered a feature of the OS/2 |
9109 | 13032 | port. One can easily disable this by appropriate sighandlers, see |
9110 | 13033 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
9111 | 13034 | in L<perlos2>. |
9112 | 13035 | |
9113 | 13036 | =end original |
9114 | 13037 | |
9115 | 13038 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
9116 | 13039 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
9117 | 13040 | これは OS/2 版の仕様とみなされています。 |
9118 | 13041 | 適切なシグナルハンドラによって簡単に無効にできます; |
9119 | 13042 | L<perlipc/"Signals"> を参照してください。 |
9120 | 13043 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
9121 | 13044 | |
9122 | 13045 | =item Prototype after '%c' for %s : %s |
9123 | 13046 | |
9124 | 13047 | =begin original |
9125 | 13048 | |
9126 | (W illegalproto) A character follows % or @ in a prototype. This is | |
13049 | (W illegalproto) A character follows % or @ in a prototype. This is | |
9127 | since % and @ gobble the rest of the subroutine arguments. | |
13050 | useless, since % and @ gobble the rest of the subroutine arguments. | |
9128 | 13051 | |
9129 | 13052 | =end original |
9130 | 13053 | |
9131 | 13054 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 |
9132 | 13055 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 |
9133 | 13056 | |
9134 | 13057 | =item Prototype mismatch: %s vs %s |
9135 | 13058 | |
9136 | 13059 | =begin original |
9137 | 13060 | |
9138 | 13061 | (S prototype) The subroutine being declared or defined had previously been |
9139 | 13062 | declared or defined with a different function prototype. |
9140 | 13063 | |
9141 | 13064 | =end original |
9142 | 13065 | |
9143 | 13066 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された |
9144 | 13067 | サブルーチンが宣言または定義されました。 |
9145 | 13068 | |
9146 | 13069 | =item Prototype not terminated |
9147 | 13070 | |
9148 | 13071 | =begin original |
9149 | 13072 | |
9150 | 13073 | (F) You've omitted the closing parenthesis in a function prototype |
9151 | 13074 | definition. |
9152 | 13075 | |
9153 | 13076 | =end original |
9154 | 13077 | |
9155 | 13078 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 |
9156 | 13079 | |
9157 | =item | |
13080 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s | |
9158 | 13081 | |
9159 | 13082 | =begin original |
9160 | 13083 | |
9161 | (W | |
13084 | (W prototype) A prototype was declared in both the parentheses after | |
9162 | ||
13085 | the sub name and via the prototype attribute. The prototype in | |
9163 | ||
13086 | parentheses is useless, since it will be replaced by the prototype | |
9164 | ||
13087 | from the attribute before it's ever used. | |
9165 | (See L<perlrecharclass/POSIX Character Classes>.) | |
9166 | 13088 | |
9167 | 13089 | =end original |
9168 | 13090 | |
9169 | (W | |
13091 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で | |
9170 | ||
13092 | プロトタイプが宣言されました。 | |
9171 | ||
13093 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の | |
9172 | ||
13094 | プロトタイプは無駄です。 | |
9173 | (L<perlrecharclass/POSIX Character Classes> を参照してください。) | |
9174 | 13095 | |
13096 | =item %s on BEGIN block ignored | |
13097 | ||
9175 | 13098 | =begin original |
9176 | 13099 | |
9177 | ||
13100 | (W syntax) C<BEGIN> blocks are executed immediately after they are parsed | |
9178 | ||
13101 | and then thrown away. Any prototypes or attributes are therefore | |
9179 | su | |
13102 | meaningless and are ignored. You should remove them from the C<BEGIN> block. | |
13103 | Note this also means you cannot create a constant called C<BEGIN>. | |
9180 | 13104 | |
9181 | 13105 | =end original |
9182 | 13106 | |
9183 | ||
13107 | (W syntax) C<BEGIN> ブロックは、パースされた直後に実行され、 | |
9184 | ||
13108 | それから捨てられます。 | |
13109 | 従って、プロトタイプや属性は無意味で、無視されます。 | |
13110 | それらは C<BEGIN> ブロックから削除されるべきです。 | |
13111 | C<BEGIN> と呼ばれる定数を作ることもできないことに注意してください。 | |
9185 | 13112 | |
13113 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ | |
13114 | ||
9186 | 13115 | =begin original |
9187 | 13116 | |
9188 | ||
13117 | (F) You started a regular expression with a quantifier. Backslash it if | |
9189 | ||
13118 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular | |
9190 | ||
13119 | expression the problem was discovered. See L<perlre>. | |
9191 | "MULTIPLICATION SIGN" instead, and C<\p> always uses the Unicode | |
9192 | meaning. That means that C<\p{Alpha}> won't match, but C<[[:alpha:]]> | |
9193 | should. Only in the Latin1 locale are all the characters in the same | |
9194 | positions as they are in Unicode. But, even here, some properties give | |
9195 | incorrect results. An example is C<\p{Changes_When_Uppercased}> which | |
9196 | is true for "LATIN SMALL LETTER Y WITH DIAERESIS", but since the upper | |
9197 | case of that character is not in Latin1, in that locale it doesn't | |
9198 | change when upper cased. | |
9199 | 13120 | |
9200 | 13121 | =end original |
9201 | 13122 | |
9202 | ||
13123 | (F) 正規表現を量指定子で開始しています。 | |
9203 | ||
13124 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
9204 | です。 | |
13125 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9205 | ||
13126 | L<perlre> を参照してください。 | |
9206 | C<\p> は常に Unicode の意味を使います。 | |
9207 | これは、C<\p{Alpha}> にはマッチングしませんが、C<[[:alpha:]]> には | |
9208 | マッチングするということです。 | |
9209 | Latin1 ロケールのみが、全ての文字について Unicode と同じ位置を持ちます。 | |
9210 | しかし、それでも、一部の特性は正しくない結果となります。 | |
9211 | 例えば、C<\p{Changes_When_Uppercased}> は "LATIN SMALL LETTER Y WITH | |
9212 | DIAERESIS" では真ですが、この文字の大文字は Latin1 にはないので、 | |
9213 | 大文字にしたときにこの文字は変更されません。 | |
9214 | 13127 | |
9215 | =item Quantifier | |
13128 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ | |
9216 | 13129 | |
9217 | 13130 | =begin original |
9218 | 13131 | |
9219 | (F) | |
13132 | (F) There is currently a limit to the size of the min and max values of | |
9220 | ||
13133 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular | |
9221 | ||
13134 | expression the problem was discovered. See L<perlre>. | |
9222 | 13135 | |
9223 | 13136 | =end original |
9224 | 13137 | |
9225 | ||
13138 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 | |
9226 | ||
13139 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9227 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9228 | 13140 | L<perlre> を参照してください。 |
9229 | 13141 | |
9230 | =item Quantifier | |
13142 | =item Quantifier {n,m} with n > m can't match in regex | |
9231 | 13143 | |
13144 | =item Quantifier {n,m} with n > m can't match in regex; marked by | |
13145 | S<<-- HERE> in m/%s/ | |
13146 | ||
9232 | 13147 | =begin original |
9233 | 13148 | |
9234 | ( | |
13149 | (W regexp) Minima should be less than or equal to maxima. If you really | |
9235 | ||
13150 | want your regexp to match something 0 times, just put {0}. | |
9236 | the problem was discovered. See L<perlre>. | |
9237 | 13151 | |
9238 | 13152 | =end original |
9239 | 13153 | |
9240 | ||
13154 | (W regexp) 最小値は最大値以下である必要があります。 | |
9241 | ||
13155 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
9242 | L<perlre> を参照してください。 | |
9243 | 13156 | |
9244 | =item Quantifier unexpected on zero-length expression | |
13157 | =item Quantifier unexpected on zero-length expression in regex m/%s/ | |
9245 | 13158 | |
9246 | 13159 | =begin original |
9247 | 13160 | |
9248 | 13161 | (W regexp) You applied a regular expression quantifier in a place where |
9249 | 13162 | it makes no sense, such as on a zero-width assertion. Try putting the |
9250 | 13163 | quantifier inside the assertion instead. For example, the way to match |
9251 | 13164 | "abc" provided that it is followed by three repetitions of "xyz" is |
9252 | 13165 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
9253 | 13166 | |
9254 | 13167 | =end original |
9255 | 13168 | |
9256 | 13169 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
9257 | 13170 | 適用しました。 |
9258 | 13171 | 代わりにアサーションの中に量指定子を置いてください。 |
9259 | 13172 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
9260 | 13173 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
9261 | 13174 | |
9262 | =begin original | |
9263 | ||
9264 | The <-- HERE shows in the regular expression about where the problem was | |
9265 | discovered. | |
9266 | ||
9267 | =end original | |
9268 | ||
9269 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9270 | ||
9271 | 13175 | =item Range iterator outside integer range |
9272 | 13176 | |
9273 | 13177 | =begin original |
9274 | 13178 | |
9275 | 13179 | (F) One (or both) of the numeric arguments to the range operator ".." |
9276 | 13180 | are outside the range which can be represented by integers internally. |
9277 | 13181 | One possible workaround is to force Perl to use magical string increment |
9278 | 13182 | by prepending "0" to your numbers. |
9279 | 13183 | |
9280 | 13184 | =end original |
9281 | 13185 | |
9282 | 13186 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
9283 | 13187 | 表現できる範囲を越えています。 |
9284 | 13188 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
9285 | 13189 | マジカル文字列インクリメントの使用を強制させることです。 |
9286 | 13190 | |
13191 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or | |
13192 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ | |
13193 | ||
13194 | =begin original | |
13195 | ||
13196 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
13197 | ||
13198 | =end original | |
13199 | ||
13200 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
13201 | ||
13202 | =begin original | |
13203 | ||
13204 | Stricter rules help to find typos and other errors. Perhaps you didn't | |
13205 | even intend a range here, if the C<"-"> was meant to be some other | |
13206 | character, or should have been escaped (like C<"\-">). If you did | |
13207 | intend a range, the one that was used is not portable between ASCII and | |
13208 | EBCDIC platforms, and doesn't have an obvious meaning to a casual | |
13209 | reader. | |
13210 | ||
13211 | =end original | |
13212 | ||
13213 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
13214 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の | |
13215 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 | |
13216 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC | |
13217 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な | |
13218 | 意味になります。 | |
13219 | ||
13220 | [3-7] # OK; Obvious and portable | |
13221 | [d-g] # OK; Obvious and portable | |
13222 | [A-Y] # OK; Obvious and portable | |
13223 | [A-z] # WRONG; Not portable; not clear what is meant | |
13224 | [a-Z] # WRONG; Not portable; not clear what is meant | |
13225 | [%-.] # WRONG; Not portable; not clear what is meant | |
13226 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek | |
13227 | ||
13228 | =begin original | |
13229 | ||
13230 | (You can force portability by specifying a Unicode range, which means that | |
13231 | the endpoints are specified by | |
13232 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may | |
13233 | still not be obvious.) | |
13234 | The stricter rules require that ranges that start or stop with an ASCII | |
13235 | character that is not a control have all their endpoints be the literal | |
13236 | character, and not some escape sequence (like C<"\x41">), and the ranges | |
13237 | must be all digits, or all uppercase letters, or all lowercase letters. | |
13238 | ||
13239 | =end original | |
13240 | ||
13241 | (Unicode の範囲を指定することで移植性を共生することができます; | |
13242 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で | |
13243 | 指定するということですが、意味はやはり明確ではないかもしれません。) | |
13244 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 | |
13245 | (C<"\x41"> のような)一部のエスケープシーケンスでない | |
13246 | ASCII 文字で開始および終了することを要求し、 | |
13247 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 | |
13248 | ||
13249 | =item Ranges of digits should be from the same group in regex; marked by | |
13250 | S<<-- HERE> in m/%s/ | |
13251 | ||
13252 | =begin original | |
13253 | ||
13254 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
13255 | ||
13256 | =end original | |
13257 | ||
13258 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
13259 | ||
13260 | =begin original | |
13261 | ||
13262 | Stricter rules help to find typos and other errors. You included a | |
13263 | range, and at least one of the end points is a decimal digit. Under the | |
13264 | stricter rules, when this happens, both end points should be digits in | |
13265 | the same group of 10 consecutive digits. | |
13266 | ||
13267 | =end original | |
13268 | ||
13269 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
13270 | 範囲を含んでいて、少なくとも片方の端は数字です。 | |
13271 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ | |
13272 | グループに属する符号位置である必要があります。 | |
13273 | ||
9287 | 13274 | =item readdir() attempted on invalid dirhandle %s |
9288 | 13275 | |
9289 | 13276 | =begin original |
9290 | 13277 | |
9291 | 13278 | (W io) The dirhandle you're reading from is either closed or not really |
9292 | 13279 | a dirhandle. Check your control flow. |
9293 | 13280 | |
9294 | 13281 | =end original |
9295 | 13282 | |
9296 | 13283 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 |
9297 | 13284 | 実際にはディレクトリハンドルではありません。 |
9298 | 13285 | 制御フローをチェックしてください。 |
9299 | 13286 | |
9300 | 13287 | =item readline() on closed filehandle %s |
9301 | 13288 | |
9302 | 13289 | =begin original |
9303 | 13290 | |
9304 | 13291 | (W closed) The filehandle you're reading from got itself closed sometime |
9305 | 13292 | before now. Check your control flow. |
9306 | 13293 | |
9307 | 13294 | =end original |
9308 | 13295 | |
9309 | 13296 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 |
9310 | 13297 | 制御フローをチェックしてください。 |
9311 | 13298 | |
9312 | =item read() on | |
13299 | =item readline() on unopened filehandle %s | |
9313 | 13300 | |
9314 | 13301 | =begin original |
9315 | 13302 | |
9316 | (W | |
13303 | (W unopened) The filehandle you're reading from was never opened. Check your | |
13304 | control flow. | |
9317 | 13305 | |
9318 | 13306 | =end original |
9319 | 13307 | |
9320 | (W | |
13308 | (W unopened) 読み込もうとしたファイルハンドルは開かれていません。 | |
13309 | 制御フローをチェックしてください。 | |
9321 | 13310 | |
9322 | =item read() on | |
13311 | =item read() on closed filehandle %s | |
9323 | 13312 | |
9324 | 13313 | =begin original |
9325 | 13314 | |
9326 | (W | |
13315 | (W closed) You tried to read from a closed filehandle. | |
9327 | 13316 | |
9328 | 13317 | =end original |
9329 | 13318 | |
9330 | (W | |
13319 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
9331 | 13320 | |
9332 | =item | |
13321 | =item read() on unopened filehandle %s | |
9333 | 13322 | |
9334 | 13323 | =begin original |
9335 | 13324 | |
9336 | ( | |
13325 | (W unopened) You tried to read from a filehandle that was never opened. | |
9337 | 13326 | |
9338 | 13327 | =end original |
9339 | 13328 | |
9340 | ( | |
13329 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
9341 | 13330 | |
9342 | 13331 | =item realloc() of freed memory ignored |
9343 | 13332 | |
9344 | 13333 | =begin original |
9345 | 13334 | |
9346 | 13335 | (S malloc) An internal routine called realloc() on something that had |
9347 | 13336 | already been freed. |
9348 | 13337 | |
9349 | 13338 | =end original |
9350 | 13339 | |
9351 | 13340 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
9352 | 13341 | 呼び出しました。 |
9353 | 13342 | |
9354 | 13343 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
9355 | 13344 | |
9356 | 13345 | =begin original |
9357 | 13346 | |
9358 | ( | |
13347 | (S debugging) You can't use the B<-D> option unless the code to produce | |
9359 | 13348 | the desired output is compiled into Perl, which entails some overhead, |
9360 | 13349 | which is why it's currently left out of your copy. |
9361 | 13350 | |
9362 | 13351 | =end original |
9363 | 13352 | |
9364 | ( | |
13353 | (S debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
9365 | 13354 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; |
9366 | 13355 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
9367 | 13356 | Perl に組み込んでない理由でしょう。 |
9368 | 13357 | |
13358 | =item Recursive call to Perl_load_module in PerlIO_find_layer | |
13359 | ||
13360 | =begin original | |
13361 | ||
13362 | (P) It is currently not permitted to load modules when creating | |
13363 | a filehandle inside an %INC hook. This can happen with C<open my | |
13364 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try | |
13365 | loading PerlIO::scalar explicitly first. | |
13366 | ||
13367 | =end original | |
13368 | ||
13369 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは | |
13370 | 現在のところ許されていません。 | |
13371 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに | |
13372 | 起こることがあります。 | |
13373 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 | |
13374 | ||
9369 | 13375 | =item Recursive inheritance detected in package '%s' |
9370 | 13376 | |
9371 | 13377 | =begin original |
9372 | 13378 | |
9373 | 13379 | (F) While calculating the method resolution order (MRO) of a package, Perl |
9374 | 13380 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a |
9375 | 13381 | crude check that bails out after 100 levels of C<@ISA> depth. |
9376 | 13382 | |
9377 | 13383 | =end original |
9378 | 13384 | |
9379 | 13385 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に |
9380 | 13386 | 無限ループがあると判断しました。 |
9381 | 13387 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 |
9382 | 13388 | |
13389 | =item Redundant argument in %s | |
13390 | ||
13391 | =begin original | |
13392 | ||
13393 | (W redundant) You called a function with more arguments than other | |
13394 | arguments you supplied indicated would be needed. Currently only | |
13395 | emitted when a printf-type format required fewer arguments than were | |
13396 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. | |
13397 | ||
13398 | =end original | |
13399 | ||
13400 | (W redundant) 関数を呼び出すときに、ある引数が示している必要数より | |
13401 | 多くの引数を指定しました。 | |
13402 | 現在のところ、printf 型のフォーマットが指定されたものより少ない数の | |
13403 | 引数しか必要としていない場合にのみ発生しますが、将来は | |
13404 | 例えば L<perlfunc/pack> で使われるかもしれません。 | |
13405 | ||
9383 | 13406 | =item refcnt_dec: fd %d%s |
9384 | 13407 | |
9385 | 13408 | =item refcnt: fd %d%s |
9386 | 13409 | |
9387 | 13410 | =item refcnt_inc: fd %d%s |
9388 | 13411 | |
9389 | 13412 | =begin original |
9390 | 13413 | |
9391 | (P) Perl's I/O implementation failed an internal consistency check. If | |
13414 | (P) Perl's I/O implementation failed an internal consistency check. If | |
9392 | 13415 | you see this message, something is very wrong. |
9393 | 13416 | |
9394 | 13417 | =end original |
9395 | 13418 | |
9396 | 13419 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 |
9397 | 13420 | このメッセージを見たなら、何かがすごく悪いです。 |
9398 | 13421 | |
9399 | 13422 | =item Reference found where even-sized list expected |
9400 | 13423 | |
9401 | 13424 | =begin original |
9402 | 13425 | |
9403 | 13426 | (W misc) You gave a single reference where Perl was expecting a list |
9404 | with an even number of elements (for assignment to a hash). This | |
13427 | with an even number of elements (for assignment to a hash). This | |
9405 | means that you used the anon hash constructor when you meant | |
13428 | usually means that you used the anon hash constructor when you meant | |
9406 | parens. In any case, a hash requires key/value B<pairs>. | |
13429 | to use parens. In any case, a hash requires key/value B<pairs>. | |
9407 | 13430 | |
9408 | 13431 | =end original |
9409 | 13432 | |
9410 | 13433 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
9411 | 13434 | 想定しているところに 一つのリファレンスを渡しました。 |
9412 | 13435 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
9413 | 13436 | 意味します。 |
9414 | 13437 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
9415 | 13438 | |
9416 | 13439 | %hash = { one => 1, two => 2, }; # WRONG |
9417 | 13440 | %hash = [ qw/ an anon array / ]; # WRONG |
9418 | 13441 | %hash = ( one => 1, two => 2, ); # right |
9419 | 13442 | %hash = qw( one 1 two 2 ); # also fine |
9420 | 13443 | |
9421 | 13444 | =item Reference is already weak |
9422 | 13445 | |
9423 | 13446 | =begin original |
9424 | 13447 | |
9425 | 13448 | (W misc) You have attempted to weaken a reference that is already weak. |
9426 | 13449 | Doing so has no effect. |
9427 | 13450 | |
9428 | 13451 | =end original |
9429 | 13452 | |
9430 | 13453 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
9431 | 13454 | そうしても何の効果もありません。 |
9432 | 13455 | |
9433 | =item Reference | |
13456 | =item Reference is not weak | |
9434 | 13457 | |
9435 | 13458 | =begin original |
9436 | 13459 | |
9437 | (W i | |
13460 | (W misc) You have attempted to unweaken a reference that is not weak. | |
9438 | ||
13461 | Doing so has no effect. | |
9439 | 13462 | |
9440 | 13463 | =end original |
9441 | 13464 | |
9442 | (W i | |
13465 | (W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。 | |
9443 | ||
13466 | そうしても何の効果もありません。 | |
9444 | 13467 | |
9445 | =item Reference to invalid group 0 | |
13468 | =item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/ | |
9446 | 13469 | |
9447 | 13470 | =begin original |
9448 | 13471 | |
9449 | (F) You used C<\g0> or similar in a regular expression. You may refer | |
13472 | (F) You used C<\g0> or similar in a regular expression. You may refer | |
9450 | capturing parentheses only with strictly positive integers | |
13473 | to capturing parentheses only with strictly positive integers | |
9451 | backreferences) or with strictly negative integers (relative | |
13474 | (normal backreferences) or with strictly negative integers (relative | |
9452 | backreferences). Using 0 does not make sense. | |
13475 | backreferences). Using 0 does not make sense. | |
9453 | 13476 | |
9454 | 13477 | =end original |
9455 | 13478 | |
9456 | 13479 | (F) 正規表現で C<\g0> のようなものを使いました。 |
9457 | 13480 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) |
9458 | 13481 | のみです。 |
9459 | 13482 | 0 は意味を成しません。 |
9460 | 13483 | |
9461 | =item Reference to nonexistent group in regex; marked by <-- HERE in | |
13484 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in | |
13485 | m/%s/ | |
9462 | 13486 | |
9463 | 13487 | =begin original |
9464 | 13488 | |
9465 | 13489 | (F) You used something like C<\7> in your regular expression, but there are |
9466 | not at least seven sets of capturing parentheses in the expression. If | |
13490 | not at least seven sets of capturing parentheses in the expression. If | |
9467 | 13491 | you wanted to have the character with ordinal 7 inserted into the regular |
9468 | 13492 | expression, prepend zeroes to make it three digits long: C<\007> |
9469 | 13493 | |
9470 | 13494 | =end original |
9471 | 13495 | |
9472 | 13496 | 正規表現の中で C<\7> のような記述がありますが、 |
9473 | 13497 | 正規表現の中に値を捕らえるかっこが 7 つありません。 |
9474 | 13498 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
9475 | 13499 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> |
9476 | 13500 | |
9477 | 13501 | =begin original |
9478 | 13502 | |
9479 | The <-- HERE shows in the regular expression | |
13503 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
9480 | 13504 | discovered. |
9481 | 13505 | |
9482 | 13506 | =end original |
9483 | 13507 | |
9484 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13508 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9485 | 13509 | |
9486 | =item Reference to nonexistent named group in regex; marked by <-- HERE | |
13510 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> | |
13511 | in m/%s/ | |
9487 | 13512 | |
9488 | 13513 | =begin original |
9489 | 13514 | |
9490 | 13515 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular |
9491 | 13516 | expression, but there is no corresponding named capturing parentheses |
9492 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
13517 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
9493 | 13518 | spelled correctly both in the backreference and the declaration. |
9494 | 13519 | |
9495 | 13520 | =end original |
9496 | 13521 | |
9497 | 13522 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 |
9498 | 13523 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが |
9499 | 13524 | ありません。 |
9500 | 13525 | 前方参照と定義の両方において、名前のスペルが正しいかどうか |
9501 | 13526 | チェックしてください。 |
9502 | 13527 | |
9503 | 13528 | =begin original |
9504 | 13529 | |
9505 | The <-- HERE shows in the regular expression | |
13530 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
9506 | 13531 | discovered. |
9507 | 13532 | |
9508 | 13533 | =end original |
9509 | 13534 | |
9510 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13535 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9511 | 13536 | |
9512 | =item Reference to nonexistent or unclosed group in regex; marked by | |
13537 | =item Reference to nonexistent or unclosed group in regex; marked by | |
13538 | S<<-- HERE> in m/%s/ | |
9513 | 13539 | |
9514 | 13540 | =begin original |
9515 | 13541 | |
9516 | 13542 | (F) You used something like C<\g{-7}> in your regular expression, but there |
9517 | 13543 | are not at least seven sets of closed capturing parentheses in the |
9518 | 13544 | expression before where the C<\g{-7}> was located. |
9519 | 13545 | |
9520 | 13546 | =end original |
9521 | 13547 | |
9522 | 13548 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の |
9523 | 13549 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 |
9524 | 13550 | |
9525 | 13551 | =begin original |
9526 | 13552 | |
9527 | The <-- HERE shows in the regular expression | |
13553 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
9528 | 13554 | discovered. |
9529 | 13555 | |
9530 | 13556 | =end original |
9531 | 13557 | |
9532 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13558 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9533 | 13559 | |
9534 | 13560 | =item regexp memory corruption |
9535 | 13561 | |
9536 | 13562 | =begin original |
9537 | 13563 | |
9538 | 13564 | (P) The regular expression engine got confused by what the regular |
9539 | 13565 | expression compiler gave it. |
9540 | 13566 | |
9541 | 13567 | =end original |
9542 | 13568 | |
9543 | 13569 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
9544 | 13570 | 処理できなくなりました。 |
9545 | 13571 | |
9546 | 13572 | =item Regexp modifier "/%c" may appear a maximum of twice |
9547 | 13573 | |
9548 | =item Regexp modifier " | |
13574 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked | |
13575 | by S<<-- HERE> in m/%s/ | |
9549 | 13576 | |
9550 | 13577 | =begin original |
9551 | 13578 | |
9552 | (F | |
13579 | (F) The regular expression pattern had too many occurrences | |
9553 | 13580 | of the specified modifier. Remove the extraneous ones. |
9554 | 13581 | |
9555 | 13582 | =end original |
9556 | 13583 | |
9557 | (F | |
13584 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
9558 | 13585 | 余分なものを削除してください。 |
9559 | 13586 | |
9560 | =item Regexp modifier "%c" may not appear after the "-" | |
13587 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- | |
13588 | HERE in m/%s/ | |
9561 | 13589 | |
9562 | 13590 | =begin original |
9563 | 13591 | |
9564 | (F | |
13592 | (F) Turning off the given modifier has the side effect of turning on | |
9565 | ||
13593 | another one. Perl currently doesn't allow this. Reword the regular | |
9566 | 13594 | expression to use the modifier you want to turn on (and place it before |
9567 | 13595 | the minus), instead of the one you want to turn off. |
9568 | 13596 | |
9569 | 13597 | =end original |
9570 | 13598 | |
9571 | 13599 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという |
9572 | 13600 | 副作用があります。 |
9573 | 13601 | Perl は現在のところこれを受け入れません。 |
9574 | 13602 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの |
9575 | 13603 | 前に置く)ように正規表現を書き直してください。 |
9576 | 13604 | |
13605 | =item Regexp modifier "/%c" may not appear twice | |
13606 | ||
13607 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- | |
13608 | HERE in m/%s/ | |
13609 | ||
13610 | =begin original | |
13611 | ||
13612 | (F) The regular expression pattern had too many occurrences | |
13613 | of the specified modifier. Remove the extraneous ones. | |
13614 | ||
13615 | =end original | |
13616 | ||
13617 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
13618 | 余分なものを削除してください。 | |
13619 | ||
9577 | 13620 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive |
9578 | 13621 | |
13622 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; | |
13623 | marked by S<<-- HERE> in m/%s/ | |
13624 | ||
9579 | 13625 | =begin original |
9580 | 13626 | |
9581 | (F | |
13627 | (F) The regular expression pattern had more than one of these | |
9582 | 13628 | mutually exclusive modifiers. Retain only the modifier that is |
9583 | 13629 | supposed to be there. |
9584 | 13630 | |
9585 | 13631 | =end original |
9586 | 13632 | |
9587 | (F | |
13633 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
9588 | 13634 | ここで使うであろう修飾子のみを保持します。 |
9589 | 13635 | |
9590 | =item Regexp out of space | |
13636 | =item Regexp out of space in regex m/%s/ | |
9591 | 13637 | |
9592 | 13638 | =begin original |
9593 | 13639 | |
9594 | 13640 | (P) A "can't happen" error, because safemalloc() should have caught it |
9595 | 13641 | earlier. |
9596 | 13642 | |
9597 | 13643 | =end original |
9598 | 13644 | |
9599 | 13645 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 |
9600 | 13646 | |
9601 | =item Repeated format line will never terminate (~~ and @<#del> incompatible) | |
13647 | =item Repeated format line will never terminate (~~ and @#) | |
9602 | 13648 | |
9603 | 13649 | =begin original |
9604 | 13650 | |
9605 | 13651 | (F) Your format contains the ~~ repeat-until-blank sequence and a |
9606 | 13652 | numeric field that will never go blank so that the repetition never |
9607 | terminates. You might use ^# instead. See L<perlform>. | |
13653 | terminates. You might use ^# instead. See L<perlform>. | |
9608 | 13654 | |
9609 | 13655 | =end original |
9610 | 13656 | |
9611 | 13657 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない |
9612 | 13658 | スウチフィールドが含まれているので、無限ループになります。 |
9613 | 13659 | 代わりに ^# を使うべきでしょう。 |
9614 | 13660 | L<perlform> を参照してください。 |
9615 | 13661 | |
9616 | 13662 | =item Replacement list is longer than search list |
9617 | 13663 | |
9618 | 13664 | =begin original |
9619 | 13665 | |
9620 | 13666 | (W misc) You have used a replacement list that is longer than the |
9621 | search list. So the additional elements in the replacement list | |
13667 | search list. So the additional elements in the replacement list | |
9622 | 13668 | are meaningless. |
9623 | 13669 | |
9624 | 13670 | =end original |
9625 | 13671 | |
9626 | 13672 | (W misc) 検索リストよりも長い置換リストを使いました。 |
9627 | 13673 | 長い分の置換リストは無意味です。 |
9628 | 13674 | |
13675 | =item Required parameter '%s' is missing for %s constructor | |
13676 | ||
13677 | =begin original | |
13678 | ||
13679 | (F) You called the constructor for a class that has a required named | |
13680 | parameter, but did not pass that parameter at all. | |
13681 | ||
13682 | =end original | |
13683 | ||
13684 | (F) 引数を指定することが必要なクラスのコンストラクタを呼び出しましたが、 | |
13685 | 引数を何も渡しませんでした。 | |
13686 | ||
13687 | =item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/ | |
13688 | ||
13689 | =begin original | |
13690 | ||
13691 | (F) You used a construct that needs a colon and pattern argument. | |
13692 | Supply these or check that you are using the right construct. | |
13693 | ||
13694 | =end original | |
13695 | ||
13696 | (F) コロンとパターン引数を必要とする構文を使いました。 | |
13697 | これらを補うか、正しい構文を使っているか確認してください。 | |
13698 | ||
13699 | =item '%s' resolved to '\o{%s}%d' | |
13700 | ||
13701 | =begin original | |
13702 | ||
13703 | As of Perl 5.32, this message is no longer generated. Instead, see | |
13704 | L</Non-octal character '%c' terminates \o early. Resolved as "%s">. | |
13705 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
13706 | double-quotish string. All but the last digit is treated as a single | |
13707 | character, specified in octal. The last digit is the next character in | |
13708 | the string. To tell Perl that this is indeed what you want, you can use | |
13709 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
13710 | for the character. | |
13711 | ||
13712 | =end original | |
13713 | ||
13714 | Perl 5.32 から、もはやこのメッセージは出力されません。 | |
13715 | 代わりに、 | |
13716 | L</Non-octal character '%c' terminates \o early. Resolved as "%s"> | |
13717 | を見てください。 | |
13718 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
13719 | ものを書きました。 | |
13720 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
13721 | 最後の数字は文字列中の次の文字です。 | |
13722 | これが確かに望んだものであることを Perl に伝えるには、 | |
13723 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
13724 | 正確に 3 文字の数字を使ってください。 | |
13725 | ||
9629 | 13726 | =item Reversed %s= operator |
9630 | 13727 | |
9631 | 13728 | =begin original |
9632 | 13729 | |
9633 | 13730 | (W syntax) You wrote your assignment operator backwards. The = must |
9634 | 13731 | always come last, to avoid ambiguity with subsequent unary operators. |
9635 | 13732 | |
9636 | 13733 | =end original |
9637 | 13734 | |
9638 | 13735 | (W syntax) 代入演算子を逆順に書いています。 |
9639 | 13736 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
9640 | 13737 | 代入演算子では、等号 = が、最後にこないといけません。 |
9641 | 13738 | |
9642 | 13739 | =item rewinddir() attempted on invalid dirhandle %s |
9643 | 13740 | |
9644 | 13741 | =begin original |
9645 | 13742 | |
9646 | (W io) The dirhandle you tried to do a rewinddir() on is either closed | |
13743 | (W io) The dirhandle you tried to do a rewinddir() on is either closed | |
9647 | really a dirhandle. Check your control flow. | |
13744 | or not really a dirhandle. Check your control flow. | |
9648 | 13745 | |
9649 | 13746 | =end original |
9650 | 13747 | |
9651 | 13748 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 |
9652 | 13749 | 実際にはディレクトリハンドルではありません。 |
9653 | 13750 | 制御フローをチェックしてください。 |
9654 | 13751 | |
9655 | 13752 | =item Scalars leaked: %d |
9656 | 13753 | |
9657 | 13754 | =begin original |
9658 | 13755 | |
9659 | ( | |
13756 | (S internal) Something went wrong in Perl's internal bookkeeping | |
9660 | not all scalar variables were deallocated by the time | |
13757 | of scalars: not all scalar variables were deallocated by the time | |
9661 | What this usually indicates is a memory leak, which | |
13758 | Perl exited. What this usually indicates is a memory leak, which | |
9662 | especially if the Perl program is intended to be | |
13759 | is of course bad, especially if the Perl program is intended to be | |
13760 | long-running. | |
9663 | 13761 | |
9664 | 13762 | =end original |
9665 | 13763 | |
9666 | 13764 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: |
9667 | 13765 | Perl 終了時に全てのスカラ変数が解放されませんでした。 |
9668 | 13766 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 |
9669 | 13767 | Perl プログラムが長い間動作する場合には特にそうです。 |
9670 | 13768 | |
9671 | 13769 | =item Scalar value @%s[%s] better written as $%s[%s] |
9672 | 13770 | |
9673 | 13771 | =begin original |
9674 | 13772 | |
9675 | 13773 | (W syntax) You've used an array slice (indicated by @) to select a |
9676 | 13774 | single element of an array. Generally it's better to ask for a scalar |
9677 | 13775 | value (indicated by $). The difference is that C<$foo[&bar]> always |
9678 | 13776 | behaves like a scalar, both when assigning to it and when evaluating its |
9679 | 13777 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
9680 | 13778 | and provides a list context to its subscript, which can do weird things |
9681 | 13779 | if you're expecting only one subscript. |
9682 | 13780 | |
9683 | 13781 | =end original |
9684 | 13782 | |
9685 | 13783 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
9686 | 13784 | スライスを用いました。 |
9687 | 一般には | |
13785 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
9688 | 13786 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
9689 | 13787 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
9690 | 13788 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
9691 | 13789 | 添字にもリストコンテキストを与えることになります; |
9692 | 13790 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
9693 | 13791 | |
9694 | 13792 | =begin original |
9695 | 13793 | |
9696 | 13794 | On the other hand, if you were actually hoping to treat the array |
9697 | 13795 | element as a list, you need to look into how references work, because |
9698 | 13796 | Perl will not magically convert between scalars and lists for you. See |
9699 | 13797 | L<perlref>. |
9700 | 13798 | |
9701 | 13799 | =end original |
9702 | 13800 | |
9703 | 13801 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
9704 | 13802 | どのように働くかについて詳しく知る必要があります; なぜなら |
9705 | 13803 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
9706 | 13804 | L<perlref> を参照してください。 |
9707 | 13805 | |
9708 | 13806 | =item Scalar value @%s{%s} better written as $%s{%s} |
9709 | 13807 | |
9710 | 13808 | =begin original |
9711 | 13809 | |
9712 | 13810 | (W syntax) You've used a hash slice (indicated by @) to select a single |
9713 | 13811 | element of a hash. Generally it's better to ask for a scalar value |
9714 | 13812 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
9715 | 13813 | like a scalar, both when assigning to it and when evaluating its |
9716 | 13814 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
9717 | 13815 | and provides a list context to its subscript, which can do weird things |
9718 | 13816 | if you're expecting only one subscript. |
9719 | 13817 | |
9720 | 13818 | =end original |
9721 | 13819 | |
9722 | 13820 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
9723 | 13821 | スライスを用いました。 |
9724 | 一般には | |
13822 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
9725 | 13823 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
9726 | 13824 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
9727 | 13825 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
9728 | 13826 | 添字にもリストコンテキストを与えることになります; |
9729 | 13827 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
9730 | 13828 | |
9731 | 13829 | =begin original |
9732 | 13830 | |
9733 | 13831 | On the other hand, if you were actually hoping to treat the hash element |
9734 | 13832 | as a list, you need to look into how references work, because Perl will |
9735 | 13833 | not magically convert between scalars and lists for you. See |
9736 | 13834 | L<perlref>. |
9737 | 13835 | |
9738 | 13836 | =end original |
9739 | 13837 | |
9740 | 13838 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
9741 | 13839 | どのように働くかについて詳しく知る必要があります; なぜなら |
9742 | 13840 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
9743 | 13841 | L<perlref> を参照してください。 |
9744 | 13842 | |
9745 | 13843 | =item Search pattern not terminated |
9746 | 13844 | |
9747 | 13845 | =begin original |
9748 | 13846 | |
9749 | 13847 | (F) The lexer couldn't find the final delimiter of a // or m{} |
9750 | 13848 | construct. Remember that bracketing delimiters count nesting level. |
9751 | 13849 | Missing the leading C<$> from a variable C<$m> may cause this error. |
9752 | 13850 | |
9753 | 13851 | =end original |
9754 | 13852 | |
9755 | 13853 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
9756 | 13854 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
9757 | 13855 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
9758 | 13856 | |
9759 | 13857 | =begin original |
9760 | 13858 | |
9761 | Note that since Perl 5. | |
13859 | Note that since Perl 5.10.0 a // can also be the I<defined-or> | |
9762 | 13860 | construct, not just the empty search pattern. Therefore code written |
9763 | in Perl 5. | |
13861 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be | |
9764 | misparsed by pre-5. | |
13862 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. | |
9765 | 13863 | |
9766 | 13864 | =end original |
9767 | 13865 | |
9768 | Perl 5. | |
13866 | Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる | |
9769 | 13867 | 空検索パターンではありません。 |
9770 | 従って、Perl 5. | |
13868 | 従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている | |
9771 | コードは、5. | |
13869 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして | |
9772 | 13870 | 誤パースされるかもしれません。 |
9773 | 13871 | |
9774 | =item Search pattern not terminated or ternary operator parsed as search pattern | |
9775 | ||
9776 | =begin original | |
9777 | ||
9778 | (F) The lexer couldn't find the final delimiter of a C<?PATTERN?> | |
9779 | construct. | |
9780 | ||
9781 | =end original | |
9782 | ||
9783 | (F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。 | |
9784 | ||
9785 | =begin original | |
9786 | ||
9787 | The question mark is also used as part of the ternary operator (as in | |
9788 | C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly | |
9789 | parsed. One way to disambiguate the parsing is to put parentheses around | |
9790 | the conditional expression, i.e. C<(foo) ? 0 : 1>. | |
9791 | ||
9792 | =end original | |
9793 | ||
9794 | クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても | |
9795 | 使われるので、紛らわしい構造の場合は間違ってパースされることがあります。 | |
9796 | パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように | |
9797 | 条件式をかっこで括ることです。 | |
9798 | ||
9799 | 13872 | =item seekdir() attempted on invalid dirhandle %s |
9800 | 13873 | |
9801 | 13874 | =begin original |
9802 | 13875 | |
9803 | 13876 | (W io) The dirhandle you are doing a seekdir() on is either closed or not |
9804 | 13877 | really a dirhandle. Check your control flow. |
9805 | 13878 | |
9806 | 13879 | =end original |
9807 | 13880 | |
9808 | 13881 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 |
9809 | 13882 | 実際にはディレクトリハンドルではありません。 |
9810 | 13883 | 制御フローをチェックしてください。 |
9811 | 13884 | |
9812 | 13885 | =item %sseek() on unopened filehandle |
9813 | 13886 | |
9814 | 13887 | =begin original |
9815 | 13888 | |
9816 | 13889 | (W unopened) You tried to use the seek() or sysseek() function on a |
9817 | 13890 | filehandle that was either never opened or has since been closed. |
9818 | 13891 | |
9819 | 13892 | =end original |
9820 | 13893 | |
9821 | 13894 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
9822 | 13895 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
9823 | 13896 | |
9824 | 13897 | =item select not implemented |
9825 | 13898 | |
9826 | 13899 | =begin original |
9827 | 13900 | |
9828 | 13901 | (F) This machine doesn't implement the select() system call. |
9829 | 13902 | |
9830 | 13903 | =end original |
9831 | 13904 | |
9832 | 13905 | (F) このマシンでは、select() システムコールは実装されていません。 |
9833 | 13906 | |
9834 | 13907 | =item Self-ties of arrays and hashes are not supported |
9835 | 13908 | |
9836 | 13909 | =begin original |
9837 | 13910 | |
9838 | 13911 | (F) Self-ties are of arrays and hashes are not supported in |
9839 | 13912 | the current implementation. |
9840 | 13913 | |
9841 | 13914 | =end original |
9842 | 13915 | |
9843 | 13916 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 |
9844 | 13917 | |
9845 | 13918 | =item Semicolon seems to be missing |
9846 | 13919 | |
9847 | 13920 | =begin original |
9848 | 13921 | |
9849 | 13922 | (W semicolon) A nearby syntax error was probably caused by a missing |
9850 | 13923 | semicolon, or possibly some other missing operator, such as a comma. |
9851 | 13924 | |
9852 | 13925 | =end original |
9853 | 13926 | |
9854 | 13927 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
9855 | 13928 | 演算子がなかったために起こったものと考えられます。 |
9856 | 13929 | |
9857 | 13930 | =item semi-panic: attempt to dup freed string |
9858 | 13931 | |
9859 | 13932 | =begin original |
9860 | 13933 | |
9861 | 13934 | (S internal) The internal newSVsv() routine was called to duplicate a |
9862 | 13935 | scalar that had previously been marked as free. |
9863 | 13936 | |
9864 | 13937 | =end original |
9865 | 13938 | |
9866 | 13939 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
9867 | 13940 | newSVsv() ルーティンが呼ばれました。 |
9868 | 13941 | |
9869 | 13942 | =item sem%s not implemented |
9870 | 13943 | |
9871 | 13944 | =begin original |
9872 | 13945 | |
9873 | 13946 | (F) You don't have System V semaphore IPC on your system. |
9874 | 13947 | |
9875 | 13948 | =end original |
9876 | 13949 | |
9877 | 13950 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
9878 | 13951 | |
9879 | 13952 | =item send() on closed socket %s |
9880 | 13953 | |
9881 | 13954 | =begin original |
9882 | 13955 | |
9883 | 13956 | (W closed) The socket you're sending to got itself closed sometime |
9884 | 13957 | before now. Check your control flow. |
9885 | 13958 | |
9886 | 13959 | =end original |
9887 | 13960 | |
9888 | 13961 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 |
9889 | 13962 | 制御フローをチェックしてください。 |
9890 | 13963 | |
9891 | =item Sequence | |
13964 | =item Sequence "\c{" invalid | |
9892 | 13965 | |
9893 | 13966 | =begin original |
9894 | 13967 | |
9895 | (F) | |
13968 | (F) These three characters may not appear in sequence in a | |
9896 | ||
13969 | double-quotish context. This message is raised only on non-ASCII | |
9897 | ||
13970 | platforms (a different error message is output on ASCII ones). If you | |
13971 | were intending to specify a control character with this sequence, you'll | |
13972 | have to use a different way to specify it. | |
9898 | 13973 | |
9899 | 13974 | =end original |
9900 | 13975 | |
13976 | (F) これら三つの文字の並びはダブルクォート風のコンテキストでは | |
13977 | 使えません。 | |
13978 | このメッセージは非 ASCII プラットフォームでのみ発生します | |
13979 | (ASCII では異なったえらメッセージが出力されます)。 | |
13980 | この並びの制御文字を指定することを意図している場合は、指定するために | |
13981 | 異なる方法を使う必要があります。 | |
13982 | ||
13983 | =item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/ | |
13984 | ||
13985 | =begin original | |
13986 | ||
13987 | (F) A regular expression ended with an incomplete extension (?. The | |
13988 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13989 | discovered. See L<perlre>. | |
13990 | ||
13991 | =end original | |
13992 | ||
9901 | 13993 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
9902 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13994 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9903 | 13995 | L<perlre> を参照してください。 |
9904 | 13996 | |
9905 | =item Sequence (?% | |
13997 | =item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in | |
13998 | m/%s/ | |
9906 | 13999 | |
9907 | 14000 | =begin original |
9908 | 14001 | |
9909 | (F) A proposed regular expression extension has the character reserved | |
14002 | (F) A proposed regular expression extension has the character reserved | |
9910 | has not yet been written. The <-- HERE shows | |
14003 | but has not yet been written. The S<<-- HERE> shows whereabouts in the | |
9911 | ||
14004 | regular expression the problem was discovered. See L<perlre>. | |
9912 | 14005 | |
9913 | 14006 | =end original |
9914 | 14007 | |
9915 | 14008 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
9916 | 14009 | まだ実装されていません。 |
9917 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14010 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9918 | 14011 | L<perlre> を参照してください。 |
9919 | 14012 | |
9920 | =item Sequence (?%s...) not recognized in regex; marked by <-- HERE in | |
14013 | =item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in | |
14014 | m/%s/ | |
9921 | 14015 | |
9922 | 14016 | =begin original |
9923 | 14017 | |
9924 | (F) You used a regular expression extension that doesn't make sense. | |
14018 | (F) You used a regular expression extension that doesn't make sense. | |
9925 | <-- HERE shows in the regular expression | |
14019 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
9926 | discovered. This happen | |
14020 | discovered. This may happen when using the C<(?^...)> construct to tell | |
9927 | 14021 | Perl to use the default regular expression modifiers, and you |
9928 | 14022 | redundantly specify a default modifier. For other |
9929 | 14023 | causes, see L<perlre>. |
9930 | 14024 | |
9931 | 14025 | =end original |
9932 | 14026 | |
9933 | 14027 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
9934 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14028 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9935 | 14029 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために |
9936 | 14030 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 |
9937 | 14031 | その他の理由については、L<perlre> を参照してください。 |
9938 | 14032 | |
9939 | =item Sequence | |
14033 | =item Sequence (?#... not terminated in regex m/%s/ | |
9940 | 14034 | |
9941 | 14035 | =begin original |
9942 | 14036 | |
14037 | (F) A regular expression comment must be terminated by a closing | |
14038 | parenthesis. Embedded parentheses aren't allowed. See | |
14039 | L<perlre>. | |
14040 | ||
14041 | =end original | |
14042 | ||
14043 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 | |
14044 | 組み込みのかっこは許可されません。 | |
14045 | L<perlre> を参照してください。 | |
14046 | ||
14047 | =item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in | |
14048 | m/%s/ | |
14049 | ||
14050 | =begin original | |
14051 | ||
14052 | (F) A named reference of the form C<(?&...)> was missing the final | |
14053 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
14054 | in the regular expression the problem was discovered. | |
14055 | ||
14056 | =end original | |
14057 | ||
14058 | (F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが | |
14059 | ありません。 | |
14060 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14061 | ||
14062 | =item Sequence (?%c... not terminated in regex; marked by S<<-- HERE> | |
14063 | in m/%s/ | |
14064 | ||
14065 | =begin original | |
14066 | ||
14067 | (F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final | |
14068 | closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the | |
14069 | regular expression the problem was discovered. | |
14070 | ||
14071 | =end original | |
14072 | ||
14073 | (F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の | |
14074 | 最後の閉じクォートまたは山かっこがありません。 | |
14075 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14076 | ||
14077 | =item Sequence (%s... not terminated in regex; marked by S<<-- HERE> | |
14078 | in m/%s/ | |
14079 | ||
14080 | =begin original | |
14081 | ||
14082 | (F) A lookahead assertion C<(?=...)> or C<(?!...)> or lookbehind | |
14083 | assertion C<< (?<=...) >> or C<< (?<!...) >> was missing the final | |
14084 | closing parenthesis. The S<<-- HERE> shows whereabouts in the | |
14085 | regular expression the problem was discovered. | |
14086 | ||
14087 | =end original | |
14088 | ||
14089 | (F) 先読み表明 C<(?=...)> および C<(?!...)> や | |
14090 | 後読み表明 C<< (?<=...) >> および C<< (?<!...) >> は | |
14091 | 最後の閉じかっこがありませんでした。 | |
14092 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14093 | ||
14094 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> | |
14095 | in m/%s/ | |
14096 | ||
14097 | =begin original | |
14098 | ||
14099 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was | |
14100 | missing the final closing quote or angle bracket after the name. The | |
14101 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
14102 | discovered. | |
14103 | ||
14104 | =end original | |
14105 | ||
14106 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き | |
14107 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 | |
14108 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14109 | ||
14110 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in | |
14111 | m/%s/ | |
14112 | ||
14113 | =begin original | |
14114 | ||
14115 | (F) There was no matching closing parenthesis for the '('. The | |
14116 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
14117 | discovered. | |
14118 | ||
14119 | =end original | |
14120 | ||
14121 | (F) '(' に対応する閉じかっこがありません。 | |
14122 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14123 | ||
14124 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in | |
14125 | m/%s/ | |
14126 | ||
14127 | =begin original | |
14128 | ||
9943 | 14129 | (F) The regular expression expects a mandatory argument following the escape |
9944 | 14130 | sequence and this has been omitted or incorrectly written. |
9945 | 14131 | |
9946 | 14132 | =end original |
9947 | 14133 | |
9948 | 14134 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 |
9949 | 14135 | それが省略されているか適切に書かれていません。 |
9950 | 14136 | |
9951 | =item Sequence (? | |
14137 | =item Sequence (?{...}) not terminated with ')' | |
9952 | 14138 | |
9953 | 14139 | =begin original |
9954 | 14140 | |
9955 | (F) | |
14141 | (F) The end of the perl code contained within the {...} must be | |
9956 | ||
14142 | followed immediately by a ')'. | |
9957 | the regular expression about where the problem was discovered. See | |
9958 | L<perlre>. | |
9959 | 14143 | |
9960 | 14144 | =end original |
9961 | 14145 | |
9962 | (F) | |
14146 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が | |
9963 | ||
14147 | 引き続かなければなりません。 | |
9964 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9965 | L<perlre> を参照してください。 | |
9966 | 14148 | |
9967 | =item Sequence (? | |
14149 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
9968 | 14150 | |
9969 | 14151 | =begin original |
9970 | 14152 | |
9971 | (F) | |
14153 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
9972 | ||
14154 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
9973 | the regular expression | |
14155 | in the regular expression the problem was discovered. | |
9974 | L<perlre>. | |
9975 | 14156 | |
9976 | 14157 | =end original |
9977 | 14158 | |
9978 | (F) (? | |
14159 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
9979 | ||
14160 | ありません。 | |
9980 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14161 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9981 | L<perlre> を参照してください。 | |
9982 | 14162 | |
9983 | =item | |
14163 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
9984 | 14164 | |
9985 | 14165 | =begin original |
9986 | 14166 | |
9987 | ||
14167 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
14168 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
14169 | regular expression the problem was discovered. | |
9988 | 14170 | |
9989 | 14171 | =end original |
9990 | 14172 | |
9991 | ||
14173 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
14174 | 最後の閉じ山かっこがありません。 | |
14175 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
9992 | 14176 | |
9993 | =item Se | |
14177 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in | |
14178 | m/%s/ | |
9994 | 14179 | |
9995 | 14180 | =begin original |
9996 | 14181 | |
9997 | ( | |
14182 | (F) A named reference of the form C<(?P=...)> was missing the final | |
9998 | ||
14183 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
9999 | ||
14184 | in the regular expression the problem was discovered. | |
10000 | are "500 Server error", "Method (something) not permitted", "Document | |
10001 | contains no data", "Premature end of script headers", and "Did not | |
10002 | produce a valid header". | |
10003 | 14185 | |
10004 | 14186 | =end original |
10005 | 14187 | |
14188 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の | |
14189 | 閉じかっこがありません。 | |
14190 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14191 | ||
14192 | =item Sequence (?R) not terminated in regex m/%s/ | |
14193 | ||
14194 | =begin original | |
14195 | ||
14196 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the | |
14197 | final parenthesis. | |
14198 | ||
14199 | =end original | |
14200 | ||
14201 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 | |
14202 | ||
14203 | =item Z<>500 Server error | |
14204 | ||
14205 | =begin original | |
14206 | ||
14207 | (A) This is the error message generally seen in a browser window | |
14208 | when trying to run a CGI program (including SSI) over the web. The | |
14209 | actual error text varies widely from server to server. The most | |
14210 | frequently-seen variants are "500 Server error", "Method (something) | |
14211 | not permitted", "Document contains no data", "Premature end of script | |
14212 | headers", and "Did not produce a valid header". | |
14213 | ||
14214 | =end original | |
14215 | ||
10006 | 14216 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに |
10007 | 14217 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
10008 | 14218 | 実際のエラーテキストはサーバーによって大きく異なります。 |
10009 | 14219 | もっともよく見られるものとしては、"500 Server error", |
10010 | 14220 | "Method (something) not permitted", "Document contains no data", |
10011 | 14221 | "Premature end of script headers", "Did not produce a valid header" が |
10012 | 14222 | あります。 |
10013 | 14223 | |
10014 | 14224 | =begin original |
10015 | 14225 | |
10016 | 14226 | B<This is a CGI error, not a Perl error>. |
10017 | 14227 | |
10018 | 14228 | =end original |
10019 | 14229 | |
10020 | 14230 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
10021 | 14231 | |
10022 | 14232 | =begin original |
10023 | 14233 | |
10024 | You need to make sure your script is executable, is accessible by | |
14234 | You need to make sure your script is executable, is accessible by | |
10025 | user CGI is running the script under (which is probably not the | |
14235 | the user CGI is running the script under (which is probably not the | |
10026 | account you tested it under), does not rely on any environment | |
14236 | user account you tested it under), does not rely on any environment | |
10027 | (like PATH) from the user it isn't running under, and isn't | |
14237 | variables (like PATH) from the user it isn't running under, and isn't | |
10028 | location where the CGI server can't find it, basically, more or | |
14238 | in a location where the CGI server can't find it, basically, more or | |
10029 | Please see the following for more information: | |
14239 | less. Please see the following for more information: | |
10030 | 14240 | |
10031 | 14241 | =end original |
10032 | 14242 | |
10033 | 14243 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
10034 | 14244 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
10035 | 14245 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
10036 | 14246 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
10037 | 14247 | さらなる情報については以下を参照してください。 |
10038 | 14248 | |
10039 | http://www.perl.org/CGI_MetaFAQ.html | |
14249 | https://www.perl.org/CGI_MetaFAQ.html | |
10040 | 14250 | http://www.htmlhelp.org/faq/cgifaq.html |
10041 | 14251 | http://www.w3.org/Security/Faq/ |
10042 | 14252 | |
10043 | 14253 | =begin original |
10044 | 14254 | |
10045 | 14255 | You should also look at L<perlfaq9>. |
10046 | 14256 | |
10047 | 14257 | =end original |
10048 | 14258 | |
10049 | 14259 | L<perlfaq9> も見るべきでしょう。 |
10050 | 14260 | |
10051 | 14261 | =item setegid() not implemented |
10052 | 14262 | |
10053 | 14263 | =begin original |
10054 | 14264 | |
10055 | 14265 | (F) You tried to assign to C<$)>, and your operating system doesn't |
10056 | 14266 | support the setegid() system call (or equivalent), or at least Configure |
10057 | 14267 | didn't think so. |
10058 | 14268 | |
10059 | 14269 | =end original |
10060 | 14270 | |
10061 | 14271 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
10062 | 14272 | システムコール (または、同等のもの) がサポートされていません; |
10063 | 14273 | 少なくとも Configure では、そう判断されました。 |
10064 | 14274 | |
10065 | 14275 | =item seteuid() not implemented |
10066 | 14276 | |
10067 | 14277 | =begin original |
10068 | 14278 | |
10069 | 14279 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
10070 | 14280 | support the seteuid() system call (or equivalent), or at least Configure |
10071 | 14281 | didn't think so. |
10072 | 14282 | |
10073 | 14283 | =end original |
10074 | 14284 | |
10075 | 14285 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
10076 | 14286 | システムコール (または、同等のもの) がサポートされていません; |
10077 | 14287 | 少なくとも Configure では、そう判断されました。 |
10078 | 14288 | |
10079 | 14289 | =item setpgrp can't take arguments |
10080 | 14290 | |
10081 | 14291 | =begin original |
10082 | 14292 | |
10083 | 14293 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
10084 | 14294 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
10085 | 14295 | group ID. |
10086 | 14296 | |
10087 | 14297 | =end original |
10088 | 14298 | |
10089 | 14299 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; |
10090 | 14300 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
10091 | 14301 | |
10092 | 14302 | =item setrgid() not implemented |
10093 | 14303 | |
10094 | 14304 | =begin original |
10095 | 14305 | |
10096 | 14306 | (F) You tried to assign to C<$(>, and your operating system doesn't |
10097 | 14307 | support the setrgid() system call (or equivalent), or at least Configure |
10098 | 14308 | didn't think so. |
10099 | 14309 | |
10100 | 14310 | =end original |
10101 | 14311 | |
10102 | 14312 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
10103 | 14313 | システムコール (または、同等のもの) がサポートされていません; |
10104 | 14314 | 少なくとも Configure では、そう判断されました。 |
10105 | 14315 | |
10106 | 14316 | =item setruid() not implemented |
10107 | 14317 | |
10108 | 14318 | =begin original |
10109 | 14319 | |
10110 | 14320 | (F) You tried to assign to C<$<>, and your operating system doesn't |
10111 | 14321 | support the setruid() system call (or equivalent), or at least Configure |
10112 | 14322 | didn't think so. |
10113 | 14323 | |
10114 | 14324 | =end original |
10115 | 14325 | |
10116 | 14326 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
10117 | 14327 | システムコール (または、同等のもの) がサポートされていません; |
10118 | 14328 | 少なくとも Configure では、そう判断されました。 |
10119 | 14329 | |
10120 | 14330 | =item setsockopt() on closed socket %s |
10121 | 14331 | |
10122 | 14332 | =begin original |
10123 | 14333 | |
10124 | 14334 | (W closed) You tried to set a socket option on a closed socket. Did you |
10125 | 14335 | forget to check the return value of your socket() call? See |
10126 | 14336 | L<perlfunc/setsockopt>. |
10127 | 14337 | |
10128 | 14338 | =end original |
10129 | 14339 | |
10130 | 14340 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
10131 | 14341 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
10132 | 14342 | L<perlfunc/setsockopt> を参照してください。 |
10133 | 14343 | |
14344 | =item Setting $/ to a reference to %s is forbidden | |
14345 | ||
14346 | =begin original | |
14347 | ||
14348 | (F) You assigned a reference to a scalar to C<$/> where the referenced item is | |
14349 | not a positive integer. In older perls this B<appeared> to work the same as | |
14350 | setting it to C<undef> but was in fact internally different, less efficient | |
14351 | and with very bad luck could have resulted in your file being split by a | |
14352 | stringified form of the reference. | |
14353 | ||
14354 | =end original | |
14355 | ||
14356 | (F) リファレンス先のアイテムが正の整数でないときに、 | |
14357 | C<$/> にスカラへの整数を代入しました。 | |
14358 | 以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、 | |
14359 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが | |
14360 | このリファレンスの文字列化形式で split されることになっていました。 | |
14361 | ||
14362 | =begin original | |
14363 | ||
14364 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as | |
14365 | setting C<$/> to undef, with the exception that this warning would be thrown. | |
14366 | ||
14367 | =end original | |
14368 | ||
14369 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては | |
14370 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 | |
14371 | ||
14372 | =begin original | |
14373 | ||
14374 | You are recommended to change your code to set C<$/> to C<undef> explicitly if | |
14375 | you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference | |
14376 | to an integer which isn't positive is a fatal error. | |
14377 | ||
14378 | =end original | |
14379 | ||
14380 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を | |
14381 | 設定するようにコードを変更することを勧めます。 | |
14382 | Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は | |
14383 | 致命的エラーです。 | |
14384 | ||
14385 | =item Setting $/ to %s reference is forbidden | |
14386 | ||
14387 | =begin original | |
14388 | ||
14389 | (F) You tried to assign a reference to a non integer to C<$/>. In older | |
14390 | Perls this would have behaved similarly to setting it to a reference to | |
14391 | a positive integer, where the integer was the address of the reference. | |
14392 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl | |
14393 | to use non-integer refs for more interesting purposes. | |
14394 | ||
14395 | =end original | |
14396 | ||
14397 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 | |
14398 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを | |
14399 | 設定するのと似たように振る舞っていました。 | |
14400 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように | |
14401 | Perl 5.20.0 から、これは致命的エラーになりました。 | |
14402 | ||
10134 | 14403 | =item shm%s not implemented |
10135 | 14404 | |
10136 | 14405 | =begin original |
10137 | 14406 | |
10138 | 14407 | (F) You don't have System V shared memory IPC on your system. |
10139 | 14408 | |
10140 | 14409 | =end original |
10141 | 14410 | |
10142 | 14411 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
10143 | 14412 | |
10144 | 14413 | =item !=~ should be !~ |
10145 | 14414 | |
10146 | 14415 | =begin original |
10147 | 14416 | |
10148 | 14417 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be |
10149 | 14418 | interpreted as the != (numeric not equal) and ~ (1's complement) |
10150 | 14419 | operators: probably not what you intended. |
10151 | 14420 | |
10152 | 14421 | =end original |
10153 | 14422 | |
10154 | 14423 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 |
10155 | 14424 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: |
10156 | 14425 | おそらくあなたの意図していることではないでしょう。 |
10157 | 14426 | |
10158 | =item <> should be quotes | |
10159 | ||
10160 | =begin original | |
10161 | ||
10162 | (F) You wrote C<< require <file> >> when you should have written | |
10163 | C<require 'file'>. | |
10164 | ||
10165 | =end original | |
10166 | ||
10167 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
10168 | 書いています。 | |
10169 | ||
10170 | 14427 | =item /%s/ should probably be written as "%s" |
10171 | 14428 | |
10172 | 14429 | =begin original |
10173 | 14430 | |
10174 | 14431 | (W syntax) You have used a pattern where Perl expected to find a string, |
10175 | 14432 | as in the first argument to C<join>. Perl will treat the true or false |
10176 | 14433 | result of matching the pattern against $_ as the string, which is |
10177 | 14434 | probably not what you had in mind. |
10178 | 14435 | |
10179 | 14436 | =end original |
10180 | 14437 | |
10181 | 14438 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
10182 | 14439 | パターンを使いました。 |
10183 | 14440 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
10184 | 14441 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
10185 | 14442 | |
10186 | 14443 | =item shutdown() on closed socket %s |
10187 | 14444 | |
10188 | 14445 | =begin original |
10189 | 14446 | |
10190 | 14447 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
10191 | 14448 | superfluous. |
10192 | 14449 | |
10193 | 14450 | =end original |
10194 | 14451 | |
10195 | 14452 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
10196 | 14453 | 多少、無駄のように思われます。 |
10197 | 14454 | |
10198 | 14455 | =item SIG%s handler "%s" not defined |
10199 | 14456 | |
10200 | 14457 | =begin original |
10201 | 14458 | |
10202 | 14459 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
10203 | 14460 | Perhaps you put it into the wrong package? |
10204 | 14461 | |
10205 | 14462 | =end original |
10206 | 14463 | |
10207 | 14464 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
10208 | 14465 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
10209 | 14466 | |
14467 | =item Slab leaked from cv %p | |
14468 | ||
14469 | =begin original | |
14470 | ||
14471 | (S) If you see this message, then something is seriously wrong with the | |
14472 | internal bookkeeping of op trees. An op tree needed to be freed after | |
14473 | a compilation error, but could not be found, so it was leaked instead. | |
14474 | ||
14475 | =end original | |
14476 | ||
14477 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく | |
14478 | 悪いことになっています。 | |
14479 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 | |
14480 | 見つからないので、リークしています。 | |
14481 | ||
14482 | =item sleep(%u) too large | |
14483 | ||
14484 | =begin original | |
14485 | ||
14486 | (W overflow) You called C<sleep> with a number that was larger than | |
14487 | it can reliably handle and C<sleep> probably slept for less time than | |
14488 | requested. | |
14489 | ||
14490 | =end original | |
14491 | ||
14492 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 | |
14493 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 | |
14494 | ||
14495 | =item Slurpy parameter not last | |
14496 | ||
14497 | =begin original | |
14498 | ||
14499 | (F) In a subroutine signature, you put something after a slurpy (array or | |
14500 | hash) parameter. The slurpy parameter takes all the available arguments, | |
14501 | so there can't be any left to fill later parameters. | |
14502 | ||
14503 | =end original | |
14504 | ||
14505 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に | |
14506 | 何かを起きました。 | |
14507 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに | |
14508 | 対応するものを残しません。 | |
14509 | ||
10210 | 14510 | =item Smart matching a non-overloaded object breaks encapsulation |
10211 | 14511 | |
10212 | 14512 | =begin original |
10213 | 14513 | |
10214 | 14514 | (F) You should not use the C<~~> operator on an object that does not |
10215 | overload it: Perl refuses to use the object's underlying structure | |
14515 | overload it: Perl refuses to use the object's underlying structure | |
10216 | the smart match. | |
14516 | for the smart match. | |
10217 | 14517 | |
10218 | 14518 | =end original |
10219 | 14519 | |
10220 | 14520 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を |
10221 | 14521 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの |
10222 | 14522 | 基礎となる構造を使うことを拒否します。 |
10223 | 14523 | |
14524 | =item Smartmatch is deprecated | |
14525 | ||
14526 | =begin original | |
14527 | ||
14528 | (D deprecated::smartmatch) This warning is emitted if you | |
14529 | use the smartmatch (C<~~>) operator. This is a deprecated | |
14530 | feature. Particularly, its behavior is noticed for being | |
14531 | unnecessarily complex and unintuitive, and it will be removed | |
14532 | in Perl 5.42. | |
14533 | ||
14534 | =end original | |
14535 | ||
14536 | (D deprecated::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
14537 | 使ったときに出力されます。 | |
14538 | これは廃止予定の機能です。 | |
14539 | 特に、この実装は不必要に複雑かつ直感的でないとされており、 | |
14540 | Perl 5.42 で削除される予定です。 | |
14541 | ||
14542 | =item Sorry, hash keys must be smaller than 2**31 bytes | |
14543 | ||
14544 | =begin original | |
14545 | ||
14546 | (F) You tried to create a hash containing a very large key, where "very | |
14547 | large" means that it needs at least 2 gigabytes to store. Unfortunately, | |
14548 | Perl doesn't yet handle such large hash keys. You should | |
14549 | reconsider your design to avoid hashing such a long string directly. | |
14550 | ||
14551 | =end original | |
14552 | ||
14553 | (F) とても大きなキーを含むハッシュを作ろうとしました; | |
14554 | ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。 | |
14555 | 残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。 | |
14556 | そのような長い文字列で直接ハッシュを作るのを避けるように、 | |
14557 | 設計を再考する必要があります。 | |
14558 | ||
10224 | 14559 | =item sort is now a reserved word |
10225 | 14560 | |
10226 | 14561 | =begin original |
10227 | 14562 | |
10228 | 14563 | (F) An ancient error message that almost nobody ever runs into anymore. |
10229 | 14564 | But before sort was a keyword, people sometimes used it as a filehandle. |
10230 | 14565 | |
10231 | 14566 | =end original |
10232 | 14567 | |
10233 | 14568 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
10234 | 14569 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
10235 | 14570 | 使う方がいました。 |
10236 | 14571 | |
10237 | =item So | |
14572 | =item Source filters apply only to byte streams | |
10238 | 14573 | |
10239 | 14574 | =begin original |
10240 | 14575 | |
10241 | (F) | |
14576 | (F) You tried to activate a source filter (usually by loading a | |
10242 | or le | |
14577 | source filter module) within a string passed to C<eval>. This is | |
14578 | not permitted under the C<unicode_eval> feature. Consider using | |
14579 | C<evalbytes> instead. See L<feature>. | |
10243 | 14580 | |
10244 | 14581 | =end original |
10245 | 14582 | |
10246 | (F) | |
14583 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを | |
10247 | ||
14584 | 読み込むことで)ソースフィルタを有効にしようとしました。 | |
10248 | ||
14585 | これは C<unicode_eval> 機能が有効の場合は許されていません。 | |
14586 | 代わりに C<evalbytes> を使うことを検討してください。 | |
14587 | L<feature> を参照してください。 | |
10249 | 14588 | |
10250 | 14589 | =item splice() offset past end of array |
10251 | 14590 | |
10252 | 14591 | =begin original |
10253 | 14592 | |
10254 | 14593 | (W misc) You attempted to specify an offset that was past the end of |
10255 | the array passed to splice(). Splicing will instead commence at the | |
14594 | the array passed to splice(). Splicing will instead commence at the | |
10256 | of the array, rather than past it. If this isn't what you want, | |
14595 | end of the array, rather than past it. If this isn't what you want, | |
10257 | explicitly pre-extending the array by assigning $#array = $offset. | |
14596 | try explicitly pre-extending the array by assigning $#array = $offset. | |
10258 | L<perlfunc/splice>. | |
14597 | See L<perlfunc/splice>. | |
10259 | 14598 | |
10260 | 14599 | =end original |
10261 | 14600 | |
10262 | 14601 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 |
10263 | 14602 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 |
10264 | 14603 | これが望んでいることではないなら、$#array = $offset と代入することで |
10265 | 14604 | 明示的に事前に配列を拡張してください。 |
10266 | 14605 | L<perlfunc/splice> を参照してください。 |
10267 | 14606 | |
10268 | 14607 | =item Split loop |
10269 | 14608 | |
10270 | 14609 | =begin original |
10271 | 14610 | |
10272 | 14611 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
10273 | 14612 | iterate more times than there are characters of input, which is what |
10274 | happened.) See L<perlfunc/split>. | |
14613 | happened.) See L<perlfunc/split>. | |
10275 | 14614 | |
10276 | 14615 | =end original |
10277 | 14616 | |
10278 | 14617 | (P) split が無限ループに陥りました。 |
10279 | 14618 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
10280 | 14619 | そうなってしまいました。) |
10281 | 14620 | L<perlfunc/split> を参照してください。 |
10282 | 14621 | |
10283 | 14622 | =item Statement unlikely to be reached |
10284 | 14623 | |
10285 | 14624 | =begin original |
10286 | 14625 | |
10287 | 14626 | (W exec) You did an exec() with some statement after it other than a |
10288 | 14627 | die(). This is almost always an error, because exec() never returns |
10289 | 14628 | unless there was a failure. You probably wanted to use system() |
10290 | 14629 | instead, which does return. To suppress this warning, put the exec() in |
10291 | 14630 | a block by itself. |
10292 | 14631 | |
10293 | 14632 | =end original |
10294 | 14633 | |
10295 | 14634 | (W exec) exec() の後に、die() 以外の実行文があります。 |
10296 | 14635 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
10297 | 14636 | ほとんどの場合には誤りでしょう。 |
10298 | 14637 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
10299 | 14638 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
10300 | 14639 | |
14640 | =item "state" subroutine %s can't be in a package | |
14641 | ||
14642 | =begin original | |
14643 | ||
14644 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
14645 | sense to try to declare one with a package qualifier on the front. | |
14646 | ||
14647 | =end original | |
14648 | ||
14649 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
14650 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
14651 | ||
14652 | =item "state %s" used in sort comparison | |
14653 | ||
14654 | =begin original | |
14655 | ||
14656 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
14657 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
14658 | sort comparison block, and the variable had earlier been declared as a | |
14659 | lexical variable. Either qualify the sort variable with the package | |
14660 | name, or rename the lexical variable. | |
14661 | ||
14662 | =end original | |
14663 | ||
14664 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
14665 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
14666 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
14667 | 宣言されています。 | |
14668 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
14669 | ||
10301 | 14670 | =item "state" variable %s can't be in a package |
10302 | 14671 | |
10303 | 14672 | =begin original |
10304 | 14673 | |
10305 | 14674 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
10306 | 14675 | sense to try to declare one with a package qualifier on the front. Use |
10307 | 14676 | local() if you want to localize a package variable. |
10308 | 14677 | |
10309 | 14678 | =end original |
10310 | 14679 | |
10311 | (F) | |
14680 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
10312 | 14681 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
10313 | 14682 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
10314 | 14683 | |
10315 | 14684 | =item stat() on unopened filehandle %s |
10316 | 14685 | |
10317 | 14686 | =begin original |
10318 | 14687 | |
10319 | 14688 | (W unopened) You tried to use the stat() function on a filehandle that |
10320 | 14689 | was either never opened or has since been closed. |
10321 | 14690 | |
10322 | 14691 | =end original |
10323 | 14692 | |
10324 | 14693 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
10325 | 14694 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
10326 | 14695 | |
14696 | =item Strings with code points over 0xFF may not be mapped into in-memory file handles | |
14697 | ||
14698 | =begin original | |
14699 | ||
14700 | (W utf8) You tried to open a reference to a scalar for read or append | |
14701 | where the scalar contained code points over 0xFF. In-memory files | |
14702 | model on-disk files and can only contain bytes. | |
14703 | ||
14704 | =end original | |
14705 | ||
14706 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
14707 | スカラへのリファレンスを開こうとしました。 | |
14708 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
14709 | 使えます。 | |
14710 | ||
10327 | 14711 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" |
10328 | 14712 | |
10329 | 14713 | =begin original |
10330 | 14714 | |
10331 | 14715 | (P) Overloading resolution over @ISA tree may be broken by importation |
10332 | 14716 | stubs. Stubs should never be implicitly created, but explicit calls to |
10333 | 14717 | C<can> may break this. |
10334 | 14718 | |
10335 | 14719 | =end original |
10336 | 14720 | |
10337 | 14721 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
10338 | 14722 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
10339 | 14723 | これを破壊することがあります。 |
10340 | 14724 | |
14725 | =item Subroutine attributes must come before the signature | |
14726 | ||
14727 | =begin original | |
14728 | ||
14729 | (F) When subroutine signatures are enabled, any subroutine attributes must | |
14730 | come before the signature. Note that this order was the opposite in | |
14731 | versions 5.22..5.26. So: | |
14732 | ||
14733 | =end original | |
14734 | ||
14735 | (F) サブルーチンシグネチャが有効の場合、サブルーチン属性は | |
14736 | シグネチャの前に来なければなりません。 | |
14737 | この順序はバージョン 5.22..5.26 と反対であることに注意してください。 | |
14738 | 従って: | |
14739 | ||
14740 | sub foo :lvalue ($x, $y) { ... } # 5.20 and 5.28 + | |
14741 | sub foo ($x, $y) :lvalue { ... } # 5.22 .. 5.26 | |
14742 | ||
14743 | =item Subroutine "&%s" is not available | |
14744 | ||
14745 | =begin original | |
14746 | ||
14747 | (W closure) During compilation, an inner named subroutine or eval is | |
14748 | attempting to capture an outer lexical subroutine that is not currently | |
14749 | available. This can happen for one of two reasons. First, the lexical | |
14750 | subroutine may be declared in an outer anonymous subroutine that has | |
14751 | not yet been created. (Remember that named subs are created at compile | |
14752 | time, while anonymous subs are created at run-time.) For example, | |
14753 | ||
14754 | =end original | |
14755 | ||
14756 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
14757 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
14758 | これは二つの理由で起こります。 | |
14759 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
14760 | 宣言されたときです。 | |
14761 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
14762 | 実行時に作成されることを思い出してください。) | |
14763 | 例えば、 | |
14764 | ||
14765 | sub { my sub a {...} sub f { \&a } } | |
14766 | ||
14767 | =begin original | |
14768 | ||
14769 | At the time that f is created, it can't capture the current "a" sub, | |
14770 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
14771 | following won't give a warning since the anonymous subroutine has by now | |
14772 | been created and is live: | |
14773 | ||
14774 | =end original | |
14775 | ||
14776 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
14777 | 無名サブルーチンはまだ作成されていないからです。 | |
14778 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
14779 | 生きているからです: | |
14780 | ||
14781 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
14782 | ||
14783 | =begin original | |
14784 | ||
14785 | The second situation is caused by an eval accessing a lexical subroutine | |
14786 | that has gone out of scope, for example, | |
14787 | ||
14788 | =end original | |
14789 | ||
14790 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに | |
14791 | アクセスすることで起こります; 例えば: | |
14792 | ||
14793 | sub f { | |
14794 | my sub a {...} | |
14795 | sub { eval '\&a' } | |
14796 | } | |
14797 | f()->(); | |
14798 | ||
14799 | =begin original | |
14800 | ||
14801 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
14802 | being executed, so its &a is not available for capture. | |
14803 | ||
14804 | =end original | |
14805 | ||
14806 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
14807 | 実行されていないので、&a は捕捉として利用できません。 | |
14808 | ||
14809 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
14810 | ||
14811 | =begin original | |
14812 | ||
14813 | (W shadow) A "my" or "state" subroutine has been redeclared in the | |
14814 | current scope or statement, effectively eliminating all access to | |
14815 | the previous instance. This is almost always a typographical error. | |
14816 | Note that the earlier subroutine will still exist until the end of | |
14817 | the scope or until all closure references to it are destroyed. | |
14818 | ||
14819 | =end original | |
14820 | ||
14821 | (W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で | |
14822 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
14823 | これはほとんど常にタイプミスです。 | |
14824 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
14825 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
14826 | ||
10341 | 14827 | =item Subroutine %s redefined |
10342 | 14828 | |
10343 | 14829 | =begin original |
10344 | 14830 | |
10345 | 14831 | (W redefine) You redefined a subroutine. To suppress this warning, say |
10346 | 14832 | |
10347 | 14833 | =end original |
10348 | 14834 | |
10349 | 14835 | (W redefine) サブルーチンを再定義しました。 |
10350 | 14836 | この警告を止めるには以下のようにしてください: |
10351 | 14837 | |
10352 | 14838 | { |
10353 | 14839 | no warnings 'redefine'; |
10354 | 14840 | eval "sub name { ... }"; |
10355 | 14841 | } |
10356 | 14842 | |
14843 | =item Subroutine "%s" will not stay shared | |
14844 | ||
14845 | =begin original | |
14846 | ||
14847 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" | |
14848 | subroutine defined in an outer named subroutine. | |
14849 | ||
14850 | =end original | |
14851 | ||
14852 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 | |
14853 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 | |
14854 | ||
14855 | =begin original | |
14856 | ||
14857 | When the inner subroutine is called, it will see the value of the outer | |
14858 | subroutine's lexical subroutine as it was before and during the *first* | |
14859 | call to the outer subroutine; in this case, after the first call to the | |
14860 | outer subroutine is complete, the inner and outer subroutines will no | |
14861 | longer share a common value for the lexical subroutine. In other words, | |
14862 | it will no longer be shared. This will especially make a difference | |
14863 | if the lexical subroutines accesses lexical variables declared in its | |
14864 | surrounding scope. | |
14865 | ||
14866 | =end original | |
14867 | ||
14868 | 内側のサブルーチンが呼び出されるとき、 | |
14869 | 外側のサブルーチンのレキシカルサブルーチンの値は、 | |
14870 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; | |
14871 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
14872 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて | |
14873 | 共通の値を共有しません。 | |
14874 | 言い換えると、これはもはや共有されません。 | |
14875 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された | |
14876 | レキシカル変数にアクセスしたときに違いがあります。 | |
14877 | ||
14878 | =begin original | |
14879 | ||
14880 | This problem can usually be solved by making the inner subroutine | |
14881 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that | |
14882 | reference lexical subroutines in outer subroutines are created, they | |
14883 | are automatically rebound to the current values of such lexical subs. | |
14884 | ||
14885 | =end original | |
14886 | ||
14887 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで | |
14888 | 解決します。 | |
14889 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の | |
14890 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に | |
14891 | 自動的に回復します。 | |
14892 | ||
10357 | 14893 | =item Substitution loop |
10358 | 14894 | |
10359 | 14895 | =begin original |
10360 | 14896 | |
10361 | 14897 | (P) The substitution was looping infinitely. (Obviously, a substitution |
10362 | 14898 | shouldn't iterate more times than there are characters of input, which |
10363 | 14899 | is what happened.) See the discussion of substitution in |
10364 | 14900 | L<perlop/"Regexp Quote-Like Operators">. |
10365 | 14901 | |
10366 | 14902 | =end original |
10367 | 14903 | |
10368 | 14904 | (P) 置換が無限ループに陥りました。 |
10369 | 14905 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
10370 | 14906 | それが起こってしまいました。) |
10371 | 14907 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 |
10372 | 14908 | |
10373 | 14909 | =item Substitution pattern not terminated |
10374 | 14910 | |
10375 | 14911 | =begin original |
10376 | 14912 | |
10377 | 14913 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} |
10378 | 14914 | construct. Remember that bracketing delimiters count nesting level. |
10379 | 14915 | Missing the leading C<$> from variable C<$s> may cause this error. |
10380 | 14916 | |
10381 | 14917 | =end original |
10382 | 14918 | |
10383 | 14919 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
10384 | 14920 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
10385 | 14921 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
10386 | 14922 | |
10387 | 14923 | =item Substitution replacement not terminated |
10388 | 14924 | |
10389 | 14925 | =begin original |
10390 | 14926 | |
10391 | 14927 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} |
10392 | 14928 | construct. Remember that bracketing delimiters count nesting level. |
10393 | 14929 | Missing the leading C<$> from variable C<$s> may cause this error. |
10394 | 14930 | |
10395 | 14931 | =end original |
10396 | 14932 | |
10397 | 14933 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
10398 | 14934 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
10399 | 14935 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
10400 | 14936 | |
10401 | 14937 | =item substr outside of string |
10402 | 14938 | |
10403 | 14939 | =begin original |
10404 | 14940 | |
10405 | (W substr) | |
14941 | (W substr)(F) You tried to reference a substr() that pointed outside of | |
10406 | 14942 | a string. That is, the absolute value of the offset was larger than the |
10407 | 14943 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
10408 | 14944 | substr is used in an lvalue context (as the left hand side of an |
10409 | 14945 | assignment or as a subroutine argument for example). |
10410 | 14946 | |
10411 | 14947 | =end original |
10412 | 14948 | |
10413 | (W substr) | |
14949 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 | |
10414 | 14950 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
10415 | 14951 | L<perlfunc/substr> を参照してください。 |
10416 | 14952 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
10417 | 14953 | 左辺値として使われた場合は致命的となります。 |
10418 | 14954 | |
10419 | 14955 | =item sv_upgrade from type %d down to type %d |
10420 | 14956 | |
10421 | 14957 | =begin original |
10422 | 14958 | |
10423 | 14959 | (P) Perl tried to force the upgrade of an SV to a type which was actually |
10424 | 14960 | inferior to its current type. |
10425 | 14961 | |
10426 | 14962 | =end original |
10427 | 14963 | |
10428 | 14964 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を |
10429 | 14965 | 強制しようとしました。 |
10430 | 14966 | |
10431 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
14967 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
14968 | S<<-- HERE> in m/%s/ | |
10432 | 14969 | |
10433 | 14970 | =begin original |
10434 | 14971 | |
10435 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
14972 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
10436 | branches (the if-clause and the else-clause). If you want one or | |
14973 | two branches (the if-clause and the else-clause). If you want one or | |
10437 | contain alternation, such as using C<this|that|other>, enclose | |
14974 | both to contain alternation, such as using C<this|that|other>, enclose | |
10438 | clustering parentheses: | |
14975 | it in clustering parentheses: | |
10439 | 14976 | |
10440 | 14977 | =end original |
10441 | 14978 | |
10442 | 14979 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 |
10443 | 14980 | (if-clause と else-clause) を持つことができます。 |
10444 | 14981 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
10445 | 14982 | |
10446 | 14983 | (?(condition)(?:this|that|other)|else-clause) |
10447 | 14984 | |
10448 | 14985 | =begin original |
10449 | 14986 | |
10450 | The <-- HERE shows in the regular expression | |
14987 | The S<<-- HERE> shows whereabouts in the regular expression the problem | |
10451 | discovered. See L<perlre>. | |
14988 | was discovered. See L<perlre>. | |
10452 | 14989 | |
10453 | 14990 | =end original |
10454 | 14991 | |
10455 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14992 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
10456 | 14993 | L<perlre> を参照してください。 |
10457 | 14994 | |
10458 | =item Switch condition not recognized in regex; marked by <-- HERE in | |
14995 | =item Switch condition not recognized in regex; marked by S<<-- HERE> in | |
14996 | m/%s/ | |
10459 | 14997 | |
10460 | 14998 | =begin original |
10461 | 14999 | |
10462 | (F) | |
15000 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
10463 | ||
15001 | is not known. The condition must be one of the following: | |
10464 | expression about where the problem was discovered. See L<perlre>. | |
10465 | 15002 | |
10466 | 15003 | =end original |
10467 | 15004 | |
10468 | (?(...)if-clause|else-clause) 構造の | |
15005 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
10469 | ||
15006 | 条件は以下のいずれかでなければなりません。 | |
15007 | ||
15008 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
15009 | (<NAME>) ('NAME') true if named capture matched | |
15010 | (?=...) (?<=...) true if subpattern matches | |
15011 | (?!...) (?<!...) true if subpattern fails to match | |
15012 | (?{ CODE }) true if code returns a true value | |
15013 | (R) true if evaluating inside recursion | |
15014 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
15015 | (R&NAME) true if directly inside named capture | |
15016 | (DEFINE) always false; for defining named subpatterns | |
15017 | ||
15018 | =begin original | |
15019 | ||
15020 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
15021 | discovered. See L<perlre>. | |
15022 | ||
15023 | =end original | |
15024 | ||
15025 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
10470 | 15026 | L<perlre> を参照してください。 |
10471 | 15027 | |
10472 | =item | |
15028 | =item Switch (?(condition)... not terminated in regex; marked by | |
15029 | S<<-- HERE> in m/%s/ | |
10473 | 15030 | |
10474 | 15031 | =begin original |
10475 | 15032 | |
10476 | (F) | |
15033 | (F) You omitted to close a (?(condition)...) block somewhere | |
10477 | ||
15034 | in the pattern. Add a closing parenthesis in the appropriate | |
15035 | position. See L<perlre>. | |
10478 | 15036 | |
10479 | 15037 | =end original |
10480 | 15038 | |
10481 | (F) | |
15039 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 | |
10482 | ||
15040 | 適切な位置に閉じかっこを追加してください。 | |
15041 | L<perlre> を参照してください。 | |
10483 | 15042 | |
10484 | =item %s s | |
15043 | =item switching effective %s is not implemented | |
10485 | 15044 | |
10486 | 15045 | =begin original |
10487 | 15046 | |
10488 | (F) | |
15047 | (F) While under the C<use filetest> pragma, we cannot switch the real | |
15048 | and effective uids or gids. | |
10489 | 15049 | |
10490 | 15050 | =end original |
10491 | 15051 | |
10492 | (F) C< | |
15052 | (F) C<use filetest> プラグマを使っている間に、 | |
15053 | 実と実効の UID や GID の切り替えに失敗しました。 | |
10493 | 15054 | |
10494 | 15055 | =item syntax error |
10495 | 15056 | |
10496 | 15057 | =begin original |
10497 | 15058 | |
10498 | 15059 | (F) Probably means you had a syntax error. Common reasons include: |
10499 | 15060 | |
10500 | 15061 | =end original |
10501 | 15062 | |
10502 | 15063 | (F) おそらく、構文エラーが起こっています。 |
10503 | 15064 | よくある原因としては以下のことが考えられます: |
10504 | 15065 | |
10505 | 15066 | =begin original |
10506 | 15067 | |
10507 | 15068 | A keyword is misspelled. |
10508 | 15069 | A semicolon is missing. |
10509 | 15070 | A comma is missing. |
10510 | 15071 | An opening or closing parenthesis is missing. |
10511 | 15072 | An opening or closing brace is missing. |
10512 | 15073 | A closing quote is missing. |
10513 | 15074 | |
10514 | 15075 | =end original |
10515 | 15076 | |
10516 | 15077 | キーワードのスペルミス。 |
10517 | 15078 | セミコロンを忘れた。 |
10518 | 15079 | コンマを忘れた。 |
10519 | 15080 | 開きかっこ、閉じかっこを忘れた。 |
10520 | 15081 | 開き中かっこ、閉じ中かっこを忘れた。 |
10521 | 15082 | クォートの閉じ忘れ。 |
10522 | 15083 | |
10523 | 15084 | =begin original |
10524 | 15085 | |
10525 | 15086 | Often there will be another error message associated with the syntax |
10526 | 15087 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
10527 | 15088 | The error message itself often tells you where it was in the line when |
10528 | 15089 | it decided to give up. Sometimes the actual error is several tokens |
10529 | 15090 | before this, because Perl is good at understanding random input. |
10530 | 15091 | Occasionally the line number may be misleading, and once in a blue moon |
10531 | 15092 | the only way to figure out what's triggering the error is to call |
10532 | 15093 | C<perl -c> repeatedly, chopping away half the program each time to see |
10533 | if the error went away. Sort of the cybernetic version of S<20 | |
15094 | if the error went away. Sort of the cybernetic version of S<20 questions>. | |
10534 | questions>. | |
10535 | 15095 | |
10536 | 15096 | =end original |
10537 | 15097 | |
10538 | 15098 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
10539 | 15099 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
10540 | 15100 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
10541 | 15101 | 含まれています。 |
10542 | 15102 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
10543 | 15103 | 在ることもあります。 |
10544 | 15104 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
10545 | 15105 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
10546 | 15106 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
10547 | 15107 | S<頭の体操 20 問>だと思ってください。 |
10548 | 15108 | |
10549 | =item syntax error at line %d: | |
15109 | =item syntax error at line %d: '%s' unexpected | |
10550 | 15110 | |
10551 | 15111 | =begin original |
10552 | 15112 | |
10553 | 15113 | (A) You've accidentally run your script through the Bourne shell instead |
10554 | 15114 | of Perl. Check the #! line, or manually feed your script into Perl |
10555 | 15115 | yourself. |
10556 | 15116 | |
10557 | 15117 | =end original |
10558 | 15118 | |
10559 | 15119 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
10560 | #! 行を | |
15120 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
10561 | 15121 | |
10562 | 15122 | =item syntax error in file %s at line %d, next 2 tokens "%s" |
10563 | 15123 | |
10564 | 15124 | =begin original |
10565 | 15125 | |
10566 | 15126 | (F) This error is likely to occur if you run a perl5 script through |
10567 | 15127 | a perl4 interpreter, especially if the next 2 tokens are "use strict" |
10568 | 15128 | or "my $var" or "our $var". |
10569 | 15129 | |
10570 | 15130 | =end original |
10571 | 15131 | |
10572 | 15132 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに |
10573 | 15133 | おきそうなものです; 特に次の二つのトークンが "use strict" か |
10574 | 15134 | "my $var" か "our $var" の場合はそうです。 |
10575 | 15135 | |
15136 | =item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/ | |
15137 | ||
15138 | =begin original | |
15139 | ||
15140 | (F) Perl could not figure out what you meant inside this construct; this | |
15141 | notifies you that it is giving up trying. | |
15142 | ||
15143 | =end original | |
15144 | ||
15145 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
15146 | これは試すのを諦めたことを知らせます。 | |
15147 | ||
15148 | =item %s syntax OK | |
15149 | ||
15150 | =begin original | |
15151 | ||
15152 | (F) The final summary message when a C<perl -c> succeeds. | |
15153 | ||
15154 | =end original | |
15155 | ||
15156 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
15157 | ||
10576 | 15158 | =item sysread() on closed filehandle %s |
10577 | 15159 | |
10578 | 15160 | =begin original |
10579 | 15161 | |
10580 | 15162 | (W closed) You tried to read from a closed filehandle. |
10581 | 15163 | |
10582 | 15164 | =end original |
10583 | 15165 | |
10584 | 15166 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
10585 | 15167 | |
10586 | 15168 | =item sysread() on unopened filehandle %s |
10587 | 15169 | |
10588 | 15170 | =begin original |
10589 | 15171 | |
10590 | 15172 | (W unopened) You tried to read from a filehandle that was never opened. |
10591 | 15173 | |
10592 | 15174 | =end original |
10593 | 15175 | |
10594 | 15176 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
10595 | 15177 | |
10596 | 15178 | =item System V %s is not implemented on this machine |
10597 | 15179 | |
10598 | 15180 | =begin original |
10599 | 15181 | |
10600 | 15182 | (F) You tried to do something with a function beginning with "sem", |
10601 | 15183 | "shm", or "msg" but that System V IPC is not implemented in your |
10602 | 15184 | machine. In some machines the functionality can exist but be |
10603 | 15185 | unconfigured. Consult your system support. |
10604 | 15186 | |
10605 | 15187 | =end original |
10606 | 15188 | |
10607 | 15189 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
10608 | 15190 | あなたのマシンには System V IPC が実装されていません。 |
10609 | 15191 | 機能はあっても設定されていない場合もあります。 |
10610 | 15192 | システムサポートに相談してください。 |
10611 | 15193 | |
10612 | 15194 | =item syswrite() on closed filehandle %s |
10613 | 15195 | |
10614 | 15196 | =begin original |
10615 | 15197 | |
10616 | 15198 | (W closed) The filehandle you're writing to got itself closed sometime |
10617 | 15199 | before now. Check your control flow. |
10618 | 15200 | |
10619 | 15201 | =end original |
10620 | 15202 | |
10621 | 15203 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
10622 | 15204 | 制御フローをチェックしてください。 |
10623 | 15205 | |
10624 | 15206 | =item C<-T> and C<-B> not implemented on filehandles |
10625 | 15207 | |
10626 | 15208 | =begin original |
10627 | 15209 | |
10628 | 15210 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't |
10629 | 15211 | know about your kind of stdio. You'll have to use a filename instead. |
10630 | 15212 | |
10631 | 15213 | =end original |
10632 | 15214 | |
10633 | 15215 | (F) Perl が、お使いの stdio のことをよく知らないとき、 |
10634 | 15216 | ファイルハンドルの stdio バッファを覗くことはできません。 |
10635 | 15217 | 代わりにファイル名を使わなければなりません。 |
10636 | 15218 | |
10637 | 15219 | =item Target of goto is too deeply nested |
10638 | 15220 | |
10639 | 15221 | =begin original |
10640 | 15222 | |
10641 | 15223 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
10642 | 15224 | for Perl to reach. Perl is doing you a favor by refusing. |
10643 | 15225 | |
10644 | 15226 | =end original |
10645 | 15227 | |
10646 | 15228 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
10647 | 15229 | Perl は親切にもこれを拒否します。 |
10648 | 15230 | |
10649 | 15231 | =item telldir() attempted on invalid dirhandle %s |
10650 | 15232 | |
10651 | 15233 | =begin original |
10652 | 15234 | |
10653 | 15235 | (W io) The dirhandle you tried to telldir() is either closed or not really |
10654 | 15236 | a dirhandle. Check your control flow. |
10655 | 15237 | |
10656 | 15238 | =end original |
10657 | 15239 | |
10658 | 15240 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 |
10659 | 15241 | 実際にはディレクトリハンドルではありません。 |
10660 | 15242 | 制御フローをチェックしてください。 |
10661 | 15243 | |
10662 | 15244 | =item tell() on unopened filehandle |
10663 | 15245 | |
10664 | 15246 | =begin original |
10665 | 15247 | |
10666 | 15248 | (W unopened) You tried to use the tell() function on a filehandle that |
10667 | 15249 | was either never opened or has since been closed. |
10668 | 15250 | |
10669 | 15251 | =end original |
10670 | 15252 | |
10671 | 15253 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
10672 | 15254 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
10673 | 15255 | |
10674 | =item Th | |
15256 | =item The crypt() function is unimplemented due to excessive paranoia. | |
10675 | 15257 | |
10676 | 15258 | =begin original |
10677 | 15259 | |
10678 | (F) | |
15260 | (F) Configure couldn't find the crypt() function on your machine, | |
10679 | a | |
15261 | probably because your vendor didn't supply it, probably because they | |
15262 | think the U.S. Government thinks it's a secret, or at least that they | |
15263 | will continue to pretend that it is. And if you quote me on that, I | |
15264 | will deny it. | |
10680 | 15265 | |
10681 | 15266 | =end original |
10682 | 15267 | |
10683 | (F) | |
15268 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; | |
10684 | ||
15269 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは | |
15270 | アメリカ政府がそれを秘密だとしていると思っているか、 | |
15271 | 少なくとも思っているというふりをしているのでしょう。 | |
15272 | 私を引き合いに出したところで、それは否定されることでしょう。 | |
10685 | 15273 | |
10686 | | |
15274 | =item The experimental declared_refs feature is not enabled | |
10687 | $[ = 1; | |
10688 | ... | |
10689 | local $[ = 0; | |
10690 | local $[ = 1; | |
10691 | ... | |
10692 | 15275 | |
10693 | 15276 | =begin original |
10694 | 15277 | |
10695 | ||
15278 | (F) To declare references to variables, as in C<my \%x>, you must first enable | |
10696 | ||
15279 | the feature: | |
10697 | 15280 | |
10698 | 15281 | =end original |
10699 | 15282 | |
10700 | ||
15283 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 | |
10701 | ||
15284 | 最初にこの機能を有効にしなければなりません: | |
10702 | L<perlvar/$[> を参照してください。 | |
10703 | 15285 | |
10704 | ||
15286 | no warnings "experimental::declared_refs"; | |
15287 | use feature "declared_refs"; | |
10705 | 15288 | |
15289 | =item The %s function is unimplemented | |
15290 | ||
10706 | 15291 | =begin original |
10707 | 15292 | |
10708 | (F) | |
15293 | (F) The function indicated isn't implemented on this architecture, | |
10709 | ||
15294 | according to the probings of Configure. | |
10710 | think the U.S. Government thinks it's a secret, or at least that they | |
10711 | will continue to pretend that it is. And if you quote me on that, I | |
10712 | will deny it. | |
10713 | 15295 | |
10714 | 15296 | =end original |
10715 | 15297 | |
10716 | (F) Configure | |
15298 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 | |
10717 | ||
15299 | 実装されていないようです。 | |
10718 | アメリカ政府がそれを秘密だとしていると思っているか、 | |
10719 | 少なくとも思っているというふりをしているのでしょう。 | |
10720 | 私を引き合いに出したところで、それは否定されることでしょう。 | |
10721 | 15300 | |
10722 | =item The | |
15301 | =item The private_use feature is experimental | |
10723 | 15302 | |
10724 | 15303 | =begin original |
10725 | 15304 | |
10726 | ( | |
15305 | (S experimental::private_use) This feature is actually a hook for future | |
10727 | ||
15306 | use. | |
10728 | 15307 | |
10729 | 15308 | =end original |
10730 | 15309 | |
10731 | ( | |
15310 | (S experimental::private_use) この機能は実際には将来の使用のための | |
10732 | ||
15311 | フックです。 | |
10733 | 15312 | |
10734 | 15313 | =item The stat preceding %s wasn't an lstat |
10735 | 15314 | |
10736 | 15315 | =begin original |
10737 | 15316 | |
10738 | 15317 | (F) It makes no sense to test the current stat buffer for symbolic |
10739 | 15318 | linkhood if the last stat that wrote to the stat buffer already went |
10740 | 15319 | past the symlink to get to the real file. Use an actual filename |
10741 | 15320 | instead. |
10742 | 15321 | |
10743 | 15322 | =end original |
10744 | 15323 | |
10745 | 15324 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
10746 | 15325 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
10747 | 15326 | stat をカレント stat バッファに対して行なっても意味がありません。 |
10748 | 15327 | 実際のファイル名を使ってください。 |
10749 | 15328 | |
15329 | =item The Unicode property wildcards feature is experimental | |
15330 | ||
15331 | =begin original | |
15332 | ||
15333 | (S experimental::uniprop_wildcards) This feature is experimental | |
15334 | and its behavior may in any future release of perl. See | |
15335 | L<perlunicode/Wildcards in Property Values>. | |
15336 | ||
15337 | =end original | |
15338 | ||
15339 | (S experimental::uniprop_wildcards) この機能は実験的で、 | |
15340 | その振る舞いは将来のリリースの perl で変わるかもしれません。 | |
15341 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
15342 | ||
10750 | 15343 | =item The 'unique' attribute may only be applied to 'our' variables |
10751 | 15344 | |
10752 | 15345 | =begin original |
10753 | 15346 | |
10754 | 15347 | (F) This attribute was never supported on C<my> or C<sub> declarations. |
10755 | 15348 | |
10756 | 15349 | =end original |
10757 | 15350 | |
10758 | 15351 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 |
10759 | 15352 | |
10760 | 15353 | =item This Perl can't reset CRTL environ elements (%s) |
10761 | 15354 | |
10762 | 15355 | =item This Perl can't set CRTL environ elements (%s=%s) |
10763 | 15356 | |
10764 | 15357 | =begin original |
10765 | 15358 | |
10766 | 15359 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
10767 | 15360 | element of the CRTL's internal environ array, but your copy of Perl |
10768 | 15361 | wasn't built with a CRTL that contained the setenv() function. You'll |
10769 | 15362 | need to rebuild Perl with a CRTL that does, or redefine |
10770 | 15363 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
10771 | 15364 | target of the change to |
10772 | 15365 | %ENV which produced the warning. |
10773 | 15366 | |
10774 | 15367 | =end original |
10775 | 15368 | |
10776 | 15369 | (W internal) VMS に固有の警告です。 |
10777 | 15370 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
10778 | 15371 | setenv() 関数を含んだ CRTL でビルドされていません。 |
10779 | 15372 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
10780 | 15373 | 出力している %ENV を変更するターゲットとならないように |
10781 | 15374 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
10782 | 15375 | |
10783 | =item | |
15376 | =item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set(). | |
10784 | 15377 | |
10785 | 15378 | =begin original |
10786 | 15379 | |
10787 | ( | |
15380 | (F) Something has attempted to use an internal API call which | |
15381 | depends on Perl being compiled with the default support for randomized hash | |
15382 | key traversal, but this Perl has been compiled without it. You should | |
15383 | report this warning to the relevant upstream party, or recompile perl | |
15384 | with default options. | |
10788 | 15385 | |
10789 | 15386 | =end original |
10790 | 15387 | |
10791 | ( | |
15388 | (F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に | |
10792 | ||
15389 | 依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで | |
15390 | コンパイルされていました。 | |
15391 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
15392 | 再コンパイルしてください。 | |
10793 | 15393 | |
15394 | =item This use of my() in false conditional is no longer allowed | |
15395 | ||
15396 | =begin original | |
15397 | ||
15398 | (F) You used a declaration similar to C<my $x if 0>. There | |
15399 | has been a long-standing bug in Perl that causes a lexical variable | |
15400 | not to be cleared at scope exit when its declaration includes a false | |
15401 | conditional. Some people have exploited this bug to achieve a kind of | |
15402 | static variable. Since we intend to fix this bug, we don't want people | |
15403 | relying on this behavior. You can achieve a similar static effect by | |
15404 | declaring the variable in a separate block outside the function, eg | |
15405 | ||
15406 | =end original | |
15407 | ||
15408 | (F) C<my $x if 0> のような千眼を使いました。 | |
15409 | 宣言が偽の条件のとき、スコープを抜けてもレキシカル変数がクリアされないという | |
15410 | 長年のバグが Perl にはありました。 | |
15411 | 一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。 | |
15412 | 私たちはこのバグを修正したいので、人々にこの振る舞いに | |
15413 | 依存してほしくありません。 | |
15414 | 関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を | |
15415 | 得られます; 例えば: | |
15416 | ||
15417 | sub f { my $x if 0; return $x++ } | |
15418 | ||
15419 | =begin original | |
15420 | ||
15421 | becomes | |
15422 | ||
15423 | =end original | |
15424 | ||
15425 | これは次のようになります: | |
15426 | ||
15427 | { my $x; sub f { return $x++ } } | |
15428 | ||
15429 | =begin original | |
15430 | ||
15431 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
15432 | lexicals that are initialized only once (see L<feature>): | |
15433 | ||
15434 | =end original | |
15435 | ||
15436 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
15437 | 使えます (L<feature> を参照してください): | |
15438 | ||
15439 | sub f { state $x; return $x++ } | |
15440 | ||
15441 | =begin original | |
15442 | ||
15443 | This use of C<my()> in a false conditional was deprecated beginning in | |
15444 | Perl 5.10 and became a fatal error in Perl 5.30. | |
15445 | ||
15446 | =end original | |
15447 | ||
15448 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、 | |
15449 | Perl 5.30 で致命的エラーになりました。 | |
15450 | ||
15451 | =item Timeout waiting for another thread to define \p{%s} | |
15452 | ||
15453 | =begin original | |
15454 | ||
15455 | (F) The first time a user-defined property | |
15456 | (L<perlunicode/User-Defined Character Properties>) is used, its | |
15457 | definition is looked up and converted into an internal form for more | |
15458 | efficient handling in subsequent uses. There could be a race if two or | |
15459 | more threads tried to do this processing nearly simultaneously. | |
15460 | Instead, a critical section is created around this task, locking out all | |
15461 | but one thread from doing it. This message indicates that the thread | |
15462 | that is doing the conversion is taking an unexpectedly long time. The | |
15463 | timeout exists solely to prevent deadlock; it's long enough that the | |
15464 | system was likely thrashing and about to crash. There is no real remedy but | |
15465 | rebooting. | |
15466 | ||
15467 | =end original | |
15468 | ||
15469 | (F) ユーザー定義属性 (L<perlunicode/User-Defined Character Properties>) が | |
15470 | 最初に使われるとき、その定義は検索され、引き続く使用時により効率的に | |
15471 | 扱えるように内部形式に変換されます。 | |
15472 | 複数のスレッドがこれをほぼ同時に実行しようとすると、競合が | |
15473 | 発生することがあります。 | |
15474 | その代わりに、このタスクの周りにクリティカルセクションが作られ、 | |
15475 | 一つのスレッド以外がこれをすることを締め出します。 | |
15476 | このメッセージは、変換を行うスレッドが想定外に長い時間が掛かっていることを | |
15477 | 示しています。 | |
15478 | 時間切れはデッドロックを防ぐためだけに存在しています; | |
15479 | これは十分に長いので、システムはおそらくスラッシングを起こしていて、 | |
15480 | クラッシュ寸前です。 | |
15481 | 再起動以外に実際の解決策はありません。 | |
15482 | ||
10794 | 15483 | =item times not implemented |
10795 | 15484 | |
10796 | 15485 | =begin original |
10797 | 15486 | |
10798 | 15487 | (F) Your version of the C library apparently doesn't do times(). I |
10799 | 15488 | suspect you're not running on Unix. |
10800 | 15489 | |
10801 | 15490 | =end original |
10802 | 15491 | |
10803 | 15492 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
10804 | 15493 | UNIX ではない環境でしょうか。 |
10805 | 15494 | |
10806 | 15495 | =item "-T" is on the #! line, it must also be used on the command line |
10807 | 15496 | |
10808 | 15497 | =begin original |
10809 | 15498 | |
10810 | (X) The #! line (or local equivalent) in a Perl script contains | |
15499 | (X) The #! line (or local equivalent) in a Perl script contains | |
10811 | B<-T> option (or the B<-t> option), but Perl was not invoked with | |
15500 | the B<-T> option (or the B<-t> option), but Perl was not invoked with | |
10812 | This is an error because, by the time | |
15501 | B<-T> in its command line. This is an error because, by the time | |
10813 | script, it's too late to properly taint | |
15502 | Perl discovers a B<-T> in a script, it's too late to properly taint | |
10814 | So Perl gives up. | |
15503 | everything from the environment. So Perl gives up. | |
10815 | 15504 | |
10816 | 15505 | =end original |
10817 | 15506 | |
10818 | 15507 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
10819 | 15508 | オプション (または B<-t> オプション) が含まれていますが、Perl は |
10820 | 15509 | コマンドラインで B<-T> 付きで起動されていません。 |
10821 | 15510 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
10822 | 15511 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
10823 | 15512 | それで Perl は諦めます。 |
10824 | 15513 | |
10825 | 15514 | =begin original |
10826 | 15515 | |
10827 | 15516 | If the Perl script is being executed as a command using the #! |
10828 | mechanism (or its local equivalent), this error can usually be | |
15517 | mechanism (or its local equivalent), this error can usually be | |
10829 | editing the #! line so that the B<-%c> option is a part of | |
15518 | fixed by editing the #! line so that the B<-%c> option is a part of | |
10830 | argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. | |
15519 | Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. | |
10831 | 15520 | |
10832 | 15521 | =end original |
10833 | 15522 | |
10834 | 15523 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
10835 | 15524 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に |
10836 | 15525 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 |
10837 | 15526 | |
10838 | 15527 | =begin original |
10839 | 15528 | |
10840 | 15529 | If the Perl script is being executed as C<perl scriptname>, then the |
10841 | 15530 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. |
10842 | 15531 | |
10843 | 15532 | =end original |
10844 | 15533 | |
10845 | 15534 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
10846 | 15535 | コマンドラインに書かなければなりません: C<perl -%c scriptname> |
10847 | 15536 | |
10848 | 15537 | =item To%s: illegal mapping '%s' |
10849 | 15538 | |
10850 | 15539 | =begin original |
10851 | 15540 | |
10852 | 15541 | (F) You tried to define a customized To-mapping for lc(), lcfirst, |
10853 | 15542 | uc(), or ucfirst() (or their string-inlined versions), but you |
10854 | 15543 | specified an illegal mapping. |
10855 | 15544 | See L<perlunicode/"User-Defined Character Properties">. |
10856 | 15545 | |
10857 | 15546 | =end original |
10858 | 15547 | |
10859 | 15548 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の |
10860 | 15549 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 |
10861 | 15550 | 不正なマッピングを指定しました。 |
10862 | 15551 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 |
10863 | 15552 | |
10864 | 15553 | =item Too deeply nested ()-groups |
10865 | 15554 | |
10866 | 15555 | =begin original |
10867 | 15556 | |
10868 | 15557 | (F) Your template contains ()-groups with a ridiculously deep nesting level. |
10869 | 15558 | |
10870 | 15559 | =end original |
10871 | 15560 | |
10872 | 15561 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 |
10873 | 15562 | |
10874 | 15563 | =item Too few args to syscall |
10875 | 15564 | |
10876 | 15565 | =begin original |
10877 | 15566 | |
10878 | 15567 | (F) There has to be at least one argument to syscall() to specify the |
10879 | 15568 | system call to call, silly dilly. |
10880 | 15569 | |
10881 | 15570 | =end original |
10882 | 15571 | |
10883 | 15572 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
10884 | 15573 | 引数が一つ必要です。 |
10885 | 15574 | |
15575 | =item Too few arguments for subroutine '%s' (got %d; expected %d) | |
15576 | ||
15577 | =begin original | |
15578 | ||
15579 | (F) A subroutine using a signature fewer arguments than required by the | |
15580 | signature. The caller of the subroutine is presumably at fault. | |
15581 | ||
15582 | =end original | |
15583 | ||
15584 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
15585 | 少ない引数を受け取りました。 | |
15586 | おそらくサブルーチンの呼び出し元が間違っています。 | |
15587 | ||
15588 | =begin original | |
15589 | ||
15590 | The message attempts to include the name of the called subroutine. If | |
15591 | the subroutine has been aliased, the subroutine's original name will be | |
15592 | shown, regardless of what name the caller used. It will also indicate the | |
15593 | number of arguments given and the number expected. | |
15594 | ||
15595 | =end original | |
15596 | ||
15597 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
15598 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
15599 | サブルーチンの元の名前が表示されます。 | |
15600 | 指定された引数の数と想定された数も示されます。 | |
15601 | ||
15602 | =item Too few arguments for subroutine '%s' (got %d; expected at least %d) | |
15603 | ||
15604 | =begin original | |
15605 | ||
15606 | Similar to the previous message but for subroutines that accept a variable | |
15607 | number of arguments. | |
15608 | ||
15609 | =end original | |
15610 | ||
15611 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
15612 | ||
10886 | 15613 | =item Too late for "-%s" option |
10887 | 15614 | |
10888 | 15615 | =begin original |
10889 | 15616 | |
10890 | 15617 | (X) The #! line (or local equivalent) in a Perl script contains the |
10891 | 15618 | B<-M>, B<-m> or B<-C> option. |
10892 | 15619 | |
10893 | 15620 | =end original |
10894 | 15621 | |
10895 | 15622 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, |
10896 | 15623 | B<-C> オプションが含まれています。 |
10897 | 15624 | |
10898 | 15625 | =begin original |
10899 | 15626 | |
10900 | In the case of B<-M> and B<-m>, this is an error because those options | |
15627 | In the case of B<-M> and B<-m>, this is an error because those options | |
10901 | not intended for use inside scripts. Use the C<use> pragma instead. | |
15628 | are not intended for use inside scripts. Use the C<use> pragma instead. | |
10902 | 15629 | |
10903 | 15630 | =end original |
10904 | 15631 | |
10905 | 15632 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 |
10906 | 15633 | これはエラーになります。 |
10907 | 15634 | 代わりに C<use> プラグマを使ってください。 |
10908 | 15635 | |
10909 | 15636 | =begin original |
10910 | 15637 | |
10911 | The B<-C> option only works if it is specified on the command line as | |
15638 | The B<-C> option only works if it is specified on the command line as | |
10912 | (with the same sequence of letters or numbers following). Either | |
15639 | well (with the same sequence of letters or numbers following). Either | |
10913 | this option on the command line, or, if your system supports | |
15640 | specify this option on the command line, or, if your system supports | |
10914 | script executable and run it directly instead of passing | |
15641 | it, make your script executable and run it directly instead of passing | |
15642 | it to perl. | |
10915 | 15643 | |
10916 | 15644 | =end original |
10917 | 15645 | |
10918 | 15646 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) |
10919 | 15647 | 指定されたときにのみ動作します。 |
10920 | 15648 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 |
10921 | 15649 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして |
10922 | 15650 | 直接実行してください。 |
10923 | 15651 | |
10924 | 15652 | =item Too late to run %s block |
10925 | 15653 | |
10926 | 15654 | =begin original |
10927 | 15655 | |
10928 | 15656 | (W void) A CHECK or INIT block is being defined during run time proper, |
10929 | 15657 | when the opportunity to run them has already passed. Perhaps you are |
10930 | 15658 | loading a file with C<require> or C<do> when you should be using C<use> |
10931 | 15659 | instead. Or perhaps you should put the C<require> or C<do> inside a |
10932 | 15660 | BEGIN block. |
10933 | 15661 | |
10934 | 15662 | =end original |
10935 | 15663 | |
10936 | 15664 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
10937 | 15665 | 実行時に定義されました。 |
10938 | 15666 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
10939 | 15667 | 読み込んでいます。 |
10940 | 15668 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
10941 | 15669 | 書いたのでしょう。 |
10942 | 15670 | |
10943 | 15671 | =item Too many args to syscall |
10944 | 15672 | |
10945 | 15673 | =begin original |
10946 | 15674 | |
10947 | 15675 | (F) Perl supports a maximum of only 14 args to syscall(). |
10948 | 15676 | |
10949 | 15677 | =end original |
10950 | 15678 | |
10951 | 15679 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
10952 | 15680 | |
10953 | 15681 | =item Too many arguments for %s |
10954 | 15682 | |
10955 | 15683 | =begin original |
10956 | 15684 | |
10957 | 15685 | (F) The function requires fewer arguments than you specified. |
10958 | 15686 | |
10959 | 15687 | =end original |
10960 | 15688 | |
10961 | 15689 | (F) 関数が要求する以上の引数を指定しました。 |
10962 | 15690 | |
15691 | =item Too many arguments for subroutine '%s' (got %d; expected %d) | |
15692 | ||
15693 | =begin original | |
15694 | ||
15695 | (F) A subroutine using a signature received more arguments than permitted | |
15696 | by the signature. The caller of the subroutine is presumably at fault. | |
15697 | ||
15698 | =end original | |
15699 | ||
15700 | (F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも | |
15701 | 多い引数を受け取りました。 | |
15702 | おそらくサブルーチンの呼び出し元が間違っています。 | |
15703 | ||
15704 | =begin original | |
15705 | ||
15706 | The message attempts to include the name of the called subroutine. If the | |
15707 | subroutine has been aliased, the subroutine's original name will be shown, | |
15708 | regardless of what name the caller used. It will also indicate the number | |
15709 | of arguments given and the number expected. | |
15710 | ||
15711 | =end original | |
15712 | ||
15713 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
15714 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
15715 | サブルーチンの元の名前が表示されます。 | |
15716 | 指定された引数の数と想定された数も示されます。 | |
15717 | ||
15718 | =item Too many arguments for subroutine '%s' (got %d; expected at most %d) | |
15719 | ||
15720 | =begin original | |
15721 | ||
15722 | Similar to the previous message but for subroutines that accept a variable | |
15723 | number of arguments. | |
15724 | ||
15725 | =end original | |
15726 | ||
15727 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
15728 | ||
15729 | =item Too many nested open parens in regex; marked by <-- HERE in m/%s/ | |
15730 | ||
15731 | =begin original | |
15732 | ||
15733 | (F) You have exceeded the number of open C<"("> parentheses that haven't | |
15734 | been matched by corresponding closing ones. This limit prevents eating | |
15735 | up too much memory. It is initially set to 1000, but may be changed by | |
15736 | setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may | |
15737 | need to be done in a BEGIN block before the regular expression pattern | |
15738 | is compiled. | |
15739 | ||
15740 | =end original | |
15741 | ||
15742 | (F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。 | |
15743 | この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。 | |
15744 | これは 1000 に初期化されていますが、 | |
15745 | C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。 | |
15746 | これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で | |
15747 | 行われる必要があります。 | |
15748 | ||
15749 | =item Too many nested BEGIN blocks, maximum of %d allowed | |
15750 | ||
15751 | =begin original | |
15752 | ||
15753 | (F) You have executed code that nests too many BEGIN blocks inside of | |
15754 | each other, either explicitly as BEGIN{} or implicitly as use statements. | |
15755 | This limit defaults to a rather high number which should not be exceeded | |
15756 | in normal circumstances, and triggering likely indicates something is | |
15757 | very wrong in your code. For instance infinite recursion of eval and | |
15758 | BEGIN blocks is known to trigger this error. | |
15759 | ||
15760 | =end original | |
15761 | ||
15762 | (F) BEGIN{} として明示的に、あるいは use 文として暗黙的に、 | |
15763 | あまりにも多くネストした BEGIN ブロックのコードを実行しました。 | |
15764 | 制限のデフォルトは、通常の状況では超えるはずのないかなり大きな数で、 | |
15765 | これが引き起こされたのは、おそらくコードがとても悪いことを示しています。 | |
15766 | 例えば、eval と BEGIN ブロックの無限ループはこのエラーを引き起こすことが | |
15767 | 知られています。 | |
15768 | ||
15769 | =begin original | |
15770 | ||
15771 | If you know that you have good reason to exceed the limit you can change | |
15772 | it by setting C<${^MAX_NESTED_EVAL_BEGIN_BLOCKS}> to a different value from | |
15773 | the default of 1000. | |
15774 | ||
15775 | =end original | |
15776 | ||
15777 | 制限を超える良い理由が分かっている場合、 | |
15778 | C<${^MAX_NESTED_EVAL_BEGIN_BLOCKS}> にデフォルトの 1000 以外の値に | |
15779 | 設定することで、制限を変更できます。 | |
15780 | ||
15781 | =item Too many capture groups (limit is %d) in regex m/%s/ | |
15782 | ||
15783 | =begin original | |
15784 | ||
15785 | (F) You have too many capture groups in your regex pattern. You need to rework | |
15786 | your pattern to use less capture groups. | |
15787 | ||
15788 | =end original | |
15789 | ||
15790 | (F) 正規表現パターンに多くの捕捉グループを書きすぎました。 | |
15791 | より少ない捕捉グループを使うようにパターンを作り直す必要があります。 | |
15792 | ||
10963 | 15793 | =item Too many )'s |
10964 | 15794 | |
10965 | 15795 | =begin original |
10966 | 15796 | |
10967 | 15797 | (A) You've accidentally run your script through B<csh> instead of Perl. |
10968 | 15798 | Check the #! line, or manually feed your script into Perl yourself. |
10969 | 15799 | |
10970 | 15800 | =end original |
10971 | 15801 | |
10972 | 15802 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
10973 | #! 行を | |
15803 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
10974 | 15804 | |
10975 | 15805 | =item Too many ('s |
10976 | 15806 | |
10977 | 15807 | =begin original |
10978 | 15808 | |
10979 | 15809 | (A) You've accidentally run your script through B<csh> instead of Perl. |
10980 | 15810 | Check the #! line, or manually feed your script into Perl yourself. |
10981 | 15811 | |
10982 | 15812 | =end original |
10983 | 15813 | |
10984 | 15814 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
10985 | #! 行を | |
15815 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
10986 | 15816 | |
10987 | 15817 | =item Trailing \ in regex m/%s/ |
10988 | 15818 | |
10989 | 15819 | =begin original |
10990 | 15820 | |
10991 | 15821 | (F) The regular expression ends with an unbackslashed backslash. |
10992 | 15822 | Backslash it. See L<perlre>. |
10993 | 15823 | |
10994 | 15824 | =end original |
10995 | 15825 | |
10996 | 15826 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
10997 | 15827 | 終了しました。バックスラッシュを付けてください。 |
10998 | 15828 | L<perlre> を参照してください。 |
10999 | 15829 | |
11000 | 15830 | =item Transliteration pattern not terminated |
11001 | 15831 | |
11002 | 15832 | =begin original |
11003 | 15833 | |
11004 | 15834 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
11005 | 15835 | or y/// or y[][] construct. Missing the leading C<$> from variables |
11006 | 15836 | C<$tr> or C<$y> may cause this error. |
11007 | 15837 | |
11008 | 15838 | =end original |
11009 | 15839 | |
11010 | (F) tr///, tr[][], y///, y[][] | |
15840 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
11011 | 15841 | 見つかりませんでした。 |
11012 | 15842 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
11013 | 15843 | このエラーが出ることがあります。 |
11014 | 15844 | |
11015 | 15845 | =item Transliteration replacement not terminated |
11016 | 15846 | |
11017 | 15847 | =begin original |
11018 | 15848 | |
11019 | 15849 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], |
11020 | 15850 | y/// or y[][] construct. |
11021 | 15851 | |
11022 | 15852 | =end original |
11023 | 15853 | |
11024 | 15854 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が |
11025 | 15855 | 見つかりませんでした。 |
11026 | 15856 | |
15857 | =item Treating %s::INIT block as BEGIN block as workaround | |
15858 | ||
15859 | =begin original | |
15860 | ||
15861 | (S) A package is using an old version of C<Module::Install::DSL> to | |
15862 | install, which makes unsafe assumptions about when INIT blocks will be | |
15863 | called. Because C<Module::Install::DSL> is used to install other modules | |
15864 | and is difficult to upgrade we have a special workaround in place to | |
15865 | deal with this. Unless you are a maintainer of an affected module you | |
15866 | can ignore this warning. We emit it only as a sanity check. | |
15867 | ||
15868 | =end original | |
15869 | ||
15870 | (S) パッケージがインストールするのに古いバージョンの | |
15871 | C<Module::Install::DSL> を使っています; | |
15872 | これは INIT ブロックが呼び出されるときに安全でない仮定をしています。 | |
15873 | C<Module::Install::DSL> は他のモジュールをインストールするのに使われていて、 | |
15874 | 更新するのは困難ですが、これに対処するための特別な回避策があります。 | |
15875 | あなたが影響したモジュールの保守者でない限り、この警告は無視できます。 | |
15876 | これは健全性チェックのためだけに出力されています。 | |
15877 | ||
11027 | 15878 | =item '%s' trapped by operation mask |
11028 | 15879 | |
11029 | 15880 | =begin original |
11030 | 15881 | |
11031 | 15882 | (F) You tried to use an operator from a Safe compartment in which it's |
11032 | disallowed. See L<Safe>. | |
15883 | disallowed. See L<Safe>. | |
11033 | 15884 | |
11034 | 15885 | =end original |
11035 | 15886 | |
11036 | 15887 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 |
11037 | 15888 | L<Safe> を参照してください。 |
11038 | 15889 | |
11039 | 15890 | =item truncate not implemented |
11040 | 15891 | |
11041 | 15892 | =begin original |
11042 | 15893 | |
11043 | 15894 | (F) Your machine doesn't implement a file truncation mechanism that |
11044 | 15895 | Configure knows about. |
11045 | 15896 | |
11046 | 15897 | =end original |
11047 | 15898 | |
11048 | 15899 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
11049 | 15900 | 実装されていません。 |
11050 | 15901 | |
15902 | =item try/catch/finally is experimental | |
15903 | ||
15904 | =begin original | |
15905 | ||
15906 | (S experimental::try) This warning is emitted if you use the C<try> and | |
15907 | C<catch> syntax with a C<finally> block. This syntax is currently experimental | |
15908 | and its behaviour may change in future releases of Perl. | |
15909 | ||
15910 | =end original | |
15911 | ||
15912 | (S experimental::try) この警告は、C<try> と C<catch> 構文と | |
15913 | C<finally> ブロックを使うと発生します。 | |
15914 | この構文は現在のところ実験的で、Perl の将来のリリースでは変更される | |
15915 | 可能性があります。 | |
15916 | ||
15917 | =item Type of arg %d to &CORE::%s must be %s | |
15918 | ||
15919 | =begin original | |
15920 | ||
15921 | (F) The subroutine in question in the CORE package requires its argument | |
15922 | to be a hard reference to data of the specified type. Overloading is | |
15923 | ignored, so a reference to an object that is not the specified type, but | |
15924 | nonetheless has overloading to handle it, will still not be accepted. | |
15925 | ||
15926 | =end original | |
15927 | ||
15928 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの | |
15929 | ハードリファレンスを要求しています。 | |
15930 | オーバーロードは無視されるので、指定された型ではないけれども、それを | |
15931 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも | |
15932 | 受け付けられません。 | |
15933 | ||
11051 | 15934 | =item Type of arg %d to %s must be %s (not %s) |
11052 | 15935 | |
11053 | 15936 | =begin original |
11054 | 15937 | |
11055 | 15938 | (F) This function requires the argument in that position to be of a |
11056 | 15939 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
11057 | 15940 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
11058 | 15941 | {EXPR} forms as an explicit dereference. See L<perlref>. |
11059 | 15942 | |
11060 | 15943 | =end original |
11061 | 15944 | |
11062 | 15945 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
11063 | 15946 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 |
11064 | 15947 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 |
11065 | 15948 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
11066 | 15949 | {EXPR} 形式を使ってください。 |
11067 | 15950 | L<perlref> を参照してください。 |
11068 | 15951 | |
11069 | =item Type of argument to %s must be unblessed hashref or arrayref | |
11070 | ||
11071 | =begin original | |
11072 | ||
11073 | (F) You called C<keys>, C<values> or C<each> with a scalar argument that | |
11074 | was not a reference to an unblessed hash or array. | |
11075 | ||
11076 | =end original | |
11077 | ||
11078 | (F) bless されていないハッシュや配列へのリファレンスでないスカラ引数を使って | |
11079 | C<keys>, C<values>, C<each> を呼び出しました。 | |
11080 | ||
11081 | 15952 | =item umask not implemented |
11082 | 15953 | |
11083 | 15954 | =begin original |
11084 | 15955 | |
11085 | 15956 | (F) Your machine doesn't implement the umask function and you tried to |
11086 | 15957 | use it to restrict permissions for yourself (EXPR & 0700). |
11087 | 15958 | |
11088 | 15959 | =end original |
11089 | 15960 | |
11090 | 15961 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
11091 | 15962 | (EXPR & 0700) ためにこれを使おうとしました。 |
11092 | 15963 | |
11093 | =item U | |
15964 | =item UNIVERSAL does not export anything | |
11094 | 15965 | |
11095 | 15966 | =begin original |
11096 | 15967 | |
11097 | (F) You a | |
15968 | (F) You asked UNIVERSAL to export something, but UNIVERSAL is the | |
15969 | base class for all classes and contains no exportable symbols. | |
11098 | 15970 | |
11099 | 15971 | =end original |
11100 | 15972 | |
11101 | (F) | |
15973 | (F) UNIVERSAL に何かをエクスポートするように要求しましたが、UNIVERSAL は | |
15974 | すべてのクラスの基本クラスであり、エクスポート可能なシンボルを | |
15975 | 含んでいません。 | |
11102 | 15976 | |
11103 | 15977 | =item Unbalanced context: %d more PUSHes than POPs |
11104 | 15978 | |
11105 | 15979 | =begin original |
11106 | 15980 | |
11107 | ( | |
15981 | (S internal) The exit code detected an internal inconsistency in how | |
11108 | 15982 | many execution contexts were entered and left. |
11109 | 15983 | |
11110 | 15984 | =end original |
11111 | 15985 | |
11112 | ( | |
15986 | (S internal) いくつの実行コンテキストに入って、出たかということの | |
11113 | 15987 | 内部矛盾が exit コードで発見されました。 |
11114 | 15988 | |
11115 | 15989 | =item Unbalanced saves: %d more saves than restores |
11116 | 15990 | |
11117 | 15991 | =begin original |
11118 | 15992 | |
11119 | ( | |
15993 | (S internal) The exit code detected an internal inconsistency in how | |
11120 | 15994 | many values were temporarily localized. |
11121 | 15995 | |
11122 | 15996 | =end original |
11123 | 15997 | |
11124 | ( | |
15998 | (S internal) いくつの値が、一時的にローカル化されたかということの | |
11125 | 15999 | 内部矛盾が exit コードで発見されました。 |
11126 | 16000 | |
11127 | 16001 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
11128 | 16002 | |
11129 | 16003 | =begin original |
11130 | 16004 | |
11131 | ( | |
16005 | (S internal) The exit code detected an internal inconsistency in how | |
11132 | 16006 | many blocks were entered and left. |
11133 | 16007 | |
11134 | 16008 | =end original |
11135 | 16009 | |
11136 | ( | |
16010 | (S internal) いくつのブロックに入って、出たかということの | |
11137 | 16011 | 内部矛盾が exit コードで発見されました。 |
11138 | 16012 | |
16013 | =item Unbalanced string table refcount: (%d) for "%s" | |
16014 | ||
16015 | =begin original | |
16016 | ||
16017 | (S internal) On exit, Perl found some strings remaining in the shared | |
16018 | string table used for copy on write and for hash keys. The entries | |
16019 | should have been freed, so this indicates a bug somewhere. | |
16020 | ||
16021 | =end original | |
16022 | ||
16023 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
16024 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 | |
16025 | エントリは開放されている必要があるので、これはどこかにバグがあることを | |
16026 | 示しています。 | |
16027 | ||
11139 | 16028 | =item Unbalanced tmps: %d more allocs than frees |
11140 | 16029 | |
11141 | 16030 | =begin original |
11142 | 16031 | |
11143 | ( | |
16032 | (S internal) The exit code detected an internal inconsistency in how | |
11144 | 16033 | many mortal scalars were allocated and freed. |
11145 | 16034 | |
11146 | 16035 | =end original |
11147 | 16036 | |
11148 | ( | |
16037 | (S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
11149 | 16038 | いうことの内部矛盾が exit コードで発見されました。 |
11150 | 16039 | |
11151 | 16040 | =item Undefined format "%s" called |
11152 | 16041 | |
11153 | 16042 | =begin original |
11154 | 16043 | |
11155 | 16044 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
11156 | 16045 | another package? See L<perlform>. |
11157 | 16046 | |
11158 | 16047 | =end original |
11159 | 16048 | |
11160 | 16049 | (F) 示されたフォーマットが存在しないようです。 |
11161 | 16050 | おそらく本当は他のパッケージにあるのでは? |
11162 | 16051 | L<perlform> を参照してください。 |
11163 | 16052 | |
11164 | 16053 | =item Undefined sort subroutine "%s" called |
11165 | 16054 | |
11166 | 16055 | =begin original |
11167 | 16056 | |
11168 | 16057 | (F) The sort comparison routine specified doesn't seem to exist. |
11169 | 16058 | Perhaps it's in a different package? See L<perlfunc/sort>. |
11170 | 16059 | |
11171 | 16060 | =end original |
11172 | 16061 | |
11173 | 16062 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
11174 | 16063 | おそらく、別のパッケージに存在するのではないでしょうか。 |
11175 | 16064 | L<perlfunc/sort> を参照してください。 |
11176 | 16065 | |
11177 | 16066 | =item Undefined subroutine &%s called |
11178 | 16067 | |
11179 | 16068 | =begin original |
11180 | 16069 | |
11181 | 16070 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
11182 | 16071 | since been undefined. |
11183 | 16072 | |
11184 | 16073 | =end original |
11185 | 16074 | |
11186 | 16075 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 |
11187 | 16076 | 既に未定義になっています。 |
11188 | 16077 | |
11189 | 16078 | =item Undefined subroutine called |
11190 | 16079 | |
11191 | 16080 | =begin original |
11192 | 16081 | |
11193 | 16082 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
11194 | 16083 | or if it was, it has since been undefined. |
11195 | 16084 | |
11196 | 16085 | =end original |
11197 | 16086 | |
11198 | 16087 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; |
11199 | 16088 | 定義されていたとしても、既に未定義になっています。 |
11200 | 16089 | |
11201 | 16090 | =item Undefined subroutine in sort |
11202 | 16091 | |
11203 | 16092 | =begin original |
11204 | 16093 | |
11205 | 16094 | (F) The sort comparison routine specified is declared but doesn't seem |
11206 | 16095 | to have been defined yet. See L<perlfunc/sort>. |
11207 | 16096 | |
11208 | 16097 | =end original |
11209 | 16098 | |
11210 | 16099 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
11211 | 16100 | 定義されていないようです。 |
11212 | 16101 | L<perlfunc/sort> を参照してください。 |
11213 | 16102 | |
11214 | 16103 | =item Undefined top format "%s" called |
11215 | 16104 | |
11216 | 16105 | =begin original |
11217 | 16106 | |
11218 | 16107 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
11219 | 16108 | another package? See L<perlform>. |
11220 | 16109 | |
11221 | 16110 | =end original |
11222 | 16111 | |
11223 | 16112 | (F) 示されたフォーマットが存在しないようです。 |
11224 | 16113 | おそらく本当は他のパッケージにあるのでは? |
11225 | 16114 | L<perlform> を参照してください。 |
11226 | 16115 | |
11227 | 16116 | =item Undefined value assigned to typeglob |
11228 | 16117 | |
11229 | 16118 | =begin original |
11230 | 16119 | |
11231 | 16120 | (W misc) An undefined value was assigned to a typeglob, a la |
11232 | 16121 | C<*foo = undef>. This does nothing. It's possible that you really mean |
11233 | 16122 | C<undef *foo>. |
11234 | 16123 | |
11235 | 16124 | =end original |
11236 | 16125 | |
11237 | 16126 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
11238 | 16127 | これは何もしません。 |
11239 | 16128 | 本当は C<undef *foo> としたかったのかもしれません。 |
11240 | 16129 | |
11241 | 16130 | =item %s: Undefined variable |
11242 | 16131 | |
11243 | 16132 | =begin original |
11244 | 16133 | |
11245 | 16134 | (A) You've accidentally run your script through B<csh> instead of Perl. |
11246 | 16135 | Check the #! line, or manually feed your script into Perl yourself. |
11247 | 16136 | |
11248 | 16137 | =end original |
11249 | 16138 | |
11250 | 16139 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
11251 | #! 行を | |
16140 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
11252 | 16141 | |
16142 | =item Unescaped left brace in regex is illegal here in regex; | |
16143 | marked by S<<-- HERE> in m/%s/ | |
16144 | ||
16145 | =begin original | |
16146 | ||
16147 | (F) The simple rule to remember, if you want to | |
16148 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
16149 | regular expression pattern, is to escape each literal instance of it in | |
16150 | some way. Generally easiest is to precede it with a backslash, like | |
16151 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
16152 | delimiters are also braces, any matching right brace (C<"}">) should | |
16153 | also be escaped to avoid confusing the parser, for example, | |
16154 | ||
16155 | =end original | |
16156 | ||
16157 | (F) 正規表現中で | |
16158 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
16159 | 覚えておくべき単純な規則は、何らかの方法で | |
16160 | それぞれのリテラルな実体をエスケープすることです。 | |
16161 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
16162 | かっこでかこむ (C<"[{]">) ことです。 | |
16163 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
16164 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
16165 | ||
16166 | qr{abc\{def\}ghi} | |
16167 | ||
16168 | =begin original | |
16169 | ||
16170 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
16171 | language to be extended in various ways in future releases. To avoid | |
16172 | needlessly breaking existing code, the restriction is not enforced in | |
16173 | contexts where there are unlikely to ever be extensions that could | |
16174 | conflict with the use there of C<"{"> as a literal. Those that are | |
16175 | not potentially ambiguous do not warn; those that are do raise a | |
16176 | non-deprecation warning. | |
16177 | ||
16178 | =end original | |
16179 | ||
16180 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
16181 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
16182 | 既存のコードを不必要に壊すことを避けるために、 | |
16183 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
16184 | 制限は強制されません。 | |
16185 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
16186 | 廃止予定でない警告が発生します。 | |
16187 | ||
16188 | =begin original | |
16189 | ||
16190 | The contexts where no warnings or errors are raised are: | |
16191 | ||
16192 | =end original | |
16193 | ||
16194 | 警告やエラーが出ない文脈は: | |
16195 | ||
16196 | =over 4 | |
16197 | ||
16198 | =item * | |
16199 | ||
16200 | =begin original | |
16201 | ||
16202 | as the first character in a pattern, or following C<"^"> indicating to | |
16203 | anchor the match to the beginning of a line. | |
16204 | ||
16205 | =end original | |
16206 | ||
16207 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
16208 | C<"^"> に引き続いている場合。 | |
16209 | ||
16210 | =item * | |
16211 | ||
16212 | =begin original | |
16213 | ||
16214 | as the first character following a C<"|"> indicating alternation. | |
16215 | ||
16216 | =end original | |
16217 | ||
16218 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
16219 | ||
16220 | =item * | |
16221 | ||
16222 | =begin original | |
16223 | ||
16224 | as the first character in a parenthesized grouping like | |
16225 | ||
16226 | =end original | |
16227 | ||
16228 | 次のようなかっこ付きグループの最初の文字の場合: | |
16229 | ||
16230 | /foo({bar)/ | |
16231 | /foo(?:{bar)/ | |
16232 | ||
16233 | =item * | |
16234 | ||
16235 | =begin original | |
16236 | ||
16237 | as the first character following a quantifier | |
16238 | ||
16239 | =end original | |
16240 | ||
16241 | 量指定子に引き続く最初の文字の場合 | |
16242 | ||
16243 | /\s*{/ | |
16244 | ||
16245 | =back | |
16246 | ||
16247 | =for comment | |
16248 | The text of the message above is mostly duplicated below (with changes) | |
16249 | to allow splain (and 'use diagnostics') to work. Since one is fatal, | |
16250 | and one not, they can't be combined as one message. Perhaps perldiag | |
16251 | could be enhanced to handle this case. | |
16252 | ||
16253 | =item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/ | |
16254 | ||
16255 | =begin original | |
16256 | ||
16257 | (W regexp) The simple rule to remember, if you want to | |
16258 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
16259 | regular expression pattern, is to escape each literal instance of it in | |
16260 | some way. Generally easiest is to precede it with a backslash, like | |
16261 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
16262 | delimiters are also braces, any matching right brace (C<"}">) should | |
16263 | also be escaped to avoid confusing the parser, for example, | |
16264 | ||
16265 | =end original | |
16266 | ||
16267 | (W regexp) 正規表現中で | |
16268 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
16269 | 覚えておくべき単純な規則は、何らかの方法で | |
16270 | それぞれのリテラルな実体をエスケープすることです。 | |
16271 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
16272 | かっこでかこむ (C<"[{]">) ことです。 | |
16273 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
16274 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
16275 | ||
16276 | qr{abc\{def\}ghi} | |
16277 | ||
16278 | =begin original | |
16279 | ||
16280 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
16281 | language to be extended in various ways in future releases. To avoid | |
16282 | needlessly breaking existing code, the restriction is not enforced in | |
16283 | contexts where there are unlikely to ever be extensions that could | |
16284 | conflict with the use there of C<"{"> as a literal. Those that are | |
16285 | not potentially ambiguous do not warn; those that are raise this | |
16286 | warning. This makes sure that an inadvertent typo doesn't silently | |
16287 | cause the pattern to compile to something unintended. | |
16288 | ||
16289 | =end original | |
16290 | ||
16291 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
16292 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
16293 | 既存のコードを不必要に壊すことを避けるために、 | |
16294 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
16295 | 制限は強制されません。 | |
16296 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
16297 | この警告が発生します。 | |
16298 | これは、不注意によるタイプミスによって、パターンが何か想定外のものに | |
16299 | 黙ってコンパイルされないことを確実にします。 | |
16300 | ||
16301 | =begin original | |
16302 | ||
16303 | The contexts where no warnings or errors are raised are: | |
16304 | ||
16305 | =end original | |
16306 | ||
16307 | 警告やエラーが出ない文脈は: | |
16308 | ||
16309 | =over 4 | |
16310 | ||
16311 | =item * | |
16312 | ||
16313 | =begin original | |
16314 | ||
16315 | as the first character in a pattern, or following C<"^"> indicating to | |
16316 | anchor the match to the beginning of a line. | |
16317 | ||
16318 | =end original | |
16319 | ||
16320 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
16321 | C<"^"> に引き続いている場合。 | |
16322 | ||
16323 | =item * | |
16324 | ||
16325 | =begin original | |
16326 | ||
16327 | as the first character following a C<"|"> indicating alternation. | |
16328 | ||
16329 | =end original | |
16330 | ||
16331 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
16332 | ||
16333 | =item * | |
16334 | ||
16335 | =begin original | |
16336 | ||
16337 | as the first character in a parenthesized grouping like | |
16338 | ||
16339 | =end original | |
16340 | ||
16341 | 次のようなかっこ付きグループの最初の文字の場合: | |
16342 | ||
16343 | /foo({bar)/ | |
16344 | /foo(?:{bar)/ | |
16345 | ||
16346 | =item * | |
16347 | ||
16348 | =begin original | |
16349 | ||
16350 | as the first character following a quantifier | |
16351 | ||
16352 | =end original | |
16353 | ||
16354 | 量指定子に引き続く最初の文字の場合 | |
16355 | ||
16356 | /\s*{/ | |
16357 | ||
16358 | =back | |
16359 | ||
16360 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ | |
16361 | ||
16362 | =begin original | |
16363 | ||
16364 | (W regexp) (only under C<S<use re 'strict'>>) | |
16365 | ||
16366 | =end original | |
16367 | ||
16368 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
16369 | ||
16370 | =begin original | |
16371 | ||
16372 | Within the scope of C<S<use re 'strict'>> in a regular expression | |
16373 | pattern, you included an unescaped C<}> or C<]> which was interpreted | |
16374 | literally. These two characters are sometimes metacharacters, and | |
16375 | sometimes literals, depending on what precedes them in the | |
16376 | pattern. This is unlike the similar C<)> which is always a | |
16377 | metacharacter unless escaped. | |
16378 | ||
16379 | =end original | |
16380 | ||
16381 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 | |
16382 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 | |
16383 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; | |
16384 | パターン中で何が前に置かれるかによります。 | |
16385 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが | |
16386 | 異なります。 | |
16387 | ||
16388 | =begin original | |
16389 | ||
16390 | This action at a distance, perhaps a large distance, can lead to Perl | |
16391 | silently misinterpreting what you meant, so when you specify that you | |
16392 | want extra checking by C<S<use re 'strict'>>, this warning is generated. | |
16393 | If you meant the character as a literal, simply confirm that to Perl by | |
16394 | preceding the character with a backslash, or make it into a bracketed | |
16395 | character class (like C<[}]>). If you meant it as closing a | |
16396 | corresponding C<[> or C<{>, you'll need to look back through the pattern | |
16397 | to find out why that isn't happening. | |
16398 | ||
16399 | =end original | |
16400 | ||
16401 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで | |
16402 | あなたの意図を間違って解釈するかもしれないので、 | |
16403 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 | |
16404 | この警告が出力されます。 | |
16405 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 | |
16406 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に | |
16407 | はっきりさせてください。 | |
16408 | これが対応する C<[> や C<{> を閉じるものなら、 | |
16409 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 | |
16410 | ||
11253 | 16411 | =item unexec of %s into %s failed! |
11254 | 16412 | |
11255 | 16413 | =begin original |
11256 | 16414 | |
11257 | 16415 | (F) The unexec() routine failed for some reason. See your local FSF |
11258 | 16416 | representative, who probably put it there in the first place. |
11259 | 16417 | |
11260 | 16418 | =end original |
11261 | 16419 | |
11262 | 16420 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
11263 | 16421 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
11264 | 16422 | |
11265 | =item Un | |
16423 | =item Unexpected binary operator '%c' with no preceding operand in regex; | |
16424 | marked by S<<-- HERE> in m/%s/ | |
11266 | 16425 | |
11267 | 16426 | =begin original |
11268 | 16427 | |
11269 | ( | |
16428 | (F) You had something like this: | |
11270 | defined by the | |
11271 | Unicode standard to be non-characters. Those are legal codepoints, but are | |
11272 | reserved for internal use; so, applications shouldn't attempt to exchange | |
11273 | them. If you know what you are doing you can turn | |
11274 | off this warning by C<no warnings 'nonchar';>. | |
11275 | 16429 | |
11276 | 16430 | =end original |
11277 | 16431 | |
11278 | ( | |
16432 | (F) 以下のようなものを書きました: | |
11279 | ||
16434 | (?[ | \p{Digit} ]) | |
16435 | ||
16436 | =begin original | |
16437 | ||
16438 | where the C<"|"> is a binary operator with an operand on the right, but | |
16439 | no operand on the left. | |
16440 | ||
16441 | =end original | |
16442 | ||
16443 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない | |
16444 | 2 項演算子です。 | |
16445 | ||
16446 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ | |
16447 | ||
16448 | =begin original | |
16449 | ||
16450 | (F) You had something like this: | |
16451 | ||
16452 | =end original | |
16453 | ||
16454 | (F) 以下のようなものを書きました: | |
16455 | ||
16456 | (?[ z ]) | |
16457 | ||
16458 | =begin original | |
16459 | ||
16460 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
16461 | within an inner pair of square brackets, like | |
16462 | ||
16463 | =end original | |
16464 | ||
16465 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
16466 | リテラル文字は許されません | |
16467 | ||
16468 | (?[ [ z ] ]) | |
16469 | ||
16470 | =begin original | |
16471 | ||
16472 | Another possibility is that you forgot a backslash. Perl isn't smart | |
16473 | enough to figure out what you really meant. | |
16474 | ||
16475 | =end original | |
16476 | ||
16477 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
16478 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
16479 | ||
16480 | =item Unexpected characters while parsing class :isa attribute: %s | |
16481 | ||
16482 | =begin original | |
16483 | ||
16484 | (F) You tried to specify something other than a single class name with an | |
16485 | optional trailing verison number as the value for a C<class> C<:isa> | |
16486 | attribute. This confused the parser. | |
16487 | ||
16488 | =end original | |
16489 | ||
16490 | (F) C<class> C<:isa> 属性に、単一のクラス名に加えて末尾のバージョン番号 | |
16491 | (オプション)以外のものを指定しようとしました。 | |
16492 | これはパーサを混乱させます。 | |
16493 | ||
16494 | =item Unexpected exit %u | |
16495 | ||
16496 | =begin original | |
16497 | ||
16498 | (S) exit() was called or the script otherwise finished gracefully when | |
16499 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. | |
16500 | ||
16501 | =end original | |
16502 | ||
16503 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が | |
16504 | 呼び出されたりその他の理由で通常終了しました。 | |
16505 | ||
16506 | =item Unexpected exit failure %d | |
16507 | ||
16508 | =begin original | |
16509 | ||
16510 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in | |
16511 | C<PL_exit_flags>. | |
16512 | ||
16513 | =end original | |
16514 | ||
16515 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに | |
16516 | 捕らえられていない die() が呼び出されました。 | |
16517 | ||
16518 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ | |
16519 | ||
16520 | =begin original | |
16521 | ||
16522 | (F) You had something like this: | |
16523 | ||
16524 | =end original | |
16525 | ||
16526 | (F) 以下のようなものを書きました: | |
16527 | ||
16528 | (?[ ( \p{Digit} + ) ]) | |
16529 | ||
16530 | =begin original | |
16531 | ||
16532 | The C<")"> is out-of-place. Something apparently was supposed to | |
16533 | be combined with the digits, or the C<"+"> shouldn't be there, or | |
16534 | something like that. Perl can't figure out what was intended. | |
16535 | ||
16536 | =end original | |
16537 | ||
16538 | C<")"> の場所がおかしいです。 | |
16539 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
16540 | 似たような何かです。 | |
16541 | Perl は何を意図しているのかが分かりませんでした。 | |
16542 | ||
16543 | =item Unexpected ']' with no following ')' in (?[... in regex; marked by | |
16544 | <-- HERE in m/%s/ | |
16545 | ||
16546 | =begin original | |
16547 | ||
16548 | (F) While parsing an extended character class a ']' character was | |
16549 | encountered at a point in the definition where the only legal use of | |
16550 | ']' is to close the character class definition as part of a '])', you | |
16551 | may have forgotten the close paren, or otherwise confused the parser. | |
16552 | ||
16553 | =end original | |
16554 | ||
16555 | (F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を | |
16556 | 閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました; | |
16557 | 閉じかっこを忘れているか、さもなければパーサが混乱しています。 | |
16558 | ||
16559 | =item Unexpected '(' with no preceding operator in regex; marked by | |
16560 | S<<-- HERE> in m/%s/ | |
16561 | ||
16562 | =begin original | |
16563 | ||
16564 | (F) You had something like this: | |
16565 | ||
16566 | =end original | |
16567 | ||
16568 | (F) 以下のようなものを書きました: | |
16569 | ||
16570 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
16571 | ||
16572 | =begin original | |
16573 | ||
16574 | There should be an operator before the C<"(">, as there's | |
16575 | no indication as to how the digits are to be combined | |
16576 | with the characters in the Lao and Thai scripts. | |
16577 | ||
16578 | =end original | |
16579 | ||
16580 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
16581 | 文字がどのように結びつくかの指示がないからです。 | |
16582 | ||
16583 | =item Unicode non-character U+%X is not recommended for open interchange | |
16584 | ||
16585 | =begin original | |
16586 | ||
16587 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
16588 | defined by the Unicode standard to be non-characters. Those | |
16589 | are legal codepoints, but are reserved for internal use; so, | |
16590 | applications shouldn't attempt to exchange them. An application | |
16591 | may not be expecting any of these characters at all, and receiving | |
16592 | them may lead to bugs. If you know what you are doing you can | |
16593 | turn off this warning by C<no warnings 'nonchar';>. | |
16594 | ||
16595 | =end original | |
16596 | ||
16597 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
16598 | Unicode 標準によって非文字として指定されています。 | |
11280 | 16599 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 |
11281 | 16600 | アプリケーションはこれを交換しようとするべきではありません。 |
16601 | アプリケーションは、これらの文字を想定するべきではなく、これらを | |
16602 | 受け取るとバグを引き起こすことがあります。 | |
11282 | 16603 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で |
11283 | 16604 | 警告を無効にできます。 |
11284 | 16605 | |
16606 | =begin original | |
16607 | ||
16608 | This is not really a "severe" error, but it is supposed to be | |
16609 | raised by default even if warnings are not enabled, and currently | |
16610 | the only way to do that in Perl is to mark it as serious. | |
16611 | ||
16612 | =end original | |
16613 | ||
16614 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても | |
16615 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは | |
16616 | これを重大なものとして扱うことです。 | |
16617 | ||
16618 | =item Unicode property wildcard not terminated | |
16619 | ||
16620 | =begin original | |
16621 | ||
16622 | (F) A Unicode property wildcard looks like a delimited regular | |
16623 | expression pattern (all within the braces of the enclosing C<\p{...}>. | |
16624 | The closing delimtter to match the opening one was not found. If the | |
16625 | opening one is escaped by preceding it with a backslash, the closing one | |
16626 | must also be so escaped. | |
16627 | ||
16628 | =end original | |
16629 | ||
16630 | (F) Unicode 特性ワイルドカードは区切られた正規表現パターン | |
16631 | (C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。 | |
16632 | 開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。 | |
16633 | 前に逆スラッシュを置くことで開き文字がエスケープされている場合、 | |
16634 | 閉じ文字もエスケープされていなければなりません。 | |
16635 | ||
16636 | =item Unicode string properties are not implemented in (?[...]) in | |
16637 | regex; marked by <-- HERE in m/%s/ | |
16638 | ||
16639 | =begin original | |
16640 | ||
16641 | (F) A Unicode string property is one which expands to a sequence of | |
16642 | multiple characters. An example is C<\p{name=KATAKANA LETTER AINU P}>, | |
16643 | which consists of the sequence C<\N{KATAKANA LETTER SMALL H}> | |
16644 | followed by C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}>. | |
16645 | Extended character classes, C<(?[...])> currently cannot handle these. | |
16646 | ||
16647 | =end original | |
16648 | ||
16649 | (F) A Unicode 文字列特性は、複数の文字の並びに拡張するものです。 | |
16650 | 例は C<\p{name=KATAKANA LETTER AINU P}> で、これは | |
16651 | C<\N{KATAKANA LETTER SMALL H}> に | |
16652 | C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}> が引き続く | |
16653 | 並びからなります。 | |
16654 | 拡張文字クラス C<(?[...])> は現在の所これらを扱えません。 | |
16655 | ||
11285 | 16656 | =item Unicode surrogate U+%X is illegal in UTF-8 |
11286 | 16657 | |
11287 | 16658 | =begin original |
11288 | 16659 | |
11289 | ( | |
16660 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
11290 | 16661 | not considered acceptable. These code points, between U+D800 and |
11291 | 16662 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
11292 | 16663 | internally allows all unsigned integer code points (up to the size limit |
11293 | 16664 | available on your platform), including surrogates. But these can cause |
11294 | 16665 | problems when being input or output, which is likely where this message |
11295 | 16666 | came from. If you really really know what you are doing you can turn |
11296 | 16667 | off this warning by C<no warnings 'surrogate';>. |
11297 | 16668 | |
11298 | 16669 | =end original |
11299 | 16670 | |
11300 | ( | |
16671 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
11301 | 16672 | 使いました。 |
11302 | 16673 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
11303 | 16674 | Unicode によって使われます。 |
11304 | 16675 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
11305 | 16676 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
11306 | 16677 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
11307 | 16678 | おそらくこのメッセージが出た場所です。 |
11308 | 16679 | 自分で何をしているのかが本当に本当に分かっているなら、 |
11309 | 16680 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
11310 | 16681 | |
11311 | =item Un | |
16682 | =item Unimplemented | |
11312 | 16683 | |
11313 | 16684 | =begin original |
11314 | 16685 | |
11315 | (F) | |
16686 | (F) In Perl 5.12 and above, you have executed an | |
11316 | ||
16687 | L<ellipsis statement|perlsyn/"The Ellipsis Statement">. This is a | |
16688 | bare C<...;>, meant to be used to allow you to outline code that | |
16689 | is to be written, but is not complete, similar to the following: | |
11317 | 16690 | |
11318 | 16691 | =end original |
11319 | 16692 | |
11320 | (F) | |
16693 | (F) Perl 5.12 以降で、 | |
16694 | L<省略文|perlsyn/"The Ellipsis Statement"> を実行しました。 | |
16695 | これは生の C<...;> です; | |
16696 | これによって、次のように、書かれる必要があるが完全ではない | |
16697 | コードの概要を書けるようになります: | |
11321 | 16698 | |
16699 | sub not_done_yet { | |
16700 | my($self, $arg1, $arg2) = @_; | |
16701 | ... | |
16702 | } | |
16703 | ||
16704 | =begin original | |
16705 | ||
16706 | If C<not_done_yet()> is called, Perl will die with an C<Unimplemented> error | |
16707 | at the line containing C<...>. | |
16708 | ||
16709 | =end original | |
16710 | ||
16711 | C<not_done_yet()> が呼び出されると、Perl は C<...> を含む行で | |
16712 | C<Unimplemented> エラーで die します。 | |
16713 | ||
16714 | =item Unknown charname '%s' | |
16715 | ||
16716 | =begin original | |
16717 | ||
16718 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
16719 | spelling. You can say C<use charnames ":loose"> to not have to be | |
16720 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
16721 | names. (Any custom aliases that have been created must be specified | |
16722 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
16723 | also happen if the C<\N{}> is not in the scope of the corresponding | |
16724 | C<S<use charnames>>. | |
16725 | ||
16726 | =end original | |
16727 | ||
16728 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
16729 | 綴りを確認してください。 | |
16730 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
16731 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
16732 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
16733 | 指定されなければなりません。) | |
16734 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
16735 | ないときにも起こることがあります。 | |
16736 | ||
16737 | =item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/ | |
16738 | ||
16739 | =begin original | |
16740 | ||
16741 | (F) The C<(*> was followed by something that the regular expression | |
16742 | compiler does not recognize. Check your spelling. | |
16743 | ||
16744 | =end original | |
16745 | ||
16746 | (F) C<(*> に、何か正規表現コンパイラが理解できないものが | |
16747 | 引き続いていました。 | |
16748 | 綴りを確認してください。 | |
16749 | ||
16750 | =item Unknown error | |
16751 | ||
16752 | =begin original | |
16753 | ||
16754 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable | |
16755 | did not exist, even after an attempt to create it. | |
16756 | ||
16757 | =end original | |
16758 | ||
16759 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が | |
16760 | (たとえ作ろうとした後でも) 存在しませんでした。 | |
16761 | ||
16762 | =item Unknown locale category %d | |
16763 | ||
16764 | =item Unknown locale category %d; can't set it to %s | |
16765 | ||
16766 | =begin original | |
16767 | ||
16768 | (W locale) You used a locale category that perl doesn't recognize, so it | |
16769 | cannot carry out your request. Check that you are using a valid | |
16770 | category. If so, see L<perllocale/Multi-threaded> for advice on | |
16771 | reporting this as a bug, and for modifying perl locally to accommodate | |
16772 | your needs. | |
16773 | ||
16774 | =end original | |
16775 | ||
16776 | (W locale) perl が認識できないロケールカテゴリを使ったので、 | |
16777 | 要求を実行することができません。 | |
16778 | 正しいカテゴリを使っているかチェックしてください。 | |
16779 | もしそうなら、これをバグとして報告する助言や、必要性に対応するために | |
16780 | perl をローカルで修正する方法について L<perllocale/Multi-threaded> を | |
16781 | 参照してください。 | |
16782 | ||
11322 | 16783 | =item Unknown open() mode '%s' |
11323 | 16784 | |
11324 | 16785 | =begin original |
11325 | 16786 | |
11326 | 16787 | (F) The second argument of 3-argument open() is not among the list |
11327 | 16788 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
11328 | 16789 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. |
11329 | 16790 | |
11330 | 16791 | =end original |
11331 | 16792 | |
11332 | 16793 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
11333 | 16794 | どれでもありませんでした: |
11334 | 16795 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
11335 | 16796 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> |
11336 | 16797 | |
11337 | 16798 | =item Unknown PerlIO layer "%s" |
11338 | 16799 | |
11339 | 16800 | =begin original |
11340 | 16801 | |
11341 | 16802 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O |
11342 | 16803 | system. (Layers take care of transforming data between external and |
11343 | 16804 | internal representations.) Note that some layers, such as C<mmap>, |
11344 | 16805 | are not supported in all environments. If your program didn't |
11345 | 16806 | explicitly request the failing operation, it may be the result of the |
11346 | 16807 | value of the environment variable PERLIO. |
11347 | 16808 | |
11348 | 16809 | =end original |
11349 | 16810 | |
11350 | 16811 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 |
11351 | 16812 | (層はデータの外部表現と内部表現の変換を扱います。) |
11352 | 16813 | C<mmap> のような層は、全ての環境で対応しているわけではないことに |
11353 | 16814 | 注意してください。 |
11354 | 16815 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
11355 | 16816 | 値が原因かもしれません。 |
11356 | 16817 | |
11357 | 16818 | =item Unknown process %x sent message to prime_env_iter: %s |
11358 | 16819 | |
11359 | 16820 | =begin original |
11360 | 16821 | |
11361 | 16822 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
11362 | 16823 | iterating over it, and someone else stuck a message in the stream of |
11363 | 16824 | data Perl expected. Someone's very confused, or perhaps trying to |
11364 | 16825 | subvert Perl's population of %ENV for nefarious purposes. |
11365 | 16826 | |
11366 | 16827 | =end original |
11367 | 16828 | |
11368 | 16829 | (P) VMS に固有のエラーです。 |
11369 | 16830 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
11370 | 16831 | データストリームの中に誰かがメッセージを差し込みました。 |
11371 | 16832 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
11372 | 16833 | 滅亡させようとしています。 |
11373 | 16834 | |
16835 | =item Unknown regexp modifier "/%s" | |
16836 | ||
16837 | =begin original | |
16838 | ||
16839 | (F) Alphanumerics immediately following the closing delimiter | |
16840 | of a regular expression pattern are interpreted by Perl as modifier | |
16841 | flags for the regex. One of the ones you specified is invalid. One way | |
16842 | this can happen is if you didn't put in white space between the end of | |
16843 | the regex and a following alphanumeric operator: | |
16844 | ||
16845 | =end original | |
16846 | ||
16847 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
16848 | 修飾子フラグと解釈されます。 | |
16849 | その一つが不正でした。 | |
16850 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
16851 | 空白を置いていない場合です: | |
16852 | ||
16853 | if ($x =~ /foo/and $bar == 3) { ... } | |
16854 | ||
16855 | =begin original | |
16856 | ||
16857 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
16858 | this error. Likely what was meant instead was: | |
16859 | ||
16860 | =end original | |
16861 | ||
16862 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
16863 | おそらくしたかったのは以下のようなことでしょう: | |
16864 | ||
16865 | if ($x =~ /foo/ and $bar == 3) { ... } | |
16866 | ||
11374 | 16867 | =item Unknown "re" subpragma '%s' (known ones are: %s) |
11375 | 16868 | |
11376 | 16869 | =begin original |
11377 | 16870 | |
11378 | 16871 | (W) You tried to use an unknown subpragma of the "re" pragma. |
11379 | 16872 | |
11380 | 16873 | =end original |
11381 | 16874 | |
11382 | 16875 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 |
11383 | 16876 | |
11384 | =item Unknown switch condition (?( | |
16877 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in | |
16878 | m/%s/ | |
11385 | 16879 | |
11386 | 16880 | =begin original |
11387 | 16881 | |
11388 | 16882 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
11389 | is not known. The condition must be one of the following: | |
16883 | is not known. The condition must be one of the following: | |
11390 | 16884 | |
11391 | 16885 | =end original |
11392 | 16886 | |
11393 | ( | |
16887 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
11394 | 条件は以下の | |
16888 | 条件は以下のいずれかでなければなりません。 | |
11395 | 16889 | |
11396 | | |
16890 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
11397 | | |
16891 | (<NAME>) ('NAME') true if named capture matched | |
11398 | | |
16892 | (?=...) (?<=...) true if subpattern matches | |
11399 | | |
16893 | (*pla:...) (*plb:...) true if subpattern matches; also | |
11400 | | |
16894 | (*positive_lookahead:...) | |
11401 | | |
16895 | (*positive_lookbehind:...) | |
11402 | | |
16896 | (*nla:...) (*nlb:...) true if subpattern fails to match; also | |
11403 | | |
16897 | (*negative_lookahead:...) | |
11404 | | |
16898 | (*negative_lookbehind:...) | |
16899 | (?{ CODE }) true if code returns a true value | |
16900 | (R) true if evaluating inside recursion | |
16901 | (R1) (R2) ... true if directly inside capture group 1, 2, | |
16902 | etc. | |
16903 | (R&NAME) true if directly inside named capture | |
16904 | (DEFINE) always false; for defining named subpatterns | |
11405 | 16905 | |
11406 | 16906 | =begin original |
11407 | 16907 | |
11408 | The <-- HERE shows in the regular expression | |
16908 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
11409 | 16909 | discovered. See L<perlre>. |
11410 | 16910 | |
11411 | 16911 | =end original |
11412 | 16912 | |
11413 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16913 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11414 | 16914 | L<perlre> を参照してください。 |
11415 | 16915 | |
11416 | 16916 | =item Unknown Unicode option letter '%c' |
11417 | 16917 | |
11418 | 16918 | =begin original |
11419 | 16919 | |
11420 | (F) You specified an unknown Unicode option. See | |
16920 | (F) You specified an unknown Unicode option. See | |
11421 | ||
16921 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
16922 | for the list of known options. | |
11422 | 16923 | |
11423 | 16924 | =end original |
11424 | 16925 | |
11425 | 16926 | (F) 不明な Unicode オプションを指定しました。 |
11426 | オプションの一覧については、L<perlrun | |
16927 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
11427 | 参照してください。 | |
16928 | C<-C> オプションを参照してください。 | |
11428 | 16929 | |
11429 | =item Unknown Unicode option value % | |
16930 | =item Unknown Unicode option value %d | |
11430 | 16931 | |
11431 | 16932 | =begin original |
11432 | 16933 | |
11433 | (F) You specified an unknown Unicode option. See | |
16934 | (F) You specified an unknown Unicode option. See | |
11434 | ||
16935 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
16936 | for the list of known options. | |
11435 | 16937 | |
11436 | 16938 | =end original |
11437 | 16939 | |
11438 | 16940 | (F) 不明な Unicode オプションを指定しました。 |
11439 | オプションの一覧については、L<perlrun | |
16941 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
11440 | 参照してください。 | |
16942 | C<-C> オプションを参照してください。 | |
11441 | 16943 | |
11442 | =item Unknown | |
16944 | =item Unknown user-defined property name \p{%s} | |
11443 | 16945 | |
11444 | 16946 | =begin original |
11445 | 16947 | |
16948 | (F) You specified to use a property within the C<\p{...}> which was a | |
16949 | syntactically valid user-defined property, but no definition was found | |
16950 | for it by the time one was required to proceed. Check your spelling. | |
16951 | See L<perlunicode/User-Defined Character Properties>. | |
16952 | ||
16953 | =end original | |
16954 | ||
16955 | (F) 文法的に正当なユーザー定義特性である C<\p{...}> の中で特性を使うように | |
16956 | 指定しましたが、進行するためにこれが必要な必要な時点までに、 | |
16957 | このための定義が見つかりませんでした。 | |
16958 | 綴りを確認してください。 | |
16959 | L<perlunicode/User-Defined Character Properties> を参照してください。 | |
16960 | ||
16961 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ | |
16962 | ||
16963 | =begin original | |
16964 | ||
11446 | 16965 | (F) You either made a typo or have incorrectly put a C<*> quantifier |
11447 | 16966 | after an open brace in your pattern. Check the pattern and review |
11448 | 16967 | L<perlre> for details on legal verb patterns. |
11449 | 16968 | |
11450 | 16969 | =end original |
11451 | 16970 | |
11452 | 16971 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に |
11453 | 16972 | C<*> 量指定子を書いたかどちらかです。 |
11454 | 16973 | パターンをチェックして、有効な動詞パターンの詳細については |
11455 | 16974 | L<perlre> を再チェックしてください。 |
11456 | 16975 | |
11457 | 16976 | =item Unknown warnings category '%s' |
11458 | 16977 | |
11459 | 16978 | =begin original |
11460 | 16979 | |
11461 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
16980 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
11462 | 16981 | category that is unknown to perl at this point. |
11463 | 16982 | |
11464 | 16983 | =end original |
11465 | 16984 | |
11466 | 16985 | (F) C<warnings> プラグマによるエラーです。 |
11467 | 16986 | 現在のところ perl が知らない警告カテゴリを指定しました。 |
11468 | 16987 | |
11469 | 16988 | =begin original |
11470 | 16989 | |
11471 | 16990 | Note that if you want to enable a warnings category registered by a |
11472 | 16991 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this |
11473 | 16992 | module first. |
11474 | 16993 | |
11475 | 16994 | =end original |
11476 | 16995 | |
11477 | 16996 | (C<use warnings 'File::Find'> のように)モジュールによって登録される |
11478 | 16997 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が |
11479 | 16998 | あることに注意してください。 |
11480 | 16999 | |
11481 | =item | |
17000 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ | |
11482 | 17001 | |
11483 | 17002 | =begin original |
11484 | 17003 | |
11485 | (F) The brackets around a character class must match. If you wish to | |
17004 | (F) The brackets around a character class must match. If you wish to | |
11486 | 17005 | include a closing bracket in a character class, backslash it or put it |
11487 | first. The <-- HERE shows in the regular expression | |
17006 | first. The S<<-- HERE> shows whereabouts in the regular expression the | |
11488 | was discovered. See L<perlre>. | |
17007 | problem was discovered. See L<perlre>. | |
11489 | 17008 | |
11490 | 17009 | =end original |
11491 | 17010 | |
11492 | 17011 | (F) 文字クラスの周りの大かっこが一致していません。 |
11493 | 17012 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
11494 | 17013 | 先頭に置いてください。 |
11495 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
17014 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11496 | 17015 | L<perlre> を参照してください。 |
11497 | 17016 | |
11498 | =item | |
17017 | =item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/ | |
11499 | 17018 | |
17019 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ | |
17020 | ||
11500 | 17021 | =begin original |
11501 | 17022 | |
11502 | 17023 | (F) Unbackslashed parentheses must always be balanced in regular |
11503 | expressions. If you're a vi user, the % key is valuable for finding | |
17024 | expressions. If you're a vi user, the % key is valuable for finding | |
11504 | matching parenthesis. The <-- HERE shows | |
17025 | the matching parenthesis. The S<<-- HERE> shows whereabouts in the | |
11505 | ||
17026 | regular expression the problem was discovered. See L<perlre>. | |
11506 | 17027 | |
11507 | 17028 | =end original |
11508 | 17029 | |
11509 | 17030 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
11510 | 17031 | 対応していなければなりません。 |
11511 | 17032 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
11512 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
17033 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11513 | 17034 | L<perlre> を参照してください。 |
11514 | 17035 | |
11515 | 17036 | =item Unmatched right %s bracket |
11516 | 17037 | |
11517 | 17038 | =begin original |
11518 | 17039 | |
11519 | 17040 | (F) The lexer counted more closing curly or square brackets than opening |
11520 | 17041 | ones, so you're probably missing a matching opening bracket. As a |
11521 | 17042 | general rule, you'll find the missing one (so to speak) near the place |
11522 | 17043 | you were last editing. |
11523 | 17044 | |
11524 | 17045 | =end original |
11525 | 17046 | |
11526 | 17047 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを |
11527 | 17048 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 |
11528 | 17049 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した |
11529 | 17050 | 場所の近くにあります。 |
11530 | 17051 | |
11531 | 17052 | =item Unquoted string "%s" may clash with future reserved word |
11532 | 17053 | |
11533 | 17054 | =begin original |
11534 | 17055 | |
11535 | 17056 | (W reserved) You used a bareword that might someday be claimed as a |
11536 | 17057 | reserved word. It's best to put such a word in quotes, or capitalize it |
11537 | 17058 | somehow, or insert an underbar into it. You might also declare it as a |
11538 | 17059 | subroutine. |
11539 | 17060 | |
11540 | 17061 | =end original |
11541 | 17062 | |
11542 | 17063 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
11543 | 17064 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
11544 | 17065 | いれるかしてください。 |
11545 | 17066 | その裸の単語は、サブルーチンとして宣言することも可能です。 |
11546 | 17067 | |
11547 | =item Unrecognized character %s; marked by <-- HERE after %s near column | |
17068 | =item Unrecognized character %s; marked by S<<-- HERE> after %s near column | |
17069 | %d | |
11548 | 17070 | |
11549 | 17071 | =begin original |
11550 | 17072 | |
11551 | 17073 | (F) The Perl parser has no idea what to do with the specified character |
11552 | in your Perl script (or eval) near the specified column. Perhaps you | |
17074 | in your Perl script (or eval) near the specified column. Perhaps you | |
11553 | to run a compressed script, a binary program, or a directory as | |
17075 | tried to run a compressed script, a binary program, or a directory as | |
17076 | a Perl program. | |
11554 | 17077 | |
11555 | 17078 | =end original |
11556 | 17079 | |
11557 | 17080 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに |
11558 | 17081 | 出てきた文字に対してどうすればよいか分かりませんでした。 |
11559 | 17082 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
11560 | 17083 | Perl プログラムとして実行しようとしたのでしょう。 |
11561 | 17084 | |
11562 | =item Unrecognized | |
17085 | =item Unrecognized class attribute %s | |
11563 | 17086 | |
11564 | 17087 | =begin original |
11565 | 17088 | |
17089 | (F) You attempted to add a named attribute to a C<class> definition, but | |
17090 | perl does not recognise the name of the requested attribute. | |
17091 | ||
17092 | =end original | |
17093 | ||
17094 | (F) C<class> 定義に名前付きの属性を追加しようとしましたが、 | |
17095 | perl は要求された属性の名前を認識できませんでした。 | |
17096 | ||
17097 | =item Unrecognized escape \%c in character class in regex; marked by | |
17098 | S<<-- HERE> in m/%s/ | |
17099 | ||
17100 | =begin original | |
17101 | ||
17102 | (F) You used a backslash-character combination which is not | |
17103 | recognized by Perl inside character classes. This is a fatal | |
17104 | error when the character class is used within C<(?[ ])>. | |
17105 | ||
17106 | =end original | |
17107 | ||
17108 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
17109 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
17110 | ||
17111 | =item Unrecognized escape \%c in character class passed through in regex; | |
17112 | marked by S<<-- HERE> in m/%s/ | |
17113 | ||
17114 | =begin original | |
17115 | ||
11566 | 17116 | (W regexp) You used a backslash-character combination which is not |
11567 | 17117 | recognized by Perl inside character classes. The character was |
11568 | 17118 | understood literally, but this may change in a future version of Perl. |
11569 | The <-- HERE shows in the regular expression | |
17119 | The S<<-- HERE> shows whereabouts in the regular expression the | |
11570 | 17120 | escape was discovered. |
11571 | 17121 | |
11572 | 17122 | =end original |
11573 | 17123 | |
11574 | 17124 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
11575 | 17125 | 組み合わせを使いました。 |
11576 | 17126 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
11577 | 17127 | 変更されるかもしれません。 |
11578 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
17128 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
11579 | 17129 | |
11580 | 17130 | =item Unrecognized escape \%c passed through |
11581 | 17131 | |
11582 | 17132 | =begin original |
11583 | 17133 | |
11584 | 17134 | (W misc) You used a backslash-character combination which is not |
11585 | 17135 | recognized by Perl. The character was understood literally, but this may |
11586 | 17136 | change in a future version of Perl. |
11587 | 17137 | |
11588 | 17138 | =end original |
11589 | 17139 | |
11590 | 17140 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが |
11591 | 17141 | 使われています。 |
11592 | 17142 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
11593 | 17143 | 変更されるかもしれません。 |
11594 | 17144 | |
11595 | =item Unrecognized escape \%s passed through in regex; marked by | |
17145 | =item Unrecognized escape \%s passed through in regex; marked by | |
17146 | S<<-- HERE> in m/%s/ | |
11596 | 17147 | |
11597 | 17148 | =begin original |
11598 | 17149 | |
11599 | 17150 | (W regexp) You used a backslash-character combination which is not |
11600 | recognized by Perl. The character(s) were understood literally, but | |
17151 | recognized by Perl. The character(s) were understood literally, but | |
11601 | change in a future version of Perl. | |
17152 | this may change in a future version of Perl. The S<<-- HERE> shows | |
11602 | ||
17153 | whereabouts in the regular expression the escape was discovered. | |
11603 | escape was discovered. | |
11604 | 17154 | |
11605 | 17155 | =end original |
11606 | 17156 | |
11607 | 17157 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが |
11608 | 17158 | 使われています。 |
11609 | 17159 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
11610 | 17160 | 変更されるかもしれません。 |
11611 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
17161 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
11612 | 17162 | |
17163 | =item Unrecognized field attribute %s | |
17164 | ||
17165 | =begin original | |
17166 | ||
17167 | (F) You attempted to add a named attribute to a C<field> definition, but | |
17168 | perl does not recognise the name of the requested attribute. | |
17169 | ||
17170 | =end original | |
17171 | ||
17172 | (F) C<class> 定義に名前付きの属性を追加しようとしましたが、 | |
17173 | perl は要求された属性の名前を認識できませんでした。 | |
17174 | ||
17175 | =item Unrecognised parameters for "%s" constructor: %s | |
17176 | ||
17177 | =begin original | |
17178 | ||
17179 | (F) You called new on a class but supplied a parameter name that | |
17180 | didn't match a class field name. | |
17181 | ||
17182 | =end original | |
17183 | ||
17184 | (F) クラスに対して new を呼び出しましたが、クラスのフィールド名と | |
17185 | 一致しないパラメータ名を指定しました。 | |
17186 | ||
11613 | 17187 | =item Unrecognized signal name "%s" |
11614 | 17188 | |
11615 | 17189 | =begin original |
11616 | 17190 | |
11617 | 17191 | (F) You specified a signal name to the kill() function that was not |
11618 | 17192 | recognized. Say C<kill -l> in your shell to see the valid signal names |
11619 | 17193 | on your system. |
11620 | 17194 | |
11621 | 17195 | =end original |
11622 | 17196 | |
11623 | 17197 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
11624 | 17198 | お使いのシステムで使用可能なシグナル名を調べるには、 |
11625 | 17199 | シェル上で C<kill -l> などとしてください。 |
11626 | 17200 | |
11627 | 17201 | =item Unrecognized switch: -%s (-h will show valid options) |
11628 | 17202 | |
11629 | 17203 | =begin original |
11630 | 17204 | |
11631 | 17205 | (F) You specified an illegal option to Perl. Don't do that. (If you |
11632 | 17206 | think you didn't do that, check the #! line to see if it's supplying the |
11633 | 17207 | bad switch on your behalf.) |
11634 | 17208 | |
11635 | 17209 | =end original |
11636 | 17210 | |
11637 | 17211 | (F) Perl に間違ったオプションを指定しました。 |
11638 | 17212 | これを行なってはいけません。 |
11639 | 17213 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
11640 | 17214 | スイッチが指定されていないかをチェックしてください。) |
11641 | 17215 | |
11642 | 17216 | =item Unsuccessful %s on filename containing newline |
11643 | 17217 | |
11644 | 17218 | =begin original |
11645 | 17219 | |
11646 | 17220 | (W newline) A file operation was attempted on a filename, and that |
11647 | 17221 | operation failed, PROBABLY because the filename contained a newline, |
11648 | 17222 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
11649 | 17223 | |
11650 | 17224 | =end original |
11651 | 17225 | |
11652 | 17226 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
11653 | 17227 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 |
11654 | 17228 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
11655 | 17229 | L<perlfunc/chomp> を参照してください。 |
11656 | 17230 | |
11657 | 17231 | =item Unsupported directory function "%s" called |
11658 | 17232 | |
11659 | 17233 | =begin original |
11660 | 17234 | |
11661 | 17235 | (F) Your machine doesn't support opendir() and readdir(). |
11662 | 17236 | |
11663 | 17237 | =end original |
11664 | 17238 | |
11665 | 17239 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
11666 | 17240 | |
11667 | 17241 | =item Unsupported function %s |
11668 | 17242 | |
11669 | 17243 | =begin original |
11670 | 17244 | |
11671 | 17245 | (F) This machine doesn't implement the indicated function, apparently. |
11672 | 17246 | At least, Configure doesn't think so. |
11673 | 17247 | |
11674 | 17248 | =end original |
11675 | 17249 | |
11676 | 17250 | (F) このマシンでは、表示した関数は実装されていません。 |
11677 | 17251 | 少なくとも、Configure はそう判断しました。 |
11678 | 17252 | |
11679 | 17253 | =item Unsupported function fork |
11680 | 17254 | |
11681 | 17255 | =begin original |
11682 | 17256 | |
11683 | 17257 | (F) Your version of executable does not support forking. |
11684 | 17258 | |
11685 | 17259 | =end original |
11686 | 17260 | |
11687 | 17261 | (F) この実行ファイルは fork に対応していません。 |
11688 | 17262 | |
11689 | 17263 | =begin original |
11690 | 17264 | |
11691 | 17265 | Note that under some systems, like OS/2, there may be different flavors |
11692 | of Perl executables, some of which may support fork, some not. Try | |
17266 | of Perl executables, some of which may support fork, some not. Try | |
11693 | 17267 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
11694 | 17268 | |
11695 | 17269 | =end original |
11696 | 17270 | |
11697 | 17271 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
11698 | 17272 | fork に対応しているものとしていないものがあります。 |
11699 | 17273 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
11700 | 17274 | 変えてみてください。 |
11701 | 17275 | |
11702 | 17276 | =item Unsupported script encoding %s |
11703 | 17277 | |
11704 | 17278 | =begin original |
11705 | 17279 | |
11706 | 17280 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
11707 | 17281 | declares it to be in a Unicode encoding that Perl cannot read. |
11708 | 17282 | |
11709 | 17283 | =end original |
11710 | 17284 | |
11711 | 17285 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
11712 | 17286 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
11713 | 17287 | |
11714 | 17288 | =item Unsupported socket function "%s" called |
11715 | 17289 | |
11716 | 17290 | =begin original |
11717 | 17291 | |
11718 | 17292 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
11719 | 17293 | least that's what Configure thought. |
11720 | 17294 | |
11721 | 17295 | =end original |
11722 | 17296 | |
11723 | 17297 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
11724 | 17298 | 少なくとも Configure がそう判断しました。 |
11725 | 17299 | |
17300 | =item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/ | |
17301 | ||
17302 | =begin original | |
17303 | ||
17304 | (F) You used a pattern of the form C<(*...:...)> but did not terminate | |
17305 | the pattern with a C<)>. Fix the pattern and retry. | |
17306 | ||
17307 | =end original | |
17308 | ||
17309 | (F) C<(*...:...)> 形式のパターンを使いましたが、パターンが | |
17310 | C<)> で終端されていません。 | |
17311 | パターンを修正して再挑戦してください。 | |
17312 | ||
11726 | 17313 | =item Unterminated attribute list |
11727 | 17314 | |
11728 | 17315 | =begin original |
11729 | 17316 | |
11730 | 17317 | (F) The lexer found something other than a simple identifier at the |
11731 | 17318 | start of an attribute, and it wasn't a semicolon or the start of a |
11732 | 17319 | block. Perhaps you terminated the parameter list of the previous |
11733 | 17320 | attribute too soon. See L<attributes>. |
11734 | 17321 | |
11735 | 17322 | =end original |
11736 | 17323 | |
11737 | 17324 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
11738 | 17325 | 開始でないものを発見しました。 |
11739 | 17326 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
11740 | 17327 | L<attributes> を参照してください。 |
11741 | 17328 | |
11742 | 17329 | =item Unterminated attribute parameter in attribute list |
11743 | 17330 | |
11744 | 17331 | =begin original |
11745 | 17332 | |
11746 | 17333 | (F) The lexer saw an opening (left) parenthesis character while parsing |
11747 | 17334 | an attribute list, but the matching closing (right) parenthesis |
11748 | 17335 | character was not found. You may need to add (or remove) a backslash |
11749 | 17336 | character to get your parentheses to balance. See L<attributes>. |
11750 | 17337 | |
11751 | 17338 | =end original |
11752 | 17339 | |
11753 | 17340 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
11754 | 17341 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
11755 | 17342 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
11756 | 17343 | 必要があるでしょう。 |
11757 | 17344 | L<attributes> を参照してください。 |
11758 | 17345 | |
11759 | 17346 | =item Unterminated compressed integer |
11760 | 17347 | |
11761 | 17348 | =begin original |
11762 | 17349 | |
11763 | 17350 | (F) An argument to unpack("w",...) was incompatible with the BER |
11764 | 17351 | compressed integer format and could not be converted to an integer. |
11765 | 17352 | See L<perlfunc/pack>. |
11766 | 17353 | |
11767 | 17354 | =end original |
11768 | 17355 | |
11769 | 17356 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
11770 | 17357 | 整数に変換できませんでした。 |
11771 | 17358 | L<perlfunc/pack> を参照してください。 |
11772 | 17359 | |
11773 | =item Unterminated | |
17360 | =item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/ | |
11774 | 17361 | |
11775 | 17362 | =begin original |
11776 | 17363 | |
11777 | (F) You | |
17364 | (F) You used a pattern of the form C<(*...)> but did not terminate | |
11778 | ||
17365 | the pattern with a C<)>. Fix the pattern and retry. | |
11779 | 17366 | |
11780 | 17367 | =end original |
11781 | 17368 | |
11782 | (F) | |
17369 | (F) C<(*...)> 形式のパターンを使いましたが、パターンが | |
17370 | C<)> で終端されていません。 | |
11783 | 17371 | パターンを修正して再挑戦してください。 |
11784 | 17372 | |
17373 | =item Unterminated delimiter for here document | |
17374 | ||
17375 | =begin original | |
17376 | ||
17377 | (F) This message occurs when a here document label has an initial | |
17378 | quotation mark but the final quotation mark is missing. Perhaps | |
17379 | you wrote: | |
17380 | ||
17381 | =end original | |
17382 | ||
17383 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
17384 | 末尾のクォートがありません。 | |
17385 | おそらく以下のように書いたのでしょう: | |
17386 | ||
17387 | <<"foo | |
17388 | ||
17389 | =begin original | |
17390 | ||
17391 | instead of: | |
17392 | ||
17393 | =end original | |
17394 | ||
17395 | 次のように書いてください: | |
17396 | ||
17397 | <<"foo" | |
17398 | ||
17399 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ | |
17400 | ||
17401 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ | |
17402 | ||
17403 | =begin original | |
17404 | ||
17405 | (F) In a regular expression, you had a C<\g> that wasn't followed by a | |
17406 | proper group reference. In the case of C<\g{>, the closing brace is | |
17407 | missing; otherwise the C<\g> must be followed by an integer. Fix the | |
17408 | pattern and retry. | |
17409 | ||
17410 | =end original | |
17411 | ||
17412 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 | |
17413 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が | |
17414 | 引き続かなければ鳴りません。 | |
17415 | パターンを修正して再挑戦してください。 | |
17416 | ||
11785 | 17417 | =item Unterminated <> operator |
11786 | 17418 | |
11787 | 17419 | =begin original |
11788 | 17420 | |
11789 | 17421 | (F) The lexer saw a left angle bracket in a place where it was expecting |
11790 | 17422 | a term, so it's looking for the corresponding right angle bracket, and |
11791 | 17423 | not finding it. Chances are you left some needed parentheses out |
11792 | 17424 | earlier in the line, and you really meant a "less than". |
11793 | 17425 | |
11794 | 17426 | =end original |
11795 | 17427 | |
11796 | 17428 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
11797 | 17429 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
11798 | 17430 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
11799 | 17431 | 表したかった場合が考えられます。 |
11800 | 17432 | |
11801 | =item Unterminated verb pattern argument in regex; marked by <-- HERE in | |
17433 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in | |
17434 | m/%s/ | |
11802 | 17435 | |
11803 | 17436 | =begin original |
11804 | 17437 | |
11805 | 17438 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate |
11806 | the pattern with a C<)>. Fix the pattern and retry. | |
17439 | the pattern with a C<)>. Fix the pattern and retry. | |
11807 | 17440 | |
11808 | 17441 | =end original |
11809 | 17442 | |
11810 | 17443 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で |
11811 | 17444 | 終わっていません。 |
11812 | 17445 | パターンを修正して再挑戦してください。 |
11813 | 17446 | |
11814 | =item Unterminated verb pattern in regex; marked by <-- HERE in m/%s/ | |
17447 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ | |
11815 | 17448 | |
11816 | 17449 | =begin original |
11817 | 17450 | |
11818 | 17451 | (F) You used a pattern of the form C<(*VERB)> but did not terminate |
11819 | the pattern with a C<)>. Fix the pattern and retry. | |
17452 | the pattern with a C<)>. Fix the pattern and retry. | |
11820 | 17453 | |
11821 | 17454 | =end original |
11822 | 17455 | |
11823 | 17456 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で |
11824 | 17457 | 終わっていません。 |
11825 | 17458 | パターンを修正して再挑戦してください。 |
11826 | 17459 | |
11827 | 17460 | =item untie attempted while %d inner references still exist |
11828 | 17461 | |
11829 | 17462 | =begin original |
11830 | 17463 | |
11831 | 17464 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
11832 | 17465 | still valid when C<untie> was called. |
11833 | 17466 | |
11834 | 17467 | =end original |
11835 | 17468 | |
11836 | 17469 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
11837 | 17470 | C<untie> が呼び出されたときにまだ有効でした。 |
11838 | 17471 | |
11839 | 17472 | =item Usage: POSIX::%s(%s) |
11840 | 17473 | |
11841 | 17474 | =begin original |
11842 | 17475 | |
11843 | 17476 | (F) You called a POSIX function with incorrect arguments. |
11844 | 17477 | See L<POSIX/FUNCTIONS> for more information. |
11845 | 17478 | |
11846 | 17479 | =end original |
11847 | 17480 | |
11848 | 17481 | (F) POSIX 関数を間違った引数で呼び出しました。 |
11849 | 17482 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 |
11850 | 17483 | |
11851 | 17484 | =item Usage: Win32::%s(%s) |
11852 | 17485 | |
11853 | 17486 | =begin original |
11854 | 17487 | |
11855 | 17488 | (F) You called a Win32 function with incorrect arguments. |
11856 | 17489 | See L<Win32> for more information. |
11857 | 17490 | |
11858 | 17491 | =end original |
11859 | 17492 | |
11860 | 17493 | (F) Win32 関数を間違った引数で呼び出しました。 |
11861 | 17494 | 更なる情報については L<Win32> を参照してください。 |
11862 | 17495 | |
11863 | =item | |
17496 | =item $[ used in %s (did you mean $] ?) | |
11864 | 17497 | |
11865 | 17498 | =begin original |
11866 | 17499 | |
17500 | (W syntax) You used C<$[> in a comparison, such as: | |
17501 | ||
17502 | =end original | |
17503 | ||
17504 | (W syntax) 以下のように、比較で C<$[> を使いました: | |
17505 | ||
17506 | if ($[ > 5.006) { | |
17507 | ... | |
17508 | } | |
17509 | ||
17510 | =begin original | |
17511 | ||
17512 | You probably meant to use C<$]> instead. C<$[> is the base for indexing | |
17513 | arrays. C<$]> is the Perl version number in decimal. | |
17514 | ||
17515 | =end original | |
17516 | ||
17517 | おそらく C<$]> を使いたかったのでしょう。 | |
17518 | C<$[> は配列の基数です。 | |
17519 | C<$]> は Perl のバージョン番号の 10 進数です。 | |
17520 | ||
17521 | =item Use "%s" instead of "%s" | |
17522 | ||
17523 | =begin original | |
17524 | ||
17525 | (F) The second listed construct is no longer legal. Use the first one | |
17526 | instead. | |
17527 | ||
17528 | =end original | |
17529 | ||
17530 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 | |
17531 | 代わりに 1 番目のものを使ってください。 | |
17532 | ||
17533 | =item Useless assignment to a temporary | |
17534 | ||
17535 | =begin original | |
17536 | ||
17537 | (W misc) You assigned to an lvalue subroutine, but what | |
17538 | the subroutine returned was a temporary scalar about to | |
17539 | be discarded, so the assignment had no effect. | |
17540 | ||
17541 | =end original | |
17542 | ||
17543 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは | |
17544 | 捨てられようとする一時的なスカラなので、代入は向こうです。 | |
17545 | ||
17546 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
17547 | S<<-- HERE> in m/%s/ | |
17548 | ||
17549 | =begin original | |
17550 | ||
11867 | 17551 | (W regexp) You have used an internal modifier such as (?-o) that has no |
11868 | 17552 | meaning unless removed from the entire regexp: |
11869 | 17553 | |
11870 | 17554 | =end original |
11871 | 17555 | |
11872 | 17556 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ |
11873 | 17557 | 意味がありません: |
11874 | 17558 | |
11875 | 17559 | if ($string =~ /(?-o)$pattern/o) { ... } |
11876 | 17560 | |
11877 | 17561 | =begin original |
11878 | 17562 | |
11879 | 17563 | must be written as |
11880 | 17564 | |
11881 | 17565 | =end original |
11882 | 17566 | |
11883 | 17567 | これは以下のように書かなければなりません: |
11884 | 17568 | |
11885 | 17569 | if ($string =~ /$pattern/) { ... } |
11886 | 17570 | |
11887 | 17571 | =begin original |
11888 | 17572 | |
11889 | The <-- HERE shows in the regular expression | |
17573 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
11890 | ||
17574 | discovered. See L<perlre>. | |
11891 | 17575 | |
11892 | 17576 | =end original |
11893 | 17577 | |
11894 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
17578 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11895 | 17579 | L<perlre> を参照してください。 |
11896 | 17580 | |
11897 | 17581 | =item Useless localization of %s |
11898 | 17582 | |
11899 | 17583 | =begin original |
11900 | 17584 | |
11901 | (W syntax) The localization of lvalues such as C<local($x=10)> is | |
17585 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, | |
11902 | ||
17586 | but in fact the local() currently has no effect. This may change at | |
11903 | 17587 | some point in the future, but in the meantime such code is discouraged. |
11904 | 17588 | |
11905 | 17589 | =end original |
11906 | 17590 | |
11907 | 17591 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 |
11908 | 17592 | 実際のところ local() は現在のところ何の効果もありません。 |
11909 | 17593 | これは将来変更されるかもしれませんが、今のところはこのようなコードは |
11910 | 17594 | 勧められません。 |
11911 | 17595 | |
11912 | =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in | |
17596 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in | |
17597 | m/%s/ | |
11913 | 17598 | |
11914 | 17599 | =begin original |
11915 | 17600 | |
11916 | 17601 | (W regexp) You have used an internal modifier such as (?o) that has no |
11917 | 17602 | meaning unless applied to the entire regexp: |
11918 | 17603 | |
11919 | 17604 | =end original |
11920 | 17605 | |
11921 | 17606 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ |
11922 | 17607 | 意味がありません: |
11923 | 17608 | |
11924 | 17609 | if ($string =~ /(?o)$pattern/) { ... } |
11925 | 17610 | |
11926 | 17611 | =begin original |
11927 | 17612 | |
11928 | 17613 | must be written as |
11929 | 17614 | |
11930 | 17615 | =end original |
11931 | 17616 | |
11932 | 17617 | これは以下のように書かなければなりません: |
11933 | 17618 | |
11934 | 17619 | if ($string =~ /$pattern/o) { ... } |
11935 | 17620 | |
11936 | 17621 | =begin original |
11937 | 17622 | |
11938 | The <-- HERE shows in the regular expression | |
17623 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
11939 | ||
17624 | discovered. See L<perlre>. | |
11940 | 17625 | |
11941 | 17626 | =end original |
11942 | 17627 | |
11943 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
17628 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11944 | 17629 | L<perlre> を参照してください。 |
11945 | 17630 | |
17631 | =item Useless use of attribute "const" | |
17632 | ||
17633 | =begin original | |
17634 | ||
17635 | (W misc) The C<const> attribute has no effect except | |
17636 | on anonymous closure prototypes. You applied it to | |
17637 | a subroutine via L<attributes.pm|attributes>. This is only useful | |
17638 | inside an attribute handler for an anonymous subroutine. | |
17639 | ||
17640 | =end original | |
17641 | ||
17642 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
17643 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 | |
17644 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 | |
17645 | ||
11946 | 17646 | =item Useless use of /d modifier in transliteration operator |
11947 | 17647 | |
11948 | 17648 | =begin original |
11949 | 17649 | |
11950 | 17650 | (W misc) You have used the /d modifier where the searchlist has the |
11951 | same length as the replacelist. See L<perlop> for more information | |
17651 | same length as the replacelist. See L<perlop> for more information | |
11952 | 17652 | about the /d modifier. |
11953 | 17653 | |
11954 | 17654 | =end original |
11955 | 17655 | |
11956 | 17656 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 |
11957 | 17657 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 |
11958 | 17658 | |
17659 | =item Useless use of \E | |
17660 | ||
17661 | =begin original | |
17662 | ||
17663 | (W misc) You have a \E in a double-quotish string without a C<\U>, | |
17664 | C<\L> or C<\Q> preceding it. | |
17665 | ||
17666 | =end original | |
17667 | ||
17668 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく | |
17669 | \E を書きました。 | |
17670 | ||
17671 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ | |
17672 | ||
17673 | =begin original | |
17674 | ||
17675 | (W regexp) You specified something like these: | |
17676 | ||
17677 | =end original | |
17678 | ||
17679 | (W regexp) 次のようなものを指定しました: | |
17680 | ||
17681 | qr/a{3}?/ | |
17682 | qr/b{1,1}+/ | |
17683 | ||
17684 | =begin original | |
17685 | ||
17686 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to | |
17687 | match more or fewer when there is a choice, and by specifying to match | |
17688 | exactly a given number, there is no room left for a choice. | |
17689 | ||
17690 | =end original | |
17691 | ||
17692 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に | |
17693 | より多くまたは少なく変更します; | |
17694 | そして指定された数に正確にマッチングすることを指定されているので、 | |
17695 | 選択の余地はありません。 | |
17696 | ||
17697 | =item Useless use of %s in scalar context | |
17698 | ||
17699 | =begin original | |
17700 | ||
17701 | (W scalar) You did something whose only interesting return value is a | |
17702 | list without a side effect in scalar context, which does not accept a | |
17703 | list. | |
17704 | ||
17705 | =end original | |
17706 | ||
17707 | (W scalar) スカラコンテキストでの副作用のない、興味深い返り値が | |
17708 | リストだけである何かを、リストを受け入れない状態で行いました。 | |
17709 | ||
17710 | =begin original | |
17711 | ||
17712 | For example | |
17713 | ||
17714 | =end original | |
17715 | ||
17716 | 例えば: | |
17717 | ||
17718 | my $x = sort @y; | |
17719 | ||
17720 | =begin original | |
17721 | ||
17722 | This is not very useful, and perl currently optimizes this away. | |
17723 | ||
17724 | =end original | |
17725 | ||
17726 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
17727 | ||
11959 | 17728 | =item Useless use of %s in void context |
11960 | 17729 | |
11961 | 17730 | =begin original |
11962 | 17731 | |
11963 | 17732 | (W void) You did something without a side effect in a context that does |
11964 | 17733 | nothing with the return value, such as a statement that doesn't return a |
11965 | 17734 | value from a block, or the left side of a scalar comma operator. Very |
11966 | 17735 | often this points not to stupidity on your part, but a failure of Perl |
11967 | 17736 | to parse your program the way you thought it would. For example, you'd |
11968 | 17737 | get this if you mixed up your C precedence with Python precedence and |
11969 | 17738 | said |
11970 | 17739 | |
11971 | 17740 | =end original |
11972 | 17741 | |
11973 | 17742 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
11974 | 17743 | 返却値の無い文脈で、副作用のないことを行ないました。 |
11975 | 17744 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
11976 | 17745 | 意向を汲み取った解釈ができないことで起こります。 |
11977 | 17746 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
11978 | 17747 | 以下のようにした場合です: |
11979 | 17748 | |
11980 | 17749 | $one, $two = 1, 2; |
11981 | 17750 | |
11982 | 17751 | =begin original |
11983 | 17752 | |
11984 | 17753 | when you meant to say |
11985 | 17754 | |
11986 | 17755 | =end original |
11987 | 17756 | |
11988 | 17757 | 以下のようにするべきです。 |
11989 | 17758 | |
11990 | 17759 | ($one, $two) = (1, 2); |
11991 | 17760 | |
11992 | 17761 | =begin original |
11993 | 17762 | |
11994 | 17763 | Another common error is to use ordinary parentheses to construct a list |
11995 | 17764 | reference when you should be using square or curly brackets, for |
11996 | 17765 | example, if you say |
11997 | 17766 | |
11998 | 17767 | =end original |
11999 | 17768 | |
12000 | 17769 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを |
12001 | 17770 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた |
12002 | 17771 | 場合です: |
12003 | 17772 | |
12004 | 17773 | $array = (1,2); |
12005 | 17774 | |
12006 | 17775 | =begin original |
12007 | 17776 | |
12008 | 17777 | when you should have said |
12009 | 17778 | |
12010 | 17779 | =end original |
12011 | 17780 | |
12012 | 17781 | 以下のように書くべきです: |
12013 | 17782 | |
12014 | 17783 | $array = [1,2]; |
12015 | 17784 | |
12016 | 17785 | =begin original |
12017 | 17786 | |
12018 | 17787 | The square brackets explicitly turn a list value into a scalar value, |
12019 | 17788 | while parentheses do not. So when a parenthesized list is evaluated in |
12020 | 17789 | a scalar context, the comma is treated like C's comma operator, which |
12021 | 17790 | throws away the left argument, which is not what you want. See |
12022 | 17791 | L<perlref> for more on this. |
12023 | 17792 | |
12024 | 17793 | =end original |
12025 | 17794 | |
12026 | 17795 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
12027 | 17796 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
12028 | 17797 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
12029 | 17798 | これは望んでいることではないでしょう。 |
12030 | 17799 | これに関するさらなる情報については L<perlref> を参照してください。 |
12031 | 17800 | |
12032 | 17801 | =begin original |
12033 | 17802 | |
12034 | 17803 | This warning will not be issued for numerical constants equal to 0 or 1 |
12035 | 17804 | since they are often used in statements like |
12036 | 17805 | |
12037 | 17806 | =end original |
12038 | 17807 | |
12039 | 17808 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 |
12040 | 17809 | しばしば以下のような文で使われるからです: |
12041 | 17810 | |
12042 | 17811 | 1 while sub_with_side_effects(); |
12043 | 17812 | |
12044 | 17813 | =begin original |
12045 | 17814 | |
12046 | 17815 | String constants that would normally evaluate to 0 or 1 are warned |
12047 | 17816 | about. |
12048 | 17817 | |
12049 | 17818 | =end original |
12050 | 17819 | |
12051 | 17820 | 通常 0 か 1 に評価される文字列定数は警告されます。 |
12052 | 17821 | |
12053 | =item Useless use of | |
17822 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ | |
12054 | 17823 | |
12055 | 17824 | =begin original |
12056 | 17825 | |
12057 | (W) | |
17826 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do | |
17827 | so is futile. | |
12058 | 17828 | |
12059 | 17829 | =end original |
12060 | 17830 | |
12061 | (W | |
17831 | (W regexp) | |
17832 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
17833 | そうしようとしても無効です。 | |
12062 | 17834 | |
12063 | =item Useless use of | |
17835 | =item Useless use of "re" pragma | |
12064 | 17836 | |
12065 | 17837 | =begin original |
12066 | 17838 | |
12067 | (W | |
17839 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
12068 | 17840 | |
12069 | 17841 | =end original |
12070 | 17842 | |
12071 | (W | |
17843 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 | |
12072 | 17844 | |
12073 | my $x = sort @y; | |
12074 | ||
12075 | =begin original | |
12076 | ||
12077 | This is not very useful, and perl currently optimizes this away. | |
12078 | ||
12079 | =end original | |
12080 | ||
12081 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
12082 | ||
12083 | 17845 | =item Useless use of %s with no values |
12084 | 17846 | |
12085 | 17847 | =begin original |
12086 | 17848 | |
12087 | 17849 | (W syntax) You used the push() or unshift() function with no arguments |
12088 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
17850 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
12089 | usually have any effect on the array, so is completely useless. It's | |
17851 | usually have any effect on the array, so is completely useless. It's | |
12090 | 17852 | possible in principle that push(@tied_array) could have some effect |
12091 | if the array is tied to a class which implements a PUSH method. If so, | |
17853 | if the array is tied to a class which implements a PUSH method. If so, | |
12092 | 17854 | you can write it as C<push(@tied_array,())> to avoid this warning. |
12093 | 17855 | |
12094 | 17856 | =end original |
12095 | 17857 | |
12096 | 17858 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や |
12097 | 17859 | unshift() 関数を、配列以外の引数なしで使いました。 |
12098 | 17860 | これは普通は配列に何の影響も与えないので、完全に無意味です。 |
12099 | 17861 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては |
12100 | 17862 | push(@tied_array) が何らかの効果を持つ可能性はあります。 |
12101 | 17863 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を |
12102 | 17864 | 回避できます。 |
12103 | 17865 | |
12104 | 17866 | =item "use" not allowed in expression |
12105 | 17867 | |
12106 | 17868 | =begin original |
12107 | 17869 | |
12108 | 17870 | (F) The "use" keyword is recognized and executed at compile time, and |
12109 | 17871 | returns no useful value. See L<perlmod>. |
12110 | 17872 | |
12111 | 17873 | =end original |
12112 | 17874 | |
12113 | 17875 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
12114 | 17876 | 意味のある値を返しません。 |
12115 | 17877 | L<perlmod> を参照してください。 |
12116 | 17878 | |
12117 | =item Use of | |
17879 | =item Use of @_ in %s with signatured subroutine is experimental | |
12118 | 17880 | |
12119 | 17881 | =begin original |
12120 | 17882 | |
12121 | ( | |
17883 | (S experimental::args_array_with_signatures) An expression involving the | |
12122 | ||
17884 | C<@_> arguments array was found in a subroutine that uses a signature. | |
17885 | This is experimental because the interaction between the arguments | |
17886 | array and parameter handling via signatures is not guaranteed to remain | |
17887 | stable in any future version of Perl, and such code should be avoided. | |
12123 | 17888 | |
12124 | 17889 | =end original |
12125 | 17890 | |
12126 | ( | |
17891 | (S experimental::args_array_with_signatures) | |
12127 | ||
17892 | C<@_> 引数配列が関係する式が | |
17893 | シグネチャを使ったサブルーチンの中に見つかりました。 | |
17894 | 引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、 | |
17895 | 将来のバージョンの Perl でも安定なままであることが保証されておらず、 | |
17896 | そのようなコードは避けるべきなため、これは実験的です。 | |
12128 | 17897 | |
12129 | =item Use of bare << to mean <<"" is | |
17898 | =item Use of bare << to mean <<"" is forbidden | |
12130 | 17899 | |
12131 | 17900 | =begin original |
12132 | 17901 | |
12133 | ( | |
17902 | (F) You are now required to use the explicitly quoted form if you wish | |
12134 | ||
17903 | to use an empty line as the terminator of the here-document. | |
12135 | 17904 | |
12136 | 17905 | =end original |
12137 | 17906 | |
12138 | ( | |
17907 | (F) ヒアドキュメントの終端子として空行を使いたいときには、明示的に | |
12139 | ||
17908 | クォートされた形を使うことが必要になりました。 | |
12140 | 17909 | |
12141 | = | |
17910 | =begin original | |
12142 | 17911 | |
17912 | Use of a bare terminator was deprecated in Perl 5.000, and is a fatal | |
17913 | error as of Perl 5.28. | |
17914 | ||
17915 | =end original | |
17916 | ||
17917 | 裸の終端子は Perl 5.000 で廃止予定になっていて、 | |
17918 | Perl 5.28 から致命的エラーです。 | |
17919 | ||
17920 | =item Use of /c modifier is meaningless in s/// | |
17921 | ||
12143 | 17922 | =begin original |
12144 | 17923 | |
12145 | ( | |
17924 | (W regexp) You used the /c modifier in a substitution. The /c | |
12146 | ||
17925 | modifier is not presently meaningful in substitutions. | |
12147 | 17926 | |
12148 | 17927 | =end original |
12149 | 17928 | |
12150 | ( | |
17929 | (W regexp) 置換で /c 修飾子を使いました。 | |
12151 | ||
17930 | /c は置換では現在のところ無意味です。 | |
12152 | 17931 | |
12153 | =item Use of c | |
17932 | =item Use of /c modifier is meaningless without /g | |
12154 | 17933 | |
12155 | 17934 | =begin original |
12156 | 17935 | |
12157 | ( | |
17936 | (W regexp) You used the /c modifier with a regex operand, but didn't | |
12158 | ||
17937 | use the /g modifier. Currently, /c is meaningful only when /g is | |
12159 | ||
17938 | used. (This may change in the future.) | |
12160 | will simply fail. | |
12161 | 17939 | |
12162 | 17940 | =end original |
12163 | 17941 | |
12164 | ( | |
17942 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は | |
12165 | ||
17943 | 使いませんでした。 | |
12166 | c | |
17944 | 現在のところ、/c は /g が使われたときにのみ有効です。 | |
12167 | 将来 | |
17945 | (これは将来変更されるかもしれません。) | |
12168 | 17946 | |
17947 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
17948 | ||
17949 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
17950 | in regex; marked by <-- HERE in m/%s/ | |
17951 | ||
12169 | 17952 | =begin original |
12170 | 17953 | |
12171 | ||
17954 | (F) You used a code point that is not allowed, because it is too large. | |
12172 | ||
17955 | Unicode only allows code points up to 0x10FFFF, but Perl allows much | |
17956 | larger ones. Earlier versions of Perl allowed code points above IV_MAX | |
17957 | (0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms), | |
17958 | however, this could possibly break the perl interpreter in some constructs, | |
17959 | including causing it to hang in a few cases. | |
12173 | 17960 | |
12174 | 17961 | =end original |
12175 | 17962 | |
12176 | ||
17963 | (F) 大きすぎるので許されない符号位置を使いました。 | |
12177 | ||
17964 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 | |
12178 | ||
17965 | Perl は遙かに大きいものを許します。 | |
17966 | 以前のバージョンの Perl は | |
17967 | IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは | |
17968 | 0x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、 | |
17969 | これは一部の構文で perl インタプリタを壊すことがあり、 | |
17970 | 場合によってはハングアップすることがありました。 | |
12179 | 17971 | |
12180 | = | |
17972 | =begin original | |
12181 | 17973 | |
17974 | If your code is to run on various platforms, keep in mind that the upper | |
17975 | limit depends on the platform. It is much larger on 64-bit word sizes | |
17976 | than 32-bit ones. | |
17977 | ||
17978 | =end original | |
17979 | ||
17980 | コードが様々なプラットフォームで実行するためのものなら、 | |
17981 | 上限がプラットフォームに依存していることを心に留めておいてください。 | |
17982 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 | |
17983 | ||
12182 | 17984 | =begin original |
12183 | 17985 | |
12184 | ||
17986 | The use of out of range code points was deprecated in Perl 5.24, and | |
12185 | m | |
17987 | became a fatal error in Perl 5.28. | |
12186 | 17988 | |
12187 | 17989 | =end original |
12188 | 17990 | |
12189 | ||
17991 | 範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、 | |
12190 | ||
17992 | Perl 5.28 で致命的エラーになりました。 | |
12191 | 17993 | |
12192 | =item Use of | |
17994 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
12193 | 17995 | |
12194 | 17996 | =begin original |
12195 | 17997 | |
12196 | ( | |
17998 | (S internal) The behavior of C<each()> after insertion is undefined; | |
12197 | ||
17999 | it may skip items, or visit items more than once. Consider using | |
12198 | ||
18000 | C<keys()> instead of C<each()>. | |
12199 | 18001 | |
12200 | 18002 | =end original |
12201 | 18003 | |
12202 | ( | |
18004 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを | |
12203 | ||
18005 | 読み飛ばしたり、複数回読んだりします。 | |
12204 | ||
18006 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
12205 | (これは将来変更されるかもしれません。) | |
12206 | 18007 | |
12207 | 18008 | =item Use of := for an empty attribute list is not allowed |
12208 | 18009 | |
12209 | 18010 | =begin original |
12210 | 18011 | |
12211 | 18012 | (F) The construction C<my $x := 42> used to parse as equivalent to |
12212 | 18013 | C<my $x : = 42> (applying an empty attribute list to C<$x>). |
12213 | 18014 | This construct was deprecated in 5.12.0, and has now been made a syntax |
12214 | 18015 | error, so C<:=> can be reclaimed as a new operator in the future. |
12215 | 18016 | |
12216 | 18017 | =end original |
12217 | 18018 | |
12218 | 18019 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました |
12219 | 18020 | (C<$x> に空の属性リストを適用する)。 |
12220 | 18021 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 |
12221 | 18022 | C<:=> は将来新しい演算子として再利用できます。 |
12222 | 18023 | |
12223 | 18024 | =begin original |
12224 | 18025 | |
12225 | 18026 | If you need an empty attribute list, for example in a code generator, add |
12226 | 18027 | a space before the C<=>. |
12227 | 18028 | |
12228 | 18029 | =end original |
12229 | 18030 | |
12230 | 18031 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に |
12231 | 18032 | スペースを加えてください。 |
12232 | 18033 | |
18034 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
18035 | ||
18036 | =begin original | |
18037 | ||
18038 | (W locale) You are matching a regular expression using locale rules, | |
18039 | and the specified construct was encountered. This construct is only | |
18040 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
18041 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
18042 | the results are likely to be wrong. | |
18043 | ||
18044 | =end original | |
18045 | ||
18046 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
18047 | 指定した構文が出現しました。 | |
18048 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
18049 | これは意味がありません。 | |
18050 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
18051 | 結果はおそらく間違ったものです。 | |
18052 | ||
12233 | 18053 | =item Use of freed value in iteration |
12234 | 18054 | |
12235 | 18055 | =begin original |
12236 | 18056 | |
12237 | 18057 | (F) Perhaps you modified the iterated array within the loop? |
12238 | 18058 | This error is typically caused by code like the following: |
12239 | 18059 | |
12240 | 18060 | =end original |
12241 | 18061 | |
12242 | 18062 | (F) おそらくループの中で反復される配列を変更したのでは? |
12243 | 18063 | このエラーは典型的には以下のようなコードで発生します: |
12244 | 18064 | |
12245 | 18065 | @a = (3,4); |
12246 | 18066 | @a = () for (1,2,@a); |
12247 | 18067 | |
12248 | 18068 | =begin original |
12249 | 18069 | |
12250 | 18070 | You are not supposed to modify arrays while they are being iterated over. |
12251 | 18071 | For speed and efficiency reasons, Perl internally does not do full |
12252 | 18072 | reference-counting of iterated items, hence deleting such an item in the |
12253 | 18073 | middle of an iteration causes Perl to see a freed value. |
12254 | 18074 | |
12255 | 18075 | =end original |
12256 | 18076 | |
12257 | 18077 | 反復中の配列は変更してはいけないことになっています。 |
12258 | 18078 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを |
12259 | 18079 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は |
12260 | 18080 | 解放された値を見ることになります。 |
12261 | 18081 | |
12262 | =item Use of *glob{FILEHANDLE} is deprecated | |
12263 | ||
12264 | =begin original | |
12265 | ||
12266 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form | |
12267 | to access the filehandle slot within a typeglob. | |
12268 | ||
12269 | =end original | |
12270 | ||
12271 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 | |
12272 | より短い *glob{IO} の形を使うことを推奨されています。 | |
12273 | ||
12274 | 18082 | =item Use of /g modifier is meaningless in split |
12275 | 18083 | |
12276 | 18084 | =begin original |
12277 | 18085 | |
12278 | 18086 | (W regexp) You used the /g modifier on the pattern for a C<split> |
12279 | 18087 | operator. Since C<split> always tries to match the pattern |
12280 | 18088 | repeatedly, the C</g> has no effect. |
12281 | 18089 | |
12282 | 18090 | =end original |
12283 | 18091 | |
12284 | 18092 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 |
12285 | 18093 | C<split> は常にパターンを繰り返しマッチングしようとするので、 |
12286 | 18094 | C</g> は効果がありません。 |
12287 | 18095 | |
12288 | 18096 | =item Use of "goto" to jump into a construct is deprecated |
12289 | 18097 | |
12290 | 18098 | =begin original |
12291 | 18099 | |
12292 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
18100 | (D deprecated::goto_construct) Using C<goto> to jump from an outer scope into an inner | |
12293 | scope is deprecated and | |
18101 | scope is deprecated and will be removed completely in Perl 5.42. | |
12294 | 18102 | |
12295 | 18103 | =end original |
12296 | 18104 | |
12297 | (D deprecated) 外側のスコープから内側のスコープに | |
18105 | (D deprecated::goto_construct) 外側のスコープから内側のスコープに | |
12298 | 使うことは廃止予定であり、 | |
18106 | 飛び込むために C<goto> を使うことは廃止予定であり、 | |
18107 | Perl 5.42 で完全に削除される予定です。 | |
12299 | 18108 | |
12300 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated | |
12301 | ||
12302 | 18109 | =begin original |
12303 | 18110 | |
12304 | ||
18111 | This was deprecated in Perl 5.12. | |
12305 | subroutines are looked up as methods (using the C<@ISA> hierarchy) | |
12306 | even when the subroutines to be autoloaded were called as plain | |
12307 | functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or | |
12308 | C<< $obj->bar() >>). | |
12309 | 18112 | |
12310 | 18113 | =end original |
12311 | 18114 | |
12312 | ||
18115 | これは Perl 5.12 で廃止予定になりました。 | |
12313 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
12314 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
12315 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
12316 | 18116 | |
18117 | =item Use of '%s' in \p{} or \P{} is deprecated because: %s | |
18118 | ||
12317 | 18119 | =begin original |
12318 | 18120 | |
12319 | ||
18121 | (D deprecated::unicode_property_name) Certain properties are deprecated | |
12320 | ||
18122 | by Unicode, and may eventually be removed from the Standard, at which | |
12321 | ||
18123 | time Perl will follow along. In the meantime, this message is raised to | |
12322 | ||
18124 | notify you. | |
12323 | C<AUTOLOAD>s. | |
12324 | 18125 | |
12325 | 18126 | =end original |
12326 | 18127 | |
12327 | ||
18128 | (D deprecated::unicode_property_name) 一部の特性は | |
12328 | ||
18129 | Unicode によって廃止予定とされており、 | |
12329 | ||
18130 | 最終的に標準から削除されるかもしれません; その時点で Perl も追随します。 | |
12330 | ||
18131 | 今のところは、通知のためにこのメッセージが発生します。 | |
12331 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
12332 | 発生させます。 | |
12333 | 18132 | |
18133 | =item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed | |
18134 | ||
12334 | 18135 | =begin original |
12335 | 18136 | |
12336 | ||
18137 | (F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as | |
12337 | ||
18138 | methods (using the C<@ISA> hierarchy), even when the subroutines to be | |
12338 | to | |
18139 | autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as | |
12339 | ||
18140 | methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>). | |
12340 | startup. | |
12341 | 18141 | |
12342 | 18142 | =end original |
12343 | 18143 | |
12344 | ||
18144 | (F) 偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
12345 | ||
18145 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
12346 | ||
18146 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
12347 | ||
18147 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索していました。 | |
12348 | 18148 | |
12349 | 18149 | =begin original |
12350 | 18150 | |
12351 | ||
18151 | This was deprecated in Perl 5.004, and was made fatal in Perl 5.28. | |
12352 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to | |
12353 | C<use AutoLoader 'AUTOLOAD';>. | |
12354 | 18152 | |
12355 | 18153 | =end original |
12356 | 18154 | |
12357 | ||
18155 | この機能は Perl 5.004 で廃止予定になり、Perl 5.28 で致命的エラーになりました。 | |
12358 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を | |
12359 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 | |
12360 | 18156 | |
12361 | 18157 | =item Use of %s in printf format not supported |
12362 | 18158 | |
12363 | 18159 | =begin original |
12364 | 18160 | |
12365 | 18161 | (F) You attempted to use a feature of printf that is accessible from |
12366 | 18162 | only C. This usually means there's a better way to do it in Perl. |
12367 | 18163 | |
12368 | 18164 | =end original |
12369 | 18165 | |
12370 | 18166 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
12371 | 18167 | これは普通 Perl で行うより良い方法があります。 |
12372 | 18168 | |
12373 | =item Use of %s is deprecated | |
18169 | =item Use of '%s' is deprecated as a string delimiter | |
12374 | 18170 | |
12375 | 18171 | =begin original |
12376 | 18172 | |
12377 | (D deprecated | |
18173 | (D deprecated::delimiter_will_be_paired) You used the given character as | |
12378 | ||
18174 | a starting delimiter of a string outside the scope of | |
12379 | ||
18175 | S<C<use feature 'extra_paired_delimiters'>>. This character is the | |
18176 | mirror image of another Unicode character; within the scope of that | |
18177 | feature, the two are considered a pair for delimitting strings. It is | |
18178 | planned to make that feature the default, at which point this usage | |
18179 | would become illegal; hence this warning. | |
12380 | 18180 | |
12381 | 18181 | =end original |
12382 | 18182 | |
12383 | (D deprecated) | |
18183 | (D deprecated::delimiter_will_be_paired) | |
12384 | ||
18184 | S<C<use feature 'extra_paired_delimiters'>> のスコープの外側で、 | |
18185 | 指定された文字を文字列の区切りの開始として使いました。 | |
18186 | この文字はもう一つの Unicode 文字の鏡像です; | |
18187 | この機能のスコープ内では、この二つは文字列を区切るための組と | |
18188 | 考えられます。 | |
18189 | この機能はデフォルトにすることが計画されていて、その時点で | |
18190 | この使用法は不正になります; 従ってこれを警告しています。 | |
12385 | 18191 | |
12386 | =item Use of -l on filehandle %s | |
12387 | ||
12388 | 18192 | =begin original |
12389 | 18193 | |
12390 | ||
18194 | For now, you may live with this warning, or turn it off, but this code | |
12391 | i | |
18195 | will no longer compile in a future version of Perl. Or you can turn on | |
12392 | ||
18196 | S<C<use feature 'extra_paired_delimiters'>> and use the character that | |
18197 | is the mirror image of this one for the closing string delimiter. | |
12393 | 18198 | |
12394 | 18199 | =end original |
12395 | 18200 | |
12396 | ||
18201 | 今のところ、この警告と共に生活するか、あるいはオフにできますが、 | |
12397 | ||
18202 | このコードは将来のバージョンの Perl でもはやコンパイルできなくなります。 | |
12398 | ||
18203 | あるいは S<C<use feature 'extra_paired_delimiters'>> を有効にして、 | |
12399 | この | |
18204 | この鏡像を閉じ文字列区切り文字としてこの文字を使えます。 | |
12400 | 代わりにファイル名を使ってください。 | |
12401 | 18205 | |
12402 | =item Use of %s | |
18206 | =item Use of '%s' is experimental as a string delimiter | |
12403 | 18207 | |
12404 | 18208 | =begin original |
12405 | 18209 | |
12406 | ( | |
18210 | (S experimental::extra_paired_delimiters) This warning is emitted if | |
12407 | s | |
18211 | you use as a string delimiter one of the non-ASCII mirror image ones | |
12408 | be | |
18212 | enabled by S<C<use feature 'extra_paired_delimiters'>>. Simply suppress | |
12409 | ||
18213 | the warning if you want to use the feature, but know that in doing so | |
18214 | you are taking the risk of using an experimental feature which may | |
18215 | change or be removed in a future Perl version: | |
12410 | 18216 | |
12411 | 18217 | =end original |
12412 | 18218 | |
12413 | ( | |
18219 | (S experimental::extra_paired_delimiters) この警告は、 | |
12414 | ||
18220 | S<C<use feature 'extra_paired_delimiters'>> で有効になる、 | |
12415 | ||
18221 | 非 ASCII 鏡像の一つを文字列の区切り文字として使うと出力されます。 | |
12416 | ||
18222 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
12417 | ||
18223 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
18224 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
18225 | 取っていると言うことを知っておいてください: | |
12418 | 18226 | |
12419 | = | |
18227 | =item Use of %s is not allowed in Unicode property wildcard | |
18228 | subpatterns in regex; marked by S<<-- HERE> in m/%s/ | |
12420 | 18229 | |
12421 | This is a long-standing bug that will be removed in Perl 5.16, as | |
12422 | there is currently no way to tie the scalar itself when it holds | |
12423 | a typeglob, and no way to untie a scalar that has had a typeglob | |
12424 | assigned to it. | |
12425 | ||
12426 | =end original | |
12427 | ||
12428 | これは Perl 5.16 で取り除かれる予定の長年残っているバグで、現在のところ | |
12429 | 型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが | |
12430 | 代入されているスカラを untie する方法がないというものです。 | |
12431 | ||
12432 | =item Use of ?PATTERN? without explicit operator is deprecated | |
12433 | ||
12434 | 18230 | =begin original |
12435 | 18231 | |
12436 | ( | |
18232 | (F) You were using a wildcard subpattern a Unicode property value, and | |
12437 | ||
18233 | the subpattern contained something that is illegal. Not all regular | |
12438 | ||
18234 | expression capabilities are legal in such subpatterns, and this is one. | |
12439 | wi | |
18235 | Rewrite your subppattern to not use the offending construct. | |
12440 | ||
18236 | See L<perlunicode/Wildcards in Property Values>. | |
12441 | still invokes match-once behaviour. | |
12442 | 18237 | |
12443 | 18238 | =end original |
12444 | 18239 | |
12445 | ( | |
18240 | (F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か | |
12446 | ||
18241 | 不正なものが含まれていました。 | |
12447 | ||
18242 | このような部分パターンでは全ての正規表現機能が正当というわけではなく、 | |
12448 | ||
18243 | これはその一つです。 | |
12449 | ||
18244 | 問題となっている構文を使わないように部分パターンを書き換えてください。 | |
12450 | ||
18245 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
12451 | 18246 | |
12452 | =item Use of | |
18247 | =item Use of -l on filehandle%s | |
12453 | 18248 | |
12454 | 18249 | =begin original |
12455 | 18250 | |
12456 | ( | |
18251 | (W io) A filehandle represents an opened file, and when you opened the file | |
12457 | ||
18252 | it already went past any symlink you are presumably trying to look for. | |
12458 | e | |
18253 | The operation returned C<undef>. Use a filename instead. | |
12459 | C<qw(...)> literals were always enclosed in parentheses, and as a result | |
12460 | you could sometimes omit parentheses around them. (You could never do | |
12461 | the C<foreach qw(a b c) {...}> that you might have expected, though.) | |
12462 | The parser no longer lies to itself in this way. Wrap the list literal | |
12463 | in parentheses, like C<foreach $x (qw(a b c)) {...}>. | |
12464 | 18254 | |
12465 | 18255 | =end original |
12466 | 18256 | |
12467 | ( | |
18257 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
12468 | ||
18258 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
12469 | ||
18259 | 既に通り過ぎた後です。 | |
12470 | ||
18260 | この操作は C<undef> を返します。 | |
12471 | ||
18261 | 代わりにファイル名を使ってください。 | |
12472 | (しかし、予想するかも知れませんが C<foreach qw(a b c) {...}> とすることは | |
12473 | できません。) | |
12474 | パーサはもはやこの方法でだまされません。 | |
12475 | C<foreach $x (qw(a b c)) {...}> のようにして、リストリテラルをかっこで | |
12476 | 囲んでください。 | |
12477 | 18262 | |
12478 | 18263 | =item Use of reference "%s" as array index |
12479 | 18264 | |
12480 | 18265 | =begin original |
12481 | 18266 | |
12482 | 18267 | (W misc) You tried to use a reference as an array index; this probably |
12483 | 18268 | isn't what you mean, because references in numerical context tend |
12484 | 18269 | to be huge numbers, and so usually indicates programmer error. |
12485 | 18270 | |
12486 | 18271 | =end original |
12487 | 18272 | |
12488 | 18273 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく |
12489 | 18274 | 望んでいることではないでしょう; なぜなら数値コンテキストでの |
12490 | 18275 | リファレンスはとても大きな数になることが多いので、普通はプログラマの |
12491 | 18276 | ミスを意味しています。 |
12492 | 18277 | |
12493 | 18278 | =begin original |
12494 | 18279 | |
12495 | 18280 | If you really do mean it, explicitly numify your reference, like so: |
12496 | 18281 | C<$array[0+$ref]>. This warning is not given for overloaded objects, |
12497 | 18282 | however, because you can overload the numification and stringification |
12498 | 18283 | operators and then you presumably know what you are doing. |
12499 | 18284 | |
12500 | 18285 | =end original |
12501 | 18286 | |
12502 | 18287 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に |
12503 | 18288 | 数値化してください。 |
12504 | 18289 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; |
12505 | 18290 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると |
12506 | 18291 | 仮定できるからです。 |
12507 | 18292 | |
12508 | =item Use of | |
18293 | =item Use of strings with code points over 0xFF as arguments to %s | |
18294 | operator is not allowed | |
12509 | 18295 | |
12510 | 18296 | =begin original |
12511 | 18297 | |
12512 | ( | |
18298 | (F) You tried to use one of the string bitwise operators (C<&> or C<|> or C<^> or | |
12513 | ||
18299 | C<~>) on a string containing a code point over 0xFF. The string bitwise | |
12514 | ||
18300 | operators treat their operands as strings of bytes, and values beyond | |
12515 | ||
18301 | 0xFF are nonsensical in this context. | |
12516 | suppressed for subroutine names by either adding a C<&> prefix, or using | |
12517 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. | |
12518 | 18302 | |
12519 | 18303 | =end original |
12520 | 18304 | |
12521 | ( | |
18305 | (F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを | |
12522 | ||
18306 | 0xFF を超える符号位置を含む文字列に使おうとしました。 | |
12523 | ||
18307 | ビット単位文字列演算子はオペランドをバイト文字列として扱い、 | |
12524 | ||
18308 | 0xFF を超える値はこの文脈では無意味です。 | |
12525 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 | |
12526 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
12527 | 18309 | |
18310 | =begin original | |
18311 | ||
18312 | Certain instances became fatal in Perl 5.28; others in perl 5.32. | |
18313 | ||
18314 | =end original | |
18315 | ||
18316 | 一部は Perl 5.28 で致命的エラーになりました; 残りは perl 5.32 です。 | |
18317 | ||
18318 | =item Use of strings with code points over 0xFF as arguments to vec is forbidden | |
18319 | ||
18320 | =begin original | |
18321 | ||
18322 | (F) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> | |
18323 | on a string containing a code point over 0xFF, which is nonsensical here. | |
18324 | ||
18325 | =end original | |
18326 | ||
18327 | (F) 0xFF を超える符号位置を含む文字列に対して | |
18328 | L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました; | |
18329 | これはここでは意味がありません。 | |
18330 | ||
18331 | =begin original | |
18332 | ||
18333 | This became fatal in Perl 5.32. | |
18334 | ||
18335 | =end original | |
18336 | ||
18337 | これは Perl 5.32 で致命的エラーになりました。 | |
18338 | ||
12528 | 18339 | =item Use of tainted arguments in %s is deprecated |
12529 | 18340 | |
12530 | 18341 | =begin original |
12531 | 18342 | |
12532 | 18343 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple |
12533 | 18344 | arguments and at least one of them is tainted. This used to be allowed |
12534 | 18345 | but will become a fatal error in a future version of perl. Untaint your |
12535 | 18346 | arguments. See L<perlsec>. |
12536 | 18347 | |
12537 | 18348 | =end original |
12538 | 18349 | |
12539 | 18350 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 |
12540 | 18351 | そのうち少なくとも一つが汚染されています。 |
12541 | 18352 | これは許されていましたが、将来のバージョンの perl では致命的エラーに |
12542 | 18353 | なるでしょう。 |
12543 | 18354 | 引数を浄化してください。 |
12544 | 18355 | L<perlsec> を参照してください。 |
12545 | 18356 | |
18357 | =item Use of unassigned code point or non-standalone grapheme for a | |
18358 | delimiter is not allowed | |
18359 | ||
18360 | =begin original | |
18361 | ||
18362 | (F) | |
18363 | A grapheme is what appears to a native-speaker of a language to be a | |
18364 | character. In Unicode (and hence Perl) a grapheme may actually be | |
18365 | several adjacent characters that together form a complete grapheme. For | |
18366 | example, there can be a base character, like "R" and an accent, like a | |
18367 | circumflex "^", that appear when displayed to be a single character with | |
18368 | the circumflex hovering over the "R". Perl currently allows things like | |
18369 | that circumflex to be delimiters of strings, patterns, I<etc>. When | |
18370 | displayed, the circumflex would look like it belongs to the character | |
18371 | just to the left of it. In order to move the language to be able to | |
18372 | accept graphemes as delimiters, we cannot allow the use of | |
18373 | delimiters which aren't graphemes by themselves. Also, a delimiter must | |
18374 | already be assigned (or known to be never going to be assigned) to try | |
18375 | to future-proof code, for otherwise code that works today would fail to | |
18376 | compile if the currently unassigned delimiter ends up being something | |
18377 | that isn't a stand-alone grapheme. Because Unicode is never going to | |
18378 | assign | |
18379 | L<non-character code points|perlunicode/Noncharacter code points>, nor | |
18380 | L<code points that are above the legal Unicode maximum| | |
18381 | perlunicode/Beyond Unicode code points>, those can be delimiters, and | |
18382 | their use is legal. | |
18383 | ||
18384 | =end original | |
18385 | ||
18386 | (F) | |
18387 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 | |
18388 | Unicode (従って Perl) では、 | |
18389 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する | |
18390 | 文字かもしれません。 | |
18391 | 例えば、"R" のような基底文字と曲折アクセント "^" のような | |
18392 | アクセントかもしれません; これは表示されるときには | |
18393 | "R" の上に曲折アクセントがある単一の文字となります。 | |
18394 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの | |
18395 | 区切り文字にすることを許しています。 | |
18396 | 表示されるとき、曲折アクセントは、 | |
18397 | そのすぐ左にある文字に付属するかのように見えます。 | |
18398 | 言語が書記素を区切り文字として受けいられられるようにするために、 | |
18399 | それ自体が書記素でない区切り文字の使用は認められません。 | |
18400 | また、区切り文字は将来も動作するコードであり続けるために、 | |
18401 | 既に割り当てられている(または決して割り当てられないと分かっている) | |
18402 | ものでなければなりません; | |
18403 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに | |
18404 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 | |
18405 | Unicode は決して | |
18406 | L<非文字符号位置|perlunicode/Noncharacter code points> や | |
18407 | L<正当な Unicode の最大値より大きな符号位置| | |
18408 | perlunicode/Beyond Unicode code points> を割り当てないので、 | |
18409 | これらは区切り文字になることができ、これらの使用は正当です。 | |
18410 | ||
12546 | 18411 | =item Use of uninitialized value%s |
12547 | 18412 | |
12548 | 18413 | =begin original |
12549 | 18414 | |
12550 | 18415 | (W uninitialized) An undefined value was used as if it were already |
12551 | 18416 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
12552 | 18417 | To suppress this warning assign a defined value to your variables. |
12553 | 18418 | |
12554 | 18419 | =end original |
12555 | 18420 | |
12556 | 18421 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
12557 | 18422 | 使用しました。 |
12558 | 18423 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
12559 | 18424 | この警告を止めるには、変数に定義された値を代入してください。 |
12560 | 18425 | |
12561 | 18426 | =begin original |
12562 | 18427 | |
12563 | To help you figure out what was undefined, perl will try to tell you | |
18428 | To help you figure out what was undefined, perl will try to tell you | |
12564 | name of the variable (if any) that was undefined. In some cases | |
18429 | the name of the variable (if any) that was undefined. In some cases | |
12565 | do this, so it also tells you what operation you used th | |
18430 | it cannot do this, so it also tells you what operation you used the | |
12566 | in. Note, however, that perl optimizes your program | |
18431 | undefined value in. Note, however, that perl optimizes your program | |
12567 | displayed in the warning may not necessarily appea | |
18432 | and the operation displayed in the warning may not necessarily appear | |
12568 | program. For example, C<"that $foo"> is usually | |
18433 | literally in your program. For example, C<"that $foo"> is usually | |
12569 | . $foo>, and the warning will refer to the | |
18434 | optimized into C<"that " . $foo>, and the warning will refer to the | |
12570 | even though there is no C<.> in | |
18435 | C<concatenation (.)> operator, even though there is no C<.> in | |
18436 | your program. | |
12571 | 18437 | |
12572 | 18438 | =end original |
12573 | 18439 | |
12574 | 18440 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である |
12575 | 18441 | 変数名を示します。 |
12576 | 18442 | それができないような場合では、未定義値を使った操作を示します。 |
12577 | 18443 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に |
12578 | 18444 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 |
12579 | 18445 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 |
12580 | 18446 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が |
12581 | 18447 | 出ます。 |
12582 | 18448 | |
12583 | =item | |
18449 | =item "use re 'strict'" is experimental | |
12584 | 18450 | |
12585 | 18451 | =begin original |
12586 | 18452 | |
12587 | ( | |
18453 | (S experimental::re_strict) The things that are different when a regular | |
12588 | ||
18454 | expression pattern is compiled under C<'strict'> are subject to change | |
12589 | u | |
18455 | in future Perl releases in incompatible ways. This means that a pattern | |
12590 | ||
18456 | that compiles today may not in a future Perl release. This warning is | |
18457 | to alert you to that risk. | |
12591 | 18458 | |
12592 | 18459 | =end original |
12593 | 18460 | |
12594 | ( | |
18461 | (S experimental::re_strict) 正規表現が C<'strict'> の基で | |
12595 | ||
18462 | コンパイルされたときに何が異なるかは、 | |
12596 | ||
18463 | 将来の Perl のリリースで互換性のない形で変更される予定です。 | |
12597 | ||
18464 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは | |
12598 | ||
18465 | 違うかもしれません。 | |
18466 | この警告はそのリスクを知らせるためのものです。 | |
12599 | 18467 | |
12600 | =item | |
18468 | =item use VERSION is not permitted while another use VERSION of 5.39 or above is in scope | |
12601 | 18469 | |
12602 | 18470 | =begin original |
12603 | 18471 | |
12604 | ( | |
18472 | (F) Once you have a C<use VERSION> declaration that calls for a Perl version | |
12605 | ||
18473 | of at least 5.39, you cannot have a subsequent one while the first is visible, | |
12606 | ||
18474 | even if it requests a later version. | |
12607 | removed in a future version. | |
12608 | 18475 | |
12609 | 18476 | =end original |
12610 | 18477 | |
12611 | ( | |
18478 | (F) 一旦 5.39 以上の Perl バージョンを要求する C<use VERSION> を宣言すると、 | |
12612 | ||
18479 | 例えより新しいバージョンを要求する場合でも、 | |
12613 | ||
18480 | 最初の宣言が有効の間は引き続いて宣言することはできません。 | |
12614 | そうするべきではありません。 | |
12615 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
12616 | 18481 | |
12617 | =item | |
18482 | =item use VERSION of 5.39 or above is not permitted while another use VERSION is in scope | |
12618 | 18483 | |
12619 | 18484 | =begin original |
12620 | 18485 | |
12621 | ( | |
18486 | (F) Once you have a C<use VERSION> declaration in scope, you cannot have a | |
12622 | ||
18487 | subsequent one that calls for a Perl version of at least 5.39 while the first | |
12623 | ||
18488 | is visible. | |
12624 | 18489 | |
12625 | 18490 | =end original |
12626 | 18491 | |
12627 | ( | |
18492 | (F) 一旦スコープ内で C<use VERSION> を宣言すると、最初の宣言が有効の間は、 | |
12628 | ||
18493 | 引き続いて 5.39 以上の Perl バージョンを要求する宣言はできません。 | |
12629 | 最初のもの以外は捨てられます。 | |
12630 | 18494 | |
12631 | =item Us | |
18495 | =item Use \x{...} for more than two hex characters in regex; marked by | |
18496 | S<<-- HERE> in m/%s/ | |
12632 | 18497 | |
12633 | 18498 | =begin original |
12634 | 18499 | |
12635 | (F) | |
18500 | (F) In a regular expression, you said something like | |
12636 | currently reserved for future use, as the exact behaviour has not | |
12637 | been decided. (Simply returning the boolean opposite of the | |
12638 | modified string is usually not particularly useful.) | |
12639 | 18501 | |
12640 | 18502 | =end original |
12641 | 18503 | |
12642 | (F) | |
18504 | (F) 正規表現で、以下のようなことをしました | |
12643 | まだ決定されていないので、将来の使用のために予約されています。 | |
12644 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
12645 | 有用ではありません。) | |
12646 | 18505 | |
12647 | ||
18506 | (?[ [ \xBEEF ] ]) | |
12648 | 18507 | |
12649 | 18508 | =begin original |
12650 | 18509 | |
12651 | ||
18510 | Perl isn't sure if you meant this | |
12652 | the standard case mapping, such as C<lc()> gives. This feature is being | |
12653 | deprecated due to its many issues, as documented in | |
12654 | L<perlunicode/User-Defined Case Mappings (for serious hackers only)>. | |
12655 | It is planned to remove this feature in Perl 5.16. A CPAN module | |
12656 | providing improved functionality is being prepared. | |
12657 | 18511 | |
12658 | 18512 | =end original |
12659 | 18513 | |
12660 | ||
18514 | Perl は、これが以下のものを意味しているのか | |
12661 | 上書きするような、C<ToLower> のような関数を定義しました。 | |
12662 | L<perlunicode/User-Defined Case Mappings (for serious hackers only)> に | |
12663 | 記述されているように、この機能は多くの問題により廃止予定です。 | |
12664 | この機能は Perl 5.16 で削除予定です。 | |
12665 | 改良した機能を提供する CPAN モジュールが準備中です。 | |
12666 | 18515 | |
18516 | (?[ [ \x{BEEF} ] ]) | |
18517 | ||
18518 | =begin original | |
18519 | ||
18520 | or if you meant this | |
18521 | ||
18522 | =end original | |
18523 | ||
18524 | それとも次のものかがわかりません。 | |
18525 | ||
18526 | (?[ [ \x{BE} E F ] ]) | |
18527 | ||
18528 | =begin original | |
18529 | ||
18530 | You need to add either braces or blanks to disambiguate. | |
18531 | ||
18532 | =end original | |
18533 | ||
18534 | 明確にするために大かっこか空白を追加する必要があります。 | |
18535 | ||
18536 | =item Using just the first character returned by \N{} in character class in | |
18537 | regex; marked by S<<-- HERE> in m/%s/ | |
18538 | ||
18539 | =begin original | |
18540 | ||
18541 | (W regexp) Named Unicode character escapes C<(\N{...})> may return | |
18542 | a multi-character sequence. Even though a character class is | |
18543 | supposed to match just one character of input, perl will match | |
18544 | the whole thing correctly, except when the class is inverted | |
18545 | (C<[^...]>), or the escape is the beginning or final end point of | |
18546 | a range. For these, what should happen isn't clear at all. In | |
18547 | these circumstances, Perl discards all but the first character | |
18548 | of the returned sequence, which is not likely what you want. | |
18549 | ||
18550 | =end original | |
18551 | ||
18552 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は | |
18553 | 複数文字並びを返すことがあります。 | |
18554 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
18555 | perl は全体を正しくマッチングします; 但し例外は、 | |
18556 | クラスが反転された場合 (C<[^...]>) と、 | |
18557 | エスケープが範囲の始点か終点の場合です。 | |
18558 | これらの場合、何をするべきかは全く明らかではありません。 | |
18559 | このため、Perl は返された並びの最初以外の文字を捨てます; | |
18560 | おそらくこれはあなたが求めているものではないでしょう。 | |
18561 | ||
18562 | =item Using just the single character results returned by \p{} in | |
18563 | (?[...]) in regex; marked by S<<-- HERE> in m/%s/ | |
18564 | ||
18565 | =begin original | |
18566 | ||
18567 | (W regexp) Extended character classes currently cannot handle operands | |
18568 | that evaluate to more than one character. These are removed from the | |
18569 | results of the expansion of the C<\p{}>. | |
18570 | ||
18571 | =end original | |
18572 | ||
18573 | (W regexp) 拡張文字クラスは、現在の所、複数の文字に評価されるオペランドを | |
18574 | 扱うことは出来ません。 | |
18575 | これらは C<\p{}> の拡張の結果から取り除かれました。 | |
18576 | ||
18577 | =begin original | |
18578 | ||
18579 | This situation can happen, for example, in | |
18580 | ||
18581 | =end original | |
18582 | ||
18583 | この状況は、例えば次の場合に起こります: | |
18584 | ||
18585 | (?[ \p{name=/KATAKANA/} ]) | |
18586 | ||
18587 | =begin original | |
18588 | ||
18589 | "KATAKANA LETTER AINU P" is a legal Unicode name (technically a "named | |
18590 | sequence"), but it is actually two characters. The above expression | |
18591 | with match only the Unicode names containing KATAKANA that represent | |
18592 | single characters. | |
18593 | ||
18594 | =end original | |
18595 | ||
18596 | "KATAKANA LETTER AINU P" は正当な Unicode 名 (技術的には「名前付き並び」)ですが、 | |
18597 | 実際には二つの文字です。 | |
18598 | 前述の式は、単一の文字を表現する KATAKANA を含む Unicode 名のみに | |
18599 | マッチングします。 | |
18600 | ||
18601 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ | |
18602 | ||
18603 | =begin original | |
18604 | ||
18605 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a | |
18606 | portion of a regular expression where the character set modifiers C</a> | |
18607 | or C</aa> are in effect. These two modifiers indicate an ASCII | |
18608 | interpretation, and this doesn't make sense for a Unicode definition. | |
18609 | The generated regular expression will compile so that the boundary uses | |
18610 | all of Unicode. No other portion of the regular expression is affected. | |
18611 | ||
18612 | =end original | |
18613 | ||
18614 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で | |
18615 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 | |
18616 | これら二つの修飾子は ASCII での解釈を示していて、これは | |
18617 | Unicode の定義では意味がありません。 | |
18618 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 | |
18619 | 正規表現のその他の部分は影響を受けません。 | |
18620 | ||
18621 | =item Using !~ with %s doesn't make sense | |
18622 | ||
18623 | =begin original | |
18624 | ||
18625 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is | |
18626 | currently reserved for future use, as the exact behavior has not | |
18627 | been decided. (Simply returning the boolean opposite of the | |
18628 | modified string is usually not particularly useful.) | |
18629 | ||
18630 | =end original | |
18631 | ||
18632 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが | |
18633 | まだ決定されていないので、将来の使用のために予約されています。 | |
18634 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
18635 | 有用ではありません。) | |
18636 | ||
12667 | 18637 | =item UTF-16 surrogate U+%X |
12668 | 18638 | |
12669 | 18639 | =begin original |
12670 | 18640 | |
12671 | ( | |
18641 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
12672 | 18642 | not considered acceptable. These code points, between U+D800 and |
12673 | 18643 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
12674 | 18644 | internally allows all unsigned integer code points (up to the size limit |
12675 | 18645 | available on your platform), including surrogates. But these can cause |
12676 | 18646 | problems when being input or output, which is likely where this message |
12677 | 18647 | came from. If you really really know what you are doing you can turn |
12678 | 18648 | off this warning by C<no warnings 'surrogate';>. |
12679 | 18649 | |
12680 | 18650 | =end original |
12681 | 18651 | |
12682 | ( | |
18652 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
12683 | 18653 | 使いました。 |
12684 | 18654 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
12685 | 18655 | Unicode によって使われます。 |
12686 | 18656 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
12687 | 18657 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
12688 | 18658 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
12689 | 18659 | おそらくこのメッセージが出た場所です。 |
12690 | 18660 | 自分で何をしているのかが本当に本当に分かっているなら、 |
12691 | 18661 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
12692 | 18662 | |
12693 | 18663 | =item Value of %s can be "0"; test with defined() |
12694 | 18664 | |
12695 | 18665 | =begin original |
12696 | 18666 | |
12697 | 18667 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
12698 | 18668 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
12699 | 18669 | can return a value of "0"; that would make the conditional expression |
12700 | 18670 | false, which is probably not what you intended. When using these |
12701 | 18671 | constructs in conditional expressions, test their values with the |
12702 | 18672 | C<defined> operator. |
12703 | 18673 | |
12704 | 18674 | =end original |
12705 | 18675 | |
12706 | 18676 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
12707 | 18677 | 真偽値として使いました。 |
12708 | 18678 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
12709 | 18679 | これはおそらく望んでいることではないでしょう。 |
12710 | 18680 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
12711 | 18681 | テストしてください。 |
12712 | 18682 | |
12713 | 18683 | =item Value of CLI symbol "%s" too long |
12714 | 18684 | |
12715 | 18685 | =begin original |
12716 | 18686 | |
12717 | 18687 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
12718 | 18688 | %ENV element from a CLI symbol table, and found a resultant string |
12719 | 18689 | longer than 1024 characters. The return value has been truncated to |
12720 | 18690 | 1024 characters. |
12721 | 18691 | |
12722 | 18692 | =end original |
12723 | 18693 | |
12724 | 18694 | (W misc) VMS に固有の警告です。 |
12725 | 18695 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
12726 | 18696 | 結果の文字列が 1024 文字を越えました。 |
12727 | 18697 | 返り値は 1024 文字に切り詰められます。 |
12728 | 18698 | |
12729 | 18699 | =item Variable "%s" is not available |
12730 | 18700 | |
12731 | 18701 | =begin original |
12732 | 18702 | |
12733 | 18703 | (W closure) During compilation, an inner named subroutine or eval is |
12734 | 18704 | attempting to capture an outer lexical that is not currently available. |
12735 | This can happen for one of two reasons. First, the outer lexical may be | |
18705 | This can happen for one of two reasons. First, the outer lexical may be | |
12736 | 18706 | declared in an outer anonymous subroutine that has not yet been created. |
12737 | 18707 | (Remember that named subs are created at compile time, while anonymous |
12738 | subs are created at run-time.) For example, | |
18708 | subs are created at run-time.) For example, | |
12739 | 18709 | |
12740 | 18710 | =end original |
12741 | 18711 | |
12742 | 18712 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が |
12743 | 18713 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 |
12744 | これは二つの理由 | |
18714 | これは二つの理由で起こります。 | |
12745 | 18715 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで |
12746 | 18716 | 定義されている場合です。 |
12747 | 18717 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは |
12748 | 18718 | 実行時に作成されることを思い出してください。) |
12749 | 18719 | 例えば、 |
12750 | 18720 | |
12751 | sub { my $ | |
18721 | sub { my $x; sub f { $x } } | |
12752 | 18722 | |
12753 | 18723 | =begin original |
12754 | 18724 | |
12755 | At the time that f is created, it can't capture the current value of $ | |
18725 | At the time that f is created, it can't capture the current value of $x, | |
12756 | since the anonymous subroutine hasn't been created yet. Conversely, | |
18726 | since the anonymous subroutine hasn't been created yet. Conversely, | |
12757 | 18727 | the following won't give a warning since the anonymous subroutine has by |
12758 | 18728 | now been created and is live: |
12759 | 18729 | |
12760 | 18730 | =end original |
12761 | 18731 | |
12762 | f が作成された時点で、$ | |
18732 | f が作成された時点で、$x の現在の値を捕捉できません; | |
12763 | 18733 | なぜなら無名サブルーチンはまだ作成されていないからです。 |
12764 | 逆に、以下のものは | |
18734 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
12765 | ||
18735 | 生きているからです: | |
12766 | 18736 | |
12767 | sub { my $ | |
18737 | sub { my $x; eval 'sub f { $x }' }->(); | |
12768 | 18738 | |
12769 | 18739 | =begin original |
12770 | 18740 | |
12771 | 18741 | The second situation is caused by an eval accessing a variable that has |
12772 | 18742 | gone out of scope, for example, |
12773 | 18743 | |
12774 | 18744 | =end original |
12775 | 18745 | |
12776 | 18746 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; |
12777 | 18747 | 例えば: |
12778 | 18748 | |
12779 | 18749 | sub f { |
12780 | my $ | |
18750 | my $x; | |
12781 | sub { eval '$ | |
18751 | sub { eval '$x' } | |
12782 | 18752 | } |
12783 | 18753 | f()->(); |
12784 | 18754 | |
12785 | 18755 | =begin original |
12786 | 18756 | |
12787 | Here, when the '$ | |
18757 | Here, when the '$x' in the eval is being compiled, f() is not currently | |
12788 | executed, so its $ | |
18758 | being executed, so its $x is not available for capture. | |
12789 | 18759 | |
12790 | 18760 | =end original |
12791 | 18761 | |
12792 | ここで、eval の中の '$ | |
18762 | ここで、eval の中の '$x' がコンパイルされるとき、f() はまだ | |
12793 | 実行されていないので、この $ | |
18763 | 実行されていないので、この $x は捕捉出来ません。 | |
12794 | 18764 | |
12795 | 18765 | =item Variable "%s" is not imported%s |
12796 | 18766 | |
12797 | 18767 | =begin original |
12798 | 18768 | |
12799 | ( | |
18769 | (S misc) With "use strict" in effect, you referred to a global variable | |
12800 | 18770 | that you apparently thought was imported from another module, because |
12801 | 18771 | something else of the same name (usually a subroutine) is exported by |
12802 | 18772 | that module. It usually means you put the wrong funny character on the |
12803 | front of your variable. | |
18773 | front of your variable. It is also possible you used an "our" variable | |
18774 | whose scope has ended. | |
12804 | 18775 | |
12805 | 18776 | =end original |
12806 | 18777 | |
12807 | ( | |
18778 | (S misc) "use strict" が有効のときに、見たところ他のモジュールから | |
12808 | 18779 | インポートされたとあなたが考えたグローバル変数を参照しました; |
12809 | 18780 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
12810 | 18781 | エクスポートされています。 |
12811 | 18782 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
18783 | スコープが終わっている "our" 変数を使った可能性もあります。 | |
12812 | 18784 | |
12813 | =item Variable length lookbehind not implemented in m/%s/ | |
18785 | =item Variable length lookbehind not implemented in regex m/%s/ | |
12814 | 18786 | |
12815 | 18787 | =begin original |
12816 | 18788 | |
12817 | (F) | |
18789 | (F) B<This message no longer should be raised as of Perl 5.30.> It is | |
12818 | ||
18790 | retained in this document as a convenience for people using an earlier | |
18791 | Perl version. | |
12819 | 18792 | |
12820 | 18793 | =end original |
12821 | 18794 | |
12822 | (F) | |
18795 | (F) B<このメッセージは Perl 5.30 からもはや発生しません。> | |
12823 | ||
18796 | これはより古いバージョンの Perl を使っている人々が便利なように | |
18797 | この文書に残しています。 | |
12824 | 18798 | |
18799 | =begin original | |
18800 | ||
18801 | In Perl 5.30 and earlier, lookbehind is allowed | |
18802 | only for subexpressions whose length is fixed and | |
18803 | known at compile time. For positive lookbehind, you can use the C<\K> | |
18804 | regex construct as a way to get the equivalent functionality. See | |
18805 | L<(?<=pattern) and \K in perlre|perlre/\K>. | |
18806 | ||
18807 | =end original | |
18808 | ||
18809 | Perl 5.30 以前では、後方参照は長さが固定で、 | |
18810 | コンパイル時に確定している副式に対してのみ可能です。 | |
18811 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 | |
18812 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 | |
18813 | ||
18814 | =begin original | |
18815 | ||
18816 | Starting in Perl 5.18, there are non-obvious Unicode rules under C</i> | |
18817 | that can match variably, but which you might not think could. For | |
18818 | example, the substring C<"ss"> can match the single character LATIN | |
18819 | SMALL LETTER SHARP S. Here's a complete list of the current ones | |
18820 | affecting ASCII characters: | |
18821 | ||
18822 | =end original | |
18823 | ||
18824 | Perl 5.18 から、C</i> の下では、おそらくあなたが考えていないような | |
18825 | 種類のものにマッチングするという、明確でない Unicode の規則があります。 | |
18826 | 例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に | |
18827 | マッチングします。 | |
18828 | 以下は ASCII 文字に影響を与える現在のものの完全な一覧です: | |
18829 | ||
18830 | ASCII | |
18831 | sequence Matches single letter under /i | |
18832 | FF U+FB00 LATIN SMALL LIGATURE FF | |
18833 | FFI U+FB03 LATIN SMALL LIGATURE FFI | |
18834 | FFL U+FB04 LATIN SMALL LIGATURE FFL | |
18835 | FI U+FB01 LATIN SMALL LIGATURE FI | |
18836 | FL U+FB02 LATIN SMALL LIGATURE FL | |
18837 | SS U+00DF LATIN SMALL LETTER SHARP S | |
18838 | U+1E9E LATIN CAPITAL LETTER SHARP S | |
18839 | ST U+FB06 LATIN SMALL LIGATURE ST | |
18840 | U+FB05 LATIN SMALL LIGATURE LONG S T | |
18841 | ||
18842 | =begin original | |
18843 | ||
18844 | This list is subject to change, but is quite unlikely to. | |
18845 | Each ASCII sequence can be any combination of upper- and lowercase. | |
18846 | ||
18847 | =end original | |
18848 | ||
18849 | この一覧は変更されるかもしれませんが、かなり起こりにくいです。 | |
18850 | それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。 | |
18851 | ||
18852 | =begin original | |
18853 | ||
18854 | You can avoid this by using a bracketed character class in the | |
18855 | lookbehind assertion, like | |
18856 | ||
18857 | =end original | |
18858 | ||
18859 | 次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます: | |
18860 | ||
18861 | (?<![sS]t) | |
18862 | (?<![fF]f[iI]) | |
18863 | ||
18864 | =begin original | |
18865 | ||
18866 | This fools Perl into not matching the ligatures. | |
18867 | ||
18868 | =end original | |
18869 | ||
18870 | これは合字にマッチングしないように Perl を騙します。 | |
18871 | ||
18872 | =begin original | |
18873 | ||
18874 | Another option for Perls starting with 5.16, if you only care about | |
18875 | ASCII matches, is to add the C</aa> modifier to the regex. This will | |
18876 | exclude all these non-obvious matches, thus getting rid of this message. | |
18877 | You can also say | |
18878 | ||
18879 | =end original | |
18880 | ||
18881 | Perl v5.16 からのもう一つの選択肢は、 | |
18882 | もし ASCII のマッチングにだけ関心があるのなら、 | |
18883 | 正規表現に C</aa> を追加することです。 | |
18884 | これにより、明確でないマッチングを全て | |
18885 | 除くことができるので、このメッセージを避けられます。 | |
18886 | また、次のようにすることで: | |
18887 | ||
18888 | use if $] ge 5.016, re => '/aa'; | |
18889 | ||
18890 | =begin original | |
18891 | ||
18892 | to apply C</aa> to all regular expressions compiled within its scope. | |
18893 | See L<re>. | |
18894 | ||
18895 | =end original | |
18896 | ||
18897 | スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。 | |
18898 | L<re> を参照してください。 | |
18899 | ||
18900 | =item Variable length positive lookbehind with capturing is experimental in regex m/%s/ | |
18901 | ||
18902 | =begin original | |
18903 | ||
18904 | (W) Variable length positive lookbehind with capturing is not well defined. This | |
18905 | warning alerts you to the fact that you are using a construct which may | |
18906 | change in a future version of perl. See the | |
18907 | L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >> | |
18908 | for details. You may silence this warning with the following: | |
18909 | ||
18910 | =end original | |
18911 | ||
18912 | (W) 捕捉バッファ付きの正の可変長後読みは未定義です。 | |
18913 | この警告は、将来のバージョンの perl で変更されるかも知れない構文を | |
18914 | 使っているという事実を警告します。 | |
18915 | 詳しくは | |
18916 | L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >> | |
18917 | を参照してください。 | |
18918 | 次のようにすることでこの警告を消せます: | |
18919 | ||
18920 | no warnings 'experimental::vlb'; | |
18921 | ||
18922 | =item Variable length negative lookbehind with capturing is experimental in regex m/%s/ | |
18923 | ||
18924 | =begin original | |
18925 | ||
18926 | (W) Variable length negative lookbehind with capturing is not well defined. This | |
18927 | warning alerts you to the fact that you are using a construct which may | |
18928 | change in a future version of perl. See the | |
18929 | L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >> | |
18930 | for details. You may silence this warning with the following: | |
18931 | ||
18932 | =end original | |
18933 | ||
18934 | (W) 捕捉バッファ付きの負の可変長後読みは未定義です。 | |
18935 | この警告は、将来のバージョンの perl で変更されるかも知れない構文を | |
18936 | 使っているという事実を警告します。 | |
18937 | 詳しくは | |
18938 | L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >> | |
18939 | を参照してください。 | |
18940 | 次のようにすることでこの警告を消せます: | |
18941 | ||
18942 | no warnings 'experimental::vlb'; | |
18943 | ||
12825 | 18944 | =item "%s" variable %s masks earlier declaration in same %s |
12826 | 18945 | |
12827 | 18946 | =begin original |
12828 | 18947 | |
12829 | (W | |
18948 | (W shadow) A "my", "our", "state" or "field" variable has been redeclared in | |
12830 | current scope or statement, effectively eliminating all access to the | |
18949 | the current scope or statement, effectively eliminating all access to the | |
12831 | 18950 | previous instance. This is almost always a typographical error. Note |
12832 | 18951 | that the earlier variable will still exist until the end of the scope |
12833 | or until all closure referen | |
18952 | or until all closure references to it are destroyed. | |
12834 | 18953 | |
12835 | 18954 | =end original |
12836 | 18955 | |
12837 | (W | |
18956 | (W shadow) 現在のスコープや文で "my", "our", "state", "field" 変数が | |
12838 | 以前の実体への全てのアクセスができなくなりました。 | |
18957 | 再宣言されたので、以前の実体への全てのアクセスができなくなりました。 | |
12839 | これはほとんど | |
18958 | これはほとんど常にタイプミスです。 | |
12840 | 18959 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが |
12841 | 18960 | 破壊されるまでは存在し続けることに注意してください。 |
12842 | 18961 | |
12843 | 18962 | =item Variable syntax |
12844 | 18963 | |
12845 | 18964 | =begin original |
12846 | 18965 | |
12847 | 18966 | (A) You've accidentally run your script through B<csh> instead |
12848 | 18967 | of Perl. Check the #! line, or manually feed your script into |
12849 | 18968 | Perl yourself. |
12850 | 18969 | |
12851 | 18970 | =end original |
12852 | 18971 | |
12853 | 18972 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
12854 | #! 行を | |
18973 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
12855 | 18974 | |
12856 | 18975 | =item Variable "%s" will not stay shared |
12857 | 18976 | |
12858 | 18977 | =begin original |
12859 | 18978 | |
12860 | 18979 | (W closure) An inner (nested) I<named> subroutine is referencing a |
12861 | 18980 | lexical variable defined in an outer named subroutine. |
12862 | 18981 | |
12863 | 18982 | =end original |
12864 | 18983 | |
12865 | 18984 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
12866 | 18985 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 |
12867 | 18986 | |
12868 | 18987 | =begin original |
12869 | 18988 | |
12870 | 18989 | When the inner subroutine is called, it will see the value of |
12871 | 18990 | the outer subroutine's variable as it was before and during the *first* |
12872 | 18991 | call to the outer subroutine; in this case, after the first call to the |
12873 | 18992 | outer subroutine is complete, the inner and outer subroutines will no |
12874 | 18993 | longer share a common value for the variable. In other words, the |
12875 | 18994 | variable will no longer be shared. |
12876 | 18995 | |
12877 | 18996 | =end original |
12878 | 18997 | |
12879 | 内側のサブルーチンが呼び出され | |
18998 | 内側のサブルーチンが呼び出されるとき、 | |
12880 | サブルーチン | |
18999 | 外側のサブルーチンの変数の値は、 | |
12881 | ||
19000 | 「最初の」外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
12882 | 外側のサブルーチン | |
19001 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
12883 | ||
19002 | 内側と外側のサブルーチンはこの変数に関して同じ値を共有しなくなります。 | |
19003 | 言い換えると、この変数はもはや共有されません。 | |
12884 | 19004 | |
12885 | 19005 | =begin original |
12886 | 19006 | |
12887 | 19007 | This problem can usually be solved by making the inner subroutine |
12888 | 19008 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
12889 | 19009 | reference variables in outer subroutines are created, they |
12890 | 19010 | are automatically rebound to the current values of such variables. |
12891 | 19011 | |
12892 | 19012 | =end original |
12893 | 19013 | |
12894 | 19014 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
12895 | 19015 | 解決します。 |
12896 | 19016 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
12897 | 19017 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 |
12898 | 19018 | |
12899 | =item | |
19019 | =item vector argument not supported with alpha versions | |
12900 | 19020 | |
12901 | 19021 | =begin original |
12902 | 19022 | |
12903 | ( | |
19023 | (S printf) The %vd (s)printf format does not support version objects | |
12904 | ||
19024 | with alpha parts. | |
12905 | 19025 | |
12906 | 19026 | =end original |
12907 | 19027 | |
19028 | (S printf) %vd (s)printf フォーマットはアルファ部分のある | |
19029 | バージョンオブジェクトに対応していません。 | |
19030 | ||
19031 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
19032 | S<<-- HERE> in m/%s/ | |
19033 | ||
19034 | =begin original | |
19035 | ||
19036 | (F) You used a verb pattern that requires an argument. Supply an | |
19037 | argument or check that you are using the right verb. | |
19038 | ||
19039 | =end original | |
19040 | ||
12908 | 19041 | (F) 引き数が必要な動詞パターンを使いました。 |
12909 | 19042 | 引き数を追加するか、正しい動詞を使ってください。 |
12910 | 19043 | |
12911 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
19044 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
19045 | S<<-- HERE> in m/%s/ | |
12912 | 19046 | |
12913 | 19047 | =begin original |
12914 | 19048 | |
12915 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
19049 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
12916 | 19050 | argument or check that you are using the right verb. |
12917 | 19051 | |
12918 | 19052 | =end original |
12919 | 19053 | |
12920 | 19054 | (F) 引き数が認められていない動詞パターンを使いました。 |
12921 | 19055 | 引き数を削除するか、正しい動詞を使ってください。 |
12922 | 19056 | |
19057 | =item Version control conflict marker | |
19058 | ||
19059 | =begin original | |
19060 | ||
19061 | (F) The parser found a line starting with C<E<lt><<<<<<>, | |
19062 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a | |
19063 | version control system to mark conflicts after a failed merge operation. | |
19064 | ||
19065 | =end original | |
19066 | ||
19067 | (F) パーサは C<E<lt><<<<<<>, | |
19068 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 | |
19069 | これらはマージ操作に失敗したあと衝突を記録するために | |
19070 | バージョン制御システムによって残されたものかもしれません。 | |
19071 | ||
12923 | 19072 | =item Version number must be a constant number |
12924 | 19073 | |
12925 | 19074 | =begin original |
12926 | 19075 | |
12927 | 19076 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
12928 | 19077 | its equivalent C<BEGIN> block found an internal inconsistency with |
12929 | 19078 | the version number. |
12930 | 19079 | |
12931 | 19080 | =end original |
12932 | 19081 | |
12933 | 19082 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
12934 | 19083 | したときに、バージョン番号について内部の不整合を発見しました。 |
12935 | 19084 | |
12936 | 19085 | =item Version string '%s' contains invalid data; ignoring: '%s' |
12937 | 19086 | |
12938 | 19087 | =begin original |
12939 | 19088 | |
12940 | 19089 | (W misc) The version string contains invalid characters at the end, which |
12941 | 19090 | are being ignored. |
12942 | 19091 | |
12943 | 19092 | =end original |
12944 | 19093 | |
12945 | 19094 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は |
12946 | 19095 | 無視されます。 |
12947 | 19096 | |
12948 | 19097 | =item Warning: something's wrong |
12949 | 19098 | |
12950 | 19099 | =begin original |
12951 | 19100 | |
12952 | 19101 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
12953 | 19102 | you called it with no args and C<$@> was empty. |
12954 | 19103 | |
12955 | 19104 | =end original |
12956 | 19105 | |
12957 | 19106 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
12958 | 19107 | 引数なしで呼び出され、C<$@> も空でした。 |
12959 | 19108 | |
12960 | 19109 | =item Warning: unable to close filehandle %s properly |
12961 | 19110 | |
12962 | 19111 | =begin original |
12963 | 19112 | |
12964 | 19113 | (S) The implicit close() done by an open() got an error indication on |
12965 | 19114 | the close(). This usually indicates your file system ran out of disk |
12966 | 19115 | space. |
12967 | 19116 | |
12968 | 19117 | =end original |
12969 | 19118 | |
12970 | 19119 | (S) open() によって暗黙のうちに行なわれる close() が、 |
12971 | 19120 | close() のエラーとなりました。 |
12972 | 19121 | 通常、ファイルシステムがいっぱいであることを示します。 |
12973 | 19122 | |
19123 | =item Warning: unable to close filehandle properly: %s | |
19124 | ||
19125 | =item Warning: unable to close filehandle %s properly: %s | |
19126 | ||
19127 | =begin original | |
19128 | ||
19129 | (S io) There were errors during the implicit close() done on a filehandle | |
19130 | when its reference count reached zero while it was still open, e.g.: | |
19131 | ||
19132 | =end original | |
19133 | ||
19134 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
19135 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
19136 | 例えば: | |
19137 | ||
19138 | { | |
19139 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
19140 | print $fh $data or die "print: $!"; | |
19141 | } # implicit close here | |
19142 | ||
19143 | =begin original | |
19144 | ||
19145 | Because various errors may only be detected by close() (e.g. buffering could | |
19146 | allow the C<print> in this example to return true even when the disk is full), | |
19147 | it is dangerous to ignore its result. So when it happens implicitly, perl | |
19148 | will signal errors by warning. | |
19149 | ||
19150 | =end original | |
19151 | ||
19152 | 様々なエラーは close() によってのみ検出される | |
19153 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
19154 | 真を返すことが可能です)ので、 | |
19155 | その結果を無視するのは危険です。 | |
19156 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
19157 | ||
19158 | =begin original | |
19159 | ||
19160 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
19161 | above was liable to cause B<silent data loss>. | |
19162 | ||
19163 | =end original | |
19164 | ||
19165 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
19166 | 従って、前述のような一般的な慣用句は | |
19167 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
19168 | ||
12974 | 19169 | =item Warning: Use of "%s" without parentheses is ambiguous |
12975 | 19170 | |
12976 | 19171 | =begin original |
12977 | 19172 | |
12978 | 19173 | (S ambiguous) You wrote a unary operator followed by something that |
12979 | 19174 | looks like a binary operator that could also have been interpreted as a |
12980 | 19175 | term or unary operator. For instance, if you know that the rand |
12981 | 19176 | function has a default argument of 1.0, and you write |
12982 | 19177 | |
12983 | 19178 | =end original |
12984 | 19179 | |
12985 | 19180 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
12986 | 19181 | 二項演算子のようなものが置かれました。 |
12987 | 19182 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
12988 | 19183 | いれば、以下のように書いて: |
12989 | 19184 | |
12990 | 19185 | rand + 5; |
12991 | 19186 | |
12992 | 19187 | =begin original |
12993 | 19188 | |
12994 | 19189 | you may THINK you wrote the same thing as |
12995 | 19190 | |
12996 | 19191 | =end original |
12997 | 19192 | |
12998 | 19193 | 以下の同じことと思うかもしれませんが: |
12999 | 19194 | |
13000 | 19195 | rand() + 5; |
13001 | 19196 | |
13002 | 19197 | =begin original |
13003 | 19198 | |
13004 | 19199 | but in actual fact, you got |
13005 | 19200 | |
13006 | 19201 | =end original |
13007 | 19202 | |
13008 | 19203 | 実際には以下のようになります: |
13009 | 19204 | |
13010 | 19205 | rand(+5); |
13011 | 19206 | |
13012 | 19207 | =begin original |
13013 | 19208 | |
13014 | 19209 | So put in parentheses to say what you really mean. |
13015 | 19210 | |
13016 | 19211 | =end original |
13017 | 19212 | |
13018 | 19213 | したがって、思うように解釈させるには、かっこが必要になります。 |
13019 | 19214 | |
19215 | =item when is deprecated | |
19216 | ||
19217 | =begin original | |
19218 | ||
19219 | (D deprecated::smartmatch) C<when> depends on smartmatch, which is | |
19220 | deprecated. Additionally, it has several special cases that may | |
19221 | not be immediately obvious, and it will be removed in Perl 5.42. | |
19222 | See the explanation | |
19223 | under L<perlsyn/Experimental Details on given and when>. | |
19224 | ||
19225 | =end original | |
19226 | ||
19227 | (D deprecated::smartmatch) C<when> は、廃止予定である | |
19228 | スマートマッチングに依存しています。 | |
19229 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、 | |
19230 | Perl 5.42 で削除される予定です。 | |
19231 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
19232 | ||
13020 | 19233 | =item Wide character in %s |
13021 | 19234 | |
13022 | 19235 | =begin original |
13023 | 19236 | |
13024 | (S utf8) Perl met a wide character (>255) when it wasn't | |
19237 | (S utf8) Perl met a wide character (ordinal >255) when it wasn't | |
13025 | one. This warning is by default on for I/O (like print). | |
19238 | expecting one. This warning is by default on for I/O (like print). | |
13026 | ||
13027 | ||
19240 | =end original | |
13028 | ||
19242 | (S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。 | |
19243 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
19244 | ||
19245 | =begin original | |
19246 | ||
19247 | If this warning does come from I/O, the easiest | |
19248 | way to quiet it is simply to add the C<:utf8> layer, I<e.g.>, | |
19249 | S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is | |
19250 | to add S<C<no warnings 'utf8';>> but that is often closer to | |
13029 | 19251 | cheating. In general, you are supposed to explicitly mark the |
13030 | 19252 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. |
13031 | 19253 | |
13032 | 19254 | =end original |
13033 | 19255 | |
13034 | ||
19256 | この警告が I/O からのものなら、これを黙らせる最も簡単な方法は、 | |
13035 | ||
19257 | S<C<binmode STDOUT, ':utf8'>> のように | |
13036 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
13037 | 19258 | 出力に単に C<:utf8> 層を追加することです。 |
13038 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
19259 | もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは | |
13039 | 19260 | しばしばいかさまに近い方法です。 |
13040 | 19261 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに |
13041 | 19262 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 |
13042 | 19263 | |
19264 | =begin original | |
19265 | ||
19266 | If the warning comes from other than I/O, this diagnostic probably | |
19267 | indicates that incorrect results are being obtained. You should examine | |
19268 | your code to determine how a wide character is getting to an operation | |
19269 | that doesn't handle them. | |
19270 | ||
19271 | =end original | |
19272 | ||
19273 | この警告が I/O 以外からのものなら、この診断メッセージは | |
19274 | おそらく正しくない結果が得られたことを意味しています。 | |
19275 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
19276 | 決定するために、ソースコードを調べる必要があります。 | |
19277 | ||
19278 | =item Wide character (U+%X) in %s | |
19279 | ||
19280 | =begin original | |
19281 | ||
19282 | (W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8 | |
19283 | one), a multi-byte character was encountered. Perl considers this | |
19284 | character to be the specified Unicode code point. Combining non-UTF-8 | |
19285 | locales and Unicode is dangerous. Almost certainly some characters | |
19286 | will have two different representations. For example, in the ISO 8859-7 | |
19287 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so | |
19288 | also does 0x393. This will make string comparisons unreliable. | |
19289 | ||
19290 | =end original | |
19291 | ||
19292 | (W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、 | |
19293 | 複数バイト文字に遭遇しました。 | |
19294 | Perl はこの文字を指定された Unicode 符号位置として扱います。 | |
19295 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 | |
19296 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 | |
19297 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 | |
19298 | 符号位置 0xC3 は Capital Gamma を表現します。 | |
19299 | しかし 0x393 も同じです。 | |
19300 | これは文字列比較を信頼できないものにします。 | |
19301 | ||
19302 | =begin original | |
19303 | ||
19304 | You likely need to figure out how this multi-byte character got mixed up | |
19305 | with your single-byte locale (or perhaps you thought you had a UTF-8 | |
19306 | locale, but Perl disagrees). | |
19307 | ||
19308 | =end original | |
19309 | ||
19310 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを | |
19311 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを | |
19312 | 使っていると考えているけれども Perl は同意していないのでしょう)。 | |
19313 | ||
13043 | 19314 | =item Within []-length '%c' not allowed |
13044 | 19315 | |
13045 | 19316 | =begin original |
13046 | 19317 | |
13047 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> | |
19318 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> | |
13048 | C<TEMPLATE> always matches the same amount of packed bytes that | |
19319 | only if C<TEMPLATE> always matches the same amount of packed bytes that | |
13049 | determined from the template alone. This is not possible if | |
19320 | can be determined from the template alone. This is not possible if | |
13050 | of the codes @, /, U, u, w or a *-length. Redesign | |
19321 | it contains any of the codes @, /, U, u, w or a *-length. Redesign | |
19322 | the template. | |
13051 | 19323 | |
13052 | 19324 | =end original |
13053 | 19325 | |
13054 | 19326 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に |
13055 | 19327 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する |
13056 | 19328 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 |
13057 | 19329 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 |
13058 | 19330 | テンプレートを再設計してください。 |
13059 | 19331 | |
19332 | =item While trying to resolve method call %s->%s() can not locate package "%s" yet it is mentioned in @%s::ISA (perhaps you forgot to load "%s"?) | |
19333 | ||
19334 | =begin original | |
19335 | ||
19336 | (W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded | |
19337 | package name, which can result in perl choosing an unexpected parent | |
19338 | class's method to resolve the method call. If this is deliberate you | |
19339 | can do something like | |
19340 | ||
19341 | =end original | |
19342 | ||
19343 | (W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、 | |
19344 | 結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを | |
19345 | 選んだ可能性があります。 | |
19346 | これが意図的な場合は、次のようにして: | |
19347 | ||
19348 | @Missing::Package::ISA = (); | |
19349 | ||
19350 | =begin original | |
19351 | ||
19352 | to silence the warnings, otherwise you should correct the package name, or | |
19353 | ensure that the package is loaded prior to the method call. | |
19354 | ||
19355 | =end original | |
19356 | ||
19357 | この警告を黙らせられます; さもなければパッケージ名を修正するか、 | |
19358 | パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。 | |
19359 | ||
19360 | =item %s() with negative argument | |
19361 | ||
19362 | =begin original | |
19363 | ||
19364 | (S misc) Certain operations make no sense with negative arguments. | |
19365 | Warning is given and the operation is not done. | |
19366 | ||
19367 | =end original | |
19368 | ||
19369 | (S misc) 一部の操作は負の引数は意味がありません。 | |
19370 | 警告が出力され、操作は行われません。 | |
19371 | ||
13060 | 19372 | =item write() on closed filehandle %s |
13061 | 19373 | |
13062 | 19374 | =begin original |
13063 | 19375 | |
13064 | 19376 | (W closed) The filehandle you're writing to got itself closed sometime |
13065 | 19377 | before now. Check your control flow. |
13066 | 19378 | |
13067 | 19379 | =end original |
13068 | 19380 | |
13069 | 19381 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
13070 | 19382 | 制御フローをチェックしてください。 |
13071 | 19383 | |
13072 | 19384 | =item %s "\x%X" does not map to Unicode |
13073 | 19385 | |
13074 | 19386 | =begin original |
13075 | 19387 | |
13076 | ( | |
19388 | (S utf8) When reading in different encodings, Perl tries to | |
13077 | into Unicode characters. The bytes you read | |
19389 | map everything into Unicode characters. The bytes you read | |
13078 | this encoding | |
19390 | in are not legal in this encoding. For example | |
13079 | 19391 | |
13080 | 19392 | =end original |
13081 | 19393 | |
13082 | ( | |
19394 | (S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に | |
13083 | 19395 | マッピングしようとします。 |
13084 | 読み込んだバイトはこのエンコーディングでは不正でした | |
19396 | 読み込んだバイトはこのエンコーディングでは不正でした。 | |
19397 | 例えば: | |
13085 | 19398 | |
13086 | 19399 | utf8 "\xE4" does not map to Unicode |
13087 | 19400 | |
13088 | 19401 | =begin original |
13089 | 19402 | |
13090 | 19403 | if you try to read in the a-diaereses Latin-1 as UTF-8. |
13091 | 19404 | |
13092 | 19405 | =end original |
13093 | 19406 | |
13094 | 19407 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 |
13095 | 19408 | |
13096 | 19409 | =item 'X' outside of string |
13097 | 19410 | |
13098 | 19411 | =begin original |
13099 | 19412 | |
13100 | 19413 | (F) You had a (un)pack template that specified a relative position before |
13101 | 19414 | the beginning of the string being (un)packed. See L<perlfunc/pack>. |
13102 | 19415 | |
13103 | 19416 | =end original |
13104 | 19417 | |
13105 | 19418 | (F) (un)pack している文字列の最後より後の相対位置を示している |
13106 | 19419 | (un)pack テンプレートを指定しました。 |
13107 | 19420 | L<perlfunc/pack> を参照してください。 |
13108 | 19421 | |
13109 | 19422 | =item 'x' outside of string in unpack |
13110 | 19423 | |
13111 | 19424 | =begin original |
13112 | 19425 | |
13113 | (F) You had a pack template that specified a relative position after | |
19426 | (F) You had an unpack template that specified a relative position after | |
13114 | 19427 | the end of the string being unpacked. See L<perlfunc/pack>. |
13115 | 19428 | |
13116 | 19429 | =end original |
13117 | 19430 | |
13118 | 19431 | (F) unpack している文字列の最後より後の相対位置を示している |
13119 | 19432 | pack テンプレートを指定しました。 |
13120 | 19433 | L<perlfunc/pack> を参照してください。 |
13121 | 19434 | |
13122 | 19435 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
13123 | 19436 | |
13124 | 19437 | =begin original |
13125 | 19438 | |
13126 | 19439 | (F) And you probably never will, because you probably don't have the |
13127 | 19440 | sources to your kernel, and your vendor probably doesn't give a rip |
13128 | about what you want. | |
19441 | about what you want. There is a vulnerability anywhere that you have a | |
13129 | your s | |
19442 | set-id script, and to close it you need to remove the set-id bit from | |
19443 | the script that you're attempting to run. To actually run the script | |
19444 | set-id, your best bet is to put a set-id C wrapper around your script. | |
13130 | 19445 | |
13131 | 19446 | =end original |
13132 | 19447 | |
13133 | 19448 | (F) そして、そうすることはできないでしょう; カーネルのソースは |
13134 | 19449 | お持ちではないでしょうし、ベンダも欲しいものを提供しては |
13135 | 19450 | くれないでしょうから。 |
13136 | ||
19451 | set-id スクリプトのあちこちには脆弱性があり、 | |
19452 | それを閉じるためには実行しようとしているスクリプトから | |
19453 | set-id ビットを削除する必要があります。 | |
19454 | 実際にスクリプトを set-id で実行するために | |
19455 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
13137 | 19456 | |
13138 | 19457 | =item You need to quote "%s" |
13139 | 19458 | |
13140 | 19459 | =begin original |
13141 | 19460 | |
13142 | (W syntax) You assigned a bareword as a signal handler name | |
19461 | (W syntax) You assigned a bareword as a signal handler name: | |
13143 | Unfortunately, you already have a subroutine of that name declared, | |
13144 | which means that Perl 5 will try to call the subroutine when the | |
13145 | assignment is executed, which is probably not what you want. (If it IS | |
13146 | what you want, put an & in front.) | |
13147 | 19462 | |
13148 | 19463 | =end original |
13149 | 19464 | |
13150 | (W syntax) シグナルハンドラ名 | |
19465 | (W syntax) シグナルハンドラ名として裸の単語を割り当てました: | |
13151 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 | |
13152 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 | |
13153 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) | |
13154 | 19466 | |
19467 | $SIG{...} = foo; | |
19468 | ||
19469 | =begin original | |
19470 | ||
19471 | However, this will not make C<sub foo> the signal handler. Instead, Perl | |
19472 | will call the subroutine when the assignment is executed and use the | |
19473 | returned value as the signal handler, which is probably not what you want. | |
19474 | (If it I<is> what you want, put C<()> after the subroutine name to avoid | |
19475 | the warning.) | |
19476 | ||
19477 | =end original | |
19478 | ||
19479 | しかし、これによって C<sub foo> がシグナルハンドラになるわけではありません。 | |
19480 | 代わりに、Perl は代入が実行されたときにサブルーチンを呼び出し、返された値を | |
19481 | シグナルハンドラとして使用します; | |
19482 | これはおそらくあなたが望むものではありません (もし I<これ> があなたが | |
19483 | 望むものである場合は、警告を避けるためにサブルーチン名の後に | |
19484 | C<()> を付けてください)。 | |
19485 | ||
19486 | =begin original | |
19487 | ||
19488 | To register the subroutine as the signal handler, take a reference to it: | |
19489 | ||
19490 | =end original | |
19491 | ||
19492 | サブルーチンをシグナルハンドラとして登録するには、サブルーチンへの | |
19493 | リファレンスを取ります: | |
19494 | ||
19495 | $SIG{...} = \&foo; | |
19496 | ||
13155 | 19497 | =item Your random numbers are not that random |
13156 | 19498 | |
13157 | 19499 | =begin original |
13158 | 19500 | |
13159 | (F) When trying to initiali | |
19501 | (F) When trying to initialize the random seed for hashes, Perl could | |
13160 | 19502 | not get any randomness out of your system. This usually indicates |
13161 | 19503 | Something Very Wrong. |
13162 | 19504 | |
13163 | 19505 | =end original |
13164 | 19506 | |
13165 | 19507 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから |
13166 | 19508 | 何の乱数性も得られませんでした。 |
13167 | 19509 | これは普通「何かとても具合が悪い」ことを示しています。 |
13168 | 19510 | |
19511 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
19512 | ||
19513 | =begin original | |
19514 | ||
19515 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length | |
19516 | sequence. Such an escape was used in an extended character class, i.e. | |
19517 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
19518 | that the correct escape has been used, and the correct charnames handler | |
19519 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
19520 | expression the problem was discovered. | |
19521 | ||
19522 | =end original | |
19523 | ||
19524 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを | |
19525 | 返すことがあります。 | |
19526 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
19527 | あるいは C<use re 'strict'> の基で使われました; | |
19528 | これは認められていません。 | |
19529 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
19530 | あるかをチェックしてください。 | |
19531 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
19532 | ||
13169 | 19533 | =back |
13170 | 19534 | |
13171 | 19535 | =head1 SEE ALSO |
13172 | 19536 | |
13173 | L<warnings>, L< | |
19537 | L<warnings>, L<diagnostics>. | |
13174 | 19538 | |
13175 | 19539 | =cut |
13176 | 19540 | |
13177 | 19541 | =begin meta |
13178 | 19542 | |
13179 | 19543 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) |
13180 | 19544 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) |
13181 | 19545 | Status: completed |
13182 | 19546 | |
13183 | 19547 | =end meta |