perldiag >
5.34.0
との差分
perldiag 5.34.0 と 5.8.8 の差分
1 | 1 | |
2 | =encoding u | |
2 | =encoding euc-jp | |
3 | 3 | |
4 | 4 | =head1 NAME |
5 | 5 | |
6 | 6 | =begin original |
7 | 7 | |
8 | 8 | perldiag - various Perl diagnostics |
9 | 9 | |
10 | 10 | =end original |
11 | 11 | |
12 | 12 | perldiag - さまざまな Perl 診断メッセージ |
13 | 13 | |
14 | 14 | =head1 DESCRIPTION |
15 | 15 | |
16 | 16 | =begin original |
17 | 17 | |
18 | 18 | These messages are classified as follows (listed in increasing order of |
19 | 19 | desperation): |
20 | 20 | |
21 | 21 | =end original |
22 | 22 | |
23 | 23 | これらのメッセージは以下のように分類されます (重要度が増す順に |
24 | 24 | 並べてあります): |
25 | 25 | |
26 | 26 | =begin original |
27 | 27 | |
28 | 28 | (W) A warning (optional). |
29 | (D) A deprecation ( | |
29 | (D) A deprecation (optional). | |
30 | (S) A severe warning ( | |
30 | (S) A severe warning (default). | |
31 | 31 | (F) A fatal error (trappable). |
32 | 32 | (P) An internal error you should never see (trappable). |
33 | 33 | (X) A very fatal error (nontrappable). |
34 | 34 | (A) An alien error message (not generated by Perl). |
35 | 35 | |
36 | 36 | =end original |
37 | 37 | |
38 | (W) 警告 (オプション) | |
38 | (W) 警告 (オプション) | |
39 | (D) 非推奨 ( | |
39 | (D) 非推奨 (オプション) | |
40 | (S) 重大な警告 (デフォルト | |
40 | (S) 重大な警告 (デフォルト) | |
41 | (F) 致命的エラー (トラップ可能) | |
41 | (F) 致命的エラー (トラップ可能) | |
42 | (P) 起こるはずのない内部エラー (トラップ可能) | |
42 | (P) 起こるはずのない内部エラー (トラップ可能) | |
43 | (X) 重大致命的エラー (トラップ不可能) | |
43 | (X) 重大致命的エラー (トラップ不可能) | |
44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの) | |
44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの) | |
45 | 45 | |
46 | 46 | =begin original |
47 | 47 | |
48 | 48 | The majority of messages from the first three classifications above |
49 | 49 | (W, D & S) can be controlled using the C<warnings> pragma. |
50 | 50 | |
51 | 51 | =end original |
52 | 52 | |
53 | 53 | 上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は |
54 | 54 | C<warings> プラグマで制御できます。 |
55 | 55 | |
56 | 56 | =begin original |
57 | 57 | |
58 | 58 | If a message can be controlled by the C<warnings> pragma, its warning |
59 | 59 | category is included with the classification letter in the description |
60 | below. | |
60 | below. | |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
65 | 説明で分類文字と共に記されています。 | |
65 | 警告カテゴリは以下の説明で分類文字と共に記されています。 | |
66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
67 | 66 | |
68 | 67 | =begin original |
69 | 68 | |
70 | 69 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
71 | and B<-W> switches. | |
70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
72 | 71 | to a reference to a routine that will be called on each warning instead |
73 | 72 | of printing it. See L<perlvar>. |
74 | 73 | |
75 | 74 | =end original |
76 | 75 | |
77 | 76 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
78 | 77 | 有効になります。 |
79 | 78 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
80 | 79 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
81 | 80 | L<perlvar> を参照してください。 |
82 | 81 | |
83 | 82 | =begin original |
84 | 83 | |
85 | ||
84 | Default warnings are always enabled unless they are explicitly disabled | |
86 | 85 | with the C<warnings> pragma or the B<-X> switch. |
87 | 86 | |
88 | 87 | =end original |
89 | 88 | |
90 | C<warnings> プラグマか B<-X> オプションで明示的に | |
89 | デフォルトでは C<warnings> プラグマか B<-X> オプションで明示的に | |
91 | ||
90 | 無効にされない限り、警告は常に有効です。 | |
92 | 91 | |
93 | 92 | =begin original |
94 | 93 | |
95 | 94 | Trappable errors may be trapped using the eval operator. See |
96 | 95 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
97 | 96 | disabled or promoted to fatal errors using the C<warnings> pragma. |
98 | 97 | See L<warnings>. |
99 | 98 | |
100 | 99 | =end original |
101 | 100 | |
102 | 101 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
103 | 102 | L<perlfunc/eval> を参照してください。 |
104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
105 | 無効にしたり致命的エラーに昇格させたりできます。 | |
104 | 選択的に無効にしたり致命的エラーに昇格させたりできます。 | |
106 | 105 | L<warnings> を参照してください。 |
107 | 106 | |
108 | 107 | =begin original |
109 | 108 | |
110 | 109 | The messages are in alphabetical order, without regard to upper or |
111 | 110 | lower-case. Some of these messages are generic. Spots that vary are |
112 | 111 | denoted with a %s or other printf-style escape. These escapes are |
113 | 112 | ignored by the alphabetical order, as are all characters other than |
114 | 113 | letters. To look up your message, just ignore anything that is not a |
115 | 114 | letter. |
116 | 115 | |
117 | 116 | =end original |
118 | 117 | |
119 | 118 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
120 | 119 | これらの中には一般的なものもあります。 |
121 | 120 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
122 | 121 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
123 | 122 | 無視されています。 |
124 | 123 | メッセージを探すには、英文字以外は無視してください。 |
125 | 124 | |
126 | 125 | =over 4 |
127 | 126 | |
128 | 127 | =item accept() on closed socket %s |
129 | 128 | |
130 | 129 | =begin original |
131 | 130 | |
132 | 131 | (W closed) You tried to do an accept on a closed socket. Did you forget |
133 | 132 | to check the return value of your socket() call? See |
134 | 133 | L<perlfunc/accept>. |
135 | 134 | |
136 | 135 | =end original |
137 | 136 | |
138 | 137 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
139 | 138 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
140 | 139 | L<perlfunc/accept> を参照してください。 |
141 | 140 | |
142 | =item Al | |
141 | =item Allocation too large: %lx | |
143 | 142 | |
144 | 143 | =begin original |
145 | 144 | |
146 | (S experimental::refaliasing) This warning is emitted if you use | |
147 | a reference constructor on the left-hand side of an assignment to | |
148 | alias one variable to another. Simply suppress the warning if you | |
149 | want to use the feature, but know that in doing so you are taking | |
150 | the risk of using an experimental feature which may change or be | |
151 | removed in a future Perl version: | |
152 | ||
153 | =end original | |
154 | ||
155 | (S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の | |
156 | 左側でリファレンスコンストラクタを使うと出力されます。 | |
157 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
158 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
159 | 単に警告を抑制してください: | |
160 | ||
161 | no warnings "experimental::refaliasing"; | |
162 | use feature "refaliasing"; | |
163 | \$x = \$y; | |
164 | ||
165 | =item Allocation too large: %x | |
166 | ||
167 | =begin original | |
168 | ||
169 | 145 | (X) You can't allocate more than 64K on an MS-DOS machine. |
170 | 146 | |
171 | 147 | =end original |
172 | 148 | |
173 | 149 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
174 | 150 | |
175 | =item ' | |
151 | =item '!' allowed only after types %s | |
176 | 152 | |
177 | 153 | =begin original |
178 | 154 | |
179 | (F) The | |
155 | (F) The '!' is allowed in pack() or unpack() only after certain types. | |
180 | ||
156 | See L<perlfunc/pack>. | |
181 | 157 | |
182 | 158 | =end original |
183 | 159 | |
184 | (F) pack() や unpack() での '!' | |
160 | (F) pack() や unpack() での '!' は特定のタイプの後にのみ | |
185 | ||
161 | つけることができます。 | |
186 | 162 | L<perlfunc/pack> を参照してください。 |
187 | 163 | |
188 | =item alpha->numify() is lossy | |
189 | ||
190 | =begin original | |
191 | ||
192 | (W numeric) An alpha version can not be numified without losing | |
193 | information. | |
194 | ||
195 | =end original | |
196 | ||
197 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
198 | ||
199 | 164 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
200 | 165 | |
201 | 166 | =begin original |
202 | 167 | |
203 | 168 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
204 | 169 | keyword, and you have used the name without qualification for calling |
205 | 170 | one or the other. Perl decided to call the builtin because the |
206 | 171 | subroutine is not imported. |
207 | 172 | |
208 | 173 | =end original |
209 | 174 | |
210 | 175 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
211 | 176 | どちらかを呼び出すために修飾なしで名前を使っています。 |
212 | Perl は、サブルーチンがインポートされたものではないので、 | |
177 | Perl は、サブルーチンがインポートされたものではないので、 | |
213 | 呼び出すことにしました。 | |
178 | 組み込みのものを呼び出すことにしました。 | |
214 | 179 | |
215 | 180 | =begin original |
216 | 181 | |
217 | 182 | To force interpretation as a subroutine call, either put an ampersand |
218 | 183 | before the subroutine name, or qualify the name with its package. |
219 | 184 | Alternatively, you can import the subroutine (or pretend that it's |
220 | 185 | imported with the C<use subs> pragma). |
221 | 186 | |
222 | 187 | =end original |
223 | 188 | |
224 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
225 | 前にアンパサンドをつけるか、名前をパッケージ名で | |
190 | サブルーチン名の前にアンパサンドをつけるか、名前をパッケージ名で | |
191 | 修飾してください。 | |
226 | 192 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
227 | 193 | プラグマを使ってインポートされたふりをする)方法もあります。 |
228 | 194 | |
229 | 195 | =begin original |
230 | 196 | |
231 | 197 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
232 | 198 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine |
233 | 199 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
234 | 200 | L<attributes>). |
235 | 201 | |
236 | 202 | =end original |
237 | 203 | |
238 | 204 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
239 | 205 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
240 | 206 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
241 | 207 | 参照してください)として定義してください。 |
242 | 208 | |
243 | 209 | =item Ambiguous range in transliteration operator |
244 | 210 | |
245 | 211 | =begin original |
246 | 212 | |
247 | 213 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at |
248 | 214 | all. To include a C<-> character in a transliteration, put it either |
249 | 215 | first or last. (In the past, C<tr/a-z-0//> was synonymous with |
250 | 216 | C<tr/a-y//>, which was probably not what you would have expected.) |
251 | 217 | |
252 | 218 | =end original |
253 | 219 | |
254 | 220 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 |
255 | 221 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 |
256 | 222 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく |
257 | 223 | 予想していたものと違うでしょう。) |
258 | 224 | |
259 | 225 | =item Ambiguous use of %s resolved as %s |
260 | 226 | |
261 | 227 | =begin original |
262 | 228 | |
263 | ( | |
229 | (W ambiguous)(S) You said something that may not be interpreted the way | |
264 | 230 | you thought. Normally it's pretty easy to disambiguate it by supplying |
265 | 231 | a missing quote, operator, parenthesis pair or declaration. |
266 | 232 | |
267 | 233 | =end original |
268 | 234 | |
269 | ( | |
235 | (W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが | |
270 | ||
236 | ありました。 | |
271 | ||
237 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することで | |
238 | かなり簡単にあいまいさを解消できます。 | |
272 | 239 | |
273 | =item Ambiguous use of -%s resolved as -&%s() | |
274 | ||
275 | =begin original | |
276 | ||
277 | (S ambiguous) You wrote something like C<-foo>, which might be the | |
278 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
279 | the string, just write C<"-foo">. If you meant the function call, | |
280 | write C<-foo()>. | |
281 | ||
282 | =end original | |
283 | ||
284 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
285 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
286 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
287 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
288 | ||
289 | =item Ambiguous use of %c resolved as operator %c | |
290 | ||
291 | =begin original | |
292 | ||
293 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
294 | bitwise and, and multiplication) I<and> initial special characters | |
295 | (denoting hashes, subroutines and typeglobs), and you said something | |
296 | like C<*foo * foo> that might be interpreted as either of them. We | |
297 | assumed you meant the infix operator, but please try to make it more | |
298 | clear -- in the example given, you might write C<*foo * foo()> if you | |
299 | really meant to multiply a glob by the result of calling a function. | |
300 | ||
301 | =end original | |
302 | ||
303 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
304 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の | |
305 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが | |
306 | 書かれました。 | |
307 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように | |
308 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の | |
309 | 積を意味しているなら、C<*foo * foo()> と書けます。 | |
310 | ||
311 | =item Ambiguous use of %c{%s} resolved to %c%s | |
312 | ||
313 | =begin original | |
314 | ||
315 | (W ambiguous) You wrote something like C<@{foo}>, which might be | |
316 | asking for the variable C<@foo>, or it might be calling a function | |
317 | named foo, and dereferencing it as an array reference. If you wanted | |
318 | the variable, you can just write C<@foo>. If you wanted to call the | |
319 | function, write C<@{foo()}> ... or you could just not have a variable | |
320 | and a function with the same name, and save yourself a lot of trouble. | |
321 | ||
322 | =end original | |
323 | ||
324 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと | |
325 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 | |
326 | リファレンスとしてデリファレンスするかもしれません。 | |
327 | もし変数がほしいなら、単に C<@foo> と書いてください。 | |
328 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に | |
329 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を | |
330 | 守れます。 | |
331 | ||
332 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] | |
333 | ||
334 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} | |
335 | ||
336 | =begin original | |
337 | ||
338 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents | |
339 | the name of a Perl keyword), which might be looking for element number | |
340 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you | |
341 | might have meant to pass an anonymous arrayref to the function named | |
342 | foo, and then do a scalar deref on the value it returns. If you meant | |
343 | that, write C<${foo([2])}>. | |
344 | ||
345 | =end original | |
346 | ||
347 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の | |
348 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を | |
349 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 | |
350 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ | |
351 | デリファレンスしているのかも知れません。 | |
352 | それを意味しているなら、C<${foo([2])}> と書いてください。 | |
353 | ||
354 | =begin original | |
355 | ||
356 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary | |
357 | to disambiguate between array subscripts and character classes. | |
358 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed | |
359 | by the character class C<[2345]>. If an array subscript is what you | |
360 | want, you can avoid the warning by changing C</${length[2345]}/> to the | |
361 | unsightly C</${\$length[2345]}/>, by renaming your array to something | |
362 | that does not coincide with a built-in keyword, or by simply turning | |
363 | off warnings with C<no warnings 'ambiguous';>. | |
364 | ||
365 | =end original | |
366 | ||
367 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために | |
368 | 必要になります。 | |
369 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が | |
370 | 引き続くと解釈されます。 | |
371 | 配列添え字が求めているものなら、C</${length[2345]}/> を | |
372 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと | |
373 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として | |
374 | 警告をオフにする、のいずれかで警告を回避できます。 | |
375 | ||
376 | 240 | =item '|' and '<' may not both be specified on command line |
377 | 241 | |
378 | 242 | =begin original |
379 | 243 | |
380 | 244 | (F) An error peculiar to VMS. Perl does its own command line |
381 | 245 | redirection, and found that STDIN was a pipe, and that you also tried to |
382 | 246 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
383 | 247 | |
384 | 248 | =end original |
385 | 249 | |
386 | (F) VMS | |
250 | (F) VMS 特有のエラーです。 | |
387 | 251 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
388 | 252 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
389 | 253 | しました。 |
390 | STDIN ストリームは一つだけにしてください | |
254 | STDIN ストリームは一つだけにしてください。 | |
255 | お願いします。 | |
391 | 256 | |
392 | 257 | =item '|' and '>' may not both be specified on command line |
393 | 258 | |
394 | 259 | =begin original |
395 | 260 | |
396 | 261 | (F) An error peculiar to VMS. Perl does its own command line |
397 | 262 | redirection, and thinks you tried to redirect stdout both to a file and |
398 | 263 | into a pipe to another command. You need to choose one or the other, |
399 | 264 | though nothing's stopping you from piping into a program or Perl script |
400 | 265 | which 'splits' output into two streams, such as |
401 | 266 | |
402 | 267 | =end original |
403 | 268 | |
404 | (F) VMS | |
269 | (F) VMS 特有のエラーです。 | |
405 | 270 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
406 | 271 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
407 | 272 | 判断しました。 |
408 | 273 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
409 | 274 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
410 | 275 | 何もありません。 |
411 | 276 | |
412 | 277 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
413 | 278 | while (<STDIN>) { |
414 | 279 | print; |
415 | 280 | print OUT; |
416 | 281 | } |
417 | 282 | close OUT; |
418 | 283 | |
419 | 284 | =item Applying %s to %s will act on scalar(%s) |
420 | 285 | |
421 | 286 | =begin original |
422 | 287 | |
423 | 288 | (W misc) The pattern match (C<//>), substitution (C<s///>), and |
424 | 289 | transliteration (C<tr///>) operators work on scalar values. If you apply |
425 | 290 | one of them to an array or a hash, it will convert the array or hash to |
426 | a scalar value | |
291 | a scalar value -- the length of an array, or the population info of a | |
427 | hash | |
292 | hash -- and then work on that scalar value. This is probably not what | |
428 | 293 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
429 | 294 | alternatives. |
430 | 295 | |
431 | 296 | =end original |
432 | 297 | |
433 | 298 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 |
434 | 299 | (C<tr///>) 演算子はスカラ値に対して動作します。 |
435 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 | |
300 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 -- | |
436 | ハッシュの大きさの情報 | |
301 | 配列の長さかハッシュの大きさの情報 -- に変換し、そのスカラ値に対して | |
302 | 動作します。 | |
437 | 303 | これはおそらくしたいこととは違うでしょう。 |
438 | 304 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
439 | 305 | |
440 | =item Arg t | |
306 | =item Args must match #! line | |
441 | 307 | |
442 | 308 | =begin original |
443 | 309 | |
444 | (F) | |
310 | (F) The setuid emulator requires that the arguments Perl was invoked | |
311 | with match the arguments specified on the #! line. Since some systems | |
312 | impose a one-argument limit on the #! line, try combining switches; | |
313 | for example, turn C<-w -U> into C<-wU>. | |
445 | 314 | |
446 | 315 | =end original |
447 | 316 | |
448 | (F) | |
317 | (F) setuid エミュレータでは、Perl を起動したときの引数と、 | |
318 | #! の行で指定された引数はマッチすることが要求されます。 | |
319 | #! 行の 1 引数制限があるシステムがあるので、 | |
320 | 組み合わせスイッチを試してみてください; | |
321 | 例えば、C<-w -U> を C<-wU> にしてください。 | |
449 | 322 | |
450 | =item Arg | |
323 | =item Arg too short for msgsnd | |
451 | 324 | |
452 | 325 | =begin original |
453 | 326 | |
454 | ( | |
327 | (F) msgsnd() requires a string at least as long as sizeof(long). | |
455 | that expected a numeric value instead. If you're fortunate the message | |
456 | will identify which operator was so unfortunate. | |
457 | 328 | |
458 | 329 | =end original |
459 | 330 | |
460 | ( | |
331 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の | |
461 | ||
332 | 長さが必要です。 | |
462 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
463 | わかります。 | |
464 | 333 | |
465 | = | |
334 | =item %s argument is not a HASH or ARRAY element | |
466 | 335 | |
467 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the | |
468 | definition of "numeric" is somewhat unusual: the strings themselves | |
469 | (like "Inf") are considered numeric, and anything following them is | |
470 | considered non-numeric. | |
471 | ||
472 | =end original | |
473 | ||
474 | Note that for the | |
475 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し | |
476 | 変わっていることに注意してください: | |
477 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに | |
478 | 何かが引き続いている場合は非数値として扱われます。 | |
479 | ||
480 | =item Argument list not closed for PerlIO layer "%s" | |
481 | ||
482 | 336 | =begin original |
483 | 337 | |
484 | ( | |
338 | (F) The argument to exists() must be a hash or array element, such as: | |
485 | system you forgot the ) that closes the argument list. (Layers | |
486 | take care of transforming data between external and internal | |
487 | representations.) Perl stopped parsing the layer list at this | |
488 | point and did not attempt to push this layer. If your program | |
489 | didn't explicitly request the failing operation, it may be the | |
490 | result of the value of the environment variable PERLIO. | |
491 | 339 | |
492 | 340 | =end original |
493 | 341 | |
494 | ( | |
342 | (F) exists() の引数は、 | |
495 | ||
343 | 以下のようなハッシュの要素でなければなりません。 | |
496 | (層はデータの外部表現と内部表現の変換を扱います。) | |
497 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
499 | 値が原因かもしれません。 | |
500 | 344 | |
501 | ||
345 | $foo{$bar} | |
346 | $ref->{"susie"}[12] | |
502 | 347 | |
503 | = | |
348 | =item %s argument is not a HASH or ARRAY element or slice | |
504 | 349 | |
505 | (W numeric) The indicated string was fed as an argument to the C<++> | |
506 | operator which expects either a number or a string matching | |
507 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and | |
508 | Auto-decrement> for details. | |
509 | ||
510 | =end original | |
511 | ||
512 | (W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を | |
513 | 想定しているC<++> 演算子に、示された文字列が指定されました。 | |
514 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 | |
515 | ||
516 | =item Array passed to stat will be coerced to a scalar%s | |
517 | ||
518 | 350 | =begin original |
519 | 351 | |
520 | ( | |
352 | (F) The argument to delete() must be either a hash or array element, | |
521 | ||
353 | such as: | |
522 | 354 | |
523 | 355 | =end original |
524 | 356 | |
525 | ( | |
357 | (F) delete() の引数は以下のようにハッシュか配列の要素であるか: | |
526 | スカラ - 配列の要素数 - に強制されました。 | |
527 | 358 | |
528 | ||
359 | $foo{$bar} | |
360 | $ref->{"susie"}[12] | |
529 | 361 | |
530 | 362 | =begin original |
531 | 363 | |
532 | ||
364 | or a hash or array slice, such as: | |
533 | sigil; for example: | |
534 | 365 | |
535 | 366 | =end original |
536 | 367 | |
537 | ||
368 | あるいは以下のようにハッシュか配列のスライスでなければなりません: | |
538 | 始まらなければなりません; 例えば: | |
539 | 369 | |
540 | | |
370 | @foo[$bar, $baz, $xyzzy] | |
371 | @{$ref->[12]}{"susie", "queue"} | |
541 | 372 | |
542 | =item | |
373 | =item %s argument is not a subroutine name | |
543 | 374 | |
544 | 375 | =begin original |
545 | 376 | |
546 | (F) | |
377 | (F) The argument to exists() for C<exists &sub> must be a subroutine | |
547 | ||
378 | name, and not a subroutine call. C<exists &sub()> will generate this | |
379 | error. | |
548 | 380 | |
549 | 381 | =end original |
550 | 382 | |
551 | (F) | |
383 | (F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、 | |
552 | ||
384 | サブルーチン名でなければなりません。 | |
385 | C<exists &sub()> とするとこのエラーが生成されます。 | |
553 | 386 | |
554 | | |
387 | =item Argument "%s" isn't numeric%s | |
555 | sub foo (@a = (1)) {} # invalid | |
556 | sub foo (%a = (a => b)) {} # invalid | |
557 | 388 | |
558 | =item assertion botched: %s | |
559 | ||
560 | 389 | =begin original |
561 | 390 | |
562 | ( | |
391 | (W numeric) The indicated string was fed as an argument to an operator | |
392 | that expected a numeric value instead. If you're fortunate the message | |
393 | will identify which operator was so unfortunate. | |
563 | 394 | |
564 | 395 | =end original |
565 | 396 | |
566 | ( | |
397 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 | |
398 | 与えられました。 | |
399 | 運がよければ、このメッセージによって、どの演算子が | |
400 | 問題となったかがわかります。 | |
567 | 401 | |
568 | =item A | |
402 | =item Argument list not closed for PerlIO layer "%s" | |
569 | 403 | |
570 | 404 | =begin original |
571 | 405 | |
572 | ( | |
406 | (W layer) When pushing a layer with arguments onto the Perl I/O system you | |
407 | forgot the ) that closes the argument list. (Layers take care of transforming | |
408 | data between external and internal representations.) Perl stopped parsing | |
409 | the layer list at this point and did not attempt to push this layer. | |
410 | If your program didn't explicitly request the failing operation, it may be | |
411 | the result of the value of the environment variable PERLIO. | |
573 | 412 | |
574 | 413 | =end original |
575 | 414 | |
576 | ( | |
415 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを | |
577 | ||
416 | 閉じる ) を忘れています。 | |
417 | (層はデータの外部表現と内部表現の変換を扱います。) | |
418 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
419 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
420 | 値が原因かもしれません。 | |
578 | 421 | |
579 | =item Assi | |
422 | =item Array @%s missing the @ in argument %d of %s() | |
580 | 423 | |
581 | 424 | =begin original |
582 | 425 | |
583 | ( | |
426 | (D deprecated) Really old Perl let you omit the @ on array names in some | |
584 | ||
427 | spots. This is now heavily deprecated. | |
585 | C<\$x = \$y>. | |
586 | 428 | |
587 | 429 | =end original |
588 | 430 | |
589 | ( | |
431 | (D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を | |
590 | ||
432 | 省略できました。 | |
591 | ||
433 | この省略は、止めてください。 | |
592 | 434 | |
593 | =item | |
435 | =item assertion botched: %s | |
594 | 436 | |
595 | 437 | =begin original |
596 | 438 | |
597 | ( | |
439 | (P) The malloc package that comes with Perl had an internal failure. | |
598 | two references were not of the same type. You cannot alias a scalar to | |
599 | an array, or an array to a hash; the two types must match. | |
600 | 440 | |
601 | 441 | =end original |
602 | 442 | |
603 | ( | |
443 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 | |
604 | 二つのリファレンスが同じ型ではありません。 | |
605 | スカラから配列への別名や配列からハッシュへの別名はできません; | |
606 | 二つの型は一致していなければなりません。 | |
607 | 444 | |
608 | ||
445 | =item Assertion failed: file "%s" | |
609 | \@x = \%y; # error | |
610 | $y = []; | |
611 | \$x = $y; # error; did you mean \$y? | |
612 | 446 | |
613 | =item Assigning non-zero to $[ is no longer possible | |
614 | ||
615 | 447 | =begin original |
616 | 448 | |
617 | ( | |
449 | (P) A general assertion failed. The file in question must be examined. | |
618 | (e.g., and under C<use v5.16;>, and as of Perl 5.30) | |
619 | the special variable C<$[>, which is deprecated, is now a fixed zero value. | |
620 | 450 | |
621 | 451 | =end original |
622 | 452 | |
623 | ( | |
453 | (P) 一般的なアサーションが失敗しました。 | |
624 | ||
454 | 問題の file を調べる必要があります。 | |
625 | 455 | |
626 | 456 | =item Assignment to both a list and a scalar |
627 | 457 | |
628 | 458 | =begin original |
629 | 459 | |
630 | 460 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
631 | 461 | must either both be scalars or both be lists. Otherwise Perl won't |
632 | 462 | know which context to supply to the right side. |
633 | 463 | |
634 | 464 | =end original |
635 | 465 | |
636 | (F) 条件演算子へ代入を行なう場合には、 | |
466 | (F) 条件演算子へ代入を行なう場合には、2 つめの引数と、3 つめの引数は、 | |
637 | 467 | ともにスカラか、ともにリストでなければなりません。 |
638 | 468 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
639 | 469 | |
640 | =item A | |
470 | =item A thread exited while %d threads were running | |
641 | 471 | |
642 | 472 | =begin original |
643 | 473 | |
644 | (W re | |
474 | (W threads)(S) When using threaded Perl, a thread (not necessarily the main | |
475 | thread) exited while there were still other threads running. | |
476 | Usually it's a good idea to first collect the return values of the | |
477 | created threads by joining them, and only then exit from the main | |
478 | thread. See L<threads>. | |
645 | 479 | |
646 | 480 | =end original |
647 | 481 | |
648 | (W re | |
482 | (W threads)(S) スレッドが有効な Perl を使っているときに、他のスレッドが | |
483 | まだ動いている状態で、あるスレッド(メインスレッドには限りません)が | |
484 | 終了しました。 | |
485 | 普通は、作成したスレッドに join することで返り値を集めて、それから | |
486 | メインスレッドから終了するのがよい考えです。 | |
487 | L<threads> を参照してください。 | |
649 | 488 | |
650 | [[:alnum]] | |
651 | [[:digit:xyz] | |
652 | ||
653 | =begin original | |
654 | ||
655 | They look like they might have been meant to be the POSIX classes | |
656 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
657 | ||
658 | =end original | |
659 | ||
660 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
661 | していたように見えます。 | |
662 | もしそうなら、次のように書くべきです: | |
663 | ||
664 | [[:alnum:]] | |
665 | [[:digit:]xyz] | |
666 | ||
667 | =begin original | |
668 | ||
669 | Since these aren't legal POSIX class specifications, but are legal | |
670 | bracketed character classes, Perl treats them as the latter. In the | |
671 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
672 | C<"m">, C<"n">, and C<"u">. | |
673 | ||
674 | =end original | |
675 | ||
676 | これらは有効な POSIX クラスしようではありませんが、有効な | |
677 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
678 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
679 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
680 | ||
681 | =begin original | |
682 | ||
683 | If these weren't meant to be POSIX classes, this warning message is | |
684 | spurious, and can be suppressed by reordering things, such as | |
685 | ||
686 | =end original | |
687 | ||
688 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
689 | 次のように文字を入れ替えることで抑制できます: | |
690 | ||
691 | [[al:num]] | |
692 | ||
693 | =begin original | |
694 | ||
695 | or | |
696 | ||
697 | =end original | |
698 | ||
699 | または | |
700 | ||
701 | [[:munla]] | |
702 | ||
703 | =item <> at require-statement should be quotes | |
704 | ||
705 | =begin original | |
706 | ||
707 | (F) You wrote C<< require <file> >> when you should have written | |
708 | C<require 'file'>. | |
709 | ||
710 | =end original | |
711 | ||
712 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
713 | 書いています。 | |
714 | ||
715 | 489 | =item Attempt to access disallowed key '%s' in a restricted hash |
716 | 490 | |
717 | 491 | =begin original |
718 | 492 | |
719 | 493 | (F) The failing code has attempted to get or set a key which is not in |
720 | 494 | the current set of allowed keys of a restricted hash. |
721 | 495 | |
722 | 496 | =end original |
723 | 497 | |
724 | 498 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して |
725 | 499 | 取得または設定しようとして失敗しました。 |
726 | 500 | |
727 | =item Attempt to bless into a freed package | |
728 | ||
729 | =begin original | |
730 | ||
731 | (F) You wrote C<bless $foo> with one argument after somehow causing | |
732 | the current package to be freed. Perl cannot figure out what to | |
733 | do, so it throws up its hands in despair. | |
734 | ||
735 | =end original | |
736 | ||
737 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の | |
738 | C<bless $foo> を書きました。 | |
739 | 何がしたいのかが分からないので Perl はお手上げになりました。 | |
740 | ||
741 | 501 | =item Attempt to bless into a reference |
742 | 502 | |
743 | 503 | =begin original |
744 | 504 | |
745 | 505 | (F) The CLASSNAME argument to the bless() operator is expected to be |
746 | the name of the package to bless the resulting object into. | |
506 | the name of the package to bless the resulting object into. You've | |
747 | 507 | supplied instead a reference to something: perhaps you wrote |
748 | 508 | |
749 | 509 | =end original |
750 | 510 | |
751 | 511 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する |
752 | 512 | パッケージ名を想定しています。 |
753 | そこに何かへのリファレンスが与えられました | |
513 | そこに何かへのリファレンスが与えられました。 | |
754 | 514 | おそらく以下のようにしたのでしょう: |
755 | 515 | |
756 | 516 | bless $self, $proto; |
757 | 517 | |
758 | 518 | =begin original |
759 | 519 | |
760 | 520 | when you intended |
761 | 521 | |
762 | 522 | =end original |
763 | 523 | |
764 | 524 | 以下を意図していたはずです: |
765 | 525 | |
766 | 526 | bless $self, ref($proto) || $proto; |
767 | 527 | |
768 | 528 | =begin original |
769 | 529 | |
770 | 530 | If you actually want to bless into the stringified version |
771 | 531 | of the reference supplied, you need to stringify it yourself, for |
772 | 532 | example by: |
773 | 533 | |
774 | 534 | =end original |
775 | 535 | |
776 | 536 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 |
777 | 537 | 以下のようにして自分で文字列化する必要があります: |
778 | 538 | |
779 | 539 | bless $self, "$proto"; |
780 | 540 | |
781 | =item Attempt to clear deleted array | |
782 | ||
783 | =begin original | |
784 | ||
785 | (S debugging) An array was assigned to when it was being freed. | |
786 | Freed values are not supposed to be visible to Perl code. This | |
787 | can also happen if XS code calls C<av_clear> from a custom magic | |
788 | callback on the array. | |
789 | ||
790 | =end original | |
791 | ||
792 | (S debugging) 配列が、解放されるときに代入されました。 | |
793 | 解放された値は Perl コードからは見えないはずです。 | |
794 | これはまた、XS コードが配列のカスタムマジックコールバックから | |
795 | C<av_clear> を呼び出したときにも起こります。 | |
796 | ||
797 | 541 | =item Attempt to delete disallowed key '%s' from a restricted hash |
798 | 542 | |
799 | 543 | =begin original |
800 | 544 | |
801 | 545 | (F) The failing code attempted to delete from a restricted hash a key |
802 | 546 | which is not in its key set. |
803 | 547 | |
804 | 548 | =end original |
805 | 549 | |
806 | 550 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 |
807 | 551 | |
808 | 552 | =item Attempt to delete readonly key '%s' from a restricted hash |
809 | 553 | |
810 | 554 | =begin original |
811 | 555 | |
812 | 556 | (F) The failing code attempted to delete a key whose value has been |
813 | 557 | declared readonly from a restricted hash. |
814 | 558 | |
815 | 559 | =end original |
816 | 560 | |
817 | 561 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを |
818 | 562 | 削除しようとしました。 |
819 | 563 | |
820 | =item Attempt to free non-arena SV: 0x%x | |
564 | =item Attempt to free non-arena SV: 0x%lx | |
821 | 565 | |
822 | 566 | =begin original |
823 | 567 | |
824 | ( | |
568 | (P internal) All SV objects are supposed to be allocated from arenas | |
825 | 569 | that will be garbage collected on exit. An SV was discovered to be |
826 | 570 | outside any of those arenas. |
827 | 571 | |
828 | 572 | =end original |
829 | 573 | |
830 | ( | |
574 | (P internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが | |
831 | 575 | 行なわれるアリーナに割り当てるようになっています。 |
832 | 576 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
833 | 577 | |
834 | =item Attempt to free nonexistent shared string | |
578 | =item Attempt to free nonexistent shared string | |
835 | 579 | |
836 | 580 | =begin original |
837 | 581 | |
838 | ( | |
582 | (P internal) Perl maintains a reference counted internal table of | |
839 | 583 | strings to optimize the storage and access of hash keys and other |
840 | 584 | strings. This indicates someone tried to decrement the reference count |
841 | 585 | of a string that can no longer be found in the table. |
842 | 586 | |
843 | 587 | =end original |
844 | 588 | |
845 | ( | |
589 | (P internal) Perl はストレージおよびハッシュキーとその他の | |
846 | アクセスを最適化するために、文字列の参照数テーブルを | |
590 | 文字列へのアクセスを最適化するために、文字列の参照数テーブルを | |
847 | ||
591 | 管理しています。 | |
848 | ||
592 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうと | |
593 | したことを示します。 | |
849 | 594 | |
850 | =item Attempt to free temp prematurely | |
595 | =item Attempt to free temp prematurely | |
851 | 596 | |
852 | 597 | =begin original |
853 | 598 | |
854 | ( | |
599 | (W debugging) Mortalized values are supposed to be freed by the | |
855 | 600 | free_tmps() routine. This indicates that something else is freeing the |
856 | 601 | SV before the free_tmps() routine gets a chance, which means that the |
857 | 602 | free_tmps() routine will be freeing an unreferenced scalar when it does |
858 | 603 | try to free it. |
859 | 604 | |
860 | 605 | =end original |
861 | 606 | |
862 | ( | |
607 | (W debugging) 消滅する値は、free_tmps() ルーティンで解放されるように | |
863 | 608 | なっています。 |
864 | 609 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
865 | 610 | 解放しようとしていることを示していて、これは、free_tmps() が |
866 | 611 | 解放しようとしたときには、どこからも参照されていないスカラを |
867 | 612 | 解放することになるということです。 |
868 | 613 | |
869 | 614 | =item Attempt to free unreferenced glob pointers |
870 | 615 | |
871 | 616 | =begin original |
872 | 617 | |
873 | ( | |
618 | (P internal) The reference counts got screwed up on symbol aliases. | |
874 | 619 | |
875 | 620 | =end original |
876 | 621 | |
877 | ( | |
622 | (P internal) シンボルのエイリアスについて、参照カウントの値がおかしな | |
878 | 623 | 状態になりました。 |
879 | 624 | |
880 | =item Attempt to free unreferenced scalar | |
625 | =item Attempt to free unreferenced scalar | |
881 | 626 | |
882 | 627 | =begin original |
883 | 628 | |
884 | ( | |
629 | (W internal) Perl went to decrement the reference count of a scalar to | |
885 | 630 | see if it would go to 0, and discovered that it had already gone to 0 |
886 | 631 | earlier, and should have been freed, and in fact, probably was freed. |
887 | 632 | This could indicate that SvREFCNT_dec() was called too many times, or |
888 | 633 | that SvREFCNT_inc() was called too few times, or that the SV was |
889 | 634 | mortalized when it shouldn't have been, or that memory has been |
890 | 635 | corrupted. |
891 | 636 | |
892 | 637 | =end original |
893 | 638 | |
894 | ( | |
639 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
895 | なるかを見たところ、既に 0 になっていることがわかりました | |
640 | なるかを見たところ、既に 0 になっていることがわかりました。 | |
896 | 641 | これは、既に解放されているべきものであり、実際は、おそらく、 |
897 | 642 | 解放されたものでしょう。 |
898 | 643 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
899 | 644 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
900 | 645 | メモリ異常になったことが考えられます。 |
901 | 646 | |
647 | =item Attempt to join self | |
648 | ||
649 | =begin original | |
650 | ||
651 | (F) You tried to join a thread from within itself, which is an | |
652 | impossible task. You may be joining the wrong thread, or you may need | |
653 | to move the join() to some other thread. | |
654 | ||
655 | =end original | |
656 | ||
657 | (F) スレッドをそれ自身の中から join しようとしました。 | |
658 | これは不可能な動作です。 | |
659 | 間違ったスレッドに join しようとしているか、 | |
660 | あるいは join() を他のスレッドに移動させる必要があります。 | |
661 | ||
902 | 662 | =item Attempt to pack pointer to temporary value |
903 | 663 | |
904 | 664 | =begin original |
905 | 665 | |
906 | 666 | (W pack) You tried to pass a temporary value (like the result of a |
907 | 667 | function, or a computed expression) to the "p" pack() template. This |
908 | 668 | means the result contains a pointer to a location that could become |
909 | 669 | invalid anytime, even before the end of the current statement. Use |
910 | 670 | literals or global values as arguments to the "p" pack() template to |
911 | 671 | avoid this warning. |
912 | 672 | |
913 | 673 | =end original |
914 | 674 | |
915 | 675 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
916 | 676 | "p" テンプレートに渡そうとしました。 |
917 | 677 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
918 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
678 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
919 | グローバルな値を使ってください。 | |
679 | リテラルかグローバルな値を使ってください。 | |
920 | 680 | |
921 | =item Attempt to reload %s aborted. | |
922 | ||
923 | =begin original | |
924 | ||
925 | (F) You tried to load a file with C<use> or C<require> that failed to | |
926 | compile once already. Perl will not try to compile this file again | |
927 | unless you delete its entry from %INC. See L<perlfunc/require> and | |
928 | L<perlvar/%INC>. | |
929 | ||
930 | =end original | |
931 | ||
932 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で | |
933 | 読み込もうとしました。 | |
934 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを | |
935 | コンパイルしようとはしません。 | |
936 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 | |
937 | ||
938 | 681 | =item Attempt to set length of freed array |
939 | 682 | |
940 | 683 | =begin original |
941 | 684 | |
942 | (W | |
685 | (W) You tried to set the length of an array which has been freed. You | |
943 | ||
686 | can do this by storing a reference to the scalar representing the last index | |
944 | ||
687 | of an array and later assigning through that reference. For example | |
945 | assigning through that reference. For example | |
946 | 688 | |
947 | 689 | =end original |
948 | 690 | |
949 | (W | |
691 | (W) 既に解放された配列の長さを設定しようとしました。 | |
950 | 692 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 |
951 | 693 | 後でこのリファレンスを通して代入することでこれを行えます。 |
952 | 694 | 例えば: |
953 | 695 | |
954 | 696 | $r = do {my @a; \$#a}; |
955 | 697 | $$r = 503 |
956 | 698 | |
957 | 699 | =item Attempt to use reference as lvalue in substr |
958 | 700 | |
959 | 701 | =begin original |
960 | 702 | |
961 | 703 | (W substr) You supplied a reference as the first argument to substr() |
962 | 704 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
963 | 705 | dereference it first. See L<perlfunc/substr>. |
964 | 706 | |
965 | 707 | =end original |
966 | 708 | |
967 | 709 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
968 | 710 | 渡しました; これはやや奇妙なことです。 |
969 | 711 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
970 | 712 | L<perlfunc/substr> を参照してください。 |
971 | 713 | |
972 | =item | |
714 | =item Bad arg length for %s, is %d, should be %s | |
973 | 715 | |
974 | 716 | =begin original |
975 | 717 | |
976 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
977 | example. Since each sub can only have one prototype, the earlier | |
978 | declaration(s) are discarded while the last one is applied. | |
979 | ||
980 | =end original | |
981 | ||
982 | (W misc) あるサブルーチンが、例えば | |
983 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 | |
984 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に | |
985 | 宣言されたものは破棄され、最後のものが適用されます。 | |
986 | ||
987 | =item av_reify called on tied array | |
988 | ||
989 | =begin original | |
990 | ||
991 | (S debugging) This indicates that something went wrong and Perl got I<very> | |
992 | confused about C<@_> or C<@DB::args> being tied. | |
993 | ||
994 | =end original | |
995 | ||
996 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが | |
997 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 | |
998 | ||
999 | =item Bad arg length for %s, is %u, should be %d | |
1000 | ||
1001 | =begin original | |
1002 | ||
1003 | 718 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
1004 | 719 | or shmctl(). In C parlance, the correct sizes are, respectively, |
1005 | 720 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
1006 | 721 | S<sizeof(struct shmid_ds *)>. |
1007 | 722 | |
1008 | 723 | =end original |
1009 | 724 | |
1010 | 725 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
1011 | 726 | 渡してしまいました。 |
1012 | 727 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
1013 | 728 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
1014 | 729 | |
1015 | 730 | =item Bad evalled substitution pattern |
1016 | 731 | |
1017 | 732 | =begin original |
1018 | 733 | |
1019 | 734 | (F) You've used the C</e> switch to evaluate the replacement for a |
1020 | 735 | substitution, but perl found a syntax error in the code to evaluate, |
1021 | 736 | most likely an unexpected right brace '}'. |
1022 | 737 | |
1023 | 738 | =end original |
1024 | 739 | |
1025 | 740 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
1026 | 741 | いますが、評価するコードに文法エラーがありました; |
1027 | 742 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
1028 | 743 | |
1029 | 744 | =item Bad filehandle: %s |
1030 | 745 | |
1031 | 746 | =begin original |
1032 | 747 | |
1033 | 748 | (F) A symbol was passed to something wanting a filehandle, but the |
1034 | 749 | symbol has no filehandle associated with it. Perhaps you didn't do an |
1035 | 750 | open(), or did it in another package. |
1036 | 751 | |
1037 | 752 | =end original |
1038 | 753 | |
1039 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
754 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
1040 | それに伴うファイルハンドルがありません。 | |
755 | そのシンボルは、それに伴うファイルハンドルがありません。 | |
1041 | 756 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
1042 | 757 | |
1043 | 758 | =item Bad free() ignored |
1044 | 759 | |
1045 | 760 | =begin original |
1046 | 761 | |
1047 | 762 | (S malloc) An internal routine called free() on something that had never |
1048 | been malloc()ed in the first place. | |
763 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
1049 | 764 | setting environment variable C<PERL_BADFREE> to 0. |
1050 | 765 | |
1051 | 766 | =end original |
1052 | 767 | |
1053 | 768 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
1054 | 769 | free() を呼びました。 |
1055 | 770 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
1056 | 771 | |
1057 | 772 | =begin original |
1058 | 773 | |
1059 | 774 | This message can be seen quite often with DB_File on systems with "hard" |
1060 | dynamic linking, like C<AIX> and C<OS/2>. | |
775 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
1061 | 776 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
1062 | 777 | |
1063 | 778 | =end original |
1064 | 779 | |
1065 | 780 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
1066 | 781 | 行うシステムで DB_File を使うとしばしば表示されます。 |
1067 | 782 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
1068 | 783 | C<Berkeley DB> のバグです。 |
1069 | 784 | |
1070 | 785 | =item Bad hash |
1071 | 786 | |
1072 | 787 | =begin original |
1073 | 788 | |
1074 | 789 | (P) One of the internal hash routines was passed a null HV pointer. |
1075 | 790 | |
1076 | 791 | =end original |
1077 | 792 | |
1078 | 793 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
1079 | 794 | |
795 | =item Bad index while coercing array into hash | |
796 | ||
797 | =begin original | |
798 | ||
799 | (F) The index looked up in the hash found as the 0'th element of a | |
800 | pseudo-hash is not legal. Index values must be at 1 or greater. | |
801 | See L<perlref>. | |
802 | ||
803 | =end original | |
804 | ||
805 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の | |
806 | インデックス検索は不正です。 | |
807 | インデックスの値は 1 以上でなければなりません。 | |
808 | L<perlref> を参照してください。 | |
809 | ||
1080 | 810 | =item Badly placed ()'s |
1081 | 811 | |
1082 | 812 | =begin original |
1083 | 813 | |
1084 | 814 | (A) You've accidentally run your script through B<csh> instead |
1085 | 815 | of Perl. Check the #! line, or manually feed your script into |
1086 | 816 | Perl yourself. |
1087 | 817 | |
1088 | 818 | =end original |
1089 | 819 | |
1090 | 820 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
1091 | 821 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
1092 | 822 | |
1093 | =item Bad name after %s | |
823 | =item Bad name after %s:: | |
1094 | 824 | |
1095 | 825 | =begin original |
1096 | 826 | |
1097 | 827 | (F) You started to name a symbol by using a package prefix, and then |
1098 | 828 | didn't finish the symbol. In particular, you can't interpolate outside |
1099 | 829 | of quotes, so |
1100 | 830 | |
1101 | 831 | =end original |
1102 | 832 | |
1103 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
833 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
1104 | 終了しませんでした。 | |
834 | そのシンボルが終了しませんでした。 | |
1105 | 835 | 特に、クォートの外で、変数展開はできませんから、 |
1106 | 836 | |
1107 | 837 | $var = 'myvar'; |
1108 | 838 | $sym = mypack::$var; |
1109 | 839 | |
1110 | 840 | =begin original |
1111 | 841 | |
1112 | 842 | is not the same as |
1113 | 843 | |
1114 | 844 | =end original |
1115 | 845 | |
1116 | 846 | は、以下と同じではありません。 |
1117 | 847 | |
1118 | 848 | $var = 'myvar'; |
1119 | 849 | $sym = "mypack::$var"; |
1120 | 850 | |
1121 | =item Bad plugin affecting keyword '%s' | |
1122 | ||
1123 | =begin original | |
1124 | ||
1125 | (F) An extension using the keyword plugin mechanism violated the | |
1126 | plugin API. | |
1127 | ||
1128 | =end original | |
1129 | ||
1130 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に | |
1131 | 違反しました。 | |
1132 | ||
1133 | 851 | =item Bad realloc() ignored |
1134 | 852 | |
1135 | 853 | =begin original |
1136 | 854 | |
1137 | (S malloc) An internal routine called realloc() on something that | |
855 | (S malloc) An internal routine called realloc() on something that had | |
1138 | ||
856 | never been malloc()ed in the first place. Mandatory, but can be disabled | |
1139 | b | |
857 | by setting environment variable C<PERL_BADFREE> to 1. | |
1140 | 858 | |
1141 | 859 | =end original |
1142 | 860 | |
1143 | 861 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
1144 | 862 | realloc() を呼び出しました。 |
1145 | 863 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
1146 | 864 | |
1147 | 865 | =item Bad symbol for array |
1148 | 866 | |
1149 | 867 | =begin original |
1150 | 868 | |
1151 | 869 | (P) An internal request asked to add an array entry to something that |
1152 | 870 | wasn't a symbol table entry. |
1153 | 871 | |
1154 | 872 | =end original |
1155 | 873 | |
1156 | 874 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
1157 | 875 | 内部要求があがりました。 |
1158 | 876 | |
1159 | =item Bad symbol for dirhandle | |
1160 | ||
1161 | =begin original | |
1162 | ||
1163 | (P) An internal request asked to add a dirhandle entry to something | |
1164 | that wasn't a symbol table entry. | |
1165 | ||
1166 | =end original | |
1167 | ||
1168 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
1169 | 登録するような内部要求があがりました。 | |
1170 | ||
1171 | 877 | =item Bad symbol for filehandle |
1172 | 878 | |
1173 | 879 | =begin original |
1174 | 880 | |
1175 | 881 | (P) An internal request asked to add a filehandle entry to something |
1176 | 882 | that wasn't a symbol table entry. |
1177 | 883 | |
1178 | 884 | =end original |
1179 | 885 | |
1180 | 886 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
1181 | 887 | 登録するような内部要求があがりました。 |
1182 | 888 | |
1183 | 889 | =item Bad symbol for hash |
1184 | 890 | |
1185 | 891 | =begin original |
1186 | 892 | |
1187 | 893 | (P) An internal request asked to add a hash entry to something that |
1188 | 894 | wasn't a symbol table entry. |
1189 | 895 | |
1190 | 896 | =end original |
1191 | 897 | |
1192 | 898 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
1193 | 899 | 登録するような内部要求があがった。 |
1194 | 900 | |
1195 | =item Bad symbol for scalar | |
1196 | ||
1197 | =begin original | |
1198 | ||
1199 | (P) An internal request asked to add a scalar entry to something that | |
1200 | wasn't a symbol table entry. | |
1201 | ||
1202 | =end original | |
1203 | ||
1204 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを | |
1205 | 追加するよう要求がありました。 | |
1206 | ||
1207 | 901 | =item Bareword found in conditional |
1208 | 902 | |
1209 | 903 | =begin original |
1210 | 904 | |
1211 | 905 | (W bareword) The compiler found a bareword where it expected a |
1212 | 906 | conditional, which often indicates that an || or && was parsed as part |
1213 | 907 | of the last argument of the previous construct, for example: |
1214 | 908 | |
1215 | 909 | =end original |
1216 | 910 | |
1217 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました | |
911 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました。 | |
1218 | 912 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
1219 | 913 | パースされたことを意味します; 例えば: |
1220 | 914 | |
1221 | 915 | open FOO || die; |
1222 | 916 | |
1223 | 917 | =begin original |
1224 | 918 | |
1225 | 919 | It may also indicate a misspelled constant that has been interpreted as |
1226 | 920 | a bareword: |
1227 | 921 | |
1228 | 922 | =end original |
1229 | 923 | |
1230 | 924 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
1231 | 925 | 示している場合もあります: |
1232 | 926 | |
1233 | 927 | use constant TYPO => 1; |
1234 | 928 | if (TYOP) { print "foo" } |
1235 | 929 | |
1236 | 930 | =begin original |
1237 | 931 | |
1238 | 932 | The C<strict> pragma is useful in avoiding such errors. |
1239 | 933 | |
1240 | 934 | =end original |
1241 | 935 | |
1242 | 936 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
1243 | 937 | |
1244 | =item Bareword in require contains "%s" | |
1245 | ||
1246 | =item Bareword in require maps to disallowed filename "%s" | |
1247 | ||
1248 | =item Bareword in require maps to empty filename | |
1249 | ||
1250 | =begin original | |
1251 | ||
1252 | (F) The bareword form of require has been invoked with a filename which could | |
1253 | not have been generated by a valid bareword permitted by the parser. You | |
1254 | shouldn't be able to get this error from Perl code, but XS code may throw it | |
1255 | if it passes an invalid module name to C<Perl_load_module>. | |
1256 | ||
1257 | =end original | |
1258 | ||
1259 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって | |
1260 | 生成することができないファイル名で起動されました。 | |
1261 | このエラーを Perl コードから得るようにできるべきではありませんが、 | |
1262 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは | |
1263 | これを投げるかもしれません。 | |
1264 | ||
1265 | =item Bareword in require must not start with a double-colon: "%s" | |
1266 | ||
1267 | =begin original | |
1268 | ||
1269 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a | |
1270 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. | |
1271 | ||
1272 | =end original | |
1273 | ||
1274 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから | |
1275 | 開始することはできません。 | |
1276 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 | |
1277 | ||
1278 | 938 | =item Bareword "%s" not allowed while "strict subs" in use |
1279 | 939 | |
1280 | 940 | =begin original |
1281 | 941 | |
1282 | 942 | (F) With "strict subs" in use, a bareword is only allowed as a |
1283 | 943 | subroutine identifier, in curly brackets or to the left of the "=>" |
1284 | 944 | symbol. Perhaps you need to predeclare a subroutine? |
1285 | 945 | |
1286 | 946 | =end original |
1287 | 947 | |
1288 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
948 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
1289 | シンボル "=>" の左側でのみ許されます。 | |
949 | 中かっこの中、シンボル "=>" の左側でのみ許されます。 | |
1290 | 950 | おそらくサブルーチンを先行宣言する必要があるのでは? |
1291 | 951 | |
1292 | 952 | =item Bareword "%s" refers to nonexistent package |
1293 | 953 | |
1294 | 954 | =begin original |
1295 | 955 | |
1296 | 956 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
1297 | 957 | compiler saw no other uses of that namespace before that point. Perhaps |
1298 | 958 | you need to predeclare a package? |
1299 | 959 | |
1300 | 960 | =end original |
1301 | 961 | |
1302 | 962 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
1303 | 963 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
1304 | 964 | 発見できませんでした。 |
1305 | 965 | おそらくパッケージを専攻宣言する必要があるのでは? |
1306 | 966 | |
1307 | =item Bareword filehandle "%s" not allowed under 'no feature "bareword_filehandles"' | |
1308 | ||
1309 | =begin original | |
1310 | ||
1311 | (F) You attempted to use a bareword filehandle with the | |
1312 | C<bareword_filehandles> feature disabled. | |
1313 | ||
1314 | =end original | |
1315 | ||
1316 | (F) C<bareword_filehandles> 機能が無効のときに | |
1317 | 裸の単語のファイルハンドルを使おうとしました。 | |
1318 | ||
1319 | =begin original | |
1320 | ||
1321 | Only the built-in handles C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
1322 | C<ARGVOUT> and C<DATA> can be used with the C<bareword_filehandles> | |
1323 | feature disabled. | |
1324 | ||
1325 | =end original | |
1326 | ||
1327 | C<bareword_filehandles> 機能が無効のときは、 | |
1328 | 組み込みハンドル C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
1329 | C<ARGVOUT>, C<DATA> 飲みが使えます。 | |
1330 | ||
1331 | 967 | =item BEGIN failed--compilation aborted |
1332 | 968 | |
1333 | 969 | =begin original |
1334 | 970 | |
1335 | 971 | (F) An untrapped exception was raised while executing a BEGIN |
1336 | 972 | subroutine. Compilation stops immediately and the interpreter is |
1337 | 973 | exited. |
1338 | 974 | |
1339 | 975 | =end original |
1340 | 976 | |
1341 | (F) BEGIN サブルー | |
977 | (F) BEGIN サブルーティンの実行中にトラップ不可能な例外が発生しました。 | |
1342 | 978 | コンパイルは即座に停止し、インタプリタは中止します。 |
1343 | 979 | |
1344 | 980 | =item BEGIN not safe after errors--compilation aborted |
1345 | 981 | |
1346 | 982 | =begin original |
1347 | 983 | |
1348 | 984 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
1349 | 985 | implies a C<BEGIN {}>) after one or more compilation errors had already |
1350 | 986 | occurred. Since the intended environment for the C<BEGIN {}> could not |
1351 | 987 | be guaranteed (due to the errors), and since subsequent code likely |
1352 | 988 | depends on its correct operation, Perl just gave up. |
1353 | 989 | |
1354 | 990 | =end original |
1355 | 991 | |
1356 | 992 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
1357 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
993 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
1358 | ||
994 | 発見しました。 | |
1359 | ||
995 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、 | |
996 | 引き続くコードは正しい処理に依存していると考えられるので、 | |
997 | Perl は単に諦めました。 | |
1360 | 998 | |
1361 | =item \ | |
999 | =item \1 better written as $1 | |
1362 | 1000 | |
1363 | 1001 | =begin original |
1364 | 1002 | |
1365 | 1003 | (W syntax) Outside of patterns, backreferences live on as variables. |
1366 | 1004 | The use of backslashes is grandfathered on the right-hand side of a |
1367 | 1005 | substitution, but stylistically it's better to use the variable form |
1368 | 1006 | because other Perl programmers will expect it, and it works better if |
1369 | 1007 | there are more than 9 backreferences. |
1370 | 1008 | |
1371 | 1009 | =end original |
1372 | 1010 | |
1373 | 1011 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1374 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
1012 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
1375 | Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
1013 | 他の Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
1376 | 変数形式を使う方が良いでしょう。 | |
1014 | うまく動作する、変数形式を使う方が良いでしょう。 | |
1377 | 1015 | |
1378 | 1016 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1379 | 1017 | |
1380 | 1018 | =begin original |
1381 | 1019 | |
1382 | 1020 | (W portable) The binary number you specified is larger than 2**32-1 |
1383 | 1021 | (4294967295) and therefore non-portable between systems. See |
1384 | 1022 | L<perlport> for more on portability concerns. |
1385 | 1023 | |
1386 | 1024 | =end original |
1387 | 1025 | |
1388 | 1026 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1389 | 1027 | システム間での移植性がありません。 |
1390 | 1028 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1391 | 1029 | |
1392 | 1030 | =item bind() on closed socket %s |
1393 | 1031 | |
1394 | 1032 | =begin original |
1395 | 1033 | |
1396 | 1034 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1397 | 1035 | check the return value of your socket() call? See L<perlfunc/bind>. |
1398 | 1036 | |
1399 | 1037 | =end original |
1400 | 1038 | |
1401 | 1039 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1402 | 1040 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1403 | 1041 | L<perlfunc/bind> を参照してください。 |
1404 | 1042 | |
1405 | 1043 | =item binmode() on closed filehandle %s |
1406 | 1044 | |
1407 | 1045 | =begin original |
1408 | 1046 | |
1409 | 1047 | (W unopened) You tried binmode() on a filehandle that was never opened. |
1410 | Check you | |
1048 | Check you control flow and number of arguments. | |
1411 | 1049 | |
1412 | 1050 | =end original |
1413 | 1051 | |
1414 | 1052 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 |
1415 | 1053 | 制御フローと引数の数をチェックしてください。 |
1416 | 1054 | |
1417 | 1055 | =item Bit vector size > 32 non-portable |
1418 | 1056 | |
1419 | 1057 | =begin original |
1420 | 1058 | |
1421 | 1059 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
1422 | 1060 | |
1423 | 1061 | =end original |
1424 | 1062 | |
1425 | 1063 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
1426 | 1064 | |
1427 | =item Bizarre copy of %s | |
1065 | =item Bizarre copy of %s in %s | |
1428 | 1066 | |
1429 | 1067 | =begin original |
1430 | 1068 | |
1431 | 1069 | (P) Perl detected an attempt to copy an internal value that is not |
1432 | cop | |
1070 | copyable. | |
1433 | 1071 | |
1434 | 1072 | =end original |
1435 | 1073 | |
1436 | 1074 | (P) コピーできない内部の値をコピーしようとしました。 |
1437 | 1075 | |
1438 | =item Bizarre SvTYPE [%d] | |
1439 | ||
1440 | =begin original | |
1441 | ||
1442 | (P) When starting a new thread or returning values from a thread, Perl | |
1443 | encountered an invalid data type. | |
1444 | ||
1445 | =end original | |
1446 | ||
1447 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な | |
1448 | データ型に遭遇しました。 | |
1449 | ||
1450 | =item Both or neither range ends should be Unicode in regex; marked by | |
1451 | S<<-- HERE> in m/%s/ | |
1452 | ||
1453 | =begin original | |
1454 | ||
1455 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
1456 | ||
1457 | =end original | |
1458 | ||
1459 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
1460 | ||
1461 | =begin original | |
1462 | ||
1463 | In a bracketed character class in a regular expression pattern, you | |
1464 | had a range which has exactly one end of it specified using C<\N{}>, and | |
1465 | the other end is specified using a non-portable mechanism. Perl treats | |
1466 | the range as a Unicode range, that is, all the characters in it are | |
1467 | considered to be the Unicode characters, and which may be different code | |
1468 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> | |
1469 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it | |
1470 | matches the characters whose code points in Unicode are 6, 7, and 8. | |
1471 | But that C<\x08> might indicate that you meant something different, so | |
1472 | the warning gets raised. | |
1473 | ||
1474 | =end original | |
1475 | ||
1476 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って | |
1477 | 指定し、もう片方は移植性のない方法を使って指定しました。 | |
1478 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は | |
1479 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは | |
1480 | 異なる符号位置になるかもしれません。 | |
1481 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と | |
1482 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 | |
1483 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 | |
1484 | 警告が発生します。 | |
1485 | ||
1486 | 1076 | =item Buffer overflow in prime_env_iter: %s |
1487 | 1077 | |
1488 | 1078 | =begin original |
1489 | 1079 | |
1490 | 1080 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1491 | 1081 | iterate over %ENV, it encountered a logical name or symbol definition |
1492 | 1082 | which was too long, so it was truncated to the string shown. |
1493 | 1083 | |
1494 | 1084 | =end original |
1495 | 1085 | |
1496 | (W | |
1086 | (W) VMS 特有の警告です。 | |
1497 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
1087 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
1498 | 文字列は表示したように切り詰められました。 | |
1088 | 遭遇したので、文字列は表示したように切り詰められました。 | |
1499 | 1089 | |
1500 | 1090 | =item Callback called exit |
1501 | 1091 | |
1502 | 1092 | =begin original |
1503 | 1093 | |
1504 | 1094 | (F) A subroutine invoked from an external package via call_sv() |
1505 | 1095 | exited by calling exit. |
1506 | 1096 | |
1507 | 1097 | =end original |
1508 | 1098 | |
1509 | (F) 外部パッケージから call_sv() で起動されたサブルー | |
1099 | (F) 外部パッケージから call_sv() で起動されたサブルーティンが exit を | |
1510 | 終了しました。 | |
1100 | 呼んで終了しました。 | |
1511 | 1101 | |
1512 | 1102 | =item %s() called too early to check prototype |
1513 | 1103 | |
1514 | 1104 | =begin original |
1515 | 1105 | |
1516 | 1106 | (W prototype) You've called a function that has a prototype before the |
1517 | 1107 | parser saw a definition or declaration for it, and Perl could not check |
1518 | 1108 | that the call conforms to the prototype. You need to either add an |
1519 | 1109 | early prototype declaration for the subroutine in question, or move the |
1520 | 1110 | subroutine definition ahead of the call to get proper prototype |
1521 | 1111 | checking. Alternatively, if you are certain that you're calling the |
1522 | 1112 | function correctly, you may put an ampersand before the name to avoid |
1523 | 1113 | the warning. See L<perlsub>. |
1524 | 1114 | |
1525 | 1115 | =end original |
1526 | 1116 | |
1527 | 1117 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1528 | 1118 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1529 | 1119 | 従っているかどうかをチェックできませんでした。 |
1530 | 1120 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1531 | 1121 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1532 | 1122 | 移動させる必要があります。 |
1533 | 1123 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1534 | 1124 | アンパサンドを付けることで警告を回避できます。 |
1535 | 1125 | L<perlsub> を参照してください。 |
1536 | 1126 | |
1537 | =item Cannot chr %f | |
1538 | ||
1539 | =begin original | |
1540 | ||
1541 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. | |
1542 | ||
1543 | =end original | |
1544 | ||
1545 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 | |
1546 | ||
1547 | =item Cannot complete in-place edit of %s: %s | |
1548 | ||
1549 | =begin original | |
1550 | ||
1551 | (F) Your perl script appears to have changed directory while | |
1552 | performing an in-place edit of a file specified by a relative path, | |
1553 | and your system doesn't include the directory relative POSIX functions | |
1554 | needed to handle that. | |
1555 | ||
1556 | =end original | |
1557 | ||
1558 | (F) perl スクリプトが、相対パスで指定されたファイルのその場編集を | |
1559 | 実行中にディレクトリを変更し、システムにはこれに対応するために必要な | |
1560 | ディレクトリ相対 POSIX 関数がないようです。 | |
1561 | ||
1562 | =item Cannot compress %f in pack | |
1563 | ||
1564 | =begin original | |
1565 | ||
1566 | (F) You tried compressing an infinity or not-a-number as an unsigned | |
1567 | integer with BER, which makes no sense. | |
1568 | ||
1569 | =end original | |
1570 | ||
1571 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 | |
1572 | ||
1573 | 1127 | =item Cannot compress integer in pack |
1574 | 1128 | |
1575 | 1129 | =begin original |
1576 | 1130 | |
1577 | (F) An argument to pack("w",...) was too large to compress. | |
1131 | (F) An argument to pack("w",...) was too large to compress. The BER | |
1578 | ||
1132 | compressed integer format can only be used with positive integers, and you | |
1579 | ||
1133 | attempted to compress Infinity or a very large number (> 1e308). | |
1580 | 1134 | See L<perlfunc/pack>. |
1581 | 1135 | |
1582 | 1136 | =end original |
1583 | 1137 | |
1584 | 1138 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 |
1585 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 | |
1139 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、無限やとても大きい数 | |
1586 | 1140 | (> 1e308) を圧縮しようとしました。 |
1587 | 1141 | L<perlfunc/pack> を参照してください。 |
1588 | 1142 | |
1589 | 1143 | =item Cannot compress negative numbers in pack |
1590 | 1144 | |
1591 | 1145 | =begin original |
1592 | 1146 | |
1593 | 1147 | (F) An argument to pack("w",...) was negative. The BER compressed integer |
1594 | 1148 | format can only be used with positive integers. See L<perlfunc/pack>. |
1595 | 1149 | |
1596 | 1150 | =end original |
1597 | 1151 | |
1598 | 1152 | (F) pack("w",...) の引数が負数です。 |
1599 | 1153 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 |
1600 | 1154 | L<perlfunc/pack> を参照してください。 |
1601 | 1155 | |
1602 | =item Cannot convert a reference to %s to typeglob | |
1603 | ||
1604 | =begin original | |
1605 | ||
1606 | (F) You manipulated Perl's symbol table directly, stored a reference | |
1607 | in it, then tried to access that symbol via conventional Perl syntax. | |
1608 | The access triggers Perl to autovivify that typeglob, but it there is | |
1609 | no legal conversion from that type of reference to a typeglob. | |
1610 | ||
1611 | =end original | |
1612 | ||
1613 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に | |
1614 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって | |
1615 | アクセスしようとしました。 | |
1616 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 | |
1617 | リファレンス型から型グロブへの正当な変換方法はありません。 | |
1618 | ||
1619 | =item Cannot copy to %s | |
1620 | ||
1621 | =begin original | |
1622 | ||
1623 | (P) Perl detected an attempt to copy a value to an internal type that cannot | |
1624 | be directly assigned to. | |
1625 | ||
1626 | =end original | |
1627 | ||
1628 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを | |
1629 | 検出しました。 | |
1630 | ||
1631 | =item Cannot find encoding "%s" | |
1632 | ||
1633 | =begin original | |
1634 | ||
1635 | (S io) You tried to apply an encoding that did not exist to a filehandle, | |
1636 | either with open() or binmode(). | |
1637 | ||
1638 | =end original | |
1639 | ||
1640 | (S io) open() または binmode() のファイルハンドルに存在しない | |
1641 | エンコーディングを適用しようとしました。 | |
1642 | ||
1643 | =item Cannot open %s as a dirhandle: it is already open as a filehandle | |
1644 | ||
1645 | =begin original | |
1646 | ||
1647 | (F) You tried to use opendir() to associate a dirhandle to a symbol (glob | |
1648 | or scalar) that already holds a filehandle. Since this idiom might render | |
1649 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1650 | is a fatal error. | |
1651 | ||
1652 | =end original | |
1653 | ||
1654 | (F) すでにファイルハンドルを保持しているシンボル | |
1655 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
1656 | opendir() を使おうとしました。 | |
1657 | この用法はコードを間違えて解釈する可能性があるので、 | |
1658 | Perl 5.10 で廃止予定になりました。 | |
1659 | Perl 5.28 から、これは致命的エラーです。 | |
1660 | ||
1661 | =item Cannot open %s as a filehandle: it is already open as a dirhandle | |
1662 | ||
1663 | =begin original | |
1664 | ||
1665 | (F) You tried to use open() to associate a filehandle to a symbol (glob | |
1666 | or scalar) that already holds a dirhandle. Since this idiom might render | |
1667 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1668 | is a fatal error. | |
1669 | ||
1670 | =end original | |
1671 | ||
1672 | (F) すでにディレクトリハンドルを保持しているシンボル | |
1673 | (グロブまたはスカラ)にファイルハンドルを関連付けるために | |
1674 | open() を使おうとしました。 | |
1675 | この用法はコードを間違えて解釈する可能性があるので、 | |
1676 | Perl 5.10 で廃止予定になりました。 | |
1677 | Perl 5.28 から、これは致命的エラーです。 | |
1678 | ||
1679 | =item Cannot pack %f with '%c' | |
1680 | ||
1681 | =begin original | |
1682 | ||
1683 | (F) You tried converting an infinity or not-a-number to an integer, | |
1684 | which makes no sense. | |
1685 | ||
1686 | =end original | |
1687 | ||
1688 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 | |
1689 | ||
1690 | =item Cannot printf %f with '%c' | |
1691 | ||
1692 | =begin original | |
1693 | ||
1694 | (F) You tried printing an infinity or not-a-number as a character (%c), | |
1695 | which makes no sense. Maybe you meant '%s', or just stringifying it? | |
1696 | ||
1697 | =end original | |
1698 | ||
1699 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 | |
1700 | おそらく '%s' か、単に文字列化したかったのでは? | |
1701 | ||
1702 | =item Cannot set tied @DB::args | |
1703 | ||
1704 | =begin original | |
1705 | ||
1706 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> | |
1707 | is not supported. (Before this error was added, it used to crash.) | |
1708 | ||
1709 | =end original | |
1710 | ||
1711 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 | |
1712 | C<@DB::args> の tie は非対応です。 | |
1713 | (このエラーが追加する前は、クラッシュしていました。) | |
1714 | ||
1715 | =item Cannot tie unreifiable array | |
1716 | ||
1717 | =begin original | |
1718 | ||
1719 | (P) You somehow managed to call C<tie> on an array that does not | |
1720 | keep a reference count on its arguments and cannot be made to | |
1721 | do so. Such arrays are not even supposed to be accessible to | |
1722 | Perl code, but are only used internally. | |
1723 | ||
1724 | =end original | |
1725 | ||
1726 | (P) 参照カウントを保持していない配列を引数にして C<tie> を | |
1727 | 呼び出そうとしましたがそうできませんでした。 | |
1728 | このような配列は Perl コードからアクセスできると想定してはならず、 | |
1729 | 内部だけで使われます。 | |
1730 | ||
1731 | =item Cannot yet reorder sv_vcatpvfn() arguments from va_list | |
1732 | ||
1733 | =begin original | |
1734 | ||
1735 | (F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a | |
1736 | format string that specifies explicit indexes for some of the elements, and | |
1737 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
1738 | supported. XS authors wanting to do this must instead construct a C array | |
1739 | of C<SV*> scalars containing the arguments. | |
1740 | ||
1741 | =end original | |
1742 | ||
1743 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
1744 | フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、 | |
1745 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
1746 | これは現在のところ対応していません。 | |
1747 | これをしたい XS 作者は代わりに、引数を含む | |
1748 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
1749 | ||
1750 | 1156 | =item Can only compress unsigned integers in pack |
1751 | 1157 | |
1752 | 1158 | =begin original |
1753 | 1159 | |
1754 | 1160 | (F) An argument to pack("w",...) was not an integer. The BER compressed |
1755 | 1161 | integer format can only be used with positive integers, and you attempted |
1756 | 1162 | to compress something else. See L<perlfunc/pack>. |
1757 | 1163 | |
1758 | 1164 | =end original |
1759 | 1165 | |
1760 | 1166 | (F) pack("w",...) の引数が整数ではありません。 |
1761 | 1167 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを |
1762 | 1168 | 圧縮しようとしました。 |
1763 | 1169 | L<perlfunc/pack> を参照してください。 |
1764 | 1170 | |
1765 | 1171 | =item Can't bless non-reference value |
1766 | 1172 | |
1767 | 1173 | =begin original |
1768 | 1174 | |
1769 | 1175 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1770 | 1176 | encapsulation of objects. See L<perlobj>. |
1771 | 1177 | |
1772 | 1178 | =end original |
1773 | 1179 | |
1774 | 1180 | (F) ハードリファレンスのみが bless できます。 |
1775 | 1181 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1776 | 1182 | L<perlobj> を参照してください。 |
1777 | 1183 | |
1778 | =item Can't | |
1184 | =item Can't call method "%s" in empty package "%s" | |
1779 | 1185 | |
1780 | 1186 | =begin original |
1781 | 1187 | |
1782 | (F) You called | |
1188 | (F) You called a method correctly, and it correctly indicated a package | |
1783 | ||
1189 | functioning as a class, but that package doesn't have ANYTHING defined | |
1190 | in it, let alone methods. See L<perlobj>. | |
1784 | 1191 | |
1785 | 1192 | =end original |
1786 | 1193 | |
1787 | (F) | |
1194 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを | |
1788 | ||
1195 | 正しく示していますが、そのパッケージには、何も定義されておらず、 | |
1789 | ||
1196 | メソッドだけになっています。 | |
1197 | L<perlobj> を参照してください。 | |
1790 | 1198 | |
1791 | =item Can't "break" outside a given block | |
1792 | ||
1793 | =begin original | |
1794 | ||
1795 | (F) You called C<break>, but you're not inside a C<given> block. | |
1796 | ||
1797 | =end original | |
1798 | ||
1799 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 | |
1800 | ||
1801 | 1199 | =item Can't call method "%s" on an undefined value |
1802 | 1200 | |
1803 | 1201 | =begin original |
1804 | 1202 | |
1805 | 1203 | (F) You used the syntax of a method call, but the slot filled by the |
1806 | 1204 | object reference or package name contains an undefined value. Something |
1807 | 1205 | like this will reproduce the error: |
1808 | 1206 | |
1809 | 1207 | =end original |
1810 | 1208 | |
1811 | (F) メソッド呼び出しの文法が使われていますが、 | |
1209 | (F) メソッド呼び出しの文法が使われていますが、 | |
1812 | パッケージ名であるべきところが未定義値です。 | |
1210 | オブジェクトリファレンスかパッケージ名であるべきところが未定義値です。 | |
1813 | 1211 | 以下のように書くとエラーが再現します: |
1814 | 1212 | |
1815 | 1213 | $BADREF = undef; |
1816 | 1214 | process $BADREF 1,2,3; |
1817 | 1215 | $BADREF->process(1,2,3); |
1818 | 1216 | |
1819 | 1217 | =item Can't call method "%s" on unblessed reference |
1820 | 1218 | |
1821 | 1219 | =begin original |
1822 | 1220 | |
1823 | 1221 | (F) A method call must know in what package it's supposed to run. It |
1824 | 1222 | ordinarily finds this out from the object reference you supply, but you |
1825 | 1223 | didn't supply an object reference in this case. A reference isn't an |
1826 | 1224 | object reference until it has been blessed. See L<perlobj>. |
1827 | 1225 | |
1828 | 1226 | =end original |
1829 | 1227 | |
1830 | 1228 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1831 | 1229 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1832 | 1230 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1833 | 1231 | 渡されませんでした。 |
1834 | 1232 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1835 | 1233 | L<perlobj> を参照してください。 |
1836 | 1234 | |
1837 | 1235 | =item Can't call method "%s" without a package or object reference |
1838 | 1236 | |
1839 | 1237 | =begin original |
1840 | 1238 | |
1841 | 1239 | (F) You used the syntax of a method call, but the slot filled by the |
1842 | 1240 | object reference or package name contains an expression that returns a |
1843 | 1241 | defined value which is neither an object reference nor a package name. |
1844 | 1242 | Something like this will reproduce the error: |
1845 | 1243 | |
1846 | 1244 | =end original |
1847 | 1245 | |
1848 | 1246 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1849 | 1247 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1850 | 1248 | パッケージ名も返さない定義された式が書かれています。 |
1851 | ||
1249 | (おそらく、何も書いてないかもしれません。) | |
1250 | 以下のようなものは、エラーとなります: | |
1852 | 1251 | |
1853 | 1252 | $BADREF = 42; |
1854 | 1253 | process $BADREF 1,2,3; |
1855 | 1254 | $BADREF->process(1,2,3); |
1856 | 1255 | |
1857 | =item Can't call mro_isa_changed_in() on anonymous symbol table | |
1858 | ||
1859 | =begin original | |
1860 | ||
1861 | (P) Perl got confused as to whether a hash was a plain hash or a | |
1862 | symbol table hash when trying to update @ISA caches. | |
1863 | ||
1864 | =end original | |
1865 | ||
1866 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか | |
1867 | シンボルテーブルハッシュかについて perl は混乱しました。 | |
1868 | ||
1869 | =item Can't call mro_method_changed_in() on anonymous symbol table | |
1870 | ||
1871 | =begin original | |
1872 | ||
1873 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was | |
1874 | not attached to the symbol table. | |
1875 | ||
1876 | =end original | |
1877 | ||
1878 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して | |
1879 | C<mro_method_changed_in> を呼び出しました。 | |
1880 | ||
1881 | 1256 | =item Can't chdir to %s |
1882 | 1257 | |
1883 | 1258 | =begin original |
1884 | 1259 | |
1885 | (F) You called C<perl -x/foo/bar>, but | |
1260 | (F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory | |
1886 | 1261 | that you can chdir to, possibly because it doesn't exist. |
1887 | 1262 | |
1888 | 1263 | =end original |
1889 | 1264 | |
1890 | (F) C<perl -x/foo/bar> のようにして起動しましたが、 | |
1265 | (F) C<perl -x/foo/bar> のようにして起動したましたが、 | |
1891 | chdir することができません | |
1266 | C</foo/bar> にchdir することができません。 | |
1267 | おそらく、存在しないのではないでしょうか。 | |
1892 | 1268 | |
1893 | 1269 | =item Can't check filesystem of script "%s" for nosuid |
1894 | 1270 | |
1895 | 1271 | =begin original |
1896 | 1272 | |
1897 | 1273 | (P) For some reason you can't check the filesystem of the script for |
1898 | 1274 | nosuid. |
1899 | 1275 | |
1900 | 1276 | =end original |
1901 | 1277 | |
1902 | 1278 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
1903 | 1279 | 調べることができません。 |
1904 | 1280 | |
1905 | =item Can't coerce | |
1281 | =item Can't coerce array into hash | |
1906 | 1282 | |
1907 | 1283 | =begin original |
1908 | 1284 | |
1285 | (F) You used an array where a hash was expected, but the array has no | |
1286 | information on how to map from keys to array indices. You can do that | |
1287 | only with arrays that have a hash reference at index 0. | |
1288 | ||
1289 | =end original | |
1290 | ||
1291 | (F) ハッシュが想定される場所で配列を使っていますが、 | |
1292 | この配列にはキーから添え字に変換するための情報がありません。 | |
1293 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 | |
1294 | ||
1295 | =item Can't coerce %s to integer in %s | |
1296 | ||
1297 | =begin original | |
1298 | ||
1909 | 1299 | (F) Certain types of SVs, in particular real symbol table entries |
1910 | 1300 | (typeglobs), can't be forced to stop being what they are. So you can't |
1911 | 1301 | say things like: |
1912 | 1302 | |
1913 | 1303 | =end original |
1914 | 1304 | |
1915 | 1305 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1916 | ||
1306 | 1 つの型に留めておくことができません。 | |
1917 | 1307 | したがって、以下のようにすることはできません: |
1918 | 1308 | |
1919 | 1309 | *foo += 1; |
1920 | 1310 | |
1921 | 1311 | =begin original |
1922 | 1312 | |
1923 | 1313 | You CAN say |
1924 | 1314 | |
1925 | 1315 | =end original |
1926 | 1316 | |
1927 | 1317 | 以下のようにはできますが: |
1928 | 1318 | |
1929 | 1319 | $foo = *foo; |
1930 | 1320 | $foo += 1; |
1931 | 1321 | |
1932 | 1322 | =begin original |
1933 | 1323 | |
1934 | 1324 | but then $foo no longer contains a glob. |
1935 | 1325 | |
1936 | 1326 | =end original |
1937 | 1327 | |
1938 | 1328 | $foo にはもはやグロブは残っていません。 |
1939 | 1329 | |
1940 | =item Can't | |
1330 | =item Can't coerce %s to number in %s | |
1941 | 1331 | |
1942 | 1332 | =begin original |
1943 | 1333 | |
1944 | (F) | |
1334 | (F) Certain types of SVs, in particular real symbol table entries | |
1945 | o | |
1335 | (typeglobs), can't be forced to stop being what they are. | |
1946 | 1336 | |
1947 | 1337 | =end original |
1948 | 1338 | |
1949 | (F) | |
1339 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 | |
1950 | ||
1340 | 1 つの型に留めておくことができません。 | |
1951 | 1341 | |
1952 | =item Can't cre | |
1342 | =item Can't coerce %s to string in %s | |
1953 | 1343 | |
1954 | 1344 | =begin original |
1955 | 1345 | |
1956 | ( | |
1346 | (F) Certain types of SVs, in particular real symbol table entries | |
1957 | ||
1347 | (typeglobs), can't be forced to stop being what they are. | |
1958 | 1348 | |
1959 | 1349 | =end original |
1960 | 1350 | |
1961 | ( | |
1351 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 | |
1962 | ||
1352 | 1 つの型に留めておくことができません。 | |
1963 | 1353 | |
1964 | =item Can't | |
1354 | =item Can't create pipe mailbox | |
1965 | 1355 | |
1966 | 1356 | =begin original |
1967 | 1357 | |
1968 | ( | |
1358 | (P) An error peculiar to VMS. The process is suffering from exhausted | |
1969 | ||
1359 | quotas or other plumbing problems. | |
1970 | 1360 | |
1971 | 1361 | =end original |
1972 | 1362 | |
1973 | (F) | |
1363 | (F) VMS 特有のエラーです。 | |
1974 | ||
1364 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 | |
1975 | これらは、名前として通常の識別子を持たなければなりません。 | |
1976 | 1365 | |
1977 | =item Can't | |
1366 | =item Can't declare class for non-scalar %s in "%s" | |
1978 | 1367 | |
1979 | 1368 | =begin original |
1980 | 1369 | |
1981 | (F) | |
1370 | (F) Currently, only scalar variables can be declared with a specific | |
1982 | ||
1371 | class qualifier in a "my" or "our" declaration. The semantics may be | |
1983 | ||
1372 | extended for other types of variables in future. | |
1984 | error if you use an explicit C<continue>.) | |
1985 | 1373 | |
1986 | 1374 | =end original |
1987 | 1375 | |
1988 | (F) | |
1376 | (F) 現在のところ、スカラ変数のみが "my" や "our" 定義の中で特定の | |
1989 | ||
1377 | クラス修飾子と共に定義できます。 | |
1990 | ||
1378 | この動作は将来には他の種類の変数に拡張されるでしょう。 | |
1991 | C<continue> を使うとエラーは発生しません。) | |
1992 | 1379 | |
1993 | =item Can't de | |
1380 | =item Can't declare %s in "%s" | |
1994 | 1381 | |
1995 | 1382 | =begin original |
1996 | 1383 | |
1997 | ( | |
1384 | (F) Only scalar, array, and hash variables may be declared as "my" or | |
1998 | ||
1385 | "our" variables. They must have ordinary identifiers as names. | |
1999 | and was unable to do so. This is likely to be due to a bug in the perl | |
2000 | internals, or due to a bug in XS code which manipulates perl optrees. | |
2001 | 1386 | |
2002 | 1387 | =end original |
2003 | 1388 | |
2004 | ( | |
1389 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my" や "our" 変数として | |
2005 | ||
1390 | 宣言できます。 | |
2006 | ||
1391 | これらは、名前として通常の識別子を持たなければなりません。 | |
2007 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する | |
2008 | XS コードのバグによるものです。 | |
2009 | 1392 | |
2010 | 1393 | =item Can't do inplace edit: %s is not a regular file |
2011 | 1394 | |
2012 | 1395 | =begin original |
2013 | 1396 | |
2014 | 1397 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
2015 | a file in /dev, a FIFO | |
1398 | a file in /dev, or a FIFO. The file was ignored. | |
2016 | 1399 | |
2017 | 1400 | =end original |
2018 | 1401 | |
2019 | (S inplace) /dev | |
1402 | (S inplace) /dev や FIFO のような、特殊ファイルに対して、B<-i> スイッチを | |
2020 | ||
1403 | 使おうとしました。 | |
2021 | ||
1404 | そのファイルは、無視されました。 | |
2022 | 1405 | |
2023 | 1406 | =item Can't do inplace edit on %s: %s |
2024 | 1407 | |
2025 | 1408 | =begin original |
2026 | 1409 | |
2027 | 1410 | (S inplace) The creation of the new file failed for the indicated |
2028 | 1411 | reason. |
2029 | 1412 | |
2030 | 1413 | =end original |
2031 | 1414 | |
2032 | 1415 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
2033 | 1416 | |
1417 | =item Can't do inplace edit without backup | |
1418 | ||
1419 | =begin original | |
1420 | ||
1421 | (F) You're on a system such as MS-DOS that gets confused if you try | |
1422 | reading from a deleted (but still opened) file. You have to say | |
1423 | C<-i.bak>, or some such. | |
1424 | ||
1425 | =end original | |
1426 | ||
1427 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると | |
1428 | おかしくなる MS-DOS のようなシステムで実行しています。 | |
1429 | C<-i.bak> のようにバックアップを指定してください。 | |
1430 | ||
2034 | 1431 | =item Can't do inplace edit: %s would not be unique |
2035 | 1432 | |
2036 | 1433 | =begin original |
2037 | 1434 | |
2038 | 1435 | (S inplace) Your filesystem does not support filenames longer than 14 |
2039 | 1436 | characters and Perl was unable to create a unique filename during |
2040 | 1437 | inplace editing with the B<-i> switch. The file was ignored. |
2041 | 1438 | |
2042 | 1439 | =end original |
2043 | 1440 | |
2044 | 1441 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
2045 | 1442 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
2046 | 1443 | 作成ができませんでした。 |
2047 | 1444 | このファイルは無視されます。 |
2048 | 1445 | |
2049 | =item Can't do | |
1446 | =item Can't do {n,m} with n > m in regex; marked by <-- HERE in m/%s/ | |
2050 | 1447 | |
2051 | 1448 | =begin original |
2052 | 1449 | |
2053 | ( | |
1450 | (F) Minima must be less than or equal to maxima. If you really want your | |
2054 | ||
1451 | regexp to match something 0 times, just put {0}. The <-- HERE shows in the | |
2055 | ||
1452 | regular expression about where the problem was discovered. See L<perlre>. | |
2056 | operation would mix Unicode and locale rules, which likely conflict. | |
2057 | Mixing of different rule types is forbidden, so the operation was not | |
2058 | done; instead the result is the indicated value, which is the best | |
2059 | available that uses entirely Unicode rules. That turns out to almost | |
2060 | always be the original character, unchanged. | |
2061 | 1453 | |
2062 | 1454 | =end original |
2063 | 1455 | |
2064 | ( | |
1456 | (F) 最小値は最大値以下でなければなりません。 | |
2065 | ||
1457 | もし、本当に正規表現が 0 回繰り返したものにマッチさせたいなら、単に | |
2066 | ||
1458 | {0} としてください。 | |
2067 | ||
1459 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
2068 | ||
1460 | L<perlre> を参照してください。 | |
2069 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を | |
2070 | 使うという、最も利用可能なものです。 | |
2071 | これは、ほとんど常に、元の文字を変更しないままにします。 | |
2072 | 1461 | |
1462 | =item Can't do setegid! | |
1463 | ||
2073 | 1464 | =begin original |
2074 | 1465 | |
2075 | ||
1466 | (P) The setegid() call failed for some reason in the setuid emulator of | |
2076 | ||
1467 | suidperl. | |
2077 | Unicode rules would normally cause the result of this operation to | |
2078 | contain a character that is in the range specified by the locale, | |
2079 | 0..255, and hence is subject to the locale's rules, not Unicode's. | |
2080 | 1468 | |
2081 | 1469 | =end original |
2082 | 1470 | |
2083 | ||
1471 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
2084 | ||
1472 | setegid() 呼び出しが失敗しました。 | |
2085 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を | |
2086 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの | |
2087 | 規則を想定される場合に発生します。 | |
2088 | 1473 | |
1474 | =item Can't do seteuid! | |
1475 | ||
2089 | 1476 | =begin original |
2090 | 1477 | |
2091 | ||
1478 | (P) The setuid emulator of suidperl failed for some reason. | |
2092 | like its numeric and time formatting (and not C<LC_CTYPE>), consider | |
2093 | using a restricted form of the locale pragma (see L<perllocale/The "use | |
2094 | locale" pragma>) like "S<C<use locale ':not_characters'>>". | |
2095 | 1479 | |
2096 | 1480 | =end original |
2097 | 1481 | |
2098 | ||
1482 | (P) suidperl の setuid エミュレータが何らかの理由によって失敗しました。 | |
2099 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 | |
2100 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された | |
2101 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを | |
2102 | 検討してください。 | |
2103 | 1483 | |
1484 | =item Can't do setuid | |
1485 | ||
2104 | 1486 | =begin original |
2105 | 1487 | |
2106 | ||
1488 | (F) This typically means that ordinary perl tried to exec suidperl to do | |
2107 | ||
1489 | setuid emulation, but couldn't exec it. It looks for a name of the form | |
2108 | ||
1490 | sperl5.000 in the same directory that the perl executable resides under | |
2109 | e | |
1491 | the name perl5.000, typically /usr/local/bin on Unix machines. If the | |
1492 | file is there, check the execute permissions. If it isn't, ask your | |
1493 | sysadmin why he and/or she removed it. | |
2110 | 1494 | |
2111 | 1495 | =end original |
2112 | 1496 | |
2113 | ||
1497 | (F) このエラーは、通常、普通の perl が setuid エミュレーションのために | |
2114 | ||
1498 | suidperl を実行しようとしましたが、実行できなかったことを意味します。 | |
2115 | ||
1499 | 特に UNIX マシンの /usr/local/bin などでは、perl の実行ファイルが、 | |
2116 | ||
1500 | perl5.000 という名前のときには、同じディレクトリで sperl5.000 という形式の | |
1501 | 名前を探します。 | |
1502 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 | |
1503 | 許可されていないようであれば、システム管理者の方に、わけを | |
1504 | 尋ねてみてください。 | |
2117 | 1505 | |
2118 | 1506 | =item Can't do waitpid with flags |
2119 | 1507 | |
2120 | 1508 | =begin original |
2121 | 1509 | |
2122 | 1510 | (F) This machine doesn't have either waitpid() or wait4(), so only |
2123 | 1511 | waitpid() without flags is emulated. |
2124 | 1512 | |
2125 | 1513 | =end original |
2126 | 1514 | |
2127 | 1515 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
2128 | 1516 | フラグの無い waitpid() のみがエミュレート可能です。 |
2129 | 1517 | |
2130 | 1518 | =item Can't emulate -%s on #! line |
2131 | 1519 | |
2132 | 1520 | =begin original |
2133 | 1521 | |
2134 | 1522 | (F) The #! line specifies a switch that doesn't make sense at this |
2135 | 1523 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
2136 | 1524 | line. |
2137 | 1525 | |
2138 | 1526 | =end original |
2139 | 1527 | |
2140 | 1528 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
2141 | 1529 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
2142 | 1530 | |
2143 | =item Can't %s %s-endian %ss on this platform | |
2144 | ||
2145 | =begin original | |
2146 | ||
2147 | (F) Your platform's byte-order is neither big-endian nor little-endian, | |
2148 | or it has a very strange pointer size. Packing and unpacking big- or | |
2149 | little-endian floating point values and pointers may not be possible. | |
2150 | See L<perlfunc/pack>. | |
2151 | ||
2152 | =end original | |
2153 | ||
2154 | (F) プラットフォームのバイト順序がビッグエンディアンでも | |
2155 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 | |
2156 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの | |
2157 | pack や unpack はできません。 | |
2158 | L<perlfunc/pack> を参照してください。 | |
2159 | ||
2160 | 1531 | =item Can't exec "%s": %s |
2161 | 1532 | |
2162 | 1533 | =begin original |
2163 | 1534 | |
2164 | 1535 | (W exec) A system(), exec(), or piped open call could not execute the |
2165 | 1536 | named program for the indicated reason. Typical reasons include: the |
2166 | 1537 | permissions were wrong on the file, the file wasn't found in |
2167 | 1538 | C<$ENV{PATH}>, the executable in question was compiled for another |
2168 | 1539 | architecture, or the #! line in a script points to an interpreter that |
2169 | 1540 | can't be run for similar reasons. (Or maybe your system doesn't support |
2170 | 1541 | #! at all.) |
2171 | 1542 | |
2172 | 1543 | =end original |
2173 | 1544 | |
2174 | 1545 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
2175 | 1546 | 呼び出しの指定されたプログラムが実行できませんでした。 |
2176 | 1547 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
2177 | 1548 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
2178 | 1549 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
2179 | 1550 | インタプリタを指している、というようなものがあります。 |
2180 | 1551 | (あるいは、このシステムで、#! がサポートされていません。) |
2181 | 1552 | |
2182 | 1553 | =item Can't exec %s |
2183 | 1554 | |
2184 | 1555 | =begin original |
2185 | 1556 | |
2186 | 1557 | (F) Perl was trying to execute the indicated program for you because |
2187 | 1558 | that's what the #! line said. If that's not what you wanted, you may |
2188 | 1559 | need to mention "perl" on the #! line somewhere. |
2189 | 1560 | |
2190 | 1561 | =end original |
2191 | 1562 | |
2192 | 1563 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
2193 | 1564 | 実行しようとしました。 |
2194 | 1565 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
2195 | 1566 | |
2196 | 1567 | =item Can't execute %s |
2197 | 1568 | |
2198 | 1569 | =begin original |
2199 | 1570 | |
2200 | 1571 | (F) You used the B<-S> switch, but the copies of the script to execute |
2201 | 1572 | found in the PATH did not have correct permissions. |
2202 | 1573 | |
2203 | 1574 | =end original |
2204 | 1575 | |
2205 | 1576 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
2206 | 1577 | 正しいパーミッションではありませんでした。 |
2207 | 1578 | |
2208 | 1579 | =item Can't find an opnumber for "%s" |
2209 | 1580 | |
2210 | 1581 | =begin original |
2211 | 1582 | |
2212 | 1583 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
2213 | 1584 | is no builtin with the name C<word>. |
2214 | 1585 | |
2215 | 1586 | =end original |
2216 | 1587 | |
2217 | 1588 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
2218 | 1589 | 名前 C<word> は組み込みではありません。 |
2219 | 1590 | |
1591 | =item Can't find %s character property "%s" | |
1592 | ||
1593 | =begin original | |
1594 | ||
1595 | (F) You used C<\p{}> or C<\P{}> but the character property by that name | |
1596 | could not be found. Maybe you misspelled the name of the property | |
1597 | (remember that the names of character properties consist only of | |
1598 | alphanumeric characters), or maybe you forgot the C<Is> or C<In> prefix? | |
1599 | ||
1600 | =end original | |
1601 | ||
1602 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字プロパティは | |
1603 | 見つかりませんでした。 | |
1604 | おそらくプロパティ名をタイプミスした(文字プロパティ名は英数字だけから | |
1605 | 構成されていることを忘れないでください)か、C<Is> か C<In> の接頭辞を | |
1606 | 忘れたのでしょう。 | |
1607 | ||
2220 | 1608 | =item Can't find label %s |
2221 | 1609 | |
2222 | 1610 | =begin original |
2223 | 1611 | |
2224 | 1612 | (F) You said to goto a label that isn't mentioned anywhere that it's |
2225 | 1613 | possible for us to go to. See L<perlfunc/goto>. |
2226 | 1614 | |
2227 | 1615 | =end original |
2228 | 1616 | |
2229 | 1617 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
2230 | 1618 | L<perlfunc/goto> を参照してください。 |
2231 | 1619 | |
2232 | 1620 | =item Can't find %s on PATH |
2233 | 1621 | |
2234 | 1622 | =begin original |
2235 | 1623 | |
2236 | 1624 | (F) You used the B<-S> switch, but the script to execute could not be |
2237 | 1625 | found in the PATH. |
2238 | 1626 | |
2239 | 1627 | =end original |
2240 | 1628 | |
2241 | 1629 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
2242 | 1630 | 見つかりませんでした。 |
2243 | 1631 | |
2244 | 1632 | =item Can't find %s on PATH, '.' not in PATH |
2245 | 1633 | |
2246 | 1634 | =begin original |
2247 | 1635 | |
2248 | 1636 | (F) You used the B<-S> switch, but the script to execute could not be |
2249 | 1637 | found in the PATH, or at least not with the correct permissions. The |
2250 | 1638 | script exists in the current directory, but PATH prohibits running it. |
2251 | 1639 | |
2252 | 1640 | =end original |
2253 | 1641 | |
2254 | 1642 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
2255 | 見つか | |
1643 | 見つかりません。あるいは少なくとも適切なパーミッションがありません。 | |
2256 | 1644 | スクリプトはカレントディレクトリにはありますが、PATH に |
2257 | 1645 | カレントディレクトリは含まれていません。 |
2258 | 1646 | |
1647 | =item Can't find %s property definition %s | |
1648 | ||
1649 | =begin original | |
1650 | ||
1651 | (F) You may have tried to use C<\p> which means a Unicode property (for | |
1652 | example C<\p{Lu}> is all uppercase letters). If you did mean to use a | |
1653 | Unicode property, see L<perlunicode> for the list of known properties. | |
1654 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
1655 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
1656 | possible C<\E>). | |
1657 | ||
1658 | =end original | |
1659 | ||
1660 | (F) (例えば \p{Lu} が全て大文字、のように) Unicode プロパティを意味する | |
1661 | C<\p> を使おうとしました。 | |
1662 | Unicode プロパティを使いたい場合は、既知のプロパティの一覧について | |
1663 | L<perlunicode> を参照してください。 | |
1664 | Unicode プロパティを使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
1665 | C<\Q\p> (C<\E> までの残りの文字列) を使って C<\p> を | |
1666 | エスケープしてください。 | |
1667 | ||
2259 | 1668 | =item Can't find string terminator %s anywhere before EOF |
2260 | 1669 | |
2261 | 1670 | =begin original |
2262 | 1671 | |
2263 | 1672 | (F) Perl strings can stretch over multiple lines. This message means |
2264 | 1673 | that the closing delimiter was omitted. Because bracketed quotes count |
2265 | 1674 | nesting levels, the following is missing its final parenthesis: |
2266 | 1675 | |
2267 | 1676 | =end original |
2268 | 1677 | |
2269 | 1678 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
2270 | 1679 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
2271 | ||
1680 | 括弧類の区切り文字では、ネストを数えるので、以下では、最後の括弧が | |
2272 | 1681 | 無いと言われます: |
2273 | 1682 | |
2274 | 1683 | print q(The character '(' starts a side comment.); |
2275 | 1684 | |
2276 | 1685 | =begin original |
2277 | 1686 | |
2278 | If you're getting this error from a here-document, you may have | |
1687 | If you're getting this error from a here-document, you may have included | |
2279 | ||
1688 | unseen whitespace before or after your closing tag. A good programmer's | |
2280 | ||
1689 | editor will have a way to help you find these characters. | |
2281 | a way to help you find these characters (or lack of characters). See | |
2282 | L<perlop> for the full details on here-documents. | |
2283 | 1690 | |
2284 | 1691 | =end original |
2285 | 1692 | |
2286 | 1693 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
2287 | 見えない空白を含んでいるか | |
1694 | 見えない空白を含んでいるかもしれません。 | |
2288 | よいプログラマ用エディタには、このような文字 | |
1695 | よいプログラマ用エディタには、このような文字を探す助けになる方法が | |
2289 | ||
1696 | あります。 | |
2290 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 | |
2291 | 1697 | |
2292 | =item Can't f | |
1698 | =item Can't fork | |
2293 | 1699 | |
2294 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
2295 | ||
2296 | 1700 | =begin original |
2297 | 1701 | |
2298 | (F) The named property which you specified via C<\p> or C<\P> is not one | |
2299 | known to Perl. Perhaps you misspelled the name? See | |
2300 | L<perluniprops/Properties accessible through \p{} and \P{}> | |
2301 | for a complete list of available official | |
2302 | properties. If it is a | |
2303 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
2304 | it must have been defined by the time the regular expression is | |
2305 | matched. | |
2306 | ||
2307 | =end original | |
2308 | ||
2309 | (F) | |
2310 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
2311 | おそらく名前をタイプミスしたのでは? | |
2312 | 公式に利用可能な特性の完全な一覧については | |
2313 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
2314 | 参照してください。 | |
2315 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
2316 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
2317 | ||
2318 | =begin original | |
2319 | ||
2320 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
2321 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
2322 | until C<\E>). | |
2323 | ||
2324 | =end original | |
2325 | ||
2326 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
2327 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を | |
2328 | エスケープしてください。 | |
2329 | ||
2330 | =item Can't fork: %s | |
2331 | ||
2332 | =begin original | |
2333 | ||
2334 | 1702 | (F) A fatal error occurred while trying to fork while opening a |
2335 | 1703 | pipeline. |
2336 | 1704 | |
2337 | 1705 | =end original |
2338 | 1706 | |
2339 | 1707 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
2340 | 1708 | 致命的エラーが発生しました。 |
2341 | 1709 | |
2342 | =item Can't fork, trying again in 5 seconds | |
2343 | ||
2344 | =begin original | |
2345 | ||
2346 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried | |
2347 | after five seconds. | |
2348 | ||
2349 | =end original | |
2350 | ||
2351 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に | |
2352 | 再試行されます。 | |
2353 | ||
2354 | 1710 | =item Can't get filespec - stale stat buffer? |
2355 | 1711 | |
2356 | 1712 | =begin original |
2357 | 1713 | |
2358 | 1714 | (S) A warning peculiar to VMS. This arises because of the difference |
2359 | 1715 | between access checks under VMS and under the Unix model Perl assumes. |
2360 | 1716 | Under VMS, access checks are done by filename, rather than by bits in |
2361 | 1717 | the stat buffer, so that ACLs and other protections can be taken into |
2362 | 1718 | account. Unfortunately, Perl assumes that the stat buffer contains all |
2363 | 1719 | the necessary information, and passes it, instead of the filespec, to |
2364 | the access | |
1720 | the access checking routine. It will try to retrieve the filespec using | |
2365 | 1721 | the device name and FID present in the stat buffer, but this works only |
2366 | 1722 | if you haven't made a subsequent call to the CRTL stat() routine, |
2367 | 1723 | because the device name is overwritten with each call. If this warning |
2368 | appears, the name lookup failed, and the access | |
1724 | appears, the name lookup failed, and the access checking routine gave up | |
2369 | and returned FALSE, just to be conservative. (Note: The access | |
1725 | and returned FALSE, just to be conservative. (Note: The access checking | |
2370 | 1726 | routine knows about the Perl C<stat> operator and file tests, so you |
2371 | 1727 | shouldn't ever see this warning in response to a Perl command; it arises |
2372 | 1728 | only if some internal code takes stat buffers lightly.) |
2373 | 1729 | |
2374 | 1730 | =end original |
2375 | 1731 | |
2376 | (S) VMS | |
1732 | (S) VMS 特有の警告です。 | |
2377 | 1733 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
2378 | 1734 | あることによって起こります。 |
2379 | 1735 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
2380 | 1736 | 行われるので、ACL やその他の保護が考慮されます。 |
2381 | 1737 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
2382 | 1738 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
2383 | 1739 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
2384 | 1740 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
2385 | 1741 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
2386 | 1742 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
2387 | 1743 | 安全のためだけに FALSE を返します。 |
2388 | 1744 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
2389 | 1745 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
2390 | 1746 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
2391 | 1747 | 発生します。) |
2392 | 1748 | |
2393 | 1749 | =item Can't get pipe mailbox device name |
2394 | 1750 | |
2395 | 1751 | =begin original |
2396 | 1752 | |
2397 | 1753 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
2398 | 1754 | pipe, Perl can't retrieve its name for later use. |
2399 | 1755 | |
2400 | 1756 | =end original |
2401 | 1757 | |
2402 | ( | |
1758 | (F) VMS 特有のエラーです。 | |
2403 | 1759 | パイプとして働くメールボックスの作成後、後で使うための名前を |
2404 | 1760 | Perl が取得できませんでした。 |
2405 | 1761 | |
2406 | 1762 | =item Can't get SYSGEN parameter value for MAXBUF |
2407 | 1763 | |
2408 | 1764 | =begin original |
2409 | 1765 | |
2410 | 1766 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
2411 | 1767 | mailbox buffers to be, and didn't get an answer. |
2412 | 1768 | |
2413 | 1769 | =end original |
2414 | 1770 | |
2415 | ( | |
1771 | (F) VMS 特有のエラーです。 | |
2416 | 1772 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
2417 | 1773 | 問い合わせましたが、答えが得られませんでした。 |
2418 | 1774 | |
2419 | =item Can't "goto" into a binary or list expression | |
2420 | ||
2421 | =begin original | |
2422 | ||
2423 | (F) A "goto" statement was executed to jump into the middle of a binary | |
2424 | or list expression. You can't get there from here. The reason for this | |
2425 | restriction is that the interpreter would get confused as to how many | |
2426 | arguments there are, resulting in stack corruption or crashes. This | |
2427 | error occurs in cases such as these: | |
2428 | ||
2429 | =end original | |
2430 | ||
2431 | (F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。 | |
2432 | ここからそこへは行けません。 | |
2433 | この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、 | |
2434 | 結果としてスタックは解約ラッシュを引き起こすからです。 | |
2435 | このエラーは次のような場合に起こります: | |
2436 | ||
2437 | goto F; | |
2438 | print do { F: }; # Can't jump into the arguments to print | |
2439 | ||
2440 | goto G; | |
2441 | $x + do { G: $y }; # How is + supposed to get its first operand? | |
2442 | ||
2443 | =item Can't "goto" into a "given" block | |
2444 | ||
2445 | =begin original | |
2446 | ||
2447 | (F) A "goto" statement was executed to jump into the middle of a C<given> | |
2448 | block. You can't get there from here. See L<perlfunc/goto>. | |
2449 | ||
2450 | =end original | |
2451 | ||
2452 | (F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。 | |
2453 | ここからそこへは行けません。 | |
2454 | L<perlfunc/goto> を参照してください。 | |
2455 | ||
2456 | 1775 | =item Can't "goto" into the middle of a foreach loop |
2457 | 1776 | |
2458 | 1777 | =begin original |
2459 | 1778 | |
2460 | 1779 | (F) A "goto" statement was executed to jump into the middle of a foreach |
2461 | 1780 | loop. You can't get there from here. See L<perlfunc/goto>. |
2462 | 1781 | |
2463 | 1782 | =end original |
2464 | 1783 | |
2465 | 1784 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
2466 | 1785 | ここからそこへは行けません。 |
2467 | 1786 | L<perlfunc/goto> を参照してください。 |
2468 | 1787 | |
2469 | 1788 | =item Can't "goto" out of a pseudo block |
2470 | 1789 | |
2471 | 1790 | =begin original |
2472 | 1791 | |
2473 | 1792 | (F) A "goto" statement was executed to jump out of what might look like |
2474 | 1793 | a block, except that it isn't a proper block. This usually occurs if |
2475 | 1794 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
2476 | 1795 | See L<perlfunc/goto>. |
2477 | 1796 | |
2478 | 1797 | =end original |
2479 | 1798 | |
2480 | 1799 | (F) "goto" 文でブロックのように見えるけれども、適切な |
2481 | 1800 | ブロックではないところから飛び出そうとしました。 |
2482 | 1801 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
2483 | 1802 | 起きますが、それはできません。 |
2484 | 1803 | L<perlfunc/goto> を参照してください。 |
2485 | 1804 | |
2486 | 1805 | =item Can't goto subroutine from an eval-%s |
2487 | 1806 | |
2488 | 1807 | =begin original |
2489 | 1808 | |
2490 | 1809 | (F) The "goto subroutine" call can't be used to jump out of an eval |
2491 | 1810 | "string" or block. |
2492 | 1811 | |
2493 | 1812 | =end original |
2494 | 1813 | |
2495 | 1814 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから |
2496 | 1815 | 飛び出すことはできません。 |
2497 | 1816 | |
2498 | =item Can't goto subroutine from a sort sub (or similar callback) | |
2499 | ||
2500 | =begin original | |
2501 | ||
2502 | (F) The "goto subroutine" call can't be used to jump out of the | |
2503 | comparison sub for a sort(), or from a similar callback (such | |
2504 | as the reduce() function in List::Util). | |
2505 | ||
2506 | =end original | |
2507 | ||
2508 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
2509 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
2510 | 飛び出すことはできません。 | |
2511 | ||
2512 | 1817 | =item Can't goto subroutine outside a subroutine |
2513 | 1818 | |
2514 | 1819 | =begin original |
2515 | 1820 | |
2516 | 1821 | (F) The deeply magical "goto subroutine" call can only replace one |
2517 | 1822 | subroutine call for another. It can't manufacture one out of whole |
2518 | 1823 | cloth. In general you should be calling it out of only an AUTOLOAD |
2519 | 1824 | routine anyway. See L<perlfunc/goto>. |
2520 | 1825 | |
2521 | 1826 | =end original |
2522 | 1827 | |
2523 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルー | |
1828 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーティン | |
2524 | 1829 | 呼び出しを別のもので置き換えるだけです。 |
2525 | 1830 | 反物の状態から作り上げることはできません。 |
2526 | 1831 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
2527 | 1832 | しておくべきです。 |
2528 | L<perlfunc/goto> を参照してください。 | |
1833 | L<perlfunc/goto> の項を参照してください。 | |
2529 | 1834 | |
2530 | 1835 | =item Can't ignore signal CHLD, forcing to default |
2531 | 1836 | |
2532 | 1837 | =begin original |
2533 | 1838 | |
2534 | 1839 | (W signal) Perl has detected that it is being run with the SIGCHLD |
2535 | 1840 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
2536 | 1841 | signal will interfere with proper determination of exit status of child |
2537 | 1842 | processes, Perl has reset the signal to its default value. This |
2538 | 1843 | situation typically indicates that the parent program under which Perl |
2539 | 1844 | may be running (e.g. cron) is being very careless. |
2540 | 1845 | |
2541 | 1846 | =end original |
2542 | 1847 | |
2543 | 1848 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
2544 | 1849 | 無効化された状態で実行されていることを検出しました。 |
2545 | 1850 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
2546 | 1851 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
2547 | 1852 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
2548 | 1853 | とても不注意であることを示しています。 |
2549 | 1854 | |
2550 | =item Can't kill a non-numeric process ID | |
2551 | ||
2552 | =begin original | |
2553 | ||
2554 | (F) Process identifiers must be (signed) integers. It is a fatal error to | |
2555 | attempt to kill() an undefined, empty-string or otherwise non-numeric | |
2556 | process identifier. | |
2557 | ||
2558 | =end original | |
2559 | ||
2560 | (F) プロセス識別子は(符号付き)整数でなければなりません。 | |
2561 | 未定義値、空文字列、その他の非数値プロセス識別子を使って | |
2562 | kill() しようとすることは致命的エラーです。 | |
2563 | ||
2564 | 1855 | =item Can't "last" outside a loop block |
2565 | 1856 | |
2566 | 1857 | =begin original |
2567 | 1858 | |
2568 | 1859 | (F) A "last" statement was executed to break out of the current block, |
2569 | 1860 | except that there's this itty bitty problem called there isn't a current |
2570 | 1861 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
2571 | 1862 | block, as doesn't a block given to sort(), map() or grep(). You can |
2572 | 1863 | usually double the curlies to get the same effect though, because the |
2573 | 1864 | inner curlies will be considered a block that loops once. See |
2574 | 1865 | L<perlfunc/last>. |
2575 | 1866 | |
2576 | 1867 | =end original |
2577 | 1868 | |
2578 | 1869 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
2579 | 1870 | 残念なことにブロックの中ではありませんでした。 |
2580 | 1871 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2581 | 1872 | 同様「ループ風」ブロックではないので、注意してください。 |
2582 | ただし、中 | |
1873 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
2583 | ||
1874 | みなされますから、同じ効果が得られます。 | |
2584 | 1875 | L<perlfunc/last> を参照してください。 |
2585 | 1876 | |
2586 | =item Can't linearize anonymous symbol table | |
2587 | ||
2588 | =begin original | |
2589 | ||
2590 | (F) Perl tried to calculate the method resolution order (MRO) of a | |
2591 | package, but failed because the package stash has no name. | |
2592 | ||
2593 | =end original | |
2594 | ||
2595 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 | |
2596 | パッケージ stash に名前がないので失敗しました。 | |
2597 | ||
2598 | 1877 | =item Can't load '%s' for module %s |
2599 | 1878 | |
2600 | 1879 | =begin original |
2601 | 1880 | |
2602 | (F) The module you tried to load failed to load a dynamic extension. | |
1881 | (F) The module you tried to load failed to load a dynamic extension. This | |
2603 | ||
1882 | may either mean that you upgraded your version of perl to one that is | |
2604 | ||
1883 | incompatible with your old dynamic extensions (which is known to happen | |
2605 | ||
1884 | between major versions of perl), or (more likely) that your dynamic | |
2606 | ||
1885 | extension was built against an older version of the library that is | |
2607 | ||
1886 | installed on your system. You may need to rebuild your old dynamic | |
2608 | ||
1887 | extensions. | |
2609 | 1888 | |
2610 | 1889 | =end original |
2611 | 1890 | |
2612 | 1891 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに |
2613 | 1892 | 失敗しました。 |
2614 | 1893 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか |
2615 | 1894 | (これは perl のメジャーバージョン間で起きることが知られています)、 |
2616 | 1895 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い |
2617 | 1896 | バージョンのライブラリに対してビルドされているかです。 |
2618 | 1897 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 |
2619 | 1898 | |
2620 | 1899 | =item Can't localize lexical variable %s |
2621 | 1900 | |
2622 | 1901 | =begin original |
2623 | 1902 | |
2624 | 1903 | (F) You used local on a variable name that was previously declared as a |
2625 | lexical variable using "my" | |
1904 | lexical variable using "my". This is not allowed. If you want to | |
2626 | ||
1905 | localize a package variable of the same name, qualify it with the | |
2627 | ||
1906 | package name. | |
2628 | 1907 | |
2629 | 1908 | =end original |
2630 | 1909 | |
2631 | (F) 以前に "my" | |
1910 | (F) 以前に "my" を使ってレキシカル変数として宣言された変数名に対して | |
2632 | ||
1911 | local を使いました。 | |
2633 | 1912 | これは認められていません。 |
2634 | 1913 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
2635 | 1914 | パッケージ名で修飾してください。 |
2636 | 1915 | |
1916 | =item Can't localize pseudo-hash element | |
1917 | ||
1918 | =begin original | |
1919 | ||
1920 | (F) You said something like C<< local $ar->{'key'} >>, where $ar is a | |
1921 | reference to a pseudo-hash. That hasn't been implemented yet, but you | |
1922 | can get a similar effect by localizing the corresponding array element | |
1923 | directly -- C<< local $ar->[$ar->[0]{'key'}] >>. | |
1924 | ||
1925 | =end original | |
1926 | ||
1927 | (F) $ar が擬似ハッシュへのリファレンスのとき、C<< local $ar->{'key'} >> の | |
1928 | ようなことをしました。 | |
1929 | これはまだ実装されていませんが、対応する配列要素を直接ローカル化することで | |
1930 | 似たような効果が得られます -- C<< local $ar->[$ar->[0]{'key'}] >>。 | |
1931 | ||
2637 | 1932 | =item Can't localize through a reference |
2638 | 1933 | |
2639 | 1934 | =begin original |
2640 | 1935 | |
2641 | 1936 | (F) You said something like C<local $$ref>, which Perl can't currently |
2642 | 1937 | handle, because when it goes to restore the old value of whatever $ref |
2643 | 1938 | pointed to after the scope of the local() is finished, it can't be sure |
2644 | 1939 | that $ref will still be a reference. |
2645 | 1940 | |
2646 | 1941 | =end original |
2647 | 1942 | |
2648 | 1943 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
2649 | 1944 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
2650 | 1945 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
2651 | 1946 | わからないからです。 |
2652 | 1947 | |
2653 | 1948 | =item Can't locate %s |
2654 | 1949 | |
2655 | 1950 | =begin original |
2656 | 1951 | |
2657 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
1952 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
2658 | Perl looks for the file in all the locations mentioned in @INC, | |
1953 | found. Perl looks for the file in all the locations mentioned in @INC, | |
2659 | the file name included the full path to the file. Perhaps you | |
1954 | unless the file name included the full path to the file. Perhaps you | |
2660 | to set the PERL5LIB or PERL5OPT environment variable to say wher | |
1955 | need to set the PERL5LIB or PERL5OPT environment variable to say where | |
2661 | extra library is, or maybe the script needs to add the library name | |
1956 | the extra library is, or maybe the script needs to add the library name | |
2662 | 1957 | to @INC. Or maybe you just misspelled the name of the file. See |
2663 | 1958 | L<perlfunc/require> and L<lib>. |
2664 | 1959 | |
2665 | 1960 | =end original |
2666 | 1961 | |
2667 | 1962 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
2668 | 1963 | 指示されましたが、見つかりませんでした。 |
2669 | 1964 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
2670 | 1965 | 全ての場所を検索します。 |
2671 | 1966 | おそらく、追加ライブラリの場所を示すために、 |
2672 | 1967 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
2673 | 1968 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
2674 | 1969 | ファイル名のスペルミスの可能性もあります。 |
2675 | 1970 | L<perlfunc/require> と L<lib> を参照してください。 |
2676 | 1971 | |
2677 | 1972 | =item Can't locate auto/%s.al in @INC |
2678 | 1973 | |
2679 | 1974 | =begin original |
2680 | 1975 | |
2681 | 1976 | (F) A function (or method) was called in a package which allows |
2682 | 1977 | autoload, but there is no function to autoload. Most probable causes |
2683 | 1978 | are a misprint in a function/method name or a failure to C<AutoSplit> |
2684 | 1979 | the file, say, by doing C<make install>. |
2685 | 1980 | |
2686 | 1981 | =end original |
2687 | 1982 | |
2688 | 1983 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
2689 | 1984 | 呼び出されましたが、オートロードする関数がありませんでした。 |
2690 | 1985 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
2691 | 1986 | することによるファイルの C<AutoSplit> の失敗です。 |
2692 | 1987 | |
2693 | 1988 | =item Can't locate loadable object for module %s in @INC |
2694 | 1989 | |
2695 | 1990 | =begin original |
2696 | 1991 | |
2697 | 1992 | (F) The module you loaded is trying to load an external library, like |
2698 | for example, | |
1993 | for example, C<foo.so> or C<bar.dll>, but the L<DynaLoader> module was | |
2699 | 1994 | unable to locate this library. See L<DynaLoader>. |
2700 | 1995 | |
2701 | 1996 | =end original |
2702 | 1997 | |
2703 | (F) 読み込まれたモジュールは | |
1998 | (F) 読み込まれたモジュールは C<foo.so> や C<bar.dll> のような外部 | |
2704 | 1999 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この |
2705 | 2000 | ライブラリの位置がわかりませんでした。 |
2706 | 2001 | L<DynaLoader> を参照してください。 |
2707 | 2002 | |
2708 | 2003 | =item Can't locate object method "%s" via package "%s" |
2709 | 2004 | |
2710 | 2005 | =begin original |
2711 | 2006 | |
2712 | 2007 | (F) You called a method correctly, and it correctly indicated a package |
2713 | 2008 | functioning as a class, but that package doesn't define that particular |
2714 | 2009 | method, nor does any of its base classes. See L<perlobj>. |
2715 | 2010 | |
2716 | 2011 | =end original |
2717 | 2012 | |
2718 | 2013 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2719 | 2014 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2720 | 2015 | 該当のメソッドが定義されていません。 |
2721 | 2016 | L<perlobj> を参照してください。 |
2722 | 2017 | |
2723 | =item Can't locate object method "%s" via package "%s" (perhaps you forgot | |
2724 | to load "%s"?) | |
2725 | ||
2726 | =begin original | |
2727 | ||
2728 | (F) You called a method on a class that did not exist, and the method | |
2729 | could not be found in UNIVERSAL. This often means that a method | |
2730 | requires a package that has not been loaded. | |
2731 | ||
2732 | =end original | |
2733 | ||
2734 | (F) 存在しないクラスメソッドを呼び出し、メソッドは | |
2735 | UNIVERSAL に見つかりませんでした。 | |
2736 | これはしばしばメソッドがまだロードされていないパッケージを | |
2737 | 要求していることを意味します。 | |
2738 | ||
2739 | 2018 | =item Can't locate package %s for @%s::ISA |
2740 | 2019 | |
2741 | 2020 | =begin original |
2742 | 2021 | |
2743 | 2022 | (W syntax) The @ISA array contained the name of another package that |
2744 | 2023 | doesn't seem to exist. |
2745 | 2024 | |
2746 | 2025 | =end original |
2747 | 2026 | |
2748 | 2027 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
2749 | 2028 | 存在していないようです。 |
2750 | 2029 | |
2751 | 2030 | =item Can't locate PerlIO%s |
2752 | 2031 | |
2753 | 2032 | =begin original |
2754 | 2033 | |
2755 | 2034 | (F) You tried to use in open() a PerlIO layer that does not exist, |
2756 | 2035 | e.g. open(FH, ">:nosuchlayer", "somefile"). |
2757 | 2036 | |
2758 | 2037 | =end original |
2759 | 2038 | |
2760 | 2039 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 |
2761 | 2040 | open() で 存在しない PerlIO 層を使おうとしました。 |
2762 | 2041 | |
2763 | =item Can't make list assignment to %ENV on this system | |
2042 | =item Can't make list assignment to \%ENV on this system | |
2764 | 2043 | |
2765 | 2044 | =begin original |
2766 | 2045 | |
2767 | 2046 | (F) List assignment to %ENV is not supported on some systems, notably |
2768 | 2047 | VMS. |
2769 | 2048 | |
2770 | 2049 | =end original |
2771 | 2050 | |
2772 | 2051 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2773 | 2052 | 対応していません。 |
2774 | 2053 | |
2775 | =item Can't make loaded symbols global on this platform while loading %s | |
2776 | ||
2777 | =begin original | |
2778 | ||
2779 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
2780 | that symbols from the stated file are made available globally within the | |
2781 | process, but that functionality is not available on this platform. Whilst | |
2782 | the module likely will still work, this may prevent the perl interpreter | |
2783 | from loading other XS-based extensions which need to link directly to | |
2784 | functions defined in the C or XS code in the stated file. | |
2785 | ||
2786 | =end original | |
2787 | ||
2788 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
2789 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
2790 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
2791 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
2792 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
2793 | エクステンションの読み込みが妨げられるかもしれません。 | |
2794 | ||
2795 | 2054 | =item Can't modify %s in %s |
2796 | 2055 | |
2797 | 2056 | =begin original |
2798 | 2057 | |
2799 | 2058 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
2800 | 2059 | to change it, such as with an auto-increment. |
2801 | 2060 | |
2802 | 2061 | =end original |
2803 | 2062 | |
2804 | 2063 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
2805 | 2064 | |
2806 | 2065 | =item Can't modify nonexistent substring |
2807 | 2066 | |
2808 | 2067 | =begin original |
2809 | 2068 | |
2810 | 2069 | (P) The internal routine that does assignment to a substr() was handed |
2811 | 2070 | a NULL. |
2812 | 2071 | |
2813 | 2072 | =end original |
2814 | 2073 | |
2815 | 2074 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
2816 | 2075 | |
2817 | =item Can't modify non-lvalue subroutine call | |
2076 | =item Can't modify non-lvalue subroutine call | |
2818 | 2077 | |
2819 | =item Can't modify non-lvalue subroutine call of &%s in %s | |
2820 | ||
2821 | 2078 | =begin original |
2822 | 2079 | |
2823 | 2080 | (F) Subroutines meant to be used in lvalue context should be declared as |
2824 | such | |
2081 | such, see L<perlsub/"Lvalue subroutines">. | |
2825 | 2082 | |
2826 | 2083 | =end original |
2827 | 2084 | |
2828 | 2085 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2829 | 宣言しなければなりません | |
2086 | 宣言しなければなりません; | |
2830 | 2087 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2831 | 2088 | |
2832 | =item Can't modify reference to %s in %s assignment | |
2833 | ||
2834 | =begin original | |
2835 | ||
2836 | (F) Only a limited number of constructs can be used as the argument to a | |
2837 | reference constructor on the left-hand side of an assignment, and what | |
2838 | you used was not one of them. See L<perlref/Assigning to References>. | |
2839 | ||
2840 | =end original | |
2841 | ||
2842 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は | |
2843 | 一部に制限されていて、ここで使ったものはその一つではありません。 | |
2844 | L<perlref/Assigning to References> を参照してください。 | |
2845 | ||
2846 | =item Can't modify reference to localized parenthesized array in list | |
2847 | assignment | |
2848 | ||
2849 | =begin original | |
2850 | ||
2851 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as | |
2852 | it is not clear exactly what it should do. If you meant to make @array | |
2853 | refer to some other array, use C<\@array = \@other_array>. If you want to | |
2854 | make the elements of @array aliases of the scalars referenced on the | |
2855 | right-hand side, use C<\(@array) = @scalar_refs>. | |
2856 | ||
2857 | =end original | |
2858 | ||
2859 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; | |
2860 | 正確に何をするべきかが明確ではないからです。 | |
2861 | @array が他の配列を参照するようにすることを意味しているなら、 | |
2862 | C<\@array = \@other_array> を使ってください。 | |
2863 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2864 | C<\(@array) = @scalar_refs> を使ってください。 | |
2865 | ||
2866 | =item Can't modify reference to parenthesized hash in list assignment | |
2867 | ||
2868 | =begin original | |
2869 | ||
2870 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash | |
2871 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to | |
2872 | make the elements of %hash into aliases of the scalars referenced on the | |
2873 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. | |
2874 | ||
2875 | =end original | |
2876 | ||
2877 | (F) C<\(%hash)> への代入は対応していません。 | |
2878 | %hash が他のハッシュを参照するようにすることを意味しているなら、 | |
2879 | C<\%hash = \%other_hash> を使ってください。 | |
2880 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2881 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 | |
2882 | ||
2883 | 2089 | =item Can't msgrcv to read-only var |
2884 | 2090 | |
2885 | 2091 | =begin original |
2886 | 2092 | |
2887 | 2093 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2888 | 2094 | buffer. |
2889 | 2095 | |
2890 | 2096 | =end original |
2891 | 2097 | |
2892 | 2098 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2893 | 2099 | 変更可能なものでなければなりません。 |
2894 | 2100 | |
2895 | 2101 | =item Can't "next" outside a loop block |
2896 | 2102 | |
2897 | 2103 | =begin original |
2898 | 2104 | |
2899 | 2105 | (F) A "next" statement was executed to reiterate the current block, but |
2900 | 2106 | there isn't a current block. Note that an "if" or "else" block doesn't |
2901 | 2107 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2902 | 2108 | grep(). You can usually double the curlies to get the same effect |
2903 | 2109 | though, because the inner curlies will be considered a block that loops |
2904 | 2110 | once. See L<perlfunc/next>. |
2905 | 2111 | |
2906 | 2112 | =end original |
2907 | 2113 | |
2908 | 2114 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2909 | 2115 | ブロックの中ではありませんでした。 |
2910 | 2116 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2911 | 2117 | 同様「ループ風」ブロックではないので、注意してください。 |
2912 | ただし、中 | |
2118 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
2913 | ||
2119 | みなされますから、同じ効果が得られます。 | |
2914 | 2120 | L<perlfunc/next> を参照してください。 |
2915 | 2121 | |
2916 | 2122 | =item Can't open %s: %s |
2917 | 2123 | |
2918 | 2124 | =begin original |
2919 | 2125 | |
2920 | 2126 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2921 | 2127 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2922 | switches, or explicitly, failed for the indicated reason. Usually | |
2128 | switches, or explicitly, failed for the indicated reason. Usually this | |
2923 | ||
2129 | is because you don't have read permission for a file which you named on | |
2924 | ||
2130 | the command line. | |
2925 | 2131 | |
2926 | 2132 | =end original |
2927 | 2133 | |
2928 | 2134 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2929 | 2135 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2930 | 2136 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2931 | 2137 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2932 | 2138 | |
2933 | =begin original | |
2934 | ||
2935 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or | |
2936 | your operating system's equivalent) could not be opened. | |
2937 | ||
2938 | =end original | |
2939 | ||
2940 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> | |
2941 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 | |
2942 | ||
2943 | 2139 | =item Can't open a reference |
2944 | 2140 | |
2945 | 2141 | =begin original |
2946 | 2142 | |
2947 | 2143 | (W io) You tried to open a scalar reference for reading or writing, |
2948 | using the 3-arg open() syntax: | |
2144 | using the 3-arg open() syntax : | |
2949 | 2145 | |
2950 | 2146 | =end original |
2951 | 2147 | |
2952 | 2148 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは |
2953 | 2149 | 書き込みのために開こうとしました: |
2954 | 2150 | |
2955 | 2151 | open FH, '>', $ref; |
2956 | 2152 | |
2957 | 2153 | =begin original |
2958 | 2154 | |
2959 | 2155 | but your version of perl is compiled without perlio, and this form of |
2960 | 2156 | open is not supported. |
2961 | 2157 | |
2962 | 2158 | =end original |
2963 | 2159 | |
2964 | 2160 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 |
2965 | 2161 | この形式の open は対応していません。 |
2966 | 2162 | |
2967 | 2163 | =item Can't open bidirectional pipe |
2968 | 2164 | |
2969 | 2165 | =begin original |
2970 | 2166 | |
2971 | 2167 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
2972 | 2168 | You can try any of several modules in the Perl library to do this, such |
2973 | 2169 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
2974 | 2170 | ">", and then read it in under a different file handle. |
2975 | 2171 | |
2976 | 2172 | =end original |
2977 | 2173 | |
2978 | 2174 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
2979 | 2175 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
2980 | 2176 | モジュールを使うことができます。 |
2981 | 2177 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
2982 | 2178 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
2983 | 2179 | |
2984 | 2180 | =item Can't open error file %s as stderr |
2985 | 2181 | |
2986 | 2182 | =begin original |
2987 | 2183 | |
2988 | 2184 | (F) An error peculiar to VMS. Perl does its own command line |
2989 | 2185 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
2990 | 2186 | the command line for writing. |
2991 | 2187 | |
2992 | 2188 | =end original |
2993 | 2189 | |
2994 | (F) VMS | |
2190 | (F) VMSに固有のエラーです。 | |
2995 | 2191 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2996 | 2192 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
2997 | 2193 | ファイルを開けませんでした。 |
2998 | 2194 | |
2999 | 2195 | =item Can't open input file %s as stdin |
3000 | 2196 | |
3001 | 2197 | =begin original |
3002 | 2198 | |
3003 | 2199 | (F) An error peculiar to VMS. Perl does its own command line |
3004 | 2200 | redirection, and couldn't open the file specified after '<' on the |
3005 | 2201 | command line for reading. |
3006 | 2202 | |
3007 | 2203 | =end original |
3008 | 2204 | |
3009 | (F) VMS | |
2205 | (F) VMSに固有のエラーです。 | |
3010 | 2206 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
3011 | 2207 | コマンドラインで読み込みのために '<' の後に指定された |
3012 | 2208 | ファイルを開けませんでした。 |
3013 | 2209 | |
3014 | 2210 | =item Can't open output file %s as stdout |
3015 | 2211 | |
3016 | 2212 | =begin original |
3017 | 2213 | |
3018 | 2214 | (F) An error peculiar to VMS. Perl does its own command line |
3019 | 2215 | redirection, and couldn't open the file specified after '>' or '>>' on |
3020 | 2216 | the command line for writing. |
3021 | 2217 | |
3022 | 2218 | =end original |
3023 | 2219 | |
3024 | (F) VMS | |
2220 | (F) VMSに固有のエラーです。 | |
3025 | 2221 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
3026 | 2222 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
3027 | 2223 | ファイルを開けませんでした。 |
3028 | 2224 | |
3029 | 2225 | =item Can't open output pipe (name: %s) |
3030 | 2226 | |
3031 | 2227 | =begin original |
3032 | 2228 | |
3033 | 2229 | (P) An error peculiar to VMS. Perl does its own command line |
3034 | 2230 | redirection, and couldn't open the pipe into which to send data destined |
3035 | 2231 | for stdout. |
3036 | 2232 | |
3037 | 2233 | =end original |
3038 | 2234 | |
3039 | (P) VMS | |
2235 | (P) VMSに固有のエラーです。 | |
3040 | 2236 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
3041 | 2237 | 標準出力としてデータを送るパイプを開けませんでした。 |
3042 | 2238 | |
3043 | =item Can't open perl script | |
2239 | =item Can't open perl script%s | |
3044 | 2240 | |
3045 | 2241 | =begin original |
3046 | 2242 | |
3047 | 2243 | (F) The script you specified can't be opened for the indicated reason. |
3048 | 2244 | |
3049 | 2245 | =end original |
3050 | 2246 | |
3051 | 2247 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
3052 | 2248 | |
3053 | 2249 | =begin original |
3054 | 2250 | |
3055 | 2251 | If you're debugging a script that uses #!, and normally relies on the |
3056 | 2252 | shell's $PATH search, the -S option causes perl to do that search, so |
3057 | 2253 | you don't have to type the path or C<`which $scriptname`>. |
3058 | 2254 | |
3059 | 2255 | =end original |
3060 | 2256 | |
3061 | 2257 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に |
3062 | 2258 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 |
3063 | 2259 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 |
3064 | 2260 | |
3065 | 2261 | =item Can't read CRTL environ |
3066 | 2262 | |
3067 | 2263 | =begin original |
3068 | 2264 | |
3069 | 2265 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
3070 | 2266 | from the CRTL's internal environment array and discovered the array was |
3071 | 2267 | missing. You need to figure out where your CRTL misplaced its environ |
3072 | 2268 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
3073 | 2269 | searched. |
3074 | 2270 | |
3075 | 2271 | =end original |
3076 | 2272 | |
3077 | (S) VMS | |
2273 | (S) VMSに固有の警告です。 | |
3078 | 2274 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
3079 | 2275 | 配列がないことを発見しました。 |
3080 | 2276 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
3081 | 2277 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
3082 | 2278 | 必要があります。 |
3083 | 2279 | |
3084 | =item Can't rede | |
2280 | =item Can't redefine active sort subroutine %s | |
3085 | 2281 | |
3086 | 2282 | =begin original |
3087 | 2283 | |
3088 | (F) | |
2284 | (F) Perl optimizes the internal handling of sort subroutines and keeps | |
3089 | s | |
2285 | pointers into them. You tried to redefine one such sort subroutine when | |
2286 | it was currently active, which is not allowed. If you really want to do | |
2287 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. | |
3090 | 2288 | |
3091 | 2289 | =end original |
3092 | 2290 | |
3093 | (F) | |
2291 | (F) Perl はソートサブルーチンの内部操作を最適化して、 | |
3094 | ||
2292 | そこへのポインタを保持しています。 | |
2293 | そのようなソートサブルーチンを現在アクティブな状態の時に | |
2294 | 再定義しようとしましたが、それはできません。 | |
2295 | 本当にそのようなことがしたい場合は、 | |
2296 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 | |
3095 | 2297 | |
3096 | 2298 | =item Can't "redo" outside a loop block |
3097 | 2299 | |
3098 | 2300 | =begin original |
3099 | 2301 | |
3100 | 2302 | (F) A "redo" statement was executed to restart the current block, but |
3101 | 2303 | there isn't a current block. Note that an "if" or "else" block doesn't |
3102 | 2304 | count as a "loopish" block, as doesn't a block given to sort(), map() |
3103 | 2305 | or grep(). You can usually double the curlies to get the same effect |
3104 | 2306 | though, because the inner curlies will be considered a block that |
3105 | 2307 | loops once. See L<perlfunc/redo>. |
3106 | 2308 | |
3107 | 2309 | =end original |
3108 | 2310 | |
3109 | 2311 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
3110 | 2312 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
3111 | 2313 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
3112 | 2314 | 同様「ループ風」ブロックではないので、注意してください。 |
3113 | ただし、中 | |
2315 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループする | |
3114 | 2316 | ブロックとみなされますから、同じ効果が得られます。 |
3115 | 2317 | L<perlfunc/redo> を参照してください。 |
3116 | 2318 | |
3117 | 2319 | =item Can't remove %s: %s, skipping file |
3118 | 2320 | |
3119 | 2321 | =begin original |
3120 | 2322 | |
3121 | 2323 | (S inplace) You requested an inplace edit without creating a backup |
3122 | 2324 | file. Perl was unable to remove the original file to replace it with |
3123 | 2325 | the modified file. The file was left unmodified. |
3124 | 2326 | |
3125 | 2327 | =end original |
3126 | 2328 | |
3127 | 2329 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
3128 | 2330 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
3129 | 2331 | できませんでした。 |
3130 | 2332 | ファイルは変更されずに残されます。 |
3131 | 2333 | |
3132 | =item Can't rename in-place work file '%s' to '%s': %s | |
3133 | ||
3134 | =begin original | |
3135 | ||
3136 | (F) When closed implicitly, the temporary file for in-place editing | |
3137 | couldn't be renamed to the original filename. | |
3138 | ||
3139 | =end original | |
3140 | ||
3141 | (F) その場編集のための一時ファイルが暗黙に閉じられたとき、 | |
3142 | 元のファイル名にリネームできませんでした。 | |
3143 | ||
3144 | 2334 | =item Can't rename %s to %s: %s, skipping file |
3145 | 2335 | |
3146 | 2336 | =begin original |
3147 | 2337 | |
3148 | ( | |
2338 | (S inplace) The rename done by the B<-i> switch failed for some reason, | |
3149 | 2339 | probably because you don't have write permission to the directory. |
3150 | 2340 | |
3151 | 2341 | =end original |
3152 | 2342 | |
3153 | ( | |
2343 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
3154 | うまく行きませんでした | |
2344 | うまく行きませんでした。 | |
2345 | ディレクトリに書き込み権がないことも考えられます。 | |
3155 | 2346 | |
3156 | 2347 | =item Can't reopen input pipe (name: %s) in binary mode |
3157 | 2348 | |
3158 | 2349 | =begin original |
3159 | 2350 | |
3160 | 2351 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
3161 | 2352 | to reopen it to accept binary data. Alas, it failed. |
3162 | 2353 | |
3163 | 2354 | =end original |
3164 | 2355 | |
3165 | 2356 | (P) VMS に固有のエラーです。 |
3166 | 2357 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
3167 | 2358 | 再オープンしようとしました。 |
3168 | 2359 | 悲しいかな、それは失敗しました。 |
3169 | 2360 | |
3170 | =item Can't re | |
2361 | =item Can't resolve method `%s' overloading `%s' in package `%s' | |
3171 | 2362 | |
3172 | 2363 | =begin original |
3173 | 2364 | |
3174 | (F) | |
2365 | (F|P) Error resolving overloading specified by a method name (as opposed | |
3175 | to | |
2366 | to a subroutine reference): no such method callable via the package. If | |
3176 | ||
2367 | method name is C<???>, this is an internal error. | |
3177 | to not use such a large code point. | |
3178 | 2368 | |
3179 | 2369 | =end original |
3180 | 2370 | |
3181 | (F) | |
2371 | (F|P) (サブルーチンのリファレンスではなく)メソッド名で指定された | |
3182 | ||
2372 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で | |
3183 | ||
2373 | 呼び出せません。 | |
3184 | ||
2374 | もしメソッド名が C<???> なら、内部エラーです。 | |
3185 | 2375 | |
3186 | =item Can't res | |
2376 | =item Can't reswap uid and euid | |
3187 | 2377 | |
3188 | 2378 | =begin original |
3189 | 2379 | |
3190 | ( | |
2380 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
3191 | ||
2381 | suidperl. | |
3192 | the main package, that includes %ENV. Resetting %ENV is not | |
3193 | supported on some systems, notably VMS. | |
3194 | 2382 | |
3195 | 2383 | =end original |
3196 | 2384 | |
3197 | ( | |
2385 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
3198 | ||
2386 | setreuid() 呼び出しが失敗しました。 | |
3199 | main パッケージでは、これには %ENV が含まれます。 | |
3200 | %ENV の reset は一部のシステム、特に VMS では対応していません。 | |
3201 | 2387 | |
3202 | =item Can't resolve method "%s" overloading "%s" in package "%s" | |
3203 | ||
3204 | =begin original | |
3205 | ||
3206 | (F)(P) Error resolving overloading specified by a method name (as | |
3207 | opposed to a subroutine reference): no such method callable via the | |
3208 | package. If the method name is C<???>, this is an internal error. | |
3209 | ||
3210 | =end original | |
3211 | ||
3212 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された | |
3213 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で | |
3214 | 呼び出せません。 | |
3215 | もしメソッド名が C<???> なら、内部エラーです。 | |
3216 | ||
3217 | 2388 | =item Can't return %s from lvalue subroutine |
3218 | 2389 | |
3219 | 2390 | =begin original |
3220 | 2391 | |
3221 | 2392 | (F) Perl detected an attempt to return illegal lvalues (such as |
3222 | 2393 | temporary or readonly values) from a subroutine used as an lvalue. This |
3223 | 2394 | is not allowed. |
3224 | 2395 | |
3225 | 2396 | =end original |
3226 | 2397 | |
3227 | 2398 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
3228 | 読み込み専用のような)不正な左辺値が返されようとしているのを | |
2399 | 読み込み専用のような)不正な左辺値が返されようとしているのを | |
3229 | ||
2400 | 検出しました。 | |
2401 | これはできません。 | |
3230 | 2402 | |
3231 | 2403 | =item Can't return outside a subroutine |
3232 | 2404 | |
3233 | 2405 | =begin original |
3234 | 2406 | |
3235 | 2407 | (F) The return statement was executed in mainline code, that is, where |
3236 | 2408 | there was no subroutine call to return out of. See L<perlsub>. |
3237 | 2409 | |
3238 | 2410 | =end original |
3239 | 2411 | |
3240 | (F) return 文が、return で抜けるべきサブルー | |
2412 | (F) return 文が、return で抜けるべきサブルーティンがない、 | |
3241 | 2413 | "main" コードで実行されました。 |
3242 | 2414 | L<perlsub> を参照してください。 |
3243 | 2415 | |
3244 | 2416 | =item Can't return %s to lvalue scalar context |
3245 | 2417 | |
3246 | 2418 | =begin original |
3247 | 2419 | |
3248 | (F) You tried to return a complete array or hash from an lvalue | |
2420 | (F) You tried to return a complete array or hash from an lvalue subroutine, | |
3249 | ||
2421 | but you called the subroutine in a way that made Perl think you meant | |
3250 | t | |
2422 | to return only one value. You probably meant to write parentheses around | |
3251 | ||
2423 | the call to the subroutine, which tell Perl that the call should be in | |
3252 | ||
2424 | list context. | |
3253 | 2425 | |
3254 | 2426 | =end original |
3255 | 2427 | |
3256 | 2428 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
3257 | 2429 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
3258 | 2430 | 呼び出しました。 |
3259 | 2431 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
3260 | 2432 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
3261 | 2433 | |
3262 | 2434 | =item Can't stat script "%s" |
3263 | 2435 | |
3264 | 2436 | =begin original |
3265 | 2437 | |
3266 | 2438 | (P) For some reason you can't fstat() the script even though you have it |
3267 | 2439 | open already. Bizarre. |
3268 | 2440 | |
3269 | 2441 | =end original |
3270 | 2442 | |
3271 | 2443 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が |
3272 | 2444 | 行なえません。困ったもんだ。 |
3273 | 2445 | |
2446 | =item Can't swap uid and euid | |
2447 | ||
2448 | =begin original | |
2449 | ||
2450 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
2451 | suidperl. | |
2452 | ||
2453 | =end original | |
2454 | ||
2455 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
2456 | setreuid() 呼び出しが失敗しました。 | |
2457 | ||
3274 | 2458 | =item Can't take log of %g |
3275 | 2459 | |
3276 | 2460 | =begin original |
3277 | 2461 | |
3278 | 2462 | (F) For ordinary real numbers, you can't take the logarithm of a |
3279 | negative number or zero. | |
2463 | negative number or zero. There's a Math::Complex package that comes | |
3280 | 2464 | standard with Perl, though, if you really want to do that for the |
3281 | 2465 | negative numbers. |
3282 | 2466 | |
3283 | 2467 | =end original |
3284 | 2468 | |
3285 | 2469 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
3286 | 2470 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
3287 | 2471 | Perl 標準になっている Math::Complex パッケージがあります。 |
3288 | 2472 | |
3289 | 2473 | =item Can't take sqrt of %g |
3290 | 2474 | |
3291 | 2475 | =begin original |
3292 | 2476 | |
3293 | 2477 | (F) For ordinary real numbers, you can't take the square root of a |
3294 | 2478 | negative number. There's a Math::Complex package that comes standard |
3295 | 2479 | with Perl, though, if you really want to do that. |
3296 | 2480 | |
3297 | 2481 | =end original |
3298 | 2482 | |
3299 | 2483 | (F) 通常の実数では、負数の平方根をとることはできません。 |
3300 | 2484 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
3301 | 2485 | Perl に標準で用意されています。 |
3302 | 2486 | |
3303 | 2487 | =item Can't undef active subroutine |
3304 | 2488 | |
3305 | 2489 | =begin original |
3306 | 2490 | |
3307 | 2491 | (F) You can't undefine a routine that's currently running. You can, |
3308 | 2492 | however, redefine it while it's running, and you can even undef the |
3309 | 2493 | redefined subroutine while the old routine is running. Go figure. |
3310 | 2494 | |
3311 | 2495 | =end original |
3312 | 2496 | |
3313 | 2497 | (F) 実行中のルーティンを未定義にすることはできません。 |
3314 | 2498 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
3315 | 再定義したサブルー | |
2499 | 再定義したサブルーティンを undef することさえできます。 | |
3316 | 2500 | 驚きです。 |
3317 | 2501 | |
3318 | =item Can't un | |
2502 | =item Can't unshift | |
3319 | 2503 | |
3320 | 2504 | =begin original |
3321 | 2505 | |
3322 | (F) You | |
2506 | (F) You tried to unshift an "unreal" array that can't be unshifted, such | |
3323 | ||
2507 | as the main Perl stack. | |
3324 | 2508 | |
3325 | 2509 | =end original |
3326 | 2510 | |
3327 | (F) | |
2511 | (F) Perl のメインスタックのように、unshift することのできない | |
3328 | ||
2512 | 「実在しない」配列に対して、unshift を行なおうとしました。 | |
3329 | 2513 | |
3330 | =item Can't upgrade | |
2514 | =item Can't upgrade that kind of scalar | |
3331 | 2515 | |
3332 | 2516 | =begin original |
3333 | 2517 | |
3334 | 2518 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
3335 | 2519 | into a more specialized kind of SV. The top several SV types are so |
3336 | 2520 | specialized, however, that they cannot be interconverted. This message |
3337 | 2521 | indicates that such a conversion was attempted. |
3338 | 2522 | |
3339 | 2523 | =end original |
3340 | 2524 | |
3341 | 2525 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
3342 | 2526 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
3343 | 2527 | 特殊化され過ぎて、内部変換することができません。 |
3344 | 2528 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
3345 | 2529 | |
3346 | =item Can't u | |
2530 | =item Can't upgrade to undef | |
3347 | 2531 | |
3348 | 2532 | =begin original |
3349 | 2533 | |
3350 | ( | |
2534 | (P) The undefined SV is the bottom of the totem pole, in the scheme of | |
3351 | ||
2535 | upgradability. Upgrading to undef indicates an error in the code | |
2536 | calling sv_upgrade. | |
3352 | 2537 | |
3353 | 2538 | =end original |
3354 | 2539 | |
3355 | ( | |
2540 | (P) 未定義 SV は、upgrade の仕組みにおいて、階層構造の最下位に | |
3356 | ||
2541 | 位置するものです。 | |
2542 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 | |
3357 | 2543 | |
3358 | =item Can't use a hash as a reference | |
3359 | ||
3360 | =begin original | |
3361 | ||
3362 | (F) You tried to use a hash as a reference, as in | |
3363 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl | |
3364 | <= 5.22.0 used to allow this syntax, but shouldn't | |
3365 | have. This was deprecated in perl 5.6.1. | |
3366 | ||
3367 | =end original | |
3368 | ||
3369 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 | |
3370 | ハッシュをリファレンスとして使おうとしました。 | |
3371 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3372 | そうするべきではありません。 | |
3373 | これは perl 5.6.1 から廃止予定です。 | |
3374 | ||
3375 | =item Can't use an array as a reference | |
3376 | ||
3377 | =begin original | |
3378 | ||
3379 | (F) You tried to use an array as a reference, as in | |
3380 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 | |
3381 | used to allow this syntax, but shouldn't have. This | |
3382 | was deprecated in perl 5.6.1. | |
3383 | ||
3384 | =end original | |
3385 | ||
3386 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 | |
3387 | 配列をリファレンスとして使おうとしました。 | |
3388 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3389 | そうするべきではありません。 | |
3390 | これは perl 5.6.1 から廃止予定です。 | |
3391 | ||
3392 | 2544 | =item Can't use anonymous symbol table for method lookup |
3393 | 2545 | |
3394 | 2546 | =begin original |
3395 | 2547 | |
3396 | 2548 | (F) The internal routine that does method lookup was handed a symbol |
3397 | 2549 | table that doesn't have a name. Symbol tables can become anonymous |
3398 | 2550 | for example by undefining stashes: C<undef %Some::Package::>. |
3399 | 2551 | |
3400 | 2552 | =end original |
3401 | 2553 | |
3402 | 2554 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを |
3403 | 2555 | 扱いました。 |
3404 | 2556 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の |
3405 | 2557 | stash によって無名となります。 |
3406 | 2558 | |
3407 | 2559 | =item Can't use an undefined value as %s reference |
3408 | 2560 | |
3409 | 2561 | =begin original |
3410 | 2562 | |
3411 | 2563 | (F) A value used as either a hard reference or a symbolic reference must |
3412 | 2564 | be a defined value. This helps to delurk some insidious errors. |
3413 | 2565 | |
3414 | 2566 | =end original |
3415 | 2567 | |
3416 | 2568 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
3417 | 2569 | 定義済みの値でなければなりません。 |
3418 | 2570 | 潜伏中のエラーを引きずり出す助けとなります。 |
3419 | 2571 | |
3420 | 2572 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
3421 | 2573 | |
3422 | 2574 | =begin original |
3423 | 2575 | |
3424 | 2576 | (F) Only hard references are allowed by "strict refs". Symbolic |
3425 | 2577 | references are disallowed. See L<perlref>. |
3426 | 2578 | |
3427 | 2579 | =end original |
3428 | 2580 | |
3429 | (F) "strict refs" | |
2581 | (F) "strict refs" では、ハードリファレンスだけが許されます。 | |
3430 | シンボリックリファレンスは許 | |
2582 | シンボリックリファレンスは、許されていません。 | |
3431 | 2583 | L<perlref> を参照してください。 |
3432 | 2584 | |
3433 | 2585 | =item Can't use %! because Errno.pm is not available |
3434 | 2586 | |
3435 | 2587 | =begin original |
3436 | 2588 | |
3437 | (F) The first time the | |
2589 | (F) The first time the %! hash is used, perl automatically loads the | |
3438 | Errno.pm module. | |
2590 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
3439 | 2591 | provide symbolic names for C<$!> errno values. |
3440 | 2592 | |
3441 | 2593 | =end original |
3442 | 2594 | |
3443 | (F) 最初に | |
2595 | (F) 最初に %! ハッシュが使われるときに、 | |
3444 | 2596 | perl は自動的に Errno.pm モジュールを読み込みます。 |
3445 | 2597 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
3446 | 2598 | %! ハッシュと tie されることになります。 |
3447 | 2599 | |
3448 | =item Can't use both '<' and '>' after type '%c' in %s | |
3449 | ||
3450 | =begin original | |
3451 | ||
3452 | (F) A type cannot be forced to have both big-endian and little-endian | |
3453 | byte-order at the same time, so this combination of modifiers is not | |
3454 | allowed. See L<perlfunc/pack>. | |
3455 | ||
3456 | =end original | |
3457 | ||
3458 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に | |
3459 | 強制することはできないので、この修飾子の組み合わせは許可されません。 | |
3460 | L<perlfunc/pack> を参照してください。 | |
3461 | ||
3462 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) | |
3463 | ||
3464 | =begin original | |
3465 | ||
3466 | (F) defined() is not useful on arrays because it | |
3467 | checks for an undefined I<scalar> value. If you want to see if the | |
3468 | array is empty, just use C<if (@array) { # not empty }> for example. | |
3469 | ||
3470 | =end original | |
3471 | ||
3472 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 | |
3473 | 配列が空かどうかを調べたい場合は、例えば単に | |
3474 | C<if (@array) { # not empty }> としてください。 | |
3475 | ||
3476 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) | |
3477 | ||
3478 | =begin original | |
3479 | ||
3480 | (F) C<defined()> is not usually right on hashes. | |
3481 | ||
3482 | =end original | |
3483 | ||
3484 | (F) C<defined()> は普通はハッシュの右側ではありません。 | |
3485 | ||
3486 | =begin original | |
3487 | ||
3488 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
3489 | becomes true in several non-obvious circumstances, including iterators, | |
3490 | weak references, stash names, even remaining true after C<undef %hash>. | |
3491 | These things make C<defined %hash> fairly useless in practice, so it now | |
3492 | generates a fatal error. | |
3493 | ||
3494 | =end original | |
3495 | ||
3496 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
3497 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
3498 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
3499 | これらにより、実践では C<defined %hash> はほとんど使えないので、 | |
3500 | 致命的エラーを生成するようになりました。 | |
3501 | ||
3502 | =begin original | |
3503 | ||
3504 | If a check for non-empty is what you wanted then just put it in boolean | |
3505 | context (see L<perldata/Scalar values>): | |
3506 | ||
3507 | =end original | |
3508 | ||
3509 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
3510 | 置いてください (L<perldata/Scalar values> を参照してください): | |
3511 | ||
3512 | if (%hash) { | |
3513 | # not empty | |
3514 | } | |
3515 | ||
3516 | =begin original | |
3517 | ||
3518 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
3519 | variable exists then that's never really been reliable, and isn't | |
3520 | a good way to enquire about the features of a package, or whether | |
3521 | it's loaded, etc. | |
3522 | ||
3523 | =end original | |
3524 | ||
3525 | パッケージ変数が存在するかどうかを調べるために | |
3526 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
3527 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
3528 | 良い方法ではありません。 | |
3529 | ||
3530 | 2600 | =item Can't use %s for loop variable |
3531 | 2601 | |
3532 | 2602 | =begin original |
3533 | 2603 | |
3534 | ( | |
2604 | (F) Only a simple scalar variable may be used as a loop variable on a | |
2605 | foreach. | |
3535 | 2606 | |
3536 | 2607 | =end original |
3537 | 2608 | |
3538 | ( | |
2609 | (F) 単純スカラ変数だけが、foreach のループ変数として | |
2610 | 使用することができます。 | |
3539 | 2611 | |
3540 | =item Can't use global %s in | |
2612 | =item Can't use global %s in "my" | |
3541 | 2613 | |
3542 | 2614 | =begin original |
3543 | 2615 | |
3544 | 2616 | (F) You tried to declare a magical variable as a lexical variable. This |
3545 | 2617 | is not allowed, because the magic can be tied to only one location |
3546 | 2618 | (namely the global variable) and it would be incredibly confusing to |
3547 | 2619 | have variables in your program that looked like magical variables but |
3548 | 2620 | weren't. |
3549 | 2621 | |
3550 | 2622 | =end original |
3551 | 2623 | |
3552 | 2624 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
3553 | 2625 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) |
3554 | 2626 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども |
3555 | 2627 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 |
3556 | 2628 | |
3557 | =item Can't use '%c' in a group with different byte-order in %s | |
3558 | ||
3559 | =begin original | |
3560 | ||
3561 | (F) You attempted to force a different byte-order on a type | |
3562 | that is already inside a group with a byte-order modifier. | |
3563 | For example you cannot force little-endianness on a type that | |
3564 | is inside a big-endian group. | |
3565 | ||
3566 | =end original | |
3567 | ||
3568 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を | |
3569 | 強制しようとしました。 | |
3570 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに | |
3571 | 強制することはできません。 | |
3572 | ||
3573 | 2629 | =item Can't use "my %s" in sort comparison |
3574 | 2630 | |
3575 | 2631 | =begin original |
3576 | 2632 | |
3577 | 2633 | (F) The global variables $a and $b are reserved for sort comparisons. |
3578 | 2634 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
3579 | 2635 | and the variable had earlier been declared as a lexical variable. |
3580 | 2636 | Either qualify the sort variable with the package name, or rename the |
3581 | 2637 | lexical variable. |
3582 | 2638 | |
3583 | 2639 | =end original |
3584 | 2640 | |
3585 | 2641 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
3586 | 2642 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
3587 | 2643 | その前にレキシカル変数として宣言されています。 |
3588 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
2644 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
2645 | 変更してください。 | |
3589 | 2646 | |
3590 | 2647 | =item Can't use %s ref as %s ref |
3591 | 2648 | |
3592 | 2649 | =begin original |
3593 | 2650 | |
3594 | 2651 | (F) You've mixed up your reference types. You have to dereference a |
3595 | 2652 | reference of the type needed. You can use the ref() function to |
3596 | 2653 | test the type of the reference, if need be. |
3597 | 2654 | |
3598 | 2655 | =end original |
3599 | 2656 | |
3600 | 2657 | (F) リファレンス型を混同しています。 |
3601 | 2658 | 必要な型のリファレンスを被参照しなければなりません。 |
3602 | 2659 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
3603 | 2660 | |
3604 | 2661 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
3605 | 2662 | |
3606 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use | |
3607 | ||
3608 | 2663 | =begin original |
3609 | 2664 | |
3610 | (F) | |
2665 | (F) Only hard references are allowed by "strict refs". Symbolic | |
3611 | ||
2666 | references are disallowed. See L<perlref>. | |
3612 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
3613 | in a double-quoted string immediately before interpolating a variable, | |
3614 | for example in C<"user @$twitter_id">, which says to treat the contents | |
3615 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
3616 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
3617 | 2667 | |
3618 | 2668 | =end original |
3619 | 2669 | |
3620 | (F) | |
2670 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 | |
3621 | ||
2671 | シンボリックリファレンスは許可されません。 | |
3622 | L<perlref | |
2672 | L<perlref> を参照してください。 | |
3623 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
3624 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
3625 | 内容を配列リファレンスとして扱うように指示しています; | |
3626 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
3627 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
3628 | 2673 | |
3629 | 2674 | =item Can't use subscript on %s |
3630 | 2675 | |
3631 | 2676 | =begin original |
3632 | 2677 | |
3633 | 2678 | (F) The compiler tried to interpret a bracketed expression as a |
3634 | 2679 | subscript. But to the left of the brackets was an expression that |
3635 | 2680 | didn't look like a hash or array reference, or anything else subscriptable. |
3636 | 2681 | |
3637 | 2682 | =end original |
3638 | 2683 | |
3639 | 2684 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
3640 | 2685 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
3641 | 2686 | 添字化できるもののようには見えない式です。 |
3642 | 2687 | |
3643 | 2688 | =item Can't use \%c to mean $%c in expression |
3644 | 2689 | |
3645 | 2690 | =begin original |
3646 | 2691 | |
3647 | 2692 | (W syntax) In an ordinary expression, backslash is a unary operator that |
3648 | 2693 | creates a reference to its argument. The use of backslash to indicate a |
3649 | 2694 | backreference to a matched substring is valid only as part of a regular |
3650 | 2695 | expression pattern. Trying to do this in ordinary Perl code produces a |
3651 | 2696 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
3652 | 2697 | instead. |
3653 | 2698 | |
3654 | 2699 | =end original |
3655 | 2700 | |
3656 | 2701 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
3657 | 2702 | 単項演算子です。 |
3658 | 2703 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
3659 | 2704 | 正規表現パターンの一部の場合にのみ有効です。 |
3660 | 2705 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
3661 | 2706 | 表示される値を生成します。 |
3662 | 2707 | 代わりに $1 の形を使ってください。 |
3663 | 2708 | |
3664 | 2709 | =item Can't weaken a nonreference |
3665 | 2710 | |
3666 | 2711 | =begin original |
3667 | 2712 | |
3668 | 2713 | (F) You attempted to weaken something that was not a reference. Only |
3669 | 2714 | references can be weakened. |
3670 | 2715 | |
3671 | 2716 | =end original |
3672 | 2717 | |
3673 | 2718 | (F) リファレンスではない何かを弱めようとしました。 |
3674 | 2719 | リファレンスだけが弱めることができます。 |
3675 | 2720 | |
3676 | =item Can't "when" outside a topicalizer | |
3677 | ||
3678 | =begin original | |
3679 | ||
3680 | (F) You have used a when() block that is neither inside a C<foreach> | |
3681 | loop nor a C<given> block. (Note that this error is issued on exit | |
3682 | from the C<when> block, so you won't get the error if the match fails, | |
3683 | or if you use an explicit C<continue>.) | |
3684 | ||
3685 | =end original | |
3686 | ||
3687 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを | |
3688 | 使いました。 | |
3689 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに | |
3690 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは | |
3691 | 発生しません。) | |
3692 | ||
3693 | 2721 | =item Can't x= to read-only value |
3694 | 2722 | |
3695 | 2723 | =begin original |
3696 | 2724 | |
3697 | 2725 | (F) You tried to repeat a constant value (often the undefined value) |
3698 | 2726 | with an assignment operator, which implies modifying the value itself. |
3699 | 2727 | Perhaps you need to copy the value to a temporary, and repeat that. |
3700 | 2728 | |
3701 | 2729 | =end original |
3702 | 2730 | |
3703 | 2731 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
3704 | 2732 | 代入演算子で繰り返しを行なおうとしました。 |
3705 | 2733 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
3706 | 2734 | |
3707 | =item Character | |
2735 | =item Character in "C" format wrapped in pack | |
3708 | 2736 | |
3709 | 2737 | =begin original |
3710 | 2738 | |
3711 | (F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character. | |
3712 | ||
3713 | =end original | |
3714 | ||
3715 | (F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。 | |
3716 | ||
3717 | =begin original | |
3718 | ||
3719 | Note that ASCII characters that don't map to control characters are | |
3720 | discouraged, and will generate the warning (when enabled) | |
3721 | L</""\c%c" is more clearly written simply as "%s"">. | |
3722 | ||
3723 | =end original | |
3724 | ||
3725 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; | |
3726 | そして (有効になっていれば) | |
3727 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 | |
3728 | ||
3729 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
3730 | ||
3731 | =begin original | |
3732 | ||
3733 | (F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You | |
3734 | specified something that isn't a legal Unicode property name. Most | |
3735 | Unicode properties are specified by C<\p{...}>. But if the name is a | |
3736 | single character one, the braces may be omitted. | |
3737 | ||
3738 | =end original | |
3739 | ||
3740 | (F) (前述の C<%c> は C<p> か C<P> に置き換えられます。) | |
3741 | 正当な Unicode 特性名ではない何かをしていしました。 | |
3742 | ほとんどの Unicode 特性は C<\p{...}> として指定されます。 | |
3743 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
3744 | ||
3745 | =item Character in 'C' format wrapped in pack | |
3746 | ||
3747 | =begin original | |
3748 | ||
3749 | 2739 | (W pack) You said |
3750 | 2740 | |
3751 | 2741 | =end original |
3752 | 2742 | |
3753 | 2743 | (W pack) 以下のように書きましたが: |
3754 | 2744 | |
3755 | 2745 | pack("C", $x) |
3756 | 2746 | |
3757 | 2747 | =begin original |
3758 | 2748 | |
3759 | 2749 | where $x is either less than 0 or more than 255; the C<"C"> format is |
3760 | 2750 | only for encoding native operating system characters (ASCII, EBCDIC, |
3761 | 2751 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3762 | 2752 | |
3763 | 2753 | =end original |
3764 | 2754 | |
3765 | 2755 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは |
3766 | 2756 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3767 | 2757 | 対応していて、Unicode 文字は対応していません; |
3768 | 2758 | それで、Perl は以下のように意味しているかのように振舞います: |
3769 | 2759 | |
3770 | 2760 | pack("C", $x & 255) |
3771 | 2761 | |
3772 | 2762 | =begin original |
3773 | 2763 | |
3774 | 2764 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3775 | 2765 | instead. |
3776 | 2766 | |
3777 | 2767 | =end original |
3778 | 2768 | |
3779 | 2769 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3780 | 2770 | 使ってください。 |
3781 | 2771 | |
3782 | =item Character in | |
2772 | =item Character in "c" format wrapped in pack | |
3783 | 2773 | |
3784 | 2774 | =begin original |
3785 | 2775 | |
3786 | 2776 | (W pack) You said |
3787 | 2777 | |
3788 | 2778 | =end original |
3789 | 2779 | |
3790 | 2780 | (W pack) 以下のように書きましたが: |
3791 | 2781 | |
3792 | 2782 | pack("c", $x) |
3793 | 2783 | |
3794 | 2784 | =begin original |
3795 | 2785 | |
3796 | 2786 | where $x is either less than -128 or more than 127; the C<"c"> format |
3797 | 2787 | is only for encoding native operating system characters (ASCII, EBCDIC, |
3798 | 2788 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
3799 | 2789 | |
3800 | 2790 | =end original |
3801 | 2791 | |
3802 | 2792 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは |
3803 | 2793 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
3804 | 2794 | 対応していて、Unicode 文字は対応していません; |
3805 | 2795 | それで、Perl は以下のように意味しているかのように振舞います: |
3806 | 2796 | |
3807 | 2797 | pack("c", $x & 255); |
3808 | 2798 | |
3809 | 2799 | =begin original |
3810 | 2800 | |
3811 | 2801 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
3812 | 2802 | instead. |
3813 | 2803 | |
3814 | 2804 | =end original |
3815 | 2805 | |
3816 | 2806 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
3817 | 2807 | 使ってください。 |
3818 | 2808 | |
3819 | =item Character in '%c' format wrapped in unpack | |
3820 | ||
3821 | =begin original | |
3822 | ||
3823 | (W unpack) You tried something like | |
3824 | ||
3825 | =end original | |
3826 | ||
3827 | (W unpack) 以下のようなことをしましたが: | |
3828 | ||
3829 | unpack("H", "\x{2a1}") | |
3830 | ||
3831 | =begin original | |
3832 | ||
3833 | where the format expects to process a byte (a character with a value | |
3834 | below 256), but a higher value was provided instead. Perl uses the | |
3835 | value modulus 256 instead, as if you had provided: | |
3836 | ||
3837 | =end original | |
3838 | ||
3839 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 | |
3840 | 文字の中により大きな値のものがあります。 | |
3841 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3842 | 値として使います: | |
3843 | ||
3844 | unpack("H", "\x{a1}") | |
3845 | ||
3846 | =item Character in 'W' format wrapped in pack | |
3847 | ||
3848 | =begin original | |
3849 | ||
3850 | (W pack) You said | |
3851 | ||
3852 | =end original | |
3853 | ||
3854 | (W pack) 以下のように書きましたが: | |
3855 | ||
3856 | pack("U0W", $x) | |
3857 | ||
3858 | =begin original | |
3859 | ||
3860 | where $x is either less than 0 or more than 255. However, C<U0>-mode | |
3861 | expects all values to fall in the interval [0, 255], so Perl behaved | |
3862 | as if you meant: | |
3863 | ||
3864 | =end original | |
3865 | ||
3866 | $x が 0 より小さいか 255 より大きいです。 | |
3867 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
3868 | Perl は以下のように振る舞います: | |
3869 | ||
3870 | pack("U0W", $x & 255) | |
3871 | ||
3872 | =item Character(s) in '%c' format wrapped in pack | |
3873 | ||
3874 | =begin original | |
3875 | ||
3876 | (W pack) You tried something like | |
3877 | ||
3878 | =end original | |
3879 | ||
3880 | (W pack) 以下のようなことをしましたが: | |
3881 | ||
3882 | pack("u", "\x{1f3}b") | |
3883 | ||
3884 | =begin original | |
3885 | ||
3886 | where the format expects to process a sequence of bytes (character with a | |
3887 | value below 256), but some of the characters had a higher value. Perl | |
3888 | uses the character values modulus 256 instead, as if you had provided: | |
3889 | ||
3890 | =end original | |
3891 | ||
3892 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3893 | 文字の中により大きな値のものがあります。 | |
3894 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3895 | 値として使います: | |
3896 | ||
3897 | pack("u", "\x{f3}b") | |
3898 | ||
3899 | =item Character(s) in '%c' format wrapped in unpack | |
3900 | ||
3901 | =begin original | |
3902 | ||
3903 | (W unpack) You tried something like | |
3904 | ||
3905 | =end original | |
3906 | ||
3907 | (W unpack) 以下のようなことをしましたが: | |
3908 | ||
3909 | unpack("s", "\x{1f3}b") | |
3910 | ||
3911 | =begin original | |
3912 | ||
3913 | where the format expects to process a sequence of bytes (character with a | |
3914 | value below 256), but some of the characters had a higher value. Perl | |
3915 | uses the character values modulus 256 instead, as if you had provided: | |
3916 | ||
3917 | =end original | |
3918 | ||
3919 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3920 | 文字の中により大きな値のものがあります。 | |
3921 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3922 | 値として使います: | |
3923 | ||
3924 | unpack("s", "\x{f3}b") | |
3925 | ||
3926 | =item charnames alias definitions may not contain a sequence of multiple | |
3927 | spaces; marked by S<<-- HERE> in %s | |
3928 | ||
3929 | =begin original | |
3930 | ||
3931 | (F) You defined a character name which had multiple space characters | |
3932 | in a row. Change them to single spaces. Usually these names are | |
3933 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3934 | could be defined by a translator installed into C<$^H{charnames}>. See | |
3935 | L<charnames/CUSTOM ALIASES>. | |
3936 | ||
3937 | =end original | |
3938 | ||
3939 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
3940 | 単一のスペースに変更してください。 | |
3941 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3942 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3943 | 定義されているかも知れません。 | |
3944 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3945 | ||
3946 | =item chdir() on unopened filehandle %s | |
3947 | ||
3948 | =begin original | |
3949 | ||
3950 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
3951 | ||
3952 | =end original | |
3953 | ||
3954 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
3955 | ||
3956 | =item "\c%c" is more clearly written simply as "%s" | |
3957 | ||
3958 | =begin original | |
3959 | ||
3960 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify | |
3961 | non-printable characters. You used it for a printable one, which | |
3962 | is better written as simply itself, perhaps preceded by a backslash | |
3963 | for non-word characters. Doing it the way you did is not portable | |
3964 | between ASCII and EBCDIC platforms. | |
3965 | ||
3966 | =end original | |
3967 | ||
3968 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 | |
3969 | これを表示文字に使いました; おそらく(おそらく非単語文字のために | |
3970 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 | |
3971 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 | |
3972 | ||
3973 | =item Cloning substitution context is unimplemented | |
3974 | ||
3975 | =begin original | |
3976 | ||
3977 | (F) Creating a new thread inside the C<s///> operator is not supported. | |
3978 | ||
3979 | =end original | |
3980 | ||
3981 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 | |
3982 | ||
3983 | =item closedir() attempted on invalid dirhandle %s | |
3984 | ||
3985 | =begin original | |
3986 | ||
3987 | (W io) The dirhandle you tried to close is either closed or not really | |
3988 | a dirhandle. Check your control flow. | |
3989 | ||
3990 | =end original | |
3991 | ||
3992 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には | |
3993 | ディレクトリハンドルではありません。 | |
3994 | 制御フローをチェックしてください。 | |
3995 | ||
3996 | 2809 | =item close() on unopened filehandle %s |
3997 | 2810 | |
3998 | 2811 | =begin original |
3999 | 2812 | |
4000 | 2813 | (W unopened) You tried to close a filehandle that was never opened. |
4001 | 2814 | |
4002 | 2815 | =end original |
4003 | 2816 | |
4004 | 2817 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
4005 | 2818 | |
4006 | =item Closure prototype called | |
4007 | ||
4008 | =begin original | |
4009 | ||
4010 | (F) If a closure has attributes, the subroutine passed to an attribute | |
4011 | handler is the prototype that is cloned when a new closure is created. | |
4012 | This subroutine cannot be called. | |
4013 | ||
4014 | =end original | |
4015 | ||
4016 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい | |
4017 | クロージャが作成されたときにクローン化されたプロトタイプです。 | |
4018 | このサブルーチンは呼び出すことができません。 | |
4019 | ||
4020 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
4021 | ||
4022 | =begin original | |
4023 | ||
4024 | (F) The \C character class used to allow a match of single byte | |
4025 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
4026 | it broke encapsulation and its implementation was extremely buggy. | |
4027 | If you really need to process the individual bytes, you probably | |
4028 | want to convert your string to one where each underlying byte is | |
4029 | stored as a character, with utf8::encode(). | |
4030 | ||
4031 | =end original | |
4032 | ||
4033 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
4034 | マッチングできるようにしていましたが、 | |
4035 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
4036 | 本当に個々のバイトを処理する必要があるなら、 | |
4037 | おそらくその文字列を、utf8::encode() を使って、 | |
4038 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
4039 | 良いでしょう。 | |
4040 | ||
4041 | 2819 | =item Code missing after '/' |
4042 | 2820 | |
4043 | 2821 | =begin original |
4044 | 2822 | |
4045 | (F) You had a (sub-)template that ends with a '/'. | |
2823 | (F) You had a (sub-)template that ends with a '/'. There must be another | |
4046 | ||
2824 | template code following the slash. See L<perlfunc/pack>. | |
4047 | 2825 | |
4048 | 2826 | =end original |
4049 | 2827 | |
4050 | ( | |
2828 | (副)テンプレートが '/' で終わっています。 | |
4051 | 2829 | スラッシュの後には他のテンプレートコードが必須です。 |
4052 | 2830 | L<perlfunc/pack> を参照してください。 |
4053 | 2831 | |
4054 | =item Code point 0x%X is not Unicode, and not portable | |
4055 | ||
4056 | =begin original | |
4057 | ||
4058 | (S non_unicode portable) You had a code point that has never been in any | |
4059 | standard, so it is likely that languages other than Perl will NOT | |
4060 | understand it. This code point also will not fit in a 32-bit word on | |
4061 | ASCII platforms and therefore is non-portable between systems. | |
4062 | ||
4063 | ||
4064 | =end original | |
4065 | ||
4066 | (S non_unicode portable) どのような標準でもない符号位置を使いました; 従って | |
4067 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
4068 | この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、 | |
4069 | システム間で移植性がありません。 | |
4070 | ||
4071 | =begin original | |
4072 | ||
4073 | At one time, it was legal in some standards to have code points up to | |
4074 | 0x7FFF_FFFF, but not higher, and this code point is higher. | |
4075 | ||
4076 | =end original | |
4077 | ||
4078 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
4079 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
4080 | ||
4081 | =begin original | |
4082 | ||
4083 | Acceptance of these code points is a Perl extension, and you should | |
4084 | expect that nothing other than Perl can handle them; Perl itself on | |
4085 | EBCDIC platforms before v5.24 does not handle them. | |
4086 | ||
4087 | =end original | |
4088 | ||
4089 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
4090 | これらを扱えるかについて何も想定するべきではありません; | |
4091 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
4092 | ||
4093 | =begin original | |
4094 | ||
4095 | Perl also makes no guarantees that the representation of these code | |
4096 | points won't change at some point in the future, say when machines | |
4097 | become available that have larger than a 64-bit word. At that time, | |
4098 | files containing any of these, written by an older Perl might require | |
4099 | conversion before being readable by a newer Perl. | |
4100 | ||
4101 | =end original | |
4102 | ||
4103 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
4104 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
4105 | 保証しません。 | |
4106 | この時点で、より古い Perl で書かれた、このようなものをファイルは、 | |
4107 | より新しい Perl で読み込めるようにする前に変換が必要です。 | |
4108 | ||
4109 | =item Code point 0x%X is not Unicode, may not be portable | |
4110 | ||
4111 | =begin original | |
4112 | ||
4113 | (S non_unicode) You had a code point above the Unicode maximum | |
4114 | of U+10FFFF. | |
4115 | ||
4116 | =end original | |
4117 | ||
4118 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
4119 | ||
4120 | =begin original | |
4121 | ||
4122 | Perl allows strings to contain a superset of Unicode code points, but | |
4123 | these may not be accepted by other languages/systems. Further, even if | |
4124 | these languages/systems accept these large code points, they may have | |
4125 | chosen a different representation for them than the UTF-8-like one that | |
4126 | Perl has, which would mean files are not exchangeable between them and | |
4127 | Perl. | |
4128 | ||
4129 | =end original | |
4130 | ||
4131 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
4132 | これらは他の言語/システムは受け入れないかもしれません。 | |
4133 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
4134 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
4135 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
4136 | 交換できないことを意味します。 | |
4137 | ||
4138 | =begin original | |
4139 | ||
4140 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
4141 | representation in Perl v5.24 than before, so any file containing these | |
4142 | that was written before that version will require conversion before | |
4143 | being readable by a later Perl. | |
4144 | ||
4145 | =end original | |
4146 | ||
4147 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
4148 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
4149 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
4150 | 変換が必要です。 | |
4151 | ||
4152 | 2832 | =item %s: Command not found |
4153 | 2833 | |
4154 | 2834 | =begin original |
4155 | 2835 | |
4156 | (A) You've accidentally run your script through B<csh> | |
2836 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
4157 | ||
2837 | Check the #! line, or manually feed your script into Perl yourself. | |
4158 | Perl yourself. The #! line at the top of your file could look like | |
4159 | 2838 | |
4160 | 2839 | =end original |
4161 | 2840 | |
4162 | (A) スクリプトを perl ではなく B<csh> また | |
2841 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
4163 | 実行しようとしました。 | |
4164 | 2842 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
4165 | ファイルの先頭の #! 行は以下のようにします | |
4166 | 2843 | |
4167 | #!/usr/bin/perl | |
4168 | ||
4169 | =item %s: command not found | |
4170 | ||
4171 | =begin original | |
4172 | ||
4173 | (A) You've accidentally run your script through B<bash> or another shell | |
4174 | instead of Perl. Check the #! line, or manually feed your script into | |
4175 | Perl yourself. The #! line at the top of your file could look like | |
4176 | ||
4177 | =end original | |
4178 | ||
4179 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 | |
4180 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4181 | ファイルの先頭の #! 行は次のような形です: | |
4182 | ||
4183 | #!/usr/bin/perl | |
4184 | ||
4185 | =item %s: command not found: %s | |
4186 | ||
4187 | =begin original | |
4188 | ||
4189 | (A) You've accidentally run your script through B<zsh> or another shell | |
4190 | instead of Perl. Check the #! line, or manually feed your script into | |
4191 | Perl yourself. The #! line at the top of your file could look like | |
4192 | ||
4193 | =end original | |
4194 | ||
4195 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 | |
4196 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4197 | ファイルの先頭の #! 行は次のような形です: | |
4198 | ||
4199 | #!/usr/bin/perl | |
4200 | ||
4201 | 2844 | =item Compilation failed in require |
4202 | 2845 | |
4203 | 2846 | =begin original |
4204 | 2847 | |
4205 | 2848 | (F) Perl could not compile a file specified in a C<require> statement. |
4206 | 2849 | Perl uses this generic message when none of the errors that it |
4207 | 2850 | encountered were severe enough to halt compilation immediately. |
4208 | 2851 | |
4209 | 2852 | =end original |
4210 | 2853 | |
4211 | 2854 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
4212 | 2855 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
4213 | 2856 | ときに、この一般的なメッセージを使います。 |
4214 | 2857 | |
4215 | 2858 | =item Complex regular subexpression recursion limit (%d) exceeded |
4216 | 2859 | |
4217 | 2860 | =begin original |
4218 | 2861 | |
4219 | 2862 | (W regexp) The regular expression engine uses recursion in complex |
4220 | 2863 | situations where back-tracking is required. Recursion depth is limited |
4221 | 2864 | to 32766, or perhaps less in architectures where the stack cannot grow |
4222 | 2865 | arbitrarily. ("Simple" and "medium" situations are handled without |
4223 | 2866 | recursion and are not subject to a limit.) Try shortening the string |
4224 | 2867 | under examination; looping in Perl code (e.g. with C<while>) rather than |
4225 | 2868 | in the regular expression engine; or rewriting the regular expression so |
4226 | 2869 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
4227 | 2870 | on I<Mastering Regular Expressions>.) |
4228 | 2871 | |
4229 | 2872 | =end original |
4230 | 2873 | |
4231 | 2874 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
4232 | 2875 | 再帰を使用します。 |
4233 | 2876 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
4234 | 2877 | おそらくもっと小さい値に制限されています。 |
4235 | 2878 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
4236 | 2879 | ありません。) |
4237 | 2880 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
4238 | 2881 | (C<while> などの) Perl コードを使ってループするか、 |
4239 | 2882 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
4240 | 2883 | 書き換えてください。 |
4241 | 2884 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
4242 | 2885 | 参照してください。) |
4243 | 2886 | |
4244 | =item con | |
2887 | =item cond_broadcast() called on unlocked variable | |
4245 | 2888 | |
4246 | 2889 | =begin original |
4247 | 2890 | |
4248 | (W | |
2891 | (W threads) Within a thread-enabled program, you tried to call | |
4249 | ||
2892 | cond_broadcast() on a variable which wasn't locked. The cond_broadcast() | |
4250 | ||
2893 | function is used to wake up another thread that is waiting in a | |
2894 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
2895 | has a chance to enter the wait, it is usual for the signaling thread to | |
2896 | first wait for a lock on variable. This lock attempt will only succeed | |
2897 | after the other thread has entered cond_wait() and thus relinquished the | |
2898 | lock. | |
4251 | 2899 | |
4252 | 2900 | =end original |
4253 | 2901 | |
4254 | (W | |
2902 | (W threads) スレッドが有効になっているプログラムで、ロックされていない | |
4255 | ||
2903 | 変数に対して cond_broadcast() を呼び出そうとしました。 | |
4256 | ||
2904 | cond_broadcast() 関数は cond_wait() で待ち状態になっている他のスレッドを | |
2905 | 起こすために使います。 | |
2906 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
2907 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
2908 | 入るのが普通です。 | |
2909 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
2910 | 手放した場合にのみ成功します。 | |
4257 | 2911 | |
4258 | =item | |
2912 | =item cond_signal() called on unlocked variable | |
4259 | 2913 | |
4260 | 2914 | =begin original |
4261 | 2915 | |
4262 | ( | |
2916 | (W threads) Within a thread-enabled program, you tried to call | |
4263 | ||
2917 | cond_signal() on a variable which wasn't locked. The cond_signal() | |
4264 | ||
2918 | function is used to wake up another thread that is waiting in a | |
2919 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
2920 | has a chance to enter the wait, it is usual for the signaling thread to | |
2921 | first wait for a lock on variable. This lock attempt will only succeed | |
2922 | after the other thread has entered cond_wait() and thus relinquished the | |
2923 | lock. | |
4265 | 2924 | |
4266 | 2925 | =end original |
4267 | 2926 | |
4268 | ( | |
2927 | (W threads) スレッドが有効になっているプログラムで、ロックされていない | |
4269 | ||
2928 | 変数に対して cond_signal() を呼び出そうとしました。 | |
4270 | ||
2929 | cond_signal() 関数は cond_wait() で待ち状態になっている他のスレッドを | |
2930 | 起こすために使います。 | |
2931 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
2932 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
2933 | 入るのが普通です。 | |
2934 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
2935 | 手放した場合にのみ成功します。 | |
4271 | 2936 | |
4272 | =item | |
2937 | =item connect() on closed socket %s | |
4273 | 2938 | |
4274 | 2939 | =begin original |
4275 | 2940 | |
4276 | ( | |
2941 | (W closed) You tried to do a connect on a closed socket. Did you forget | |
4277 | o | |
2942 | to check the return value of your socket() call? See | |
4278 | L< | |
2943 | L<perlfunc/connect>. | |
4279 | 2944 | |
4280 | 2945 | =end original |
4281 | 2946 | |
4282 | ( | |
2947 | (W closed) クローズされたソケットに connent を行なおうとしました。 | |
4283 | ||
2948 | socket() の呼び出し時に、返却値のチェックを忘れたたのではありませんか。 | |
2949 | L<perlfunc/connect> を参照してください。 | |
4284 | 2950 | |
2951 | =item Constant(%s)%s: %s | |
2952 | ||
2953 | =begin original | |
2954 | ||
2955 | (F) The parser found inconsistencies either while attempting to define | |
2956 | an overloaded constant, or when trying to find the character name | |
2957 | specified in the C<\N{...}> escape. Perhaps you forgot to load the | |
2958 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and | |
2959 | L<overload>. | |
2960 | ||
2961 | =end original | |
2962 | ||
2963 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
2964 | C<\N{...}> エスケープで指定された文字名を探そうとしたときに | |
2965 | 非一貫性を発見しました。 | |
2966 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを | |
2967 | 忘れたのでは? | |
2968 | L<charnames> と L<overload> を参照してください。 | |
2969 | ||
4285 | 2970 | =item Constant is not %s reference |
4286 | 2971 | |
4287 | 2972 | =begin original |
4288 | 2973 | |
4289 | 2974 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
4290 | 2975 | is being dereferenced, but it amounts to the wrong type of reference. |
4291 | The message indicates the type of reference that was expected. | |
2976 | The message indicates the type of reference that was expected. This | |
4292 | 2977 | usually indicates a syntax error in dereferencing the constant value. |
4293 | 2978 | See L<perlsub/"Constant Functions"> and L<constant>. |
4294 | 2979 | |
4295 | 2980 | =end original |
4296 | 2981 | |
4297 | 2982 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
4298 | 2983 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
4299 | 2984 | このメッセージは想定されたリファレンスの型を示しています。 |
4300 | 2985 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
4301 | 2986 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
4302 | 2987 | |
4303 | =item Constants from lexical variables potentially modified elsewhere are no longer permitted | |
4304 | ||
4305 | =begin original | |
4306 | ||
4307 | (F) You wrote something like | |
4308 | ||
4309 | =end original | |
4310 | ||
4311 | (F) 次のようなものを書きましたが | |
4312 | ||
4313 | my $var; | |
4314 | $sub = sub () { $var }; | |
4315 | ||
4316 | =begin original | |
4317 | ||
4318 | but $var is referenced elsewhere and could be modified after the C<sub> | |
4319 | expression is evaluated. Either it is explicitly modified elsewhere | |
4320 | (C<$var = 3>) or it is passed to a subroutine or to an operator like | |
4321 | C<printf> or C<map>, which may or may not modify the variable. | |
4322 | ||
4323 | =end original | |
4324 | ||
4325 | $var はどこか別の場所へのリファレンスで、 | |
4326 | C<sub> 式が評価された後に変更されるかもしれません。 | |
4327 | どこかで明示的に変更されたり、(C<$var = 3>) 、 | |
4328 | 変数を変更するかどうかわからない、 | |
4329 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 | |
4330 | ||
4331 | =begin original | |
4332 | ||
4333 | Traditionally, Perl has captured the value of the variable at that | |
4334 | point and turned the subroutine into a constant eligible for inlining. | |
4335 | In those cases where the variable can be modified elsewhere, this | |
4336 | breaks the behavior of closures, in which the subroutine captures | |
4337 | the variable itself, rather than its value, so future changes to the | |
4338 | variable are reflected in the subroutine's return value. | |
4339 | ||
4340 | =end original | |
4341 | ||
4342 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 | |
4343 | サブルーチンをインライン化可能な定数に変換します。 | |
4344 | 変数が別の場所で変更可能な場合、 | |
4345 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので | |
4346 | クロージャの振る舞いを壊します。 | |
4347 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 | |
4348 | ||
4349 | =begin original | |
4350 | ||
4351 | This usage was deprecated, and as of Perl 5.32 is no longer allowed, | |
4352 | making it possible to change the behavior in the future. | |
4353 | ||
4354 | =end original | |
4355 | ||
4356 | この使用法は廃止予定になり、Perl 5.32 でもはや許されなくなりました。 | |
4357 | これにより将来振る舞いを換えることが可能になります。 | |
4358 | ||
4359 | =begin original | |
4360 | ||
4361 | If you intended for the subroutine to be eligible for inlining, then | |
4362 | make sure the variable is not referenced elsewhere, possibly by | |
4363 | copying it: | |
4364 | ||
4365 | =end original | |
4366 | ||
4367 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 | |
4368 | おそらくコピーすることで、他のどこからも参照されないようにしてください: | |
4369 | ||
4370 | my $var2 = $var; | |
4371 | $sub = sub () { $var2 }; | |
4372 | ||
4373 | =begin original | |
4374 | ||
4375 | If you do want this subroutine to be a closure that reflects future | |
4376 | changes to the variable that it closes over, add an explicit C<return>: | |
4377 | ||
4378 | =end original | |
4379 | ||
4380 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる | |
4381 | クロージャにしたいなら、明示的な C<return> を追加してください: | |
4382 | ||
4383 | my $var; | |
4384 | $sub = sub () { return $var }; | |
4385 | ||
4386 | 2988 | =item Constant subroutine %s redefined |
4387 | 2989 | |
4388 | 2990 | =begin original |
4389 | 2991 | |
4390 | ( | |
2992 | (S) You redefined a subroutine which had previously been | |
4391 | ||
2993 | eligible for inlining. See L<perlsub/"Constant Functions"> for | |
4392 | ||
2994 | commentary and workarounds. | |
4393 | 2995 | |
4394 | 2996 | =end original |
4395 | 2997 | |
4396 | ( | |
2998 | (S) 以前にインライン化できる形であったサブルーチンを | |
4397 | 2999 | 再定義しました。 |
4398 | 3000 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4399 | 3001 | 参照してください。 |
4400 | 3002 | |
4401 | 3003 | =item Constant subroutine %s undefined |
4402 | 3004 | |
4403 | 3005 | =begin original |
4404 | 3006 | |
4405 | 3007 | (W misc) You undefined a subroutine which had previously been eligible |
4406 | 3008 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
4407 | 3009 | workarounds. |
4408 | 3010 | |
4409 | 3011 | =end original |
4410 | 3012 | |
4411 | 3013 | (W misc)以前にインライン化できる形であったサブルーチンを |
4412 | 3014 | 未定義化しました。 |
4413 | 3015 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4414 | 3016 | 参照してください。 |
4415 | 3017 | |
4416 | =item Constant(%s) unknown | |
4417 | ||
4418 | =begin original | |
4419 | ||
4420 | (F) The parser found inconsistencies either while attempting | |
4421 | to define an overloaded constant, or when trying to find the | |
4422 | character name specified in the C<\N{...}> escape. Perhaps you | |
4423 | forgot to load the corresponding L<overload> pragma? | |
4424 | ||
4425 | =end original | |
4426 | ||
4427 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
4428 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
4429 | 発見しました。 | |
4430 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4431 | ||
4432 | =item :const is experimental | |
4433 | ||
4434 | =begin original | |
4435 | ||
4436 | (S experimental::const_attr) The "const" attribute is experimental. | |
4437 | If you want to use the feature, disable the warning with C<no warnings | |
4438 | 'experimental::const_attr'>, but know that in doing so you are taking | |
4439 | the risk that your code may break in a future Perl version. | |
4440 | ||
4441 | =end original | |
4442 | ||
4443 | (S experimental::const_attr) "const" 属性は実験的です。 | |
4444 | この機能を使いたい場合、 | |
4445 | C<no warnings 'experimental::const_attr'> で警告を無効にしてください; | |
4446 | しかし、そうすることであなたのコードが将来の Perl のバージョンで | |
4447 | 壊れるリスクを取ることになります。 | |
4448 | ||
4449 | =item :const is not permitted on named subroutines | |
4450 | ||
4451 | =begin original | |
4452 | ||
4453 | (F) The "const" attribute causes an anonymous subroutine to be run and | |
4454 | its value captured at the time that it is cloned. Named subroutines are | |
4455 | not cloned like this, so the attribute does not make sense on them. | |
4456 | ||
4457 | =end original | |
4458 | ||
4459 | (F) The "const" 属性は、クローンされたときに値を捕捉された | |
4460 | 無名サブルーチンになります。 | |
4461 | 名前付きサブルーチンはこのようにクローンされないので、 | |
4462 | 属性はこれらに関して意味を持ちません。 | |
4463 | ||
4464 | 3018 | =item Copy method did not return a reference |
4465 | 3019 | |
4466 | 3020 | =begin original |
4467 | 3021 | |
4468 | (F) The method which overloads "=" is buggy. | |
3022 | (F) The method which overloads "=" is buggy. See | |
4469 | 3023 | L<overload/Copy Constructor>. |
4470 | 3024 | |
4471 | 3025 | =end original |
4472 | 3026 | |
4473 | 3027 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
4474 | 3028 | L<overload/Copy Constructor> を参照してください。 |
4475 | 3029 | |
4476 | =item &CORE::%s cannot be called directly | |
4477 | ||
4478 | =begin original | |
4479 | ||
4480 | (F) You tried to call a subroutine in the C<CORE::> namespace | |
4481 | with C<&foo> syntax or through a reference. Some subroutines | |
4482 | in this package cannot yet be called that way, but must be | |
4483 | called as barewords. Something like this will work: | |
4484 | ||
4485 | =end original | |
4486 | ||
4487 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で | |
4488 | 呼び出そうとしました。 | |
4489 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で | |
4490 | 呼び出さなければなりません。 | |
4491 | 以下のようなものは動作します: | |
4492 | ||
4493 | BEGIN { *shove = \&CORE::push; } | |
4494 | shove @array, 1,2,3; # pushes on to @array | |
4495 | ||
4496 | 3030 | =item CORE::%s is not a keyword |
4497 | 3031 | |
4498 | 3032 | =begin original |
4499 | 3033 | |
4500 | 3034 | (F) The CORE:: namespace is reserved for Perl keywords. |
4501 | 3035 | |
4502 | 3036 | =end original |
4503 | 3037 | |
4504 | 3038 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
4505 | 3039 | |
4506 | =item Corrupted regexp opcode %d > %d | |
4507 | ||
4508 | =begin original | |
4509 | ||
4510 | (P) This is either an error in Perl, or, if you're using | |
4511 | one, your L<custom regular expression engine|perlreapi>. If not the | |
4512 | latter, report the problem to L<https://github.com/Perl/perl5/issues>. | |
4513 | ||
4514 | =end original | |
4515 | ||
4516 | (P) これは Perl か、あるいは、使っているなら | |
4517 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
4518 | 後者でなければ、L<https://github.com/Perl/perl5/issues> に | |
4519 | 問題を報告してください。 | |
4520 | ||
4521 | 3040 | =item corrupted regexp pointers |
4522 | 3041 | |
4523 | 3042 | =begin original |
4524 | 3043 | |
4525 | 3044 | (P) The regular expression engine got confused by what the regular |
4526 | 3045 | expression compiler gave it. |
4527 | 3046 | |
4528 | 3047 | =end original |
4529 | 3048 | |
4530 | 3049 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
4531 | 3050 | 処理できなくなりました。 |
4532 | 3051 | |
4533 | 3052 | =item corrupted regexp program |
4534 | 3053 | |
4535 | 3054 | =begin original |
4536 | 3055 | |
4537 | 3056 | (P) The regular expression engine got passed a regexp program without a |
4538 | 3057 | valid magic number. |
4539 | 3058 | |
4540 | 3059 | =end original |
4541 | 3060 | |
4542 | 3061 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
4543 | 3062 | regexp プログラムを渡しました。 |
4544 | 3063 | |
4545 | =item Corrupt malloc ptr 0x%x at 0x%x | |
3064 | =item Corrupt malloc ptr 0x%lx at 0x%lx | |
4546 | 3065 | |
4547 | 3066 | =begin original |
4548 | 3067 | |
4549 | 3068 | (P) The malloc package that comes with Perl had an internal failure. |
4550 | 3069 | |
4551 | 3070 | =end original |
4552 | 3071 | |
4553 | 3072 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
4554 | 3073 | |
4555 | 3074 | =item Count after length/code in unpack |
4556 | 3075 | |
4557 | 3076 | =begin original |
4558 | 3077 | |
4559 | 3078 | (F) You had an unpack template indicating a counted-length string, but |
4560 | 3079 | you have also specified an explicit size for the string. See |
4561 | 3080 | L<perlfunc/pack>. |
4562 | 3081 | |
4563 | 3082 | =end original |
4564 | 3083 | |
4565 | 3084 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 |
4566 | 3085 | 文字列の長さも明示的に指定しています。 |
4567 | 3086 | L<perlfunc/pack> を参照してください。 |
4568 | 3087 | |
4569 | =item Declaring references is experimental | |
4570 | ||
4571 | =begin original | |
4572 | ||
4573 | (S experimental::declared_refs) This warning is emitted if you use | |
4574 | a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or | |
4575 | C<local>. Simply suppress the warning if you want to use the feature, but | |
4576 | know that in doing so you are taking the risk of using an experimental | |
4577 | feature which may change or be removed in a future Perl version: | |
4578 | ||
4579 | =end original | |
4580 | ||
4581 | (S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で | |
4582 | リファレンスコンストラクタを使うとこの警告が出力されます。 | |
4583 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
4584 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
4585 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
4586 | 取っていると言うことを知っておいてください: | |
4587 | ||
4588 | no warnings "experimental::declared_refs"; | |
4589 | use feature "declared_refs"; | |
4590 | $fooref = my \$foo; | |
4591 | ||
4592 | =for comment | |
4593 | The following are used in lib/diagnostics.t for testing two =items that | |
4594 | share the same description. Changes here need to be propagated to there | |
4595 | ||
4596 | =item Deep recursion on anonymous subroutine | |
4597 | ||
4598 | 3088 | =item Deep recursion on subroutine "%s" |
4599 | 3089 | |
4600 | 3090 | =begin original |
4601 | 3091 | |
4602 | 3092 | (W recursion) This subroutine has called itself (directly or indirectly) |
4603 | 3093 | 100 times more than it has returned. This probably indicates an |
4604 | 3094 | infinite recursion, unless you're writing strange benchmark programs, in |
4605 | 3095 | which case it indicates something else. |
4606 | 3096 | |
4607 | 3097 | =end original |
4608 | 3098 | |
4609 | (W recursion) このサブルー | |
3099 | (W recursion) このサブルーティンは、(直接、間接に) 自分自身の呼び出しを、 | |
4610 | 3100 | return より 100 回多く行ないました。 |
4611 | 3101 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
4612 | 可能性があります | |
3102 | 可能性があります。 | |
3103 | ベンチマークを書いている場合には、別のことを示しています。 | |
4613 | 3104 | |
3105 | =item defined(@array) is deprecated | |
3106 | ||
4614 | 3107 | =begin original |
4615 | 3108 | |
4616 | ||
3109 | (D deprecated) defined() is not usually useful on arrays because it | |
4617 | ||
3110 | checks for an undefined I<scalar> value. If you want to see if the | |
3111 | array is empty, just use C<if (@array) { # not empty }> for example. | |
4618 | 3112 | |
4619 | 3113 | =end original |
4620 | 3114 | |
4621 | ||
3115 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に | |
4622 | ||
3116 | 使っても普通は無意味です。 | |
3117 | 配列が空かどうかを調べたい場合は、例えば単に | |
3118 | C<if (@array) { # not empty }> としてください。 | |
4623 | 3119 | |
4624 | =item | |
3120 | =item defined(%hash) is deprecated | |
4625 | S<<-- HERE> in m/%s/ | |
4626 | 3121 | |
4627 | 3122 | =begin original |
4628 | 3123 | |
4629 | ( | |
3124 | (D deprecated) defined() is not usually useful on hashes because it | |
4630 | ||
3125 | checks for an undefined I<scalar> value. If you want to see if the hash | |
4631 | ||
3126 | is empty, just use C<if (%hash) { # not empty }> for example. | |
4632 | 3127 | |
4633 | 3128 | =end original |
4634 | 3129 | |
4635 | ( | |
3130 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに | |
4636 | ||
3131 | 使っても普通は無意味です。 | |
4637 | ||
3132 | ハッシュが空かどうかを調べたい場合は、例えば単に | |
3133 | C<if (%hash) { # not empty }> としてください。 | |
4638 | 3134 | |
4639 | =begin original | |
4640 | ||
4641 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
4642 | discovered. | |
4643 | ||
4644 | =end original | |
4645 | ||
4646 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4647 | ||
4648 | 3135 | =item %s defines neither package nor VERSION--version check failed |
4649 | 3136 | |
4650 | 3137 | =begin original |
4651 | 3138 | |
4652 | 3139 | (F) You said something like "use Module 42" but in the Module file |
4653 | 3140 | there are neither package declarations nor a C<$VERSION>. |
4654 | 3141 | |
4655 | 3142 | =end original |
4656 | 3143 | |
4657 | 3144 | (F) "use Module 42" のようなことをしましたが、Module ファイルに |
4658 | 3145 | パッケージ定義がないか、C<$VERSION> がありませんでした。 |
4659 | 3146 | |
4660 | =item delete argument is not a HASH or ARRAY element or slice | |
4661 | ||
4662 | =begin original | |
4663 | ||
4664 | (F) The argument to C<delete> must be either a hash or array element, | |
4665 | such as: | |
4666 | ||
4667 | =end original | |
4668 | ||
4669 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: | |
4670 | ||
4671 | $foo{$bar} | |
4672 | $ref->{"susie"}[12] | |
4673 | ||
4674 | =begin original | |
4675 | ||
4676 | or a hash or array slice, such as: | |
4677 | ||
4678 | =end original | |
4679 | ||
4680 | あるいは以下のようにハッシュか配列のスライスか: | |
4681 | ||
4682 | @foo[$bar, $baz, $xyzzy] | |
4683 | $ref->[12]->@{"susie", "queue"} | |
4684 | ||
4685 | =begin original | |
4686 | ||
4687 | or a hash key/value or array index/value slice, such as: | |
4688 | ||
4689 | =end original | |
4690 | ||
4691 | あるいは以下のようにハッシュのキー/値や配列のインデックス/値で | |
4692 | なければなりません: | |
4693 | ||
4694 | %foo[$bar, $baz, $xyzzy] | |
4695 | $ref->[12]->%{"susie", "queue"} | |
4696 | ||
4697 | 3147 | =item Delimiter for here document is too long |
4698 | 3148 | |
4699 | 3149 | =begin original |
4700 | 3150 | |
4701 | 3151 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
4702 | 3152 | long for Perl to handle. You have to be seriously twisted to write code |
4703 | 3153 | that triggers this error. |
4704 | 3154 | |
4705 | 3155 | =end original |
4706 | 3156 | |
4707 | 3157 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
4708 | 3158 | Perl が扱うには長すぎました。 |
4709 | 3159 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
4710 | 3160 | |
4711 | =item Deprecated use of my() in false conditional. This will be a fatal error in Perl 5.30 | |
4712 | ||
4713 | =begin original | |
4714 | ||
4715 | (D deprecated) You used a declaration similar to C<my $x if 0>. There | |
4716 | has been a long-standing bug in Perl that causes a lexical variable | |
4717 | not to be cleared at scope exit when its declaration includes a false | |
4718 | conditional. Some people have exploited this bug to achieve a kind of | |
4719 | static variable. Since we intend to fix this bug, we don't want people | |
4720 | relying on this behavior. You can achieve a similar static effect by | |
4721 | declaring the variable in a separate block outside the function, eg | |
4722 | ||
4723 | =end original | |
4724 | ||
4725 | (D deprecated) C<my $x if 0> のような定義を行いました。 | |
4726 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が | |
4727 | クリアされないという、Perl に長い間存在したバグです。 | |
4728 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
4729 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
4730 | ほしくありません。 | |
4731 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
4732 | 達成できます; 例えば: | |
4733 | ||
4734 | sub f { my $x if 0; return $x++ } | |
4735 | ||
4736 | =begin original | |
4737 | ||
4738 | becomes | |
4739 | ||
4740 | =end original | |
4741 | ||
4742 | これは以下のようにします: | |
4743 | ||
4744 | { my $x; sub f { return $x++ } } | |
4745 | ||
4746 | =begin original | |
4747 | ||
4748 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
4749 | lexicals that are initialized only once (see L<feature>): | |
4750 | ||
4751 | =end original | |
4752 | ||
4753 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
4754 | 使えます (L<feature> を参照してください): | |
4755 | ||
4756 | sub f { state $x; return $x++ } | |
4757 | ||
4758 | =begin original | |
4759 | ||
4760 | This use of C<my()> in a false conditional has been deprecated since | |
4761 | Perl 5.10, and it will become a fatal error in Perl 5.30. | |
4762 | ||
4763 | =end original | |
4764 | ||
4765 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定で、 | |
4766 | Perl 5.30 で致命的エラーになる予定です。 | |
4767 | ||
4768 | 3161 | =item DESTROY created new reference to dead object '%s' |
4769 | 3162 | |
4770 | 3163 | =begin original |
4771 | 3164 | |
4772 | 3165 | (F) A DESTROY() method created a new reference to the object which is |
4773 | just being DESTROYed. | |
3166 | just being DESTROYed. Perl is confused, and prefers to abort rather than | |
4774 | t | |
3167 | to create a dangling reference. | |
4775 | 3168 | |
4776 | 3169 | =end original |
4777 | 3170 | |
4778 | 3171 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの |
4779 | 3172 | 新しいリファレンスを作りました。 |
4780 | 3173 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 |
4781 | 3174 | |
4782 | 3175 | =item Did not produce a valid header |
4783 | 3176 | |
4784 | 3177 | =begin original |
4785 | 3178 | |
4786 | See | |
3179 | See Server error. | |
4787 | 3180 | |
4788 | 3181 | =end original |
4789 | 3182 | |
4790 | ||
3183 | "Server error" を参照してください。 | |
4791 | 3184 | |
4792 | 3185 | =item %s did not return a true value |
4793 | 3186 | |
4794 | 3187 | =begin original |
4795 | 3188 | |
4796 | 3189 | (F) A required (or used) file must return a true value to indicate that |
4797 | 3190 | it compiled correctly and ran its initialization code correctly. It's |
4798 | 3191 | traditional to end such a file with a "1;", though any true value would |
4799 | 3192 | do. See L<perlfunc/require>. |
4800 | 3193 | |
4801 | 3194 | =end original |
4802 | 3195 | |
4803 | 3196 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
4804 | 3197 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
4805 | 3198 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
4806 | 3199 | 真となる値であれば、何でもかまいません。 |
4807 | 3200 | L<perlfunc/require> を参照してください。 |
4808 | 3201 | |
4809 | 3202 | =item (Did you mean &%s instead?) |
4810 | 3203 | |
4811 | 3204 | =begin original |
4812 | 3205 | |
4813 | (W | |
3206 | (W) You probably referred to an imported subroutine &FOO as $FOO or some | |
4814 | s | |
3207 | such. | |
4815 | 3208 | |
4816 | 3209 | =end original |
4817 | 3210 | |
4818 | ||
3211 | おそらく import したサブルーチン &FOO を $FOO として | |
4819 | 3212 | 参照したようなことでしょう。 |
4820 | 3213 | |
4821 | 3214 | =item (Did you mean "local" instead of "our"?) |
4822 | 3215 | |
4823 | 3216 | =begin original |
4824 | 3217 | |
4825 | (W s | |
3218 | (W misc) Remember that "our" does not localize the declared global | |
4826 | 3219 | variable. You have declared it again in the same lexical scope, which |
4827 | 3220 | seems superfluous. |
4828 | 3221 | |
4829 | 3222 | =end original |
4830 | 3223 | |
4831 | (W s | |
3224 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを | |
4832 | 3225 | 忘れないで下さい。 |
4833 | 3226 | これをもう一度同じレキシカルスコープで宣言していますが、 |
4834 | 3227 | 不必要でしょう。 |
4835 | 3228 | |
4836 | 3229 | =item (Did you mean $ or @ instead of %?) |
4837 | 3230 | |
4838 | 3231 | =begin original |
4839 | 3232 | |
4840 | 3233 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
4841 | 3234 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
4842 | 3235 | carried away. |
4843 | 3236 | |
4844 | 3237 | =end original |
4845 | 3238 | |
4846 | 3239 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
4847 | 3240 | したのでしょう。 |
4848 | 3241 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
4849 | 3242 | |
4850 | 3243 | =item Died |
4851 | 3244 | |
4852 | 3245 | =begin original |
4853 | 3246 | |
4854 | 3247 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
4855 | you called it with no args and C<$@> | |
3248 | you called it with no args and both C<$@> and C<$_> were empty. | |
4856 | 3249 | |
4857 | 3250 | =end original |
4858 | 3251 | |
4859 | 3252 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
4860 | 呼び出して、C<$@> が空でした。 | |
3253 | 呼び出して、C<$@> と C<$_> が空でした。 | |
4861 | 3254 | |
4862 | 3255 | =item Document contains no data |
4863 | 3256 | |
4864 | 3257 | =begin original |
4865 | 3258 | |
4866 | See | |
3259 | See Server error. | |
4867 | 3260 | |
4868 | 3261 | =end original |
4869 | 3262 | |
4870 | ||
3263 | "Server error" を参照してください。 | |
4871 | 3264 | |
4872 | 3265 | =item %s does not define %s::VERSION--version check failed |
4873 | 3266 | |
4874 | 3267 | =begin original |
4875 | 3268 | |
4876 | 3269 | (F) You said something like "use Module 42" but the Module did not |
4877 | define a C<$VERSION | |
3270 | define a C<$VERSION.> | |
4878 | 3271 | |
4879 | 3272 | =end original |
4880 | 3273 | |
4881 | 3274 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を |
4882 | 3275 | 定義していません。 |
4883 | 3276 | |
4884 | 3277 | =item '/' does not take a repeat count |
4885 | 3278 | |
4886 | 3279 | =begin original |
4887 | 3280 | |
4888 | 3281 | (F) You cannot put a repeat count of any kind right after the '/' code. |
4889 | 3282 | See L<perlfunc/pack>. |
4890 | 3283 | |
4891 | 3284 | =end original |
4892 | 3285 | |
4893 | 3286 | (F) '/' の直後には繰り返し数を指定できません。 |
4894 | 3287 | L<perlfunc/pack> を参照してください。 |
4895 | 3288 | |
4896 | =item | |
3289 | =item Don't know how to handle magic of type '%s' | |
4897 | 3290 | |
4898 | 3291 | =begin original |
4899 | 3292 | |
4900 | (D deprecated) Previously C< do "somefile"; > would search the current | |
4901 | directory for the specified file. Since perl v5.26.0, F<.> has been | |
4902 | removed from C<@INC> by default, so this is no longer true. To search the | |
4903 | current directory (and only the current directory) you can write | |
4904 | C< do "./somefile"; >. | |
4905 | ||
4906 | =end original | |
4907 | ||
4908 | (D deprecated) 以前は、C< do "somefile"; > は指定されたファイルを | |
4909 | カレントディレクトリから探していました。 | |
4910 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 | |
4911 | これはもはや真ではありません。 | |
4912 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 | |
4913 | C< do "./somefile"; > と書けます。 | |
4914 | ||
4915 | =item Don't know how to get file name | |
4916 | ||
4917 | =begin original | |
4918 | ||
4919 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was | |
4920 | somehow called on another platform. This should not happen. | |
4921 | ||
4922 | =end original | |
4923 | ||
4924 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか | |
4925 | 他のプラットフォームで呼び出されました。 | |
4926 | これは起きないはずです。 | |
4927 | ||
4928 | =item Don't know how to handle magic of type \%o | |
4929 | ||
4930 | =begin original | |
4931 | ||
4932 | 3293 | (P) The internal handling of magical variables has been cursed. |
4933 | 3294 | |
4934 | 3295 | =end original |
4935 | 3296 | |
4936 | (P) マジ | |
3297 | (P) マジック変数の内部処理がおかしくなっています。 | |
4937 | 3298 | |
4938 | 3299 | =item do_study: out of memory |
4939 | 3300 | |
4940 | 3301 | =begin original |
4941 | 3302 | |
4942 | 3303 | (P) This should have been caught by safemalloc() instead. |
4943 | 3304 | |
4944 | 3305 | =end original |
4945 | 3306 | |
4946 | 3307 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
4947 | 3308 | |
4948 | 3309 | =item (Do you need to predeclare %s?) |
4949 | 3310 | |
4950 | 3311 | =begin original |
4951 | 3312 | |
4952 | 3313 | (S syntax) This is an educated guess made in conjunction with the message |
4953 | 3314 | "%s found where operator expected". It often means a subroutine or module |
4954 | 3315 | name is being referenced that hasn't been declared yet. This may be |
4955 | 3316 | because of ordering problems in your file, or because of a missing |
4956 | 3317 | "sub", "package", "require", or "use" statement. If you're referencing |
4957 | 3318 | something that isn't defined yet, you don't actually have to define the |
4958 | 3319 | subroutine or package before the current location. You can use an empty |
4959 | 3320 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
4960 | 3321 | |
4961 | 3322 | =end original |
4962 | 3323 | |
4963 | 3324 | (S syntax) これは "%s found where operator expected" メッセージと共に |
4964 | 3325 | 表示される教育的な推測です。 |
4965 | 3326 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
4966 | 3327 | ことを意味します。 |
4967 | 3328 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
4968 | 3329 | "use" 文がないためであったりします。 |
4969 | 3330 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
4970 | 3331 | サブルーチンやパッケージを定義する必要はありません。 |
4971 | 3332 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
4972 | 3333 | |
4973 | =item dump() | |
3334 | =item dump() better written as CORE::dump() | |
4974 | 3335 | |
4975 | 3336 | =begin original |
4976 | 3337 | |
4977 | ( | |
3338 | (W misc) You used the obsolescent C<dump()> built-in function, without fully | |
4978 | ||
3339 | qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>. | |
4979 | C<CORE::dump()>. | |
4980 | 3340 | |
4981 | 3341 | =end original |
4982 | 3342 | |
4983 | ( | |
3343 | (W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と | |
4984 | ||
3344 | いうように完全修飾せずに使いました。 | |
4985 | ||
3345 | おそらくこれはタイプミスです。 | |
4986 | 書かなければなりません。 | |
4987 | ||
4988 | =begin original | |
4989 | ||
4990 | See L<perlfunc/dump>. | |
4991 | ||
4992 | =end original | |
4993 | ||
4994 | 3346 | L<perlfunc/dump> を参照してください。 |
4995 | 3347 | |
4996 | =item dump is not supported | |
4997 | ||
4998 | =begin original | |
4999 | ||
5000 | (F) Your machine doesn't support dump/undump. | |
5001 | ||
5002 | =end original | |
5003 | ||
5004 | (F) このマシンは dump/undump に対応していません。 | |
5005 | ||
5006 | 3348 | =item Duplicate free() ignored |
5007 | 3349 | |
5008 | 3350 | =begin original |
5009 | 3351 | |
5010 | 3352 | (S malloc) An internal routine called free() on something that had |
5011 | 3353 | already been freed. |
5012 | 3354 | |
5013 | 3355 | =end original |
5014 | 3356 | |
5015 | 3357 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
5016 | 3358 | 行なおうとしました。 |
5017 | 3359 | |
5018 | 3360 | =item Duplicate modifier '%c' after '%c' in %s |
5019 | 3361 | |
5020 | 3362 | =begin original |
5021 | 3363 | |
5022 | (W | |
3364 | (W) You have applied the same modifier more than once after a type | |
5023 | ||
3365 | in a pack template. See L<perlfunc/pack>. | |
5024 | 3366 | |
5025 | 3367 | =end original |
5026 | 3368 | |
5027 | (W | |
3369 | (W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
5028 | 3370 | L<perlfunc/pack> を参照してください。 |
5029 | 3371 | |
5030 | 3372 | =item elseif should be elsif |
5031 | 3373 | |
5032 | 3374 | =begin original |
5033 | 3375 | |
5034 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks | |
3376 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks it's | |
5035 | ||
3377 | ugly. Your code will be interpreted as an attempt to call a method named | |
5036 | ||
3378 | "elseif" for the class returned by the following block. This is | |
5037 | 3379 | unlikely to be what you want. |
5038 | 3380 | |
5039 | 3381 | =end original |
5040 | 3382 | |
5041 | 3383 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
5042 | 3384 | ありません。 |
5043 | 3385 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
5044 | 3386 | 呼び出そうとしていると解釈されます。 |
5045 | 3387 | これは望んでいることではないはずです。 |
5046 | 3388 | |
5047 | =item Empty | |
3389 | =item Empty %s | |
5048 | 3390 | |
5049 | =item Empty \%c{} | |
5050 | ||
5051 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
5052 | ||
5053 | 3391 | =begin original |
5054 | 3392 | |
5055 | (F) | |
3393 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as | |
5056 | ||
3394 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in | |
3395 | a regular expression without specifying the property name. | |
5057 | 3396 | |
5058 | 3397 | =end original |
5059 | 3398 | |
5060 | (F) | |
3399 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 | |
5061 | ||
3400 | 名前付き Unicode プロパティを導入するために使われます。 | |
3401 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
5062 | 3402 | |
5063 | =begin original | |
5064 | ||
5065 | Unfortunately, for backwards compatibility reasons, an empty C<\x> is | |
5066 | legal outside S<C<use re 'strict'>> and expands to a NUL character. | |
5067 | ||
5068 | =end original | |
5069 | ||
5070 | 残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の | |
5071 | C<\x> は正当で、一つの NUL 文字に展開されます。 | |
5072 | ||
5073 | =item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/ | |
5074 | ||
5075 | =begin original | |
5076 | ||
5077 | (W regexp) (only under C<S<use re 'strict'>>) | |
5078 | C<(?)> does nothing, so perhaps this is a typo. | |
5079 | ||
5080 | =end original | |
5081 | ||
5082 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
5083 | C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。 | |
5084 | ||
5085 | =item ${^ENCODING} is no longer supported | |
5086 | ||
5087 | =begin original | |
5088 | ||
5089 | (F) The special variable C<${^ENCODING}>, formerly used to implement | |
5090 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. | |
5091 | ||
5092 | =end original | |
5093 | ||
5094 | (F) 以前は C<encoding> プラグマの実装に使われていた | |
5095 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 | |
5096 | ||
5097 | =begin original | |
5098 | ||
5099 | Setting it to anything other than C<undef> is a fatal error as of Perl | |
5100 | 5.28. | |
5101 | ||
5102 | =end original | |
5103 | ||
5104 | これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。 | |
5105 | ||
5106 | 3403 | =item entering effective %s failed |
5107 | 3404 | |
5108 | 3405 | =begin original |
5109 | 3406 | |
5110 | 3407 | (F) While under the C<use filetest> pragma, switching the real and |
5111 | 3408 | effective uids or gids failed. |
5112 | 3409 | |
5113 | 3410 | =end original |
5114 | 3411 | |
5115 | 3412 | (F) C<use filetest> プラグマを使っている間に、 |
5116 | 3413 | 実と実効の UID や GID の切り替えに失敗しました。 |
5117 | 3414 | |
5118 | 3415 | =item %ENV is aliased to %s |
5119 | 3416 | |
5120 | 3417 | =begin original |
5121 | 3418 | |
5122 | 3419 | (F) You're running under taint mode, and the C<%ENV> variable has been |
5123 | 3420 | aliased to another hash, so it doesn't reflect anymore the state of the |
5124 | program's environment. | |
3421 | program's environment. This is potentially insecure. | |
5125 | 3422 | |
5126 | 3423 | =end original |
5127 | 3424 | |
5128 | 3425 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに |
5129 | 3426 | なっているので、これ以上プログラムの環境の状態を反映しません。 |
5130 | 3427 | これは潜在的にはセキュアではありません。 |
5131 | 3428 | |
5132 | 3429 | =item Error converting file specification %s |
5133 | 3430 | |
5134 | 3431 | =begin original |
5135 | 3432 | |
5136 | 3433 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
5137 | 3434 | specifications in either VMS or Unix syntax, it converts them to a |
5138 | 3435 | single form when it must operate on them directly. Either you've passed |
5139 | 3436 | an invalid file specification to Perl, or you've found a case the |
5140 | 3437 | conversion routines don't handle. Drat. |
5141 | 3438 | |
5142 | 3439 | =end original |
5143 | 3440 | |
5144 | 3441 | (F) VMS に固有のエラーです。 |
5145 | 3442 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
5146 | 3443 | 直接操作しなければならない場合は変換します。 |
5147 | 3444 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
5148 | 3445 | 発見したかです。 |
5149 | 3446 | ちぇっ。 |
5150 | 3447 | |
5151 | =item Er | |
3448 | =item %s: Eval-group in insecure regular expression | |
5152 | 3449 | |
5153 | 3450 | =begin original |
5154 | 3451 | |
5155 | (F) An error was encountered in handling a user-defined property | |
5156 | (L<perlunicode/User-Defined Character Properties>). These are | |
5157 | programmer written subroutines, hence subject to errors that may | |
5158 | prevent them from compiling or running. The calls to these subs are | |
5159 | C<eval>'d, and if there is a failure, this message is raised, using the | |
5160 | contents of C<$@> from the failed C<eval>. | |
5161 | ||
5162 | =end original | |
5163 | ||
5164 | (F) ユーザー定義特性 | |
5165 | (L<perlunicode/User-Defined Character Properties>) の扱いで | |
5166 | エラーに遭遇しました。 | |
5167 | これらはプログラマが書いたサブルーチンなので、 | |
5168 | エラーがコンパイルや実行を阻害することがあります。 | |
5169 | これらのサブルーチンの呼び出しは | |
5170 | C<eval> され、エラーがある場合、失敗した C<eval> からの C<$@> の内容を使って | |
5171 | このメッセージが発生します。 | |
5172 | ||
5173 | =begin original | |
5174 | ||
5175 | Another possibility is that tainted data was encountered somewhere in | |
5176 | the chain of expanding the property. If so, the message wording will | |
5177 | indicate that this is the problem. See L</Insecure user-defined | |
5178 | property %s>. | |
5179 | ||
5180 | =end original | |
5181 | ||
5182 | もう一つの可能性は、特性の展開の鎖のどこかで汚染されたデータに | |
5183 | 遭遇したことです。 | |
5184 | もしそうなら、メッセージはこれが問題であることを示します。 | |
5185 | L</Insecure user-defined property %s> を参照してください。 | |
5186 | ||
5187 | =item Eval-group in insecure regular expression | |
5188 | ||
5189 | =begin original | |
5190 | ||
5191 | 3452 | (F) Perl detected tainted data when trying to compile a regular |
5192 | 3453 | expression that contains the C<(?{ ... })> zero-width assertion, which |
5193 | 3454 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
5194 | 3455 | |
5195 | 3456 | =end original |
5196 | 3457 | |
5197 | 3458 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
5198 | 3459 | したときに、Perl は汚染されたデータを検出しました; |
5199 | 3460 | これは安全ではありません。 |
5200 | 3461 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
5201 | 3462 | |
5202 | =item Eval-group not allowed at runtime | |
3463 | =item %s: Eval-group not allowed at run time | |
5203 | 3464 | |
5204 | 3465 | =begin original |
5205 | 3466 | |
5206 | 3467 | (F) Perl tried to compile a regular expression containing the |
5207 | 3468 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
5208 | pattern contains interpolated values. Since that is a security risk, | |
3469 | pattern contains interpolated values. Since that is a security risk, it | |
5209 | i | |
3470 | is not allowed. If you insist, you may still do this by explicitly | |
5210 | ||
3471 | building the pattern from an interpolated string at run time and using | |
5211 | ||
3472 | that in an eval(). See L<perlre/(?{ code })>. | |
5212 | L<perlre/(?{ code })>. | |
5213 | 3473 | |
5214 | 3474 | =end original |
5215 | 3475 | |
5216 | 3476 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
5217 | 3477 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
5218 | 3478 | これはセキュリティ上の危険があるので、許可されていません。 |
5219 | どうしても実行したい場合は、 | |
3479 | どうしても実行したい場合は、実行時に変数展開された文字列から | |
5220 | ||
3480 | パターンを作成して、それを eval() の中で使うことで実行できます。 | |
5221 | 実行できます。 | |
5222 | 3481 | L<perlre/(?{ code })> を参照してください。 |
5223 | 3482 | |
5224 | =item Eval-group not allowed, use re 'eval' | |
3483 | =item %s: Eval-group not allowed, use re 'eval' | |
5225 | 3484 | |
5226 | 3485 | =begin original |
5227 | 3486 | |
5228 | 3487 | (F) A regular expression contained the C<(?{ ... })> zero-width |
5229 | 3488 | assertion, but that construct is only allowed when the C<use re 'eval'> |
5230 | 3489 | pragma is in effect. See L<perlre/(?{ code })>. |
5231 | 3490 | |
5232 | 3491 | =end original |
5233 | 3492 | |
5234 | 3493 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
5235 | 3494 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
5236 | 3495 | L<perlre/(?{ code })> を参照してください。 |
5237 | 3496 | |
5238 | =item EVAL without pos change exceeded limit in regex; marked by | |
5239 | S<<-- HERE> in m/%s/ | |
5240 | ||
5241 | =begin original | |
5242 | ||
5243 | (F) You used a pattern that nested too many EVAL calls without consuming | |
5244 | any text. Restructure the pattern so that text is consumed. | |
5245 | ||
5246 | =end original | |
5247 | ||
5248 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる | |
5249 | パターンを使いました。 | |
5250 | テキストを読み込むようにパターンを再構築してください。 | |
5251 | ||
5252 | =begin original | |
5253 | ||
5254 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
5255 | discovered. | |
5256 | ||
5257 | =end original | |
5258 | ||
5259 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
5260 | ||
5261 | 3497 | =item Excessively long <> operator |
5262 | 3498 | |
5263 | 3499 | =begin original |
5264 | 3500 | |
5265 | 3501 | (F) The contents of a <> operator may not exceed the maximum size of a |
5266 | 3502 | Perl identifier. If you're just trying to glob a long list of |
5267 | 3503 | filenames, try using the glob() operator, or put the filenames into a |
5268 | 3504 | variable and glob that. |
5269 | 3505 | |
5270 | 3506 | =end original |
5271 | 3507 | |
5272 | 3508 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
5273 | 3509 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
5274 | 3510 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
5275 | 3511 | |
5276 | 3512 | =item exec? I'm not *that* kind of operating system |
5277 | 3513 | |
5278 | 3514 | =begin original |
5279 | 3515 | |
5280 | (F) The C<exec> function is not implemented | |
3516 | (F) The C<exec> function is not implemented in MacPerl. See L<perlport>. | |
5281 | Catamount. See L<perlport>. | |
5282 | 3517 | |
5283 | 3518 | =end original |
5284 | 3519 | |
5285 | (F) C<exec> 関数は | |
3520 | (F) C<exec> 関数は MacPerl には実装されていません。 | |
5286 | 3521 | L<perlport> を参照してください。 |
5287 | 3522 | |
5288 | =item | |
3523 | =item Execution of %s aborted due to compilation errors | |
5289 | 3524 | |
5290 | 3525 | =begin original |
5291 | 3526 | |
5292 | 3527 | (F) The final summary message when a Perl compilation fails. |
5293 | 3528 | |
5294 | 3529 | =end original |
5295 | 3530 | |
5296 | 3531 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
5297 | 3532 | |
5298 | =item exists argument is not a HASH or ARRAY element or a subroutine | |
5299 | ||
5300 | =begin original | |
5301 | ||
5302 | (F) The argument to C<exists> must be a hash or array element or a | |
5303 | subroutine with an ampersand, such as: | |
5304 | ||
5305 | =end original | |
5306 | ||
5307 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 | |
5308 | アンパサンド付きのサブルーチンでなければなりません: | |
5309 | ||
5310 | $foo{$bar} | |
5311 | $ref->{"susie"}[12] | |
5312 | &do_something | |
5313 | ||
5314 | =item exists argument is not a subroutine name | |
5315 | ||
5316 | =begin original | |
5317 | ||
5318 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, | |
5319 | and not a subroutine call. C<exists &sub()> will generate this error. | |
5320 | ||
5321 | =end original | |
5322 | ||
5323 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 | |
5324 | サブルーチン呼び出しではありません。 | |
5325 | C<exists &sub()> はこのエラーを生成します。 | |
5326 | ||
5327 | 3533 | =item Exiting eval via %s |
5328 | 3534 | |
5329 | 3535 | =begin original |
5330 | 3536 | |
5331 | 3537 | (W exiting) You are exiting an eval by unconventional means, such as a |
5332 | 3538 | goto, or a loop control statement. |
5333 | 3539 | |
5334 | 3540 | =end original |
5335 | 3541 | |
5336 | 3542 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
5337 | 3543 | |
5338 | 3544 | =item Exiting format via %s |
5339 | 3545 | |
5340 | 3546 | =begin original |
5341 | 3547 | |
5342 | 3548 | (W exiting) You are exiting a format by unconventional means, such as a |
5343 | 3549 | goto, or a loop control statement. |
5344 | 3550 | |
5345 | 3551 | =end original |
5346 | 3552 | |
5347 | 3553 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを |
5348 | 3554 | 終了しました。 |
5349 | 3555 | |
5350 | 3556 | =item Exiting pseudo-block via %s |
5351 | 3557 | |
5352 | 3558 | =begin original |
5353 | 3559 | |
5354 | 3560 | (W exiting) You are exiting a rather special block construct (like a |
5355 | 3561 | sort block or subroutine) by unconventional means, such as a goto, or a |
5356 | 3562 | loop control statement. See L<perlfunc/sort>. |
5357 | 3563 | |
5358 | 3564 | =end original |
5359 | 3565 | |
5360 | 3566 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
5361 | 3567 | goto やループ制御文といった異例な方法で終了しました。 |
5362 | 3568 | L<perlfunc/sort> を参照してください。 |
5363 | 3569 | |
5364 | 3570 | =item Exiting subroutine via %s |
5365 | 3571 | |
5366 | 3572 | =begin original |
5367 | 3573 | |
5368 | 3574 | (W exiting) You are exiting a subroutine by unconventional means, such |
5369 | 3575 | as a goto, or a loop control statement. |
5370 | 3576 | |
5371 | 3577 | =end original |
5372 | 3578 | |
5373 | (W exiting) goto やループ制御文など、おかしな方法でサブルー | |
3579 | (W exiting) goto やループ制御文など、おかしな方法でサブルーティンを | |
5374 | 3580 | 抜けました。 |
5375 | 3581 | |
5376 | 3582 | =item Exiting substitution via %s |
5377 | 3583 | |
5378 | 3584 | =begin original |
5379 | 3585 | |
5380 | 3586 | (W exiting) You are exiting a substitution by unconventional means, such |
5381 | 3587 | as a return, a goto, or a loop control statement. |
5382 | 3588 | |
5383 | 3589 | =end original |
5384 | 3590 | |
5385 | 3591 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
5386 | 3592 | 抜けました。 |
5387 | 3593 | |
5388 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ | |
5389 | ||
5390 | =begin original | |
5391 | ||
5392 | (F) You wrote something like | |
5393 | ||
5394 | =end original | |
5395 | ||
5396 | (F) 以下のようなものを書きました | |
5397 | ||
5398 | (?13 | |
5399 | ||
5400 | =begin original | |
5401 | ||
5402 | to denote a capturing group of the form | |
5403 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
5404 | but omitted the C<")">. | |
5405 | ||
5406 | =end original | |
5407 | ||
5408 | to denote a capturing group of the form | |
5409 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
5410 | 捕捉グループを示していますが C<")"> が省略されています。 | |
5411 | ||
5412 | =item Expecting interpolated extended charclass in regex; marked by <-- | |
5413 | HERE in m/%s/ | |
5414 | ||
5415 | =begin original | |
5416 | ||
5417 | (F) It looked like you were attempting to interpolate an | |
5418 | already-compiled extended character class, like so: | |
5419 | ||
5420 | =end original | |
5421 | ||
5422 | (F) 次のように、既にコンパイルされている拡張文字クラスを結合しようと | |
5423 | したように見えます: | |
5424 | ||
5425 | my $thai_or_lao = qr/(?[ \p{Thai} + \p{Lao} ])/; | |
5426 | ... | |
5427 | qr/(?[ \p{Digit} & $thai_or_lao ])/; | |
5428 | ||
5429 | =begin original | |
5430 | ||
5431 | But the marked code isn't syntactically correct to be such an | |
5432 | interpolated class. | |
5433 | ||
5434 | =end original | |
5435 | ||
5436 | しかしマークされたコードは、そのような結合されたクラスとして | |
5437 | 文法的に正しくありません。 | |
5438 | ||
5439 | =item Experimental aliasing via reference not enabled | |
5440 | ||
5441 | =begin original | |
5442 | ||
5443 | (F) To do aliasing via references, you must first enable the feature: | |
5444 | ||
5445 | =end original | |
5446 | ||
5447 | (F) リファレンスによる別名をするためには、最初にこの機能を | |
5448 | 有効にしなければなりません: | |
5449 | ||
5450 | no warnings "experimental::refaliasing"; | |
5451 | use feature "refaliasing"; | |
5452 | \$x = \$y; | |
5453 | ||
5454 | =item Experimental %s on scalar is now forbidden | |
5455 | ||
5456 | =begin original | |
5457 | ||
5458 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
5459 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
5460 | scalar argument. This experiment is considered unsuccessful, and | |
5461 | has been removed. The C<postderef> feature may meet your needs better. | |
5462 | ||
5463 | =end original | |
5464 | ||
5465 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
5466 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
5467 | スカラ引数で呼び出すことができました。 | |
5468 | この実験は失敗と考えられ、削除されました。 | |
5469 | C<postderef> 機能はあなたの要求により良く一致します。 | |
5470 | ||
5471 | =item Experimental subroutine signatures not enabled | |
5472 | ||
5473 | =begin original | |
5474 | ||
5475 | (F) To use subroutine signatures, you must first enable them: | |
5476 | ||
5477 | =end original | |
5478 | ||
5479 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
5480 | ||
5481 | no warnings "experimental::signatures"; | |
5482 | use feature "signatures"; | |
5483 | sub foo ($left, $right) { ... } | |
5484 | ||
5485 | 3594 | =item Explicit blessing to '' (assuming package main) |
5486 | 3595 | |
5487 | 3596 | =begin original |
5488 | 3597 | |
5489 | 3598 | (W misc) You are blessing a reference to a zero length string. This has |
5490 | 3599 | the effect of blessing the reference into the package main. This is |
5491 | 3600 | usually not what you want. Consider providing a default target package, |
5492 | 3601 | e.g. bless($ref, $p || 'MyPackage'); |
5493 | 3602 | |
5494 | 3603 | =end original |
5495 | 3604 | |
5496 | 3605 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
5497 | 3606 | これはリファレンスをパッケージ main に bless する効果があります。 |
5498 | 3607 | これは普通あなたが望んでいることではありません。 |
5499 | 3608 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
5500 | 3609 | パッケージを提供することを考慮してください; |
5501 | 3610 | |
5502 | 3611 | =item %s: Expression syntax |
5503 | 3612 | |
5504 | 3613 | =begin original |
5505 | 3614 | |
5506 | 3615 | (A) You've accidentally run your script through B<csh> instead of Perl. |
5507 | 3616 | Check the #! line, or manually feed your script into Perl yourself. |
5508 | 3617 | |
5509 | 3618 | =end original |
5510 | 3619 | |
5511 | 3620 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
5512 | 3621 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
5513 | 3622 | |
5514 | 3623 | =item %s failed--call queue aborted |
5515 | 3624 | |
5516 | 3625 | =begin original |
5517 | 3626 | |
5518 | (F) An untrapped exception was raised while executing a | |
3627 | (F) An untrapped exception was raised while executing a CHECK, INIT, or | |
5519 | ||
3628 | END subroutine. Processing of the remainder of the queue of such | |
5520 | ||
3629 | routines has been prematurely ended. | |
5521 | 3630 | |
5522 | 3631 | =end original |
5523 | 3632 | |
5524 | (F) | |
3633 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない例外が | |
5525 | ||
3634 | 発生しました。 | |
5526 | 3635 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
5527 | 3636 | |
5528 | =item Fa | |
3637 | =item False [] range "%s" in regex; marked by <-- HERE in m/%s/ | |
5529 | 3638 | |
5530 | 3639 | =begin original |
5531 | 3640 | |
5532 | ( | |
3641 | (W regexp) A character class range must start and end at a literal | |
5533 | command-line switch, failed. | |
5534 | ||
5535 | =end original | |
5536 | ||
5537 | (F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを | |
5538 | 閉じるのに失敗しました。 | |
5539 | ||
5540 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
5541 | ||
5542 | =begin original | |
5543 | ||
5544 | (W regexp)(F) A character class range must start and end at a literal | |
5545 | 3642 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" |
5546 | in your false range is interpreted as a literal "-". | |
3643 | in your false range is interpreted as a literal "-". Consider quoting the | |
5547 | ||
3644 | "-", "\-". The <-- HERE shows in the regular expression about where the | |
5548 | ||
3645 | problem was discovered. See L<perlre>. | |
5549 | the problem was discovered. See L<perlre>. | |
5550 | 3646 | |
5551 | 3647 | =end original |
5552 | 3648 | |
5553 | (W regexp) | |
3649 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
5554 | 3650 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
5555 | 3651 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
5556 | C<(?[...])> 構文では、これは警告ではなくエラーです。 | |
5557 | 3652 | "-" を "\-" とクォートすることを考慮してください。 |
5558 | ||
3653 | <-- HERE は正規表現の中で問題が発見された位置を示します。 | |
5559 | 3654 | L<perlre> を参照してください。 |
5560 | 3655 | |
5561 | =item Fatal VMS error | |
3656 | =item Fatal VMS error at %s, line %d | |
5562 | 3657 | |
5563 | 3658 | =begin original |
5564 | 3659 | |
5565 | 3660 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
5566 | 3661 | system service or RTL routine; Perl's exit status should provide more |
5567 | 3662 | details. The filename in "at %s" and the line number in "line %d" tell |
5568 | 3663 | you which section of the Perl source code is distressed. |
5569 | 3664 | |
5570 | 3665 | =end original |
5571 | 3666 | |
5572 | 3667 | (P) VMS に固有のエラーです。 |
5573 | 3668 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
5574 | 3669 | Perl の終了コードに詳細が示されています。 |
5575 | 3670 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
5576 | 3671 | Perl ソースコードの位置を示しています。 |
5577 | 3672 | |
5578 | 3673 | =item fcntl is not implemented |
5579 | 3674 | |
5580 | 3675 | =begin original |
5581 | 3676 | |
5582 | 3677 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
5583 | 3678 | PDP-11 or something? |
5584 | 3679 | |
5585 | 3680 | =end original |
5586 | 3681 | |
5587 | 3682 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
5588 | 3683 | PDP-11 か何かでしょうか。 |
5589 | 3684 | |
5590 | =item FETCHSIZE returned a negative value | |
5591 | ||
5592 | =begin original | |
5593 | ||
5594 | (F) A tied array claimed to have a negative number of elements, which | |
5595 | is not possible. | |
5596 | ||
5597 | =end original | |
5598 | ||
5599 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 | |
5600 | ||
5601 | =item Field too wide in 'u' format in pack | |
5602 | ||
5603 | =begin original | |
5604 | ||
5605 | (W pack) Each line in an uuencoded string starts with a length indicator | |
5606 | which can't encode values above 63. So there is no point in asking for | |
5607 | a line length bigger than that. Perl will behave as if you specified | |
5608 | C<u63> as the format. | |
5609 | ||
5610 | =end original | |
5611 | ||
5612 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない | |
5613 | 長さ識別子から始まっています。 | |
5614 | それで、これより長い行の長さを問い合わせるところがありません。 | |
5615 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 | |
5616 | ||
5617 | =item File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. | |
5618 | ||
5619 | =begin original | |
5620 | ||
5621 | (D deprecated) C<< File::Glob >> has a function called C<< glob >>, which | |
5622 | just calls C<< bsd_glob >>. However, its prototype is different from the | |
5623 | prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should | |
5624 | not be used. | |
5625 | ||
5626 | =end original | |
5627 | ||
5628 | (D deprecated) C<< File::Glob >> は C<< glob >> と呼ばれる関数を持っています; | |
5629 | これは単に C<< bsd_glob >> を呼び出します。 | |
5630 | しかし、そのプロトタイプは C<< CORE::glob >> のプロトタイプと異なるので、 | |
5631 | C<< File::Glob::glob >> は使われるべきではありません。 | |
5632 | ||
5633 | =begin original | |
5634 | ||
5635 | C<< File::Glob::glob() >> was deprecated in perl 5.8.0. A deprecation | |
5636 | message was issued from perl 5.26.0 onwards, and the function will | |
5637 | disappear in perl 5.30.0. | |
5638 | ||
5639 | =end original | |
5640 | ||
5641 | C<< File::Glob::glob() >> は perl 5.8.0 で廃止予定になりました。 | |
5642 | 廃止予定メッセージは perl 5.26.0 以降で出力され、 | |
5643 | この関数は perl 5.30.0 で削除される予定です。 | |
5644 | ||
5645 | =begin original | |
5646 | ||
5647 | Code using C<< File::Glob::glob() >> should call | |
5648 | C<< File::Glob::bsd_glob() >> instead. | |
5649 | ||
5650 | =end original | |
5651 | ||
5652 | C<< File::Glob::glob() >> を使っているコードは、代わりに | |
5653 | C<< File::Glob::bsd_glob() >> を使う必要があります。 | |
5654 | ||
5655 | 3685 | =item Filehandle %s opened only for input |
5656 | 3686 | |
5657 | 3687 | =begin original |
5658 | 3688 | |
5659 | 3689 | (W io) You tried to write on a read-only filehandle. If you intended |
5660 | 3690 | it to be a read-write filehandle, you needed to open it with "+<" or |
5661 | 3691 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to |
5662 | 3692 | write the file, use ">" or ">>". See L<perlfunc/open>. |
5663 | 3693 | |
5664 | 3694 | =end original |
5665 | 3695 | |
5666 | 3696 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
5667 | 3697 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
5668 | 3698 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
5669 | 3699 | open する必要があります。 |
5670 | 3700 | ライトオンリーであれば、">" や ">>" を使ってください。 |
5671 | L<perlfunc/open> を参照してください。 | |
3701 | L<perlfunc/open> の項を参照してください。 | |
5672 | 3702 | |
5673 | 3703 | =item Filehandle %s opened only for output |
5674 | 3704 | |
5675 | 3705 | =begin original |
5676 | 3706 | |
5677 | 3707 | (W io) You tried to read from a filehandle opened only for writing, If |
5678 | 3708 | you intended it to be a read/write filehandle, you needed to open it |
5679 | with "+<" or "+>" or "+>>" instead of with " | |
3709 | with "+<" or "+>" or "+>>" instead of with "<" or nothing. If you | |
5680 | read from the file, use "<". See L<perlfunc/open>. | |
3710 | intended only to read from the file, use "<". See L<perlfunc/open>. | |
5681 | is that you attempted to open filedescriptor 0 | |
3711 | Another possibility is that you attempted to open filedescriptor 0 | |
5682 | output (maybe you closed STDIN earlier?). | |
3712 | (also known as STDIN) for output (maybe you closed STDIN earlier?). | |
5683 | 3713 | |
5684 | 3714 | =end original |
5685 | 3715 | |
5686 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました | |
3716 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました。 | |
5687 | 読み書きできるファイルハンドルにしたい場合は、 | |
3717 | 読み書きできるファイルハンドルにしたい場合は、 | |
5688 | " | |
3718 | ファイルのオープン時に "<" や何もなしではなく、 | |
3719 | "+<" か "+>" か "+>>" をつける必要があります。 | |
5689 | 3720 | 読み込み専用にしたい場合は、"<" を使ってください。 |
5690 | 3721 | L<perlfunc/open> を参照してください。 |
5691 | 3722 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を |
5692 | 3723 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 |
5693 | 3724 | |
5694 | 3725 | =item Filehandle %s reopened as %s only for input |
5695 | 3726 | |
5696 | 3727 | =begin original |
5697 | 3728 | |
5698 | 3729 | (W io) You opened for reading a filehandle that got the same filehandle id |
5699 | as STDOUT or STDERR. | |
3730 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR | |
5700 | 3731 | previously. |
5701 | 3732 | |
5702 | 3733 | =end original |
5703 | 3734 | |
5704 | 3735 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の |
5705 | 3736 | ファイルハンドルを読み込み用に開こうとしました。 |
5706 | 3737 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 |
5707 | 3738 | |
5708 | 3739 | =item Filehandle STDIN reopened as %s only for output |
5709 | 3740 | |
5710 | 3741 | =begin original |
5711 | 3742 | |
5712 | 3743 | (W io) You opened for writing a filehandle that got the same filehandle id |
5713 | as STDIN. | |
3744 | as STDIN. This occurred because you closed STDIN previously. | |
5714 | 3745 | |
5715 | 3746 | =end original |
5716 | 3747 | |
5717 | 3748 | (W io) STDIN として使われていたのと同じファイルハンドル ID の |
5718 | 3749 | ファイルハンドルを書き込み用に開こうとしました。 |
5719 | 3750 | これは、以前 STDIN を閉じたときに起きます。 |
5720 | 3751 | |
5721 | 3752 | =item Final $ should be \$ or $name |
5722 | 3753 | |
5723 | 3754 | =begin original |
5724 | 3755 | |
5725 | 3756 | (F) You must now decide whether the final $ in a string was meant to be |
5726 | 3757 | a literal dollar sign, or was meant to introduce a variable name that |
5727 | 3758 | happens to be missing. So you have to put either the backslash or the |
5728 | 3759 | name. |
5729 | 3760 | |
5730 | 3761 | =end original |
5731 | 3762 | |
5732 | 3763 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
5733 | 3764 | 忘れたのかを、はっきりさせなければなりません。 |
5734 | 3765 | バックスラッシュを付けるか、名前を入れてください。 |
5735 | 3766 | |
5736 | 3767 | =item flock() on closed filehandle %s |
5737 | 3768 | |
5738 | 3769 | =begin original |
5739 | 3770 | |
5740 | 3771 | (W closed) The filehandle you're attempting to flock() got itself closed |
5741 | 3772 | some time before now. Check your control flow. flock() operates on |
5742 | 3773 | filehandles. Are you attempting to call flock() on a dirhandle by the |
5743 | 3774 | same name? |
5744 | 3775 | |
5745 | 3776 | =end original |
5746 | 3777 | |
5747 | 3778 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
5748 | 3779 | 閉じられています。 |
5749 | 3780 | 制御フローをチェックしてください。 |
5750 | 3781 | flock() はファイルハンドルを操作します。 |
5751 | 3782 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
5752 | 3783 | |
5753 | 3784 | =item Format not terminated |
5754 | 3785 | |
5755 | 3786 | =begin original |
5756 | 3787 | |
5757 | 3788 | (F) A format must be terminated by a line with a solitary dot. Perl got |
5758 | 3789 | to the end of your file without finding such a line. |
5759 | 3790 | |
5760 | 3791 | =end original |
5761 | 3792 | |
5762 | 3793 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
5763 | 3794 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
5764 | 3795 | |
5765 | 3796 | =item Format %s redefined |
5766 | 3797 | |
5767 | 3798 | =begin original |
5768 | 3799 | |
5769 | 3800 | (W redefine) You redefined a format. To suppress this warning, say |
5770 | 3801 | |
5771 | 3802 | =end original |
5772 | 3803 | |
5773 | 3804 | (W redefine) フォーマットを再定義しました。 |
5774 | この警告を止めるには以下のようにしてください | |
3805 | この警告を止めるには以下のようにしてください。 | |
5775 | 3806 | |
5776 | 3807 | { |
5777 | 3808 | no warnings 'redefine'; |
5778 | 3809 | eval "format NAME =..."; |
5779 | 3810 | } |
5780 | 3811 | |
5781 | 3812 | =item Found = in conditional, should be == |
5782 | 3813 | |
5783 | 3814 | =begin original |
5784 | 3815 | |
5785 | 3816 | (W syntax) You said |
5786 | 3817 | |
5787 | 3818 | =end original |
5788 | 3819 | |
5789 | 3820 | (W) 以下のようにしています: |
5790 | 3821 | |
5791 | 3822 | if ($foo = 123) |
5792 | 3823 | |
5793 | 3824 | =begin original |
5794 | 3825 | |
5795 | 3826 | when you meant |
5796 | 3827 | |
5797 | 3828 | =end original |
5798 | 3829 | |
5799 | 以下のようにすべきで | |
3830 | 以下のようにするべきところでしょう: | |
5800 | 3831 | |
5801 | 3832 | if ($foo == 123) |
5802 | 3833 | |
5803 | 3834 | =begin original |
5804 | 3835 | |
5805 | 3836 | (or something like that). |
5806 | 3837 | |
5807 | 3838 | =end original |
5808 | 3839 | |
5809 | 3840 | (あるいは似たようなこと)。 |
5810 | 3841 | |
5811 | 3842 | =item %s found where operator expected |
5812 | 3843 | |
5813 | 3844 | =begin original |
5814 | 3845 | |
5815 | 3846 | (S syntax) The Perl lexer knows whether to expect a term or an operator. |
5816 | 3847 | If it sees what it knows to be a term when it was expecting to see an |
5817 | 3848 | operator, it gives you this warning. Usually it indicates that an |
5818 | 3849 | operator or delimiter was omitted, such as a semicolon. |
5819 | 3850 | |
5820 | 3851 | =end original |
5821 | 3852 | |
5822 | 3853 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを |
5823 | 3854 | 知っています。 |
5824 | 3855 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
5825 | 3856 | この警告が出ることになります。 |
5826 | 3857 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
5827 | 3858 | |
5828 | 3859 | =item gdbm store returned %d, errno %d, key "%s" |
5829 | 3860 | |
5830 | 3861 | =begin original |
5831 | 3862 | |
5832 | 3863 | (S) A warning from the GDBM_File extension that a store failed. |
5833 | 3864 | |
5834 | 3865 | =end original |
5835 | 3866 | |
5836 | 3867 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
5837 | 3868 | |
5838 | 3869 | =item gethostent not implemented |
5839 | 3870 | |
5840 | 3871 | =begin original |
5841 | 3872 | |
5842 | 3873 | (F) Your C library apparently doesn't implement gethostent(), probably |
5843 | 3874 | because if it did, it'd feel morally obligated to return every hostname |
5844 | 3875 | on the Internet. |
5845 | 3876 | |
5846 | 3877 | =end original |
5847 | 3878 | |
5848 | (F) C ライブラリに gethostent() が実装されていないようです | |
3879 | (F) C ライブラリに gethostent() が実装されていないようです。 | |
5849 | 3880 | おそらく、実装すると Internet 上のすべてのホスト名を |
5850 | 3881 | 返さなければいけないと思っているのでしょう。 |
5851 | 3882 | |
5852 | 3883 | =item get%sname() on closed socket %s |
5853 | 3884 | |
5854 | 3885 | =begin original |
5855 | 3886 | |
5856 | 3887 | (W closed) You tried to get a socket or peer socket name on a closed |
5857 | 3888 | socket. Did you forget to check the return value of your socket() call? |
5858 | 3889 | |
5859 | 3890 | =end original |
5860 | 3891 | |
5861 | 3892 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
5862 | 3893 | しました。 |
5863 | 3894 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
5864 | 3895 | |
5865 | 3896 | =item getpwnam returned invalid UIC %#o for user "%s" |
5866 | 3897 | |
5867 | 3898 | =begin original |
5868 | 3899 | |
5869 | 3900 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
5870 | 3901 | C<getpwnam> operator returned an invalid UIC. |
5871 | 3902 | |
5872 | 3903 | =end original |
5873 | 3904 | |
5874 | 3905 | (S) VMS に固有の警告です。 |
5875 | 3906 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
5876 | 3907 | 不正な UIC が返されました。 |
5877 | 3908 | |
5878 | 3909 | =item getsockopt() on closed socket %s |
5879 | 3910 | |
5880 | 3911 | =begin original |
5881 | 3912 | |
5882 | 3913 | (W closed) You tried to get a socket option on a closed socket. Did you |
5883 | 3914 | forget to check the return value of your socket() call? See |
5884 | 3915 | L<perlfunc/getsockopt>. |
5885 | 3916 | |
5886 | 3917 | =end original |
5887 | 3918 | |
5888 | 3919 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
5889 | 3920 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
5890 | 3921 | L<perlfunc/getsockopt> を参照してください。 |
5891 | 3922 | |
5892 | =item | |
3923 | =item Global symbol "%s" requires explicit package name | |
5893 | 3924 | |
5894 | 3925 | =begin original |
5895 | 3926 | |
5896 | ( | |
3927 | (F) You've said "use strict vars", which indicates that all variables | |
5897 | ||
3928 | must either be lexically scoped (using "my"), declared beforehand using | |
5898 | ||
3929 | "our", or explicitly qualified to say which package the global variable | |
5899 | ||
3930 | is in (using "::"). | |
5900 | 3931 | |
5901 | 3932 | =end original |
5902 | 3933 | |
5903 | ( | |
3934 | (F) "use strict vars" が指定されていますので、すべての変数は、 | |
5904 | ||
3935 | ("my" を使った) 字句スコープの変数か、"our" を使って事前に宣言するか、 | |
5905 | ||
3936 | グローバル変数がどのパッケージのものかを ("::" を使って)、明示的に | |
5906 | ||
3937 | 修飾しなくてはなりません。 | |
5907 | 3938 | |
5908 | =item Global symbol "%s" requires explicit package name (did you forget to | |
5909 | declare "my %s"?) | |
5910 | ||
5911 | =begin original | |
5912 | ||
5913 | (F) You've said "use strict" or "use strict vars", which indicates | |
5914 | that all variables must either be lexically scoped (using "my" or "state"), | |
5915 | declared beforehand using "our", or explicitly qualified to say | |
5916 | which package the global variable is in (using "::"). | |
5917 | ||
5918 | =end original | |
5919 | ||
5920 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は | |
5921 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に | |
5922 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 | |
5923 | 明示的に修飾しなくてはなりません。 | |
5924 | ||
5925 | 3939 | =item glob failed (%s) |
5926 | 3940 | |
5927 | 3941 | =begin original |
5928 | 3942 | |
5929 | ( | |
3943 | (W glob) Something went wrong with the external program(s) used for | |
5930 | ||
3944 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a | |
5931 | pattern that caused the external program to fail and exit with a | |
3945 | C<glob> pattern that caused the external program to fail and exit with a | |
5932 | 3946 | nonzero status. If the message indicates that the abnormal exit |
5933 | resulted in a coredump, this may also mean that your csh (C shell) | |
3947 | resulted in a coredump, this may also mean that your csh (C shell) is | |
5934 | ||
3948 | broken. If so, you should change all of the csh-related variables in | |
5935 | ||
3949 | config.sh: If you have tcsh, make the variables refer to it as if it | |
5936 | ||
3950 | were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them all | |
5937 | ||
3951 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
5938 | 3952 | think csh is missing. In either case, after editing config.sh, run |
5939 | 3953 | C<./Configure -S> and rebuild Perl. |
5940 | 3954 | |
5941 | 3955 | =end original |
5942 | 3956 | |
5943 | ( | |
3957 | (W glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が | |
5944 | 3958 | 発生しました。 |
5945 | 3959 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
5946 | 3960 | C<glob> パターンが渡されたことを意味します。 |
5947 | 3961 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
5948 | 3962 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
5949 | 3963 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
5950 | 3964 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
5951 | 3965 | 参照するように変数を設定します; |
5952 | 3966 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
5953 | 3967 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
5954 | 3968 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
5955 | 3969 | Perl を再ビルドしてください。 |
5956 | 3970 | |
5957 | 3971 | =item Glob not terminated |
5958 | 3972 | |
5959 | 3973 | =begin original |
5960 | 3974 | |
5961 | 3975 | (F) The lexer saw a left angle bracket in a place where it was expecting |
5962 | 3976 | a term, so it's looking for the corresponding right angle bracket, and |
5963 | 3977 | not finding it. Chances are you left some needed parentheses out |
5964 | 3978 | earlier in the line, and you really meant a "less than". |
5965 | 3979 | |
5966 | 3980 | =end original |
5967 | 3981 | |
5968 | (F) 項が必要とされるところで、開き山 | |
3982 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
5969 | 対応する閉じ山 | |
3983 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
5970 | 可能性としては、必要な | |
3984 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
5971 | 3985 | 表したかった場合が考えられます。 |
5972 | 3986 | |
5973 | =item gmtime(%f) failed | |
5974 | ||
5975 | =begin original | |
5976 | ||
5977 | (W overflow) You called C<gmtime> with a number that it could not handle: | |
5978 | too large, too small, or NaN. The returned value is C<undef>. | |
5979 | ||
5980 | =end original | |
5981 | ||
5982 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり | |
5983 | 小さすぎたり NaN だったりです。 | |
5984 | 返り値は C<undef> です。 | |
5985 | ||
5986 | =item gmtime(%f) too large | |
5987 | ||
5988 | =begin original | |
5989 | ||
5990 | (W overflow) You called C<gmtime> with a number that was larger than | |
5991 | it can reliably handle and C<gmtime> probably returned the wrong | |
5992 | date. This warning is also triggered with NaN (the special | |
5993 | not-a-number value). | |
5994 | ||
5995 | =end original | |
5996 | ||
5997 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
5998 | おそらく間違った日付が返されました。 | |
5999 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
6000 | ||
6001 | =item gmtime(%f) too small | |
6002 | ||
6003 | =begin original | |
6004 | ||
6005 | (W overflow) You called C<gmtime> with a number that was smaller than | |
6006 | it can reliably handle and C<gmtime> probably returned the wrong date. | |
6007 | ||
6008 | =end original | |
6009 | ||
6010 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
6011 | おそらく間違った日付が返されました。 | |
6012 | ||
6013 | 3987 | =item Got an error from DosAllocMem |
6014 | 3988 | |
6015 | 3989 | =begin original |
6016 | 3990 | |
6017 | 3991 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
6018 | 3992 | version of Perl, and this should not happen anyway. |
6019 | 3993 | |
6020 | 3994 | =end original |
6021 | 3995 | |
6022 | 3996 | (P) OS/2 に固有のエラーです。 |
6023 | 3997 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
6024 | 3998 | どちらにしてもこのエラーは起きないはずです。 |
6025 | 3999 | |
6026 | 4000 | =item goto must have label |
6027 | 4001 | |
6028 | 4002 | =begin original |
6029 | 4003 | |
6030 | 4004 | (F) Unlike with "next" or "last", you're not allowed to goto an |
6031 | 4005 | unspecified destination. See L<perlfunc/goto>. |
6032 | 4006 | |
6033 | 4007 | =end original |
6034 | 4008 | |
6035 | 4009 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
6036 | 4010 | 指定しなくてはなりません。 |
6037 | 4011 | L<perlfunc/goto> を参照してください。 |
6038 | 4012 | |
6039 | =item Goto undefined subroutine%s | |
6040 | ||
6041 | =begin original | |
6042 | ||
6043 | (F) You tried to call a subroutine with C<goto &sub> syntax, but | |
6044 | the indicated subroutine hasn't been defined, or if it was, it | |
6045 | has since been undefined. | |
6046 | ||
6047 | =end original | |
6048 | ||
6049 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された | |
6050 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 | |
6051 | ||
6052 | =item Group name must start with a non-digit word character in regex; marked by | |
6053 | S<<-- HERE> in m/%s/ | |
6054 | ||
6055 | =begin original | |
6056 | ||
6057 | (F) Group names must follow the rules for perl identifiers, meaning | |
6058 | they must start with a non-digit word character. A common cause of | |
6059 | this error is using (?&0) instead of (?0). See L<perlre>. | |
6060 | ||
6061 | =end original | |
6062 | ||
6063 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
6064 | 始まらなければなりません。 | |
6065 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
6066 | L<perlre> を参照してください。 | |
6067 | ||
6068 | 4013 | =item ()-group starts with a count |
6069 | 4014 | |
6070 | 4015 | =begin original |
6071 | 4016 | |
6072 | (F) A ()-group started with a count. A count is | |
4017 | (F) A ()-group started with a count. A count is | |
6073 | something: a template character or a ()-group | |
4018 | supposed to follow something: a template character or a ()-group. | |
4019 | See L<perlfunc/pack>. | |
6074 | 4020 | |
6075 | 4021 | =end original |
6076 | 4022 | |
6077 | 4023 | (F) () グループが繰り返し数で始まっています。 |
6078 | 繰り返し数は、テンプレート文字か () グループの後に続くことを | |
4024 | 繰り返し数は、テンプレート文字か () グループの後に続くことを | |
6079 | ||
4025 | 想定しています。 | |
6080 | 4026 | |
6081 | =item %s had compilation errors | |
4027 | =item %s had compilation errors | |
6082 | 4028 | |
6083 | 4029 | =begin original |
6084 | 4030 | |
6085 | 4031 | (F) The final summary message when a C<perl -c> fails. |
6086 | 4032 | |
6087 | 4033 | =end original |
6088 | 4034 | |
6089 | 4035 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
6090 | 4036 | |
6091 | 4037 | =item Had to create %s unexpectedly |
6092 | 4038 | |
6093 | 4039 | =begin original |
6094 | 4040 | |
6095 | 4041 | (S internal) A routine asked for a symbol from a symbol table that ought |
6096 | 4042 | to have existed already, but for some reason it didn't, and had to be |
6097 | 4043 | created on an emergency basis to prevent a core dump. |
6098 | 4044 | |
6099 | 4045 | =end original |
6100 | 4046 | |
6101 | 4047 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
6102 | 4048 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
6103 | 4049 | コアダンプを避けるために、緊急に生成しました。 |
6104 | 4050 | |
6105 | =item %s | |
4051 | =item Hash %%s missing the % in argument %d of %s() | |
6106 | 4052 | |
6107 | 4053 | =begin original |
6108 | 4054 | |
6109 | ( | |
4055 | (D deprecated) Really old Perl let you omit the % on hash names in some | |
6110 | ||
4056 | spots. This is now heavily deprecated. | |
6111 | 4057 | |
6112 | 4058 | =end original |
6113 | 4059 | |
6114 | ( | |
4060 | (D deprecated) 本当に古い Perl では、ハッシュ名の % を省略できる場所が | |
6115 | ||
4061 | ありました。 | |
6116 | ||
4062 | 省略はしないようにしてください。 | |
6117 | 4063 | |
6118 | =item | |
4064 | =item %s has too many errors | |
6119 | 4065 | |
6120 | 4066 | =begin original |
6121 | 4067 | |
6122 | ( | |
4068 | (F) The parser has given up trying to parse the program after 10 errors. | |
6123 | th | |
4069 | Further error messages would likely be uninformative. | |
6124 | 4070 | |
6125 | 4071 | =end original |
6126 | 4072 | |
6127 | ( | |
4073 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 | |
6128 | ||
4074 | それ以上の解析を諦めました。 | |
4075 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
6129 | 4076 | |
6130 | =item Hexadecimal float: exponent underflow | |
6131 | ||
6132 | =begin original | |
6133 | ||
6134 | (W overflow) The hexadecimal floating point has a smaller exponent | |
6135 | than the floating point supports. With the IEEE 754 floating point, | |
6136 | this may also mean that the subnormals (formerly known as denormals) | |
6137 | are being used, which may or may not be an error. | |
6138 | ||
6139 | =end original | |
6140 | ||
6141 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
6142 | 指数を持っています。 | |
6143 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; | |
6144 | どちらにしろエラーです。 | |
6145 | ||
6146 | =item Hexadecimal float: internal error (%s) | |
6147 | ||
6148 | =begin original | |
6149 | ||
6150 | (F) Something went horribly bad in hexadecimal float handling. | |
6151 | ||
6152 | =end original | |
6153 | ||
6154 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 | |
6155 | ||
6156 | =item Hexadecimal float: mantissa overflow | |
6157 | ||
6158 | =begin original | |
6159 | ||
6160 | (W overflow) The hexadecimal floating point literal had more bits in | |
6161 | the mantissa (the part between the 0x and the exponent, also known as | |
6162 | the fraction or the significand) than the floating point supports. | |
6163 | ||
6164 | =end original | |
6165 | ||
6166 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に | |
6167 | 浮動小数点数が対応しているよりも多いビット数があります。 | |
6168 | ||
6169 | =item Hexadecimal float: precision loss | |
6170 | ||
6171 | =begin original | |
6172 | ||
6173 | (W overflow) The hexadecimal floating point had internally more | |
6174 | digits than could be output. This can be caused by unsupported | |
6175 | long double formats, or by 64-bit integers not being available | |
6176 | (needed to retrieve the digits under some configurations). | |
6177 | ||
6178 | =end original | |
6179 | ||
6180 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより | |
6181 | 多くの桁数を保持しています。 | |
6182 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) | |
6183 | 利用できない 64 ビット整数によって引き起こされます。 | |
6184 | ||
6185 | =item Hexadecimal float: unsupported long double format | |
6186 | ||
6187 | =begin original | |
6188 | ||
6189 | (F) You have configured Perl to use long doubles but | |
6190 | the internals of the long double format are unknown; | |
6191 | therefore the hexadecimal float output is impossible. | |
6192 | ||
6193 | =end original | |
6194 | ||
6195 | (F) long double を使うように設定された Perl を使っていますが、 | |
6196 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は | |
6197 | 不可能です。 | |
6198 | ||
6199 | 4077 | =item Hexadecimal number > 0xffffffff non-portable |
6200 | 4078 | |
6201 | 4079 | =begin original |
6202 | 4080 | |
6203 | 4081 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
6204 | 4082 | (4294967295) and therefore non-portable between systems. See |
6205 | 4083 | L<perlport> for more on portability concerns. |
6206 | 4084 | |
6207 | 4085 | =end original |
6208 | 4086 | |
6209 | 4087 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
6210 | 4088 | システム間で移植性がありません。 |
6211 | 4089 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
6212 | 4090 | |
6213 | 4091 | =item Identifier too long |
6214 | 4092 | |
6215 | 4093 | =begin original |
6216 | 4094 | |
6217 | 4095 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
6218 | 4096 | about 250 characters for simple names, and somewhat more for compound |
6219 | 4097 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
6220 | 4098 | of Perl are likely to eliminate these arbitrary limitations. |
6221 | 4099 | |
6222 | 4100 | =end original |
6223 | 4101 | |
6224 | 4102 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
6225 | 4103 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
6226 | 4104 | 制限しています。 |
6227 | 4105 | この Perl の制限を越えました。 |
6228 | 4106 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
6229 | 4107 | |
6230 | =item I | |
4108 | =item Illegal binary digit %s | |
6231 | S<<-- HERE> in m/%s/ | |
6232 | 4109 | |
6233 | 4110 | =begin original |
6234 | 4111 | |
6235 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a | |
6236 | zero-length sequence. When such an escape is used in a character | |
6237 | class its behavior is not well defined. Check that the correct | |
6238 | escape has been used, and the correct charname handler is in scope. | |
6239 | ||
6240 | =end original | |
6241 | ||
6242 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の | |
6243 | シーケンスを返しました。 | |
6244 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 | |
6245 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
6246 | あるかをチェックしてください。 | |
6247 | ||
6248 | =item Illegal %s digit '%c' ignored | |
6249 | ||
6250 | =begin original | |
6251 | ||
6252 | (W digit) Here C<%s> is one of "binary", "octal", or "hex". | |
6253 | You may have tried to use a digit other than one that is legal for the | |
6254 | given type, such as only 0 and 1 for binary. For octals, this is raised | |
6255 | only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and | |
6256 | 'a' - 'f' are legal. | |
6257 | Interpretation of the number stopped just before the offending digit or | |
6258 | character. | |
6259 | ||
6260 | =end original | |
6261 | ||
6262 | (W digit) ここで C<%s> は "binary", "octal", "hex" のうちの一つです。 | |
6263 | one that is legal for the | |
6264 | given type, such as only 0 and 1 for binary. For octals, this is raised | |
6265 | only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and | |
6266 | 'a' - 'f' are legal. | |
6267 | を使おうとしたのでしょう。 | |
6268 | 数の解釈は問題のある数値や文字の直前で停止しました。 | |
6269 | ||
6270 | =item Illegal binary digit '%c' | |
6271 | ||
6272 | =begin original | |
6273 | ||
6274 | 4112 | (F) You used a digit other than 0 or 1 in a binary number. |
6275 | 4113 | |
6276 | 4114 | =end original |
6277 | 4115 | |
6278 | 4116 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
6279 | 4117 | |
6280 | =item Illegal | |
4118 | =item Illegal binary digit %s ignored | |
6281 | 4119 | |
6282 | 4120 | =begin original |
6283 | 4121 | |
6284 | (W i | |
4122 | (W digit) You may have tried to use a digit other than 0 or 1 in a | |
6285 | ||
4123 | binary number. Interpretation of the binary number stopped before the | |
6286 | ||
4124 | offending digit. | |
6287 | or '%', since those two will accept 0 or more final parameters. | |
6288 | 4125 | |
6289 | 4126 | =end original |
6290 | 4127 | |
6291 | (W i | |
4128 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 | |
6292 | ||
4129 | 2 進数の解釈は問題のある数値の手前で停止しました。 | |
6293 | ';' が引き続くか、'@' か '%' の一つでなければなりません; | |
6294 | これら二つは 0 以上の末尾の引数を受け付けるからです。 | |
6295 | 4130 | |
6296 | =item Illegal character | |
4131 | =item Illegal character %s (carriage return) | |
6297 | 4132 | |
6298 | 4133 | =begin original |
6299 | 4134 | |
6300 | (F) Perl normally treats carriage returns in the program text as | |
4135 | (F) Perl normally treats carriage returns in the program text as it | |
6301 | ||
4136 | would any other whitespace, which means you should never see this error | |
6302 | ||
4137 | when Perl was built using standard options. For some reason, your | |
6303 | ||
4138 | version of Perl appears to have been built without this support. Talk | |
6304 | t | |
4139 | to your Perl administrator. | |
6305 | 4140 | |
6306 | 4141 | =end original |
6307 | 4142 | |
6308 | 4143 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
6309 | 4144 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
6310 | 4145 | 見ることは決してないはずです。 |
6311 | 4146 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
6312 | 4147 | Perl の管理者に問い合わせてください。 |
6313 | 4148 | |
6314 | =item Illegal character following sigil in a subroutine signature | |
6315 | ||
6316 | =begin original | |
6317 | ||
6318 | (F) A parameter in a subroutine signature contained an unexpected character | |
6319 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil | |
6320 | should be followed by the variable name or C<=> etc. Perhaps you are | |
6321 | trying use a prototype while in the scope of C<use feature 'signatures'>? | |
6322 | For example: | |
6323 | ||
6324 | =end original | |
6325 | ||
6326 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて | |
6327 | 想定外の文字がありました。 | |
6328 | 通常は、印には変数名や C<=> などが引き続くはずです。 | |
6329 | おそらく C<use feature 'signatures'> のスコープ内で | |
6330 | プロトタイプを使おうとしたのでは? | |
6331 | 例えば: | |
6332 | ||
6333 | sub foo ($$) {} # legal - a prototype | |
6334 | ||
6335 | use feature 'signatures; | |
6336 | sub foo ($$) {} # illegal - was expecting a signature | |
6337 | sub foo ($a, $b) | |
6338 | :prototype($$) {} # legal | |
6339 | ||
6340 | 4149 | =item Illegal character in prototype for %s : %s |
6341 | 4150 | |
6342 | 4151 | =begin original |
6343 | 4152 | |
6344 | (W | |
4153 | (W syntax) An illegal character was found in a prototype declaration. Legal | |
6345 | ||
4154 | characters in prototypes are $, @, %, *, ;, [, ], &, and \. | |
6346 | Perhaps you were trying to write a subroutine signature but didn't enable | |
6347 | that feature first (C<use feature 'signatures'>), so your signature was | |
6348 | instead interpreted as a bad prototype. | |
6349 | 4155 | |
6350 | 4156 | =end original |
6351 | 4157 | |
6352 | (W | |
4158 | (W syntax) プロトタイプ宣言に無効な文字が見つかりました。 | |
6353 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \ | |
4159 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \ です。 | |
6354 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に | |
6355 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った | |
6356 | プロトタイプとして解釈されたのでしょう。 | |
6357 | 4160 | |
6358 | 4161 | =item Illegal declaration of anonymous subroutine |
6359 | 4162 | |
6360 | 4163 | =begin original |
6361 | 4164 | |
6362 | 4165 | (F) When using the C<sub> keyword to construct an anonymous subroutine, |
6363 | you must always specify a block of code. | |
4166 | you must always specify a block of code. See L<perlsub>. | |
6364 | 4167 | |
6365 | 4168 | =end original |
6366 | 4169 | |
6367 | 4170 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 |
6368 | 4171 | 常にコードのブロックを指定しなければなりません。 |
6369 | 4172 | L<perlsub> を参照してください。 |
6370 | 4173 | |
6371 | 4174 | =item Illegal declaration of subroutine %s |
6372 | 4175 | |
6373 | 4176 | =begin original |
6374 | 4177 | |
6375 | (F) A subroutine was not declared correctly. | |
4178 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
6376 | 4179 | |
6377 | 4180 | =end original |
6378 | 4181 | |
6379 | 4182 | (F) サブルーチンが正しく宣言されていません。 |
6380 | 4183 | L<perlsub> を参照してください。 |
6381 | 4184 | |
6382 | 4185 | =item Illegal division by zero |
6383 | 4186 | |
6384 | 4187 | =begin original |
6385 | 4188 | |
6386 | 4189 | (F) You tried to divide a number by 0. Either something was wrong in |
6387 | 4190 | your logic, or you need to put a conditional in to guard against |
6388 | 4191 | meaningless input. |
6389 | 4192 | |
6390 | 4193 | =end original |
6391 | 4194 | |
6392 | 4195 | (F) ゼロで割り算をしようとしました。 |
6393 | 4196 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
6394 | 4197 | 必要かのどちらかでしょう。 |
6395 | 4198 | |
4199 | =item Illegal hexadecimal digit %s ignored | |
4200 | ||
4201 | =begin original | |
4202 | ||
4203 | (W digit) You may have tried to use a character other than 0 - 9 or | |
4204 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal | |
4205 | number stopped before the illegal character. | |
4206 | ||
4207 | =end original | |
4208 | ||
4209 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
4210 | 16 進数の解釈は不正な文字の手前で停止しました。 | |
4211 | ||
6396 | 4212 | =item Illegal modulus zero |
6397 | 4213 | |
6398 | 4214 | =begin original |
6399 | 4215 | |
6400 | 4216 | (F) You tried to divide a number by 0 to get the remainder. Most |
6401 | 4217 | numbers don't take to this kindly. |
6402 | 4218 | |
6403 | 4219 | =end original |
6404 | 4220 | |
6405 | 4221 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
6406 | 4222 | これは、ほとんどの数体系で受け入れられません。 |
6407 | 4223 | |
6408 | 4224 | =item Illegal number of bits in vec |
6409 | 4225 | |
6410 | 4226 | =begin original |
6411 | 4227 | |
6412 | 4228 | (F) The number of bits in vec() (the third argument) must be a power of |
6413 | 4229 | two from 1 to 32 (or 64, if your platform supports that). |
6414 | 4230 | |
6415 | 4231 | =end original |
6416 | 4232 | |
6417 | 4233 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
6418 | 4234 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
6419 | 4235 | |
6420 | =item Illegal octal digit | |
4236 | =item Illegal octal digit %s | |
6421 | 4237 | |
6422 | 4238 | =begin original |
6423 | 4239 | |
6424 | 4240 | (F) You used an 8 or 9 in an octal number. |
6425 | 4241 | |
6426 | 4242 | =end original |
6427 | 4243 | |
6428 | 4244 | (F) 8 進数で 8 か 9 を使いました。 |
6429 | 4245 | |
6430 | =item Illegal o | |
4246 | =item Illegal octal digit %s ignored | |
6431 | 4247 | |
6432 | 4248 | =begin original |
6433 | 4249 | |
6434 | ( | |
4250 | (W digit) You may have tried to use an 8 or 9 in an octal number. | |
6435 | ||
4251 | Interpretation of the octal number stopped before the 8 or 9. | |
6436 | 4252 | |
6437 | 4253 | =end original |
6438 | 4254 | |
6439 | ( | |
4255 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 | |
6440 | ||
4256 | 8 進数の解釈は 8 か 9 の手前で停止しました。 | |
6441 | 4257 | |
6442 | ||
4258 | =item Illegal switch in PERL5OPT: %s | |
6443 | sub foo ($=1) {} # legal | |
6444 | sub foo ($a = 1) {} # legal | |
6445 | sub foo ($a += 1) {} # illegal | |
6446 | sub foo ($a == 1) {} # illegal | |
6447 | 4259 | |
6448 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ | |
6449 | ||
6450 | 4260 | =begin original |
6451 | 4261 | |
6452 | (F) You wrote something like | |
6453 | ||
6454 | =end original | |
6455 | ||
6456 | (F) 以下のようなものを書きました | |
6457 | ||
6458 | (?+foo) | |
6459 | ||
6460 | =begin original | |
6461 | ||
6462 | The C<"+"> is valid only when followed by digits, indicating a | |
6463 | capturing group. See | |
6464 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
6465 | ||
6466 | =end original | |
6467 | ||
6468 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
6469 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
6470 | 参照してください。 | |
6471 | ||
6472 | =item Illegal suidscript | |
6473 | ||
6474 | =begin original | |
6475 | ||
6476 | (F) The script run under suidperl was somehow illegal. | |
6477 | ||
6478 | =end original | |
6479 | ||
6480 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 | |
6481 | ||
6482 | =item Illegal switch in PERL5OPT: -%c | |
6483 | ||
6484 | =begin original | |
6485 | ||
6486 | 4262 | (X) The PERL5OPT environment variable may only be used to set the |
6487 | following switches: B<-[ | |
4263 | following switches: B<-[DIMUdmtw]>. | |
6488 | 4264 | |
6489 | 4265 | =end original |
6490 | 4266 | |
6491 | (X) PERL5OPT 環境変数で設定できるのは B<-[ | |
4267 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmtw]> の | |
4268 | オプションだけです。 | |
6492 | 4269 | |
6493 | =item Illegal user-defined property name | |
6494 | ||
6495 | =begin original | |
6496 | ||
6497 | (F) You specified a Unicode-like property name in a regular expression | |
6498 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
6499 | Unicode property, and was likely meant to be a user-defined property | |
6500 | name, but it can't be one of those, as they must begin with either C<In> | |
6501 | or C<Is>. Check the spelling. See also | |
6502 | L</Can't find Unicode property definition "%s">. | |
6503 | ||
6504 | =end original | |
6505 | ||
6506 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
6507 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
6508 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
6509 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
6510 | そうなりません。 | |
6511 | スペルを確認してください。 | |
6512 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
6513 | ||
6514 | 4270 | =item Ill-formed CRTL environ value "%s" |
6515 | 4271 | |
6516 | 4272 | =begin original |
6517 | 4273 | |
6518 | 4274 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
6519 | 4275 | internal environ array, and encountered an element without the C<=> |
6520 | 4276 | delimiter used to separate keys from values. The element is ignored. |
6521 | 4277 | |
6522 | 4278 | =end original |
6523 | 4279 | |
6524 | (W internal) VMS | |
4280 | (W internal) VMS 固有の警告です。 | |
6525 | 4281 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
6526 | 4282 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
6527 | 4283 | この要素は無視しました。 |
6528 | 4284 | |
6529 | 4285 | =item Ill-formed message in prime_env_iter: |%s| |
6530 | 4286 | |
6531 | 4287 | =begin original |
6532 | 4288 | |
6533 | 4289 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
6534 | 4290 | name or CLI symbol definition when preparing to iterate over %ENV, and |
6535 | 4291 | didn't see the expected delimiter between key and value, so the line was |
6536 | 4292 | ignored. |
6537 | 4293 | |
6538 | 4294 | =end original |
6539 | 4295 | |
6540 | (W internal) VMS | |
4296 | (W internal) VMS 固有の警告です。 | |
6541 | 4297 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
6542 | 4298 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
6543 | 4299 | その行は無視しました。 |
6544 | 4300 | |
6545 | 4301 | =item (in cleanup) %s |
6546 | 4302 | |
6547 | 4303 | =begin original |
6548 | 4304 | |
6549 | 4305 | (W misc) This prefix usually indicates that a DESTROY() method raised |
6550 | 4306 | the indicated exception. Since destructors are usually called by the |
6551 | 4307 | system at arbitrary points during execution, and often a vast number of |
6552 | 4308 | times, the warning is issued only once for any number of failures that |
6553 | 4309 | would otherwise result in the same message being repeated. |
6554 | 4310 | |
6555 | 4311 | =end original |
6556 | 4312 | |
6557 | 4313 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
6558 | 4314 | 発生したことを示しています。 |
6559 | 4315 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
6560 | 4316 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
6561 | 4317 | 何回失敗しても一度だけ発生します。 |
6562 | 4318 | |
6563 | 4319 | =begin original |
6564 | 4320 | |
6565 | 4321 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
6566 | 4322 | also result in this warning. See L<perlcall/G_KEEPERR>. |
6567 | 4323 | |
6568 | 4324 | =end original |
6569 | 4325 | |
6570 | C<G_KEEPERR> フラグを使って | |
4326 | C<G_KEEPERR> フラグを使ってディスパッチしたユーザーコールバックに失敗した | |
6571 | 4327 | 場合にもこの警告が出ることがあります。 |
6572 | 4328 | L<perlcall/G_KEEPERR> を参照してください。 |
6573 | 4329 | |
6574 | =item In | |
4330 | =item In EBCDIC the v-string components cannot exceed 2147483647 | |
6575 | in m/%s/ | |
6576 | 4331 | |
6577 | 4332 | =begin original |
6578 | 4333 | |
6579 | (F) | |
4334 | (F) An error peculiar to EBCDIC. Internally, v-strings are stored as | |
6580 | ||
4335 | Unicode code points, and encoded in EBCDIC as UTF-EBCDIC. The UTF-EBCDIC | |
6581 | ||
4336 | encoding is limited to code points no larger than 2147483647 (0x7FFFFFFF). | |
6582 | enough to give you a more precise indication as to what is wrong. | |
6583 | 4337 | |
6584 | 4338 | =end original |
6585 | 4339 | |
6586 | (F) | |
4340 | (F) EBCDIC 特有のエラーです。 | |
6587 | ||
4341 | 内部的に、v 文字列は Unicode 文字ポイントとして保管されていて、 | |
6588 | ||
4342 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 | |
6589 | ||
4343 | UTF-EBCDIC エンコーディングでは、コードポイントは | |
4344 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 | |
6590 | 4345 | |
6591 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
6592 | parent '%s' | |
6593 | ||
6594 | =begin original | |
6595 | ||
6596 | (F) The method resolution order (MRO) of the given class is not | |
6597 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 | |
6598 | documentation in L<mro> for more information. | |
6599 | ||
6600 | =end original | |
6601 | ||
6602 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 | |
6603 | このクラスの C3 MRO を有効にしました。 | |
6604 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 | |
6605 | ||
6606 | =item Indentation on line %d of here-doc doesn't match delimiter | |
6607 | ||
6608 | =begin original | |
6609 | ||
6610 | (F) You have an indented here-document where one or more of its lines | |
6611 | have whitespace at the beginning that does not match the closing | |
6612 | delimiter. | |
6613 | ||
6614 | =end original | |
6615 | ||
6616 | (F) インデントのあるヒヤドキュメントがありますが、 | |
6617 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 | |
6618 | ||
6619 | =begin original | |
6620 | ||
6621 | For example, line 2 below is wrong because it does not have at least | |
6622 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: | |
6623 | ||
6624 | =end original | |
6625 | ||
6626 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の | |
6627 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; | |
6628 | 少なくとも 2 個あるからです: | |
6629 | ||
6630 | if ($something) { | |
6631 | print <<~EOF; | |
6632 | Line 1 | |
6633 | Line 2 not | |
6634 | Line 3 | |
6635 | EOF | |
6636 | } | |
6637 | ||
6638 | =begin original | |
6639 | ||
6640 | Note that tabs and spaces are compared strictly, meaning 1 tab will | |
6641 | not match 8 spaces. | |
6642 | ||
6643 | =end original | |
6644 | ||
6645 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは | |
6646 | マッチングしないことに注意してください。 | |
6647 | ||
6648 | =item Infinite recursion in regex | |
6649 | ||
6650 | =begin original | |
6651 | ||
6652 | (F) You used a pattern that references itself without consuming any input | |
6653 | text. You should check the pattern to ensure that recursive patterns | |
6654 | either consume text or fail. | |
6655 | ||
6656 | =end original | |
6657 | ||
6658 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 | |
6659 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 | |
6660 | パターンをチェックするべきです。 | |
6661 | ||
6662 | =item Infinite recursion in user-defined property | |
6663 | ||
6664 | =begin original | |
6665 | ||
6666 | (F) A user-defined property (L<perlunicode/User-Defined Character | |
6667 | Properties>) can depend on the definitions of other user-defined | |
6668 | properties. If the chain of dependencies leads back to this property, | |
6669 | infinite recursion would occur, were it not for the check that raised | |
6670 | this error. | |
6671 | ||
6672 | =end original | |
6673 | ||
6674 | (F) ユーザー定義特性 (L<perlunicode/User-Defined Character | |
6675 | Properties>) は他のユーザー定義特性の定義に依存できます。 | |
6676 | 依存の鎖がこの特性に戻ってくる場合、無限再帰が起きることになり、 | |
6677 | そうしないためのチェックがこのエラーを起こします。 | |
6678 | ||
6679 | =begin original | |
6680 | ||
6681 | Restructure your property definitions to avoid this. | |
6682 | ||
6683 | =end original | |
6684 | ||
6685 | これを避けるために特性定義を再構成してください。 | |
6686 | ||
6687 | =item Infinite recursion via empty pattern | |
6688 | ||
6689 | =begin original | |
6690 | ||
6691 | (F) You tried to use the empty pattern inside of a regex code block, | |
6692 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
6693 | the same pattern, which is an infinite loop which is broken by | |
6694 | throwing an exception. | |
6695 | ||
6696 | =end original | |
6697 | ||
6698 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
6699 | 空パターンを使いました; | |
6700 | これは同じパターンを再実行することになり、 | |
6701 | 例外が投げられることによって壊れる無限ループになります。 | |
6702 | ||
6703 | =item Initialization of state variables in list currently forbidden | |
6704 | ||
6705 | =begin original | |
6706 | ||
6707 | (F) C<state> only permits initializing a single variable, specified | |
6708 | without parentheses. So C<state $a = 42> and C<state @a = qw(a b c)> are | |
6709 | allowed, but not C<state ($a) = 42> or C<(state $a) = 42>. To initialize | |
6710 | more than one C<state> variable, initialize them one at a time. | |
6711 | ||
6712 | =end original | |
6713 | ||
6714 | (F) C<state> は、かっこなしで指定された単一の変数の初期化のみが | |
6715 | 許されています。 | |
6716 | 従って C<state $a = 42> と C<state @a = qw(a b c)> は許されますが、 | |
6717 | C<state ($a) = 42> や C<(state $a) = 42> は許されません。 | |
6718 | To initialize | |
6719 | more than one | |
6720 | 複数の C<state> 変数を初期化するには、一つずつ初期化してください。 | |
6721 | ||
6722 | =item %%s[%s] in scalar context better written as $%s[%s] | |
6723 | ||
6724 | =begin original | |
6725 | ||
6726 | (W syntax) In scalar context, you've used an array index/value slice | |
6727 | (indicated by %) to select a single element of an array. Generally | |
6728 | it's better to ask for a scalar value (indicated by $). The difference | |
6729 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it | |
6730 | returns and when evaluating its argument, while C<%foo[&bar]> provides | |
6731 | a list context to its subscript, which can do weird things if you're | |
6732 | expecting only one subscript. When called in list context, it also | |
6733 | returns the index (what C<&bar> returns) in addition to the value. | |
6734 | ||
6735 | =end original | |
6736 | ||
6737 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために | |
6738 | (% で示される)配列インデックス/値スライスを使いました。 | |
6739 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6740 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6741 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6742 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6743 | リストコンテキストで呼び出された場合、値に加えてインデックス | |
6744 | (C<&bar> が返すもの) を返します。 | |
6745 | ||
6746 | =item %%s{%s} in scalar context better written as $%s{%s} | |
6747 | ||
6748 | =begin original | |
6749 | ||
6750 | (W syntax) In scalar context, you've used a hash key/value slice | |
6751 | (indicated by %) to select a single element of a hash. Generally it's | |
6752 | better to ask for a scalar value (indicated by $). The difference | |
6753 | is that C<$foo{&bar}> always behaves like a scalar, both in the value | |
6754 | it returns and when evaluating its argument, while C<@foo{&bar}> and | |
6755 | provides a list context to its subscript, which can do weird things | |
6756 | if you're expecting only one subscript. When called in list context, | |
6757 | it also returns the key in addition to the value. | |
6758 | ||
6759 | =end original | |
6760 | ||
6761 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために | |
6762 | (% で示される)ハッシュキー/値スライスを使いました。 | |
6763 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6764 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6765 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6766 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6767 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 | |
6768 | ||
6769 | 4346 | =item Insecure dependency in %s |
6770 | 4347 | |
6771 | 4348 | =begin original |
6772 | 4349 | |
6773 | 4350 | (F) You tried to do something that the tainting mechanism didn't like. |
6774 | 4351 | The tainting mechanism is turned on when you're running setuid or |
6775 | 4352 | setgid, or when you specify B<-T> to turn it on explicitly. The |
6776 | 4353 | tainting mechanism labels all data that's derived directly or indirectly |
6777 | 4354 | from the user, who is considered to be unworthy of your trust. If any |
6778 | 4355 | such data is used in a "dangerous" operation, you get this error. See |
6779 | 4356 | L<perlsec> for more information. |
6780 | 4357 | |
6781 | 4358 | =end original |
6782 | 4359 | |
6783 | 4360 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
6784 | 4361 | 行なおうとしました。 |
6785 | 4362 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
6786 | 4363 | 汚染チェック機構が働きます。 |
6787 | 4364 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
6788 | 4365 | 指定したデータに印を付けます。 |
6789 | 4366 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
6790 | 4367 | 詳しくは、L<perlsec> を参照してください。 |
6791 | 4368 | |
6792 | 4369 | =item Insecure directory in %s |
6793 | 4370 | |
6794 | 4371 | =begin original |
6795 | 4372 | |
6796 | 4373 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6797 | 4374 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
6798 | 4375 | the world. Also, the PATH must not contain any relative directory. |
6799 | 4376 | See L<perlsec>. |
6800 | 4377 | |
6801 | 4378 | =end original |
6802 | 4379 | |
6803 | 4380 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
6804 | 4381 | 含まれているとき、system()、exec()、パイプのオープンを |
6805 | 4382 | 行なうことはできません。 |
6806 | 4383 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 |
6807 | 4384 | L<perlsec> を参照してください。 |
6808 | 4385 | |
6809 | 4386 | =item Insecure $ENV{%s} while running %s |
6810 | 4387 | |
6811 | 4388 | =begin original |
6812 | 4389 | |
6813 | 4390 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6814 | 4391 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
6815 | 4392 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data |
6816 | 4393 | supplied (or potentially supplied) by the user. The script must set |
6817 | 4394 | the path to a known value, using trustworthy data. See L<perlsec>. |
6818 | 4395 | |
6819 | 4396 | =end original |
6820 | 4397 | |
6821 | 4398 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
6822 | 4399 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された |
6823 | 4400 | (あるいは提供された可能性のある)データの場合、setuid や setgid された |
6824 | 4401 | スクリプトでは system(), exec(), パイプされる open を |
6825 | 4402 | 使うことはできません。 |
6826 | 4403 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
6827 | 4404 | セットしなければなりません。 |
6828 | 4405 | L<perlsec> を参照してください。 |
6829 | 4406 | |
6830 | =item Insecure user-defined property %s | |
6831 | ||
6832 | =begin original | |
6833 | ||
6834 | (F) Perl detected tainted data when trying to compile a regular | |
6835 | expression that contains a call to a user-defined character property | |
6836 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. | |
6837 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. | |
6838 | ||
6839 | =end original | |
6840 | ||
6841 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の | |
6842 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを | |
6843 | 検出しました。 | |
6844 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を | |
6845 | 参照してください。 | |
6846 | ||
6847 | =item Integer overflow in format string for %s | |
6848 | ||
6849 | =begin original | |
6850 | ||
6851 | (F) The indexes and widths specified in the format string of C<printf()> | |
6852 | or C<sprintf()> are too large. The numbers must not overflow the size of | |
6853 | integers for your architecture. | |
6854 | ||
6855 | =end original | |
6856 | ||
6857 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや | |
6858 | 幅が大きすぎます。 | |
6859 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように | |
6860 | しなければなりません。 | |
6861 | ||
6862 | 4407 | =item Integer overflow in %s number |
6863 | 4408 | |
6864 | 4409 | =begin original |
6865 | 4410 | |
6866 | ( | |
4411 | (W overflow) The hexadecimal, octal or binary number you have specified | |
6867 | 4412 | either as a literal or as an argument to hex() or oct() is too big for |
6868 | 4413 | your architecture, and has been converted to a floating point number. |
6869 | 4414 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
6870 | 4415 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
6871 | 4416 | 0b11111111111111111111111111111111 respectively. Note that Perl |
6872 | 4417 | transparently promotes all numbers to a floating point representation |
6873 | 4418 | internally--subject to loss of precision errors in subsequent |
6874 | 4419 | operations. |
6875 | 4420 | |
6876 | 4421 | =end original |
6877 | 4422 | |
6878 | ( | |
4423 | (W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
6879 | 4424 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
6880 | 4425 | 変換されました。 |
6881 | 4426 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
6882 | 4427 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
6883 | 4428 | 0b11111111111111111111111111111111 です。 |
6884 | 4429 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
6885 | 4430 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
6886 | 4431 | |
6887 | =item Inte | |
4432 | =item Internal disaster in regex; marked by <-- HERE in m/%s/ | |
6888 | 4433 | |
6889 | 4434 | =begin original |
6890 | 4435 | |
6891 | (S overflow) The number you have passed to srand is too big to fit | |
6892 | in your architecture's integer representation. The number has been | |
6893 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
6894 | architectures). This means you may be getting less randomness than | |
6895 | you expect, because different random seeds above the maximum will | |
6896 | return the same sequence of random numbers. | |
6897 | ||
6898 | =end original | |
6899 | ||
6900 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
6901 | 適合させるには大きすぎます。 | |
6902 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
6903 | 置き換えられました。 | |
6904 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
6905 | 想定しているよりもランダム性が低くなることを意味します。 | |
6906 | ||
6907 | =item Integer overflow in version | |
6908 | ||
6909 | =item Integer overflow in version %d | |
6910 | ||
6911 | =begin original | |
6912 | ||
6913 | (W overflow) Some portion of a version initialization is too large for | |
6914 | the size of integers for your architecture. This is not a warning | |
6915 | because there is no rational reason for a version to try and use an | |
6916 | element larger than typically 2**32. This is usually caused by trying | |
6917 | to use some odd mathematical operation as a version, like 100/9. | |
6918 | ||
6919 | =end original | |
6920 | ||
6921 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
6922 | 大きすぎます。 | |
6923 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な | |
6924 | 理由がないので、これは警告ではありません。 | |
6925 | これは普通、100/9 のようなおかしな数値演算をバージョンとして | |
6926 | 使おうとしたことによります。 | |
6927 | ||
6928 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ | |
6929 | ||
6930 | =begin original | |
6931 | ||
6932 | 4436 | (P) Something went badly wrong in the regular expression parser. |
6933 | The | |
4437 | The <-- HERE shows in the regular expression about where the problem was | |
6934 | 4438 | discovered. |
6935 | 4439 | |
6936 | 4440 | =end original |
6937 | 4441 | |
6938 | 4442 | (P) 正規表現解析部に何か悪いことが起こりました。 |
6939 | ||
4443 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
6940 | 4444 | |
6941 | 4445 | =item Internal inconsistency in tracking vforks |
6942 | 4446 | |
6943 | 4447 | =begin original |
6944 | 4448 | |
6945 | 4449 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
6946 | 4450 | you've called C<fork> and C<exec>, to determine whether the current call |
6947 | 4451 | to C<exec> should affect the current script or a subprocess (see |
6948 | 4452 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
6949 | 4453 | Perl is making a guess and treating this C<exec> as a request to |
6950 | 4454 | terminate the Perl script and execute the specified command. |
6951 | 4455 | |
6952 | 4456 | =end original |
6953 | 4457 | |
6954 | (S) VMS | |
4458 | (S) VMS 特有の警告です。 | |
6955 | 4459 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
6956 | 4460 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
6957 | 4461 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
6958 | 4462 | 参照してください)。 |
6959 | 4463 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
6960 | 4464 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
6961 | 4465 | 仮定して、そのように扱いました。 |
6962 | 4466 | |
6963 | =item | |
4467 | =item Internal urp in regex; marked by <-- HERE in m/%s/ | |
6964 | 4468 | |
6965 | 4469 | =begin original |
6966 | 4470 | |
6967 | ( | |
4471 | (P) Something went badly awry in the regular expression parser. The | |
6968 | ||
4472 | <-- HERE shows in the regular expression about where the problem was | |
6969 | C or XS code. Specifically, formats consisting of digits followed | |
6970 | by "p" (e.g., "%7p") are reserved for future use. If you see this | |
6971 | message, then an XS module tried to call that routine with one such | |
6972 | reserved format. | |
6973 | ||
6974 | =end original | |
6975 | ||
6976 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の | |
6977 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に | |
6978 | 従います。 | |
6979 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の | |
6980 | 使用のために予約されています。 | |
6981 | このメッセージが表示された場合、XS モジュールはこのような予約された | |
6982 | フォーマットを使って呼び出そうとしました。 | |
6983 | ||
6984 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ | |
6985 | ||
6986 | =begin original | |
6987 | ||
6988 | (P) Something went badly awry in the regular expression parser. The | |
6989 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
6990 | 4473 | discovered. |
6991 | 4474 | |
6992 | 4475 | =end original |
6993 | 4476 | |
6994 | 4477 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
6995 | ||
4478 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
6996 | 4479 | |
6997 | 4480 | =item %s (...) interpreted as function |
6998 | 4481 | |
6999 | 4482 | =begin original |
7000 | 4483 | |
7001 | 4484 | (W syntax) You've run afoul of the rule that says that any list operator |
7002 | 4485 | followed by parentheses turns into a function, with all the list |
7003 | 4486 | operators arguments found inside the parentheses. See |
7004 | 4487 | L<perlop/Terms and List Operators (Leftward)>. |
7005 | 4488 | |
7006 | 4489 | =end original |
7007 | 4490 | |
7008 | (W syntax) リスト演算子の直後に | |
4491 | (W syntax) リスト演算子の直後に括弧を置くと、括弧内にあるリスト演算子引数を | |
7009 | ||
4492 | 持つ関数になる、という規則が適用されました。 | |
7010 | 4493 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
7011 | 4494 | |
7012 | =item In '(?...)', the '(' and '?' must be adjacent in regex; | |
7013 | marked by S<<-- HERE> in m/%s/ | |
7014 | ||
7015 | =begin original | |
7016 | ||
7017 | (F) The two-character sequence C<"(?"> in this context in a regular | |
7018 | expression pattern should be an indivisible token, with nothing | |
7019 | intervening between the C<"("> and the C<"?">, but you separated them | |
7020 | with whitespace. | |
7021 | ||
7022 | =end original | |
7023 | ||
7024 | (F) | |
7025 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
7026 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 | |
7027 | ||
7028 | =item In '(*...)', the '(' and '*' must be adjacent in regex; | |
7029 | marked by S<<-- HERE> in m/%s/ | |
7030 | ||
7031 | =begin original | |
7032 | ||
7033 | (F) The two-character sequence C<"(*"> in this context in a regular | |
7034 | expression pattern should be an indivisible token, with nothing | |
7035 | intervening between the C<"("> and the C<"*">, but you separated them. | |
7036 | Fix the pattern and retry. | |
7037 | ||
7038 | =end original | |
7039 | ||
7040 | (F) 正規表現パターンの中のこの文脈での 2 文字並び C<"(*"> は、 | |
7041 | C<"("> と C<"*"> の間に何も入っていない分割されていないトークンである | |
7042 | 必要があります; しかしこれが分割されています。 | |
7043 | パターンを修正してもう一度試してください。 | |
7044 | ||
7045 | 4495 | =item Invalid %s attribute: %s |
7046 | 4496 | |
7047 | 4497 | =begin original |
7048 | 4498 | |
7049 | ||
4499 | The indicated attribute for a subroutine or variable was not recognized | |
7050 | 4500 | by Perl or by a user-supplied handler. See L<attributes>. |
7051 | 4501 | |
7052 | 4502 | =end original |
7053 | 4503 | |
7054 | ||
4504 | 示されたサブルーチンや変数の属性は | |
7055 | 認識されませんでした。 | |
4505 | Perl やユーザー提供のハンドラで認識されませんでした。 | |
7056 | 4506 | L<attributes> を参照してください。 |
7057 | 4507 | |
7058 | 4508 | =item Invalid %s attributes: %s |
7059 | 4509 | |
7060 | 4510 | =begin original |
7061 | 4511 | |
7062 | ||
4512 | The indicated attributes for a subroutine or variable were not | |
7063 | 4513 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
7064 | 4514 | |
7065 | 4515 | =end original |
7066 | 4516 | |
7067 | ||
4517 | 示されたサブルーチンや変数の属性は | |
7068 | 認識されませんでした。 | |
4518 | Perl やユーザー提供のハンドラで認識されませんでした。 | |
7069 | 4519 | L<attributes> を参照してください。 |
7070 | 4520 | |
7071 | =item Invalid character in charnames alias definition; marked by | |
7072 | S<<-- HERE> in '%s | |
7073 | ||
7074 | =begin original | |
7075 | ||
7076 | (F) You tried to create a custom alias for a character name, with | |
7077 | the C<:alias> option to C<use charnames> and the specified character in | |
7078 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
7079 | ||
7080 | =end original | |
7081 | ||
7082 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
7083 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
7084 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7085 | ||
7086 | =item Invalid \0 character in %s for %s: %s\0%s | |
7087 | ||
7088 | =begin original | |
7089 | ||
7090 | (W syscalls) Embedded \0 characters in pathnames or other system call | |
7091 | arguments produce a warning as of 5.20. The parts after the \0 were | |
7092 | formerly ignored by system calls. | |
7093 | ||
7094 | =end original | |
7095 | ||
7096 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は | |
7097 | 5.20 から警告を出力するようになりました。 | |
7098 | 以前は \0 の後の部分はシステムコールによって無視されていました。 | |
7099 | ||
7100 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} | |
7101 | ||
7102 | =begin original | |
7103 | ||
7104 | (F) Only certain characters are valid for character names. The | |
7105 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
7106 | ||
7107 | =end original | |
7108 | ||
7109 | (F) 文字名としては一部の文字のみが正当です。 | |
7110 | 示されたものは違います。 | |
7111 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7112 | ||
7113 | 4521 | =item Invalid conversion in %s: "%s" |
7114 | 4522 | |
7115 | 4523 | =begin original |
7116 | 4524 | |
7117 | 4525 | (W printf) Perl does not understand the given format conversion. See |
7118 | 4526 | L<perlfunc/sprintf>. |
7119 | 4527 | |
7120 | 4528 | =end original |
7121 | 4529 | |
7122 | 4530 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
7123 | 4531 | L<perlfunc/sprintf> を参照してください。 |
7124 | 4532 | |
7125 | =item Invalid | |
4533 | =item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/ | |
7126 | S<<-- HERE> in m/%s/ | |
7127 | 4534 | |
7128 | 4535 | =begin original |
7129 | 4536 | |
7130 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 | |
7131 | didn't correspond to a single character through the conversion | |
7132 | from the encoding specified by the encoding pragma. | |
7133 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
7134 | instead, except within S<C<(?[ ])>>, where it is a fatal error. | |
7135 | The S<<-- HERE> shows whereabouts in the regular expression the | |
7136 | escape was discovered. | |
7137 | ||
7138 | =end original | |
7139 | ||
7140 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
7141 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 | |
7142 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; | |
7143 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 | |
7144 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
7145 | ||
7146 | =item Invalid hexadecimal number in \N{U+...} | |
7147 | ||
7148 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by | |
7149 | S<<-- HERE> in m/%s/ | |
7150 | ||
7151 | =begin original | |
7152 | ||
7153 | (F) The character constant represented by C<...> is not a valid hexadecimal | |
7154 | number. Either it is empty, or you tried to use a character other than | |
7155 | 0 - 9 or A - F, a - f in a hexadecimal number. | |
7156 | ||
7157 | =end original | |
7158 | ||
7159 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 | |
7160 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
7161 | ||
7162 | =item Invalid module name %s with -%c option: contains single ':' | |
7163 | ||
7164 | =begin original | |
7165 | ||
7166 | (F) The module argument to perl's B<-m> and B<-M> command-line options | |
7167 | cannot contain single colons in the module name, but only in the | |
7168 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but | |
7169 | B<-MFoo:Bar=baz> is not. | |
7170 | ||
7171 | =end original | |
7172 | ||
7173 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 | |
7174 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが | |
7175 | できます。 | |
7176 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は | |
7177 | そうではありません。 | |
7178 | ||
7179 | =item Invalid mro name: '%s' | |
7180 | ||
7181 | =begin original | |
7182 | ||
7183 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, | |
7184 | where C<foo> is not a valid method resolution order (MRO). Currently, | |
7185 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded | |
7186 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. | |
7187 | ||
7188 | =end original | |
7189 | ||
7190 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと | |
7191 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 | |
7192 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として | |
7193 | 有効なものは C<dfs> と C<c3> だけです。 | |
7194 | L<mro> と L<perlmroapi> を参照してください。 | |
7195 | ||
7196 | =item Invalid negative number (%s) in chr | |
7197 | ||
7198 | =begin original | |
7199 | ||
7200 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
7201 | not valid character numbers, so it returns the Unicode replacement | |
7202 | character (U+FFFD). | |
7203 | ||
7204 | =end original | |
7205 | ||
7206 | (W utf8) C<chr> に負数を渡しました。 | |
7207 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
7208 | ||
7209 | =item Invalid number '%s' for -C option. | |
7210 | ||
7211 | =begin original | |
7212 | ||
7213 | (F) You supplied a number to the -C option that either has extra leading | |
7214 | zeroes or overflows perl's unsigned integer representation. | |
7215 | ||
7216 | =end original | |
7217 | ||
7218 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
7219 | オーバーフローするといったような数値を指定しました。 | |
7220 | ||
7221 | =item invalid option -D%c, use -D'' to see choices | |
7222 | ||
7223 | =begin original | |
7224 | ||
7225 | (S debugging) Perl was called with invalid debugger flags. Call perl | |
7226 | with the B<-D> option with no flags to see the list of acceptable values. | |
7227 | See also L<perlrun/-Dletters>. | |
7228 | ||
7229 | =end original | |
7230 | ||
7231 | (F) Perl は不正なデバッガフラグで呼び出されました。 | |
7232 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて | |
7233 | perl を呼び出してください。 | |
7234 | L<< perlrun/B<-D>I<letters> >> も参照してください。 | |
7235 | ||
7236 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ | |
7237 | ||
7238 | =begin original | |
7239 | ||
7240 | (F) The pattern looks like a {min,max} quantifier, but the min or max | |
7241 | could not be parsed as a valid number - either it has leading zeroes, | |
7242 | or it represents too big a number to cope with. The S<<-- HERE> shows | |
7243 | where in the regular expression the problem was discovered. See L<perlre>. | |
7244 | ||
7245 | =end original | |
7246 | ||
7247 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が | |
7248 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 | |
7249 | 数値として扱うには大きすぎます。 | |
7250 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7251 | L<perlre> を参照してください。 | |
7252 | ||
7253 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7254 | ||
7255 | =begin original | |
7256 | ||
7257 | 4537 | (F) The range specified in a character class had a minimum character |
7258 | 4538 | greater than the maximum character. One possibility is that you forgot the |
7259 | 4539 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only |
7260 | up to C<ff>. The | |
4540 | up to C<ff>. The <-- HERE shows in the regular expression about where the | |
7261 | 4541 | problem was discovered. See L<perlre>. |
7262 | 4542 | |
7263 | 4543 | =end original |
7264 | 4544 | |
7265 | 4545 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
7266 | 4546 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を |
7267 | 4547 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか |
7268 | 4548 | なりません。 |
7269 | ||
4549 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
7270 | 4550 | L<perlre> を参照してください。 |
7271 | 4551 | |
7272 | 4552 | =item Invalid range "%s" in transliteration operator |
7273 | 4553 | |
7274 | 4554 | =begin original |
7275 | 4555 | |
7276 | 4556 | (F) The range specified in the tr/// or y/// operator had a minimum |
7277 | 4557 | character greater than the maximum character. See L<perlop>. |
7278 | 4558 | |
7279 | 4559 | =end original |
7280 | 4560 | |
7281 | 4561 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が |
7282 | 4562 | 大きいです。 |
7283 | 4563 | L<perlop> を参照してください。 |
7284 | 4564 | |
7285 | =item Invalid reference to group in regex; marked by S<<-- HERE> in m/%s/ | |
7286 | ||
7287 | =begin original | |
7288 | ||
7289 | (F) The capture group you specified can't possibly exist because the | |
7290 | number you used is not within the legal range of possible values for | |
7291 | this machine. | |
7292 | ||
7293 | =end original | |
7294 | ||
7295 | (F) 指定した捕捉グループはおそらく存在できません; | |
7296 | 使われている数字がこの機械で可能な値の範囲の中でないからです。 | |
7297 | ||
7298 | 4565 | =item Invalid separator character %s in attribute list |
7299 | 4566 | |
7300 | 4567 | =begin original |
7301 | 4568 | |
7302 | 4569 | (F) Something other than a colon or whitespace was seen between the |
7303 | 4570 | elements of an attribute list. If the previous attribute had a |
7304 | 4571 | parenthesised parameter list, perhaps that list was terminated too soon. |
7305 | 4572 | See L<attributes>. |
7306 | 4573 | |
7307 | 4574 | =end original |
7308 | 4575 | |
7309 | 4576 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
7310 | 4577 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
7311 | 4578 | 予定より早く終端されています。 |
7312 | 4579 | L<attributes> を参照してください。 |
7313 | 4580 | |
7314 | 4581 | =item Invalid separator character %s in PerlIO layer specification %s |
7315 | 4582 | |
7316 | 4583 | =begin original |
7317 | 4584 | |
7318 | (W layer) When pushing layers onto the Perl I/O system, something other | |
4585 | (W layer) When pushing layers onto the Perl I/O system, something other than a | |
7319 | ||
4586 | colon or whitespace was seen between the elements of a layer list. | |
7320 | 4587 | If the previous attribute had a parenthesised parameter list, perhaps that |
7321 | 4588 | list was terminated too soon. |
7322 | 4589 | |
7323 | 4590 | =end original |
7324 | 4591 | |
7325 | 4592 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に |
7326 | 4593 | コロンと空白以外のものがありました。 |
7327 | 直前の属性がかっこ付き | |
4594 | 直前の属性がかっこ付きパラメータリストを持つ場合、おそらくリストの | |
7328 | ||
4595 | 終端が早すぎるのでしょう。 | |
7329 | 4596 | |
7330 | =item Invalid strict version format (%s) | |
7331 | ||
7332 | =begin original | |
7333 | ||
7334 | (F) A version number did not meet the "strict" criteria for versions. | |
7335 | A "strict" version number is a positive decimal number (integer or | |
7336 | decimal-fraction) without exponentiation or else a dotted-decimal | |
7337 | v-string with a leading 'v' character and at least three components. | |
7338 | The parenthesized text indicates which criteria were not met. | |
7339 | See the L<version> module for more details on allowed version formats. | |
7340 | ||
7341 | =end original | |
7342 | ||
7343 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 | |
7344 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 | |
7345 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも | |
7346 | 三つの部分からなるものです。 | |
7347 | かっこで囲まれたテキストは問題の基準を示しています。 | |
7348 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
7349 | L<version> モジュールを参照してください。 | |
7350 | ||
7351 | 4597 | =item Invalid type '%s' in %s |
7352 | 4598 | |
7353 | 4599 | =begin original |
7354 | 4600 | |
7355 | 4601 | (F) The given character is not a valid pack or unpack type. |
7356 | 4602 | See L<perlfunc/pack>. |
7357 | ||
7358 | =end original | |
7359 | ||
7360 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 | |
7361 | L<perlfunc/pack> を参照してください。 | |
7362 | ||
7363 | =begin original | |
7364 | ||
7365 | 4603 | (W) The given character is not a valid pack or unpack type but used to be |
7366 | 4604 | silently ignored. |
7367 | 4605 | |
7368 | 4606 | =end original |
7369 | 4607 | |
4608 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 | |
4609 | L<perlfunc/pack> を参照してください。 | |
7370 | 4610 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に |
7371 | 4611 | 無視されました。 |
7372 | 4612 | |
7373 | =item Invalid version format (%s) | |
7374 | ||
7375 | =begin original | |
7376 | ||
7377 | (F) A version number did not meet the "lax" criteria for versions. | |
7378 | A "lax" version number is a positive decimal number (integer or | |
7379 | decimal-fraction) without exponentiation or else a dotted-decimal | |
7380 | v-string. If the v-string has fewer than three components, it | |
7381 | must have a leading 'v' character. Otherwise, the leading 'v' is | |
7382 | optional. Both decimal and dotted-decimal versions may have a | |
7383 | trailing "alpha" component separated by an underscore character | |
7384 | after a fractional or dotted-decimal component. The parenthesized | |
7385 | text indicates which criteria were not met. See the L<version> module | |
7386 | for more details on allowed version formats. | |
7387 | ||
7388 | =end original | |
7389 | ||
7390 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 | |
7391 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 | |
7392 | あるいはどっと付き 10 進 v-文字列です。 | |
7393 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 | |
7394 | さもなければ、先頭の 'v' はオプションです。 | |
7395 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 | |
7396 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 | |
7397 | かっこで囲まれたテキストは問題の基準を示しています。 | |
7398 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
7399 | L<version> モジュールを参照してください。 | |
7400 | ||
7401 | =item Invalid version object | |
7402 | ||
7403 | =begin original | |
7404 | ||
7405 | (F) The internal structure of the version object was invalid. | |
7406 | Perhaps the internals were modified directly in some way or | |
7407 | an arbitrary reference was blessed into the "version" class. | |
7408 | ||
7409 | =end original | |
7410 | ||
7411 | (F) バージョンオブジェクトの内部構造が不正です。 | |
7412 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが | |
7413 | "version" クラスとして bless されました。 | |
7414 | ||
7415 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; | |
7416 | marked by S<<-- HERE> in m/%s/ | |
7417 | ||
7418 | =item Inverting a character class which contains a multi-character | |
7419 | sequence is illegal in regex; marked by <-- HERE in m/%s/ | |
7420 | ||
7421 | =begin original | |
7422 | ||
7423 | (F) You wrote something like | |
7424 | ||
7425 | =end original | |
7426 | ||
7427 | (F) 次のようなものを書きました: | |
7428 | ||
7429 | qr/\P{name=KATAKANA LETTER AINU P}/ | |
7430 | qr/[^\p{name=KATAKANA LETTER AINU P}]/ | |
7431 | ||
7432 | =begin original | |
7433 | ||
7434 | This name actually evaluates to a sequence of two Katakana characters, | |
7435 | not just a single one, and it is illegal to try to take the complement | |
7436 | of a sequence. (Mathematically it would mean any sequence of characters | |
7437 | from 0 to infinity in length that weren't these two in a row, and that | |
7438 | is likely not of any real use.) | |
7439 | ||
7440 | =end original | |
7441 | ||
7442 | この名前は実際には一つではなく二つのカタカナ文字の並びに評価され、 | |
7443 | 並びの反転を取ろうとするのは不正です。 | |
7444 | (数学的には、これはこれら二つが並んでいるもの以外の長さ 0 から無限の | |
7445 | 任意の文字並びを意味しますが、おそらく実際の用途ではないでしょう。) | |
7446 | ||
7447 | =begin original | |
7448 | ||
7449 | (F) The two-character sequence C<"(*"> in this context in a regular | |
7450 | expression pattern should be an indivisible token, with nothing | |
7451 | intervening between the C<"("> and the C<"*">, but you separated them. | |
7452 | ||
7453 | =end original | |
7454 | ||
7455 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
7456 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
7457 | 分割しました。 | |
7458 | ||
7459 | 4613 | =item ioctl is not implemented |
7460 | 4614 | |
7461 | 4615 | =begin original |
7462 | 4616 | |
7463 | 4617 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
7464 | 4618 | strange for a machine that supports C. |
7465 | 4619 | |
7466 | 4620 | =end original |
7467 | 4621 | |
7468 | 4622 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
7469 | 4623 | このマシンでは ioctl() が実装されていないようです。 |
7470 | 4624 | |
7471 | 4625 | =item ioctl() on unopened %s |
7472 | 4626 | |
7473 | 4627 | =begin original |
7474 | 4628 | |
7475 | 4629 | (W unopened) You tried ioctl() on a filehandle that was never opened. |
7476 | Check you | |
4630 | Check you control flow and number of arguments. | |
7477 | 4631 | |
7478 | 4632 | =end original |
7479 | 4633 | |
7480 | 4634 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 |
7481 | 4635 | 制御フローと引数の数をチェックしてください。 |
7482 | 4636 | |
7483 | =item IO layers (like | |
4637 | =item IO layers (like "%s") unavailable | |
7484 | 4638 | |
7485 | 4639 | =begin original |
7486 | 4640 | |
7487 | 4641 | (F) Your Perl has not been configured to have PerlIO, and therefore |
7488 | you cannot use IO layers. To have PerlIO | |
4642 | you cannot use IO layers. To have PerlIO Perl must be configured | |
7489 | 4643 | with 'useperlio'. |
7490 | 4644 | |
7491 | 4645 | =end original |
7492 | 4646 | |
7493 | 4647 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 |
7494 | 4648 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 |
7495 | 4649 | |
7496 | 4650 | =item IO::Socket::atmark not implemented on this architecture |
7497 | 4651 | |
7498 | 4652 | =begin original |
7499 | 4653 | |
7500 | 4654 | (F) Your machine doesn't implement the sockatmark() functionality, |
7501 | neither as a system call | |
4655 | neither as a system call or an ioctl call (SIOCATMARK). | |
7502 | 4656 | |
7503 | 4657 | =end original |
7504 | 4658 | |
7505 | 4659 | (F) 実行されているマシンでは、システムコールでも |
7506 | 4660 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 |
7507 | 4661 | |
7508 | =item | |
4662 | =item `%s' is not a code reference | |
7509 | 4663 | |
7510 | 4664 | =begin original |
7511 | 4665 | |
7512 | ( | |
4666 | (W overload) The second (fourth, sixth, ...) argument of overload::constant | |
7513 | ||
4667 | needs to be a code reference. Either an anonymous subroutine, or a reference | |
7514 | ||
4668 | to a subroutine. | |
7515 | 4669 | |
7516 | 4670 | =end original |
7517 | 4671 | |
7518 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は | |
7519 | Perl が知らないものでした。 | |
7520 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 | |
7521 | ||
7522 | =item %s is forbidden - matches null string many times in regex; marked by S<<-- HERE> in | |
7523 | m/%s/ | |
7524 | ||
7525 | =begin original | |
7526 | ||
7527 | (F) The pattern you've specified might cause the regular expression to | |
7528 | infinite loop so it is forbidden. The S<<-- HERE> | |
7529 | shows whereabouts in the regular expression the problem was discovered. | |
7530 | See L<perlre>. | |
7531 | ||
7532 | =end original | |
7533 | ||
7534 | (F) 指定されたパターンは、正規表現が無限ループを引き起こすかもしれないので、 | |
7535 | 禁止されています。 | |
7536 | S<<-- HERE> は問題が発見された正規表現の位置を示します。 | |
7537 | L<perlre> を参照してください。 | |
7538 | ||
7539 | =item %s() isn't allowed on :utf8 handles | |
7540 | ||
7541 | =begin original | |
7542 | ||
7543 | (F) The sysread(), recv(), syswrite() and send() operators are | |
7544 | not allowed on handles that have the C<:utf8> layer, either explicitly, or | |
7545 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
7546 | ||
7547 | =end original | |
7548 | ||
7549 | (F) sysread(), recv(), syswrite() and send() 演算子は、 | |
7550 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
7551 | C<:utf8> 層を持つハンドルに対しては許されません。 | |
7552 | ||
7553 | =begin original | |
7554 | ||
7555 | Previously sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
7556 | ignoring the actual layers. Since sysread() and recv() did no UTF-8 | |
7557 | validation they can end up creating invalidly encoded scalars. | |
7558 | ||
7559 | =end original | |
7560 | ||
7561 | 以前は、sysread() と recv() は現在の所ストリームに対して | |
7562 | C<:utf8> フラグのみを使い、実際の層は無視します。 | |
7563 | sysread() と recv() は UTF-8 の検証を行っていなかったので、 | |
7564 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
7565 | ||
7566 | =begin original | |
7567 | ||
7568 | Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring | |
7569 | any layers. If the flag is set, both wrote the value UTF-8 encoded, even if | |
7570 | the layer is some different encoding, such as the example above. | |
7571 | ||
7572 | =end original | |
7573 | ||
7574 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
7575 | それ以外は全ての層を無視していました。 | |
7576 | フラグがセットされると、例え層が前述の例のように異なった | |
7577 | エンコーディングでも、UTF-8 エンコードされた値を書き込んでいました。 | |
7578 | ||
7579 | =begin original | |
7580 | ||
7581 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
7582 | working only with bytes, but this would result in silently breaking existing | |
7583 | code. | |
7584 | ||
7585 | =end original | |
7586 | ||
7587 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
7588 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
7589 | 壊すことになります。 | |
7590 | ||
7591 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7592 | ||
7593 | =begin original | |
7594 | ||
7595 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
7596 | ||
7597 | =end original | |
7598 | ||
7599 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
7600 | ||
7601 | =begin original | |
7602 | ||
7603 | You specified a character that has the given plainer way of writing it, and | |
7604 | which is also portable to platforms running with different character sets. | |
7605 | ||
7606 | =end original | |
7607 | ||
7608 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される | |
7609 | プラットフォーム間で移植性のある文字を指定しました。 | |
7610 | ||
7611 | =item $* is no longer supported as of Perl 5.30 | |
7612 | ||
7613 | =begin original | |
7614 | ||
7615 | (F) The special variable C<$*>, deprecated in older perls, was removed in | |
7616 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. In | |
7617 | previous versions of perl the use of C<$*> enabled or disabled multi-line | |
7618 | matching within a string. | |
7619 | ||
7620 | =end original | |
7621 | ||
7622 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は、 | |
7623 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
7624 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または | |
7625 | 無効にするために使っていました。 | |
7626 | ||
7627 | =begin original | |
7628 | ||
7629 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp | |
7630 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
7631 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
7632 | then all regular expressions behaved as if they were written using C</m>.) | |
7633 | ||
7634 | =end original | |
7635 | ||
7636 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を | |
7637 | 使うべきです。 | |
7638 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を | |
7639 | 有効にできます。 | |
7640 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は | |
7641 | C</m> を使って書かれたかのように振る舞っていました。) | |
7642 | ||
7643 | =begin original | |
7644 | ||
7645 | Use of this variable will be a fatal error in Perl 5.30. | |
7646 | ||
7647 | =end original | |
7648 | ||
7649 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
7650 | ||
7651 | =item $# is no longer supported as of Perl 5.30 | |
7652 | ||
7653 | =begin original | |
7654 | ||
7655 | (F) The special variable C<$#>, deprecated in older perls, was removed as of | |
7656 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. You | |
7657 | should use the printf/sprintf functions instead. | |
7658 | ||
7659 | =end original | |
7660 | ||
7661 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は、 | |
7662 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
7663 | ||
7664 | =item '%s' is not a code reference | |
7665 | ||
7666 | =begin original | |
7667 | ||
7668 | (W overload) The second (fourth, sixth, ...) argument of | |
7669 | overload::constant needs to be a code reference. Either | |
7670 | an anonymous subroutine, or a reference to a subroutine. | |
7671 | ||
7672 | =end original | |
7673 | ||
7674 | 4672 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は |
7675 | 4673 | コードリファレンスである必要があります。 |
7676 | 4674 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
7677 | 4675 | |
7678 | =item | |
4676 | =item `%s' is not an overloadable type | |
7679 | 4677 | |
7680 | 4678 | =begin original |
7681 | 4679 | |
7682 | 4680 | (W overload) You tried to overload a constant type the overload package is |
7683 | 4681 | unaware of. |
7684 | 4682 | |
7685 | 4683 | =end original |
7686 | 4684 | |
7687 | 4685 | (W overload) オーバーロードパッケージが知らない定数型を |
7688 | 4686 | オーバーロードしようとしました。 |
7689 | 4687 | |
7690 | =item | |
4688 | =item junk on end of regexp | |
7691 | 4689 | |
7692 | 4690 | =begin original |
7693 | 4691 | |
7694 | (S experimental::isa) This warning is emitted if you use the (C<isa>) | |
7695 | operator. This operator is currently experimental and its behaviour may | |
7696 | change in future releases of Perl. | |
7697 | ||
7698 | =end original | |
7699 | ||
7700 | (S experimental::isa) この警告は、(C<isa>) 演算子を使うと発生します。 | |
7701 | この演算子は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
7702 | 可能性があります。 | |
7703 | ||
7704 | =item -i used with no filenames on the command line, reading from STDIN | |
7705 | ||
7706 | =begin original | |
7707 | ||
7708 | (S inplace) The C<-i> option was passed on the command line, indicating | |
7709 | that the script is intended to edit files in place, but no files were | |
7710 | given. This is usually a mistake, since editing STDIN in place doesn't | |
7711 | make sense, and can be confusing because it can make perl look like | |
7712 | it is hanging when it is really just trying to read from STDIN. You | |
7713 | should either pass a filename to edit, or remove C<-i> from the command | |
7714 | line. See L<perlrun|perlrun/-i[extension]> for more details. | |
7715 | ||
7716 | =end original | |
7717 | ||
7718 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは | |
7719 | スクリプトがファイルをその場で編集することを示していますが、ファイルが | |
7720 | 指定されませんでした。 | |
7721 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
7722 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
7723 | ハングしているように見えることがあるので混乱を引き起こします。 | |
7724 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
7725 | 取り除いてください。 | |
7726 | さらなる詳細については L<perlrun|perlrun/-i[extension]> を参照してください。 | |
7727 | ||
7728 | =item Junk on end of regexp in regex m/%s/ | |
7729 | ||
7730 | =begin original | |
7731 | ||
7732 | 4692 | (P) The regular expression parser is confused. |
7733 | 4693 | |
7734 | 4694 | =end original |
7735 | 4695 | |
7736 | 4696 | (P) 正規表現の構文解析ができなくなりました。 |
7737 | 4697 | |
7738 | =item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/ | |
7739 | ||
7740 | =begin original | |
7741 | ||
7742 | (F) Your regular expression used C<\K> in a lookahead or lookbehind | |
7743 | assertion, which currently isn't permitted. | |
7744 | ||
7745 | =end original | |
7746 | ||
7747 | (F) この正規表現は先読みや後読みの言明の中で C<\K> を使っています; | |
7748 | これは今のところ許されていません。 | |
7749 | ||
7750 | =begin original | |
7751 | ||
7752 | This may change in the future, see L<Support \K in | |
7753 | lookarounds|https://github.com/Perl/perl5/issues/18134>. | |
7754 | ||
7755 | =end original | |
7756 | ||
7757 | これは将来変更されるかもしれません; | |
7758 | L<Support \K in lookarounds|https://github.com/Perl/perl5/issues/18134> を | |
7759 | 参照してください。 | |
7760 | ||
7761 | 4698 | =item Label not found for "last %s" |
7762 | 4699 | |
7763 | 4700 | =begin original |
7764 | 4701 | |
7765 | 4702 | (F) You named a loop to break out of, but you're not currently in a loop |
7766 | 4703 | of that name, not even if you count where you were called from. See |
7767 | 4704 | L<perlfunc/last>. |
7768 | 4705 | |
7769 | 4706 | =end original |
7770 | 4707 | |
7771 | 4708 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
7772 | 4709 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
7773 | 4710 | L<perlfunc/last> を参照してください。 |
7774 | 4711 | |
7775 | 4712 | =item Label not found for "next %s" |
7776 | 4713 | |
7777 | 4714 | =begin original |
7778 | 4715 | |
7779 | 4716 | (F) You named a loop to continue, but you're not currently in a loop of |
7780 | 4717 | that name, not even if you count where you were called from. See |
7781 | 4718 | L<perlfunc/last>. |
7782 | 4719 | |
7783 | 4720 | =end original |
7784 | 4721 | |
7785 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
4722 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
7786 | ||
4723 | その名前のループの中にいません。 | |
4724 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
7787 | 4725 | L<perlfunc/last> を参照してください。 |
7788 | 4726 | |
7789 | 4727 | =item Label not found for "redo %s" |
7790 | 4728 | |
7791 | 4729 | =begin original |
7792 | 4730 | |
7793 | 4731 | (F) You named a loop to restart, but you're not currently in a loop of |
7794 | 4732 | that name, not even if you count where you were called from. See |
7795 | 4733 | L<perlfunc/last>. |
7796 | 4734 | |
7797 | 4735 | =end original |
7798 | 4736 | |
7799 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
4737 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
7800 | ||
4738 | その名前のループの中にいません。 | |
4739 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
7801 | 4740 | L<perlfunc/last> を参照してください。 |
7802 | 4741 | |
7803 | 4742 | =item leaving effective %s failed |
7804 | 4743 | |
7805 | 4744 | =begin original |
7806 | 4745 | |
7807 | 4746 | (F) While under the C<use filetest> pragma, switching the real and |
7808 | 4747 | effective uids or gids failed. |
7809 | 4748 | |
7810 | 4749 | =end original |
7811 | 4750 | |
7812 | 4751 | (F) C<use filetest> プラグマを使っている間に、 |
7813 | 4752 | 実と実効の UID や GID の切り替えに失敗しました。 |
7814 | 4753 | |
7815 | 4754 | =item length/code after end of string in unpack |
7816 | 4755 | |
7817 | 4756 | =begin original |
7818 | 4757 | |
7819 | 4758 | (F) While unpacking, the string buffer was already used up when an unpack |
7820 | length/code combination tried to obtain more data. | |
4759 | length/code combination tried to obtain more data. This results in | |
7821 | an undefined value for the length. | |
4760 | an undefined value for the length. See L<perlfunc/pack>. | |
7822 | 4761 | |
7823 | 4762 | =end original |
7824 | 4763 | |
7825 | 4764 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを |
7826 | 4765 | unpack するときに文字列バッファが既に使い切っていました。 |
7827 | 4766 | これにより、長さが未定義値となります。 |
7828 | 4767 | L<perlfunc/pack> を参照してください。 |
7829 | 4768 | |
7830 | =item length() used on %s (did you mean "scalar(%s)"?) | |
7831 | ||
7832 | =begin original | |
7833 | ||
7834 | (W syntax) You used length() on either an array or a hash when you | |
7835 | probably wanted a count of the items. | |
7836 | ||
7837 | =end original | |
7838 | ||
7839 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して | |
7840 | length() を使いました。 | |
7841 | ||
7842 | =begin original | |
7843 | ||
7844 | Array size can be obtained by doing: | |
7845 | ||
7846 | =end original | |
7847 | ||
7848 | 配列の大きさは以下のようにして得られます: | |
7849 | ||
7850 | scalar(@array); | |
7851 | ||
7852 | =begin original | |
7853 | ||
7854 | The number of items in a hash can be obtained by doing: | |
7855 | ||
7856 | =end original | |
7857 | ||
7858 | ハッシュの要素数は以下のようにして得られます: | |
7859 | ||
7860 | scalar(keys %hash); | |
7861 | ||
7862 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input | |
7863 | ||
7864 | =begin original | |
7865 | ||
7866 | (F) An extension is attempting to insert text into the current parse | |
7867 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that | |
7868 | couldn't be part of the current input. This is an inherent pitfall | |
7869 | of the stuffing mechanism, and one of the reasons to avoid it. Where | |
7870 | it is necessary to stuff, stuffing only plain ASCII is recommended. | |
7871 | ||
7872 | =end original | |
7873 | ||
7874 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や | |
7875 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 | |
7876 | 現在の入力の一部となることができない文字を挿入しようとしました。 | |
7877 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 | |
7878 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 | |
7879 | ||
7880 | =item Lexing code internal error (%s) | |
7881 | ||
7882 | =begin original | |
7883 | ||
7884 | (F) Lexing code supplied by an extension violated the lexer's API in a | |
7885 | detectable way. | |
7886 | ||
7887 | =end original | |
7888 | ||
7889 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で | |
7890 | 文法解析器の API に違反しています。 | |
7891 | ||
7892 | 4769 | =item listen() on closed socket %s |
7893 | 4770 | |
7894 | 4771 | =begin original |
7895 | 4772 | |
7896 | 4773 | (W closed) You tried to do a listen on a closed socket. Did you forget |
7897 | 4774 | to check the return value of your socket() call? See |
7898 | 4775 | L<perlfunc/listen>. |
7899 | 4776 | |
7900 | 4777 | =end original |
7901 | 4778 | |
7902 | 4779 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
7903 | 4780 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
7904 | 4781 | L<perlfunc/listen> を参照してください。 |
7905 | 4782 | |
7906 | =item L | |
4783 | =item Lookbehind longer than %d not implemented in regex; marked by <-- HERE in m/%s/ | |
7907 | 4784 | |
7908 | 4785 | =begin original |
7909 | 4786 | |
7910 | (F) On some platforms, notably Windows, the three-or-more-arguments | |
7911 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. | |
7912 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. | |
7913 | ||
7914 | =end original | |
7915 | ||
7916 | (F) 一部のプラットフォーム、特に Windows では、 | |
7917 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の | |
7918 | C<open> ではパイプに対応していません。 | |
7919 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 | |
7920 | ||
7921 | =item Literal vertical space in [] is illegal except under /x in regex; | |
7922 | marked by S<<-- HERE> in m/%s/ | |
7923 | ||
7924 | =begin original | |
7925 | ||
7926 | (F) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
7927 | ||
7928 | =end original | |
7929 | ||
7930 | (F) (C<S<use re 'strict'>> の下、または C<(?[...])> の中のみ) | |
7931 | ||
7932 | =begin original | |
7933 | ||
7934 | Likely you forgot the C</x> modifier or there was a typo in the pattern. | |
7935 | For example, did you really mean to match a form-feed? If so, all the | |
7936 | ASCII vertical space control characters are representable by escape | |
7937 | sequences which won't present such a jarring appearance as your pattern | |
7938 | does when displayed. | |
7939 | ||
7940 | =end original | |
7941 | ||
7942 | おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。 | |
7943 | 例えば、本当に改ページとマッチングしたかったのですか? | |
7944 | もしそうなら、全ての ASCII の垂直スペース制御文字は、 | |
7945 | パターンを表示したときに不愉快な形で表現されることのない、 | |
7946 | エスケープシーケンスによって表現できます。 | |
7947 | ||
7948 | \r carriage return | |
7949 | \f form feed | |
7950 | \n line feed | |
7951 | \cK vertical tab | |
7952 | ||
7953 | =item %s: loadable library and perl binaries are mismatched (got handshake key %p, needed %p) | |
7954 | ||
7955 | =begin original | |
7956 | ||
7957 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the | |
7958 | process that was built against a different build of perl than the | |
7959 | said library was compiled against. Reinstalling the XS module will | |
7960 | likely fix this error. | |
7961 | ||
7962 | =end original | |
7963 | ||
7964 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが | |
7965 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 | |
7966 | XS モジュールを再インストールすることでおそらくこのエラーは | |
7967 | 修正されるでしょう。 | |
7968 | ||
7969 | =item Locale '%s' contains (at least) the following characters which | |
7970 | have unexpected meanings: %s The Perl program will use the expected | |
7971 | meanings | |
7972 | ||
7973 | =begin original | |
7974 | ||
7975 | (W locale) You are using the named UTF-8 locale. UTF-8 locales are | |
7976 | expected to have very particular behavior, which most do. This message | |
7977 | arises when perl found some departures from the expectations, and is | |
7978 | notifying you that the expected behavior overrides these differences. | |
7979 | In some cases the differences are caused by the locale definition being | |
7980 | defective, but the most common causes of this warning are when there are | |
7981 | ambiguities and conflicts in following the Standard, and the locale has | |
7982 | chosen an approach that differs from Perl's. | |
7983 | ||
7984 | =end original | |
7985 | ||
7986 | (W locale) 名前付きの UTF-8 ロケールを使っています。 | |
7987 | UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが | |
7988 | 想定されています。 | |
7989 | このメッセージは、perl がこの想定との違いを発見し、その違いを | |
7990 | 想定される振る舞いで上書きしたことを通知するときに発生します。 | |
7991 | 違いはロケール定義に問題があることによる場合もありますが、 | |
7992 | この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、 | |
7993 | ロケールが Perl のものと異なる手法を選んだときです。 | |
7994 | ||
7995 | =begin original | |
7996 | ||
7997 | One of these is because that, contrary to the claims, Unicode is not | |
7998 | completely locale insensitive. Turkish and some related languages | |
7999 | have two types of C<"I"> characters. One is dotted in both upper- and | |
8000 | lowercase, and the other is dotless in both cases. Unicode allows a | |
8001 | locale to use either the Turkish rules, or the rules used in all other | |
8002 | instances, where there is only one type of C<"I">, which is dotless in | |
8003 | the uppercase, and dotted in the lower. The perl core does not (yet) | |
8004 | handle the Turkish case, and this message warns you of that. Instead, | |
8005 | the L<Unicode::Casing> module allows you to mostly implement the Turkish | |
8006 | casing rules. | |
8007 | ||
8008 | =end original | |
8009 | ||
8010 | その一つは、主張に反して、Unicode が完全にロケールに依存しない | |
8011 | 訳ではないからです。 | |
8012 | トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。 | |
8013 | 一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが | |
8014 | ありません。 | |
8015 | Unicode はロケールがトルコ語の規則と、その他全ての場合に | |
8016 | 使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、 | |
8017 | 小文字にはドットがあるもの、のどちらを使うことも許しています。 | |
8018 | perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを | |
8019 | 警告します。 | |
8020 | 代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ | |
8021 | 実装しています。 | |
8022 | ||
8023 | =begin original | |
8024 | ||
8025 | The other common cause is for the characters | |
8026 | ||
8027 | =end original | |
8028 | ||
8029 | その他のよくある原因は次の文字です: | |
8030 | ||
8031 | $ + < = > ^ ` | ~ | |
8032 | ||
8033 | =begin original | |
8034 | ||
8035 | These are problematic. The C standard says that these should be | |
8036 | considered punctuation in the C locale (and the POSIX standard defers to | |
8037 | the C standard), and Unicode is generally considered a superset of | |
8038 | the C locale. But Unicode has added an extra category, "Symbol", and | |
8039 | classifies these particular characters as being symbols. Most UTF-8 | |
8040 | locales have them treated as punctuation, so that L<ispunct(2)> returns | |
8041 | non-zero for them. But a few locales have it return 0. Perl takes | |
8042 | the first approach, not using C<ispunct()> at all (see L<Note [5] in | |
8043 | perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you | |
8044 | are getting Perl's approach, not the locale's. | |
8045 | ||
8046 | =end original | |
8047 | ||
8048 | これらには問題があります。 | |
8049 | C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて | |
8050 | (そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの | |
8051 | 上位集合と考えられています。 | |
8052 | しかし Unicode は、"Symbol" というカテゴリが追加され、 | |
8053 | これはこれらの文字をシンボルとして分類しています。 | |
8054 | ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、 | |
8055 | L<ispunct(2)> はこれらに対して非 0 を返します。 | |
8056 | しかしいくつかのロケールでは 0 を返します。 | |
8057 | Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in | |
8058 | perlrecharclass|perlrecharclass/[5]> 参照)、 | |
8059 | このメッセージはロケールのものではなく Perl の手法をとったことを | |
8060 | 知らせるために発生します。 | |
8061 | ||
8062 | =item Locale '%s' may not work well.%s | |
8063 | ||
8064 | =begin original | |
8065 | ||
8066 | (W locale) You are using the named locale, which is a non-UTF-8 one, and | |
8067 | which perl has determined is not fully compatible with what it can | |
8068 | handle. The second C<%s> gives a reason. | |
8069 | ||
8070 | =end original | |
8071 | ||
8072 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 | |
8073 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 | |
8074 | 2 番目の C<%s> に理由があります。 | |
8075 | ||
8076 | =begin original | |
8077 | ||
8078 | By far the most common reason is that the locale has characters in it | |
8079 | that are represented by more than one byte. The only such locales that | |
8080 | Perl can handle are the UTF-8 locales. Most likely the specified locale | |
8081 | is a non-UTF-8 one for an East Asian language such as Chinese or | |
8082 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it | |
8083 | may work in Perl. | |
8084 | ||
8085 | =end original | |
8086 | ||
8087 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を | |
8088 | 持っていることです。 | |
8089 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 | |
8090 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の | |
8091 | 非 UTF-8 のものです。 | |
8092 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 | |
8093 | ||
8094 | =begin original | |
8095 | ||
8096 | Some essentially obsolete locales that aren't supersets of ASCII, mainly | |
8097 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have | |
8098 | problems, depending on what portions of the ASCII character set get | |
8099 | changed by the locale and are also used by the program. | |
8100 | The warning message lists the determinable conflicting characters. | |
8101 | ||
8102 | =end original | |
8103 | ||
8104 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような | |
8105 | その他の 7 ビットロケールも問題になり得ます; | |
8106 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで | |
8107 | 使われるかによります。 | |
8108 | 警告メッセージは決定できる衝突している文字を一覧表示します。 | |
8109 | ||
8110 | =begin original | |
8111 | ||
8112 | Note that not all incompatibilities are found. | |
8113 | ||
8114 | =end original | |
8115 | ||
8116 | 全ての非互換性が発見されるわけではないことに注意してください。 | |
8117 | ||
8118 | =begin original | |
8119 | ||
8120 | If this happens to you, there's not much you can do except switch to use a | |
8121 | different locale or use L<Encode> to translate from the locale into | |
8122 | UTF-8; if that's impracticable, you have been warned that some things | |
8123 | may break. | |
8124 | ||
8125 | =end original | |
8126 | ||
8127 | これが起きた場合、異なるロケールを使うように変更するか、 | |
8128 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に | |
8129 | できることはあまりありません; もしそれができないなら、 | |
8130 | あなたは何かが壊れるかもしれないことを警告されました。 | |
8131 | ||
8132 | =begin original | |
8133 | ||
8134 | This message is output once each time a bad locale is switched into | |
8135 | within the scope of C<S<use locale>>, or on the first possibly-affected | |
8136 | operation if the C<S<use locale>> inherits a bad one. It is not raised | |
8137 | for any operations from the L<POSIX> module. | |
8138 | ||
8139 | =end original | |
8140 | ||
8141 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった | |
8142 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は | |
8143 | 最初の影響があるかもしれない操作の時点で出力されます。 | |
8144 | これは L<POSIX> モジュールの操作では発生しません。 | |
8145 | ||
8146 | =item localtime(%f) failed | |
8147 | ||
8148 | =begin original | |
8149 | ||
8150 | (W overflow) You called C<localtime> with a number that it could not handle: | |
8151 | too large, too small, or NaN. The returned value is C<undef>. | |
8152 | ||
8153 | =end original | |
8154 | ||
8155 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり | |
8156 | 小さすぎたり NaN だったりです。 | |
8157 | 返り値は C<undef> です。 | |
8158 | ||
8159 | =item localtime(%f) too large | |
8160 | ||
8161 | =begin original | |
8162 | ||
8163 | (W overflow) You called C<localtime> with a number that was larger | |
8164 | than it can reliably handle and C<localtime> probably returned the | |
8165 | wrong date. This warning is also triggered with NaN (the special | |
8166 | not-a-number value). | |
8167 | ||
8168 | =end original | |
8169 | ||
8170 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので | |
8171 | C<localtime> はおそらく間違った日付を返します。 | |
8172 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
8173 | ||
8174 | =item localtime(%f) too small | |
8175 | ||
8176 | =begin original | |
8177 | ||
8178 | (W overflow) You called C<localtime> with a number that was smaller | |
8179 | than it can reliably handle and C<localtime> probably returned the | |
8180 | wrong date. | |
8181 | ||
8182 | =end original | |
8183 | ||
8184 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので | |
8185 | C<localtime> はおそらく間違った日付を返します。 | |
8186 | ||
8187 | =item Lookbehind longer than %d not implemented in regex m/%s/ | |
8188 | ||
8189 | =begin original | |
8190 | ||
8191 | 4787 | (F) There is currently a limit on the length of string which lookbehind can |
8192 | handle. | |
4788 | handle. This restriction may be eased in a future release. The <-- HERE | |
4789 | shows in the regular expression about where the problem was discovered. | |
8193 | 4790 | |
8194 | 4791 | =end original |
8195 | 4792 | |
8196 | ||
4793 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
8197 | 4794 | この制限は将来のリリースでは緩和されるでしょう。 |
4795 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8198 | 4796 | |
8199 | =item | |
4797 | =item lstat() on filehandle %s | |
8200 | 4798 | |
8201 | 4799 | =begin original |
8202 | 4800 | |
8203 | (W imprecision) You attempted to increment or decrement a value by one, | |
8204 | but the result is too large for the underlying floating point | |
8205 | representation to store accurately. Hence, the target of C<++> or C<--> | |
8206 | is increased or decreased by quite different value than one, such as | |
8207 | zero (I<i.e.> the target is unchanged) or two, due to rounding. | |
8208 | Perl issues this | |
8209 | warning because it has already switched from integers to floating point | |
8210 | when values are too large for integers, and now even floating point is | |
8211 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. | |
8212 | ||
8213 | =end original | |
8214 | ||
8215 | (W imprecision) 値を 1 だけインクリメントまたはデクリメントしようとしましたが、 | |
8216 | 結果は基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎます。 | |
8217 | 従って、C<++> や C<--> のターゲットは 1 ではない値増加または減少します; | |
8218 | これは 0 (つまりターゲットは変更されない) であったり、丸めによって 2 で | |
8219 | あったりします。 | |
8220 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に | |
8221 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 | |
8222 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 | |
8223 | ||
8224 | =item lstat() on filehandle%s | |
8225 | ||
8226 | =begin original | |
8227 | ||
8228 | 4801 | (W io) You tried to do an lstat on a filehandle. What did you mean |
8229 | 4802 | by that? lstat() makes sense only on filenames. (Perl did a fstat() |
8230 | 4803 | instead on the filehandle.) |
8231 | 4804 | |
8232 | 4805 | =end original |
8233 | 4806 | |
8234 | 4807 | (W io) ファイルハンドルに lstat を実行しようとしました。 |
8235 | 4808 | これで何をしようとしたのですか? |
8236 | 4809 | lstat() はファイル名に対してのみ意味があります。 |
8237 | 4810 | (Perl はファイルハンドルには代わりに fstat() を行いました。) |
8238 | 4811 | |
8239 | =item | |
4812 | =item Lvalue subs returning %s not implemented yet | |
8240 | 4813 | |
8241 | 4814 | =begin original |
8242 | 4815 | |
8243 | ( | |
4816 | (F) Due to limitations in the current implementation, array and hash | |
8244 | a | |
4817 | values cannot be returned in subroutines used in lvalue context. See | |
8245 | ||
4818 | L<perlsub/"Lvalue subroutines">. | |
8246 | want, depending on what code is inside the subroutine, with exact | |
8247 | details subject to change between Perl versions. Only do this | |
8248 | if you really know what you are doing. | |
8249 | 4819 | |
8250 | 4820 | =end original |
8251 | 4821 | |
8252 | ( | |
4822 | (F) 現在の実装の制限により、左辺値コンテキストで使われるサブルーチンは | |
8253 | ||
4823 | 配列とハッシュの値を返すことができません。 | |
8254 | ||
4824 | L<perlsub/"Lvalue subroutines"> を参照してください。 | |
8255 | あなたの望むことが行われるかもしれませんし行われないかもしれません; | |
8256 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は | |
8257 | Perl バージョン間で変更されることがあります。 | |
8258 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 | |
8259 | 4825 | |
8260 | =item | |
4826 | =item Malformed integer in [] in pack | |
8261 | 4827 | |
8262 | 4828 | =begin original |
8263 | 4829 | |
8264 | ( | |
4830 | (F) Between the brackets enclosing a numeric repeat count only digits | |
8265 | subroutine an lvalue subroutine after it has been defined is | |
8266 | not permitted. To make the subroutine an lvalue subroutine, | |
8267 | add the lvalue attribute to the definition, or put the C<sub | |
8268 | foo :lvalue;> declaration before the definition. | |
8269 | ||
8270 | =end original | |
8271 | ||
8272 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに | |
8273 | するために C<:lvalue> 宣言文を使うことはできません。 | |
8274 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 | |
8275 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 | |
8276 | ||
8277 | =begin original | |
8278 | ||
8279 | See also L<attributes.pm|attributes>. | |
8280 | ||
8281 | =end original | |
8282 | ||
8283 | L<attributes.pm|attributes> も参照してください。 | |
8284 | ||
8285 | =item Magical list constants are not supported | |
8286 | ||
8287 | =begin original | |
8288 | ||
8289 | (F) You assigned a magical array to a stash element, and then tried | |
8290 | to use the subroutine from the same slot. You are asking Perl to do | |
8291 | something it cannot do, details subject to change between Perl versions. | |
8292 | ||
8293 | =end original | |
8294 | ||
8295 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから | |
8296 | サブルーチンを使おうとしました。 | |
8297 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを | |
8298 | Perl にさせようとしました。 | |
8299 | ||
8300 | =item Malformed integer in [] in pack | |
8301 | ||
8302 | =begin original | |
8303 | ||
8304 | (F) Between the brackets enclosing a numeric repeat count only digits | |
8305 | 4831 | are permitted. See L<perlfunc/pack>. |
8306 | 4832 | |
8307 | 4833 | =end original |
8308 | 4834 | |
8309 | 4835 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
8310 | 4836 | L<perlfunc/pack> を参照してください。 |
8311 | 4837 | |
8312 | 4838 | =item Malformed integer in [] in unpack |
8313 | 4839 | |
8314 | 4840 | =begin original |
8315 | 4841 | |
8316 | (F) Between the brackets enclosing a numeric repeat count only digits | |
4842 | (F) Between the brackets enclosing a numeric repeat count only digits | |
8317 | 4843 | are permitted. See L<perlfunc/pack>. |
8318 | 4844 | |
8319 | 4845 | =end original |
8320 | 4846 | |
8321 | 4847 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
8322 | 4848 | L<perlfunc/pack> を参照してください。 |
8323 | 4849 | |
8324 | 4850 | =item Malformed PERLLIB_PREFIX |
8325 | 4851 | |
8326 | 4852 | =begin original |
8327 | 4853 | |
8328 | 4854 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
8329 | 4855 | |
8330 | 4856 | =end original |
8331 | 4857 | |
8332 | 4858 | (F) OS/2 固有のエラーです。 |
8333 | 4859 | PERLLIB_PREFIX は以下のような形か: |
8334 | 4860 | |
8335 | 4861 | prefix1;prefix2 |
8336 | 4862 | |
8337 | 4863 | =begin original |
8338 | 4864 | |
8339 | 4865 | or |
8340 | prefix1 prefix2 | |
8341 | 4866 | |
8342 | 4867 | =end original |
8343 | 4868 | |
8344 | ||
4869 | あるいはこのような形で: | |
4870 | ||
8345 | 4871 | prefix1 prefix2 |
8346 | 4872 | |
8347 | 4873 | =begin original |
8348 | 4874 | |
8349 | 4875 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
8350 | 4876 | a builtin library search path, prefix2 is substituted. The error may |
8351 | 4877 | appear if components are not found, or are too long. See |
8352 | 4878 | "PERLLIB_PREFIX" in L<perlos2>. |
8353 | 4879 | |
8354 | 4880 | =end original |
8355 | 4881 | |
8356 | 4882 | prefix1 と prefix2 が空でない形である必要があります。 |
8357 | 4883 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
8358 | 4884 | prefix2 は置き換えられます。 |
8359 | 4885 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
8360 | 4886 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
8361 | 4887 | |
8362 | 4888 | =item Malformed prototype for %s: %s |
8363 | 4889 | |
8364 | 4890 | =begin original |
8365 | 4891 | |
8366 | 4892 | (F) You tried to use a function with a malformed prototype. The |
8367 | 4893 | syntax of function prototypes is given a brief compile-time check for |
8368 | 4894 | obvious errors like invalid characters. A more rigorous check is run |
8369 | 4895 | when the function is called. |
8370 | Perhaps the function's author was trying to write a subroutine signature | |
8371 | but didn't enable that feature first (C<use feature 'signatures'>), | |
8372 | so the signature was instead interpreted as a bad prototype. | |
8373 | 4896 | |
8374 | 4897 | =end original |
8375 | 4898 | |
8376 | 4899 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 |
8377 | 4900 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては |
8378 | 4901 | コンパイル時にチェックされます。 |
8379 | 4902 | より厳密なチェックは、関数が呼び出された時に実行されます。 |
8380 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 | |
8381 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 | |
8382 | シグネチャは間違ったプロトタイプとして解釈されました。 | |
8383 | 4903 | |
8384 | =item Malformed UTF-8 character%s | |
4904 | =item Malformed UTF-8 character (%s) | |
8385 | 4905 | |
8386 | 4906 | =begin original |
8387 | 4907 | |
8388 | (S utf8)(F) Perl detected | |
4908 | (S utf8) (F) Perl detected something that didn't comply with UTF-8 | |
8389 | ||
4909 | encoding rules. | |
8390 | ordinal integer value doesn't fit into the word size of the current | |
8391 | platform (overflows). Details as to the exact malformation are given in | |
8392 | the variable, C<%s>, part of the message. | |
8393 | 4910 | |
8394 | 4911 | =end original |
8395 | 4912 | |
8396 | (S utf8)(F) Perl が、UTF-8 | |
4913 | (S utf8) (F) Perl が、何か UTF-8 エンコーディングルールに従わないものを | |
8397 | ||
4914 | 検出しました。 | |
8398 | あるいは序数が現在のプラットフォームのワードサイズに収まらない | |
8399 | (オーバーフローする)符号位置を表現する文字列を検出しました。 | |
8400 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 | |
8401 | 4915 | |
8402 | 4916 | =begin original |
8403 | 4917 | |
8404 | One possible cause is that you | |
4918 | One possible cause is that you read in data that you thought to be in | |
8405 | ||
4919 | UTF-8 but it wasn't (it was for example legacy 8-bit data). Another | |
8406 | ||
4920 | possibility is careless use of utf8::upgrade(). | |
8407 | 4921 | |
8408 | 4922 | =end original |
8409 | 4923 | |
8410 | 4924 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ |
8411 | (例えばレガシーな 8 ビットデータ) | |
4925 | (例えばレガシーな 8 ビットデータ)を読み込んだことです。 | |
8412 | ことです。 | |
4926 | もう一つの可能性は、不注意に utf8::upgrade() を使ったことです。 | |
8413 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 | |
8414 | 4927 | |
8415 | =begin original | |
8416 | ||
8417 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte | |
8418 | sequences are handled gracefully, but if you use C<:utf8>, the flag is set | |
8419 | without validating the data, possibly resulting in this error message. | |
8420 | ||
8421 | =end original | |
8422 | ||
8423 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは | |
8424 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 | |
8425 | おそらく結果としてこのエラーメッセージが出力されます。 | |
8426 | ||
8427 | =begin original | |
8428 | ||
8429 | See also L<Encode/"Handling Malformed Data">. | |
8430 | ||
8431 | =end original | |
8432 | ||
8433 | L<Encode/"Handling Malformed Data"> も参照してください。 | |
8434 | ||
8435 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
8436 | ||
8437 | =begin original | |
8438 | ||
8439 | (F) The charnames handler returned malformed UTF-8. | |
8440 | ||
8441 | =end original | |
8442 | ||
8443 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
8444 | ||
8445 | =item Malformed UTF-8 string in "%s" | |
8446 | ||
8447 | =begin original | |
8448 | ||
8449 | (F) This message indicates a bug either in the Perl core or in XS | |
8450 | code. Such code was trying to find out if a character, allegedly | |
8451 | stored internally encoded as UTF-8, was of a given type, such as | |
8452 | being punctuation or a digit. But the character was not encoded | |
8453 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
8454 | by knowledgeable people to determine what the type being checked | |
8455 | against was. | |
8456 | ||
8457 | =end original | |
8458 | ||
8459 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
8460 | 示しています。 | |
8461 | そのコードは、UTF-8 として内部でエンコードされて | |
8462 | 保管されているということになっているある文字が、 | |
8463 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
8464 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
8465 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
8466 | 決めるために使われる文字列で置き換えられます。 | |
8467 | ||
8468 | =begin original | |
8469 | ||
8470 | Passing malformed strings was deprecated in Perl 5.18, and | |
8471 | became fatal in Perl 5.26. | |
8472 | ||
8473 | =end original | |
8474 | ||
8475 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
8476 | Perl 5.26 で致命的エラーになりました。 | |
8477 | ||
8478 | =item Malformed UTF-8 string in '%c' format in unpack | |
8479 | ||
8480 | =begin original | |
8481 | ||
8482 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
8483 | rules and perl was unable to guess how to make more progress. | |
8484 | ||
8485 | =end original | |
8486 | ||
8487 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
8488 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8489 | ||
8490 | =item Malformed UTF-8 string in pack | |
8491 | ||
8492 | =begin original | |
8493 | ||
8494 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
8495 | rules and perl was unable to guess how to make more progress. | |
8496 | ||
8497 | =end original | |
8498 | ||
8499 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
8500 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8501 | ||
8502 | =item Malformed UTF-8 string in unpack | |
8503 | ||
8504 | =begin original | |
8505 | ||
8506 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
8507 | rules and perl was unable to guess how to make more progress. | |
8508 | ||
8509 | =end original | |
8510 | ||
8511 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
8512 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8513 | ||
8514 | 4928 | =item Malformed UTF-16 surrogate |
8515 | 4929 | |
8516 | 4930 | =begin original |
8517 | 4931 | |
8518 | ||
4932 | Perl thought it was reading UTF-16 encoded character data but while | |
8519 | 4933 | doing it Perl met a malformed Unicode surrogate. |
8520 | 4934 | |
8521 | 4935 | =end original |
8522 | 4936 | |
8523 | ||
4937 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
8524 | 4938 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
8525 | 4939 | |
8526 | =item | |
4940 | =item %s matches null string many times in regex; marked by <-- HERE in m/%s/ | |
8527 | 4941 | |
8528 | 4942 | =begin original |
8529 | 4943 | |
8530 | (F) In a subroutine signature, you wrote something like "$a = undef, | |
8531 | $b", making an earlier parameter optional and a later one mandatory. | |
8532 | Parameters are filled from left to right, so it's impossible for the | |
8533 | caller to omit an earlier one and pass a later one. If you want to act | |
8534 | as if the parameters are filled from right to left, declare the rightmost | |
8535 | optional and then shuffle the parameters around in the subroutine's body. | |
8536 | ||
8537 | =end original | |
8538 | ||
8539 | (F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が | |
8540 | オプションで後の引数が必須のようなものを書きました。 | |
8541 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに | |
8542 | 渡すことは不可能です。 | |
8543 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を | |
8544 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 | |
8545 | ||
8546 | =item Matched non-Unicode code point 0x%X against Unicode property; may | |
8547 | not be portable | |
8548 | ||
8549 | =begin original | |
8550 | ||
8551 | (S non_unicode) Perl allows strings to contain a superset of | |
8552 | Unicode code points; each code point may be as large as what is storable | |
8553 | in a signed integer on your system, but these may not be accepted by | |
8554 | other languages/systems. This message occurs when you matched a string | |
8555 | containing such a code point against a regular expression pattern, and | |
8556 | the code point was matched against a Unicode property, C<\p{...}> or | |
8557 | C<\P{...}>. Unicode properties are only defined on Unicode code points, | |
8558 | so the result of this match is undefined by Unicode, but Perl (starting | |
8559 | in v5.20) treats non-Unicode code points as if they were typical | |
8560 | unassigned Unicode ones, and matched this one accordingly. Whether a | |
8561 | given property matches these code points or not is specified in | |
8562 | L<perluniprops/Properties accessible through \p{} and \P{}>. | |
8563 | ||
8564 | =end original | |
8565 | ||
8566 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を | |
8567 | 含むことができます; それぞれの符号位置はシステムの符号付き整数に | |
8568 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは | |
8569 | 受け付けられないかも知れません。 | |
8570 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで | |
8571 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と | |
8572 | マッチングしたときに発生します。 | |
8573 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 | |
8574 | Unicode によればこのマッチングの結果は未定義ですが、 | |
8575 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て | |
8576 | Unicode 符号位置として扱い、それぞれマッチングします。 | |
8577 | 指定された特性がこれらの符号位置にマッチングするかどうかは | |
8578 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
8579 | 指定されています。 | |
8580 | ||
8581 | =begin original | |
8582 | ||
8583 | This message is suppressed (unless it has been made fatal) if it is | |
8584 | immaterial to the results of the match if the code point is Unicode or | |
8585 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match | |
8586 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, | |
8587 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match | |
8588 | every code point except these 22.) | |
8589 | ||
8590 | =end original | |
8591 | ||
8592 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない | |
8593 | 場合は、(致命的にしていない限り)抑制されます。 | |
8594 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに | |
8595 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 | |
8596 | マッチングしません。 | |
8597 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に | |
8598 | マッチングします。) | |
8599 | ||
8600 | =begin original | |
8601 | ||
8602 | Getting this message indicates that the outcome of the match arguably | |
8603 | should have been the opposite of what actually happened. If you think | |
8604 | that is the case, you may wish to make the C<non_unicode> warnings | |
8605 | category fatal; if you agree with Perl's decision, you may wish to turn | |
8606 | off this category. | |
8607 | ||
8608 | =end original | |
8609 | ||
8610 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と | |
8611 | 逆になっているはずだということを示しています。 | |
8612 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを | |
8613 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを | |
8614 | オフにした方がよいでしょう。 | |
8615 | ||
8616 | =begin original | |
8617 | ||
8618 | See L<perlunicode/Beyond Unicode code points> for more information. | |
8619 | ||
8620 | =end original | |
8621 | ||
8622 | さらなる情報については L<perlunicode/Beyond Unicode code points> を | |
8623 | 参照してください。 | |
8624 | ||
8625 | =item %s matches null string many times in regex; marked by S<<-- HERE> in | |
8626 | m/%s/ | |
8627 | ||
8628 | =begin original | |
8629 | ||
8630 | 4944 | (W regexp) The pattern you've specified would be an infinite loop if the |
8631 | regular expression engine didn't specifically check for that. The | |
4945 | regular expression engine didn't specifically check for that. The <-- HERE | |
8632 | shows | |
4946 | shows in the regular expression about where the problem was discovered. | |
8633 | 4947 | See L<perlre>. |
8634 | 4948 | |
8635 | 4949 | =end original |
8636 | 4950 | |
8637 | 4951 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
8638 | 4952 | 行なっていなければ、無限ループに陥るものです。 |
8639 | ||
4953 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8640 | 4954 | L<perlre> を参照してください。 |
8641 | 4955 | |
8642 | =item Maximal count of pending signals (%u) exceeded | |
8643 | ||
8644 | =begin original | |
8645 | ||
8646 | (F) Perl aborted due to too high a number of signals pending. This | |
8647 | usually indicates that your operating system tried to deliver signals | |
8648 | too fast (with a very high priority), starving the perl process from | |
8649 | resources it would need to reach a point where it can process signals | |
8650 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
8651 | ||
8652 | =end original | |
8653 | ||
8654 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 | |
8655 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 | |
8656 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な | |
8657 | リソースが不足したことを示しています。 | |
8658 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) | |
8659 | ||
8660 | 4956 | =item "%s" may clash with future reserved word |
8661 | 4957 | |
8662 | 4958 | =begin original |
8663 | 4959 | |
8664 | 4960 | (W) This warning may be due to running a perl5 script through a perl4 |
8665 | 4961 | interpreter, especially if the word that is being warned about is |
8666 | 4962 | "use" or "my". |
8667 | 4963 | |
8668 | 4964 | =end original |
8669 | 4965 | |
8670 | 4966 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした |
8671 | 4967 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は |
8672 | 4968 | そうです。 |
8673 | 4969 | |
8674 | =item | |
4970 | =item % may not be used in pack | |
8675 | 4971 | |
8676 | 4972 | =begin original |
8677 | 4973 | |
8678 | 4974 | (F) You can't pack a string by supplying a checksum, because the |
8679 | 4975 | checksumming process loses information, and you can't go the other way. |
8680 | 4976 | See L<perlfunc/unpack>. |
8681 | 4977 | |
8682 | 4978 | =end original |
8683 | 4979 | |
8684 | (F) チェックサムを指定して pack を行なうことはできません | |
4980 | (F) チェックサムを指定して pack を行なうことはできません。 | |
8685 | 4981 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
8686 | 4982 | L<perlfunc/unpack> を参照してください。 |
8687 | 4983 | |
8688 | 4984 | =item Method for operation %s not found in package %s during blessing |
8689 | 4985 | |
8690 | 4986 | =begin original |
8691 | 4987 | |
8692 | 4988 | (F) An attempt was made to specify an entry in an overloading table that |
8693 | 4989 | doesn't resolve to a valid subroutine. See L<overload>. |
8694 | 4990 | |
8695 | 4991 | =end original |
8696 | 4992 | |
8697 | 4993 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
8698 | 4994 | エントリを指定しようとしました。 |
8699 | 4995 | L<overload> を参照してください。 |
8700 | 4996 | |
8701 | 4997 | =item Method %s not permitted |
8702 | 4998 | |
8703 | 4999 | =begin original |
8704 | 5000 | |
8705 | See | |
5001 | See Server error. | |
8706 | 5002 | |
8707 | 5003 | =end original |
8708 | 5004 | |
8709 | ||
5005 | "Server error" を参照してください。 | |
8710 | 5006 | |
8711 | 5007 | =item Might be a runaway multi-line %s string starting on line %d |
8712 | 5008 | |
8713 | 5009 | =begin original |
8714 | 5010 | |
8715 | 5011 | (S) An advisory indicating that the previous error may have been caused |
8716 | 5012 | by a missing delimiter on a string or pattern, because it eventually |
8717 | 5013 | ended earlier on the current line. |
8718 | 5014 | |
8719 | 5015 | =end original |
8720 | 5016 | |
8721 | 5017 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
8722 | 5018 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
8723 | 5019 | 起ったかもしれないことを、補足的に示しています。 |
8724 | 5020 | |
8725 | 5021 | =item Misplaced _ in number |
8726 | 5022 | |
8727 | 5023 | =begin original |
8728 | 5024 | |
8729 | 5025 | (W syntax) An underscore (underbar) in a numeric constant did not |
8730 | 5026 | separate two digits. |
8731 | 5027 | |
8732 | 5028 | =end original |
8733 | 5029 | |
8734 | (W syntax) 数値定数の下線が、 | |
5030 | (W syntax) 数値定数の下線が、2 つの値を分離していません。 | |
8735 | 5031 | |
8736 | =item Missing argument for %n in %s | |
8737 | ||
8738 | =begin original | |
8739 | ||
8740 | (F) A C<%n> was used in a format string with no corresponding argument for | |
8741 | perl to write the current string length to. | |
8742 | ||
8743 | =end original | |
8744 | ||
8745 | (F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を | |
8746 | 書くための対応する引数がありません。 | |
8747 | ||
8748 | =item Missing argument in %s | |
8749 | ||
8750 | =begin original | |
8751 | ||
8752 | (W missing) You called a function with fewer arguments than other | |
8753 | arguments you supplied indicated would be needed. | |
8754 | ||
8755 | =end original | |
8756 | ||
8757 | (W missing) 他で指定した引数によって必要であると示されているよりも | |
8758 | 少ない引数で関数を呼び出しました。 | |
8759 | ||
8760 | =begin original | |
8761 | ||
8762 | Currently only emitted when a printf-type format required more | |
8763 | arguments than were supplied, but might be used in the future for | |
8764 | other cases where we can statically determine that arguments to | |
8765 | functions are missing, e.g. for the L<perlfunc/pack> function. | |
8766 | ||
8767 | =end original | |
8768 | ||
8769 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を | |
8770 | 要求した場合にのみ発生しますが、 | |
8771 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる | |
8772 | その他の場合に使われるかもしれません。 | |
8773 | ||
8774 | 5032 | =item Missing argument to -%c |
8775 | 5033 | |
8776 | 5034 | =begin original |
8777 | 5035 | |
8778 | 5036 | (F) The argument to the indicated command line switch must follow |
8779 | 5037 | immediately after the switch, without intervening spaces. |
8780 | 5038 | |
8781 | 5039 | =end original |
8782 | 5040 | |
8783 | 5041 | (F) 示されたコマンドラインスイッチの引数は、 |
8784 | 5042 | スイッチの直後にスペースを空けないで書く必要があります。 |
8785 | 5043 | |
8786 | =item Missing braces on \N{} | |
5044 | =item Missing %sbrace%s on \N{} | |
8787 | 5045 | |
8788 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
8789 | ||
8790 | 5046 | =begin original |
8791 | 5047 | |
8792 | 5048 | (F) Wrong syntax of character name literal C<\N{charname}> within |
8793 | double-quotish context. | |
5049 | double-quotish context. | |
8794 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. | |
8795 | This modifier does not change the requirement that the brace immediately | |
8796 | follow the C<\N>. | |
8797 | 5050 | |
8798 | 5051 | =end original |
8799 | 5052 | |
8800 | 5053 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
8801 | 5054 | 文法が間違っています。 |
8802 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または | |
8803 | コメント)がある場合にも起こります。 | |
8804 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 | |
8805 | 5055 | |
8806 | =item Missing braces on \o{} | |
8807 | ||
8808 | =begin original | |
8809 | ||
8810 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. | |
8811 | ||
8812 | =end original | |
8813 | ||
8814 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が | |
8815 | 引き続かなければなりません。 | |
8816 | ||
8817 | 5056 | =item Missing comma after first argument to %s function |
8818 | 5057 | |
8819 | 5058 | =begin original |
8820 | 5059 | |
8821 | 5060 | (F) While certain functions allow you to specify a filehandle or an |
8822 | 5061 | "indirect object" before the argument list, this ain't one of them. |
8823 | 5062 | |
8824 | 5063 | =end original |
8825 | 5064 | |
8826 | 5065 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
8827 | 5066 | 「間接オブジェクト」をおくことができますが、この関数は、 |
8828 | 5067 | そういったものではありません。 |
8829 | 5068 | |
8830 | 5069 | =item Missing command in piped open |
8831 | 5070 | |
8832 | 5071 | =begin original |
8833 | 5072 | |
8834 | 5073 | (W pipe) You used the C<open(FH, "| command")> or |
8835 | 5074 | C<open(FH, "command |")> construction, but the command was missing or |
8836 | 5075 | blank. |
8837 | 5076 | |
8838 | 5077 | =end original |
8839 | 5078 | |
8840 | 5079 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
8841 | 5080 | 使っていますが、コマンドが指定されていないか空白です。 |
8842 | 5081 | |
8843 | 5082 | =item Missing control char name in \c |
8844 | 5083 | |
8845 | 5084 | =begin original |
8846 | 5085 | |
8847 | 5086 | (F) A double-quoted string ended with "\c", without the required control |
8848 | 5087 | character name. |
8849 | 5088 | |
8850 | 5089 | =end original |
8851 | 5090 | |
8852 | 5091 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が |
8853 | 5092 | 必要です。 |
8854 | 5093 | |
8855 | =item Missing | |
5094 | =item Missing name in "my sub" | |
8856 | 5095 | |
8857 | 5096 | =begin original |
8858 | 5097 | |
8859 | ( | |
5098 | (F) The reserved syntax for lexically scoped subroutines requires that | |
8860 | ||
8861 | =end original | |
8862 | ||
8863 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で | |
8864 | 閉じられませんでした。 | |
8865 | ||
8866 | =item Missing name in "%s sub" | |
8867 | ||
8868 | =begin original | |
8869 | ||
8870 | (F) The syntax for lexically scoped subroutines requires that | |
8871 | 5099 | they have a name with which they can be found. |
8872 | 5100 | |
8873 | 5101 | =end original |
8874 | 5102 | |
8875 | (F) レキシカルスコープのサブルーチン | |
5103 | (F) 予約された文法である、レキシカルスコープのサブルーチンには | |
5104 | 探すことの出来る名前が必要です。 | |
8876 | 5105 | |
8877 | 5106 | =item Missing $ on loop variable |
8878 | 5107 | |
8879 | 5108 | =begin original |
8880 | 5109 | |
8881 | 5110 | (F) Apparently you've been programming in B<csh> too much. Variables |
8882 | 5111 | are always mentioned with the $ in Perl, unlike in the shells, where it |
8883 | 5112 | can vary from one line to the next. |
8884 | 5113 | |
8885 | 5114 | =end original |
8886 | 5115 | |
8887 | 5116 | (F) B<csh> を使いすぎた症状が現れているようです。 |
8888 | Perl では、変数は常に $ を付けて表わされます | |
5117 | Perl では、変数は常に $ を付けて表わされます。 | |
8889 | 違っています。 | |
5118 | その時によって違う、シェルとは違っています。 | |
8890 | 5119 | |
8891 | 5120 | =item (Missing operator before %s?) |
8892 | 5121 | |
8893 | 5122 | =begin original |
8894 | 5123 | |
8895 | 5124 | (S syntax) This is an educated guess made in conjunction with the message |
8896 | 5125 | "%s found where operator expected". Often the missing operator is a comma. |
8897 | 5126 | |
8898 | 5127 | =end original |
8899 | 5128 | |
8900 | (S syntax) | |
5129 | (S syntax)"%s found where operator expected" と共に表示される | |
8901 | ||
5130 | 教育的な推測です。 | |
8902 | しばしば | |
5131 | しばしば抜けている演算子はカンマです。 | |
8903 | 5132 | |
8904 | =item Missing | |
5133 | =item Missing right brace on %s | |
8905 | 5134 | |
8906 | 5135 | =begin original |
8907 | 5136 | |
8908 | (F) | |
5137 | (F) Missing right brace in C<\p{...}> or C<\P{...}>. | |
8909 | value as an argument. Require expects either a package name or a | |
8910 | file-specification as an argument; do expects a filename. See | |
8911 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. | |
8912 | 5138 | |
8913 | 5139 | =end original |
8914 | 5140 | |
8915 | (F) | |
5141 | (F) C<\p{...}> や C<\P{...}> で右中かっこがありません。 | |
8916 | 呼び出そうとしました。 | |
8917 | require はパッケージ名またはファイル指定を引数として想定します; | |
8918 | do はファイル名を想定します。 | |
8919 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 | |
8920 | 5142 | |
8921 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
8922 | ||
8923 | =begin original | |
8924 | ||
8925 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. | |
8926 | ||
8927 | =end original | |
8928 | ||
8929 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが | |
8930 | 抜けています。 | |
8931 | ||
8932 | =item Missing right brace on \N{} | |
8933 | ||
8934 | =item Missing right brace on \N{} or unescaped left brace after \N | |
8935 | ||
8936 | =begin original | |
8937 | ||
8938 | (F) C<\N> has two meanings. | |
8939 | ||
8940 | =end original | |
8941 | ||
8942 | (F) C<\N> には二つの意味があります。 | |
8943 | ||
8944 | =begin original | |
8945 | ||
8946 | The traditional one has it followed by a name enclosed in braces, | |
8947 | meaning the character (or sequence of characters) given by that | |
8948 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
8949 | double-quoted strings and regular expression patterns. In patterns, | |
8950 | it doesn't have the meaning an unescaped C<*> does. | |
8951 | ||
8952 | =end original | |
8953 | ||
8954 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 | |
8955 | (または文字並び)を意味します。 | |
8956 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 | |
8957 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 | |
8958 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 | |
8959 | ||
8960 | =begin original | |
8961 | ||
8962 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) | |
8963 | in patterns, namely to match a non-newline character. (This is short | |
8964 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) | |
8965 | ||
8966 | =end original | |
8967 | ||
8968 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; | |
8969 | 非改行文字にマッチングします。 | |
8970 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって | |
8971 | 影響を受けません。) | |
8972 | ||
8973 | =begin original | |
8974 | ||
8975 | This can lead to some ambiguities. When C<\N> is not followed immediately | |
8976 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces | |
8977 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this | |
8978 | means to match the given quantity of non-newlines (in these examples, | |
8979 | 3; and 5 or more, respectively). In all other case, where there is a | |
8980 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. | |
8981 | ||
8982 | =end original | |
8983 | ||
8984 | これによりいくつかの曖昧さを引き起こします。 | |
8985 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 | |
8986 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に | |
8987 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と | |
8988 | 5 以上) にマッチングするという意味を仮定します。 | |
8989 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が | |
8990 | 求められていると仮定します。 | |
8991 | ||
8992 | =begin original | |
8993 | ||
8994 | However, if there is no matching C<}>, Perl doesn't know if it was | |
8995 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. | |
8996 | If you meant the former, add the right brace; if you meant the latter, | |
8997 | escape the brace with a backslash, like so: C<\N\{> | |
8998 | ||
8999 | =end original | |
9000 | ||
9001 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 | |
9002 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 | |
9003 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を | |
9004 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで | |
9005 | エスケープしてください。 | |
9006 | ||
9007 | 5143 | =item Missing right curly or square bracket |
9008 | 5144 | |
9009 | 5145 | =begin original |
9010 | 5146 | |
9011 | 5147 | (F) The lexer counted more opening curly or square brackets than closing |
9012 | 5148 | ones. As a general rule, you'll find it's missing near the place you |
9013 | 5149 | were last editing. |
9014 | 5150 | |
9015 | 5151 | =end original |
9016 | 5152 | |
9017 | (F) 字句解析部が、閉じ中 | |
5153 | (F) 字句解析部が、閉じ中括弧(または大括弧)よりも | |
9018 | 開き中 | |
5154 | 開き中括弧(大括弧)を多く発見しました。 | |
9019 | 5155 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
9020 | 5156 | |
9021 | 5157 | =item (Missing semicolon on previous line?) |
9022 | 5158 | |
9023 | 5159 | =begin original |
9024 | 5160 | |
9025 | 5161 | (S syntax) This is an educated guess made in conjunction with the message |
9026 | 5162 | "%s found where operator expected". Don't automatically put a semicolon on |
9027 | 5163 | the previous line just because you saw this message. |
9028 | 5164 | |
9029 | 5165 | =end original |
9030 | 5166 | |
9031 | (S syntax) こ | |
5167 | (S syntax) このメッセージは、"%s found where operator expected" という | |
9032 | ||
5168 | メッセージに伴って出される教育的な推測によるものです。 | |
9033 | このメッセージが出たからといって、機械的に前の行に | |
5169 | このメッセージが出たからといって、機械的に前の行に | |
9034 | しないでください。 | |
5170 | セミコロンを付けることはしないでください。 | |
9035 | 5171 | |
9036 | 5172 | =item Modification of a read-only value attempted |
9037 | 5173 | |
9038 | 5174 | =begin original |
9039 | 5175 | |
9040 | 5176 | (F) You tried, directly or indirectly, to change the value of a |
9041 | 5177 | constant. You didn't, of course, try "2 = 1", because the compiler |
9042 | 5178 | catches that. But an easy way to do the same thing is: |
9043 | 5179 | |
9044 | 5180 | =end original |
9045 | 5181 | |
9046 | 5182 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
9047 | 5183 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
9048 | 5184 | したわけではありません。 |
9049 | 5185 | しかし、同じことは以下のようにしても起こります。 |
9050 | 5186 | |
9051 | 5187 | sub mod { $_[0] = 1 } |
9052 | 5188 | mod(2); |
9053 | 5189 | |
9054 | 5190 | =begin original |
9055 | 5191 | |
9056 | 5192 | Another way is to assign to a substr() that's off the end of the string. |
9057 | 5193 | |
9058 | 5194 | =end original |
9059 | 5195 | |
9060 | 5196 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
9061 | 5197 | |
9062 | 5198 | =begin original |
9063 | 5199 | |
9064 | 5200 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
9065 | 5201 | is aliased to a constant in the look I<LIST>: |
9066 | 5202 | |
9067 | 5203 | =end original |
9068 | 5204 | |
9069 | 5205 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
9070 | 5206 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
9071 | 5207 | |
9072 | $x = 1; | |
5208 | $x = 1; | |
9073 | foreach my $n ($x, 2) { | |
5209 | foreach my $n ($x, 2) { | |
9074 | $n *= 2; # modifies the $x, but fails on attempt to | |
5210 | $n *= 2; # modifies the $x, but fails on attempt to modify the 2 | |
9075 | | |
5211 | } | |
9076 | 5212 | |
9077 | =begin original | |
9078 | ||
9079 | L<PerlIO::scalar> will also produce this message as a warning if you | |
9080 | attempt to open a read-only scalar for writing. | |
9081 | ||
9082 | =end original | |
9083 | ||
9084 | L<PerlIO::scalar> も、読み込み専用スカラを書き込みように開こうとしたときに、 | |
9085 | このメッセージを警告として出力します。 | |
9086 | ||
9087 | 5213 | =item Modification of non-creatable array value attempted, %s |
9088 | 5214 | |
9089 | 5215 | =begin original |
9090 | 5216 | |
9091 | 5217 | (F) You tried to make an array value spring into existence, and the |
9092 | 5218 | subscript was probably negative, even counting from end of the array |
9093 | 5219 | backwards. |
9094 | 5220 | |
9095 | 5221 | =end original |
9096 | 5222 | |
9097 | (F) 配列値を存在するようにしようとしました | |
5223 | (F) 配列値を存在するようにしようとしました。 おそらく、 | |
9098 | 終わりから逆に数えたとしても、 | |
5224 | 添字が負数で、配列の終わりから逆に数えたとしても、 | |
5225 | おかしな位置を指しているようです。 | |
9099 | 5226 | |
9100 | 5227 | =item Modification of non-creatable hash value attempted, %s |
9101 | 5228 | |
9102 | 5229 | =begin original |
9103 | 5230 | |
9104 | 5231 | (P) You tried to make a hash value spring into existence, and it |
9105 | 5232 | couldn't be created for some peculiar reason. |
9106 | 5233 | |
9107 | 5234 | =end original |
9108 | 5235 | |
9109 | 5236 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
9110 | 5237 | できませんでした。 |
9111 | 5238 | |
9112 | 5239 | =item Module name must be constant |
9113 | 5240 | |
9114 | 5241 | =begin original |
9115 | 5242 | |
9116 | 5243 | (F) Only a bare module name is allowed as the first argument to a "use". |
9117 | 5244 | |
9118 | 5245 | =end original |
9119 | 5246 | |
9120 | 5247 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
9121 | 5248 | 裸の単語だけです。 |
9122 | 5249 | |
9123 | 5250 | =item Module name required with -%c option |
9124 | 5251 | |
9125 | 5252 | =begin original |
9126 | 5253 | |
9127 | 5254 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
9128 | you omitted the name of the module. Consult | |
5255 | you omitted the name of the module. Consult L<perlrun> for full details | |
9129 | ||
5256 | about C<-M> and C<-m>. | |
9130 | 5257 | |
9131 | 5258 | =end original |
9132 | 5259 | |
9133 | 5260 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
9134 | 5261 | 指示しますが、モジュール名がありませんでした。 |
9135 | C<-M> と C<-m> に関する完全な詳細については | |
5262 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 | |
9136 | L<perlrun|perlrun/-m[-]module> を参照してください。 | |
9137 | 5263 | |
9138 | =item More than one argument to | |
5264 | =item More than one argument to open | |
9139 | 5265 | |
9140 | 5266 | =begin original |
9141 | 5267 | |
9142 | (F) The C<open> function has been asked to open multiple files. | |
5268 | (F) The C<open> function has been asked to open multiple files. This | |
9143 | 5269 | can happen if you are trying to open a pipe to a command that takes a |
9144 | 5270 | list of arguments, but have forgotten to specify a piped open mode. |
9145 | 5271 | See L<perlfunc/open> for details. |
9146 | 5272 | |
9147 | 5273 | =end original |
9148 | 5274 | |
9149 | 5275 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 |
9150 | 5276 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ |
9151 | 5277 | オープンモードを指定するのを忘れた時に起きます。 |
9152 | 5278 | 詳細は L<perlfunc/open> を参照してください。 |
9153 | 5279 | |
9154 | =item mprotect for COW string %p %u failed with %d | |
9155 | ||
9156 | =begin original | |
9157 | ||
9158 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9159 | L<perlguts/"Copy on Write">), but a shared string buffer | |
9160 | could not be made read-only. | |
9161 | ||
9162 | =end original | |
9163 | ||
9164 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9165 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 | |
9166 | ||
9167 | =item mprotect for %p %u failed with %d | |
9168 | ||
9169 | =begin original | |
9170 | ||
9171 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), | |
9172 | but an op tree could not be made read-only. | |
9173 | ||
9174 | =end original | |
9175 | ||
9176 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9177 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 | |
9178 | ||
9179 | =item mprotect RW for COW string %p %u failed with %d | |
9180 | ||
9181 | =begin original | |
9182 | ||
9183 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9184 | L<perlguts/"Copy on Write">), but a read-only shared string | |
9185 | buffer could not be made mutable. | |
9186 | ||
9187 | =end original | |
9188 | ||
9189 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9190 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に | |
9191 | できませんでした。 | |
9192 | ||
9193 | =item mprotect RW for %p %u failed with %d | |
9194 | ||
9195 | =begin original | |
9196 | ||
9197 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see | |
9198 | L<perlhacktips>), but a read-only op tree could not be made | |
9199 | mutable before freeing the ops. | |
9200 | ||
9201 | =end original | |
9202 | ||
9203 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9204 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に | |
9205 | ミュータブルにできませんでした。 | |
9206 | ||
9207 | 5280 | =item msg%s not implemented |
9208 | 5281 | |
9209 | 5282 | =begin original |
9210 | 5283 | |
9211 | 5284 | (F) You don't have System V message IPC on your system. |
9212 | 5285 | |
9213 | 5286 | =end original |
9214 | 5287 | |
9215 | 5288 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
9216 | 5289 | |
9217 | =item Multidimensional hash lookup is disabled | |
9218 | ||
9219 | =begin original | |
9220 | ||
9221 | (F) You supplied a list of subscripts to a hash lookup under | |
9222 | C<< no feature "multidimensional"; >>, eg: | |
9223 | ||
9224 | =end original | |
9225 | ||
9226 | (F) You supplied a list of subscripts to a hash lookup under | |
9227 | C<< no feature "multidimensional"; >> の下でハッシュ検索のために | |
9228 | 添え字のリストを指定しました; 例えば: | |
9229 | ||
9230 | $z = $foo{$x, $y}; | |
9231 | ||
9232 | =begin original | |
9233 | ||
9234 | which by default acts like: | |
9235 | ||
9236 | =end original | |
9237 | ||
9238 | これはデフォルトでは次のように振る舞います: | |
9239 | ||
9240 | $z = $foo{join($;, $x, $y)}; | |
9241 | ||
9242 | 5290 | =item Multidimensional syntax %s not supported |
9243 | 5291 | |
9244 | 5292 | =begin original |
9245 | 5293 | |
9246 | 5294 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
9247 | 5295 | They're written like C<$foo[1][2][3]>, as in C. |
9248 | 5296 | |
9249 | 5297 | =end original |
9250 | 5298 | |
9251 | 5299 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
9252 | 5300 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
9253 | 5301 | |
9254 | =item | |
5302 | =item '/' must be followed by 'a*', 'A*' or 'Z*' | |
9255 | 5303 | |
9256 | 5304 | =begin original |
9257 | 5305 | |
9258 | (F) | |
5306 | (F) You had a pack template indicating a counted-length string, | |
9259 | the l | |
5307 | Currently the only things that can have their length counted are a*, A* | |
9260 | e | |
5308 | or Z*. See L<perlfunc/pack>. | |
9261 | 5309 | |
9262 | 5310 | =end original |
9263 | 5311 | |
9264 | (F) | |
5312 | (F) カウント長文字列を示す pack テンプレートがあります。 | |
9265 | ||
5313 | 現在のところ長さをカウントできるのは a*, A*, Z* だけです。 | |
5314 | L<perlfunc/pack> を参照してください。 | |
9266 | 5315 | |
9267 | sub foo ($a, @b) {} # legal | |
9268 | sub foo ($a, @b, %) {} # invalid | |
9269 | ||
9270 | 5316 | =item '/' must follow a numeric type in unpack |
9271 | 5317 | |
9272 | 5318 | =begin original |
9273 | 5319 | |
9274 | 5320 | (F) You had an unpack template that contained a '/', but this did not |
9275 | 5321 | follow some unpack specification producing a numeric value. |
9276 | 5322 | See L<perlfunc/pack>. |
9277 | 5323 | |
9278 | 5324 | =end original |
9279 | 5325 | |
9280 | 5326 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの |
9281 | 5327 | 数値を生成する unpack 指定に引き続いていません。 |
9282 | 5328 | L<perlfunc/pack> を参照してください。 |
9283 | 5329 | |
9284 | =item %s must not be a named sequence in transliteration operator | |
9285 | ||
9286 | =begin original | |
9287 | ||
9288 | (F) Transliteration (C<tr///> and C<y///>) transliterates individual | |
9289 | characters. But a named sequence by definition is more than an | |
9290 | individual character, and hence doing this operation on it doesn't make | |
9291 | sense. | |
9292 | ||
9293 | =end original | |
9294 | ||
9295 | (F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。 | |
9296 | しかし、定義による名前付き並びは個々の文字以上のものがあるので、 | |
9297 | それに対してこの操作をするのは意味がありません。 | |
9298 | ||
9299 | 5330 | =item "my sub" not yet implemented |
9300 | 5331 | |
9301 | 5332 | =begin original |
9302 | 5333 | |
9303 | 5334 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
9304 | 5335 | that yet. |
9305 | 5336 | |
9306 | 5337 | =end original |
9307 | 5338 | |
9308 | 5339 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
9309 | 5340 | まだ試さないでください。 |
9310 | 5341 | |
9311 | =item "my" subroutine %s can't be in a package | |
9312 | ||
9313 | =begin original | |
9314 | ||
9315 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
9316 | sense to try to declare one with a package qualifier on the front. | |
9317 | ||
9318 | =end original | |
9319 | ||
9320 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
9321 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
9322 | ||
9323 | =item "my %s" used in sort comparison | |
9324 | ||
9325 | =begin original | |
9326 | ||
9327 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
9328 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
9329 | sort comparison block, and the variable had earlier been declared as a | |
9330 | lexical variable. Either qualify the sort variable with the package | |
9331 | name, or rename the lexical variable. | |
9332 | ||
9333 | =end original | |
9334 | ||
9335 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
9336 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
9337 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
9338 | 宣言されています。 | |
9339 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
9340 | ||
9341 | 5342 | =item "my" variable %s can't be in a package |
9342 | 5343 | |
9343 | 5344 | =begin original |
9344 | 5345 | |
9345 | 5346 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
9346 | 5347 | sense to try to declare one with a package qualifier on the front. Use |
9347 | 5348 | local() if you want to localize a package variable. |
9348 | 5349 | |
9349 | 5350 | =end original |
9350 | 5351 | |
9351 | (F) | |
5352 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 | |
9352 | 5353 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
9353 | 5354 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
9354 | 5355 | |
9355 | 5356 | =item Name "%s::%s" used only once: possible typo |
9356 | 5357 | |
9357 | 5358 | =begin original |
9358 | 5359 | |
9359 | (W once) Typographical errors often show up as unique variable | |
5360 | (W once) Typographical errors often show up as unique variable names. | |
9360 | ||
5361 | If you had a good reason for having a unique name, then just mention it | |
9361 | ||
5362 | again somehow to suppress the message. The C<our> declaration is | |
9362 | ||
5363 | provided for this purpose. | |
9363 | 5364 | |
9364 | 5365 | =end original |
9365 | 5366 | |
9366 | 5367 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
9367 | 5368 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
9368 | 5369 | このメッセージを抑制できます。 |
9369 | C<our> 宣言 | |
5370 | C<our> 宣言がこの目的のために提供されています。 | |
9370 | 5371 | |
9371 | 5372 | =begin original |
9372 | 5373 | |
9373 | NOTE: This warning detects | |
5374 | NOTE: This warning detects symbols that have been used only once so $c, @c, | |
9374 | ||
5375 | %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered | |
9375 | ||
5376 | the same; if a program uses $c only once but also uses any of the others it | |
9376 | ||
5377 | will not trigger this warning. | |
9377 | format) are considered the same; if a program uses $c only once | |
9378 | but also uses any of the others it will not trigger this warning. | |
9379 | Symbols beginning with an underscore and symbols using special | |
9380 | identifiers (q.v. L<perldata>) are exempt from this warning. | |
9381 | 5378 | |
9382 | 5379 | =end original |
9383 | 5380 | |
9384 | 注意: この警告は一度しか使われていない | |
5381 | 注意: この警告はシンボルが一度だけしか使われていないことを検出するので、 | |
9385 | ||
5382 | $c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は | |
9386 | ま | |
5383 | 全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても | |
9387 | ||
5384 | その他のものが使われている場合、警告は発生しません。 | |
9388 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも | |
9389 | その他のものも使っている場合、この警告は引き起こされません。 | |
9390 | 下線で始まるシンボルと特殊識別子 | |
9391 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 | |
9392 | 5385 | |
9393 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ | |
9394 | ||
9395 | =begin original | |
9396 | ||
9397 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
9398 | exactly 3 digits long. This helps catch some ambiguities. If your | |
9399 | constant is too short, add leading zeros, like | |
9400 | ||
9401 | =end original | |
9402 | ||
9403 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
9404 | 必要があります。 | |
9405 | これはある種の曖昧さを捕まえる助けになります。 | |
9406 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
9407 | ||
9408 | (?[ [ \078 ] ]) # Syntax error! | |
9409 | (?[ [ \0078 ] ]) # Works | |
9410 | (?[ [ \007 8 ] ]) # Clearer | |
9411 | ||
9412 | =begin original | |
9413 | ||
9414 | The maximum number this construct can express is C<\777>. If you | |
9415 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant | |
9416 | two separate things, you need to separate them: | |
9417 | ||
9418 | =end original | |
9419 | ||
9420 | この構文が表現できる最大数は C<\777> です。 | |
9421 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
9422 | 使う必要があります。 | |
9423 | 二つの別々のものを意味しているなら、分ける必要があります: | |
9424 | ||
9425 | (?[ [ \7776 ] ]) # Syntax error! | |
9426 | (?[ [ \o{7776} ] ]) # One meaning | |
9427 | (?[ [ \777 6 ] ]) # Another meaning | |
9428 | (?[ [ \777 \006 ] ]) # Still another | |
9429 | ||
9430 | 5386 | =item Negative '/' count in unpack |
9431 | 5387 | |
9432 | 5388 | =begin original |
9433 | 5389 | |
9434 | 5390 | (F) The length count obtained from a length/code unpack operation was |
9435 | 5391 | negative. See L<perlfunc/pack>. |
9436 | 5392 | |
9437 | 5393 | =end original |
9438 | 5394 | |
9439 | 5395 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 |
9440 | 5396 | L<perlfunc/pack> を参照してください。 |
9441 | 5397 | |
9442 | 5398 | =item Negative length |
9443 | 5399 | |
9444 | 5400 | =begin original |
9445 | 5401 | |
9446 | 5402 | (F) You tried to do a read/write/send/recv operation with a buffer |
9447 | 5403 | length that is less than 0. This is difficult to imagine. |
9448 | 5404 | |
9449 | 5405 | =end original |
9450 | 5406 | |
9451 | 5407 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
9452 | 5408 | 行なおうとしました。 |
9453 | こ | |
5409 | どのようなことがしたいのか判断できません。 | |
9454 | 5410 | |
9455 | 5411 | =item Negative offset to vec in lvalue context |
9456 | 5412 | |
9457 | 5413 | =begin original |
9458 | 5414 | |
9459 | 5415 | (F) When C<vec> is called in an lvalue context, the second argument must be |
9460 | 5416 | greater than or equal to zero. |
9461 | 5417 | |
9462 | 5418 | =end original |
9463 | 5419 | |
9464 | 5420 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 |
9465 | 5421 | 二つ目の引数は 0 以上でなければなりません。 |
9466 | 5422 | |
9467 | =item Ne | |
5423 | =item Nested quantifiers in regex; marked by <-- HERE in m/%s/ | |
9468 | 5424 | |
9469 | 5425 | =begin original |
9470 | 5426 | |
9471 | ( | |
5427 | (F) You can't quantify a quantifier without intervening parentheses. So | |
9472 | ||
5428 | things like ** or +* or ?* are illegal. The <-- HERE shows in the regular | |
9473 | ||
5429 | expression about where the problem was discovered. | |
9474 | 5430 | |
9475 | 5431 | =end original |
9476 | 5432 | |
9477 | ( | |
5433 | (F) 括弧を挟まないで、数量子を数量子で修飾することはできません。 | |
9478 | 0 より小さい回数実行しようとしました; これは無意味です。 | |
9479 | ||
9480 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ | |
9481 | ||
9482 | =begin original | |
9483 | ||
9484 | (F) You can't quantify a quantifier without intervening parentheses. | |
9485 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows | |
9486 | whereabouts in the regular expression the problem was discovered. | |
9487 | ||
9488 | =end original | |
9489 | ||
9490 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 | |
9491 | 5434 | つまり、** や +* や ?* といったものは、正しくありません。 |
9492 | ||
5435 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9493 | 5436 | |
9494 | 5437 | =begin original |
9495 | 5438 | |
9496 | 5439 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and |
9497 | 5440 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
9498 | 5441 | |
9499 | 5442 | =end original |
9500 | 5443 | |
9501 | 5444 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように |
9502 | 5445 | 見えますが、そうではありません。 |
9503 | 5446 | L<perlre> を参照してください。 |
9504 | 5447 | |
9505 | 5448 | =item %s never introduced |
9506 | 5449 | |
9507 | 5450 | =begin original |
9508 | 5451 | |
9509 | 5452 | (S internal) The symbol in question was declared but somehow went out of |
9510 | 5453 | scope before it could possibly have been used. |
9511 | 5454 | |
9512 | 5455 | =end original |
9513 | 5456 | |
9514 | 5457 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
9515 | 5458 | 外れてしまいました。 |
9516 | 5459 | |
9517 | =item | |
5460 | =item Newline in left-justified string for %s | |
9518 | 5461 | |
9519 | 5462 | =begin original |
9520 | 5463 | |
9521 | ( | |
5464 | (W printf) There is a newline in a string to be left justified by | |
9522 | r | |
5465 | C<printf> or C<sprintf>. | |
9523 | See L<mro>. | |
9524 | 5466 | |
9525 | 5467 | =end original |
9526 | 5468 | |
9527 | ( | |
5469 | (W printf) C<printf> や C<sprintf> で左寄せされるべき文字列に改行が | |
9528 | ||
5470 | 含まれています。 | |
9529 | L<mro> を参照してください。 | |
9530 | 5471 | |
9531 | =item \N in a character class must be a named character: \N{...} in regex; | |
9532 | marked by S<<-- HERE> in m/%s/ | |
9533 | ||
9534 | 5472 | =begin original |
9535 | 5473 | |
9536 | ||
5474 | The padding spaces will appear after the newline, which is probably not | |
9537 | ||
5475 | what you wanted. Usually you should remove the newline from the string | |
9538 | ||
5476 | and put formatting characters in the C<sprintf> format. | |
9539 | probably not what you want. | |
9540 | 5477 | |
9541 | 5478 | =end original |
9542 | 5479 | |
9543 | ||
5480 | パッディングされる空白は改行の後につくので、おそらく望んでいることでは | |
9544 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
9545 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
9546 | 5481 | ないでしょう。 |
5482 | 普通は、文字列から改行を取り除き、C<sprintf> フォーマットの中に | |
5483 | フォーマット文字を置くべきです。 | |
9547 | 5484 | |
9548 | =item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
9549 | ||
9550 | =begin original | |
9551 | ||
9552 | (F) Named Unicode character escapes (C<\N{...}>) may return a | |
9553 | multi-character sequence. Even though a character class is | |
9554 | supposed to match just one character of input, perl will match the | |
9555 | whole thing correctly, except under certain conditions. These currently | |
9556 | are | |
9557 | ||
9558 | =end original | |
9559 | ||
9560 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを | |
9561 | 返すことがあります。 | |
9562 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
9563 | perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。 | |
9564 | それは今のところ: | |
9565 | ||
9566 | =over 4 | |
9567 | ||
9568 | =item When the class is inverted (C<[^...]>) | |
9569 | ||
9570 | (クラスが反転された場合 (C<[^...]>)) | |
9571 | ||
9572 | =begin original | |
9573 | ||
9574 | The mathematically logical behavior for what matches when inverting | |
9575 | is very different from what people expect, so we have decided to | |
9576 | forbid it. | |
9577 | ||
9578 | =end original | |
9579 | ||
9580 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
9581 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
9582 | ||
9583 | =item The escape is the beginning or final end point of a range | |
9584 | ||
9585 | (エスケープが範囲の始点か終点の場合) | |
9586 | ||
9587 | =begin original | |
9588 | ||
9589 | Similarly unclear is what should be generated when the | |
9590 | C<\N{...}> is used as one of the end points of the range, such as in | |
9591 | ||
9592 | =end original | |
9593 | ||
9594 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
9595 | 使われたときに何が生成されるべきかということです: | |
9596 | ||
9597 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
9598 | ||
9599 | =begin original | |
9600 | ||
9601 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
9602 | of code points, so this is made an error. | |
9603 | ||
9604 | =end original | |
9605 | ||
9606 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
9607 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
9608 | ||
9609 | =item In a regex set | |
9610 | ||
9611 | (正規表現集合の中の場合) | |
9612 | ||
9613 | =begin original | |
9614 | ||
9615 | The syntax S<C<(?[ ])>> in a regular expression yields a list of | |
9616 | single code points, none can be a sequence. | |
9617 | ||
9618 | =end original | |
9619 | ||
9620 | 正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、 | |
9621 | 並びにはなりません。 | |
9622 | ||
9623 | =back | |
9624 | ||
9625 | 5485 | =item No %s allowed while running setuid |
9626 | 5486 | |
9627 | 5487 | =begin original |
9628 | 5488 | |
9629 | 5489 | (F) Certain operations are deemed to be too insecure for a setuid or |
9630 | 5490 | setgid script to even be allowed to attempt. Generally speaking there |
9631 | 5491 | will be another way to do what you want that is, if not secure, at least |
9632 | 5492 | securable. See L<perlsec>. |
9633 | 5493 | |
9634 | 5494 | =end original |
9635 | 5495 | |
9636 | 5496 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
9637 | 5497 | やってみることはできても、とても安全なものとは考えられないものです。 |
9638 | 5498 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
9639 | 5499 | L<perlsec> を参照してください。 |
9640 | 5500 | |
9641 | =item No code specified for -%c | |
9642 | ||
9643 | =begin original | |
9644 | ||
9645 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If | |
9646 | you want to run an empty program, pass the empty string as a separate | |
9647 | argument or run a program consisting of a single 0 or 1: | |
9648 | ||
9649 | =end original | |
9650 | ||
9651 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 | |
9652 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の | |
9653 | 0 または 1 からなるプログラムを実行してください: | |
9654 | ||
9655 | perl -e "" | |
9656 | perl -e0 | |
9657 | perl -e1 | |
9658 | ||
9659 | 5501 | =item No comma allowed after %s |
9660 | 5502 | |
9661 | 5503 | =begin original |
9662 | 5504 | |
9663 | (F) A list operator that has a filehandle or "indirect object" is | |
5505 | (F) A list operator that has a filehandle or "indirect object" is not | |
9664 | ||
5506 | allowed to have a comma between that and the following arguments. | |
9665 | 5507 | Otherwise it'd be just another one of the arguments. |
9666 | 5508 | |
9667 | 5509 | =end original |
9668 | 5510 | |
9669 | 5511 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
9670 | 5512 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
9671 | 5513 | そのようにした場合には、引数の一つとなってしまいます。 |
9672 | 5514 | |
9673 | 5515 | =begin original |
9674 | 5516 | |
9675 | One possible cause for this is that you expected to have imported | |
5517 | One possible cause for this is that you expected to have imported a | |
9676 | ||
5518 | constant to your name space with B<use> or B<import> while no such | |
9677 | importing took place, it may for example be that your operating | |
5519 | importing took place, it may for example be that your operating system | |
9678 | ||
5520 | does not support that particular constant. Hopefully you did use an | |
9679 | ||
5521 | explicit import list for the constants you expect to see, please see | |
9680 | ||
5522 | L<perlfunc/use> and L<perlfunc/import>. While an explicit import list | |
9681 | ||
5523 | would probably have caught this error earlier it naturally does not | |
9682 | ||
5524 | remedy the fact that your operating system still does not support that | |
9683 | ||
5525 | constant. Maybe you have a typo in the constants of the symbol import | |
9684 | ||
5526 | list of B<use> or B<import> or in the constant name at the line where | |
9685 | ||
5527 | this error was triggered? | |
9686 | 5528 | |
9687 | 5529 | =end original |
9688 | 5530 | |
9689 | 5531 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
9690 | 5532 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
9691 | 5533 | 場合です; |
9692 | 5534 | 例えば OS が特定の定数に対応していない場合などです。 |
9693 | 5535 | できればインポートしたい定数のリストを明示的に使ってください; |
9694 | 5536 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
9695 | 5537 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
9696 | 5538 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
9697 | 5539 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
9698 | 5540 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
9699 | 5541 | |
9700 | 5542 | =item No command into which to pipe on command line |
9701 | 5543 | |
9702 | 5544 | =begin original |
9703 | 5545 | |
9704 | 5546 | (F) An error peculiar to VMS. Perl handles its own command line |
9705 | 5547 | redirection, and found a '|' at the end of the command line, so it |
9706 | 5548 | doesn't know where you want to pipe the output from this command. |
9707 | 5549 | |
9708 | 5550 | =end original |
9709 | 5551 | |
9710 | (F) VMS | |
5552 | (F) VMSに固有のエラーです。 | |
9711 | 5553 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
9712 | 5554 | コマンドラインの最後にに '|' を発見しましたが、 |
9713 | 5555 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
9714 | 5556 | |
9715 | 5557 | =item No DB::DB routine defined |
9716 | 5558 | |
9717 | 5559 | =begin original |
9718 | 5560 | |
9719 | 5561 | (F) The currently executing code was compiled with the B<-d> switch, but |
9720 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> | |
5562 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> | |
9721 | 5563 | module) didn't define a routine to be called at the beginning of each |
9722 | 5564 | statement. |
9723 | 5565 | |
9724 | 5566 | =end original |
9725 | 5567 | |
9726 | 5568 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
9727 | 5569 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) |
9728 | 5570 | が各実行文の頭で呼び出すルーティンを定義していません。 |
9729 | 5571 | |
9730 | 5572 | =item No dbm on this machine |
9731 | 5573 | |
9732 | 5574 | =begin original |
9733 | 5575 | |
9734 | 5576 | (P) This is counted as an internal error, because every machine should |
9735 | 5577 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
9736 | 5578 | |
9737 | 5579 | =end original |
9738 | 5580 | |
9739 | (P) これは、内部エラーとして扱われます | |
5581 | (P) これは、内部エラーとして扱われます。 Perl に SDBM が付いてくるので、 | |
9740 | 5582 | どのマシンでも dbm が使えるはずだからです。 |
9741 | 5583 | L<SDBM_File> を参照してください。 |
9742 | 5584 | |
9743 | 5585 | =item No DB::sub routine defined |
9744 | 5586 | |
9745 | 5587 | =begin original |
9746 | 5588 | |
9747 | 5589 | (F) The currently executing code was compiled with the B<-d> switch, but |
9748 | 5590 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
9749 | 5591 | module) didn't define a C<DB::sub> routine to be called at the beginning |
9750 | 5592 | of each ordinary subroutine call. |
9751 | 5593 | |
9752 | 5594 | =end original |
9753 | 5595 | |
9754 | (F) 現在実行中のコードは、 | |
5596 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 | |
9755 | 何らかの理由により、 | |
5597 | 何らかの理由により、perl5db.pl (あるいは、その複製) が | |
9756 | 各サブルー | |
5598 | 各サブルーティン呼び出しの頭で呼び出す | |
9757 | 定義していませんでした。 | |
5599 | DB::sub ルーティンを定義していませんでした。 | |
9758 | 5600 | |
9759 | =item No | |
5601 | =item No B<-e> allowed in setuid scripts | |
9760 | 5602 | |
9761 | 5603 | =begin original |
9762 | 5604 | |
9763 | (F) | |
5605 | (F) A setuid script can't be specified by the user. | |
9764 | were found following C<0b>. | |
9765 | 5606 | |
9766 | 5607 | =end original |
9767 | 5608 | |
9768 | (F) | |
5609 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
9769 | 引き続かなかったりしました。 | |
9770 | 5610 | |
9771 | =item No directory specified for -I | |
9772 | ||
9773 | =begin original | |
9774 | ||
9775 | (F) The B<-I> command-line switch requires a directory name as part of the | |
9776 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. | |
9777 | ||
9778 | =end original | |
9779 | ||
9780 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が | |
9781 | 必要です。 | |
9782 | 例えば、B<-Ilib> としてください。 | |
9783 | B<-I lib> は動作しません。 | |
9784 | ||
9785 | 5611 | =item No error file after 2> or 2>> on command line |
9786 | 5612 | |
9787 | 5613 | =begin original |
9788 | 5614 | |
9789 | 5615 | (F) An error peculiar to VMS. Perl handles its own command line |
9790 | 5616 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
9791 | 5617 | find the name of the file to which to write data destined for stderr. |
9792 | 5618 | |
9793 | 5619 | =end original |
9794 | 5620 | |
9795 | (F) VMS | |
5621 | (F) VMSに固有のエラーです。 | |
9796 | 5622 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
9797 | 5623 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
9798 | 5624 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
9799 | 5625 | |
9800 | 5626 | =item No group ending character '%c' found in template |
9801 | 5627 | |
9802 | 5628 | =begin original |
9803 | 5629 | |
9804 | 5630 | (F) A pack or unpack template has an opening '(' or '[' without its |
9805 | matching counterpart. | |
5631 | matching counterpart. See L<perlfunc/pack>. | |
9806 | 5632 | |
9807 | 5633 | =end original |
9808 | 5634 | |
9809 | 5635 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 |
9810 | 5636 | 対応する閉じかっこがありません。 |
9811 | 5637 | L<perlfunc/pack> を参照してください。 |
9812 | 5638 | |
9813 | 5639 | =item No input file after < on command line |
9814 | 5640 | |
9815 | 5641 | =begin original |
9816 | 5642 | |
9817 | 5643 | (F) An error peculiar to VMS. Perl handles its own command line |
9818 | 5644 | redirection, and found a '<' on the command line, but can't find the |
9819 | 5645 | name of the file from which to read data for stdin. |
9820 | 5646 | |
9821 | 5647 | =end original |
9822 | 5648 | |
9823 | (F) VMS | |
5649 | (F) VMS 特有のエラーです。 | |
9824 | 5650 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
9825 | 5651 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
9826 | 5652 | 見つかりませんでした。 |
9827 | 5653 | |
9828 | =item No | |
5654 | =item No #! line | |
9829 | 5655 | |
9830 | 5656 | =begin original |
9831 | 5657 | |
9832 | (F) | |
5658 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
9833 | ||
5659 | even on machines that don't support the #! construct. | |
9834 | it throwing an exception, use C<maybe::next::method> | |
9835 | or C<next::can>. See L<mro>. | |
9836 | 5660 | |
9837 | 5661 | =end original |
9838 | 5662 | |
9839 | (F) | |
5663 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
9840 | ||
5664 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
9841 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を | |
9842 | 使ってください。 | |
9843 | L<mro> を参照してください。 | |
9844 | 5665 | |
9845 | =item Non-finite repeat count does nothing | |
9846 | ||
9847 | =begin original | |
9848 | ||
9849 | (W numeric) You tried to execute the | |
9850 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or | |
9851 | C<-Inf>) or C<NaN> times, which doesn't make sense. | |
9852 | ||
9853 | =end original | |
9854 | ||
9855 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
9856 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; | |
9857 | これは意味がありません。 | |
9858 | ||
9859 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ | |
9860 | ||
9861 | =begin original | |
9862 | ||
9863 | (F) In a regular expression, there was a non-hexadecimal character where | |
9864 | a hex one was expected, like | |
9865 | ||
9866 | =end original | |
9867 | ||
9868 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
9869 | ||
9870 | (?[ [ \xDG ] ]) | |
9871 | (?[ [ \x{DEKA} ] ]) | |
9872 | ||
9873 | =item Non-hex character '%c' terminates \x early. Resolved as "%s" | |
9874 | ||
9875 | =begin original | |
9876 | ||
9877 | (W digit) In parsing a hexadecimal numeric constant, a character was | |
9878 | unexpectedly encountered that isn't hexadecimal. The resulting value | |
9879 | is as indicated. | |
9880 | ||
9881 | =end original | |
9882 | ||
9883 | (W digit) 16 進数定数をパースするときに、16 進数でない文字に | |
9884 | 想定外に遭遇しました。 | |
9885 | 結果の値は示しているとおりになりました。 | |
9886 | ||
9887 | =begin original | |
9888 | ||
9889 | Note that, within braces, every character starting with the first | |
9890 | non-hexadecimal up to the ending brace is ignored. | |
9891 | ||
9892 | =end original | |
9893 | ||
9894 | 中かっこの中では、最初に現れた非 16 進数文字から中かっこの終わりまでは | |
9895 | 無視されることに注意してください。 | |
9896 | ||
9897 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ | |
9898 | ||
9899 | =begin original | |
9900 | ||
9901 | (F) In a regular expression, there was a non-octal character where | |
9902 | an octal one was expected, like | |
9903 | ||
9904 | =end original | |
9905 | ||
9906 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
9907 | ||
9908 | (?[ [ \o{1278} ] ]) | |
9909 | ||
9910 | =item Non-octal character '%c' terminates \o early. Resolved as "%s" | |
9911 | ||
9912 | =begin original | |
9913 | ||
9914 | (W digit) In parsing an octal numeric constant, a character was | |
9915 | unexpectedly encountered that isn't octal. The resulting value | |
9916 | is as indicated. | |
9917 | ||
9918 | =end original | |
9919 | ||
9920 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
9921 | 結果の値は示している通りになります。 | |
9922 | ||
9923 | =begin original | |
9924 | ||
9925 | When not using C<\o{...}>, you wrote something like C<\08>, or C<\179> | |
9926 | in a double-quotish string. The resolution is as indicated, with all | |
9927 | but the last digit treated as a single character, specified in octal. | |
9928 | The last digit is the next character in the string. To tell Perl that | |
9929 | this is indeed what you want, you can use the C<\o{ }> syntax, or use | |
9930 | exactly three digits to specify the octal for the character. | |
9931 | ||
9932 | =end original | |
9933 | ||
9934 | When not using | |
9935 | C<\o{...}> を使っていないときに、C<\08> のようなものか、 | |
9936 | あるいはダブルクォート風文字列の中で C<\179> のようなものを書きました。 | |
9937 | 結果は示している通りになり、最後以外の数字は 8 進数で指定された | |
9938 | 単一の文字として扱われます。 | |
9939 | 最後の数字は文字列中の次の文字です。 | |
9940 | これが確かに望んだものであることを Perl に伝えるには、 | |
9941 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
9942 | 正確に 3 文字の数字を使ってください。 | |
9943 | ||
9944 | =begin original | |
9945 | ||
9946 | Note that, within braces, every character starting with the first | |
9947 | non-octal up to the ending brace is ignored. | |
9948 | ||
9949 | =end original | |
9950 | ||
9951 | 中かっこの中では、最初に現れた非 8 進数文字から中かっこの終わりまでは | |
9952 | 無視されることに注意してください。 | |
9953 | ||
9954 | 5666 | =item "no" not allowed in expression |
9955 | 5667 | |
9956 | 5668 | =begin original |
9957 | 5669 | |
9958 | 5670 | (F) The "no" keyword is recognized and executed at compile time, and |
9959 | 5671 | returns no useful value. See L<perlmod>. |
9960 | 5672 | |
9961 | 5673 | =end original |
9962 | 5674 | |
9963 | 5675 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
9964 | 5676 | 意味のある値を返しません。 |
9965 | 5677 | L<perlmod> を参照してください。 |
9966 | 5678 | |
9967 | =item Non-string passed as bitmask | |
9968 | ||
9969 | =begin original | |
9970 | ||
9971 | (W misc) A number has been passed as a bitmask argument to select(). | |
9972 | Use the vec() function to construct the file descriptor bitmasks for | |
9973 | select. See L<perlfunc/select>. | |
9974 | ||
9975 | =end original | |
9976 | ||
9977 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
9978 | select のためのファイル記述子のビットマスクを構成するには、 | |
9979 | vec() 関数を使ってください。 | |
9980 | L<perlfunc/select> を参照してください。 | |
9981 | ||
9982 | 5679 | =item No output file after > on command line |
9983 | 5680 | |
9984 | 5681 | =begin original |
9985 | 5682 | |
9986 | 5683 | (F) An error peculiar to VMS. Perl handles its own command line |
9987 | 5684 | redirection, and found a lone '>' at the end of the command line, so it |
9988 | 5685 | doesn't know where you wanted to redirect stdout. |
9989 | 5686 | |
9990 | 5687 | =end original |
9991 | 5688 | |
9992 | (F) VMS | |
5689 | (F) VMS 特有のエラーです。 | |
9993 | 5690 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
9994 | 5691 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
9995 | 5692 | わかりませんでした。 |
9996 | 5693 | |
9997 | 5694 | =item No output file after > or >> on command line |
9998 | 5695 | |
9999 | 5696 | =begin original |
10000 | 5697 | |
10001 | 5698 | (F) An error peculiar to VMS. Perl handles its own command line |
10002 | 5699 | redirection, and found a '>' or a '>>' on the command line, but can't |
10003 | 5700 | find the name of the file to which to write data destined for stdout. |
10004 | 5701 | |
10005 | 5702 | =end original |
10006 | 5703 | |
10007 | (F) VMS | |
5704 | (F) VMS 特有のエラーです。 | |
10008 | 5705 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
10009 | 5706 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
10010 | 5707 | 見つかりませんでした。 |
10011 | 5708 | |
10012 | =item No package name allowed for subroutine %s in "our" | |
10013 | ||
10014 | 5709 | =item No package name allowed for variable %s in "our" |
10015 | 5710 | |
10016 | 5711 | =begin original |
10017 | 5712 | |
10018 | (F) Fully qualified | |
5713 | (F) Fully qualified variable names are not allowed in "our" | |
10019 | declarations, because that doesn't make much sense under existing | |
5714 | declarations, because that doesn't make much sense under existing | |
10020 | Such syntax is reserved for future extensions. | |
5715 | semantics. Such syntax is reserved for future extensions. | |
10021 | 5716 | |
10022 | 5717 | =end original |
10023 | 5718 | |
10024 | (F) 完全修飾 | |
5719 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
10025 | 5720 | なぜなら現在の動作ではほとんど意味がないからです。 |
10026 | 5721 | そのような文法は将来の拡張に予約されています。 |
10027 | 5722 | |
10028 | 5723 | =item No Perl script found in input |
10029 | 5724 | |
10030 | 5725 | =begin original |
10031 | 5726 | |
10032 | 5727 | (F) You called C<perl -x>, but no line was found in the file beginning |
10033 | 5728 | with #! and containing the word "perl". |
10034 | 5729 | |
10035 | 5730 | =end original |
10036 | 5731 | |
10037 | 5732 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
10038 | 5733 | "perl" という語を含む行が見つかりませんでした。 |
10039 | 5734 | |
10040 | 5735 | =item No setregid available |
10041 | 5736 | |
10042 | 5737 | =begin original |
10043 | 5738 | |
10044 | 5739 | (F) Configure didn't find anything resembling the setregid() call for |
10045 | 5740 | your system. |
10046 | 5741 | |
10047 | 5742 | =end original |
10048 | 5743 | |
10049 | 5744 | (F) Configure が、システム上に setregid() のような関数を |
10050 | 5745 | 見つけられませんでした。 |
10051 | 5746 | |
10052 | 5747 | =item No setreuid available |
10053 | 5748 | |
10054 | 5749 | =begin original |
10055 | 5750 | |
10056 | 5751 | (F) Configure didn't find anything resembling the setreuid() call for |
10057 | 5752 | your system. |
10058 | 5753 | |
10059 | 5754 | =end original |
10060 | 5755 | |
10061 | 5756 | (F) Configure が、システム上に setreuid() のような関数を |
10062 | 5757 | 見つけられませんでした。 |
10063 | 5758 | |
5759 | =item No %s specified for -%c | |
5760 | ||
5761 | =begin original | |
5762 | ||
5763 | (F) The indicated command line switch needs a mandatory argument, but | |
5764 | you haven't specified one. | |
5765 | ||
5766 | =end original | |
5767 | ||
5768 | (F) 指示されたコマンドラインオプションには引数が必須ですが、それが | |
5769 | 指定されませんでした。 | |
5770 | ||
10064 | 5771 | =item No such class %s |
10065 | 5772 | |
10066 | 5773 | =begin original |
10067 | 5774 | |
10068 | (F) You provided a class qualifier in a "my" | |
5775 | (F) You provided a class qualifier in a "my" or "our" declaration, but | |
10069 | ||
5776 | this class doesn't exist at this point in your program. | |
10070 | 5777 | |
10071 | 5778 | =end original |
10072 | 5779 | |
10073 | (F) "my" | |
5780 | (F) "my" や "our" の宣言でクラス修飾子が指定されましたが、指定されたクラスは | |
10074 | ||
5781 | 現時点では存在しません。 | |
10075 | 5782 | |
10076 | =item No such | |
5783 | =item No such pipe open | |
10077 | 5784 | |
10078 | 5785 | =begin original |
10079 | 5786 | |
10080 | ( | |
5787 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to | |
10081 | ||
5788 | close a pipe which hadn't been opened. This should have been caught | |
10082 | ||
5789 | earlier as an attempt to close an unopened filehandle. | |
10083 | L<fields> pragma. | |
10084 | 5790 | |
10085 | 5791 | =end original |
10086 | 5792 | |
10087 | ( | |
5793 | (P) VMS 特有のエラーです。 | |
10088 | ||
5794 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 | |
10089 | ||
5795 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに | |
10090 | ||
5796 | 捕捉されるべきものです。 | |
10091 | 5797 | |
10092 | =item No such | |
5798 | =item No such pseudo-hash field "%s" | |
10093 | 5799 | |
10094 | 5800 | =begin original |
10095 | 5801 | |
10096 | (F) You | |
5802 | (F) You tried to access an array as a hash, but the field name used is | |
10097 | ||
5803 | not defined. The hash at index 0 should map all valid field names to | |
5804 | array indices for that to work. | |
10098 | 5805 | |
10099 | 5806 | =end original |
10100 | 5807 | |
10101 | (F) | |
5808 | (F) 配列にハッシュとしてアクセスしようとしましたが、使われたフィールド名は | |
10102 | ||
5809 | 未定義です。 | |
10103 | ||
5810 | インデックス 0 のハッシュは全ての有効なフィールド名が動作する配列 | |
5811 | インデックスにマッピングされるべきです。 | |
10104 | 5812 | |
10105 | =item No such pi | |
5813 | =item No such pseudo-hash field "%s" in variable %s of type %s | |
10106 | 5814 | |
10107 | 5815 | =begin original |
10108 | 5816 | |
10109 | ( | |
5817 | (F) You tried to access a field of a typed variable where the type does | |
10110 | ||
5818 | not know about the field name. The field names are looked up in the | |
10111 | ||
5819 | %FIELDS hash in the type package at compile time. The %FIELDS hash is | |
5820 | %usually set up with the 'fields' pragma. | |
10112 | 5821 | |
10113 | 5822 | =end original |
10114 | 5823 | |
10115 | ( | |
5824 | (F) 型がフィールド名について知らない型付き変数のフィールドに | |
10116 | ||
5825 | アクセスしようとしました。 | |
10117 | ||
5826 | フィールド名はコンパイル時に型パッケージの %FIELDS ハッシュから | |
10118 | ||
5827 | 検索されます。 | |
5828 | %FIELDS ハッシュは通常 'fields' プラグマで設定されます。 | |
10119 | 5829 | |
10120 | 5830 | =item No such signal: SIG%s |
10121 | 5831 | |
10122 | 5832 | =begin original |
10123 | 5833 | |
10124 | 5834 | (W signal) You specified a signal name as a subscript to %SIG that was |
10125 | 5835 | not recognized. Say C<kill -l> in your shell to see the valid signal |
10126 | 5836 | names on your system. |
10127 | 5837 | |
10128 | 5838 | =end original |
10129 | 5839 | |
10130 | 5840 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
10131 | 5841 | お使いのシステムで使用可能なシグナル名を調べるには、 |
10132 | 5842 | シェル上で C<kill -l> などとしてください。 |
10133 | 5843 | |
10134 | =item No Unicode property value wildcard matches: | |
10135 | ||
10136 | =begin original | |
10137 | ||
10138 | (W regexp) You specified a wildcard for a Unicode property value, but | |
10139 | there is no property value in the current Unicode release that matches | |
10140 | it. Check your spelling. | |
10141 | ||
10142 | =end original | |
10143 | ||
10144 | (W regexp) Unicode 特性値にワイルドカードを指定しましたが、 | |
10145 | 現在の Unicode リリースにはそれにマッチングする特性値はありません。 | |
10146 | スペルを確認してください。 | |
10147 | ||
10148 | 5844 | =item Not a CODE reference |
10149 | 5845 | |
10150 | 5846 | =begin original |
10151 | 5847 | |
10152 | 5848 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
10153 | 5849 | subroutine), but found a reference to something else instead. You can |
10154 | 5850 | use the ref() function to find out what kind of ref it really was. See |
10155 | 5851 | also L<perlref>. |
10156 | 5852 | |
10157 | 5853 | =end original |
10158 | 5854 | |
10159 | (F) Perl がコード値 (サブルー | |
5855 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
10160 | 5856 | 評価しようとしましたが、別のものへのリファレンスでした。 |
10161 | 5857 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10162 | 5858 | 使うことができます。 |
10163 | 5859 | L<perlref> も参照してください。 |
10164 | 5860 | |
5861 | =item Not a format reference | |
5862 | ||
5863 | =begin original | |
5864 | ||
5865 | (F) I'm not sure how you managed to generate a reference to an anonymous | |
5866 | format, but this indicates you did, and that it didn't exist. | |
5867 | ||
5868 | =end original | |
5869 | ||
5870 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは | |
5871 | わかりませんが、このメッセージは、それが指定されて、 | |
5872 | 存在しなかったことを示します。 | |
5873 | ||
10165 | 5874 | =item Not a GLOB reference |
10166 | 5875 | |
10167 | 5876 | =begin original |
10168 | 5877 | |
10169 | 5878 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
10170 | 5879 | symbol table entry that looks like C<*foo>), but found a reference to |
10171 | 5880 | something else instead. You can use the ref() function to find out what |
10172 | 5881 | kind of ref it really was. See L<perlref>. |
10173 | 5882 | |
10174 | 5883 | =end original |
10175 | 5884 | |
10176 | 5885 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
10177 | 5886 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
10178 | 5887 | 別のものへのリファレンスでした。 |
10179 | 5888 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10180 | 5889 | 使うことができます。 |
10181 | 5890 | L<perlref> を参照してください。 |
10182 | 5891 | |
10183 | 5892 | =item Not a HASH reference |
10184 | 5893 | |
10185 | 5894 | =begin original |
10186 | 5895 | |
10187 | 5896 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
10188 | 5897 | reference to something else instead. You can use the ref() function to |
10189 | 5898 | find out what kind of ref it really was. See L<perlref>. |
10190 | 5899 | |
10191 | 5900 | =end original |
10192 | 5901 | |
10193 | 5902 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
10194 | 5903 | 別のものへのリファレンスでした。 |
10195 | 5904 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10196 | 5905 | 使うことができます。 |
10197 | 5906 | L<perlref> を参照してください。 |
10198 | 5907 | |
10199 | =item '#' not allowed immediately following a sigil in a subroutine signature | |
10200 | ||
10201 | =begin original | |
10202 | ||
10203 | (F) In a subroutine signature definition, a comment following a sigil | |
10204 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in | |
10205 | particular to avoid confusion with the C<$#> variable. For example: | |
10206 | ||
10207 | =end original | |
10208 | ||
10209 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く | |
10210 | コメントは、特に C<$#> 変数との混乱を避けるために、 | |
10211 | 空白やカンマなどで分ける必要があります; | |
10212 | 例えば: | |
10213 | ||
10214 | # bad | |
10215 | sub f ($# ignore first arg | |
10216 | , $b) {} | |
10217 | # good | |
10218 | sub f ($, # ignore first arg | |
10219 | $b) {} | |
10220 | ||
10221 | 5908 | =item Not an ARRAY reference |
10222 | 5909 | |
10223 | 5910 | =begin original |
10224 | 5911 | |
10225 | 5912 | (F) Perl was trying to evaluate a reference to an array value, but found |
10226 | 5913 | a reference to something else instead. You can use the ref() function |
10227 | 5914 | to find out what kind of ref it really was. See L<perlref>. |
10228 | 5915 | |
10229 | 5916 | =end original |
10230 | 5917 | |
10231 | 5918 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
10232 | 5919 | 別のものへのリファレンスでした。 |
10233 | 5920 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10234 | 5921 | 使うことができます。 |
10235 | 5922 | L<perlref> を参照してください。 |
10236 | 5923 | |
5924 | =item Not a perl script | |
5925 | ||
5926 | =begin original | |
5927 | ||
5928 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
5929 | even on machines that don't support the #! construct. The line must | |
5930 | mention perl. | |
5931 | ||
5932 | =end original | |
5933 | ||
5934 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
5935 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
5936 | この行で指定されるのは、perl でなければなりません。 | |
5937 | ||
10237 | 5938 | =item Not a SCALAR reference |
10238 | 5939 | |
10239 | 5940 | =begin original |
10240 | 5941 | |
10241 | 5942 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
10242 | 5943 | a reference to something else instead. You can use the ref() function |
10243 | 5944 | to find out what kind of ref it really was. See L<perlref>. |
10244 | 5945 | |
10245 | 5946 | =end original |
10246 | 5947 | |
10247 | 5948 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
10248 | 5949 | 別のものへのリファレンスでした。 |
10249 | 5950 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10250 | 5951 | 使うことができます。 |
10251 | 5952 | L<perlref> を参照してください。 |
10252 | 5953 | |
10253 | 5954 | =item Not a subroutine reference |
10254 | 5955 | |
10255 | 5956 | =begin original |
10256 | 5957 | |
10257 | 5958 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
10258 | 5959 | subroutine), but found a reference to something else instead. You can |
10259 | 5960 | use the ref() function to find out what kind of ref it really was. See |
10260 | 5961 | also L<perlref>. |
10261 | 5962 | |
10262 | 5963 | =end original |
10263 | 5964 | |
10264 | (F) Perl がコード値 (サブルー | |
5965 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
10265 | 5966 | 評価しようとしましたが、別のものへのリファレンスでした。 |
10266 | 5967 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
10267 | 5968 | 使うことができます。 |
10268 | 5969 | L<perlref> も参照してください。 |
10269 | 5970 | |
10270 | 5971 | =item Not a subroutine reference in overload table |
10271 | 5972 | |
10272 | 5973 | =begin original |
10273 | 5974 | |
10274 | 5975 | (F) An attempt was made to specify an entry in an overloading table that |
10275 | 5976 | doesn't somehow point to a valid subroutine. See L<overload>. |
10276 | 5977 | |
10277 | 5978 | =end original |
10278 | 5979 | |
10279 | (F) 多重定義テーブルで、有効なサブルー | |
5980 | (F) 多重定義テーブルで、有効なサブルーティンを指していないエントリを | |
10280 | 5981 | 指定しようとしました。 |
10281 | 5982 | L<overload> を参照してください。 |
10282 | 5983 | |
10283 | 5984 | =item Not enough arguments for %s |
10284 | 5985 | |
10285 | 5986 | =begin original |
10286 | 5987 | |
10287 | 5988 | (F) The function requires more arguments than you specified. |
10288 | 5989 | |
10289 | 5990 | =end original |
10290 | 5991 | |
10291 | 5992 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
10292 | 5993 | |
10293 | 5994 | =item Not enough format arguments |
10294 | 5995 | |
10295 | 5996 | =begin original |
10296 | 5997 | |
10297 | 5998 | (W syntax) A format specified more picture fields than the next line |
10298 | 5999 | supplied. See L<perlform>. |
10299 | 6000 | |
10300 | 6001 | =end original |
10301 | 6002 | |
10302 | 6003 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
10303 | 6004 | ピクチャフィールドがあります。 |
10304 | 6005 | L<perlform> を参照してください。 |
10305 | 6006 | |
10306 | 6007 | =item %s: not found |
10307 | 6008 | |
10308 | 6009 | =begin original |
10309 | 6010 | |
10310 | 6011 | (A) You've accidentally run your script through the Bourne shell instead |
10311 | 6012 | of Perl. Check the #! line, or manually feed your script into Perl |
10312 | 6013 | yourself. |
10313 | 6014 | |
10314 | 6015 | =end original |
10315 | 6016 | |
10316 | (A) スクリプトを | |
6017 | (A) スクリプトを Perl ではなく Bourne shell で実行しようとしています。 | |
10317 | #! | |
6018 | #! ラインをチェックするか、手動でスクリプトを Perl に渡してください。 | |
10318 | 6019 | |
10319 | 6020 | =item no UTC offset information; assuming local time is UTC |
10320 | 6021 | |
10321 | 6022 | =begin original |
10322 | 6023 | |
10323 | 6024 | (S) A warning peculiar to VMS. Perl was unable to find the local |
10324 | 6025 | timezone offset, so it's assuming that local system time is equivalent |
10325 | 6026 | to UTC. If it's not, define the logical name |
10326 | 6027 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
10327 | 6028 | need to be added to UTC to get local time. |
10328 | 6029 | |
10329 | 6030 | =end original |
10330 | 6031 | |
10331 | (S) VMS | |
6032 | (S) VMS 固有の警告です。 | |
10332 | 6033 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
10333 | 6034 | ローカルシステムタイムは UTC と等価であると仮定します。 |
10334 | 6035 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
10335 | 6036 | 時刻を得るために加える必要がある秒数を定義してください。 |
10336 | 6037 | |
6038 | =item Non-string passed as bitmask | |
6039 | ||
6040 | =begin original | |
6041 | ||
6042 | (W misc) A number has been passed as a bitmask argument to select(). | |
6043 | Use the vec() function to construct the file descriptor bitmasks for | |
6044 | select. See L<perlfunc/select> | |
6045 | ||
6046 | =end original | |
6047 | ||
6048 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
6049 | select のためのファイル記述子のビットマスクを構成するには、 | |
6050 | vec() 関数を使ってください。 | |
6051 | L<perlfunc/select> を参照してください。 | |
6052 | ||
6053 | =item Null filename used | |
6054 | ||
6055 | =begin original | |
6056 | ||
6057 | (F) You can't require the null filename, especially because on many | |
6058 | machines that means the current directory! See L<perlfunc/require>. | |
6059 | ||
6060 | =end original | |
6061 | ||
6062 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 | |
6063 | 空のファイル名は require できません! | |
6064 | L<perlfunc/require> を参照してください。 | |
6065 | ||
10337 | 6066 | =item NULL OP IN RUN |
10338 | 6067 | |
10339 | 6068 | =begin original |
10340 | 6069 | |
10341 | ( | |
6070 | (P debugging) Some internal routine called run() with a null opcode | |
10342 | 6071 | pointer. |
10343 | 6072 | |
10344 | 6073 | =end original |
10345 | 6074 | |
10346 | ( | |
6075 | (P debugging) 内部ルーティンで、ヌル opcode ポインタで run() を | |
10347 | 6076 | 呼んだものがあります。 |
10348 | 6077 | |
10349 | 6078 | =item Null picture in formline |
10350 | 6079 | |
10351 | 6080 | =begin original |
10352 | 6081 | |
10353 | 6082 | (F) The first argument to formline must be a valid format picture |
10354 | 6083 | specification. It was found to be empty, which probably means you |
10355 | 6084 | supplied it an uninitialized value. See L<perlform>. |
10356 | 6085 | |
10357 | 6086 | =end original |
10358 | 6087 | |
10359 | 6088 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
10360 | 6089 | なりません。 |
10361 | 6090 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
10362 | 6091 | L<perlform> を参照してください。 |
10363 | 6092 | |
10364 | 6093 | =item Null realloc |
10365 | 6094 | |
10366 | 6095 | =begin original |
10367 | 6096 | |
10368 | 6097 | (P) An attempt was made to realloc NULL. |
10369 | 6098 | |
10370 | 6099 | =end original |
10371 | 6100 | |
10372 | 6101 | (P) realloc NULL を行なおうとしました。 |
10373 | 6102 | |
10374 | 6103 | =item NULL regexp argument |
10375 | 6104 | |
10376 | 6105 | =begin original |
10377 | 6106 | |
10378 | 6107 | (P) The internal pattern matching routines blew it big time. |
10379 | 6108 | |
10380 | 6109 | =end original |
10381 | 6110 | |
10382 | 6111 | (P) 内部パターンマッチルーティンが、大当たりです。 |
10383 | 6112 | |
10384 | 6113 | =item NULL regexp parameter |
10385 | 6114 | |
10386 | 6115 | =begin original |
10387 | 6116 | |
10388 | 6117 | (P) The internal pattern matching routines are out of their gourd. |
10389 | 6118 | |
10390 | 6119 | =end original |
10391 | 6120 | |
10392 | 6121 | (P) 内部パターンマッチルーティンが、狂っています。 |
10393 | 6122 | |
10394 | 6123 | =item Number too long |
10395 | 6124 | |
10396 | 6125 | =begin original |
10397 | 6126 | |
10398 | 6127 | (F) Perl limits the representation of decimal numbers in programs to |
10399 | 6128 | about 250 characters. You've exceeded that length. Future |
10400 | 6129 | versions of Perl are likely to eliminate this arbitrary limitation. In |
10401 | 6130 | the meantime, try using scientific notation (e.g. "1e6" instead of |
10402 | 6131 | "1_000_000"). |
10403 | 6132 | |
10404 | 6133 | =end original |
10405 | 6134 | |
10406 | 6135 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 |
10407 | 6136 | この制限を越えました。 |
10408 | 6137 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
10409 | 6138 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
10410 | 6139 | 使用してください。 |
10411 | 6140 | |
10412 | =item | |
6141 | =item Octal number in vector unsupported | |
10413 | 6142 | |
10414 | 6143 | =begin original |
10415 | 6144 | |
10416 | (F) | |
6145 | (F) Numbers with a leading C<0> are not currently allowed in vectors. | |
10417 | a number | |
6146 | The octal number interpretation of such numbers may be supported in a | |
10418 | t | |
6147 | future version. | |
10419 | 6148 | |
10420 | 6149 | =end original |
10421 | 6150 | |
10422 | ||
6151 | 頭に C<0> の付いた数値は現在のところベクタとしては使えません。 | |
10423 | こ | |
6152 | このような数値を 8 進数として解釈する機能は将来のバージョンで | |
6153 | 対応されるでしょう。 | |
10424 | 6154 | |
10425 | =item Numeric format result too large | |
10426 | ||
10427 | =begin original | |
10428 | ||
10429 | (F) The length of the result of a numeric format supplied to sprintf() | |
10430 | or printf() would have been too large for the underlying C function to | |
10431 | report. This limit is typically 2GB. | |
10432 | ||
10433 | =end original | |
10434 | ||
10435 | (F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、 | |
10436 | 報告するための基礎となる C 関数にとって大きすぎました。 | |
10437 | この制限は典型的には 2GB です。 | |
10438 | ||
10439 | =item Numeric variables with more than one digit may not start with '0' | |
10440 | ||
10441 | =begin original | |
10442 | ||
10443 | (F) The only numeric variable which is allowed to start with a 0 is C<$0>, | |
10444 | and you mentioned a variable that starts with 0 that has more than one | |
10445 | digit. You probably want to remove the leading 0, or if the intent was | |
10446 | to express a variable name in octal you should convert to decimal. | |
10447 | ||
10448 | =end original | |
10449 | ||
10450 | (F) 0 で始まることが許されている唯一の数値変数は C<$0> で、 | |
10451 | 0 で始まり複数桁ある変数に言及しました。 | |
10452 | おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、 | |
10453 | 10 進数に変換する必要があります。 | |
10454 | ||
10455 | 6155 | =item Octal number > 037777777777 non-portable |
10456 | 6156 | |
10457 | 6157 | =begin original |
10458 | 6158 | |
10459 | 6159 | (W portable) The octal number you specified is larger than 2**32-1 |
10460 | 6160 | (4294967295) and therefore non-portable between systems. See |
10461 | 6161 | L<perlport> for more on portability concerns. |
10462 | 6162 | |
10463 | 6163 | =end original |
10464 | 6164 | |
10465 | 6165 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
10466 | 6166 | システム間で移植性がありません。 |
10467 | 6167 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
10468 | 6168 | |
10469 | =item Odd name/value argument for subroutine '%s' | |
10470 | ||
10471 | 6169 | =begin original |
10472 | 6170 | |
10473 | ||
6171 | See also L<perlport> for writing portable code. | |
10474 | received an odd number of arguments to populate the hash. It requires | |
10475 | the arguments to be paired, with the same number of keys as values. | |
10476 | The caller of the subroutine is presumably at fault. | |
10477 | 6172 | |
10478 | 6173 | =end original |
10479 | 6174 | |
10480 | ||
6175 | 移植性のあるコードの書き方についても L<perlport> を参照してください。 | |
10481 | ハッシュに展開するために奇数の数の引数を受け取りました。 | |
10482 | 引数は、同じ数のキーと値のペアになっていることが必要です。 | |
10483 | サブルーチンの呼び出しものがおそらく間違えているのでしょう。 | |
10484 | 6176 | |
10485 | =begin original | |
10486 | ||
10487 | The message attempts to include the name of the called subroutine. If the | |
10488 | subroutine has been aliased, the subroutine's original name will be shown, | |
10489 | regardless of what name the caller used. | |
10490 | ||
10491 | =end original | |
10492 | ||
10493 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
10494 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
10495 | 元の名前が表示されます。 | |
10496 | ||
10497 | 6177 | =item Odd number of arguments for overload::constant |
10498 | 6178 | |
10499 | 6179 | =begin original |
10500 | 6180 | |
10501 | 6181 | (W overload) The call to overload::constant contained an odd number of |
10502 | arguments. | |
6182 | arguments. The arguments should come in pairs. | |
10503 | 6183 | |
10504 | 6184 | =end original |
10505 | 6185 | |
10506 | 6186 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 |
10507 | 6187 | 引数はペアになっている必要があります。 |
10508 | 6188 | |
10509 | 6189 | =item Odd number of elements in anonymous hash |
10510 | 6190 | |
10511 | 6191 | =begin original |
10512 | 6192 | |
10513 | 6193 | (W misc) You specified an odd number of elements to initialize a hash, |
10514 | 6194 | which is odd, because hashes come in key/value pairs. |
10515 | 6195 | |
10516 | 6196 | =end original |
10517 | 6197 | |
10518 | (W misc) ハッシュリストへの要素の数が奇数でした | |
6198 | (W misc) ハッシュリストへの要素の数が奇数でした。 | |
10519 | key/value のペアで与えられますから、 | |
6199 | ハッシュリストは、key/value のペアで与えられますから、 | |
6200 | これは奇妙なことです。 | |
10520 | 6201 | |
10521 | 6202 | =item Odd number of elements in hash assignment |
10522 | 6203 | |
10523 | 6204 | =begin original |
10524 | 6205 | |
10525 | 6206 | (W misc) You specified an odd number of elements to initialize a hash, |
10526 | 6207 | which is odd, because hashes come in key/value pairs. |
10527 | 6208 | |
10528 | 6209 | =end original |
10529 | 6210 | |
10530 | (W misc) ハッシュリストへの要素の数が奇数でした | |
6211 | (W misc) ハッシュリストへの要素の数が奇数でした。 | |
10531 | key/value のペアで与えられますから、 | |
6212 | ハッシュリストは、key/value のペアで与えられますから、 | |
6213 | これは奇妙なことです。 | |
10532 | 6214 | |
10533 | 6215 | =item Offset outside string |
10534 | 6216 | |
10535 | 6217 | =begin original |
10536 | 6218 | |
10537 | (F) | |
6219 | (F) You tried to do a read/write/send/recv operation with an offset | |
10538 | ||
6220 | pointing outside the buffer. This is difficult to imagine. The sole | |
10539 | ||
6221 | exception to this is that C<sysread()>ing past the buffer will extend | |
10540 | t | |
6222 | the buffer and zero pad the new area. | |
10541 | C<sysread()>ing a file, or when seeking past the end of a scalar opened | |
10542 | for I/O (in anticipation of future reads and to imitate the behavior | |
10543 | with real files). | |
10544 | 6223 | |
10545 | 6224 | =end original |
10546 | 6225 | |
10547 | (F) | |
6226 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を | |
10548 | 6227 | しようとしました。 |
10549 | 6228 | これは想像しにくいことです。 |
10550 | 唯一の例外は、ファ | |
6229 | 唯一の例外は、バッファを通り過ぎて C<sysread()> するとバッファが | |
10551 | ||
6230 | 拡張され、新しいエリアには 0 でパッディングされます。 | |
10552 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 | |
10553 | 0 でパッディングされたときです。 | |
10554 | 6231 | |
10555 | =item Old package separator used in string | |
10556 | ||
10557 | =begin original | |
10558 | ||
10559 | (W syntax) You used the old package separator, "'", in a variable | |
10560 | named inside a double-quoted string; e.g., C<"In $name's house">. This | |
10561 | is equivalent to C<"In $name::s house">. If you meant the former, put | |
10562 | a backslash before the apostrophe (C<"In $name\'s house">). | |
10563 | ||
10564 | =end original | |
10565 | ||
10566 | (W syntax) ダブルクォートされた文字列の中の変数名で、 | |
10567 | C<"In $name's house"> のように、 | |
10568 | 古いパッケージ区切り文字である "'" を使いました。 | |
10569 | これは C<"In $name::s house"> と等価です。 | |
10570 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
10571 | (C<"In $name\'s house">)。 | |
10572 | ||
10573 | 6232 | =item %s() on unopened %s |
10574 | 6233 | |
10575 | 6234 | =begin original |
10576 | 6235 | |
10577 | 6236 | (W unopened) An I/O operation was attempted on a filehandle that was |
10578 | 6237 | never initialized. You need to do an open(), a sysopen(), or a socket() |
10579 | 6238 | call, or call a constructor from the FileHandle package. |
10580 | 6239 | |
10581 | 6240 | =end original |
10582 | 6241 | |
10583 | 6242 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
10584 | 6243 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
10585 | 6244 | コンストラクタを呼び出す必要があります。 |
10586 | 6245 | |
10587 | 6246 | =item -%s on unopened filehandle %s |
10588 | 6247 | |
10589 | 6248 | =begin original |
10590 | 6249 | |
10591 | 6250 | (W unopened) You tried to invoke a file test operator on a filehandle |
10592 | 6251 | that isn't open. Check your control flow. See also L<perlfunc/-X>. |
10593 | 6252 | |
10594 | 6253 | =end original |
10595 | 6254 | |
10596 | 6255 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を |
10597 | 6256 | 使おうとしました。 |
10598 | 6257 | 制御フローをチェックしてください。 |
10599 | 6258 | L<perlfunc/-X> も参照してください。 |
10600 | 6259 | |
10601 | 6260 | =item oops: oopsAV |
10602 | 6261 | |
10603 | 6262 | =begin original |
10604 | 6263 | |
10605 | 6264 | (S internal) An internal warning that the grammar is screwed up. |
10606 | 6265 | |
10607 | 6266 | =end original |
10608 | 6267 | |
10609 | 6268 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
10610 | 6269 | |
10611 | 6270 | =item oops: oopsHV |
10612 | 6271 | |
10613 | 6272 | =begin original |
10614 | 6273 | |
10615 | 6274 | (S internal) An internal warning that the grammar is screwed up. |
10616 | 6275 | |
10617 | 6276 | =end original |
10618 | 6277 | |
10619 | 6278 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
10620 | 6279 | |
10621 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in | |
10622 | m/%s/ | |
10623 | ||
10624 | =begin original | |
10625 | ||
10626 | (F) You wrote something like | |
10627 | ||
10628 | =end original | |
10629 | ||
10630 | (F) 以下のようなものを書きました | |
10631 | ||
10632 | (?[ \p{Digit} \p{Thai} ]) | |
10633 | ||
10634 | =begin original | |
10635 | ||
10636 | There are two operands, but no operator giving how you want to combine | |
10637 | them. | |
10638 | ||
10639 | =end original | |
10640 | ||
10641 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
10642 | 演算子がありません。 | |
10643 | ||
10644 | 6280 | =item Operation "%s": no method found, %s |
10645 | 6281 | |
10646 | 6282 | =begin original |
10647 | 6283 | |
10648 | 6284 | (F) An attempt was made to perform an overloaded operation for which no |
10649 | 6285 | handler was defined. While some handlers can be autogenerated in terms |
10650 | 6286 | of other handlers, there is no default handler for any operation, unless |
10651 | ||
6287 | C<fallback> overloading key is specified to be true. See L<overload>. | |
10652 | 6288 | |
10653 | 6289 | =end original |
10654 | 6290 | |
10655 | 6291 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
10656 | 6292 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
10657 | 6293 | オーバーロードキーが真に指定されていない限り、どの動作にも |
10658 | 6294 | デフォルトのハンドラはありません。 |
10659 | 6295 | L<overload> を参照してください。 |
10660 | 6296 | |
10661 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X | |
10662 | ||
10663 | =begin original | |
10664 | ||
10665 | (S non_unicode) You performed an operation requiring Unicode rules | |
10666 | on a code point that is not in Unicode, so what it should do is not | |
10667 | defined. Perl has chosen to have it do nothing, and warn you. | |
10668 | ||
10669 | =end original | |
10670 | ||
10671 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が | |
10672 | 必要な操作を実行しました; 何をするべきかは未定義です。 | |
10673 | Perl は何もしないことを選択し、警告を出します。 | |
10674 | ||
10675 | =begin original | |
10676 | ||
10677 | If the operation shown is "ToFold", it means that case-insensitive | |
10678 | matching in a regular expression was done on the code point. | |
10679 | ||
10680 | =end original | |
10681 | ||
10682 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
10683 | その符号位置に対して行われたということです。 | |
10684 | ||
10685 | =begin original | |
10686 | ||
10687 | If you know what you are doing you can turn off this warning by | |
10688 | C<no warnings 'non_unicode';>. | |
10689 | ||
10690 | =end original | |
10691 | ||
10692 | 自分で何をしているのかが分かっているなら、 | |
10693 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 | |
10694 | ||
10695 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X | |
10696 | ||
10697 | =begin original | |
10698 | ||
10699 | (S surrogate) You performed an operation requiring Unicode | |
10700 | rules on a Unicode surrogate. Unicode frowns upon the use | |
10701 | of surrogates for anything but storing strings in UTF-16, but | |
10702 | rules are (reluctantly) defined for the surrogates, and | |
10703 | they are to do nothing for this operation. Because the use of | |
10704 | surrogates can be dangerous, Perl warns. | |
10705 | ||
10706 | =end original | |
10707 | ||
10708 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な | |
10709 | 操作を実行しました。 | |
10710 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに | |
10711 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは | |
10712 | この操作に対して何もしないことです。 | |
10713 | サロゲートの使用は危険かも知れないので、Perl は警告します。 | |
10714 | ||
10715 | =begin original | |
10716 | ||
10717 | If the operation shown is "ToFold", it means that case-insensitive | |
10718 | matching in a regular expression was done on the code point. | |
10719 | ||
10720 | =end original | |
10721 | ||
10722 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
10723 | その符号位置に対して行われたということです。 | |
10724 | ||
10725 | =begin original | |
10726 | ||
10727 | If you know what you are doing you can turn off this warning by | |
10728 | C<no warnings 'surrogate';>. | |
10729 | ||
10730 | =end original | |
10731 | ||
10732 | 自分で何をしているのかが分かっているなら、 | |
10733 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
10734 | ||
10735 | 6297 | =item Operator or semicolon missing before %s |
10736 | 6298 | |
10737 | 6299 | =begin original |
10738 | 6300 | |
10739 | 6301 | (S ambiguous) You used a variable or subroutine call where the parser |
10740 | 6302 | was expecting an operator. The parser has assumed you really meant to |
10741 | 6303 | use an operator, but this is highly likely to be incorrect. For |
10742 | 6304 | example, if you say "*foo *foo" it will be interpreted as if you said |
10743 | 6305 | "*foo * 'foo'". |
10744 | 6306 | |
10745 | 6307 | =end original |
10746 | 6308 | |
10747 | 6309 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
10748 | 6310 | 呼び出しが使われました。 |
10749 | 6311 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
10750 | 6312 | これは大抵正しくありません。 |
10751 | 6313 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
10752 | 6314 | |
10753 | =item Optional parameter lacks default expression | |
10754 | ||
10755 | =begin original | |
10756 | ||
10757 | (F) In a subroutine signature, you wrote something like "$a =", making a | |
10758 | named optional parameter without a default value. A nameless optional | |
10759 | parameter is permitted to have no default value, but a named one must | |
10760 | have a specific default. You probably want "$a = undef". | |
10761 | ||
10762 | =end original | |
10763 | ||
10764 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き | |
10765 | オプション引数を書きました。 | |
10766 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 | |
10767 | 名前付きのものはデフォルトを指定しなければなりません。 | |
10768 | おそらく "$a = undef" としたかったのでしょう。 | |
10769 | ||
10770 | 6315 | =item "our" variable %s redeclared |
10771 | 6316 | |
10772 | 6317 | =begin original |
10773 | 6318 | |
10774 | (W s | |
6319 | (W misc) You seem to have already declared the same global once before | |
10775 | 6320 | in the current lexical scope. |
10776 | 6321 | |
10777 | 6322 | =end original |
10778 | 6323 | |
10779 | (W s | |
6324 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
10780 | 6325 | 宣言しているようです。 |
10781 | 6326 | |
10782 | 6327 | =item Out of memory! |
10783 | 6328 | |
10784 | 6329 | =begin original |
10785 | 6330 | |
10786 | 6331 | (X) The malloc() function returned 0, indicating there was insufficient |
10787 | 6332 | remaining memory (or virtual memory) to satisfy the request. Perl has |
10788 | 6333 | no option but to exit immediately. |
10789 | 6334 | |
10790 | 6335 | =end original |
10791 | 6336 | |
10792 | 6337 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
10793 | 6338 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
10794 | 6339 | Perl は直ちに終了するしかありませんでした。 |
10795 | 6340 | |
10796 | 6341 | =begin original |
10797 | 6342 | |
10798 | 6343 | At least in Unix you may be able to get past this by increasing your |
10799 | 6344 | process datasize limits: in csh/tcsh use C<limit> and |
10800 | 6345 | C<limit datasize n> (where C<n> is the number of kilobytes) to check |
10801 | 6346 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> |
10802 | 6347 | and C<ulimit -d n>, respectively. |
10803 | 6348 | |
10804 | 6349 | =end original |
10805 | 6350 | |
10806 | 6351 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって |
10807 | 6352 | これを回避することが可能です: |
10808 | 6353 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには |
10809 | 6354 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; |
10810 | 6355 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 |
10811 | 6356 | |
10812 | 6357 | =item Out of memory during %s extend |
10813 | 6358 | |
10814 | 6359 | =begin original |
10815 | 6360 | |
10816 | 6361 | (X) An attempt was made to extend an array, a list, or a string beyond |
10817 | 6362 | the largest possible memory allocation. |
10818 | 6363 | |
10819 | 6364 | =end original |
10820 | 6365 | |
10821 | 6366 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 |
10822 | 6367 | |
10823 | 6368 | =item Out of memory during "large" request for %s |
10824 | 6369 | |
10825 | 6370 | =begin original |
10826 | 6371 | |
10827 | 6372 | (F) The malloc() function returned 0, indicating there was insufficient |
10828 | remaining memory (or virtual memory) to satisfy the request. | |
6373 | remaining memory (or virtual memory) to satisfy the request. However, | |
10829 | 6374 | the request was judged large enough (compile-time default is 64K), so a |
10830 | 6375 | possibility to shut down by trapping this error is granted. |
10831 | 6376 | |
10832 | 6377 | =end original |
10833 | 6378 | |
10834 | 6379 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
10835 | 6380 | (または仮想メモリ)が不十分であることを示しています。 |
10836 | 6381 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
10837 | 6382 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
10838 | 6383 | |
6384 | ||
10839 | 6385 | =item Out of memory during request for %s |
10840 | 6386 | |
10841 | 6387 | =begin original |
10842 | 6388 | |
10843 | (X | |
6389 | (X|F) The malloc() function returned 0, indicating there was | |
10844 | 6390 | insufficient remaining memory (or virtual memory) to satisfy the |
10845 | 6391 | request. |
10846 | 6392 | |
10847 | 6393 | =end original |
10848 | 6394 | |
10849 | (X | |
6395 | (X|F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ | |
10850 | 6396 | (または仮想メモリ)が不十分であることを示しています。 |
10851 | 6397 | |
10852 | 6398 | =begin original |
10853 | 6399 | |
10854 | 6400 | The request was judged to be small, so the possibility to trap it |
10855 | 6401 | depends on the way perl was compiled. By default it is not trappable. |
10856 | 6402 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
10857 | 6403 | emergency pool after die()ing with this message. In this case the error |
10858 | 6404 | is trappable I<once>, and the error message will include the line and file |
10859 | 6405 | where the failed request happened. |
10860 | 6406 | |
10861 | 6407 | =end original |
10862 | 6408 | |
10863 | 6409 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
10864 | 6410 | どのようにコンパイルされたかに依存します。 |
10865 | 6411 | デフォルトではこれはトラップできません。 |
10866 | 6412 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
10867 | 6413 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
10868 | 6414 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
10869 | 6415 | 要求が起きたファイルと行番号を含んでいます。 |
10870 | 6416 | |
10871 | 6417 | =item Out of memory during ridiculously large request |
10872 | 6418 | |
10873 | 6419 | =begin original |
10874 | 6420 | |
10875 | 6421 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
10876 | 6422 | is most likely to be caused by a typo in the Perl program. e.g., |
10877 | 6423 | C<$arr[time]> instead of C<$arr[$time]>. |
10878 | 6424 | |
10879 | 6425 | =end original |
10880 | 6426 | |
10881 | 6427 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
10882 | このエラーはほとんどの場合 | |
6428 | このエラーはほとんどの場合(C<$arr[$time]> の代わりに | |
10883 | ||
6429 | C<$arr[time]> のような) Perl プログラムのタイプミスが原因です。 | |
10884 | 6430 | |
10885 | 6431 | =item Out of memory for yacc stack |
10886 | 6432 | |
10887 | 6433 | =begin original |
10888 | 6434 | |
10889 | 6435 | (F) The yacc parser wanted to grow its stack so it could continue |
10890 | 6436 | parsing, but realloc() wouldn't give it more memory, virtual or |
10891 | 6437 | otherwise. |
10892 | 6438 | |
10893 | 6439 | =end original |
10894 | 6440 | |
10895 | 6441 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
10896 | 6442 | realloc() が仮想やその他のメモリを確保できませんでした。 |
10897 | 6443 | |
10898 | =item '.' outside of string in pack | |
10899 | ||
10900 | =begin original | |
10901 | ||
10902 | (F) The argument to a '.' in your template tried to move the working | |
10903 | position to before the start of the packed string being built. | |
10904 | ||
10905 | =end original | |
10906 | ||
10907 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも | |
10908 | 前に作業位置を移動しようとしました。 | |
10909 | ||
10910 | 6444 | =item '@' outside of string in unpack |
10911 | 6445 | |
10912 | 6446 | =begin original |
10913 | 6447 | |
10914 | 6448 | (F) You had a template that specified an absolute position outside |
10915 | 6449 | the string being unpacked. See L<perlfunc/pack>. |
10916 | 6450 | |
10917 | 6451 | =end original |
10918 | 6452 | |
10919 | 6453 | (F) unpack される文字列の外に絶対位置指定している、 |
10920 | 6454 | テンプレートを指定しました。 |
10921 | 6455 | L<perlfunc/pack> を参照してください。 |
10922 | 6456 | |
10923 | =item '@' outside of string with malformed UTF-8 in unpack | |
10924 | ||
10925 | =begin original | |
10926 | ||
10927 | (F) You had a template that specified an absolute position outside | |
10928 | the string being unpacked. The string being unpacked was also invalid | |
10929 | UTF-8. See L<perlfunc/pack>. | |
10930 | ||
10931 | =end original | |
10932 | ||
10933 | (F) unpack される文字列の外に絶対位置指定している、 | |
10934 | テンプレートを指定しました。 | |
10935 | unpack された文字列は不正な UTF-8 でもあります。 | |
10936 | L<perlfunc/pack> を参照してください。 | |
10937 | ||
10938 | =item overload arg '%s' is invalid | |
10939 | ||
10940 | =begin original | |
10941 | ||
10942 | (W overload) The L<overload> pragma was passed an argument it did not | |
10943 | recognize. Did you mistype an operator? | |
10944 | ||
10945 | =end original | |
10946 | ||
10947 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 | |
10948 | 演算子をタイプミスしましたか? | |
10949 | ||
10950 | =item Overloaded dereference did not return a reference | |
10951 | ||
10952 | =begin original | |
10953 | ||
10954 | (F) An object with an overloaded dereference operator was dereferenced, | |
10955 | but the overloaded operation did not return a reference. See | |
10956 | L<overload>. | |
10957 | ||
10958 | =end original | |
10959 | ||
10960 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが | |
10961 | デリファレンスされましたが、オーバーロード演算がリファレンスを | |
10962 | 返しませんでした。 | |
10963 | L<overload> を参照してください。 | |
10964 | ||
10965 | =item Overloaded qr did not return a REGEXP | |
10966 | ||
10967 | =begin original | |
10968 | ||
10969 | (F) An object with a C<qr> overload was used as part of a match, but the | |
10970 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
10971 | ||
10972 | =end original | |
10973 | ||
10974 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として | |
10975 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を | |
10976 | 返しませんでした。 | |
10977 | L<overload> を参照してください。 | |
10978 | ||
10979 | 6457 | =item %s package attribute may clash with future reserved word: %s |
10980 | 6458 | |
10981 | 6459 | =begin original |
10982 | 6460 | |
10983 | 6461 | (W reserved) A lowercase attribute name was used that had a |
10984 | 6462 | package-specific handler. That name might have a meaning to Perl itself |
10985 | 6463 | some day, even though it doesn't yet. Perhaps you should use a |
10986 | 6464 | mixed-case attribute name, instead. See L<attributes>. |
10987 | 6465 | |
10988 | 6466 | =end original |
10989 | 6467 | |
10990 | 6468 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
10991 | 6469 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
10992 | 6470 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
10993 | 6471 | L<attributes> を参照してください。 |
10994 | 6472 | |
10995 | 6473 | =item pack/unpack repeat count overflow |
10996 | 6474 | |
10997 | 6475 | =begin original |
10998 | 6476 | |
10999 | 6477 | (F) You can't specify a repeat count so large that it overflows your |
11000 | 6478 | signed integers. See L<perlfunc/pack>. |
11001 | 6479 | |
11002 | 6480 | =end original |
11003 | 6481 | |
11004 | 6482 | (F) 繰り返し回数として符号付き整数をオーバーフローするような |
11005 | 6483 | 値は指定できません。 |
11006 | L<perlfunc/pack> を参照してください。 | |
6484 | L<perlfunc/unpack> を参照してください。 | |
11007 | 6485 | |
11008 | 6486 | =item page overflow |
11009 | 6487 | |
11010 | 6488 | =begin original |
11011 | 6489 | |
11012 | 6490 | (W io) A single call to write() produced more lines than can fit on a |
11013 | 6491 | page. See L<perlform>. |
11014 | 6492 | |
11015 | 6493 | =end original |
11016 | 6494 | |
11017 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
6495 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
11018 | できました。 | |
6496 | 多くの行ができました。 | |
11019 | 6497 | L<perlform> を参照してください。 |
11020 | 6498 | |
11021 | 6499 | =item panic: %s |
11022 | 6500 | |
11023 | 6501 | =begin original |
11024 | 6502 | |
11025 | 6503 | (P) An internal error. |
11026 | 6504 | |
11027 | 6505 | =end original |
11028 | 6506 | |
11029 | 6507 | (P) 内部エラーです。 |
11030 | 6508 | |
11031 | =item panic: | |
6509 | =item panic: ck_grep | |
11032 | 6510 | |
11033 | 6511 | =begin original |
11034 | 6512 | |
11035 | (P) | |
6513 | (P) Failed an internal consistency check trying to compile a grep. | |
11036 | an ACL related-function, but that function is not available on this | |
11037 | platform. Earlier checks mean that it should not be possible to | |
11038 | enter this branch on this platform. | |
11039 | 6514 | |
11040 | 6515 | =end original |
11041 | 6516 | |
11042 | (P) | |
6517 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
11043 | ||
6518 | 引っ掛かりました。 | |
11044 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように | |
11045 | するべきことを意味します。 | |
11046 | 6519 | |
11047 | =item panic: c | |
6520 | =item panic: ck_split | |
11048 | 6521 | |
11049 | 6522 | =begin original |
11050 | 6523 | |
11051 | (P) | |
6524 | (P) Failed an internal consistency check trying to compile a split. | |
11052 | was not scheduled within the time period allowed and therefore was not | |
11053 | able to initialize properly. | |
11054 | 6525 | |
11055 | 6526 | =end original |
11056 | 6527 | |
11057 | (P) | |
6528 | (P) split をコンパイルしようとして、内部の一貫性チェックに | |
11058 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
11059 | ||
11060 | =item panic: ck_grep, type=%u | |
11061 | ||
11062 | =begin original | |
11063 | ||
11064 | (P) Failed an internal consistency check trying to compile a grep. | |
11065 | ||
11066 | =end original | |
11067 | ||
11068 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
11069 | 6529 | 引っ掛かりました。 |
11070 | 6530 | |
11071 | =item panic: corrupt saved stack index | |
6531 | =item panic: corrupt saved stack index | |
11072 | 6532 | |
11073 | 6533 | =begin original |
11074 | 6534 | |
11075 | 6535 | (P) The savestack was requested to restore more localized values than |
11076 | 6536 | there are in the savestack. |
11077 | 6537 | |
11078 | 6538 | =end original |
11079 | 6539 | |
11080 | 6540 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
11081 | 6541 | 要求がありました。 |
11082 | 6542 | |
11083 | 6543 | =item panic: del_backref |
11084 | 6544 | |
11085 | 6545 | =begin original |
11086 | 6546 | |
11087 | 6547 | (P) Failed an internal consistency check while trying to reset a weak |
11088 | 6548 | reference. |
11089 | 6549 | |
11090 | 6550 | =end original |
11091 | 6551 | |
11092 | 6552 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
11093 | 6553 | 一貫性チェックに引っ掛かりました。 |
11094 | 6554 | |
6555 | =item panic: Devel::DProf inconsistent subroutine return | |
6556 | ||
6557 | =begin original | |
6558 | ||
6559 | (P) Devel::DProf called a subroutine that exited using goto(LABEL), | |
6560 | last(LABEL) or next(LABEL). Leaving that way a subroutine called from | |
6561 | an XSUB will lead very probably to a crash of the interpreter. This is | |
6562 | a bug that will hopefully one day get fixed. | |
6563 | ||
6564 | =end original | |
6565 | ||
6566 | (P) Devel::DProf が goto(LABEL), last(LABEL), next(LABEL) を使って | |
6567 | 終了したサブルーチンを呼び出しました。 | |
6568 | XSUB から呼び出されたサブルーチンをこのような方法で離れると、 | |
6569 | インタプリタをクラッシュさせる可能性がとても高いです。 | |
6570 | これはいつか修正されてほしいバグです。 | |
6571 | ||
6572 | =item panic: die %s | |
6573 | ||
6574 | =begin original | |
6575 | ||
6576 | (P) We popped the context stack to an eval context, and then discovered | |
6577 | it wasn't an eval context. | |
6578 | ||
6579 | =end original | |
6580 | ||
6581 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
6582 | eval コンテキストでないことがわかりました。 | |
6583 | ||
11095 | 6584 | =item panic: do_subst |
11096 | 6585 | |
11097 | 6586 | =begin original |
11098 | 6587 | |
11099 | 6588 | (P) The internal pp_subst() routine was called with invalid operational |
11100 | 6589 | data. |
11101 | 6590 | |
11102 | 6591 | =end original |
11103 | 6592 | |
11104 | 6593 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを |
11105 | 6594 | 付けて呼ばれました。 |
11106 | 6595 | |
11107 | 6596 | =item panic: do_trans_%s |
11108 | 6597 | |
11109 | 6598 | =begin original |
11110 | 6599 | |
11111 | 6600 | (P) The internal do_trans routines were called with invalid operational |
11112 | 6601 | data. |
11113 | 6602 | |
11114 | 6603 | =end original |
11115 | 6604 | |
11116 | 6605 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを |
11117 | 6606 | 付けて呼ばれました。 |
11118 | 6607 | |
11119 | =item panic: f | |
6608 | =item panic: frexp | |
11120 | 6609 | |
11121 | 6610 | =begin original |
11122 | 6611 | |
11123 | (P) While attempting folding constants an exception other than an C<eval> | |
11124 | failure was caught. | |
11125 | ||
11126 | =end original | |
11127 | ||
11128 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 | |
11129 | ||
11130 | =item panic: frexp: %f | |
11131 | ||
11132 | =begin original | |
11133 | ||
11134 | 6612 | (P) The library function frexp() failed, making printf("%f") impossible. |
11135 | 6613 | |
11136 | 6614 | =end original |
11137 | 6615 | |
11138 | 6616 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
11139 | 6617 | |
11140 | =item panic: goto | |
6618 | =item panic: goto | |
11141 | 6619 | |
11142 | 6620 | =begin original |
11143 | 6621 | |
11144 | 6622 | (P) We popped the context stack to a context with the specified label, |
11145 | 6623 | and then discovered it wasn't a context we know how to do a goto in. |
11146 | 6624 | |
11147 | 6625 | =end original |
11148 | 6626 | |
11149 | 6627 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
11150 | 6628 | ポップしたあと、どのように goto するかがわかっている |
11151 | 6629 | コンテキストでないことがわかりました。 |
11152 | 6630 | |
11153 | =item panic: | |
6631 | =item panic: INTERPCASEMOD | |
11154 | 6632 | |
11155 | 6633 | =begin original |
11156 | 6634 | |
11157 | (P) The internal routine used to clear a typeglob's entries tried | |
11158 | repeatedly, but each time something re-created entries in the glob. | |
11159 | Most likely the glob contains an object with a reference back to | |
11160 | the glob and a destructor that adds a new object to the glob. | |
11161 | ||
11162 | =end original | |
11163 | ||
11164 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 | |
11165 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 | |
11166 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを | |
11167 | 追加するデストラクタを持つオブジェクトが含まれています。 | |
11168 | ||
11169 | =item panic: INTERPCASEMOD, %s | |
11170 | ||
11171 | =begin original | |
11172 | ||
11173 | 6635 | (P) The lexer got into a bad state at a case modifier. |
11174 | 6636 | |
11175 | 6637 | =end original |
11176 | 6638 | |
11177 | 6639 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
11178 | 6640 | |
11179 | =item panic: INTERPCONCAT | |
6641 | =item panic: INTERPCONCAT | |
11180 | 6642 | |
11181 | 6643 | =begin original |
11182 | 6644 | |
11183 | 6645 | (P) The lexer got into a bad state parsing a string with brackets. |
11184 | 6646 | |
11185 | 6647 | =end original |
11186 | 6648 | |
11187 | (P) 中 | |
6649 | (P) 中括弧を伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 | |
11188 | 6650 | |
11189 | 6651 | =item panic: kid popen errno read |
11190 | 6652 | |
11191 | 6653 | =begin original |
11192 | 6654 | |
11193 | (F) | |
6655 | (F) forked child returned an incomprehensible message about its errno. | |
11194 | 6656 | |
11195 | 6657 | =end original |
11196 | 6658 | |
11197 | 6659 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
11198 | 6660 | |
11199 | =item panic: last | |
6661 | =item panic: last | |
11200 | 6662 | |
11201 | 6663 | =begin original |
11202 | 6664 | |
11203 | 6665 | (P) We popped the context stack to a block context, and then discovered |
11204 | 6666 | it wasn't a block context. |
11205 | 6667 | |
11206 | 6668 | =end original |
11207 | 6669 | |
11208 | 6670 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
11209 | 6671 | block コンテキストでないことがわかりました。 |
11210 | 6672 | |
11211 | 6673 | =item panic: leave_scope clearsv |
11212 | 6674 | |
11213 | 6675 | =begin original |
11214 | 6676 | |
11215 | 6677 | (P) A writable lexical variable became read-only somehow within the |
11216 | 6678 | scope. |
11217 | 6679 | |
11218 | 6680 | =end original |
11219 | 6681 | |
11220 | 6682 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
11221 | 6683 | リードオンリーになりました。 |
11222 | 6684 | |
11223 | =item panic: leave_scope inconsistency | |
6685 | =item panic: leave_scope inconsistency | |
11224 | 6686 | |
11225 | 6687 | =begin original |
11226 | 6688 | |
11227 | 6689 | (P) The savestack probably got out of sync. At least, there was an |
11228 | 6690 | invalid enum on the top of it. |
11229 | 6691 | |
11230 | 6692 | =end original |
11231 | 6693 | |
11232 | 6694 | (P) おそらく、セーブスタックの同期がとれていません。 |
11233 | 6695 | 少なくとも、トップに不正な enum がありました。 |
11234 | 6696 | |
11235 | 6697 | =item panic: magic_killbackrefs |
11236 | 6698 | |
11237 | 6699 | =begin original |
11238 | 6700 | |
11239 | 6701 | (P) Failed an internal consistency check while trying to reset all weak |
11240 | 6702 | references to an object. |
11241 | 6703 | |
11242 | 6704 | =end original |
11243 | 6705 | |
11244 | 6706 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
11245 | 6707 | 一貫性チェックに引っ掛かりました。 |
11246 | 6708 | |
11247 | =item panic: malloc | |
6709 | =item panic: malloc | |
11248 | 6710 | |
11249 | 6711 | =begin original |
11250 | 6712 | |
11251 | 6713 | (P) Something requested a negative number of bytes of malloc. |
11252 | 6714 | |
11253 | 6715 | =end original |
11254 | 6716 | |
11255 | 6717 | (P) malloc に負のバイト数で要求が行なわれました。 |
11256 | 6718 | |
6719 | =item panic: mapstart | |
6720 | ||
6721 | =begin original | |
6722 | ||
6723 | (P) The compiler is screwed up with respect to the map() function. | |
6724 | ||
6725 | =end original | |
6726 | ||
6727 | (P) コンパイラが、map() 関数に関しておかしくなりました。 | |
6728 | ||
11257 | 6729 | =item panic: memory wrap |
11258 | 6730 | |
11259 | 6731 | =begin original |
11260 | 6732 | |
11261 | (P) Something tried to allocate | |
6733 | (P) Something tried to allocate more memory than possible. | |
11262 | negative amount. | |
11263 | 6734 | |
11264 | 6735 | =end original |
11265 | 6736 | |
11266 | (P) 何かが、確保可能な量を超える | |
6737 | (P) 何かが、確保可能な量を超えるメモリを確保しようとしました。 | |
11267 | 6738 | |
11268 | =item panic: | |
6739 | =item panic: null array | |
11269 | 6740 | |
11270 | 6741 | =begin original |
11271 | 6742 | |
6743 | (P) One of the internal array routines was passed a null AV pointer. | |
6744 | ||
6745 | =end original | |
6746 | ||
6747 | (P) 内部配列ルーティンで、ヌル AV ポインタを渡されたものがありました。 | |
6748 | ||
6749 | =item panic: pad_alloc | |
6750 | ||
6751 | =begin original | |
6752 | ||
11272 | 6753 | (P) The compiler got confused about which scratch pad it was allocating |
11273 | 6754 | and freeing temporaries and lexicals from. |
11274 | 6755 | |
11275 | 6756 | =end original |
11276 | 6757 | |
11277 | 6758 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11278 | 6759 | スクラッチパッドについて混乱しました。 |
11279 | 6760 | |
11280 | =item panic: pad_free curpad | |
6761 | =item panic: pad_free curpad | |
11281 | 6762 | |
11282 | 6763 | =begin original |
11283 | 6764 | |
11284 | 6765 | (P) The compiler got confused about which scratch pad it was allocating |
11285 | 6766 | and freeing temporaries and lexicals from. |
11286 | 6767 | |
11287 | 6768 | =end original |
11288 | 6769 | |
11289 | 6770 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11290 | 6771 | スクラッチパッドについて混乱しました。 |
11291 | 6772 | |
11292 | 6773 | =item panic: pad_free po |
11293 | 6774 | |
11294 | 6775 | =begin original |
11295 | 6776 | |
11296 | (P) A | |
6777 | (P) An invalid scratch pad offset was detected internally. | |
11297 | made to free a target that had not been allocated to begin with. | |
11298 | 6778 | |
11299 | 6779 | =end original |
11300 | 6780 | |
11301 | (P) スクラッチパッドのオフセット | |
6781 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 | |
11302 | 始めるために割り当てられていないターゲットを解放しようとしました。 | |
11303 | 6782 | |
11304 | =item panic: pad_reset curpad | |
6783 | =item panic: pad_reset curpad | |
11305 | 6784 | |
11306 | 6785 | =begin original |
11307 | 6786 | |
11308 | 6787 | (P) The compiler got confused about which scratch pad it was allocating |
11309 | 6788 | and freeing temporaries and lexicals from. |
11310 | 6789 | |
11311 | 6790 | =end original |
11312 | 6791 | |
11313 | 6792 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11314 | 6793 | スクラッチパッドについて混乱しました。 |
11315 | 6794 | |
11316 | 6795 | =item panic: pad_sv po |
11317 | 6796 | |
11318 | 6797 | =begin original |
11319 | 6798 | |
11320 | (P) A | |
6799 | (P) An invalid scratch pad offset was detected internally. | |
11321 | an operator needed a target but that target had not been allocated | |
11322 | for whatever reason. | |
11323 | 6800 | |
11324 | 6801 | =end original |
11325 | 6802 | |
11326 | (P) スクラッチパッドのオフセット | |
6803 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 | |
11327 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で | |
11328 | 割り当てられていません。 | |
11329 | 6804 | |
11330 | =item panic: pad_swipe curpad | |
6805 | =item panic: pad_swipe curpad | |
11331 | 6806 | |
11332 | 6807 | =begin original |
11333 | 6808 | |
11334 | 6809 | (P) The compiler got confused about which scratch pad it was allocating |
11335 | 6810 | and freeing temporaries and lexicals from. |
11336 | 6811 | |
11337 | 6812 | =end original |
11338 | 6813 | |
11339 | 6814 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
11340 | 6815 | スクラッチパッドについて混乱しました。 |
11341 | 6816 | |
11342 | 6817 | =item panic: pad_swipe po |
11343 | 6818 | |
11344 | 6819 | =begin original |
11345 | 6820 | |
11346 | 6821 | (P) An invalid scratch pad offset was detected internally. |
11347 | 6822 | |
11348 | 6823 | =end original |
11349 | 6824 | |
11350 | 6825 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
11351 | 6826 | |
11352 | =item panic: pp_iter | |
6827 | =item panic: pp_iter | |
11353 | 6828 | |
11354 | 6829 | =begin original |
11355 | 6830 | |
11356 | 6831 | (P) The foreach iterator got called in a non-loop context frame. |
11357 | 6832 | |
11358 | 6833 | =end original |
11359 | 6834 | |
11360 | 6835 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
11361 | 6836 | |
11362 | 6837 | =item panic: pp_match%s |
11363 | 6838 | |
11364 | 6839 | =begin original |
11365 | 6840 | |
11366 | 6841 | (P) The internal pp_match() routine was called with invalid operational |
11367 | 6842 | data. |
11368 | 6843 | |
11369 | 6844 | =end original |
11370 | 6845 | |
11371 | 6846 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを |
11372 | 6847 | 付けて呼ばれました。 |
11373 | 6848 | |
11374 | =item panic: | |
6849 | =item panic: pp_split | |
11375 | 6850 | |
11376 | 6851 | =begin original |
11377 | 6852 | |
11378 | (P) Something re | |
6853 | (P) Something terrible went wrong in setting up for the split. | |
11379 | 6854 | |
11380 | 6855 | =end original |
11381 | 6856 | |
11382 | (P) | |
6857 | (P) split の準備中に何かまずいことが起こってしまいました。 | |
11383 | 6858 | |
11384 | =item panic: re | |
6859 | =item panic: realloc | |
11385 | 6860 | |
11386 | 6861 | =begin original |
11387 | 6862 | |
11388 | (P) | |
6863 | (P) Something requested a negative number of bytes of realloc. | |
11389 | reference count other than 1. | |
11390 | 6864 | |
11391 | 6865 | =end original |
11392 | 6866 | |
11393 | (P) | |
6867 | (P) 何か、realloc に負のバイト数を要求したものがあります。 | |
11394 | 扱いました。 | |
11395 | 6868 | |
11396 | =item panic: restartop | |
6869 | =item panic: restartop | |
11397 | 6870 | |
11398 | 6871 | =begin original |
11399 | 6872 | |
11400 | 6873 | (P) Some internal routine requested a goto (or something like it), and |
11401 | 6874 | didn't supply the destination. |
11402 | 6875 | |
11403 | 6876 | =end original |
11404 | 6877 | |
11405 | 6878 | (P) 内部ルーティンから goto (または、同じようなもの) が |
11406 | 6879 | 要求されましたが、飛び先が与えれていません。 |
11407 | 6880 | |
11408 | =item panic: return | |
6881 | =item panic: return | |
11409 | 6882 | |
11410 | 6883 | =begin original |
11411 | 6884 | |
11412 | 6885 | (P) We popped the context stack to a subroutine or eval context, and |
11413 | 6886 | then discovered it wasn't a subroutine or eval context. |
11414 | 6887 | |
11415 | 6888 | =end original |
11416 | 6889 | |
11417 | (P) サブルー | |
6890 | (P) サブルーティンコンテキストや eval コンテキストへ、 | |
11418 | コンテキストスタックをポップしたあと、サブルー | |
6891 | コンテキストスタックをポップしたあと、サブルーティンコンテキストや | |
11419 | 6892 | eval コンテキストでないことがわかりました。 |
11420 | 6893 | |
11421 | =item panic: scan_num | |
6894 | =item panic: scan_num | |
11422 | 6895 | |
11423 | 6896 | =begin original |
11424 | 6897 | |
11425 | 6898 | (P) scan_num() got called on something that wasn't a number. |
11426 | 6899 | |
11427 | 6900 | =end original |
11428 | 6901 | |
11429 | 6902 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
11430 | 6903 | |
11431 | =item panic: | |
6904 | =item panic: sv_insert | |
11432 | 6905 | |
11433 | 6906 | =begin original |
11434 | 6907 | |
11435 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code | |
11436 | blocks, perl couldn't locate the code block that should have already been | |
11437 | seen and compiled by perl before control passed to the regex compiler. | |
11438 | ||
11439 | =end original | |
11440 | ||
11441 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
11442 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
11443 | コンパイルされているコードブロックを発見できませんでした。 | |
11444 | ||
11445 | =item panic: strxfrm() gets absurd - a => %u, ab => %u | |
11446 | ||
11447 | =begin original | |
11448 | ||
11449 | (P) The interpreter's sanity check of the C function strxfrm() failed. | |
11450 | In your current locale the returned transformation of the string "ab" | |
11451 | is shorter than that of the string "a", which makes no sense. | |
11452 | ||
11453 | =end original | |
11454 | ||
11455 | (P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。 | |
11456 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の | |
11457 | 変換で返されたものよりも短いので、おかしいです。 | |
11458 | ||
11459 | =item panic: sv_chop %s | |
11460 | ||
11461 | =begin original | |
11462 | ||
11463 | (P) The sv_chop() routine was passed a position that is not within the | |
11464 | scalar's string buffer. | |
11465 | ||
11466 | =end original | |
11467 | ||
11468 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を | |
11469 | 渡されました。 | |
11470 | ||
11471 | =item panic: sv_insert, midend=%p, bigend=%p | |
11472 | ||
11473 | =begin original | |
11474 | ||
11475 | 6908 | (P) The sv_insert() routine was told to remove more string than there |
11476 | 6909 | was string. |
11477 | 6910 | |
11478 | 6911 | =end original |
11479 | 6912 | |
11480 | 6913 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
11481 | 6914 | 指示されました。 |
11482 | 6915 | |
11483 | 6916 | =item panic: top_env |
11484 | 6917 | |
11485 | 6918 | =begin original |
11486 | 6919 | |
11487 | 6920 | (P) The compiler attempted to do a goto, or something weird like that. |
11488 | 6921 | |
11489 | 6922 | =end original |
11490 | 6923 | |
11491 | 6924 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
11492 | 6925 | |
11493 | =item panic: unimplemented op %s (#%d) called | |
11494 | ||
11495 | =begin original | |
11496 | ||
11497 | (P) The compiler is screwed up and attempted to use an op that isn't | |
11498 | permitted at run time. | |
11499 | ||
11500 | =end original | |
11501 | ||
11502 | (P) コンパイラがおかしくなって、実行時に許可されていない op を | |
11503 | しようとしました。 | |
11504 | ||
11505 | =item panic: unknown OA_*: %x | |
11506 | ||
11507 | =begin original | |
11508 | ||
11509 | (P) The internal routine that handles arguments to C<&CORE::foo()> | |
11510 | subroutine calls was unable to determine what type of arguments | |
11511 | were expected. | |
11512 | ||
11513 | =end original | |
11514 | ||
11515 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 | |
11516 | どの種類の引数が想定されているかを決定できませんでした。 | |
11517 | ||
11518 | 6926 | =item panic: utf16_to_utf8: odd bytelen |
11519 | 6927 | |
11520 | 6928 | =begin original |
11521 | 6929 | |
11522 | 6930 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
11523 | 6931 | to even) byte length. |
11524 | 6932 | |
11525 | 6933 | =end original |
11526 | 6934 | |
11527 | 6935 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
11528 | 6936 | 呼び出そうとしました。 |
11529 | 6937 | |
11530 | =item panic: | |
6938 | =item panic: yylex | |
11531 | 6939 | |
11532 | 6940 | =begin original |
11533 | 6941 | |
11534 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed | |
11535 | to even) byte length. | |
11536 | ||
11537 | =end original | |
11538 | ||
11539 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 | |
11540 | ||
11541 | =item panic: yylex, %s | |
11542 | ||
11543 | =begin original | |
11544 | ||
11545 | 6942 | (P) The lexer got into a bad state while processing a case modifier. |
11546 | 6943 | |
11547 | 6944 | =end original |
11548 | 6945 | |
11549 | 6946 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 |
11550 | 6947 | |
11551 | 6948 | =item Parentheses missing around "%s" list |
11552 | 6949 | |
11553 | 6950 | =begin original |
11554 | 6951 | |
11555 | 6952 | (W parenthesis) You said something like |
11556 | 6953 | |
11557 | 6954 | =end original |
11558 | 6955 | |
11559 | 6956 | (W parenthesis) おそらく以下のようにしたのでしょう: |
11560 | 6957 | |
11561 | 6958 | my $foo, $bar = @_; |
11562 | 6959 | |
11563 | 6960 | =begin original |
11564 | 6961 | |
11565 | 6962 | when you meant |
11566 | 6963 | |
11567 | 6964 | =end original |
11568 | 6965 | |
11569 | 6966 | 以下のようにすべきです: |
11570 | 6967 | |
11571 | 6968 | my ($foo, $bar) = @_; |
11572 | 6969 | |
11573 | 6970 | =begin original |
11574 | 6971 | |
11575 | Remember that "my", "our", | |
6972 | Remember that "my", "our", and "local" bind tighter than comma. | |
11576 | 6973 | |
11577 | 6974 | =end original |
11578 | 6975 | |
11579 | "my", "our", "local" | |
6976 | "my", "our", "local" は、コンマよりも強く結合することを | |
11580 | 6977 | 忘れないでください。 |
11581 | 6978 | |
11582 | =item Parsing code internal error (%s) | |
11583 | ||
11584 | =begin original | |
11585 | ||
11586 | (F) Parsing code supplied by an extension violated the parser's API in | |
11587 | a detectable way. | |
11588 | ||
11589 | =end original | |
11590 | ||
11591 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
11592 | パーサの API に違反しています。 | |
11593 | ||
11594 | =item Pattern subroutine nesting without pos change exceeded limit in regex | |
11595 | ||
11596 | =begin original | |
11597 | ||
11598 | (F) You used a pattern that uses too many nested subpattern calls without | |
11599 | consuming any text. Restructure the pattern so text is consumed before | |
11600 | the nesting limit is exceeded. | |
11601 | ||
11602 | =end original | |
11603 | ||
11604 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
11605 | パターンを使いました。 | |
11606 | ネストの制限を越える前にテキストを消費するようにパターンを | |
11607 | 再構成してください。 | |
11608 | ||
11609 | 6979 | =item C<-p> destination: %s |
11610 | 6980 | |
11611 | 6981 | =begin original |
11612 | 6982 | |
11613 | 6983 | (F) An error occurred during the implicit output invoked by the C<-p> |
11614 | 6984 | command-line switch. (This output goes to STDOUT unless you've |
11615 | 6985 | redirected it with select().) |
11616 | 6986 | |
11617 | 6987 | =end original |
11618 | 6988 | |
11619 | 6989 | (F) C<-p> コマンドラインオプションで起動された |
11620 | 6990 | 暗黙の出力中にエラーが発生しました。 |
11621 | 6991 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) |
11622 | 6992 | |
11623 | =item | |
6993 | =item (perhaps you forgot to load "%s"?) | |
11624 | 6994 | |
11625 | 6995 | =begin original |
11626 | 6996 | |
11627 | (F) The | |
6997 | (F) This is an educated guess made in conjunction with the message | |
11628 | ||
6998 | "Can't locate object method \"%s\" via package \"%s\"". It often means | |
6999 | that a method requires a package that has not been loaded. | |
11629 | 7000 | |
11630 | 7001 | =end original |
11631 | 7002 | |
11632 | (F) こ | |
7003 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の | |
11633 | ||
7004 | メッセージと共に出る教育的な推測です。 | |
7005 | これはしばしばメソッドがまだロードされていないパッケージを | |
7006 | 要求していることを意味します。 | |
11634 | 7007 | |
11635 | =item Perl | |
7008 | =item Perl %s required--this is only version %s, stopped | |
11636 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ | |
11637 | 7009 | |
11638 | 7010 | =begin original |
11639 | 7011 | |
11640 | (S regexp) You used a regular expression with case-insensitive matching, | |
11641 | and there is a bug in Perl in which the built-in regular expression | |
11642 | folding rules are not accurate. This may lead to incorrect results. | |
11643 | Please report this as a bug to L<https://github.com/Perl/perl5/issues>. | |
11644 | ||
11645 | =end original | |
11646 | ||
11647 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして | |
11648 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 | |
11649 | これは間違った結果を引き起こします。 | |
11650 | どうか L<https://github.com/Perl/perl5/issues> に | |
11651 | バグとして報告してください。 | |
11652 | ||
11653 | =item PerlIO layer ':win32' is experimental | |
11654 | ||
11655 | =begin original | |
11656 | ||
11657 | (S experimental::win32_perlio) The C<:win32> PerlIO layer is | |
11658 | experimental. If you want to take the risk of using this layer, | |
11659 | simply disable this warning: | |
11660 | ||
11661 | =end original | |
11662 | ||
11663 | (S experimental::win32_perlio) C<:win32> PerlIO 層は実験的です。 | |
11664 | この層を使うリスクを取りたい場合は、単にこの警告を無効にしてください: | |
11665 | ||
11666 | no warnings "experimental::win32_perlio"; | |
11667 | ||
11668 | =item Perl_my_%s() not available | |
11669 | ||
11670 | =begin original | |
11671 | ||
11672 | (F) Your platform has very uncommon byte-order and integer size, | |
11673 | so it was not possible to set up some or all fixed-width byte-order | |
11674 | conversion functions. This is only a problem when you're using the | |
11675 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. | |
11676 | ||
11677 | =end original | |
11678 | ||
11679 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを | |
11680 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 | |
11681 | これは (un)pack テンプレートの中で | |
11682 | '<' か '>' の修飾子を使った場合にのみ問題となります。 | |
11683 | L<perlfunc/pack> を参照してください。 | |
11684 | ||
11685 | =item Perl %s required (did you mean %s?)--this is only %s, stopped | |
11686 | ||
11687 | =begin original | |
11688 | ||
11689 | (F) The code you are trying to run has asked for a newer version of | |
11690 | Perl than you are running. Perhaps C<use 5.10> was written instead | |
11691 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is | |
11692 | interpreted as a decimal, with every three digits after the | |
11693 | decimal point representing a part of the version number. So 5.10 | |
11694 | is equivalent to v5.100. | |
11695 | ||
11696 | =end original | |
11697 | ||
11698 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを | |
11699 | 尋ねました。 | |
11700 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と | |
11701 | 書かれているのでしょう。 | |
11702 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の | |
11703 | 部分を表現していると解釈されます。 | |
11704 | それで、5.10 は v5.100 と等価です。 | |
11705 | ||
11706 | =item Perl %s required--this is only %s, stopped | |
11707 | ||
11708 | =begin original | |
11709 | ||
11710 | 7012 | (F) The module in question uses features of a version of Perl more |
11711 | 7013 | recent than the currently running version. How long has it been since |
11712 | 7014 | you upgraded, anyway? See L<perlfunc/require>. |
11713 | 7015 | |
11714 | 7016 | =end original |
11715 | 7017 | |
11716 | 7018 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
11717 | 7019 | 機能を使っています。 |
11718 | 7020 | ところで、いつからアップグレードしていないのですか? |
11719 | 7021 | L<perlfunc/require> を参照してください。 |
11720 | 7022 | |
11721 | 7023 | =item PERL_SH_DIR too long |
11722 | 7024 | |
11723 | 7025 | =begin original |
11724 | 7026 | |
11725 | (F) An error peculiar to OS/2. | |
7027 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
11726 | 7028 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
11727 | 7029 | |
11728 | 7030 | =end original |
11729 | 7031 | |
11730 | 7032 | (F) OS/2 固有のエラーです。 |
11731 | 7033 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
11732 | 7034 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
11733 | 7035 | |
11734 | 7036 | =item PERL_SIGNALS illegal: "%s" |
11735 | 7037 | |
11736 | 7038 | =begin original |
11737 | 7039 | |
11738 | ||
7040 | See L<perlrun/PERL_SIGNALS> for legal values. | |
11739 | 7041 | |
11740 | 7042 | =end original |
11741 | 7043 | |
11742 | ||
7044 | 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
11743 | 7045 | |
11744 | =item Perls since %s too modern--this is %s, stopped | |
11745 | ||
11746 | =begin original | |
11747 | ||
11748 | (F) The code you are trying to run claims it will not run | |
11749 | on the version of Perl you are using because it is too new. | |
11750 | Maybe the code needs to be updated, or maybe it is simply | |
11751 | wrong and the version check should just be removed. | |
11752 | ||
11753 | =end original | |
11754 | ||
11755 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると | |
11756 | 主張しています。 | |
11757 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に | |
11758 | バージョンチェックを削除するべきかもしれません。 | |
11759 | ||
11760 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
11761 | ||
11762 | =begin original | |
11763 | ||
11764 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
11765 | contained a non hex character. This could mean you are not using the | |
11766 | hash seed you think you are. | |
11767 | ||
11768 | =end original | |
11769 | ||
11770 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
11771 | 非 16 進数文字を含む必要があります。 | |
11772 | これは、考えているようなハッシュの種が使われないことを | |
11773 | 意味しているかもしれません。 | |
11774 | ||
11775 | 7046 | =item perl: warning: Setting locale failed. |
11776 | 7047 | |
11777 | 7048 | =begin original |
11778 | 7049 | |
11779 | 7050 | (S) The whole warning message will look something like: |
11780 | 7051 | |
11781 | 7052 | =end original |
11782 | 7053 | |
11783 | 7054 | (S) 警告全体は以下のような形になります: |
11784 | 7055 | |
11785 | 7056 | perl: warning: Setting locale failed. |
11786 | 7057 | perl: warning: Please check that your locale settings: |
11787 | 7058 | LC_ALL = "En_US", |
11788 | 7059 | LANG = (unset) |
11789 | 7060 | are supported and installed on your system. |
11790 | 7061 | perl: warning: Falling back to the standard locale ("C"). |
11791 | 7062 | |
11792 | 7063 | =begin original |
11793 | 7064 | |
11794 | 7065 | Exactly what were the failed locale settings varies. In the above the |
11795 | 7066 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
11796 | 7067 | This error means that Perl detected that you and/or your operating |
11797 | 7068 | system supplier and/or system administrator have set up the so-called |
11798 | 7069 | locale system but Perl could not use those settings. This was not |
11799 | 7070 | dead serious, fortunately: there is a "default locale" called "C" that |
11800 | Perl can and will use, | |
7071 | Perl can and will use, the script will be run. Before you really fix | |
11801 | ||
7072 | the problem, however, you will get the same error message each time | |
11802 | ||
7073 | you run Perl. How to really fix the problem can be found in | |
11803 | 7074 | L<perllocale> section B<LOCALE PROBLEMS>. |
11804 | 7075 | |
11805 | 7076 | =end original |
11806 | 7077 | |
11807 | 7078 | 正確にどのロケール設定が失敗したのかは様々です。 |
11808 | 7079 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
11809 | 7080 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
11810 | 7081 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
11811 | 7082 | 検出したことを意味します。 |
11812 | 7083 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
11813 | 7084 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
11814 | 7085 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
11815 | 7086 | メッセージが表示されます。 |
11816 | 7087 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
11817 | 7088 | 章にあります。 |
11818 | 7089 | |
11819 | =item | |
7090 | =item Permission denied | |
11820 | 7091 | |
11821 | 7092 | =begin original |
11822 | 7093 | |
11823 | ( | |
7094 | (F) The setuid emulator in suidperl decided you were up to no good. | |
11824 | but containing an unexpected value. The legal values of this setting | |
11825 | are as follows. | |
11826 | 7095 | |
11827 | 7096 | =end original |
11828 | 7097 | |
11829 | ( | |
7098 | (F) suidperl の setuid エミュレータは、実行者が安全とは | |
11830 | ||
7099 | 言えないと判断しました。 | |
11831 | この設定の正当な値は以下のものです。 | |
11832 | 7100 | |
11833 | Numeric | String | Result | |
11834 | --------+---------------+----------------------------------------- | |
11835 | 0 | NO | Disables key traversal randomization | |
11836 | 1 | RANDOM | Enables full key traversal randomization | |
11837 | 2 | DETERMINISTIC | Enables repeatable key traversal | |
11838 | | | randomization | |
11839 | ||
11840 | =begin original | |
11841 | ||
11842 | Both numeric and string values are accepted, but note that string values are | |
11843 | case sensitive. The default for this setting is "RANDOM" or 1. | |
11844 | ||
11845 | =end original | |
11846 | ||
11847 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
11848 | 区別することに注意してください。 | |
11849 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
11850 | ||
11851 | 7101 | =item pid %x not a child |
11852 | 7102 | |
11853 | 7103 | =begin original |
11854 | 7104 | |
11855 | 7105 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
11856 | 7106 | process which isn't a subprocess of the current process. While this is |
11857 | 7107 | fine from VMS' perspective, it's probably not what you intended. |
11858 | 7108 | |
11859 | 7109 | =end original |
11860 | 7110 | |
11861 | (W exec) VMS | |
7111 | (W exec) VMS 固有の警告です。 | |
11862 | 7112 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
11863 | 7113 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
11864 | 7114 | ないでしょう。 |
11865 | 7115 | |
11866 | 7116 | =item 'P' must have an explicit size in unpack |
11867 | 7117 | |
11868 | 7118 | =begin original |
11869 | 7119 | |
11870 | 7120 | (F) The unpack format P must have an explicit size, not "*". |
11871 | 7121 | |
11872 | 7122 | =end original |
11873 | 7123 | |
11874 | 7124 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを |
11875 | 7125 | 指定しなければなりません。 |
11876 | 7126 | |
11877 | =item P | |
7127 | =item B<-P> not allowed for setuid/setgid script | |
11878 | 7128 | |
11879 | 7129 | =begin original |
11880 | 7130 | |
11881 | (F) The cla | |
7131 | (F) The script would have to be opened by the C preprocessor by name, | |
11882 | ||
7132 | which provides a race condition that breaks security. | |
7133 | ||
7134 | =end original | |
7135 | ||
7136 | (F) C プリプロセッサがスクリプトをオープンするときには、 | |
7137 | 名前でオープンしなければいけませんが、これは、安全性を損なう競合条件を | |
7138 | もたらします。 | |
7139 | ||
7140 | =item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/ | |
7141 | ||
7142 | =begin original | |
7143 | ||
7144 | (F) The class in the character class [: :] syntax is unknown. The <-- HERE | |
7145 | shows in the regular expression about where the problem was discovered. | |
11883 | 7146 | Note that the POSIX character classes do B<not> have the C<is> prefix |
11884 | 7147 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, |
11885 | 7148 | not C<isprint>. See L<perlre>. |
11886 | 7149 | |
11887 | 7150 | =end original |
11888 | 7151 | |
11889 | 7152 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 |
11890 | ||
7153 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
11891 | 7154 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が |
11892 | 7155 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 |
11893 | 7156 | C<isprint> ではありません。 |
11894 | 7157 | L<perlre> を参照してください。 |
11895 | 7158 | |
11896 | 7159 | =item POSIX getpgrp can't take an argument |
11897 | 7160 | |
11898 | 7161 | =begin original |
11899 | 7162 | |
11900 | 7163 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike |
11901 | 7164 | the BSD version, which takes a pid. |
11902 | 7165 | |
11903 | 7166 | =end original |
11904 | 7167 | |
11905 | 7168 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの |
11906 | 7169 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 |
11907 | 7170 | |
11908 | =item POSIX syntax [% | |
7171 | =item POSIX syntax [%s] belongs inside character classes in regex; marked by <-- HERE in m/%s/ | |
11909 | S<<-- HERE> in m/%s/ | |
11910 | 7172 | |
11911 | 7173 | =begin original |
11912 | 7174 | |
11913 | (W regexp) | |
7175 | (W regexp) The character class constructs [: :], [= =], and [. .] go | |
11914 | class, | |
7176 | I<inside> character classes, the [] are part of the construct, for example: | |
11915 | :] | |
7177 | /[012[:alpha:]345]/. Note that [= =] and [. .] are not currently | |
11916 | t | |
7178 | implemented; they are simply placeholders for future extensions and will | |
11917 | ||
7179 | cause fatal errors. The <-- HERE shows in the regular expression about | |
11918 | ||
7180 | where the problem was discovered. See L<perlre>. | |
11919 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
11920 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
11921 | written C<qr/[[:alpha:]]/>. | |
11922 | 7181 | |
11923 | 7182 | =end original |
11924 | 7183 | |
11925 | (W regexp) | |
7184 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], | |
11926 | ||
7185 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 | |
11927 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
11928 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
11929 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
11930 | ないでしょう。 | |
11931 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
11932 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
11933 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
11934 | ||
11935 | =begin original | |
11936 | ||
11937 | Note that [= =] and [. .] are not currently | |
11938 | implemented; they are simply placeholders for future extensions and | |
11939 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular | |
11940 | expression the problem was discovered. See L<perlre>. | |
11941 | ||
11942 | =end original | |
11943 | ||
11944 | 7186 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
11945 | 7187 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
11946 | 7188 | 生成します。 |
11947 | ||
7189 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
11948 | 7190 | L<perlre> を参照してください。 |
11949 | 7191 | |
11950 | = | |
7192 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/%s/ | |
11951 | 7193 | |
11952 | ||
7194 | =begin original | |
11953 | indicates that. | |
11954 | 7195 | |
11955 | ||
7196 | (F regexp) Within regular expression character classes ([]) the syntax | |
7197 | beginning with "[." and ending with ".]" is reserved for future extensions. | |
7198 | If you need to represent those character sequences inside a regular | |
7199 | expression character class, just quote the square brackets with the | |
7200 | backslash: "\[." and ".\]". The <-- HERE shows in the regular expression | |
7201 | about where the problem was discovered. See L<perlre>. | |
11956 | 7202 | |
11957 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
11958 | ||
11959 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
11960 | S<<-- HERE> in m/%s/ | |
11961 | ||
11962 | =begin original | |
11963 | ||
11964 | (F) Within regular expression character classes ([]) the syntax beginning | |
11965 | with "[." and ending with ".]" is reserved for future extensions. If you | |
11966 | need to represent those character sequences inside a regular expression | |
11967 | character class, just quote the square brackets with the backslash: "\[." | |
11968 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
11969 | problem was discovered. See L<perlre>. | |
11970 | ||
11971 | 7203 | =end original |
11972 | 7204 | |
11973 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
7205 | (F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
11974 | 7206 | 終わる文法は将来の拡張のために予約されます。 |
11975 | 7207 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
11976 | 7208 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
11977 | 7209 | クォートしてください。 |
11978 | ||
7210 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
11979 | 7211 | L<perlre> を参照してください。 |
11980 | 7212 | |
11981 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
7213 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by <-- HERE in m/%s/ | |
11982 | S<<-- HERE> in m/%s/ | |
11983 | 7214 | |
11984 | 7215 | =begin original |
11985 | 7216 | |
11986 | 7217 | (F) Within regular expression character classes ([]) the syntax beginning |
11987 | 7218 | with "[=" and ending with "=]" is reserved for future extensions. If you |
11988 | 7219 | need to represent those character sequences inside a regular expression |
11989 | 7220 | character class, just quote the square brackets with the backslash: "\[=" |
11990 | and "=\]". The | |
7221 | and "=\]". The <-- HERE shows in the regular expression about where the | |
11991 | 7222 | problem was discovered. See L<perlre>. |
11992 | 7223 | |
11993 | 7224 | =end original |
11994 | 7225 | |
11995 | 7226 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
11996 | 7227 | 終わる文法は将来の拡張のために予約されます。 |
11997 | 7228 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
11998 | 7229 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
11999 | 7230 | クォートしてください。 |
12000 | ||
7231 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12001 | 7232 | L<perlre> を参照してください。 |
12002 | 7233 | |
12003 | 7234 | =item Possible attempt to put comments in qw() list |
12004 | 7235 | |
12005 | 7236 | =begin original |
12006 | 7237 | |
12007 | 7238 | (W qw) qw() lists contain items separated by whitespace; as with literal |
12008 | 7239 | strings, comment characters are not ignored, but are instead treated as |
12009 | 7240 | literal data. (You may have used different delimiters than the |
12010 | 7241 | parentheses shown here; braces are also frequently used.) |
12011 | 7242 | |
12012 | 7243 | =end original |
12013 | 7244 | |
12014 | 7245 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
12015 | 7246 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
12016 | (こ | |
7247 | (かっこ以外のデリミタを使うこともできます; 中かっこもよく使われます。) | |
12017 | 大かっこもよく使われます。) | |
12018 | 7248 | |
12019 | 7249 | =begin original |
12020 | 7250 | |
12021 | 7251 | You probably wrote something like this: |
12022 | 7252 | |
12023 | 7253 | =end original |
12024 | 7254 | |
12025 | 7255 | おそらく以下のように書いたのでしょう: |
12026 | 7256 | |
12027 | 7257 | @list = qw( |
12028 | 7258 | a # a comment |
12029 | 7259 | b # another comment |
12030 | 7260 | ); |
12031 | 7261 | |
12032 | 7262 | =begin original |
12033 | 7263 | |
12034 | 7264 | when you should have written this: |
12035 | 7265 | |
12036 | 7266 | =end original |
12037 | 7267 | |
12038 | 7268 | 以下のように書くべきです: |
12039 | 7269 | |
12040 | 7270 | @list = qw( |
12041 | 7271 | a |
12042 | 7272 | b |
12043 | 7273 | ); |
12044 | 7274 | |
12045 | 7275 | =begin original |
12046 | 7276 | |
12047 | 7277 | If you really want comments, build your list the |
12048 | 7278 | old-fashioned way, with quotes and commas: |
12049 | 7279 | |
12050 | 7280 | =end original |
12051 | 7281 | |
12052 | 7282 | 本当にコメントをつけたいのなら、 |
12053 | 7283 | リストを昔のクォートとカンマの形で書いてください。 |
12054 | 7284 | |
12055 | 7285 | @list = ( |
12056 | 7286 | 'a', # a comment |
12057 | 7287 | 'b', # another comment |
12058 | 7288 | ); |
12059 | 7289 | |
12060 | 7290 | =item Possible attempt to separate words with commas |
12061 | 7291 | |
12062 | 7292 | =begin original |
12063 | 7293 | |
12064 | 7294 | (W qw) qw() lists contain items separated by whitespace; therefore |
12065 | 7295 | commas aren't needed to separate the items. (You may have used |
12066 | 7296 | different delimiters than the parentheses shown here; braces are also |
12067 | 7297 | frequently used.) |
12068 | 7298 | |
12069 | 7299 | =end original |
12070 | 7300 | |
12071 | 7301 | (W qw) qw() リストに空白で分割された項目があります; |
12072 | 7302 | そのため、カンマは項目を分割する必要がありません。 |
12073 | 7303 | (ここで使われているのと違うデリミタを用いているかもしれません; |
12074 | 大 | |
7304 | 大括弧もよく使われます。) | |
12075 | 7305 | |
12076 | 7306 | =begin original |
12077 | 7307 | |
12078 | 7308 | You probably wrote something like this: |
12079 | 7309 | |
12080 | 7310 | =end original |
12081 | 7311 | |
12082 | 7312 | おそらく以下のように書いたのでしょう: |
12083 | 7313 | |
12084 | 7314 | qw! a, b, c !; |
12085 | 7315 | |
12086 | 7316 | =begin original |
12087 | 7317 | |
12088 | 7318 | which puts literal commas into some of the list items. Write it without |
12089 | 7319 | commas if you don't want them to appear in your data: |
12090 | 7320 | |
12091 | 7321 | =end original |
12092 | 7322 | |
12093 | 7323 | リスト要素の中にリテラルのカンマを書いています。 |
12094 | 7324 | データの中にカンマを出したくないなら、カンマなしで書きます: |
12095 | 7325 | |
12096 | 7326 | qw! a b c !; |
12097 | 7327 | |
12098 | 7328 | =item Possible memory corruption: %s overflowed 3rd argument |
12099 | 7329 | |
12100 | 7330 | =begin original |
12101 | 7331 | |
12102 | 7332 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
12103 | 7333 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
12104 | 7334 | end of the buffer just in case. This sentinel byte got clobbered, and |
12105 | 7335 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
12106 | 7336 | |
12107 | 7337 | =end original |
12108 | 7338 | |
12109 | 7339 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
12110 | 7340 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
12111 | 7341 | 最後に目印を付けています。 |
12112 | 7342 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
12113 | 7343 | L<perlfunc/ioctl> を参照してください。 |
12114 | 7344 | |
12115 | =item Possible precedence | |
7345 | =item Possible precedence problem on bitwise %c operator | |
12116 | 7346 | |
12117 | 7347 | =begin original |
12118 | 7348 | |
12119 | (W syntax) There is a possible problem with the mixing of a control | |
12120 | flow operator (e.g. C<return>) and a low-precedence operator like | |
12121 | C<or>. Consider: | |
12122 | ||
12123 | =end original | |
12124 | ||
12125 | (W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような | |
12126 | 低優先順位演算子を混ぜると問題が起きることがあります。 | |
12127 | 次を考えると: | |
12128 | ||
12129 | sub { return $a or $b; } | |
12130 | ||
12131 | =begin original | |
12132 | ||
12133 | This is parsed as: | |
12134 | ||
12135 | =end original | |
12136 | ||
12137 | これは次のようにパースされます: | |
12138 | ||
12139 | sub { (return $a) or $b; } | |
12140 | ||
12141 | =begin original | |
12142 | ||
12143 | Which is effectively just: | |
12144 | ||
12145 | =end original | |
12146 | ||
12147 | これは事実上次のものです: | |
12148 | ||
12149 | sub { return $a; } | |
12150 | ||
12151 | =begin original | |
12152 | ||
12153 | Either use parentheses or the high-precedence variant of the operator. | |
12154 | ||
12155 | =end original | |
12156 | ||
12157 | かっこか、高優先順位版の演算子を使ってください。 | |
12158 | ||
12159 | =begin original | |
12160 | ||
12161 | Note this may be also triggered for constructs like: | |
12162 | ||
12163 | =end original | |
12164 | ||
12165 | これは次のような構文でも引き起こされることに注意してください: | |
12166 | ||
12167 | sub { 1 if die; } | |
12168 | ||
12169 | =item Possible precedence problem on bitwise %s operator | |
12170 | ||
12171 | =begin original | |
12172 | ||
12173 | 7349 | (W precedence) Your program uses a bitwise logical operator in conjunction |
12174 | 7350 | with a numeric comparison operator, like this : |
12175 | 7351 | |
12176 | 7352 | =end original |
12177 | 7353 | |
12178 | 7354 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と |
12179 | 7355 | 結合して使用しています: |
12180 | 7356 | |
12181 | 7357 | if ($x & $y == 0) { ... } |
12182 | 7358 | |
12183 | 7359 | =begin original |
12184 | 7360 | |
12185 | 7361 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the |
12186 | higher precedence of C<==>. | |
7362 | higher precedence of C<==>. This is probably not what you want. (If you | |
12187 | 7363 | really meant to write this, disable the warning, or, better, put the |
12188 | 7364 | parentheses explicitly and write C<$x & ($y == 0)>). |
12189 | 7365 | |
12190 | 7366 | =end original |
12191 | 7367 | |
12192 | 7368 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と |
12193 | 7369 | 等価になります。 |
12194 | 7370 | これはおそらく望んでいるものではないでしょう。 |
12195 | 7371 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは |
12196 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます | |
7372 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます。) | |
12197 | 7373 | |
12198 | =item Possible unintended interpolation of | |
7374 | =item Possible unintended interpolation of %s in string | |
12199 | 7375 | |
12200 | 7376 | =begin original |
12201 | 7377 | |
12202 | (W ambiguous) You said something like | |
7378 | (W ambiguous) You said something like `@foo' in a double-quoted string | |
12203 | ||
7379 | but there was no array C<@foo> in scope at the time. If you wanted a | |
12204 | ||
7380 | literal @foo, then write it as \@foo; otherwise find out what happened | |
12205 | ||
7381 | to the array you apparently lost track of. | |
12206 | 7382 | |
12207 | 7383 | =end original |
12208 | 7384 | |
12209 | (W ambiguous) | |
7385 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 | |
12210 | ||
7386 | 現在のスコープ内に C<@foo> という配列はありません。 | |
12211 | ||
7387 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
12212 | ||
7388 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
7389 | 調べてください。 | |
12213 | 7390 | |
7391 | =item Possible Y2K bug: %s | |
7392 | ||
12214 | 7393 | =begin original |
12215 | 7394 | |
12216 | ||
7395 | (W y2k) You are concatenating the number 19 with another number, which | |
12217 | ||
7396 | could be a potential Year 2000 problem. | |
12218 | 7397 | |
12219 | 7398 | =end original |
12220 | 7399 | |
12221 | ||
7400 | (W y2k) 数値 19 を他の数値と結合しています; これは潜在的な | |
12222 | ||
7401 | 2000 年問題かもしれません。 | |
12223 | 7402 | |
7403 | =item pragma "attrs" is deprecated, use "sub NAME : ATTRS" instead | |
7404 | ||
12224 | 7405 | =begin original |
12225 | 7406 | |
12226 | ||
7407 | (D deprecated) You have written something like this: | |
12227 | followed by whitespace and the word 'bar' on the next line then you can use | |
12228 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). | |
12229 | 7408 | |
12230 | 7409 | =end original |
12231 | 7410 | |
12232 | そ | |
7411 | (D deprecated) おそらく以下のように書いたのでしょう: | |
12233 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: | |
12234 | C<m/foo$(?)\s+bar/>)。 | |
12235 | 7412 | |
12236 | ||
7413 | sub doit | |
7414 | { | |
7415 | use attrs qw(locked); | |
7416 | } | |
12237 | 7417 | |
12238 | 7418 | =begin original |
12239 | 7419 | |
12240 | ||
7420 | You should use the new declaration syntax instead. | |
12241 | but there was no array C<@foo> in scope at the time. If you wanted a | |
12242 | literal @foo, then write it as \@foo; otherwise find out what happened | |
12243 | to the array you apparently lost track of. | |
12244 | 7421 | |
12245 | 7422 | =end original |
12246 | 7423 | |
12247 | ||
7424 | 代わりに新しい定義の文法で書くべきです: | |
12248 | 現在のスコープ内に C<@foo> という配列はありません。 | |
12249 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
12250 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
12251 | 調べてください。 | |
12252 | 7425 | |
7426 | sub doit : locked | |
7427 | { | |
7428 | ... | |
7429 | ||
7430 | =begin original | |
7431 | ||
7432 | The C<use attrs> pragma is now obsolete, and is only provided for | |
7433 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. | |
7434 | ||
7435 | =end original | |
7436 | ||
7437 | C<use attrs> プラグマはもう古いもので、後方互換性のためだけに | |
7438 | 提供されています。 | |
7439 | L<perlsub/"Subroutine Attributes"> を参照してください。 | |
7440 | ||
12253 | 7441 | =item Precedence problem: open %s should be open(%s) |
12254 | 7442 | |
12255 | 7443 | =begin original |
12256 | 7444 | |
12257 | 7445 | (S precedence) The old irregular construct |
12258 | 7446 | |
12259 | 7447 | =end original |
12260 | 7448 | |
12261 | 7449 | (S precedence) 古い変則的な構文 |
12262 | 7450 | |
12263 | 7451 | open FOO || die; |
12264 | 7452 | |
12265 | 7453 | =begin original |
12266 | 7454 | |
12267 | 7455 | is now misinterpreted as |
12268 | 7456 | |
12269 | 7457 | =end original |
12270 | 7458 | |
12271 | 7459 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
12272 | 7460 | リスト演算子と解釈されますので、 |
12273 | 7461 | |
12274 | 7462 | open(FOO || die); |
12275 | 7463 | |
12276 | 7464 | =begin original |
12277 | 7465 | |
12278 | 7466 | because of the strict regularization of Perl 5's grammar into unary and |
12279 | 7467 | list operators. (The old open was a little of both.) You must put |
12280 | 7468 | parentheses around the filehandle, or use the new "or" operator instead |
12281 | 7469 | of "||". |
12282 | 7470 | |
12283 | 7471 | =end original |
12284 | 7472 | |
12285 | 7473 | という風に誤った解釈がなされます。 |
12286 | 7474 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
12287 | ファイルハンドルの前後を | |
7475 | ファイルハンドルの前後を括弧で囲むか、"||" 演算子の代わりに | |
12288 | 7476 | "or" 演算子を使わなくてはなりません。 |
12289 | 7477 | |
12290 | 7478 | =item Premature end of script headers |
12291 | 7479 | |
12292 | 7480 | =begin original |
12293 | 7481 | |
12294 | See | |
7482 | See Server error. | |
12295 | 7483 | |
12296 | 7484 | =end original |
12297 | 7485 | |
12298 | ||
7486 | "Server error"を参照してください。 | |
12299 | 7487 | |
12300 | 7488 | =item printf() on closed filehandle %s |
12301 | 7489 | |
12302 | 7490 | =begin original |
12303 | 7491 | |
12304 | 7492 | (W closed) The filehandle you're writing to got itself closed sometime |
12305 | 7493 | before now. Check your control flow. |
12306 | 7494 | |
12307 | 7495 | =end original |
12308 | 7496 | |
12309 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に | |
7497 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
12310 | 7498 | 制御フローをチェックしてください。 |
12311 | 7499 | |
12312 | 7500 | =item print() on closed filehandle %s |
12313 | 7501 | |
12314 | 7502 | =begin original |
12315 | 7503 | |
12316 | 7504 | (W closed) The filehandle you're printing on got itself closed sometime |
12317 | 7505 | before now. Check your control flow. |
12318 | 7506 | |
12319 | 7507 | =end original |
12320 | 7508 | |
12321 | (W closed) print を行なおうとしたファイルハンドルは、既に | |
7509 | (W closed) print を行なおうとしたファイルハンドルは、既にクローズされています。 | |
12322 | 7510 | 制御フローをチェックしてください。 |
12323 | 7511 | |
12324 | 7512 | =item Process terminated by SIG%s |
12325 | 7513 | |
12326 | 7514 | =begin original |
12327 | 7515 | |
12328 | 7516 | (W) This is a standard message issued by OS/2 applications, while *nix |
12329 | 7517 | applications die in silence. It is considered a feature of the OS/2 |
12330 | 7518 | port. One can easily disable this by appropriate sighandlers, see |
12331 | 7519 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
12332 | 7520 | in L<perlos2>. |
12333 | 7521 | |
12334 | 7522 | =end original |
12335 | 7523 | |
12336 | 7524 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
12337 | 7525 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
12338 | 7526 | これは OS/2 版の仕様とみなされています。 |
12339 | 7527 | 適切なシグナルハンドラによって簡単に無効にできます; |
12340 | 7528 | L<perlipc/"Signals"> を参照してください。 |
12341 | 7529 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
12342 | 7530 | |
12343 | =item Prototype after '%c' for %s : %s | |
12344 | ||
12345 | =begin original | |
12346 | ||
12347 | (W illegalproto) A character follows % or @ in a prototype. This is | |
12348 | useless, since % and @ gobble the rest of the subroutine arguments. | |
12349 | ||
12350 | =end original | |
12351 | ||
12352 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 | |
12353 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 | |
12354 | ||
12355 | 7531 | =item Prototype mismatch: %s vs %s |
12356 | 7532 | |
12357 | 7533 | =begin original |
12358 | 7534 | |
12359 | 7535 | (S prototype) The subroutine being declared or defined had previously been |
12360 | 7536 | declared or defined with a different function prototype. |
12361 | 7537 | |
12362 | 7538 | =end original |
12363 | 7539 | |
12364 | 7540 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された |
12365 | 7541 | サブルーチンが宣言または定義されました。 |
12366 | 7542 | |
12367 | 7543 | =item Prototype not terminated |
12368 | 7544 | |
12369 | 7545 | =begin original |
12370 | 7546 | |
12371 | 7547 | (F) You've omitted the closing parenthesis in a function prototype |
12372 | 7548 | definition. |
12373 | 7549 | |
12374 | 7550 | =end original |
12375 | 7551 | |
12376 | 7552 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 |
12377 | 7553 | |
12378 | =item P | |
7554 | =item Pseudo-hashes are deprecated | |
12379 | 7555 | |
12380 | 7556 | =begin original |
12381 | 7557 | |
12382 | ( | |
7558 | (D deprecated) Pseudo-hashes were deprecated in Perl 5.8.0 and they | |
12383 | ||
7559 | will be removed in Perl 5.10.0, see L<perl58delta> for more details. | |
12384 | ||
7560 | You can continue to use the C<fields> pragma. | |
12385 | from the attribute before it's ever used. | |
12386 | 7561 | |
12387 | 7562 | =end original |
12388 | 7563 | |
12389 | ( | |
7564 | (D deprecated) 擬似ハッシュは Perl 5.8.0 から非推奨とされ、 Perl 5.10.0 で | |
12390 | ||
7565 | 削除される予定です; さらなる詳細については L<perl58delta> を | |
12391 | ||
7566 | 参照してください。 | |
12392 | プ | |
7567 | C<fields> プラグマは使いつづけることができます。 | |
12393 | 7568 | |
12394 | =item Quantifier follows nothing in regex; marked by | |
7569 | =item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/ | |
12395 | 7570 | |
12396 | 7571 | =begin original |
12397 | 7572 | |
12398 | (F) You started a regular expression with a quantifier. | |
7573 | (F) You started a regular expression with a quantifier. Backslash it if you | |
12399 | ||
7574 | meant it literally. The <-- HERE shows in the regular expression about | |
12400 | e | |
7575 | where the problem was discovered. See L<perlre>. | |
12401 | 7576 | |
12402 | 7577 | =end original |
12403 | 7578 | |
12404 | 7579 | (F) 正規表現を量指定子で開始しています。 |
12405 | 7580 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 |
12406 | ||
7581 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12407 | 7582 | L<perlre> を参照してください。 |
12408 | 7583 | |
12409 | =item Quantifier in {,} bigger than %d in regex; marked by | |
7584 | =item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/ | |
12410 | 7585 | |
12411 | 7586 | =begin original |
12412 | 7587 | |
12413 | (F) There is currently a limit to the size of the min and max values of | |
7588 | (F) There is currently a limit to the size of the min and max values of the | |
12414 | ||
7589 | {min,max} construct. The <-- HERE shows in the regular expression about where | |
12415 | ||
7590 | the problem was discovered. See L<perlre>. | |
12416 | 7591 | |
12417 | 7592 | =end original |
12418 | 7593 | |
12419 | 7594 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
12420 | ||
7595 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12421 | 7596 | L<perlre> を参照してください。 |
12422 | 7597 | |
12423 | =item Quantifier | |
7598 | =item Quantifier unexpected on zero-length expression; marked by <-- HERE in m/%s/ | |
12424 | 7599 | |
12425 | =item Quantifier {n,m} with n > m can't match in regex; marked by | |
12426 | S<<-- HERE> in m/%s/ | |
12427 | ||
12428 | 7600 | =begin original |
12429 | 7601 | |
12430 | (W regexp) Minima should be less than or equal to maxima. If you really | |
12431 | want your regexp to match something 0 times, just put {0}. | |
12432 | ||
12433 | =end original | |
12434 | ||
12435 | (W regexp) 最小値は最大値以下である必要があります。 | |
12436 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
12437 | ||
12438 | =item Quantifier unexpected on zero-length expression in regex m/%s/ | |
12439 | ||
12440 | =begin original | |
12441 | ||
12442 | 7602 | (W regexp) You applied a regular expression quantifier in a place where |
12443 | 7603 | it makes no sense, such as on a zero-width assertion. Try putting the |
12444 | 7604 | quantifier inside the assertion instead. For example, the way to match |
12445 | 7605 | "abc" provided that it is followed by three repetitions of "xyz" is |
12446 | 7606 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
12447 | 7607 | |
12448 | 7608 | =end original |
12449 | 7609 | |
12450 | 7610 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
12451 | 7611 | 適用しました。 |
12452 | 7612 | 代わりにアサーションの中に量指定子を置いてください。 |
12453 | 7613 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
12454 | 7614 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
12455 | 7615 | |
7616 | =begin original | |
7617 | ||
7618 | The <-- HERE shows in the regular expression about where the problem was | |
7619 | discovered. | |
7620 | ||
7621 | =end original | |
7622 | ||
7623 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
7624 | ||
12456 | 7625 | =item Range iterator outside integer range |
12457 | 7626 | |
12458 | 7627 | =begin original |
12459 | 7628 | |
12460 | 7629 | (F) One (or both) of the numeric arguments to the range operator ".." |
12461 | 7630 | are outside the range which can be represented by integers internally. |
12462 | 7631 | One possible workaround is to force Perl to use magical string increment |
12463 | 7632 | by prepending "0" to your numbers. |
12464 | 7633 | |
12465 | 7634 | =end original |
12466 | 7635 | |
12467 | 7636 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
12468 | 7637 | 表現できる範囲を越えています。 |
12469 | 7638 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
12470 | 7639 | マジカル文字列インクリメントの使用を強制させることです。 |
12471 | 7640 | |
12472 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or | |
12473 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ | |
12474 | ||
12475 | =begin original | |
12476 | ||
12477 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
12478 | ||
12479 | =end original | |
12480 | ||
12481 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
12482 | ||
12483 | =begin original | |
12484 | ||
12485 | Stricter rules help to find typos and other errors. Perhaps you didn't | |
12486 | even intend a range here, if the C<"-"> was meant to be some other | |
12487 | character, or should have been escaped (like C<"\-">). If you did | |
12488 | intend a range, the one that was used is not portable between ASCII and | |
12489 | EBCDIC platforms, and doesn't have an obvious meaning to a casual | |
12490 | reader. | |
12491 | ||
12492 | =end original | |
12493 | ||
12494 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
12495 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の | |
12496 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 | |
12497 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC | |
12498 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な | |
12499 | 意味になります。 | |
12500 | ||
12501 | [3-7] # OK; Obvious and portable | |
12502 | [d-g] # OK; Obvious and portable | |
12503 | [A-Y] # OK; Obvious and portable | |
12504 | [A-z] # WRONG; Not portable; not clear what is meant | |
12505 | [a-Z] # WRONG; Not portable; not clear what is meant | |
12506 | [%-.] # WRONG; Not portable; not clear what is meant | |
12507 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek | |
12508 | ||
12509 | =begin original | |
12510 | ||
12511 | (You can force portability by specifying a Unicode range, which means that | |
12512 | the endpoints are specified by | |
12513 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may | |
12514 | still not be obvious.) | |
12515 | The stricter rules require that ranges that start or stop with an ASCII | |
12516 | character that is not a control have all their endpoints be the literal | |
12517 | character, and not some escape sequence (like C<"\x41">), and the ranges | |
12518 | must be all digits, or all uppercase letters, or all lowercase letters. | |
12519 | ||
12520 | =end original | |
12521 | ||
12522 | (Unicode の範囲を指定することで移植性を共生することができます; | |
12523 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で | |
12524 | 指定するということですが、意味はやはり明確ではないかもしれません。) | |
12525 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 | |
12526 | (C<"\x41"> のような)一部のエスケープシーケンスでない | |
12527 | ASCII 文字で開始および終了することを要求し、 | |
12528 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 | |
12529 | ||
12530 | =item Ranges of digits should be from the same group in regex; marked by | |
12531 | S<<-- HERE> in m/%s/ | |
12532 | ||
12533 | =begin original | |
12534 | ||
12535 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
12536 | ||
12537 | =end original | |
12538 | ||
12539 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
12540 | ||
12541 | =begin original | |
12542 | ||
12543 | Stricter rules help to find typos and other errors. You included a | |
12544 | range, and at least one of the end points is a decimal digit. Under the | |
12545 | stricter rules, when this happens, both end points should be digits in | |
12546 | the same group of 10 consecutive digits. | |
12547 | ||
12548 | =end original | |
12549 | ||
12550 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
12551 | 範囲を含んでいて、少なくとも片方の端は数字です。 | |
12552 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ | |
12553 | グループに属する符号位置である必要があります。 | |
12554 | ||
12555 | =item readdir() attempted on invalid dirhandle %s | |
12556 | ||
12557 | =begin original | |
12558 | ||
12559 | (W io) The dirhandle you're reading from is either closed or not really | |
12560 | a dirhandle. Check your control flow. | |
12561 | ||
12562 | =end original | |
12563 | ||
12564 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 | |
12565 | 実際にはディレクトリハンドルではありません。 | |
12566 | 制御フローをチェックしてください。 | |
12567 | ||
12568 | 7641 | =item readline() on closed filehandle %s |
12569 | 7642 | |
12570 | 7643 | =begin original |
12571 | 7644 | |
12572 | 7645 | (W closed) The filehandle you're reading from got itself closed sometime |
12573 | 7646 | before now. Check your control flow. |
12574 | 7647 | |
12575 | 7648 | =end original |
12576 | 7649 | |
12577 | (W closed) 読み込 | |
7650 | (W closed) 読み込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
12578 | 7651 | 制御フローをチェックしてください。 |
12579 | 7652 | |
12580 | =item readline() on unopened filehandle %s | |
12581 | ||
12582 | =begin original | |
12583 | ||
12584 | (W unopened) The filehandle you're reading from was never opened. Check your | |
12585 | control flow. | |
12586 | ||
12587 | =end original | |
12588 | ||
12589 | (W unopened) 読み込もうとしたファイルハンドルは開かれていません。 | |
12590 | 制御フローをチェックしてください。 | |
12591 | ||
12592 | 7653 | =item read() on closed filehandle %s |
12593 | 7654 | |
12594 | 7655 | =begin original |
12595 | 7656 | |
12596 | 7657 | (W closed) You tried to read from a closed filehandle. |
12597 | 7658 | |
12598 | 7659 | =end original |
12599 | 7660 | |
12600 | 7661 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
12601 | 7662 | |
12602 | 7663 | =item read() on unopened filehandle %s |
12603 | 7664 | |
12604 | 7665 | =begin original |
12605 | 7666 | |
12606 | 7667 | (W unopened) You tried to read from a filehandle that was never opened. |
12607 | 7668 | |
12608 | 7669 | =end original |
12609 | 7670 | |
12610 | 7671 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
12611 | 7672 | |
12612 | =item Reallocation too large: %x | |
7673 | =item Reallocation too large: %lx | |
12613 | 7674 | |
12614 | 7675 | =begin original |
12615 | 7676 | |
12616 | 7677 | (F) You can't allocate more than 64K on an MS-DOS machine. |
12617 | 7678 | |
12618 | 7679 | =end original |
12619 | 7680 | |
12620 | 7681 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
12621 | 7682 | |
12622 | 7683 | =item realloc() of freed memory ignored |
12623 | 7684 | |
12624 | 7685 | =begin original |
12625 | 7686 | |
12626 | 7687 | (S malloc) An internal routine called realloc() on something that had |
12627 | 7688 | already been freed. |
12628 | 7689 | |
12629 | 7690 | =end original |
12630 | 7691 | |
12631 | 7692 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
12632 | 7693 | 呼び出しました。 |
12633 | 7694 | |
12634 | 7695 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
12635 | 7696 | |
12636 | 7697 | =begin original |
12637 | 7698 | |
12638 | ( | |
7699 | (F debugging) You can't use the B<-D> option unless the code to produce | |
12639 | 7700 | the desired output is compiled into Perl, which entails some overhead, |
12640 | 7701 | which is why it's currently left out of your copy. |
12641 | 7702 | |
12642 | 7703 | =end original |
12643 | 7704 | |
12644 | ( | |
7705 | (F debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
12645 | 組み込まれていなければ、B<-D> スイッチを使うことはできません | |
7706 | 組み込まれていなければ、B<-D> スイッチを使うことはできません。 | |
12646 | 7707 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
12647 | 7708 | Perl に組み込んでない理由でしょう。 |
12648 | 7709 | |
12649 | =item Recursive call to Perl_load_module in PerlIO_find_layer | |
12650 | ||
12651 | =begin original | |
12652 | ||
12653 | (P) It is currently not permitted to load modules when creating | |
12654 | a filehandle inside an %INC hook. This can happen with C<open my | |
12655 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try | |
12656 | loading PerlIO::scalar explicitly first. | |
12657 | ||
12658 | =end original | |
12659 | ||
12660 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは | |
12661 | 現在のところ許されていません。 | |
12662 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに | |
12663 | 起こることがあります。 | |
12664 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 | |
12665 | ||
12666 | 7710 | =item Recursive inheritance detected in package '%s' |
12667 | 7711 | |
12668 | 7712 | =begin original |
12669 | 7713 | |
12670 | (F) | |
7714 | (F) More than 100 levels of inheritance were used. Probably indicates | |
12671 | ||
7715 | an unintended loop in your inheritance hierarchy. | |
12672 | crude check that bails out after 100 levels of C<@ISA> depth. | |
12673 | 7716 | |
12674 | 7717 | =end original |
12675 | 7718 | |
12676 | (F) | |
7719 | (F) 100 レベル以上の継承が行なわれました。 | |
12677 | ||
7720 | おそらく、継承階層の中で、予想外のループになっている部分があるものと | |
12678 | ||
7721 | 思われます。 | |
12679 | 7722 | |
12680 | =item Re | |
7723 | =item Recursive inheritance detected while looking for method %s | |
12681 | 7724 | |
12682 | 7725 | =begin original |
12683 | 7726 | |
12684 | ( | |
7727 | (F) More than 100 levels of inheritance were encountered while invoking | |
12685 | a | |
7728 | a method. Probably indicates an unintended loop in your inheritance | |
12686 | ||
7729 | hierarchy. | |
12687 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. | |
12688 | 7730 | |
12689 | 7731 | =end original |
12690 | 7732 | |
12691 | ( | |
7733 | (F) メソッドの起動中に 100 レベル以上の継承が行なわれました。 | |
12692 | ||
7734 | おそらく、継承階層の中で、予想外のループになっている部分があるものと | |
12693 | ||
7735 | 思われます。 | |
12694 | 引数しか必要としていない場合にのみ発生しますが、将来は | |
12695 | 例えば L<perlfunc/pack> で使われるかもしれません。 | |
12696 | 7736 | |
12697 | =item refcnt_dec: fd %d%s | |
12698 | ||
12699 | =item refcnt: fd %d%s | |
12700 | ||
12701 | =item refcnt_inc: fd %d%s | |
12702 | ||
12703 | =begin original | |
12704 | ||
12705 | (P) Perl's I/O implementation failed an internal consistency check. If | |
12706 | you see this message, something is very wrong. | |
12707 | ||
12708 | =end original | |
12709 | ||
12710 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 | |
12711 | このメッセージを見たなら、何かがすごく悪いです。 | |
12712 | ||
12713 | 7737 | =item Reference found where even-sized list expected |
12714 | 7738 | |
12715 | 7739 | =begin original |
12716 | 7740 | |
12717 | 7741 | (W misc) You gave a single reference where Perl was expecting a list |
12718 | with an even number of elements (for assignment to a hash). | |
7742 | with an even number of elements (for assignment to a hash). This usually | |
12719 | ||
7743 | means that you used the anon hash constructor when you meant to use | |
12720 | ||
7744 | parens. In any case, a hash requires key/value B<pairs>. | |
12721 | 7745 | |
12722 | 7746 | =end original |
12723 | 7747 | |
12724 | 7748 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
12725 | 想定しているところに | |
7749 | 想定しているところに 1 つのリファレンスを渡しました。 | |
12726 | 7750 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
12727 | 7751 | 意味します。 |
12728 | 7752 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
12729 | 7753 | |
12730 | 7754 | %hash = { one => 1, two => 2, }; # WRONG |
12731 | 7755 | %hash = [ qw/ an anon array / ]; # WRONG |
12732 | 7756 | %hash = ( one => 1, two => 2, ); # right |
12733 | 7757 | %hash = qw( one 1 two 2 ); # also fine |
12734 | 7758 | |
12735 | 7759 | =item Reference is already weak |
12736 | 7760 | |
12737 | 7761 | =begin original |
12738 | 7762 | |
12739 | 7763 | (W misc) You have attempted to weaken a reference that is already weak. |
12740 | 7764 | Doing so has no effect. |
12741 | 7765 | |
12742 | 7766 | =end original |
12743 | 7767 | |
12744 | 7768 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
12745 | 7769 | そうしても何の効果もありません。 |
12746 | 7770 | |
12747 | =item Reference is | |
7771 | =item Reference miscount in sv_replace() | |
12748 | 7772 | |
12749 | 7773 | =begin original |
12750 | 7774 | |
12751 | (W | |
7775 | (W internal) The internal sv_replace() function was handed a new SV with | |
12752 | ||
7776 | a reference count of other than 1. | |
12753 | 7777 | |
12754 | 7778 | =end original |
12755 | 7779 | |
12756 | (W | |
7780 | (W internal) 内部の sv_replace() 関数が、参照数が 1 でない、新規の | |
12757 | ||
7781 | SV を扱いました。 | |
12758 | 7782 | |
12759 | =item Reference to | |
7783 | =item Reference to nonexistent group in regex; marked by <-- HERE in m/%s/ | |
12760 | 7784 | |
12761 | 7785 | =begin original |
12762 | 7786 | |
12763 | (F) You used C<\g0> or similar in a regular expression. You may refer | |
12764 | to capturing parentheses only with strictly positive integers | |
12765 | (normal backreferences) or with strictly negative integers (relative | |
12766 | backreferences). Using 0 does not make sense. | |
12767 | ||
12768 | =end original | |
12769 | ||
12770 | (F) 正規表現で C<\g0> のようなものを使いました。 | |
12771 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) | |
12772 | のみです。 | |
12773 | 0 は意味を成しません。 | |
12774 | ||
12775 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in | |
12776 | m/%s/ | |
12777 | ||
12778 | =begin original | |
12779 | ||
12780 | 7787 | (F) You used something like C<\7> in your regular expression, but there are |
12781 | not at least seven sets of capturing parentheses in the expression. | |
7788 | not at least seven sets of capturing parentheses in the expression. If you | |
12782 | ||
7789 | wanted to have the character with value 7 inserted into the regular expression, | |
12783 | ||
7790 | prepend a zero to make the number at least two digits: C<\07> | |
12784 | 7791 | |
12785 | 7792 | =end original |
12786 | 7793 | |
12787 | 7794 | 正規表現の中で C<\7> のような記述がありますが、 |
12788 | 正規表現の中に値を捕らえる | |
7795 | 正規表現の中に値を捕らえる括弧が 7 つありません。 | |
12789 | 7796 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
12790 | ゼロをつけて最低 | |
7797 | ゼロをつけて最低二桁の数値にする必要があります: C<\07> | |
12791 | 7798 | |
12792 | 7799 | =begin original |
12793 | 7800 | |
12794 | The | |
7801 | The <-- HERE shows in the regular expression about where the problem was | |
12795 | 7802 | discovered. |
12796 | 7803 | |
12797 | 7804 | =end original |
12798 | 7805 | |
12799 | ||
7806 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12800 | 7807 | |
12801 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> | |
12802 | in m/%s/ | |
12803 | ||
12804 | =begin original | |
12805 | ||
12806 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular | |
12807 | expression, but there is no corresponding named capturing parentheses | |
12808 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
12809 | spelled correctly both in the backreference and the declaration. | |
12810 | ||
12811 | =end original | |
12812 | ||
12813 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 | |
12814 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが | |
12815 | ありません。 | |
12816 | 前方参照と定義の両方において、名前のスペルが正しいかどうか | |
12817 | チェックしてください。 | |
12818 | ||
12819 | =begin original | |
12820 | ||
12821 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12822 | discovered. | |
12823 | ||
12824 | =end original | |
12825 | ||
12826 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12827 | ||
12828 | =item Reference to nonexistent or unclosed group in regex; marked by | |
12829 | S<<-- HERE> in m/%s/ | |
12830 | ||
12831 | =begin original | |
12832 | ||
12833 | (F) You used something like C<\g{-7}> in your regular expression, but there | |
12834 | are not at least seven sets of closed capturing parentheses in the | |
12835 | expression before where the C<\g{-7}> was located. | |
12836 | ||
12837 | =end original | |
12838 | ||
12839 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の | |
12840 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 | |
12841 | ||
12842 | =begin original | |
12843 | ||
12844 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12845 | discovered. | |
12846 | ||
12847 | =end original | |
12848 | ||
12849 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12850 | ||
12851 | 7808 | =item regexp memory corruption |
12852 | 7809 | |
12853 | 7810 | =begin original |
12854 | 7811 | |
12855 | 7812 | (P) The regular expression engine got confused by what the regular |
12856 | 7813 | expression compiler gave it. |
12857 | 7814 | |
12858 | 7815 | =end original |
12859 | 7816 | |
12860 | 7817 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
12861 | 7818 | 処理できなくなりました。 |
12862 | 7819 | |
12863 | =item Regexp | |
7820 | =item Regexp out of space | |
12864 | 7821 | |
12865 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked | |
12866 | by S<<-- HERE> in m/%s/ | |
12867 | ||
12868 | 7822 | =begin original |
12869 | 7823 | |
12870 | (F) The regular expression pattern had too many occurrences | |
12871 | of the specified modifier. Remove the extraneous ones. | |
12872 | ||
12873 | =end original | |
12874 | ||
12875 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12876 | 余分なものを削除してください。 | |
12877 | ||
12878 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- | |
12879 | HERE in m/%s/ | |
12880 | ||
12881 | =begin original | |
12882 | ||
12883 | (F) Turning off the given modifier has the side effect of turning on | |
12884 | another one. Perl currently doesn't allow this. Reword the regular | |
12885 | expression to use the modifier you want to turn on (and place it before | |
12886 | the minus), instead of the one you want to turn off. | |
12887 | ||
12888 | =end original | |
12889 | ||
12890 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという | |
12891 | 副作用があります。 | |
12892 | Perl は現在のところこれを受け入れません。 | |
12893 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの | |
12894 | 前に置く)ように正規表現を書き直してください。 | |
12895 | ||
12896 | =item Regexp modifier "/%c" may not appear twice | |
12897 | ||
12898 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- | |
12899 | HERE in m/%s/ | |
12900 | ||
12901 | =begin original | |
12902 | ||
12903 | (F) The regular expression pattern had too many occurrences | |
12904 | of the specified modifier. Remove the extraneous ones. | |
12905 | ||
12906 | =end original | |
12907 | ||
12908 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12909 | 余分なものを削除してください。 | |
12910 | ||
12911 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive | |
12912 | ||
12913 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; | |
12914 | marked by S<<-- HERE> in m/%s/ | |
12915 | ||
12916 | =begin original | |
12917 | ||
12918 | (F) The regular expression pattern had more than one of these | |
12919 | mutually exclusive modifiers. Retain only the modifier that is | |
12920 | supposed to be there. | |
12921 | ||
12922 | =end original | |
12923 | ||
12924 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
12925 | ここで使うであろう修飾子のみを保持します。 | |
12926 | ||
12927 | =item Regexp out of space in regex m/%s/ | |
12928 | ||
12929 | =begin original | |
12930 | ||
12931 | 7824 | (P) A "can't happen" error, because safemalloc() should have caught it |
12932 | 7825 | earlier. |
12933 | 7826 | |
12934 | 7827 | =end original |
12935 | 7828 | |
12936 | 7829 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 |
12937 | 7830 | |
12938 | =item Repeated format line will never terminate (~~ and @#) | |
7831 | =item Repeated format line will never terminate (~~ and @<#ins> incompatible) | |
12939 | 7832 | |
12940 | 7833 | =begin original |
12941 | 7834 | |
12942 | 7835 | (F) Your format contains the ~~ repeat-until-blank sequence and a |
12943 | 7836 | numeric field that will never go blank so that the repetition never |
12944 | terminates. | |
7837 | terminates. You might use ^# instead. See L<perlform>. | |
12945 | 7838 | |
12946 | 7839 | =end original |
12947 | 7840 | |
12948 | 7841 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない |
12949 | 7842 | スウチフィールドが含まれているので、無限ループになります。 |
12950 | 7843 | 代わりに ^# を使うべきでしょう。 |
12951 | 7844 | L<perlform> を参照してください。 |
12952 | 7845 | |
12953 | =item Replacement list is longer than search list | |
12954 | ||
12955 | =begin original | |
12956 | ||
12957 | (W misc) You have used a replacement list that is longer than the | |
12958 | search list. So the additional elements in the replacement list | |
12959 | are meaningless. | |
12960 | ||
12961 | =end original | |
12962 | ||
12963 | (W misc) 検索リストよりも長い置換リストを使いました。 | |
12964 | 長い分の置換リストは無意味です。 | |
12965 | ||
12966 | =item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/ | |
12967 | ||
12968 | =begin original | |
12969 | ||
12970 | (F) You used a construct that needs a colon and pattern argument. | |
12971 | Supply these or check that you are using the right construct. | |
12972 | ||
12973 | =end original | |
12974 | ||
12975 | (F) コロンとパターン引数を必要とする構文を使いました。 | |
12976 | これらを補うか、正しい構文を使っているか確認してください。 | |
12977 | ||
12978 | =item '%s' resolved to '\o{%s}%d' | |
12979 | ||
12980 | =begin original | |
12981 | ||
12982 | As of Perl 5.32, this message is no longer generated. Instead, see | |
12983 | L</Non-octal character '%c' terminates \o early. Resolved as "%s">. | |
12984 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
12985 | double-quotish string. All but the last digit is treated as a single | |
12986 | character, specified in octal. The last digit is the next character in | |
12987 | the string. To tell Perl that this is indeed what you want, you can use | |
12988 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
12989 | for the character. | |
12990 | ||
12991 | =end original | |
12992 | ||
12993 | Perl 5.32 から、もはやこのメッセージは出力されません。 | |
12994 | 代わりに、 | |
12995 | L</Non-octal character '%c' terminates \o early. Resolved as "%s"> | |
12996 | を見てください。 | |
12997 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
12998 | ものを書きました。 | |
12999 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
13000 | 最後の数字は文字列中の次の文字です。 | |
13001 | これがまさしく望んでいるものであることを Perl に伝えるには、 | |
13002 | C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を | |
13003 | 使ってください。 | |
13004 | ||
13005 | 7846 | =item Reversed %s= operator |
13006 | 7847 | |
13007 | 7848 | =begin original |
13008 | 7849 | |
13009 | 7850 | (W syntax) You wrote your assignment operator backwards. The = must |
13010 | always come last, to avoid ambiguity with subsequent unary operators. | |
7851 | always comes last, to avoid ambiguity with subsequent unary operators. | |
13011 | 7852 | |
13012 | 7853 | =end original |
13013 | 7854 | |
13014 | 7855 | (W syntax) 代入演算子を逆順に書いています。 |
13015 | 7856 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
13016 | 7857 | 代入演算子では、等号 = が、最後にこないといけません。 |
13017 | 7858 | |
13018 | =item | |
7859 | =item Runaway format | |
13019 | 7860 | |
13020 | 7861 | =begin original |
13021 | 7862 | |
13022 | ( | |
7863 | (F) Your format contained the ~~ repeat-until-blank sequence, but it | |
13023 | ||
7864 | produced 200 lines at once, and the 200th line looked exactly like the | |
7865 | 199th line. Apparently you didn't arrange for the arguments to exhaust | |
7866 | themselves, either by using ^ instead of @ (for scalar variables), or by | |
7867 | shifting or popping (for array variables). See L<perlform>. | |
13024 | 7868 | |
13025 | 7869 | =end original |
13026 | 7870 | |
13027 | ( | |
7871 | (F) 定義したフォーマットに、空になるまで繰り返す ~~ が | |
13028 | ||
7872 | 含まれていましたが、一度に 200 行以上となり、199 行目と 200 行目が | |
13029 | ||
7873 | 全く同じになりました。 | |
7874 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を | |
7875 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 | |
7876 | そうなっていないようです。 | |
7877 | L<perlform> を参照してください。 | |
13030 | 7878 | |
13031 | 7879 | =item Scalars leaked: %d |
13032 | 7880 | |
13033 | 7881 | =begin original |
13034 | 7882 | |
13035 | ( | |
7883 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
13036 | ||
7884 | not all scalar variables were deallocated by the time Perl exited. | |
13037 | ||
7885 | What this usually indicates is a memory leak, which is of course bad, | |
13038 | ||
7886 | especially if the Perl program is intended to be long-running. | |
13039 | long-running. | |
13040 | 7887 | |
13041 | 7888 | =end original |
13042 | 7889 | |
13043 | 7890 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: |
13044 | 7891 | Perl 終了時に全てのスカラ変数が解放されませんでした。 |
13045 | 7892 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 |
13046 | 7893 | Perl プログラムが長い間動作する場合には特にそうです。 |
13047 | 7894 | |
13048 | 7895 | =item Scalar value @%s[%s] better written as $%s[%s] |
13049 | 7896 | |
13050 | 7897 | =begin original |
13051 | 7898 | |
13052 | 7899 | (W syntax) You've used an array slice (indicated by @) to select a |
13053 | 7900 | single element of an array. Generally it's better to ask for a scalar |
13054 | 7901 | value (indicated by $). The difference is that C<$foo[&bar]> always |
13055 | 7902 | behaves like a scalar, both when assigning to it and when evaluating its |
13056 | 7903 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
13057 | 7904 | and provides a list context to its subscript, which can do weird things |
13058 | 7905 | if you're expecting only one subscript. |
13059 | 7906 | |
13060 | 7907 | =end original |
13061 | 7908 | |
13062 | 7909 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
13063 | 7910 | スライスを用いました。 |
13064 | 7911 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
13065 | 7912 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
13066 | 7913 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
13067 | 7914 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
13068 | 添字にもリストコンテキストを与えることになります | |
7915 | 添字にもリストコンテキストを与えることになります。 | |
13069 | これは、 | |
7916 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
13070 | 7917 | |
13071 | 7918 | =begin original |
13072 | 7919 | |
13073 | 7920 | On the other hand, if you were actually hoping to treat the array |
13074 | 7921 | element as a list, you need to look into how references work, because |
13075 | 7922 | Perl will not magically convert between scalars and lists for you. See |
13076 | 7923 | L<perlref>. |
13077 | 7924 | |
13078 | 7925 | =end original |
13079 | 7926 | |
13080 | 7927 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
13081 | 7928 | どのように働くかについて詳しく知る必要があります; なぜなら |
13082 | 7929 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
13083 | 7930 | L<perlref> を参照してください。 |
13084 | 7931 | |
13085 | 7932 | =item Scalar value @%s{%s} better written as $%s{%s} |
13086 | 7933 | |
13087 | 7934 | =begin original |
13088 | 7935 | |
13089 | 7936 | (W syntax) You've used a hash slice (indicated by @) to select a single |
13090 | 7937 | element of a hash. Generally it's better to ask for a scalar value |
13091 | 7938 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
13092 | 7939 | like a scalar, both when assigning to it and when evaluating its |
13093 | 7940 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
13094 | 7941 | and provides a list context to its subscript, which can do weird things |
13095 | 7942 | if you're expecting only one subscript. |
13096 | 7943 | |
13097 | 7944 | =end original |
13098 | 7945 | |
13099 | 7946 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
13100 | 7947 | スライスを用いました。 |
13101 | 7948 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
13102 | 7949 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
13103 | 7950 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
13104 | 7951 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
13105 | 添字にもリストコンテキストを与えることになります | |
7952 | 添字にもリストコンテキストを与えることになります。 | |
13106 | これは、 | |
7953 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
13107 | 7954 | |
13108 | 7955 | =begin original |
13109 | 7956 | |
13110 | 7957 | On the other hand, if you were actually hoping to treat the hash element |
13111 | 7958 | as a list, you need to look into how references work, because Perl will |
13112 | 7959 | not magically convert between scalars and lists for you. See |
13113 | 7960 | L<perlref>. |
13114 | 7961 | |
13115 | 7962 | =end original |
13116 | 7963 | |
13117 | 7964 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
13118 | 7965 | どのように働くかについて詳しく知る必要があります; なぜなら |
13119 | 7966 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
13120 | 7967 | L<perlref> を参照してください。 |
13121 | 7968 | |
7969 | =item Script is not setuid/setgid in suidperl | |
7970 | ||
7971 | =begin original | |
7972 | ||
7973 | (F) Oddly, the suidperl program was invoked on a script without a setuid | |
7974 | or setgid bit set. This doesn't make much sense. | |
7975 | ||
7976 | =end original | |
7977 | ||
7978 | (F) 妙なことに、setuid ビット、もしくは setgid ビットが立っていない | |
7979 | スクリプトに対して、suidperl プログラムが起動されました。 | |
7980 | これは意味がありません。 | |
7981 | ||
13122 | 7982 | =item Search pattern not terminated |
13123 | 7983 | |
13124 | 7984 | =begin original |
13125 | 7985 | |
13126 | 7986 | (F) The lexer couldn't find the final delimiter of a // or m{} |
13127 | 7987 | construct. Remember that bracketing delimiters count nesting level. |
13128 | 7988 | Missing the leading C<$> from a variable C<$m> may cause this error. |
13129 | 7989 | |
13130 | 7990 | =end original |
13131 | 7991 | |
13132 | 7992 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
13133 | ||
7993 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
13134 | 7994 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
13135 | 7995 | |
13136 | 7996 | =begin original |
13137 | 7997 | |
13138 | Note that since Perl 5. | |
7998 | Note that since Perl 5.9.0 a // can also be the I<defined-or> | |
13139 | 7999 | construct, not just the empty search pattern. Therefore code written |
13140 | in Perl 5. | |
8000 | in Perl 5.9.0 or later that uses the // as the I<defined-or> can be | |
13141 | misparsed by pre-5. | |
8001 | misparsed by pre-5.9.0 Perls as a non-terminated search pattern. | |
13142 | 8002 | |
13143 | 8003 | =end original |
13144 | 8004 | |
13145 | Perl 5. | |
8005 | Perl 5.9.0 から、// は I<defined-or> 構文として扱われ、単なる | |
13146 | 8006 | 空検索パターンではありません。 |
13147 | 従って、Perl 5. | |
8007 | 従って、Perl 5.9.0 以降で書かれた、// を I<defined-or> として使っている | |
13148 | コードは、5. | |
8008 | コードは、5.9.0 以前の Perl では、終端していない検索パターンとして | |
13149 | 8009 | 誤パースされるかもしれません。 |
13150 | 8010 | |
13151 | =item | |
8011 | =item Search pattern not terminated or ternary operator parsed as search pattern | |
13152 | 8012 | |
13153 | 8013 | =begin original |
13154 | 8014 | |
13155 | ( | |
8015 | (F) The lexer couldn't find the final delimiter of a C<?PATTERN?> | |
13156 | ||
8016 | construct. | |
13157 | 8017 | |
13158 | 8018 | =end original |
13159 | 8019 | |
13160 | ( | |
8020 | (F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。 | |
13161 | 実際にはディレクトリハンドルではありません。 | |
13162 | 制御フローをチェックしてください。 | |
13163 | 8021 | |
8022 | =begin original | |
8023 | ||
8024 | The question mark is also used as part of the ternary operator (as in | |
8025 | C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly | |
8026 | parsed. One way to disambiguate the parsing is to put parentheses around | |
8027 | the conditional expression, i.e. C<(foo) ? 0 : 1>. | |
8028 | ||
8029 | =end original | |
8030 | ||
8031 | クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても | |
8032 | 使われるので、紛らわしい構造の場合は間違ってパースされることがあります。 | |
8033 | パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように | |
8034 | 条件式をかっこで括ることです。 | |
8035 | ||
13164 | 8036 | =item %sseek() on unopened filehandle |
13165 | 8037 | |
13166 | 8038 | =begin original |
13167 | 8039 | |
13168 | 8040 | (W unopened) You tried to use the seek() or sysseek() function on a |
13169 | 8041 | filehandle that was either never opened or has since been closed. |
13170 | 8042 | |
13171 | 8043 | =end original |
13172 | 8044 | |
13173 | 8045 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
13174 | 8046 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
13175 | 8047 | |
13176 | 8048 | =item select not implemented |
13177 | 8049 | |
13178 | 8050 | =begin original |
13179 | 8051 | |
13180 | 8052 | (F) This machine doesn't implement the select() system call. |
13181 | 8053 | |
13182 | 8054 | =end original |
13183 | 8055 | |
13184 | 8056 | (F) このマシンでは、select() システムコールは実装されていません。 |
13185 | 8057 | |
13186 | 8058 | =item Self-ties of arrays and hashes are not supported |
13187 | 8059 | |
13188 | 8060 | =begin original |
13189 | 8061 | |
13190 | 8062 | (F) Self-ties are of arrays and hashes are not supported in |
13191 | 8063 | the current implementation. |
13192 | 8064 | |
13193 | 8065 | =end original |
13194 | 8066 | |
13195 | 8067 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 |
13196 | 8068 | |
13197 | 8069 | =item Semicolon seems to be missing |
13198 | 8070 | |
13199 | 8071 | =begin original |
13200 | 8072 | |
13201 | 8073 | (W semicolon) A nearby syntax error was probably caused by a missing |
13202 | 8074 | semicolon, or possibly some other missing operator, such as a comma. |
13203 | 8075 | |
13204 | 8076 | =end original |
13205 | 8077 | |
13206 | 8078 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
13207 | 8079 | 演算子がなかったために起こったものと考えられます。 |
13208 | 8080 | |
13209 | 8081 | =item semi-panic: attempt to dup freed string |
13210 | 8082 | |
13211 | 8083 | =begin original |
13212 | 8084 | |
13213 | 8085 | (S internal) The internal newSVsv() routine was called to duplicate a |
13214 | 8086 | scalar that had previously been marked as free. |
13215 | 8087 | |
13216 | 8088 | =end original |
13217 | 8089 | |
13218 | 8090 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
13219 | 8091 | newSVsv() ルーティンが呼ばれました。 |
13220 | 8092 | |
13221 | 8093 | =item sem%s not implemented |
13222 | 8094 | |
13223 | 8095 | =begin original |
13224 | 8096 | |
13225 | 8097 | (F) You don't have System V semaphore IPC on your system. |
13226 | 8098 | |
13227 | 8099 | =end original |
13228 | 8100 | |
13229 | 8101 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
13230 | 8102 | |
13231 | 8103 | =item send() on closed socket %s |
13232 | 8104 | |
13233 | 8105 | =begin original |
13234 | 8106 | |
13235 | 8107 | (W closed) The socket you're sending to got itself closed sometime |
13236 | 8108 | before now. Check your control flow. |
13237 | 8109 | |
13238 | 8110 | =end original |
13239 | 8111 | |
13240 | (W closed) 送信を行なおうとしたソケットは、既に | |
8112 | (W closed) 送信を行なおうとしたソケットは、既にクローズされています。 | |
13241 | 8113 | 制御フローをチェックしてください。 |
13242 | 8114 | |
13243 | =item Sequence | |
8115 | =item Sequence (? incomplete in regex; marked by <-- HERE in m/%s/ | |
13244 | 8116 | |
13245 | 8117 | =begin original |
13246 | 8118 | |
13247 | (F) | |
8119 | (F) A regular expression ended with an incomplete extension (?. The <-- HERE | |
13248 | ||
8120 | shows in the regular expression about where the problem was discovered. See | |
13249 | p | |
8121 | L<perlre>. | |
13250 | were intending to specify a control character with this sequence, you'll | |
13251 | have to use a different way to specify it. | |
13252 | 8122 | |
13253 | 8123 | =end original |
13254 | 8124 | |
13255 | (F) これら三つの文字の並びはダブルクォート風のコンテキストでは | |
13256 | 使えません。 | |
13257 | このメッセージは非 ASCII プラットフォームでのみ発生します | |
13258 | (ASCII では異なったえらメッセージが出力されます)。 | |
13259 | この並びの制御文字を指定することを意図している場合は、指定するために | |
13260 | 異なる方法を使う必要があります。 | |
13261 | ||
13262 | =item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/ | |
13263 | ||
13264 | =begin original | |
13265 | ||
13266 | (F) A regular expression ended with an incomplete extension (?. The | |
13267 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13268 | discovered. See L<perlre>. | |
13269 | ||
13270 | =end original | |
13271 | ||
13272 | 8125 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
13273 | ||
8126 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13274 | 8127 | L<perlre> を参照してください。 |
13275 | 8128 | |
13276 | =item Sequence (?% | |
8129 | =item Sequence (?%s...) not implemented in regex; marked by <-- HERE in m/%s/ | |
13277 | m/%s/ | |
13278 | 8130 | |
13279 | 8131 | =begin original |
13280 | 8132 | |
13281 | (F) A proposed regular expression extension has the character reserved | |
8133 | (F) A proposed regular expression extension has the character reserved but | |
13282 | ||
8134 | has not yet been written. The <-- HERE shows in the regular expression about | |
13283 | ||
8135 | where the problem was discovered. See L<perlre>. | |
13284 | 8136 | |
13285 | 8137 | =end original |
13286 | 8138 | |
13287 | 8139 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
13288 | 8140 | まだ実装されていません。 |
13289 | ||
8141 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13290 | 8142 | L<perlre> を参照してください。 |
13291 | 8143 | |
13292 | =item Sequence (?%s...) not recognized in regex; marked by | |
8144 | =item Sequence (?%s...) not recognized in regex; marked by <-- HERE in m/%s/ | |
13293 | m/%s/ | |
13294 | 8145 | |
13295 | 8146 | =begin original |
13296 | 8147 | |
13297 | (F) You used a regular expression extension that doesn't make sense. | |
8148 | (F) You used a regular expression extension that doesn't make sense. The | |
13298 | ||
8149 | <-- HERE shows in the regular expression about where the problem was | |
13299 | discovered. | |
8150 | discovered. See L<perlre>. | |
13300 | Perl to use the default regular expression modifiers, and you | |
13301 | redundantly specify a default modifier. For other | |
13302 | causes, see L<perlre>. | |
13303 | 8151 | |
13304 | 8152 | =end original |
13305 | 8153 | |
13306 | 8154 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
13307 | ||
8155 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13308 | ||
8156 | L<perlre> を参照してください。 | |
13309 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 | |
13310 | その他の理由については、L<perlre> を参照してください。 | |
13311 | 8157 | |
13312 | =item Sequence (?#... not terminated in regex m/%s/ | |
8158 | =item Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/ | |
13313 | 8159 | |
13314 | 8160 | =begin original |
13315 | 8161 | |
13316 | 8162 | (F) A regular expression comment must be terminated by a closing |
13317 | parenthesis. Embedded parentheses aren't allowed. | |
8163 | parenthesis. Embedded parentheses aren't allowed. The <-- HERE shows in | |
8164 | the regular expression about where the problem was discovered. See | |
13318 | 8165 | L<perlre>. |
13319 | 8166 | |
13320 | 8167 | =end original |
13321 | 8168 | |
13322 | (F) 正規表現 | |
8169 | (F) 正規表現コメントは、閉じ括弧で終わらなければなりません。 | |
13323 | ||
8170 | 括弧を含めることは許されません。 | |
8171 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13324 | 8172 | L<perlre> を参照してください。 |
13325 | 8173 | |
13326 | =item Sequence (? | |
8174 | =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/ | |
13327 | m/%s/ | |
13328 | 8175 | |
13329 | 8176 | =begin original |
13330 | 8177 | |
13331 | (F) | |
8178 | (F) If the contents of a (?{...}) clause contains braces, they must balance | |
13332 | ||
8179 | for Perl to properly detect the end of the clause. The <-- HERE shows in | |
13333 | ||
8180 | the regular expression about where the problem was discovered. See | |
8181 | L<perlre>. | |
13334 | 8182 | |
13335 | 8183 | =end original |
13336 | 8184 | |
13337 | (F) | |
8185 | (F) (?{...}) 節の中に大括弧がある場合、対応していなければなりません。 | |
13338 | ||
8186 | Perl が正しく節の最後を検出するためです。 | |
13339 | ||
8187 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8188 | L<perlre> を参照してください。 | |
13340 | 8189 | |
13341 | =item Se | |
8190 | =item 500 Server error | |
13342 | in m/%s/ | |
13343 | 8191 | |
13344 | 8192 | =begin original |
13345 | 8193 | |
13346 | ||
8194 | See Server error. | |
13347 | closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the | |
13348 | regular expression the problem was discovered. | |
13349 | 8195 | |
13350 | 8196 | =end original |
13351 | 8197 | |
13352 | ||
8198 | "Server error" を参照してください。 | |
13353 | 最後の閉じクォートまたは山かっこがありません。 | |
13354 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13355 | 8199 | |
13356 | =item Se | |
8200 | =item Server error | |
13357 | in m/%s/ | |
13358 | 8201 | |
13359 | 8202 | =begin original |
13360 | 8203 | |
13361 | ||
8204 | This is the error message generally seen in a browser window when trying | |
13362 | ||
8205 | to run a CGI program (including SSI) over the web. The actual error text | |
13363 | ||
8206 | varies widely from server to server. The most frequently-seen variants | |
13364 | d | |
8207 | are "500 Server error", "Method (something) not permitted", "Document | |
8208 | contains no data", "Premature end of script headers", and "Did not | |
8209 | produce a valid header". | |
13365 | 8210 | |
13366 | 8211 | =end original |
13367 | 8212 | |
13368 | ||
8213 | これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
13369 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 | |
13370 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13371 | ||
13372 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in | |
13373 | m/%s/ | |
13374 | ||
13375 | =begin original | |
13376 | ||
13377 | (F) There was no matching closing parenthesis for the '('. The | |
13378 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13379 | discovered. | |
13380 | ||
13381 | =end original | |
13382 | ||
13383 | (F) '(' に対応する閉じかっこがありません。 | |
13384 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13385 | ||
13386 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in | |
13387 | m/%s/ | |
13388 | ||
13389 | =begin original | |
13390 | ||
13391 | (F) The regular expression expects a mandatory argument following the escape | |
13392 | sequence and this has been omitted or incorrectly written. | |
13393 | ||
13394 | =end original | |
13395 | ||
13396 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 | |
13397 | それが省略されているか適切に書かれていません。 | |
13398 | ||
13399 | =item Sequence (?{...}) not terminated with ')' | |
13400 | ||
13401 | =begin original | |
13402 | ||
13403 | (F) The end of the perl code contained within the {...} must be | |
13404 | followed immediately by a ')'. | |
13405 | ||
13406 | =end original | |
13407 | ||
13408 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が | |
13409 | 引き続かなければなりません。 | |
13410 | ||
13411 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13412 | ||
13413 | =begin original | |
13414 | ||
13415 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
13416 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13417 | in the regular expression the problem was discovered. | |
13418 | ||
13419 | =end original | |
13420 | ||
13421 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
13422 | ありません。 | |
13423 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13424 | ||
13425 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13426 | ||
13427 | =begin original | |
13428 | ||
13429 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
13430 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
13431 | regular expression the problem was discovered. | |
13432 | ||
13433 | =end original | |
13434 | ||
13435 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
13436 | 最後の閉じ山かっこがありません。 | |
13437 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13438 | ||
13439 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in | |
13440 | m/%s/ | |
13441 | ||
13442 | =begin original | |
13443 | ||
13444 | (F) A named reference of the form C<(?P=...)> was missing the final | |
13445 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13446 | in the regular expression the problem was discovered. | |
13447 | ||
13448 | =end original | |
13449 | ||
13450 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の | |
13451 | 閉じかっこがありません。 | |
13452 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13453 | ||
13454 | =item Sequence (?R) not terminated in regex m/%s/ | |
13455 | ||
13456 | =begin original | |
13457 | ||
13458 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the | |
13459 | final parenthesis. | |
13460 | ||
13461 | =end original | |
13462 | ||
13463 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 | |
13464 | ||
13465 | =item Z<>500 Server error | |
13466 | ||
13467 | =begin original | |
13468 | ||
13469 | (A) This is the error message generally seen in a browser window | |
13470 | when trying to run a CGI program (including SSI) over the web. The | |
13471 | actual error text varies widely from server to server. The most | |
13472 | frequently-seen variants are "500 Server error", "Method (something) | |
13473 | not permitted", "Document contains no data", "Premature end of script | |
13474 | headers", and "Did not produce a valid header". | |
13475 | ||
13476 | =end original | |
13477 | ||
13478 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
13479 | 8214 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
13480 | 8215 | 実際のエラーテキストはサーバーによって大きく異なります。 |
13481 | 8216 | もっともよく見られるものとしては、"500 Server error", |
13482 | 8217 | "Method (something) not permitted", "Document contains no data", |
13483 | 8218 | "Premature end of script headers", "Did not produce a valid header" が |
13484 | 8219 | あります。 |
13485 | 8220 | |
13486 | 8221 | =begin original |
13487 | 8222 | |
13488 | 8223 | B<This is a CGI error, not a Perl error>. |
13489 | 8224 | |
13490 | 8225 | =end original |
13491 | 8226 | |
13492 | 8227 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
13493 | 8228 | |
13494 | 8229 | =begin original |
13495 | 8230 | |
13496 | You need to make sure your script is executable, is accessible by | |
8231 | You need to make sure your script is executable, is accessible by the | |
13497 | ||
8232 | user CGI is running the script under (which is probably not the user | |
13498 | ||
8233 | account you tested it under), does not rely on any environment variables | |
13499 | ||
8234 | (like PATH) from the user it isn't running under, and isn't in a | |
13500 | ||
8235 | location where the CGI server can't find it, basically, more or less. | |
13501 | ||
8236 | Please see the following for more information: | |
13502 | 8237 | |
13503 | 8238 | =end original |
13504 | 8239 | |
13505 | 8240 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
13506 | 8241 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
13507 | 8242 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
13508 | 8243 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
13509 | 8244 | さらなる情報については以下を参照してください。 |
13510 | 8245 | |
13511 | http | |
8246 | http://www.perl.org/CGI_MetaFAQ.html | |
13512 | 8247 | http://www.htmlhelp.org/faq/cgifaq.html |
13513 | 8248 | http://www.w3.org/Security/Faq/ |
13514 | 8249 | |
13515 | 8250 | =begin original |
13516 | 8251 | |
13517 | 8252 | You should also look at L<perlfaq9>. |
13518 | 8253 | |
13519 | 8254 | =end original |
13520 | 8255 | |
13521 | 8256 | L<perlfaq9> も見るべきでしょう。 |
13522 | 8257 | |
13523 | 8258 | =item setegid() not implemented |
13524 | 8259 | |
13525 | 8260 | =begin original |
13526 | 8261 | |
13527 | 8262 | (F) You tried to assign to C<$)>, and your operating system doesn't |
13528 | 8263 | support the setegid() system call (or equivalent), or at least Configure |
13529 | 8264 | didn't think so. |
13530 | 8265 | |
13531 | 8266 | =end original |
13532 | 8267 | |
13533 | 8268 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
13534 | システムコール (または、同等のもの) がサポートされていません | |
8269 | システムコール (または、同等のもの) がサポートされていません。 | |
13535 | 8270 | 少なくとも Configure では、そう判断されました。 |
13536 | 8271 | |
13537 | 8272 | =item seteuid() not implemented |
13538 | 8273 | |
13539 | 8274 | =begin original |
13540 | 8275 | |
13541 | 8276 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
13542 | 8277 | support the seteuid() system call (or equivalent), or at least Configure |
13543 | 8278 | didn't think so. |
13544 | 8279 | |
13545 | 8280 | =end original |
13546 | 8281 | |
13547 | 8282 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
13548 | システムコール (または、同等のもの) がサポートされていません | |
8283 | システムコール (または、同等のもの) がサポートされていません。 | |
13549 | 8284 | 少なくとも Configure では、そう判断されました。 |
13550 | 8285 | |
13551 | 8286 | =item setpgrp can't take arguments |
13552 | 8287 | |
13553 | 8288 | =begin original |
13554 | 8289 | |
13555 | 8290 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
13556 | 8291 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
13557 | 8292 | group ID. |
13558 | 8293 | |
13559 | 8294 | =end original |
13560 | 8295 | |
13561 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません | |
8296 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません。 | |
13562 | 8297 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
13563 | 8298 | |
13564 | 8299 | =item setrgid() not implemented |
13565 | 8300 | |
13566 | 8301 | =begin original |
13567 | 8302 | |
13568 | 8303 | (F) You tried to assign to C<$(>, and your operating system doesn't |
13569 | 8304 | support the setrgid() system call (or equivalent), or at least Configure |
13570 | 8305 | didn't think so. |
13571 | 8306 | |
13572 | 8307 | =end original |
13573 | 8308 | |
13574 | 8309 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
13575 | システムコール (または、同等のもの) がサポートされていません | |
8310 | システムコール (または、同等のもの) がサポートされていません。 | |
13576 | 8311 | 少なくとも Configure では、そう判断されました。 |
13577 | 8312 | |
13578 | 8313 | =item setruid() not implemented |
13579 | 8314 | |
13580 | 8315 | =begin original |
13581 | 8316 | |
13582 | 8317 | (F) You tried to assign to C<$<>, and your operating system doesn't |
13583 | 8318 | support the setruid() system call (or equivalent), or at least Configure |
13584 | 8319 | didn't think so. |
13585 | 8320 | |
13586 | 8321 | =end original |
13587 | 8322 | |
13588 | 8323 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
13589 | システムコール (または、同等のもの) がサポートされていません | |
8324 | システムコール (または、同等のもの) がサポートされていません。 | |
13590 | 8325 | 少なくとも Configure では、そう判断されました。 |
13591 | 8326 | |
13592 | 8327 | =item setsockopt() on closed socket %s |
13593 | 8328 | |
13594 | 8329 | =begin original |
13595 | 8330 | |
13596 | 8331 | (W closed) You tried to set a socket option on a closed socket. Did you |
13597 | 8332 | forget to check the return value of your socket() call? See |
13598 | 8333 | L<perlfunc/setsockopt>. |
13599 | 8334 | |
13600 | 8335 | =end original |
13601 | 8336 | |
13602 | 8337 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
13603 | socket() | |
8338 | socket() 呼び出しの返り値のチェックを忘れていませんか? | |
13604 | 8339 | L<perlfunc/setsockopt> を参照してください。 |
13605 | 8340 | |
13606 | =item Set | |
8341 | =item Setuid/gid script is writable by world | |
13607 | 8342 | |
13608 | 8343 | =begin original |
13609 | 8344 | |
13610 | (F) | |
8345 | (F) The setuid emulator won't run a script that is writable by the | |
13611 | ||
8346 | world, because the world might have written on it already. | |
13612 | setting it to C<undef> but was in fact internally different, less efficient | |
13613 | and with very bad luck could have resulted in your file being split by a | |
13614 | stringified form of the reference. | |
13615 | 8347 | |
13616 | 8348 | =end original |
13617 | 8349 | |
13618 | (F) | |
8350 | (F) setuid エミュレータは、誰もが書き込みができるようになっている | |
13619 | ||
8351 | スクリプトは実行しません。 | |
13620 | ||
8352 | 誰かが既に書き換えたかも知れないからです。 | |
13621 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが | |
13622 | このリファレンスの文字列化形式で split されることになっていました。 | |
13623 | 8353 | |
13624 | = | |
8354 | =item Setuid script not plain file | |
13625 | 8355 | |
13626 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as | |
13627 | setting C<$/> to undef, with the exception that this warning would be thrown. | |
13628 | ||
13629 | =end original | |
13630 | ||
13631 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては | |
13632 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 | |
13633 | ||
13634 | 8356 | =begin original |
13635 | 8357 | |
13636 | ||
8358 | (F) The setuid emulator won't run a script that isn't read from a file, | |
13637 | ||
8359 | but from a socket, a pipe or another device. | |
13638 | to an integer which isn't positive is a fatal error. | |
13639 | 8360 | |
13640 | 8361 | =end original |
13641 | 8362 | |
13642 | ファイル | |
8363 | (F) setuid エミュレータは、ファイルからではなく、ソケットやパイプや | |
13643 | ||
8364 | その他のデバイスから読み込んだスクリプトは実行できません。 | |
13644 | Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は | |
13645 | 致命的エラーです。 | |
13646 | 8365 | |
13647 | =item Setting $/ to %s reference is forbidden | |
13648 | ||
13649 | =begin original | |
13650 | ||
13651 | (F) You tried to assign a reference to a non integer to C<$/>. In older | |
13652 | Perls this would have behaved similarly to setting it to a reference to | |
13653 | a positive integer, where the integer was the address of the reference. | |
13654 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl | |
13655 | to use non-integer refs for more interesting purposes. | |
13656 | ||
13657 | =end original | |
13658 | ||
13659 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 | |
13660 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを | |
13661 | 設定するのと似たように振る舞っていました。 | |
13662 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように | |
13663 | Perl 5.20.0 から、これは致命的エラーになりました。 | |
13664 | ||
13665 | 8366 | =item shm%s not implemented |
13666 | 8367 | |
13667 | 8368 | =begin original |
13668 | 8369 | |
13669 | 8370 | (F) You don't have System V shared memory IPC on your system. |
13670 | 8371 | |
13671 | 8372 | =end original |
13672 | 8373 | |
13673 | 8374 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
13674 | 8375 | |
13675 | =item | |
8376 | =item <> should be quotes | |
13676 | 8377 | |
13677 | 8378 | =begin original |
13678 | 8379 | |
13679 | ( | |
8380 | (F) You wrote C<< require <file> >> when you should have written | |
13680 | ||
8381 | C<require 'file'>. | |
13681 | operators: probably not what you intended. | |
13682 | 8382 | |
13683 | 8383 | =end original |
13684 | 8384 | |
13685 | ( | |
8385 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
13686 | ||
8386 | 書いています。 | |
13687 | おそらくあなたの意図していることではないでしょう。 | |
13688 | 8387 | |
13689 | 8388 | =item /%s/ should probably be written as "%s" |
13690 | 8389 | |
13691 | 8390 | =begin original |
13692 | 8391 | |
13693 | 8392 | (W syntax) You have used a pattern where Perl expected to find a string, |
13694 | 8393 | as in the first argument to C<join>. Perl will treat the true or false |
13695 | 8394 | result of matching the pattern against $_ as the string, which is |
13696 | 8395 | probably not what you had in mind. |
13697 | 8396 | |
13698 | 8397 | =end original |
13699 | 8398 | |
13700 | 8399 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
13701 | 8400 | パターンを使いました。 |
13702 | 8401 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
13703 | 8402 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
13704 | 8403 | |
13705 | 8404 | =item shutdown() on closed socket %s |
13706 | 8405 | |
13707 | 8406 | =begin original |
13708 | 8407 | |
13709 | 8408 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
13710 | 8409 | superfluous. |
13711 | 8410 | |
13712 | 8411 | =end original |
13713 | 8412 | |
13714 | 8413 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
13715 | 8414 | 多少、無駄のように思われます。 |
13716 | 8415 | |
13717 | 8416 | =item SIG%s handler "%s" not defined |
13718 | 8417 | |
13719 | 8418 | =begin original |
13720 | 8419 | |
13721 | 8420 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
13722 | 8421 | Perhaps you put it into the wrong package? |
13723 | 8422 | |
13724 | 8423 | =end original |
13725 | 8424 | |
13726 | 8425 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
13727 | 8426 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
13728 | 8427 | |
13729 | =item | |
8428 | =item sort is now a reserved word | |
13730 | 8429 | |
13731 | 8430 | =begin original |
13732 | 8431 | |
13733 | ( | |
8432 | (F) An ancient error message that almost nobody ever runs into anymore. | |
13734 | ||
8433 | But before sort was a keyword, people sometimes used it as a filehandle. | |
13735 | a compilation error, but could not be found, so it was leaked instead. | |
13736 | 8434 | |
13737 | 8435 | =end original |
13738 | 8436 | |
13739 | ( | |
8437 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 | |
13740 | ||
8438 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして | |
13741 | ||
8439 | 使う方がいました。 | |
13742 | 見つからないので、リークしています。 | |
13743 | 8440 | |
13744 | =item s | |
8441 | =item Sort subroutine didn't return a numeric value | |
13745 | 8442 | |
13746 | 8443 | =begin original |
13747 | 8444 | |
13748 | ( | |
8445 | (F) A sort comparison routine must return a number. You probably blew | |
13749 | it | |
8446 | it by not using C<< <=> >> or C<cmp>, or by not using them correctly. | |
13750 | ||
8447 | See L<perlfunc/sort>. | |
13751 | 8448 | |
13752 | 8449 | =end original |
13753 | 8450 | |
13754 | ( | |
8451 | (F) sort の比較ルーティンは、必ず数値を返さなければなりません。 | |
13755 | C< | |
8452 | C<< <=> >> や C<cmp> を使わなかったか、正しく使わなかったものと思います。 | |
8453 | L<perlfunc/sort> を参照してください。 | |
13756 | 8454 | |
13757 | =item S | |
8455 | =item Sort subroutine didn't return single value | |
13758 | 8456 | |
13759 | 8457 | =begin original |
13760 | 8458 | |
13761 | (F) | |
8459 | (F) A sort comparison subroutine may not return a list value with more | |
13762 | ||
8460 | or less than one element. See L<perlfunc/sort>. | |
13763 | so there can't be any left to fill later parameters. | |
13764 | 8461 | |
13765 | 8462 | =end original |
13766 | 8463 | |
13767 | (F) サブルー | |
8464 | (F) sort の比較サブルーティンは、要素が 1 個以外のリスト値を | |
13768 | ||
8465 | 返すことはできません。 | |
13769 | ||
8466 | L<perlfunc/sort>を参照してください。 | |
13770 | 対応するものを残しません。 | |
13771 | 8467 | |
13772 | =item Smart matching a non-overloaded object breaks encapsulation | |
13773 | ||
13774 | =begin original | |
13775 | ||
13776 | (F) You should not use the C<~~> operator on an object that does not | |
13777 | overload it: Perl refuses to use the object's underlying structure | |
13778 | for the smart match. | |
13779 | ||
13780 | =end original | |
13781 | ||
13782 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を | |
13783 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの | |
13784 | 基礎となる構造を使うことを拒否します。 | |
13785 | ||
13786 | =item Smartmatch is experimental | |
13787 | ||
13788 | =begin original | |
13789 | ||
13790 | (S experimental::smartmatch) This warning is emitted if you | |
13791 | use the smartmatch (C<~~>) operator. This is currently an experimental | |
13792 | feature, and its details are subject to change in future releases of | |
13793 | Perl. Particularly, its current behavior is noticed for being | |
13794 | unnecessarily complex and unintuitive, and is very likely to be | |
13795 | overhauled. | |
13796 | ||
13797 | =end original | |
13798 | ||
13799 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
13800 | 使ったときに出力されます。 | |
13801 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
13802 | 可能性があります。 | |
13803 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に | |
13804 | 見直されます。 | |
13805 | ||
13806 | =item Sorry, hash keys must be smaller than 2**31 bytes | |
13807 | ||
13808 | =begin original | |
13809 | ||
13810 | (F) You tried to create a hash containing a very large key, where "very | |
13811 | large" means that it needs at least 2 gigabytes to store. Unfortunately, | |
13812 | Perl doesn't yet handle such large hash keys. You should | |
13813 | reconsider your design to avoid hashing such a long string directly. | |
13814 | ||
13815 | =end original | |
13816 | ||
13817 | (F) とても大きなキーを含むハッシュを作ろうとしました; | |
13818 | ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。 | |
13819 | 残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。 | |
13820 | そのような長い文字列で直接ハッシュを作るのを避けるように、 | |
13821 | 設計を再考する必要があります。 | |
13822 | ||
13823 | =item sort is now a reserved word | |
13824 | ||
13825 | =begin original | |
13826 | ||
13827 | (F) An ancient error message that almost nobody ever runs into anymore. | |
13828 | But before sort was a keyword, people sometimes used it as a filehandle. | |
13829 | ||
13830 | =end original | |
13831 | ||
13832 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 | |
13833 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして | |
13834 | 使う方がいました。 | |
13835 | ||
13836 | =item Source filters apply only to byte streams | |
13837 | ||
13838 | =begin original | |
13839 | ||
13840 | (F) You tried to activate a source filter (usually by loading a | |
13841 | source filter module) within a string passed to C<eval>. This is | |
13842 | not permitted under the C<unicode_eval> feature. Consider using | |
13843 | C<evalbytes> instead. See L<feature>. | |
13844 | ||
13845 | =end original | |
13846 | ||
13847 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを | |
13848 | 読み込むことで)ソースフィルタを有効にしようとしました。 | |
13849 | これは C<unicode_eval> 機能が有効の場合は許されていません。 | |
13850 | 代わりに C<evalbytes> を使うことを検討してください。 | |
13851 | L<feature> を参照してください。 | |
13852 | ||
13853 | 8468 | =item splice() offset past end of array |
13854 | 8469 | |
13855 | 8470 | =begin original |
13856 | 8471 | |
13857 | 8472 | (W misc) You attempted to specify an offset that was past the end of |
13858 | the array passed to splice(). | |
8473 | the array passed to splice(). Splicing will instead commence at the end | |
13859 | ||
8474 | of the array, rather than past it. If this isn't what you want, try | |
13860 | ||
8475 | explicitly pre-extending the array by assigning $#array = $offset. See | |
13861 | ||
8476 | L<perlfunc/splice>. | |
13862 | 8477 | |
13863 | 8478 | =end original |
13864 | 8479 | |
13865 | 8480 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 |
13866 | 8481 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 |
13867 | 8482 | これが望んでいることではないなら、$#array = $offset と代入することで |
13868 | 8483 | 明示的に事前に配列を拡張してください。 |
13869 | 8484 | L<perlfunc/splice> を参照してください。 |
13870 | 8485 | |
13871 | 8486 | =item Split loop |
13872 | 8487 | |
13873 | 8488 | =begin original |
13874 | 8489 | |
13875 | 8490 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
13876 | 8491 | iterate more times than there are characters of input, which is what |
13877 | happened.) | |
8492 | happened.) See L<perlfunc/split>. | |
13878 | 8493 | |
13879 | 8494 | =end original |
13880 | 8495 | |
13881 | 8496 | (P) split が無限ループに陥りました。 |
13882 | 8497 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
13883 | 8498 | そうなってしまいました。) |
13884 | 8499 | L<perlfunc/split> を参照してください。 |
13885 | 8500 | |
13886 | 8501 | =item Statement unlikely to be reached |
13887 | 8502 | |
13888 | 8503 | =begin original |
13889 | 8504 | |
13890 | 8505 | (W exec) You did an exec() with some statement after it other than a |
13891 | 8506 | die(). This is almost always an error, because exec() never returns |
13892 | 8507 | unless there was a failure. You probably wanted to use system() |
13893 | 8508 | instead, which does return. To suppress this warning, put the exec() in |
13894 | 8509 | a block by itself. |
13895 | 8510 | |
13896 | 8511 | =end original |
13897 | 8512 | |
13898 | 8513 | (W exec) exec() の後に、die() 以外の実行文があります。 |
13899 | 8514 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
13900 | 8515 | ほとんどの場合には誤りでしょう。 |
13901 | 8516 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
13902 | 8517 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
13903 | 8518 | |
13904 | =item "state" subroutine %s can't be in a package | |
13905 | ||
13906 | =begin original | |
13907 | ||
13908 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
13909 | sense to try to declare one with a package qualifier on the front. | |
13910 | ||
13911 | =end original | |
13912 | ||
13913 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
13914 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13915 | ||
13916 | =item "state %s" used in sort comparison | |
13917 | ||
13918 | =begin original | |
13919 | ||
13920 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
13921 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
13922 | sort comparison block, and the variable had earlier been declared as a | |
13923 | lexical variable. Either qualify the sort variable with the package | |
13924 | name, or rename the lexical variable. | |
13925 | ||
13926 | =end original | |
13927 | ||
13928 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
13929 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
13930 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
13931 | 宣言されています。 | |
13932 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
13933 | ||
13934 | =item "state" variable %s can't be in a package | |
13935 | ||
13936 | =begin original | |
13937 | ||
13938 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
13939 | sense to try to declare one with a package qualifier on the front. Use | |
13940 | local() if you want to localize a package variable. | |
13941 | ||
13942 | =end original | |
13943 | ||
13944 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
13945 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13946 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
13947 | ||
13948 | 8519 | =item stat() on unopened filehandle %s |
13949 | 8520 | |
13950 | 8521 | =begin original |
13951 | 8522 | |
13952 | 8523 | (W unopened) You tried to use the stat() function on a filehandle that |
13953 | 8524 | was either never opened or has since been closed. |
13954 | 8525 | |
13955 | 8526 | =end original |
13956 | 8527 | |
13957 | 8528 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
13958 | 8529 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
13959 | 8530 | |
13960 | =item St | |
8531 | =item Stub found while resolving method "%s" overloading "%s" | |
13961 | 8532 | |
13962 | 8533 | =begin original |
13963 | 8534 | |
13964 | (W utf8) You tried to open a reference to a scalar for read or append | |
13965 | where the scalar contained code points over 0xFF. In-memory files | |
13966 | model on-disk files and can only contain bytes. | |
13967 | ||
13968 | =end original | |
13969 | ||
13970 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
13971 | スカラへのリファレンスを開こうとしました。 | |
13972 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
13973 | 使えます。 | |
13974 | ||
13975 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" | |
13976 | ||
13977 | =begin original | |
13978 | ||
13979 | 8535 | (P) Overloading resolution over @ISA tree may be broken by importation |
13980 | 8536 | stubs. Stubs should never be implicitly created, but explicit calls to |
13981 | 8537 | C<can> may break this. |
13982 | 8538 | |
13983 | 8539 | =end original |
13984 | 8540 | |
13985 | 8541 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
13986 | 8542 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
13987 | 8543 | これを破壊することがあります。 |
13988 | 8544 | |
13989 | =item Subroutine attributes must come before the signature | |
13990 | ||
13991 | =begin original | |
13992 | ||
13993 | (F) When subroutine signatures are enabled, any subroutine attributes must | |
13994 | come before the signature. Note that this order was the opposite in | |
13995 | versions 5.22..5.26. So: | |
13996 | ||
13997 | =end original | |
13998 | ||
13999 | (F) サブルーチンシグネチャが有効の場合、サブルーチン属性は | |
14000 | シグネチャの前に来なければなりません。 | |
14001 | この順序はバージョン 5.22 .. 5.26 と反対であることに注意してください。 | |
14002 | 従って: | |
14003 | ||
14004 | sub foo :lvalue ($a, $b) { ... } # 5.20 and 5.28 + | |
14005 | sub foo ($a, $b) :lvalue { ... } # 5.22 .. 5.26 | |
14006 | ||
14007 | =item Subroutine "&%s" is not available | |
14008 | ||
14009 | =begin original | |
14010 | ||
14011 | (W closure) During compilation, an inner named subroutine or eval is | |
14012 | attempting to capture an outer lexical subroutine that is not currently | |
14013 | available. This can happen for one of two reasons. First, the lexical | |
14014 | subroutine may be declared in an outer anonymous subroutine that has | |
14015 | not yet been created. (Remember that named subs are created at compile | |
14016 | time, while anonymous subs are created at run-time.) For example, | |
14017 | ||
14018 | =end original | |
14019 | ||
14020 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
14021 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
14022 | これは二つの理由で起こります。 | |
14023 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
14024 | 宣言されたときです。 | |
14025 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
14026 | 実行時に作成されることを思い出してください。) | |
14027 | 例えば、 | |
14028 | ||
14029 | sub { my sub a {...} sub f { \&a } } | |
14030 | ||
14031 | =begin original | |
14032 | ||
14033 | At the time that f is created, it can't capture the current "a" sub, | |
14034 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
14035 | following won't give a warning since the anonymous subroutine has by now | |
14036 | been created and is live: | |
14037 | ||
14038 | =end original | |
14039 | ||
14040 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
14041 | 無名サブルーチンはまだ作成されていないからです。 | |
14042 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
14043 | 生きているからです: | |
14044 | ||
14045 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
14046 | ||
14047 | =begin original | |
14048 | ||
14049 | The second situation is caused by an eval accessing a lexical subroutine | |
14050 | that has gone out of scope, for example, | |
14051 | ||
14052 | =end original | |
14053 | ||
14054 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに | |
14055 | アクセスすることで起こります; 例えば: | |
14056 | ||
14057 | sub f { | |
14058 | my sub a {...} | |
14059 | sub { eval '\&a' } | |
14060 | } | |
14061 | f()->(); | |
14062 | ||
14063 | =begin original | |
14064 | ||
14065 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
14066 | being executed, so its &a is not available for capture. | |
14067 | ||
14068 | =end original | |
14069 | ||
14070 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
14071 | 実行されていないので、&a は捕捉として利用できません。 | |
14072 | ||
14073 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
14074 | ||
14075 | =begin original | |
14076 | ||
14077 | (W shadow) A "my" or "state" subroutine has been redeclared in the | |
14078 | current scope or statement, effectively eliminating all access to | |
14079 | the previous instance. This is almost always a typographical error. | |
14080 | Note that the earlier subroutine will still exist until the end of | |
14081 | the scope or until all closure references to it are destroyed. | |
14082 | ||
14083 | =end original | |
14084 | ||
14085 | (W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で | |
14086 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
14087 | これはほとんど常にタイプミスです。 | |
14088 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
14089 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
14090 | ||
14091 | 8545 | =item Subroutine %s redefined |
14092 | 8546 | |
14093 | 8547 | =begin original |
14094 | 8548 | |
14095 | 8549 | (W redefine) You redefined a subroutine. To suppress this warning, say |
14096 | 8550 | |
14097 | 8551 | =end original |
14098 | 8552 | |
14099 | (W redefine) サブルー | |
8553 | (W redefine) サブルーティンを再定義しました。 | |
14100 | この警告を止めるには以下のようにしてください: | |
8554 | この警告を止めるには、以下のようにしてください: | |
14101 | 8555 | |
14102 | 8556 | { |
14103 | 8557 | no warnings 'redefine'; |
14104 | 8558 | eval "sub name { ... }"; |
14105 | 8559 | } |
14106 | 8560 | |
14107 | =item Subroutine "%s" will not stay shared | |
14108 | ||
14109 | =begin original | |
14110 | ||
14111 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" | |
14112 | subroutine defined in an outer named subroutine. | |
14113 | ||
14114 | =end original | |
14115 | ||
14116 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 | |
14117 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 | |
14118 | ||
14119 | =begin original | |
14120 | ||
14121 | When the inner subroutine is called, it will see the value of the outer | |
14122 | subroutine's lexical subroutine as it was before and during the *first* | |
14123 | call to the outer subroutine; in this case, after the first call to the | |
14124 | outer subroutine is complete, the inner and outer subroutines will no | |
14125 | longer share a common value for the lexical subroutine. In other words, | |
14126 | it will no longer be shared. This will especially make a difference | |
14127 | if the lexical subroutines accesses lexical variables declared in its | |
14128 | surrounding scope. | |
14129 | ||
14130 | =end original | |
14131 | ||
14132 | 内側のサブルーチンが呼び出されるとき、 | |
14133 | 外側のサブルーチンのレキシカルサブルーチンの値は、 | |
14134 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; | |
14135 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
14136 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて | |
14137 | 共通の値を共有しません。 | |
14138 | 言い換えると、これはもはや共有されません。 | |
14139 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された | |
14140 | レキシカル変数にアクセスしたときに違いがあります。 | |
14141 | ||
14142 | =begin original | |
14143 | ||
14144 | This problem can usually be solved by making the inner subroutine | |
14145 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that | |
14146 | reference lexical subroutines in outer subroutines are created, they | |
14147 | are automatically rebound to the current values of such lexical subs. | |
14148 | ||
14149 | =end original | |
14150 | ||
14151 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで | |
14152 | 解決します。 | |
14153 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の | |
14154 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に | |
14155 | 自動的に回復します。 | |
14156 | ||
14157 | 8561 | =item Substitution loop |
14158 | 8562 | |
14159 | 8563 | =begin original |
14160 | 8564 | |
14161 | 8565 | (P) The substitution was looping infinitely. (Obviously, a substitution |
14162 | 8566 | shouldn't iterate more times than there are characters of input, which |
14163 | 8567 | is what happened.) See the discussion of substitution in |
14164 | L<perlop/" | |
8568 | L<perlop/"Quote and Quote-like Operators">. | |
14165 | 8569 | |
14166 | 8570 | =end original |
14167 | 8571 | |
14168 | 8572 | (P) 置換が無限ループに陥りました。 |
14169 | 8573 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
14170 | 8574 | それが起こってしまいました。) |
14171 | L<perlop/"Quote and Quote- | |
8575 | L<perlop/"Quote and Quote-like Operators"> を参照してください。 | |
14172 | 8576 | |
14173 | 8577 | =item Substitution pattern not terminated |
14174 | 8578 | |
14175 | 8579 | =begin original |
14176 | 8580 | |
14177 | 8581 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} |
14178 | 8582 | construct. Remember that bracketing delimiters count nesting level. |
14179 | 8583 | Missing the leading C<$> from variable C<$s> may cause this error. |
14180 | 8584 | |
14181 | 8585 | =end original |
14182 | 8586 | |
14183 | 8587 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
14184 | ||
8588 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
14185 | 8589 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
14186 | 8590 | |
14187 | 8591 | =item Substitution replacement not terminated |
14188 | 8592 | |
14189 | 8593 | =begin original |
14190 | 8594 | |
14191 | 8595 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} |
14192 | 8596 | construct. Remember that bracketing delimiters count nesting level. |
14193 | 8597 | Missing the leading C<$> from variable C<$s> may cause this error. |
14194 | 8598 | |
14195 | 8599 | =end original |
14196 | 8600 | |
14197 | 8601 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
14198 | ||
8602 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
14199 | 8603 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
14200 | 8604 | |
14201 | 8605 | =item substr outside of string |
14202 | 8606 | |
14203 | 8607 | =begin original |
14204 | 8608 | |
14205 | (W substr)(F) You tried to reference a substr() that pointed outside of | |
8609 | (W substr),(F) You tried to reference a substr() that pointed outside of | |
14206 | 8610 | a string. That is, the absolute value of the offset was larger than the |
14207 | 8611 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
14208 | 8612 | substr is used in an lvalue context (as the left hand side of an |
14209 | 8613 | assignment or as a subroutine argument for example). |
14210 | 8614 | |
14211 | 8615 | =end original |
14212 | 8616 | |
14213 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 | |
8617 | (W substr),(F) 文字列の外を指す substr() を参照しようとしました。 | |
14214 | 8618 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
14215 | 8619 | L<perlfunc/substr> を参照してください。 |
14216 | 8620 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
14217 | 8621 | 左辺値として使われた場合は致命的となります。 |
14218 | 8622 | |
14219 | =item s | |
8623 | =item suidperl is no longer needed since %s | |
14220 | 8624 | |
14221 | 8625 | =begin original |
14222 | 8626 | |
14223 | ( | |
8627 | (F) Your Perl was compiled with B<-D>SETUID_SCRIPTS_ARE_SECURE_NOW, but | |
14224 | ||
8628 | a version of the setuid emulator somehow got run anyway. | |
14225 | 8629 | |
14226 | 8630 | =end original |
14227 | 8631 | |
14228 | ( | |
8632 | (F) お使いの Perl は、-DSETUID_SCRIPTS_ARE_SECURE_NOW を | |
14229 | ||
8633 | 指定してコンパイルされていますが、setuid エミュレータが、 | |
8634 | 実行されてしまいました。 | |
14230 | 8635 | |
14231 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
8636 | =item Switch (?(condition)... contains too many branches in regex; marked by <-- HERE in m/%s/ | |
14232 | S<<-- HERE> in m/%s/ | |
14233 | 8637 | |
14234 | 8638 | =begin original |
14235 | 8639 | |
14236 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
8640 | (F) A (?(condition)if-clause|else-clause) construct can have at most two | |
14237 | ||
8641 | branches (the if-clause and the else-clause). If you want one or both to | |
14238 | ||
8642 | contain alternation, such as using C<this|that|other>, enclose it in | |
14239 | ||
8643 | clustering parentheses: | |
14240 | 8644 | |
14241 | 8645 | =end original |
14242 | 8646 | |
14243 | (F) (?(condition)if-clause|else-clause) 構造は最大で | |
8647 | (F) (?(condition)if-clause|else-clause) 構造は最大で 2 つの分岐 | |
14244 | 8648 | (if-clause と else-clause) を持つことができます。 |
14245 | 8649 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
14246 | 8650 | |
14247 | 8651 | (?(condition)(?:this|that|other)|else-clause) |
14248 | 8652 | |
14249 | 8653 | =begin original |
14250 | 8654 | |
14251 | The | |
8655 | The <-- HERE shows in the regular expression about where the problem was | |
14252 | ||
8656 | discovered. See L<perlre>. | |
14253 | 8657 | |
14254 | 8658 | =end original |
14255 | 8659 | |
14256 | ||
8660 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14257 | 8661 | L<perlre> を参照してください。 |
14258 | 8662 | |
14259 | =item Switch condition not recognized in regex; marked by | |
8663 | =item Switch condition not recognized in regex; marked by <-- HERE in m/%s/ | |
14260 | m/%s/ | |
14261 | 8664 | |
14262 | 8665 | =begin original |
14263 | 8666 | |
14264 | (F) | |
8667 | (F) If the argument to the (?(...)if-clause|else-clause) construct is a | |
14265 | ||
8668 | number, it can be only a number. The <-- HERE shows in the regular expression | |
8669 | about where the problem was discovered. See L<perlre>. | |
14266 | 8670 | |
14267 | 8671 | =end original |
14268 | 8672 | |
14269 | (?(...)if-clause|else-clause) 構造の | |
8673 | (?(...)if-clause|else-clause) 構造の引数が数値なら、数値だけが可能です。 | |
14270 | ||
8674 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14271 | ||
14272 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
14273 | (<NAME>) ('NAME') true if named capture matched | |
14274 | (?=...) (?<=...) true if subpattern matches | |
14275 | (?!...) (?<!...) true if subpattern fails to match | |
14276 | (?{ CODE }) true if code returns a true value | |
14277 | (R) true if evaluating inside recursion | |
14278 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
14279 | (R&NAME) true if directly inside named capture | |
14280 | (DEFINE) always false; for defining named subpatterns | |
14281 | ||
14282 | =begin original | |
14283 | ||
14284 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
14285 | discovered. See L<perlre>. | |
14286 | ||
14287 | =end original | |
14288 | ||
14289 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14290 | 8675 | L<perlre> を参照してください。 |
14291 | 8676 | |
14292 | =item | |
8677 | =item switching effective %s is not implemented | |
14293 | S<<-- HERE> in m/%s/ | |
14294 | 8678 | |
14295 | 8679 | =begin original |
14296 | 8680 | |
14297 | (F) | |
8681 | (F) While under the C<use filetest> pragma, we cannot switch the real | |
14298 | ||
8682 | and effective uids or gids. | |
14299 | position. See L<perlre>. | |
14300 | 8683 | |
14301 | 8684 | =end original |
14302 | 8685 | |
14303 | (F) | |
8686 | (F) C<use filetest> プラグマを使っている間に、 | |
14304 | ||
8687 | 実と実効の UID や GID の切り替えに失敗しました。 | |
14305 | L<perlre> を参照してください。 | |
14306 | 8688 | |
14307 | =item | |
8689 | =item %s syntax | |
14308 | 8690 | |
14309 | 8691 | =begin original |
14310 | 8692 | |
14311 | (F) | |
8693 | (F) The final summary message when a C<perl -c> succeeds. | |
14312 | and effective uids or gids. | |
14313 | 8694 | |
14314 | 8695 | =end original |
14315 | 8696 | |
14316 | (F) C< | |
8697 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
14317 | 実と実効の UID や GID の切り替えに失敗しました。 | |
14318 | 8698 | |
14319 | 8699 | =item syntax error |
14320 | 8700 | |
14321 | 8701 | =begin original |
14322 | 8702 | |
14323 | 8703 | (F) Probably means you had a syntax error. Common reasons include: |
14324 | 8704 | |
14325 | 8705 | =end original |
14326 | 8706 | |
14327 | 8707 | (F) おそらく、構文エラーが起こっています。 |
14328 | 8708 | よくある原因としては以下のことが考えられます: |
14329 | 8709 | |
14330 | 8710 | =begin original |
14331 | 8711 | |
14332 | 8712 | A keyword is misspelled. |
14333 | 8713 | A semicolon is missing. |
14334 | 8714 | A comma is missing. |
14335 | 8715 | An opening or closing parenthesis is missing. |
14336 | 8716 | An opening or closing brace is missing. |
14337 | 8717 | A closing quote is missing. |
14338 | 8718 | |
14339 | 8719 | =end original |
14340 | 8720 | |
14341 | 8721 | キーワードのスペルミス。 |
14342 | 8722 | セミコロンを忘れた。 |
14343 | 8723 | コンマを忘れた。 |
14344 | 開き | |
8724 | 開き括弧、閉じ括弧を忘れた。 | |
14345 | 開き中 | |
8725 | 開き中括弧、閉じ中括弧を忘れた。 | |
14346 | 8726 | クォートの閉じ忘れ。 |
14347 | 8727 | |
14348 | 8728 | =begin original |
14349 | 8729 | |
14350 | 8730 | Often there will be another error message associated with the syntax |
14351 | 8731 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
14352 | 8732 | The error message itself often tells you where it was in the line when |
14353 | 8733 | it decided to give up. Sometimes the actual error is several tokens |
14354 | 8734 | before this, because Perl is good at understanding random input. |
14355 | 8735 | Occasionally the line number may be misleading, and once in a blue moon |
14356 | 8736 | the only way to figure out what's triggering the error is to call |
14357 | 8737 | C<perl -c> repeatedly, chopping away half the program each time to see |
14358 | if the error went away. Sort of the cybernetic version of S<20 | |
8738 | if the error went away. Sort of the cybernetic version of S<20 | |
8739 | questions>. | |
14359 | 8740 | |
14360 | 8741 | =end original |
14361 | 8742 | |
14362 | 8743 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
14363 | 8744 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
14364 | 8745 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
14365 | 8746 | 含まれています。 |
14366 | 8747 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
14367 | 8748 | 在ることもあります。 |
14368 | 8749 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
14369 | 8750 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
14370 | 8751 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
14371 | 8752 | S<頭の体操 20 問>だと思ってください。 |
14372 | 8753 | |
14373 | =item syntax error at line %d: | |
8754 | =item syntax error at line %d: `%s' unexpected | |
14374 | 8755 | |
14375 | 8756 | =begin original |
14376 | 8757 | |
14377 | 8758 | (A) You've accidentally run your script through the Bourne shell instead |
14378 | 8759 | of Perl. Check the #! line, or manually feed your script into Perl |
14379 | 8760 | yourself. |
14380 | 8761 | |
14381 | 8762 | =end original |
14382 | 8763 | |
14383 | 8764 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
14384 | 8765 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
14385 | 8766 | |
14386 | 8767 | =item syntax error in file %s at line %d, next 2 tokens "%s" |
14387 | 8768 | |
14388 | 8769 | =begin original |
14389 | 8770 | |
14390 | 8771 | (F) This error is likely to occur if you run a perl5 script through |
14391 | 8772 | a perl4 interpreter, especially if the next 2 tokens are "use strict" |
14392 | 8773 | or "my $var" or "our $var". |
14393 | 8774 | |
14394 | 8775 | =end original |
14395 | 8776 | |
14396 | 8777 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに |
14397 | おきそうなものです; 特に次の | |
8778 | おきそうなものです; 特に次の 2 つのトークンが "use strict" か | |
14398 | 8779 | "my $var" か "our $var" の場合はそうです。 |
14399 | 8780 | |
14400 | =item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/ | |
14401 | ||
14402 | =begin original | |
14403 | ||
14404 | (F) Perl could not figure out what you meant inside this construct; this | |
14405 | notifies you that it is giving up trying. | |
14406 | ||
14407 | =end original | |
14408 | ||
14409 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
14410 | これは試すのを諦めたことを知らせます。 | |
14411 | ||
14412 | =item %s syntax OK | |
14413 | ||
14414 | =begin original | |
14415 | ||
14416 | (F) The final summary message when a C<perl -c> succeeds. | |
14417 | ||
14418 | =end original | |
14419 | ||
14420 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
14421 | ||
14422 | 8781 | =item sysread() on closed filehandle %s |
14423 | 8782 | |
14424 | 8783 | =begin original |
14425 | 8784 | |
14426 | 8785 | (W closed) You tried to read from a closed filehandle. |
14427 | 8786 | |
14428 | 8787 | =end original |
14429 | 8788 | |
14430 | 8789 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
14431 | 8790 | |
14432 | 8791 | =item sysread() on unopened filehandle %s |
14433 | 8792 | |
14434 | 8793 | =begin original |
14435 | 8794 | |
14436 | 8795 | (W unopened) You tried to read from a filehandle that was never opened. |
14437 | 8796 | |
14438 | 8797 | =end original |
14439 | 8798 | |
14440 | 8799 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
14441 | 8800 | |
14442 | 8801 | =item System V %s is not implemented on this machine |
14443 | 8802 | |
14444 | 8803 | =begin original |
14445 | 8804 | |
14446 | 8805 | (F) You tried to do something with a function beginning with "sem", |
14447 | 8806 | "shm", or "msg" but that System V IPC is not implemented in your |
14448 | 8807 | machine. In some machines the functionality can exist but be |
14449 | 8808 | unconfigured. Consult your system support. |
14450 | 8809 | |
14451 | 8810 | =end original |
14452 | 8811 | |
14453 | 8812 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
14454 | 8813 | あなたのマシンには System V IPC が実装されていません。 |
14455 | 8814 | 機能はあっても設定されていない場合もあります。 |
14456 | 8815 | システムサポートに相談してください。 |
14457 | 8816 | |
14458 | 8817 | =item syswrite() on closed filehandle %s |
14459 | 8818 | |
14460 | 8819 | =begin original |
14461 | 8820 | |
14462 | 8821 | (W closed) The filehandle you're writing to got itself closed sometime |
14463 | 8822 | before now. Check your control flow. |
14464 | 8823 | |
14465 | 8824 | =end original |
14466 | 8825 | |
14467 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
8826 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
8827 | 既にクローズされています。 | |
14468 | 8828 | 制御フローをチェックしてください。 |
14469 | 8829 | |
14470 | 8830 | =item C<-T> and C<-B> not implemented on filehandles |
14471 | 8831 | |
14472 | 8832 | =begin original |
14473 | 8833 | |
14474 | 8834 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't |
14475 | 8835 | know about your kind of stdio. You'll have to use a filename instead. |
14476 | 8836 | |
14477 | 8837 | =end original |
14478 | 8838 | |
14479 | 8839 | (F) Perl が、お使いの stdio のことをよく知らないとき、 |
14480 | 8840 | ファイルハンドルの stdio バッファを覗くことはできません。 |
14481 | 8841 | 代わりにファイル名を使わなければなりません。 |
14482 | 8842 | |
14483 | 8843 | =item Target of goto is too deeply nested |
14484 | 8844 | |
14485 | 8845 | =begin original |
14486 | 8846 | |
14487 | 8847 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
14488 | 8848 | for Perl to reach. Perl is doing you a favor by refusing. |
14489 | 8849 | |
14490 | 8850 | =end original |
14491 | 8851 | |
14492 | 8852 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
14493 | 8853 | Perl は親切にもこれを拒否します。 |
14494 | 8854 | |
14495 | =item tell | |
8855 | =item tell() on unopened filehandle | |
14496 | 8856 | |
14497 | 8857 | =begin original |
14498 | 8858 | |
14499 | (W | |
8859 | (W unopened) You tried to use the tell() function on a filehandle that | |
14500 | a | |
8860 | was either never opened or has since been closed. | |
14501 | 8861 | |
14502 | 8862 | =end original |
14503 | 8863 | |
14504 | (W | |
8864 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた | |
14505 | ||
8865 | ファイルハンドルに対して、tell() 関数を使おうとしました。 | |
14506 | 制御フローをチェックしてください。 | |
14507 | 8866 | |
14508 | =item te | |
8867 | =item That use of $[ is unsupported | |
14509 | 8868 | |
14510 | 8869 | =begin original |
14511 | 8870 | |
14512 | ( | |
8871 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted | |
14513 | ||
8872 | as a compiler directive. You may say only one of | |
14514 | 8873 | |
14515 | 8874 | =end original |
14516 | 8875 | |
14517 | ( | |
8876 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 | |
14518 | ||
8877 | 使えるのは以下の形だけです: | |
14519 | 8878 | |
14520 | ||
8879 | $[ = 0; | |
8880 | $[ = 1; | |
8881 | ... | |
8882 | local $[ = 0; | |
8883 | local $[ = 1; | |
8884 | ... | |
14521 | 8885 | |
14522 | 8886 | =begin original |
14523 | 8887 | |
8888 | This is to prevent the problem of one module changing the array base out | |
8889 | from under another module inadvertently. See L<perlvar/$[>. | |
8890 | ||
8891 | =end original | |
8892 | ||
8893 | これは、一つのモジュールで、他のモジュールが意図しないような、 | |
8894 | 配列のベースを変更する問題を回避するためのものです。 | |
8895 | L<perlvar/$[> を参照してください。 | |
8896 | ||
8897 | =item The crypt() function is unimplemented due to excessive paranoia | |
8898 | ||
8899 | =begin original | |
8900 | ||
14524 | 8901 | (F) Configure couldn't find the crypt() function on your machine, |
14525 | 8902 | probably because your vendor didn't supply it, probably because they |
14526 | 8903 | think the U.S. Government thinks it's a secret, or at least that they |
14527 | 8904 | will continue to pretend that it is. And if you quote me on that, I |
14528 | 8905 | will deny it. |
14529 | 8906 | |
14530 | 8907 | =end original |
14531 | 8908 | |
14532 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした | |
8909 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした。 | |
14533 | 8910 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
14534 | 8911 | アメリカ政府がそれを秘密だとしていると思っているか、 |
14535 | 8912 | 少なくとも思っているというふりをしているのでしょう。 |
14536 | 8913 | 私を引き合いに出したところで、それは否定されることでしょう。 |
14537 | 8914 | |
14538 | =item The experimental declared_refs feature is not enabled | |
14539 | ||
14540 | =begin original | |
14541 | ||
14542 | (F) To declare references to variables, as in C<my \%x>, you must first enable | |
14543 | the feature: | |
14544 | ||
14545 | =end original | |
14546 | ||
14547 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 | |
14548 | 最初にこの機能を有効にしなければなりません: | |
14549 | ||
14550 | no warnings "experimental::declared_refs"; | |
14551 | use feature "declared_refs"; | |
14552 | ||
14553 | 8915 | =item The %s function is unimplemented |
14554 | 8916 | |
14555 | 8917 | =begin original |
14556 | 8918 | |
14557 | ||
8919 | The function indicated isn't implemented on this architecture, according | |
14558 | ||
8920 | to the probings of Configure. | |
14559 | 8921 | |
14560 | 8922 | =end original |
14561 | 8923 | |
14562 | 8924 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
14563 | 8925 | 実装されていないようです。 |
14564 | 8926 | |
14565 | =item The private_use feature is experimental | |
14566 | ||
14567 | =begin original | |
14568 | ||
14569 | (S experimental::private_use) This feature is actually a hook for future | |
14570 | use. | |
14571 | ||
14572 | =end original | |
14573 | ||
14574 | (S experimental::private_use) この機能は実際には将来の使用のための | |
14575 | フックです。 | |
14576 | ||
14577 | =item The regex_sets feature is experimental | |
14578 | ||
14579 | =begin original | |
14580 | ||
14581 | (S experimental::regex_sets) This warning is emitted if you | |
14582 | use the syntax S<C<(?[ ])>> in a regular expression. | |
14583 | The details of this feature are subject to change. | |
14584 | If you want to use it, but know that in doing so you | |
14585 | are taking the risk of using an experimental feature which may | |
14586 | change in a future Perl version, you can do this to silence the | |
14587 | warning: | |
14588 | ||
14589 | =end original | |
14590 | ||
14591 | (S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を | |
14592 | 使うと出力されます。 | |
14593 | この機能の詳細は変更されることがあります。 | |
14594 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
14595 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
14596 | 以下のようにして警告を黙らせられます: | |
14597 | ||
14598 | no warnings "experimental::regex_sets"; | |
14599 | ||
14600 | =item The signatures feature is experimental | |
14601 | ||
14602 | =begin original | |
14603 | ||
14604 | (S experimental::signatures) This warning is emitted if you unwrap a | |
14605 | subroutine's arguments using a signature. Simply suppress the warning | |
14606 | if you want to use the feature, but know that in doing so you are taking | |
14607 | the risk of using an experimental feature which may change or be removed | |
14608 | in a future Perl version: | |
14609 | ||
14610 | =end original | |
14611 | ||
14612 | (S experimental::signatures) この警告は、シグネチャを使ったサブルーチンの | |
14613 | 引数を展開するときに出力されます。 | |
14614 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
14615 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
14616 | 単に警告を抑制してください: | |
14617 | ||
14618 | no warnings "experimental::signatures"; | |
14619 | use feature "signatures"; | |
14620 | sub foo ($left, $right) { ... } | |
14621 | ||
14622 | 8927 | =item The stat preceding %s wasn't an lstat |
14623 | 8928 | |
14624 | 8929 | =begin original |
14625 | 8930 | |
14626 | 8931 | (F) It makes no sense to test the current stat buffer for symbolic |
14627 | 8932 | linkhood if the last stat that wrote to the stat buffer already went |
14628 | 8933 | past the symlink to get to the real file. Use an actual filename |
14629 | 8934 | instead. |
14630 | 8935 | |
14631 | 8936 | =end original |
14632 | 8937 | |
14633 | 8938 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
14634 | 8939 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
14635 | 8940 | stat をカレント stat バッファに対して行なっても意味がありません。 |
14636 | 8941 | 実際のファイル名を使ってください。 |
14637 | 8942 | |
14638 | =item The Unicode property wildcards feature is experimental | |
14639 | ||
14640 | =begin original | |
14641 | ||
14642 | (S experimental::uniprop_wildcards) This feature is experimental | |
14643 | and its behavior may in any future release of perl. See | |
14644 | L<perlunicode/Wildcards in Property Values>. | |
14645 | ||
14646 | =end original | |
14647 | ||
14648 | (S experimental::uniprop_wildcards) この機能は実験的で、 | |
14649 | その振る舞いは将来のリリースの perl で変わるかもしれません。 | |
14650 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
14651 | ||
14652 | 8943 | =item The 'unique' attribute may only be applied to 'our' variables |
14653 | 8944 | |
14654 | 8945 | =begin original |
14655 | 8946 | |
14656 | (F) | |
8947 | (F) Currently this attribute is not supported on C<my> or C<sub> | |
8948 | declarations. See L<perlfunc/our>. | |
14657 | 8949 | |
14658 | 8950 | =end original |
14659 | 8951 | |
14660 | (F) この属性は C<my> や C<sub> の宣言で | |
8952 | (F) 現在のところこの属性は C<my> や C<sub> の宣言で対応していません。 | |
8953 | L<perlfunc/our> を参照してください。 | |
14661 | 8954 | |
14662 | 8955 | =item This Perl can't reset CRTL environ elements (%s) |
14663 | 8956 | |
14664 | 8957 | =item This Perl can't set CRTL environ elements (%s=%s) |
14665 | 8958 | |
14666 | 8959 | =begin original |
14667 | 8960 | |
14668 | 8961 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
14669 | 8962 | element of the CRTL's internal environ array, but your copy of Perl |
14670 | 8963 | wasn't built with a CRTL that contained the setenv() function. You'll |
14671 | 8964 | need to rebuild Perl with a CRTL that does, or redefine |
14672 | 8965 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
14673 | 8966 | target of the change to |
14674 | 8967 | %ENV which produced the warning. |
14675 | 8968 | |
14676 | 8969 | =end original |
14677 | 8970 | |
14678 | (W internal) VMS | |
8971 | (W internal) VMS 固有の警告です。 | |
14679 | 8972 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
14680 | 8973 | setenv() 関数を含んだ CRTL でビルドされていません。 |
14681 | 8974 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
14682 | 8975 | 出力している %ENV を変更するターゲットとならないように |
14683 | 8976 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
14684 | 8977 | |
14685 | =item | |
8978 | =item thread failed to start: %s | |
14686 | 8979 | |
14687 | 8980 | =begin original |
14688 | 8981 | |
14689 | ( | |
8982 | (W threads)(S) The entry point function of threads->create() failed for some reason. | |
14690 | depends on Perl being compiled with the default support for randomized hash | |
14691 | key traversal, but this Perl has been compiled without it. You should | |
14692 | report this warning to the relevant upstream party, or recompile perl | |
14693 | with default options. | |
14694 | 8983 | |
14695 | 8984 | =end original |
14696 | 8985 | |
14697 | ( | |
8986 | (W threads)(S) threads->create() のエントリポイント関数が何らかの理由で | |
14698 | ||
8987 | 失敗しました。 | |
14699 | コンパイルされていました。 | |
14700 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
14701 | 再コンパイルしてください。 | |
14702 | 8988 | |
14703 | =item | |
8989 | =item 5.005 threads are deprecated | |
14704 | 8990 | |
14705 | 8991 | =begin original |
14706 | 8992 | |
14707 | ( | |
8993 | (D deprecated) The 5.005-style threads (activated by C<use Thread;>) | |
14708 | ||
8994 | are deprecated and one should use the new ithreads instead, | |
14709 | ||
8995 | see L<perl58delta> for more details. | |
14710 | conditional. Some people have exploited this bug to achieve a kind of | |
14711 | static variable. Since we intend to fix this bug, we don't want people | |
14712 | relying on this behavior. You can achieve a similar static effect by | |
14713 | declaring the variable in a separate block outside the function, eg | |
14714 | 8996 | |
14715 | 8997 | =end original |
14716 | 8998 | |
14717 | ( | |
8999 | (D deprecated) (C<use Thread;> で有効になる) 5.005 風のスレッドは非推奨で、 | |
14718 | ||
9000 | 代わりに新しいiスレッドを使うべきです; | |
14719 | ||
9001 | さらなる詳細については L<perl58delta> を参照してください。 | |
14720 | 一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。 | |
14721 | 私たちはこのバグを修正したいので、人々にこの振る舞いに | |
14722 | 依存してほしくありません。 | |
14723 | 関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を | |
14724 | 得られます; 例えば: | |
14725 | 9002 | |
14726 | sub f { my $x if 0; return $x++ } | |
14727 | ||
14728 | =begin original | |
14729 | ||
14730 | becomes | |
14731 | ||
14732 | =end original | |
14733 | ||
14734 | これは次のようになります: | |
14735 | ||
14736 | { my $x; sub f { return $x++ } } | |
14737 | ||
14738 | =begin original | |
14739 | ||
14740 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
14741 | lexicals that are initialized only once (see L<feature>): | |
14742 | ||
14743 | =end original | |
14744 | ||
14745 | perl 5.10.0 から、一度だけ初期化されるレキシカル変数のために | |
14746 | C<state> 変数を使うこともできます (L<feature> を参照してください): | |
14747 | ||
14748 | sub f { state $x; return $x++ } | |
14749 | ||
14750 | =begin original | |
14751 | ||
14752 | This use of C<my()> in a false conditional was deprecated beginning in | |
14753 | Perl 5.10 and became a fatal error in Perl 5.30. | |
14754 | ||
14755 | =end original | |
14756 | ||
14757 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、 | |
14758 | Perl 5.30 で致命的エラーになりました。 | |
14759 | ||
14760 | =item Timeout waiting for another thread to define \p{%s} | |
14761 | ||
14762 | =begin original | |
14763 | ||
14764 | (F) The first time a user-defined property | |
14765 | (L<perlunicode/User-Defined Character Properties>) is used, its | |
14766 | definition is looked up and converted into an internal form for more | |
14767 | efficient handling in subsequent uses. There could be a race if two or | |
14768 | more threads tried to do this processing nearly simultaneously. | |
14769 | Instead, a critical section is created around this task, locking out all | |
14770 | but one thread from doing it. This message indicates that the thread | |
14771 | that is doing the conversion is taking an unexpectedly long time. The | |
14772 | timeout exists solely to prevent deadlock; it's long enough that the | |
14773 | system was likely thrashing and about to crash. There is no real remedy but | |
14774 | rebooting. | |
14775 | ||
14776 | =end original | |
14777 | ||
14778 | (F) ユーザー定義属性 (L<perlunicode/User-Defined Character Properties>) が | |
14779 | 最初に使われるとき、その定義は検索され、引き続く使用時により効率的に | |
14780 | 扱えるように内部形式に変換されます。 | |
14781 | 複数のスレッドがこれをほぼ同時に実行しようとすると、競合が | |
14782 | 発生することがあります。 | |
14783 | その代わりに、このタスクの周りにクリティカルセクションが作られ、 | |
14784 | 一つのスレッド以外がこれをすることを締め出します。 | |
14785 | このメッセージは、変換を行うスレッドが想定外に長い時間が掛かっていることを | |
14786 | 示しています。 | |
14787 | 時間切れはデッドロックを防ぐためだけに存在しています; | |
14788 | これは十分に長いので、システムはおそらくスラッシングを起こしていて、 | |
14789 | クラッシュ寸前です。 | |
14790 | 再起動以外に実際の解決策はありません。 | |
14791 | ||
14792 | 9003 | =item times not implemented |
14793 | 9004 | |
14794 | 9005 | =begin original |
14795 | 9006 | |
14796 | 9007 | (F) Your version of the C library apparently doesn't do times(). I |
14797 | 9008 | suspect you're not running on Unix. |
14798 | 9009 | |
14799 | 9010 | =end original |
14800 | 9011 | |
14801 | 9012 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
14802 | 9013 | UNIX ではない環境でしょうか。 |
14803 | 9014 | |
14804 | 9015 | =item "-T" is on the #! line, it must also be used on the command line |
14805 | 9016 | |
14806 | 9017 | =begin original |
14807 | 9018 | |
14808 | (X) The #! line (or local equivalent) in a Perl script contains | |
9019 | (X) The #! line (or local equivalent) in a Perl script contains the | |
14809 | ||
9020 | B<-T> option, but Perl was not invoked with B<-T> in its command line. | |
14810 | ||
9021 | This is an error because, by the time Perl discovers a B<-T> in a | |
14811 | ||
9022 | script, it's too late to properly taint everything from the environment. | |
14812 | ||
9023 | So Perl gives up. | |
14813 | 9024 | |
14814 | 9025 | =end original |
14815 | 9026 | |
14816 | 9027 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
14817 | オプション | |
9028 | オプションが含まれていますが、Perl はコマンドラインで B<-T> 付きで | |
14818 | ||
9029 | 起動されていません。 | |
14819 | 9030 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
14820 | 9031 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
14821 | 9032 | それで Perl は諦めます。 |
14822 | 9033 | |
14823 | 9034 | =begin original |
14824 | 9035 | |
14825 | 9036 | If the Perl script is being executed as a command using the #! |
14826 | mechanism (or its local equivalent), this error can usually be | |
9037 | mechanism (or its local equivalent), this error can usually be fixed by | |
14827 | ||
9038 | editing the #! line so that the B<-T> option is a part of Perl's first | |
14828 | ||
9039 | argument: e.g. change C<perl -n -T> to C<perl -T -n>. | |
14829 | 9040 | |
14830 | 9041 | =end original |
14831 | 9042 | |
14832 | 9043 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
14833 | 実行される場合、このエラーは普通 B<- | |
9044 | 実行される場合、このエラーは普通 B<-T> オプションを Perl の最初の引数に | |
14834 | 変更する(C<perl -n - | |
9045 | 変更する(C<perl -n -T> を C<perl -T -n> に変更する)ことで修正されます。 | |
14835 | 9046 | |
14836 | 9047 | =begin original |
14837 | 9048 | |
14838 | 9049 | If the Perl script is being executed as C<perl scriptname>, then the |
14839 | B<- | |
9050 | B<-T> option must appear on the command line: C<perl -T scriptname>. | |
14840 | 9051 | |
14841 | 9052 | =end original |
14842 | 9053 | |
14843 | 9054 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
14844 | コマンドラインに書かなければなりません: C<perl - | |
9055 | コマンドラインに書かなければなりません: C<perl -T scriptname> | |
14845 | 9056 | |
14846 | 9057 | =item To%s: illegal mapping '%s' |
14847 | 9058 | |
14848 | 9059 | =begin original |
14849 | 9060 | |
14850 | 9061 | (F) You tried to define a customized To-mapping for lc(), lcfirst, |
14851 | 9062 | uc(), or ucfirst() (or their string-inlined versions), but you |
14852 | 9063 | specified an illegal mapping. |
14853 | 9064 | See L<perlunicode/"User-Defined Character Properties">. |
14854 | 9065 | |
14855 | 9066 | =end original |
14856 | 9067 | |
14857 | 9068 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の |
14858 | 9069 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 |
14859 | 9070 | 不正なマッピングを指定しました。 |
14860 | 9071 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 |
14861 | 9072 | |
14862 | 9073 | =item Too deeply nested ()-groups |
14863 | 9074 | |
14864 | 9075 | =begin original |
14865 | 9076 | |
14866 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
9077 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
14867 | 9078 | |
14868 | 9079 | =end original |
14869 | 9080 | |
14870 | 9081 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 |
14871 | 9082 | |
14872 | 9083 | =item Too few args to syscall |
14873 | 9084 | |
14874 | 9085 | =begin original |
14875 | 9086 | |
14876 | 9087 | (F) There has to be at least one argument to syscall() to specify the |
14877 | 9088 | system call to call, silly dilly. |
14878 | 9089 | |
14879 | 9090 | =end original |
14880 | 9091 | |
14881 | 9092 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
14882 | 9093 | 引数が一つ必要です。 |
14883 | 9094 | |
14884 | =item Too few arguments for subroutine '%s' (got %d; expected %d) | |
14885 | ||
14886 | =begin original | |
14887 | ||
14888 | (F) A subroutine using a signature fewer arguments than required by the | |
14889 | signature. The caller of the subroutine is presumably at fault. | |
14890 | ||
14891 | =end original | |
14892 | ||
14893 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
14894 | 少ない引数を受け取りました。 | |
14895 | おそらくサブルーチンの呼び出し元が間違っています。 | |
14896 | ||
14897 | =begin original | |
14898 | ||
14899 | The message attempts to include the name of the called subroutine. If | |
14900 | the subroutine has been aliased, the subroutine's original name will be | |
14901 | shown, regardless of what name the caller used. It will also indicate the | |
14902 | number of arguments given and the number expected. | |
14903 | ||
14904 | =end original | |
14905 | ||
14906 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
14907 | サブルーチンが別名化されている場合、どの名前で呼びされたかにかかわらず | |
14908 | サブルーチンの元の名前が表示されます。 | |
14909 | 指定された引数の数と想定された数も示されます。 | |
14910 | ||
14911 | =item Too few arguments for subroutine '%s' (got %d; expected at least %d) | |
14912 | ||
14913 | =begin original | |
14914 | ||
14915 | Similar to the previous message but for subroutines that accept a variable | |
14916 | number of arguments. | |
14917 | ||
14918 | =end original | |
14919 | ||
14920 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
14921 | ||
14922 | 9095 | =item Too late for "-%s" option |
14923 | 9096 | |
14924 | 9097 | =begin original |
14925 | 9098 | |
14926 | 9099 | (X) The #! line (or local equivalent) in a Perl script contains the |
14927 | B<-M> | |
9100 | B<-M> or B<-m> option. This is an error because B<-M> and B<-m> options | |
14928 | ||
14929 | =end original | |
14930 | ||
14931 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, | |
14932 | B<-C> オプションが含まれています。 | |
14933 | ||
14934 | =begin original | |
14935 | ||
14936 | In the case of B<-M> and B<-m>, this is an error because those options | |
14937 | 9101 | are not intended for use inside scripts. Use the C<use> pragma instead. |
14938 | 9102 | |
14939 | 9103 | =end original |
14940 | 9104 | |
14941 | ||
9105 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M> や | |
9106 | B<-m> オプションが含まれています。 | |
9107 | B<-M> と B<-m> のオプションは、スクリプト内部で使うためのものではないので、 | |
14942 | 9108 | これはエラーになります。 |
14943 | 9109 | 代わりに C<use> プラグマを使ってください。 |
14944 | 9110 | |
14945 | =begin original | |
14946 | ||
14947 | The B<-C> option only works if it is specified on the command line as | |
14948 | well (with the same sequence of letters or numbers following). Either | |
14949 | specify this option on the command line, or, if your system supports | |
14950 | it, make your script executable and run it directly instead of passing | |
14951 | it to perl. | |
14952 | ||
14953 | =end original | |
14954 | ||
14955 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) | |
14956 | 指定されたときにのみ動作します。 | |
14957 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 | |
14958 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして | |
14959 | 直接実行してください。 | |
14960 | ||
14961 | 9111 | =item Too late to run %s block |
14962 | 9112 | |
14963 | 9113 | =begin original |
14964 | 9114 | |
14965 | 9115 | (W void) A CHECK or INIT block is being defined during run time proper, |
14966 | 9116 | when the opportunity to run them has already passed. Perhaps you are |
14967 | 9117 | loading a file with C<require> or C<do> when you should be using C<use> |
14968 | 9118 | instead. Or perhaps you should put the C<require> or C<do> inside a |
14969 | 9119 | BEGIN block. |
14970 | 9120 | |
14971 | 9121 | =end original |
14972 | 9122 | |
14973 | 9123 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
14974 | 9124 | 実行時に定義されました。 |
14975 | 9125 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
14976 | 9126 | 読み込んでいます。 |
14977 | 9127 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
14978 | 9128 | 書いたのでしょう。 |
14979 | 9129 | |
14980 | 9130 | =item Too many args to syscall |
14981 | 9131 | |
14982 | 9132 | =begin original |
14983 | 9133 | |
14984 | 9134 | (F) Perl supports a maximum of only 14 args to syscall(). |
14985 | 9135 | |
14986 | 9136 | =end original |
14987 | 9137 | |
14988 | 9138 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
14989 | 9139 | |
14990 | 9140 | =item Too many arguments for %s |
14991 | 9141 | |
14992 | 9142 | =begin original |
14993 | 9143 | |
14994 | 9144 | (F) The function requires fewer arguments than you specified. |
14995 | 9145 | |
14996 | 9146 | =end original |
14997 | 9147 | |
14998 | 9148 | (F) 関数が要求する以上の引数を指定しました。 |
14999 | 9149 | |
15000 | =item Too many arguments for subroutine '%s' (got %d; expected %d) | |
15001 | ||
15002 | =begin original | |
15003 | ||
15004 | (F) A subroutine using a signature received more arguments than permitted | |
15005 | by the signature. The caller of the subroutine is presumably at fault. | |
15006 | ||
15007 | =end original | |
15008 | ||
15009 | (F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも | |
15010 | 多い引数を受け取りました。 | |
15011 | おそらくサブルーチンの呼び出し元が間違っています。 | |
15012 | ||
15013 | =begin original | |
15014 | ||
15015 | The message attempts to include the name of the called subroutine. If the | |
15016 | subroutine has been aliased, the subroutine's original name will be shown, | |
15017 | regardless of what name the caller used. It will also indicate the number | |
15018 | of arguments given and the number expected. | |
15019 | ||
15020 | =end original | |
15021 | ||
15022 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
15023 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
15024 | 元の名前が表示されます。 | |
15025 | 指定された引数の数と想定された数も示されます。 | |
15026 | ||
15027 | =item Too many arguments for subroutine '%s' (got %d; expected at most %d) | |
15028 | ||
15029 | =begin original | |
15030 | ||
15031 | Similar to the previous message but for subroutines that accept a variable | |
15032 | number of arguments. | |
15033 | ||
15034 | =end original | |
15035 | ||
15036 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
15037 | ||
15038 | =item Too many nested open parens in regex; marked by <-- HERE in m/%s/ | |
15039 | ||
15040 | =begin original | |
15041 | ||
15042 | (F) You have exceeded the number of open C<"("> parentheses that haven't | |
15043 | been matched by corresponding closing ones. This limit prevents eating | |
15044 | up too much memory. It is initially set to 1000, but may be changed by | |
15045 | setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may | |
15046 | need to be done in a BEGIN block before the regular expression pattern | |
15047 | is compiled. | |
15048 | ||
15049 | =end original | |
15050 | ||
15051 | (F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。 | |
15052 | この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。 | |
15053 | これは 1000 に初期化されていますが、 | |
15054 | C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。 | |
15055 | これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で | |
15056 | 行われる必要があります。 | |
15057 | ||
15058 | 9150 | =item Too many )'s |
15059 | 9151 | |
15060 | 9152 | =begin original |
15061 | 9153 | |
15062 | 9154 | (A) You've accidentally run your script through B<csh> instead of Perl. |
15063 | 9155 | Check the #! line, or manually feed your script into Perl yourself. |
15064 | 9156 | |
15065 | 9157 | =end original |
15066 | 9158 | |
15067 | 9159 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
15068 | 9160 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
15069 | 9161 | |
15070 | 9162 | =item Too many ('s |
15071 | 9163 | |
15072 | 9164 | =begin original |
15073 | 9165 | |
15074 | 9166 | (A) You've accidentally run your script through B<csh> instead of Perl. |
15075 | 9167 | Check the #! line, or manually feed your script into Perl yourself. |
15076 | 9168 | |
15077 | 9169 | =end original |
15078 | 9170 | |
15079 | 9171 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
15080 | 9172 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
15081 | 9173 | |
15082 | 9174 | =item Trailing \ in regex m/%s/ |
15083 | 9175 | |
15084 | 9176 | =begin original |
15085 | 9177 | |
15086 | 9178 | (F) The regular expression ends with an unbackslashed backslash. |
15087 | 9179 | Backslash it. See L<perlre>. |
15088 | 9180 | |
15089 | 9181 | =end original |
15090 | 9182 | |
15091 | 9183 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
15092 | 9184 | 終了しました。バックスラッシュを付けてください。 |
15093 | 9185 | L<perlre> を参照してください。 |
15094 | 9186 | |
15095 | 9187 | =item Transliteration pattern not terminated |
15096 | 9188 | |
15097 | 9189 | =begin original |
15098 | 9190 | |
15099 | 9191 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
15100 | 9192 | or y/// or y[][] construct. Missing the leading C<$> from variables |
15101 | 9193 | C<$tr> or C<$y> may cause this error. |
15102 | 9194 | |
15103 | 9195 | =end original |
15104 | 9196 | |
15105 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
9197 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
15106 | 9198 | 見つかりませんでした。 |
15107 | 9199 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
15108 | 9200 | このエラーが出ることがあります。 |
15109 | 9201 | |
15110 | 9202 | =item Transliteration replacement not terminated |
15111 | 9203 | |
15112 | 9204 | =begin original |
15113 | 9205 | |
15114 | 9206 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], |
15115 | 9207 | y/// or y[][] construct. |
15116 | 9208 | |
15117 | 9209 | =end original |
15118 | 9210 | |
15119 | 9211 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が |
15120 | 9212 | 見つかりませんでした。 |
15121 | 9213 | |
15122 | 9214 | =item '%s' trapped by operation mask |
15123 | 9215 | |
15124 | 9216 | =begin original |
15125 | 9217 | |
15126 | 9218 | (F) You tried to use an operator from a Safe compartment in which it's |
15127 | disallowed. | |
9219 | disallowed. See L<Safe>. | |
15128 | 9220 | |
15129 | 9221 | =end original |
15130 | 9222 | |
15131 | 9223 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 |
15132 | 9224 | L<Safe> を参照してください。 |
15133 | 9225 | |
15134 | 9226 | =item truncate not implemented |
15135 | 9227 | |
15136 | 9228 | =begin original |
15137 | 9229 | |
15138 | 9230 | (F) Your machine doesn't implement a file truncation mechanism that |
15139 | 9231 | Configure knows about. |
15140 | 9232 | |
15141 | 9233 | =end original |
15142 | 9234 | |
15143 | 9235 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
15144 | 9236 | 実装されていません。 |
15145 | 9237 | |
15146 | =item try/catch is experimental | |
15147 | ||
15148 | =begin original | |
15149 | ||
15150 | (S experimental::try) This warning is emitted if you use the C<try> and | |
15151 | C<catch> syntax. This syntax is currently experimental and its behaviour may | |
15152 | change in future releases of Perl. | |
15153 | ||
15154 | =end original | |
15155 | ||
15156 | (S experimental::try) この警告は、C<try> と C<catch> 構文を使うと発生します。 | |
15157 | この構文は現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
15158 | 可能性があります。 | |
15159 | ||
15160 | =item Type of arg %d to &CORE::%s must be %s | |
15161 | ||
15162 | =begin original | |
15163 | ||
15164 | (F) The subroutine in question in the CORE package requires its argument | |
15165 | to be a hard reference to data of the specified type. Overloading is | |
15166 | ignored, so a reference to an object that is not the specified type, but | |
15167 | nonetheless has overloading to handle it, will still not be accepted. | |
15168 | ||
15169 | =end original | |
15170 | ||
15171 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの | |
15172 | ハードリファレンスを要求しています。 | |
15173 | オーバーロードは無視されるので、指定された型ではないけれども、それを | |
15174 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも | |
15175 | 受け付けられません。 | |
15176 | ||
15177 | 9238 | =item Type of arg %d to %s must be %s (not %s) |
15178 | 9239 | |
15179 | 9240 | =begin original |
15180 | 9241 | |
15181 | 9242 | (F) This function requires the argument in that position to be of a |
15182 | 9243 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
15183 | 9244 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
15184 | 9245 | {EXPR} forms as an explicit dereference. See L<perlref>. |
15185 | 9246 | |
15186 | 9247 | =end original |
15187 | 9248 | |
15188 | 9249 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
15189 | 配列は、@NAME もしくは C<@{EXPR}> でな | |
9250 | 配列は、@NAME もしくは C<@{EXPR}> でなくてはならず、ハッシュは、 | |
15190 | ||
9251 | %NAME もしくは C<%{EXPR}> でなければなりません。 | |
15191 | 9252 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
15192 | 9253 | {EXPR} 形式を使ってください。 |
15193 | 9254 | L<perlref> を参照してください。 |
15194 | 9255 | |
15195 | 9256 | =item umask not implemented |
15196 | 9257 | |
15197 | 9258 | =begin original |
15198 | 9259 | |
15199 | 9260 | (F) Your machine doesn't implement the umask function and you tried to |
15200 | 9261 | use it to restrict permissions for yourself (EXPR & 0700). |
15201 | 9262 | |
15202 | 9263 | =end original |
15203 | 9264 | |
15204 | 9265 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
15205 | 9266 | (EXPR & 0700) ためにこれを使おうとしました。 |
15206 | 9267 | |
9268 | =item Unable to create sub named "%s" | |
9269 | ||
9270 | =begin original | |
9271 | ||
9272 | (F) You attempted to create or access a subroutine with an illegal name. | |
9273 | ||
9274 | =end original | |
9275 | ||
9276 | (F) 不正な名前のサブルーチンを作成または呼び出ししようとしました。 | |
9277 | ||
15207 | 9278 | =item Unbalanced context: %d more PUSHes than POPs |
15208 | 9279 | |
15209 | 9280 | =begin original |
15210 | 9281 | |
15211 | ( | |
9282 | (W internal) The exit code detected an internal inconsistency in how | |
15212 | 9283 | many execution contexts were entered and left. |
15213 | 9284 | |
15214 | 9285 | =end original |
15215 | 9286 | |
15216 | ( | |
9287 | (W internal) いくつの実行コンテキストに入って、出たかということの | |
15217 | 9288 | 内部矛盾が exit コードで発見されました。 |
15218 | 9289 | |
15219 | 9290 | =item Unbalanced saves: %d more saves than restores |
15220 | 9291 | |
15221 | 9292 | =begin original |
15222 | 9293 | |
15223 | ( | |
9294 | (W internal) The exit code detected an internal inconsistency in how | |
15224 | 9295 | many values were temporarily localized. |
15225 | 9296 | |
15226 | 9297 | =end original |
15227 | 9298 | |
15228 | ( | |
9299 | (W internal) いくつの値が、一時的にローカル化されたかということの | |
15229 | 9300 | 内部矛盾が exit コードで発見されました。 |
15230 | 9301 | |
15231 | 9302 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
15232 | 9303 | |
15233 | 9304 | =begin original |
15234 | 9305 | |
15235 | ( | |
9306 | (W internal) The exit code detected an internal inconsistency in how | |
15236 | 9307 | many blocks were entered and left. |
15237 | 9308 | |
15238 | 9309 | =end original |
15239 | 9310 | |
15240 | ( | |
9311 | (W internal) いくつのブロックに入って、出たかということの | |
15241 | 9312 | 内部矛盾が exit コードで発見されました。 |
15242 | 9313 | |
15243 | =item Unbalanced string table refcount: (%d) for "%s" | |
15244 | ||
15245 | =begin original | |
15246 | ||
15247 | (S internal) On exit, Perl found some strings remaining in the shared | |
15248 | string table used for copy on write and for hash keys. The entries | |
15249 | should have been freed, so this indicates a bug somewhere. | |
15250 | ||
15251 | =end original | |
15252 | ||
15253 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
15254 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 | |
15255 | エントリは開放されている必要があるので、これはどこかにバグがあることを | |
15256 | 示しています。 | |
15257 | ||
15258 | 9314 | =item Unbalanced tmps: %d more allocs than frees |
15259 | 9315 | |
15260 | 9316 | =begin original |
15261 | 9317 | |
15262 | ( | |
9318 | (W internal) The exit code detected an internal inconsistency in how | |
15263 | 9319 | many mortal scalars were allocated and freed. |
15264 | 9320 | |
15265 | 9321 | =end original |
15266 | 9322 | |
15267 | ( | |
9323 | (W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
15268 | 9324 | いうことの内部矛盾が exit コードで発見されました。 |
15269 | 9325 | |
15270 | 9326 | =item Undefined format "%s" called |
15271 | 9327 | |
15272 | 9328 | =begin original |
15273 | 9329 | |
15274 | 9330 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
15275 | 9331 | another package? See L<perlform>. |
15276 | 9332 | |
15277 | 9333 | =end original |
15278 | 9334 | |
15279 | (F) | |
9335 | (F) このフォーマットは存在しないように見えます。 | |
15280 | おそらく | |
9336 | おそらく、別のパッケージに存在するのではないでしょうか。 | |
15281 | 9337 | L<perlform> を参照してください。 |
15282 | 9338 | |
15283 | 9339 | =item Undefined sort subroutine "%s" called |
15284 | 9340 | |
15285 | 9341 | =begin original |
15286 | 9342 | |
15287 | 9343 | (F) The sort comparison routine specified doesn't seem to exist. |
15288 | 9344 | Perhaps it's in a different package? See L<perlfunc/sort>. |
15289 | 9345 | |
15290 | 9346 | =end original |
15291 | 9347 | |
15292 | 9348 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
15293 | 9349 | おそらく、別のパッケージに存在するのではないでしょうか。 |
15294 | L<perlfunc/sort> | |
9350 | L<perlfunc/sort>を参照してください。 | |
15295 | 9351 | |
15296 | 9352 | =item Undefined subroutine &%s called |
15297 | 9353 | |
15298 | 9354 | =begin original |
15299 | 9355 | |
15300 | 9356 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
15301 | 9357 | since been undefined. |
15302 | 9358 | |
15303 | 9359 | =end original |
15304 | 9360 | |
15305 | (F) 指定されたサブルー | |
9361 | (F) 指定されたサブルーティンが定義されていません。 | |
15306 | 既に未定義になっています。 | |
9362 | 定義されていたとしても、既に未定義になっています。 | |
15307 | 9363 | |
15308 | 9364 | =item Undefined subroutine called |
15309 | 9365 | |
15310 | 9366 | =begin original |
15311 | 9367 | |
15312 | 9368 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
15313 | 9369 | or if it was, it has since been undefined. |
15314 | 9370 | |
15315 | 9371 | =end original |
15316 | 9372 | |
15317 | (F) 呼びだそうとしている無名のサブルー | |
9373 | (F) 呼びだそうとしている無名のサブルーティンは、定義されていません。 | |
15318 | 9374 | 定義されていたとしても、既に未定義になっています。 |
15319 | 9375 | |
15320 | 9376 | =item Undefined subroutine in sort |
15321 | 9377 | |
15322 | 9378 | =begin original |
15323 | 9379 | |
15324 | 9380 | (F) The sort comparison routine specified is declared but doesn't seem |
15325 | 9381 | to have been defined yet. See L<perlfunc/sort>. |
15326 | 9382 | |
15327 | 9383 | =end original |
15328 | 9384 | |
15329 | 9385 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
15330 | 9386 | 定義されていないようです。 |
15331 | 9387 | L<perlfunc/sort> を参照してください。 |
15332 | 9388 | |
15333 | 9389 | =item Undefined top format "%s" called |
15334 | 9390 | |
15335 | 9391 | =begin original |
15336 | 9392 | |
15337 | 9393 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
15338 | 9394 | another package? See L<perlform>. |
15339 | 9395 | |
15340 | 9396 | =end original |
15341 | 9397 | |
15342 | 9398 | (F) 示されたフォーマットが存在しないようです。 |
15343 | 9399 | おそらく本当は他のパッケージにあるのでは? |
15344 | 9400 | L<perlform> を参照してください。 |
15345 | 9401 | |
15346 | 9402 | =item Undefined value assigned to typeglob |
15347 | 9403 | |
15348 | 9404 | =begin original |
15349 | 9405 | |
15350 | 9406 | (W misc) An undefined value was assigned to a typeglob, a la |
15351 | 9407 | C<*foo = undef>. This does nothing. It's possible that you really mean |
15352 | 9408 | C<undef *foo>. |
15353 | 9409 | |
15354 | 9410 | =end original |
15355 | 9411 | |
15356 | 9412 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
15357 | 9413 | これは何もしません。 |
15358 | 9414 | 本当は C<undef *foo> としたかったのかもしれません。 |
15359 | 9415 | |
15360 | 9416 | =item %s: Undefined variable |
15361 | 9417 | |
15362 | 9418 | =begin original |
15363 | 9419 | |
15364 | 9420 | (A) You've accidentally run your script through B<csh> instead of Perl. |
15365 | 9421 | Check the #! line, or manually feed your script into Perl yourself. |
15366 | 9422 | |
15367 | 9423 | =end original |
15368 | 9424 | |
15369 | 9425 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
15370 | 9426 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
15371 | 9427 | |
15372 | =item Unescaped left brace in regex is illegal here in regex; | |
15373 | marked by S<<-- HERE> in m/%s/ | |
15374 | ||
15375 | =begin original | |
15376 | ||
15377 | (F) The simple rule to remember, if you want to | |
15378 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15379 | regular expression pattern, is to escape each literal instance of it in | |
15380 | some way. Generally easiest is to precede it with a backslash, like | |
15381 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
15382 | delimiters are also braces, any matching right brace (C<"}">) should | |
15383 | also be escaped to avoid confusing the parser, for example, | |
15384 | ||
15385 | =end original | |
15386 | ||
15387 | (F) 正規表現中で | |
15388 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15389 | 覚えておくべき単純な規則は、何らかの方法で | |
15390 | それぞれのリテラルな実体をエスケープすることです。 | |
15391 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
15392 | かっこでかこむ (C<"[{]">) ことです。. | |
15393 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
15394 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15395 | ||
15396 | qr{abc\{def\}ghi} | |
15397 | ||
15398 | =begin original | |
15399 | ||
15400 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
15401 | language to be extended in various ways in future releases. To avoid | |
15402 | needlessly breaking existing code, the restriction is not enforced in | |
15403 | contexts where there are unlikely to ever be extensions that could | |
15404 | conflict with the use there of C<"{"> as a literal. Those that are | |
15405 | not potentially ambiguous do not warn; those that are do raise a | |
15406 | non-deprecation warning. | |
15407 | ||
15408 | =end original | |
15409 | ||
15410 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
15411 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15412 | 既存のコードを不必要に壊すことを避けるために、 | |
15413 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
15414 | 制限は強制されません。 | |
15415 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15416 | 廃止予定でない警告が発生します。 | |
15417 | ||
15418 | =begin original | |
15419 | ||
15420 | The contexts where no warnings or errors are raised are: | |
15421 | ||
15422 | =end original | |
15423 | ||
15424 | 警告やエラーが出ない文脈は: | |
15425 | ||
15426 | =over 4 | |
15427 | ||
15428 | =item * | |
15429 | ||
15430 | =begin original | |
15431 | ||
15432 | as the first character in a pattern, or following C<"^"> indicating to | |
15433 | anchor the match to the beginning of a line. | |
15434 | ||
15435 | =end original | |
15436 | ||
15437 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15438 | C<"^"> に引き続いている場合。 | |
15439 | ||
15440 | =item * | |
15441 | ||
15442 | =begin original | |
15443 | ||
15444 | as the first character following a C<"|"> indicating alternation. | |
15445 | ||
15446 | =end original | |
15447 | ||
15448 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15449 | ||
15450 | =item * | |
15451 | ||
15452 | =begin original | |
15453 | ||
15454 | as the first character in a parenthesized grouping like | |
15455 | ||
15456 | =end original | |
15457 | ||
15458 | 次のようなかっこ付きグループの最初の文字の場合: | |
15459 | ||
15460 | /foo({bar)/ | |
15461 | /foo(?:{bar)/ | |
15462 | ||
15463 | =item * | |
15464 | ||
15465 | =begin original | |
15466 | ||
15467 | as the first character following a quantifier | |
15468 | ||
15469 | =end original | |
15470 | ||
15471 | 量指定子に引き続く最初の文字の場合 | |
15472 | ||
15473 | /\s*{/ | |
15474 | ||
15475 | =back | |
15476 | ||
15477 | =for comment | |
15478 | The text of the message above is mostly duplicated below (with changes) | |
15479 | to allow splain (and 'use diagnostics') to work. Since one is fatal, | |
15480 | and one not, they can't be combined as one message. Perhaps perldiag | |
15481 | could be enhanced to handle this case. | |
15482 | ||
15483 | =item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/ | |
15484 | ||
15485 | =begin original | |
15486 | ||
15487 | (W regexp) The simple rule to remember, if you want to | |
15488 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15489 | regular expression pattern, is to escape each literal instance of it in | |
15490 | some way. Generally easiest is to precede it with a backslash, like | |
15491 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
15492 | delimiters are also braces, any matching right brace (C<"}">) should | |
15493 | also be escaped to avoid confusing the parser, for example, | |
15494 | ||
15495 | =end original | |
15496 | ||
15497 | (W regexp) 正規表現中で | |
15498 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15499 | 覚えておくべき単純な規則は、何らかの方法で | |
15500 | それぞれのリテラルな実体をエスケープすることです。 | |
15501 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
15502 | かっこでかこむ (C<"[{]">) ことです。. | |
15503 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
15504 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15505 | ||
15506 | qr{abc\{def\}ghi} | |
15507 | ||
15508 | =begin original | |
15509 | ||
15510 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
15511 | language to be extended in various ways in future releases. To avoid | |
15512 | needlessly breaking existing code, the restriction is not enforced in | |
15513 | contexts where there are unlikely to ever be extensions that could | |
15514 | conflict with the use there of C<"{"> as a literal. Those that are | |
15515 | not potentially ambiguous do not warn; those that are raise this | |
15516 | warning. This makes sure that an inadvertent typo doesn't silently | |
15517 | cause the pattern to compile to something unintended. | |
15518 | ||
15519 | =end original | |
15520 | ||
15521 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
15522 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15523 | 既存のコードを不必要に壊すことを避けるために、 | |
15524 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
15525 | 制限は強制されません。 | |
15526 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
15527 | この警告が発生します。 | |
15528 | これは、不注意によるタイプミスによって、パターンが何か想定外のものに | |
15529 | 黙ってコンパイルされないことを確実にします。 | |
15530 | ||
15531 | =begin original | |
15532 | ||
15533 | The contexts where no warnings or errors are raised are: | |
15534 | ||
15535 | =end original | |
15536 | ||
15537 | 警告やエラーが出ない文脈は: | |
15538 | ||
15539 | =over 4 | |
15540 | ||
15541 | =item * | |
15542 | ||
15543 | =begin original | |
15544 | ||
15545 | as the first character in a pattern, or following C<"^"> indicating to | |
15546 | anchor the match to the beginning of a line. | |
15547 | ||
15548 | =end original | |
15549 | ||
15550 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15551 | C<"^"> に引き続いている場合。 | |
15552 | ||
15553 | =item * | |
15554 | ||
15555 | =begin original | |
15556 | ||
15557 | as the first character following a C<"|"> indicating alternation. | |
15558 | ||
15559 | =end original | |
15560 | ||
15561 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15562 | ||
15563 | =item * | |
15564 | ||
15565 | =begin original | |
15566 | ||
15567 | as the first character in a parenthesized grouping like | |
15568 | ||
15569 | =end original | |
15570 | ||
15571 | 次のようなかっこ付きグループの最初の文字の場合: | |
15572 | ||
15573 | /foo({bar)/ | |
15574 | /foo(?:{bar)/ | |
15575 | ||
15576 | =item * | |
15577 | ||
15578 | =begin original | |
15579 | ||
15580 | as the first character following a quantifier | |
15581 | ||
15582 | =end original | |
15583 | ||
15584 | 量指定子に引き続く最初の文字の場合 | |
15585 | ||
15586 | /\s*{/ | |
15587 | ||
15588 | =back | |
15589 | ||
15590 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ | |
15591 | ||
15592 | =begin original | |
15593 | ||
15594 | (W regexp) (only under C<S<use re 'strict'>>) | |
15595 | ||
15596 | =end original | |
15597 | ||
15598 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
15599 | ||
15600 | =begin original | |
15601 | ||
15602 | Within the scope of C<S<use re 'strict'>> in a regular expression | |
15603 | pattern, you included an unescaped C<}> or C<]> which was interpreted | |
15604 | literally. These two characters are sometimes metacharacters, and | |
15605 | sometimes literals, depending on what precedes them in the | |
15606 | pattern. This is unlike the similar C<)> which is always a | |
15607 | metacharacter unless escaped. | |
15608 | ||
15609 | =end original | |
15610 | ||
15611 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 | |
15612 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 | |
15613 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; | |
15614 | パターン中で何が前に置かれるかによります。 | |
15615 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが | |
15616 | 異なります。 | |
15617 | ||
15618 | =begin original | |
15619 | ||
15620 | This action at a distance, perhaps a large distance, can lead to Perl | |
15621 | silently misinterpreting what you meant, so when you specify that you | |
15622 | want extra checking by C<S<use re 'strict'>>, this warning is generated. | |
15623 | If you meant the character as a literal, simply confirm that to Perl by | |
15624 | preceding the character with a backslash, or make it into a bracketed | |
15625 | character class (like C<[}]>). If you meant it as closing a | |
15626 | corresponding C<[> or C<{>, you'll need to look back through the pattern | |
15627 | to find out why that isn't happening. | |
15628 | ||
15629 | =end original | |
15630 | ||
15631 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで | |
15632 | あなたの意図を間違って解釈するかもしれないので、 | |
15633 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 | |
15634 | この警告が出力されます。 | |
15635 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 | |
15636 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に | |
15637 | はっきりさせてください。 | |
15638 | これが対応する C<[> や C<{> を閉じるものなら、 | |
15639 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 | |
15640 | ||
15641 | 9428 | =item unexec of %s into %s failed! |
15642 | 9429 | |
15643 | 9430 | =begin original |
15644 | 9431 | |
15645 | 9432 | (F) The unexec() routine failed for some reason. See your local FSF |
15646 | 9433 | representative, who probably put it there in the first place. |
15647 | 9434 | |
15648 | 9435 | =end original |
15649 | 9436 | |
15650 | 9437 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
15651 | 9438 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
15652 | 9439 | |
15653 | =item Un | |
9440 | =item Unicode character %s is illegal | |
15654 | marked by S<<-- HERE> in m/%s/ | |
15655 | 9441 | |
15656 | 9442 | =begin original |
15657 | 9443 | |
15658 | ( | |
9444 | (W utf8) Certain Unicode characters have been designated off-limits by | |
9445 | the Unicode standard and should not be generated. If you really know | |
9446 | what you are doing you can turn off this warning by C<no warnings 'utf8';>. | |
15659 | 9447 | |
15660 | 9448 | =end original |
15661 | 9449 | |
15662 | ( | |
9450 | (W utf8) いくつかの Unicode 文字は Unicode 標準によって聖域として | |
9451 | 指定されていて、生成されるはずのないものです。 | |
15664 | | |
9452 | もし自分が何をしているかを本当に理解しているなら、C<no warnings 'utf8';> で | |
15665 | ||
15666 | =begin original | |
15667 | ||
15668 | where the C<"|"> is a binary operator with an operand on the right, but | |
15669 | no operand on the left. | |
15670 | ||
15671 | =end original | |
15672 | ||
15673 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない | |
15674 | 2 項演算子です。 | |
15675 | ||
15676 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ | |
15677 | ||
15678 | =begin original | |
15679 | ||
15680 | (F) You had something like this: | |
15681 | ||
15682 | =end original | |
15683 | ||
15684 | (F) 以下のようなものを書きました: | |
15685 | ||
15686 | (?[ z ]) | |
15687 | ||
15688 | =begin original | |
15689 | ||
15690 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
15691 | within an inner pair of square brackets, like | |
15692 | ||
15693 | =end original | |
15694 | ||
15695 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
15696 | リテラル文字は許されません | |
15697 | ||
15698 | (?[ [ z ] ]) | |
15699 | ||
15700 | =begin original | |
15701 | ||
15702 | Another possibility is that you forgot a backslash. Perl isn't smart | |
15703 | enough to figure out what you really meant. | |
15704 | ||
15705 | =end original | |
15706 | ||
15707 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
15708 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
15709 | ||
15710 | =item Unexpected constant lvalue entersub entry via type/targ %d:%d | |
15711 | ||
15712 | =begin original | |
15713 | ||
15714 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
15715 | internal consistency check. It encountered a malformed op tree. | |
15716 | ||
15717 | =end original | |
15718 | ||
15719 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
15720 | 内部一貫性チェックに失敗しました。 | |
15721 | 不正な構文木に遭遇しました。 | |
15722 | ||
15723 | =item Unexpected exit %u | |
15724 | ||
15725 | =begin original | |
15726 | ||
15727 | (S) exit() was called or the script otherwise finished gracefully when | |
15728 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. | |
15729 | ||
15730 | =end original | |
15731 | ||
15732 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が | |
15733 | 呼び出されたりその他の理由で通常終了しました。 | |
15734 | ||
15735 | =item Unexpected exit failure %d | |
15736 | ||
15737 | =begin original | |
15738 | ||
15739 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in | |
15740 | C<PL_exit_flags>. | |
15741 | ||
15742 | =end original | |
15743 | ||
15744 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに | |
15745 | 捕らえられていない die() が呼び出されました。 | |
15746 | ||
15747 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ | |
15748 | ||
15749 | =begin original | |
15750 | ||
15751 | (F) You had something like this: | |
15752 | ||
15753 | =end original | |
15754 | ||
15755 | (F) 以下のようなものを書きました: | |
15756 | ||
15757 | (?[ ( \p{Digit} + ) ]) | |
15758 | ||
15759 | =begin original | |
15760 | ||
15761 | The C<")"> is out-of-place. Something apparently was supposed to | |
15762 | be combined with the digits, or the C<"+"> shouldn't be there, or | |
15763 | something like that. Perl can't figure out what was intended. | |
15764 | ||
15765 | =end original | |
15766 | ||
15767 | C<")"> の場所がおかしいです。 | |
15768 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
15769 | 似たような何かです。 | |
15770 | Perl は何を意図しているのかが分かりませんでした。 | |
15771 | ||
15772 | =item Unexpected ']' with no following ')' in (?[... in regex; marked by | |
15773 | <-- HERE in m/%s/ | |
15774 | ||
15775 | =begin original | |
15776 | ||
15777 | (F) While parsing an extended character class a ']' character was | |
15778 | encountered at a point in the definition where the only legal use of | |
15779 | ']' is to close the character class definition as part of a '])', you | |
15780 | may have forgotten the close paren, or otherwise confused the parser. | |
15781 | ||
15782 | =end original | |
15783 | ||
15784 | (F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を | |
15785 | 閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました; | |
15786 | 閉じかっこを忘れているか、さもなければパーサが混乱しています。 | |
15787 | ||
15788 | =item Unexpected '(' with no preceding operator in regex; marked by | |
15789 | S<<-- HERE> in m/%s/ | |
15790 | ||
15791 | =begin original | |
15792 | ||
15793 | (F) You had something like this: | |
15794 | ||
15795 | =end original | |
15796 | ||
15797 | (F) 以下のようなものを書きました: | |
15798 | ||
15799 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
15800 | ||
15801 | =begin original | |
15802 | ||
15803 | There should be an operator before the C<"(">, as there's | |
15804 | no indication as to how the digits are to be combined | |
15805 | with the characters in the Lao and Thai scripts. | |
15806 | ||
15807 | =end original | |
15808 | ||
15809 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
15810 | 文字がどのように結びつくかの指示がないからです。 | |
15811 | ||
15812 | =item Unicode non-character U+%X is not recommended for open interchange | |
15813 | ||
15814 | =begin original | |
15815 | ||
15816 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
15817 | defined by the Unicode standard to be non-characters. Those | |
15818 | are legal codepoints, but are reserved for internal use; so, | |
15819 | applications shouldn't attempt to exchange them. An application | |
15820 | may not be expecting any of these characters at all, and receiving | |
15821 | them may lead to bugs. If you know what you are doing you can | |
15822 | turn off this warning by C<no warnings 'nonchar';>. | |
15823 | ||
15824 | =end original | |
15825 | ||
15826 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
15827 | Unicode 標準によって非文字として指定されています。 | |
15828 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 | |
15829 | アプリケーションはこれを交換しようとするべきではありません。 | |
15830 | アプリケーションは、これらの文字を想定するべきではなく、これらを | |
15831 | 受け取るとバグを引き起こすことがあります。 | |
15832 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で | |
15833 | 9453 | 警告を無効にできます。 |
15834 | 9454 | |
15835 | = | |
9455 | =item Unknown BYTEORDER | |
15836 | 9456 | |
15837 | This is not really a "severe" error, but it is supposed to be | |
15838 | raised by default even if warnings are not enabled, and currently | |
15839 | the only way to do that in Perl is to mark it as serious. | |
15840 | ||
15841 | =end original | |
15842 | ||
15843 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても | |
15844 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは | |
15845 | これを重大なものとして扱うことです。 | |
15846 | ||
15847 | =item Unicode property wildcard not terminated | |
15848 | ||
15849 | 9457 | =begin original |
15850 | 9458 | |
15851 | (F) | |
9459 | (F) There are no byte-swapping functions for a machine with this byte | |
15852 | ||
9460 | order. | |
15853 | The closing delimtter to match the opening one was not found. If the | |
15854 | opening one is escaped by preceding it with a backslash, the closing one | |
15855 | must also be so escaped. | |
15856 | 9461 | |
15857 | 9462 | =end original |
15858 | 9463 | |
15859 | (F) | |
9464 | (F) このバイト順序を入れ替える関数がありません。 | |
15860 | (C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。 | |
15861 | 開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。 | |
15862 | 前に逆スラッシュを置くことで開き文字がエスケープされている場合、 | |
15863 | 閉じ文字もエスケープされていなければなりません。 | |
15864 | 9465 | |
15865 | =item Unicode string properties are not implemented in (?[...]) in | |
15866 | regex; marked by <-- HERE in m/%s/ | |
15867 | ||
15868 | =begin original | |
15869 | ||
15870 | (F) A Unicode string property is one which expands to a sequence of | |
15871 | multiple characters. An example is C<\p{name=KATAKANA LETTER AINU P}>, | |
15872 | which is comprised of the sequence C<\N{KATAKANA LETTER SMALL H}> | |
15873 | followed by C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}>. | |
15874 | Extended character classes, C<(?[...])> currently cannot handle these. | |
15875 | ||
15876 | =end original | |
15877 | ||
15878 | (F) A Unicode 文字列特性は、複数の文字の並びに拡張するものです。 | |
15879 | 例は C<\p{name=KATAKANA LETTER AINU P}> で、これは | |
15880 | C<\N{KATAKANA LETTER SMALL H}> に | |
15881 | C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}> が引き続く | |
15882 | 並びからなります。 | |
15883 | 拡張文字クラス C<(?[...])> は現在の所これらを扱えません。 | |
15884 | ||
15885 | =item Unicode surrogate U+%X is illegal in UTF-8 | |
15886 | ||
15887 | =begin original | |
15888 | ||
15889 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
15890 | not considered acceptable. These code points, between U+D800 and | |
15891 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
15892 | internally allows all unsigned integer code points (up to the size limit | |
15893 | available on your platform), including surrogates. But these can cause | |
15894 | problems when being input or output, which is likely where this message | |
15895 | came from. If you really really know what you are doing you can turn | |
15896 | off this warning by C<no warnings 'surrogate';>. | |
15897 | ||
15898 | =end original | |
15899 | ||
15900 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
15901 | 使いました。 | |
15902 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
15903 | Unicode によって使われます。 | |
15904 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
15905 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
15906 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
15907 | おそらくこのメッセージが出た場所です。 | |
15908 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
15909 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
15910 | ||
15911 | =item Unknown charname '%s' | |
15912 | ||
15913 | =begin original | |
15914 | ||
15915 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
15916 | spelling. You can say C<use charnames ":loose"> to not have to be | |
15917 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
15918 | names. (Any custom aliases that have been created must be specified | |
15919 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
15920 | also happen if the C<\N{}> is not in the scope of the corresponding | |
15921 | C<S<use charnames>>. | |
15922 | ||
15923 | =end original | |
15924 | ||
15925 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
15926 | 綴りをチェックしてください。 | |
15927 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
15928 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
15929 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
15930 | 指定されなければなりません。) | |
15931 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
15932 | ないときにも起こることがあります。 | |
15933 | ||
15934 | =item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/ | |
15935 | ||
15936 | =begin original | |
15937 | ||
15938 | (F) The C<(*> was followed by something that the regular expression | |
15939 | compiler does not recognize. Check your spelling. | |
15940 | ||
15941 | =end original | |
15942 | ||
15943 | (F) C<(*> に、何か正規表現コンパイラが理解できないものが | |
15944 | 引き続いていました。 | |
15945 | 綴りをチェックしてください。 | |
15946 | ||
15947 | =item Unknown error | |
15948 | ||
15949 | =begin original | |
15950 | ||
15951 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable | |
15952 | did not exist, even after an attempt to create it. | |
15953 | ||
15954 | =end original | |
15955 | ||
15956 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が | |
15957 | (たとえ作ろうとした後でも) 存在しませんでした。 | |
15958 | ||
15959 | =item Unknown locale category %d; can't set it to %s | |
15960 | ||
15961 | =begin original | |
15962 | ||
15963 | (W locale) You used a locale category that perl doesn't recognize, so it | |
15964 | cannot carry out your request. Check that you are using a valid | |
15965 | category. If so, see L<perllocale/Multi-threaded> for advice on | |
15966 | reporting this as a bug, and for modifying perl locally to accommodate | |
15967 | your needs. | |
15968 | ||
15969 | =end original | |
15970 | ||
15971 | (W locale) perl が認識できないロケールカテゴリを使ったので、 | |
15972 | 要求を実行することができません。 | |
15973 | 正しいカテゴリを使っているかチェックしてください。 | |
15974 | もしそうなら、これをバグとして報告する助言や、必要性に対応するために | |
15975 | perl をローカルで修正する方法について L<perllocale/Multi-threaded> を | |
15976 | 参照してください。 | |
15977 | ||
15978 | 9466 | =item Unknown open() mode '%s' |
15979 | 9467 | |
15980 | 9468 | =begin original |
15981 | 9469 | |
15982 | 9470 | (F) The second argument of 3-argument open() is not among the list |
15983 | 9471 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
15984 | 9472 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. |
15985 | 9473 | |
15986 | 9474 | =end original |
15987 | 9475 | |
15988 | 9476 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
15989 | 9477 | どれでもありませんでした: |
15990 | 9478 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
15991 | 9479 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> |
15992 | 9480 | |
15993 | 9481 | =item Unknown PerlIO layer "%s" |
15994 | 9482 | |
15995 | 9483 | =begin original |
15996 | 9484 | |
15997 | 9485 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O |
15998 | 9486 | system. (Layers take care of transforming data between external and |
15999 | 9487 | internal representations.) Note that some layers, such as C<mmap>, |
16000 | 9488 | are not supported in all environments. If your program didn't |
16001 | 9489 | explicitly request the failing operation, it may be the result of the |
16002 | 9490 | value of the environment variable PERLIO. |
16003 | 9491 | |
16004 | 9492 | =end original |
16005 | 9493 | |
16006 | 9494 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 |
16007 | 9495 | (層はデータの外部表現と内部表現の変換を扱います。) |
16008 | 9496 | C<mmap> のような層は、全ての環境で対応しているわけではないことに |
16009 | 9497 | 注意してください。 |
16010 | 9498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
16011 | 9499 | 値が原因かもしれません。 |
16012 | 9500 | |
16013 | 9501 | =item Unknown process %x sent message to prime_env_iter: %s |
16014 | 9502 | |
16015 | 9503 | =begin original |
16016 | 9504 | |
16017 | 9505 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
16018 | 9506 | iterating over it, and someone else stuck a message in the stream of |
16019 | 9507 | data Perl expected. Someone's very confused, or perhaps trying to |
16020 | 9508 | subvert Perl's population of %ENV for nefarious purposes. |
16021 | 9509 | |
16022 | 9510 | =end original |
16023 | 9511 | |
16024 | (P) VMS | |
9512 | (P) VMS 固有のエラーです。 | |
16025 | 9513 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
16026 | 9514 | データストリームの中に誰かがメッセージを差し込みました。 |
16027 | 9515 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
16028 | 9516 | 滅亡させようとしています。 |
16029 | 9517 | |
16030 | =item Unknown regexp modifier "/%s" | |
16031 | ||
16032 | =begin original | |
16033 | ||
16034 | (F) Alphanumerics immediately following the closing delimiter | |
16035 | of a regular expression pattern are interpreted by Perl as modifier | |
16036 | flags for the regex. One of the ones you specified is invalid. One way | |
16037 | this can happen is if you didn't put in white space between the end of | |
16038 | the regex and a following alphanumeric operator: | |
16039 | ||
16040 | =end original | |
16041 | ||
16042 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
16043 | 修飾子フラグと解釈されます。 | |
16044 | その一つが不正でした。 | |
16045 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
16046 | 空白を置いていない場合です: | |
16047 | ||
16048 | if ($a =~ /foo/and $bar == 3) { ... } | |
16049 | ||
16050 | =begin original | |
16051 | ||
16052 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
16053 | this error. Likely what was meant instead was: | |
16054 | ||
16055 | =end original | |
16056 | ||
16057 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
16058 | おそらくしたかったのは以下のようなことでしょう: | |
16059 | ||
16060 | if ($a =~ /foo/ and $bar == 3) { ... } | |
16061 | ||
16062 | 9518 | =item Unknown "re" subpragma '%s' (known ones are: %s) |
16063 | 9519 | |
16064 | 9520 | =begin original |
16065 | 9521 | |
16066 | ||
9522 | You tried to use an unknown subpragma of the "re" pragma. | |
16067 | 9523 | |
16068 | 9524 | =end original |
16069 | 9525 | |
16070 | ||
9526 | "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
16071 | 9527 | |
16072 | =item Unknown switch condition (?(. | |
9528 | =item Unknown switch condition (?(%.2s in regex; marked by <-- HERE in m/%s/ | |
16073 | m/%s/ | |
16074 | 9529 | |
16075 | 9530 | =begin original |
16076 | 9531 | |
16077 | 9532 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
16078 | is not known. | |
9533 | is not known. The condition may be lookahead or lookbehind (the condition | |
9534 | is true if the lookahead or lookbehind is true), a (?{...}) construct (the | |
9535 | condition is true if the code evaluates to a true value), or a number (the | |
9536 | condition is true if the set of capturing parentheses named by the number | |
9537 | matched). | |
16079 | 9538 | |
16080 | 9539 | =end original |
16081 | 9540 | |
16082 | (?( | |
9541 | (F) (?(condition)if-clause|else-clause) 構文の条件部が不明です。 | |
16083 | 条件は | |
9542 | 条件は前方参照または後方参照 (前方参照または後方参照が真なら条件は真)、 | |
9543 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
9544 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
9545 | いずれかです。 | |
16084 | 9546 | |
16085 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
16086 | (<NAME>) ('NAME') true if named capture matched | |
16087 | (?=...) (?<=...) true if subpattern matches | |
16088 | (*pla:...) (*plb:...) true if subpattern matches; also | |
16089 | (*positive_lookahead:...) | |
16090 | (*positive_lookbehind:...) | |
16091 | (*nla:...) (*nlb:...) true if subpattern fails to match; also | |
16092 | (*negative_lookahead:...) | |
16093 | (*negative_lookbehind:...) | |
16094 | (?{ CODE }) true if code returns a true value | |
16095 | (R) true if evaluating inside recursion | |
16096 | (R1) (R2) ... true if directly inside capture group 1, 2, | |
16097 | etc. | |
16098 | (R&NAME) true if directly inside named capture | |
16099 | (DEFINE) always false; for defining named subpatterns | |
16100 | ||
16101 | 9547 | =begin original |
16102 | 9548 | |
16103 | The | |
9549 | The <-- HERE shows in the regular expression about where the problem was | |
16104 | 9550 | discovered. See L<perlre>. |
16105 | 9551 | |
16106 | 9552 | =end original |
16107 | 9553 | |
16108 | ||
9554 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16109 | 9555 | L<perlre> を参照してください。 |
16110 | 9556 | |
16111 | 9557 | =item Unknown Unicode option letter '%c' |
16112 | 9558 | |
16113 | 9559 | =begin original |
16114 | 9560 | |
16115 | ||
9561 | You specified an unknown Unicode option. See L<perlrun> documentation | |
16116 | ||
9562 | of the C<-C> switch for the list of known options. | |
16117 | for the list of known options. | |
16118 | 9563 | |
16119 | 9564 | =end original |
16120 | 9565 | |
16121 | ||
9566 | 不明な Unicode オプションを指定しました。 | |
16122 | オプションの一覧については、L<perlrun | |
9567 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
16123 | ||
9568 | 参照してください。 | |
16124 | 9569 | |
16125 | =item Unknown Unicode option value % | |
9570 | =item Unknown Unicode option value %x | |
16126 | 9571 | |
16127 | 9572 | =begin original |
16128 | 9573 | |
16129 | ||
9574 | You specified an unknown Unicode option. See L<perlrun> documentation | |
16130 | ||
9575 | of the C<-C> switch for the list of known options. | |
16131 | for the list of known options. | |
16132 | 9576 | |
16133 | 9577 | =end original |
16134 | 9578 | |
16135 | ||
9579 | 不明な Unicode オプションを指定しました。 | |
16136 | オプションの一覧については、L<perlrun | |
9580 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
16137 | ||
9581 | 参照してください。 | |
16138 | 9582 | |
16139 | =item Unknown user-defined property name \p{%s} | |
16140 | ||
16141 | =begin original | |
16142 | ||
16143 | (F) You specified to use a property within the C<\p{...}> which was a | |
16144 | syntactically valid user-defined property, but no definition was found | |
16145 | for it by the time one was required to proceed. Check your spelling. | |
16146 | See L<perlunicode/User-Defined Character Properties>. | |
16147 | ||
16148 | =end original | |
16149 | ||
16150 | (F) 文法的に正当なユーザー定義特性である C<\p{...}> の中で特性を使うように | |
16151 | 指定しましたが、進行するためにこれが必要な必要な時点までに、 | |
16152 | このための定義が見つかりませんでした。 | |
16153 | 綴りを確認してください。 | |
16154 | L<perlunicode/User-Defined Character Properties> を参照してください。 | |
16155 | ||
16156 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ | |
16157 | ||
16158 | =begin original | |
16159 | ||
16160 | (F) You either made a typo or have incorrectly put a C<*> quantifier | |
16161 | after an open brace in your pattern. Check the pattern and review | |
16162 | L<perlre> for details on legal verb patterns. | |
16163 | ||
16164 | =end original | |
16165 | ||
16166 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に | |
16167 | C<*> 量指定子を書いたかどちらかです。 | |
16168 | パターンをチェックして、有効な動詞パターンの詳細については | |
16169 | L<perlre> を再チェックしてください。 | |
16170 | ||
16171 | 9583 | =item Unknown warnings category '%s' |
16172 | 9584 | |
16173 | 9585 | =begin original |
16174 | 9586 | |
16175 | (F) An error issued by the C<warnings> pragma. | |
9587 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
16176 | 9588 | category that is unknown to perl at this point. |
16177 | 9589 | |
16178 | 9590 | =end original |
16179 | 9591 | |
16180 | 9592 | (F) C<warnings> プラグマによるエラーです。 |
16181 | 9593 | 現在のところ perl が知らない警告カテゴリを指定しました。 |
16182 | 9594 | |
16183 | 9595 | =begin original |
16184 | 9596 | |
16185 | Note that if you want to enable a warnings category registered by a | |
9597 | Note that if you want to enable a warnings category registered by a module | |
16186 | ||
9598 | (e.g. C<use warnings 'File::Find'>), you must have imported this module | |
16187 | ||
9599 | first. | |
16188 | 9600 | |
16189 | 9601 | =end original |
16190 | 9602 | |
16191 | 9603 | (C<use warnings 'File::Find'> のように)モジュールによって登録される |
16192 | 警告カテゴリを有効にしたい場合、このモジュールを先に | |
9604 | 警告カテゴリを有効にしたい場合、このモジュールを先にインポートする必要が | |
16193 | 9605 | あることに注意してください。 |
16194 | 9606 | |
16195 | =item | |
9607 | =item unmatched [ in regex; marked by <-- HERE in m/%s/ | |
16196 | 9608 | |
16197 | 9609 | =begin original |
16198 | 9610 | |
16199 | (F) The brackets around a character class must match. | |
9611 | (F) The brackets around a character class must match. If you wish to | |
16200 | 9612 | include a closing bracket in a character class, backslash it or put it |
16201 | first. | |
9613 | first. The <-- HERE shows in the regular expression about where the problem | |
16202 | ||
9614 | was discovered. See L<perlre>. | |
16203 | 9615 | |
16204 | 9616 | =end original |
16205 | 9617 | |
16206 | 9618 | (F) 文字クラスの周りの大かっこが一致していません。 |
16207 | 9619 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
16208 | 9620 | 先頭に置いてください。 |
16209 | ||
9621 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16210 | 9622 | L<perlre> を参照してください。 |
16211 | 9623 | |
16212 | =item | |
9624 | =item unmatched ( in regex; marked by <-- HERE in m/%s/ | |
16213 | 9625 | |
16214 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ | |
16215 | ||
16216 | 9626 | =begin original |
16217 | 9627 | |
16218 | 9628 | (F) Unbackslashed parentheses must always be balanced in regular |
16219 | expressions. | |
9629 | expressions. If you're a vi user, the % key is valuable for finding the | |
16220 | ||
9630 | matching parenthesis. The <-- HERE shows in the regular expression about | |
16221 | ||
9631 | where the problem was discovered. See L<perlre>. | |
16222 | 9632 | |
16223 | 9633 | =end original |
16224 | 9634 | |
16225 | 9635 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
16226 | 9636 | 対応していなければなりません。 |
16227 | 9637 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
16228 | ||
9638 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16229 | 9639 | L<perlre> を参照してください。 |
16230 | 9640 | |
16231 | 9641 | =item Unmatched right %s bracket |
16232 | 9642 | |
16233 | 9643 | =begin original |
16234 | 9644 | |
16235 | 9645 | (F) The lexer counted more closing curly or square brackets than opening |
16236 | 9646 | ones, so you're probably missing a matching opening bracket. As a |
16237 | 9647 | general rule, you'll find the missing one (so to speak) near the place |
16238 | 9648 | you were last editing. |
16239 | 9649 | |
16240 | 9650 | =end original |
16241 | 9651 | |
16242 | 9652 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを |
16243 | 9653 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 |
16244 | 9654 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した |
16245 | 9655 | 場所の近くにあります。 |
16246 | 9656 | |
16247 | 9657 | =item Unquoted string "%s" may clash with future reserved word |
16248 | 9658 | |
16249 | 9659 | =begin original |
16250 | 9660 | |
16251 | 9661 | (W reserved) You used a bareword that might someday be claimed as a |
16252 | 9662 | reserved word. It's best to put such a word in quotes, or capitalize it |
16253 | 9663 | somehow, or insert an underbar into it. You might also declare it as a |
16254 | 9664 | subroutine. |
16255 | 9665 | |
16256 | 9666 | =end original |
16257 | 9667 | |
16258 | 9668 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
16259 | 9669 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
16260 | 9670 | いれるかしてください。 |
16261 | その裸の単語は、サブルー | |
9671 | その裸の単語は、サブルーティンとして宣言することも可能です。 | |
16262 | 9672 | |
16263 | =item Unrecognized character %s | |
9673 | =item Unrecognized character %s | |
16264 | %d | |
16265 | 9674 | |
16266 | 9675 | =begin original |
16267 | 9676 | |
16268 | 9677 | (F) The Perl parser has no idea what to do with the specified character |
16269 | in your Perl script (or eval) | |
9678 | in your Perl script (or eval). Perhaps you tried to run a compressed | |
16270 | ||
9679 | script, a binary program, or a directory as a Perl program. | |
16271 | a Perl program. | |
16272 | 9680 | |
16273 | 9681 | =end original |
16274 | 9682 | |
16275 | (F) Perl パーサーは、Perl スクリプト(または eval) で | |
9683 | (F) Perl パーサーは、Perl スクリプト(または eval) で出てきた文字に対して | |
16276 | ||
9684 | どうすればよいか分かりませんでした。 | |
16277 | 9685 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
16278 | 9686 | Perl プログラムとして実行しようとしたのでしょう。 |
16279 | 9687 | |
16280 | =item Unrecognized escape \%c in character class | |
9688 | =item /%s/: Unrecognized escape \\%c in character class passed through | |
16281 | S<<-- HERE> in m/%s/ | |
16282 | 9689 | |
16283 | 9690 | =begin original |
16284 | 9691 | |
16285 | (F) You used a backslash-character combination which is not | |
16286 | recognized by Perl inside character classes. This is a fatal | |
16287 | error when the character class is used within C<(?[ ])>. | |
16288 | ||
16289 | =end original | |
16290 | ||
16291 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
16292 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
16293 | ||
16294 | =item Unrecognized escape \%c in character class passed through in regex; | |
16295 | marked by S<<-- HERE> in m/%s/ | |
16296 | ||
16297 | =begin original | |
16298 | ||
16299 | 9692 | (W regexp) You used a backslash-character combination which is not |
16300 | 9693 | recognized by Perl inside character classes. The character was |
16301 | understood literally | |
9694 | understood literally. | |
16302 | The S<<-- HERE> shows whereabouts in the regular expression the | |
16303 | escape was discovered. | |
16304 | 9695 | |
16305 | 9696 | =end original |
16306 | 9697 | |
16307 | 9698 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
16308 | 9699 | 組み合わせを使いました。 |
16309 | 文字はリテラルに | |
9700 | 文字はリテラルに理解されます。 | |
16310 | 変更されるかもしれません。 | |
16311 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
16312 | 9701 | |
16313 | =item Unrecognized escape \%c passed through | |
9702 | =item Unrecognized escape \\%c passed through | |
16314 | 9703 | |
16315 | 9704 | =begin original |
16316 | 9705 | |
16317 | 9706 | (W misc) You used a backslash-character combination which is not |
16318 | recognized by Perl. | |
9707 | recognized by Perl. | |
16319 | change in a future version of Perl. | |
16320 | 9708 | |
16321 | 9709 | =end original |
16322 | 9710 | |
16323 | 9711 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが |
16324 | 9712 | 使われています。 |
16325 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
16326 | 変更されるかもしれません。 | |
16327 | 9713 | |
16328 | =item Unrecognized escape \% | |
9714 | =item Unrecognized escape \\%c passed through in regex; marked by <-- HERE in m/%s/ | |
16329 | S<<-- HERE> in m/%s/ | |
16330 | 9715 | |
16331 | 9716 | =begin original |
16332 | 9717 | |
16333 | 9718 | (W regexp) You used a backslash-character combination which is not |
16334 | recognized by Perl. | |
9719 | recognized by Perl. This combination appears in an interpolated variable or | |
16335 | ||
9720 | a C<'>-delimited regular expression. The character was understood | |
16336 | ||
9721 | literally. The <-- HERE shows in the regular expression about where the | |
9722 | escape was discovered. | |
16337 | 9723 | |
16338 | 9724 | =end original |
16339 | 9725 | |
16340 | 9726 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが |
16341 | 9727 | 使われています。 |
16342 | ||
9728 | この組み合わせは展開された変数の中か、C<'>-デリミタの正規表現で | |
16343 | ||
9729 | 出現します。 | |
16344 | ||
9730 | この文字はリテラルに処理されます。 | |
9731 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16345 | 9732 | |
16346 | 9733 | =item Unrecognized signal name "%s" |
16347 | 9734 | |
16348 | 9735 | =begin original |
16349 | 9736 | |
16350 | 9737 | (F) You specified a signal name to the kill() function that was not |
16351 | 9738 | recognized. Say C<kill -l> in your shell to see the valid signal names |
16352 | 9739 | on your system. |
16353 | 9740 | |
16354 | 9741 | =end original |
16355 | 9742 | |
16356 | 9743 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
16357 | 9744 | お使いのシステムで使用可能なシグナル名を調べるには、 |
16358 | 9745 | シェル上で C<kill -l> などとしてください。 |
16359 | 9746 | |
16360 | 9747 | =item Unrecognized switch: -%s (-h will show valid options) |
16361 | 9748 | |
16362 | 9749 | =begin original |
16363 | 9750 | |
16364 | 9751 | (F) You specified an illegal option to Perl. Don't do that. (If you |
16365 | 9752 | think you didn't do that, check the #! line to see if it's supplying the |
16366 | 9753 | bad switch on your behalf.) |
16367 | 9754 | |
16368 | 9755 | =end original |
16369 | 9756 | |
16370 | 9757 | (F) Perl に間違ったオプションを指定しました。 |
16371 | 9758 | これを行なってはいけません。 |
16372 | 9759 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
16373 | 9760 | スイッチが指定されていないかをチェックしてください。) |
16374 | 9761 | |
16375 | 9762 | =item Unsuccessful %s on filename containing newline |
16376 | 9763 | |
16377 | 9764 | =begin original |
16378 | 9765 | |
16379 | 9766 | (W newline) A file operation was attempted on a filename, and that |
16380 | 9767 | operation failed, PROBABLY because the filename contained a newline, |
16381 | 9768 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
16382 | 9769 | |
16383 | 9770 | =end original |
16384 | 9771 | |
16385 | 9772 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
16386 | 失敗しました | |
9773 | 失敗しました。 | |
9774 | 「おそらく」ファイル名に改行文字がついていたからで、 | |
16387 | 9775 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
16388 | 9776 | L<perlfunc/chomp> を参照してください。 |
16389 | 9777 | |
16390 | 9778 | =item Unsupported directory function "%s" called |
16391 | 9779 | |
16392 | 9780 | =begin original |
16393 | 9781 | |
16394 | 9782 | (F) Your machine doesn't support opendir() and readdir(). |
16395 | 9783 | |
16396 | 9784 | =end original |
16397 | 9785 | |
16398 | 9786 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
16399 | 9787 | |
16400 | 9788 | =item Unsupported function %s |
16401 | 9789 | |
16402 | 9790 | =begin original |
16403 | 9791 | |
16404 | 9792 | (F) This machine doesn't implement the indicated function, apparently. |
16405 | 9793 | At least, Configure doesn't think so. |
16406 | 9794 | |
16407 | 9795 | =end original |
16408 | 9796 | |
16409 | 9797 | (F) このマシンでは、表示した関数は実装されていません。 |
16410 | 9798 | 少なくとも、Configure はそう判断しました。 |
16411 | 9799 | |
16412 | 9800 | =item Unsupported function fork |
16413 | 9801 | |
16414 | 9802 | =begin original |
16415 | 9803 | |
16416 | 9804 | (F) Your version of executable does not support forking. |
16417 | 9805 | |
16418 | 9806 | =end original |
16419 | 9807 | |
16420 | 9808 | (F) この実行ファイルは fork に対応していません。 |
16421 | 9809 | |
16422 | 9810 | =begin original |
16423 | 9811 | |
16424 | 9812 | Note that under some systems, like OS/2, there may be different flavors |
16425 | of Perl executables, some of which may support fork, some not. | |
9813 | of Perl executables, some of which may support fork, some not. Try | |
16426 | 9814 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
16427 | 9815 | |
16428 | 9816 | =end original |
16429 | 9817 | |
16430 | 9818 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
16431 | 9819 | fork に対応しているものとしていないものがあります。 |
16432 | 9820 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
16433 | 9821 | 変えてみてください。 |
16434 | 9822 | |
16435 | 9823 | =item Unsupported script encoding %s |
16436 | 9824 | |
16437 | 9825 | =begin original |
16438 | 9826 | |
16439 | 9827 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
16440 | 9828 | declares it to be in a Unicode encoding that Perl cannot read. |
16441 | 9829 | |
16442 | 9830 | =end original |
16443 | 9831 | |
16444 | 9832 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
16445 | 9833 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
16446 | 9834 | |
16447 | 9835 | =item Unsupported socket function "%s" called |
16448 | 9836 | |
16449 | 9837 | =begin original |
16450 | 9838 | |
16451 | 9839 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
16452 | 9840 | least that's what Configure thought. |
16453 | 9841 | |
16454 | 9842 | =end original |
16455 | 9843 | |
16456 | 9844 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
16457 | 9845 | 少なくとも Configure がそう判断しました。 |
16458 | 9846 | |
16459 | =item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/ | |
16460 | ||
16461 | =begin original | |
16462 | ||
16463 | (F) You used a pattern of the form C<(*...:...)> but did not terminate | |
16464 | the pattern with a C<)>. Fix the pattern and retry. | |
16465 | ||
16466 | =end original | |
16467 | ||
16468 | (F) C<(*...:...)> 形式のパターンを使いましたが、パターンが | |
16469 | C<)> で終端されていません。 | |
16470 | パターンを修正して再挑戦してください。 | |
16471 | ||
16472 | 9847 | =item Unterminated attribute list |
16473 | 9848 | |
16474 | 9849 | =begin original |
16475 | 9850 | |
16476 | 9851 | (F) The lexer found something other than a simple identifier at the |
16477 | 9852 | start of an attribute, and it wasn't a semicolon or the start of a |
16478 | 9853 | block. Perhaps you terminated the parameter list of the previous |
16479 | 9854 | attribute too soon. See L<attributes>. |
16480 | 9855 | |
16481 | 9856 | =end original |
16482 | 9857 | |
16483 | 9858 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
16484 | 9859 | 開始でないものを発見しました。 |
16485 | 9860 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
16486 | 9861 | L<attributes> を参照してください。 |
16487 | 9862 | |
16488 | 9863 | =item Unterminated attribute parameter in attribute list |
16489 | 9864 | |
16490 | 9865 | =begin original |
16491 | 9866 | |
16492 | 9867 | (F) The lexer saw an opening (left) parenthesis character while parsing |
16493 | 9868 | an attribute list, but the matching closing (right) parenthesis |
16494 | 9869 | character was not found. You may need to add (or remove) a backslash |
16495 | 9870 | character to get your parentheses to balance. See L<attributes>. |
16496 | 9871 | |
16497 | 9872 | =end original |
16498 | 9873 | |
16499 | 9874 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
16500 | 9875 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
16501 | 9876 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
16502 | 9877 | 必要があるでしょう。 |
16503 | 9878 | L<attributes> を参照してください。 |
16504 | 9879 | |
16505 | 9880 | =item Unterminated compressed integer |
16506 | 9881 | |
16507 | 9882 | =begin original |
16508 | 9883 | |
16509 | 9884 | (F) An argument to unpack("w",...) was incompatible with the BER |
16510 | 9885 | compressed integer format and could not be converted to an integer. |
16511 | 9886 | See L<perlfunc/pack>. |
16512 | 9887 | |
16513 | 9888 | =end original |
16514 | 9889 | |
16515 | 9890 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
16516 | 9891 | 整数に変換できませんでした。 |
16517 | 9892 | L<perlfunc/pack> を参照してください。 |
16518 | 9893 | |
16519 | =item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/ | |
16520 | ||
16521 | =begin original | |
16522 | ||
16523 | (F) You used a pattern of the form C<(*...)> but did not terminate | |
16524 | the pattern with a C<)>. Fix the pattern and retry. | |
16525 | ||
16526 | =end original | |
16527 | ||
16528 | (F) C<(*...)> 形式のパターンを使いましたが、パターンが | |
16529 | C<)> で終端されていません。 | |
16530 | パターンを修正して再挑戦してください。 | |
16531 | ||
16532 | =item Unterminated delimiter for here document | |
16533 | ||
16534 | =begin original | |
16535 | ||
16536 | (F) This message occurs when a here document label has an initial | |
16537 | quotation mark but the final quotation mark is missing. Perhaps | |
16538 | you wrote: | |
16539 | ||
16540 | =end original | |
16541 | ||
16542 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
16543 | 末尾のクォートがありません。 | |
16544 | おそらく以下のように書いたのでしょう: | |
16545 | ||
16546 | <<"foo | |
16547 | ||
16548 | =begin original | |
16549 | ||
16550 | instead of: | |
16551 | ||
16552 | =end original | |
16553 | ||
16554 | 次のように書いてください: | |
16555 | ||
16556 | <<"foo" | |
16557 | ||
16558 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16559 | ||
16560 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16561 | ||
16562 | =begin original | |
16563 | ||
16564 | (F) In a regular expression, you had a C<\g> that wasn't followed by a | |
16565 | proper group reference. In the case of C<\g{>, the closing brace is | |
16566 | missing; otherwise the C<\g> must be followed by an integer. Fix the | |
16567 | pattern and retry. | |
16568 | ||
16569 | =end original | |
16570 | ||
16571 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 | |
16572 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が | |
16573 | 引き続かなければ鳴りません。 | |
16574 | パターンを修正して再挑戦してください。 | |
16575 | ||
16576 | 9894 | =item Unterminated <> operator |
16577 | 9895 | |
16578 | 9896 | =begin original |
16579 | 9897 | |
16580 | 9898 | (F) The lexer saw a left angle bracket in a place where it was expecting |
16581 | 9899 | a term, so it's looking for the corresponding right angle bracket, and |
16582 | 9900 | not finding it. Chances are you left some needed parentheses out |
16583 | 9901 | earlier in the line, and you really meant a "less than". |
16584 | 9902 | |
16585 | 9903 | =end original |
16586 | 9904 | |
16587 | (F) 項が必要とされるところで、開き山 | |
9905 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
16588 | 対応する閉じ山 | |
9906 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
16589 | 可能性としては、必要な | |
9907 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
16590 | 9908 | 表したかった場合が考えられます。 |
16591 | 9909 | |
16592 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in | |
16593 | m/%s/ | |
16594 | ||
16595 | =begin original | |
16596 | ||
16597 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate | |
16598 | the pattern with a C<)>. Fix the pattern and retry. | |
16599 | ||
16600 | =end original | |
16601 | ||
16602 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で | |
16603 | 終わっていません。 | |
16604 | パターンを修正して再挑戦してください。 | |
16605 | ||
16606 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16607 | ||
16608 | =begin original | |
16609 | ||
16610 | (F) You used a pattern of the form C<(*VERB)> but did not terminate | |
16611 | the pattern with a C<)>. Fix the pattern and retry. | |
16612 | ||
16613 | =end original | |
16614 | ||
16615 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で | |
16616 | 終わっていません。 | |
16617 | パターンを修正して再挑戦してください。 | |
16618 | ||
16619 | 9910 | =item untie attempted while %d inner references still exist |
16620 | 9911 | |
16621 | 9912 | =begin original |
16622 | 9913 | |
16623 | 9914 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
16624 | 9915 | still valid when C<untie> was called. |
16625 | 9916 | |
16626 | 9917 | =end original |
16627 | 9918 | |
16628 | 9919 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
16629 | 9920 | C<untie> が呼び出されたときにまだ有効でした。 |
16630 | 9921 | |
16631 | 9922 | =item Usage: POSIX::%s(%s) |
16632 | 9923 | |
16633 | 9924 | =begin original |
16634 | 9925 | |
16635 | 9926 | (F) You called a POSIX function with incorrect arguments. |
16636 | 9927 | See L<POSIX/FUNCTIONS> for more information. |
16637 | 9928 | |
16638 | 9929 | =end original |
16639 | 9930 | |
16640 | 9931 | (F) POSIX 関数を間違った引数で呼び出しました。 |
16641 | 9932 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 |
16642 | 9933 | |
16643 | 9934 | =item Usage: Win32::%s(%s) |
16644 | 9935 | |
16645 | 9936 | =begin original |
16646 | 9937 | |
16647 | 9938 | (F) You called a Win32 function with incorrect arguments. |
16648 | 9939 | See L<Win32> for more information. |
16649 | 9940 | |
16650 | 9941 | =end original |
16651 | 9942 | |
16652 | 9943 | (F) Win32 関数を間違った引数で呼び出しました。 |
16653 | 9944 | 更なる情報については L<Win32> を参照してください。 |
16654 | 9945 | |
16655 | =item | |
9946 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in m/%s/ | |
16656 | 9947 | |
16657 | 9948 | =begin original |
16658 | 9949 | |
16659 | (W syntax) You used C<$[> in a comparison, such as: | |
16660 | ||
16661 | =end original | |
16662 | ||
16663 | (W syntax) 以下のように、比較で C<$[> を使いました: | |
16664 | ||
16665 | if ($[ > 5.006) { | |
16666 | ... | |
16667 | } | |
16668 | ||
16669 | =begin original | |
16670 | ||
16671 | You probably meant to use C<$]> instead. C<$[> is the base for indexing | |
16672 | arrays. C<$]> is the Perl version number in decimal. | |
16673 | ||
16674 | =end original | |
16675 | ||
16676 | おそらく C<$]> を使いたかったのでしょう。 | |
16677 | C<$[> は配列の基数です。 | |
16678 | C<$]> は Perl のバージョン番号の 10 進数です。 | |
16679 | ||
16680 | =item Use "%s" instead of "%s" | |
16681 | ||
16682 | =begin original | |
16683 | ||
16684 | (F) The second listed construct is no longer legal. Use the first one | |
16685 | instead. | |
16686 | ||
16687 | =end original | |
16688 | ||
16689 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 | |
16690 | 代わりに 1 番目のものを使ってください。 | |
16691 | ||
16692 | =item Useless assignment to a temporary | |
16693 | ||
16694 | =begin original | |
16695 | ||
16696 | (W misc) You assigned to an lvalue subroutine, but what | |
16697 | the subroutine returned was a temporary scalar about to | |
16698 | be discarded, so the assignment had no effect. | |
16699 | ||
16700 | =end original | |
16701 | ||
16702 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは | |
16703 | 捨てられようとする一時的なスカラなので、代入は向こうです。 | |
16704 | ||
16705 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
16706 | S<<-- HERE> in m/%s/ | |
16707 | ||
16708 | =begin original | |
16709 | ||
16710 | 9950 | (W regexp) You have used an internal modifier such as (?-o) that has no |
16711 | 9951 | meaning unless removed from the entire regexp: |
16712 | 9952 | |
16713 | 9953 | =end original |
16714 | 9954 | |
16715 | 9955 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ |
16716 | 9956 | 意味がありません: |
16717 | 9957 | |
16718 | 9958 | if ($string =~ /(?-o)$pattern/o) { ... } |
16719 | 9959 | |
16720 | 9960 | =begin original |
16721 | 9961 | |
16722 | 9962 | must be written as |
16723 | 9963 | |
16724 | 9964 | =end original |
16725 | 9965 | |
16726 | こ | |
9966 | このように書かなければなりません: | |
16727 | 9967 | |
16728 | 9968 | if ($string =~ /$pattern/) { ... } |
16729 | 9969 | |
16730 | 9970 | =begin original |
16731 | 9971 | |
16732 | The | |
9972 | The <-- HERE shows in the regular expression about | |
16733 | discovered. | |
9973 | where the problem was discovered. See L<perlre>. | |
16734 | 9974 | |
16735 | 9975 | =end original |
16736 | 9976 | |
16737 | ||
9977 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16738 | 9978 | L<perlre> を参照してください。 |
16739 | 9979 | |
16740 | =item Useless | |
9980 | =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/ | |
16741 | 9981 | |
16742 | 9982 | =begin original |
16743 | 9983 | |
16744 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, | |
16745 | but in fact the local() currently has no effect. This may change at | |
16746 | some point in the future, but in the meantime such code is discouraged. | |
16747 | ||
16748 | =end original | |
16749 | ||
16750 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 | |
16751 | 実際のところ local() は現在のところ何の効果もありません。 | |
16752 | これは将来変更されるかもしれませんが、今のところはこのようなコードは | |
16753 | 勧められません。 | |
16754 | ||
16755 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in | |
16756 | m/%s/ | |
16757 | ||
16758 | =begin original | |
16759 | ||
16760 | 9984 | (W regexp) You have used an internal modifier such as (?o) that has no |
16761 | 9985 | meaning unless applied to the entire regexp: |
16762 | 9986 | |
16763 | 9987 | =end original |
16764 | 9988 | |
16765 | 9989 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ |
16766 | 9990 | 意味がありません: |
16767 | 9991 | |
16768 | 9992 | if ($string =~ /(?o)$pattern/) { ... } |
16769 | 9993 | |
16770 | 9994 | =begin original |
16771 | 9995 | |
16772 | 9996 | must be written as |
16773 | 9997 | |
16774 | 9998 | =end original |
16775 | 9999 | |
16776 | 10000 | これは以下のように書かなければなりません: |
16777 | 10001 | |
16778 | 10002 | if ($string =~ /$pattern/o) { ... } |
16779 | 10003 | |
16780 | 10004 | =begin original |
16781 | 10005 | |
16782 | The | |
10006 | The <-- HERE shows in the regular expression about | |
16783 | discovered. | |
10007 | where the problem was discovered. See L<perlre>. | |
16784 | 10008 | |
16785 | 10009 | =end original |
16786 | 10010 | |
16787 | ||
10011 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16788 | 10012 | L<perlre> を参照してください。 |
16789 | 10013 | |
16790 | =item Useless use of attribute "const" | |
16791 | ||
16792 | =begin original | |
16793 | ||
16794 | (W misc) The C<const> attribute has no effect except | |
16795 | on anonymous closure prototypes. You applied it to | |
16796 | a subroutine via L<attributes.pm|attributes>. This is only useful | |
16797 | inside an attribute handler for an anonymous subroutine. | |
16798 | ||
16799 | =end original | |
16800 | ||
16801 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
16802 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 | |
16803 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 | |
16804 | ||
16805 | =item Useless use of /d modifier in transliteration operator | |
16806 | ||
16807 | =begin original | |
16808 | ||
16809 | (W misc) You have used the /d modifier where the searchlist has the | |
16810 | same length as the replacelist. See L<perlop> for more information | |
16811 | about the /d modifier. | |
16812 | ||
16813 | =end original | |
16814 | ||
16815 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 | |
16816 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 | |
16817 | ||
16818 | =item Useless use of \E | |
16819 | ||
16820 | =begin original | |
16821 | ||
16822 | (W misc) You have a \E in a double-quotish string without a C<\U>, | |
16823 | C<\L> or C<\Q> preceding it. | |
16824 | ||
16825 | =end original | |
16826 | ||
16827 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく | |
16828 | \E を書きました。 | |
16829 | ||
16830 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ | |
16831 | ||
16832 | =begin original | |
16833 | ||
16834 | (W regexp) You specified something like these: | |
16835 | ||
16836 | =end original | |
16837 | ||
16838 | (W regexp) 次のようなものを指定しました: | |
16839 | ||
16840 | qr/a{3}?/ | |
16841 | qr/b{1,1}+/ | |
16842 | ||
16843 | =begin original | |
16844 | ||
16845 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to | |
16846 | match more or fewer when there is a choice, and by specifying to match | |
16847 | exactly a given numer, there is no room left for a choice. | |
16848 | ||
16849 | =end original | |
16850 | ||
16851 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に | |
16852 | より多くまたは少なく変更します。 | |
16853 | そして指定された数に正確にマッチングすることを指定されているので、 | |
16854 | 選択の余地はありません。 | |
16855 | ||
16856 | 10014 | =item Useless use of %s in void context |
16857 | 10015 | |
16858 | 10016 | =begin original |
16859 | 10017 | |
16860 | 10018 | (W void) You did something without a side effect in a context that does |
16861 | 10019 | nothing with the return value, such as a statement that doesn't return a |
16862 | 10020 | value from a block, or the left side of a scalar comma operator. Very |
16863 | 10021 | often this points not to stupidity on your part, but a failure of Perl |
16864 | 10022 | to parse your program the way you thought it would. For example, you'd |
16865 | 10023 | get this if you mixed up your C precedence with Python precedence and |
16866 | 10024 | said |
16867 | 10025 | |
16868 | 10026 | =end original |
16869 | 10027 | |
16870 | 10028 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
16871 | 10029 | 返却値の無い文脈で、副作用のないことを行ないました。 |
16872 | 10030 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
16873 | 10031 | 意向を汲み取った解釈ができないことで起こります。 |
16874 | 10032 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
16875 | 10033 | 以下のようにした場合です: |
16876 | 10034 | |
16877 | 10035 | $one, $two = 1, 2; |
16878 | 10036 | |
16879 | 10037 | =begin original |
16880 | 10038 | |
16881 | 10039 | when you meant to say |
16882 | 10040 | |
16883 | 10041 | =end original |
16884 | 10042 | |
16885 | 10043 | 以下のようにするべきです。 |
16886 | 10044 | |
16887 | 10045 | ($one, $two) = (1, 2); |
16888 | 10046 | |
16889 | 10047 | =begin original |
16890 | 10048 | |
16891 | 10049 | Another common error is to use ordinary parentheses to construct a list |
16892 | 10050 | reference when you should be using square or curly brackets, for |
16893 | 10051 | example, if you say |
16894 | 10052 | |
16895 | 10053 | =end original |
16896 | 10054 | |
16897 | その他の良くあるエラーとしては、リストを作るのに中 | |
10055 | その他の良くあるエラーとしては、リストを作るのに中括弧や | |
16898 | 使うべきところで普通の | |
10056 | 大括弧を使うべきところで普通の括弧を使うことです。 | |
16899 | 場合です: | |
10057 | 例えば、以下のように書いた場合です: | |
16900 | 10058 | |
16901 | 10059 | $array = (1,2); |
16902 | 10060 | |
16903 | 10061 | =begin original |
16904 | 10062 | |
16905 | 10063 | when you should have said |
16906 | 10064 | |
16907 | 10065 | =end original |
16908 | 10066 | |
16909 | 10067 | 以下のように書くべきです: |
16910 | 10068 | |
16911 | 10069 | $array = [1,2]; |
16912 | 10070 | |
16913 | 10071 | =begin original |
16914 | 10072 | |
16915 | 10073 | The square brackets explicitly turn a list value into a scalar value, |
16916 | 10074 | while parentheses do not. So when a parenthesized list is evaluated in |
16917 | 10075 | a scalar context, the comma is treated like C's comma operator, which |
16918 | 10076 | throws away the left argument, which is not what you want. See |
16919 | 10077 | L<perlref> for more on this. |
16920 | 10078 | |
16921 | 10079 | =end original |
16922 | 10080 | |
16923 | 10081 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
16924 | 10082 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
16925 | 10083 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
16926 | 10084 | これは望んでいることではないでしょう。 |
16927 | 10085 | これに関するさらなる情報については L<perlref> を参照してください。 |
16928 | 10086 | |
16929 | 10087 | =begin original |
16930 | 10088 | |
16931 | 10089 | This warning will not be issued for numerical constants equal to 0 or 1 |
16932 | 10090 | since they are often used in statements like |
16933 | 10091 | |
16934 | 10092 | =end original |
16935 | 10093 | |
16936 | 10094 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 |
16937 | 10095 | しばしば以下のような文で使われるからです: |
16938 | 10096 | |
16939 | 10097 | 1 while sub_with_side_effects(); |
16940 | 10098 | |
16941 | 10099 | =begin original |
16942 | 10100 | |
16943 | 10101 | String constants that would normally evaluate to 0 or 1 are warned |
16944 | 10102 | about. |
16945 | 10103 | |
16946 | 10104 | =end original |
16947 | 10105 | |
16948 | 10106 | 通常 0 か 1 に評価される文字列定数は警告されます。 |
16949 | 10107 | |
16950 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ | |
16951 | ||
16952 | =begin original | |
16953 | ||
16954 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do | |
16955 | so is futile. | |
16956 | ||
16957 | =end original | |
16958 | ||
16959 | (W regexp) | |
16960 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
16961 | そうしようとしても無効です。 | |
16962 | ||
16963 | 10108 | =item Useless use of "re" pragma |
16964 | 10109 | |
16965 | 10110 | =begin original |
16966 | 10111 | |
16967 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
10112 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
16968 | 10113 | |
16969 | 10114 | =end original |
16970 | 10115 | |
16971 | 10116 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
16972 | 10117 | |
16973 | 10118 | =item Useless use of sort in scalar context |
16974 | 10119 | |
16975 | 10120 | =begin original |
16976 | 10121 | |
16977 | 10122 | (W void) You used sort in scalar context, as in : |
16978 | 10123 | |
16979 | 10124 | =end original |
16980 | 10125 | |
16981 | 10126 | (W void) こんな風に、ソートをスカラコンテキストで使いました: |
16982 | 10127 | |
16983 | 10128 | my $x = sort @y; |
16984 | 10129 | |
16985 | 10130 | =begin original |
16986 | 10131 | |
16987 | 10132 | This is not very useful, and perl currently optimizes this away. |
16988 | 10133 | |
16989 | 10134 | =end original |
16990 | 10135 | |
16991 | 10136 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 |
16992 | 10137 | |
16993 | 10138 | =item Useless use of %s with no values |
16994 | 10139 | |
16995 | 10140 | =begin original |
16996 | 10141 | |
16997 | 10142 | (W syntax) You used the push() or unshift() function with no arguments |
16998 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. | |
10143 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
16999 | usually have any effect on the array, so is completely useless. | |
10144 | usually have any effect on the array, so is completely useless. It's | |
17000 | 10145 | possible in principle that push(@tied_array) could have some effect |
17001 | if the array is tied to a class which implements a PUSH method. | |
10146 | if the array is tied to a class which implements a PUSH method. If so, | |
17002 | 10147 | you can write it as C<push(@tied_array,())> to avoid this warning. |
17003 | 10148 | |
17004 | 10149 | =end original |
17005 | 10150 | |
17006 | 10151 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や |
17007 | 10152 | unshift() 関数を、配列以外の引数なしで使いました。 |
17008 | 10153 | これは普通は配列に何の影響も与えないので、完全に無意味です。 |
17009 | 10154 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては |
17010 | 10155 | push(@tied_array) が何らかの効果を持つ可能性はあります。 |
17011 | 10156 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を |
17012 | 10157 | 回避できます。 |
17013 | 10158 | |
17014 | 10159 | =item "use" not allowed in expression |
17015 | 10160 | |
17016 | 10161 | =begin original |
17017 | 10162 | |
17018 | 10163 | (F) The "use" keyword is recognized and executed at compile time, and |
17019 | 10164 | returns no useful value. See L<perlmod>. |
17020 | 10165 | |
17021 | 10166 | =end original |
17022 | 10167 | |
17023 | 10168 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
17024 | 10169 | 意味のある値を返しません。 |
17025 | 10170 | L<perlmod> を参照してください。 |
17026 | 10171 | |
17027 | =item Use of bare << to mean <<"" is | |
10172 | =item Use of bare << to mean <<"" is deprecated | |
17028 | 10173 | |
17029 | 10174 | =begin original |
17030 | 10175 | |
17031 | ( | |
10176 | (D deprecated) You are now encouraged to use the explicitly quoted form | |
17032 | to use an empty line as the terminator of the here-document. | |
10177 | if you wish to use an empty line as the terminator of the here-document. | |
17033 | 10178 | |
17034 | 10179 | =end original |
17035 | 10180 | |
17036 | ( | |
10181 | (D deprecated) ヒアドキュメントの終端子として空行を使いたいときには、 | |
17037 | クォートされた形を使うこと | |
10182 | 明示的にクォートされた形を使うことを推奨しています。 | |
17038 | 10183 | |
10184 | =item Use of chdir('') or chdir(undef) as chdir() deprecated | |
10185 | ||
17039 | 10186 | =begin original |
17040 | 10187 | |
17041 | ||
10188 | (D deprecated) chdir() with no arguments is documented to change to | |
17042 | ||
10189 | $ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this | |
10190 | behavior, but that has been deprecated. In future versions they | |
10191 | will simply fail. | |
17043 | 10192 | |
17044 | 10193 | =end original |
17045 | 10194 | |
17046 | ||
10195 | (D deprecated) 引数なしの chdir() は、$ENV{HOME} か $ENV{LOGDIR} に | |
17047 | ||
10196 | 変更すると文書化されています。 | |
10197 | chdir(undef) と chdir('') も同じふるまいをしますが、これは非推奨です。 | |
10198 | 将来のバージョンでは単に失敗するでしょう。 | |
17048 | 10199 | |
10200 | =begin original | |
10201 | ||
10202 | Be careful to check that what you pass to chdir() is defined and not | |
10203 | blank, else you might find yourself in your home directory. | |
10204 | ||
10205 | =end original | |
10206 | ||
10207 | chdir() に渡すものが定義されていて、空白ではないことをチェックするように | |
10208 | 注意してください; さもないとホームディレクトリに | |
10209 | 移動してしまうかもしれません。 | |
10210 | ||
17049 | 10211 | =item Use of /c modifier is meaningless in s/// |
17050 | 10212 | |
17051 | 10213 | =begin original |
17052 | 10214 | |
17053 | 10215 | (W regexp) You used the /c modifier in a substitution. The /c |
17054 | 10216 | modifier is not presently meaningful in substitutions. |
17055 | 10217 | |
17056 | 10218 | =end original |
17057 | 10219 | |
17058 | 10220 | (W regexp) 置換で /c 修飾子を使いました。 |
17059 | 10221 | /c は置換では現在のところ無意味です。 |
17060 | 10222 | |
17061 | 10223 | =item Use of /c modifier is meaningless without /g |
17062 | 10224 | |
17063 | 10225 | =begin original |
17064 | 10226 | |
17065 | 10227 | (W regexp) You used the /c modifier with a regex operand, but didn't |
17066 | 10228 | use the /g modifier. Currently, /c is meaningful only when /g is |
17067 | 10229 | used. (This may change in the future.) |
17068 | 10230 | |
17069 | 10231 | =end original |
17070 | 10232 | |
17071 | 10233 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は |
17072 | 10234 | 使いませんでした。 |
17073 | 10235 | 現在のところ、/c は /g が使われたときにのみ有効です。 |
17074 | 10236 | (これは将来変更されるかもしれません。) |
17075 | 10237 | |
17076 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
17077 | ||
17078 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
17079 | in regex; marked by <-- HERE in m/%s/ | |
17080 | ||
17081 | =begin original | |
17082 | ||
17083 | (F) You used a code point that is not allowed, because it is too large. | |
17084 | Unicode only allows code points up to 0x10FFFF, but Perl allows much | |
17085 | larger ones. Earlier versions of Perl allowed code points above IV_MAX | |
17086 | (0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms), | |
17087 | however, this could possibly break the perl interpreter in some constructs, | |
17088 | including causing it to hang in a few cases. | |
17089 | ||
17090 | =end original | |
17091 | ||
17092 | (F) 大きすぎるので許されない符号位置を使いました。 | |
17093 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 | |
17094 | Perl は遙かに大きいものを許します。 | |
17095 | 以前のバージョンの Perl は | |
17096 | IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは | |
17097 | 0x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、 | |
17098 | これは一部の構文で perl インタプリタを壊すことがあり、 | |
17099 | 場合によってはハングアップすることがありました。 | |
17100 | ||
17101 | =begin original | |
17102 | ||
17103 | If your code is to run on various platforms, keep in mind that the upper | |
17104 | limit depends on the platform. It is much larger on 64-bit word sizes | |
17105 | than 32-bit ones. | |
17106 | ||
17107 | =end original | |
17108 | ||
17109 | コードが様々なプラットフォームで実行するためのものなら、 | |
17110 | 上限がプラットフォームに依存していることを心に留めておいてください。 | |
17111 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 | |
17112 | ||
17113 | =begin original | |
17114 | ||
17115 | The use of out of range code points was deprecated in Perl 5.24, and | |
17116 | became a fatal error in Perl 5.28. | |
17117 | ||
17118 | =end original | |
17119 | ||
17120 | 範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、 | |
17121 | Perl 5.28 で致命的エラーになりました。 | |
17122 | ||
17123 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
17124 | ||
17125 | =begin original | |
17126 | ||
17127 | (S internal) The behavior of C<each()> after insertion is undefined; | |
17128 | it may skip items, or visit items more than once. Consider using | |
17129 | C<keys()> instead of C<each()>. | |
17130 | ||
17131 | =end original | |
17132 | ||
17133 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを | |
17134 | 読み飛ばしたり、複数回読んだりします。 | |
17135 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
17136 | ||
17137 | =item Use of := for an empty attribute list is not allowed | |
17138 | ||
17139 | =begin original | |
17140 | ||
17141 | (F) The construction C<my $x := 42> used to parse as equivalent to | |
17142 | C<my $x : = 42> (applying an empty attribute list to C<$x>). | |
17143 | This construct was deprecated in 5.12.0, and has now been made a syntax | |
17144 | error, so C<:=> can be reclaimed as a new operator in the future. | |
17145 | ||
17146 | =end original | |
17147 | ||
17148 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました | |
17149 | (C<$x> に空の属性リストを適用する)。 | |
17150 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 | |
17151 | C<:=> は将来新しい演算子として再利用できます。 | |
17152 | ||
17153 | =begin original | |
17154 | ||
17155 | If you need an empty attribute list, for example in a code generator, add | |
17156 | a space before the C<=>. | |
17157 | ||
17158 | =end original | |
17159 | ||
17160 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に | |
17161 | スペースを加えてください。 | |
17162 | ||
17163 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
17164 | ||
17165 | =begin original | |
17166 | ||
17167 | (W locale) You are matching a regular expression using locale rules, | |
17168 | and the specified construct was encountered. This construct is only | |
17169 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
17170 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
17171 | the results are likely to be wrong. | |
17172 | ||
17173 | =end original | |
17174 | ||
17175 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
17176 | 指定した構文が出現しました。 | |
17177 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
17178 | これは意味がありません。 | |
17179 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
17180 | 結果はおそらく間違ったものです。 | |
17181 | ||
17182 | 10238 | =item Use of freed value in iteration |
17183 | 10239 | |
17184 | 10240 | =begin original |
17185 | 10241 | |
17186 | 10242 | (F) Perhaps you modified the iterated array within the loop? |
17187 | 10243 | This error is typically caused by code like the following: |
17188 | 10244 | |
17189 | 10245 | =end original |
17190 | 10246 | |
17191 | 10247 | (F) おそらくループの中で反復される配列を変更したのでは? |
17192 | 10248 | このエラーは典型的には以下のようなコードで発生します: |
17193 | 10249 | |
17194 | 10250 | @a = (3,4); |
17195 | 10251 | @a = () for (1,2,@a); |
17196 | 10252 | |
17197 | 10253 | =begin original |
17198 | 10254 | |
17199 | 10255 | You are not supposed to modify arrays while they are being iterated over. |
17200 | 10256 | For speed and efficiency reasons, Perl internally does not do full |
17201 | 10257 | reference-counting of iterated items, hence deleting such an item in the |
17202 | 10258 | middle of an iteration causes Perl to see a freed value. |
17203 | 10259 | |
17204 | 10260 | =end original |
17205 | 10261 | |
17206 | 10262 | 反復中の配列は変更してはいけないことになっています。 |
17207 | 10263 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを |
17208 | 10264 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は |
17209 | 10265 | 解放された値を見ることになります。 |
17210 | 10266 | |
10267 | =item Use of *glob{FILEHANDLE} is deprecated | |
10268 | ||
10269 | =begin original | |
10270 | ||
10271 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form | |
10272 | to access the filehandle slot within a typeglob. | |
10273 | ||
10274 | =end original | |
10275 | ||
10276 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 | |
10277 | より短い *glob{IO} の形を使うことを推奨されています。 | |
10278 | ||
17211 | 10279 | =item Use of /g modifier is meaningless in split |
17212 | 10280 | |
17213 | 10281 | =begin original |
17214 | 10282 | |
17215 | 10283 | (W regexp) You used the /g modifier on the pattern for a C<split> |
17216 | 10284 | operator. Since C<split> always tries to match the pattern |
17217 | 10285 | repeatedly, the C</g> has no effect. |
17218 | 10286 | |
17219 | 10287 | =end original |
17220 | 10288 | |
17221 | 10289 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 |
17222 | 10290 | C<split> は常にパターンを繰り返しマッチングしようとするので、 |
17223 | 10291 | C</g> は効果がありません。 |
17224 | 10292 | |
17225 | =item Use of | |
10293 | =item Use of implicit split to @_ is deprecated | |
17226 | 10294 | |
17227 | 10295 | =begin original |
17228 | 10296 | |
17229 | (D deprecated) | |
10297 | (D deprecated) It makes a lot of work for the compiler when you clobber | |
17230 | s | |
10298 | a subroutine's argument list, so it's better if you assign the results | |
10299 | of a split() explicitly to an array (or list). | |
17231 | 10300 | |
17232 | 10301 | =end original |
17233 | 10302 | |
17234 | (D deprecated) | |
10303 | (D deprecated) サブルーティンの引数を壊すとコンパイラに多大な労力を | |
17235 | ||
10304 | かけることになるので、split() の結果は明示的に配列 (やリスト) に | |
10305 | 代入を行なうようにしてください。 | |
17236 | 10306 | |
10307 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated | |
10308 | ||
17237 | 10309 | =begin original |
17238 | 10310 | |
17239 | ||
10311 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> subroutines | |
10312 | are looked up as methods (using the C<@ISA> hierarchy) even when the | |
10313 | subroutines to be autoloaded were called as plain functions (e.g. | |
10314 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< | |
10315 | $obj->bar() >>). | |
17240 | 10316 | |
17241 | 10317 | =end original |
17242 | 10318 | |
17243 | ||
10319 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
10320 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
10321 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
10322 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
17244 | 10323 | |
17245 | =item Use of '%s' in \p{} or \P{} is deprecated because: %s | |
17246 | ||
17247 | 10324 | =begin original |
17248 | 10325 | |
17249 | ||
10326 | This bug will be rectified in future by using method lookup only for | |
17250 | e | |
10327 | methods' C<AUTOLOAD>s. However, there is a significant base of existing | |
17251 | ||
10328 | code that may be using the old behavior. So, as an interim step, Perl | |
10329 | currently issues an optional warning when non-methods use inherited | |
10330 | C<AUTOLOAD>s. | |
17252 | 10331 | |
17253 | 10332 | =end original |
17254 | 10333 | |
17255 | ||
10334 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって | |
17256 | ||
10335 | 将来修正される予定です。 | |
17257 | ||
10336 | しかし、現在のコードの大部分は古い振る舞いを使っています。 | |
10337 | それで、暫定的なステップとして、Perl は現在のところは、 | |
10338 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
10339 | 発生させます。 | |
17258 | 10340 | |
17259 | =item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed | |
17260 | ||
17261 | 10341 | =begin original |
17262 | 10342 | |
17263 | ||
10343 | The simple rule is: Inheritance will not work when autoloading | |
17264 | methods | |
10344 | non-methods. The simple fix for old code is: In any module that used | |
17265 | ||
10345 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class | |
17266 | me | |
10346 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during | |
10347 | startup. | |
17267 | 10348 | |
17268 | 10349 | =end original |
17269 | 10350 | |
17270 | ||
10351 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 | |
17271 | ||
10352 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前のベースクラスから | |
17272 | ||
10353 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 | |
17273 | ||
10354 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 | |
17274 | 10355 | |
17275 | 10356 | =begin original |
17276 | 10357 | |
17277 | ||
10358 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> | |
10359 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to | |
10360 | C<use AutoLoader 'AUTOLOAD';>. | |
17278 | 10361 | |
17279 | 10362 | =end original |
17280 | 10363 | |
17281 | ||
10364 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 | |
10365 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を | |
10366 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 | |
17282 | 10367 | |
17283 | 10368 | =item Use of %s in printf format not supported |
17284 | 10369 | |
17285 | 10370 | =begin original |
17286 | 10371 | |
17287 | 10372 | (F) You attempted to use a feature of printf that is accessible from |
17288 | 10373 | only C. This usually means there's a better way to do it in Perl. |
17289 | 10374 | |
17290 | 10375 | =end original |
17291 | 10376 | |
17292 | 10377 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
17293 | 10378 | これは普通 Perl で行うより良い方法があります。 |
17294 | 10379 | |
17295 | =item Use of | |
10380 | =item Use of $* is deprecated | |
17296 | subpatterns in regex; marked by S<<-- HERE> in m/%s/ | |
17297 | 10381 | |
17298 | 10382 | =begin original |
17299 | 10383 | |
17300 | ( | |
10384 | (D deprecated) This variable magically turned on multi-line pattern | |
17301 | th | |
10385 | matching, both for you and for any luckless subroutine that you happen | |
17302 | ||
10386 | to call. You should use the new C<//m> and C<//s> modifiers now to do | |
17303 | ||
10387 | that without the dangerous action-at-a-distance effects of C<$*>. | |
17304 | See L<perlunicode/Wildcards in Property Values>. | |
17305 | 10388 | |
17306 | 10389 | =end original |
17307 | 10390 | |
17308 | ( | |
10391 | (D) この変数は、自分のスクリプトでも、たまたま呼んだ先のサブルーティンでも、 | |
17309 | ||
10392 | 複数行のパターンマッチを有効にしてしまいます。 | |
17310 | ||
10393 | C<$*> の離れたところに与える危険な影響を避けてこれを行なうために、 | |
17311 | ||
10394 | 新しい C<//m> 修飾子と C<//s> 修飾子を使ってください。 | |
17312 | 問題となっている構文を使わないように部分パターンを書き換えてください。 | |
17313 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
17314 | 10395 | |
17315 | =item Use of | |
10396 | =item Use of $# is deprecated | |
17316 | 10397 | |
17317 | 10398 | =begin original |
17318 | 10399 | |
10400 | (D deprecated) This was an ill-advised attempt to emulate a poorly | |
10401 | defined B<awk> feature. Use an explicit printf() or sprintf() instead. | |
10402 | ||
10403 | =end original | |
10404 | ||
10405 | (D deprecated) これは、貧相な awk の機能をエミュレートしようとする | |
10406 | ものでした。 代わりに、明示的に printf() や sprintf() を使ってください。 | |
10407 | ||
10408 | =item Use of %s is deprecated | |
10409 | ||
10410 | =begin original | |
10411 | ||
10412 | (D deprecated) The construct indicated is no longer recommended for use, | |
10413 | generally because there's a better way to do it, and also because the | |
10414 | old way has bad side effects. | |
10415 | ||
10416 | =end original | |
10417 | ||
10418 | (D deprecated) 示した構文は、もはや使うことが推奨されません。 | |
10419 | 一般にはもっと良い方法があるからであり、また古い方法は、悪い副作用が | |
10420 | あるからです。 | |
10421 | ||
10422 | =item Use of -l on filehandle %s | |
10423 | ||
10424 | =begin original | |
10425 | ||
17319 | 10426 | (W io) A filehandle represents an opened file, and when you opened the file |
17320 | 10427 | it already went past any symlink you are presumably trying to look for. |
17321 | 10428 | The operation returned C<undef>. Use a filename instead. |
17322 | 10429 | |
17323 | 10430 | =end original |
17324 | 10431 | |
17325 | 10432 | (F) ファイルはオープンされたファイルを表わすものであり、 |
17326 | 10433 | ファイルをオープンしたときには、探しているシンボリックリンクは、 |
17327 | 10434 | 既に通り過ぎた後です。 |
17328 | 10435 | この操作は C<undef> を返します。 |
17329 | 10436 | 代わりにファイル名を使ってください。 |
17330 | 10437 | |
10438 | =item Use of "package" with no arguments is deprecated | |
10439 | ||
10440 | =begin original | |
10441 | ||
10442 | (D deprecated) You used the C<package> keyword without specifying a package | |
10443 | name. So no namespace is current at all. Using this can cause many | |
10444 | otherwise reasonable constructs to fail in baffling ways. C<use strict;> | |
10445 | instead. | |
10446 | ||
10447 | =end original | |
10448 | ||
10449 | (D deprecated) C<package> キーワードを、パッケージ名なしで使いました。 | |
10450 | それで現在の名前空間はなしになっています。 | |
10451 | これは、妥当な構造を不可解な方法で失敗させることになります。 | |
10452 | 代わりに C<use strict;> を使ってください。 | |
10453 | ||
17331 | 10454 | =item Use of reference "%s" as array index |
17332 | 10455 | |
17333 | 10456 | =begin original |
17334 | 10457 | |
17335 | 10458 | (W misc) You tried to use a reference as an array index; this probably |
17336 | 10459 | isn't what you mean, because references in numerical context tend |
17337 | 10460 | to be huge numbers, and so usually indicates programmer error. |
17338 | 10461 | |
17339 | 10462 | =end original |
17340 | 10463 | |
17341 | 10464 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく |
17342 | 10465 | 望んでいることではないでしょう; なぜなら数値コンテキストでの |
17343 | 10466 | リファレンスはとても大きな数になることが多いので、普通はプログラマの |
17344 | 10467 | ミスを意味しています。 |
17345 | 10468 | |
17346 | 10469 | =begin original |
17347 | 10470 | |
17348 | 10471 | If you really do mean it, explicitly numify your reference, like so: |
17349 | 10472 | C<$array[0+$ref]>. This warning is not given for overloaded objects, |
17350 | ||
10473 | either, because you can overload the numification and stringification | |
17351 | operators and then you | |
10474 | operators and then you assumedly know what you are doing. | |
17352 | 10475 | |
17353 | 10476 | =end original |
17354 | 10477 | |
17355 | 10478 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に |
17356 | 10479 | 数値化してください。 |
17357 | ||
10480 | この警告はオーバーロードされたオブジェクトでは発生しません; | |
17358 | 10481 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると |
17359 | 10482 | 仮定できるからです。 |
17360 | 10483 | |
17361 | =item Use of | |
10484 | =item Use of reserved word "%s" is deprecated | |
17362 | operator is not allowed | |
17363 | 10485 | |
17364 | 10486 | =begin original |
17365 | 10487 | |
17366 | ( | |
10488 | (D deprecated) The indicated bareword is a reserved word. Future | |
17367 | ||
10489 | versions of perl may use it as a keyword, so you're better off either | |
17368 | ||
10490 | explicitly quoting the word in a manner appropriate for its context of | |
17369 | ||
10491 | use, or using a different name altogether. The warning can be | |
10492 | suppressed for subroutine names by either adding a C<&> prefix, or using | |
10493 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. | |
17370 | 10494 | |
17371 | 10495 | =end original |
17372 | 10496 | |
17373 | ( | |
10497 | (D deprecated) 示されている裸の単語は予約語です。 | |
17374 | ||
10498 | 将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、 | |
17375 | ||
10499 | 使っているコンテキストに適した形で単語をクォートするか、違う名前を | |
17376 | ||
10500 | 使ってください。 | |
10501 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 | |
10502 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
17377 | 10503 | |
17378 | =begin original | |
17379 | ||
17380 | Certain instances became fatal in Perl 5.28; others in perl 5.32. | |
17381 | ||
17382 | =end original | |
17383 | ||
17384 | 一部は Perl 5.28 で致命的エラーになりました; 残りは perl 5.32 です。 | |
17385 | ||
17386 | =item Use of strings with code points over 0xFF as arguments to vec is forbidden | |
17387 | ||
17388 | =begin original | |
17389 | ||
17390 | (F) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> | |
17391 | on a string containing a code point over 0xFF, which is nonsensical here. | |
17392 | ||
17393 | =end original | |
17394 | ||
17395 | (F) 0xFF を超える符号位置を含む文字列に対して | |
17396 | L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました; | |
17397 | これはここでは意味がありません。 | |
17398 | ||
17399 | =begin original | |
17400 | ||
17401 | This became fatal in Perl 5.32. | |
17402 | ||
17403 | =end original | |
17404 | ||
17405 | これは Perl 5.32 で致命的エラーになりました。 | |
17406 | ||
17407 | 10504 | =item Use of tainted arguments in %s is deprecated |
17408 | 10505 | |
17409 | 10506 | =begin original |
17410 | 10507 | |
17411 | 10508 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple |
17412 | 10509 | arguments and at least one of them is tainted. This used to be allowed |
17413 | 10510 | but will become a fatal error in a future version of perl. Untaint your |
17414 | 10511 | arguments. See L<perlsec>. |
17415 | 10512 | |
17416 | 10513 | =end original |
17417 | 10514 | |
17418 | 10515 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 |
17419 | 10516 | そのうち少なくとも一つが汚染されています。 |
17420 | 10517 | これは許されていましたが、将来のバージョンの perl では致命的エラーに |
17421 | 10518 | なるでしょう。 |
17422 | 10519 | 引数を浄化してください。 |
17423 | 10520 | L<perlsec> を参照してください。 |
17424 | 10521 | |
17425 | =item Use of unassigned code point or non-standalone grapheme for a | |
17426 | delimiter is not allowed | |
17427 | ||
17428 | =begin original | |
17429 | ||
17430 | (F) | |
17431 | A grapheme is what appears to a native-speaker of a language to be a | |
17432 | character. In Unicode (and hence Perl) a grapheme may actually be | |
17433 | several adjacent characters that together form a complete grapheme. For | |
17434 | example, there can be a base character, like "R" and an accent, like a | |
17435 | circumflex "^", that appear when displayed to be a single character with | |
17436 | the circumflex hovering over the "R". Perl currently allows things like | |
17437 | that circumflex to be delimiters of strings, patterns, I<etc>. When | |
17438 | displayed, the circumflex would look like it belongs to the character | |
17439 | just to the left of it. In order to move the language to be able to | |
17440 | accept graphemes as delimiters, we cannot allow the use of | |
17441 | delimiters which aren't graphemes by themselves. Also, a delimiter must | |
17442 | already be assigned (or known to be never going to be assigned) to try | |
17443 | to future-proof code, for otherwise code that works today would fail to | |
17444 | compile if the currently unassigned delimiter ends up being something | |
17445 | that isn't a stand-alone grapheme. Because Unicode is never going to | |
17446 | assign | |
17447 | L<non-character code points|perlunicode/Noncharacter code points>, nor | |
17448 | L<code points that are above the legal Unicode maximum| | |
17449 | perlunicode/Beyond Unicode code points>, those can be delimiters, and | |
17450 | their use is legal. | |
17451 | ||
17452 | =end original | |
17453 | ||
17454 | (F) | |
17455 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 | |
17456 | Unicode (従って Perl) では、 | |
17457 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する | |
17458 | 文字かもしれません。 | |
17459 | 例えば、"R" のような基底文字と曲折アクセント "^" のような | |
17460 | アクセントかもしれません; これは表示されるときには | |
17461 | "R" の上に曲折アクセントがある単一の文字となります。 | |
17462 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの | |
17463 | 区切り文字にすることを許しています。 | |
17464 | 表示されるとき、曲折アクセントは、 | |
17465 | そのすぐ左にある文字に付属するかのように見えます。 | |
17466 | 言語が書記素を区切り文字として受けいられられるようにするために、 | |
17467 | それ自体が書記素でない区切り文字の使用は認められません。 | |
17468 | また、区切り文字は将来も動作するコードであり続けるために、 | |
17469 | 既に割り当てられている(または決して割り当てられないと分かっている) | |
17470 | ものでなければなりません; | |
17471 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに | |
17472 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 | |
17473 | Unicode は決して | |
17474 | L<非文字符号位置|perlunicode/Noncharacter code points> や | |
17475 | L<正当な Unicode の最大値より大きな符号位置| | |
17476 | perlunicode/Beyond Unicode code points> を割り当てないので、 | |
17477 | これらは区切り文字になることができ、これらの使用は正当です。 | |
17478 | ||
17479 | 10522 | =item Use of uninitialized value%s |
17480 | 10523 | |
17481 | 10524 | =begin original |
17482 | 10525 | |
17483 | 10526 | (W uninitialized) An undefined value was used as if it were already |
17484 | 10527 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
17485 | 10528 | To suppress this warning assign a defined value to your variables. |
17486 | 10529 | |
17487 | 10530 | =end original |
17488 | 10531 | |
17489 | 10532 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
17490 | 10533 | 使用しました。 |
17491 | 10534 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
17492 | 10535 | この警告を止めるには、変数に定義された値を代入してください。 |
17493 | 10536 | |
17494 | 10537 | =begin original |
17495 | 10538 | |
17496 | To help you figure out what was undefined, perl | |
10539 | To help you figure out what was undefined, perl tells you what operation | |
17497 | the n | |
10540 | you used the undefined value in. Note, however, that perl optimizes your | |
17498 | ||
10541 | program and the operation displayed in the warning may not necessarily | |
17499 | ||
10542 | appear literally in your program. For example, C<"that $foo"> is | |
17500 | a | |
10543 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
17501 | ||
10544 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
17502 | ||
10545 | program. | |
17503 | C<concatenation (.)> operator, even though there is no C<.> in | |
17504 | your program. | |
17505 | 10546 | |
17506 | 10547 | =end original |
17507 | 10548 | |
17508 | 何が未定義なのかを見つけ出す助けにするために、perl は | |
10549 | 何が未定義なのかを見つけ出す助けにするために、perl は未定義値を使った操作を | |
17509 | ||
10550 | 示します。 | |
17510 | それができないような場合では、未定義値を使った操作を示します。 | |
17511 | 10551 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に |
17512 | 10552 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 |
17513 | 10553 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 |
17514 | 10554 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が |
17515 | 10555 | 出ます。 |
17516 | 10556 | |
17517 | =item | |
10557 | =item Using a hash as a reference is deprecated | |
17518 | 10558 | |
17519 | 10559 | =begin original |
17520 | 10560 | |
17521 | ( | |
10561 | (D deprecated) You tried to use a hash as a reference, as in | |
17522 | ||
10562 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl <= 5.6.1 | |
17523 | ||
10563 | used to allow this syntax, but shouldn't have. It is now deprecated, and will | |
17524 | ||
10564 | be removed in a future version. | |
17525 | to alert you to that risk. | |
17526 | 10565 | |
17527 | 10566 | =end original |
17528 | 10567 | |
17529 | ( | |
10568 | (D deprecated) C<< %foo->{"bar"} >> や C<< %$ref->{"hello"} >> の形で、 | |
17530 | ||
10569 | ハッシュをリファレンスとして使おうとしました。 | |
17531 | ||
10570 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 | |
17532 | ||
10571 | そうするべきではありません。 | |
17533 | ||
10572 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
17534 | この警告はそのリスクを知らせるためのものです。 | |
17535 | 10573 | |
17536 | =item Us | |
10574 | =item Using an array as a reference is deprecated | |
17537 | S<<-- HERE> in m/%s/ | |
17538 | 10575 | |
17539 | 10576 | =begin original |
17540 | 10577 | |
17541 | ( | |
10578 | (D deprecated) You tried to use an array as a reference, as in | |
10579 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to | |
10580 | allow this syntax, but shouldn't have. It is now deprecated, and will be | |
10581 | removed in a future version. | |
17542 | 10582 | |
17543 | 10583 | =end original |
17544 | 10584 | |
17545 | ( | |
10585 | (D deprecated) C<< @foo->[23] >> や C<< @$ref->[99] >> の形で、 | |
10586 | 配列をリファレンスとして使おうとしました。 | |
10587 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 | |
10588 | そうするべきではありません。 | |
10589 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
17546 | 10590 | |
17547 | | |
10591 | =item UTF-16 surrogate %s | |
17548 | 10592 | |
17549 | 10593 | =begin original |
17550 | 10594 | |
17551 | ||
10595 | (W utf8) You tried to generate half of an UTF-16 surrogate by | |
10596 | requesting a Unicode character between the code points 0xD800 and | |
10597 | 0xDFFF (inclusive). That range is reserved exclusively for the use of | |
10598 | UTF-16 encoding (by having two 16-bit UCS-2 characters); but Perl | |
10599 | encodes its characters in UTF-8, so what you got is a very illegal | |
10600 | character. If you really know what you are doing you can turn off | |
10601 | this warning by C<no warnings 'utf8';>. | |
17552 | 10602 | |
17553 | 10603 | =end original |
17554 | 10604 | |
17555 | ||
10605 | (W utf8) コードポイントが 0xD800 から 0xDFFF までの Unicode 文字を | |
10606 | 要求することで UTF-16 サロゲートの半分を生成しようとしました。 | |
10607 | この範囲は UTF-16 エンコーディングのために(2 つの 16 ビット UCS-2 文字を | |
10608 | 持つことで)予約されています; しかし Perl はこの文字を UTF-8 で | |
10609 | エンコードするので、得られるものは不正な文字となります。 | |
10610 | 本当に何をしているのか分かっている場合は、C<no warnings 'utf8';> と | |
10611 | することで警告を消すことができます。 | |
17556 | 10612 | |
17557 | (?[ [ \x{BEEF} ] ]) | |
17558 | ||
17559 | =begin original | |
17560 | ||
17561 | or if you meant this | |
17562 | ||
17563 | =end original | |
17564 | ||
17565 | それとも次のものかがわかりません。 | |
17566 | ||
17567 | (?[ [ \x{BE} E F ] ]) | |
17568 | ||
17569 | =begin original | |
17570 | ||
17571 | You need to add either braces or blanks to disambiguate. | |
17572 | ||
17573 | =end original | |
17574 | ||
17575 | 明確にするために大かっこか空白を追加する必要があります。 | |
17576 | ||
17577 | =item Using just the first character returned by \N{} in character class in | |
17578 | regex; marked by S<<-- HERE> in m/%s/ | |
17579 | ||
17580 | =begin original | |
17581 | ||
17582 | (W regexp) Named Unicode character escapes C<(\N{...})> may return | |
17583 | a multi-character sequence. Even though a character class is | |
17584 | supposed to match just one character of input, perl will match | |
17585 | the whole thing correctly, except when the class is inverted | |
17586 | (C<[^...]>), or the escape is the beginning or final end point of | |
17587 | a range. For these, what should happen isn't clear at all. In | |
17588 | these circumstances, Perl discards all but the first character | |
17589 | of the returned sequence, which is not likely what you want. | |
17590 | ||
17591 | =end original | |
17592 | ||
17593 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は | |
17594 | 複数文字並びを返すことがあります。 | |
17595 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
17596 | perl は全体を正しくマッチングします; 但し例外は、 | |
17597 | クラスが反転された場合 (C<[^...]>) と、 | |
17598 | エスケープが範囲の始点か終点の場合です。 | |
17599 | これらの場合、何をするべきかは全く明らかではありません。 | |
17600 | このため、Perl は返された並びの最初以外の文字を捨てます; | |
17601 | おそらくこれはあなたが求めているものではないでしょう。 | |
17602 | ||
17603 | =item Using just the single character results returned by \p{} in | |
17604 | (?[...]) in regex; marked by S<<-- HERE> in m/%s/ | |
17605 | ||
17606 | =begin original | |
17607 | ||
17608 | (W regexp) Extended character classes currently cannot handle operands | |
17609 | that evaluate to more than one character. These are removed from the | |
17610 | results of the expansion of the C<\p{}>. | |
17611 | ||
17612 | =end original | |
17613 | ||
17614 | (W regexp) 拡張文字クラスは、現在の所、複数の文字に評価されるオペランドを | |
17615 | 扱うことは出来ません。 | |
17616 | これらは C<\p{}> の拡張の結果から取り除かれました。 | |
17617 | ||
17618 | =begin original | |
17619 | ||
17620 | This situation can happen, for example, in | |
17621 | ||
17622 | =end original | |
17623 | ||
17624 | この状況は、例えば次の場合に起こります: | |
17625 | ||
17626 | (?[ \p{name=/KATAKANA/} ]) | |
17627 | ||
17628 | =begin original | |
17629 | ||
17630 | "KATAKANA LETTER AINU P" is a legal Unicode name (technically a "named | |
17631 | sequence"), but it is actually two characters. The above expression | |
17632 | with match only the Unicode names containing KATAKANA that represent | |
17633 | single characters. | |
17634 | ||
17635 | =end original | |
17636 | ||
17637 | "KATAKANA LETTER AINU P" は正当な Unicode 名 (技術的には「名前付き並び」)ですが、 | |
17638 | 実際には二つの文字です。 | |
17639 | 前述の式は、単一の文字を表現する KATAKANA を含む Unicode 名のみに | |
17640 | マッチングします。 | |
17641 | ||
17642 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ | |
17643 | ||
17644 | =begin original | |
17645 | ||
17646 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a | |
17647 | portion of a regular expression where the character set modifiers C</a> | |
17648 | or C</aa> are in effect. These two modifiers indicate an ASCII | |
17649 | interpretation, and this doesn't make sense for a Unicode definition. | |
17650 | The generated regular expression will compile so that the boundary uses | |
17651 | all of Unicode. No other portion of the regular expression is affected. | |
17652 | ||
17653 | =end original | |
17654 | ||
17655 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で | |
17656 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 | |
17657 | これら二つの修飾子は ASCII での解釈を示していて、これは | |
17658 | Unicode の定義では意味がありません。 | |
17659 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 | |
17660 | 正規表現のその他の部分は影響を受けません。 | |
17661 | ||
17662 | =item Using !~ with %s doesn't make sense | |
17663 | ||
17664 | =begin original | |
17665 | ||
17666 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is | |
17667 | currently reserved for future use, as the exact behavior has not | |
17668 | been decided. (Simply returning the boolean opposite of the | |
17669 | modified string is usually not particularly useful.) | |
17670 | ||
17671 | =end original | |
17672 | ||
17673 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが | |
17674 | まだ決定されていないので、将来の使用のために予約されています。 | |
17675 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
17676 | 有用ではありません。) | |
17677 | ||
17678 | =item UTF-16 surrogate U+%X | |
17679 | ||
17680 | =begin original | |
17681 | ||
17682 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
17683 | not considered acceptable. These code points, between U+D800 and | |
17684 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
17685 | internally allows all unsigned integer code points (up to the size limit | |
17686 | available on your platform), including surrogates. But these can cause | |
17687 | problems when being input or output, which is likely where this message | |
17688 | came from. If you really really know what you are doing you can turn | |
17689 | off this warning by C<no warnings 'surrogate';>. | |
17690 | ||
17691 | =end original | |
17692 | ||
17693 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
17694 | 使いました。 | |
17695 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
17696 | Unicode によって使われます。 | |
17697 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
17698 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
17699 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
17700 | おそらくこのメッセージが出た場所です。 | |
17701 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
17702 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
17703 | ||
17704 | 10613 | =item Value of %s can be "0"; test with defined() |
17705 | 10614 | |
17706 | 10615 | =begin original |
17707 | 10616 | |
17708 | 10617 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
17709 | 10618 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
17710 | 10619 | can return a value of "0"; that would make the conditional expression |
17711 | 10620 | false, which is probably not what you intended. When using these |
17712 | 10621 | constructs in conditional expressions, test their values with the |
17713 | 10622 | C<defined> operator. |
17714 | 10623 | |
17715 | 10624 | =end original |
17716 | 10625 | |
17717 | 10626 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
17718 | 10627 | 真偽値として使いました。 |
17719 | 10628 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
17720 | 10629 | これはおそらく望んでいることではないでしょう。 |
17721 | 10630 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
17722 | 10631 | テストしてください。 |
17723 | 10632 | |
17724 | 10633 | =item Value of CLI symbol "%s" too long |
17725 | 10634 | |
17726 | 10635 | =begin original |
17727 | 10636 | |
17728 | 10637 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
17729 | 10638 | %ENV element from a CLI symbol table, and found a resultant string |
17730 | 10639 | longer than 1024 characters. The return value has been truncated to |
17731 | 10640 | 1024 characters. |
17732 | 10641 | |
17733 | 10642 | =end original |
17734 | 10643 | |
17735 | (W misc) VMS | |
10644 | (W misc) VMS 固有の警告です。 | |
17736 | 10645 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
17737 | 10646 | 結果の文字列が 1024 文字を越えました。 |
17738 | 10647 | 返り値は 1024 文字に切り詰められます。 |
17739 | 10648 | |
17740 | =item Variable "%s" is not available | |
17741 | ||
17742 | =begin original | |
17743 | ||
17744 | (W closure) During compilation, an inner named subroutine or eval is | |
17745 | attempting to capture an outer lexical that is not currently available. | |
17746 | This can happen for one of two reasons. First, the outer lexical may be | |
17747 | declared in an outer anonymous subroutine that has not yet been created. | |
17748 | (Remember that named subs are created at compile time, while anonymous | |
17749 | subs are created at run-time.) For example, | |
17750 | ||
17751 | =end original | |
17752 | ||
17753 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が | |
17754 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 | |
17755 | これは二つの理由で起こります。 | |
17756 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで | |
17757 | 定義されている場合です。 | |
17758 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
17759 | 実行時に作成されることを思い出してください。) | |
17760 | 例えば、 | |
17761 | ||
17762 | sub { my $a; sub f { $a } } | |
17763 | ||
17764 | =begin original | |
17765 | ||
17766 | At the time that f is created, it can't capture the current value of $a, | |
17767 | since the anonymous subroutine hasn't been created yet. Conversely, | |
17768 | the following won't give a warning since the anonymous subroutine has by | |
17769 | now been created and is live: | |
17770 | ||
17771 | =end original | |
17772 | ||
17773 | f が作成された時点で、$a の現在の値を捕捉できません; | |
17774 | なぜなら無名サブルーチンはまだ作成されていないからです。 | |
17775 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
17776 | 生きているからです: | |
17777 | ||
17778 | sub { my $a; eval 'sub f { $a }' }->(); | |
17779 | ||
17780 | =begin original | |
17781 | ||
17782 | The second situation is caused by an eval accessing a variable that has | |
17783 | gone out of scope, for example, | |
17784 | ||
17785 | =end original | |
17786 | ||
17787 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; | |
17788 | 例えば: | |
17789 | ||
17790 | sub f { | |
17791 | my $a; | |
17792 | sub { eval '$a' } | |
17793 | } | |
17794 | f()->(); | |
17795 | ||
17796 | =begin original | |
17797 | ||
17798 | Here, when the '$a' in the eval is being compiled, f() is not currently | |
17799 | being executed, so its $a is not available for capture. | |
17800 | ||
17801 | =end original | |
17802 | ||
17803 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ | |
17804 | 実行されていないので、この $a は捕捉出来ません。 | |
17805 | ||
17806 | 10649 | =item Variable "%s" is not imported%s |
17807 | 10650 | |
17808 | 10651 | =begin original |
17809 | 10652 | |
17810 | ( | |
10653 | (F) While "use strict" in effect, you referred to a global variable that | |
17811 | ||
10654 | you apparently thought was imported from another module, because | |
17812 | 10655 | something else of the same name (usually a subroutine) is exported by |
17813 | 10656 | that module. It usually means you put the wrong funny character on the |
17814 | front of your variable. | |
10657 | front of your variable. | |
17815 | whose scope has ended. | |
17816 | 10658 | |
17817 | 10659 | =end original |
17818 | 10660 | |
17819 | ( | |
10661 | (F) "use strict" が有効のときに、見たところ他のモジュールから | |
17820 | 10662 | インポートされたとあなたが考えたグローバル変数を参照しました; |
17821 | 10663 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
17822 | 10664 | エクスポートされています。 |
17823 | 10665 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
17824 | スコープが終わっている "our" 変数を使った可能性もあります。 | |
17825 | 10666 | |
17826 | =item Variable length lookbehind not implemented in regex m/%s/ | |
10667 | =item Variable length lookbehind not implemented in regex; marked by <-- HERE in m/%s/ | |
17827 | 10668 | |
17828 | 10669 | =begin original |
17829 | 10670 | |
17830 | (F) | |
10671 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
17831 | ||
10672 | known at compile time. The <-- HERE shows in the regular expression about | |
17832 | ||
10673 | where the problem was discovered. See L<perlre>. | |
17833 | 10674 | |
17834 | 10675 | =end original |
17835 | 10676 | |
17836 | (F) | |
10677 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
17837 | ||
10678 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
17838 | この文書に残しています。 | |
17839 | 10679 | |
17840 | =be | |
10680 | =item "%s" variable %s masks earlier declaration in same %s | |
17841 | 10681 | |
17842 | In Perl 5.30 and earlier, lookbehind is allowed | |
17843 | only for subexpressions whose length is fixed and | |
17844 | known at compile time. For positive lookbehind, you can use the C<\K> | |
17845 | regex construct as a way to get the equivalent functionality. See | |
17846 | L<(?<=pattern) and \K in perlre|perlre/\K>. | |
17847 | ||
17848 | =end original | |
17849 | ||
17850 | Perl 5.30 以前では、後方参照は長さが固定で、 | |
17851 | コンパイル時に確定している副式に対してのみ可能です。 | |
17852 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 | |
17853 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 | |
17854 | ||
17855 | 10682 | =begin original |
17856 | 10683 | |
17857 | ||
10684 | (W misc) A "my" or "our" variable has been redeclared in the current | |
17858 | t | |
10685 | scope or statement, effectively eliminating all access to the previous | |
17859 | ||
10686 | instance. This is almost always a typographical error. Note that the | |
17860 | ||
10687 | earlier variable will still exist until the end of the scope or until | |
17861 | af | |
10688 | all closure referents to it are destroyed. | |
17862 | 10689 | |
17863 | 10690 | =end original |
17864 | 10691 | |
17865 | ||
10692 | (W misc) 現在のスコープや文で "my" 変数や "our" 変数が再宣言されたので、 | |
17866 | ||
10693 | 以前の実体への全てのアクセスができなくなりました。 | |
17867 | ||
10694 | これはほとんどの場合タイプミスです。 | |
17868 | ||
10695 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
17869 | ||
10696 | 破壊されるまでは存在し続けることに注意してください。 | |
17870 | 10697 | |
17871 | | |
10698 | =item Variable "%s" may be unavailable | |
17872 | sequence Matches single letter under /i | |
17873 | FF U+FB00 LATIN SMALL LIGATURE FF | |
17874 | FFI U+FB03 LATIN SMALL LIGATURE FFI | |
17875 | FFL U+FB04 LATIN SMALL LIGATURE FFL | |
17876 | FI U+FB01 LATIN SMALL LIGATURE FI | |
17877 | FL U+FB02 LATIN SMALL LIGATURE FL | |
17878 | SS U+00DF LATIN SMALL LETTER SHARP S | |
17879 | U+1E9E LATIN CAPITAL LETTER SHARP S | |
17880 | ST U+FB06 LATIN SMALL LIGATURE ST | |
17881 | U+FB05 LATIN SMALL LIGATURE LONG S T | |
17882 | 10699 | |
17883 | 10700 | =begin original |
17884 | 10701 | |
17885 | ||
10702 | (W closure) An inner (nested) I<anonymous> subroutine is inside a | |
17886 | ||
10703 | I<named> subroutine, and outside that is another subroutine; and the | |
10704 | anonymous (innermost) subroutine is referencing a lexical variable | |
10705 | defined in the outermost subroutine. For example: | |
17887 | 10706 | |
17888 | 10707 | =end original |
17889 | 10708 | |
17890 | ||
10709 | (W closure) 内部の(ネストした) I<無名> サブルーチンが I<名前つき> | |
17891 | ||
10710 | サブルーチンの内側にあり、その外側は別のサブルーチンです; | |
10711 | そして無名の(一番内側の)サブルーチンが一番外側のサブルーチンで | |
10712 | 定義されているレキシカル変数で参照されています。 | |
10713 | 例えば: | |
17892 | 10714 | |
17893 | ||
10715 | sub outermost { my $a; sub middle { sub { $a } } } | |
17894 | 10716 | |
17895 | You can avoid this by using a bracketed character class in the | |
17896 | lookbehind assertion, like | |
17897 | ||
17898 | =end original | |
17899 | ||
17900 | 次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます: | |
17901 | ||
17902 | (?<![sS]t) | |
17903 | (?<![fF]f[iI]) | |
17904 | ||
17905 | 10717 | =begin original |
17906 | 10718 | |
17907 | ||
10719 | If the anonymous subroutine is called or referenced (directly or | |
10720 | indirectly) from the outermost subroutine, it will share the variable as | |
10721 | you would expect. But if the anonymous subroutine is called or | |
10722 | referenced when the outermost subroutine is not active, it will see the | |
10723 | value of the shared variable as it was before and during the *first* | |
10724 | call to the outermost subroutine, which is probably not what you want. | |
17908 | 10725 | |
17909 | 10726 | =end original |
17910 | 10727 | |
17911 | ||
10728 | 無名サブルーチンが一番外側のサブルーチンから呼び出されるか(直接または | |
10729 | 間接に)リファレンスされたとき、予想通りに変数は共有されます。 | |
10730 | しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり | |
10731 | リファレンスされたりすると、共有された変数の値は一番外側のサブルーチンへの | |
10732 | 最初の呼び出し前および呼び出し中のものになります; | |
10733 | これはおそらく望んでいることではないでしょう。 | |
17912 | 10734 | |
17913 | 10735 | =begin original |
17914 | 10736 | |
17915 | ||
10737 | In these circumstances, it is usually best to make the middle subroutine | |
17916 | ||
10738 | anonymous, using the C<sub {}> syntax. Perl has specific support for | |
17917 | e | |
10739 | shared variables in nested anonymous subroutines; a named subroutine in | |
17918 | ||
10740 | between interferes with this feature. | |
17919 | 10741 | |
17920 | 10742 | =end original |
17921 | 10743 | |
17922 | ||
10744 | このような状況では、普通は C<sub {}> 構文を使って、サブルーチン middle を | |
17923 | ||
10745 | 無名にするのが最良です。 | |
17924 | ||
10746 | Perl はネストした無名サブルーチンで変数を共有する機能をサポートしています; | |
17925 | ||
10747 | この機能のインターフェースの間の名前付きサブルーチンです。 | |
17926 | また、次のようにすることで: | |
17927 | 10748 | |
17928 | use if $] ge 5.016, re => '/aa'; | |
17929 | ||
17930 | =begin original | |
17931 | ||
17932 | to apply C</aa> to all regular expressions compiled within its scope. | |
17933 | See L<re>. | |
17934 | ||
17935 | =end original | |
17936 | ||
17937 | スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。 | |
17938 | L<re> を参照してください。 | |
17939 | ||
17940 | =item "%s" variable %s masks earlier declaration in same %s | |
17941 | ||
17942 | =begin original | |
17943 | ||
17944 | (W shadow) A "my", "our" or "state" variable has been redeclared in the | |
17945 | current scope or statement, effectively eliminating all access to the | |
17946 | previous instance. This is almost always a typographical error. Note | |
17947 | that the earlier variable will still exist until the end of the scope | |
17948 | or until all closure references to it are destroyed. | |
17949 | ||
17950 | =end original | |
17951 | ||
17952 | (W shadow) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
17953 | 以前の実体への全てのアクセスができなくなりました。 | |
17954 | これはほとんど常にタイプミスです。 | |
17955 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
17956 | 破壊されるまでは存在し続けることに注意してください。 | |
17957 | ||
17958 | 10749 | =item Variable syntax |
17959 | 10750 | |
17960 | 10751 | =begin original |
17961 | 10752 | |
17962 | 10753 | (A) You've accidentally run your script through B<csh> instead |
17963 | 10754 | of Perl. Check the #! line, or manually feed your script into |
17964 | 10755 | Perl yourself. |
17965 | 10756 | |
17966 | 10757 | =end original |
17967 | 10758 | |
17968 | 10759 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
17969 | 10760 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
17970 | 10761 | |
17971 | 10762 | =item Variable "%s" will not stay shared |
17972 | 10763 | |
17973 | 10764 | =begin original |
17974 | 10765 | |
17975 | 10766 | (W closure) An inner (nested) I<named> subroutine is referencing a |
17976 | lexical variable defined in an outer | |
10767 | lexical variable defined in an outer subroutine. | |
17977 | 10768 | |
17978 | 10769 | =end original |
17979 | 10770 | |
17980 | 10771 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
17981 | 外側の | |
10772 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 | |
17982 | 10773 | |
17983 | 10774 | =begin original |
17984 | 10775 | |
17985 | When the inner subroutine is called, it will see the value of | |
10776 | When the inner subroutine is called, it will probably see the value of | |
17986 | 10777 | the outer subroutine's variable as it was before and during the *first* |
17987 | 10778 | call to the outer subroutine; in this case, after the first call to the |
17988 | 10779 | outer subroutine is complete, the inner and outer subroutines will no |
17989 | 10780 | longer share a common value for the variable. In other words, the |
17990 | 10781 | variable will no longer be shared. |
17991 | 10782 | |
17992 | 10783 | =end original |
17993 | 10784 | |
17994 | 内側のサブルーチンが呼び出され | |
10785 | 内側のサブルーチンが呼び出された時、おそらく外側のサブルーチンの値は、 | |
17995 | 外側のサブルーチンの | |
10786 | 最初の外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
17996 | ||
10787 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と | |
17997 | ||
10788 | 外側のサブルーチンは変数に関して同じ値を共有しなくなります。 | |
17998 | ||
10789 | 言い換えると、変数はもはや共有されません。 | |
17999 | 言い換えると、この変数はもはや共有されません。 | |
18000 | 10790 | |
18001 | 10791 | =begin original |
18002 | 10792 | |
10793 | Furthermore, if the outer subroutine is anonymous and references a | |
10794 | lexical variable outside itself, then the outer and inner subroutines | |
10795 | will I<never> share the given variable. | |
10796 | ||
10797 | =end original | |
10798 | ||
10799 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を | |
10800 | 参照している場合、外側と内側のサブルーチンは与えられた変数は | |
10801 | 共有 I<しません>。 | |
10802 | ||
10803 | =begin original | |
10804 | ||
18003 | 10805 | This problem can usually be solved by making the inner subroutine |
18004 | 10806 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
18005 | reference variables in outer subroutines are cre | |
10807 | reference variables in outer subroutines are called or referenced, they | |
18006 | 10808 | are automatically rebound to the current values of such variables. |
18007 | 10809 | |
18008 | 10810 | =end original |
18009 | 10811 | |
18010 | 10812 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
18011 | 10813 | 解決します。 |
18012 | 10814 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
18013 | ||
10815 | 呼び出されたり参照されたとき、これらはそのような変数の現在の値に | |
10816 | 自動的に回復します。 | |
18014 | 10817 | |
18015 | =item vector argument not supported with alpha versions | |
18016 | ||
18017 | =begin original | |
18018 | ||
18019 | (S printf) The %vd (s)printf format does not support version objects | |
18020 | with alpha parts. | |
18021 | ||
18022 | =end original | |
18023 | ||
18024 | (S printf) %vd (s)printf フォーマットはアルファ部分のある | |
18025 | バージョンオブジェクトに対応していません。 | |
18026 | ||
18027 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
18028 | S<<-- HERE> in m/%s/ | |
18029 | ||
18030 | =begin original | |
18031 | ||
18032 | (F) You used a verb pattern that requires an argument. Supply an | |
18033 | argument or check that you are using the right verb. | |
18034 | ||
18035 | =end original | |
18036 | ||
18037 | (F) 引き数が必要な動詞パターンを使いました。 | |
18038 | 引き数を追加するか、正しい動詞を使ってください。 | |
18039 | ||
18040 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
18041 | S<<-- HERE> in m/%s/ | |
18042 | ||
18043 | =begin original | |
18044 | ||
18045 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
18046 | argument or check that you are using the right verb. | |
18047 | ||
18048 | =end original | |
18049 | ||
18050 | (F) 引き数が認められていない動詞パターンを使いました。 | |
18051 | 引き数を削除するか、正しい動詞を使ってください。 | |
18052 | ||
18053 | =item Version control conflict marker | |
18054 | ||
18055 | =begin original | |
18056 | ||
18057 | (F) The parser found a line starting with C<E<lt><<<<<<>, | |
18058 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a | |
18059 | version control system to mark conflicts after a failed merge operation. | |
18060 | ||
18061 | =end original | |
18062 | ||
18063 | (F) パーサは C<E<lt><<<<<<>, | |
18064 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 | |
18065 | これらはマージ操作に失敗したあと衝突を記録するために | |
18066 | バージョン制御システムによって残されたものかもしれません。 | |
18067 | ||
18068 | 10818 | =item Version number must be a constant number |
18069 | 10819 | |
18070 | 10820 | =begin original |
18071 | 10821 | |
18072 | 10822 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
18073 | 10823 | its equivalent C<BEGIN> block found an internal inconsistency with |
18074 | 10824 | the version number. |
18075 | 10825 | |
18076 | 10826 | =end original |
18077 | 10827 | |
18078 | 10828 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
18079 | 10829 | したときに、バージョン番号について内部の不整合を発見しました。 |
18080 | 10830 | |
18081 | =item Version string '%s' contains invalid data; ignoring: '%s' | |
18082 | ||
18083 | =begin original | |
18084 | ||
18085 | (W misc) The version string contains invalid characters at the end, which | |
18086 | are being ignored. | |
18087 | ||
18088 | =end original | |
18089 | ||
18090 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は | |
18091 | 無視されます。 | |
18092 | ||
18093 | 10831 | =item Warning: something's wrong |
18094 | 10832 | |
18095 | 10833 | =begin original |
18096 | 10834 | |
18097 | 10835 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
18098 | you called it with no args and C<$ | |
10836 | you called it with no args and C<$_> was empty. | |
18099 | 10837 | |
18100 | 10838 | =end original |
18101 | 10839 | |
18102 | 10840 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
18103 | 引数なしで呼び出され、C<$ | |
10841 | 引数なしで呼び出され、C<$_> も空でした。 | |
18104 | 10842 | |
18105 | 10843 | =item Warning: unable to close filehandle %s properly |
18106 | 10844 | |
18107 | 10845 | =begin original |
18108 | 10846 | |
18109 | 10847 | (S) The implicit close() done by an open() got an error indication on |
18110 | 10848 | the close(). This usually indicates your file system ran out of disk |
18111 | 10849 | space. |
18112 | 10850 | |
18113 | 10851 | =end original |
18114 | 10852 | |
18115 | 10853 | (S) open() によって暗黙のうちに行なわれる close() が、 |
18116 | 10854 | close() のエラーとなりました。 |
18117 | 10855 | 通常、ファイルシステムがいっぱいであることを示します。 |
18118 | 10856 | |
18119 | =item Warning: unable to close filehandle properly: %s | |
18120 | ||
18121 | =item Warning: unable to close filehandle %s properly: %s | |
18122 | ||
18123 | =begin original | |
18124 | ||
18125 | (S io) There were errors during the implicit close() done on a filehandle | |
18126 | when its reference count reached zero while it was still open, e.g.: | |
18127 | ||
18128 | =end original | |
18129 | ||
18130 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
18131 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
18132 | 例えば: | |
18133 | ||
18134 | { | |
18135 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
18136 | print $fh $data or die "print: $!"; | |
18137 | } # implicit close here | |
18138 | ||
18139 | =begin original | |
18140 | ||
18141 | Because various errors may only be detected by close() (e.g. buffering could | |
18142 | allow the C<print> in this example to return true even when the disk is full), | |
18143 | it is dangerous to ignore its result. So when it happens implicitly, perl | |
18144 | will signal errors by warning. | |
18145 | ||
18146 | =end original | |
18147 | ||
18148 | 様々なエラーは close() によってのみ検出される | |
18149 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
18150 | 真を返すことが可能です)ので、 | |
18151 | その結果を無視するのは危険です。 | |
18152 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
18153 | ||
18154 | =begin original | |
18155 | ||
18156 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
18157 | above was liable to cause B<silent data loss>. | |
18158 | ||
18159 | =end original | |
18160 | ||
18161 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
18162 | 従って、前述のような一般的な慣用句は | |
18163 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
18164 | ||
18165 | 10857 | =item Warning: Use of "%s" without parentheses is ambiguous |
18166 | 10858 | |
18167 | 10859 | =begin original |
18168 | 10860 | |
18169 | 10861 | (S ambiguous) You wrote a unary operator followed by something that |
18170 | 10862 | looks like a binary operator that could also have been interpreted as a |
18171 | 10863 | term or unary operator. For instance, if you know that the rand |
18172 | 10864 | function has a default argument of 1.0, and you write |
18173 | 10865 | |
18174 | 10866 | =end original |
18175 | 10867 | |
18176 | 10868 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
18177 | 10869 | 二項演算子のようなものが置かれました。 |
18178 | 10870 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
18179 | 10871 | いれば、以下のように書いて: |
18180 | 10872 | |
18181 | 10873 | rand + 5; |
18182 | 10874 | |
18183 | 10875 | =begin original |
18184 | 10876 | |
18185 | 10877 | you may THINK you wrote the same thing as |
18186 | 10878 | |
18187 | 10879 | =end original |
18188 | 10880 | |
18189 | 10881 | 以下の同じことと思うかもしれませんが: |
18190 | 10882 | |
18191 | 10883 | rand() + 5; |
18192 | 10884 | |
18193 | 10885 | =begin original |
18194 | 10886 | |
18195 | 10887 | but in actual fact, you got |
18196 | 10888 | |
18197 | 10889 | =end original |
18198 | 10890 | |
18199 | 10891 | 実際には以下のようになります: |
18200 | 10892 | |
18201 | 10893 | rand(+5); |
18202 | 10894 | |
18203 | 10895 | =begin original |
18204 | 10896 | |
18205 | 10897 | So put in parentheses to say what you really mean. |
18206 | 10898 | |
18207 | 10899 | =end original |
18208 | 10900 | |
18209 | したがって、思うように解釈させるには、 | |
10901 | したがって、思うように解釈させるには、括弧が必要になります。 | |
18210 | 10902 | |
18211 | =item when is experimental | |
18212 | ||
18213 | =begin original | |
18214 | ||
18215 | (S experimental::smartmatch) C<when> depends on smartmatch, which is | |
18216 | experimental. Additionally, it has several special cases that may | |
18217 | not be immediately obvious, and their behavior may change or | |
18218 | even be removed in any future release of perl. See the explanation | |
18219 | under L<perlsyn/Experimental Details on given and when>. | |
18220 | ||
18221 | =end original | |
18222 | ||
18223 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに | |
18224 | 依存しています。 | |
18225 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その | |
18226 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
18227 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
18228 | ||
18229 | 10903 | =item Wide character in %s |
18230 | 10904 | |
18231 | 10905 | =begin original |
18232 | 10906 | |
18233 | ( | |
10907 | (W utf8) Perl met a wide character (>255) when it wasn't expecting | |
18234 | ||
10908 | one. This warning is by default on for I/O (like print). The easiest | |
10909 | way to quiet this warning is simply to add the C<:utf8> layer to the | |
18236 | ||
10910 | output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the | |
10911 | warning is to add C<no warnings 'utf8';> but that is often closer to | |
18238 | (S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。 | |
18239 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
18240 | ||
18241 | =begin original | |
18242 | ||
18243 | If this warning does come from I/O, the easiest | |
18244 | way to quiet it is simply to add the C<:utf8> layer, I<e.g.>, | |
18245 | S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is | |
18246 | to add S<C<no warnings 'utf8';>> but that is often closer to | |
18247 | 10912 | cheating. In general, you are supposed to explicitly mark the |
18248 | 10913 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. |
18249 | 10914 | |
18250 | 10915 | =end original |
18251 | 10916 | |
18252 | ||
10917 | (W utf8) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 | |
18253 | ||
10918 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
10919 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
18254 | 10920 | 出力に単に C<:utf8> 層を追加することです。 |
18255 | もう一つの方法は | |
10921 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
18256 | 10922 | しばしばいかさまに近い方法です。 |
18257 | 10923 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに |
18258 | 10924 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 |
18259 | 10925 | |
18260 | =begin original | |
18261 | ||
18262 | If the warning comes from other than I/O, this diagnostic probably | |
18263 | indicates that incorrect results are being obtained. You should examine | |
18264 | your code to determine how a wide character is getting to an operation | |
18265 | that doesn't handle them. | |
18266 | ||
18267 | =end original | |
18268 | ||
18269 | この警告が I/O 以外からのものなら、この診断メッセージは | |
18270 | おそらく正しくない結果が得られたことを意味しています。 | |
18271 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
18272 | 決定するために、ソースコードを調べる必要があります。 | |
18273 | ||
18274 | =item Wide character (U+%X) in %s | |
18275 | ||
18276 | =begin original | |
18277 | ||
18278 | (W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8 | |
18279 | one), a multi-byte character was encountered. Perl considers this | |
18280 | character to be the specified Unicode code point. Combining non-UTF-8 | |
18281 | locales and Unicode is dangerous. Almost certainly some characters | |
18282 | will have two different representations. For example, in the ISO 8859-7 | |
18283 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so | |
18284 | also does 0x393. This will make string comparisons unreliable. | |
18285 | ||
18286 | =end original | |
18287 | ||
18288 | (W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、 | |
18289 | 複数バイト文字に遭遇しました。 | |
18290 | Perl はこの文字を指定された Unicode 符号位置として扱います。 | |
18291 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 | |
18292 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 | |
18293 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 | |
18294 | 符号位置 0xC3 は Capital Gamma を表現します。 | |
18295 | しかし 0x393 も同じです。 | |
18296 | これは文字列比較を信頼できないものにします。 | |
18297 | ||
18298 | =begin original | |
18299 | ||
18300 | You likely need to figure out how this multi-byte character got mixed up | |
18301 | with your single-byte locale (or perhaps you thought you had a UTF-8 | |
18302 | locale, but Perl disagrees). | |
18303 | ||
18304 | =end original | |
18305 | ||
18306 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを | |
18307 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを | |
18308 | 使っていると考えているけれども Perl は同意していないのでしょう)。 | |
18309 | ||
18310 | 10926 | =item Within []-length '%c' not allowed |
18311 | 10927 | |
18312 | 10928 | =begin original |
18313 | 10929 | |
18314 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> | |
10930 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> only if | |
18315 | ||
10931 | C<TEMPLATE> always matches the same amount of packed bytes that can be | |
18316 | ||
10932 | determined from the template alone. This is not possible if it contains an | |
18317 | ||
10933 | of the codes @, /, U, u, w or a *-length. Redesign the template. | |
18318 | the template. | |
18319 | 10934 | |
18320 | 10935 | =end original |
18321 | 10936 | |
18322 | 10937 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に |
18323 | 10938 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する |
18324 | 10939 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 |
18325 | 10940 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 |
18326 | 10941 | テンプレートを再設計してください。 |
18327 | 10942 | |
18328 | =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"?) | |
18329 | ||
18330 | =begin original | |
18331 | ||
18332 | (W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded | |
18333 | package name, which can result in perl choosing an unexpected parent | |
18334 | class's method to resolve the method call. If this is deliberate you | |
18335 | can do something like | |
18336 | ||
18337 | =end original | |
18338 | ||
18339 | (W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、 | |
18340 | 結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを | |
18341 | 選んだ可能性があります。 | |
18342 | これが意図的な場合は、次のようにして: | |
18343 | ||
18344 | @Missing::Package::ISA = (); | |
18345 | ||
18346 | =begin original | |
18347 | ||
18348 | to silence the warnings, otherwise you should correct the package name, or | |
18349 | ensure that the package is loaded prior to the method call. | |
18350 | ||
18351 | =end original | |
18352 | ||
18353 | この警告を黙らせられます; さもなければパッケージ名を修正するか、 | |
18354 | パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。 | |
18355 | ||
18356 | =item %s() with negative argument | |
18357 | ||
18358 | =begin original | |
18359 | ||
18360 | (S misc) Certain operations make no sense with negative arguments. | |
18361 | Warning is given and the operation is not done. | |
18362 | ||
18363 | =end original | |
18364 | ||
18365 | (S misc) 一部の操作は負の引数は意味がありません。 | |
18366 | 警告が出力され、操作は行われません。 | |
18367 | ||
18368 | 10943 | =item write() on closed filehandle %s |
18369 | 10944 | |
18370 | 10945 | =begin original |
18371 | 10946 | |
18372 | 10947 | (W closed) The filehandle you're writing to got itself closed sometime |
18373 | 10948 | before now. Check your control flow. |
18374 | 10949 | |
18375 | 10950 | =end original |
18376 | 10951 | |
18377 | (W | |
10952 | (W) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
18378 | 10953 | 制御フローをチェックしてください。 |
18379 | 10954 | |
18380 | =item %s "\x% | |
10955 | =item %s "\x%s" does not map to Unicode | |
18381 | 10956 | |
18382 | 10957 | =begin original |
18383 | 10958 | |
18384 | ||
10959 | When reading in different encodings Perl tries to map everything | |
18385 | ||
10960 | into Unicode characters. The bytes you read in are not legal in | |
18386 | ||
10961 | this encoding, for example | |
18387 | 10962 | |
18388 | 10963 | =end original |
18389 | 10964 | |
18390 | ||
10965 | 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に | |
18391 | 10966 | マッピングしようとします。 |
18392 | 読み込んだバイトはこのエンコーディングでは不正でした | |
10967 | 読み込んだバイトはこのエンコーディングでは不正でした; 例えば: | |
18393 | 例えば: | |
18394 | 10968 | |
18395 | 10969 | utf8 "\xE4" does not map to Unicode |
18396 | 10970 | |
18397 | 10971 | =begin original |
18398 | 10972 | |
18399 | 10973 | if you try to read in the a-diaereses Latin-1 as UTF-8. |
18400 | 10974 | |
18401 | 10975 | =end original |
18402 | 10976 | |
18403 | 10977 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 |
18404 | 10978 | |
18405 | 10979 | =item 'X' outside of string |
18406 | 10980 | |
18407 | 10981 | =begin original |
18408 | 10982 | |
18409 | 10983 | (F) You had a (un)pack template that specified a relative position before |
18410 | 10984 | the beginning of the string being (un)packed. See L<perlfunc/pack>. |
18411 | 10985 | |
18412 | 10986 | =end original |
18413 | 10987 | |
18414 | 10988 | (F) (un)pack している文字列の最後より後の相対位置を示している |
18415 | 10989 | (un)pack テンプレートを指定しました。 |
18416 | 10990 | L<perlfunc/pack> を参照してください。 |
18417 | 10991 | |
18418 | 10992 | =item 'x' outside of string in unpack |
18419 | 10993 | |
18420 | 10994 | =begin original |
18421 | 10995 | |
18422 | 10996 | (F) You had a pack template that specified a relative position after |
18423 | 10997 | the end of the string being unpacked. See L<perlfunc/pack>. |
18424 | 10998 | |
18425 | 10999 | =end original |
18426 | 11000 | |
18427 | 11001 | (F) unpack している文字列の最後より後の相対位置を示している |
18428 | 11002 | pack テンプレートを指定しました。 |
18429 | 11003 | L<perlfunc/pack> を参照してください。 |
18430 | 11004 | |
18431 | 11005 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
18432 | 11006 | |
18433 | 11007 | =begin original |
18434 | 11008 | |
18435 | 11009 | (F) And you probably never will, because you probably don't have the |
18436 | 11010 | sources to your kernel, and your vendor probably doesn't give a rip |
18437 | about what you want. | |
11011 | about what you want. Your best bet is to put a setuid C wrapper around | |
18438 | ||
11012 | your script. | |
18439 | the script that you're attempting to run. To actually run the script | |
18440 | set-id, your best bet is to put a set-id C wrapper around your script. | |
18441 | 11013 | |
18442 | 11014 | =end original |
18443 | 11015 | |
18444 | (F) | |
11016 | (F) (このカーネルでは、SET-ID スクリプトが禁止されていません!) | |
18445 | ||
11017 | そして、そうすることはできないでしょう。 | |
18446 | ||
11018 | カーネルのソースはお持ちではないでしょうし、ベンダも欲しいものを | |
18447 | ||
11019 | 提供してはくれないでしょうから。 | |
18448 | ||
11020 | もっとも良いのは、スクリプトに setuid C ラッパーを被せることです。 | |
18449 | set-id ビットを削除する必要があります。 | |
18450 | 実際にスクリプトを set-id で実行するために | |
18451 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
18452 | 11021 | |
18453 | 11022 | =item You need to quote "%s" |
18454 | 11023 | |
18455 | 11024 | =begin original |
18456 | 11025 | |
18457 | 11026 | (W syntax) You assigned a bareword as a signal handler name. |
18458 | 11027 | Unfortunately, you already have a subroutine of that name declared, |
18459 | 11028 | which means that Perl 5 will try to call the subroutine when the |
18460 | 11029 | assignment is executed, which is probably not what you want. (If it IS |
18461 | 11030 | what you want, put an & in front.) |
18462 | 11031 | |
18463 | 11032 | =end original |
18464 | 11033 | |
18465 | 11034 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
18466 | 残念ながら、そのサブルー | |
11035 | 残念ながら、そのサブルーティンは既に宣言されていて、Perl 5 では、 | |
18467 | おそらく思惑とは違って、代入の実行時にサブルー | |
11036 | おそらく思惑とは違って、代入の実行時にサブルーティンの呼び出しが起こります。 | |
18468 | (もし、本当にそうしたいのであれば、サブルー | |
11037 | (もし、本当にそうしたいのであれば、サブルーティン名に & を付けてください。) | |
18469 | 11038 | |
18470 | 11039 | =item Your random numbers are not that random |
18471 | 11040 | |
18472 | 11041 | =begin original |
18473 | 11042 | |
18474 | (F) When trying to initiali | |
11043 | (F) When trying to initialise the random seed for hashes, Perl could | |
18475 | 11044 | not get any randomness out of your system. This usually indicates |
18476 | 11045 | Something Very Wrong. |
18477 | 11046 | |
18478 | 11047 | =end original |
18479 | 11048 | |
18480 | 11049 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから |
18481 | 11050 | 何の乱数性も得られませんでした。 |
18482 | 11051 | これは普通「何かとても具合が悪い」ことを示しています。 |
18483 | 11052 | |
18484 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
18485 | ||
18486 | =begin original | |
18487 | ||
18488 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length | |
18489 | sequence. Such an escape was used in an extended character class, i.e. | |
18490 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
18491 | that the correct escape has been used, and the correct charnames handler | |
18492 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
18493 | expression the problem was discovered. | |
18494 | ||
18495 | =end original | |
18496 | ||
18497 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを | |
18498 | 返すことがあります。 | |
18499 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
18500 | あるいは C<use re 'strict'> の基で使われました; | |
18501 | これは認められていません。 | |
18502 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
18503 | あるかをチェックしてください。 | |
18504 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
18505 | ||
18506 | 11053 | =back |
18507 | 11054 | |
18508 | =head1 SEE ALSO | |
18509 | ||
18510 | L<warnings>, L<diagnostics>. | |
18511 | ||
18512 | 11055 | =cut |
18513 | 11056 | |
18514 | 11057 | =begin meta |
18515 | 11058 | |
18516 | 11059 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) |
18517 | Update: | |
11060 | Update: Kentaro Shirakata <argrath@ub32.org> (5.6.1-) | |
18518 | ||
11061 | License: GPL or Artistic | |
18519 | 11062 | |
18520 | 11063 | =end meta |